348 Commits
Author SHA1 Message Date
Matt Rubin 6b9531b044 Merge pull request #40 from mattrubin/modernize
Modernize with Xcode 13.4.1
2022-06-22 12:14:51 -04:00
Matt Rubin 50516bdb7c [Lint] Prefer isMultiple(of:) instead of the remainder operator (%) 2022-06-22 11:50:44 -04:00
Matt Rubin c9ea1d1e03 [Lint] Prefer Self over the class name for static references prefixes 2022-06-22 11:49:13 -04:00
Matt Rubin 5b5e85c00f [Lint] Clean up empty lines next to opening and closing braces 2022-06-22 11:47:11 -04:00
Matt Rubin 3dfd4e3ffc [Lint] Update SwiftLint configuration 2022-06-22 11:46:14 -04:00
Matt Rubin 0e3a3da782 Bump deployment targets to the minimums supported by Xcode 13.4.1 2022-06-22 11:33:29 -04:00
Matt Rubin 67062a8b3d Perform upgrade checks with Xcode 13.4.1 2022-06-22 11:32:51 -04:00
Matt Rubin 9d1885cd3b Merge pull request #38 from mattrubin/swift-package
Add support for SPM
2019-06-09 19:32:48 -04:00
Matt Rubin adf1c3bec4 Update README badges to indicate support for Swift 5, SPM, and Linux 2019-06-09 18:39:08 -04:00
Matt Rubin 3c0ebf6662 Delete erroneous CocoaPods test
Bases does not currently support CocoaPods
2019-06-09 18:03:35 -04:00
Matt Rubin 591fc9d53d Update the Travis CI config to test with SPM, Carthage, and Xcode 2019-06-09 17:43:09 -04:00
Matt Rubin aa0f912c9b Ignore the package.xcworkspace generated by Xcode 11 2019-06-09 17:43:09 -04:00
Matt Rubin dce0b61f0b Add autogenerated Linux test manifests 2019-06-09 17:43:09 -04:00
Matt Rubin a345a301c4 Add the library and test targets to Package.swift 2019-06-09 17:43:09 -04:00
Matt Rubin 78754f7093 Merge pull request #37 from mattrubin/copyright-date
Update license copyright dates
2019-06-09 17:42:46 -04:00
Matt Rubin a5ea490966 Update copyright dates 2019-06-09 17:11:50 -04:00
Matt Rubin 967eb113c8 Merge pull request #36 from mattrubin/swift-5-memory
Swift 5 memory API for Base16
2019-06-09 17:10:33 -04:00
Matt Rubin de9adf5708 Migrate off of the deprecated Data.init(bytes:) initializer 2019-06-09 16:35:13 -04:00
Matt Rubin 99a9e96356 Migrate the Base16 implementation to the new withUnsafeBytes API 2019-06-09 16:29:14 -04:00
Matt Rubin 032326e554 Merge pull request #35 from mattrubin/swift-5-memory
Swift 5 memory API
2019-06-09 11:04:18 -04:00
Matt Rubin d92a9a2f50 Refactor Base32 decoding to use an UnsafeMutableRawBufferPointer 2019-06-09 00:35:14 -04:00
Matt Rubin 8e9054227b Merge pull request #34 from mattrubin/xcconfigs
Upgrade xcconfigs
2019-04-06 01:07:11 -04:00
Matt Rubin 9fb8f47256 Upgrade xcconfigs 2019-04-06 00:43:41 -04:00
Matt Rubin 8ac153f143 Refactor Base32 encoding to avoid binding the memory buffer
In some circumstances, re-binding a buffer that came from an external Data can result in undefined behavior:
https://forums.swift.org/t/withunsafebytes-data-api-confusion/22142/4
2019-03-28 15:57:05 -04:00
Matt Rubin 24716a764d Migrate off of the deprecated version of withUnsafeBytes 2019-03-28 15:57:05 -04:00
Matt Rubin db3207f1ea Merge pull request #33 from mattrubin/xcode-10.2
Xcode 10.2 and Swift 5
2019-03-28 15:56:50 -04:00
Matt Rubin 5c14d4f398 Update Travis config to use Xcode 10.2 2019-03-28 15:40:27 -04:00
Matt Rubin efd0641cb9 Upgrade PerformanceTests to Swift 5 2019-03-28 15:37:53 -04:00
Matt Rubin e0db116fbb Upgrade to Swift 5 2019-03-27 20:12:21 -04:00
Matt Rubin c590f43b70 Update to recommended project localization settings 2019-03-27 19:43:12 -04:00
Matt Rubin fafeb0db43 Merge CURRENT_PROJECT_VERSION into develop 2018-12-14 03:04:40 -05:00
Matt Rubin e8ba832399 Set CURRENT_PROJECT_VERSION 2018-12-14 03:04:33 -05:00
Matt Rubin 34ea703928 Merge pull request #32 from mattrubin/info-plist
Add Info.plist files
2018-12-13 12:16:50 -05:00
Matt Rubin 37221875f0 Add Info.plist files to the test bundles 2018-12-13 11:54:38 -05:00
Matt Rubin 09b92a10fe Add Info.plist files to the frameworks 2018-12-13 11:50:26 -05:00
Matt Rubin 46a47c4419 Merge pull request #31 from mattrubin/tests
Full Alphabet Tests
2018-12-12 17:08:30 -05:00
Matt Rubin a59c8701c4 Add full alphabet tests for Base32 2018-12-12 16:51:06 -05:00
Matt Rubin b2966ecfb6 Add support for decoding lowercased Base16 strings 2018-12-12 16:39:21 -05:00
Matt Rubin 26c112f9bd Test encoding and decoding the full Base16 alphabet, and fix a bug 2018-12-12 16:37:59 -05:00
Matt Rubin 78a65d2506 Merge pull request #30 from mattrubin/base16-coverage
Refactor to improve Base16 coverage reporting
2018-12-12 16:33:08 -05:00
Matt Rubin 5a2b8f6f33 Refactor Base16 character decoding 2018-12-12 15:02:07 -05:00
Matt Rubin 9bc4daad47 Move Base16 encoding/decoding tables to a dedicated file
This is a bit of a hack to try to fix an issue with code coverage reporting on a target with only one source file.
2018-12-12 14:42:22 -05:00
Matt Rubin 5601f5eea7 Split coverage contexts for Base16 and Base32 2018-12-12 14:30:36 -05:00
Matt Rubin 6671eb4100 Merge pull request #29 from mattrubin/lint
Configure SwiftLint
2018-12-12 14:26:12 -05:00
Matt Rubin e9c57d810d [Codecov] Adjust Codecov configuration to allow small drops in coverage 2018-12-12 14:12:50 -05:00
Matt Rubin fda9b9d542 Refactor to avoid force-unwrapping 2018-12-12 13:54:38 -05:00
Matt Rubin a7e0283e7e Enable more optional SwiftLint rules 2018-12-12 13:50:23 -05:00
Matt Rubin 9108345bbd Refactor generation of the repeated string in performance tests 2018-12-12 13:44:13 -05:00
Matt Rubin a0a946ac5f Refactor calculation of the nonPaddingByteCount 2018-12-12 13:42:57 -05:00
Matt Rubin fa002ed4cf [Lint] Condense a long function 2018-12-12 05:09:22 -05:00