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