Commit Graph
1207 Commits
Author SHA1 Message Date
Timofey Solomko 4a9fbc4ff5 Extract tar specific extensions into separate files 2017-10-08 20:32:39 +03:00
Timofey Solomko 9c44244b24 Remove TarError.wrongUstarVersion 2017-10-08 20:19:40 +03:00
Timofey Solomko e36c22f707 Fix some inconsistencies with size and data in SevenZip in different cases (dir, empty file, anti file) 2017-10-08 20:18:33 +03:00
Timofey Solomko f681de517b Update SevenZipTests 2017-10-08 20:03:33 +03:00
Timofey Solomko d8554e0131 Remove info-related properties and entryAttributes from SevenZipEntry and make it conform to ContainerEntry 2017-10-08 20:03:23 +03:00
Timofey Solomko a2540545c1 Conform SevenZipEntryInfo to corresponding protocol 2017-10-08 20:02:44 +03:00
Timofey Solomko 7a1243c3fa Make ContainerEntryInfo properties optional 2017-10-08 20:02:24 +03:00
Timofey Solomko 542f650433 Move some source files up in xcode project closer to container files 2017-10-08 19:52:03 +03:00
Timofey Solomko 76d3b9e4fa Fix warnings in tests code 2017-10-08 19:51:06 +03:00
Timofey Solomko bf763e53c0 Remove Container protocols conformance and make open(container:) methods return fixed types 2017-10-08 19:49:57 +03:00
Timofey Solomko f2807a1ec5 Start rework of Container API
Add associated types, add info protocol, remove entryAttributes, add entry type property and enum. Docs comments were also removed so I won't forget update documentation before release.
2017-10-08 19:47:23 +03:00
Timofey Solomko 7ea25c38b1 Update XZ tests with the removal of multiUnarchive 2017-10-08 16:17:28 +03:00
Timofey Solomko 7b6b729480 Remove XZArchive.multiUnarchive and make unarchive work with multi-streams
This was done, because, apparently, some real world archives (e.g. linux kernel source code archive) are multi-stream.
2017-10-08 16:16:41 +03:00
Timofey Solomko 7eacfe7ab6 Extract private functions for stages of bzip2 processing 2017-10-07 15:16:21 +03:00
Timofey Solomko 9abb475e2b Simplify write of used bytes map and selectors used in bzip2 2017-10-07 15:15:08 +03:00
Timofey Solomko 264e9b9e1e Extract private functions in bzip2 huffman code length generation 2017-10-07 15:14:00 +03:00
Timofey Solomko 9e02a88391 Reduce usage of for-where clause
Sometimes it is inappropriate and single if is more logical.
2017-10-07 13:09:55 +03:00
Timofey Solomko 5da624e75f Use new data slicing in bzip2 compress 2017-10-07 12:28:03 +03:00
Timofey Solomko 21467899db Use new reduce function in bzip2 decompress 2017-10-07 12:27:51 +03:00
Timofey Solomko 5353a2d68c Rename BZip2CompressTests to BZip2CompressionTests to match file name 2017-10-07 12:27:24 +03:00
Timofey Solomko 58768ba466 Revert change to suffix array
endIndex means the same thing as count in that context.
2017-10-07 12:26:56 +03:00
Timofey Solomko 8b22ff2b6a Update code with swift 4 changes to strings 2017-10-07 12:26:11 +03:00
Timofey Solomko 5b18623bc6 Update check sums code to iterate not over indices but elements 2017-10-07 12:25:07 +03:00
Timofey Solomko 7c6bdc296a Fix travis build error when there is no updates to carthage 2017-10-07 00:56:39 +03:00
Timofey Solomko b4bdd16b5e Fix compile problem on linux 2017-10-07 00:09:07 +03:00
Timofey Solomko f191641eda Increase xcode version in travis config 2017-10-07 00:05:14 +03:00
Timofey Solomko bb6d441daa Set swift-version to 4.0 2017-10-06 23:36:49 +03:00
Timofey Solomko bc523660b7 Update SPM manifest to version 4 2017-10-06 23:36:36 +03:00
Timofey Solomko 4bf085b2c0 Update podspec to respect subdirectory structure 2017-10-06 23:14:09 +03:00
Timofey Solomko 843896edcf Move source code files into subfolders 2017-10-06 23:10:01 +03:00
Timofey Solomko 895aa58bfc Enable some new swiftlint rules 2017-10-06 22:21:47 +03:00
Timofey Solomko 098f97b0c8 Perform automatic migration to swift 4 2017-10-04 22:45:44 +03:00
Timofey Solomko b05e9055b0 Merge branch 'release-3.4.0' into develop 2017-10-03 22:25:41 +03:00
Timofey Solomko a432bcd4b7 Prepare for 3.4.0 release 2017-10-03 22:24:56 +03:00
Timofey Solomko 655e9805c8 Small code cleanup in ZipEntry 2017-10-03 22:24:14 +03:00
Timofey Solomko 8d04857253 Update docs comments 2017-10-03 22:12:04 +03:00
Timofey Solomko f59543d703 Update README 2017-10-03 22:11:47 +03:00
Timofey Solomko 863bde2d6b Update test results 2017-10-03 21:43:41 +03:00
Timofey Solomko 0c090cbf5b Some small updates to test infrastructure 2017-10-03 21:43:11 +03:00
Timofey Solomko 86e3448b33 Add two additional required files to bzip2 podspec 2017-10-03 21:42:47 +03:00
Timofey Solomko 82bf78b1a9 Remove Performance.md because it is outdated
And I am too lazy to maintain it.
2017-10-03 21:42:30 +03:00
Timofey Solomko 8881c60b46 Prepare for second test release v3.4.0-test.2 2017-10-02 23:20:48 +03:00
Timofey Solomko 6734af9087 Put CompressionAlgorithm before DecompressionAlgorithm in jazzy docs 2017-10-02 23:20:35 +03:00
Timofey Solomko a87ffc6953 Reorder swiftlint rules in alphabetical order 2017-10-02 23:20:09 +03:00
Timofey Solomko 055ab97d42 Add new files to podspec 2017-10-02 23:12:23 +03:00
Timofey Solomko 41a6c9bae3 Various refactors and fixes for swiftlint 2017-10-02 23:11:38 +03:00
Timofey Solomko f4cfb0541c Disable one swiftlint rule
This force_unwrap rule is hard to satisfy because of various last! in the code.
2017-10-02 23:07:54 +03:00
Timofey Solomko 6f1377e7b0 Correct swift version in specific file 2017-10-02 22:32:48 +03:00
Timofey Solomko 7a33936382 Fix compile problems on some platforms 2017-10-02 22:32:34 +03:00
Timofey Solomko 9d2852cd30 Prepare for test release v3.4.0-test 2017-10-02 00:40:35 +03:00