• R/O
  • HTTP
  • SSH
  • HTTPS

コミット一覧

タグ
未設定

よく使われているワード(クリックで追加)

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

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


RSS
Rev. 日時 作者
0b080f4 upstream upstream/1.15 2020-03-16 10:18:59 dyknon

New upstream version 1.15

68db8e8 upstream/1.10 2020-03-16 09:50:17 dyknon

Import Upstream version 1.10

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.

a1f8a19 2019-09-11 19:47:29 Bastien Nocera

build: Rebuild .pot file on source changes

Add a few dependencies for regenerating the .pot file.

7202880 2019-09-10 20:18:09 Bastien Nocera

build: Don't use an intermediate .pot file to do translations

Declare freedesktop.org.xml.in to be translatable directly, without
extracting translatable strings from a .pot which we then translate,
which we then need to merge into translations.

Files in its/ from Robert Ancell <robert.ancell@canonical.com>
https://gitlab.freedesktop.org/xdg/shared-mime-info/merge_requests/4

a4aaf57 2019-09-10 20:18:09 Bastien Nocera

po: Remove translated expanded-acronym

be@latin contained a translated for the expanded CGM acronym. There
doesn't seem to be a way to avoid have the translation merged back into
the XML file, so remove the translation instead.