summaryrefslogtreecommitdiff
path: root/test-tree-magic.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-09test: Call g_type_init() with older glibBastien Nocera1-0/+3
Only call g_type_init() when compiling against an older glib. https://bugs.freedesktop.org/show_bug.cgi?id=70255
2012-01-17Fix compile-time warningBastien Nocera1-0/+3
2011-12-04Fix FSF address in license notice.Ville Skyttä1-2/+2
2008-07-202008-07-19 Bastien Nocera <hadess@hadess.net>Bastien Nocera1-0/+45
* Makefile.am: Fail if the tree test failed * freedesktop.org.xml.in: Move some types from nautilus, not fully implemented yet * test-tree-magic.c (handle_one_line), (type_to_path), (print_matchlet), (main): Add some debug functionality * tests/tree-list: Add a test for VCDs
2008-07-182008-07-18 Bastien Nocera <hadess@hadess.net>Bastien Nocera1-0/+641
* .cvsignore: upd * shared-mime-info-spec.xml: Update the spec to contain "content-types" or "tree magic", to detect an "x-content/" mime-type from a directory structure, patch from Matthias Clasen <mclasen@redhat.com> * update-mime-database.c (process_freedesktop_node), (cmp_tree_magic), (tree_match_new), (tree_match_free), (build_tree_matches), (tree_magic_free), (tree_magic_new), (write_tree_magic_children), (write_tree_magic), (add_type), (write_types), (write_header), (write_types_cache), (write_cache), (main): Add support for writing the tree-magic file, as per the spec update above, patch from Matthias Clasen <mclasen@redhat.com> * freedesktop.org.xml.in: Add one single tree-magic item, for testing * configure.in: check for GIO, build the tree magic test if it's available * Makefile.am: use test-tree-magic if it's there * test-tree-magic.c: automated testing for tree magic, based on GIO code by Matthias Clasen <mclasen@redhat.com> * tests/tree-list: A few tests