summaryrefslogtreecommitdiff
path: root/libmat (follow)
AgeCommit message (Collapse)Author
2015-08-19MAT 0.5.40.5.4jvoisin
2015-08-19Minor code simplificationjvoisin
2015-08-19Revert the ZIP_EPOCH date to 1980-01-01 00:00:00jvoisin
This was a typo from my side, spotted by intrigeri.
2015-08-18Improves the way MAT deals with ZipTimestampsjvoisin
It seems that using os.utime is TZ-dependent, so lets use a ZipInfo thing instead.
2015-08-01Merge remote-tracking branch 'intrigeri/bugfix/9827-fix-buggy-epoch-in-archive'jvoisin
2015-08-01archive: explicitly treat text we got from tarfile as encoded UTF-8 (Closes: ↵intrigeri
MAT#9831). Without this, I see test failures caused by: test_remove_bz2 (libtest.TestArchiveProcessing) Test MAT's ability to process .tar.bz2 ... /usr/lib/python2.7/tarfile.py:1993: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if self.name is not None and os.path.abspath(name) == self.name: This change seems to make sense because we're creating our tarin and tarout objects with encoding='utf-8' in the first place, so it's no big surprise that what we get from it is UTF-8 -encoded text.
2015-08-01archive: use correct epoch time.intrigeri
epoch is 1970-01-01 00:00:00 UTC, not 1970-01-01 01:00:00 UTC. This mistake was introduced in commit ef5a32c to fix the test suite. I guess that it was a hack that workaround'ed an actual bug for a specific timezone only. If that bug reappears, we'll have to fix that by making this module timezone-aware, not by setting a wrong epoch value.
2015-07-28Distance MAT a bit more from hachoirjvoisin
2015-07-25_MASSIVE_ pep8 revampjvoisin
Thank you so much PyCharm
2015-07-25ExiftoolStripper: white-list the "File Type Extension" and "Megapixels" fields.intrigeri
Those are not actual metadata stored in the file, but rather information that can be trivially derived from the actual data. This fixes the test suite on current Debian sid, most likely because its libimage-exiftool-perl (9.98-1) reports more such "metadata" fields than the one in Jessie (9.74-1). Fix-committed: #9252 Closes: Debian#789833
2015-07-21Remove the pillow stuff, because it was a bad idea.jvoisin
Pillow sucks at parsing malformed pictures :/
2015-04-11MAT 0.5.30.5.3jvoisin
2015-04-11Fix an ods-related bugjvoisin
Since exiftool can't remove the Palette field, let's whitelist it. And even if it could, this would really degrade the quality of the picture.
2015-04-04Minor style improvement in PDF handlingjvoisin
2015-04-04Fix #9007jvoisin
The MAT can now handle PDf with different pages size. Also, instead of being overwritten, context are now pushed/poped instead.
2015-03-31Make exif removal explicit in Pillowjvoisin
2015-03-31Fix issue #7858jvoisin
GUI fails to start if run from a directory that contains a "data" sub-directory <- This is now fixed.
2015-02-22Preliminary implementation of PIL for images.jvoisin
PIL (Python Image Library) is used to open, then save images, in order to remove unknown metadata.
2014-06-21Fix a portability issue on MacOSjvoisin
shred is called gshred on MacOS
2014-06-11./mat -l now shows torrentjvoisin
2014-06-08Rename the MAT folder to libmat.jvoisin
This commit fixes some issues for dump operating systems who doesn't handle capitalization.