[mirrors/shared-mime-info]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for mirrors/shared-mime-info Pushed by mirror-service into branch 'master'. Changed from fd8ab89c20093f1bfba8fa9e302ba584fffd0fd7 to 91ed76b468ee5f2668b909907408cf96e6b87f8d Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit 5e3e9f55f6cb437e22de4b41061834b2b40cabd7 by Andrew Chadwick on 01/07/2026 at 15:26.. *.nix: add test cases Addresses #268 https://invent.kde.org/mirrors/shared-mime-info/-/commit/5e3e9f55f6cb437e22de4b41061834b2b40cabd7 Git commit 91ed76b468ee5f2668b909907408cf96e6b87f8d by David Faure (on behalf of Andrew Chadwick) on 23/07/2026 at 09:31.. Refine image/x-tga magic, add test cases This type still has very weak magic, but it's better than before and excludes certain firmware files now. In all, 120 field combinations across 3⅜ examined bytes now serve to identify this file type. The ugly passmask is there to speed up non-matches, and also checks the alpha depth field. - Offs.1: Colormap Present. Values: 0/1 (full mask) - Offs.2: Image Type. Values 1/2/3/9/10/11/32/33 (partial mask) - Offs.16: BPP. Values 8/15/16/24/32 (partial mask) - Offs.17: Alpha Depth in bits 0-3. Values 0/1/8 (full mask) The image type field's value is highly dependent on the value of the colormap field. The alpha bitdepth value doesn't clearly depend on the bpp value in common example sets, although some sources say there should be some level of dependency expected. Hmm. Future work could insist on that value dependency to strip it back to ~80 possible combinations. Test cases renamed for better consistency, and new cases generated with netpbm added. closes #61 https://invent.kde.org/mirrors/shared-mime-info/-/commit/91ed76b468ee5f2668b909907408cf96e6b87f8d