- 10 Oct, 2021 3 commits
-
-
Igor Kushnir authored
b969e1c7 added a reference to this file and a command to generate it into tests/mime-detection/list, but didn't commit the generated file itself. Now when test-mime fails for some other reason (e.g. after adding a failing test case), the following error message is printed: Could not open /path/to/shared-mime-info/tests/mime-detection/test-not-dtshd.txt Presumably when the test file does not exist, the intended 'data' test does not run. The testing system should be improved to report such nonexistent file issues as test failures.
-
-
- 09 Oct, 2021 2 commits
-
-
Section 3 of the MRML specification states "it is XML-based, meaning that standard parsers can be used to process the communication messages." https://www.researchgate.net/publication/2329915_MRML_An_Extensible_Communication_Protocol_for_Interoperability_and_Benchmarking_of_Multimedia_Information_Retrieval_Systems
-
-
- 01 Oct, 2021 1 commit
-
-
orbea authored
Another ninja implementation that works is samurai https://github.com/michaelforney/samurai
-
- 30 Sep, 2021 1 commit
-
-
- 08 Sep, 2021 2 commits
-
-
Ville Skyttä authored
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 xdg/shared-mime-info#169
-
Ville Skyttä authored
xdg/shared-mime-info#169
-
- 11 Aug, 2021 1 commit
-
-
Ville Skyttä authored
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 #166 Refs #167
-
- 29 Jul, 2021 5 commits
-
-
-
-
Ville Skyttä authored
For GRUB modules. Closes xdg/shared-mime-info#165
-
Ville Skyttä authored
-
- 30 Jun, 2021 1 commit
-
-
Ville Skyttä authored
I failed to include the test files in the list in 238f20f8, 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.
-
- 28 Jun, 2021 3 commits
-
-
Ville Skyttä authored
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 xdg/shared-mime-info#67
-
- 24 Jun, 2021 4 commits
-
-
"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).
-
-
-
-
- 06 Jun, 2021 1 commit
-
-
Ville Skyttä authored
Closes xdg/shared-mime-info#159
-
- 28 May, 2021 3 commits
-
-
-
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
-
-
- 27 May, 2021 5 commits
-
-
Ville Skyttä authored
Commit d033c511 added it but didn't state a reason, assuming accidental because that's not what we usually do. Refs xdg/shared-mime-info!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
-
- 15 May, 2021 1 commit
-
-
Supported since LibRaw 202101 snapshot. https://github.com/lclevy/canon_cr3
-
- 13 May, 2021 3 commits
- 12 May, 2021 1 commit
-
-
Ville Skyttä authored
https://toml.io/en/v1.0.0#mime-type Closes xdg/shared-mime-info#156
-
- 25 Apr, 2021 1 commit
-
-
David Faure authored
Closes xdg/shared-mime-info#155
-
- 18 Apr, 2021 1 commit
-
-
Magic is inspired by ffmpeg's `smacker_probe` function in libavformat/smacker.c
-
- 14 Apr, 2021 1 commit
-
-
David Faure authored
Closes #152
-