]> git.wh0rd.org - fontconfig.git/blame - ChangeLog
Fix the issues with GNU libiconv vs. libc iconv (which especially appear on
[fontconfig.git] / ChangeLog
CommitLineData
73775d8f 12006-04-25 Patrick Lam <plam@mit.edu>
56f83583
PL
2 * ChangeLog:
3 * README:
4 * configure.in:
5 * fontconfig/fontconfig.h:
6
7 Bump version to 2.3.95.
8
73775d8f
PL
92006-04-25 Behdad Esfahbod <behdad@cs.toronto.edu>
10 reviewed by: plam
11
12 * configure.in:
13 * src/Makefile.am:
14 * src/fcfreetype.c:
15
16 Fix the issues with GNU libiconv vs. libc iconv (which especially
17 appear on Solarii). Approach suggested by Tim Mooney.
18
49512317
PL
192006-04-24 Dominic Lachowicz <cinamod@hotmail.com>
20 reviewed by: plam
21
22 * src/Makefile.am:
23
24 Include $(top_srcdir), $(top_srcdir)/src before anything else.
25
26 * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c:
27 * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c:
28 * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c:
29 * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c:
30 * src/fcstr.c, src/fcxml.c:
31
32 Shuffle order of includes for building out of srcdir on win32.
33
55e145b0
PL
342006-04-20 Patrick Lam <plam@mit.edu>
35 * src/fcmatch.c (FcSortWalk):
36
37 Prevent terrible perf regression by getting the if-condition
38 right (reported by Wouter Bolsterlee).
39
93f67dfc
PL
402006-04-19 Patrick Lam <plam@mit.edu>
41 Dominic Lachowicz <cinamod@hotmail.com>
42
43 * src/fccache.c (FcDirCacheConsume):
44
45 Implement mmap-like code for Windows using MapViewOfFile.
46
c001a192
PL
472006-04-19 Patrick Lam <plam@mit.edu>
48 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
49
50 Bail gracefully if the cache file does not contain enough data.
51
a7757294
PL
522006-04-14 Patrick Lam <plam@mit.edu>
53 * fonts.conf.in:
54
55 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
56
8cfa0bbc
PL
572006-04-14 Patrick Lam <plam@mit.edu>
58 * src/fcname.c (FcObjectToPtrLookup):
59
60 Fix Gecko-exposed segfault from my last hack to
61 FcObjectToPtrLookup. Simplify code and get things straight.
62
b43dbbdc
PL
632006-04-14 Patrick Lam <plam@mit.edu>
64 * fonts.conf.in:
65
66 Actually, just add URW fonts as aliases for all of the PostScript
67 fonts. (reported by Miguel Rodriguez).
68
ca2556f2
PL
692006-04-13 Patrick Lam <plam@mit.edu>
70 * fonts.conf.in:
71
72 Add an alias 'Standard Symbols L' for 'Symbol'.
73
2f02e383
PL
742006-04-12 Frederic Crozat <fcrozat@mandriva.com>
75 reviewed by: plam
76
77 * src/fcpat.c: (FcPatternFreeze):
78 Fix memory leak (Coverity defect #2089).
79
80 * src/fcfreetype.c: (GetScriptTags):
81 Ignore script if subtable is missing (Coverity defect #2088).
82
832006-04-12 Patrick Lam <plam@mit.edu>
84 * src/fccfg.c (FcConfigSubstituteWithPat):
85
86 Fix possible null pointer dereference (Coverity defect #784)
87 and memory leak (Coverity defects #785, #786).
88
892006-04-12 Patrick Lam <plam@mit.edu>
90 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
91
92 Don't copy FcCharSet if we're going to throw it away anyway.
93 (Reported by Kenichi Handa).
94
a56e89ab
PL
952006-04-11 Ming Zhao <ming@gentoo.org>
96 reviewed by: plam
97
98 * src/fcname.c (FcObjectToPtrLookup):
99
100 Fix bad behaviour on realloc resulting in crash.
101
5c90509c
PL
1022006-04-11 Patrick Lam <plam@mit.edu>
103 * src/fccache.c (FcGlobalCacheReadDir):
104
105 Don't crash if config is null (Coverity defect #984).
106
2de24638
PL
1072006-04-11 Frederic Crozat <fcrozat@mandriva.com>
108 reviewed by: plam
109
5c90509c
PL
110 * src/fccharset.c (FcCharSetPutLeaf):
111 * src/fclang.c (FcNameUnparseLangSet):
2de24638
PL
112
113 Missing bits from previous patches.
114
115 * src/fccharset.c (FcCharSetSubtractCount):
116 Remove extra semi-colon.
117
5c90509c 118 * src/fccfg.c (FcConfigBuildFonts):
2de24638
PL
119 Fix memory leak in error case (Coverity defects #776, #985).
120
5c90509c 121 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
2de24638
PL
122 Fix memory leaks (Coverity defects #779, #781)
123 and memory use after free (Coverity defect #780).
124
04f7d3e7
PL
1252006-04-11 Patrick Lam <plam@mit.edu>
126 * src/fccharset.c (FcCharSetPutLeaf):
127
128 Properly convert static charsets to dynamic charsets.
129
1302006-04-11 Frederic Crozat <fcrozat@mandriva.com>
131 reviewed by: plam
132
133 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
134 FcPatternFreeze):
135 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
136
137 * src/fclang.c: (FcNameUnparseLangSet):
138 Fix memory leak (Coverity defect #1819).
139
140 * fc-lang/fc-lang.c: (scan):
141 prevent crash when invalid include line is parsed (Coverity defect
142 #763).
143
144 * fc-cat/fc-cat.c: (FcCacheFileRead):
145 Fix potential null pointer access (Coverity defect #1804).
146
147 * src/fcname.c: (FcObjectUnserialize):
148 Remove dead code (Coverity defect #1194).
149
150 * src/fcfreetype.c: (GetScriptTags):
151 Prevent potential null pointer access (Coverity defect #767),
152 ensure error value is read (Coverity defect #1195).
153
af2ad236
PL
1542006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
155 reviewed by: plam
156
157 * doc/Makefile.am:
158
159 Survive missing docbook2pdf.
160
1612006-04-10 Patrick Lam <plam@mit.edu>
67ed0b72
PL
162 * fc-case/fc-case.c:
163 * fc-glyphname/fc-glyphname.c:
164 * fc-lang/fc-lang.c:
165
166 Include more stub definitions to make HP-UX's C compiler happy.
167
af2ad236 1682006-04-10 Patrick Lam <plam@mit.edu>
ac001094
PL
169 * src/fcname.c (FcObjectUnserialize):
170
171 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
172
3ea92166
PL
1732006-04-10 Frederic Crozat <fcrozat@mandriva.com>
174 reviewed by: plam
175
176 * src/fccfg.c: (FcConfigEvaluate):
177 Fix string memory leak (Coverity defect #1823).
178
179 * src/fccache.c: (FcDirCacheUnlink):
180 Fix memory leak with hash collision (Coverity defect #1824).
181
c814c301
PL
1822006-04-10 Frederic Crozat <fcrozat@mandriva.com>
183 reviewed by: plam
184
185 * src/fccache.c: (FcGlobalCacheSave):
186 Don't leak header in non-error case (Coverity defect #1825).
187
65448e8b
PL
1882006-04-10 Frederic Crozat <fcrozat@mandriva.com>
189 reviewed by: plam
190
191 * src/fcdir.c (FcDirScanConfig)
192 Don't leak in error cases (Coverity defects #777, #1826)
193
ae2aafe6
PL
1942006-04-10 Frederic Crozat <fcrozat@mandriva.com>
195 reviewed by: plam
196
197 * src/fccache.c: (FcDirCacheWrite):
198 Fix double free (spotted by Coverity, CID #1965).
199
200 * fc-match/fc-match.c: (main):
201 Check if pattern is not null before using it (Coverity defect #1883).
202
203 * src/fccache.c: (FcDirCacheWrite):
204 Fix memory leak with hash collision (Coverity defect #1829).
205
206 * src/fccfg.c: (FcConfigBuildFonts):
207 Fix memory leak when bail cases (Coverity defect #1828).
208
209 * src/fccache.c: (FcGlobalCacheLoad):
210 Don't leak directory name (Coverity defect #1827).
211
86abd759
PL
2122006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
213 reviewed by: plam
214 * fc-cache/Makefile.am:
215 * fc-cat/Makefile.am:
216 * fc-list/Makefile.am:
217 * fc-match/Makefile.am:
218
219 LD_ADD missing dependencies for binaries. Reported by
220 Edson Alves Pereira.
221
f23f5f38
PL
2222006-04-07 Patrick Lam <plam@mit.edu>
223 * src/fcint.h:
224 * fc-lang/fc-lang.c (main):
225
226 SGI compilation fixes (reported by Christoph Bauer):
227 1) reorder union definition of _FcChar;
228 2) omit .stats =.
229
44415a07
PL
2302006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
231 reviewed by: plam
232 * configure.in:
233 * src/fccharset.c (FcCharSetNeededBytes):
234 * src/fcfs.c (FcFontSetNeededBytes):
235 * src/fcint.h:
236 * src/fclang.c (FcLangSetNeededBytesAlign):
237 * src/fcname.c (FcObjectNeededBytesAlign):
238 * src/fcpat.c (FcPatternNeededBytesAlign,
239 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
240
241 Portability fixes for HP-UX (reported by Christoph Bauer).
242 Replace '__inline__' by AC_C_INLINE and 'inline'.
243 Replace '__alignof__' by 'fc_alignof'.
244
91fe51b4
PL
2452006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
246 reviewed by: plam
247 * src/fcint.h:
248
249 Move up #include of config.h.
250 Fail if neither inttypes.h nor stdint.h is available.
251 Fixes bug 6171.
252
d6217cc6
PL
2532006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
254 Patrick Lam <plam@mit.edu>
255 * configure.in:
256 * fc-cache/fc-cache.c:
257 * fc-cat/fc-cat.c:
258 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
259 FcDirCacheConsume, FcDirCacheProduce,
260 FcDirCacheWrite, FcCacheMachineSignature):
261 * src/fcfreetype.c (FcFreeTypeQuery):
262 * src/fontconfig.def.in:
263
264 Make fontconfig compile under MinGW:
265 1) remove unneeded #includes;
266 2) make use of mmap and sysconf conditional;
267 3) replace rand_r by srand/rand if needed;
268 4) use chsize instead of ftruncate; and
269 5) update libtool exports file
270
3a342c5a
PL
2712006-04-07 Patrick Lam <plam@mit.edu>
272 * src/fcdir.c (FcDirScanConfig):
273
274 Eliminate warning.
275
8b4e7628
PL
2762006-04-06 Patrick Lam <plam@mit.edu>
277 * fc-match/.cvsignore:
278 * fc-match/Makefile.am:
279 * fc-match/fc-match.sgml:
280
281 Update documentation for fc-match (SGML-ize it).
282 (reported by Ilya Konstantinov)
283
392fa276
PL
284