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