summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ci: Also build with mesonmesonFélix Piédallu2020-02-201-1/+18
|
* build: Add meson build systemFélix Piédallu2020-02-206-0/+237
|
* build: Add script to run the local mime detection testsFélix Piédallu2020-02-202-12/+32
| | | | Replaces the shell in Makefile.am
* build: Add script to run the mime detection testsFélix Piédallu2020-02-202-7/+27
| | | | Replaces the shell in Makefile.am
* build: Add script to check for duplicated mime-typesFélix Piédallu2020-02-202-6/+16
| | | | Replaces the shell in Makefile.am
* build: Add script that prints stats on generic iconsFélix Piédallu2020-02-202-2/+15
| | | | Replaces the shell in Makefile.am
* build: Add script to check translations in po/LINGUASFélix Piédallu2020-02-202-7/+17
| | | | Replaces the shell in Makefile.am
* ci: Clean list of dependenciesBastien Nocera2020-02-201-2/+14
| | | | So that it's easier to add, modify and remove individual items.
* build: Add script to generate fd.o XML fileFélix Piédallu2020-02-202-3/+24
| | | | | Generate the gmo translation files and use itstool to merge those translations into the XML file.
* tests: Reduce the size of the test suite filesBastien Nocera2020-02-1034-6262/+3
| | | | | | | | If we were to move to meson, the whole test suite would be available in the dist, so make sure this doesn't balloon the size of the tarball. Size reduction executed with: for i in * ; do SIZE=$(stat --printf="%s" $i) ; if [ $SIZE -gt 131072 ] ; then dd if=$i of=$i.tmp bs=128k count=1 && mv $i.tmp $i ; fi ; done
* tests: Remove Core testBastien Nocera2020-02-102-1/+0
| | | | | | It was causing filename conflicts on NTFS. The case insensitivity portion of the rule should hopefully be handled by the C/C++ tests that were just added.
* tests: Add C/C++ testsBastien Nocera2020-02-103-0/+4
| | | | Those also test for case-insensitive matching rules working.
* tests: Fix filename conflict on NTFSBastien Nocera2020-02-102-1/+1
| | | | Rename text.PS.gz so it doesn't conflict with text.ps.gz on NTFS.
* tests: Add test for git clone on case insensitive filesystemsBastien Nocera2020-02-101-0/+10
| | | | See: https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/125
* tests: Fix BPS testBastien Nocera2020-02-101-0/+0
| | | | | | Rebase didn't take directory changes into account. Fixes: efab1d6202e54ee23b9f837fb561c61dddd98af3
* tests: Fix IPS testBastien Nocera2020-02-101-0/+0
| | | | | | Rebase didn't take directory changes into account. Fixes: 071644f8db4850b93934d0939500fc2b4df9eeb1
* tests: Fix docbook testBastien Nocera2020-02-101-1/+1
| | | | | | The file's path has changed after moving the test directory. Fixes: b12cdd15947505e412f7005806ba67904d22671f
* tests: Re-add dropped Makefile testBastien Nocera2020-02-101-0/+4
| | | | | | | The .gitignore rules made it so that a "git add" of the directory missed the file. Fixes: b12cdd15947505e412f7005806ba67904d22671f
* build: Remove unused pre-git ChangeLogBastien Nocera2020-02-081-3399/+0
|
* build: Move all top-level tests to tests/ dirBastien Nocera2020-02-08462-7/+3
|
* build: Move data files to data/Bastien Nocera2020-02-089-13/+13
|
* build: Move source code to src/Bastien Nocera2020-02-085-5/+5
|
* Add application/x-ips-patchAdrien Plazas2020-02-083-0/+11
| | | | This describes the IPS patch format.
* Add application/x-bps-patchAdrien Plazas2020-02-083-0/+13
| | | | | This describes the BPS patch format. See https://byuu.org/projects/beat for more information.
* 1.15Release-1-15Bastien Nocera2019-10-302-1/+5
|
* Add Kindle Book Format mime-typeBastien Nocera2019-10-233-0/+9
| | | | | | | Mime-type from: https://www.iana.org/assignments/media-types/application/vnd.amazon.mobi8-ebook Alias from: https://github.com/kovidgoyal/calibre/commit/ddca079000ffd03611d19c5dfe29341b9c1c6e2e#diff-64773d34b80f6772011eb6c82d9fa5ddR37
* Add mimetype for AppleWorks documentsNate Graham2019-10-163-0/+7
|
* Remove "<!--" magic from XML filesBastien Nocera2019-10-163-1/+928
| | | | | | It's not enough to recognise an XML file on its own. Closes: #120
* Add application/bzip2 aliasBastien Nocera2019-10-161-0/+1
|
* 1.14Release-1-14Bastien Nocera2019-09-202-1/+5
|
* po: Update translationsBastien Nocera2019-09-204-123/+124
| | | | From Transifex
* Add support for QCOW imagesAnisse Astier2019-09-173-0/+16
| | | | | | Note that the disk.qcow2 is a QCOW version 3 file, which is very similar to version 2. I haven't found the .qcow3 extension used in the wild though.
* Lower the priority of "<title" for HTML filesBastien Nocera2019-09-163-2/+4
| | | | Those are also found in SVG files.
* Make files that start with "<svg" unequivocal SVG filesBastien Nocera2019-09-163-2/+60
|
* tests: Add another SVG file for testingBastien Nocera2019-09-162-0/+81
|
* Files that start with "Created with Inkscape" are SVG filesBastien Nocera2019-09-161-0/+1
| | | | Even those with "<!--" at offset 0.
* Reduce priority of "<!--" magic for HTML filesBastien Nocera2019-09-161-1/+3
| | | | | | Those are valid ways for loads of XML (and XML-ish) files to start. See https://bugzilla.redhat.com/show_bug.cgi?id=1752117
* 1.13.1Release-1-13-1Bastien Nocera2019-09-112-1/+4
|
* Raise SVG match priority to be above XML'sBastien Nocera2019-09-111-1/+1
| | | | | | | | | | | | We lowered SVG's magic priority so that files would be first and foremost detected as HTML, then as SVG. But SVG files are also XML, and XML files had the same priority as SVGs, leading to SVG files being detected as simply "XML". Raise SVG's magic priority to be above XML, but below HTML's. Fortunately we have a test now... Fixes: 84563c62ab30190f8d3d25f8763556068f02d4a8
* tests: Add SVG file testBastien Nocera2019-09-112-0/+185
|
* 1.13Release-1-13Bastien Nocera2019-09-112-1/+26
|
* tests: Add SVG-in-HTML test fileBastien Nocera2019-09-112-0/+19
| | | | From https://bugs.webkit.org/show_bug.cgi?id=201295#c0
* Lower the magic for the often-embed "<svg" matchBastien Nocera2019-09-111-0/+2
| | | | | | | So that HTML files with "<svg" in them can be recognised first and foremost as an HTML file. See https://bugs.webkit.org/show_bug.cgi?id=201295
* tests: Add HTML file that'd get matched as XHTMLBastien Nocera2019-09-112-0/+6
|
* Make *.html files be text/html by defaultBastien Nocera2019-09-111-2/+2
| | | | | | | XHTML files are more narrowly defined, and have their own suffix should that be needed. Closes: #98
* Widen a "<!DOCTYPE html" magic for xhtml fileChris Lord2019-09-111-1/+1
| | | | | "<!DOCTYPE html" should be checked the same way as 'DOCTYPE HTML' and 'doctype html' matches.
* po: Update translationsBastien Nocera2019-09-1173-57276/+57423
| | | | From Transifex
* Revert "po: Remove translated expanded-acronym"Bastien Nocera2019-09-111-0/+4
| | | | | | | | | | This change is not needed after the real fix: "its: Fix translation matching rules" So revert it to avoid having conflicting versions of the same translation in Transifex and checked out. This reverts commit a4aaf5780ca0aea7dc58cb8753b2f65a4992348d.
* build: Load the shared-mime-info.its file when running itstoolBastien Nocera2019-09-111-1/+1
| | | | | | | | | Whereas gettext automatically gets the its file loaded through the GETTEXTDATADIRS environment variable, itstool needs the path to the its file passed manually. This fixes some fields being translated even though the its file declares them as not translatable.
* build: Rebuild .pot file on source changesBastien Nocera2019-09-111-2/+2
| | | | Add a few dependencies for regenerating the .pot file.