Commit Graph

22 Commits

Author SHA1 Message Date
Etienne Samson
6d7cde7fe7 Update libgit2 to 0.27.7 2018-10-27 03:34:54 +02:00
Etienne Samson
08d03fac7c Update libssh2 to 1.8.0 2018-10-27 03:04:23 +02:00
Etienne Samson
db5c22b3a7 Update OpenSSL to 1.0.2p 2018-10-27 03:04:14 +02:00
Matt Rubin
e1c8a536d1 Update libgit2 to 0.24.3
Version 0.24.3 is the latest release version of libgit2, and also includes a fix for "non-modular header" errors:
0370dae1ad
2016-12-06 09:55:23 -05:00
Tom Booth
8ea6f56fa0 Upgrade libgit2 to v0.23.4
The main reason for the upgrade is to enable use of SecureTransport for
https transport.

You can find a full diff here:

7c63a33ffe...e8feafe320

and the changelog changes:

7c63a33ffe...e8feafe320 (diff-4ac32a78649ca5bdd8e0ba38b7006a1e)
2016-02-26 16:20:37 +00:00
Tom Booth
77e26af360 Add OpenSSL and libssh2 for compilation on iOS
We need to include the source of these two libraries so that we can
compile them for the appropriate architectures and OS version used
by iOS.
2016-02-16 16:51:49 +00:00
Matt Diephouse
1ace7b2eb7 ++libgit2 2015-03-14 14:35:07 -04:00
Matt Diephouse
38ba66f80d Manage dependencies with Carthage 2015-03-08 16:30:30 -04:00
Brian Gesiak
186b5aadc9 .gitmodules: Xcode 6.3b2 updates
- Update submodules to eliminate new warnings, errors in Xcode 6.3b2.
- COpaquePointer.null() no longer available; instantiate with nil literal
  instead.
- Fix warning when chaining optionals and optional casts.
2015-03-07 12:43:38 -05:00
Brian Gesiak
ba9a951b62 Support Swift 1.2
- Update Guanaco, LlamaKit, Nimble, and Quick to versions that support
  Swift 1.2.
- Update Xcode project and scheme files for "latest Xcode version"
  parameters.
- Use Swift 1.2's new fallible casts for casts that may fail at runtime.
2015-02-21 21:28:43 -05:00
Matt Diephouse
5af50ab922 Merge pull request #15 from modocache/10-error-handling
Capture libgit2 error messages
2015-02-21 18:20:30 -05:00
Matt Diephouse
c5968b7e4e ++libgit2 2015-02-21 15:18:28 -05:00
Brian Gesiak
f23f98f033 Repository: Return libgit2 errors for failures
- Update Guanaco for improved matching on failures,
  i.e.: `haveFailed(beAnError(domain: match("abc")))`.
- All functions that return Result objects now return sane errors for
  failure cases.
- Unit tests verify libgit2 error is domain is used for most failures.
2015-02-20 01:52:39 -05:00
Brian Gesiak
7d6409a406 .gitmodules: Add Nimble
Instead of relying on the version of Nimble that Quick uses for its test
target, use a top-level submodule to version Nimble.
2015-02-20 01:47:49 -05:00
Brian Gesiak
908f774cc8 .gitmodules: Add Guanaco
Guanaco provides Nimble assertions for LlamaKit.Result, such as:

```
expect(result).to(haveFailed(domain: "com.libgit2"))
```

These custom assertions will be useful when testing that libgit2 error
messages are properly captured and reported.
2015-02-18 00:14:14 -05:00
Brian Gesiak
1019a94d53 .gitmodules: Update LlamaKit to v0.5.0
This is the first of a series of commits intended to resolve issue #10,
which calls for proper error handling.

One way to test that libgit2 error messages are being propagated through
Result failures is by asserting that the error's description or code
match the message or code we expect. In order to do so, LlamaKit's
ErrorType is unweildy, and not future-proof--it would be easier and
safer to write assertions based on NSError.

Upgrade LlamaKit to v0.5.0, the latest version that supports Swift 1.1,
in order to define results as type `Result<T, NSError>`.
2015-02-17 22:18:51 -05:00
Matt Diephouse
13a1d632f9 ++libgit2 2014-12-25 16:55:31 -10:00
Matt Diephouse
3f4f7d98d9 Add symlinks for libcrypto.a and libssl.a
Stolen from https://github.com/libgit2/objective-git/pull/356
2014-12-15 17:02:35 -05:00
Matt Diephouse
301d1d5891 Add LlamaKit 2014-11-13 22:15:01 -05:00
Matt Diephouse
2ab91165ea Add libgit2 2014-11-10 18:31:59 -05:00
Matt Diephouse
26efaf67c3 Use Quick and Nimble 2014-11-07 17:11:47 -05:00
Matt Diephouse
0bbd749bf4 Use xcconfigs 2014-11-07 16:53:16 -05:00