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
d091498e3e
CI updates: enable testing with swift 5.3 in AZP, add temporary script which work arounds the issue with carthage, fix an issue with installing/upgrading git-lfs.
2020-10-05 13:33:19 +03:00
Timofey Solomko
23385ce2e9
Fix a copy-paste typo in README
2020-10-05 13:03:03 +03:00
Timofey Solomko
a69ff5f389
Perform xcode project upgrade
...
Added base internationalization and changed development language to stop xcode from complaining, increased minimum ios deployment target to 9.0, project is now compatible with xcode 10 or later.
2020-10-05 13:02:25 +03:00
Timofey Solomko
2909f4e0c7
Merge branch 'hotfix-4.5.6' into develop
2020-09-24 23:13:26 +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
d4e261675e
Add -d option to utils.py prepare-workspace to build bbd in debug mode on macos
2020-09-24 11:01:59 +03:00
Timofey Solomko
8ef90146e7
[swcomp] Improve the usage of articles in help messages
2020-05-18 13:18:32 +03:00
Timofey Solomko
a984486c62
[swcomp] Don't print zip comment if it's empty
2020-05-18 13:17:17 +03:00
Timofey Solomko
3cd9272331
Fix azp issues
2020-05-12 23:38:50 +03:00
Timofey Solomko
67f208a216
Drop support for Swift 4 in podspec
2020-05-12 23:33:12 +03:00
Timofey Solomko
761f0a0a3f
Merge branch 'hotfix-4.5.5' into develop
2020-04-27 16:16:50 +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
247def898b
[BZip2][ZIP] Small code optimizations
...
A variable in BZip2 code changed to let-constant and two fields of ZIP's "end of central directory" struct are no longer properties since they aren't used anywhere.
2020-04-16 22:41:41 +03:00
Timofey Solomko
153f805bd4
CI changes: use ubuntu-18.04 on travis; run azp on all branches except master; don't use xcpretty and don't install it; remove azp-specific utils commands; set some env vars via os python module in utils.py to fix swift on linux issues; use -quiet argument for xcode to fix travis log length issues; remove verbosity from ci install linux step
2020-04-16 22:38:54 +03:00
Timofey Solomko
741ef861c3
Add azp badge to README
2020-04-16 00:44:12 +03:00
Timofey Solomko
049bac5861
CI changes: add azp versions of utils.py commands (script and install) because of the different xcpretty formatter; fix curl command being printed weirdly
2020-04-16 00:42:54 +03:00
Timofey Solomko
14252fe6d6
Add config file for azure pipelines
...
As an experiment we will run azure pipelines alongside travis ci until the next major release. If it turns to out be more convenient then we will switch permanently. Note: deployment stage is not configured yet. Also there is potential to simplify the config using templates.
2020-04-16 00:22:45 +03:00
Timofey Solomko
b40aca21c0
CI changes: move linux install to utils.py; make linux install swift step more verbose to find out why it doesn't work sometimes; print swift version on every script step to check that everything is working
2020-04-16 00:22:13 +03:00
Timofey Solomko
0f15e1c29b
Remove Swift-4.2-support code-path from Sha256.swift
2020-04-11 23:56:37 +03:00
Timofey Solomko
efd2e00ba6
Remove configuration files for linters
...
They aren't used anyway, especially swiftlint.
2020-04-11 23:45:47 +03:00
Timofey Solomko
8ec7299e08
Fix a link in README
2020-04-11 23:45:16 +03:00
Timofey Solomko
79a7a2ab7a
CI changes: don't test Swift 4.2, deploy using Xcode 11.4
2020-04-11 01:30:12 +03:00
Timofey Solomko
d005d8f87f
Merge branch 'hotfix-4.5.4' into develop
2020-04-11 01:01:11 +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