Timofey Solomko
5419717624
Merge branch 'develop'
4.8.2
2022-09-24 14:34:39 +03:00
Timofey Solomko
bba5eb7b61
Prepare for 4.8.2 release
2022-09-24 14:34:02 +03:00
Timofey Solomko
aa41f5c7cb
Update README to mention version 4.8 and adjust swcomp and "why" sections
2022-09-24 14:33:14 +03:00
Timofey Solomko
55cc5a9036
[docs] Remove mentions of "older than Swift 5.2" versions since they are no longer supported
2022-09-24 14:27:21 +03:00
Timofey Solomko
2cda74eb06
[CI] Build only SWCompression target with SPM
2022-09-24 14:05:33 +03:00
Timofey Solomko
6b3af8c7a8
Upgrade xcode project compatibility project according to Swift 5.2 minimum
2022-09-24 13:48:23 +03:00
Timofey Solomko
03d7daee9f
Add names of dependecies packages to SPM manifest
...
This should ensure that SPM users won't have to download swcomp's dependencies.
2022-09-24 13:46:42 +03:00
Timofey Solomko
f7f9ccaeb1
Enable swcomp in SPM manifest by default
2022-09-24 13:39:16 +03:00
Timofey Solomko
52886a0bbf
[TAR] Remove compatibility with pre-Swift 5.2 compilers
2022-09-24 13:25:46 +03:00
Timofey Solomko
b59d1eedd7
Set icu path and one more additional path var in windows CI
2022-09-23 21:12:26 +03:00
Timofey Solomko
7f6cd9d1ab
Set icu version as an env variable in windows CI (except for Swift 5.7; i don't know where they've hidden it)
2022-09-23 20:06:37 +03:00
Timofey Solomko
78459b710a
[Deflate] Fix incorrect truncation check when processing uncompressed blocks
2022-09-23 19:45:45 +03:00
Timofey Solomko
da09a6291f
Reenable swift 5.6 and swift 5.7 in CI
2022-09-23 19:45:45 +03:00
Timofey Solomko
a8ae2ce273
Update icu path in windows CI to include all versions
2022-09-23 19:45:44 +03:00
Timofey Solomko
c54b796ef6
Fix build issues on ios due to some architectures being no longer supported
2022-09-23 19:45:44 +03:00
Timofey Solomko
88ab3373c6
Xcode 14-related updates: drop support for swift 5.1, increase deployment targets on darwin platforms, enable dead code stripping and eager linking in xcode project, add swift 5.7 to CI, update macos-10.15 to macos-11 and ubuntu-18.04 to ubuntu-20.04 in CI due to deprecations
2022-09-23 13:28:46 +03:00
Timofey Solomko
1de0d9bd04
[Tests] Report test details on failures in deflate truncation tests
2022-05-21 23:00:57 +03:00
Timofey Solomko
2b47fb7f49
[Deflate] Replace computation of static tree codes from lenghts with precomputed codes
2022-05-21 23:00:36 +03:00
Timofey Solomko
f06858029b
[Tests] Add a test for deflate truncations
2022-05-21 20:15:03 +03:00
Timofey Solomko
e500dfc5d9
[Deflate] Add guards against truncated inputs
2022-05-20 21:46:57 +03:00
Timofey Solomko
41a1474b8c
[swcomp] Implement --list option for container commands
...
In addition, slightly adjusted the help message for the --info option to make them more distinguishable.
2022-05-20 17:11:19 +03:00
Timofey Solomko
c9e10ebc35
[swcomp] Rework exiting with error codes
...
Different errors now have different error codes, the code for exiting is now standardized.
2022-05-20 17:00:22 +03:00
Timofey Solomko
4db7c8053a
Use xcode 13.4 for swift 5.6 in ci and upgrade xcode project
2022-05-18 16:28:39 +03:00
Timofey Solomko
74ae7c2edc
[GZip] Adjust detection of truncated inputs
2022-05-17 13:33:04 +03:00
Timofey Solomko
d63fb86f49
[Tests] Add a test for the minimal GZip file and other edge cases
2022-05-17 13:31:58 +03:00
Timofey Solomko
bf0a48f78f
Update windows CI: remove unnecessary configuration steps and vars, disable swift 5.6 since I cannot make it work
2022-05-17 12:59:54 +03:00
Timofey Solomko
c407bcfb9c
[swcomp] Add comparison with saved results via --compare option
2022-05-15 19:52:17 +03:00
Timofey Solomko
5db42cfb1c
[swcomp] Add --save option which allows to save benchmarking results in json format
2022-05-15 15:27:33 +03:00
Timofey Solomko
5daac3cd0a
[swcomp] Add -W shorthand for the --no-warmup option
2022-05-15 15:27:00 +03:00
Timofey Solomko
4e0dea7d86
Merge branch 'hotfix-4.8.1' into develop
2022-05-13 21:16:19 +03:00
Timofey Solomko
0714d4421e
Merge branch 'hotfix-4.8.1'
4.8.1
2022-05-13 21:15:35 +03:00
Timofey Solomko
f72ed96e48
Prepare for 4.8.1 release
2022-05-13 21:15:21 +03:00
Timofey Solomko
0f2b393c5c
[GZip] Fix incorrect detection of truncated archives
2022-05-13 21:10:47 +03:00
Timofey Solomko
7d78dd8866
CI updates: Add swift 5.6 on macos, upgrade swift to 5.6.1 on linux and windows
2022-04-20 22:02:32 +03:00
Timofey Solomko
0939a64361
Upgrade xcode project to 13.3, add swift 5.6 in CI (except macos), update xcode for swift 5.5 in ci to 13.2.1
2022-03-18 18:05:58 +03:00
Timofey Solomko
985ceb6cf8
[swcomp] Replace useSpeedFormatter with format function
2022-02-20 21:57:15 +03:00
Timofey Solomko
8796c42b5f
Gitignore launch.json
2022-02-20 21:50:22 +03:00
Timofey Solomko
140c197c2e
[swcomp] Change defaultIterationCount to instance variable
2022-02-20 21:49:07 +03:00
Timofey Solomko
ee90c99ec6
[swcomp] Add benchmarks for compression ratio
2022-02-20 19:05:46 +03:00
Timofey Solomko
ebfcdfa9d2
[swcomp] Benchmarks can now disable speed formatter
2022-02-20 18:52:07 +03:00
Timofey Solomko
5423fd9fb5
[swcomp] Replace speed uncertainty with standard deviation
2022-02-20 18:44:26 +03:00
Timofey Solomko
62c2ce8494
[swcomp] Benchmarks can now customize default iteration count
2022-02-20 16:32:13 +03:00
Timofey Solomko
9bdf7fe18e
Update swift in CI to 5.5.3
2022-02-20 16:11:40 +03:00
Timofey Solomko
65d50a8ff7
[swcomp] Rewrite the benchmarking system
...
The intent was to decouple command-line stuff from the taking measurements stuff, while simplifyin the overall structure. It remains to be seen if these goals were achieved. Currently, compression ratio printing is disabled. Also the results from warmup iteration are also omitted (but it is likely that they won't be restored).
2022-01-30 20:32:03 +03:00
Timofey Solomko
8302790ae2
[swcomp] Add --no-warmup option to benchmark commands
2022-01-24 21:31:54 +03:00
Timofey Solomko
3ac1a6b378
[swcomp] Add --iteration-count option to benchmark commands
2022-01-24 20:25:38 +03:00
Timofey Solomko
1b7a28b319
Add benchmark results for 4.8.0 including TAR Reader/Writer
2022-01-24 00:26:26 +03:00
Timofey Solomko
a675323c60
[swcomp] Use custom SpeedFormatter instead of ByteCountFormatter
...
Basically, this is the old formatting functions that were used pre-4.8.0 (as such they should provide the same output formatting) but implemented in a more sane way, inspired by the ByteCountFormatter's API.
2022-01-24 00:26:22 +03:00
Timofey Solomko
4ef8d55166
Merge branch 'release-4.8.0' into develop
2022-01-23 18:57:54 +03:00
Timofey Solomko
4ad6940f29
Merge branch 'release-4.8.0'
4.8.0
2022-01-23 18:57:24 +03:00