| Age | Commit message (Collapse) | Author |
|
|
|
|
|
This was a typo from my side, spotted by intrigeri.
|
|
It seems that using os.utime is TZ-dependent,
so lets use a ZipInfo thing instead.
|
|
|
|
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.
|
|
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.
|
|
|
|
Thank you so much PyCharm
|
|
|
|
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
|
|
|
|
|
|
Pillow sucks at parsing malformed pictures :/
|
|
|
|
|
|
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.
|
|
|
|
The MAT can now handle PDf with different pages size.
Also, instead of being overwritten, context are now pushed/poped
instead.
|
|
|
|
|
|
GUI fails to start if run from a directory that contains a "data"
sub-directory <- This is now fixed.
|
|
PIL (Python Image Library) is used to open, then save
images, in order to remove unknown metadata.
|
|
I hope that I didn't screw them once again.
|
|
- Use better icons
- Remove the term "Scour"
|
|
|
|
shred is called gshred on MacOS
|
|
|
|
|
|
Don't forget to update __version__ in setup.py
|
|
This commit fixes some issues for dump operating
systems who doesn't handle capitalization.
|
|
- ZIP_EPOCH is now set correctly
- list_unsupported should now work
This also fix the testsuite.
|
|
|
|
|
|
Thank you intrigeri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The PDF parser used to instantiate a parameter on construction,
which screwed everything up if a method was called multiples times,
since it wasn't re-instantiated.
|
|
|
|
|
|
|
|
This address https://labs.riseup.net/code/issues/6617
|
|
|
|
This commit changes `chmod 777` to `chmod 220` in the
secure_remove() function. Sinc ethis function is meant
to remove files, 777 is ok-ish, but 220 is safer, and
cleaner. Plus, it prevents audacious TOCTOU.
|
|
Escape some "-" in the manpage to make lintian happy.
|