Include $(top_srcdir), $(top_srcdir)/src before anything else.
[platform/upstream/fontconfig.git] / ChangeLog
1 2006-04-24  Patrick Lam  <plam@mit.edu>
2         * ChangeLog:
3         * README:
4         * configure.in:
5         * fontconfig/fontconfig.h:
6
7         Bump version to 2.3.95.
8
9 2006-04-24  Dominic Lachowicz  <cinamod@hotmail.com>
10         reviewed by: plam
11         
12         * src/Makefile.am:
13
14         Include $(top_srcdir), $(top_srcdir)/src before anything else.
15
16         * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c:
17         * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c:
18         * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c:
19         * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c:
20         * src/fcstr.c, src/fcxml.c:
21
22         Shuffle order of includes for building out of srcdir on win32.
23         
24 2006-04-20  Patrick Lam  <plam@mit.edu>
25         * src/fcmatch.c (FcSortWalk):
26
27         Prevent terrible perf regression by getting the if-condition
28         right (reported by Wouter Bolsterlee).
29
30 2006-04-19  Patrick Lam  <plam@mit.edu>
31             Dominic Lachowicz  <cinamod@hotmail.com>
32
33         * src/fccache.c (FcDirCacheConsume):
34
35         Implement mmap-like code for Windows using MapViewOfFile.
36         
37 2006-04-19  Patrick Lam  <plam@mit.edu>
38         * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
39
40         Bail gracefully if the cache file does not contain enough data.
41
42 2006-04-14  Patrick Lam  <plam@mit.edu>
43         * fonts.conf.in:
44
45         Give the 'Standard Symbols L' match a strong (vs. weak) binding.
46
47 2006-04-14  Patrick Lam  <plam@mit.edu>
48         * src/fcname.c (FcObjectToPtrLookup):
49
50         Fix Gecko-exposed segfault from my last hack to
51         FcObjectToPtrLookup.  Simplify code and get things straight.
52
53 2006-04-14  Patrick Lam  <plam@mit.edu>
54         * fonts.conf.in:
55
56         Actually, just add URW fonts as aliases for all of the PostScript
57         fonts.  (reported by Miguel Rodriguez). 
58
59 2006-04-13  Patrick Lam  <plam@mit.edu>
60         * fonts.conf.in:
61
62         Add an alias 'Standard Symbols L' for 'Symbol'.
63
64 2006-04-12  Frederic Crozat  <fcrozat@mandriva.com>
65         reviewed by: plam
66         
67         * src/fcpat.c: (FcPatternFreeze):
68         Fix memory leak (Coverity defect #2089).
69
70         * src/fcfreetype.c: (GetScriptTags):
71         Ignore script if subtable is missing (Coverity defect #2088).
72
73 2006-04-12  Patrick Lam  <plam@mit.edu>
74         * src/fccfg.c (FcConfigSubstituteWithPat):
75
76         Fix possible null pointer dereference (Coverity defect #784)
77         and memory leak (Coverity defects #785, #786).
78
79 2006-04-12  Patrick Lam  <plam@mit.edu>
80         * src/fcmatch.c (FcSortWalk, FcFontSetSort):
81
82         Don't copy FcCharSet if we're going to throw it away anyway.
83         (Reported by Kenichi Handa).
84
85 2006-04-11  Ming Zhao  <ming@gentoo.org>
86         reviewed by: plam
87         
88         * src/fcname.c (FcObjectToPtrLookup):
89
90         Fix bad behaviour on realloc resulting in crash.
91
92 2006-04-11  Patrick Lam  <plam@mit.edu>
93         * src/fccache.c (FcGlobalCacheReadDir):
94
95         Don't crash if config is null (Coverity defect #984).
96
97 2006-04-11  Frederic Crozat  <fcrozat@mandriva.com>
98         reviewed by: plam
99
100         * src/fccharset.c (FcCharSetPutLeaf):
101         * src/fclang.c (FcNameUnparseLangSet):
102
103         Missing bits from previous patches.
104
105         * src/fccharset.c (FcCharSetSubtractCount):
106         Remove extra semi-colon.
107
108         * src/fccfg.c (FcConfigBuildFonts):
109         Fix memory leak in error case (Coverity defects #776, #985).
110
111         * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
112         Fix memory leaks (Coverity defects #779, #781) 
113         and memory use after free (Coverity defect #780).
114
115 2006-04-11  Patrick Lam  <plam@mit.edu>
116         * src/fccharset.c (FcCharSetPutLeaf):
117
118         Properly convert static charsets to dynamic charsets.
119
120 2006-04-11  Frederic Crozat  <fcrozat@mandriva.com>
121         reviewed by: plam
122         
123         * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
124         FcPatternFreeze):
125         Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
126
127         * src/fclang.c: (FcNameUnparseLangSet):
128         Fix memory leak (Coverity defect #1819).
129
130         * fc-lang/fc-lang.c: (scan):
131         prevent crash when invalid include line is parsed (Coverity defect
132         #763).
133
134         * fc-cat/fc-cat.c: (FcCacheFileRead):
135         Fix potential null pointer access (Coverity defect #1804).
136
137         * src/fcname.c: (FcObjectUnserialize):
138         Remove dead code (Coverity defect #1194).
139
140         * src/fcfreetype.c: (GetScriptTags):
141         Prevent potential null pointer access (Coverity defect #767),
142         ensure error value is read (Coverity defect #1195).
143
144 2006-04-11  Behdad Esfahbod  <behdad@cs.toronto.edu>
145         reviewed by: plam
146
147         * doc/Makefile.am:
148
149         Survive missing docbook2pdf.
150
151 2006-04-10  Patrick Lam  <plam@mit.edu>
152         * fc-case/fc-case.c:
153         * fc-glyphname/fc-glyphname.c:
154         * fc-lang/fc-lang.c:
155
156         Include more stub definitions to make HP-UX's C compiler happy.
157
158 2006-04-10  Patrick Lam  <plam@mit.edu>
159         * src/fcname.c (FcObjectUnserialize):
160
161         Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
162
163 2006-04-10  Frederic Crozat  <fcrozat@mandriva.com>
164         reviewed by: plam
165         
166         * src/fccfg.c: (FcConfigEvaluate):
167         Fix string memory leak (Coverity defect #1823).
168         
169         * src/fccache.c: (FcDirCacheUnlink):
170         Fix memory leak with hash collision (Coverity defect #1824).
171
172 2006-04-10  Frederic Crozat  <fcrozat@mandriva.com>
173         reviewed by: plam
174         
175         * src/fccache.c: (FcGlobalCacheSave):
176         Don't leak header in non-error case (Coverity defect #1825).
177
178 2006-04-10  Frederic Crozat  <fcrozat@mandriva.com>
179         reviewed by: plam
180
181         * src/fcdir.c (FcDirScanConfig)
182         Don't leak in error cases (Coverity defects #777, #1826)
183
184 2006-04-10  Frederic Crozat  <fcrozat@mandriva.com>
185         reviewed by: plam
186
187         * src/fccache.c: (FcDirCacheWrite):
188         Fix double free (spotted by Coverity, CID #1965).
189
190         * fc-match/fc-match.c: (main):
191         Check if pattern is not null before using it (Coverity defect #1883).
192
193         * src/fccache.c: (FcDirCacheWrite):
194         Fix memory leak with hash collision (Coverity defect #1829).
195
196         * src/fccfg.c: (FcConfigBuildFonts):
197         Fix memory leak when bail cases (Coverity defect #1828).
198
199         * src/fccache.c: (FcGlobalCacheLoad):
200         Don't leak directory name (Coverity defect #1827).
201
202 2006-04-07  Dominic Lachowicz  <cinamod@hotmail.com>
203         reviewed by: plam
204         * fc-cache/Makefile.am:
205         * fc-cat/Makefile.am:
206         * fc-list/Makefile.am:
207         * fc-match/Makefile.am:
208
209         LD_ADD missing dependencies for binaries.  Reported by
210         Edson Alves Pereira.
211
212 2006-04-07  Patrick Lam  <plam@mit.edu>
213         * src/fcint.h:
214         * fc-lang/fc-lang.c (main):
215
216         SGI compilation fixes (reported by Christoph Bauer):
217         1) reorder union definition of _FcChar;
218         2) omit .stats =.
219
220 2006-04-07  Dominic Lachowicz  <cinamod@hotmail.com>
221         reviewed by: plam
222         * configure.in:
223         * src/fccharset.c (FcCharSetNeededBytes):
224         * src/fcfs.c (FcFontSetNeededBytes):
225         * src/fcint.h:
226         * src/fclang.c (FcLangSetNeededBytesAlign):
227         * src/fcname.c (FcObjectNeededBytesAlign):
228         * src/fcpat.c (FcPatternNeededBytesAlign, 
229                        FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
230
231         Portability fixes for HP-UX (reported by Christoph Bauer).
232         Replace '__inline__' by AC_C_INLINE and 'inline'.
233         Replace '__alignof__' by 'fc_alignof'.
234
235 2006-04-07  Dominic Lachowicz  <cinamod@hotmail.com>
236         reviewed by: plam
237         * src/fcint.h:
238
239         Move up #include of config.h.
240         Fail if neither inttypes.h nor stdint.h is available.
241         Fixes bug 6171.
242
243 2006-04-07  Dominic Lachowicz  <cinamod@hotmail.com>
244             Patrick Lam  <plam@mit.edu>
245         * configure.in:
246         * fc-cache/fc-cache.c:
247         * fc-cat/fc-cat.c:
248         * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset, 
249                          FcDirCacheConsume, FcDirCacheProduce, 
250                          FcDirCacheWrite, FcCacheMachineSignature):
251         * src/fcfreetype.c (FcFreeTypeQuery):
252         * src/fontconfig.def.in:
253
254         Make fontconfig compile under MinGW: 
255         1) remove unneeded #includes;
256         2) make use of mmap and sysconf conditional;
257         3) replace rand_r by srand/rand if needed;
258         4) use chsize instead of ftruncate; and
259         5) update libtool exports file
260
261 2006-04-07  Patrick Lam  <plam@mit.edu>
262         * src/fcdir.c (FcDirScanConfig):
263
264         Eliminate warning.
265
266 2006-04-06  Patrick Lam  <plam@mit.edu>
267         * fc-match/.cvsignore:
268         * fc-match/Makefile.am:
269         * fc-match/fc-match.sgml:
270
271         Update documentation for fc-match (SGML-ize it).
272         (reported by Ilya Konstantinov)
273
274 2006-04-06  Diego Pettenò  <flameeyes@gentoo.org>
275         reviewed by: plam
276         * src/fcdefault.c:
277         * src/fcpat.c:
278         * src/fcxml.c:
279
280         Reduce amount of dirty rss by const'ing some data structures.
281
282 2006-04-06  Patrick Lam  <plam@mit.edu>
283         * fc-cache/Makefile.am:
284
285         Don't fail if we can't create or remove 
286         $(pkgcachedir) i.e. /var/cache/fontconfig.
287         (reported by Quanah Gibson-Mount).
288
289 2006-04-06  Kjartan Maraas  <kmaraas@gnome.org>
290         reviewed by: plam
291         * fc-case/fc-case.c:
292         * fc-glyphname/fc-glyphname.c:
293         * fc-lang/fc-lang.c (main):
294         * fc-match/fc-match.c:
295         * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch, 
296                          FcDirCacheWrite):
297         * src/fcfreetype.c (FcFreeTypeQuery):
298         * src/fclang.c (FcFreeTypeLangSet):
299         * src/fcxml.c:
300
301         Fix intel compiler warnings: make many variables static,
302         eliminate duplicate names, reduce variable scopes, unsigned/signed
303         printf formatting.
304
305 2006-03-24  Mike Fabian  <mfabian@suse.de>
306         reviewed by: plam
307         * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
308
309         Fix multiarch support (don't destroy multiarch files!)
310
311 2006-03-24  Patrick Lam  <plam@mit.edu>
312         * configure.in:
313
314         Require pkg-config.  (Thanks Behdad; 
315         better solution wanted for libxml2 detection!)
316
317 2006-03-22  Patrick Lam  <plam@mit.edu>
318         * src/fcatomic.c:
319
320         On Windows, unlink before rename.  Reported by Tim Evans.
321
322 2006-03-15  Patrick Lam  <plam@mit.edu>
323         * fc-lang/ab.orth:
324         * fc-lang/ibo.orth:
325
326         Fix typos in orth files.  Reported by Denis Jacquerye.
327
328 2006-03-08  Patrick Lam  <plam@mit.edu>
329         * Makefile.am:
330         * config/config.guess:
331         * config/config.sub:
332
333         Fix Makefile.am for removal of debian/ directory.
334
335 2006-03-08  Patrick Lam  <plam@mit.edu>
336         * .cvsignore
337
338         Ignore debian/ directory for CVS.
339
340 2006-03-08  Patrick Lam  <plam@mit.edu>
341         * debian/*
342
343         Now remove debian/ directory.
344
345 2006-03-08  Patrick Lam  <plam@mit.edu>
346         * debian/po/*
347
348         Remove debian/ directory from sources.  See Debian's subversion
349         server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
350         instead.
351
352 2006-03-08  Denis Jacquerye  <moyogo@gmail.com>
353         reviewed by: plam
354
355         * fc-lang/ln.orth:
356         * fc-lang/iso639-1, fc-lang/iso639-2:
357
358         Add orthography for Lingala.
359         
360 2006-03-08  Carl Worth  <cworth@cworth.org>
361         reviewed by: keithp
362
363         * conf.d/Makefile.am:
364         * conf.d/10LohitGujarati.conf: 
365
366         Add a configuration file that disables hinting for the Lohit
367         Gujarati font (since the hinting distort some glyphs quite badly).
368
369 2006-03-08  Egmont Koblinger  <egmont@uhulinux.hu>
370         reviewed by: plam
371
372         * src/fcdir.c (FcDirScanConfig):
373
374         Sort directory entries while scanning them from disk;
375         prevents Heisenbugs due to file ordering in a directory.
376
377 2006-03-07  Behdad Esfahbod  <behdad@cs.toronto.edu>
378         reviewed by: plam
379
380         * src/fcfreetype.c (GetScriptTags):
381         * src/ftglue.c, src/ftglue.h:
382
383         Remove stuff we don't use, make get_{char,short,long} functions
384         of ftglue macros to be inlined.
385         
386         * src/fcint.h:
387         * src/fcname.c (FcObjectSerialize):
388
389         Code cleanups (excess prototype, old-style function definition).
390
391 2006-03-05  Patrick Lam  <plam@mit.edu>
392         * src/fcpat.c (FcPatternGetString):
393
394         Because we hacked FcPatternGet, we don't really need to expand the
395         filename again in FcPatternGetString.
396
397 2006-03-05  Patrick Lam  <plam@mit.edu>
398         * src/fcpat.c (FcPatternGetString, FcPatternGet):
399
400         Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
401         Make that work.  Reported by Bernhard Rosenkraenzer.
402
403 2006-03-03  Patrick Lam  <plam@mit.edu>
404         * src/fcint.h:
405
406         Include inttypes.h instead of stdint.h if appropriate.
407
408 2006-03-03  Patrick Lam  <plam@mit.edu>
409         * fc-cat/fc-cat.c (FcFileIsDir):
410         * fc-glyphname/fc-flyphname.c:
411
412         More stub definitions and remove FcFileIsDir from fc-cat.
413
414 2006-03-03  Patrick Lam  <plam@mit.edu>
415         * fc-case/fc-case.c:
416
417         Fix compilation on AIX with stub definitions (bug 6097).
418
419 2006-03-03  Patrick Lam  <plam@mit.edu>
420         * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
421         * src/fcfreetype.c (GetScriptTags):
422         * src/fcfs.c (FcFontSetDistributeBytes):
423         * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
424
425         Get rid of C++-style comments.
426
427 2006-03-03  Patrick Lam  <plam@mit.edu>
428         * debian/changelog
429
430         Enable creation of 2.3.94 Debian packages.
431
432 2006-03-02  Egmont Koblinger  <egmont@uhulinux.hu>
433         reviewed by: plam
434         
435         * src/fclang.c (FcCharSetForLang):
436
437         Fix suspicious return expression which causes junk 
438         to be returned.
439
440 2006-02-24  Patrick Lam  <plam@mit.edu>
441         * ChangeLog:
442         * README:
443         * configure.in:
444         * fontconfig/fontconfig.h:
445
446         Bump version to 2.3.94.
447
448 2006-02-24  Patrick Lam  <plam@mit.edu>
449         * Makefile.am:
450
451         Fix placement of @s.
452
453 2006-02-24  Patrick Lam  <plam@mit.edu>
454         * conf.d/10-fonts-persian.conf:
455
456         Remove unconditional emboldening (per Behdad's instructions).
457
458         * Makefile.am:
459
460         Add @s to hide some echos.
461
462 2006-02-24  Mike Fabian  <mfabian@suse.de>
463             Takashi Iwai  <tiwai@suse.de>
464         reviewed by: plam
465         
466         * src/fcfreetype.c (GetScriptTags):
467
468         Fix double-free on error case.
469
470 2006-02-21  Patrick Lam  <plam@mit.edu>
471         * fc-lang/fc-lang.c (scan):
472
473         Strip \r and whitespace from input; fixes bug 3454.
474
475 2006-02-21  Patrick Lam  <plam@mit.edu>
476         * fc-lang/fc-lang.c (main):
477
478         Allocate large arrays statically in fc-lang to fix crashes under
479         MinGW/MSYS.
480
481 2006-02-21  Diego Petten  <flameeyes@gentoo.org>
482         * src/fcfreetype.c (FcFreeTypeCharIndex):
483
484         Pass the buck; make fontconfig not crash on pango badness.
485
486 2006-02-21  Patrick Lam  <plam@mit.edu>
487         * conf.d/10-fonts-persian.conf:
488
489         Use embeddedbitmap rather than rh_prefer_bitmap.
490
491 2006-02-21  Paul Cornett  <paulcor1@bullseye.com>
492         reviewed by: plam
493
494         * src/fccache.c (FcDirCacheWrite):
495         * src/fcdir.c (FcFileScanConfig):
496         * src/fcfreetype.c (FcStringInPatternElement):
497         * src/fcxml.c (FcParseFamilies):
498         * src/ftglue.c (ftglue_face_goto_table):
499
500         Eliminate redundancies.
501
502 2006-02-21  Kjartan Maraas  <kmaraas@gnome.org>
503         reviewed by: plam
504
505         * fc-list/fc-list.c (main):
506         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
507         * src/fcstr.c (FcStrStr):
508         * src/fcxml.c (FcConfigSaveAttr):
509
510         Eliminate unused vars reported by Intel's compiler.
511
512 2006-02-21  Aiet Kolkhi  <aietkolkhi@gmail.com>
513         reviewed by: plam
514
515         * fc-lang/ka.orth:
516
517         Remove one more archaic character.
518
519 2006-02-21  Ross Burton  <ross@burtonini.com>
520         reviewed by: plam, keithp
521
522         * src/fcxml.c (FcParsePatelt):
523
524         Freeze patterns created by configuration file for tiny 
525         memory savings (every little bit helps).
526
527 2006-02-21  Mike Fabian  <mfabian@suse.de>
528         reviewed by: plam
529         
530         * fc-cat/fc-cat.c (main):
531
532         Initialize fontconfig library in fc-cat to avoid segfault.
533
534 2006-02-18  Patrick Lam  <plam@mit.edu>
535         * fc-cache/fc-cache.c (scanDirs):
536         * src/fccache.c (FcCacheReadDirs):
537         * src/fcdir.c (FcDirScanConfig):
538
539         Fix the underlying cause of the below segfault (must usually
540         call FcDirCacheHasCurrentArch after FcDirCacheValid).
541         
542 2006-02-18  Patrick Lam  <plam@mit.edu>
543         * src/fccache.c (FcDirCacheHasCurrentArch):
544
545         Fix triggering of segfault caused by misreading cache files
546         (reported by fcrozat).
547
548 2006-02-17  Patrick Lam  <plam@mit.edu>
549         * src/fcint.h  (FC_CACHE_MAGIC):
550
551         Bump up magic version; we changed the binary format.
552
553 2006-02-17  Patrick Lam  <plam@mit.edu>
554         * fc-cat/fc-cat.c (main):
555
556         Enable fc-cat to print out old-style cache info when given a
557         directory name.
558
559 2006-02-16  Patrick Lam  <plam@mit.edu>
560         * src/fccache.c (FcDirCacheHasCurrentArch):
561
562         Deal correctly with changing FC_CACHE_MAGIC.
563
564 2006-02-16  Patrick Lam  <plam@mit.edu>
565         * fc-cache/fc-cache.c (usage, scanDirs, main):
566
567         Add -r --really-force option which blows away cache files and then
568         regenerates them.
569
570 2006-02-16  Patrick Lam  <plam@mit.edu>
571         * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
572
573         Don't bail if fontconfig can't remove a dir cache file.
574         Skip the ID of a cache file when copying.
575         Eliminate 'source file too small' bug in FcDirCacheWrite.
576
577 2006-02-13  Patrick Lam  <plam@mit.edu>
578         * src/fcfreetype.c (FcFreeTypeQuery):
579
580         Fix memory leak in error condition code.
581
582 2006-02-13  Mike Fabian  <mfabian@suse.de>
583         reviewed by: plam
584         * src/fcfreetype.c (FcFreeTypeQuery):
585
586         Skip bitmap fonts which can't even get it together enough to
587         declare a family name; this appears to reproduce previous
588         fontconfig behaviour.
589
590 2006-02-10  Takashi Iwai  <tiwai@suse.de>
591         reviewed by: plam
592         * src/fccache.c (FcDirCacheOpen):
593
594         Try to open /var/cache/fontconfig/[hashed name] before
595         fonts.cache-2 in a directory, because /var/cache/fontconfig
596         failures ought to be fixable, unlike fonts.cache-2 failures,
597         which may leave you screwed.
598
599 2006-02-10  Takashi Iwai  <tiwai@suse.de>
600         reviewed by: plam
601         * src/fcmatch.c (FcFontSetMatch):
602
603         Use a tri-state to mark the fonts which didn't get blocked but
604         were just missing an element, to distinguish them from the
605         fonts that do match the element.
606
607 2006-02-10  Takashi Iwai  <tiwai@suse.de>
608         reviewed by: plam
609         * src/fcmatch.c (FcFontSetMatch):
610
611         Don't kill fonts because they don't declare an element that's
612         being matched on.
613
614 2006-02-09  Patrick Lam  <plam@mit.edu>
615         * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
616                          FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
617
618         Define and pass O_BINARY to open if appropriate, for those
619         platforms that need it.  Reported by Doodle.
620
621 2006-02-09  Patrick Lam  <plam@mit.edu>
622         * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize, 
623                            FcCharSetGetLeaf):
624
625         Fix problem with missing 'en' due to euro.patch: change
626         cache file format slightly to coincide with that generated
627         by fc-lang.
628
629 2006-02-07  Patrick Lam  <plam@mit.edu>
630         * src/fccache.c (FcCacheReadDirs):
631
632         Fix warning.
633
634 2006-02-07  Patrick Lam  <plam@mit.edu>
635         * src/fcdir.c (FcDirScanConfig):
636
637         Don't reject dirs that can't be normalized (fixes lilypond, and
638         is correct in the context of application font directories.)
639
640 2006-02-07  Takashi Iwai  <tiwai@suse.de>
641         reviewed by: plam
642
643         * src/fccache.c (FcCacheReadDirs):
644
645         Use normalized directory name exclusively in FcCacheReadDirs.
646
647 2006-02-07  Dirk Mueller  <dmueller@suse.com>
648         reviewed by: plam
649
650         * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate): 
651
652         Perf optimizations.  Inline FcValueCanonicalize, 
653         reduce FcValueListPtrU usage, remove redundant cast.
654
655 2006-02-07  Takashi Iwai  <tiwai@suse.de>
656         reviewed by: plam
657
658         * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
659         * fc-lang/fc-lang.c:
660
661         Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
662         Declare extern for static arrays as arrays, not pointers.
663         (Part of the fix for 'fonts don't have en' issue after Euro patch.)
664
665 2006-02-07  Dirk Mueller  <dmueller@suse.com>
666         reviewed by: plam
667
668         * fc-lang/de.orth:
669         * fc-lang/el.orth:
670         * fc-lang/en.orth:
671         * fc-lang/es.orth:
672         * fc-lang/fi.orth:
673         * fc-lang/fr.orth:
674         * fc-lang/it.orth:
675         * fc-lang/nl.orth:
676         * fc-lang/pt.orth:
677
678         Add Euro sign to list of symbols required by European languages.
679
680 2006-02-07  Patrick Lam  <plam@mit.edu>
681         * src/fccache.c (FcCacheReadString):
682
683         Fix hidden variable warning.
684
685 2006-02-07  Dirk Mueller  <dmueller@suse.com>
686         reviewed by: plam
687
688         * src/fccache.c (FcCacheReadString, FcCacheSkipString):
689         
690         Remove de-escaping logic because FcCacheWriteString
691         doesn't escape anyway. Do blockwise reading instead
692         of byte-wise for performance.
693
694 2006-02-06  Patrick Lam  <plam@mit.edu>
695             Takashi Iwai  <tiwai@suse.de>
696
697         * src/fccache.c (FcCacheReadDirs, FcCacheRead):
698
699         Don't loop infinitely on recursive symlinks (client-side).
700
701 2006-02-06  Takashi Iwai  <tiwai@suse.de>
702         reviewed by: plam
703         * fc-cache/fc-cache.c (scanDirs, main):
704
705         Don't loop infinitely on recursive symlinks.
706
707 2006-02-06  Takashi Iwai  <tiwai@suse.de>
708         reviewed by: plam
709         * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
710                          FcGlobalCacheDirFind, FcGlobalCacheUpdate,
711                          FcGlobalCacheSave, FcCacheReadDirs):
712         * src/fcint.h:
713
714         Skip subdirs when skipping over stale bits of global cache.
715         Introduce state machine into FcGlobalCacheDir to avoid
716         doing inappropriate operations on global dir entries, e.g.
717         writing out an out-of-date cache entry.
718         
719 2006-02-06  Takashi Iwai  <tiwai@suse.de>
720         reviewed by: plam
721         * src/fcdir.c (FcFileScanConfig):
722
723         Hoist FcFileIsDir check out of FcFileScanConfig loop.
724
725 2006-02-06  Takashi Iwai  <tiwai@suse.de>
726         reviewed by: plam
727
728         * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
729                        FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
730
731         Don't rescan when trying to normalize a non-declared font dir.
732         Don't add font dirs multiple times (even if they're aliased).
733
734 2006-02-06  Dirk Mueller  <dmueller@suse.de>
735         reviewed by: plam
736
737         * src/fcfs.c (FcFontSetUnserialize):
738
739         Explain apples/oranges comparison and fix compilation error.
740
741 2006-02-06  Dirk Mueller  <dmueller@suse.de>
742         reviewed by: plam
743
744         * src/fcfs.c (FcFontSetUnserialize):
745
746         Insert check for integer overflow in # of fonts.
747
748 2006-02-04  Behdad Esfahbod  <behdad@cs.toronto.edu>
749         reviewed by: plam
750
751         * doc/Makefile.am:
752         * fc-cache/Makefile.am:
753         * fc-cat/Makefile.am: 
754         * fc-list/Makefile.am:
755
756         Make 'make distcheck' work with automake 1.6.3.
757         
758 2006-02-03  Takashi IWAI  <tiwai@suse.de>
759         reviewed by: plam
760
761         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
762                            FcCacheFileRead):
763
764         * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave, 
765                          FcDirCacheConsume, FcDirCacheWrite)
766         * src/fcxml.c (FcConfigMessage):
767
768         Check I/O call return values and eliminate unused variable
769         warnings.
770
771 2006-02-03  Takashi Iwai  <tiwai@suse.de>
772         reviewed by: plam
773
774         * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
775
776         Fix memory leak.
777
778 2006-02-03  Dirk Mueller  <dmueller@suse.de>
779         reviewed by: plam
780
781         * src/fcfs.c (FcFontSetUnserialize):
782
783         Gracefully handle the case where a cache asserts that it
784         has a negative number of fonts, causing overflow.
785
786 2006-02-03  Patrick Lam  <plam@mit.edu>
787         * src/fccache.c (FcDirCacheUnlink):
788
789         Fix double free in error case.
790
791 2006-01-31  Behdad Esfabod  <behdad@cs.utoronto.edu>
792             Stephan Kulow  <coolo@suse.de>
793         reviewed by: plam
794
795         * fc-cache/Makefile.am:
796
797         Replace 'stamp' target with mkinstalldirs.
798
799 2006-01-31  Mike Fabian  <mfabian@suse.de>
800         reviewed by: plam
801
802         * src/fccache.c (FcGlobalCacheLoad):
803
804         Toast broken global cache files.
805
806 2006-01-30  Patrick Lam  <plam@mit.edu>
807         * src/fccache.c (FcGlobalCacheReadDir):
808
809         Actually use the directories that I added to the global cache.
810         Fixes 'make check'.
811
812 2006-01-30  Mike Fabian  <mfabian@suse.de>
813         reviewed by: plam
814         
815         * fc-cache/fc-cache.c (scanDirs):
816
817         Don't stop scanning if a directory in fonts.conf doesn't
818         exist, because subsequent directories might exist.
819         
820 2006-01-30  Patrick Lam  <plam@mit.edu>
821         * src/fccache.c (FcGlobalCacheLoad):
822
823         Make global cache work again after putting dir names into global
824         cache (I misplaced the recording of a file offset).
825
826 2006-01-30  Patrick Lam  <plam@mit.edu>
827         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
828         
829         Update fc-cat to handle subdir lists in global cache file.
830         
831         * src/fccache.c (FcGlobalCacheLoad):
832         
833         Another FcCacheReadString return value check.
834
835 2006-01-30  Mike Fabian  <mfabian@suse.de>
836         reviewed by: plam
837
838         * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
839                          FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
840
841         Make fccache more resilient to broken cache files by checking
842         return value of FcCacheReadString all the time.
843
844 2006-01-30  Frederic Crozat  <fcrozat@mandriva.com>
845         reviewed by: plam
846
847         * fc-match/fc-match.1:
848         * fc-lang/fc-lang.man:
849
850         Remove references to dead fontconfig(3) manpages in
851         other fontconfig manpages.
852
853 2006-01-29  Behdad Esfabod  <behdad@cs.utoronto.edu>
854         reviewed by: plam
855         
856         * doc/fcpattern.fncs:
857
858         Fix world's tiniest typo in code example.
859
860 2006-01-29  Mike Fabian  <mfabian@suse.de>
861         reviewed by: plam
862
863         * src/fccache.c (FcGlobalCacheReadDir):
864
865         Fix global cache reads of subdirectories.
866
867 2006-01-29  Patrick Lam  <plam@mit.edu>
868         * doc/fcconfig.fncs:
869         Add documentation for FcConfigNormalizeFontDir.
870
871         * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
872                          FcGlobalCacheUpdate, FcGlobalCacheSave):
873         * src/fcdir.c (FcDirScanConfig):
874         * src/fcint.h:
875
876         Write directory information to global caches to fix make check
877         (reported by Ronny V. Vindenes).  This changes the global cache
878         format again.
879         
880 2006-01-27  Patrick Lam  <plam@mit.edu>
881         * fc-cache/fc-cache.c (scanDirs):
882         * fontconfig/fontconfig.h:
883         * src/fcint.h:
884         * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
885
886         Move FcConfigNormalizeFontDir call so that it doesn't result in
887         infinite recursion (reported by Ronny V. Vindenes).
888
889 2006-01-26  Patrick Lam  <plam@mit.edu>
890         * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
891         * src/fccfg.c (FcConfigNormalizeFontDir):
892
893         Add a couple of missing normalizations to make fc-cache work
894         right; only scan subdirectories once.
895
896 2006-01-26  Mike Fabian  <mfabian@suse.de>
897         reviewed by: plam
898         
899         * src/fcacache.c (FcGlobalCacheReadDir):
900
901         Don't crash on non-existant directories in global cache.
902
903 2006-01-26  Patrick Lam  <plam@mit.edu>
904         * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
905         * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
906         * src/fcdir.c (FcDirScanConfig):
907         * src/fcxml.c (FcEndElement):
908
909         Stop trampling the directory name when writing out caches.
910         (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
911         subdirs when necessary.  Don't scan directories that can't be
912         normalized.
913
914 2006-01-25  Patrick Lam  <plam@mit.edu>
915         * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
916         * src/fccfg.c (FcConfigEvaluate):
917         * src/fcfreetype.c (FcPatternAddWithBinding):
918
919         Fix additional memory leaks reported by Ronny V. Vindenes: don't
920         invoke FcValueSave on hashed static strings in
921         FcPatternAddWithBinding.  
922
923         Add another st_dev check in FcDirCacheOpen.
924
925 2006-01-24  James Su  <james.su@gmail.com>
926         reviewed by: plam
927         
928         * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
929         * fc-lang/zh_hk.orth:
930
931         Treat zh-hk fonts differently from zh-tw fonts.  This patch may
932         cause fontconfig to treat A-X fonts differently from A-Y fonts;
933         please mail the fontconfig list if this causes any problems.
934
935 2006-01-24  Patrick Lam  <plam@mit.edu>
936         * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
937         * src/fcfreetype.c (FcFreeTypeQuery):
938
939         Fix memory leaks reported by Ronny V. Vindenes.
940
941 2006-01-19  Andreas Schwab  <schwab@suse.de>
942         reviewed by: plam
943
944         * src/fcpat.c (FcStrNeededBytes):
945
946         Fix for unaligned memory accesses.
947
948 2006-01-18  Mike Fabian  <mfabian@suse.de>
949         reviewed by: plam
950         
951         * src/fcdir.c (FcDirScanConfig):
952
953         Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
954         calls to avoid crashes.
955
956 2006-01-14  Patrick Lam  <plam@mit.edu>
957         * src/fccache.c (FcDirCacheConsume):
958
959         Fix segfault when consuming zero-length caches in fc-cat
960         (which has no config, so FcConfigAddFontDir shouldn't be called.)
961
962 2006-01-14  Patrick Lam  <plam@mit.edu>
963         * fc-cache/fc-cache.c (scanDirs):
964         * fontconfig/fontconfig.h:
965         * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
966                          FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
967         * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
968         * src/fcdir.c (FcDirScanConfig):
969         * src/fcint.h:
970         
971         Compare device numbers as well as inodes.
972         Always normalize directory names before comparing them.
973
974 2006-01-11  Mike Fabian  <mfabian@suse.de>
975         reviewed by: plam
976         
977         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
978
979         Allocate extra space for appended '/' in directory name.
980
981 2006-01-10  Patrick Lam  <plam@mit.edu>
982         * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
983                          FcDirCacheValid, FcDirCacheHasCurrentArch,
984                          FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
985         * fc-cache/fc-cache.c (main):
986
987         Explicitly add font dirs to config.fontDirs even if they're empty.
988         Set current config in fc-cache.c.
989         Fix treatment of cache directory as read from cache file; don't
990         use string equality to determine if we have the right file,
991         use inode equality.
992
993 2006-01-09  Patrick Lam  <plam@mit.edu>
994         * fc-cache/fc-cache.c (scanDirs):
995         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
996         * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs, 
997                          FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
998         * src/fccfg.c (FcConfigNormalizeFontDir):
999         * src/fcdir.c (FcDirScanConfig):
1000         * src/fcint.h:
1001
1002         Normalize font dirs by using the form, as given in fonts.conf, and
1003         recorded in FcConfig's fontDirs string set, as canonical.
1004         
1005         Actually update config.fontDirs as font directories are scanned.
1006
1007 2006-01-08  James Su  <james.su@gmail.com>
1008         * src/fcmatch.c (FcFontSetMatch):
1009
1010         Fix matching bug when multiple elements match; don't use
1011         the sum of all scores, but the best score.
1012
1013         Also more perf opts, e.g. evaluate best over all font sets
1014         rather than on a per-set basis (and other changes).
1015
1016 2006-01-08  Patrick Lam  <plam@mit.edu>
1017         * src/fccache.c (FcDirCacheConsume):
1018
1019         Properly skip past dir caches that contain zero fonts (as occurs
1020         in global caches.)  Reported by Mike Fabian.
1021
1022 2006-01-06  Patrick Lam  <plam@mit.edu>
1023         * src/fcdbg.c (FcPatternPrint):
1024
1025         Print out full pathname in fc-match -v as well.  Reported by
1026         Frederic Crozat.
1027         
1028 2006-01-06  Mike Fabian  <mfabian@suse.de>
1029         reviewed by: plam
1030         
1031         * src/fcname.c (FcNameParse):
1032
1033         Fix bug where fc-match crashes when given __DUMMY__ property to
1034         match on.
1035
1036         (I added the __DUMMY__ string to enable callers of
1037         FcObjectToPtrLookup to distinguish an error return from a
1038         successful return. -PL)
1039
1040 2006-01-05  Patrick Lam  <plam@mit.edu>
1041         * AUTHORS:
1042
1043         Add self to AUTHORS list.
1044
1045         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, 
1046                            FcCacheFileRead, FcCachePrintSet, main): 
1047         * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate, 
1048                          FcGlobalCacheSave, FcCacheNextOffset, 
1049                          FcDirCacheHasCurrentArch, FcDirCacheRead, 
1050                          FcDirCacheConsume, FcDirCacheWrite): 
1051         * src/fcint.h:
1052         * src/fcpat.c (comment):
1053
1054         Minor change to global cache file format to fix fc-cat bug
1055         reported by Frederic Crozat, and buglet with not globally caching
1056         directories with zero fonts cached.
1057
1058 2006-01-02  Lubos Lunak  <l.lunak@suse.cz>
1059         reviewed by: plam
1060         
1061         * src/fccfg.c (FcConfigEvaluate):
1062
1063         Fix double-free which occurs because FcValueCanonicalize doesn't
1064         create an extra copy of the returned value, it only canonicalizes
1065         it.
1066
1067 2006-01-02  Patrick Lam  <plam@mit.edu>
1068         * doc/fontconfig-user.sgml:
1069
1070         Fix version of .cache file (currently 1 -> currently 2).  Reported
1071         by Jim Osborn.
1072
1073 2005-12-21  Jinghua Luo  <sunmoon1997@gmail.com>
1074         reviewed by: plam
1075
1076         * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1077
1078         Shut up GCC warnings on amd.
1079
1080 2005-12-20  Patrick Lam  <plam@mit.edu>
1081         * ChangeLog:
1082         * README:
1083         * configure.in:
1084         * fontconfig/fontconfig.h:
1085
1086         Bump version to 2.3.93.
1087
1088 2005-12-20  Patrick Lam  <plam@mit.edu>
1089         * src/fccharset.c (FcLangCharSetPopulate):
1090         * src/fcint.h (FcCacheBankToIndex):
1091
1092         Avoid check on _fcBankId nullness and fix case where it used to
1093         crash.
1094
1095 2005-12-20  Patrick Lam  <plam@mit.edu>
1096         * src/fcxml.c (FcConfigParseAndLoad):
1097
1098         Use open instead of fopen (requested by Phil Race for Sun).
1099
1100 2005-12-20  Patrick Lam  <plam@mit.edu>
1101         * src/fccache.c (FcDirCacheWrite);
1102         * fc-cache/Makefile.am:
1103
1104         Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1105         dir.
1106
1107 2005-12-20  Patrick Lam  <plam@mit.edu>
1108         * src/fcfreetype.c (FcFreeTypeQuery):
1109
1110         Restore code to skip over PCF fonts that have no encoded
1111         characters.
1112         (We guess that a font is PCF by presence of the PIXEL_SIZE
1113         BDF property.)
1114
1115 2005-12-12  Patrick Lam  <plam@mit.edu>
1116         * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1117
1118         Read and write the original location as a fallback for the
1119         hashed cache file locations.  This is mostly for users to be
1120         able to have per-directory cache files.
1121
1122 2005-12-12  Patrick Lam  <plam@mit.edu>
1123         * fc-cache/fc-cache.c (scanDirs):
1124         * fc-cache/Makefile.am:
1125         * src/fccache.c (FcDirCacheHashName):
1126
1127         Improve error message when fc-cache can't write the cache.  Add
1128         missing slash.  Reported by Behdad.  Incorporate Behdad's patch to
1129         create /var/cache/fontconfig when appropriate.
1130
1131 2005-12-12  Behdad Esfahbod  <behdad@cs.toronto.edu>
1132         reviewed by: plam
1133         
1134         * src/fcxml.c (FcConfigGetAttribute):
1135
1136         Fix crash reported by Frederic Crozat when using libxml2.
1137
1138 2005-12-09  Patrick Lam  <plam@mit.edu>
1139         * INSTALL:
1140         * configure.in:
1141         * fc-cache/Makefile.am:
1142         * fc-cat/Makefile.am:
1143         * src/Makefile.am:
1144         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1145         * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1146         * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1147                         FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1148                         FcDirCacheHasCurrentArch, FcDirCacheHashName,
1149                         FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1150
1151         Migrate cache files from fonts directories to
1152         /var/cache/fontconfig.  This helps make fontconfig FHS-compliant,
1153         but requires that all caches get rebuilt.
1154
1155         Also, autogen.sh now needs the additional parameter
1156         --localstatedir=/var.
1157         
1158 2005-12-07  Patrick Lam  <plam@mit.edu>
1159         * src/fcpat.c (FcPatternAddString):
1160
1161         Because we've changed FcPatternAddString to use FcStrStaticName
1162         and not FcValueSave, explicitly handle the case of a null string.
1163
1164 2005-12-06  Patrick Lam  <plam@mit.edu>
1165         * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1166
1167         Fix warnings.
1168
1169 2005-12-05  Patrick Lam  <plam@mit.edu>
1170         * src/fcname.c (FcNameGetObjectType):
1171
1172         Don't assign types to user object names.
1173
1174 2005-12-05  Patrick Lam  <plam@mit.edu>
1175         * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1176
1177         Don't free strings that have been returned from FcStrStaticName.
1178
1179 2005-12-01  Patrick Lam  <plam@mit.edu>
1180         * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1181
1182         Add codepath for reading global cache files as well.
1183
1184 2005-12-01  Behdad Esfahbod  <behdad@cs.toronto.edu>
1185         reviewed by: plam
1186
1187         * conf.d/10-fonts.persian.conf:
1188         * conf.d/Makefile.am:
1189
1190         Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1191
1192 2005-11-30  Behdad Esfahbod  <behdad@cs.toronto.edu>
1193         reviewed by: plam
1194
1195         * src/fcxml.c (FcConfigParseAndLoad):
1196
1197         Only add a config file to the set of config files once.
1198
1199 2005-11-29  Patrick Lam  <plam@mit.edu>
1200         * src/fcint.h (FcCacheBankToIndex);
1201
1202         Fix segfault by guarding array dereference.
1203
1204 2005-11-29  Dirk Mueller  <dmueller@suse.de>
1205         reviewed by: plam
1206         
1207         * fc-lang/fc-lang.c:
1208         * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1209                          FcCacheBankToIndex, FcCacheBankToIndexMTF,
1210                          FcCacheAddBankDir):
1211         * src/fcint.h:
1212
1213         Refactor FcCacheBankToIndex into an inlineable part
1214         (in fcint.h) which checks the front of the list and a
1215         non-inlineable part which finds and moves the appropriate element
1216         to the front of the list.
1217
1218 2005-11-29  Patrick Lam  <plam@mit.edu>
1219         * src/fccfg.c (FcConfigBuildFonts):
1220         * src/fccache.c (FcCacheReadDirs):
1221
1222         Make the perf guys hate me a bit less: hoist the directory-name
1223         FcConfigAcceptFont check for cached fonts up to directory cache
1224         read time, rather than running it for each font.
1225
1226 2005-11-29  Patrick Lam  <plam@mit.edu>
1227         * src/fccfg.c (FcConfigBuildFonts):
1228         * src/fcint.h:
1229         * src/fcpat.c (FcPatternFindFullFname):
1230
1231         Don't make FcPatternFindFullFname available to fccfg, it's not
1232         really safe.  Instead go through FcPatternGetString (sorry,
1233         perf guys.)  Also, use globs for dirs as well.
1234
1235 2005-11-28  Patrick Lam  <plam@mit.edu>
1236         * src/fccfg.c (FcConfigBuildFonts):
1237
1238         Fix segfault.
1239
1240 2005-11-28  Patrick Lam  <plam@mit.edu>
1241         * src/fcint.h:
1242         * src/fcpat.c (FcPatternFindFullFname):
1243         * src/fccfg.c (FcConfigBuildFonts):
1244
1245         Fix problem dating back at least to 2.3.2 where globs weren't
1246         being applied to patterns loaded from a cache.
1247
1248 2005-11-28  Patrick Lam  <plam@mit.edu>
1249         * doc/fontconfig-user.sgml:
1250
1251         Fix some obvious spelling mistakes.
1252         
1253 2005-11-28  Dirk Mueller  <dmueller@suse.com>
1254             Stephan Kulow  <coolo@suse.de>
1255         reviewed by: plam
1256
1257         * src/fcmatch.c (FcFontSetMatch):
1258
1259         Don't kill all fonts during match (oops!)
1260
1261
1262 2005-11-25  Dirk Mueller  <dmueller@suse.com>
1263             Stephan Kulow  <coolo@suse.de>
1264             Michael Matz  <matz@suse.de>
1265         reviewed by: plam
1266
1267         * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1268                 FcFontSetMatch):
1269
1270         Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1271         inline FcCompare into FcFontSetMatch and reorder the
1272         loops, adding a boolean array which blocks patterns from future
1273         consideration if they're known to not be best on some past
1274         criterion.
1275
1276 2005-11-26  Dirk Mueller  <dmueller@suse.com>
1277         reviewed by: plam
1278         
1279         * src/fcmatch.c (FcCompareValueList):
1280
1281         Fix incorrect merge.
1282
1283 2005-11-25  Patrick Lam  <plam@mit.edu>
1284         * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1285
1286         Don't do random matching when bad objects are passed into
1287         FcCompareValueList.
1288
1289 2005-11-25  Patrick Lam  <plam@mit.edu>
1290         * src/fcint.h:
1291         * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes, 
1292                         FcPatternSerialize, FcPatternUnserialize, 
1293                         FcValueListEnsureBank, FcValueListDistributeBytes,
1294                         FcValueListUnserialize):
1295
1296         Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1297         _fcPatternElts, _fcValueLists for consistency.
1298
1299 2005-11-25  Dirk Mueller  <dmueller@suse.com>
1300         reviewed by: plam
1301
1302         * src/fcmatch.c:
1303
1304         Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1305
1306 2005-11-25  Patrick Lam  <plam@mit.edu>
1307         * src/fcint.h:
1308         * src/fccache.c (FcDirCacheConsume):
1309         * src/fccharset.c (FcCharSetUnserialize):
1310         * src/fcfs.c (FcFontSetUnserialize):
1311         * src/fclang.c (FcLangSetUnserialize):
1312         * src/fcname.c (FcObjectUnserialize):
1313         * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize, 
1314                         FcPatternUnserialize):
1315
1316         Pass around FcCache *s to the Unserialize functions for extra
1317         consistency (and less overhead, for what that's worth).
1318
1319 2005-11-24  Dirk Mueller  <dmueller@suse.com>
1320         reviewed by: plam
1321
1322         * src/fcint.h:
1323         * src/fcmatch.c (FcCompare*, FcFontSetSort):
1324         * src/fcname.c (FcNameUnparseValue):
1325
1326         Inline the *PtrU functions to gain perf.
1327         Remove unneeded params for the FcCompare* functions.
1328
1329 2005-11-24  Dirk Mueller  <dmueller@suse.com>
1330         reviewed by: plam
1331         
1332         * src/fcint.h, fontconfig/fontconfig.h: 
1333         
1334         Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1335
1336         * src/fcpat.c, src/fcint.h, src/fcname.c:
1337           
1338         Check for type validity during FcPatternAddWithBinding, don't
1339         verify type in FcFontMatch, don't call FcCanonicalize here
1340         (which always does a deep copy).
1341
1342 2005-11-24  Dirk Mueller  <dmueller@suse.com>
1343         reviewed by: plam
1344
1345         * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1346         * src/fcpat.c (FcPatternAddWithBinding):
1347
1348         Make FcCompareString and FcCompareFamily less expensive.
1349         Only add a value for FC_FAMILY if the proposed value is a string.
1350
1351 2005-11-24  Dirk Mueller  <dmueller@suse.com>
1352         reviewed by: plam
1353         
1354         * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1355         * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1356         * src/fcint.h (FcDebug):
1357         
1358         Inline FcDebug invocations and only initialize once, in FcInit*.
1359         Improve debug msg in FcPatternPrint.
1360
1361 2005-11-23  Frederic Crozat  <fcrozat@mandriva.com>:
1362         reviewed by: plam
1363         
1364         * fontconfig/fontconfig.h:
1365         * fc-cat/fc-cat.c:
1366
1367         Minor code warning cleanups.
1368
1369 2005-11-23  Frederic Crozat  <fcrozat@mandriva.com>:
1370         reviewed by: plam
1371         
1372         * fc-match/fc-match.c (main):
1373
1374         Make getopt_long accept -s parameter to fc-match as well.
1375
1376 2005-11-21  Dirk Mueller <dmueller@suse.com>
1377         reviewed by: plam
1378
1379         * src/fcmatch.c (FcCompareValueList):
1380
1381         Manually perform inlining & partial redundancy elimination to
1382         reduce calls to FcValueListPtrU.
1383
1384 2005-11-21  Dirk Mueller <dmueller@suse.com>
1385         reviewed by: plam
1386
1387         * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1388                        FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks): 
1389
1390         Only invoke strlen() when really necessary.
1391         
1392 2005-11-19  Matthias Clasen  <mclasen@redhat.com>
1393         reviewed by: plam
1394
1395         * src/Makefile.am:
1396         * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1397                             FcFontCapabilities):
1398         * src/ftglue.c:
1399         * src/ftglue.h:
1400
1401         Get rid of the use of freetype internal headers in fcfreetype.c,
1402         since those headers will go away with freetype 2.2.  Replace with
1403         public domain ftglue code from pango.  Note that the patch removes
1404         some extra error checking in FT_Get_BDF_Property() and comments
1405         out the skipping of empty pcf fonts.
1406
1407 2005-11-19  Jinghua Luo  <sunmoon1997@gmail.com>
1408         reviewed by: plam
1409
1410         * fc-lang/fc-lang.c (main):
1411
1412         Further fix of patch from 2005-11-04: miscounted numbers count
1413         (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1414         and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1415
1416         Removed leafidx_count and numbers_count since they are the same
1417         and replaced them with offset_count.
1418
1419 2005-11-18  Frederic Crozat  <fcrozat@mandriva.com>
1420         reviewed by: plam
1421
1422         * fc-cat/fc-cat.c (main):
1423
1424         Don't crash when fc-cat invoked with no arguments.
1425
1426 2005-11-18  Frederic Crozat  <fcrozat@mandriva.com>
1427         reviewed by: plam
1428
1429         * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1430
1431         Fix invalid read access caused by premature free and
1432         GCC4 warnings in libxml2 codepath.
1433
1434 2005-11-17  Jinghua Luo  <sunmoon1997@gmail.com>
1435         reviewed by: plam
1436
1437         * src/fccfg.c (FcConfigValues):
1438
1439         List iteration not needed in FcConfigValues, since it's building
1440         up the list itself; we can just strip FcVoid elements during
1441         construction.
1442
1443 2005-11-17  Patrick Lam  <plam@mit.edu>
1444         * src/fccfg.c (FcConfigValues):
1445
1446         Fix crash on invalid constants in config files (forgot to update
1447         a pointer upon list iteration.)
1448
1449 2005-11-17  Frederic Crozat  <fcrozat@mandriva.com>
1450         reviewed by: plam
1451
1452         * src/fcxml.c (FcTypecheckExpr):
1453
1454         Complain about invalid constants in config files.
1455
1456 2005-11-17  Andreas Schwab  <schwab@suse.de>
1457         reviewed by: plam
1458         
1459         * src/fccache.c (FcGlobalCacheSave): 
1460
1461         Don't add current_arch_start more than once.
1462
1463 2005-11-16  Patrick Lam  <plam@mit.edu>
1464         * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1465         * src/fcfs.c (FcFontSetUnserialize):
1466         * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1467         * src/fcpat.c (FcStrUnserialize):
1468
1469         Fix ordering of ALIGN with respect to saving block_ptr; add
1470         another ALIGN to fcfs.c.
1471
1472 2005-11-16  Patrick Lam  <plam@mit.edu>
1473         * src/fccache.c (FcDirCacheProduce)
1474         
1475         Fix case where alignment bytes bumped up metadata->count
1476         causing unwarranted failures to write cache files.  
1477         (Reported by Stephan Kulow).
1478
1479 2005-11-16  Patrick Lam  <plam@mit.edu>
1480         * src/fccache.c (FcDirCacheProduce):
1481         * src/fccharset.c (FcCharSetDistributeBytes):
1482         * src/fcfs.c (FcFontSetDistributeBytes):
1483         * src/fcint.h:
1484         * src/fclang.c (FcLangSetDistributeBytes):
1485         * src/fcname.c (FcObjectDistributeBytes):
1486         * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1487                 FcStrNeededBytes):
1488         
1489         Add *NeededBytesAlign(), which overestimates the padding which is
1490         later added by the new ALIGN macro.  Fix alignment problems on
1491         ia64 and s390 by bumping up block_ptr appropriately.  (Earlier
1492         version by Andreas Schwab).
1493
1494 2005-11-16  Stephan Kulow  <coolo@kde.org>
1495         reviewed by: plam
1496         
1497         * src/fccache.c:
1498
1499         Use sysconf to determine proper PAGESIZE value; this
1500         appears to be POSIX-compliant. (reported by Andreas Schwab)
1501
1502 2005-11-04  Patrick Lam  <plam@mit.edu>
1503         * fc-lang/fc-lang.c:
1504         * src/fccharset.c:
1505         * src/fcint.h:
1506         * src/fclang.c:
1507
1508         Fix bug 2878 (excessive relocations at startup for charsets,
1509         reported by Ross Burton): fc-lang/fc-lang now creates the
1510         static form of the langset, not the dynamic form, so that
1511         the charsets should now be in .rodata.
1512
1513 2005-11-04  Patrick Lam  <plam@mit.edu>
1514         * src/fcdir.c (FcDirScanConfig):
1515
1516         Add test for validity of directory caches that
1517         somehow got lost (reported by make distcheck).
1518
1519 2005-11-04  Patrick Lam  <plam@mit.edu>
1520         * ChangeLog:
1521         * README:
1522         * configure.in:
1523         * fontconfig/fontconfig.h:
1524         
1525         Bump version to 2.3.92.
1526
1527 2005-11-02  Patrick Lam  <plam@mit.edu>
1528         * src/fcpat.c (FcPatternDuplicate):
1529
1530         Fix argument ordering problem in call to FcPatternTransferFullFname.
1531
1532 2005-11-02  Patrick Lam  <plam@mit.edu>
1533         * src/fcfreetype.c (FcFreetypeQuery):
1534         * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate, 
1535                        FcPatternTransferFullFname):
1536
1537         Fix warnings and embarrassing double-free error.
1538
1539 2005-11-02  Zhe Su  <zsu@novell.com>
1540         reviewed by: plam
1541         
1542         * fonts.conf.in:
1543
1544         Change the rule for artificial emboldening in fonts.conf.in.  This
1545         enables the support for artificial emboldening included in cairo.
1546
1547 2005-11-02  Patrick Lam  <plam@mit.edu>
1548         * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1549
1550         Don't zero out full names for FC_REF_CONSTANT fonts;
1551         also, duplicate full names when transferring, and free
1552         full names when freeing the associated font.
1553         Reported by Jinghua Luo.
1554
1555 2005-11-02  Patrick Lam  <plam@mit.edu>
1556         * fc-cache/fc-cache.c (scanDirs):
1557         * src/fcpat.c (FcValueListSerialize):
1558
1559         Revert the previous patch and commit the correct patch:
1560         I forgot a canonicalization in FcValueListSerialize, so
1561         that it would choke on already-serialized input files.  Duh!
1562
1563 2005-11-02  Patrick Lam  <plam@mit.edu>
1564         * fc-cache/fc-cache.c (scanDirs):
1565
1566         Forcibly rescan a directory before writing a fresh local
1567         cache file for that directory, fixing the losing-fonts
1568         problem reported by Mike Fabian and also apparently the 
1569         font cache file corruption.
1570
1571 2005-11-02  Patrick Lam  <plam@mit.edu>
1572         * src/fccache.c (FcGlobalCacheLoad):
1573
1574         Fix thinko: actually, the whole global cache is stale 
1575         if the global cache is older than the (newest) config file.
1576
1577 2005-11-02  Patrick Lam  <plam@mit.edu>
1578         * src/fccache.c (FcGlobalCacheLoad):
1579         * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1580         * src/fcint.h:
1581
1582         Declare the global cache of a directory's contents to be stale if
1583         the directory is newer than the (newest) configuration file.
1584
1585 2005-10-31  Patrick Lam  <plam@mit.edu>
1586         * src/fcint.h:
1587         * src/fclist.c (FcListAppend):
1588         * src/fcmatch.c (FcFontRenderPrepare):
1589         * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1590                        FcPatternFreeze, FcPatternBaseFreeze):
1591
1592         Copy the full pathname whenever duplicating an FcPattern; otherwise,
1593         applications continue breaking.
1594
1595 2005-10-31  Patrick Lam  <plam@mit.edu>
1596         * fc-cat/fc-cat.c (FcCacheFileRead, main):
1597         * src/fcfreetype.c (FcFreeTypeQuery):
1598
1599         Fix small memory error (tried to free argv); use basename and
1600         dirname correctly (they can modify their arguments).
1601
1602 2005-10-31  Patrick Lam  <plam@mit.edu>
1603         * fc-cat/fc-cat.c:
1604         * src/fccache.c:
1605         * src/fcfreetype.c:
1606         * src/fcint.h:
1607         * src/fclist.c:
1608         * src/fcpat.c:
1609
1610         Reinstate basename patch, but keep a hash table linking FcPatterns
1611         to their fully-qualified font names for clients' benefit.  Clients
1612         only pay for the font names once they request the FC_FILE property
1613         from an FcPattern, but the font name is malloc'd at that point (i.e.
1614         not mmapped: that's impossible, since it may vary between machines.)
1615         Clients do have to pay for a copy of the path name per cache file.
1616
1617         Note that FcPatternGetString now does some rewriting if you ask
1618         for an FC_FILE, appending the pathname as appropriate.
1619         
1620 2005-10-31  Patrick Lam  <plam@mit.edu>
1621         * src/fcfreetype.c (FcFreeTypeQuery):
1622
1623         Revert basename patch, which breaks fontconfig clients on my system.
1624
1625 2005-10-25  Jinghua Luo  <sunmoon1997@gmail.com>
1626         reviewed by: plam
1627
1628         * fontconfig/fonts.conf.in:
1629         * fontconfig/fontconfig.h:
1630         * src/fcdefault.c:
1631         * src/fcname.c:
1632
1633         Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1634         to load embedded bitmaps or not.
1635
1636 2005-10-25  Patrick Lam  <plam@mit.edu>
1637         * src/fcfreetype.c (FcFreeTypeQuery):
1638
1639         Only add basename to patterns' FC_FILE element, not any part of
1640         the dirname.
1641
1642 2005-10-22  Patrick Lam  <plam@mit.edu>
1643         * src/fcfreetype.c:
1644
1645         Add some more consts, fixing more GCC4 warnings.
1646
1647 2005-10-22  Zhe Su  <zsu@novell.com>
1648         reviewed by: plam
1649
1650         Support localized font family and style names.
1651         This has been reported to break old apps like xfd, but modern
1652         (gtk+/qt/mozilla) apps work fine.
1653
1654 2005-10-21  Patrick Lam  <plam@mit.edu>
1655         * src/fccache.c (FcGlobalCacheLoad):
1656
1657         Destroy the global cache file if it's terminally broken.  (reported by
1658         Mike Fabian)
1659
1660 2005-10-21  Patrick Lam  <plam@mit.edu>
1661         * fc-list/fc-list.c (main):
1662         * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1663         * fontconfig/fontconfig.h:
1664
1665         Prevent fc-list from escaping strings when printing them (reported by
1666         Matthias Clasen).
1667
1668 2005-10-20  Marcus Meissner  <meissner@suse.de>
1669         reviewed by: plam
1670
1671         * fontconfig/fontconfig.h:
1672
1673         Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1674         
1675 2005-10-14  Ross Burton  <ross@burtonini.com>
1676         reviewed by: plam
1677
1678         * fc-glyphname/fc-glyphname.c:
1679         * src/fclang.c:
1680
1681         Add consts to variables so as to move arrays into .rodata.
1682
1683 2005-10-14  Mike Fabian  <mfabian@suse.de>
1684         reviewed by: plam
1685
1686         * src/fccache.c (FcDirCacheUnlink):
1687
1688         Check existence of directory cache file before attempting to unlink.
1689
1690 2005-10-13  Patrick Lam  <plam@mit.edu>
1691         * src/fccache.c (FcDirCacheUnlink):
1692
1693         Fix flipped return value on unlink.  (Reported by Mike Fabian)
1694
1695 2005-10-12  Patrick Lam  <plam@mit.edu>
1696
1697         * src/fccache.c:
1698         * src/fcdir.c (FcDirScanConfig):
1699         * src/fcint.h:
1700
1701         When fc-cache is run without --force, use directory cache files
1702         to speed up fc-cache run time.  (Reported by Mike Fabian)
1703
1704 2005-10-06  Patrick Lam  <plam@mit.edu>
1705
1706         * src/fcname.c (FcObjectToPtr):
1707         * src/fcpat.c (FcStrStaticName):
1708
1709         Add padding to make valgrind and glibc not hate each other
1710         when calling strlen().
1711
1712 2005-10-05  Simos Xenitellis  <simos74@gmx.net>
1713         reviewed by: plam & keithp
1714
1715         * fonts.conf.in:
1716
1717         Modify config file to use Greek fonts before Asian fonts with
1718         Greek glyphs.
1719
1720 2005-10-05  Christian Biesinger  <cbiesinger@web.de>
1721         reviewed by: plam & keithp
1722
1723         * src/Makefile.am:
1724
1725         Use libtool -no-undefined flag on all platforms.
1726
1727 2005-10-05  Patrick Lam  <plam@mit.edu>
1728         * src/fccache.c (FcCacheHaveBank):
1729
1730         Implement move-to-front array for banks (perf regression
1731         reported by Ronny V. Vindenes).
1732
1733 2005-10-04  Patrick Lam  <plam@mit.edu>
1734         * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink, 
1735                          FcDirCacheHasCurrentArch):
1736         * fc-cache/fc-cache.c (scanDirs):
1737         * fontconfig/fontconfig.h:
1738
1739         Add new API which unlinks directory caches and checks dir caches
1740         for existence of appropriate sections.  Fix fc-cache to unlink
1741         stale cache files and save directory caches that lack relevant
1742         sections.
1743
1744 2005-10-03  Patrick Lam  <plam@mit.edu>
1745         * src/fccache.c (FcDirCacheValid):
1746
1747         Ensure that a directory cache has the appropriate section
1748         before reporting that it is valid (reported by Matthias Clasen).
1749
1750 2005-09-29  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1751
1752         reviewed by: plam
1753         
1754         * configure.in:
1755         * src/Makefile.am:
1756         * src/fcxml.c:
1757
1758         Use libxml2 if requested (with --enable-libxml2) or if
1759         expat is not available.
1760
1761 2005-09-29  Patrick Lam  <plam@mit.edu>
1762         * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1763
1764         Fix multi-arch cache files: compute the position for the
1765         block to be added using info from OrigFile, not NewFile.
1766
1767 2005-09-28  Patrick Lam  <plam@mit.edu>
1768         * src/fccache.c (FcCacheMachineSignature):
1769
1770         Cast results of sizeof() to unsigned int to get rid of
1771         warnings on x86_64 (thanks Matthias Clasen).
1772
1773 2005-09-27  Patrick Lam  <plam@mit.edu>
1774         * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1775                 FcDirCacheWrite):
1776
1777         Use FcAtomic to rewrite cache files.
1778
1779 2005-09-27  Patrick Lam  <plam@mit.edu>
1780
1781         * src/fccache.c (FcDirCacheWrite):
1782
1783         Don't unlink the fonts.cache-2 file even if there's no data
1784         to write; just write an empty cache file.  (thanks Lubos Lunak)
1785
1786 2005-09-27  Patrick Lam  <plam@mit.edu>
1787
1788         * src/fccache.c (FcDirCacheWrite):
1789
1790         Allocate room for the subdirectory names in each
1791         directory cache.  Thanks to James Cloos for finding
1792         and diagnosing this bug!
1793
1794 2005-09-22  Patrick Lam  <plam@mit.edu>
1795
1796         * fc-cache/fc-cache.sgml:
1797         * src/fccache.c (FcDirCacheWrite):
1798         * src/fccache.h (struct FcCache):
1799
1800         Update documentation -- fc-cache's man page now says that you
1801         need to run fc-cache once per cached architecture; add some
1802         documentation to the FcCache structure.
1803
1804         Make fc-cache write out fonts.cache-2 files for directories with
1805         no fonts (i.e. only subdirectories).
1806         
1807 2005-09-22  Patrick Lam    <plam@mit.edu>
1808         * doc/edit-sgml.c:
1809         * fc-cache/fc-cache.sgml:
1810         * fc-case/fc-case.c:
1811         * fc-glyphname/fc-glyphname.c:
1812         * src/fcdefault.c:
1813         * src/fcfreetype.c:
1814         * src/fcinit.c:
1815         * src/fcxml.c:
1816
1817         More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1818
1819         * Makefile.am:
1820         * configure.in:
1821         * fc-lang/fc-lang.c:
1822         * fontconfig/fcprivate.h:
1823         * fontconfig/fontconfig.h:
1824         * src/fccache.c:
1825         * src/fccfg.c:
1826         * src/fccharset.c:
1827         * src/fcdbg.c:
1828         * src/fcdir.c:
1829         * src/fcfs.c:
1830         * src/fcint.h:
1831         * src/fclang.c:
1832         * src/fclist.c:
1833         * src/fcmatch.c:
1834         * src/fcname.c:
1835         * src/fcpat.c:
1836
1837         Implement new mmaped cache for font information.
1838         Bump so revision to 2.3.90.
1839
1840 2005-07-25  Keith Packard  <keithp@keithp.com>
1841
1842         * doc/fontconfig-user.sgml:
1843         * fc-glyphname/fc-glyphname.c: (scan), (main):
1844         * fc-lang/fc-lang.c: (FcConfigHome):
1845         * fc-match/fc-match.c: (main):
1846         * src/fccfg.c: (FcConfigHome):
1847         * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1848         (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1849         (addtag), (FcFontCapabilities):
1850         * src/fcpat.c: (FcValueListEntCreate):
1851         * src/fcstr.c: (FcStrCaseWalkerInit):
1852         * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1853
1854         Various GCC 4 cleanups for signed vs unsigned char
1855
1856         Match only [0-9]*.conf files in <include>{directory}</include>
1857         elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1858
1859 2005-07-15  Carl Worth  <cworth@cworth.org>
1860
1861         * src/fcint.h:
1862         * src/fcinit.c: (FcFini):
1863         * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1864         FcPatternFini.
1865         
1866         * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1867         Pull the FcObjectStateName hash table out to file scope, and add
1868         FcObjectStaticNameFini so that FcFini will cleanup this hash table
1869         as well.
1870
1871         * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1872         fclose.
1873
1874 2005-06-16  Patrick Lam <plam@MIT.EDU>
1875
1876         reviewed by: keithp
1877
1878         * src/fccfg.c: (FcConfigCompareValue):
1879         Make FcOpNotContains use FcStrStr for strings so that
1880         it matches semantics for !FcOpContains.
1881
1882 2005-05-20  Keith Packard  <keithp@keithp.com>
1883
1884         * debian/changelog:
1885         * debian/control:
1886         Move fontconfig source package to libs as per override
1887
1888 2005-05-20  Aiet Kolkhi <aietkolkhi@gmail.com>
1889
1890         reviewed by: Mike Fabian
1891
1892         * fc-lang/ka.orth:
1893         The ka.orth file requires several characters which are not 
1894         used anymore in modern Georgian and which are missing in the free 
1895         Georgian TrueType fonts downloadable at: 
1896         
1897         http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1898
1899 2005-04-27  Keith Packard  <keithp@keithp.com>
1900
1901         * README:
1902         * debian/changelog:
1903         Update date to real 2.3.2 release date.
1904         Fix change attributions
1905         
1906 2005-04-27  Keith Packard  <keithp@keithp.com>
1907
1908         * configure.in:
1909         Bump so revision for 2.3.2
1910         * fc-cache/fc-cache.c: (scanDirs):
1911         Fix a few minor leaks in error cases.
1912
1913 2005-04-23  Keith Packard  <keithp@keithp.com>
1914
1915         * README:
1916         * configure.in:
1917         * debian/changelog:
1918         * fontconfig/fontconfig.h:
1919         Update for version 2.3.2
1920
1921 2005-04-21  Keith Packard  <keithp@keithp.com>
1922
1923         * debian/fontconfig.postinst:
1924         Don't force bitmap font enable in default
1925         configuration; allows users to override this in
1926         ~/.fonts.conf
1927         * debian/po/cs.po:
1928         * debian/po/da.po:
1929         * debian/po/de.po:
1930         * debian/po/es.po:
1931         * debian/po/fr.po:
1932         * debian/po/ja.po:
1933         * debian/po/nl.po:
1934         * debian/po/pt.po:
1935         * debian/po/pt_BR.po:
1936         * debian/po/templates.pot:
1937         * debian/po/tr.po:
1938         * debian/po/zh_CN.po:
1939         Updated translations
1940         
1941         * fc-cache/fc-cache.c: (main):
1942         Destroy font configuration on exit to help valgrind
1943         
1944         * fonts.conf.in:
1945         * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1946         (FcFreeTypeCheckGlyph):
1947         Use own transcoding routines in preference to iconv
1948         which appears to have leaks in some translators.
1949         Call iconv_close after using iconv (oops).
1950         
1951         Prefer unicode encoding of Euro char as some
1952         fonts mis-encode Euro in other ones.
1953
1954         Must fetch bitmap glyphs to get width values
1955         to check for monospace/dual-width fonts.
1956
1957 2005-04-13  Ross Burton  <ross@burtonini.com>
1958
1959         * src/fcpat.c:
1960         Check that a pattern isn't already frozen in FcPatternFreeze.
1961
1962 2005-03-31  Ross Burton  <ross@burtonini.com>
1963
1964         * src/fclist.c:
1965         * src/fcmatch.c:
1966         * src/fcpat.c:
1967         Run all FcPattern objects through FcObjectStaticName, so that
1968         compares can be done on pointers instead of strings (#2659)
1969
1970 2005-03-17  Tor Lillqvist  <tml@novell.com>
1971
1972         * src/fontconfig.def.in: Add the .dll to the dll name.
1973
1974 2005-03-10  Keith Packard  <keithp@keithp.com>
1975
1976         * debian/README.Debian:
1977         Update to reflect configuration changes
1978         * debian/changelog:
1979         * debian/fontconfig.postinst:
1980         Fix Autohint vs Autohinter mistake
1981         * debian/fontconfig.templates:
1982         Adopt changes from Josselin Mouette for configuration descriptions
1983         Update debian to version 2.3.1-2
1984
1985 2005-03-08  Keith Packard  <keithp@keithp.com>
1986
1987         * debian/changelog:
1988         * debian/rules:
1989         Update debian for 2.3.1
1990
1991 2005-03-09  Tor Lillqvist  <tml@novell.com>
1992
1993         * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1994         put it, not "lib".
1995
1996         * src/fccfg.c (FcConfigFileExists): Check also drive letter
1997         prefix on Win32.
1998
1999 2005-03-08  Keith Packard  <keithp@keithp.com>
2000
2001         * README:
2002         * configure.in:
2003         * fontconfig/fontconfig.h:
2004         Update for 2.3.1
2005
2006 2005-03-05  Keith Packard  <keithp@keithp.com>
2007
2008         * src/fcfreetype.c: (addtag), (FcFontCapabilities):
2009         Include space and remove numbers from valid script tags.
2010         This ensures that tags like 'lao ' work while rejecting
2011         those which have any digits.
2012         Eliminate a spurious debugging variable (len)
2013
2014 2005-03-05  Keith Packard  <keithp@keithp.com>
2015
2016         * src/fcfreetype.c: (addtag), (GetScriptTags),
2017         (FcFontCapabilities):
2018         Rework GSUB/GPOS script parsing to survive broken fonts.
2019         Thanks for the broken font go to Manish Singh
2020
2021 2005-03-05  Keith Packard  <keithp@keithp.com>
2022
2023         Josselin Mouette:
2024         * debian/changelog:
2025         * debian/control:
2026         * debian/fontconfig.config:
2027         * debian/fontconfig.templates:
2028         * debian/rules:
2029                 Include 2.3 release information in changelog
2030                 Add Josselin Mouette as an Uploader
2031                 Set hinting_type to low priority configuration option
2032                 
2033         Manish Singh:
2034         * debian/fontconfig.postinst:
2035                 yes_bitmaps.conf -> yes-bitmaps.conf
2036                 
2037         Funda Wang:
2038         * src/fcfreetype.c:
2039                 Johap -> Johab
2040                 
2041 2005-03-02  Keith Packard  <keithp@keithp.com>
2042
2043         * Makefile.am:
2044         * conf.d/Makefile.am:
2045         * conf.d/autohint.conf:
2046         * conf.d/no-sub-pixel.conf:
2047         * conf.d/sub-pixel.conf:
2048         * conf.d/unhinted.conf:
2049         * debian/autohint.conf:
2050         * debian/fontconfig.install:
2051         * debian/fontconfig.postinst:
2052         * debian/fontconfig.templates:
2053         * debian/no-sub-pixel.conf:
2054         * debian/unhinted.conf:
2055         Move debian-specific conf file examples upstream.
2056         
2057         Sub-pixel configuration examples must smash subpixel value
2058         as Xft always sets it from X.
2059
2060         Change sub-pixel rendering debconf descriptions from
2061         Enable/Disable to Always/Never.
2062
2063 2005-03-02  Keith Packard  <keithp@keithp.com>
2064
2065         * .cvsignore:
2066         * conf.d/.cvsignore:
2067         * doc/.cvsignore:
2068         Ignore more build detritus
2069
2070         * Makefile.am:
2071         Add debian package construction stuff.
2072         
2073         * config/config.guess:
2074         * config/config.sub:
2075         Update to newer versions of these tools
2076         
2077         * doc/Makefile.am:
2078         Get library manuals to build again (we love automake).
2079         
2080         * debian/README.Debian:
2081         * debian/autohint.conf:
2082         * debian/changelog:
2083         * debian/compat:
2084         * debian/control:
2085         * debian/copyright:
2086         * debian/fontconfig-udeb.install:
2087         * debian/fontconfig.config:
2088         * debian/fontconfig.defoma:
2089         * debian/fontconfig.dirs:
2090         * debian/fontconfig.install:
2091         * debian/fontconfig.postinst:
2092         * debian/fontconfig.postrm:
2093         * debian/fontconfig.templates:
2094         * debian/libfontconfig1-dev.install:
2095         * debian/libfontconfig1.install:
2096         * debian/local.conf.md5sum:
2097         * debian/no-sub-pixel.conf:
2098         * debian/po/POTFILES.in:
2099         * debian/po/cs.po:
2100         * debian/po/da.po:
2101         * debian/po/de.po:
2102         * debian/po/es.po:
2103         * debian/po/fr.po:
2104         * debian/po/ja.po:
2105         * debian/po/nl.po:
2106         * debian/po/pt.po:
2107         * debian/po/pt_BR.po:
2108         * debian/po/templates.pot:
2109         * debian/po/tr.po:
2110         * debian/po/zh_CN.po:
2111         * debian/rules:
2112         * debian/unhinted.conf:
2113         Update debian build system to switch maintainers and
2114         deal with 2.3 functionality
2115
2116 2005-03-01  Keith Packard  <keithp@keithp.com>
2117
2118         * README:
2119         * configure.in:
2120         * fontconfig/fontconfig.h:
2121         Update for 2.3.0
2122
2123 2005-03-01  Keith Packard  <keithp@keithp.com>
2124
2125         * doc/Makefile.am:
2126         Generate and install PDF versions of the manuals
2127
2128         * doc/fcpattern.fncs:
2129         Fix formatting
2130         
2131         * doc/fcstring.fncs:
2132         Add missing exported functions, fix data types
2133         
2134         * doc/fontconfig-devel.sgml:
2135         Add missing pattern elements.
2136         
2137         * doc/fontconfig-user.sgml:
2138         Add missing pattern elements.  Document conf.d usage,
2139         clarify available orthography list.  Fix some config file
2140         attributes.  Complete list of constants.
2141         
2142         * fontconfig/fontconfig.h:
2143         Mark FC_SOURCE deprecated.
2144         
2145         * src/fcfreetype.c: (FcFreeTypeQuery):
2146         Don't set FC_SOURCE any longer.
2147
2148 2005-02-28  Keith Packard  <keithp@keithp.com>
2149
2150         * Makefile.am:
2151         * conf.d/Makefile.am:
2152         * conf.d/README:
2153         * conf.d/no-bitmaps.conf:
2154         * conf.d/sub-pixel.conf:
2155         * conf.d/yes-bitmaps.conf:
2156         * configure.in:
2157         Create prototype /etc/fonts/conf.d directory with a few
2158         sample configuration files.
2159         Deprecate use of local.conf for local customizations in favor of
2160         this directory based scheme which is more easily integrated into
2161         installation systems.
2162         
2163         * src/fcname.c:
2164         Tag FC_EMBOLDEN as a boolean variable
2165
2166 2005-02-10  Keith Packard  <keithp@keithp.com>
2167
2168         reviewed by: pborelli@katamail.com
2169
2170         * src/fcdir.c: (FcFileScanConfig):
2171         Free patterns from fonts which are rejected by configuration
2172         (bug #2518)
2173
2174 2005-01-28  Keith Packard  <keithp@keithp.com>
2175
2176         * README:
2177         * configure.in:
2178         * fontconfig/fontconfig.h:
2179         Update for version 2.2.99
2180
2181 2005-01-28  Keith Packard  <keithp@keithp.com>
2182
2183         * README:
2184         Add a few pointers (#2284, #2285)
2185
2186 2005-01-28  Keith Packard  <keithp@keithp.com>
2187
2188         * src/fcint.h:
2189         * src/fcname.c: (FcNameBool):
2190         * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2191         (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2192         (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2193         Polite typechecking for test and edit expressions.  Helps
2194         catch errors in the font configuration. (bug 229)
2195
2196 2005-01-15  Alan Coopersmith <alan.coopersmith@sun.com>
2197
2198         reviewed by: Keith Packard <keithp@keithp.com>
2199
2200         * configure.in:
2201         Have --with-expat set EXPAT_CFLAGS (bug 2278)
2202
2203 2005-01-13  Keith Packard  <keithp@keithp.com>
2204
2205         * doc/fontconfig-user.sgml:
2206         Add SEE ALSO section (bug 2085)
2207         
2208 2005-01-13  J. Ali Harlow <ali@juiblex.co.uk>
2209
2210         reviewed by: Keith Packard  <keithp@keithp.com>
2211
2212         * Makefile.am:
2213         * configure.in:
2214         * doc/Makefile.am:
2215         * fc-case/Makefile.am:
2216         * fc-glyphname/Makefile.am:
2217         * fc-lang/Makefile.am:
2218         * src/fontconfig.def.in:
2219         Cross compiling fixes (bug 280)
2220
2221 2005-01-13  Keith Packard  <keithp@keithp.com>
2222
2223         * fonts.conf.in:
2224         Update blanks list (Closes bug 86)
2225
2226 2005-01-04  Keith Packard  <keithp@keithp.com>
2227
2228         * src/fccache.c: (FcCacheFontSetAdd):
2229         Verify that every font pattern loaded from cache has
2230         both FC_FILE and FC_FAMILY entries.
2231         Attempt to fix bug #2219.
2232
2233 2004-12-29  Keith Packard  <keithp@keithp.com>
2234
2235         * README:
2236         * configure.in:
2237         * fontconfig/fontconfig.h:
2238         Update for version 2.2.98
2239
2240 2004-12-29  Keith Packard  <keithp@keithp.com>
2241
2242         * fontconfig/fontconfig.h:
2243         Document ASCII limitations of Fc character conversion macros
2244         * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2245         Fix off-by-one error in utf-8 case walking code.
2246         Add FcStrDowncase (useful for testing case conversion functions)
2247
2248 2004-12-29  Keith Packard  <keithp@keithp.com>
2249
2250         * .cvsignore:
2251         * fc-case/.cvsignore:
2252         clean up CVS ignore lists
2253         * fc-lang/iso-3166.txt:
2254         Add territory database
2255         
2256 2004-12-29   Tor Andersson <tor.andersson@gmail.com>
2257
2258         Reviewed by: Keith Packard
2259         
2260         * fc-lang/ko.orth:
2261         Remove Han characters from Korean orthography
2262
2263 2004-12-29  Keith Packard  <keithp@keithp.com>
2264
2265         * Makefile.am:
2266         Reorder utility programs to make sure fc-case is run before fc-lang
2267         as fc-lang uses fcstr.c which uses fccase.h
2268         * fonts.conf.in:
2269         Fix broken XML
2270
2271 2004-12-29  Keith Packard  <keithp@keithp.com>
2272
2273         * fonts.conf.in:
2274         Adopt some RedHat suggestions for standard font configuration.
2275
2276         * Makefile.am:
2277         * configure.in:
2278         * fc-case/CaseFolding.txt:
2279         * fc-case/Makefile.am:
2280         * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2281         (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2282         (dump), (parseRaw), (caseFoldReadRaw), (main):
2283         * fc-case/fccase.tmpl.h:
2284         Add new helper program 'fc-case' to construct case folding
2285         tables from standard Unicode CaseFolding.txt file
2286         
2287         * src/fcint.h:
2288         * src/fclist.c: (FcListValueHash):
2289         * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2290         (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2291         (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2292         (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2293         (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2294         Re-implement case insensitive functions with Unicode
2295         aware versions (including full case folding mappings)
2296
2297 2004-12-13  Keith Packard  <keithp@keithp.com>
2298
2299         reviewed by: Owen Taylor <otaylor@redhat.com>
2300
2301         * src/fcmatch.c: (FcFontSetSort):
2302         I changed FcFontSetSort to respect the generic aliases better
2303         in the face of language matching.
2304         
2305         What I did was to ammend the strict sort order used by FcFontSort so
2306         that it 'satisfies' the language specified in the pattern by locating
2307         the best matching font supporting each pattern language and then
2308         ignores language in the remaining fonts for purposes of matching.
2309
2310         So, when asking for 'sans:lang=en', you'll get an English font first,
2311         and then the remaining fonts sorted with respect to the 'sans' alias
2312         alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2313
2314 2004-12-10  Jakub Pavelek <jakub.pavelek@nokia.com>
2315
2316         reviewed by: Keith Packard  <keithp@keithp.com>
2317
2318         * fontconfig/fontconfig.h:
2319         * fonts.conf.in:
2320
2321         Configuration changes to request synthetic emboldening of
2322         fonts.  The actual emboldening code will live in Xft.
2323
2324 2004-12-09  John Thacker <thacker@math.cornell.edu>
2325
2326         reviewed by: Keith Packard  <keithp@keithp.com>
2327
2328         * fc-lang/ru.orth:
2329         
2330         Currently Russian (ru) requires 0406 and 0456 (І and Ñ–), but these
2331         were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2332         Ð¸), and don't even appear in KOI8-R.  (The hypothesis that they
2333         don't appear in KOI8-R due to their similarity with Latin I and i is
2334         eliminated by their presence in KOI8-U.)  I have a couple of fonts
2335         with Russian support that don't have the letter.
2336
2337         Therefore, 0406 and 0456 should be removed from or commented out of
2338         ru.orth
2339
2340 2004-12-06  michael meeks <mmeeks@novell.com>
2341
2342         Reviewed by: Keith Packard  <keithp@keithp.com>
2343
2344         * src/fcinit.c: (FcMemReport):
2345         * src/fcint.h:
2346         * src/fclist.c: (FcObjectSetAdd):
2347         * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2348         (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2349         * src/fcxml.c: (FcParsePatelt):
2350         memoize strings and share a single copy for all uses.  Note that
2351         this could be improved further by using statically allocated blocks
2352         and gluing multiple strings together, but I'm basically lazy.
2353         In my environment with 800 font files, I get a savings of about 90KB.
2354
2355 2004-12-06  Keith Packard  <keithp@keithp.com>
2356
2357         * COPYING:
2358         * Makefile.am:
2359         * config/Makedefs.in:
2360         * configure.in:
2361         * doc/edit-sgml.c:
2362         * doc/fcatomic.fncs:
2363         * doc/fcblanks.fncs:
2364         * doc/fccharset.fncs:
2365         * doc/fcconfig.fncs:
2366         * doc/fcconstant.fncs:
2367         * doc/fcfile.fncs:
2368         * doc/fcfontset.fncs:
2369         * doc/fcfreetype.fncs:
2370         * doc/fcinit.fncs:
2371         * doc/fcmatrix.fncs:
2372         * doc/fcobjectset.fncs:
2373         * doc/fcobjecttype.fncs:
2374         * doc/fcpattern.fncs:
2375         * doc/fcstring.fncs:
2376         * doc/fcstrset.fncs:
2377         * doc/fcvalue.fncs:
2378         * doc/fontconfig-devel.sgml:
2379         * doc/fontconfig-user.sgml:
2380         * doc/func.sgml:
2381         * doc/version.sgml.in:
2382         * fc-cache/Makefile.am:
2383         * fc-cache/fc-cache.c:
2384         * fc-glyphname/Makefile.am:
2385         * fc-glyphname/fc-glyphname.c:
2386         * fc-glyphname/fcglyphname.tmpl.h:
2387         * fc-lang/Makefile.am:
2388         * fc-lang/aa.orth:
2389         * fc-lang/ab.orth:
2390         * fc-lang/af.orth:
2391         * fc-lang/am.orth:
2392         * fc-lang/ar.orth:
2393         * fc-lang/ast.orth:
2394         * fc-lang/ava.orth:
2395         * fc-lang/ay.orth:
2396         * fc-lang/az.orth:
2397         * fc-lang/az_ir.orth:
2398         * fc-lang/ba.orth:
2399         * fc-lang/bam.orth:
2400         * fc-lang/be.orth:
2401         * fc-lang/bg.orth:
2402         * fc-lang/bh.orth:
2403         * fc-lang/bho.orth:
2404         * fc-lang/bi.orth:
2405         * fc-lang/bin.orth:
2406         * fc-lang/bn.orth:
2407         * fc-lang/bo.orth:
2408         * fc-lang/br.orth:
2409         * fc-lang/bs.orth:
2410         * fc-lang/bua.orth:
2411         * fc-lang/ca.orth:
2412         * fc-lang/ce.orth:
2413         * fc-lang/ch.orth:
2414         * fc-lang/chm.orth:
2415         * fc-lang/chr.orth:
2416         * fc-lang/co.orth:
2417         * fc-lang/cs.orth:
2418         * fc-lang/cu.orth:
2419         * fc-lang/cv.orth:
2420         * fc-lang/cy.orth:
2421         * fc-lang/da.orth:
2422         * fc-lang/de.orth:
2423         * fc-lang/dz.orth:
2424         * fc-lang/el.orth:
2425         * fc-lang/en.orth:
2426         * fc-lang/eo.orth:
2427         * fc-lang/es.orth:
2428         * fc-lang/et.orth:
2429         * fc-lang/eu.orth:
2430         * fc-lang/fa.orth:
2431         * fc-lang/fc-lang.c:
2432         * fc-lang/fc-lang.man:
2433         * fc-lang/fclang.tmpl.h:
2434         * fc-lang/fi.orth:
2435         * fc-lang/fj.orth:
2436         * fc-lang/fo.orth:
2437         * fc-lang/fr.orth:
2438         * fc-lang/ful.orth:
2439         * fc-lang/fur.orth:
2440         * fc-lang/fy.orth:
2441         * fc-lang/ga.orth:
2442         * fc-lang/gd.orth:
2443         * fc-lang/gez.orth:
2444         * fc-lang/gl.orth:
2445         * fc-lang/gn.orth:
2446         * fc-lang/gu.orth:
2447         * fc-lang/gv.orth:
2448         * fc-lang/ha.orth:
2449         * fc-lang/haw.orth:
2450         * fc-lang/he.orth:
2451         * fc-lang/hi.orth:
2452         * fc-lang/ho.orth:
2453         * fc-lang/hr.orth:
2454         * fc-lang/hu.orth:
2455         * fc-lang/hy.orth:
2456         * fc-lang/ia.orth:
2457         * fc-lang/ibo.orth:
2458         * fc-lang/id.orth:
2459         * fc-lang/ie.orth:
2460         * fc-lang/ik.orth:
2461         * fc-lang/io.orth:
2462         * fc-lang/is.orth:
2463         * fc-lang/iso639-2:
2464         * fc-lang/it.orth:
2465         * fc-lang/iu.orth:
2466         * fc-lang/ja.orth:
2467         * fc-lang/ka.orth:
2468         * fc-lang/kaa.orth:
2469         * fc-lang/ki.orth:
2470         * fc-lang/kk.orth:
2471         * fc-lang/kl.orth:
2472         * fc-lang/km.orth:
2473         * fc-lang/kn.orth:
2474         * fc-lang/ko.orth:
2475         * fc-lang/kok.orth:
2476         * fc-lang/ks.orth:
2477         * fc-lang/ku.orth:
2478         * fc-lang/ku_ir.orth:
2479         * fc-lang/kum.orth:
2480         * fc-lang/kv.orth:
2481         * fc-lang/kw.orth:
2482         * fc-lang/ky.orth:
2483         * fc-lang/la.orth:
2484         * fc-lang/lb.orth:
2485         * fc-lang/lez.orth:
2486         * fc-lang/lo.orth:
2487         * fc-lang/lt.orth:
2488         * fc-lang/lv.orth:
2489         * fc-lang/mg.orth:
2490         * fc-lang/mh.orth:
2491         * fc-lang/mi.orth:
2492         * fc-lang/mk.orth:
2493         * fc-lang/ml.orth:
2494         * fc-lang/mn.orth:
2495         * fc-lang/mo.orth:
2496         * fc-lang/mr.orth:
2497         * fc-lang/mt.orth:
2498         * fc-lang/my.orth:
2499         * fc-lang/nb.orth:
2500         * fc-lang/nds.orth:
2501         * fc-lang/ne.orth:
2502         * fc-lang/nl.orth:
2503         * fc-lang/nn.orth:
2504         * fc-lang/no.orth:
2505         * fc-lang/ny.orth:
2506         * fc-lang/oc.orth:
2507         * fc-lang/om.orth:
2508         * fc-lang/or.orth:
2509         * fc-lang/os.orth:
2510         * fc-lang/pl.orth:
2511         * fc-lang/ps_af.orth:
2512         * fc-lang/ps_pk.orth:
2513         * fc-lang/pt.orth:
2514         * fc-lang/rm.orth:
2515         * fc-lang/ro.orth:
2516         * fc-lang/ru.orth:
2517         * fc-lang/sa.orth:
2518         * fc-lang/sah.orth:
2519         * fc-lang/sco.orth:
2520         * fc-lang/se.orth:
2521         * fc-lang/sel.orth:
2522         * fc-lang/sh.orth:
2523         * fc-lang/si.orth:
2524         * fc-lang/sk.orth:
2525         * fc-lang/sl.orth:
2526         * fc-lang/sm.orth:
2527         * fc-lang/sma.orth:
2528         * fc-lang/smj.orth:
2529         * fc-lang/smn.orth:
2530         * fc-lang/sms.orth:
2531         * fc-lang/so.orth:
2532         * fc-lang/sq.orth:
2533         * fc-lang/sr.orth:
2534         * fc-lang/sv.orth:
2535         * fc-lang/sw.orth:
2536         * fc-lang/syr.orth:
2537         * fc-lang/ta.orth:
2538         * fc-lang/te.orth:
2539         * fc-lang/tg.orth:
2540         * fc-lang/th.orth:
2541         * fc-lang/ti_er.orth:
2542         * fc-lang/ti_et.orth:
2543         * fc-lang/tig.orth:
2544         * fc-lang/tk.orth:
2545         * fc-lang/tl.orth:
2546         * fc-lang/tn.orth:
2547         * fc-lang/to.orth:
2548         * fc-lang/tr.orth:
2549         * fc-lang/ts.orth:
2550         * fc-lang/tt.orth:
2551         * fc-lang/tw.orth:
2552         * fc-lang/tyv.orth:
2553         * fc-lang/ug.orth:
2554         * fc-lang/uk.orth:
2555         * fc-lang/ur.orth:
2556         * fc-lang/uz.orth:
2557         * fc-lang/ven.orth:
2558         * fc-lang/vi.orth:
2559         * fc-lang/vo.orth:
2560         * fc-lang/vot.orth:
2561         * fc-lang/wa.orth:
2562         * fc-lang/wen.orth:
2563         * fc-lang/wo.orth:
2564         * fc-lang/xh.orth:
2565         * fc-lang/yap.orth:
2566         * fc-lang/yi.orth:
2567         * fc-lang/yo.orth:
2568         * fc-lang/zh_cn.orth:
2569         * fc-lang/zh_hk.orth:
2570         * fc-lang/zh_mo.orth:
2571         * fc-lang/zh_sg.orth:
2572         * fc-lang/zh_tw.orth:
2573         * fc-lang/zu.orth:
2574         * fc-list/Makefile.am:
2575         * fc-list/fc-list.c:
2576         * fc-match/Makefile.am:
2577         * fc-match/fc-match.1:
2578         * fc-match/fc-match.c:
2579         * fontconfig/fcfreetype.h:
2580         * fontconfig/fcprivate.h:
2581         * fontconfig/fontconfig.h:
2582         * src/fcatomic.c:
2583         * src/fcblanks.c:
2584         * src/fccache.c:
2585         * src/fccfg.c:
2586         * src/fccharset.c:
2587         * src/fcdbg.c:
2588         * src/fcdefault.c:
2589         * src/fcdir.c:
2590         * src/fcfreetype.c:
2591         * src/fcfs.c:
2592         * src/fcinit.c:
2593         * src/fcint.h:
2594         * src/fclang.c:
2595         * src/fclist.c:
2596         * src/fcmatch.c:
2597         * src/fcmatrix.c:
2598         * src/fcname.c:
2599         * src/fcpat.c:
2600         * src/fcstr.c:
2601         * src/fcxml.c:
2602         Change files from ISO-Latin-1 to UTF-8
2603
2604 2004-12-04  Keith Packard  <keithp@keithp.com>
2605
2606         * INSTALL:
2607         Update links to new freedesktop.org locations
2608         * Makefile.am:
2609         Add uninstall-local to get rid of fonts.conf and local.conf if they
2610         match the distributed versions.  Fixes 'make distcheck'
2611
2612 2004-12-04  Keith Packard  <keithp@keithp.com>
2613
2614         * README:
2615         * configure.in:
2616         * fontconfig/fontconfig.h:
2617         Updates for version 2.2.97
2618
2619 2004-12-04  Owen Taylor  <otaylor@redhat.com>
2620
2621         reviewed by: Keith Packard  <keithp@keithp.com>
2622
2623         * fc-cache/fc-cache.c: (main):
2624         Sleep for two seconds before exiting to make sure timestamps
2625         for future changes have distinct mod times in the file system.
2626         Bug #1982.
2627         * fc-lang/pa.orth:
2628         Add Punjabi orthography.  Bug #1671.
2629
2630 2004-12-04  Keith Packard  <keithp@keithp.com>
2631
2632         * fonts.conf.in:
2633         Just remove the FC_FONTDATE -- it has locale issues and
2634         annoys redhat multi-arch installs.  Now that all X fonts are
2635         included without prejudice, the chances of the date being at
2636         all interesting are rather limited.  Bug #505.
2637         * src/Makefile.am:
2638         Add copyright and license
2639
2640 2004-12-04  Keith Packard  <keithp@keithp.com>
2641
2642         * configure.in:
2643         Change default set of fonts to include all of
2644         /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2645         * doc/fontconfig-user.sgml:
2646         Document new <include>directory-name</include> semantics
2647         * fonts.conf.in:
2648         add <include ignore_missing="yes">conf.d</include>
2649         * local.conf:
2650         Add selectfont to ignore bitmap fonts, add comment for
2651         selectfont which accepts bitmap fonts.
2652         * src/fcdir.c:
2653         * src/fcint.h:
2654         * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2655         Allow <include> configuration elements to reference directories.
2656         Parse and load all files of the form [0-9]* in sorted order.
2657
2658 2004-12-04  Keith Packard  <keithp@keithp.com>
2659
2660         * autogen.sh:
2661         Report command line for $srcdir/configure accurately.
2662         Bug #212.
2663
2664 2004-12-04  Keith Packard  <keithp@keithp.com>
2665
2666         * src/fcfreetype.c: (FcFreeTypeQuery):
2667         Check for non-empty face->family_name and face->style_name
2668         before using those for the font.  Empty names match everything.
2669         Bug #210.
2670
2671 2004-12-04  Keith Packard  <keithp@keithp.com>
2672
2673         * configure.in:
2674         * fontconfig/fontconfig.h:
2675         * src/fcfreetype.c: (FcFreeTypeQuery):
2676         * src/fcname.c:
2677         Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2678         available.  This provides font file format information (BDF, Type 1,
2679         PCF, TrueType) for each font.  Closes #109.
2680
2681 2004-12-04  Daniel Glassey <danglassey@ntlworld.com>
2682
2683         reviewed by: Keith Packard  <keithp@keithp.com>
2684
2685         * doc/fontconfig-user.sgml:
2686         Fix typo.
2687         
2688         * fontconfig/fontconfig.h:
2689         * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2690         (GetScriptTags), (FcFontCapabilities):
2691         * src/fcname.c:
2692         Add detection for font capabilities (bug #105)
2693
2694 2004-12-04  Keith Packard  <keithp@keithp.com>
2695
2696         * Makefile.am:
2697         Move existing fonts.conf to fonts.conf.bak
2698         
2699         * configure.in:
2700         Add detection of iconv
2701         
2702         * doc/fcpattern.fncs:
2703         * doc/fontconfig-devel.sgml:
2704         * doc/fontconfig-user.sgml:
2705         * fonts.dtd:
2706         Document new selectfont elements
2707         
2708         * fc-lang/nb.orth:
2709         Switch to UTF-8 in comment
2710         
2711         * fontconfig/fontconfig.h:
2712         * src/fcname.c:
2713         Add fullname, and family/style/fullname language entries
2714         
2715         * src/fccache.c: (FcCacheFontSetAdd):
2716         * src/fcdir.c: (FcFileScanConfig):
2717         Respect selectfont/*/glob
2718         
2719         * src/fcint.h:
2720         * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2721         (FcConfigCompareValue), (FcConfigPatternsAdd),
2722         (FcConfigPatternsMatch), (FcConfigAcceptFont):
2723         * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2724         (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2725         (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2726         Add support for selectfont
2727         
2728         * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2729         (FcStringInPatternElement), (FcFreeTypeQuery):
2730         Add multi-lingual family/style/fullname support
2731         
2732         * src/fclist.c: (FcListPatternMatchAny):
2733         Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2734         
2735         * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2736         (FcObjectStaticName):
2737         Add new FcPatternRemove/FcPatternAppend.
2738         FcObjectStaticName stores computed pattern element names which
2739         are required to be static.
2740         
2741 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2742
2743         reviewed by: keithp
2744
2745         * Makefile.am:
2746         Remove spurious / after $(DESTDIR)
2747
2748 2004-06-30  Keith Packard  <keithp@keithp.com>
2749
2750         * README:
2751         * configure.in:
2752         * fontconfig/fontconfig.h:
2753         Update for 2.2.96
2754
2755 2004-06-30  Keith Packard  <keithp@keithp.com>
2756
2757         Provided by: Lubos Lunak <l.lunak@suse.cz>
2758
2759         * src/fccfg.c: (FcConfigUptoDate):
2760         However FcConfigUptoDate() doesn't seem to work. See the attached
2761         patch.  First there's an obvious misplaced parenthesis making it
2762         return always false, and second, even this call fails to detect font
2763         changes (e.g.  adding a new font to 
2764         /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2765         well. The problem seems to be triggered by my fonts.conf specifying
2766         only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2767         doesn't include subdirs, unlike config->fontDirs.
2768
2769 2004-06-03  Keith Packard  <keithp@keithp.com>
2770
2771         * fontconfig/fontconfig.h:
2772         Remove comma at end of FcResult enum definition.
2773
2774 2004-05-29  Keith Packard  <keithp@keithp.com>
2775
2776         * INSTALL:
2777         Add steps to md5sum release
2778
2779 2004-05-29  Keith Packard  <keithp@keithp.com>
2780
2781         * README:
2782         * configure.in:
2783         * fontconfig/fontconfig.h:
2784         Update for 2.2.95
2785
2786 2004-05-29  Keith Packard  <keithp@keithp.com>
2787
2788         * fontconfig/fontconfig.h:
2789         * src/fcmatch.c: (FcFontSetMatch):
2790         Add FcResultOutOfMemory to provide an accurate error when
2791         FcFontSetMatch fails in this way
2792         
2793         * src/fcfreetype.c:
2794         Make #warning about lacking various FreeType features indicate
2795         which version those features appeared so users know how to
2796         fix the problem (Thanks to Anton Tropashko)
2797
2798 2004-05-05  Keith Packard  <keithp@keithp.com>
2799
2800         * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2801         Replace MIN/MAX/ABS macros which happen to have come
2802         from FreeType with fontconfig-specific ones (FC_*)
2803
2804 2004-04-23  Keith Packard  <keithp@keithp.com>
2805
2806         * INSTALL:
2807         Extend release preparation instructions to include
2808         notification and distribution steps
2809
2810 2004-04-23  Keith Packard  <keithp@keithp.com>
2811
2812         * README:
2813         * configure.in:
2814         * fontconfig/fontconfig.h:
2815         Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2816
2817 2004-04-23  Keith Packard  <keithp@keithp.com>
2818
2819         * .cvsignore:
2820         Ignore a few more autotool files
2821
2822 2004-04-14  Keith Packard  <keithp@keithp.com>
2823
2824         * INSTALL:
2825         Add instructions for doing a release
2826         
2827         * fontconfig.spec.in:
2828         clean up .spec file; perhaps this will be useful to somebody...
2829
2830         * README:
2831         * configure.in:
2832         * fontconfig/fontconfig.h:
2833         Update to 2.2.93
2834         
2835         * fc-lang/fc-lang.c:
2836         Make 'scanopen' static so GCC doesn't whine about lacking prototype
2837         
2838         * fc-glyphname/Makefile.am:
2839         * fc-lang/Makefile.am:
2840         * fc-list/Makefile.am:
2841         * fc-match/Makefile.am:
2842         * src/Makefile.am:
2843         Add WARN_CFLAGS to pass -W flags for GCC systems
2844         
2845         * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2846         (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2847         Change various char types around to match across
2848         function calls.
2849         Fixed bug in using available_sizes[i].height which 
2850         is in pixels, not 64ths of a pixel.
2851
2852 2004-03-06  Keith Packard  <keithp@keithp.com>
2853
2854         * src/fcfreetype.c: (FcFreeTypeQuery):
2855         Force FC_FOUNDRY and FC_WIDTH to always be set so that
2856         matches looking for explicit values prefer exact matches
2857
2858 2004-03-02  Keith Packard  <keithp@keithp.com>
2859
2860         Supplied by: mfabian@suse.de (Mike FABIAN)
2861
2862         * src/fcfreetype.c: (FcFreeTypeQuery):
2863         Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2864         Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2865
2866 2004-02-21  Manish Singh  <yosh@gimp.org>
2867
2868         * fc-glyphname/fc-glyphname.c: (main):
2869         Cast strlen to int for printf, so we're 64-bit clean.
2870
2871 2004-02-11  Keith Packard  <keithp@keithp.com>
2872
2873         * configure.in:
2874         * src/fcfreetype.c: (FcGetPixelSize):
2875         Ok, so I messed up the test for y_ppem.  Let's see if I
2876         got it right this time.
2877
2878 2004-02-10  Keith Packard  <keithp@keithp.com>
2879
2880         * configure.in:
2881         * src/fcfreetype.c: (FcGetPixelSize):
2882         Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2883         FT_Bitmap_Size record.  Add a configure.in test for this
2884         and change the code accordingly (using height instead).
2885
2886 2004-02-06  Keith Packard  <keithp@keithp.com>
2887
2888         * fc-lang/nds.orth:
2889         Add Low Saxon orthography 
2890                 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2891                 
2892         * src/fccfg.c: (FcConfigNewestFile):
2893         Oops.  Left 'newest.set' unset, which would miscompute
2894         the newest file
2895         
2896         * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2897         (FcFreeTypeCheckGlyph):
2898         Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2899         font properties (which report the wrong value in current FreeType)
2900
2901         Don't attempt to check for empty glyphs in non-scalable fonts; they
2902         have no outlines...
2903
2904 2004-02-01  Tor Lillqvist  <tml@iki.fi>
2905
2906         * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2907         GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2908         cache if config->cache is NULL, which happens if FcConfigHome() is
2909         NULL. Guard against that by using the temp folder in that case.
2910
2911 2004-01-03  Roozbeh Pournader  <roozbeh@sharif.edu>
2912
2913         * fc-lang/az_ir.orth:
2914         * fc-lang/ku_ir.orth:
2915         * fc-lang/ps_af.orth:
2916         * fc-lang/ps_pk.orth:
2917         Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2918         (Afghan and Pakistani).
2919         * fc-lang/ur.orth:
2920         Updated Urdu orthography with real data.
2921
2922 2003-12-11  Carl Worth  <cworth@east.isi.edu>
2923
2924         * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2925         USEDOCBOOK' block.
2926
2927         * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2928         USEDOCBOOK' block.
2929         (all-local): Remove excessive whitespace.
2930
2931         * autogen.sh: Add 'set -e' to abort when any program fails,
2932         (avoids printing of 'now type make' after configure aborts).
2933
2934 2003-11-17   Eric Christopherson  <rakko@charter.net>
2935
2936         reviewed by: Keith Packard  <keithp@keithp.com>
2937
2938         * doc/Makefile.am:
2939         * fontconfig/fcfreetype.h:
2940         * src/fcfreetype.c:
2941         Switch to FreeType 2.1.7 style includes.  Bug #150.
2942
2943 2003-11-16  Noah Levitt  <nlevitt@columbia.edu>
2944
2945         * fc-list/fc-list.sgml: Add some example usages.
2946
2947 2003-11-10  Roozbeh Pournader  <roozbeh@sharif.edu>
2948
2949         * src/fcxml.c:
2950         Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2951         separators.
2952
2953 2003-10-27  Keith Packard  <keith@keithp.com>
2954
2955         * configure.in:
2956         * fontconfig/fontconfig.h:
2957         Update to version 2.2.92
2958
2959 2003-10-27  Keith Packard  <keithp@keithp.com>
2960
2961         * Makefile.am:
2962         * configure.in:
2963         * doc/Makefile.am:
2964         * fc-cache/Makefile.am:
2965         * fc-glyphname/Makefile.am:
2966         * fc-lang/Makefile.am:
2967         * fc-list/Makefile.am:
2968         * fc-match/Makefile.am:
2969         * test/Makefile.am:
2970         * test/run-test.sh:
2971         Yet more cleanups to finish getting 'make distcheck' working
2972         This has been tested to ensure that it even works from a _build
2973         directory.
2974
2975 2003-10-26  Keith Packard  <keithp@keithp.com>
2976
2977         * configure.in:
2978         * doc/Makefile.am:
2979         * fc-cache/Makefile.am:
2980         * fc-glyphname/Makefile.am:
2981         * fc-lang/Makefile.am:
2982         * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2983         * fc-list/Makefile.am:
2984         * fc-match/Makefile.am:
2985         Attempts to fix 'make distcheck' work.  Things are
2986         progressing pretty well, but there are still failures
2987         long into the process dealing with docs (as always).
2988         
2989         The big changes here are mostly to make $(srcdir) != "."
2990         work correctly, fixing the docbook related sections and
2991         fc-lang were particularily tricky.  Docbook refuses to load
2992         system entities from anywhere other than where the original .sgml
2993         file was located, so no luck looking in "." for the
2994         configure-generated version.sgml and confdir.sgml files.
2995
2996         fc-lang needed help finding .orth files; added a -d option
2997         to set the directory as the least evil of many options.
2998
2999         Now to go use a faster machine and try and wring out the last
3000         issues.
3001
3002 2003-10-26  Keith Packard  <keithp@keithp.com>
3003
3004         Tag version 2.2.91
3005
3006 2003-10-26  Keith Packard  <keithp@keithp.com>
3007
3008         * doc/Makefile.am:
3009         Include confdir.sgml.in in EXTRA_DIST
3010
3011 2003-10-09  Josselin Mouette  <joss@debian.org>
3012
3013         * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
3014         * fc-list/fc-list.sgml fc-list/Makefile.am:
3015           Replace fc-cache and fc-list manpages with more detailed, SGML
3016           versions.
3017
3018 2003-09-23  Owen Taylor <otaylor@redhat.com>
3019
3020         * fontconfig/fontconfig.h  src/fcdefault.c (FcDefaultSubstitute)
3021         src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
3022         possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
3023         (Bug #117)
3024
3025 2003-09-23  Owen Taylor <otaylor@redhat.com>
3026
3027         * fc-lang/ka.orth: Remove Georgian capitals, they
3028         aren't used for normal writing. (Bug #116)
3029
3030 2003-09-06  Noah Levitt  <nlevitt@columbia.edu>
3031
3032         * doc/fontconfig-devel.sgml:
3033         * doc/fontconfig-user.sgml:
3034         * fontconfig/fontconfig.h:
3035         * src/fcname.c:
3036         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3037         value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3038
3039         * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3040         monospace and dual-width fonts, allow roughly a 3% variance in the
3041         advances.
3042
3043 2003-08-31  Manish Singh  <yosh@gimp.org>
3044
3045         * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3046         use default config.
3047
3048 2003-08-15  Carl Worth  <cworth@isi.edu>
3049
3050         * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3051         (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3052
3053         * src/fcpat.c (FcValueListEntDestroy): New function to support
3054         FcFini memory cleanup. Some statistics are not kept in
3055         synch. here.
3056         (FcValueListFreeze): Move hashTable outside this function so it
3057         can be accessed by FcValueListThawAll.
3058         (FcValueListThawAll): New function complements FcValueListFreeze.
3059         (FcPatternBaseFreeze): Move hashTable outside this function so it
3060         can be accessed by FcPatternBaseThawAll.
3061         (FcPatternBaseThawAll): New function complements
3062         FcPatternBaseFreeze.
3063         (FcPatternThawAll): New function complements FcPatternFreeze.
3064
3065         * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3066
3067         * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3068         allocated FcCharLeafEnt "blocks" so they can be freed later.
3069         (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3070         can be accessed by FcCharSetThawAllLeaf.
3071         (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3072         (FcCharSetFreezeBase): Move hashTable outside this function so it
3073         can be accessed by FcCharSetThawAll.
3074         (FcCharSetThawAll): New function complements FcCharSetFreeze.
3075
3076         * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3077         (FcConfigDestroy): Fic leak of FcBlanks.
3078
3079         * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3080         (main): Add call to FcFini when finished.
3081
3082         * fc-glyphname/fc-glyphname.c: Mark several local functions as
3083         static. Add prototypes.
3084
3085         * doc/fcinit.fncs: Add documentation for FcFini function.
3086
3087         * doc/edit-sgml.c: Mark several local functions as static. Add
3088         prototypes.
3089
3090         * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3091
3092 2003-06-15  Tor Lillqvist  <tml@iki.fi>
3093
3094         * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3095         before comparing (needed on Windows).
3096
3097         * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3098
3099 2003-06-13  Tor Lillqvist  <tml@iki.fi>
3100
3101         * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3102         man pages.
3103
3104         * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3105         WINDOWSFONTDIR token.
3106
3107         * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3108         end, not to confuse libtool, which expects the EXPORTS line to be
3109         the first. Add FcConfigEnableHome.
3110
3111         * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3112         built as a DLL on Win32.
3113
3114 2003-06-09  Keith Packard <keithp@keithp.com>
3115
3116         * Tag version 2.2.90
3117
3118 2003-06-09  Keith Packard <keithp@keithp.com>
3119
3120         * Optimization in FcLangSetIndex was broken, occasionally
3121           returning a pointer to the wrong location on miss
3122
3123         * Add fc-match to test font matching from the command line.
3124
3125 2003-05-31  Keith Packard <keithp@keithp.com>
3126
3127         * (Bug 85) add support for culmus fonts
3128         * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3129         * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3130
3131 2003-05-28  James Su <suzhe@turbolinux.com.cn>
3132
3133         * Fix "contains" op for strings and langsets.
3134
3135 2003-05-17  Keith Packard <keithp@keithp.com>
3136
3137         * Fix build error with BDF prop local.  Free langset after query
3138
3139 2003-05-14  Keith Packard <keithp@keithp.com>
3140
3141         * Extract spacing from XLFD atom
3142
3143 2003-05-12  Juliusz Chroboczek <jch@pps.jussieu.fr>
3144
3145         * Reinstate SETWIDTH_NAME parsing for legacy fonts, 
3146           disappeared in 1.30.
3147
3148         * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3149
3150 2003-05-12  Keith Packard <keithp@keithp.com>
3151
3152         * Use FcIsWidth to share code
3153
3154         * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3155           misclassifying some Han fonts as monospaced.
3156           
3157 2003-05-07  Keith Packard <keithp@keithp.com>
3158
3159         * Add filename-based accept/reject to ammend available fonts.
3160
3161         * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3162           older FreeType releases.
3163
3164 2003-05-06  Keith Packard <keithp@keithp.com>
3165
3166         * Remove 0b82 and Tamil numbers from tamil 
3167           orthography (Jungshik Shin <jshin@mailaps.org>)
3168
3169 2003-05-04  Keith Packard <keithp@keithp.com>
3170
3171         + Map glyph names in fonts with adobe custom encoding to unicode
3172
3173 2003-05-02  Keith Packard <keithp@keithp.com>
3174
3175         * Add FC_WEIGHT_BOOK as weight 75
3176
3177 2003-04-30  Keith Packard <keithp@keithp.com>
3178
3179         * Typo in bitstream foundry name
3180
3181 2003-04-24  Keith Packard <keithp@keithp.com>
3182
3183         * Eliminate italic_angle check for PS fonts
3184
3185 2003-04-23  Noah Levitt <nlevitt@columbia.edu>
3186
3187         * Getting closer to fixing /etc/fonts hard-coding.
3188
3189 2003-04-22  Keith Packard <keithp@keithp.com>
3190
3191         * Update autogen.sh to work with newer automake versions
3192         * Handle pattern elements moving during multiple edits
3193
3194 2003-04-23  James Henstridge  <james@daa.com.au>
3195
3196         * doc/fontconfig-devel.sgml: close the <para> element.
3197
3198         * doc/fcpattern.fncs: close the <para> element.
3199
3200         * doc/func.sgml: close the <refsynopsisdiv> element.
3201
3202 2003-04-22  Keith Packard <keithp@keithp.com
3203
3204         * Update autogen.sh to work with newer automake versions
3205         * Handle pattern elements moving during multiple edits
3206
3207 2003-04-17  Colin Walters <walters@debian.org>
3208
3209         + Remove some unused variables, and initialize some other ones so
3210         gcc doesn't warn us.
3211
3212 2003-04-16  Keith Packard <keithp@keithp.com>
3213
3214         + tag version 2.1.94
3215
3216 2003-04-16  Keith Packard <keithp@keithp.com>
3217
3218         + add BDF property fetching support for foundry 
3219           (from Juliusz Chroboczek)
3220         + add BDF property fetching support for width
3221
3222 2003-04-11  Juliusz Chroboczek <jch@pps.jussieu.fr>
3223
3224         + Implemented foundry generation for Type 1 and TrueType
3225
3226 2003-04-11  Gerard Escalante <g2@magestudios.net>
3227
3228         + Retrieve information from Type1 FontInfo dictionaries
3229
3230 2003-04-07  Colin Walters <walters@verbum.org>
3231
3232         + src/Makefile.am: Fix dummy makefile target names when
3233         MS_LIB_AVAILABLE isn't set.
3234
3235 2003-03-22  Tor Lillqvist  <tml@iki.fi>
3236
3237         Changes for Windows:
3238           
3239         + On Windows with gcc (a.k.a. mingw) build as a DLL.
3240           
3241         + We don't want to hardcode the fonts.conf file location in the
3242           DLL, so we look up the DLL location at run-time in a DllMain()
3243           function. The fonts.conf location is deduced from that.
3244
3245         + The colon can't be used as path separator on Windows,
3246           semicolon is used instead. File path components can be separated
3247           with either slash or backslash. Absolute paths can also begin
3248           with a drive letter.
3249
3250         + Add internal function FcStrLastSlash that strrchr's the last
3251           slash, or backslash on Windows.
3252         
3253         + There is no link() on Windows. For atomicity checks, mkdir a
3254           lock directory instead.
3255           
3256         + In addition to HOME, also look for USERPROFILE.
3257
3258         + Recognize the special font directory token WINDOWSFONTDIR, to
3259           use the system's font directory.
3260           
3261         + Remove the fontconfig-def.cpp that was obsolete. Add
3262           fontconfig.def(.in), without internal functions.
3263           
3264         + Add a fontconfig-zip(.in) script, used to build a binary
3265           distribution.
3266
3267 Fri Mar  7 07:55:00 EST 2003    Mike A. Harris <mharris@redhat.com>
3268         + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3269           to main package and man3/* to devel package
3270
3271         + Added missing defattr(-, root, root) to main RPM package
3272  
3273         + Added HTML and text development documentation to -devel subpackage
3274
3275 Wed Mar  5 05:08:00 EST 2003    Mike A. Harris <mharris@redhat.com>
3276         + Added back the configure macro options --disable-docs, otherwise
3277           fontconfig installs docs into /usr/share/doc/fontconfig (with no
3278           version number) unconditionally, causing RPM to fail the build due
3279           to _unpackaged_files_terminate_build.  We pick up the pregenerated
3280           docs with %doc already.
3281
3282 Wed Mar  5 04:26:20 EST 2003    Mike A. Harris <mharris@redhat.com>
3283         + Removed commented out rpm macro define at top of spec file,
3284           replacing it with a simple explanation, since rpm macros are
3285           expanded by rpm even in comments.
3286
3287         + Changed /usr/bin to _bindir in BuildRequires lines
3288
3289         + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3290
3291         + Reorganized file manifest lists
3292
3293 Sun Mar  2 14:16:17 EST 2003    Owen Taylor <otaylor@redhat.com>
3294
3295         + fontconfig.spec.in: Improvements from Red Hat spec file.
3296
3297         + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3298
3299         + docs/*.sgml: SGML fixes.
3300
3301 Sat Mar  1 17:28:53 PST 2003    keithp
3302         + Ok, so the ChangeLog is a bit out of date
3303
3304         + Lots of bugs fixed; most are in bugzilla, the
3305           biggest problems were in cache management where
3306           Owen discovered the library would lose badly when
3307           combining fonts-cache and ~/.fonts-cache data
3308
3309         + Converted from autoconf to automake.  This after
3310           getting patches accepted into libtool to allow
3311           the '-version-number' argument which lets
3312           packages set version numbers explicitly rather
3313           than the roundabout libtool way
3314
3315         + Converted documentation to SGML using the docbook
3316           DTD.  Now .txt and .html documents are installed
3317           in /usr/share/doc/fontconfig and there's no
3318           man page.  Perhaps a man version can be written
3319           at some point.
3320
3321 Sat Aug 31 15:21:22 PDT 2002    keithp
3322         + Xrender and Xft had several bugs related to
3323           rendering manually placed or poly-face text
3324
3325         + Added more complete memory tracing in fontconfig
3326           Checked with (patched) mozilla and found no leaks
3327
3328         + Updated Latin orthographies by comparing those from
3329           evertype.com with those from eki.ee.  Tried to make
3330           sensible choices, including chars that occured in both
3331           and leaving some optional chars out that occured only
3332           in one.
3333
3334 Mon Aug 26 16:33:04 PDT 2002    keithp
3335         + Owen discovered that FcLangSetHasLang wasn't actually
3336           checking the language set.
3337
3338 Mon Aug 26 13:37:23 PDT 2002    keithp
3339         + Append a version number to cache filenames
3340
3341 Thu Aug 22 11:36:18 PDT 2002    keithp
3342
3343         + Add "contains" and "not_contains" operators and elements to
3344           font configuration
3345           
3346         + Changed semantics of eq operator for LangSets to check for
3347           FcLangEqual so that any match will do
3348         
3349         + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3350           of FcValueEqual to check for identical values when inserting into
3351           the results.  This broke when the above semantic change was made,
3352           now it uses FcValueEqual which is "more correct" in any case.
3353
3354 Thu Aug 22 00:32:29 PDT 2002    keithp
3355
3356         + Reimplement FC_LANG as new datatype.  Lists of strings
3357           was consuming over a megabyte of memory for 401 fonts.
3358
3359         + Freeze patterns loaded from cache files.  This shares
3360           common value lists and common patterns which saves
3361           considerable memory.
3362
3363         + Change the denotation of 'constant' charsets to use special
3364           ref value instead of separate boolean.
3365
3366         + Clean up leak tracing stuff, found several unannoted alloc/free
3367           calls
3368
3369 Tue Aug 20 16:17:37 PDT 2002    keithp
3370
3371         + Fix memory leak when parsing matrices from XML
3372
3373 Mon Aug 19 11:57:27 PDT 2002    keithp
3374
3375         + Fix autoconf files to pass FONTCONFIG_PATH on
3376           compile line so that ${prefix} gets substituted
3377           correctly.
3378
3379         + Use getc_unlocked/putc_unlocked on systems that
3380           provide them to avoid damage done to stdio by posix
3381
3382         + Eliminate FC_PATTERN and FcTypePattern in favor of
3383           an extended api for FcConfigSubstitute which takes
3384           both the font and the pattern.
3385
3386         + Add 'sans serif' alias for 'sans-serif' as some apps
3387           can't handle hyphens in family names
3388
3389         + Eliminate pretense of support for libxml2
3390
3391         + Comment origins of Han orthographies
3392
3393 Tue Jul 30 18:37:09 PDT 2002    keithp
3394
3395         + Add binding property to edit element so that strong
3396           binding values may be inserted by the config file.
3397           The default remains weak.
3398
3399 Sun 28 Jul 04:16:55 PDT 2002    keithp
3400
3401         + Tagged release candidate 1 in the CVS tree and
3402           placed fcpackage.rc1.tar.gz for distribution
3403
3404 Thu Aug  1 08:55:08 PDT 2002    keithp
3405
3406         + Fixed autoconf builds to always specify install
3407           target files (for BSD).  Also fixed to
3408           define FONTCONFIG_PATH in config.h so that
3409           nonstandard installs will actually work.