Commit Graph
451 Commits
Author SHA1 Message Date
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 7f09a3b6cd Member's properties are now public. 2017-06-29 00:11:39 +03:00
Timofey Solomko 8561094ae7 Made pointerData argument inout in some places for consistency. 2017-06-29 00:03:36 +03:00
Timofey Solomko 06a1ad5bd0 Added multiunarchive and processMember functions. 2017-06-29 00:02:23 +03:00
Timofey Solomko 1f163415e8 Minor comment fixes. 2017-06-29 00:01:55 +03:00
Timofey Solomko d0d2398603 Added Member struct. 2017-06-29 00:01:47 +03:00
Timofey Solomko 719d4c08d4 Data with size less than 3 can now also be processed by lengthEncode. 2017-06-14 21:37:57 +03:00
Timofey Solomko 2c8966d4ca Now uses single Info.plist file for all platforms. 2017-06-12 16:18:19 +03:00
Timofey Solomko 4df8118a5a Removed usage of indexOf function in BW transform. 2017-06-10 23:11:06 +03:00
Timofey Solomko c8a3fb7fb6 No longer inout pointer in BZip2. 2017-06-10 22:44:25 +03:00
Timofey Solomko f420279568 Small simplification in BitToByteWriter. 2017-06-03 22:04:02 +03:00
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