Commit Graph
959 Commits
Author SHA1 Message Date
Timofey Solomko 32394d66c0 Prepare for test release v3.2.0-test 2017-07-15 21:09:17 +03:00
Timofey Solomko 81ba512994 Remove SWCompression/Common 2017-07-15 21:07:50 +03:00
Timofey Solomko e2bc619832 Support creation time in TarEntry 2017-07-15 20:59:10 +03:00
Timofey Solomko f91908689b Use entryAttributes in ZipEntry.isDirectory 2017-07-15 20:57:12 +03:00
Timofey Solomko 6e2ddefbb5 Move tar long names parsing from entry to container 2017-07-15 20:47:57 +03:00
Timofey Solomko f8a2297f63 Add tests for tars with long names inside 2017-07-15 20:29:30 +03:00
Timofey Solomko 7ba077aab7 Extract some common code for ZIP 2017-07-15 20:03:25 +03:00
Timofey Solomko fad0e5c83a Add support for ZIP standard cp437 encoding
This encoding is used by ZIP standard. We fallback to UTF-8 encoding if CP437 encoding is unavailable on the platform or it is detected that the text is actually in UTF-8 encoding. The latter is needed because files created by Info-ZIP with UTF-8 names doesn't actually have bit flag which is required (again, according to standard) for UTF-8.
2017-07-14 18:11:00 +03:00
Timofey Solomko 4220537d0e Perform local header loading in unicode zip test 2017-07-14 18:03:45 +03:00
Timofey Solomko 81e1d1cee0 Write checksum tables in hex 2017-07-14 15:23:15 +03:00
Timofey Solomko c769dc6782 Remove extra submodule update in travis 2017-07-14 15:22:38 +03:00
Timofey Solomko bf08b82aa3 Fix travis config problem 2017-07-14 00:30:57 +03:00
Timofey Solomko e78f67aa0b Use overflow operators 2017-07-13 23:22:39 +03:00
Timofey Solomko 228e499287 Use bitReader in ZIP only when necessary 2017-07-13 23:18:15 +03:00
Timofey Solomko d72b9f0f79 Add section to readme about new submodule 2017-07-13 23:08:47 +03:00
Timofey Solomko 3a80dca94f Adopt travis configuration for a new submodule 2017-07-13 22:56:14 +03:00
Timofey Solomko 41a15a16fa Ignore two additional xcode files 2017-07-13 22:55:57 +03:00
Timofey Solomko 09a31e64d2 Add submodule directory 2017-07-13 22:50:28 +03:00
Timofey Solomko ce1f3de740 Add Test Files submodule 2017-07-13 22:47:50 +03:00
Timofey Solomko d6134bc082 Remove gitattributes 2017-07-13 22:43:11 +03:00
Timofey Solomko a847f0933d Remove test files 2017-07-13 22:42:20 +03:00
Timofey Solomko 8b8fc3f3c8 Fix problem with decompressing bzip2 in zip files
This problem appeared because bzip2 uses "straight" bit order instead of reversed.
2017-07-09 13:55:20 +03:00
Timofey Solomko 73e739135e Add function to BitReader which returns another BitReader with opposite bitOrder
It will be used in Zip bzip2 decompression.
2017-07-09 13:54:30 +03:00
Timofey Solomko 8deb07122f Add getting data for zip64 test 2017-07-09 13:53:47 +03:00
Timofey Solomko 499e8b18eb Add long_tests part for zip test with SWCompression source code
During this part it checks if it is possible to successfullt get data for each of 211 entries.
2017-07-09 13:51:54 +03:00
Timofey Solomko a9ab327583 Add test of zip file with BZip2 compression 2017-07-09 13:50:44 +03:00
Timofey Solomko a9cdb50e85 Remove intFromAlignedBytes function
Also changes were made to adopt this removal. This was done to improve behavior in some corner cases as well as enforce intentional usage of particular integer types.
2017-07-09 13:29:33 +03:00
Timofey Solomko 9a4e1d6219 Add several toInt extensions to number types 2017-07-09 13:26:48 +03:00
Timofey Solomko eeefa31be0 Rename BitToByteWriter to BitWriter 2017-07-09 13:06:25 +03:00
Timofey Solomko ab931aa031 Rename DWP's prevAlignedByte to previousByte 2017-07-09 13:05:14 +03:00
Timofey Solomko cec206e672 Improve usage of DWP functions in some places 2017-07-09 13:04:09 +03:00
Timofey Solomko 6cd86a9aef Add uint16 function to DWP and BitReader 2017-07-09 13:03:47 +03:00
Timofey Solomko 98383f2bed Fix problem with reading zip64 data descriptor 2017-07-09 13:02:53 +03:00
Timofey Solomko cd6b748adb Fix problems with reading zip64 end of CD locator 2017-07-09 12:58:27 +03:00
Timofey Solomko 6bd66e4717 Reduce size of DWP functions' names
Also provide default values for count argmunets in uint32 and uint64 functions.
2017-07-09 12:44:03 +03:00
Timofey Solomko 369da20c16 Adopted DWP-BitReader split everywhere
I've also removed a most occurrences of inout keyword because DWP (and BitReader) are classes and they are already passed by reference in arguments.
2017-07-08 22:02:32 +03:00
Timofey Solomko 6eb62fc087 Adopted new BitOrder location for BitToByteWriter 2017-07-08 22:02:32 +03:00
Timofey Solomko af90da9eba Fix misaligned bytes from BitReader
Added overrides of DWP functions which call skipUntilNextByte() before calling superclass functions therefore restoring old behavior.
2017-07-08 22:02:32 +03:00
Timofey Solomko a4cd339fc4 Separated byte and bit reading parts of DWP into distinct class 2017-07-08 22:02:26 +03:00
Timofey Solomko dc49484cd5 Remove unnecessary pointerData arguments and properties from some internal LZMA classes 2017-07-08 17:26:32 +03:00
Timofey Solomko 850b82f49d Update copyright header in LZMA sources 2017-07-08 17:06:22 +03:00
Timofey Solomko 410ab31473 Split several more classes into separate files 2017-07-08 17:05:25 +03:00
Timofey Solomko 8e68695d7e Merge branch 'hotfix-3.1.3' into develop 2017-07-08 15:22:03 +03:00
Timofey Solomko 0d1e95253b Prepare for 3.1.3 2017-07-08 15:08:34 +03:00
Timofey Solomko 4b704a860c Remove known issue about gnu tar exts from readme 2017-07-08 14:13:10 +03:00
Timofey Solomko 4e5c011815 Support mtimestamps from zip ext timestamp extra field
Access time and creation time stamps will be added in the future.
2017-07-08 14:13:03 +03:00
Timofey Solomko ec8f66a6b6 Fix ending gnu long names with NULL byte 2017-07-08 13:18:52 +03:00
Timofey Solomko 261332abf0 Add support for gnu long names and links in tar 2017-07-08 13:10:53 +03:00
Timofey Solomko ca0543e220 Move some parts of code in TarEntry 2017-07-08 12:15:58 +03:00
Timofey Solomko e3b21c9d0f Merge branch 'hotfix-3.1.2' into develop 2017-07-08 00:22:32 +03:00