summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Eliminate NormalizeDir. Eliminate gratuitous stat/access calls per dir.Keith Packard2006-08-274-164/+4
| | | | | | | | 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.
* Write caches to first directory with permission. Valid cache in FcDirCacheOpen.Keith Packard2006-08-272-49/+43
| | | | | | | | 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.
* Construct short architecture name from architecture signature.Keith Packard2006-08-275-1/+244
| | | | | | | | 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.
* Add .gitignoreKeith Packard2006-08-271-0/+73
|
* 2006-08-04 Keith Packard (keithp@keithp.com) reviewed by: plamPatrick Lam2006-08-0415-179/+294
| | | | | Make cache directories configurable. Simplify and correct some code which deals with per-directory caches.
* 2006-07-19 Jon Burgess (jburgess@uklinux.net) reviewed by: plamPatrick Lam2006-07-192-0/+9
| | | | Fix file-descriptor leak in FcGlobalCacheDestroy.
* 2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad EsfahbodPatrick Lam2006-06-022-1/+8
| | | | TrueType Collection table offsets are absolute, not relative.
* 2006-04-27 Paolo Borelli (pborelli@katamail.com) reviewed by: plamPatrick Lam2006-04-282-5/+14
| | | | Make FcStrCopy slightly more efficient.
* Keith Packard <keithp@keithp.com>Patrick Lam2006-04-272-14/+8
| | | | | Reduce transient memory usage during config file parsing by allocating smaller buffers (64 seems to be a magic number).
* Eliminate pattern freezingKeith Packard2006-04-275-379/+9
|
* Make path names in cache files absolute (NB, cache format change) StopKeith Packard2006-04-277-232/+57
| | | | | | 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>
* Really update for 2.3.95.fc-2_3_95Patrick Lam2006-04-261-2/+4
|
* Fix the issues with GNU libiconv vs. libc iconv (which especially appear onPatrick Lam2006-04-254-6/+48
| | | | | Solarii). Approach suggested by Tim Mooney. reviewed by: plam
* Include $(top_srcdir), $(top_srcdir)/src before anything else.Patrick Lam2006-04-251-1/+16
| | | | | Shuffle order of includes for building out of srcdir on win32. reviewed by: plam
* Include $(top_srcdir), $(top_srcdir)/src before anything else.Patrick Lam2006-04-2518-37/+40
| | | | | Shuffle order of includes for building out of srcdir on win32. reviewed by: plam
* Prevent terrible perf regression by getting the if-condition rightPatrick Lam2006-04-202-2/+8
| | | | (reported by Wouter Bolsterlee).
* Dominic Lachowicz <cinamod@hotmail.com>Patrick Lam2006-04-192-3/+27
| | | | Implement mmap-like code for Windows using MapViewOfFile.
* Bump version to 2.3.95.Patrick Lam2006-04-191-0/+8
|
* Bail gracefully if the cache file does not contain enough data.Patrick Lam2006-04-195-5/+46
|
* Give the 'Standard Symbols L' match a strong (vs. weak) binding.Patrick Lam2006-04-152-5/+13
|
* Fix Gecko-exposed segfault from my last hack to FcObjectToPtrLookup.Patrick Lam2006-04-142-15/+11
| | | | Simplify code and get things straight.
* Actually, just add URW fonts as aliases for all of the PostScript fonts.Patrick Lam2006-04-142-6/+36
| | | | (reported by Miguel Rodriguez).
* Add an alias 'Standard Symbols L' for 'Symbol'.Patrick Lam2006-04-142-1/+10
|
* Fix memory leak (Coverity defect #2089).Patrick Lam2006-04-125-19/+51
| | | | | | | | | 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
* Fix bad behaviour on realloc resulting in crash.Patrick Lam2006-04-122-7/+17
| | | | reviewed by: plam
* Don't crash if config is null (Coverity defect #984).Patrick Lam2006-04-122-6/+12
|
* Missing bits from previous patches.Patrick Lam2006-04-115-6/+35
| | | | | | | | 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
* Properly convert static charsets to dynamic charsets.Patrick Lam2006-04-118-13/+61
| | | | | | | | | | | 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
* Survive missing docbook2pdf.Patrick Lam2006-04-112-6/+15
| | | | reviewed by: plam
* Include more stub definitions to make HP-UX's C compiler happy.Patrick Lam2006-04-104-0/+16
|
* Swap typo in order of ALIGN and dereferencing, fixing bug 6529.Patrick Lam2006-04-102-1/+6
|
* Fix string memory leak (Coverity defect #1823).Patrick Lam2006-04-103-1/+14
| | | | | Fix memory leak with hash collision (Coverity defect #1824). reviewed by: plam
* Don't leak header in non-error case (Coverity defect #1825).Patrick Lam2006-04-102-0/+8
| | | | reviewed by: plam
* src/fcdir.c (FcDirScanConfig) Don't leak in error cases (Coverity defectsPatrick Lam2006-04-102-17/+43
| | | | | #777, #1826) reviewed by: plam
* Fix double free (spotted by Coverity, CID #1965).Patrick Lam2006-04-104-5/+30
| | | | | | | | 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
* LD_ADD missing dependencies for binaries. Reported by Edson Alves Pereira.Patrick Lam2006-04-075-5/+14
| | | | reviewed by: plam
* SGI compilation fixes (reported by Christoph Bauer):Patrick Lam2006-04-073-5/+13
| | | | | 1) reorder union definition of _FcChar; 2) omit .stats =.
* Portability fixes for HP-UX (reported by Christoph Bauer). ReplacePatrick Lam2006-04-078-14/+33
| | | | | | '__inline__' by AC_C_INLINE and 'inline'. Replace '__alignof__' by 'fc_alignof'. reviewed by: plam
* Move up #include of config.h. Fail if neither inttypes.h nor stdint.h isPatrick Lam2006-04-072-4/+15
| | | | | available. Fixes bug 6171. reviewed by: plam
* Patrick Lam <plam@mit.edu>Patrick Lam2006-04-077-123/+353
| | | | | | | | | 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
* Eliminate warning.Patrick Lam2006-04-072-1/+6
|
* Update documentation for fc-match (SGML-ize it). (reported by IlyaPatrick Lam2006-04-065-39/+203
| | | | Konstantinov)
* Reduce amount of dirty rss by const'ing some data structures.Patrick Lam2006-04-065-5/+20
| | | | | | Don't fail if we can't create or remove $(pkgcachedir) i.e. /var/cache/fontconfig. (reported by Quanah Gibson-Mount). reviewed by: plam
* Fix intel compiler warnings: make many variables static, eliminatePatrick Lam2006-04-069-33/+47
| | | | | | duplicate names, reduce variable scopes, unsigned/signed printf formatting. reviewed by: plam
* Fix multiarch support (don't destroy multiarch files!)Patrick Lam2006-03-244-2/+22
| | | | | | Require pkg-config. (Thanks Behdad; better solution wanted for libxml2 detection!) reviewed by: plam
* On Windows, unlink before rename. Reported by Tim Evans.Patrick Lam2006-03-232-0/+8
|
* Fix typos in orth files. Reported by Denis Jacquerye.Patrick Lam2006-03-153-2/+8
|
* Fix Makefile.am for removal of debian/ directory.Patrick Lam2006-03-084-53/+87
|
* .cvsignorePatrick Lam2006-03-082-1/+6
| | | | Ignore debian/ directory for CVS.
* debian/*Patrick Lam2006-03-0818-1320/+5
| | | | Now remove debian/ directory.