Commit Graph
1108 Commits
Author SHA1 Message Date
Timofey Solomko 70ef2c7c11 Prepare for 3.1.2 2017-07-08 00:16:33 +03:00
Timofey Solomko 0f2373c2b5 Add one more known issue to README
The issue is about gnu extensions to TAR format.
2017-07-08 00:12:59 +03:00
Timofey Solomko 6c323f9add Add tests for various tar formats 2017-07-08 00:08:08 +03:00
Timofey Solomko 872f6c623a Fix wrongUstarVersion error for gnu tar containers 2017-07-07 23:58:24 +03:00
Timofey Solomko 33e50397dd List new separate source files in podspec. 2017-07-06 19:59:11 +03:00
Timofey Solomko 3ce106d597 Implement TarEntry using DataWithPointer
This allows to simplify code a little bit as well as makes code looks more similar to other classes.
2017-07-06 19:54:22 +03:00
Timofey Solomko 2c2d2c614b Made multibyteDecode extension fileprivate 2017-07-06 18:47:21 +03:00
Timofey Solomko a10b47f334 Rearrange files in project 2017-07-06 18:46:31 +03:00
Timofey Solomko 0f54efb2e2 Implement auxilary int functions in tar as int extension 2017-07-06 18:45:33 +03:00
Timofey Solomko 39eea7c42a Split code into separate files
Overtime size of source files became unmanageble, so it is better to split them. Also internal zip structure have been renamed to include word zip.
2017-07-06 18:41:30 +03:00
Timofey Solomko f7103c494f Merge branch 'develop' v3.1.1 2017-07-05 22:29:12 +03:00
Timofey Solomko 5eae722316 Prepare for 3.1.1 2017-07-05 22:28:36 +03:00
Timofey Solomko f40975e1ce Throw error on non-number required tar entry fields
Previously, when encountering a required field from tar entry header which cannot be converted to Int SWCompression was silently skipping this problem and proceeding further. Now it throws `fieldIsNotNumber`, consistently with other fields.
2017-07-05 22:26:24 +03:00
Timofey Solomko 689ea51b29 Update docs for entryAttributes properties.
They now list what are possible values of keys of entryAttributes dictionary.
2017-07-05 22:25:56 +03:00
Timofey Solomko fe82ca0166 Set base of tar entry permissions to decimal
Previously, posix permissions in tar entries were octal-based. It was incosistent with zip entries and there is no way to specify base of a number. Moreover, FileManager.setAttributes(:) requires decimal-based numbers.
2017-07-05 22:24:06 +03:00
Timofey Solomko 62d8c0c200 Merge branch 'release-3.1.0' into develop 2017-07-03 18:43:55 +03:00
Timofey Solomko 1ae622f75f Merge branch 'release-3.1.0' v3.1.0 2017-07-03 18:43:04 +03:00
Timofey Solomko 7a2b3fe77e Preparations for 3.1.0. 2017-07-03 18:42:46 +03:00
Timofey Solomko e95edbebbd Updated test results. 2017-07-03 18:28:44 +03:00
Timofey Solomko cd832f6f1e Rebuilt documentation. 2017-07-03 14:37:48 +03:00
Timofey Solomko 9711ab8bcc Added missing documentation. 2017-07-03 14:37:32 +03:00
Timofey Solomko 1454f78eea Added custom categories for jazzy-generated documentation. 2017-07-03 14:37:19 +03:00
Timofey Solomko e7453b09aa Small text fixes for Readme. 2017-07-03 14:36:09 +03:00
Timofey Solomko 18a598fe17 Small text fixes. 2017-07-02 23:00:04 +03:00
Timofey Solomko a772f3b434 Added reference to new performance document into README, added known issues section. 2017-07-02 22:54:41 +03:00
Timofey Solomko b36b1ebc68 Added detailed document about performance. 2017-07-02 22:54:15 +03:00
Timofey Solomko 3a918e73a8 Gzip filename and comments are now decoded with iso-latin-1 encoding. 2017-07-02 14:43:51 +03:00
Timofey Solomko f27fd35fa9 Fixed checks for encryption. 2017-07-02 13:59:11 +03:00
Timofey Solomko b17b66107e LocalHeader is now checked for consistency with CDEntry only once. 2017-07-02 13:57:14 +03:00
Timofey Solomko 19e144bfd5 entryAttributes in Zip and Tar entries are now let. 2017-07-02 13:53:54 +03:00
Timofey Solomko 339eed68da Added entryAttributes to ContainerEntry protocol. 2017-07-02 13:53:38 +03:00
Timofey Solomko 5f41fb6dc0 Preparations for 3.1.0-test. v3.1.0-test 2017-07-02 00:08:29 +03:00
Timofey Solomko 7f4fcd55ed Renamed one property. 2017-07-02 00:02:51 +03:00
Timofey Solomko 16a0206cde No longer throw compressionNotSupported errors on initializing of LocalHeader or CentralDirectoryEntry. 2017-07-01 23:56:54 +03:00
Timofey Solomko 92aae29adc Fixed incorrect lzma compression decoding in zip. 2017-07-01 23:56:53 +03:00
Timofey Solomko a4fa8e312b Removed unnecessary versionNeeded check. 2017-07-01 23:56:45 +03:00
Timofey Solomko d38cb4430e Updated zip versionNeeded checks accordingly to supported compression types. 2017-07-01 23:51:55 +03:00
Timofey Solomko a2fa1c4e12 Added internal support for external uncompressed size specification in LZMA. 2017-07-01 23:49:41 +03:00
Timofey Solomko da072b0ab1 Added test for zip container with lzma compression. 2017-07-01 23:49:22 +03:00
Timofey Solomko 37818c6000 Added proper link path support to TarEntry. 2017-07-01 23:03:46 +03:00
Timofey Solomko 70a7999c01 Added new entryAttributes dictionary to ZipEntry. 2017-07-01 23:03:19 +03:00
Timofey Solomko 7f8c0ed6ff Zip LocalHeader is now read only once. 2017-07-01 23:03:00 +03:00
Timofey Solomko e9b7d37aa2 Added notes of deprecation of several TarEntry properties, added new entryAttributes dictionary. 2017-07-01 18:29:57 +03:00
Timofey Solomko 4ee5c8e3c3 Updated copyright headers in source files (made them a bit shorter). 2017-07-01 00:03:10 +03:00
Timofey Solomko e352c5abd6 Added tests for XZ multi-unarchive. 2017-06-30 23:55:58 +03:00
Timofey Solomko 82a7179f78 Added support for stream padding in multi xz archives. 2017-06-30 23:42:16 +03:00
Timofey Solomko 97c75543c8 Extracted code for processing one stream, added multiUnarchive function to XZ. 2017-06-30 23:37:49 +03:00
Timofey Solomko 14ccd772af Made processMember function of GzipArchive private. 2017-06-30 23:36:38 +03:00
Timofey Solomko 412052bf54 Added test for multiunarchive with single-member archive. 2017-06-30 23:29:00 +03:00
Timofey Solomko e90a1d244c Added test for gzip multiUnarchive. 2017-06-29 00:13:22 +03:00