Timofey Solomko
8b4ff5c040
[BZip2] Make decompress(_ bitReader:) function public and add "from" label to its argument
2018-02-23 12:58:24 +03:00
Timofey Solomko
3d502071bb
[ZIP] Use new BBD's converting inits when decompressing
2018-02-23 12:58:24 +03:00
Timofey Solomko
7864f830c5
Use BitByteData 1.1.0 test version
2018-02-23 12:58:20 +03:00
Timofey Solomko
01921b4824
Merge branch 'feature-info-zip-unix-extra-fields' into develop
2018-02-21 23:20:40 +03:00
Timofey Solomko
b9797a05a8
[Tests] Add checks for recently added to ZIP owner/group IDs
2018-02-21 23:19:09 +03:00
Timofey Solomko
f95b8116f2
[ZIP] Add public API for accessing uid and gid
...
These APIs are: ZipEntryInfo.ownerID and groupID (named for consistency with TarEntryInfo).
2018-02-21 23:14:44 +03:00
Timofey Solomko
146162132b
[ZIP] Add internal support for Info-ZIP New unix extra field (0x7875)
2018-02-21 23:08:07 +03:00
Timofey Solomko
8315018de6
[ZIP] Add internal support for Info-ZIP unix extra field (0x7855)
2018-02-21 22:57:53 +03:00
Timofey Solomko
e3006d05b6
[Tests] Add multiple additional checks for zip tests
2018-02-21 22:55:31 +03:00
Timofey Solomko
375b38ed06
Prevent BitByteData's bcsymbolmaps from archiving when deploying Carthage archive from CI
2018-02-21 22:41:37 +03:00
Timofey Solomko
447dd7f092
Fix some new CI problems
2018-02-21 22:34:45 +03:00
Timofey Solomko
b813844382
ZlibHeader's initializers now use ByteReaders instead of LsbBitReaders
...
Bit reading capabilities aren't needed for parsing Zlib header.
2018-02-17 12:58:53 +03:00
Timofey Solomko
dc8a60b7c0
Swiftlinted
2018-02-17 12:55:31 +03:00
Timofey Solomko
8915021113
Enable/disable a couple of swiftlint rules
...
identifier_name was disabled, because we have a number of properties which violate this rule, but cannot be renamed for various reasons (e.g. "id" in SevenZip...).
2018-02-17 12:55:14 +03:00
Timofey Solomko
9302a4e74b
Merge branch 'develop'
4.1.1
2018-02-11 14:58:41 +03:00
Timofey Solomko
f02361d486
Prepare for 4.1.1 release
2018-02-11 14:52:17 +03:00
Timofey Solomko
d1496deb95
[docs] Update docs comments for several TarEntryInfo properties
2018-02-11 14:31:44 +03:00
Timofey Solomko
1e67373a4e
[TAR] Fix incorrect entry names when prefix field is used
...
Apparently, prefix and name should be separated by "/" (when prefix is not NULL).
2018-02-11 13:13:14 +03:00
Timofey Solomko
8831e7e872
[Tests] Add a couple of additional checks to tar tests
2018-02-11 13:11:09 +03:00
Timofey Solomko
5b7a373147
Don't execute git lfs pull explicitly, since it is done automatically during submodule update
2018-02-10 22:23:27 +03:00
Timofey Solomko
e0bdd4f774
[TAR] Read magic as UInt64
2018-02-08 00:07:45 +03:00
Timofey Solomko
b9f325f91b
Small text/comments-related changes
2018-02-07 23:59:42 +03:00
Timofey Solomko
6b6aca4b6c
Merge branch 'release-4.1.0' into develop
2018-01-31 20:33:35 +03:00
Timofey Solomko
452f902cb1
Merge branch 'release-4.1.0'
4.1.0
2018-01-31 20:31:27 +03:00
Timofey Solomko
7319e26922
Prepare for 4.1.0 release
2018-01-31 20:30:09 +03:00
Timofey Solomko
19eb0a9e8d
[Tests] Update results
2018-01-31 20:30:09 +03:00
Timofey Solomko
c1c54add88
Prepare for second test release of 4.1.0
4.1.0-test.2
2018-01-29 21:14:43 +03:00
Timofey Solomko
17f826860b
[CI] Update cocoapods in deploy
2018-01-29 21:14:43 +03:00
Timofey Solomko
b2731d0d42
Specify swift version in podspec
2018-01-29 20:00:39 +03:00
Timofey Solomko
e7511130a9
Merge branch 'develop' into release-4.1.0
2018-01-29 19:56:24 +03:00
Timofey Solomko
e710e37233
[BZip2] Add comments about smaller block size for compression
2018-01-29 19:55:42 +03:00
Timofey Solomko
20b45e87f0
[Tests] Update results
2018-01-28 22:38:51 +03:00
Timofey Solomko
c31f83313b
[Tests] Don't call ZipContainer.info separately
2018-01-28 20:13:20 +03:00
Timofey Solomko
d7390ec44f
[ZIP] Native time and date are now relative to current timezone and calendar used by system
2018-01-28 19:58:40 +03:00
Timofey Solomko
32d3cc6279
Extract ntfs timestamps reference date as static property
2018-01-28 19:17:52 +03:00
Timofey Solomko
e7a2707508
[swcomp] Fix 7zCommand using Zip's functions
2018-01-28 19:13:05 +03:00
Timofey Solomko
4adc62192f
[swcomp] Extract most of global printInfo function as an extension to ContainerEntryInfo
2018-01-17 13:13:57 +03:00
Timofey Solomko
67c906840d
[swcomp] Add commands for performance testing deflate and bzip2 compression
2018-01-17 12:57:45 +03:00
Timofey Solomko
baa16b00b5
[swcomp] Add block size options to bzip2 command
2018-01-17 12:54:33 +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
7d99ab176a
[BZip2] Use not-reduced block size for decompression
2018-01-17 12:01:00 +03:00
Timofey Solomko
6781ff5e96
[swcomp] Implement ZipCommand and SevenZipCommand using ContainerCommand
2018-01-16 22:52:27 +03:00
Timofey Solomko
ab7c65249d
[swcomp] Add ContainerCommand protocol
...
This protocol represents common functionality for container-related commands (7z and zip). Extension to this protocol implements execute() function which is the same for both 7z and Zip commands.
2018-01-16 22:52:20 +03:00
Timofey Solomko
ac31a349ac
Reorder groups in XCode project
2018-01-16 22:28:51 +03:00
Timofey Solomko
ca41cc3b5f
[BZip2] Additionally reduce block sizes by 1.25
...
This is required, because, apparently, original bzip2 implementation doesn't account for the fact that the initial RLE can cause expansion of the data.
2018-01-16 22:28:35 +03:00
Timofey Solomko
6b6ece5b6e
[swcomp] Protect against non-set (set to 0) permissions in containers
...
Such permissions made files unaccessable by everyone except root.
2018-01-15 22:37:04 +03:00
Timofey Solomko
726cc8a828
[swcomp] Update description of extract option of 7z, tar and zip commands
2018-01-15 22:35:59 +03:00
Timofey Solomko
344421f49c
Exclude SPM's .build directory from swiftlint and swiftlint
2018-01-15 21:49:54 +03:00
Timofey Solomko
d8a47efd44
[BZip2] Slightly optimise initial RLE in compress
2018-01-14 23:07:09 +03:00
Timofey Solomko
02fb0c2886
[BZip2] Fix incorrect block sizes in compression
...
I previously thought that 1KB = 1024 bytes, but apparently in this case it is just 1000 bytes.
2018-01-14 18:17:44 +03:00