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