| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/169
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://www.iana.org/assignments/media-types/model/gltf+json
|
|
|
|
| |
https://www.iana.org/assignments/media-types/model/gltf-binary
|
|
|
|
|
|
| |
For GRUB modules.
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/165
|
|
|
|
| |
https://wiki.multimedia.cx/index.php/Protracker_Module#File_Format
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/67
|
|
|
|
|
|
| |
"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).
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/159
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Supported since LibRaw 202101 snapshot.
https://github.com/lclevy/canon_cr3
|
| |
|
|
|
|
| |
https://en.wikipedia.org/wiki/X_PixMap#XPM2
|
| |
|
|
|
|
|
|
| |
https://toml.io/en/v1.0.0#mime-type
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/156
|
|
|
|
| |
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/155
|
|
|
|
| |
Magic is inspired by ffmpeg's `smacker_probe` function in libavformat/smacker.c
|
|
|
|
| |
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/152
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/150
|
|
|
|
| |
These are the first files of a multivolume archive.
|
|
|
|
| |
Magic is inspired by ffmpeg's `probe` function in libavformat/bink.c
|
|
|
|
| |
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/124#note_788636
|
|
|
|
| |
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/124
|
|
|
|
| |
https://en.wikipedia.org/wiki/VHD_(file_format)#Virtual_Hard_Disk_(VHDX)
|
|
|
|
| |
https://en.wikipedia.org/wiki/Open_Virtualization_Format
|
|
|
|
| |
https://wiki.qemu.org/Features/QED
|
|
|
|
| |
https://en.wikipedia.org/wiki/VirtualBox#VirtualBox_Disk_Image
|
|
|
|
| |
https://en.wikipedia.org/wiki/VMDK
|
|
|
|
| |
https://en.wikipedia.org/wiki/VHD_(file_format)
|
|
|
|
|
| |
Numbers 3.5 and Pages 5.5 appear to place an Index/Document.iwa, not
index.xml there.
|
|
|
|
|
|
| |
Dart is a programming language by Google.
https://dart.dev/
|
|
|
|
|
|
|
|
|
|
| |
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
|