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