Timofey Solomko
730672e1b0
Merge branch 'develop'
4.6.1
2021-09-21 13:29:10 +03:00
Timofey Solomko
2efdb3ef8c
Prepare for 4.6.1 release
2021-09-21 13:29:03 +03:00
Timofey Solomko
324a2dafe0
CI: add swift 5.5 on all platforms
...
However, linux and windows will fail at the moment.
2021-09-21 13:22:12 +03:00
Timofey Solomko
7d53b4aee3
Upgrade xcode project to xcode 13
2021-09-21 13:20:15 +03:00
Timofey Solomko
7c6c98b3a3
[ZIP] Remove unused import
2021-09-20 12:00:12 +03:00
Timofey Solomko
86a9caf337
[ZIP] Unify the code for finding CP437 enconding
2021-09-19 18:28:25 +03:00
Timofey Solomko
33cb74cdeb
[Tests] Add tests for different format minor versions of 7-Zip
2021-09-19 17:19:05 +03:00
Timofey Solomko
aefacf3e16
[7-Zip] Change SevenZipProperty from class to struct
2021-09-19 17:17:57 +03:00
Timofey Solomko
f5ecfec6b6
[Tests] Add various tests which try to process empty Data
2021-09-19 15:49:38 +03:00
Timofey Solomko
791beca597
[LZMA2] Fix a crash when trying to process empty data
...
Now it throws LZMAError.rangeDecoderInitError instead.
2021-09-19 15:49:09 +03:00
Timofey Solomko
15a99d1448
[swcomp] Replace ContainerCommand.Entry with ContainerType
2021-09-19 15:15:55 +03:00
Timofey Solomko
19c788eb30
[swcomp] Output uncertainty of the bench speed using avg speed units
2021-09-13 17:33:09 +03:00
Timofey Solomko
d7824df50c
[swcomp] Move most bench commands into BenchmarkGroup file
2021-09-13 17:32:16 +03:00
Timofey Solomko
0f2510c608
CI updates: update swift to 5.4.3 on linux and windows
2021-09-13 00:20:28 +03:00
Timofey Solomko
f688db93a4
Update benchmarks results
2021-09-13 00:17:41 +03:00
Timofey Solomko
3eed2595be
[swcomp] Output results as a speed
2021-09-12 23:50:46 +03:00
Timofey Solomko
03af95fb96
[swcomp] Add CreateTar benchmarking command
2021-09-12 19:12:27 +03:00
Timofey Solomko
322fe5aaa8
[swcomp] Move createEntries function into a separate extension
2021-09-12 19:12:04 +03:00
Timofey Solomko
2fa22370dc
[swcomp] Generalize BenchmarkCommand protocol
2021-09-12 19:11:39 +03:00
Timofey Solomko
926a3749d5
CI updates: enable macos11/swift5.4 in azp, and remove the rest of travis
2021-09-12 15:16:21 +03:00
Timofey Solomko
f013164f27
Merge branch 'release-4.6.0' into develop
2021-08-04 15:51:48 +03:00
Timofey Solomko
ff8113eb32
Merge branch 'release-4.6.0'
4.6.0
2021-08-04 15:51:09 +03:00
Timofey Solomko
97323fa76a
Prepare for 4.6.0 release
2021-08-04 15:50:55 +03:00
Timofey Solomko
53a9480cc5
Small updates to README
2021-08-04 11:53:35 +03:00
Timofey Solomko
0ac48ae704
[docs] Add documentation for TarContainer.create(from:force:)
2021-08-04 10:52:31 +03:00
Timofey Solomko
4e8be1d4fc
[TAR] Remove TarEntryInfo.format in favor of working with header format directly
2021-08-03 18:39:03 +03:00
Timofey Solomko
8ca03a83ab
Upgrade BBD to 2.0
2021-08-03 18:27:40 +03:00
Timofey Solomko
925986b9ed
[TAR] Add an assertion that verifies that base-256 encoding will always succeed
2021-07-31 12:23:37 +03:00
Timofey Solomko
d335ed450e
[TAR] Counters for special entries are now UInt to prevent overflowing into negatives
2021-07-31 12:23:00 +03:00
Timofey Solomko
47c15a77cc
[Tests] Adjust one of the TAR creation tests to better check base-256 encoding
2021-07-31 12:22:27 +03:00
Timofey Solomko
fe672f29dd
Prepare for the test release of 4.6.0
4.6.0-test
2021-07-28 11:21:59 +03:00
Timofey Solomko
e5ddd7e2a3
Remove swift 4.2 badge from README
2021-07-28 11:21:24 +03:00
Timofey Solomko
417ef7ded8
[TAR] Small code comments changes
2021-07-28 11:17:49 +03:00
Timofey Solomko
e8e7bf1a72
[swcomp] Remove extra "try" in TarCommand
2021-07-28 11:14:32 +03:00
Timofey Solomko
1565525942
Switch to the 2.0.0-test.2 release of BBD
2021-07-28 11:13:54 +03:00
Timofey Solomko
ff269e3ffe
[ZIP] Rename ByteReader+Zip to LittleEndianByteReader+Zip
2021-07-27 16:19:06 +03:00
Timofey Solomko
6ca3712e11
[Tests] Add a test for TAR with only a header (no EOF marker even)
...
This is to verify the checks in TarParser.next().
2021-07-26 21:41:08 +03:00
Timofey Solomko
2a8fe7d37f
[TAR] Remove an extra check in TarContainer functions for very small files
...
This situation is already covered by the check in TarParser, which results in ParsingResult.truncated. In addition, we repurposed TarError.tooSmallFileIsPassed for this cases (updated documentation).
2021-07-26 21:37:00 +03:00
Timofey Solomko
36f34c4e8f
[TAR] Remove TarEntryInfo.blockStartIndex
...
To accomplish this, we added a second associated value to ParsingResult.entryInfo and rewrote TarContainer.open in similar way to TarContainer.info.
2021-07-26 21:22:03 +03:00
Timofey Solomko
265191ea05
[TAR] Remove TarEntryInfo.specialEntryType
2021-07-26 21:16:48 +03:00
Timofey Solomko
b2f7084a0e
[TAR] Rename TarEntryInfoProvider to TarParser
2021-07-26 21:15:06 +03:00
Timofey Solomko
49c4adf8e9
[TAR] Return ParsingResult from TarEntryInfoProvider.next()
...
ParsingResult is a new enum. This allows us to better distinguish between different situtations encounterd during parsing a TAR container.
2021-07-26 21:13:27 +03:00
Timofey Solomko
a743229456
[docs] Mention format forcing in the docs for TarEntryInfo properties
2021-07-25 15:55:31 +03:00
Timofey Solomko
3d7a4a8fbc
[docs] Remove Throws section from TarContainer.create
2021-07-25 15:54:29 +03:00
Timofey Solomko
cc217f8f93
[TAR] The names of created special entries are now quasi-unique
2021-07-25 15:54:00 +03:00
Timofey Solomko
af516f4090
[TAR] Add several asserts to TarEntryInfoProvider.next()
2021-07-24 15:28:37 +03:00
Timofey Solomko
5012788be4
[TAR] Rename ByteReader+Tar to LittleEndianByteReader+Tar
2021-07-24 15:28:19 +03:00
Timofey Solomko
8415cee9ae
[TAR] Fix missing return statement in TarContainer.create
2021-07-24 15:15:29 +03:00
Timofey Solomko
d523f6ec32
[TAR] Adjust old tar creation tests to also check for format
2021-07-24 15:01:56 +03:00
Timofey Solomko
f1a635c98f
[Tests] Add tests for creation of gnu TAR containers
2021-07-24 15:01:30 +03:00