Timofey Solomko
f548c3d328
Perform xcode project upgrade
2021-04-28 13:44:47 +03:00
Timofey Solomko
2d1ff23436
Convert LZMA/LZMA2 internal types to structs
...
This change results in a performance boost due to reduction in retain/release calls.
2021-04-21 22:59:17 +03:00
Timofey Solomko
5c29cb38de
Add building with SPM stage with Swift 4.2 on macos to CI
2021-04-20 14:44:29 +03:00
Timofey Solomko
3a51bac279
Fix xcode complaints about xctest deployment version
...
The currently supported deployment targets are now specified for SWCompression target only and not project-wide.
2021-04-20 14:39:27 +03:00
Timofey Solomko
9547ef1d41
Use new utils.py features in travis config
2021-04-20 14:01:49 +03:00
Timofey Solomko
65d7769e96
Pick some improvements to utils.py from develop
2021-04-20 13:58:36 +03:00
Timofey Solomko
e706d1f89a
Fix not deploying docs and wrong github prefix in source code links in docs
2021-04-20 13:49:57 +03:00
Timofey Solomko
48ecebcade
Merge branch 'hotfix-4.5.8'
4.5.8
2021-03-26 13:50:41 +02:00
Timofey Solomko
4445b0f561
Prepare for 4.5.8 release
2021-03-26 13:50:26 +02:00
Timofey Solomko
1fca632c2d
Update copyright year to 2021
2021-03-26 13:50:20 +02:00
Timofey Solomko
ed060c5c92
Add new carthage instructions to README
2021-03-26 13:40:24 +02:00
Timofey Solomko
a34fd06261
Use latest patch versions of swift in linux ci
2021-03-24 21:07:32 +02:00
Timofey Solomko
d85062cf87
Fix CI issues with cp command when using xcode 12+
2021-03-24 21:00:51 +02:00
Timofey Solomko
57bdebaafd
CI deployment changes: don't upload carthage archive (since it doesn't work with XCF), use xcode 12 for deployment, and simplify config overall
2021-03-24 18:40:23 +02:00
Timofey Solomko
e592b78e88
Add a new stage to CI which tests installing with carthage xcf method
2021-03-24 18:40:09 +02:00
Timofey Solomko
90a4854d31
Add compatibility with BBD built using carthage and xcf frameworks
...
This includes adding new framework search paths and updating shell script that copies BBD framework file into xctest bundle. However, this produces (harmless) warning about certain framework search paths not being found.
2021-03-24 15:07:21 +02:00
Timofey Solomko
447f56cc59
Perform xcode project upgrade
...
This includes changing compatibility with xcode from 9.3 to 10.0, though it shouldn't have notable impact since the oldest Swift version that we support comes from xcode 10.
2021-03-24 15:05:10 +02:00
Timofey Solomko
4fa4adcf5b
Merge branch 'hotfix-4.5.7' into master
4.5.7
2020-10-16 15:49:53 +03:00
Timofey Solomko
fc38cc19df
Prepare for 4.5.7 release
2020-10-16 15:49:05 +03:00
Timofey Solomko
8da109fe21
CI: fix tests not running properly on macos with Swift 5.3
2020-10-15 23:55:56 +03:00
Timofey Solomko
a07fc290a0
Small fixes to code comments
2020-10-15 23:35:34 +03:00
Timofey Solomko
d88127d650
[Tests] Add tests for a very small and invalid files for BZip2, GZip, LZMA, TAR, XZ, and Zlib
2020-10-15 23:35:34 +03:00
Timofey Solomko
00af5a9319
[BZip2][GZip][LZMA][XZ][Zlib] Fix crashes when opening very small files
...
Instead errors are now thrown.
2020-10-15 23:35:34 +03:00
Timofey Solomko
93fc1d3da3
[Tests] Add an empty zlib test
2020-10-15 23:35:30 +03:00
Timofey Solomko
5d357702e1
[Tests] Add an empty lzma test
2020-10-15 23:35:26 +03:00
Timofey Solomko
3670bba2d1
[7-Zip] Fix a crash when opening a very small file
...
Such files (smaller than 32 bytes) definitely don't have a SignatureHeader and in this case SevenZipError.wrongSignature should be properly thrown.
2020-10-15 23:35:25 +03:00
Timofey Solomko
28fcfed632
[Tests] Add 7z tests for a very short and invalid files
2020-10-15 23:35:22 +03:00
Timofey Solomko
9360a8a9b8
[ZIP] Fix a crash when opening a very small file
...
Such files (smaller than 22 bytes) definitely don't have a EndOfCD and in this case ZipError.notFoundCentralDirectoryEnd should be properly thrown.
2020-10-15 23:35:22 +03:00
Timofey Solomko
0282bcf151
[Tests] Add a test for opening very short file as a zip
2020-10-15 23:35:18 +03:00
Timofey Solomko
fa552e9b61
[ZIP] Fix a crash when opening a file without EndOfCD
...
Now ZipError.notFoundCentralDirectoryEnd is correctly thrown as was originally intended.
2020-10-14 23:51:27 +03:00
Timofey Solomko
47655ccf70
[Tests] Add a test for a not-a-zip file
2020-10-14 23:49:54 +03:00
Timofey Solomko
ab75e0944f
[BZip2] Fix compilation warning
2020-10-14 23:45:46 +03:00
Timofey Solomko
f9b1f8274d
Fix localization-related xcode's complaints
2020-10-14 23:34:45 +03:00
Timofey Solomko
55dcca9a77
Merge branch 'hotfix-4.5.6' into master
4.5.6
2020-09-24 23:12:17 +03:00
Timofey Solomko
cc68f9eb91
Prepare for 4.5.6 release
2020-09-24 23:10:49 +03:00
Timofey Solomko
ec4013fe92
Use Xcode 11.4 for deploy stage in CI
2020-09-24 22:47:10 +03:00
Timofey Solomko
77b5f74252
Add CI workaround for carthage being broken with Xcode 12
2020-09-24 22:46:00 +03:00
Timofey Solomko
2c46351a44
Fix building issue with swift 5.3 on linux
2020-09-24 13:06:54 +03:00
Timofey Solomko
55aeb9256c
CI testing with swift 5.3
2020-09-24 12:32:09 +03:00
Timofey Solomko
f62eadc6b2
Merge branch 'hotfix-4.5.5'
4.5.5
2020-04-27 16:14:05 +03:00
Timofey Solomko
69e0498bd2
Prepare for 4.5.5 release
2020-04-27 16:13:26 +03:00
Timofey Solomko
771031600b
[Tests] Add a test for bad extended timestamp crash fix
2020-04-26 23:12:04 +03:00
Timofey Solomko
1ed0cdfdfa
[ZIP] Fix a crash when encountering non well-formed Extended Timestamp
...
ZIP files produced by Finder on certain versions of macOS sometimes contain incorrect Extended Timestamp extra field in their Central Directory. When trying to open such files, SWCompression was crashing. This change makes SWCompression ignore "incorrectness" in Extended Timestamp.
2020-04-26 23:11:14 +03:00
Timofey Solomko
6106dbcb48
Merge branch 'hotfix-4.5.4'
4.5.4
2020-04-11 00:55:14 +03:00
Timofey Solomko
b1d9b4450a
Prepare for 4.5.4 release
2020-04-11 00:54:43 +03:00
Timofey Solomko
1dfd960765
Update README
2020-04-11 00:45:57 +03:00
Timofey Solomko
bfd0b5e770
Open TimeProfiler automatically when using profile action in xcode
2020-04-10 23:58:10 +03:00
Timofey Solomko
e8a0745431
CI changes: don't test with Swift 4.2
...
It isn't possible to automatically test on Swift 4.2 since carthage/xcode don't support projects with multiple Swift versions.
2020-04-09 13:26:55 +03:00
Timofey Solomko
b8a3592da7
Increase the version lower bound of BBD to 1.4.3
...
This version of BBD improves compatibility with Swift 4.2.
2020-04-09 13:26:49 +03:00
Timofey Solomko
6746752d65
Add SPM package manifest for Swift 4.2
2020-04-08 12:39:50 +03:00