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