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