summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAgeFilesLines
* Add more acronymsVille Skyttä2021-12-111-0/+38
|
* Add compressed SVG glob pattern `*.svg.gz`Gaël Bonithon2021-12-111-0/+1
|
* Add Apple Wallet pass type application/vnd.apple.pkpassKai Uwe Broulik2021-12-021-0/+10
| | | | | | | De-facto standard mentioned by Apple in [1] and [2]. [1] https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/DistributingPasses.html [2] https://developer.apple.com/documentation/walletpasses/send_an_updated_pass
* migrate from custom itstool to builtin msgfmt for creating translated XMLEli Schwartz2021-11-212-23/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | gettext upstream has supported this for a very long time (since 0.19.7 via commit b3c2a5a242c36fbbaa0c5b17f975d6c638598a23, released in 2015), and itstool is (mostly) a legacy of the time before gettext had proper support for these sorts of use cases. This is similar to the state of intltool, which is described at https://wiki.gnome.org/MigratingFromIntltoolToGettext During the port from autotools to meson, the legacy use of itstool was faithfully translated to meson in the only way possible: by jumping through hoops to run ninja inside ninja in order to generate the .mo files for itstool, because meson's i18n module used a flawed design and there was no "real" target to create those files, only a .PHONY run_target which other rules cannot depend on. Although meson 0.60.0 added support for real targets for the built .mo files, this changed the rules for output filenames, breaking the script. But msgfmt does not care, and anyways comes with builtin meson functions for convenient use with XML files. So let's take this opportunity to drop legacy dependencies and use the modern, builtin tooling, which fixes this bug as a side effect. Fixes #170
* Make the remaining plain text types subclasses of text/plainAlex Henrie2021-10-101-0/+10
| | | | | These omissions were identified by searching the document for types without a superclass and then manually reviewing the resulting list.
* audio/mobile-xmf: separate from audio/x-xmfVille Skyttä2021-10-101-2/+10
| | | | | https://www.iana.org/assignments/media-types/audio/mobile-xmf https://www.iana.org/assignments/media-types/audio/vnd.nokia.mobile-xmf
* Adding ZIM fileGiovanni Alfredo Garciliano Díaz2021-10-101-0/+9
|
* Make text/x-mrml a subclass of application/xmlAlex Henrie2021-10-091-0/+1
| | | | | | | | Section 3 of the MRML specification states "it is XML-based, meaning that standard parsers can be used to process the communication messages." https://www.researchgate.net/publication/2329915_MRML_An_Extensible_Communication_Protocol_for_Interoperability_and_Benchmarking_of_Multimedia_Information_Retrieval_Systems
* image/avif: move acronym and expansion to separate fields from commentVille Skyttä2021-10-091-1/+3
| | | | https://aomediacodec.github.io/av1-avif/#general
* freedesktop_generate.sh: Don't hardcode ninjaorbea2021-10-011-1/+1
| | | | | | Another ninja implementation that works is samurai https://github.com/michaelforney/samurai
* Add text/x-mpl2Ignacy Kuchciński2021-09-301-0/+10
|
* application/x-apple-systemprofiler+xml: require _SPCommandLineArguments in plistwork/scop/jpeg-vs-systemprofilerVille Skyttä2021-09-081-1/+3
| | | | | | | | | | | | | | Look for `<key>_SPCommandLineArguments</key>` in addition to plist root element to distinguish from other property list XML files. Our offset specifiers aren't that fancy, so this can trigger on files that have the above string ´_before_ `<plist version="1.0"`, but those should be quite pathological cases. Start offset 34 is length of `<plist version="1.0"><array><dict>`, 384 is arbitrary guesswork. Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/169
* audio/vnd.dts.hd: include parent type magic in magic matchVille Skyttä2021-08-111-1/+3
| | | | | | | | | | | | | | | | | | | Matching just 0x64582025 within the first 18725 bytes of any file is prone to false positives. The priority of the magic match here being bumped to 60 seems to indicate intent to make it take precedence over the parent `audio/vnd.dts`. But we should take the parent magic into account here as it does not "inherit" with `sub-class-of`. As the comment for this match says "16bits HD be", accept only "16bits core be" as the parent at least for now, not all possible parent magics -- it would not seem consistent to have it in "14bits" variants, or the "16bits core le" one. The test case we have for this is one matching "16bits core be". Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/166 Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/167
* model/gltf+json: new typeVille Skyttä2021-07-291-0/+7
| | | | https://www.iana.org/assignments/media-types/model/gltf+json
* model/gltf-binary: new typeVille Skyttä2021-07-291-0/+9
| | | | https://www.iana.org/assignments/media-types/model/gltf-binary
* application/x-object: add *.mod and a test caseVille Skyttä2021-07-301-0/+1
| | | | | | For GRUB modules. Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/165
* application/x-mod: add some ProTracker magics and a test caseVille Skyttä2021-07-301-0/+2
| | | | https://wiki.multimedia.cx/index.php/Protracker_Module#File_Format
* *: delete trailing whitespaceVille Skyttä2021-07-303-37/+36
|
* Make application/x-mswinurl a subclass of text/plainAlex Henrie2021-06-281-0/+1
| | | | | | If the user has no program installed that handles .url files, the file should open in a text editor so that the user can copy and paste the URL manually.
* Change description for *.desktop files to "desktop entry"David Faure2021-06-281-1/+1
| | | | Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/67
* application/x-x509-ca-cert: add magics and test casesVille Skyttä2021-06-241-0/+4
| | | | | | "BEGIN/END CA CERTIFICATE" seems to be a thing, although not that common. "BEGIN/END TRUSTED CERTIFICATE" is an OpenSSL marker for trusted certificates, see x509(1).
* application/pkix-cert: add BEGIN/END X509 CERTIFICATE magicVille Skyttä2021-06-241-0/+1
|
* application/pkix-crl: add magic and test caseVille Skyttä2021-06-241-0/+3
|
* application/pkix-cert: add magic and test caseVille Skyttä2021-06-241-0/+3
|
* image/jxl: new typeVille Skyttä2021-06-061-0/+8
| | | | Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/159
* Added .sc filename extension for Scala source code, as it is occasionally usedBrennon Miller2021-05-281-0/+1
|
* application/schema+json: new typeAlex Henrie2021-05-281-0/+11
| | | | | | | JSON Schema files are distinguished from other JSON files by a "$schema" property which is typically at the beginning of the file. https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00
* Add text/x-crystalGeopJr2021-05-281-0/+6
|
* application/x-krita: remove stray period from commentVille Skyttä2021-05-271-1/+1
| | | | | | | | Commit d033c511c9851e63ed44c0c7bdba2b689396aded added it but didn't state a reason, assuming accidental because that's not what we usually do. Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/114
* adding org-modeGiovanni Alfredo Garciliano Díaz2021-05-271-0/+5
|
* Add Elixir source code mime typeNicolas Morais2021-05-271-0/+6
|
* Add two new offsets for .kra and .krzHalla Rempt2021-05-271-1/+5
|
* text/x-python3: add *.pyi glob (Python stub files)Illia Volochii2021-05-271-0/+1
| | | | | | | | | | Stub files are files containing type hints, they are written in normal Python 3 syntax, but generally leaving out runtime logic like variable initializers, function bodies, and default arguments. https://www.python.org/dev/peps/pep-0484/#stub-files https://mypy.readthedocs.io/en/stable/stubs.html#stub-file-syntax
* image/x-canon-cr3: newChris Mayo2021-05-151-1/+8
| | | | | | Supported since LibRaw 202101 snapshot. https://github.com/lclevy/canon_cr3
* image/x-xpixmap: make XPM3 magic more specificVille Skyttä2021-05-131-1/+1
|
* image/x-xpixmap: add XPM2 magicVille Skyttä2021-05-131-0/+1
| | | | https://en.wikipedia.org/wiki/X_PixMap#XPM2
* application/x-troff-man: add *.[1-9] globVille Skyttä2021-05-131-0/+1
|
* application/toml: new typeVille Skyttä2021-05-121-0/+8
| | | | | | https://toml.io/en/v1.0.0#mime-type Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/156
* Lower priority of "BEGIN {" for perl, awk uses that toowork/dfaure/issue155David Faure2021-04-251-1/+1
| | | | Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/155
* Add Smacker video type video/vnd.radgamettools.smackerKai Uwe Broulik2021-04-181-0/+10
| | | | Magic is inspired by ffmpeg's `smacker_probe` function in libavformat/smacker.c
* Clarify database licensewip/hadess/clarify-licenseBastien Nocera2021-03-231-4/+4
| | | | | | | | | It was intended to be under the GNU GPL v2 or later, as per the license fields as visible in Debian and Fedora packages. http://changelogs.ubuntu.com/changelogs/pool/main/s/shared-mime-info/shared-mime-info_2.0-1/copyright https://metadata.ftp-master.debian.org/changelogs//main/s/shared-mime-info/shared-mime-info_1.10-1_copyright https://src.fedoraproject.org/rpms/shared-mime-info/blob/rawhide/f/shared-mime-info.spec#_5
* meson: make xmlto optional, build spec only if foundVille Skyttä2021-03-021-10/+12
| | | | Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/150
* application/x-7z-compressed: add *.7z.001 globVille Skyttä2021-02-241-0/+1
| | | | These are the first files of a multivolume archive.
* Add Bink video type video/vnd.radgamettools.binkKai Uwe Broulik2021-02-131-0/+25
| | | | Magic is inspired by ffmpeg's `probe` function in libavformat/bink.c
* image/x-nikon-nrw: new typewip/scop/nikon-nrwVille Skyttä2021-01-311-0/+6
| | | | Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/124
* application/x-vhdx-disk: improve acronym and its expansionwip/scop/virtualization-imagesVille Skyttä2021-01-161-2/+2
| | | | https://en.wikipedia.org/wiki/VHD_(file_format)#Virtual_Hard_Disk_(VHDX)
* application/ovf: newVille Skyttä2021-01-131-0/+14
| | | | https://en.wikipedia.org/wiki/Open_Virtualization_Format
* application/x-qed-disk: newVille Skyttä2021-01-131-0/+9
| | | | https://wiki.qemu.org/Features/QED
* application/x-vdi-disk: newVille Skyttä2021-01-131-0/+15
| | | | https://en.wikipedia.org/wiki/VirtualBox#VirtualBox_Disk_Image
* application/x-vmdk-disk: newVille Skyttä2021-01-131-0/+11
| | | | https://en.wikipedia.org/wiki/VMDK