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