| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Normalized directory names offer protection against looped directory trees
but cost enormous numbers of system calls (stat per file in the hierarchy).
Also, cache file directory name contents are validated each time the
directory is modified, don't re-validate every time the cache file is loaded
with an access and stat call.
|
|
|
|
|
|
|
|
| |
Previous policy was to attempt to update the cache in place and bail if that
didn't work. Now, search for the first writable directory and place the
cache file there instead. Furthermore, on startup, search directory list for
valid cache files instead of bailing if the first found cache file wasn't
valid.
|
|
|
|
|
|
|
|
| |
Map existing architecture signature to short architecture name
at build time. This architecture name is (as yet) unused, but will be used
to build per-architecture cache files with names made unique by including
the architecture name. The auto-detected architecture name can be overridden
with the --with-arch=ARCH configure option.
|
| |
|
|
|
|
|
| |
Make cache directories configurable. Simplify and correct some code which
deals with per-directory caches.
|
|
|
|
| |
Fix file-descriptor leak in FcGlobalCacheDestroy.
|
|
|
|
| |
TrueType Collection table offsets are absolute, not relative.
|
|
|
|
| |
Make FcStrCopy slightly more efficient.
|
|
|
|
|
| |
Reduce transient memory usage during config file parsing by allocating
smaller buffers (64 seems to be a magic number).
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Solarii). Approach suggested by Tim Mooney.
reviewed by: plam
|
|
|
|
|
| |
Shuffle order of includes for building out of srcdir on win32.
reviewed by: plam
|
|
|
|
|
| |
Shuffle order of includes for building out of srcdir on win32.
reviewed by: plam
|
|
|
|
| |
(reported by Wouter Bolsterlee).
|
|
|
|
| |
Implement mmap-like code for Windows using MapViewOfFile.
|
| |
|
| |
|
| |
|
|
|
|
| |
Simplify code and get things straight.
|
|
|
|
| |
(reported by Miguel Rodriguez).
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
reviewed by: plam
|
| |
|
|
|
|
|
|
|
|
| |
Remove extra semi-colon.
Fix memory leak in error case (Coverity defects #776, #985).
Fix memory leaks (Coverity defects #779, #781) and memory use after free
(Coverity defect #780).
reviewed by: plam
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
reviewed by: plam
|
| |
|
| |
|
|
|
|
|
| |
Fix memory leak with hash collision (Coverity defect #1824).
reviewed by: plam
|
|
|
|
| |
reviewed by: plam
|
|
|
|
|
| |
#777, #1826)
reviewed by: plam
|
|
|
|
|
|
|
|
| |
Check if pattern is not null before using it (Coverity defect #1883).
Fix memory leak with hash collision (Coverity defect #1829).
Fix memory leak when bail cases (Coverity defect #1828).
Don't leak directory name (Coverity defect #1827).
reviewed by: plam
|
|
|
|
| |
reviewed by: plam
|
|
|
|
|
| |
1) reorder union definition of _FcChar;
2) omit .stats =.
|
|
|
|
|
|
| |
'__inline__' by AC_C_INLINE and 'inline'. Replace '__alignof__' by
'fc_alignof'.
reviewed by: plam
|
|
|
|
|
| |
available. Fixes bug 6171.
reviewed by: plam
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Konstantinov)
|
|
|
|
|
|
| |
Don't fail if we can't create or remove $(pkgcachedir) i.e.
/var/cache/fontconfig. (reported by Quanah Gibson-Mount).
reviewed by: plam
|
|
|
|
|
|
| |
duplicate names, reduce variable scopes, unsigned/signed printf
formatting.
reviewed by: plam
|
|
|
|
|
|
| |
Require pkg-config. (Thanks Behdad; better solution wanted for libxml2
detection!)
reviewed by: plam
|
| |
|
| |
|
| |
|
|
|
|
| |
Ignore debian/ directory for CVS.
|
|
|
|
| |
Now remove debian/ directory.
|