commit d4fc407246ba0860dd883baf4551401614ec220f Author: Akira TAGOH Date: Tue Jul 17 14:20:48 2012 +0900 correct version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 92bad770e505ec8683aad2e6e063232843734ece Author: Akira TAGOH Date: Tue Jul 17 11:36:01 2012 +0900 Bump version to 2.10 README | 11 ++++++++++- configure.ac | 2 +- fontconfig/fontconfig.h | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) commit f513f53347ae943a03192e83f7a6d7c40bcdfd5d Author: Akira TAGOH Date: Tue Jul 17 11:35:41 2012 +0900 Update INSTALL INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 14d23ef330808b480393196984cb06efb5724160 Author: Akira TAGOH Date: Tue Jul 17 11:34:31 2012 +0900 Bump libtool revision configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit da9400212db8e5aa0a0bdd4fad21d2008b5034e2 Author: Akira TAGOH Date: Mon Jun 18 11:23:39 2012 +0900 Fix a build fail with gcc 2.95, not supporting the flexible array members. configure.ac | 2 ++ src/fcint.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 489a575a7455204ee5c170754b92e72ba1e483fd Author: Akira TAGOH Date: Fri Jul 6 19:02:05 2012 +0900 Update CaseFolding.txt to Unicode 6.1 fc-case/CaseFolding.txt | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 5b2d065ef87514ca32af325f793ee37fabd6af19 Author: Akira TAGOH Date: Tue Jul 3 19:56:56 2012 +0900 Bug 34266 - configs silently ignored if libxml2 doesn't support SAX1 interface Check if libxml2 has built with --with-sax1 configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 9c377192bf7d59336dbe4603d73449c7090c11ca Author: Akira TAGOH Date: Mon Jun 25 14:57:51 2012 +0900 Bump version to 2.9.92 README | 19 ++++++++++++++++++- configure.ac | 2 +- fontconfig/fontconfig.h | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) commit 2162d9c2ee7ba930dca8f710ad35a83cb7c76ca6 Author: Akira TAGOH Date: Mon Jun 25 14:57:40 2012 +0900 Update INSTALL INSTALL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a94c6b3b94b4a66d7f528fcc7e939b8ec19ad660 Author: Akira TAGOH Date: Mon Jun 25 14:50:18 2012 +0900 Bump libtool revision configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 769306665c37175d1e0e1167895eace0a8bc4bc3 Author: Akira TAGOH Date: Tue Apr 24 19:11:41 2012 +0900 Bug 18726 - RFE: help write locale-specific tests Add an example matching rule for the language specific doc/fontconfig-user.sgml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit e5a59eac905f1ff6ebe6005c257ce3f9f3c4cc6b Author: Marius Tolzmann Date: Thu Jun 21 21:01:10 2012 +0200 Fix warning about deprecated, non-existent config includes Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 8: reading configurations from ~/.fonts.conf.d is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated. Be polite and do not issue the warning if deprecated config includes (e.g. ~/.fonts.conf.d and/or ~/.fonts.conf) do not exist. src/fcxml.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 3a5e9bc75d7e240ec590c6e50161ee157904d4d6 Author: Marius Tolzmann Date: Thu Jun 21 21:01:09 2012 +0200 Fix newline in warning about deprecated config includes src/fcxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2d9ad5434b1d3afa2aa3d8a77af0bce940c69177 Author: Akira TAGOH Date: Mon Jun 18 18:31:36 2012 +0900 Rename configure.in to configure.ac configure.ac | 615 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 615 -------------------------------------------------------- new-version.sh | 4 +- 3 files changed, 617 insertions(+), 617 deletions(-) commit 4353df754fcf4126ff4a69ccfef1a59450e5a7c7 Author: Akira TAGOH Date: Mon Jun 18 10:52:21 2012 +0900 clean up the lock file properly on even hardlink-not-supported filesystem. src/fcatomic.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 997a64a67b77ae7c083f4a2898670201ed618fb2 Author: Akira TAGOH Date: Thu Jun 14 11:27:31 2012 +0900 Fix the fail of make install with --disable-shared on Win32 .gitignore | 1 + configure.in | 1 + src/Makefile.am | 2 ++ 3 files changed, 4 insertions(+) commit cd280f6532663981fb5fcc2d38f99973033568db Author: Akira TAGOH Date: Wed Jun 13 20:01:30 2012 +0900 Fix a build fail on MINGW src/fcatomic.c | 7 ++++--- src/fccfg.c | 18 +++++++++--------- src/fcint.h | 4 +++- src/fcstat.c | 16 ++++++++++------ src/fcstr.c | 6 +++--- src/fcxml.c | 24 ++++++++++++------------ 6 files changed, 41 insertions(+), 34 deletions(-) commit 2ec0440fb580f5556d8e1fc4e0e3a6c5b9472cf6 Author: Akira TAGOH Date: Tue Jun 12 11:02:03 2012 +0900 Fix a typo and build fail. doc/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b447fc5d52e1e88ca1eca0ce3472d48626e27109 Author: Akira TAGOH Date: Mon Jun 11 14:14:41 2012 +0900 Bug 50835 - Deprecate FC_GLOBAL_ADVANCE FC_GLOBAL_ADVANCE is deprecated. this flag is simply ignored on freetype 2.4.5 or later. conf.d/20-fix-globaladvance.conf | 28 ---------------------------- conf.d/Makefile.am | 2 -- doc/fontconfig-devel.sgml | 2 +- doc/fontconfig-user.sgml | 2 +- fontconfig/fontconfig.h | 1 + src/fcdefault.c | 1 + src/fcint.h | 2 +- src/fcname.c | 4 ++-- 8 files changed, 7 insertions(+), 35 deletions(-) commit 54fb7967de3850cf7176dde12432ed48c628ebea Author: Akira TAGOH Date: Mon Jun 11 20:15:15 2012 +0900 Bump version to 2.9.91 README | 81 ++++++++++++++++++++++++++++++++++++++++++++++- configure.in | 2 +- fontconfig/fontconfig.h | 2 +- 3 files changed, 82 insertions(+), 3 deletions(-) commit 0b20bd0281a2247a047ef388ea2c6c58614d7b1a Author: Mark Brand Date: Mon Jun 11 20:13:02 2012 +0900 fix building for WIN32 8c255fb185d5651b57380b0a9443001e8051b29d moved some code out of switch but did not declare 'buffer'. Also, replacing the "break" with "goto bail" neglected the WIN32 specific code. src/fcxml.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 101825a129aa1a025e91fd55124e973fcdb31f9e Author: Akira TAGOH Date: Mon Jun 11 18:43:56 2012 +0900 Generate bzip2-compressed tarball too Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit fdb1155035da677368f762d8fb24ad2f470a9813 Author: Akira TAGOH Date: Mon Jun 11 18:39:37 2012 +0900 doc: Fix distcheck error again... doc/Makefile.am | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit e8f16c9343f64266c3ec0048d867bfe23bdb6ec6 Author: Akira TAGOH Date: Mon Jun 11 17:48:12 2012 +0900 Bump libtool revision configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cf70eaa3bfa9b14847a1067295c5c0dc12c95e83 Author: Akira TAGOH Date: Fri Jun 8 19:41:59 2012 +0900 Bug 50525 - superfluous whitespace in the style src/fcfreetype.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit f4103bf708778433f5ea02014f890cdeccde206b Author: Akira TAGOH Date: Fri Jun 8 19:17:57 2012 +0900 fcdefault: Add the lang object at FcConfigSubstituteWithPat() only when kind is FcMatchPattern src/fccfg.c | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) commit 07e52eeb097a4e3c147e00ed7a6eb7652a611751 Author: Akira TAGOH Date: Fri Jun 8 15:54:48 2012 +0900 fcdefault: no need to set FC_LANG in FcDefaultSubstitute() anymore src/fcdefault.c | 4 ---- 1 file changed, 4 deletions(-) commit 550fd49d4fb8efab33d1fa1687b1b9bd352202fe Author: Akira TAGOH Date: Tue May 22 14:17:10 2012 +0900 Add the default language to the pattern prior to do build the substitution the default language is referred from the FC_LANG environment variable or the current locale src/fccfg.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 2261a64ce14d692f7c553f46e2158e70400dbc9c Author: Akira TAGOH Date: Fri Jun 8 15:47:52 2012 +0900 fcdefault: fallback if the environment variables are empty try to fallback if FC_LANG, LC_ALL, LC_CTYPE and LANG is empty src/fcdefault.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit bbc8fb5ba705e5257693f3b266fce12d2f81b50c Author: Akira TAGOH Date: Thu Mar 29 20:25:20 2012 +0900 Bug 32853 - Export API to get the default language Add a new API FcGetDefaultLangs() to export the string sets of the default languages. doc/fclangset.fncs | 9 +++ fc-lang/fc-lang.c | 6 ++ fontconfig/fontconfig.h | 3 + src/fcdefault.c | 102 ++++++++++-------------------- src/fcint.h | 6 ++ src/fclang.c | 159 +++++++++++++++++++++++++++++++++++++++++++++++ src/fcstr.c | 44 +++++++++++++ 7 files changed, 260 insertions(+), 69 deletions(-) commit 1b692d8ab91a096e7d433c51ab187382de91147b Author: Akira TAGOH Date: Fri Jun 1 19:06:17 2012 +0900 Fix the wrong estimation for the memory usage information in fontconfig fc-cat/fc-cat.c | 2 +- fc-list/fc-list.c | 2 +- fc-match/fc-match.c | 2 +- fc-pattern/fc-pattern.c | 2 +- fc-query/fc-query.c | 2 +- fc-scan/fc-scan.c | 2 +- src/fccfg.c | 12 ++++++++---- src/fcformat.c | 4 ++-- src/fcpat.c | 3 ++- src/fcstr.c | 3 +-- src/fcxml.c | 11 +++++++++-- 11 files changed, 28 insertions(+), 17 deletions(-) commit 5254a6630fdf132b0cda62c1bc7e8e40d2639bdf Author: Akira TAGOH Date: Thu May 31 12:46:55 2012 +0900 Fix a typo and polish the previous change src/fcstat.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit 4a741e9a0ab8dbaa0c377fbfed41547645ac79af Author: Akira TAGOH Date: Wed May 30 18:21:57 2012 +0900 Fix the build fail on Solaris It's introduced by 0ac6c98294d666762960824d39329459b22b48b7. Use lstat() and S_ISDIR() to check if it's the directory or not if there are no d_type in struct dirent. configure.in | 2 ++ src/fcstat.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 55 insertions(+), 8 deletions(-) commit 0ac6c98294d666762960824d39329459b22b48b7 Author: Mikhail Gusarov Date: Mon May 28 14:52:21 2012 +0900 Fix cache aging for fonts on FAT filesystem under Linux Windows does not update mtime of directory on FAT filesystem when file is added to it or removed from it. Fontconfig uses mtime of directory to check cache file aging and hence fails to detect newly added or recently removed files. This changeset detects FAT filesystem (currently implemented for Linux) and adds generating checksum of directory entries instead of using mtime which guarantees proper cache rebuild. For non-FAT filesystems this patch adds single syscall per directory which is negligeable overhead. This fixes bug https://bugs.freedesktop.org/show_bug.cgi?id=25535 Signed-off-by: Mikhail Gusarov src/fccache.c | 14 +++++----- src/fcdir.c | 2 +- src/fcint.h | 5 +++- src/fcstat.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 96 insertions(+), 9 deletions(-) commit dc2da23e69e6b3f6e6d0436d4777ee2c1d8ff1be Author: Akira TAGOH Date: Mon May 28 13:59:48 2012 +0900 Move statfs/statvfs wrapper to fcstat.c and add a test for the mtime broken fs just rework to share the efforts between FcIsFsMmapSafe() and FcIsFsMtimeBroken(). src/fccache.c | 50 +------------------------- src/fcint.h | 13 +++++++ src/fcstat.c | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 122 insertions(+), 49 deletions(-) commit 6a83c1ad40594530994b826d928312e9eeb19c35 Author: Mikhail Gusarov Date: Sun Apr 29 12:56:16 2012 +0200 Move FcStat to separate compilation unit FcStat() logic is quite complicated in presence of various semi-broken operating systems and filesystems, split it out in order to make it a bit easier. Signed-off-by: Mikhail Gusarov src/Makefile.am | 1 + src/fccache.c | 88 ----------------------------------------- src/fcint.h | 8 ++-- src/fcstat.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 122 insertions(+), 91 deletions(-) commit 26160366d7ba5c7baf20ae091d5dd0388714df83 Author: Akira TAGOH Date: Mon May 28 15:58:56 2012 +0900 fcatomic: fallback to create a directory with FcAtomicLock link(2) might be failed on the filesystem that doesn't support the hard link. e.g. FcAtomicLock() always fails on FAT filesystem when link(2) is available. So that may be a good idea to fallback if link(2) is failed. src/fcatomic.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 2837c63876b9b1f27d74aad51d45fc18d48f4652 Author: Akira TAGOH Date: Mon May 21 13:43:20 2012 +0900 Bug 33644 - Fontconfig doesn't match correctly in Warn if the multiple values is set to , including the case of in because the behavior isn't intuitive since so many users is asking for a help to get things working for their expectation. Use multiple s or es for OR operator and multiple s for AND operator. doc/fontconfig-user.sgml | 23 +++++++++++++++++++++++ src/fcxml.c | 5 +++++ 2 files changed, 28 insertions(+) commit 794fb0bd6a3fa91c6e03e51dc080e458b8960a55 Author: Akira TAGOH Date: Mon May 21 13:37:54 2012 +0900 Correct the example Enclose the string with in doc/fontconfig-user.sgml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 8c255fb185d5651b57380b0a9443001e8051b29d Author: Akira TAGOH Date: Mon Mar 12 19:18:19 2012 +0900 Bug 20411 - fontconfig doesn't match FreeDesktop directories specs Allows reading configuration files, fonts and cache files from the directories where the XDG Base Directory Specification defines. the old directories are still in the configuration files for the backward compatibility. conf.d/50-user.conf | 7 +- doc/fontconfig-user.sgml | 37 ++--- fonts.conf.in | 4 + fonts.dtd | 10 +- src/fccfg.c | 78 ++++++++++- src/fcinit.c | 20 ++- src/fcint.h | 11 ++ src/fcstr.c | 5 +- src/fcxml.c | 344 +++++++++++++++++++++++++++++----------------- 9 files changed, 366 insertions(+), 150 deletions(-) commit bc4517d8e5af8f31821ec8d9990765dad2867dd4 Author: Akira TAGOH Date: Wed Apr 11 19:52:35 2012 +0900 Bug 19128 - Handling whitespace in aliases Add a new attribute `ignore-blanks' to . When this is set to "true", any blanks in the string will be ignored on comparison. This takes effects for compare="eq" or "not_eq" only. Also changed the behavior of the comparison on too. conf.d/20-fix-globaladvance.conf | 8 ++++---- conf.d/20-unhint-small-vera.conf | 6 +++--- conf.d/25-unhint-nonlatin.conf | 30 +++++++++++++++--------------- conf.d/30-urw-aliases.conf | 7 +------ conf.d/65-fonts-persian.conf | 14 +++++++------- conf.d/80-delicious.conf | 2 +- doc/fontconfig-user.sgml | 3 ++- fonts.dtd | 1 + src/fccfg.c | 35 ++++++++++++++++++++++------------- src/fcdbg.c | 27 ++++++++++++++++++--------- src/fcint.h | 8 ++++++++ src/fclist.c | 2 +- src/fcxml.c | 24 ++++++++++++++++++++---- 13 files changed, 103 insertions(+), 64 deletions(-) commit 5ac12c0e94128ea63e3e74b4e602cf0c74661bce Author: Akira TAGOH Date: Thu May 10 16:47:09 2012 +0900 fcarch.c: get rid of the duplicate definition of FC_MAX FC_MAX is also available in src/fcint.h src/fcarch.c | 2 -- 1 file changed, 2 deletions(-) commit cc9d572d3e3d270653c994ff1269f56eb7ee1b1c Author: Akira TAGOH Date: Thu May 10 16:36:10 2012 +0900 fonts.conf: keeps same binding for alternatives Since the binding is affected to the score, the replacement should have same binding to avoid the unexpected estimation. fonts.conf.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d81407611b160ebfa631556ee60be147d1c0416f Author: Keith Packard Date: Tue May 1 19:28:27 2012 -0700 Deal with architectures where ALIGNOF_DOUBLE < 4 This patch isn't really tested as I don't have such a machine, but I have a bug report that on m68k machines, double values are aligned on smaller than 4 byte boundaries. If ALIGNOF_DOUBLE < sizeof(int), the "expected" sizeof of FcValue is miscomputed. Use the maximum of 4 (sizeof (int)) and ALIGNOF_DOUBLE when computing the expected size of FcValue. Signed-off-by: Keith Packard src/fcarch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e41474e925947b5a2fb64c80135bc116e9e56d2d Author: Keith Packard Date: Tue May 1 19:28:26 2012 -0700 Extra ',' in AC_ARG_WITH(arch causes arch to never be autodetected Commit 87d7b82a98780223422a829b6bb1a05fd753ae5e reformatted this part of the configure script, accidentally introducing a spurious comma. Signed-off-by: Keith Packard configure.in | 1 - 1 file changed, 1 deletion(-) commit d2718257f9aa3e6071f649296a52a22684c43e96 Author: Akira TAGOH Date: Tue May 1 20:18:41 2012 +0900 Output more verbose debugging log to show where to insert the element into the value list src/fccfg.c | 2 +- src/fcdbg.c | 79 ++++++++++++++++++++++++++++++++++++++++++----------------- src/fcint.h | 8 +++++- 3 files changed, 64 insertions(+), 25 deletions(-) commit 7d65f9f514e33305bdeafd0d34140da46259e57f Author: Akira TAGOH Date: Wed Apr 11 19:52:35 2012 +0900 Bug 39278 - make usage of mmap optional Stop using mmap() if the cache file is stored on NFS. also added FONTCONFIG_USE_MMAP environment variable to enforce the use of or not the use of mmap(2) regardless of what the filesystem the cache files are stored on. configure.in | 24 +++++++++++++-- doc/fontconfig-user.sgml | 20 +++++++++++- src/fccache.c | 77 ++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 116 insertions(+), 5 deletions(-) commit f30a5d7637af14b12f07267b59e02ec4a14458f2 Author: Akira TAGOH Date: Wed Apr 25 16:21:33 2012 +0900 Disable iconv support anyway... configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7587d1c99d9476b6dd4dbe523c0204da700fed8d Author: Akira TAGOH Date: Mon Mar 26 16:34:34 2012 +0900 Bug 27765 - FcMatch() returns style in wrong language Add "namelang" object to obtain the localized name in the font regardless of the lang object. it's applied to "familylang", "stylelang" and "fullnamelang" alltogether. this would helps if one wants to enforce selecting them in the specific language if any. the default value for the namelang object is determined from current locale. doc/fontconfig-devel.sgml | 3 ++ fontconfig/fontconfig.h | 1 + src/fcdefault.c | 37 ++++++++++++++- src/fcint.h | 3 +- src/fclist.c | 47 +++++++++++++++---- src/fcmatch.c | 113 ++++++++++++++++++++++++++++++++++++++------- src/fcname.c | 1 + 7 files changed, 178 insertions(+), 27 deletions(-) commit 526f0da93fc487e9b33a4d97386a9054156d01ac Author: Akira TAGOH Date: Tue Apr 24 11:40:51 2012 +0900 Add --enable-iconv option to configure Disable iconv support by default, which provide a feature to convert non-Unicode SFNT names to UTF-8. configure.in | 64 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 34 insertions(+), 30 deletions(-) commit 06d6b7c3120cd417af5ff47e9735aed577978354 Author: Akira TAGOH Date: Wed Mar 28 17:28:06 2012 +0900 Create CACHEDIR.TAG when fc-cache is run or only when the cache directory is created at the runtime. Also add FcCacheCreateTagFile() API to do create CACHEDIR.TAG on the cache directory. doc/fccache.fncs | 9 +++++ doc/fcconfig.fncs | 2 +- fc-cache/fc-cache.c | 73 +--------------------------------------- fontconfig/fontconfig.h | 5 ++- src/fccache.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++ src/fccfg.c | 2 +- src/fcint.h | 3 ++ 7 files changed, 104 insertions(+), 75 deletions(-) commit 25ccc3f3d27d8affd45c4b0a8041ef757dbb20dd Author: Akira TAGOH Date: Fri Apr 20 19:08:59 2012 +0900 Bug 47721 - Add ChromeOS fonts to 30-metric-aliases.conf conf.d/30-metric-aliases.conf | 50 ++++++++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 11 deletions(-) commit 7069d717e982adcf8e1d300cbd10eec6322a65c9 Author: Akira TAGOH Date: Sun Apr 22 21:40:44 2012 +0900 C++11 requires a space between literal and identifier Reported by Buganini fontconfig/fontconfig.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22dc5460906f78b3dc1b12ab2440e62b930adf0b Author: Akira TAGOH Date: Fri Apr 20 20:04:17 2012 +0900 Fix a build issue again when no regex functions available Reported by Jon TURNEY configure.in | 4 +--- src/fcstr.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) commit 9fa7b7c8f2d1d8a9c50f3ba0f99087f653b6a9b8 Author: Akira TAGOH Date: Fri Apr 20 11:17:41 2012 +0900 Rework to avoid adding the unexpected value to ICONV_CFLAGS and ICONV_LIBS configure.in | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) commit dd2a3d3520b6fea20a58b2888fef0458c01b287f Author: Akira TAGOH Date: Wed Apr 18 12:55:23 2012 +0900 Bug 25151 - Move cleanCacheDirectory() from fc-cache.c into the library Add FcDirCacheScan() API to clean up the cache files in the directory. doc/fccache.fncs | 9 +++++ fc-cache/fc-cache.c | 93 +---------------------------------------------- fontconfig/fontconfig.h | 3 ++ src/fccache.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++ src/fcint.h | 2 + 5 files changed, 106 insertions(+), 92 deletions(-) commit 9e62fcedfe774a13843cc0982bc3e535369b99eb Author: Keith Packard Date: Mon Apr 16 11:28:36 2012 -0700 Use posix_fadvise to speed startup Given that fontconfig will scan all of the cache file data during the first font search, ask the kernel to start reading the pages right away. Signed-off-by: Keith Packard configure.in | 2 +- src/fccache.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) commit 94c2cc58a091138aa8c507d6239eca69520b65f0 Author: Akira TAGOH Date: Mon Apr 16 20:25:52 2012 +0900 doc: Fix a typo of the environment variable name. doc/fcconfig.fncs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c5714bcf90d6b345e748b7fa7b21e421409aba60 Author: Akira TAGOH Date: Fri Apr 13 11:09:04 2012 +0900 Add --with-expat, --with-expat-includes and --with-expat-lib back. configure.in | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) commit 470e92c9dbdc75d354c9dce9063276996ecf535d Author: Akira TAGOH Date: Thu Apr 12 14:01:25 2012 +0900 Bug 27526 - Compatibility fix for old windows sytems Patch from Gianluigi Tiesi src/fccache.c | 3 --- src/fcint.h | 12 ++++++++++-- src/fcxml.c | 52 +++++++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 53 insertions(+), 14 deletions(-) commit ac6271dbac32086ce60845efc4d87e669f37796a Author: Akira TAGOH Date: Thu Apr 12 11:01:12 2012 +0900 Bug 48573 - platform without regex do not have also REG_XXX defines Fix a build issue on the platforms where regex isn't available configure.in | 9 +++++++++ src/fcstr.c | 6 ++++-- 2 files changed, 13 insertions(+), 2 deletions(-) commit 9231d79ad180f992f9bbef4f3127576870a75075 Author: Akira TAGOH Date: Mon Apr 9 12:51:12 2012 +0900 Bug 28491 - Allow matching on FC_FILE Allow :file=/path/to/font/file on matching configure.in | 4 +-- src/fcint.h | 6 +++++ src/fcmatch.c | 84 +++++++++++++++++++++++++++++++++++---------------------- src/fcstr.c | 50 ++++++++++++++++++++++++++++++++++ 4 files changed, 110 insertions(+), 34 deletions(-) commit 2589207cfd4c7e948a4b50d7c07c13a3a52fe0aa Author: Akira TAGOH Date: Tue Apr 10 18:34:11 2012 +0900 Bug 26830 - Add search for libiconv non-default directory Add --with-libiconv, --with-libiconv-includes and --with-libiconv-lib to specify the directory where libiconv might be installed. configure.in | 85 ++++++++++++++++++++++++++++++++++++++++--------------- src/Makefile.am | 1 + 2 files changed, 63 insertions(+), 23 deletions(-) commit ddefa5021f7785514f373aab6a8e6191a867278e Author: Akira TAGOH Date: Wed Apr 4 14:47:57 2012 +0900 Bug 22862 - ignores s Allow to use the test elements in the alias element. fonts.dtd | 2 +- src/fcxml.c | 27 +++++++++++++++++++++------ 2 files changed, 22 insertions(+), 7 deletions(-) commit e181ab4de5d20fe1f70e68f66ef8332553eba206 Author: Akira TAGOH Date: Wed Apr 4 16:49:30 2012 +0900 Bug 29341 - Make some fontconfig paths configurable Add configure options to set the directory to be installed: --with-templatedir for the configuration files a.k.a. /etc/fonts/conf.avail --with-baseconfigdir for fonts.conf etc a.k.a. /etc/fonts --with-configdir for the active configuration files a.k.a. /etc/fonts/conf.d --with-xmldir for fonts.dtd etc and the default path for templatedir is changed to ${datadir}/fontconfig/conf.avail Makefile.am | 36 ++++++++++--------- conf.d/Makefile.am | 99 +++++++++++++++++++++++++--------------------------- configure.in | 72 +++++++++++++++++++++++++++++++------- fonts.conf.in | 2 +- src/Makefile.am | 2 +- 5 files changed, 129 insertions(+), 82 deletions(-) commit bb02899d9ff9813738809fb5349a9f3ae2dba76f Author: Akira TAGOH Date: Mon Apr 2 15:38:27 2012 +0900 Use pkgconfig to check builddeps configure.in | 164 +++++++++++----------------------------------------------- 1 file changed, 31 insertions(+), 133 deletions(-) commit 87d7b82a98780223422a829b6bb1a05fd753ae5e Author: Akira TAGOH Date: Mon Apr 2 14:32:44 2012 +0900 Use AC_HELP_STRING instead of formatting manually configure.in | 57 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 11 deletions(-) commit d3e3f4a46d07a7b611be21600d7049225b8b2909 Author: Akira TAGOH Date: Fri Mar 30 18:09:14 2012 +0900 doc: Add contains and not_contains operators and elements doc/fontconfig-user.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9279f71a3a855e3b2dbd13dbe0d38f2b69673c49 Author: Akira TAGOH Date: Fri Mar 30 11:52:25 2012 +0900 Bug 24729 - [ne_NP] Fix ortho file further update for ne.orth Patch from Pravin Satpute. fc-lang/ne.orth | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) commit 9fe7c986c64d8cfb7f85a300b6f0d470ce66b18a Author: Akira TAGOH Date: Thu Mar 29 15:43:11 2012 +0900 Bug 48020 - Fix for src/makealias on Solaris 10 Use the command substitution `command` instead of $(command) for Solaris 10. src/makealias | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit becbdaebe3d77726900072de1a0fb6a95c938da5 Author: Akira TAGOH Date: Wed Mar 28 15:09:25 2012 +0900 Move workaround macros for fat binaries into the separate header file Makefile.am | 5 +++-- config-fixups.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ configure.in | 4 +++- src/fcarch.h | 13 ------------- 4 files changed, 50 insertions(+), 16 deletions(-) commit fe6ba5e5c54928adeaf96668d0cf6f44f0484065 Author: Akira TAGOH Date: Wed Mar 28 16:27:46 2012 +0900 Fix the hardcoded cache file suffix fc-cat/fc-cat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4a060729a1466186d3be63ada344f43d66f937e5 Author: Akira TAGOH Date: Wed Mar 28 13:38:53 2012 +0900 fcpat: Increase the number of buckets in the shared string hash table This is a reasonably conservative increase in the number of buckets in the hash table to 251. After FcInit(), there are 240 shared strings in use on my system (from configuration files I assume). The hash value is stored in each link in the chains so comparison are actually not very expensive. This change should reduce the average length of chains by a factor of 8. With the reference counted strings, it should keep the average length of chains to about 2. The number of buckets is prime so as not to rely too much on the quality of the hash function. https://bugs.freedesktop.org/show_bug.cgi?id=17832#c5 Patch from Karl Tomlinson src/fcpat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d8dcff7b96b09748e6f1df9e4adc7ab0850d7b18 Author: Akira TAGOH Date: Wed Mar 28 13:37:15 2012 +0900 Bug 17832 - Memory leaks due to FcStrStaticName use for external patterns Use the reference-counted strings instead of the static strings Patch from Karl Tomlinson src/fccfg.c | 2 +- src/fcinit.c | 4 ++-- src/fcint.h | 10 +++++----- src/fclist.c | 10 +++++++++- src/fcname.c | 34 ++++++++----------------------- src/fcpat.c | 63 ++++++++++++++++++++++------------------------------------ src/fcxml.c | 8 +++++--- 7 files changed, 54 insertions(+), 77 deletions(-) commit ea1c6ea337b8cf6b86169b565787d0d31a0fc330 Author: Akira TAGOH Date: Tue Mar 27 21:06:36 2012 +0900 Fix a memory leak in FcDirScanConfig() src/fcdir.c | 3 +++ 1 file changed, 3 insertions(+) commit 1aaf8b773d73f89f5b0d8591cca0a2072524fdb3 Author: Akira TAGOH Date: Mon Mar 26 10:58:18 2012 +0900 Bug 17722 - Don't overwrite user's configurations in default config Use "append" to avoid overwriting the user configuration. This presumes most clients may takes care of the first value only. conf.d/10-autohint.conf | 8 +++++++- conf.d/10-no-sub-pixel.conf | 8 +++++++- conf.d/10-sub-pixel-bgr.conf | 8 +++++++- conf.d/10-sub-pixel-rgb.conf | 8 +++++++- conf.d/10-sub-pixel-vbgr.conf | 8 +++++++- conf.d/10-sub-pixel-vrgb.conf | 8 +++++++- conf.d/10-unhinted.conf | 8 +++++++- conf.d/11-lcdfilter-default.conf | 8 +++++++- conf.d/11-lcdfilter-legacy.conf | 8 +++++++- conf.d/11-lcdfilter-light.conf | 8 +++++++- 10 files changed, 70 insertions(+), 10 deletions(-) commit 900675d0b0b40f22ecc0d75e4d5ce16295a3a5e3 Author: Akira TAGOH Date: Thu Mar 22 19:57:47 2012 +0900 Bug 47703 - SimSun default family 40-nonlatin.conf: SimSun should be serif but not sans-serif. http://www.microsoft.com/typography/fonts/family.aspx?FID=37 Patch from Petr Gajdos conf.d/40-nonlatin.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 92ac054ce5e270f22a4f81a09522c3f03b76c876 Author: Akira TAGOH Date: Thu Mar 22 19:15:27 2012 +0900 fcmatch: Set FcResultMatch at the end if the return value is valid. In the previous code, the result of 'result' in the argument for FcFontSetSort() and FcFontSetMatch() wasn't predictable and not reliable to check if the return value is valid or not. this change is to ensure if it's performed successfully. src/fcmatch.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) commit 1db3e9cdd8bc7408e630934cfc8deda7798b8970 Author: Akira TAGOH Date: Thu Mar 22 12:36:34 2012 +0900 fc-cache: improvement of the fix for Bug#39914. Use sizeof() instead of strlen() and use stdio. fc-cache/fc-cache.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 4f7f3bf9f78843be5b39eb64acfeb02ffcd8e3a4 Author: Akira TAGOH Date: Wed Mar 21 16:06:37 2012 +0900 Bug 39914 - Please tag the cache directory with CACHEDIR.TAG fc-cache: Create CACHEDIR.TAG at the top of the cache directory. Reviewed-by: Josh Triplett fc-cache/fc-cache.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) commit 8cc4498122b17843b00ec3eebdd7a7d8d59cb7ff Author: Jeremy Huddleston Date: Mon Mar 19 02:16:41 2012 -0700 fcarch: Check for architecture signature at compile time rather than configure time https://bugs.freedesktop.org/show_bug.cgi?id=20208 Signed-off-by: Jeremy Huddleston fc-cache/fc-cache.c | 3 +-- src/fcarch.c | 4 ++-- src/fcarch.h | 23 +++++++++++++++++++++-- 3 files changed, 24 insertions(+), 6 deletions(-) commit e1ffb3dcd46f1fbbc5cb7527bc7f447b060ed98f Author: Akira TAGOH Date: Fri Mar 16 23:18:23 2012 +0900 Get rid of the prerequisites from the sufix rules Thanks to Adam Sampson for pointing this out. doc/Makefile.am | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 93460f93e9e55e39a42fb6474918f31539436d9c Author: Akira TAGOH Date: Fri Mar 16 16:29:53 2012 +0900 Fix a build issue due to the use of non-portable variables $< isn't supported in BSD make say. $(RM) is pre-defined in GNU make though, not in BSD make say. so changed to check on configure if it's pre-defined by make, otherwise set the appropriate command to $(RM). This would be a workaround until it has the certain pre-defined value. Makefile.am | 10 +++++----- conf.d/Makefile.am | 8 ++++---- configure.in | 9 +++++++++ doc/Makefile.am | 32 ++++++++++++++++---------------- fc-cache/Makefile.am | 4 ++-- fc-case/Makefile.am | 6 ++---- fc-cat/Makefile.am | 4 ++-- fc-list/Makefile.am | 4 ++-- fc-match/Makefile.am | 4 ++-- fc-pattern/Makefile.am | 4 ++-- fc-query/Makefile.am | 4 ++-- fc-scan/Makefile.am | 4 ++-- src/Makefile.am | 8 ++++---- 13 files changed, 54 insertions(+), 47 deletions(-) commit f2813ffc689fb6972ff4d5d414c3abfa3e0be26f Author: Akira TAGOH Date: Fri Mar 16 11:55:47 2012 +0900 Revert "Fix a build fail on some environment" This reverts commit b75eb63982a54c0fb4576d8a655ef734908d3604. fc-case/Makefile.am | 10 ++++++---- fc-glyphname/Makefile.am | 4 ++-- fc-lang/Makefile.am | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) commit a5b609196fe9cf688e5b4f7b7cd31fb2dc15b154 Author: Akira TAGOH Date: Fri Mar 16 11:55:30 2012 +0900 Revert "Fix a build fail on some environment." This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af. Conflicts: doc/Makefile.am Makefile.am | 2 +- doc/Makefile.am | 30 +++++++++++++++--------------- fc-cache/Makefile.am | 10 +++++----- fc-case/Makefile.am | 2 +- fc-cat/Makefile.am | 6 +++--- fc-glyphname/Makefile.am | 2 +- fc-lang/Makefile.am | 2 +- fc-list/Makefile.am | 8 ++++---- fc-match/Makefile.am | 8 ++++---- fc-pattern/Makefile.am | 6 +++--- fc-query/Makefile.am | 8 ++++---- fc-scan/Makefile.am | 8 ++++---- src/Makefile.am | 2 +- 13 files changed, 47 insertions(+), 47 deletions(-) commit 765b7b32d862474eb631b47bbdbd34ffba507392 Author: Akira TAGOH Date: Mon Mar 12 19:02:27 2012 +0900 [doc] Update for cachedir. element is now obsoletes and no longer used. get rid of it from the doc and add instead. doc/fontconfig-user.sgml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit e8bdc6df2ed329a38c2152b3592bf4ded8f27ce7 Author: Akira TAGOH Date: Mon Mar 12 17:58:00 2012 +0900 [doc] Update the path for cache files and the version. doc/fontconfig-user.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)