Timofey Solomko
bd8fa0561a
[Benchmark] Don't take into account "first" iteration
2018-04-10 00:25:50 +03:00
Timofey Solomko
44582535ad
[Benchmark] Increase iterations amount from 6 to 10
2018-04-10 00:25:46 +03:00
Timofey Solomko
6e0020b0e0
[swcomp] Updates to support SwiftCLI 4.2.0 and higher
2018-04-10 00:17:36 +03:00
Timofey Solomko
8045b7e7ab
[TAR] Use info provider in info function
2018-04-07 13:44:19 +03:00
Timofey Solomko
100c9364f0
[TAR] Add entry info provider
2018-04-07 13:43:09 +03:00
Timofey Solomko
1d838c1d7e
Slightly simplify and improve certain code
2018-04-07 13:38:00 +03:00
Timofey Solomko
9293210d35
All properties in huffman trees are now constant
2018-03-31 13:50:50 +03:00
Timofey Solomko
d4b728125b
[docs] Add documentation for ZIP custom extra fields related APIs
2018-03-31 13:46:04 +03:00
Timofey Solomko
756cf23659
[ZIP] Add preconditions which check custom extra fields properties
2018-03-31 12:25:18 +03:00
Timofey Solomko
f5924af1c4
[ZIP] Correctly skip Info-ZIP Unix extra field in Central Directory
2018-03-31 12:25:18 +03:00
Timofey Solomko
0dc93bb077
[ZIP] Make names of properties of Standard extra fields shorter
2018-03-31 12:25:18 +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
e35ea703dc
[ZIP] Add support for custom extra fields
2018-03-31 12:25:17 +03:00
Timofey Solomko
6ae80d98a6
[ZIP] Use new Standard Extra Field structs in central directory, local header and entry info
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
c9ea4f33fc
[TAR] Use special entry type internal property of TarEntryInfo instead of several isSomething properties
2018-03-31 12:15:43 +03:00
Timofey Solomko
67f5ebba0f
[TAR] Add nested SpecialEntryType enum into TarEntryInfo
2018-03-31 12:14:28 +03:00
Timofey Solomko
112fa8bbb0
Date init from ntfs timestamp is no longer failable
...
The only reason for it to be was to propagate optionality of UInt64 argument. Instead we can if-let ntfs timestamp and call this initializer with non-optional argument. We also now force-unwrap ntfsReferenceDate, since it is likely to be a system problem if we cannot create definetely correct date from its components.
2018-03-25 23:42:53 +03:00
Timofey Solomko
019bbf0629
[7-Zip] Move conversion from UInt64 to Date from entry to file info
2018-03-25 23:33:57 +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
311fe5ae80
[7-Zip] Add property to SevenZipFolder orderedCompressionMethods
...
It lazily returns compression methods in the order used by folder.
2018-03-18 15:47:43 +03:00
Timofey Solomko
4959ec5fe0
[TAR] Add compressionMethod property to TarEntryInfo
...
Obviously, it is awlays equal to .copy because TAR format doesn't support any compression.
2018-03-18 01:03:14 +03:00
Timofey Solomko
b123fff428
[7-Zip] Replace struct-ends ifs with guards
2018-03-18 00:58:40 +03:00
Timofey Solomko
895643b69e
[7-Zip] Reduce code nesting in container
2018-03-18 00:57:27 +03:00
Timofey Solomko
72ca40ce91
Prepare for 4.2.2 release
2018-03-17 19:17:02 +03:00
Timofey Solomko
a34e272f97
[docs] Fix typo in Container protocol
2018-03-17 15:38:46 +03:00
Timofey Solomko
309a07ed15
[docs] Slightly simplify notes about entries order of container functions
2018-03-17 15:37:41 +03:00
Timofey Solomko
2e3867afde
[7-Zip] Some code and comments improvements to open and info functions
2018-03-17 15:34:12 +03:00
Timofey Solomko
42fdac0a79
[7-Zip] info(container:) no longer crash when SubstreamInfo doesn't have enough sizes or digests
...
In this cases it now sets them to nil, which is consistent with behavior of open(container:) function.
2018-03-17 15:32:07 +03:00
Timofey Solomko
b301045d4a
[7-Zip] Fix skipping entries in open(container:) when there is no SubstreamInfo
...
It was always intended to set data of entry to nil in this case, but for some reason it was never properly implemented.
2018-03-17 15:30:19 +03:00
Timofey Solomko
3a65484322
Prepare for 4.2.1 release
2018-03-08 12:48:59 +03:00
Timofey Solomko
abcc985da8
Accept 7z minor version from 1 to 4
2018-03-08 12:35:16 +03:00
Timofey Solomko
eafbd731d4
Suggest 4.2.0 version in README
2018-03-08 12:30:13 +03:00
Timofey Solomko
fd876c0307
Merge branch 'release-4.2.0' into develop
2018-03-04 12:35:31 +03:00
Timofey Solomko
d0a6263ea5
Prepare for 4.2.0 release
2018-03-04 12:34:32 +03:00
Timofey Solomko
08473e1aff
Add missing documentation for unknownExtendedHeaderRecords
2018-03-04 12:09:31 +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
4.2.0-test.2
2018-03-03 20:51:26 +03:00
Timofey Solomko
a186631202
Merge branch 'develop' into release-4.2.0
2018-03-03 20:37:01 +03:00
Timofey Solomko
b679b0fa6f
Don't swiftlint package manifest
2018-03-03 20:31:17 +03:00
Timofey Solomko
cb9d181754
[BZip2] Don't create new Huffman trees if maximum amount of trees possible is already reached
2018-03-03 20:30:49 +03:00
Timofey Solomko
f9684573cf
Use "benchmark" instead of "performance testing" in text documents
2018-03-03 13:47:31 +03:00
Timofey Solomko
8fc390a680
[swcomp] Rename PerfTest to Benchmark
2018-03-03 13:43:57 +03:00
Timofey Solomko
a1db77ae25
[TAR] Add a workaround for situation when prefix has trailing slash to prevent double slashes
2018-03-03 13:12:52 +03:00
Timofey Solomko
f2e7c6c4b3
[swcomp] Print addtional properties for all types of entry infos (as well as unknown pax records)
2018-03-03 13:05:50 +03:00
Timofey Solomko
a73f5ddcde
[TAR] Add unknownExtendedHeaderRecords to TarEntryInfo
2018-03-03 12:34:16 +03:00
Timofey Solomko
5c2e4af0d6
[TAR] Use new extended header properties in TarEntryInfo
2018-03-03 12:00:31 +03:00