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