Commit Graph
806 Commits
Author SHA1 Message Date
Timofey Solomko 19b09c08fc Replaced fatalErrors in HuffmanTree with SymbolNotFound errors. 2017-05-27 20:40:35 +03:00
Timofey Solomko 8b3cc5620a A lot of small little changes here and there. 2017-05-27 20:38:20 +03:00
Timofey Solomko f343919366 All classes are now longer final (because it is not needed to prevent subclassing given public access level). 2017-05-27 20:37:41 +03:00
Timofey Solomko a5dc7dc88f Some zip classes are made final. Moved some internal comments. 2017-05-27 19:59:02 +03:00
Timofey Solomko 11c60bd4ab Added support for zip64 data descriptor in zip. 2017-05-27 19:17:36 +03:00
Timofey Solomko 6b715b4e9f Removed initialisation of several LZMADecoder properties from init() because resetState() does it. Added a check if resetState() was called at least once before decode(). 2017-05-27 13:56:25 +03:00
Timofey Solomko d5dc164279 Some changes to LZMA to reduce code repetition. 2017-05-27 11:28:50 +03:00
Timofey Solomko bf5b238dd0 Small refactor in GzipArchive. 2017-05-26 22:19:16 +03:00
Timofey Solomko 3338e081c4 GzipArchive.archive rewritten a bit with new set of arguments. 2017-05-26 22:15:01 +03:00
Timofey Solomko 75367a1b22 Swiftlinted. 2017-05-26 19:32:53 +03:00
Timofey Solomko d4f2ad9caa Revert "Added new enum which represents options for archive creation."
This reverts commit 23c06c7be9.
2017-05-26 19:29:55 +03:00
Timofey Solomko 2081c3e7f2 Revert "Added archive(...) function to Archive protocol with options argument."
This reverts commit 308cf4808e.
2017-05-26 19:29:54 +03:00
Timofey Solomko ee6fc56ab4 Revert "Updated XZArchive and ZlibArchive to conform to new Archive protocol requirements."
This reverts commit d0657a0552.
2017-05-26 19:29:48 +03:00
Timofey Solomko b02a93e62c Added some comments for the future. 2017-05-26 19:25:52 +03:00
Timofey Solomko 5e8f31e8fa Output flags should now be correct in created gzip archives if repeated options are passed to the function. 2017-05-25 15:50:46 +03:00
Timofey Solomko 6ff8ffbb2b Merge branch 'hotfix-2.4.3' into develop 2017-05-25 10:43:52 +03:00
Timofey Solomko ff0a2fca12 Preparations for 2.4.3. 2017-05-25 10:40:10 +03:00
Timofey Solomko 8080ea95ea Fixed incorrect calculation of GzipHeader crc. 2017-05-25 10:35:19 +03:00
Timofey Solomko 102ba2a3e0 GzipHeader now checks ftext flag and provides a property for it. 2017-05-25 10:33:16 +03:00
Timofey Solomko e5e7d9f30b Added new test for GzipArchive.archive. 2017-05-25 10:32:45 +03:00
Timofey Solomko 48c4397f15 GzipArchive.archive now respects options passed. 2017-05-25 10:32:17 +03:00
Timofey Solomko d0657a0552 Updated XZArchive and ZlibArchive to conform to new Archive protocol requirements. 2017-05-25 10:28:51 +03:00
Timofey Solomko 308cf4808e Added archive(...) function to Archive protocol with options argument. 2017-05-25 10:27:37 +03:00
Timofey Solomko 23c06c7be9 Added new enum which represents options for archive creation. 2017-05-25 10:26:43 +03:00
Timofey Solomko d50d720c61 Small refactor in TarContainer. 2017-05-24 17:57:08 +03:00
Timofey Solomko 9a1952b9e1 Small refactor in LZMADecoder. 2017-05-24 00:26:48 +03:00
Timofey Solomko 9608fddb0d Merge branch 'release-3.0.0' into develop 2017-05-21 20:44:14 +03:00
Timofey Solomko c14a36ca31 Preparation for 3.0.0-test2. v3.0.0-test2 2017-05-21 20:29:56 +03:00
Timofey Solomko 7e6757f597 Merge branch 'develop' into release-3.0.0 2017-05-21 20:16:01 +03:00
Timofey Solomko a19795736f Updated ZipTests. 2017-05-21 20:15:14 +03:00
Timofey Solomko 3cf9f4f1c2 Replaced zip test files with smaller ones. 2017-05-21 20:15:05 +03:00
Timofey Solomko 12e40ea9fd Optimized way of interchange of extended headers. 2017-05-21 19:31:04 +03:00
Timofey Solomko c17bef754e Adapted testPax() to the last change. 2017-05-21 19:24:53 +03:00
Timofey Solomko 2e9feaaa90 full_test.tar replaced with the one with more pax headers and less total size. 2017-05-21 19:23:56 +03:00
Timofey Solomko ea721fff8d Removed unused String extensions. 2017-05-21 19:23:11 +03:00
Timofey Solomko 47d9a1cece Reworked parsing of pax extended headers. 2017-05-21 19:22:57 +03:00
Timofey Solomko f35a85b98a Fixed test crash. 2017-05-20 23:04:26 +03:00
Timofey Solomko 25b32e7a7a Added test for pax format. 2017-05-20 23:02:33 +03:00
Timofey Solomko 22639e808d Implemented TarEntry.isDirectory. 2017-05-20 22:28:18 +03:00
Timofey Solomko 1ee8c0c047 Path keyword from pax headers is now also used in TarEntry.name. 2017-05-20 22:10:44 +03:00
Timofey Solomko d90ee42b91 Added support for pax format. 2017-05-20 22:10:09 +03:00
Timofey Solomko e9a4462b12 Added some String extensions. 2017-05-20 22:09:28 +03:00
Timofey Solomko 323cfd6595 Add tar references to README. 2017-05-20 22:09:19 +03:00
Timofey Solomko 57aaabd912 Added doc for ZipEntry.isDirectory. 2017-05-13 13:17:49 +03:00
Timofey Solomko b8d02d13ea Added EntryType enum for Tar. 2017-05-13 13:17:34 +03:00
Timofey Solomko ef5cd683a2 Implemented Zip isDirectory. 2017-05-13 13:03:28 +03:00
Timofey Solomko 5ba37f0ede Tar modificationTime is now a Date. 2017-05-13 12:55:45 +03:00
Timofey Solomko 658c331c74 Added size and isDirectory properties to ContainerEntry, name is no longer Optional. 2017-05-09 21:08:17 +03:00
Timofey Solomko dffceccb84 Fixed a mistake with length of fileComment. 2017-05-09 21:07:50 +03:00
Timofey Solomko b99f7101ac fileName and fileComment in CDEntries and LocalHeaders of ZIP are no longer Optionals. 2017-05-09 21:05:07 +03:00