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