X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=ChangeLog;h=5e4b1f43e08c178c482e5e0ca581cadd747860d4;hb=c50ea916b0e56520948804b67fc7df57bb490575;hp=23e74e2dffbfcc1158d999c08bebb4f506a5b04d;hpb=f11a184104a57c0d68afde8e7458c7b8473b6671;p=fontconfig.git diff --git a/ChangeLog b/ChangeLog index 23e74e2..5e4b1f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,696 @@ +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/* + + Now remove debian/ directory. + +2006-03-08 Patrick Lam + * debian/po/* + + Remove debian/ directory from sources. See Debian's subversion + server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig + instead. + +2006-03-08 Denis Jacquerye + reviewed by: plam + + * fc-lang/ln.orth: + * fc-lang/iso639-1, fc-lang/iso639-2: + + Add orthography for Lingala. + +2006-03-08 Carl Worth + reviewed by: keithp + + * conf.d/Makefile.am: + * conf.d/10LohitGujarati.conf: + + Add a configuration file that disables hinting for the Lohit + Gujarati font (since the hinting distort some glyphs quite badly). + +2006-03-08 Egmont Koblinger + reviewed by: plam + + * src/fcdir.c (FcDirScanConfig): + + Sort directory entries while scanning them from disk; + prevents Heisenbugs due to file ordering in a directory. + +2006-03-07 Behdad Esfahbod + reviewed by: plam + + * src/fcfreetype.c (GetScriptTags): + * src/ftglue.c, src/ftglue.h: + + Remove stuff we don't use, make get_{char,short,long} functions + of ftglue macros to be inlined. + + * src/fcint.h: + * src/fcname.c (FcObjectSerialize): + + Code cleanups (excess prototype, old-style function definition). + +2006-03-05 Patrick Lam + * src/fcpat.c (FcPatternGetString): + + Because we hacked FcPatternGet, we don't really need to expand the + filename again in FcPatternGetString. + +2006-03-05 Patrick Lam + * src/fcpat.c (FcPatternGetString, FcPatternGet): + + Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE. + Make that work. Reported by Bernhard Rosenkraenzer. + +2006-03-03 Patrick Lam + * src/fcint.h: + + Include inttypes.h instead of stdint.h if appropriate. + +2006-03-03 Patrick Lam + * fc-cat/fc-cat.c (FcFileIsDir): + * fc-glyphname/fc-flyphname.c: + + More stub definitions and remove FcFileIsDir from fc-cat. + +2006-03-03 Patrick Lam + * fc-case/fc-case.c: + + Fix compilation on AIX with stub definitions (bug 6097). + +2006-03-03 Patrick Lam + * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce): + * src/fcfreetype.c (GetScriptTags): + * src/fcfs.c (FcFontSetDistributeBytes): + * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes): + + Get rid of C++-style comments. + +2006-03-03 Patrick Lam + * debian/changelog + + Enable creation of 2.3.94 Debian packages. + +2006-03-02 Egmont Koblinger + reviewed by: plam + + * src/fclang.c (FcCharSetForLang): + + Fix suspicious return expression which causes junk + to be returned. + +2006-02-24 Patrick Lam + * ChangeLog: + * README: + * configure.in: + * fontconfig/fontconfig.h: + + Bump version to 2.3.94. + +2006-02-24 Patrick Lam + * Makefile.am: + + Fix placement of @s. + +2006-02-24 Patrick Lam + * conf.d/10-fonts-persian.conf: + + Remove unconditional emboldening (per Behdad's instructions). + + * Makefile.am: + + Add @s to hide some echos. + +2006-02-24 Mike Fabian + Takashi Iwai + reviewed by: plam + + * src/fcfreetype.c (GetScriptTags): + + Fix double-free on error case. + +2006-02-21 Patrick Lam + * fc-lang/fc-lang.c (scan): + + Strip \r and whitespace from input; fixes bug 3454. + +2006-02-21 Patrick Lam + * fc-lang/fc-lang.c (main): + + Allocate large arrays statically in fc-lang to fix crashes under + MinGW/MSYS. + +2006-02-21 Diego Petten + * src/fcfreetype.c (FcFreeTypeCharIndex): + + Pass the buck; make fontconfig not crash on pango badness. + +2006-02-21 Patrick Lam + * conf.d/10-fonts-persian.conf: + + Use embeddedbitmap rather than rh_prefer_bitmap. + +2006-02-21 Paul Cornett + reviewed by: plam + + * src/fccache.c (FcDirCacheWrite): + * src/fcdir.c (FcFileScanConfig): + * src/fcfreetype.c (FcStringInPatternElement): + * src/fcxml.c (FcParseFamilies): + * src/ftglue.c (ftglue_face_goto_table): + + Eliminate redundancies. + +2006-02-21 Kjartan Maraas + reviewed by: plam + + * fc-list/fc-list.c (main): + * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): + * src/fcstr.c (FcStrStr): + * src/fcxml.c (FcConfigSaveAttr): + + Eliminate unused vars reported by Intel's compiler. + +2006-02-21 Aiet Kolkhi + reviewed by: plam + + * fc-lang/ka.orth: + + Remove one more archaic character. + +2006-02-21 Ross Burton + reviewed by: plam, keithp + + * src/fcxml.c (FcParsePatelt): + + Freeze patterns created by configuration file for tiny + memory savings (every little bit helps). + +2006-02-21 Mike Fabian + reviewed by: plam + + * fc-cat/fc-cat.c (main): + + Initialize fontconfig library in fc-cat to avoid segfault. + +2006-02-18 Patrick Lam + * fc-cache/fc-cache.c (scanDirs): + * src/fccache.c (FcCacheReadDirs): + * src/fcdir.c (FcDirScanConfig): + + Fix the underlying cause of the below segfault (must usually + call FcDirCacheHasCurrentArch after FcDirCacheValid). + +2006-02-18 Patrick Lam + * src/fccache.c (FcDirCacheHasCurrentArch): + + Fix triggering of segfault caused by misreading cache files + (reported by fcrozat). + +2006-02-17 Patrick Lam + * src/fcint.h (FC_CACHE_MAGIC): + + Bump up magic version; we changed the binary format. + +2006-02-17 Patrick Lam + * fc-cat/fc-cat.c (main): + + Enable fc-cat to print out old-style cache info when given a + directory name. + +2006-02-16 Patrick Lam + * src/fccache.c (FcDirCacheHasCurrentArch): + + Deal correctly with changing FC_CACHE_MAGIC. + +2006-02-16 Patrick Lam + * fc-cache/fc-cache.c (usage, scanDirs, main): + + Add -r --really-force option which blows away cache files and then + regenerates them. + +2006-02-16 Patrick Lam + * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite): + + Don't bail if fontconfig can't remove a dir cache file. + Skip the ID of a cache file when copying. + Eliminate 'source file too small' bug in FcDirCacheWrite. + +2006-02-13 Patrick Lam + * src/fcfreetype.c (FcFreeTypeQuery): + + Fix memory leak in error condition code. + +2006-02-13 Mike Fabian + reviewed by: plam + * src/fcfreetype.c (FcFreeTypeQuery): + + Skip bitmap fonts which can't even get it together enough to + declare a family name; this appears to reproduce previous + fontconfig behaviour. + +2006-02-10 Takashi Iwai + reviewed by: plam + * src/fccache.c (FcDirCacheOpen): + + Try to open /var/cache/fontconfig/[hashed name] before + fonts.cache-2 in a directory, because /var/cache/fontconfig + failures ought to be fixable, unlike fonts.cache-2 failures, + which may leave you screwed. + +2006-02-10 Takashi Iwai + reviewed by: plam + * src/fcmatch.c (FcFontSetMatch): + + Use a tri-state to mark the fonts which didn't get blocked but + were just missing an element, to distinguish them from the + fonts that do match the element. + 2006-02-10 Takashi Iwai reviewed by: plam * src/fcmatch.c (FcFontSetMatch): @@ -294,7 +987,7 @@ Don't crash on non-existant directories in global cache. -2006-01-26 Patirck Lam +2006-01-26 Patrick Lam * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite): * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir): * src/fcdir.c (FcDirScanConfig):