commit a919700fbde28c29ccdb1d2a8bceba80ade19e73 Author: Akira TAGOH Date: Mon Jun 10 20:37:03 2019 +0900 Bump version to 2.13.91 README | 106 +++++++++++++++++++++++++++++++++++++++++++++++- configure.ac | 2 +- fontconfig/fontconfig.h | 2 +- 3 files changed, 106 insertions(+), 4 deletions(-) commit 66b0af41b81c5f0db1a8f952beaaada95e221d14 Author: Akira TAGOH Date: Mon Jun 10 10:57:05 2019 +0000 Fix endianness on generating MD5 cache name src/fccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f729bc63d83c8e9068ff1c031a363b624dea1bb7 Author: Akira TAGOH Date: Thu Jun 6 10:50:31 2019 +0000 Fix a typo in the description of FcWeightFromOpenTypeDouble doc/fcweight.fncs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f40b203b3e28f253bfe4976ab571278cd19437d7 Author: Akira TAGOH Date: Mon Jun 3 07:08:44 2019 +0000 Correct the comment for FC_LANG in fontconfig.h fontconfig/fontconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c336b8471877371f0190ba06f7547c54e2b890ba Author: Akira TAGOH Date: Thu May 9 07:10:11 2019 +0000 fc-validate: returns an error code when missing some glyphs Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/154 fc-validate/fc-validate.c | 1 + 1 file changed, 1 insertion(+) commit a305e988b77b61398cd7806ec7b6f8de098f54c8 Author: Akira TAGOH Date: Wed May 8 05:18:43 2019 +0000 Update CaseFolding.txt to Unicode 12.1 fc-case/CaseFolding.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit fd2e155665ea2c69cd8014962061349a0cc794e6 Author: Jon Turney Date: Mon Apr 15 20:01:22 2019 +0100 Only use test wrapper-script if host is MinGW Currently it fails if the executable extension is .exe, but wine isn't available (e.g. on Cygwin) Possibly the check to use this wrapper should be even more restrictive e.g. checking if cross-building and/or if wine is available. test/Makefile.am | 3 +++ test/run-test.sh | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) commit d28681af2ace90e80bed440d126e98f76cd086f3 Author: Akira TAGOH Date: Mon Apr 15 09:03:57 2019 +0000 Distribute archive in xz instead of bz2 Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/151 .gitlab-ci.yml | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit faa11fb642d046e9aecde6d1385b8e6c14ec6055 Author: Akira TAGOH Date: Thu Apr 4 12:14:20 2019 +0000 Update the test case that is looking for uuid based on host test/run-test.sh | 56 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 32 insertions(+), 24 deletions(-) commit 76e899700bdc0443807f7e0170d3c1aa6da1b84b Author: Akira TAGOH Date: Thu Apr 4 11:57:13 2019 +0000 No need to remap for uuid based src/fccache.c | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) commit 7f61838435ed3e3f8c19c593e9e646d221128df8 Author: Akira TAGOH Date: Thu Apr 4 10:59:47 2019 +0000 Fallback uuid-based name to read a cache if no MD5-based cache available src/fccache.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- test/run-test.sh | 25 +++++++++++++++- 2 files changed, 113 insertions(+), 3 deletions(-) commit 13d2a47d79a4ec4d3bc48aeb89dd9c899468152e Author: Akira TAGOH Date: Thu Apr 4 06:47:34 2019 +0000 Fix unexpected cache name by double-slash in path src/fccfg.c | 16 +++++++++------- test/run-test.sh | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 7 deletions(-) commit faec0b51db6ef935929a95b289524abac062be8c Author: Akira TAGOH Date: Thu Apr 4 05:04:17 2019 +0000 Don't show salt in debugging message if salt is null src/fccfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 91114d18c3435e4bffe1812eb03ffe5efa8543d7 Author: Akira TAGOH Date: Wed Apr 3 04:48:42 2019 +0000 Allow overriding salt with new one coming later src/fcint.h | 3 +++ src/fcstr.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) commit 791762d8b7108f692b8643a208825f5ba3aa7a72 Author: Akira TAGOH Date: Tue Apr 2 11:03:16 2019 +0000 fc-cache: Show font directories to generate cache with -v fc-cache/fc-cache.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit d1acc73f23205e63be791c9f21eba917d292c541 Author: Akira TAGOH Date: Tue Apr 2 10:25:46 2019 +0000 Oops, Terminate string src/fccache.c | 1 + 1 file changed, 1 insertion(+) commit fc9f706ecb71b2625487138e6f7424d8c2cee761 Author: Akira TAGOH Date: Tue Apr 2 10:00:17 2019 +0000 Add some debugging output src/fccache.c | 18 ++++++++++++++---- src/fccfg.c | 15 +++++++++++++++ 2 files changed, 29 insertions(+), 4 deletions(-) commit cb1df8cb28d6ae34726cf7c3fd0142847431c7bb Author: Akira TAGOH Date: Tue Apr 2 09:37:49 2019 +0000 Don't warn if path can't be converted with prefix src/fcxml.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 34791c32f19a3abc6a3dd2000d28202b80a882f9 Author: Akira TAGOH Date: Tue Mar 26 05:07:34 2019 +0000 Don't share fonts and cache dir for testing There seems a race condition on CI. so create an unique directory to avoid colision. test/run-test.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 0950f248e031865e0abe8dad4c974ea426e159b2 Author: Akira TAGOH Date: Mon Mar 25 20:00:15 2019 +0900 Add more data to artifacts for debugging purpose .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ad3f335ccfeceb8595ae9e30bde901a732b9dd51 Author: Akira TAGOH Date: Mon Mar 25 10:58:15 2019 +0000 Fix make check fail on MinGW again src/fcxml.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit 8e2c85fe81020b3703e37a127ccc85625350a12d Author: Akira TAGOH Date: Mon Mar 25 17:39:16 2019 +0900 Use alternative function for realpath on Win32 src/fccfg.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit b1bcc0cbb258d3b697147c80c410e8df6843f376 Author: Akira TAGOH Date: Mon Mar 25 16:17:33 2019 +0900 Fix build issues on MinGW src/fcxml.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9177cf2c3814f1f23fe207d4be3876111d272d60 Author: Akira TAGOH Date: Mon Mar 25 15:52:02 2019 +0900 Add back if !OS_WIN32 line test/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit a39f30738d6688888a6e19d08ddaaf8928d563e1 Author: Akira TAGOH Date: Fri Feb 1 06:41:51 2019 +0000 trivial testcase update test/run-test-conf.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 4ff52ffb52dc9eb9b12aee21c4b897206c28d457 Author: Akira TAGOH Date: Fri Feb 1 06:41:38 2019 +0000 Update doc for salt doc/fontconfig-user.sgml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 2e8ce63514b06590d36d9bf5c332ff83fb72791a Author: Akira TAGOH Date: Thu Jan 31 10:17:47 2019 +0000 Add salt attribute to dir and remap-dir elements 'salt' attribute affects a cache filename to generate different name from directory name. This is useful when sharing caches with host on sandbox and/or give a filename differently: /usr/share/fonts /run/host/fonts Applications can read caches as-is for fonts on /run/host/fonts where is mounted from host. and write a cache for their own fonts on /usr/share/fonts with different name. src/fccache.c | 15 ++++++++++++++- src/fccfg.c | 29 +++++++++++++++++++++++++---- src/fcint.h | 18 +++++++++++++----- src/fcstr.c | 32 ++++++++++++++++++++++++-------- src/fcxml.c | 10 ++++++---- test/run-test.sh | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 129 insertions(+), 22 deletions(-) commit def1d00036a4e828382027292a167203c6c7a0b4 Author: Akira TAGOH Date: Thu Jan 31 07:52:09 2019 +0000 Add reset-dirs element This element removes all of fonts directories where added by dir elements. it is useful to override fonts dirs from system to their own dirs only. conf.d/05-reset-dirs-sample.conf | 9 +++++++++ conf.d/Makefile.am | 1 + doc/fontconfig-user.sgml | 4 ++++ fonts.dtd | 6 ++++++ src/fccfg.c | 6 ++++++ src/fcint.h | 6 ++++++ src/fcstr.c | 16 ++++++++++++++++ src/fcxml.c | 15 +++++++++++++++ 8 files changed, 63 insertions(+) commit 5e46f1545100f12ee1daaa41bccc6c3914bd2d83 Author: Akira TAGOH Date: Thu Jan 31 07:10:41 2019 +0000 Fix a typo fonts.dtd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit acc017e67210ee6d8fed7ffd41a1f55fe04d056b Author: Akira TAGOH Date: Tue Jan 29 07:55:22 2019 +0000 Drop unnecessary line to include uuid.h src/fchash.c | 3 --- 1 file changed, 3 deletions(-) commit 635921e64d074ce5c7b8ca4a6f535241a2b8c75f Author: Akira TAGOH Date: Tue Jan 29 07:49:22 2019 +0000 Update deps to run CI .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 916cf6caa3d754f4d267eb1fc3cede9c86aa4e15 Author: Akira TAGOH Date: Tue Jan 29 07:03:58 2019 +0000 Update testcase test/Makefile.am | 2 +- test/fonts.conf.in | 3 ++- test/run-test.sh | 10 ++++++++-- test/test-d1f48f11.c | 2 ++ test/test-issue110.c | 2 ++ 5 files changed, 15 insertions(+), 4 deletions(-) commit 2e09c62ba1ff3477b4c64d4721337b62024832c8 Author: Akira TAGOH Date: Tue Jan 29 07:02:37 2019 +0000 Trim the last slash This fixes MD5 wrongly generated. src/fccfg.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit a563a1802ef930374f88e6c7198e1b5ffe7582dd Author: Akira TAGOH Date: Mon Jan 28 09:59:29 2019 +0000 Add new element remap-dir instead of extending dir element doc/fontconfig-user.sgml | 15 +-- fonts.dtd | 11 +- src/fcxml.c | 279 ++++++++++++++++++++++++++++------------------- 3 files changed, 184 insertions(+), 121 deletions(-) commit 9d3fb5b38563300e0e31bf7f99f723309ec6316a Author: Akira TAGOH Date: Mon Jan 28 09:40:21 2019 +0000 Fix make check fail on run-test-conf.sh test/test-conf.c | 1 + 1 file changed, 1 insertion(+) commit 500e77a01d00471900755d96ba6ad236d916947a Author: Akira TAGOH Date: Mon Jan 28 04:47:16 2019 +0000 Drop a line to include uuid.h src/fccache.c | 2 -- 1 file changed, 2 deletions(-) commit 04f75fce0bd060b780af6d05314852be6df27216 Author: Akira TAGOH Date: Mon Jan 28 04:44:31 2019 +0000 Add FcDirCacheCreateUUID doc back to pass make check doc/fccache.fncs | 11 +++++++++++ 1 file changed, 11 insertions(+) commit c4324f54ee16e648ba91f3e9c66af13ab3b1754c Author: Keith Packard Date: Mon Oct 29 16:39:05 2018 -0700 Replace UUID file mechanism with per-directory 'map' attribute [v2] The UUID files would be placed in each font directory to provide the unique cache name, independent of path, for that directory. The UUID files are undesireable for a couple of reasons: 1) They must be placed in the font directories to be useful. This requires modifying the font directories themselves, introducing potential visible timestamp changes when running multiple applications, and makes the cache processing inconsistent between applications with permission to write to the font directories and applications without such permission. 2) The UUID contents were generated randomly, which makes the font cache not reproducible across multiple runs. One proposed fix for 2) is to make the UUID dependent on the font directory path, but once we do that, we can simply use the font directory path itself as the key as the original MD5-based font cache naming mechanism did. The goal of the UUID file mechanism was to fix startup time of flatpaks; as the font path names inside the flatpak did not match the font path names in the base system, the font cache would need to be reconstructed the first time the flatpak was launched. The new mechanism for doing this is to allow each '' element in the configuration include a 'map' attribute. When looking for a cache file for a particular directory, if the directory name starts with the contents of the element, that portion of the name will be replaced with the value of the 'map' attribute. Outside of the flatpak, nothing need change -- fontconfig will build cache files using real directory names. Inside the flatpak, the custom fonts.conf file will now include mappings such as this: /run/host/fonts When scanning the directory /run/host/fonts/ttf, fontconfig will use the name /usr/share/fonts/ttf as the source for building the cache file name. The existing FC_FILE replacement code used for the UUID-based implementation continues to correctly adapt font path names seen by applications. v2: Leave FcDirCacheCreateUUID stub around to avoid removing public API function. Document 'map' attribute of element in fontconfig-user.sgml Suggested-by: Akira TAGOH Signed-off-by: Keith Packard configure.ac | 33 -------- doc/fccache.fncs | 14 ---- doc/fontconfig-user.sgml | 8 +- fc-cache/fc-cache.c | 1 - fonts.dtd | 1 + src/Makefile.am | 3 +- src/fccache.c | 210 ++++------------------------------------------- src/fccfg.c | 80 +++++++++++------- src/fcdir.c | 1 - src/fchash.c | 17 ---- src/fcint.h | 18 +++- src/fcstr.c | 76 +++++++++++++++++ src/fcxml.c | 5 +- test/Makefile.am | 2 +- test/fonts.conf.in | 2 +- test/run-test-map.sh | 107 ++++++++++++++++++++++++ test/run-test.sh | 2 + 17 files changed, 280 insertions(+), 300 deletions(-) commit 4cde12bfda1316e6d5464a2d9607d15322ef8024 Author: Keith Packard Date: Mon Oct 29 16:25:13 2018 -0700 Remove UUID-related tests Remove test-hash Remove UUID tests from run-test.sh Signed-off-by: Keith Packard test/Makefile.am | 6 -- test/run-test.sh | 80 ++---------------------- test/test-hash.c | 186 ------------------------------------------------------- 3 files changed, 5 insertions(+), 267 deletions(-) commit a8c4fc5e1f2c4215544aff004d42f235d7e9d14f Author: Keith Packard Date: Mon Oct 29 16:36:11 2018 -0700 Add delays to test-bz106632, check UptoDate separately On a file system with one-second time stamps, extra delays are needed between cache modification operations to ensure that fontconfig isn't fooled. And, when the timestamps are checked correctly, we need to make sure that FcConfigUptoDate returns false whenever we change a font directory, so separate that out from the call to reinitialize the core config. Signed-off-by: Keith Packard test/test-bz106632.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) commit 2a81aa51f08085c81666f40f34068f2c6512e974 Author: Keith Packard Date: Mon Oct 29 16:26:11 2018 -0700 Remove '-u' option from run-test-conf.sh This causes a failure when evaluating $OSTYPE on systems which do not set that variable (everything but Msys/MinGW) Signed-off-by: Keith Packard test/run-test-conf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 67e9c12c5a85e4ee95eb8576d094988d1c765c44 Author: Keith Packard Date: Mon Oct 29 17:00:28 2018 -0700 Fetch FONTCONFIG_SYSROOT in FcConfigCreate This saves the value of FONTCONFIG_SYSROOT in the config instead of having to call getenv every time we need this value. This also uses 'realpath' to construct a canonical path to sysroot, eliminating symlinks and relative path names. Signed-off-by: Keith Packard src/fccfg.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit 97fa77d27facc6a31486fdca5b3b853c591f792c Author: Akira TAGOH Date: Wed Apr 3 11:49:42 2019 +0000 Reset errno to do error handling properly This fixes the weird behavior when running with SOURCE_DATE_EPOCH=0: Fontconfig: SOURCE_DATE_EPOCH: strtoull: No such file or directory: 0 src/fccache.c | 1 + 1 file changed, 1 insertion(+) commit 809f040bc367763ceaec69568a867bbef2fee926 Author: Akira TAGOH Date: Sat Mar 23 07:19:08 2019 +0000 Don't test bind-mount thing for MinGW test/run-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4cb490b0b9247b95e78470aa35657bc1ba0f457c Author: Akira TAGOH Date: Sat Mar 23 07:05:23 2019 +0000 Install wine for CI on MinGW .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 73b300dc7c31dfbb6ec3638fde109033bb9785a4 Author: Akira TAGOH Date: Sat Mar 23 06:57:19 2019 +0000 Correct configure option to cross-compile .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 33b372e20f6f9fd7d41fbb6dded1c703bae22403 Author: Akira TAGOH Date: Sat Mar 23 06:49:32 2019 +0000 Update requirement for gettext configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 92caab9c769488cce3a720b85e38252f3dadd63c Author: Akira TAGOH Date: Sat Mar 23 06:27:39 2019 +0000 Fix make distcheck error test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 10e13fc748aa75a7ba7d67b1cf3baec47bd9cbc8 Author: Akira TAGOH Date: Fri Mar 22 07:58:04 2019 +0000 Add build test for MinGW .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit f6810ede6010da394f60e8425030901e235d2a77 Author: Akira TAGOH Date: Fri Mar 22 07:45:09 2019 +0000 Fix make check on cross-compiled env test/Makefile.am | 5 +++++ test/run-test.sh | 10 ++++++++-- test/test-d1f48f11.c | 18 ++++++++++++++++++ test/test-issue107.c | 18 ++++++++++++++++++ test/test-issue110.c | 18 ++++++++++++++++++ test/wrapper-script.sh | 13 +++++++++++++ 6 files changed, 80 insertions(+), 2 deletions(-) commit 98099ffc9f1c3fd195075d5d48617ccb73940470 Author: Akira TAGOH Date: Fri Mar 22 07:41:32 2019 +0000 Ifdef'ed unnecessary code for Win32 Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/147 src/fccache.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 8a9435958ac709ca81ef0e517b9242958afcd6b2 Author: Akira TAGOH Date: Fri Mar 22 07:40:24 2019 +0000 autogen.sh: Make AUTORECONF_FLAGS overwritable autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b0c093a6a925b71a099f8f4b489d83572c77afe Author: Akira TAGOH Date: Tue Mar 19 17:57:09 2019 +0900 Fix build issue on Win32. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/148 test/test-bz106632.c | 5 +++++ 1 file changed, 5 insertions(+) commit 3eca37c1e515c2967d8a637efa2a7a322842376f Author: Akira TAGOH Date: Fri Mar 15 18:51:47 2019 +0900 Fix misleading summary in docs for FcStrStrIgnoreCase Reported by Jonathan Kew Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/146 doc/fcstring.fncs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dba84600e1485000f358d8259b92721cf7066034 Author: Akira TAGOH Date: Tue Sep 25 19:20:35 2018 +0900 Add system-ui generic family The generic family of 'system-ui' name is being proposed in a draft of next CSS Fonts. This would be nice to support in fontconfig too. https://www.w3.org/TR/css-fonts-4/ conf.d/40-nonlatin.conf | 100 ++++++++++++++++++++++++++++++++++++++++++++++++ conf.d/45-latin.conf | 23 +++++++++++ conf.d/60-latin.conf | 13 +++++++ conf.d/65-nonlatin.conf | 33 ++++++++++++++++ fonts.conf.in | 11 ++++++ 5 files changed, 180 insertions(+) commit 40e27f5d989ef4e40d218624de0a51de3de43177 Author: Ben Wagner Date: Tue Feb 19 00:40:32 2019 +0000 Better document sysroot. All non trivial users of FontConfig must use FcConfigGetSysRoot to resolve file properties in patterns. In order to support sysroot the filename in the file property must be relative to the sysroot, but the value of the file property in a pattern is directly exposed, making it impossible for FontConfig to resolve the filename itself transparently. doc/fcconfig.fncs | 15 ++++++++++----- doc/fontconfig-devel.sgml | 1 + 2 files changed, 11 insertions(+), 5 deletions(-) commit 586e35450e9ca7c1dc647ceb9d75ac8ed08c5c16 Author: Robert Yang Date: Fri Jan 25 10:15:36 2019 +0800 src/fccache.c: Fix define for HAVE_POSIX_FADVISE Otherwise, there would be build errors in the following 2 cases: * define HAVE_POSIX_FADVISE Or: * undef HAVE_POSIX_FADVISE Signed-off-by: Robert Yang src/fccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 699d6e4d8415a5d94483ea81fdf277964a33b8f1 Author: Akira TAGOH Date: Wed Jan 23 05:59:24 2019 +0000 Fix a crash with invalid matrix element Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/140 src/fcxml.c | 5 +++++ 1 file changed, 5 insertions(+) commit b047e299546ac3abb79cf0bac3c67f5c2dfc7fb6 Author: Akira TAGOH Date: Fri Nov 30 10:42:26 2018 +0000 Fix a dereference of a null pointer When exiting from for loop by not satisfying the condition of `(s = next[i])` at FcCacheRemoveUnlocked() referring s->alloated will be invalid. src/fccache.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit 3a45b8ef6511aee22b48c2a54f59faf6172a5071 Author: Akira TAGOH Date: Fri Nov 30 07:27:39 2018 +0000 covscan: fix compiler warnings test/test-bz106632.c | 26 +++++++++++++------------- test/test-hash.c | 5 ++--- 2 files changed, 15 insertions(+), 16 deletions(-) commit c44fda28e1dc0251f4451d1643f77e1455b80462 Author: Akira TAGOH Date: Fri Nov 30 07:12:21 2018 +0000 Don't call unlink_dirs if basedir is null test/test-bz106632.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a57647e1556a67037176ff267a4ba4a2a4dfb59d Author: Akira TAGOH Date: Mon Nov 12 05:01:50 2018 +0000 covscan fix: get rid of unnecessary condition check src/fcxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 65c7427c019c1cb7c621e6be87fb298564d45f51 Author: Akira TAGOH Date: Fri Nov 30 07:03:54 2018 +0000 Warn when constant name is used for unexpected object This fixes the sort of weird things like `fc-match :size=rgb` done without any errors. This might be annoyed but the error messages should helps to fix an application bug or suggest more useful constant names to fontconfig. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/137 src/fcint.h | 3 +++ src/fcname.c | 30 ++++++++++++++++++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) commit 71c9c7892ab7ddf8964737e80d0465e3e96ac36b Author: Akira TAGOH Date: Tue Nov 27 08:50:18 2018 +0000 Add a test case for FcFontList test/Makefile.am | 1 + test/run-test-conf.sh | 1 + test/test-60-generic.json | 34 +++++++++ test/test-conf.c | 190 +++++++++++++++++++++++++++++++++++++++++----- 4 files changed, 209 insertions(+), 17 deletions(-) commit 9d5149ac41e18ab67404ddba41d7ef7e71839ebc Author: Akira TAGOH Date: Tue Nov 27 08:50:18 2018 +0000 Fix FcFontList doesn't return a font with FC_COLOR=true "color" property has a value more than 1 because the value of FT_HAS_COLOR is directly set to it. this seems breaking the behavior of FcFontList with FC_COLOR=true because it is more than FcDontCare. So changing comparison that way. src/fccfg.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 3c75a5a9358ae570230c324917a636947748eb1f Author: Chris McDonald Date: Mon Nov 26 11:46:21 2018 -0700 Lowered temporary rooted_dir variable inside loop fc-cache/fc-cache.c | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) commit d36f977c761ffbb75d5c76278bc14d1c0e74cc7a Author: Chris McDonald Date: Mon Nov 19 15:19:19 2018 -0700 Respect sysroot option for file path passed to stat fc-cache/fc-cache.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 2bd559f75d76b514f789e32c5cc9643fd7c1e9a2 Author: Akira TAGOH Date: Thu Nov 15 20:55:08 2018 +0900 Add doc for description element and update fonts.dtd Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/133 doc/fontconfig-user.sgml | 5 +++++ fonts.dtd | 21 ++++++++++++++++----- 2 files changed, 21 insertions(+), 5 deletions(-) commit 13b4ba91353a4ead4623d0133f6eb0283e91b15a Author: Akira TAGOH Date: Tue Nov 13 06:34:11 2018 +0000 Use Rachana instead of Meera for Malayalam Meera is a sans-serif font for Malayalam. that should be substituted for serif. conf.d/65-nonlatin.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 648e0cf3d5a53efeab93b24ae37490427d05229d Author: Akira TAGOH Date: Tue Nov 6 16:33:03 2018 +0900 Use FC_PATH_MAX instead of PATH_MAX Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/131 src/fccfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6dde9b5be3751843ad81fd9c735fdf17362eb7a6 Author: Akira TAGOH Date: Tue Nov 6 15:39:50 2018 +0900 Enable bubblewrap test case .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9bb90101378961eea7ce7057b03acd582c8944cb Author: Akira TAGOH Date: Mon Oct 29 12:25:03 2018 +0000 Drop Mitra Mono from 65-nonlatin.conf This font seems totally broken. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/128 conf.d/65-nonlatin.conf | 1 - 1 file changed, 1 deletion(-) commit f7036d589bffe353c1982b881afae6ec0a2ef200 Author: Behdad Esfahbod Date: Wed Oct 24 14:30:24 2018 -0700 Fix name-table language code mapping for Mongolian src/fcfreetype.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e9113a764a1001165711022aceb45aa2765feb8b Author: Akira TAGOH Date: Thu Oct 25 07:16:32 2018 +0000 Do not run a test case for .uuid deletion test/run-test.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 5f12f564f8748deaa603adb7a4b8f616b6390ad4 Author: Keith Packard Date: Wed Oct 17 21:15:47 2018 -0700 Do not remove UUID file when a scanned directory is empty Because FcDirCacheDeleteUUID does not reset the modification time on the directory, and because FcDirCacheRead unconditionally creates the UUID file each time it is run, any empty directory in the cache will get its timestamp changed each time the cache for that directory is read. Instead, just leave the UUID file around as it is harmless. The alternative would be to only create the UUID file after the cache has been created and the directory has been discovered to be non-empty, but that would delay the creation of the UUID file. Signed-off-by: Keith Packard src/fcdir.c | 7 ------- 1 file changed, 7 deletions(-) commit 5f5ec5676c61b9773026a9335c9b0dfa73a73353 Author: Akira TAGOH Date: Mon Oct 1 07:01:26 2018 +0000 Do not try updating mtime when unlink was failed src/fccache.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) commit ff5b49be2be0922f0fb6b9daf08f64a88d2fae6b Author: Akira TAGOH Date: Fri Sep 28 09:08:52 2018 +0000 Do not update mtime when removing .uuid file This avoids a situation triggers updating caches on a directory where .uuid file was removed. Resolves: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/107 src/fccache.c | 32 +++++-- test/Makefile.am | 6 ++ test/test-issue107.c | 248 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 281 insertions(+), 5 deletions(-) commit 8badaae15b1225bbf200c46533b1761002c760de Author: Akira TAGOH Date: Thu Oct 4 08:30:33 2018 +0000 CI: Add more logs .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) commit 5771c48863299c10a253cd4d885f41cae17377fb Author: Akira TAGOH Date: Thu Oct 4 08:20:45 2018 +0000 Fix test case test/test-bz106632.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e4788c5a96e0f384ad5702ad8096b0e144613895 Author: Akira TAGOH Date: Thu Oct 4 08:03:20 2018 +0000 add missing the case of prefix="default" as documented src/fcxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 942db25fbcee66cb8dded5cb06407cf556dc4eff Author: Akira TAGOH Date: Thu Oct 4 08:02:48 2018 +0000 Update docs for 1aa8b700 doc/fontconfig-user.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 67b4090321c0ec3cf3dc96f6d3cd7b9d03af0f25 Author: Akira TAGOH Date: Thu Oct 4 08:02:18 2018 +0000 Update fonts.dtd for last commit fonts.dtd | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 1aa8b700c3f09a31c78e7834e0db373f80b5e226 Author: Akira TAGOH Date: Tue Oct 2 09:32:03 2018 +0000 Add more prefix support in element Added two prefix modes: "relative" that makes the relative path be relative to current file "cwd" for relative to current working directory which implies current behavior. Resolves: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/15 src/fcxml.c | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) commit f0aae4455ed43ac323821f8c8aa2fa9ffe274977 Author: Akira TAGOH Date: Fri Sep 28 09:17:37 2018 +0000 Fix CI .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba206df9b9a7ca300265f650842c1459ff7c634a Author: Akira TAGOH Date: Wed Sep 5 12:08:52 2018 +0000 Add a test case for d1f48f11 test/Makefile.am | 14 +++ test/test-d1f48f11.c | 283 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 297 insertions(+) commit 806fd4c2c5164d66d978b0a4c579c157e5cbe766 Author: Akira TAGOH Date: Tue Sep 4 09:08:37 2018 +0000 Fix the issue that '~' wasn't extracted to the proper homedir '~' in the filename was extracted to the home directory name in FcConfigFilename() though, this behavior was broken by d1f48f11. this change fixes it back to the correct behavior. https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/110 .gitlab-ci.yml | 23 ++++- src/fccfg.c | 20 +++-- test/Makefile.am | 16 ++++ test/test-issue110.c | 245 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 293 insertions(+), 11 deletions(-) commit 8208f99fa1676c42bfd8d74de3e9dac5366c150c Author: Akira TAGOH Date: Mon Sep 3 04:56:16 2018 +0000 Fix the build issue with --enable-static Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/109 doc/fcstring.fncs | 12 ++++++++++++ fontconfig/fontconfig.h | 4 ++++ src/fcint.h | 4 ---- test/test-bz106632.c | 35 ++++++++++++----------------------- 4 files changed, 28 insertions(+), 27 deletions(-)