871 Commits
Author SHA1 Message Date
Timofey Solomko e8064ae12b Prepare for 4.0.0 2017-11-18 13:31:10 +03:00
Timofey Solomko 36b4654521 Correct doc string for TarError.wrongField 2017-11-18 11:08:52 +03:00
Timofey Solomko 545e5c69fc Remove some redundancy from documentation 2017-11-14 21:35:30 +03:00
Timofey Solomko 556e42e179 Add and update documentation 2017-11-14 20:37:20 +03:00
Timofey Solomko e023088e5e Fix potential force unwrapping of nil value of size in TAR 2017-11-14 19:42:25 +03:00
Timofey Solomko a544475eca Increase version number in swcomp 2017-11-11 15:16:37 +03:00
Timofey Solomko 2f1ec48fbd Fix some outdated code in swcomp 2017-11-11 15:16:26 +03:00
Timofey Solomko 60ad7a15b9 Fix build problem on linux 2017-11-11 13:43:58 +03:00
Timofey Solomko 50ac2f0eaa Prepare for the secong test release of 4.0.0 2017-11-11 13:39:06 +03:00
Timofey Solomko 88bf2ee0bb Swiftlint autocorrect 2017-11-11 13:31:10 +03:00
Timofey Solomko 7ec2752ceb TarEntryInfo.name is no longer Optional 2017-11-11 13:28:27 +03:00
Timofey Solomko 8cf85305d4 ContainerEntryInfo.name is no longer Optional 2017-11-11 13:27:36 +03:00
Timofey Solomko 90fbb18337 7z file name can no longer be nil 2017-11-11 13:24:34 +03:00
Timofey Solomko 77d0781809 Simplify code for reading 7z file names 2017-11-11 13:24:22 +03:00
Timofey Solomko f181bd6e3d Remove throws keyword from LZMA decoders inits 2017-11-11 13:10:35 +03:00
Timofey Solomko 1164d8eafb Extract new DWP zip string extension into a separate file and rename remaning file 2017-11-11 13:05:12 +03:00
Timofey Solomko 8114e55285 Make ZipCommon.getStringField function as an extension of DataWithPointer 2017-11-11 12:59:54 +03:00
Timofey Solomko feb41deed1 Return Data instead of UInt8 arrays in internal decompress functions 2017-11-11 12:54:31 +03:00
Timofey Solomko 03e6ed4256 Deal with Data object instead of bytes array in ZipContainer's getEntryData() 2017-11-11 12:49:49 +03:00
Timofey Solomko acb3d4d231 Simplify Zip's LZMA code by utilizing main LZMA decompress function 2017-11-11 12:48:08 +03:00
Timofey Solomko 2ff3b12b73 Remove converting sizes to Int in ZipContainer.getEntryData 2017-11-11 12:46:55 +03:00
Timofey Solomko 6b8c90f0bd FileSystemType properties can no longer be nil 2017-11-11 11:46:22 +03:00
Timofey Solomko 7eda3ba786 Remove 7zError.dataIsUnavailable 2017-11-10 22:36:34 +03:00
Timofey Solomko fc0a5ad2cc Remove LZMAError.decoderIsNotInitialised 2017-11-10 22:29:30 +03:00
Timofey Solomko d18a295d39 Remove LZMA2Error.wrongProperties in favor of wrongDictionarySize 2017-11-10 22:26:52 +03:00
Timofey Solomko b3ebeb20be Rename BZip2Error.wrongHuffmanLengthCode to wrongHuffmanCodeLength 2017-11-10 22:20:47 +03:00
Timofey Solomko 788fe554f9 Remove local id variable in 7zCoder 2017-11-09 23:50:05 +03:00
Timofey Solomko dd7f4b2fc8 Add isEncryptionMethod property to 7zCoder and use it in 7zFolder 2017-11-09 19:39:34 +03:00
Timofey Solomko 8f8aeadb9c Remove 7zCoder.ID struct 2017-11-09 19:37:35 +03:00
Timofey Solomko 5851d7daf8 Rewrite decoding part of 7z using new compressionMethod property 2017-11-09 19:36:59 +03:00
Timofey Solomko 40e375a968 Add compressionMethod property to 7zCoder 2017-11-09 19:36:37 +03:00
Timofey Solomko 8349eb9e4f Add extension to CompressionMethod with init from 7zip's coder id 2017-11-09 19:32:26 +03:00
Timofey Solomko bdf9cd930f Make lc, lp and pb properties of LZMADecoder private 2017-11-09 19:25:09 +03:00
Timofey Solomko 38650133fd Fix problems with unaligned bit reader in zlib unarchive in some cases 2017-11-05 13:57:07 +03:00
Timofey Solomko a12407d8ec Update version in swcomp 2017-11-05 13:07:23 +03:00
Timofey Solomko 010f8e8520 Remove ZlibHeader.CompressionMethod in favor of common CompressionMethod enum 2017-11-05 13:03:35 +03:00
Timofey Solomko f71d34510a Prepare for first test release of 4.0.0 2017-11-05 12:33:54 +03:00
Timofey Solomko 8d41bc7130 Make swiftlint happier 2017-11-05 00:45:12 +03:00
Timofey Solomko 5a7b8dc812 Swiftlint autocorrect 2017-11-04 23:30:54 +03:00
Timofey Solomko 4776ab95a5 Fix problems in XZ command when outputPath wasn't specified 2017-11-04 23:28:58 +03:00
Timofey Solomko a74efddd64 Force unwrap extract option in 7z, tar, zip commands
This is possible because Key<String> options can never have nil value.
2017-11-04 23:22:17 +03:00
Timofey Solomko 97af15a92c Enable extract options for tar, 7z and zip commands 2017-11-04 23:01:40 +03:00
Timofey Solomko 71aaf4c5cb Reimplement function which writes ContainerEntries for swcomp 2017-11-04 22:56:31 +03:00
Timofey Solomko cf23d44bae Print link path for tar entries 2017-11-04 22:53:56 +03:00
Timofey Solomko 1f752affc3 ZipError.wrongCRC now includes all already processed entries 2017-11-04 22:11:55 +03:00
Timofey Solomko 3373d43844 Improve GzipError.wrongCRC in same to XZ archive way 2017-11-04 22:02:54 +03:00
Timofey Solomko 9ae46fb84b Include last processed block in wrongCRC error of BZip2 2017-11-04 21:42:53 +03:00
Timofey Solomko cf9555e646 Update docs comment for XZError.wrongCheck 2017-11-04 21:42:37 +03:00
Timofey Solomko d20b51d7a5 Simplify padding code in XZ 2017-11-04 21:42:24 +03:00
Timofey Solomko 621ae4a5f9 Extract padding processing function in XZ 2017-11-04 21:38:33 +03:00