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