]> git.wh0rd.org - fontconfig.git/blame - ChangeLog
Added new FcFini function for cleaning up all memory. Fixed a few memory
[fontconfig.git] / ChangeLog
CommitLineData
34cd0514
CW
12003-08-15 Carl Worth <cworth@isi.edu>
2
3 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
4 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
5
6 * src/fcpat.c (FcValueListEntDestroy): New function to support
7 FcFini memory cleanup. Some statistics are not kept in
8 synch. here.
9 (FcValueListFreeze): Move hashTable outside this function so it
10 can be accessed by FcValueListThawAll.
11 (FcValueListThawAll): New function complements FcValueListFreeze.
12 (FcPatternBaseFreeze): Move hashTable outside this function so it
13 can be accessed by FcPatternBaseThawAll.
14 (FcPatternBaseThawAll): New function complements
15 FcPatternBaseFreeze.
16 (FcPatternThawAll): New function complements FcPatternFreeze.
17
18 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
19
20 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
21 allocated FcCharLeafEnt "blocks" so they can be freed later.
22 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
23 can be accessed by FcCharSetThawAllLeaf.
24 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
25 (FcCharSetFreezeBase): Move hashTable outside this function so it
26 can be accessed by FcCharSetThawAll.
27 (FcCharSetThawAll): New function complements FcCharSetFreeze.
28
29 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
30 (FcConfigDestroy): Fic leak of FcBlanks.
31
32 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
33 (main): Add call to FcFini when finished.
34
35 * fc-glyphname/fc-glyphname.c: Mark several local functions as
36 static. Add prototypes.
37
38 * doc/fcinit.fncs: Add documentation for FcFini function.
39
40 * doc/edit-sgml.c: Mark several local functions as static. Add
41 prototypes.
42
43 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
44
c3941ba9
TL
452003-06-15 Tor Lillqvist <tml@iki.fi>
46
231051f4
TL
47 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
48 before comparing (needed on Windows).
49
c3941ba9
TL
50 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
51
ee1d8125
TL
522003-06-13 Tor Lillqvist <tml@iki.fi>
53
54 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
55 man pages.
56
57 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
58 WINDOWSFONTDIR token.
59
60 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
61 end, not to confuse libtool, which expects the EXPORTS line to be
62 the first. Add FcConfigEnableHome.
63
e5206dbc
TL
64 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
65 built as a DLL on Win32.
66
4ae7f71c
KP
672003-06-09 Keith Packard <keithp@keithp.com>
68
69 * Tag version 2.2.90
70
8edb970e
KP
712003-06-09 Keith Packard <keithp@keithp.com>
72
73 * Optimization in FcLangSetIndex was broken, occasionally
74 returning a pointer to the wrong location on miss
75
76 * Add fc-match to test font matching from the command line.
77
782003-05-31 Keith Packard <keithp@keithp.com>
79
80 * (Bug 85) add support for culmus fonts
81 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
82 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
83
842003-05-28 James Su <suzhe@turbolinux.com.cn>
85
86 * Fix "contains" op for strings and langsets.
87
882003-05-17 Keith Packard <keithp@keithp.com>
89
90 * Fix build error with BDF prop local. Free langset after query
91
922003-05-14 Keith Packard <keithp@keithp.com>
93
94 * Extract spacing from XLFD atom
95
962003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
97
98 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
99 disappeared in 1.30.
100
101 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
102
1032003-05-12 Keith Packard <keithp@keithp.com>
104
105 * Use FcIsWidth to share code
106
107 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
108 misclassifying some Han fonts as monospaced.
109
1102003-05-07 Keith Packard <keithp@keithp.com>
111
112 * Add filename-based accept/reject to ammend available fonts.
113
114 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
115 older FreeType releases.
116
1172003-05-06 Keith Packard <keithp@keithp.com>
118
119 * Remove 0b82 and Tamil numbers from tamil
120 orthography (Jungshik Shin <jshin@mailaps.org>)
121
1222003-05-04 Keith Packard <keithp@keithp.com>
86b12431
KP
123
124 + Map glyph names in fonts with adobe custom encoding to unicode
125
8edb970e
KP
1262003-05-02 Keith Packard <keithp@keithp.com>
127
128 * Add FC_WEIGHT_BOOK as weight 75
129
1302003-04-30 Keith Packard <keithp@keithp.com>
131
132 * Typo in bitstream foundry name
133
1342003-04-24 Keith Packard <keithp@keithp.com>
135
136 * Eliminate italic_angle check for PS fonts
137
1382003-04-23 Noah Levitt <nlevitt@columbia.edu>
139
140 * Getting closer to fixing /etc/fonts hard-coding.
141
1422003-04-22 Keith Packard <keithp@keithp.com>
143
144 * Update autogen.sh to work with newer automake versions
145 * Handle pattern elements moving during multiple edits
146
8c87b429
KP
1472003-04-23 James Henstridge <james@daa.com.au>
148
149 * doc/fontconfig-devel.sgml: close the <para> element.
150
151 * doc/fcpattern.fncs: close the <para> element.
152
153 * doc/func.sgml: close the <refsynopsisdiv> element.
154
8edb970e
KP
1552003-04-22 Keith Packard <keithp@keithp.com
156
157 * Update autogen.sh to work with newer automake versions
158 * Handle pattern elements moving during multiple edits
159
12d49d3c
CW
1602003-04-17 Colin Walters <walters@debian.org>
161
162 + Remove some unused variables, and initialize some other ones so
163 gcc doesn't warn us.
164
ab06f005
KP
1652003-04-16 Keith Packard <keithp@keithp.com>
166
167 + tag version 2.1.94
168
1692003-04-16 Keith Packard <keithp@keithp.com>
170
171 + add BDF property fetching support for foundry
172 (from Juliusz Chroboczek)
173 + add BDF property fetching support for width
174
1752003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
176
177 + Implemented foundry generation for Type 1 and TrueType
178
1792003-04-11 Gerard Escalante <g2@magestudios.net>
180
181 + Retrieve information from Type1 FontInfo dictionaries
182
8c8caabd
CW
1832003-04-07 Colin Walters <walters@verbum.org>
184
185 + src/Makefile.am: Fix dummy makefile target names when
186 MS_LIB_AVAILABLE isn't set.
187
daeed6e0
TL
1882003-03-22 Tor Lillqvist <tml@iki.fi>
189
190 Changes for Windows:
191
192 + On Windows with gcc (a.k.a. mingw) build as a DLL.
193
194 + We don't want to hardcode the fonts.conf file location in the
195 DLL, so we look up the DLL location at run-time in a DllMain()
196 function. The fonts.conf location is deduced from that.
197
198 + The colon can't be used as path separator on Windows,
199 semicolon is used instead. File path components can be separated
200 with either slash or backslash. Absolute paths can also begin
201 with a drive letter.
202
203 + Add internal function FcStrLastSlash that strrchr's the last
204 slash, or backslash on Windows.
205
206 + There is no link() on Windows. For atomicity checks, mkdir a
207 lock directory instead.
208
209 + In addition to HOME, also look for USERPROFILE.
210
211 + Recognize the special font directory token WINDOWSFONTDIR, to
212 use the system's font directory.
213
214 + Remove the fontconfig-def.cpp that was obsolete. Add
215 fontconfig.def(.in), without internal functions.
216
217 + Add a fontconfig-zip(.in) script, used to build a binary
218 distribution.
219
dbe9a11e
MH
220Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
221 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
222 to main package and man3/* to devel package
223
224 + Added missing defattr(-, root, root) to main RPM package
225
226 + Added HTML and text development documentation to -devel subpackage
227
c92abf78
MH
228Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
229 + Added back the configure macro options --disable-docs, otherwise
230 fontconfig installs docs into /usr/share/doc/fontconfig (with no
231 version number) unconditionally, causing RPM to fail the build due
232 to _unpackaged_files_terminate_build. We pick up the pregenerated
233 docs with %doc already.
234
b06766e4
MH
235Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
236 + Removed commented out rpm macro define at top of spec file,
237 replacing it with a simple explanation, since rpm macros are
238 expanded by rpm even in comments.
239
240 + Changed /usr/bin to _bindir in BuildRequires lines
241
242 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
243
244 + Reorganized file manifest lists
245
246Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
22dc6fc6
OT
247
248 + fontconfig.spec.in: Improvements from Red Hat spec file.
249
250 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
251
252 + docs/*.sgml: SGML fixes.
253
8fc10a72
KP
254Sat Mar 1 17:28:53 PST 2003 keithp
255 + Ok, so the ChangeLog is a bit out of date
256
257 + Lots of bugs fixed; most are in bugzilla, the
258 biggest problems were in cache management where
259 Owen discovered the library would lose badly when
260 combining fonts-cache and ~/.fonts-cache data
261
262 + Converted from autoconf to automake. This after
263 getting patches accepted into libtool to allow
264 the '-version-number' argument which lets
265 packages set version numbers explicitly rather
266 than the roundabout libtool way
267
268 + Converted documentation to SGML using the docbook
269 DTD. Now .txt and .html documents are installed
270 in /usr/share/doc/fontconfig and there's no
271 man page. Perhaps a man version can be written
272 at some point.
273
c2022f99
KP
274Sat Aug 31 15:21:22 PDT 2002 keithp
275 + Xrender and Xft had several bugs related to
276 rendering manually placed or poly-face text
277
278 + Added more complete memory tracing in fontconfig
279 Checked with (patched) mozilla and found no leaks
280
281 + Updated Latin orthographies by comparing those from
282 evertype.com with those from eki.ee. Tried to make
283 sensible choices, including chars that occured in both
284 and leaving some optional chars out that occured only
285 in one.
286
2458a6d8 287Mon Aug 26 16:33:04 PDT 2002 keithp
c2022f99 288 + Owen discovered that FcLangSetHasLang wasn't actually
2458a6d8
KP
289 checking the language set.
290
5d6788ac
KP
291Mon Aug 26 13:37:23 PDT 2002 keithp
292 + Append a version number to cache filenames
293
47d4f950
KP
294Thu Aug 22 11:36:18 PDT 2002 keithp
295
296 + Add "contains" and "not_contains" operators and elements to
297 font configuration
298
299 + Changed semantics of eq operator for LangSets to check for
300 FcLangEqual so that any match will do
301
302 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
303 of FcValueEqual to check for identical values when inserting into
304 the results. This broke when the above semantic change was made,
305 now it uses FcValueEqual which is "more correct" in any case.
306
d8d73958
KP
307Thu Aug 22 00:32:29 PDT 2002 keithp
308
309 + Reimplement FC_LANG as new datatype. Lists of strings
310 was consuming over a megabyte of memory for 401 fonts.
311
312 + Freeze patterns loaded from cache files. This shares
313 common value lists and common patterns which saves
314 considerable memory.
315
316 + Change the denotation of 'constant' charsets to use special
317 ref value instead of separate boolean.
318
319 + Clean up leak tracing stuff, found several unannoted alloc/free
320 calls
321
322Tue Aug 20 16:17:37 PDT 2002 keithp
323
324 + Fix memory leak when parsing matrices from XML
325
326Mon Aug 19 11:57:27 PDT 2002 keithp
327
fa244f3d
KP
328 + Fix autoconf files to pass FONTCONFIG_PATH on
329 compile line so that ${prefix} gets substituted
330 correctly.
331
332 + Use getc_unlocked/putc_unlocked on systems that
333 provide them to avoid damage done to stdio by posix
334
335 + Eliminate FC_PATTERN and FcTypePattern in favor of
336 an extended api for FcConfigSubstitute which takes
337 both the font and the pattern.
338
339 + Add 'sans serif' alias for 'sans-serif' as some apps
340 can't handle hyphens in family names
341
342 + Eliminate pretense of support for libxml2
343
344 + Comment origins of Han orthographies
345
aefb2c41
KP
346Tue Jul 30 18:37:09 PDT 2002 keithp
347
348 + Add binding property to edit element so that strong
349 binding values may be inserted by the config file.
350 The default remains weak.
351
352Sun 28 Jul 04:16:55 PDT 2002 keithp
353
354 + Tagged release candidate 1 in the CVS tree and
355 placed fcpackage.rc1.tar.gz for distribution
356
357Thu Aug 1 08:55:08 PDT 2002 keithp
358
359 + Fixed autoconf builds to always specify install
360 target files (for BSD). Also fixed to
361 define FONTCONFIG_PATH in config.h so that
362 nonstandard installs will actually work.