2584 Commits

Author SHA1 Message Date
Timofey Solomko d3b514a5bd [Tests] Convert GZip tests to use Swift Testing 2026-06-22 13:54:33 +08:00
Timofey Solomko b4a8f82a0d [Tests] Convert Deflate tests to use Swift Testing 2026-06-22 13:54:33 +08:00
Timofey Solomko e7fcad2406 [Tests] Convert ZIP tests to use Swift Testing 2026-06-22 13:54:33 +08:00
Timofey Solomko a6793741c1 [Tests] Convert BZip2 tests to use Swift Testing 2026-06-22 13:54:33 +08:00
Timofey Solomko 2fac6b36c8 [Tests] Convert Deflate compression tests to use Swift Testing 2026-06-20 09:15:19 +08:00
Timofey Solomko 976796ceed [Tests] Convert BZip2 compression tests to use Swift Testing 2026-06-20 09:15:19 +08:00
Timofey Solomko a734ad5944 Enable code coverage in Xcode 2026-06-20 09:15:19 +08:00
Timofey Solomko e0ec74cbc4 [Tests] Convert LZMA tests to use Swift Testing 2026-06-20 09:15:18 +08:00
Timofey Solomko 979cd2bee1 [CI] Download test files on linux 2026-06-13 16:22:24 +08:00
Timofey Solomko c3a53991de [CI] Enable testing on linux 2026-06-13 16:22:24 +08:00
Timofey Solomko 4477ac5fa7 [Tests] Remove the answer file with Unicode filename 2026-06-13 16:22:24 +08:00
Timofey Solomko d4e4d8007d [Tests] Embed data for the answer file with Unicode filename 2026-06-13 16:22:24 +08:00
Timofey Solomko c49e253420 [CI] Download test files on windows 2026-06-13 16:22:24 +08:00
Timofey Solomko c71add500a [CI] Enable testing on windows 2026-06-13 16:22:24 +08:00
Timofey Solomko c1f6c272e7 [Tests] Choose correct bundle for test resources when using SPM 2026-06-13 16:22:23 +08:00
Timofey Solomko abb8f65fd9 Add SPM test target 2026-06-13 16:22:23 +08:00
Timofey Solomko 6c455f83b4 utils.py: add gen-spm-test-target command 2026-06-13 16:22:23 +08:00
Timofey Solomko e9b44874a4 [Tests] Move tests source files into subdirectory 2026-06-13 16:22:23 +08:00
Timofey Solomko d9bb44001d Merge branch 'hotfix-4.9.1' into develop 2026-06-13 16:21:33 +08:00
Timofey Solomko 56267f0e14 Prepare for 4.9.1 release 2026-06-13 16:18:50 +08:00
Timofey Solomko e75d4bb167 [ZIP] Decode CP437 manually on non-Darwin platforms with Swift earlier than 6.2
Fixes #65.
2026-06-13 16:11:11 +08:00
Timofey Solomko 8b10dd5c0c [GZip] Add null terminator as a zero byte instead of character
Fixes #66.
2026-06-13 16:10:08 +08:00
Timofey Solomko ae8b576c7e [CI] Cache test files themselves instead of lfs
It was discovered that Swift Linux containers do not contain git-lfs, which makes it impossible to restore cache on linux jobs. By caching test files directly we will not need git-lfs.
2026-06-03 13:40:25 +08:00
Timofey Solomko 9054ca6371 [CI] Add separate cache stage to prevent cache misses on parallel jobs 2026-05-27 12:24:14 +08:00
Timofey Solomko 934ea37acd [Zlib] Mark ZlibHeader as Sendable 2026-05-27 12:09:24 +08:00
Timofey Solomko 0d5aaeedf4 [CI] Use git commit hash for cache key
This should be more reliable and platform-independent.
2026-05-26 20:38:12 +08:00
Timofey Solomko 3f07b0d571 [TAR] Define autoreleasepool on Android and Wasm
Apparently, Swift Package Index is trying to build SWC on these two platforms as well. While we do not currently support them, we can try to at least fix some issues.
2026-05-26 20:33:47 +08:00
Timofey Solomko 1b2c9ccc0a [ZIP] Mark extra field-related types as Sendable 2026-05-26 11:56:54 +08:00
Timofey Solomko 8dc5cb575c [GZip] Mark some structs as Sendable 2026-05-26 11:56:33 +08:00
Timofey Solomko e95c1e3e6e [Common] Mark several enums as Sendable 2026-05-26 11:56:15 +08:00
Timofey Solomko c01d42ff7c [Common] Mark container protocols as Sendable 2026-05-26 11:55:49 +08:00
Timofey Solomko 0359b943ea [ZIP] Mark customExtraFields as nonisolated(unsafe)
This is a temporary measure to "fix" compilation errors in Swift 6 language mode. Ultimately, this is a global variable which is not really concurrency-safe, so the entire custom extra field management system should be rethought.
2026-05-26 11:19:28 +08:00
Timofey Solomko 57186f13af [Common] Add Sendable conformance to OptionSet types 2026-05-26 11:17:37 +08:00
Timofey Solomko 623f2c0c72 Upgrade Swift language mode to version 6 2026-05-26 11:15:33 +08:00
Timofey Solomko 7ee42a166c Increase minimum deployment targets on Apple platforms 2026-05-25 16:40:48 +08:00
Timofey Solomko cf7981012d Drop support for Swift 5.9 and 5.10 2026-05-25 16:37:55 +08:00
Timofey Solomko 418d6a60a5 Mention PR number in CHANGELOG 2026-05-22 19:55:31 +08:00
Timofey Solomko c729f0baa4 Merge branch 'develop' 4.9.0 2026-05-22 19:46:17 +08:00
Timofey Solomko b2178ac126 Prepare for 4.9.0 release 2026-05-22 19:44:49 +08:00
Timofey Solomko 26dd6f5b5e Merge branch 'hotfix-4.8.7' into develop 2026-05-22 19:40:59 +08:00
Timofey Solomko b0b560e4c6 Merge branch 'hotfix-4.8.7' 4.8.7 2026-05-22 19:32:56 +08:00
Timofey Solomko 8ca3c18c61 Prepare for 4.8.7 release 2026-05-22 19:32:37 +08:00
Timofey Solomko 1c052807ba Merge branch 'wkonury-an-fix-dependency-version' into hotfix-4.8.7 2026-05-22 19:24:21 +08:00
Wojciech Konury 13676b8140 Lock BitByteData Dependency to 2.0.4 version 2026-05-22 12:40:10 +02:00
Timofey Solomko e3c41ca9a0 [BZip2] Fix grammar in comments 2026-05-22 17:16:29 +08:00
Timofey Solomko 3e78ae765b Update benchmark results due to a significant hardware update 2026-05-22 17:00:32 +08:00
Timofey Solomko 0bba830a3d [CI] Increase timeout for macOS jobs
Since we have to download simulators for some configurations every time, we hit the default timeout of 60 minutes. Increasing the timeout to 90 minutes should help.
2026-05-22 14:51:24 +08:00
Timofey Solomko 0da66b6da6 [CI] Upgrade deployment macOS version, remove DEVELOPER_DIR variable
Removing DEVELOPER_DIR variable should make CI use the default version of Xcode. Since recently AZP became more aggressive with removing older versions of Xcode from its CI images, relying on default version of Xcode will simplify maintenance of the CI configuration.
2026-05-21 16:58:27 +08:00
Timofey Solomko 462b443324 Update BBD version to 2.1.0 2026-05-21 16:57:02 +08:00
Timofey Solomko a41fe89076 [Tests] Add a test for 7-zip container with large LZMA dictionary size 2026-05-14 21:33:33 +08:00