• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

自分用にカスタマイズしたshared-mime-infoのソース


RSS
Rev. Time Author
b12cdd1 2020-02-08 21:47:35 Bastien Nocera

build: Move all top-level tests to tests/ dir

2d45449 2020-02-08 21:47:31 Bastien Nocera

build: Move data files to data/

5d56ce0 2020-02-08 21:47:31 Bastien Nocera

build: Move source code to src/

071644f 2020-02-08 20:52:39 Adrien Plazas

Add application/x-ips-patch

This describes the IPS patch format.

efab1d6 2020-02-08 20:52:03 Adrien Plazas

Add application/x-bps-patch

This describes the BPS patch format. See https://byuu.org/projects/beat
for more information.

829b26d 2019-10-30 19:45:01 Bastien Nocera

1.15

4bae2a4 2019-10-23 21:27:42 Bastien Nocera

Add Kindle Book Format mime-type

Mime-type from:
https://www.iana.org/assignments/media-types/application/vnd.amazon.mobi8-ebook
Alias from:
https://github.com/kovidgoyal/calibre/commit/ddca079000ffd03611d19c5dfe29341b9c1c6e2e#diff-64773d34b80f6772011eb6c82d9fa5ddR37

5c9e37f 2019-10-17 04:55:29 Nate Graham

Add mimetype for AppleWorks documents

be63d4d 2019-10-17 00:00:47 Bastien Nocera

Remove "<!--" magic from XML files

It's not enough to recognise an XML file on its own.

Closes: #120

14c576e 2019-10-16 17:47:35 Bastien Nocera

Add application/bzip2 alias

66ae46c 2019-09-20 22:24:24 Bastien Nocera

1.14

d8e8d85 2019-09-20 22:24:24 Bastien Nocera

po: Update translations

From Transifex

88ee228 2019-09-17 17:27:12 Anisse Astier

Add support for QCOW images

Note that the disk.qcow2 is a QCOW version 3 file, which is very similar
to version 2. I haven't found the .qcow3 extension used in the wild
though.

db6efe8 2019-09-17 03:31:12 Bastien Nocera

Lower the priority of "<title" for HTML files

Those are also found in SVG files.

fe8b8a9 2019-09-17 03:28:03 Bastien Nocera

Make files that start with "<svg" unequivocal SVG files

243a456 2019-09-17 01:06:00 Bastien Nocera

tests: Add another SVG file for testing

8694f9f 2019-09-17 01:06:00 Bastien Nocera

Files that start with "Created with Inkscape" are SVG files

Even those with "<!--" at offset 0.

9fab71b 2019-09-17 01:05:52 Bastien Nocera

Reduce priority of "<!--" magic for HTML files

Those are valid ways for loads of XML (and XML-ish) files to start.

See https://bugzilla.redhat.com/show_bug.cgi?id=1752117

caf418f 2019-09-12 02:56:20 Bastien Nocera

1.13.1

02eb930 2019-09-12 02:47:06 Bastien Nocera

Raise SVG match priority to be above XML's

We lowered SVG's magic priority so that files would be first and
foremost detected as HTML, then as SVG. But SVG files are also XML, and
XML files had the same priority as SVGs, leading to SVG files being
detected as simply "XML".

Raise SVG's magic priority to be above XML, but below HTML's.
Fortunately we have a test now...

Fixes: 84563c62ab30190f8d3d25f8763556068f02d4a8

25987df 2019-09-12 02:44:43 Bastien Nocera

tests: Add SVG file test

148effa 2019-09-11 20:47:53 Bastien Nocera

1.13

a219120 2019-09-11 20:22:07 Bastien Nocera

tests: Add SVG-in-HTML test file

From https://bugs.webkit.org/show_bug.cgi?id=201295#c0

84563c6 2019-09-11 20:21:40 Bastien Nocera

Lower the magic for the often-embed "<svg" match

So that HTML files with "<svg" in them can be recognised first and
foremost as an HTML file.

See https://bugs.webkit.org/show_bug.cgi?id=201295

9ffcb56 2019-09-11 20:21:39 Bastien Nocera

tests: Add HTML file that'd get matched as XHTML

75ba8d6 2019-09-11 20:21:09 Bastien Nocera

Make *.html files be text/html by default

XHTML files are more narrowly defined, and have their own suffix should
that be needed.

Closes: #98

3ba7920 2019-09-11 20:17:25 Chris Lord

Widen a "<!DOCTYPE html" magic for xhtml file

"<!DOCTYPE html" should be checked the same way as 'DOCTYPE HTML' and
'doctype html' matches.

c351995 2019-09-11 19:58:41 Bastien Nocera

po: Update translations

From Transifex

922b688 2019-09-11 19:47:29 Bastien Nocera

Revert "po: Remove translated expanded-acronym"

This change is not needed after the real fix:
"its: Fix translation matching rules"

So revert it to avoid having conflicting versions of the same
translation in Transifex and checked out.

This reverts commit a4aaf5780ca0aea7dc58cb8753b2f65a4992348d.

9a51559 2019-09-11 19:47:29 Bastien Nocera

build: Load the shared-mime-info.its file when running itstool

Whereas gettext automatically gets the its file loaded through the
GETTEXTDATADIRS environment variable, itstool needs the path to the its
file passed manually.

This fixes some fields being translated even though the its file
declares them as not translatable.