summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* application/x-mod: add some ProTracker magics and a test caseVille Skyttä2021-07-303-0/+4
| | | | https://wiki.multimedia.cx/index.php/Protracker_Module#File_Format
* *: delete trailing whitespaceVille Skyttä2021-07-305-42/+41
|
* image/jxl: include test files in test listVille Skyttä2021-06-301-0/+2
| | | | | | | | I failed to include the test files in the list in 238f20f82d485dafa16904c5bd1b07c8034ddacd, and unfortunately can no longer remember their origin. I likely took an existing one from the test suite and converted from it, but the details and tools used escape me.
* tests: add trailing linefeed to mime-detection listVille Skyttä2021-06-281-1/+1
| | | | | | My editor keeps adding it (which is nice), but I need to remove it manually all the time not to include it as unrelated whitespace in other commits (which is not). Just add it.
* 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-244-0/+68
| | | | | | "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-243-0/+33
|
* application/pkix-crl: add magic and test caseVille Skyttä2021-06-243-0/+22
|
* application/pkix-cert: add magic and test caseVille Skyttä2021-06-243-0/+35
|
* image/jxl: new typeVille Skyttä2021-06-063-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-283-0/+18
| | | | | | | 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-283-0/+9
|
* 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-273-0/+23
|
* 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-273-0/+3
| | | | | | | | | | 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-133-0/+14
| | | | https://en.wikipedia.org/wiki/X_PixMap#XPM2
* application/x-troff-man: add *.[1-9] globVille Skyttä2021-05-132-0/+2
|
* application/toml: new typeVille Skyttä2021-05-123-0/+33
| | | | | | 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-253-1/+5
| | | | 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
* Use meson dist for releasingwork/dfaure/hacking_fixDavid Faure2021-04-142-2/+10
| | | | Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/152
* 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
* Make programming check more forcefulwip/hadess/misc-fixesBastien Nocera2021-03-181-1/+1
| | | | | | | | | | | | | | Coverity complains that a g_return_if_fail() that checks on parse_value() respecting its API might leak. Be more forceful, and assert() instead. Can't leak if you crash *taps temple*. shared-mime-info-2.1/src/update-mime-database.c:1482: alloc_arg: "parse_value" allocates memory that is stored into "parsed_mask". shared-mime-info-2.1/src/update-mime-database.c:1488: leaked_storage: Variable "parsed_mask" going out of scope leaks the storage it points to. 1486| { 1487| g_string_free(parsed_value, TRUE); 1488|-> g_return_if_fail(parsed_mask == NULL); 1489| } 1490| else
* tests: Fix running staging testBastien Nocera2021-03-182-10/+10
| | | | | | | | The staging test is supposed to be an easy way to determine whether database changes were taken into account. Run it as part of the test suite, and make sure that the script doesn't fail if we can't find files to determine the mime-types of.
* meson: make xmlto optional, build spec only if foundVille Skyttä2021-03-022-11/+13
| | | | Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/150
* application/x-7z-compressed: add *.7z.001 globVille Skyttä2021-02-243-0/+2
| | | | 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: add test caseVille Skyttä2021-02-072-0/+2
| | | | https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/124#note_788636
* 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-133-0/+17
| | | | https://en.wikipedia.org/wiki/Open_Virtualization_Format
* application/x-qed-disk: newVille Skyttä2021-01-133-0/+11
| | | | https://wiki.qemu.org/Features/QED
* application/x-vdi-disk: newVille Skyttä2021-01-133-0/+17
| | | | https://en.wikipedia.org/wiki/VirtualBox#VirtualBox_Disk_Image
* application/x-vmdk-disk: newVille Skyttä2021-01-133-0/+13
| | | | https://en.wikipedia.org/wiki/VMDK
* application/x-vhd-disk, /x-vhdx-disk: newVille Skyttä2021-01-134-1/+26
| | | | https://en.wikipedia.org/wiki/VHD_(file_format)
* application/vnd.apple.numbers, .pages: add older magics and test casesVille Skyttä2021-01-104-0/+6
| | | | | Numbers 3.5 and Pages 5.5 appear to place an Index/Document.iwa, not index.xml there.
* Add text/x-dartJan Tojnar2021-01-103-0/+11
| | | | | | 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
* xdgmime: configure as submoduleVille Skyttä2020-12-315-5/+12
| | | | | | | | | | | | | So that we can bind it to a specific revision, and help with keeping clones up to date. GitLab CI instructs to use a relative path to submodules on the same GitLab server [0], but doing so causes a meson/ninja dist failure [1]. Configure using a full https URL for now, as it appears to work with GitLab just fine. [0] https://docs.gitlab.com/ce/ci/git_submodules.html [1] https://github.com/mesonbuild/meson/issues/8144
* Mention more steps to making a release on gitlabDavid Faure2020-12-311-0/+3
|
* 2.1 release2.1David Faure2020-12-312-1/+25
|
* More instructions for releasing, based on previous commitsDavid Faure2020-12-311-1/+4
|
* Update translationsDavid Faure2020-12-3174-54161/+59130
|
* 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