X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=ChangeLog;h=5e4b1f43e08c178c482e5e0ca581cadd747860d4;hb=0945cbe73019404c880be0de7f703ef77aec8a08;hp=afa77a0a3587f2e91bbe7881fa6dbc69a2ef9222;hpb=dcd49fcc23239be8fc0c3ca62a5fd3e059f19c02;p=fontconfig.git diff --git a/ChangeLog b/ChangeLog index afa77a0..5e4b1f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,429 @@ +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: + * fc-cat/Makefile.am: + * fc-list/Makefile.am: + * fc-match/Makefile.am: + + LD_ADD missing dependencies for binaries. Reported by + Edson Alves Pereira. + +2006-04-07 Patrick Lam + * src/fcint.h: + * fc-lang/fc-lang.c (main): + + SGI compilation fixes (reported by Christoph Bauer): + 1) reorder union definition of _FcChar; + 2) omit .stats =. + +2006-04-07 Dominic Lachowicz + reviewed by: plam + * configure.in: + * src/fccharset.c (FcCharSetNeededBytes): + * src/fcfs.c (FcFontSetNeededBytes): + * src/fcint.h: + * src/fclang.c (FcLangSetNeededBytesAlign): + * src/fcname.c (FcObjectNeededBytesAlign): + * src/fcpat.c (FcPatternNeededBytesAlign, + FcValueListNeededBytesAlign, FcStrNeededBytesAlign): + + Portability fixes for HP-UX (reported by Christoph Bauer). + Replace '__inline__' by AC_C_INLINE and 'inline'. + Replace '__alignof__' by 'fc_alignof'. + +2006-04-07 Dominic Lachowicz + reviewed by: plam + * src/fcint.h: + + Move up #include of config.h. + Fail if neither inttypes.h nor stdint.h is available. + Fixes bug 6171. + +2006-04-07 Dominic Lachowicz + Patrick Lam + * configure.in: + * fc-cache/fc-cache.c: + * fc-cat/fc-cat.c: + * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset, + FcDirCacheConsume, FcDirCacheProduce, + FcDirCacheWrite, FcCacheMachineSignature): + * src/fcfreetype.c (FcFreeTypeQuery): + * src/fontconfig.def.in: + + Make fontconfig compile under MinGW: + 1) remove unneeded #includes; + 2) make use of mmap and sysconf conditional; + 3) replace rand_r by srand/rand if needed; + 4) use chsize instead of ftruncate; and + 5) update libtool exports file + +2006-04-07 Patrick Lam + * src/fcdir.c (FcDirScanConfig): + + Eliminate warning. + +2006-04-06 Patrick Lam + * fc-match/.cvsignore: + * fc-match/Makefile.am: + * fc-match/fc-match.sgml: + + Update documentation for fc-match (SGML-ize it). + (reported by Ilya Konstantinov) + +2006-04-06 Diego Pettenò + reviewed by: plam + * src/fcdefault.c: + * src/fcpat.c: + * src/fcxml.c: + + Reduce amount of dirty rss by const'ing some data structures. + +2006-04-06 Patrick Lam + * fc-cache/Makefile.am: + + Don't fail if we can't create or remove + $(pkgcachedir) i.e. /var/cache/fontconfig. + (reported by Quanah Gibson-Mount). + +2006-04-06 Kjartan Maraas + reviewed by: plam + * fc-case/fc-case.c: + * fc-glyphname/fc-glyphname.c: + * fc-lang/fc-lang.c (main): + * fc-match/fc-match.c: + * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch, + FcDirCacheWrite): + * src/fcfreetype.c (FcFreeTypeQuery): + * src/fclang.c (FcFreeTypeLangSet): + * src/fcxml.c: + + Fix intel compiler warnings: make many variables static, + eliminate duplicate names, reduce variable scopes, unsigned/signed + printf formatting. + +2006-03-24 Mike Fabian + reviewed by: plam + * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch): + + Fix multiarch support (don't destroy multiarch files!) + +2006-03-24 Patrick Lam + * configure.in: + + Require pkg-config. (Thanks Behdad; + better solution wanted for libxml2 detection!) + +2006-03-22 Patrick Lam + * src/fcatomic.c: + + On Windows, unlink before rename. Reported by Tim Evans. + +2006-03-15 Patrick Lam + * fc-lang/ab.orth: + * fc-lang/ibo.orth: + + Fix typos in orth files. Reported by Denis Jacquerye. + +2006-03-08 Patrick Lam + * Makefile.am: + * config/config.guess: + * config/config.sub: + + Fix Makefile.am for removal of debian/ directory. + +2006-03-08 Patrick Lam + * .cvsignore + + Ignore debian/ directory for CVS. + 2006-03-08 Patrick Lam * debian/* @@ -5,7 +431,6 @@ 2006-03-08 Patrick Lam * debian/po/* - * .cvsignore Remove debian/ directory from sources. See Debian's subversion server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig