summaryrefslogtreecommitdiff
path: root/libmat2 (follow)
AgeCommit message (Collapse)Author
2023-11-13Raise a ValueError for invalid FLAC files to please mypyjvoisin
2023-11-13parsers: Inherit the sandbox option when creating additional parsersRomain Vigier
2023-09-07Properly handle a cairo exceptionjvoisin
2023-07-11Add more files to ignore for MSOffice documentsJason Smalls
2023-07-11Add a variant mimetype for bmpJason Smalls
2023-07-11Harden get_meta in archive.py against variants of CVE-2022-35410Jason Smalls
2023-05-03Use proper type annotations instead of commentsjvoisin
2023-05-03Make use of is_dir/isdir for archivesjvoisin
2023-03-07fix: Typing in the parser factoryGu1nn3zz
2023-01-31Explicitly pass a parameter to functools.lru_cachejvoisin
2023-01-28Another typing passjvoisin
2023-01-28Fix the type annotationsjvoisin
2023-01-14imghdr is deprecatedjvoisin
2022-12-25Improve xlsx supportjvoisin
2022-11-21Remove pyflakesjvoisin
Isn't borderline useless compared to mypy and pylint
2022-10-09Remove deprecated pylint checksjvoisin
2022-10-09Get rid of a deprecated checkjvoisin
Nobody should be using Poppler < 0.46
2022-10-09Please pylintjvoisin
2022-08-28Simplify the typing annotationsjvoisin
2022-08-05Make use of cache to get binary pathsjvoisin
2022-07-05Prevent arbitrary file read via zip archivesjvoisin
A zip file with a file pointing to /etc/passwd would, upon being cleaned by mat2, produce a file with the filesystem's /etc/passwd file.
2022-07-05Show a scary message in case of path traversal attemptjvoisin
2022-05-15Add support for HEIC filesjvoisin
Thanks to Maxime Morin ( https://www.maijin.fr/ ) for the patch.
2022-05-05Minor cleanupjvoisin
2022-03-29Please the lintersjvoisin
2022-03-28Fix the PDF versionjvoisin
This should prevent the testsuite from breaking, and marginally increase fingerprinting resistance.
2022-03-16Try to use modern rsvg functions when we canjvoisin
2021-12-26Please pylint by iterating on dict directly, instead of calling .keys()jvoisin
2021-12-19Increase audio processing robustnessjvoisin
2021-12-18Add a check for weird audio files, instead of crashingjvoisin
2021-12-14Make mat2 more robust wrt. weird audio filesjvoisin
2021-12-13Make libmat2 more robust against corrupted zip filesjvoisin
2021-12-13Increase a bit the robustness of mat2jvoisin
Those issues were found via https://github.com/google/atheris
2021-12-09Please the linters wrt. the previous commitjvoisin
2021-12-08zip archives: keep individual files compression typeDenis 'GNUtoo' Carikli
While hardcoding the compression to zipfile.ZIP_DEFLATED works for most use cases of mat, being able to produce cleaned up uncompressed zip files is useful for content that cannot be compressed more. In addition it also enables to use mat2 for reproducible builds of Android bootanimation files file that don't support compression. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2021-11-23Make the linter happierjvoisin
2021-11-21Please a bit the CIjvoisin
2021-07-29libmat2/pdf: Drop printing 'lol'georg
It seems this was committed without intention to do so.
2021-07-25Fix pdf issues on printersAntonio Eugenio Burriel
pyCairo by default renders the PDF surfaces with a resolution of 72 dpi which is so low that the bitmap gets blurred compared to original. Since pyCairo 1.12.0, a new method set_device_scale(x_scale, y_scale) is added, which allows changing the canvas resolution.
2021-07-14Improve xlsx supportjvoisin
This should close #156
2021-06-21Make cairo behave in a less idiotic wayjvoisin
Because raising errors when unable to process stuff instead of an exception is dumb.
2021-05-20Improve support for xlsx filesjvoisin
2021-04-24Add support for AIFF filesjvoisin
This should close #151
2021-03-14Keep sharedStrings.xml when processing MSOffice sheetsjvoisin
2021-03-14Don't keep [trash] files when processing MS Office filesjvoisin
2021-03-07Improve epub supportjvoisin
Warn when there are encrypted fonts in an epub file
2021-03-07Add some typing to epub.pyjvoisin
2021-03-07Improve epub compatibilityjvoisin
2021-03-07Add a missing commajvoisin
This should improve epub support
2021-02-07Improve a bit the support of epubjvoisin