summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* build: Don't use an intermediate .pot file to do translationswip/hadess/really-gettextBastien Nocera2019-09-106-21/+27
| | | | | | | | | Declare freedesktop.org.xml.in to be translatable directly, without extracting translatable strings from a .pot which we then translate, which we then need to merge into translations. Files in its/ from Robert Ancell <robert.ancell@canonical.com> https://gitlab.freedesktop.org/xdg/shared-mime-info/merge_requests/4
* po: Remove translated expanded-acronymBastien Nocera2019-09-101-4/+0
| | | | | | be@latin contained a translated for the expanded CGM acronym. There doesn't seem to be a way to avoid have the translation merged back into the XML file, so remove the translation instead.
* build: Remove maintainer-mode flagBastien Nocera2019-09-101-1/+1
| | | | | It's not parsed: configure: WARNING: unrecognized options: --enable-maintainer-mode
* README: Update translation toolsBastien Nocera2019-09-091-1/+1
|
* README: Update installation instructionsBastien Nocera2019-09-091-3/+3
| | | | | | Use a correct default prefix, and use sudo to do the installation, because if you need the instructions, then you'll need them to be precise.
* README: Remove explanation of how to install in $HOMEBastien Nocera2019-09-091-9/+0
| | | | | Nobody that needs this information will be able to set it up properly (we'd also need to modify XDG_DATA_DIRS, amongst other things).
* README: Link to libmagicSergey Ponomarev2019-09-091-0/+3
| | | | libmagic is also a rich database of MIME type magic signatures.
* README: Add note about autogen.shSergey Ponomarev2019-09-091-0/+2
|
* README: Merged description from home pageSergey Ponomarev2019-09-091-3/+10
| | | | Merge the description from https://freedesktop.org/wiki/Software/shared-mime-info/
* README: Link to the specification directlySergey Ponomarev2019-09-091-3/+1
|
* README: Use Markdown headers for sectionsSergey Ponomarev2019-09-091-7/+14
|
* README: Add MarkDown link to the READMEBastien Nocera2019-09-091-0/+1
|
* README: update links and use https URLsSergey Ponomarev2019-09-091-3/+3
|
* build: Use gettext instead of intltoolValentin David2019-09-068-815/+900
|
* po: Update translationsBastien Nocera2019-08-205-238/+238
|
* Use "source code" for files containing programming sourcesBastien Nocera2019-08-201-2/+2
| | | | Including the new Groovy mime-type, and the older COBOL one.
* ci: Generate the spec in the CIBastien Nocera2019-08-201-1/+3
| | | | | To verify that the modified spec has a valid syntax, as done in: https://gitlab.freedesktop.org/xdg/xdg-specs/blob/master/web-export/update.py
* spec: Mention that sub-class-of can be aliasesBastien Nocera2019-08-201-0/+5
| | | | | As implemented in Qt: https://codereview.qt-project.org/242601
* ci: Install findutils in the CIBastien Nocera2019-08-201-1/+1
| | | | | | Otherwise "make distcheck" will throw: /bin/sh: line 9: find: command not found and not even register that something went wrong.
* po: Update translationsBastien Nocera2019-08-2073-25386/+26342
|
* Remove *.bin glob from disc imagesBastien Nocera2019-08-201-2/+0
| | | | | | | | *.bin is too generic to be used for specific file types. As the file managers should be able to detect the Sega CD and Sega Saturn disc images by magic, we shouldn't be losing any convenience. Closes: #101
* spec: Remove acronym translationBastien Nocera2019-08-202-6/+0
| | | | | None of the acronyms we've added were ever translated in the 15-odd years when they could have been, so remove the feature.
* Added Groovy file extensions/metadataBrennon Miller2019-08-201-3/+6
|
* Fix the description for SCSS filesBastien Nocera2019-08-201-1/+3
| | | | | It said "Sass" in the description, which is another type of CSS preprocessor definition.
* Define the Sass acronymBastien Nocera2019-08-201-0/+2
|
* Prefer an acronym for Windows MOF filesBastien Nocera2019-08-201-1/+3
|
* Merge the 2 G3 Fax image mime-typesBastien Nocera2019-08-201-4/+2
| | | | | One didn't have any glob or magic, so was effectively never used. Make it an alias of the other one.
* Prefer the acronym for RLE and CGM imagesBastien Nocera2019-08-201-2/+6
|
* Better description for interface definition file typesBastien Nocera2019-08-201-2/+2
|