Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Without the subclass information, KDE's indexing daemon is not capable
to extract the text properly.
See https://bugs.kde.org/show_bug.cgi?id=438455#c23 for more context.
Fixes #190
|
|
|
|
Also add application/x-bzip3-compressed-tar.
BZip3 is a spiritual successor to bzip2.
https://github.com/kspalaiologos/bzip3
|
|
Also add application/x-bzip-compressed-tar.
The deprecated predecessor of bzip2 has its own magic string.
|
|
Also rename application/x-bzip-compressed-tar to
application/x-bzip2-compressed-tar.
An archive with magic string "BZh" is a bzip2 archive,
the successor to bzip.
|
|
|
|
https://www.iana.org/assignments/media-types/image/apng
https://www.iana.org/assignments/media-types/image/vnd.mozilla.apng
https://www.w3.org/TR/png-3/#apng-frame-based-animation
|
|
https://www.iana.org/assignments/media-types/image/png
https://www.w3.org/TR/png-3/#3PNGsignature
|
|
|
|
image/jxr is the official IANA mimetype
image/vnd.ms-photo was a provisional registration name still mentioned
on https://en.wikipedia.org/wiki/JPEG_XR, and not integrated by IANA.
Doesn't hurt to have it as an alias though.
|
|
|
|
It was equal to the magic for tar files, so an ovf file
could end up being sniffed as ovf or tar, randomly, depending
on the implementation. The spec says nothing about preferring
a subclass, so better use priorities to order these magic matches.
|
|
audio/x-xi is the instrument format for FastTracker II, not Scream Tracker.
|
|
Bitstream's TrueDoc Portable Font Resource format is part of several
digital TV broadcast specifications and is documented as RFC 3073:
https://datatracker.ietf.org/doc/html/rfc3073
```
Magic number(s): 50 46 52 30 hex
File extension(s): PFR
Macintosh File Type Code(s): Creator: 'b$pw' Type: 'PFR '
```
There is also a newer version of the format with `50 46 52 31` hex (PRF1),
such as the test file included here. `libmagic` also recognizes `PRF1`:
https://github.com/file/file/blob/7a821aedc144f70ec848ea632a64db74b79563c1/magic/Magdir/fonts#L249-L252
The Bitstream specifications are available from Wayback Machine:
https://web.archive.org/web/20040407162455/http://www.bitstream.com/categories/developer/truedoc/pfrspec.html
"The PFR specification defines the Bitstream portable font resource (PFR),
which is a compact, platform-independent format for representing high-quality,
scalable outline fonts.
Many independent organizations responsible for setting digital TV standards
have adopted the PFR font format as their standard font format, including:
- ATSC (Advanced Television Systems Committee)
- DAVIC (Digital Audio Visual Council)
- DVB (Digital Video Broadcasting)
- DTG (Digital TV Group)
- MHP (Multimedia Home Platform)
- ISO/IEC 16500-6:1999
- OCAP (OpenCable Application Platform)"
Per RFC 3073, "The PFR media type has been previously registered with IANA as
`application/vnd.truedoc`. In view of its subsequent widespread adoption as
a standard font format by multiple standards bodies who have relationships with
the Internet community, Bitstream has been asked to re-register this media type
within the IETF tree."
https://www.iana.org/assignments/media-types/application/vnd.truedoc
http://www.iana.org/assignments/media-types/application/font-tdpfr
This format was once supported for downloadable web fonts in Netscape 4.x.
|
|
Since it shares the *.mdb extension with msaccess,
added a tes file for msaccess, and gave a higher weight
to the msaccess glob for compatibility reasons (so that filename-only
matching of *.mdb still says msaccess).
Reference for the extensions: https://lmdb.readthedocs.io/en/release/
Reference for the magic: https://git.openldap.org/openldap/openldap/-/blob/mdb.master/libraries/liblmdb/mdb.c
Mimetype name: made up, no existing name found
Fixes: #168
|
|
There is an existing definition for the older StuffIt and StuffIt 5.5 formats.
This newer format was added in StuffIt 7 in 2002 with separate Media-Type.
From `StuffIt Deluxe 7.0.app/Contents/Info.plist` on my PowerBook 2400c:
```
<dict>
<key>CFBundleTypeName</key>
<string>StuffIt X Archive</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeIconFile</key>
<string>159</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>SITX</string>
</array>
<key>CFBundleTypeExtensions</key>
<array>
<string>sitx</string>
</array>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/x-stuffitx</string>
<string>application/x-sitx</string>
</array>
</dict>
```
My included `test.sitx` was created with the same version of the software
on the same machine and is also added to `tests/mime-detection/list`:
```
[okeeblow@emi#shared-mime-info] xxd -l 16 tests/mime-detection/test.sitx
00000000: 5374 7566 6649 7421 a10a 4a05 9bdd 4215 StuffIt!..J...B.
```
Apache HTTPd is aware of this Media-Type:
https://bz.apache.org/bugzilla/show_bug.cgi?id=38009
PRONOM format definition:
https://www.nationalarchives.gov.uk/PRONOM/Format/proFormatSearch.aspx?status=detailReport&id=1147
|
|
The previous wording in the spec didn’t make it clear that it isn’t
required (but at least one of it and `localName` is required).
This wording is based on the error checking present in
`update-mime-database.c`, rather than some innate knowledge of how MIME
information should work.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|
Give it the generic text template icon because MS Office theme files are
like templates and the same theme file can be used in Word, Excel, and
PowerPoint.
https://www.iana.org/assignments/media-types/application/vnd.ms-officetheme
|
|
|
|
|
|
man pages don't make sense on Windows
Change-Id: I09f7befa580663bceed942fe04958db38a759c27
|
|
MIME message sometimes also start with either a "Content-Type:" header or a
"To:" header.
Content-Type often appears often in encrypted attachments and To: seems
to appear sometimes in email from Thunderbird.
|
|
See https://gitlab.gnome.org/jwestman/blueprint-compiler/
|
|
Change-Id: I514544a4fdf6909202f126009a5345c655c2eca5
|
|
|
|
|
|
|
|
Although this media type was registered for the purpose of using it with
EFI, it was defined broadly to include all uncompressed disk images.
https://www.iana.org/assignments/media-types/application/vnd.efi.img
|
|
Although this media type was registered for the purpose of using it with
EFI, it was defined broadly to include all ISO 9660 images.
https://www.iana.org/assignments/media-types/application/vnd.efi.iso
|
|
If build-tools is set to false we do not set the update_mime_database
value, so avoid referencing it in that case.
|
|
Files of type application/x-bat are similar to files of type
application/x-ms-dos-executable in that they can be run with Wine or
DOSBox, but are different in that they are text, not binary.
application/x-bat is not an official IANA media type, but is used by
Apache Tika, which also accepts application/bat as an alias.
https://ciam-tika.straumann.com/mime-types/application/x-bat
|
|
These files may be used to recover low-resolution copies of images that
were accidentally deleted. They can be opened in programs such as
Vinetto <https://vinetto.sourceforge.net/>, Thumbs Viewer
<https://thumbsviewer.github.io/>, or Thumb*.db Viewer
<https://www.janusware.com/>.
https://www.iana.org/assignments/media-types/application/vnd.microsoft.windows.thumbnail-cache
|
|
|
|
|
|
As agreed upon in #202, use Sentence case to improve readabilitiy and
match what KDE and GNOME HIGs are expecting.
|
|
This reverts commit c1ef8d6e3c64497b3bf281479de0f050e78a08c3.
|
|
Adds mime type for the todo.txt file spec defined in
https://github.com/todotxt/todo.txt
|
|
https://datatracker.ietf.org/doc/html/rfc2361
|
|
https://datatracker.ietf.org/doc/html/rfc2361
|
|
https://eris.codeberg.page/eer/linkfile.xml
|
|
|
|
The older AAX format contains the actual decryption key, protected with
a trivial account specific master key.
The new format, used by Audible since 2019, no longer embeds the
decryption key.
|
|
|
|
Everyone should use ci-templates, and shared-mime-info is not different.
Signed-off-by: Daniel Stone <daniels@collabora.com>
|
|
|
|
ZPAQ is an incremental, journaling archiver.
https://mattmahoney.net/dc/zpaq.html
|
|
|
|
|
|
|