- 27 Dec, 2020 1 commit
-
-
Apteryks authored
-
- 17 Dec, 2020 2 commits
-
-
-
Fixes #267. Hash table lookups assumed qual="any" compare="eq". Add a test too.
-
- 16 Dec, 2020 2 commits
-
-
Ben Wagner authored
The test-conf build_pattern attempted to convert known constant strings into integer values. However, it did so by always converting the string value to an integer if possible and then complaining if the key wasn't of the expected type. This lead to error messages on "style": "Regular" since "Regular" was recognized as "weight". Instead, only attempt conversion from string to integer if the key is the name of an object which can take an integer type. This eliminates the spurious non-fatal errors reported when parsing test-90-synthetic.json. This also fixes an issue where the created value was given the type of the object found, but the integer field was assigned. Instead, check that the object type can take an integer and always set the value type to integer.
-
Ben Wagner authored
The test-conf test requires libjson-c to be available in order to be built. However, there has been no user indication that additional tests could be built if the json-c development files were available. Continue to not build test-conf if json-c is not available, but do run the test harness. The test harness is updated to SKIP the test if the test-conf binary is unavailable.
-
- 14 Dec, 2020 2 commits
-
-
Ben Wagner authored
Reported by AddressSanitizer when running test-conf. The `query`, `result`, and `result_fs` were not initialized to NULL so could result in a wild free when first initialized. The `method` was also not initialized to NULL so comparisons could be made against random data if it had not yet been assigned. The outer `fs` was never destroyed, but is also not used, so remove.
-
Fix leaks reported by AddressSanitizer when running 'make check'.
-
- 10 Dec, 2020 1 commit
-
-
Ben Wagner authored
Posix says: The condition can be EXIT, 0 (equivalent to EXIT), or a signal specified using a symbolic name, without the SIG prefix, as listed in the tables of signal names in the <signal.h> header defined in the Base Definitions volume of IEEE Std 1003.1-2001, Chapter 13, Headers; for example, HUP, INT, QUIT, TERM. Implementations may permit names with the SIG prefix or ignore case in signal names as an extension. Remove 'SIG' from trap conditions in run-test.sh for portability.
-
- 08 Dec, 2020 1 commit
-
-
Szunti authored
'stat ... | grep Modify' fails on non english locales. stat -c '%y' used in most of the places, but one exception remained.
-
- 07 Dec, 2020 2 commits
-
-
Ben Wagner authored
More clearly delineate which files are associated with each license.
-
There doesn't appear to be a good reason to abort when 'v1' has type FcTypeRange. If there does turn out to be a good reason for this then it should be better documented and the code for handling this case removed. At worst it seems -1 should be returned as it is for other unknown types. It is possible this is left over debug code from the initial implementation.
-
- 04 Dec, 2020 2 commits
-
-
Ben Wagner authored
Found by Clang-Tidy. The intent seems to have been to skip all leading whitespace in the 'style' string, but instead this loop was an odd looking no-op. Remove the 'break' from the loop so that it will continue until end of string or a non-space character is found.
-
Akira TAGOH authored
There seems to be a lot of config files using fullname property in the world. To keep the backward compatibility, fullname property is back to a cache at the scan matching phase but will be rebuilt once it is done according to family and style property in the pattern no matter what changes one made in fullname property during that. Ref. https://bugzilla.redhat.com/show_bug.cgi?id=1902881
-
- 28 Nov, 2020 11 commits
-
-
Akira TAGOH authored
-
Akira TAGOH authored
-
Akira TAGOH authored
-
Akira TAGOH authored
-
Akira TAGOH authored
-
Akira TAGOH authored
-
Akira TAGOH authored
-
-
-
Allow multiple default system font directories in the fallback config, and set them to the default dirs on Darwin.
-
Akira TAGOH authored
Fixes fontconfig/fontconfig#233
-
- 19 Nov, 2020 1 commit
-
-
Chun-wei Fan authored
Instead, when building with Visual Studio-style compilers, define 'FcPublic' as appropriate so that symbols will be exported without the need to maintain a .def file.
-
- 05 Nov, 2020 1 commit
-
-
We were explicitly setting c_args and c_link_args to [], which overrode the values inherited from the env via CFLAGS and LDFLAGS. Also add a comment for future reference. Fixes #263
-
- 04 Nov, 2020 1 commit
-
-
- 02 Nov, 2020 3 commits
-
-
Akira TAGOH authored
-
Akira TAGOH authored
To work around a warning with GCC10 on Win32 warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=]
-
Before this change building with ThreadSanitizer and running test/test-pthread generated a large number of threading issues. These mostly stemmed from fc_atomic_ptr_get not doing an atomic load and using "acquire load" instead of "load acquire". After making these changes it was still necessary to use fc_atomic_ptr_get where it was needed. This also documents the current memory barrier requirements for the atomic primitives.
-
- 30 Oct, 2020 1 commit
-
-
Tim-Philipp Müller authored
Until fontconfig/fontconfig#263 is resolved.
-
- 24 Oct, 2020 1 commit
-
-
James Lee authored
Prevent execution of target's fc-cache on host when installing
-
- 04 Oct, 2020 3 commits
-
-
Xavier Claessens authored
When cross compiling gcc/clang could not exist in PATH and Meson could be using aarch64-linux-android-clang set in a cross file for example.
-
Xavier Claessens authored
-
Xavier Claessens authored
-
- 02 Oct, 2020 1 commit
-
-
Chun-wei Fan authored
Some systems build FreeType using CMake rather than autotools (such as Visual Studio), which will give us CMake config files rather than pkg-config files, so if we can't find FreeType using pkg-config, try again using CMake. Please note that according to FreeType's docs/VERSIONS.TXT, the version we want when checking with CMake is 2.8.1 or later.
-
- 29 Sep, 2020 2 commits
-
-
Akira TAGOH authored
Add missing copyright notice. Fixes fontconfig/fontconfig#219
-
Akira TAGOH authored
to show up easier in COPYING. it was originally merged from separate file by 2e2121f9 though.
-
- 21 Sep, 2020 2 commits
-
-
Akira TAGOH authored
-
Akira TAGOH authored
This makes sure that fullname can be constructed at least even if a style is missing and "Regular" is omitted for fullname so this change won't affect in that case. Fixes fontconfig/fontconfig#259
-