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