]> git.wh0rd.org - fontconfig.git/blobdiff - ChangeLog
src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave, FcDirCacheConsume,
[fontconfig.git] / ChangeLog
index a851906b9c65b0d365d85f852ecc69996a67b076..76aeb622a1d7f24a8b6d4996c9e4fd7ea3df32c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,170 @@
+2006-02-03  Takashi IWAI  <tiwai@suse.de>
+       reviewed by: plam
+
+       * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
+                          FcCacheFileRead):
+
+       * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave, 
+                        FcDirCacheConsume, FcDirCacheWrite)
+       * src/fcxml.c (FcConfigMessage):
+
+       Check I/O call return values and eliminate unused variable
+       warnings.
+
+2006-02-03  Takashi Iwai  <tiwai@suse.de>
+       reviewed by: plam
+
+       * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
+
+       Fix memory leak.
+
+2006-02-03  Dirk Mueller  <dmueller@suse.de>
+       reviewed by: plam
+
+       * src/fcfs.c (FcFontSetUnserialize):
+
+       Gracefully handle the case where a cache asserts that it
+       has a negative number of fonts, causing overflow.
+
+2006-02-03  Patrick Lam  <plam@mit.edu>
+       * src/fccache.c (FcDirCacheUnlink):
+
+       Fix double free in error case.
+
+2006-01-31  Behdad Esfabod  <behdad@cs.utoronto.edu>
+           Stephan Kulow  <coolo@suse.de>
+       reviewed by: plam
+
+       * fc-cache/Makefile.am:
+
+       Replace 'stamp' target with mkinstalldirs.
+
+2006-01-31  Mike Fabian  <mfabian@suse.de>
+       reviewed by: plam
+
+       * src/fccache.c (FcGlobalCacheLoad):
+
+       Toast broken global cache files.
+
+2006-01-30  Patrick Lam  <plam@mit.edu>
+       * src/fccache.c (FcGlobalCacheReadDir):
+
+       Actually use the directories that I added to the global cache.
+       Fixes 'make check'.
+
+2006-01-30  Mike Fabian  <mfabian@suse.de>
+       reviewed by: plam
+       
+       * fc-cache/fc-cache.c (scanDirs):
+
+       Don't stop scanning if a directory in fonts.conf doesn't
+       exist, because subsequent directories might exist.
+       
+2006-01-30  Patrick Lam  <plam@mit.edu>
+       * src/fccache.c (FcGlobalCacheLoad):
+
+       Make global cache work again after putting dir names into global
+       cache (I misplaced the recording of a file offset).
+
+2006-01-30  Patrick Lam  <plam@mit.edu>
+       * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
+       
+       Update fc-cat to handle subdir lists in global cache file.
+       
+       * src/fccache.c (FcGlobalCacheLoad):
+       
+       Another FcCacheReadString return value check.
+
+2006-01-30  Mike Fabian  <mfabian@suse.de>
+       reviewed by: plam
+
+       * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
+                        FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
+
+       Make fccache more resilient to broken cache files by checking
+       return value of FcCacheReadString all the time.
+
+2006-01-30  Frederic Crozat  <fcrozat@mandriva.com>
+       reviewed by: plam
+
+       * fc-match/fc-match.1:
+       * fc-lang/fc-lang.man:
+
+       Remove references to dead fontconfig(3) manpages in
+       other fontconfig manpages.
+
+2006-01-29  Behdad Esfabod  <behdad@cs.utoronto.edu>
+       reviewed by: plam
+       
+       * doc/fcpattern.fncs:
+
+       Fix world's tiniest typo in code example.
+
+2006-01-29  Mike Fabian  <mfabian@suse.de>
+       reviewed by: plam
+
+       * src/fccache.c (FcGlobalCacheReadDir):
+
+       Fix global cache reads of subdirectories.
+
+2006-01-29  Patrick Lam  <plam@mit.edu>
+       * doc/fcconfig.fncs:
+       Add documentation for FcConfigNormalizeFontDir.
+
+       * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
+                        FcGlobalCacheUpdate, FcGlobalCacheSave):
+       * src/fcdir.c (FcDirScanConfig):
+       * src/fcint.h:
+
+       Write directory information to global caches to fix make check
+       (reported by Ronny V. Vindenes).  This changes the global cache
+       format again.
+       
+2006-01-27  Patrick Lam  <plam@mit.edu>
+       * fc-cache/fc-cache.c (scanDirs):
+       * fontconfig/fontconfig.h:
+       * src/fcint.h:
+       * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
+
+       Move FcConfigNormalizeFontDir call so that it doesn't result in
+       infinite recursion (reported by Ronny V. Vindenes).
+
+2006-01-26  Patrick Lam  <plam@mit.edu>
+       * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
+       * src/fccfg.c (FcConfigNormalizeFontDir):
+
+       Add a couple of missing normalizations to make fc-cache work
+       right; only scan subdirectories once.
+
+2006-01-26  Mike Fabian  <mfabian@suse.de>
+       reviewed by: plam
+       
+       * src/fcacache.c (FcGlobalCacheReadDir):
+
+       Don't crash on non-existant directories in global cache.
+
+2006-01-26  Patirck Lam  <plam@mit.edu>
+       * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
+       * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
+       * src/fcdir.c (FcDirScanConfig):
+       * src/fcxml.c (FcEndElement):
+
+       Stop trampling the directory name when writing out caches.
+       (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
+       subdirs when necessary.  Don't scan directories that can't be
+       normalized.
+
+2006-01-25  Patrick Lam  <plam@mit.edu>
+       * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
+       * src/fccfg.c (FcConfigEvaluate):
+       * src/fcfreetype.c (FcPatternAddWithBinding):
+
+       Fix additional memory leaks reported by Ronny V. Vindenes: don't
+       invoke FcValueSave on hashed static strings in
+       FcPatternAddWithBinding.  
+
+       Add another st_dev check in FcDirCacheOpen.
+
 2006-01-24  James Su  <james.su@gmail.com>
        reviewed by: plam