1539 Commits
Author SHA1 Message Date
Timofey Solomko 27fec898e6 Preparations for 3.0.1. 2017-06-03 13:09:26 +03:00
Timofey Solomko 38a29aa6d3 Removed extra semicolon. 2017-06-03 13:07:36 +03:00
Timofey Solomko 43e6b81ac8 Removed old Huffman coding parts. 2017-06-03 00:13:13 +03:00
Timofey Solomko 6436feec97 Redone HuffmanTree coding once again. 2017-06-03 00:10:28 +03:00
Timofey Solomko 0d85a0b7c3 Reduced memory usage of BLDCodes. 2017-06-02 20:59:58 +03:00
Timofey Solomko 83ca330934 Removed description from BLDCode. 2017-06-02 20:59:32 +03:00
Timofey Solomko 2a7c24882b Preparations for 3.0.0. 2017-05-31 23:22:51 +03:00
Timofey Solomko 6a7f153240 [BZip2] Fixed crc calculation of entire output. 2017-05-31 22:15:28 +03:00
Timofey Solomko 596477833d One-lined doc for wrongHeaderChecksum. 2017-05-31 19:42:54 +03:00
Timofey Solomko a5b3f5c6c1 Edited LZMA related documentation. 2017-05-31 19:12:38 +03:00
Timofey Solomko 2de562be95 Added and edited documentation. 2017-05-31 18:36:03 +03:00
Timofey Solomko 732385f807 One more argument relabeling. 2017-05-31 15:15:09 +03:00
Timofey Solomko f45348c568 One more label renaming. 2017-05-31 15:00:58 +03:00
Timofey Solomko f7cac81ef8 Renamed several argument labels. 2017-05-31 14:39:49 +03:00
Timofey Solomko c744fd9b02 A number of changes were made to improve overall level of code stylishness. 2017-05-30 22:19:05 +03:00
Timofey Solomko 7d501191c1 Removed a couple of TODOs. 2017-05-30 21:21:57 +03:00
Timofey Solomko 97566f3e2a Added reliable way for finding out if an entry is a directory for ms-dos and unix container creator's systems. 2017-05-30 21:19:16 +03:00
Timofey Solomko 0714353387 XZArchive.unarchive now only processes the first stream of an archive. 2017-05-28 22:48:48 +03:00
Timofey Solomko 37fbb13919 GzipArchive.unarchive now processes only the first member of archive. 2017-05-28 22:46:27 +03:00
Timofey Solomko 01b287ff0e Extracted code for one gzip member unarchiving. 2017-05-28 22:38:27 +03:00
Timofey Solomko 689b956e9a Added check for xz footer magic bytes at the beggining of xz unarchiving. 2017-05-27 21:30:52 +03:00
Timofey Solomko f5b759b245 Fixed several problems with parsing xz stream padding. 2017-05-27 21:30:02 +03:00
Timofey Solomko 51e7298037 Fixed potential crash when xz archive file ends with padding. 2017-05-27 21:02:51 +03:00
Timofey Solomko f3ab15a27e Now we check for corruption in xz header before checking for zero-equality of reserved fields. 2017-05-27 20:56:46 +03:00
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 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 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 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 a19795736f Updated ZipTests. 2017-05-21 20:15:14 +03:00
Timofey Solomko 12e40ea9fd Optimized way of interchange of extended headers. 2017-05-21 19:31:04 +03:00
Timofey Solomko ea721fff8d Removed unused String extensions. 2017-05-21 19:23:11 +03:00