summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAgeFilesLines
* 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
* application/x-vhd-disk, /x-vhdx-disk: newVille Skyttä2021-01-131-0/+21
| | | | https://en.wikipedia.org/wiki/VHD_(file_format)
* application/vnd.apple.numbers, .pages: add older magics and test casesVille Skyttä2021-01-101-0/+2
| | | | | Numbers 3.5 and Pages 5.5 appear to place an Index/Document.iwa, not index.xml there.
* Add text/x-dartJan Tojnar2021-01-101-0/+5
| | | | | | Dart is a programming language by Google. https://dart.dev/
* application/vnd.apple.numbers, /vnd.apple.pages: new typeswip/scop/vnd-apple-issue136Ville Skyttä2021-01-091-0/+24
| | | | | | | | | | Magic between the two seems indistinguishable, prioritize pages for (upcoming?) test stability. https://www.iana.org/assignments/media-types/application/vnd.apple.numbers https://www.iana.org/assignments/media-types/application/vnd.apple.pages Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/136
* text/vnd.trolltech.linguist: require space or start tag closing > in magicVille Skyttä2020-12-311-1/+2
| | | | | | | | | | | | | | | | | | | https://doc.qt.io/qt-5/linguist-ts-file-format.html Avoids some more MPEG TS confusion. Hopefully that is -- I haven't been able to locate MPEG TS samples that would be misdetected as Linguist files in the first place. But because of that, I think it's fair to assume that the sequence `<TS` is not that common in them, and thus it followed by a space or the start tag closing `>` could be even less common. Not checking for `<TS/` as the root element may not be empty per the DTD. Per [0] checking other whitespace besides the common space isn't necessary either. Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/10 [0] https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/103#note_741219
* audio/mpeg: add layer 2, 2.5, and 1 protected magicsmasato2020-12-301-0/+5
| | | | Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/46
* */*mpegurl: tweak comments towards playlistsVille Skyttä2020-12-301-3/+3
| | | | | | | | | | | The files/URLs these point to are not necessarily just MP3 or MPEG video, they're not necessarily streaming, and in particular not limited to HTTP streaming as the files can be e.g. local. RFC 8216 calls them "Media Playlists", too: https://tools.ietf.org/html/rfc8216#section-2 Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/121
* image/x-tga: add some aliases from Wikipedia and various file info sitesVille Skyttä2020-12-301-0/+6
|
* Adapt to xdgmime behaviour change.work/dfaure/adapt_to_xdgmime_changeDavid Faure2020-12-301-0/+2
| | | | | | | | | | | | | As the spec says, if the result from magic sniffing doesn't match one of the globs, ignore it and return one of the globs. With this change, test-garbage.key (which was already a doubtful testcase, see !5) no longer falls back to application/octet-stream but to one of the globs. test-really-html-not-xhtml.html is also fixed by this, it's detected as text/html. Closes: #138.
* meson: Use templated pkgconfig file rather than meson generatorCalvin Walton2020-12-281-7/+0
| | | | | | | | | | | | | | | | | | The meson pkgconfig generator was, in some circumstances, adding architecture-specific Cflags and libdir/includedir to the pkgconfig file. Since the pkgconfig file is installed in an architecture-independent path (e.g. /usr/share/pkgconfig) this was causing problems with cross-compile builds or builds on multilib/multiarch systems. The extra variables could be avoided by setting the "dataonly" option on the pkgconfig generator, but that causes the "prefix" variable to also be removed. I took a quick check and didn't see anything that used this variable... but there could be something I missed. So, in the interests of fixing the issue while preserving compatibility with the old autotools build, I've adjusted the meson build to use the pkgconfig template which was leftover from the autotools build system.
* audio/x-mod: magic match 669 Composer files' tempo tableVille Skyttä2020-12-281-15/+36
| | | | | | | | | | | | | According to mikmod, the tempo table is 128 bytes containing values ranging from 1 to 32, inclusive. We don't have good means to test all those 128 bytes, but look into the last one to make it rule out some short files. Also, accept 0 for the time being due to our match expression limitations. 0-31 being ASCII control characters gives this a better chance to avoid matching random ASCII files out there. Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/144
* audio/x-mod: add 669 Composer loop order number to magicVille Skyttä2020-12-271-20/+22
| | | | | | | Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/144 https://github.com/sezero/mikmod/blob/528ac65977222459f375af54f61933a1cb63c187/libmikmod/loaders/load_669.c#L91 https://github.com/Konstanty/libmodplug/blob/d7ba5efd5816696fba668a23194940f796d62b95/src/load_669.cpp#L48
* audio/x-mod: update 669 Composer commentaryVille Skyttä2020-12-271-8/+4
|
* Add Khronos image texture format version 2Kai Uwe Broulik2020-12-261-0/+11
| | | | | | | Its draft specification [1] calls for a "*.ktx2" glob and "image/ktx2" type as it contains backwards-incompatible changes over version 1. [1] http://github.khronos.org/KTX-Specification/
* application/*: point sub-class-of to main typeVille Skyttä2020-12-261-2/+2
|