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