2604 Commits
Author SHA1 Message Date
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
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
Timofey Solomko 3fe5efc0ec Add other OS to utils.py prepare-workspace command 2020-04-08 12:36:37 +03:00
Timofey Solomko 4cb8b694b3 CI changes: add testing for Swift 4.2, 5.1 and 5.2 2020-04-08 12:23:47 +03:00
Timofey Solomko 3c788aac58 Add Swift 5.x badge to README 2020-04-08 12:19:06 +03:00
Timofey Solomko c1f283e1f7 Perform the download of test files manually via a utils.py command and a copy of gitattributes file 2020-04-07 22:33:28 +03:00
Timofey Solomko fa3aeece25 Convert remaining Utils bash scripts into utils.py commands 2020-04-06 19:01:34 +03:00
Timofey Solomko 515317a8c0 Replace ci bash scripts with a python tool 2020-04-06 13:30:12 +03:00
Timofey Solomko 662bc95191 Small changes to README 2020-04-06 12:54:19 +03:00
Timofey Solomko 36a7a76346 Merge branch 'hotfix-4.5.3' 4.5.3 2020-03-20 19:54:15 +03:00
Timofey Solomko 083ce9ba44 Prepare for 4.5.3 release 2020-03-20 19:54:01 +03:00
Timofey Solomko 7fc2e7585f Prepare for the test release of 4.5.3 4.5.3-test 2020-03-20 10:05:25 +03:00
Timofey Solomko fdde5115bd Increase the version lower bound of BBD to 1.4.2
That version of BBD improves compatibility with Swift 5.x and newer version of Xcode
2020-03-20 10:03:57 +03:00
Timofey Solomko c7ecaa418a Add a code-path to Sha256.swift to support Swift pre-5.0 2020-03-20 10:01:38 +03:00
Timofey Solomko 8a8aaf1593 Several deployment-related changes
Remove .swift-version file (it's deprecated by Cocoapods), run deploy phase in CI using xcode 11.3, remove extra swift build in CI deploy phase (sourcekitten now runs it itself), adjusted swift_versions setting in podspec, fix builds in linux CI by specifying swift version in the config.
2020-03-20 09:56:21 +03:00
Timofey Solomko bd8901a406 Several deployment-related changes
Remove .swift-version file (it's deprecated by Cocoapods), run deploy phase in CI using xcode 11.3, remove extra swift build in CI deploy phase (sourcekitten now runs it itself), adjusted swift_versions setting in podspec, fix builds in linux CI by specifying swift version in the config.
2020-03-20 09:55:18 +03:00
Timofey Solomko 11bdf1bc38 Fix various xcode11-related CI problems 2020-03-20 09:44:18 +03:00
Timofey Solomko af035fd21d CI updates: use xcode 10.3 (instead of 10.2), additionally test using xcode 11.3 2020-03-20 09:44:03 +03:00
Timofey Solomko a844b34436 Update copyright year to 2020 2020-03-20 09:43:42 +03:00
Timofey Solomko b475949a01 Update travis badge in README 2020-03-20 09:42:21 +03:00
Timofey Solomko 36164725b6 Use the non-deprecated version of the Data.withUnsafeBytes function in Sha256 2020-03-20 09:42:05 +03:00
Timofey Solomko 94ab3ba1f5 Replace usage of deprecated index(...) functions with the new ones 2020-03-20 09:41:52 +03:00
Timofey Solomko fafb9cde87 Move public identifier from extension to enum itself (BZip2.BlockSize) 2020-03-20 09:41:38 +03:00
Timofey Solomko f6949a8f66 Replace the usage of the deprecated Data(bytes:) initializer 2020-03-20 09:40:48 +03:00
Timofey Solomko decce3e040 Migrate (somewhat) to Swift 5.0
I am unable to perform automatic migration using Xcode 10.2, since my macbook doesn't support that version of Xcode, so I installed Swift 5.0 toolchain and performed most of the steps manually.
2020-03-20 09:40:09 +03:00
Timofey Solomko fc985ba935 Fix various xcode11-related CI problems 2020-01-02 15:31:08 +03:00
Timofey Solomko 82f150d437 Use LsbBitReader argument in the Gzip and Zlib headers' initializers
This fixes issues arising from the removal of _subclass_ relations between bit and byte readers in BBD.
2020-01-02 12:29:24 +03:00
Timofey Solomko 3c2769a47a CI updates: use xcode 10.3 (instead of 10.2), additionally test using xcode 11.3 2020-01-01 22:04:07 +03:00
Timofey Solomko 31ec1f1553 Update copyright year to 2020 2020-01-01 19:06:33 +03:00
Timofey Solomko b699f6e310 Update travis badge in README 2020-01-01 19:04:54 +03:00