X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=ChangeLog;h=5e4b1f43e08c178c482e5e0ca581cadd747860d4;hb=0945cbe73019404c880be0de7f703ef77aec8a08;hp=02171b18484e4802e70766f5bacde42445424f29;hpb=86abd75965f598dba79a3df68e7bc4c5082a5764;p=fontconfig.git diff --git a/ChangeLog b/ChangeLog index 02171b1..5e4b1f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,291 @@ +2006-08-04 Keith Packard (keithp@keithp.com) + reviewed by: plam + + * configure.in: + * fonts.conf.in: + * fonts.dtd: + * fc-cache/fc-cache.c (scanDirs): + * fontconfig/fontconfig.h: + * src/Makefile.am: + * src/fcint.h: + * src/fccache.c (FcDirCacheValid, FcDirHasCurrentArch, + FcDirCacheUnlink, FcDirCacheBasename, + FcCacheReadDirs, FcDirCacheOpen, FcDirCacheRead, + FcMakeDirectory, FcDirCacheWrite): + * src/fccfg.c (FcConfigCreate, FcConfigDestroy, FcConfigAddCacheDir, + FcConfigGetCacheDirs): + * src/fcdir.c (FcDirScanConfig, FcDirSave): + * src/fcinit.c (FcInitFallbackConfig): + * src/fcxml.c (fcElementMap, FcEndElement): + * test/fonts.conf.in, test/run-test.sh: + + Make cache directories configurable. Simplify and correct + some code which deals with per-directory caches. + +2006-07-19 Jon Burgess (jburgess@uklinux.net) + reviewed by: plam + + * src/fccache.c (FcGlobalCacheDestroy): + + Fix file-descriptor leak in FcGlobalCacheDestroy. + +2006-05-31 Yong Li (rigel863@gmail.com) + reviewed by: plam, Bedhad Esfahbod + + * src/ftglue.c (_hb_ftglue_face_goto_table): + + TrueType Collection table offsets are absolute, not relative. + +2006-04-27 Paolo Borelli (pborelli@katamail.com) + reviewed by: plam + + * src/fcstr.c (FcStrCopy): + + Make FcStrCopy slightly more efficient. + +2006-04-27 Patrick Lam + Keith Packard + * src/fcstr.c (FcStrBufChar): + + Reduce transient memory usage during config file parsing + by allocating smaller buffers (64 seems to be a magic number). + +2006-04-27 Keith Packard + + * src/fcinit.c: (FcMemReport): + * src/fcint.h: + * src/fcpat.c: (FcPatternFini): + * src/fcxml.c: (FcParsePatelt): + Eliminate pattern freezing + +2006-04-27 Keith Packard + reviewed by: Patrick Lam + + * src/fccache.c: (FcDirCacheUnlink), (FcDirCacheHashName), + (FcDirCacheOpen), (FcDirCacheWrite): + * src/fcfreetype.c: (FcFreeTypeQuery): + * src/fcint.h: + * src/fclist.c: (FcListAppend): + * src/fcmatch.c: (FcFontRenderPrepare): + * src/fcpat.c: (FcPatternDestroy), (FcPatternBaseFreeze), + (FcPatternFreeze), (FcPatternGet), (FcPatternDuplicate), + (FcStrUnserialize): + Make path names in cache files absolute (NB, cache format change) + Stop permitting cache files to be stored in font dirs. + Bump cache magic. + Don't include /fonts.cache-2 in cache hash construction. + +2006-04-25 Patrick Lam + * ChangeLog: + * README: + * configure.in: + * fontconfig/fontconfig.h: + + Bump version to 2.3.95. + +2006-04-25 Behdad Esfahbod + reviewed by: plam + + * configure.in: + * src/Makefile.am: + * src/fcfreetype.c: + + Fix the issues with GNU libiconv vs. libc iconv (which especially + appear on Solarii). Approach suggested by Tim Mooney. + +2006-04-24 Dominic Lachowicz + reviewed by: plam + + * src/Makefile.am: + + Include $(top_srcdir), $(top_srcdir)/src before anything else. + + * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c: + * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c: + * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c: + * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c: + * src/fcstr.c, src/fcxml.c: + + Shuffle order of includes for building out of srcdir on win32. + +2006-04-20 Patrick Lam + * src/fcmatch.c (FcSortWalk): + + Prevent terrible perf regression by getting the if-condition + right (reported by Wouter Bolsterlee). + +2006-04-19 Patrick Lam + Dominic Lachowicz + + * src/fccache.c (FcDirCacheConsume): + + Implement mmap-like code for Windows using MapViewOfFile. + +2006-04-19 Patrick Lam + * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset): + + Bail gracefully if the cache file does not contain enough data. + +2006-04-14 Patrick Lam + * fonts.conf.in: + + Give the 'Standard Symbols L' match a strong (vs. weak) binding. + +2006-04-14 Patrick Lam + * src/fcname.c (FcObjectToPtrLookup): + + Fix Gecko-exposed segfault from my last hack to + FcObjectToPtrLookup. Simplify code and get things straight. + +2006-04-14 Patrick Lam + * fonts.conf.in: + + Actually, just add URW fonts as aliases for all of the PostScript + fonts. (reported by Miguel Rodriguez). + +2006-04-13 Patrick Lam + * fonts.conf.in: + + Add an alias 'Standard Symbols L' for 'Symbol'. + +2006-04-12 Frederic Crozat + reviewed by: plam + + * src/fcpat.c: (FcPatternFreeze): + Fix memory leak (Coverity defect #2089). + + * src/fcfreetype.c: (GetScriptTags): + Ignore script if subtable is missing (Coverity defect #2088). + +2006-04-12 Patrick Lam + * src/fccfg.c (FcConfigSubstituteWithPat): + + Fix possible null pointer dereference (Coverity defect #784) + and memory leak (Coverity defects #785, #786). + +2006-04-12 Patrick Lam + * src/fcmatch.c (FcSortWalk, FcFontSetSort): + + Don't copy FcCharSet if we're going to throw it away anyway. + (Reported by Kenichi Handa). + +2006-04-11 Ming Zhao + reviewed by: plam + + * src/fcname.c (FcObjectToPtrLookup): + + Fix bad behaviour on realloc resulting in crash. + +2006-04-11 Patrick Lam + * src/fccache.c (FcGlobalCacheReadDir): + + Don't crash if config is null (Coverity defect #984). + +2006-04-11 Frederic Crozat + reviewed by: plam + + * src/fccharset.c (FcCharSetPutLeaf): + * src/fclang.c (FcNameUnparseLangSet): + + Missing bits from previous patches. + + * src/fccharset.c (FcCharSetSubtractCount): + Remove extra semi-colon. + + * src/fccfg.c (FcConfigBuildFonts): + Fix memory leak in error case (Coverity defects #776, #985). + + * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern): + Fix memory leaks (Coverity defects #779, #781) + and memory use after free (Coverity defect #780). + +2006-04-11 Patrick Lam + * src/fccharset.c (FcCharSetPutLeaf): + + Properly convert static charsets to dynamic charsets. + +2006-04-11 Frederic Crozat + reviewed by: plam + + * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze, + FcPatternFreeze): + Fix memory leak in error case (Coverity defects #1820, #1821, #1822). + + * src/fclang.c: (FcNameUnparseLangSet): + Fix memory leak (Coverity defect #1819). + + * fc-lang/fc-lang.c: (scan): + prevent crash when invalid include line is parsed (Coverity defect + #763). + + * fc-cat/fc-cat.c: (FcCacheFileRead): + Fix potential null pointer access (Coverity defect #1804). + + * src/fcname.c: (FcObjectUnserialize): + Remove dead code (Coverity defect #1194). + + * src/fcfreetype.c: (GetScriptTags): + Prevent potential null pointer access (Coverity defect #767), + ensure error value is read (Coverity defect #1195). + +2006-04-11 Behdad Esfahbod + reviewed by: plam + + * doc/Makefile.am: + + Survive missing docbook2pdf. + +2006-04-10 Patrick Lam + * fc-case/fc-case.c: + * fc-glyphname/fc-glyphname.c: + * fc-lang/fc-lang.c: + + Include more stub definitions to make HP-UX's C compiler happy. + +2006-04-10 Patrick Lam + * src/fcname.c (FcObjectUnserialize): + + Swap typo in order of ALIGN and dereferencing, fixing bug 6529. + +2006-04-10 Frederic Crozat + reviewed by: plam + + * src/fccfg.c: (FcConfigEvaluate): + Fix string memory leak (Coverity defect #1823). + + * src/fccache.c: (FcDirCacheUnlink): + Fix memory leak with hash collision (Coverity defect #1824). + +2006-04-10 Frederic Crozat + reviewed by: plam + + * src/fccache.c: (FcGlobalCacheSave): + Don't leak header in non-error case (Coverity defect #1825). + +2006-04-10 Frederic Crozat + reviewed by: plam + + * src/fcdir.c (FcDirScanConfig) + Don't leak in error cases (Coverity defects #777, #1826) + +2006-04-10 Frederic Crozat + reviewed by: plam + + * src/fccache.c: (FcDirCacheWrite): + Fix double free (spotted by Coverity, CID #1965). + + * fc-match/fc-match.c: (main): + Check if pattern is not null before using it (Coverity defect #1883). + + * src/fccache.c: (FcDirCacheWrite): + Fix memory leak with hash collision (Coverity defect #1829). + + * src/fccfg.c: (FcConfigBuildFonts): + Fix memory leak when bail cases (Coverity defect #1828). + + * src/fccache.c: (FcGlobalCacheLoad): + Don't leak directory name (Coverity defect #1827). + 2006-04-07 Dominic Lachowicz reviewed by: plam * fc-cache/Makefile.am: