summaryrefslogtreecommitdiff
path: root/fc-cat
AgeCommit message (Collapse)AuthorFilesLines
2018-03-15call setlocaleAkira TAGOH1-0/+2
2017-11-07Add the ruleset description supportAkira TAGOH1-19/+27
Trying to address what these configuration files really do. This change allows to see the short description that mention the purpose of the content in the config file and obtain them through API. This change also encourage one who want to make some UI for the user-specific configuration management. it is the main purpose of this change for me though. Aside from that, I've also made programs translatable. so we see more dependencies on the build time for gettext, and itstool to generate PO from xml.
2016-09-07Don't call perror() if no changes happens in errnoAkira TAGOH1-2/+7
2015-01-19Fix a typo in docsAkira TAGOH1-1/+1
2014-08-12Fix the memory leak in fc-catAkira TAGOH1-6/+2
2014-08-12Increase the refcount in FcConfigSetCurrent()Akira TAGOH1-0/+1
https://bugs.freedesktop.org/show_bug.cgi?id=82432
2013-04-08build-chain, replace INCLUDES directive by AM_CPPFLAGSSebastian Freundt1-1/+1
As of automake-13.1 the INCLUDES directive is no longer supported. An automake run will return with an error. This changeset simply follows automake's advice to replace INCLUDES by AM_CPPFLAGS.
2013-01-02Switch .gitignore to git.mkBehdad Esfahbod1-0/+2
2012-12-31Remove unneeded stuffBehdad Esfahbod1-6/+4
2012-10-26Use automake variable instead of cleaning files in clean-localAkira TAGOH1-4/+3
just for git.mk coming up from Behdad's threadsafe branch
2012-06-01Fix the wrong estimation for the memory usage information in fontconfigAkira TAGOH1-1/+1
2012-03-28Fix the hardcoded cache file suffixAkira TAGOH1-2/+2
2012-03-16Fix a build issue due to the use of non-portable variablesAkira TAGOH1-2/+2
$< isn't supported in BSD make say. $(RM) is pre-defined in GNU make though, not in BSD make say. so changed to check on configure if it's pre-defined by make, otherwise set the appropriate command to $(RM). This would be a workaround until it has the certain pre-defined value.
2012-03-16Revert "Fix a build fail on some environment."Akira TAGOH1-3/+3
This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af. Conflicts: doc/Makefile.am
2012-03-10Fix a build fail on some environment.Akira TAGOH1-3/+3
2012-02-21fc-cat: fix pointer warningMike Frysinger1-1/+1
Add a cast to avoid a gcc warning: fc-cat.c: In function 'cache_print_set': fc-cat.c:230:2: warning: pointer targets in passing argument 2 of 'FcPatternFormat' differ in signedness [-Wpointer-sign] ../fontconfig/fontconfig.h:860:1: note: expected 'const FcChar8 *' but argument is of type 'char *' Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-20Switch fc-cat to use FcPatternFormat()Behdad Esfahbod1-28/+11
Added the a builtin "fccat" to FcPatternFormat().
2010-12-28Make fc-arch stuff cross-compiling-safeBehdad Esfahbod1-1/+1
Fixes: Bug 32679 - fontconfig-2.8.0 does not cross compile Bug 25462 - Cross-compilation doesn't work
2010-11-10Cleanup copyright notices to replace "Keith Packard" with "the author(s)"Behdad Esfahbod2-4/+4
2010-09-03Bug 29995 - fc-cat does not invoke FcFini()Behdad Esfahbod1-0/+1
2010-04-20Add fc-pattern cmdline toolBehdad Esfahbod1-0/+1
2009-03-13Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in all filesBehdad Esfahbod2-4/+4
2009-02-13Cleanup all manpage.* filesBehdad Esfahbod1-1/+1
Recent doc2man generates files called manpage.log. This was breaking build.
2009-02-13Add fc-scan too that runs FcFileScan/FcDirScanBehdad Esfahbod1-0/+1
This is quite similar to fc-query, but calling FcFileScan/FcDirScan instead of FcFreeTypeQuery.
2009-02-13Handle -h and --help according to GNU Coding Standards (#17104)Behdad Esfahbod2-23/+26
Added -h instead of -?. And upon -h and --help, write usave to stdout instead of stdin, and return 0 instead of 1. -? still works like before as that's what getopt returns upon unknown arguments.
2009-02-13Get rid of $Id$ tagsBehdad Esfahbod1-1/+1
2009-02-13Add fc-query (#13019)Behdad Esfahbod1-0/+1
2009-02-13Update man pagesBehdad Esfahbod1-4/+11
2009-02-13Replace RCS Id tags with the file nameBehdad Esfahbod1-1/+1
2008-04-18Fix build with !ENABLE_DOCS and no built manpages.Eric Anholt1-2/+6
2008-01-08Eliminate references to freetype from utility Makefile.am'sKeith Packard1-2/+2
The utility programs don't use any freetype interfaces, so they don't need to directly refer to freetype headers or libraries.
2007-10-25Distribute man source files for command line programs (bug 9678).Keith Packard1-3/+3
For systems on whch DOCBOOK is unavailable, distribute command line program manual pages in .man format.
2006-12-02Fix fc-cat documentation (bug 8935).Peter Breitenlohner2-5/+30
Adapt documentation to reality. (1) The fc-cat usage message should reflect the options accepted by the program. (2) The fc-cat.1 manpage was fairly broken (unreadable).
2006-09-04Hide private functions in shared library. Export functionality for utilities.Keith Packard2-23/+16
Borrowing header stuff written for cairo, fontconfig now exposes in the shared library only the symbols which are included in the public header files. All private symbols are hidden using suitable compiler directives. A few new public functions were required for the fontconfig utility programs (fc-cat and fc-cache) so those were added, bumping the .so minor version number in the process.
2006-09-03Remove all .cvsignore filesKeith Packard1-6/+0
2006-09-02Unify directory canonicalization into FcStrAddFilename.Keith Packard1-1/+1
Instead of making filename canonicalization occur in multiple places, it occurs only in FcStrAddFilename now, as all filenames pass through that function at one point.
2006-09-01Pass directory information around in FcCache structure. Freeze charsets.Keith Packard1-61/+22
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.
2006-08-31Change $(pkgcachedir) to $(fc_cachedir) in fc-cat and fc-cache Makefile.amKeith Packard1-2/+0
make distcheck caught this bug; the effect of 'make uninstall' would have been to execute 'rm -rf /', somewhat less that desirable.
2006-08-31With no args, fc-cat now dumps all directories.Keith Packard1-26/+93
Automatically list all font directories when no arguments are given to fc-cat. Also add -r option to recurse from specified cache directories. fc-cat also now prints the cache filename in verbose mode, along with the related directory name.
2006-08-31Automatically remove invalid cache files.Keith Packard1-2/+1
Cache files for missing or more recently modified directories are automatically removed at the end of every fc-cache run.
2006-08-30Fix fc-cat again. Sigh.Keith Packard1-12/+25
Internal interfaces in cache management changed again...
2006-08-30FcCharSetSerialize was using wrong offset for leaves. Make fc-cat work.Keith Packard1-63/+71
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.
2006-08-27Fix up fc-cache and fc-cat for no global cache changes.Keith Packard1-106/+13
fc-cache and fc-cat use internal (fcint.h) APIs that have changed with the elimination of the global cache.
2006-04-25Include $(top_srcdir), $(top_srcdir)/src before anything else.Patrick Lam1-8/+9
Shuffle order of includes for building out of srcdir on win32. reviewed by: plam
2006-04-11Properly convert static charsets to dynamic charsets.Patrick Lam1-1/+3
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-07LD_ADD missing dependencies for binaries. Reported by Edson Alves Pereira.Patrick Lam1-1/+1
reviewed by: plam
2006-04-07Patrick Lam <plam@mit.edu>Patrick Lam1-1/+0
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-03-03More stub definitions and remove FcFileIsDir from fc-cat.Patrick Lam1-10/+0
2006-02-21Initialize fontconfig library in fc-cat to avoid segfault.Patrick Lam1-1/+10
reviewed by: plam
2006-02-17Enable fc-cat to print out old-style cache info when given a directoryPatrick Lam1-1/+25
name.