]> git.wh0rd.org - fontconfig.git/blobdiff - ChangeLog
Pass around FcCache *s to the Unserialize functions for extra consistency
[fontconfig.git] / ChangeLog
index 6223c13015d0fd7220a4b8126a3f9a5f1c99852e..751e9f9fa3a8c6cf7b0624ba395f09b66c805db7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,236 @@
+2005-11-25  Patrick Lam  <plam@mit.edu>
+       * src/fcint.h:
+       * src/fccache.c (FcDirCacheConsume):
+       * src/fccharset.c (FcCharSetUnserialize):
+       * src/fcfs.c (FcFontSetUnserialize):
+       * src/fclang.c (FcLangSetUnserialize):
+       * src/fcname.c (FcObjectUnserialize):
+       * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize, 
+                       FcPatternUnserialize):
+
+       Pass around FcCache *s to the Unserialize functions for extra
+       consistency (and less overhead, for what that's worth).
+
+2005-11-24  Dirk Mueller  <dmueller@suse.com>
+       reviewed by: plam
+
+       * src/fcint.h:
+       * src/fcmatch.c (FcCompare*, FcFontSetSort):
+       * src/fcname.c (FcNameUnparseValue):
+
+       Inline the *PtrU functions to gain perf.
+       Remove unneeded params for the FcCompare* functions.
+
+2005-11-24  Dirk Mueller  <dmueller@suse.com>
+       reviewed by: plam
+       
+        * src/fcint.h, fontconfig/fontconfig.h: 
+        
+       Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
+
+        * src/fcpat.c, src/fcint.h, src/fcname.c:
+          
+       Check for type validity during FcPatternAddWithBinding, don't
+       verify type in FcFontMatch, don't call FcCanonicalize here
+        (which always does a deep copy).
+
+2005-11-24  Dirk Mueller  <dmueller@suse.com>
+       reviewed by: plam
+
+       * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
+       * src/fcpat.c (FcPatternAddWithBinding):
+
+       Make FcCompareString and FcCompareFamily less expensive.
+       Only add a value for FC_FAMILY if the proposed value is a string.
+
+2005-11-24  Dirk Mueller  <dmueller@suse.com>
+       reviewed by: plam
+       
+       * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
+       * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
+       * src/fcint.h (FcDebug):
+       
+       Inline FcDebug invocations and only initialize once, in FcInit*.
+       Improve debug msg in FcPatternPrint.
+
+2005-11-23  Frederic Crozat  <fcrozat@mandriva.com>:
+       reviewed by: plam
+       
+       * fontconfig/fontconfig.h:
+       * fc-cat/fc-cat.c:
+
+       Minor code warning cleanups.
+
+2005-11-23  Frederic Crozat  <fcrozat@mandriva.com>:
+       reviewed by: plam
+       
+       * fc-match/fc-match.c (main):
+
+       Make getopt_long accept -s parameter to fc-match as well.
+
+2005-11-21  Dirk Mueller <dmueller@suse.com>
+       reviewed by: plam
+
+       * src/fcmatch.c (FcCompareValueList):
+
+       Manually perform inlining & partial redundancy elimination to
+       reduce calls to FcValueListPtrU.
+
+2005-11-21  Dirk Mueller <dmueller@suse.com>
+       reviewed by: plam
+
+        * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
+                      FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks): 
+
+       Only invoke strlen() when really necessary.
+       
+2005-11-19  Matthias Clasen  <mclasen@redhat.com>
+       reviewed by: plam
+
+       * src/Makefile.am:
+       * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
+                           FcFontCapabilities):
+       * src/ftglue.c:
+       * src/ftglue.h:
+
+       Get rid of the use of freetype internal headers in fcfreetype.c,
+       since those headers will go away with freetype 2.2.  Replace with
+       public domain ftglue code from pango.  Note that the patch removes
+       some extra error checking in FT_Get_BDF_Property() and comments
+       out the skipping of empty pcf fonts.
+
+2005-11-19  Jinghua Luo  <sunmoon1997@gmail.com>
+       reviewed by: plam
+
+       * fc-lang/fc-lang.c (main):
+
+       Further fix of patch from 2005-11-04: miscounted numbers count
+       (numbers_count); didn't strip duplicate numbers (langBankNumbers);
+       and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
+
+       Removed leafidx_count and numbers_count since they are the same
+       and replaced them with offset_count.
+
+2005-11-18  Frederic Crozat  <fcrozat@mandriva.com>
+       reviewed by: plam
+
+       * fc-cat/fc-cat.c (main):
+
+       Don't crash when fc-cat invoked with no arguments.
+
+2005-11-18  Frederic Crozat  <fcrozat@mandriva.com>
+       reviewed by: plam
+
+       * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
+
+       Fix invalid read access caused by premature free and
+       GCC4 warnings in libxml2 codepath.
+
+2005-11-17  Jinghua Luo  <sunmoon1997@gmail.com>
+       reviewed by: plam
+
+       * src/fccfg.c (FcConfigValues):
+
+       List iteration not needed in FcConfigValues, since it's building
+       up the list itself; we can just strip FcVoid elements during
+       construction.
+
+2005-11-17  Patrick Lam  <plam@mit.edu>
+       * src/fccfg.c (FcConfigValues):
+
+       Fix crash on invalid constants in config files (forgot to update
+       a pointer upon list iteration.)
+
+2005-11-17  Frederic Crozat  <fcrozat@mandriva.com>
+       reviewed by: plam
+
+       * src/fcxml.c (FcTypecheckExpr):
+
+       Complain about invalid constants in config files.
+
+2005-11-17  Andreas Schwab  <schwab@suse.de>
+       reviewed by: plam
+       
+       * src/fccache.c (FcGlobalCacheSave): 
+
+       Don't add current_arch_start more than once.
+
+2005-11-16  Patrick Lam  <plam@mit.edu>
+       * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
+       * src/fcfs.c (FcFontSetUnserialize):
+       * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
+       * src/fcpat.c (FcStrUnserialize):
+
+       Fix ordering of ALIGN with respect to saving block_ptr; add
+       another ALIGN to fcfs.c.
+
+2005-11-16  Patrick Lam  <plam@mit.edu>
+       * src/fccache.c (FcDirCacheProduce)
+       
+       Fix case where alignment bytes bumped up metadata->count
+       causing unwarranted failures to write cache files.  
+       (Reported by Stephan Kulow).
+
+2005-11-16  Patrick Lam  <plam@mit.edu>
+       * src/fccache.c (FcDirCacheProduce):
+       * src/fccharset.c (FcCharSetDistributeBytes):
+       * src/fcfs.c (FcFontSetDistributeBytes):
+       * src/fcint.h:
+       * src/fclang.c (FcLangSetDistributeBytes):
+       * src/fcname.c (FcObjectDistributeBytes):
+       * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
+               FcStrNeededBytes):
+       
+       Add *NeededBytesAlign(), which overestimates the padding which is
+       later added by the new ALIGN macro.  Fix alignment problems on
+       ia64 and s390 by bumping up block_ptr appropriately.  (Earlier
+       version by Andreas Schwab).
+
+2005-11-16  Stephan Kulow  <coolo@kde.org>
+       reviewed by: plam
+       
+       * src/fccache.c:
+
+       Use sysconf to determine proper PAGESIZE value; this
+       appears to be POSIX-compliant. (reported by Andreas Schwab)
+
+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