]> git.wh0rd.org - fontconfig.git/blame - ChangeLog
Keith Packard <keithp@keithp.com>
[fontconfig.git] / ChangeLog
CommitLineData
0037aad5
PL
12006-04-27 Patrick Lam <plam@mit.edu>
2 Keith Packard <keithp@keithp.com>
3 * src/fcstr.c (FcStrBufChar):
4
5 Reduce transient memory usage during config file parsing
6 by allocating smaller buffers (64 seems to be a magic number).
7
529291be
KP
82006-04-27 Keith Packard <keithp@keithp.com>
9
10 * src/fcinit.c: (FcMemReport):
11 * src/fcint.h:
12 * src/fcpat.c: (FcPatternFini):
13 * src/fcxml.c: (FcParsePatelt):
14 Eliminate pattern freezing
15
c1c3ba06 162006-04-27 Keith Packard <keithp@keithp.com>
c1c3ba06
KP
17 reviewed by: Patrick Lam <plam@mit.edu>
18
19 * src/fccache.c: (FcDirCacheUnlink), (FcDirCacheHashName),
20 (FcDirCacheOpen), (FcDirCacheWrite):
21 * src/fcfreetype.c: (FcFreeTypeQuery):
22 * src/fcint.h:
23 * src/fclist.c: (FcListAppend):
24 * src/fcmatch.c: (FcFontRenderPrepare):
25 * src/fcpat.c: (FcPatternDestroy), (FcPatternBaseFreeze),
26 (FcPatternFreeze), (FcPatternGet), (FcPatternDuplicate),
27 (FcStrUnserialize):
28 Make path names in cache files absolute (NB, cache format change)
29 Stop permitting cache files to be stored in font dirs.
30 Bump cache magic.
31 Don't include /fonts.cache-2 in cache hash construction.
32
73775d8f 332006-04-25 Patrick Lam <plam@mit.edu>
56f83583
PL
34 * ChangeLog:
35 * README:
36 * configure.in:
37 * fontconfig/fontconfig.h:
38
39 Bump version to 2.3.95.
40
73775d8f
PL
412006-04-25 Behdad Esfahbod <behdad@cs.toronto.edu>
42 reviewed by: plam
43
44 * configure.in:
45 * src/Makefile.am:
46 * src/fcfreetype.c:
47
48 Fix the issues with GNU libiconv vs. libc iconv (which especially
49 appear on Solarii). Approach suggested by Tim Mooney.
50
49512317
PL
512006-04-24 Dominic Lachowicz <cinamod@hotmail.com>
52 reviewed by: plam
53
54 * src/Makefile.am:
55
56 Include $(top_srcdir), $(top_srcdir)/src before anything else.
57
58 * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c:
59 * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c:
60 * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c:
61 * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c:
62 * src/fcstr.c, src/fcxml.c:
63
64 Shuffle order of includes for building out of srcdir on win32.
65
55e145b0
PL
662006-04-20 Patrick Lam <plam@mit.edu>
67 * src/fcmatch.c (FcSortWalk):
68
69 Prevent terrible perf regression by getting the if-condition
70 right (reported by Wouter Bolsterlee).
71
93f67dfc
PL
722006-04-19 Patrick Lam <plam@mit.edu>
73 Dominic Lachowicz <cinamod@hotmail.com>
74
75 * src/fccache.c (FcDirCacheConsume):
76
77 Implement mmap-like code for Windows using MapViewOfFile.
78
c001a192
PL
792006-04-19 Patrick Lam <plam@mit.edu>
80 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
81
82 Bail gracefully if the cache file does not contain enough data.
83
a7757294
PL
842006-04-14 Patrick Lam <plam@mit.edu>
85 * fonts.conf.in:
86
87 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
88
8cfa0bbc
PL
892006-04-14 Patrick Lam <plam@mit.edu>
90 * src/fcname.c (FcObjectToPtrLookup):
91
92 Fix Gecko-exposed segfault from my last hack to
93 FcObjectToPtrLookup. Simplify code and get things straight.
94
b43dbbdc
PL
952006-04-14 Patrick Lam <plam@mit.edu>
96 * fonts.conf.in:
97
98 Actually, just add URW fonts as aliases for all of the PostScript
99 fonts. (reported by Miguel Rodriguez).
100
ca2556f2
PL
1012006-04-13 Patrick Lam <plam@mit.edu>
102 * fonts.conf.in:
103
104 Add an alias 'Standard Symbols L' for 'Symbol'.
105
2f02e383
PL
1062006-04-12 Frederic Crozat <fcrozat@mandriva.com>
107 reviewed by: plam
108
109 * src/fcpat.c: (FcPatternFreeze):
110 Fix memory leak (Coverity defect #2089).
111
112 * src/fcfreetype.c: (GetScriptTags):
113 Ignore script if subtable is missing (Coverity defect #2088).
114
1152006-04-12 Patrick Lam <plam@mit.edu>
116 * src/fccfg.c (FcConfigSubstituteWithPat):
117
118 Fix possible null pointer dereference (Coverity defect #784)
119 and memory leak (Coverity defects #785, #786).
120
1212006-04-12 Patrick Lam <plam@mit.edu>
122 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
123
124 Don't copy FcCharSet if we're going to throw it away anyway.
125 (Reported by Kenichi Handa).
126
a56e89ab
PL
1272006-04-11 Ming Zhao <ming@gentoo.org>
128 reviewed by: plam
129
130 * src/fcname.c (FcObjectToPtrLookup):
131
132 Fix bad behaviour on realloc resulting in crash.
133
5c90509c
PL
1342006-04-11 Patrick Lam <plam@mit.edu>
135 * src/fccache.c (FcGlobalCacheReadDir):
136
137 Don't crash if config is null (Coverity defect #984).
138
2de24638
PL
1392006-04-11 Frederic Crozat <fcrozat@mandriva.com>
140 reviewed by: plam
141
5c90509c
PL
142 * src/fccharset.c (FcCharSetPutLeaf):
143 * src/fclang.c (FcNameUnparseLangSet):
2de24638
PL
144
145 Missing bits from previous patches.
146
147 * src/fccharset.c (FcCharSetSubtractCount):
148 Remove extra semi-colon.
149
5c90509c 150 * src/fccfg.c (FcConfigBuildFonts):
2de24638
PL
151 Fix memory leak in error case (Coverity defects #776, #985).
152
5c90509c 153 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
2de24638
PL
154 Fix memory leaks (Coverity defects #779, #781)
155 and memory use after free (Coverity defect #780).
156
04f7d3e7
PL
1572006-04-11 Patrick Lam <plam@mit.edu>
158 * src/fccharset.c (FcCharSetPutLeaf):
159
160 Properly convert static charsets to dynamic charsets.
161
1622006-04-11 Frederic Crozat <fcrozat@mandriva.com>
163 reviewed by: plam
164
165 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
166 FcPatternFreeze):
167 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
168
169 * src/fclang.c: (FcNameUnparseLangSet):
170 Fix memory leak (Coverity defect #1819).
171
172 * fc-lang/fc-lang.c: (scan):
173 prevent crash when invalid include line is parsed (Coverity defect
174 #763).
175
176 * fc-cat/fc-cat.c: (FcCacheFileRead):
177 Fix potential null pointer access (Coverity defect #1804).
178
179 * src/fcname.c: (FcObjectUnserialize):
180 Remove dead code (Coverity defect #1194).
181
182 * src/fcfreetype.c: (GetScriptTags):
183 Prevent potential null pointer access (Coverity defect #767),
184 ensure error value is read (Coverity defect #1195).
185
af2ad236
PL
1862006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
187 reviewed by: plam
188
189 * doc/Makefile.am:
190
191 Survive missing docbook2pdf.
192
1932006-04-10 Patrick Lam <plam@mit.edu>
67ed0b72
PL
194 * fc-case/fc-case.c:
195 * fc-glyphname/fc-glyphname.c:
196 * fc-lang/fc-lang.c:
197
198 Include more stub definitions to make HP-UX's C compiler happy.
199
af2ad236 2002006-04-10 Patrick Lam <plam@mit.edu>
ac001094
PL
201 * src/fcname.c (FcObjectUnserialize):
202
203 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
204
3ea92166
PL
2052006-04-10 Frederic Crozat <fcrozat@mandriva.com>
206 reviewed by: plam
207
208 * src/fccfg.c: (FcConfigEvaluate):
209 Fix string memory leak (Coverity defect #1823).
210
211 * src/fccache.c: (FcDirCacheUnlink):
212 Fix memory leak with hash collision (Coverity defect #1824).
213
c814c301
PL
2142006-04-10 Frederic Crozat <fcrozat@mandriva.com>
215 reviewed by: plam
216
217 * src/fccache.c: (FcGlobalCacheSave):
218 Don't leak header in non-error case (Coverity defect #1825).
219
65448e8b
PL
2202006-04-10 Frederic Crozat <fcrozat@mandriva.com>
221 reviewed by: plam
222
223 * src/fcdir.c (FcDirScanConfig)
224 Don't leak in error cases (Coverity defects #777, #1826)
225
ae2aafe6
PL
2262006-04-10 Frederic Crozat <fcrozat@mandriva.com>
227 reviewed by: plam
228
229 * src/fccache.c: (FcDirCacheWrite):
230 Fix double free (spotted by Coverity, CID #1965).
231
232 * fc-match/fc-match.c: (main):
233 Check if pattern is not null before using it (Coverity defect #1883).
234
235 * src/fccache.c: (FcDirCacheWrite):
236 Fix memory leak with hash collision (Coverity defect #1829).
237
238 * src/fccfg.c: (FcConfigBuildFonts):
239 Fix memory leak when bail cases (Coverity defect #1828).
240
241 * src/fccache.c: (FcGlobalCacheLoad):
242 Don't leak directory name (Coverity defect #1827).
243
86abd759
PL
2442006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
245 reviewed by: plam
246 * fc-cache/Makefile.am:
247 * fc-cat/Makefile.am:
248 * fc-list/Makefile.am:
249 * fc-match/Makefile.am:
250
251 LD_ADD missing dependencies for binaries. Reported by
252 Edson Alves Pereira.
253
f23f5f38
PL
2542006-04-07 Patrick Lam <plam@mit.edu>
255 * src/fcint.h:
256 * fc-lang/fc-lang.c (main):
257
258 SGI compilation fixes (reported by Christoph Bauer):
259 1) reorder union definition of _FcChar;
260 2) omit .stats =.
261
44415a07
PL
2622006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
263 reviewed by: plam
264 * configure.in:
265 * src/fccharset.c (FcCharSetNeededBytes):
266 * src/fcfs.c (FcFontSetNeededBytes):
267 * src/fcint.h:
268 * src/fclang.c (FcLangSetNeededBytesAlign):
269 * src/fcname.c (FcObjectNeededBytesAlign):
270 * src/fcpat.c (FcPatternNeededBytesAlign,
271 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
272
273 Portability fixes for HP-UX (reported by Christoph Bauer).
274 Replace '__inline__' by AC_C_INLINE and 'inline'.
275 Replace '__alignof__' by 'fc_alignof'.
276
91fe51b4
PL
2772006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
278 reviewed by: plam
279 * src/fcint.h:
280
281 Move up #include of config.h.
282 Fail if neither inttypes.h nor stdint.h is available.
283 Fixes bug 6171.
284
d6217cc6
PL
2852006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
286 Patrick Lam <plam@mit.edu>
287 * configure.in:
288 * fc-cache/fc-cache.c:
289 * fc-cat/fc-cat.c:
290 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
291 FcDirCacheConsume, FcDirCacheProduce,
292 FcDirCacheWrite, FcCacheMachineSignature):
293 * src/fcfreetype.c (FcFreeTypeQuery):
294 * src/fontconfig.def.in:
295
296 Make fontconfig compile under MinGW:
297 1) remove unneeded #includes;
298 2) make use of mmap and sysconf conditional;
299 3) replace rand_r by srand/rand if needed;
300 4) use chsize instead of ftruncate; and
301 5) update libtool exports file
302
3a342c5a
PL
3032006-04-07 Patrick Lam <plam@mit.edu>
304 * src/fcdir.c (FcDirScanConfig):
305
306 Eliminate warning.
307
8b4e7628
PL
3082006-04-06 Patrick Lam <plam@mit.edu>
309 * fc-match/.cvsignore:
310 * fc-match/Makefile.am:
311 * fc-match/fc-match.sgml:
312
313 Update documentation for fc-match (SGML-ize it).
314 (reported by Ilya Konstantinov)
315
392fa276
PL
316