]> git.wh0rd.org - fontconfig.git/log
fontconfig.git
17 years agoAutomatically remove invalid cache files.
Keith Packard [Thu, 31 Aug 2006 16:42:49 +0000 (09:42 -0700)] 
Automatically remove invalid cache files.

Cache files for missing or more recently modified directories are
automatically removed at the end of every fc-cache run.

17 years agoSerialized value lists were only including one value.
Keith Packard [Thu, 31 Aug 2006 16:07:32 +0000 (09:07 -0700)] 
Serialized value lists were only including one value.

The next pointer in the serialized value list wasn't getting set, so they
were truncated at a single value.

17 years agoUse intptr_t instead of off_t inside FcCache structure.
Keith Packard [Thu, 31 Aug 2006 06:09:39 +0000 (23:09 -0700)] 
Use intptr_t instead of off_t inside FcCache structure.

This avoids OS-dependencies in the cache file structure.

17 years agoFix fc-cat again. Sigh.
Keith Packard [Thu, 31 Aug 2006 05:23:25 +0000 (22:23 -0700)] 
Fix fc-cat again. Sigh.

Internal interfaces in cache management changed again...

17 years agoSkip broken caches. Cache files are auto-written, don't rewrite in fc-cache.
Keith Packard [Thu, 31 Aug 2006 04:59:53 +0000 (21:59 -0700)] 
Skip broken caches. Cache files are auto-written, don't rewrite in fc-cache.

Validate cache contents and skip broken caches, looking down cache path for
valid ones.

Every time a directory is scanned, it will be written to a cache file if
possible, so fc-cache doesn't need to re-write the cache file. This makes
detecting when the cache was generated a bit tricky, so we guess that if the
cache wasn't valid before running and is valid afterwards, the cache file
was written.

Also, allow empty charsets to be serialized with null leaves/numbers.

Eliminate a leak in FcEdit by switching to FcObject sooner.

Call FcFini from fc-match to make valgrind happy.

17 years agoRework Object name database to unify typechecking and object lookup.
Keith Packard [Thu, 31 Aug 2006 01:50:58 +0000 (18:50 -0700)] 
Rework Object name database to unify typechecking and object lookup.

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.

17 years agoFcCharSetSerialize was using wrong offset for leaves. Make fc-cat work.
Keith Packard [Wed, 30 Aug 2006 20:51:03 +0000 (13:51 -0700)] 
FcCharSetSerialize was using wrong offset for leaves. Make fc-cat work.

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.

17 years agoFix build problems caused by cache rework.
Keith Packard [Wed, 30 Aug 2006 11:24:03 +0000 (04:24 -0700)] 
Fix build problems caused by cache rework.

Pagesize no longer matters in architecture decisions, the entire cache file
is mmaped into the library. However, lots of intptr_t values are in use now,
so that value is important.

fc-lang now requires fcserialize.c, which has been added to the repository.

17 years agoRework cache files to use offsets for all data structures.
Keith Packard [Wed, 30 Aug 2006 11:16:22 +0000 (04:16 -0700)] 
Rework cache files to use offsets for all data structures.

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.

17 years agoRevert to original FcFontSetMatch algorithm to avoid losing fonts.
Keith Packard [Mon, 28 Aug 2006 18:51:12 +0000 (11:51 -0700)] 
Revert to original FcFontSetMatch algorithm to avoid losing fonts.

The fancy new FcFontSetMatch algorithm would discard fonts for the
wrong reasons; fc-match sans:lang=en,ja would discard all fonts without
Japanese support. This commit reverts to the original algorithm which
ensure that FcFontSetMatch always matches the first font in the
FcFontSetSort return list.

17 years agoAdd ppc architecture
Keith Packard [Mon, 28 Aug 2006 17:38:27 +0000 (10:38 -0700)] 
Add ppc architecture

17 years agoDuring test run, remove cache directory to avoid stale cache usage.
Keith Packard [Mon, 28 Aug 2006 17:30:22 +0000 (10:30 -0700)] 
During test run, remove cache directory to avoid stale cache usage.

As file timestamps have only one second granularity, an old cache
file could easily be used when a test took less than 1 second to run.
Just remove the cache directory and its contents before each test is run.
Also, remove mention of the old cache file from the test config file.

17 years agoAdd x86-64 architecture and signature.
Keith Packard [Mon, 28 Aug 2006 17:07:43 +0000 (10:07 -0700)] 
Add x86-64 architecture and signature.

17 years agoRegenerate x86 line in fcarch.tmpl.h to match change in cache data.
Keith Packard [Mon, 28 Aug 2006 16:43:12 +0000 (09:43 -0700)] 
Regenerate x86 line in fcarch.tmpl.h to match change in cache data.

Also remove spurious printf of directory names.

17 years agoEliminate ./ and ../ elements from font directory names when scanning.
Keith Packard [Mon, 28 Aug 2006 06:40:51 +0000 (23:40 -0700)] 
Eliminate ./ and ../ elements from font directory names when scanning.

FcStrCanonFilename eliminates ./ and ../ elements from pathnames through
simple string editing. Also, relative path names are fixed by prepending the
current working directory.

17 years agoFix up fc-cache and fc-cat for no global cache changes.
Keith Packard [Mon, 28 Aug 2006 05:24:39 +0000 (22:24 -0700)] 
Fix up fc-cache and fc-cat for no global cache changes.

fc-cache and fc-cat use internal (fcint.h) APIs that have
changed with the elimination of the global cache.

17 years agoEliminate global cache. Eliminate multi-arch cache code.
Keith Packard [Mon, 28 Aug 2006 04:53:48 +0000 (21:53 -0700)] 
Eliminate global cache. Eliminate multi-arch cache code.

With the removal of the in-directory cache files, and the addition of
per-user cache directories, there is no longer any reason to preserve the
giant global cache file. Eliminating of this unifies the cache structure
and simplifies the overall caching strategies greatly.

17 years agoAdd architecture to cache filename.
Keith Packard [Mon, 28 Aug 2006 01:29:51 +0000 (18:29 -0700)] 
Add architecture to cache filename.

Make cache filenames unique by inserting the architecture name into the
filename.

17 years agoEliminate NormalizeDir. Eliminate gratuitous stat/access calls per dir.
Keith Packard [Mon, 28 Aug 2006 01:19:39 +0000 (18:19 -0700)] 
Eliminate NormalizeDir. Eliminate gratuitous stat/access calls per dir.

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.

17 years agoWrite caches to first directory with permission. Valid cache in FcDirCacheOpen.
Keith Packard [Mon, 28 Aug 2006 00:04:01 +0000 (17:04 -0700)] 
Write caches to first directory with permission. Valid cache in FcDirCacheOpen.

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.

17 years agoConstruct short architecture name from architecture signature.
Keith Packard [Sun, 27 Aug 2006 23:25:07 +0000 (16:25 -0700)] 
Construct short architecture name from architecture signature.

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.

17 years agoAdd .gitignore
Keith Packard [Sun, 27 Aug 2006 23:21:16 +0000 (16:21 -0700)] 
Add .gitignore

17 years ago2006-08-04 Keith Packard (keithp@keithp.com) reviewed by: plam
Patrick Lam [Fri, 4 Aug 2006 16:13:00 +0000 (16:13 +0000)] 
2006-08-04 Keith Packard (keithp@keithp.com) reviewed by: plam
Make cache directories configurable. Simplify and correct some code which
    deals with per-directory caches.

17 years ago2006-07-19 Jon Burgess (jburgess@uklinux.net) reviewed by: plam
Patrick Lam [Wed, 19 Jul 2006 02:14:28 +0000 (02:14 +0000)] 
2006-07-19 Jon Burgess (jburgess@uklinux.net) reviewed by: plam
Fix file-descriptor leak in FcGlobalCacheDestroy.

17 years ago2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad Esfahbod
Patrick Lam [Fri, 2 Jun 2006 18:48:30 +0000 (18:48 +0000)] 
2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad Esfahbod
TrueType Collection table offsets are absolute, not relative.

18 years ago2006-04-27 Paolo Borelli (pborelli@katamail.com) reviewed by: plam
Patrick Lam [Fri, 28 Apr 2006 07:00:25 +0000 (07:00 +0000)] 
2006-04-27 Paolo Borelli (pborelli@katamail.com) reviewed by: plam
Make FcStrCopy slightly more efficient.

18 years agoKeith Packard <keithp@keithp.com>
Patrick Lam [Thu, 27 Apr 2006 08:13:45 +0000 (08:13 +0000)] 
Keith Packard <keithp@keithp.com>
Reduce transient memory usage during config file parsing by allocating
    smaller buffers (64 seems to be a magic number).

18 years agoEliminate pattern freezing
Keith Packard [Thu, 27 Apr 2006 07:54:07 +0000 (07:54 +0000)] 
Eliminate pattern freezing

18 years agoMake path names in cache files absolute (NB, cache format change) Stop
Keith Packard [Thu, 27 Apr 2006 07:11:44 +0000 (07:11 +0000)] 
Make path names in cache files absolute (NB, cache format change) Stop
    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>

18 years agoReally update for 2.3.95. fc-2_3_95
Patrick Lam [Wed, 26 Apr 2006 14:50:41 +0000 (14:50 +0000)] 
Really update for 2.3.95.

18 years agoFix the issues with GNU libiconv vs. libc iconv (which especially appear on
Patrick Lam [Tue, 25 Apr 2006 15:33:07 +0000 (15:33 +0000)] 
Fix the issues with GNU libiconv vs. libc iconv (which especially appear on
    Solarii). Approach suggested by Tim Mooney.
reviewed by: plam

18 years agoInclude $(top_srcdir), $(top_srcdir)/src before anything else.
Patrick Lam [Tue, 25 Apr 2006 06:12:06 +0000 (06:12 +0000)] 
Include $(top_srcdir), $(top_srcdir)/src before anything else.
Shuffle order of includes for building out of srcdir on win32.
reviewed by: plam

18 years agoInclude $(top_srcdir), $(top_srcdir)/src before anything else.
Patrick Lam [Tue, 25 Apr 2006 05:57:41 +0000 (05:57 +0000)] 
Include $(top_srcdir), $(top_srcdir)/src before anything else.
Shuffle order of includes for building out of srcdir on win32.
reviewed by: plam

18 years agoPrevent terrible perf regression by getting the if-condition right
Patrick Lam [Thu, 20 Apr 2006 16:57:50 +0000 (16:57 +0000)] 
Prevent terrible perf regression by getting the if-condition right
    (reported by Wouter Bolsterlee).

18 years agoDominic Lachowicz <cinamod@hotmail.com>
Patrick Lam [Wed, 19 Apr 2006 16:53:50 +0000 (16:53 +0000)] 
Dominic Lachowicz <cinamod@hotmail.com>
Implement mmap-like code for Windows using MapViewOfFile.

18 years agoBump version to 2.3.95.
Patrick Lam [Wed, 19 Apr 2006 16:17:46 +0000 (16:17 +0000)] 
Bump version to 2.3.95.

18 years agoBail gracefully if the cache file does not contain enough data.
Patrick Lam [Wed, 19 Apr 2006 16:17:19 +0000 (16:17 +0000)] 
Bail gracefully if the cache file does not contain enough data.

18 years agoGive the 'Standard Symbols L' match a strong (vs. weak) binding.
Patrick Lam [Sat, 15 Apr 2006 00:25:20 +0000 (00:25 +0000)] 
Give the 'Standard Symbols L' match a strong (vs. weak) binding.

18 years agoFix Gecko-exposed segfault from my last hack to FcObjectToPtrLookup.
Patrick Lam [Fri, 14 Apr 2006 18:35:16 +0000 (18:35 +0000)] 
Fix Gecko-exposed segfault from my last hack to FcObjectToPtrLookup.
    Simplify code and get things straight.

18 years agoActually, just add URW fonts as aliases for all of the PostScript fonts.
Patrick Lam [Fri, 14 Apr 2006 15:40:58 +0000 (15:40 +0000)] 
Actually, just add URW fonts as aliases for all of the PostScript fonts.
    (reported by Miguel Rodriguez).

18 years agoAdd an alias 'Standard Symbols L' for 'Symbol'.
Patrick Lam [Fri, 14 Apr 2006 14:51:22 +0000 (14:51 +0000)] 
Add an alias 'Standard Symbols L' for 'Symbol'.

18 years agoFix memory leak (Coverity defect #2089).
Patrick Lam [Wed, 12 Apr 2006 14:36:36 +0000 (14:36 +0000)] 
Fix memory leak (Coverity defect #2089).
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

18 years agoFix bad behaviour on realloc resulting in crash.
Patrick Lam [Wed, 12 Apr 2006 03:02:57 +0000 (03:02 +0000)] 
Fix bad behaviour on realloc resulting in crash.
reviewed by: plam

18 years agoDon't crash if config is null (Coverity defect #984).
Patrick Lam [Wed, 12 Apr 2006 02:38:28 +0000 (02:38 +0000)] 
Don't crash if config is null (Coverity defect #984).

18 years agoMissing bits from previous patches.
Patrick Lam [Tue, 11 Apr 2006 16:54:24 +0000 (16:54 +0000)] 
Missing bits from previous patches.
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

18 years agoProperly convert static charsets to dynamic charsets.
Patrick Lam [Tue, 11 Apr 2006 14:20:59 +0000 (14:20 +0000)] 
Properly convert static charsets to dynamic charsets.
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

18 years agoSurvive missing docbook2pdf.
Patrick Lam [Tue, 11 Apr 2006 05:08:26 +0000 (05:08 +0000)] 
Survive missing docbook2pdf.
reviewed by: plam

18 years agoInclude more stub definitions to make HP-UX's C compiler happy.
Patrick Lam [Mon, 10 Apr 2006 22:08:35 +0000 (22:08 +0000)] 
Include more stub definitions to make HP-UX's C compiler happy.

18 years agoSwap typo in order of ALIGN and dereferencing, fixing bug 6529.
Patrick Lam [Mon, 10 Apr 2006 21:04:54 +0000 (21:04 +0000)] 
Swap typo in order of ALIGN and dereferencing, fixing bug 6529.

18 years agoFix string memory leak (Coverity defect #1823).
Patrick Lam [Mon, 10 Apr 2006 19:33:03 +0000 (19:33 +0000)] 
Fix string memory leak (Coverity defect #1823).
Fix memory leak with hash collision (Coverity defect #1824).
reviewed by: plam

18 years agoDon't leak header in non-error case (Coverity defect #1825).
Patrick Lam [Mon, 10 Apr 2006 16:12:55 +0000 (16:12 +0000)] 
Don't leak header in non-error case (Coverity defect #1825).
reviewed by: plam

18 years agosrc/fcdir.c (FcDirScanConfig) Don't leak in error cases (Coverity defects
Patrick Lam [Mon, 10 Apr 2006 16:06:42 +0000 (16:06 +0000)] 
src/fcdir.c (FcDirScanConfig) Don't leak in error cases (Coverity defects
    #777, #1826)
reviewed by: plam

18 years agoFix double free (spotted by Coverity, CID #1965).
Patrick Lam [Mon, 10 Apr 2006 15:46:34 +0000 (15:46 +0000)] 
Fix double free (spotted by Coverity, CID #1965).
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

18 years agoLD_ADD missing dependencies for binaries. Reported by Edson Alves Pereira.
Patrick Lam [Fri, 7 Apr 2006 18:07:51 +0000 (18:07 +0000)] 
LD_ADD missing dependencies for binaries. Reported by Edson Alves Pereira.
reviewed by: plam

18 years agoSGI compilation fixes (reported by Christoph Bauer):
Patrick Lam [Fri, 7 Apr 2006 17:37:09 +0000 (17:37 +0000)] 
SGI compilation fixes (reported by Christoph Bauer):
1) reorder union definition of _FcChar;
2) omit .stats =.

18 years agoPortability fixes for HP-UX (reported by Christoph Bauer). Replace
Patrick Lam [Fri, 7 Apr 2006 17:27:39 +0000 (17:27 +0000)] 
Portability fixes for HP-UX (reported by Christoph Bauer). Replace
    '__inline__' by AC_C_INLINE and 'inline'. Replace '__alignof__' by
    'fc_alignof'.
reviewed by: plam

18 years agoMove up #include of config.h. Fail if neither inttypes.h nor stdint.h is
Patrick Lam [Fri, 7 Apr 2006 17:06:55 +0000 (17:06 +0000)] 
Move up #include of config.h. Fail if neither inttypes.h nor stdint.h is
    available. Fixes bug 6171.
reviewed by: plam

18 years agoPatrick Lam <plam@mit.edu>
Patrick Lam [Fri, 7 Apr 2006 04:42:32 +0000 (04:42 +0000)] 
Patrick Lam <plam@mit.edu>
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

18 years agoEliminate warning.
Patrick Lam [Fri, 7 Apr 2006 04:19:49 +0000 (04:19 +0000)] 
Eliminate warning.

18 years agofile fc-match.sgml was initially added on branch fc-2_4_branch.
Patrick Lam [Thu, 6 Apr 2006 05:15:08 +0000 (05:15 +0000)] 
file fc-match.sgml was initially added on branch fc-2_4_branch.

18 years agoUpdate documentation for fc-match (SGML-ize it). (reported by Ilya
Patrick Lam [Thu, 6 Apr 2006 05:15:08 +0000 (05:15 +0000)] 
Update documentation for fc-match (SGML-ize it). (reported by Ilya
    Konstantinov)

18 years agoReduce amount of dirty rss by const'ing some data structures.
Patrick Lam [Thu, 6 Apr 2006 04:52:21 +0000 (04:52 +0000)] 
Reduce amount of dirty rss by const'ing some data structures.
Don't fail if we can't create or remove $(pkgcachedir) i.e.
    /var/cache/fontconfig. (reported by Quanah Gibson-Mount).
reviewed by: plam

18 years agoFix intel compiler warnings: make many variables static, eliminate
Patrick Lam [Thu, 6 Apr 2006 04:33:11 +0000 (04:33 +0000)] 
Fix intel compiler warnings: make many variables static, eliminate
    duplicate names, reduce variable scopes, unsigned/signed printf
    formatting.
reviewed by: plam

18 years agoFix multiarch support (don't destroy multiarch files!)
Patrick Lam [Fri, 24 Mar 2006 15:21:10 +0000 (15:21 +0000)] 
Fix multiarch support (don't destroy multiarch files!)
Require pkg-config. (Thanks Behdad; better solution wanted for libxml2
    detection!)
reviewed by: plam

18 years agoOn Windows, unlink before rename. Reported by Tim Evans.
Patrick Lam [Thu, 23 Mar 2006 04:22:28 +0000 (04:22 +0000)] 
On Windows, unlink before rename. Reported by Tim Evans.

18 years agoOn Windows, unlink before rename. Reported by Tim Evans.
Patrick Lam [Thu, 23 Mar 2006 04:21:10 +0000 (04:21 +0000)] 
On Windows, unlink before rename. Reported by Tim Evans.

18 years agoFix typos in orth files. Reported by Denis Jacquerye.
Patrick Lam [Wed, 15 Mar 2006 15:59:33 +0000 (15:59 +0000)] 
Fix typos in orth files. Reported by Denis Jacquerye.

18 years agoFix typos in orth files. Reported by Denis Jacquerye.
Patrick Lam [Wed, 15 Mar 2006 15:58:59 +0000 (15:58 +0000)] 
Fix typos in orth files. Reported by Denis Jacquerye.

18 years agoFix Makefile.am for removal of debian/ directory.
Patrick Lam [Wed, 8 Mar 2006 20:57:39 +0000 (20:57 +0000)] 
Fix Makefile.am for removal of debian/ directory.

18 years ago.cvsignore
Patrick Lam [Wed, 8 Mar 2006 20:38:39 +0000 (20:38 +0000)] 
.cvsignore
Ignore debian/ directory for CVS.

18 years agodebian/*
Patrick Lam [Wed, 8 Mar 2006 20:33:42 +0000 (20:33 +0000)] 
debian/*
Now remove debian/ directory.

18 years agodebian/po/*
Patrick Lam [Wed, 8 Mar 2006 20:32:56 +0000 (20:32 +0000)] 
debian/po/*
.cvsignore
Remove debian/ directory from sources. See Debian's subversion server at
    svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig instead.

18 years agofile ln.orth was initially added on branch fc-2_4_branch.
Patrick Lam [Wed, 8 Mar 2006 19:27:25 +0000 (19:27 +0000)] 
file ln.orth was initially added on branch fc-2_4_branch.

18 years agoAdd orthography for Lingala.
Patrick Lam [Wed, 8 Mar 2006 19:27:25 +0000 (19:27 +0000)] 
Add orthography for Lingala.
reviewed by: plam

18 years agoSort directory entries while scanning them from disk; prevents Heisenbugs
Patrick Lam [Wed, 8 Mar 2006 19:19:05 +0000 (19:19 +0000)] 
Sort directory entries while scanning them from disk; prevents Heisenbugs
    due to file ordering in a directory.
reviewed by: plam

18 years agoAdd a configuration file that disables hinting for the Lohit Gujarati font
Patrick Lam [Wed, 8 Mar 2006 19:16:10 +0000 (19:16 +0000)] 
Add a configuration file that disables hinting for the Lohit Gujarati font
    (since the hinting distort some glyphs quite badly).
reviewed by: keithp

18 years agoSort directory entries while scanning them from disk; prevents Heisenbugs
Patrick Lam [Wed, 8 Mar 2006 19:10:57 +0000 (19:10 +0000)] 
Sort directory entries while scanning them from disk; prevents Heisenbugs
    due to file ordering in a directory.
reviewed by: plam

18 years agoRemove stuff we don't use, make get_{char,short,long} functions of ftglue
Patrick Lam [Wed, 8 Mar 2006 02:30:43 +0000 (02:30 +0000)] 
Remove stuff we don't use, make get_{char,short,long} functions of ftglue
    macros to be inlined.
Code cleanups (excess prototype, old-style function definition).
reviewed by: plam

18 years agoBecause we hacked FcPatternGet, we don't really need to expand the filename
Patrick Lam [Sun, 5 Mar 2006 15:33:46 +0000 (15:33 +0000)] 
Because we hacked FcPatternGet, we don't really need to expand the filename
    again in FcPatternGetString.

18 years agoOk, so some people (wine!) use FcPatternGet to fetch FC_FILE. Make that
Patrick Lam [Sun, 5 Mar 2006 06:05:50 +0000 (06:05 +0000)] 
Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE. Make that
    work. Reported by Bernhard Rosenkraenzer.

18 years agoInclude inttypes.h instead of stdint.h if appropriate.
Patrick Lam [Fri, 3 Mar 2006 18:35:42 +0000 (18:35 +0000)] 
Include inttypes.h instead of stdint.h if appropriate.

18 years agoMore stub definitions and remove FcFileIsDir from fc-cat.
Patrick Lam [Fri, 3 Mar 2006 18:19:04 +0000 (18:19 +0000)] 
More stub definitions and remove FcFileIsDir from fc-cat.

18 years agoFix compilation on AIX with stub definitions (bug 6097).
Patrick Lam [Fri, 3 Mar 2006 15:12:12 +0000 (15:12 +0000)] 
Fix compilation on AIX with stub definitions (bug 6097).

18 years agoGet rid of C++-style comments.
Patrick Lam [Fri, 3 Mar 2006 06:35:53 +0000 (06:35 +0000)] 
Get rid of C++-style comments.

18 years agodebian/changelog
Patrick Lam [Fri, 3 Mar 2006 06:12:55 +0000 (06:12 +0000)] 
debian/changelog
Enable creation of 2.3.94 Debian packages.

18 years agoFix suspicious return expression which causes junk to be returned.
Patrick Lam [Fri, 3 Mar 2006 06:11:31 +0000 (06:11 +0000)] 
Fix suspicious return expression which causes junk to be returned.
reviewed by: plam

18 years agoFix placement of @s. fc-2_3_94
Patrick Lam [Fri, 24 Feb 2006 19:32:58 +0000 (19:32 +0000)] 
Fix placement of @s.

18 years agoBump version to 2.3.94.
Patrick Lam [Fri, 24 Feb 2006 19:19:09 +0000 (19:19 +0000)] 
Bump version to 2.3.94.

18 years agoRemove unconditional emboldening (per Behdad's instructions).
Patrick Lam [Fri, 24 Feb 2006 18:52:17 +0000 (18:52 +0000)] 
Remove unconditional emboldening (per Behdad's instructions).
Add @s to hide some echos.

18 years agoTakashi Iwai <tiwai@suse.de> reviewed by: plam
Patrick Lam [Fri, 24 Feb 2006 16:41:34 +0000 (16:41 +0000)] 
Takashi Iwai <tiwai@suse.de> reviewed by: plam
Fix double-free on error case.

18 years agoStrip \r and whitespace from input; fixes bug 3454.
Patrick Lam [Wed, 22 Feb 2006 04:50:16 +0000 (04:50 +0000)] 
Strip \r and whitespace from input; fixes bug 3454.

18 years agoAllocate large arrays statically in fc-lang to fix crashes under
Patrick Lam [Wed, 22 Feb 2006 04:09:39 +0000 (04:09 +0000)] 
Allocate large arrays statically in fc-lang to fix crashes under
    MinGW/MSYS.

18 years agoPass the buck; make fontconfig not crash on pango badness.
Patrick Lam [Tue, 21 Feb 2006 15:56:41 +0000 (15:56 +0000)] 
Pass the buck; make fontconfig not crash on pango badness.

18 years agoUse embeddedbitmap rather than rh_prefer_bitmap.
Patrick Lam [Tue, 21 Feb 2006 15:53:43 +0000 (15:53 +0000)] 
Use embeddedbitmap rather than rh_prefer_bitmap.

18 years agoEliminate redundancies.
Patrick Lam [Tue, 21 Feb 2006 15:50:19 +0000 (15:50 +0000)] 
Eliminate redundancies.
reviewed by: plam

18 years agoEliminate unused vars reported by Intel's compiler.
Patrick Lam [Tue, 21 Feb 2006 15:40:18 +0000 (15:40 +0000)] 
Eliminate unused vars reported by Intel's compiler.
reviewed by: plam

18 years agoRemove one more archaic character.
Patrick Lam [Tue, 21 Feb 2006 15:29:54 +0000 (15:29 +0000)] 
Remove one more archaic character.
reviewed by: plam

18 years agoFreeze patterns created by configuration file for tiny memory savings
Patrick Lam [Tue, 21 Feb 2006 15:24:28 +0000 (15:24 +0000)] 
Freeze patterns created by configuration file for tiny memory savings
    (every little bit helps).
reviewed by: plam, keithp

18 years agoInitialize fontconfig library in fc-cat to avoid segfault.
Patrick Lam [Tue, 21 Feb 2006 14:12:41 +0000 (14:12 +0000)] 
Initialize fontconfig library in fc-cat to avoid segfault.
reviewed by: plam

18 years agoFix the underlying cause of the below segfault (must usually call
Patrick Lam [Sat, 18 Feb 2006 18:18:07 +0000 (18:18 +0000)] 
Fix the underlying cause of the below segfault (must usually call
    FcDirCacheHasCurrentArch after FcDirCacheValid).