354 Commits

Author SHA1 Message Date
Timofey Solomko 05054ba26d [ZIP] Rename ByteReader+ZipString file to ByteReader+Zip
This is also consistent with tar extensions to ByteReader.
2018-08-12 19:31:47 +03:00
Timofey Solomko 3ed501cdfd [ZIP] Replace ZipString class with fileprivate extensions to String and Data 2018-08-12 19:28:45 +03:00
Timofey Solomko b5b9b57039 Prepare for 4.4.0 release 2018-08-09 22:13:36 +03:00
Timofey Solomko 7424bf718a Prepare for test release of 4.4.0 2018-08-05 23:34:22 +03:00
Timofey Solomko 01f727627b [Tests] Migrate tar ext header tests to tar create tests 2018-07-31 14:15:59 +03:00
Timofey Solomko 0b8965d97f [Tests] Migrate tests for TarEntryInfo.generteContainerData() into TarContainer.create tests 2018-07-30 22:46:02 +03:00
Timofey Solomko a7e7deeb80 [Tests] Add a simple test for TarContainer.create 2018-07-30 22:45:56 +03:00
Timofey Solomko 4dda3fe7f5 [Tests] Add a simple test for TarEntryInfo.generateContainerData 2018-07-29 18:04:32 +03:00
Timofey Solomko 24e7f38649 [Tests] Add several tests for TarExtendedHeader.generateContainerData() 2018-07-25 20:59:03 +03:00
Timofey Solomko 14b3fb2774 [TAR] Add enum for creation errors
First case: unable to encode a string with UTF-8 encoding
2018-07-25 20:59:03 +03:00
Timofey Solomko cc46e94c0f [Tests] Add test for tar container with file with negative mtime
In this case base-256 encoding is also used
2018-07-23 19:11:33 +03:00
Timofey Solomko 4fd7d1dc99 [Tests] Add test for tar container with file of very big size
"Very big" means big enough to use base-256 encoding.
2018-07-23 19:04:37 +03:00
Timofey Solomko dd7f439e26 Add self-xcode-workspace file from xcode project 2018-07-23 09:35:22 +03:00
Timofey Solomko d8416dc711 [Tests] Add test case for gnu TAR format with incremental backup 2018-07-23 09:25:33 +03:00
Timofey Solomko 69baf93416 [Tests] Add a simple unicode test for 7z 2018-07-17 19:37:35 +03:00
Timofey Solomko c5590caf95 [Tests] Add a couple of tests (ustar and pax formats) for TAR with unicode file names 2018-07-16 20:19:37 +03:00
Timofey Solomko 7da519c4c5 [Tests] Test data content of the ZIP unicode test 2018-07-16 20:13:31 +03:00
Timofey Solomko d55607dd06 Prepare for 4.3.0 release 2018-04-29 11:27:40 +03:00
Timofey Solomko 3b8989549e Prepare for the second test release of 4.3.0 2018-04-20 19:23:29 +03:00
Timofey Solomko 5ef38a33a7 Merge branch 'develop' into release-4.3.0 2018-04-20 19:16:35 +03:00
Timofey Solomko 3d3d4a2c0e Move Comparable extension of HuffmanLength into its main file 2018-04-13 22:56:15 +03:00
Timofey Solomko 156f0a0516 Prepare for first test release of 4.3.0 2018-04-11 00:43:08 +03:00
Timofey Solomko 100c9364f0 [TAR] Add entry info provider 2018-04-07 13:43:09 +03:00
Timofey Solomko 4d72a0325b [Tests] Add test for ZIP custom extra field 2018-03-31 12:25:18 +03:00
Timofey Solomko 6e8efe2b39 Make BitByteData linking settings project-wide
We now use BitByteData directly in TestSWCompression, so we need to link test target against BitByteData properly, the same way we do it for SWCompression. Since we don't want to unnecessary duplicate equal target settings, it was decided to make them project-wide.
2018-03-31 12:25:17 +03:00
Timofey Solomko de0fcec3cc [ZIP] Add structs for all "standard" extra fields
These "standard" extra fields are already implemented in LocalHeader/CDEntry.
2018-03-31 12:25:17 +03:00
Timofey Solomko afa5799df2 [ZIP] Add ZipExtraField protocol and ZipExtraFieldLocation enum 2018-03-31 12:25:17 +03:00
Timofey Solomko 45e5585403 Various changes related to upgrading to Xcode 9.3 and Swift 4.1
Changed xcode version used in CI; changed swift version .swift-version file; changed swift version in podspec; changed swift badge in readme; consistently use double-quotes for strings in podspec; upgrade project to Xcode 9.3 and new project format; use Xcode's "new build system".
2018-03-31 12:15:50 +03:00
Timofey Solomko bc41feaea9 Revert "Disable STRIP_INSTALLED_PRODUCT xcode project setting"
Carthage released an update which fixes the problem with unintended stripping of debugging symbols, thus, we no longer need to modify project settings to workaround this problem.
2018-03-25 20:03:06 +03:00
Timofey Solomko 72ca40ce91 Prepare for 4.2.2 release 2018-03-17 19:17:02 +03:00
Timofey Solomko 3a65484322 Prepare for 4.2.1 release 2018-03-08 12:48:59 +03:00
Timofey Solomko d0a6263ea5 Prepare for 4.2.0 release 2018-03-04 12:34:32 +03:00
Timofey Solomko 02d4163295 Disable STRIP_INSTALLED_PRODUCT xcode project setting
This fixes missing symbol information for carthage archives. This is a temporary fix until carthage releases its own update which solves this issue.
2018-03-04 12:00:47 +03:00
Timofey Solomko 84478a3eb4 Prepare for second test release of 4.2.0 2018-03-03 20:51:26 +03:00
Timofey Solomko 68bd0dac3d Prepare for first test release of 4.2.0 2018-02-23 13:01:22 +03:00
Timofey Solomko f02361d486 Prepare for 4.1.1 release 2018-02-11 14:52:17 +03:00
Timofey Solomko 7319e26922 Prepare for 4.1.0 release 2018-01-31 20:30:09 +03:00
Timofey Solomko c1c54add88 Prepare for second test release of 4.1.0 2018-01-29 21:14:43 +03:00
Timofey Solomko e7511130a9 Merge branch 'develop' into release-4.1.0 2018-01-29 19:56:24 +03:00
Timofey Solomko 8fa195d560 [TAR] Replace Int.roundTo512() function with bitwise inlinable version in common Extensions file 2018-01-17 12:12:29 +03:00
Timofey Solomko ac31a349ac Reorder groups in XCode project 2018-01-16 22:28:51 +03:00
Timofey Solomko 44f33bf02a Make bit reader and writer functions' parameters concrete classes
Previously, it was almost always protocols, which in some cases didn't make sense.
2018-01-07 22:27:36 +03:00
Timofey Solomko b9440aac9f Rework inverse BWT by removing sorting stage
This change has a significant impact on performance in a good way.
2018-01-07 15:16:18 +03:00
Timofey Solomko 1dbc64a615 Remove switch from BZip2.BlockSize.headerByte 2018-01-07 15:12:59 +03:00
Timofey Solomko ed01cd142f Fix build warnings about deprecated settings 2018-01-03 23:42:33 +03:00
Timofey Solomko 22372cb6e9 Prepare for first test release of 4.1.0 2018-01-03 19:44:38 +03:00
Timofey Solomko e714dc308b Updated copyright year to 2018 2018-01-03 19:44:18 +03:00
Timofey Solomko c8d92e56d3 Replace BitReader and ByteReader with BitByteData's implementations 2018-01-03 19:22:15 +03:00
Timofey Solomko bb39c4016c Replace SWCompression.BitWriter with BitByteData's one 2018-01-03 19:22:15 +03:00
Timofey Solomko 9d709568e1 Rework integration with BitByteData framework provided through Carthage
SWCompression is now linked against appropriate platform-version of framework using linker flags and framework search path; added custom shell script phase to TestSWCompression target, which copies appropriate platform-version of framework into test bundle (its presence is necessary to make it run).
2018-01-03 19:22:15 +03:00