+2005-11-04 Patrick Lam <plam@mit.edu>
+ * fc-lang/fc-lang.c:
+ * src/fccharset.c:
+ * src/fcint.h:
+ * src/fclang.c:
+
+ Fix bug 2878 (excessive relocations at startup for charsets,
+ reported by Ross Burton): fc-lang/fc-lang now creates the
+ static form of the langset, not the dynamic form, so that
+ the charsets should now be in .rodata.
+
+2005-11-04 Patrick Lam <plam@mit.edu>
+ * src/fcdir.c (FcDirScanConfig):
+
+ Add test for validity of directory caches that
+ somehow got lost (reported by make distcheck).
+
+2005-11-04 Patrick Lam <plam@mit.edu>
+ * ChangeLog:
+ * README:
+ * configure.in:
+ * fontconfig/fontconfig.h:
+
+ Bump version to 2.3.92.
+
+2005-11-02 Patrick Lam <plam@mit.edu>
+ * src/fcpat.c (FcPatternDuplicate):
+
+ Fix argument ordering problem in call to FcPatternTransferFullFname.
+
+2005-11-02 Patrick Lam <plam@mit.edu>
+ * src/fcfreetype.c (FcFreetypeQuery):
+ * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
+ FcPatternTransferFullFname):
+
+ Fix warnings and embarrassing double-free error.
+
+2005-11-02 Zhe Su <zsu@novell.com>
+ reviewed by: plam
+
+ * fonts.conf.in:
+
+ Change the rule for artificial emboldening in fonts.conf.in. This
+ enables the support for artificial emboldening included in cairo.
+
+2005-11-02 Patrick Lam <plam@mit.edu>
+ * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
+
+ Don't zero out full names for FC_REF_CONSTANT fonts;
+ also, duplicate full names when transferring, and free
+ full names when freeing the associated font.
+ Reported by Jinghua Luo.
+
+2005-11-02 Patrick Lam <plam@mit.edu>
+ * fc-cache/fc-cache.c (scanDirs):
+ * src/fcpat.c (FcValueListSerialize):
+
+ Revert the previous patch and commit the correct patch:
+ I forgot a canonicalization in FcValueListSerialize, so
+ that it would choke on already-serialized input files. Duh!
+
+2005-11-02 Patrick Lam <plam@mit.edu>
+ * fc-cache/fc-cache.c (scanDirs):
+
+ Forcibly rescan a directory before writing a fresh local
+ cache file for that directory, fixing the losing-fonts
+ problem reported by Mike Fabian and also apparently the
+ font cache file corruption.
+
+2005-11-02 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcGlobalCacheLoad):
+
+ Fix thinko: actually, the whole global cache is stale
+ if the global cache is older than the (newest) config file.
+
+2005-11-02 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcGlobalCacheLoad):
+ * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
+ * src/fcint.h:
+
+ Declare the global cache of a directory's contents to be stale if
+ the directory is newer than the (newest) configuration file.
+
+2005-10-31 Patrick Lam <plam@mit.edu>
+ * src/fcint.h:
+ * src/fclist.c (FcListAppend):
+ * src/fcmatch.c (FcFontRenderPrepare):
+ * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
+ FcPatternFreeze, FcPatternBaseFreeze):
+
+ Copy the full pathname whenever duplicating an FcPattern; otherwise,
+ applications continue breaking.
+
+2005-10-31 Patrick Lam <plam@mit.edu>
+ * fc-cat/fc-cat.c (FcCacheFileRead, main):
+ * src/fcfreetype.c (FcFreeTypeQuery):
+
+ Fix small memory error (tried to free argv); use basename and
+ dirname correctly (they can modify their arguments).
+
+2005-10-31 Patrick Lam <plam@mit.edu>
+ * fc-cat/fc-cat.c:
+ * src/fccache.c:
+ * src/fcfreetype.c:
+ * src/fcint.h:
+ * src/fclist.c:
+ * src/fcpat.c:
+
+ Reinstate basename patch, but keep a hash table linking FcPatterns
+ to their fully-qualified font names for clients' benefit. Clients
+ only pay for the font names once they request the FC_FILE property
+ from an FcPattern, but the font name is malloc'd at that point (i.e.
+ not mmapped: that's impossible, since it may vary between machines.)
+ Clients do have to pay for a copy of the path name per cache file.
+
+ Note that FcPatternGetString now does some rewriting if you ask
+ for an FC_FILE, appending the pathname as appropriate.
+
+2005-10-31 Patrick Lam <plam@mit.edu>
+ * src/fcfreetype.c (FcFreeTypeQuery):
+
+ Revert basename patch, which breaks fontconfig clients on my system.
+
+2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
+ reviewed by: plam
+
+ * fontconfig/fonts.conf.in:
+ * fontconfig/fontconfig.h:
+ * src/fcdefault.c:
+ * src/fcname.c:
+
+ Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
+ to load embedded bitmaps or not.
+
+2005-10-25 Patrick Lam <plam@mit.edu>
+ * src/fcfreetype.c (FcFreeTypeQuery):
+
+ Only add basename to patterns' FC_FILE element, not any part of
+ the dirname.
+
+2005-10-22 Patrick Lam <plam@mit.edu>
+ * src/fcfreetype.c:
+
+ Add some more consts, fixing more GCC4 warnings.
+
+2005-10-22 Zhe Su <zsu@novell.com>
+ reviewed by: plam
+
+ Support localized font family and style names.
+ This has been reported to break old apps like xfd, but modern
+ (gtk+/qt/mozilla) apps work fine.
+
+2005-10-21 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcGlobalCacheLoad):
+
+ Destroy the global cache file if it's terminally broken. (reported by
+ Mike Fabian)
+
+2005-10-21 Patrick Lam <plam@mit.edu>
+ * fc-list/fc-list.c (main):
+ * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
+ * fontconfig/fontconfig.h:
+
+ Prevent fc-list from escaping strings when printing them (reported by
+ Matthias Clasen).
+
+2005-10-20 Marcus Meissner <meissner@suse.de>
+ reviewed by: plam
+
+ * fontconfig/fontconfig.h:
+
+ Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
+
+2005-10-14 Ross Burton <ross@burtonini.com>
+ reviewed by: plam
+
+ * fc-glyphname/fc-glyphname.c:
+ * src/fclang.c:
+
+ Add consts to variables so as to move arrays into .rodata.
+
+2005-10-14 Mike Fabian <mfabian@suse.de>
+ reviewed by: plam
+
+ * src/fccache.c (FcDirCacheUnlink):
+
+ Check existence of directory cache file before attempting to unlink.
+
+2005-10-13 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcDirCacheUnlink):
+
+ Fix flipped return value on unlink. (Reported by Mike Fabian)
+
+2005-10-12 Patrick Lam <plam@mit.edu>
+
+ * src/fccache.c:
+ * src/fcdir.c (FcDirScanConfig):
+ * src/fcint.h:
+
+ When fc-cache is run without --force, use directory cache files
+ to speed up fc-cache run time. (Reported by Mike Fabian)
+
+2005-10-06 Patrick Lam <plam@mit.edu>
+
+ * src/fcname.c (FcObjectToPtr):
+ * src/fcpat.c (FcStrStaticName):
+
+ Add padding to make valgrind and glibc not hate each other
+ when calling strlen().
+
+2005-10-05 Simos Xenitellis <simos74@gmx.net>
+ reviewed by: plam & keithp
+
+ * fonts.conf.in:
+
+ Modify config file to use Greek fonts before Asian fonts with
+ Greek glyphs.
+
+2005-10-05 Christian Biesinger <cbiesinger@web.de>
+ reviewed by: plam & keithp
+
+ * src/Makefile.am:
+
+ Use libtool -no-undefined flag on all platforms.
+
+2005-10-05 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcCacheHaveBank):
+
+ Implement move-to-front array for banks (perf regression
+ reported by Ronny V. Vindenes).
+
+2005-10-04 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
+ FcDirCacheHasCurrentArch):
+ * fc-cache/fc-cache.c (scanDirs):
+ * fontconfig/fontconfig.h:
+
+ Add new API which unlinks directory caches and checks dir caches
+ for existence of appropriate sections. Fix fc-cache to unlink
+ stale cache files and save directory caches that lack relevant
+ sections.
+
+2005-10-03 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcDirCacheValid):
+
+ Ensure that a directory cache has the appropriate section
+ before reporting that it is valid (reported by Matthias Clasen).
+
+2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
+
+ reviewed by: plam
+
+ * configure.in:
+ * src/Makefile.am:
+ * src/fcxml.c:
+
+ Use libxml2 if requested (with --enable-libxml2) or if
+ expat is not available.
+
+2005-09-29 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
+
+ Fix multi-arch cache files: compute the position for the
+ block to be added using info from OrigFile, not NewFile.
+
+2005-09-28 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcCacheMachineSignature):
+
+ Cast results of sizeof() to unsigned int to get rid of
+ warnings on x86_64 (thanks Matthias Clasen).
+
+2005-09-27 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
+ FcDirCacheWrite):
+
+ Use FcAtomic to rewrite cache files.
+
+2005-09-27 Patrick Lam <plam@mit.edu>
+
+ * src/fccache.c (FcDirCacheWrite):
+
+ Don't unlink the fonts.cache-2 file even if there's no data
+ to write; just write an empty cache file. (thanks Lubos Lunak)
+
+2005-09-27 Patrick Lam <plam@mit.edu>
+
+ * src/fccache.c (FcDirCacheWrite):
+
+ Allocate room for the subdirectory names in each
+ directory cache. Thanks to James Cloos for finding
+ and diagnosing this bug!
+
+2005-09-22 Patrick Lam <plam@mit.edu>
+
+ * fc-cache/fc-cache.sgml:
+ * src/fccache.c (FcDirCacheWrite):
+ * src/fccache.h (struct FcCache):
+
+ Update documentation -- fc-cache's man page now says that you
+ need to run fc-cache once per cached architecture; add some
+ documentation to the FcCache structure.
+
+ Make fc-cache write out fonts.cache-2 files for directories with
+ no fonts (i.e. only subdirectories).
+
+2005-09-22 Patrick Lam <plam@mit.edu>
+ * doc/edit-sgml.c:
+ * fc-cache/fc-cache.sgml:
+ * fc-case/fc-case.c:
+ * fc-glyphname/fc-glyphname.c:
+ * src/fcdefault.c:
+ * src/fcfreetype.c:
+ * src/fcinit.c:
+ * src/fcxml.c:
+
+ More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
+
+ * Makefile.am:
+ * configure.in:
+ * fc-lang/fc-lang.c:
+ * fontconfig/fcprivate.h:
+ * fontconfig/fontconfig.h:
+ * src/fccache.c:
+ * src/fccfg.c:
+ * src/fccharset.c:
+ * src/fcdbg.c:
+ * src/fcdir.c:
+ * src/fcfs.c:
+ * src/fcint.h:
+ * src/fclang.c:
+ * src/fclist.c:
+ * src/fcmatch.c:
+ * src/fcname.c:
+ * src/fcpat.c:
+
+ Implement new mmaped cache for font information.
+ Bump so revision to 2.3.90.
+
+2005-07-25 Keith Packard <keithp@keithp.com>
+
+ * doc/fontconfig-user.sgml:
+ * fc-glyphname/fc-glyphname.c: (scan), (main):
+ * fc-lang/fc-lang.c: (FcConfigHome):
+ * fc-match/fc-match.c: (main):
+ * src/fccfg.c: (FcConfigHome):
+ * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
+ (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
+ (addtag), (FcFontCapabilities):
+ * src/fcpat.c: (FcValueListEntCreate):
+ * src/fcstr.c: (FcStrCaseWalkerInit):
+ * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
+
+ Various GCC 4 cleanups for signed vs unsigned char
+
+ Match only [0-9]*.conf files in <include>{directory}</include>
+ elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
+
2005-07-15 Carl Worth <cworth@cworth.org>
* src/fcint.h: