477 Commits

Author SHA1 Message Date
Timofey Solomko 70ef2c7c11 Prepare for 3.1.2 2017-07-08 00:16:33 +03:00
Timofey Solomko 872f6c623a Fix wrongUstarVersion error for gnu tar containers 2017-07-07 23:58:24 +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 7a2b3fe77e Preparations for 3.1.0. 2017-07-03 18:42:46 +03:00
Timofey Solomko 9711ab8bcc Added missing documentation. 2017-07-03 14:37:32 +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. 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 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 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 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