| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fixed by https://gitlab.freedesktop.org/xdg/xdgmime/-/merge_requests/3
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/127
|
|
|
|
| |
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/46
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/144
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/138
|
|
|
|
|
|
|
| |
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/
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Per ECMA 388 appendix E.1, OpenXPS docs must not use *.xps, and
vnd.ms-xpsdocument should be be used to identify OpenXPS docs. The types
are distinct top level ones in IANA, too.
Keep /xps with /vnd.ms-xpsdocument per
https://mailarchive.ietf.org/arch/msg/ietf-types/4uBulQrWj9uBBwWgw-LKaopgi58/
|
|
|
|
| |
Intended for manual maintainer use at least for now.
|
| |
|
|
|
|
| |
The former is the IANA registered type.
|
|
|
|
| |
The former is the IANA registered type.
|
|
|
|
| |
The former is the IANA registered type.
|
|
|
|
|
| |
The latter is deprecated per
https://www.iana.org/assignments/media-types/application/vnd.apple.keynote
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
No non-POSIX bashism features are used in this shell script.
|
|
|
|
| |
Adaptive Scalable Texture Compression files
|
| |
|
|
|
|
|
| |
According to https://3dbrew.org/wiki/3DSX_Format, they start from '3DSX'
magic value and have .3dsx extension.
|
|
|
|
|
|
|
| |
Nintendo 3DS ROMs can have *.3ds or *.cci extensions.
According to https://3dbrew.org/wiki/CCI, they have 'NCSD' magic number at
0x100 offset.
|
|
|
|
|
| |
The next commit will add another MIME type with the same glob, avoid
breakage.
|
| |
|
|
|
|
|
| |
I've never seen such a file format, ever, the Dreamcast scene only uses
files like .gdi and .cdi, sometimes .chd and .iso, but never .dc.
|
|
|
|
| |
For use with the Kaitai Struct visualiser, or any text/YAML editors
|
| |
|
| |
|