summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-03Add some file-attribute related testsjvoisin
2015-12-02Misc pep8 conformityjvoisin
2015-12-02Document and simplify a bit the nautilus extension codejvoisin
- Document some methods and the class - Simplify a condition
2015-12-02Remove two useless methods from the archive stripperjvoisin
2015-12-02Add some pragma to avoid testing some functionsjvoisin
2015-12-02Improves the way torrents are handledjvoisin
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.
2015-12-02Remove hachoir from MAT.jvoisin
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.
2015-11-27Update a bit the README.md filejvoisin
- PIL is not used anymore - The testsuite should be launched with `python test.py test`
2015-11-27Add pip caching for travis-cijvoisin
2015-11-27`--local` is now the default when running the testsuitejvoisin
2015-11-27Add some missing docstringsjvoisin
2015-11-26Add fancy badgesjvoisin
2015-11-26Improves the travis-ci configurationjvoisin
2015-11-26Simplify a bit the hachoir-powered image parserjvoisin
2015-11-26Remove a useless rant in a commentjvoisin
2015-11-26Remove a superfluous `pass` instructionjvoisin
2015-11-26Clean up a bit the nautilus-extensio codejvoisin
2015-11-26Remove two useless variablesjvoisin
2015-11-26Make the logging more pep-282 compliantjvoisin
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.
2015-11-26Improves the way tests are handled with `python setup.py test`jvoisin
2015-11-26The README file now has a `.md` extension.jvoisin
2015-11-25`python setup.py test` will now run the testsuitejvoisin
It's basically a simple wrapper around `cd test/ ; python test.py --local`.
2015-11-25Import (lib|cli)test.py in the test module to ease its usagejvoisin
Thanks again to Raphaël Vinot
2015-11-25Add a .travis.yml file, thanks to Raphaël Vinotjvoisin
2015-11-15Add a forgotten test-filejvoisin
2015-11-15Add forgotten tests for the command-linejvoisin
Thanks to Rafiot for the heads up
2015-11-15Add hachoir_core and hachoir_parser as `requires` in setup.pyjvoisin
Thanks to Rafiot for the original idea/bugfix
2015-11-15Fix tests borken by the absence of exiftooljvoisin
2015-11-03Improves a bit portabilityjvoisin
2015-11-03Fix some mistakes found thanks to the previous commitjvoisin
2015-11-03Add more type hintjvoisin
2015-11-03SImplification and documentation of `create_class_file()`jvoisin
2015-11-03Minor refactorisation of `get_datafile_path()`jvoisin
2015-11-02Add support for TIFF filejvoisin
2015-11-02Some minors pep8 modificationsjvoisin
2015-10-05Tests can now target system-wide or global MATjvoisin
$ python test.py --local/--system
2015-10-01The keywords section should end with a semicolon.jvoisin
Thanks to jubalh for the patch
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-25Add python packages dependencies to setup.pyjvoisin
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-25Set resizable MetadataPopup name columnJean Delmas
2015-07-25Set editable MetadataPopup content fieldJean Delmas