Commit Graph

18 Commits

Author SHA1 Message Date
mrkkrp 5f7af58011 Remove the ‘zip64-ecd’ flag
Now that the situation is clear, I think it's pretty safe to remove this
additional run of the test suite. It's unlikely that we will run into new
Zip64-related issues.
2017-02-09 20:13:00 +03:00
Mark Karpov e5fe94940c Fix reading of empty Zip 64 archives
* Try to catch the Zip64 ECD issue on Travis
* Fix detection of end of central directory
2017-02-08 23:40:38 +04:00
mrkkrp 0927c6189e Include 2017 into copyright years range 2017-01-01 14:27:47 +03:00
mrkkrp 93c670fcc5 Calculate “version needed to extract” field
Close #14.

Two new features:

* Added explicit check of “version needed to extract”, so if archive
  uses some advanced features that we do not support yet, parsing fails.

* Value of “version needed to extract” field is now calculated
  dynamically with respect to actually used features, e.g. if you just
  store or deflate a not very big file, ‘2.0’ version will be
  written (previously we wrote ‘4.6’ unconditionally). This is needed to
  avoid scaring tools that can only handle basic Zip archives.
2016-04-09 14:55:44 +07:00
mrkkrp 7fef123c7f Speed-up tests for newer versions of ‘filepath’ 2016-03-04 10:42:19 +06:00
mrkkrp ec18d1cd3b Fix some tests 2016-03-03 21:51:11 +06:00
mrkkrp 0dd3af989f Finish the test suite
Close #1.
2016-03-02 20:37:36 +06:00
mrkkrp 9ebb986dbe Fix the test failures (dates out of range)
MS DOS time/date format is quite limited in range of dates it can
represent. Here we ensure that all ‘UTCTime’ values we use for testing
are in appropriate range.
2016-03-02 18:22:29 +06:00
mrkkrp 2548a201c4 Even more tests written… 2016-03-02 16:50:32 +06:00
mrkkrp 7e6d8025f7 Add ‘doesEntryExist’ and ‘getEntryDesc’
Close #7.
2016-03-02 13:49:32 +06:00
mrkkrp cb2e2b0a57 More tests: extra fields, renaming, and deletion 2016-03-02 12:57:43 +06:00
mrkkrp 9a5c934a12 Add even more tests… 2016-03-01 21:38:24 +06:00
mrkkrp 476bc01518 More tests written 2016-03-01 17:19:46 +06:00
mrkkrp e86bcbcf6d Improve coverage of ‘decodeCP437’ 2016-03-01 10:54:13 +06:00
mrkkrp 532e0f00ca More tests written… 2016-03-01 09:53:05 +06:00
mrkkrp 24869fe99b Some tests written 2016-02-29 15:21:10 +06:00
mrkkrp 6b0a6a9b85 Fix the build 2016-02-26 17:24:24 +06:00
mrkkrp 6bce0ee7a8 Initial decisions on dependencies and structure 2016-01-28 16:09:09 +06:00