Commit Graph

1057 Commits

Author SHA1 Message Date
Patrick Lam 04f7d3e7fd 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
2006-04-11 14:20:59 +00:00
Patrick Lam af2ad236f0 Survive missing docbook2pdf.
reviewed by: plam
2006-04-11 05:08:26 +00:00
Patrick Lam 67ed0b7297 Include more stub definitions to make HP-UX's C compiler happy. 2006-04-10 22:08:35 +00:00
Patrick Lam ac0010940e Swap typo in order of ALIGN and dereferencing, fixing bug 6529. 2006-04-10 21:04:54 +00:00
Patrick Lam 3ea92166a0 Fix string memory leak (Coverity defect #1823).
Fix memory leak with hash collision (Coverity defect #1824).
reviewed by: plam
2006-04-10 19:33:03 +00:00
Patrick Lam c814c301ee Don't leak header in non-error case (Coverity defect #1825).
reviewed by: plam
2006-04-10 16:12:55 +00:00
Patrick Lam 65448e8b2a src/fcdir.c (FcDirScanConfig) Don't leak in error cases (Coverity defects
#777, #1826)
reviewed by: plam
2006-04-10 16:06:42 +00:00
Patrick Lam ae2aafe602 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
2006-04-10 15:46:34 +00:00
Patrick Lam 86abd75965 LD_ADD missing dependencies for binaries. Reported by Edson Alves Pereira.
reviewed by: plam
2006-04-07 18:07:51 +00:00
Patrick Lam f23f5f388d SGI compilation fixes (reported by Christoph Bauer):
1) reorder union definition of _FcChar;
2) omit .stats =.
2006-04-07 17:37:09 +00:00
Patrick Lam 44415a079a 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
2006-04-07 17:27:39 +00:00
Patrick Lam 91fe51b4f8 Move up #include of config.h. Fail if neither inttypes.h nor stdint.h is
available. Fixes bug 6171.
reviewed by: plam
2006-04-07 17:06:55 +00:00
Patrick Lam d6217cc6bc 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
2006-04-07 04:42:32 +00:00
Patrick Lam 3a342c5a6c Eliminate warning. 2006-04-07 04:19:49 +00:00
Patrick Lam e79c648c7a file fc-match.sgml was initially added on branch fc-2_4_branch. 2006-04-06 05:15:08 +00:00
Patrick Lam 8b4e7628e1 Update documentation for fc-match (SGML-ize it). (reported by Ilya
Konstantinov)
2006-04-06 05:15:08 +00:00
Patrick Lam 392fa276dc 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
2006-04-06 04:52:21 +00:00
Patrick Lam 0d745819a9 Fix intel compiler warnings: make many variables static, eliminate
duplicate names, reduce variable scopes, unsigned/signed printf
    formatting.
reviewed by: plam
2006-04-06 04:33:11 +00:00
Patrick Lam b17cf498be Fix multiarch support (don't destroy multiarch files!)
Require pkg-config. (Thanks Behdad; better solution wanted for libxml2
    detection!)
reviewed by: plam
2006-03-24 15:21:10 +00:00
Patrick Lam ba76916ff6 On Windows, unlink before rename. Reported by Tim Evans. 2006-03-23 04:22:28 +00:00
Patrick Lam c022182231 On Windows, unlink before rename. Reported by Tim Evans. 2006-03-23 04:21:10 +00:00
Patrick Lam d8fda87d5e Fix typos in orth files. Reported by Denis Jacquerye. 2006-03-15 15:59:33 +00:00
Patrick Lam 04af4f56dc Fix typos in orth files. Reported by Denis Jacquerye. 2006-03-15 15:58:59 +00:00
Patrick Lam fd11da8464 Fix Makefile.am for removal of debian/ directory. 2006-03-08 20:57:39 +00:00
Patrick Lam c957abedc7 .cvsignore
Ignore debian/ directory for CVS.
2006-03-08 20:38:39 +00:00
Patrick Lam dcd49fcc23 debian/*
Now remove debian/ directory.
2006-03-08 20:33:42 +00:00
Patrick Lam ccda304eac debian/po/*
.cvsignore
Remove debian/ directory from sources. See Debian's subversion server at
    svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig instead.
2006-03-08 20:32:56 +00:00
Patrick Lam 72b3e80625 file ln.orth was initially added on branch fc-2_4_branch. 2006-03-08 19:27:25 +00:00
Patrick Lam 2509fc7ac1 Add orthography for Lingala.
reviewed by: plam
2006-03-08 19:27:25 +00:00
Patrick Lam 37e3f33c7e Sort directory entries while scanning them from disk; prevents Heisenbugs
due to file ordering in a directory.
reviewed by: plam
2006-03-08 19:19:05 +00:00
Patrick Lam e01166d52a Add a configuration file that disables hinting for the Lohit Gujarati font
(since the hinting distort some glyphs quite badly).
reviewed by: keithp
2006-03-08 19:16:10 +00:00
Patrick Lam e3c6d3364c Sort directory entries while scanning them from disk; prevents Heisenbugs
due to file ordering in a directory.
reviewed by: plam
2006-03-08 19:10:57 +00:00
Patrick Lam d8951c0cc2 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
2006-03-08 02:30:43 +00:00
Patrick Lam 9226e04c69 Because we hacked FcPatternGet, we don't really need to expand the filename
again in FcPatternGetString.
2006-03-05 15:33:46 +00:00
Patrick Lam 618adbaf7b Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE. Make that
work. Reported by Bernhard Rosenkraenzer.
2006-03-05 06:05:50 +00:00
Patrick Lam dc70c15aba Include inttypes.h instead of stdint.h if appropriate. 2006-03-03 18:35:42 +00:00
Patrick Lam ead55be0ed More stub definitions and remove FcFileIsDir from fc-cat. 2006-03-03 18:19:04 +00:00
Patrick Lam c003f5aec3 Fix compilation on AIX with stub definitions (bug 6097). 2006-03-03 15:12:12 +00:00
Patrick Lam bb6b19938e Get rid of C++-style comments. 2006-03-03 06:35:53 +00:00
Patrick Lam 5b4a40a955 debian/changelog
Enable creation of 2.3.94 Debian packages.
2006-03-03 06:12:55 +00:00
Patrick Lam b36f2a39d0 Fix suspicious return expression which causes junk to be returned.
reviewed by: plam
2006-03-03 06:11:31 +00:00
Patrick Lam b152a85bdc Fix placement of @s. 2006-02-24 19:32:58 +00:00
Patrick Lam 63d2df3f92 Bump version to 2.3.94. 2006-02-24 19:19:09 +00:00
Patrick Lam 639475e873 Remove unconditional emboldening (per Behdad's instructions).
Add @s to hide some echos.
2006-02-24 18:52:17 +00:00
Patrick Lam 0cfaf27e33 Takashi Iwai <tiwai@suse.de> reviewed by: plam
Fix double-free on error case.
2006-02-24 16:41:34 +00:00
Patrick Lam cf5cf4cadb Strip \r and whitespace from input; fixes bug 3454. 2006-02-22 04:50:16 +00:00
Patrick Lam 69a3fc78e2 Allocate large arrays statically in fc-lang to fix crashes under
MinGW/MSYS.
2006-02-22 04:09:39 +00:00
Patrick Lam 656b47f698 Pass the buck; make fontconfig not crash on pango badness. 2006-02-21 15:56:41 +00:00
Patrick Lam 9fb0e0743e Use embeddedbitmap rather than rh_prefer_bitmap. 2006-02-21 15:53:43 +00:00
Patrick Lam f2fb985c7a Eliminate redundancies.
reviewed by: plam
2006-02-21 15:50:19 +00:00