- 01 Jun, 2012 1 commit
-
-
Akira TAGOH authored
-
- 28 Mar, 2012 2 commits
-
-
Akira TAGOH authored
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
-
Akira TAGOH authored
Use the reference-counted strings instead of the static strings Patch from Karl Tomlinson
-
- 28 Mar, 2011 1 commit
-
-
Behdad Esfahbod authored
-
- 10 Nov, 2010 1 commit
-
-
Behdad Esfahbod authored
-
- 12 Apr, 2010 1 commit
-
-
Behdad Esfahbod authored
-
- 16 Nov, 2009 2 commits
-
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
-
- 24 Jun, 2009 1 commit
-
-
Behdad Esfahbod authored
-
- 13 Mar, 2009 1 commit
-
-
Behdad Esfahbod authored
-
- 14 Feb, 2009 4 commits
-
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
Patch from Caolan McNamara.
-
Behdad Esfahbod authored
Now call it 'p' or 'pattern', since it's modified in place. There is no copying.
-
Behdad Esfahbod authored
-
- 04 May, 2008 1 commit
-
-
Keith Packard authored
The built-in memory tracking code in fontconfig relies on a lot of manual function call tracking. A pain, but it helps debug leaks.
-
- 08 Jan, 2008 1 commit
-
-
Keith Packard authored
This header file needs to be included at the end of every file that exports any freetype symbols.
-
- 02 Jan, 2008 1 commit
-
-
Keith Packard authored
This avoids requiring the freetype development files when cross compiling
-
- 12 Mar, 2007 1 commit
-
-
Stephan Kulow authored
I noticed that Qt always uses a different font than fc-match advertises. Debugging the issue, I found that a call that looks pretty innocent is changing all weak bindings to strong bindings and as such changes the semantic of the match: FcPatternDuplicate.
-
- 02 Dec, 2006 1 commit
-
-
Keith Packard authored
The union inside the FcValue structure contains pad bytes. Instead of copying the whole structure to the cache block, copy only the initialized fields to avoid writing whichever bytes serve as padding within the structure.
-
- 05 Sep, 2006 2 commits
-
-
Keith Packard authored
Using a simple shell script that processes the public headers, two header files are constructed that map public symbols to hidden internal aliases avoiding the assocated PLT entry for referring to a public symbol. A few mistakes in the FcPrivate/FcPublic annotations were also discovered through this process
-
Keith Packard authored
Caches contain patterns and character sets which are reference counted and visible to applications. Reference count the underlying cache object so that it stays around until all reference objects are no longer in use. This is less efficient than just leaving all caches around forever, but does avoid eternal size increases in case applications ever bother to actually look for changes in the font configuration.
-
- 01 Sep, 2006 1 commit
-
-
Keith Packard authored
Instead of passing directory information around in separate variables, collect it all in an FcCache structure. Numerous internal and tool interfaces changed as a result of this. Charsets are now pre-frozen before being serialized. This causes them to share across multiple fonts in the same cache.
-
- 31 Aug, 2006 2 commits
-
-
Keith Packard authored
The next pointer in the serialized value list wasn't getting set, so they were truncated at a single value.
-
Keith Packard authored
Eliminate ancient list of object name databases and load names into single hash table that includes type information. Typecheck all pattern values to avoid mis-typed pattern elements.
-
- 30 Aug, 2006 2 commits
-
-
Keith Packard authored
FcCharSetSerialize was computing the offset to the unserialized leaf, which left it pointing at random data when the cache was reloaded. fc-cat has been updated to work with the new cache structure. Various debug messages extended to help diagnose serialization errors.
-
Keith Packard authored
Replace all of the bank/id pairs with simple offsets, recode several data structures to always use offsets inside the library to avoid conditional paths. Exposed data structures use pointers to hold offsets, setting the low bit to distinguish between offset and pointer. Use offset-based data structures for lang charset encodings; eliminates separate data structure format for that file. Much testing will be needed; offsets are likely not detected everywhere in the library yet.
-
- 27 Apr, 2006 2 commits
-
-
Keith Packard authored
-
Keith Packard authored
permitting cache files to be stored in font dirs. Bump cache magic. Don't include /fonts.cache-2 in cache hash construction. reviewed by: Patrick Lam <plam@mit.edu>
-
- 25 Apr, 2006 1 commit
-
-
Patrick Lam authored
Shuffle order of includes for building out of srcdir on win32. reviewed by: plam
-
- 12 Apr, 2006 1 commit
-
-
Patrick Lam authored
Ignore script if subtable is missing (Coverity defect #2088). Fix possible null pointer dereference (Coverity defect #784) and memory leak (Coverity defects #785, #786). Don't copy FcCharSet if we're going to throw it away anyway. (Reported by Kenichi Handa). reviewed by: plam
-
- 11 Apr, 2006 1 commit
-
-
Patrick Lam authored
Fix memory leak in error case (Coverity defects #1820, #1821, #1822). Fix memory leak (Coverity defect #1819). prevent crash when invalid include line is parsed (Coverity defect #763). Fix potential null pointer access (Coverity defect #1804). Remove dead code (Coverity defect #1194). Prevent potential null pointer access (Coverity defect #767), ensure error value is read (Coverity defect #1195). reviewed by: plam
-
- 07 Apr, 2006 1 commit
-
-
Patrick Lam authored
'__inline__' by AC_C_INLINE and 'inline'. Replace '__alignof__' by 'fc_alignof'. reviewed by: plam
-
- 06 Apr, 2006 1 commit
-
-
Patrick Lam authored
Don't fail if we can't create or remove $(pkgcachedir) i.e. /var/cache/fontconfig. (reported by Quanah Gibson-Mount). reviewed by: plam
-
- 05 Mar, 2006 2 commits
-
-
Patrick Lam authored
again in FcPatternGetString.
-
Patrick Lam authored
work. Reported by Bernhard Rosenkraenzer.
-
- 03 Mar, 2006 1 commit
-
-
Patrick Lam authored
-
- 07 Feb, 2006 1 commit
-
-
Patrick Lam authored
usage, remove redundant cast. reviewed by: plam
-
- 25 Jan, 2006 1 commit
-
-
Patrick Lam authored
FcValueSave on hashed static strings in FcPatternAddWithBinding. Add another st_dev check in FcDirCacheOpen.
-
- 19 Jan, 2006 1 commit
-
-
Patrick Lam authored
reviewed by: plam
-
- 05 Jan, 2006 1 commit
-
-
Patrick Lam authored
Minor change to global cache file format to fix fc-cat bug reported by Frederic Crozat, and buglet with not globally caching directories with zero fonts cached.
-