481 Commits
Author SHA1 Message Date
Bilal Karim Reffas 1e57a9ff00 Update README.md 2020-04-28 21:08:23 +02:00
Bilal Karim Reffas e78fe86a34 Update README.md 2020-04-28 21:02:20 +02:00
Bilal Karim Reffas c8a192f18b Merge pull request #169 from SwiftGit2/feature/swift5.2
Updated to Swift 5.2 & Xcode 11.4
2020-04-28 14:39:45 +02:00
Bilal Reffas e7656b1d88 Change to a device which should be valid 2020-04-28 09:42:02 +02:00
Bilal Reffas 62d0e15491 Update CI Build script to latest device and runtime 2020-04-28 09:06:42 +02:00
Bilal Reffas 5ec4722a20 Updated to Swift 5.2 2020-04-27 22:05:20 +02:00
Matt Diephouse c5cbf4cc17 Merge pull request #158 from pondok-programmer/master
Swift Package Manager support without changing dependency.
2019-07-22 07:36:24 -04:00
PondokiOS (Muhammmad Muizzsuddin) b87b66f11a Change libgit2 to Clibgit2 2019-07-14 11:06:36 +07:00
Matt Diephouse 571cdef3c4 Merge pull request #155 from DivineDominion/fixture-spec
fix running single specs
2019-06-10 17:11:11 -04:00
Christian Tietze cc4833b334 use FixturesSpec as the spec base class 2019-06-10 16:18:13 +02:00
Matt Diephouse 3adf7e4205 Merge pull request #151 from mattrubin/result
Switch to the standard library Result type
0.6.0
2019-04-15 06:12:52 -07:00
Matt Rubin 80f4e60071 Move the Result shims out of the library and into the test target 2019-04-14 19:53:00 -04:00
Matt Rubin cd3735cd71 Fix error handling when aggregating an array of Results
The previous implementation never handled failure properly and would crash when attempting to force-unwrap a nonexistent success value.
2019-04-14 19:45:52 -04:00
Matt Rubin 71e9b51a52 Remove unnecessary failure mapping 2019-04-14 18:36:16 -04:00
Matt Rubin 9becf1cab0 Refactor to reduce Repository's use of Result shims 2019-04-14 18:28:28 -04:00
Matt Rubin 690f6c9370 Refactor to reduce Repository's use of Result shims 2019-04-14 18:20:36 -04:00
Matt Rubin 19e24dd7d8 Replace antitypical/Result with the standard library Result type 2019-04-14 17:42:37 -04:00
Matt Diephouse cb5567d6a5 Merge pull request #150 from mattrubin/commit-iterator-sequence-methods
Default Sequence methods on CommitIterator
2019-04-14 13:18:23 -07:00
Matt Rubin 452979bd64 Delete Sequence methods from CommitIterator
Default implementations are available via standard library extensions on Sequence.
2019-04-12 23:38:42 -04:00
Matt Rubin 3db2f74ac4 Delete unimplemented Sequence methods from CommitIterator
Implementing these methods is not required to conform to the Sequence protocol, and default implementations are available via standard library extensions on Sequence.
2019-04-12 22:57:22 -04:00
Matt Rubin d878fea696 Return Never from notImplemented() to avoid needing dummy return values 2019-04-12 22:27:12 -04:00
Matt Rubin 18c4cd8598 Replace assert(false) with fatalError() 2019-04-12 22:24:32 -04:00
Matt Diephouse 00e23d3930 Merge pull request #149 from mattrubin/equatable-and-hashable
Simplify Equatable and Hashable implementations
2019-04-12 14:02:19 -07:00
Matt Rubin df7bd3c2a3 Synthesize Equatable conformance for Signature 2019-04-12 16:08:18 -04:00
Matt Rubin c452b80da3 Refactor ObjectType's Equatable implementation to be a static method 2019-04-12 15:59:37 -04:00
Matt Rubin e41b2f92a5 Unify the Hashable implementation for all ObjectTypes 2019-04-12 15:58:15 -04:00
Matt Rubin 12f7d8377d Synthesize Equatable and Hashable conformance for Tree.Entry 2019-04-12 15:45:46 -04:00
Matt Rubin e1acee35d6 Refactor OID Equatable conformance to be a static method 2019-04-12 15:41:58 -04:00
Matt Rubin 743083d19d Refactor Equatable implementations on ReferenceType and PointerType 2019-04-12 15:38:20 -04:00
Matt Rubin 778596b71a Unify the Hashable implementation for all PointerTypes 2019-04-12 15:21:33 -04:00
Matt Rubin 00014ab96f Unify the Hashable implementation for all ReferenceTypes 2019-04-12 15:15:20 -04:00
Matt Rubin fb6020ad08 Use default == implementation for git_otype 2019-04-12 15:08:10 -04:00
Matt Rubin d7699324a0 Synthesize Equatable and Hashable conformance for Remote 2019-04-12 14:59:30 -04:00
Matt Rubin dcf36660aa Merge pull request #148 from mattrubin/lint
SwiftLint fixes and updates
2019-04-12 14:50:56 -04:00
Matt Rubin 82e873eac8 Configure Hound to use the project's SwiftLint config file
http://help.houndci.com/configuration/swiftlint
2019-04-12 13:58:30 -04:00
Matt Rubin 3a38e20b0c [Lint] Remove redundant type annotation 2019-04-12 13:35:38 -04:00
Matt Rubin dcbbf4cc53 [Lint] Enable various new SwiftLint rules 2019-04-12 13:12:42 -04:00
Matt Rubin 619c2bd165 [Lint] Temporarily disable two default warnings 2019-04-12 12:29:39 -04:00
Matt Rubin 45be21756c [Lint] Disable cyclomatic_complexity warnings in RepositorySpec 2019-04-12 12:05:58 -04:00
Matt Rubin 0a1a5d4174 [Lint] Clean up indentation 2019-04-12 11:51:42 -04:00
Matt Rubin 31a755dd49 [Lint] Arguments should be either all on the same line, or one per line 2019-04-12 11:46:21 -04:00
Matt Rubin 9f3f9034ee [Lint] Enforce consistent modifier order 2019-04-12 11:45:52 -04:00
Matt Rubin ce2443bb3b [Lint] Use a case-less enum for a type used only to host static members 2019-04-12 11:45:09 -04:00
Matt Rubin 6c27045ee8 [Lint] Align function parameters when wrapped over multiple lines 2019-04-12 11:43:32 -04:00
Matt Rubin 0c9fbe19ee [Lint] Remove unnecessary nested typealiases 2019-04-12 11:40:34 -04:00
Matt Rubin 9d2b5e5b87 [Lint] Wrap long lines, ignoring function declarations 2019-04-12 11:39:13 -04:00
Matt Rubin cedeccf6f7 [Lint] Remove trailing whitespace on empty lines 2019-04-12 11:37:50 -04:00
Matt Diephouse 17ff9cf4f5 Merge pull request #146 from mattrubin/swift-5
Swift 5 and Xcode 10.2
2019-04-12 05:37:35 -07:00
Matt Diephouse cdfacb944b Merge pull request #145 from mattrubin/swift-4.2
Swift 4.2 and Xcode 10.1
2019-04-12 05:19:39 -07:00
Matt Rubin cd9930cc1e Configure Travis CI to build with Xcode 10.2 2019-04-12 00:37:59 -04:00