Timofey Solomko
5e51968ca6
Add a func which generates Huffman codes based on their lengths
2019-03-12 22:31:02 +03:00
Timofey Solomko
6889f58461
Add new initiliaziers to huffman trees which init from codes instead of lengths
2019-03-12 22:30:50 +03:00
Timofey Solomko
7ae5cfa1a2
Add a new struct which represents an abstract code from coding tree
2019-03-12 22:30:35 +03:00
Timofey Solomko
9f138f86a6
Move Huffman tree related code into the CodingTree sub-group/directory
2019-03-12 22:30:21 +03:00
Timofey Solomko
1df768c09f
Move the lengths bootstrapping function into the namespace of the CodeLength
2019-03-12 22:29:53 +03:00
Timofey Solomko
7f25dbf6e7
Rename HuffmanLength to CodeLength
2019-03-12 22:28:01 +03:00
Timofey Solomko
3fede73696
Merge branch 'brianantonelli-patch-1' into develop
2019-02-21 18:45:11 +03:00
Brian Antonelli and GitHub
02e9f4d941
Doc fix
2019-02-20 22:52:59 -05:00
Timofey Solomko
08bea5ad53
Make Huffman tree classes final
2019-01-04 20:22:09 +03:00
Timofey Solomko
c4c4063923
[docs] Small improvements to various BZip2 documentation
2019-01-04 14:59:13 +03:00
Timofey Solomko
ce47019097
Update copyright year to 2019
2019-01-02 23:15:43 +03:00
Timofey Solomko
12d8836529
[ZIP] Use the new ZipEntryInfoHelper and remove its properties from ZipEntryInfo
2019-01-01 13:28:50 +03:00
Timofey Solomko
2273c1e12c
[ZIP] Add a new struct, ZipEntryInfoHelper, which is supposed to store additional information to _help_ ZipContainer get entry's data
2019-01-01 13:27:46 +03:00
Timofey Solomko
9559979233
[docs] Small improvements to TAR's docs
2018-12-22 20:10:09 +03:00
Timofey Solomko
3b119f3923
Move test files for 7z directory in xcode project
2018-12-22 13:40:57 +03:00
Timofey Solomko
79b5a951e2
Better detect pre-4.2 Swift in Data.prefix(upTo:) crash workaround in TarEntryInfo.generateContainerData()
2018-12-16 12:42:18 +03:00
Timofey Solomko
336bed75ab
Use 5.2.0 version of SwiftCLI and the 1.4.0 version of BBD
2018-12-12 20:31:07 +03:00
Timofey Solomko
7b404eea51
[swcomp] Improve benchmarks output (less overall lines, more flushing)
2018-12-09 12:49:11 +03:00
Timofey Solomko
9a424d64ad
[tests] Don't hide errors in GZip unarchive tests
2018-12-09 12:49:11 +03:00
Timofey Solomko
7977030b8d
Use new versions of macOS (Xcode 10.1) and Linux (Ubuntu 16.04) in CI
2018-12-09 12:49:11 +03:00
Timofey Solomko
16a14b79cc
Replace ci-install-deploy.sh script with CI config file changes
2018-12-09 12:49:11 +03:00
Timofey Solomko
5adf35365e
[swcomp] Make descriptions of benchmark commands and group shorter
2018-12-09 12:49:10 +03:00
Timofey Solomko
1540a5847f
Enable parallelized and random-order testing in xcode project
2018-12-09 12:49:10 +03:00
Timofey Solomko
f8b69d4341
Migrate xcode project to Swift 4.2 and Xcode 10.1
2018-12-09 12:49:08 +03:00
Timofey Solomko
9e69a1d4b7
Update to Swift version 4.2 in README, podspec and .swift-version file
2018-10-31 21:54:37 +03:00
Timofey Solomko
a2d04fc070
Merge branch 'release-4.5.0' into develop
2018-09-11 22:00:48 +03:00
Timofey Solomko
25a14b4862
Merge branch 'release-4.5.0'
4.5.0
2018-09-11 22:00:06 +03:00
Timofey Solomko
92b83cc0cf
Prepare for 4.5.0 release
2018-09-11 21:58:28 +03:00
Timofey Solomko
e92782cea0
[docs] Explain min value for LZMAProperties.dictionarySize
2018-09-11 21:57:52 +03:00
Timofey Solomko
d87611b903
[docs] Add LZMAProperties docs to the Compression category
2018-09-11 20:07:25 +03:00
Timofey Solomko
925bd363ff
[docs] Add docs for LZMA-properties related APIs
2018-09-11 20:07:02 +03:00
Timofey Solomko
c44cd9e1a4
Prepare for test release of 4.5.0
4.5.0-test
2018-09-06 20:15:41 +03:00
Timofey Solomko
59d31fdb5a
Swiftlinted for 4.5.0
2018-09-06 20:11:18 +03:00
Timofey Solomko
7f27fdaf7c
[LZMA] Slightly rewrite initializer for RangeDecoder
2018-09-06 20:07:09 +03:00
Timofey Solomko
0b36de6755
[Tests] Remove captain-obvious-styled assertion failure messages
2018-09-05 19:59:50 +03:00
Timofey Solomko
16b95740cb
[Tests] Auxiliary functions which load tests and answers data are now throwing instead of optional-returning
...
This allows to remove cumbersome guard constructs in all tests and instead utilize the fact that test functions can be throwing (me being unaware of this is actually the reason why it was done initially this way).
2018-09-05 19:55:57 +03:00
Timofey Solomko
110d90532c
[LZMA2] Simplify dictSize initialization in decoder
2018-09-05 19:39:15 +03:00
Timofey Solomko
8d09de3c7f
[docs] Add a note to XZError.checkTypeSHA256 that it is no longer thrown and will be removed
2018-09-05 19:38:56 +03:00
Timofey Solomko
6ab3d0e20d
[Tests] Add test for sha-256 check type in xz archive
2018-09-05 19:38:25 +03:00
Timofey Solomko
8e39d24684
[XZ] Enable sha-256 check type
2018-09-05 19:37:44 +03:00
Timofey Solomko
42a069200b
[Tests] Add tests for Sha-256
2018-09-02 20:31:46 +03:00
Timofey Solomko
92800dc21a
Add implementation of Sha-256
2018-09-02 20:31:19 +03:00
Timofey Solomko
dd751ec343
[Tests] Add test for delta filter in 7-Zip container
2018-08-29 10:55:18 +03:00
Timofey Solomko
b9984ac349
[7-Zip] Enable support for delta filter
2018-08-29 10:55:18 +03:00
Timofey Solomko
8641dab8d2
[Tests] Add test for delta filter in xz archive
2018-08-29 10:55:17 +03:00
Timofey Solomko
a7dadad4aa
[XZ] Enable support for delta filter
2018-08-29 10:55:13 +03:00
Timofey Solomko
8457f85c75
Add implementation for decoding Delta filter
2018-08-29 10:30:05 +03:00
Timofey Solomko
c48a763920
Specify swift language in ci config
2018-08-29 10:09:30 +03:00
Timofey Solomko
f9fb20d7eb
Mention default options for external commands in tests results
2018-08-29 10:07:13 +03:00
Timofey Solomko
14bfcb55e0
Improve wording of some sections in README
2018-08-29 10:06:51 +03:00