]> git.wh0rd.org - fontconfig.git/blobdiff - ChangeLog
Add test for validity of directory caches that somehow got lost (reported
[fontconfig.git] / ChangeLog
index 2a37be5317a704a7a805a5ba023d33b5161a51dc..2d26433fea390841718ca98bd72436c3dfd31984 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,158 @@
+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