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