| Age | Commit message (Collapse) | Author |
|
I want to release a new version ASAP, so lets ditch some features for
now.
|
|
|
|
|
|
|
|
|
|
This should close https://labs.riseup.net/code/issues/10839
|
|
|
|
|
|
|
|
There is _no_ image support without exiftool, and _no_ audio support
without mutagen. Not "limited" support.
|
|
I forgot to add `gi.require_version('Poppler', '0.18')` everywhere,
and `gi.require_version('Gtk', '3.0')` in mat-gui too
|
|
Closes https://labs.riseup.net/code/issues/10550
Also known as "pygi is emitting a lot of warnings"
|
|
|
|
a027c0b989f7c7a5182db25aa628d2c138d024ae was a mistake.
|
|
It seems that Python is still sucking hard when it comes to encoding.
|
|
|
|
In the past, this might have been useful, but now,
exiftool works on pretty much every file passed to it by MAT.
Also, if something goes wrong, MAT will know about this thanks to the
return code != 0.
|
|
|
|
|
|
|
|
|
|
This commit makes metadata removal of torrents recursive.
It's close to useless, because I haven't seen any torrent with a
recursive structure, but the documentation says that it can happen, and
the method was already implemented, so better safe than sorry.
|
|
This (huge) commit removes completely hachoir from MAT.
Audio files are now processed with mutagen, and images
with exiftool, since the main python imaging library (PIL)
isn't super-great to deal with metadata (and damaged/non-standard
files).
Package maintainer should change the dependencies to reflect this.
|
|
|
|
|
|
|
|
|
|
|
|
See https://www.python.org/dev/peps/pep-0282/ for details,
but basically this is commit leaves the string
replacement to the logging function, instead of
doing it in place in its parameters with the '%' operator.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|