summaryrefslogtreecommitdiff
path: root/libmat/archive.py (unfollow)
AgeCommit message (Collapse)Author
2016-08-29Python3, now with less featuresjvoisin
I want to release a new version ASAP, so lets ditch some features for now.
2016-03-28Even more python3 portabilityjvoisin
2016-03-28First step toward python3jvoisin
2015-12-30Fix some pep8-related issuesjvoisin
2015-12-18Enhance CLI's error display by tweaking log leveljvoisin
2015-12-02Misc pep8 conformityjvoisin
2015-12-02Remove two useless methods from the archive stripperjvoisin
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-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-03Add more type hintjvoisin
2015-11-02Some minors pep8 modificationsjvoisin
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-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-25_MASSIVE_ pep8 revampjvoisin
Thank you so much PyCharm
2014-06-08Rename the MAT folder to libmat.jvoisin
This commit fixes some issues for dump operating systems who doesn't handle capitalization.
2014-06-08Improves zip handlingjvoisin
- ZIP_EPOCH is now set correctly - list_unsupported should now work This also fix the testsuite.
2014-06-08Better handling of utf8 inside archivesjvoisin
2014-01-31Fix office-format handling by the GUIjvoisin
2014-01-20Fix https://labs.riseup.net/code/issues/6609jvoisin
Fix "MAT's GUI traceback when cleaning files"
2014-01-19Improves some comments in archive.pyjvoisin
2014-01-19Improves archive.py code consistencyjvoisin
2014-01-19MAT will now process read-only files inside tar.* archivesjvoisin
2014-01-18Fix https://labs.riseup.net/code/issues/6604jvoisin
2014-01-18Fix a zipinfo issuejvoisin
MAT will now returns correct results when asked to get non-supported files from a zip archive with a comment
2014-01-15Add support for zipfiles!jvoisin
2014-01-06GUI-archive-unsupported-handling, 2nd iterationjvoisin
2014-01-06The user can now chose if he wants to includes unsupported files to archivejvoisin
2014-01-06Fix a pyflakes warningjvoisin
2014-01-06Nested archives are not supported by the GUIjvoisin
2014-01-06Add a test got get_unsupported_archivejvoisin
2014-01-06Fix a design mistake in archives handlingjvoisin
MAT should now return a set of non-supported files currectly.
2014-01-02Fix archive's get_metajvoisin
Python's typing system is a piece of crap.
2014-01-02Greatly improves tarfiles handlingjvoisin
2013-10-27Improves documentationjvoisin
2013-10-05mat is now able to check non-writables filesjvoisin
This is an implementaion of this suggestion: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721572
2013-07-16Gramatical and spelling correctionsjvoisin
2013-07-16Format + remove useless comment in archive.pyjvoisin
2013-04-02Fix unit testsjvoisin
2013-03-06Some minor syntastic sugarjvoisin
2013-01-20preliminary support of gtk3 (one test fails for PDF)jvoisin
2012-12-27Refactor the archive parserjvoisin
Refactoring of the archive and office parser, in order to simplify the code and reduce abstraction
2012-12-19Preliminary support of producted pdf quality choicejvoisin
2012-12-16archive.py is now python's implementation independentjvoisin
2012-12-13Reorganize source tree and files installation location, cleanup setup.py ↵jvoisin
(Closes: #689409)
2012-02-06Merge the two processing mode into a unique onejvoisin
2012-02-01Rename mat-cli to mat-guijvoisin
2012-01-22Revert "Preliminary handling of ctime/mtime reset"jvoisin
This reverts commit e96e5b8ac44095668198e3e6797a3f77d9fb4634. Everything is already in a branch