Commit Graph

474 Commits

Author SHA1 Message Date
Matt Rubin
310e7a4167 Remove the migrator-added helper function from the file permissions test 2019-04-11 19:50:15 -04:00
Matt Rubin
e65206c00c Migrate all targets to Swift 4.2 2019-04-11 19:42:48 -04:00
Matt Rubin
f811db8047 Bump the macOS tests deployment target to match the Nimble dependency 2019-04-11 19:33:56 -04:00
Matt Rubin
8087272bc2 Upgrade ZipArchive to the latest version 2019-04-11 19:22:53 -04:00
Matt Rubin
74fe90393f Upgrade Quick and Nimble to the latest versions 2019-04-11 19:16:51 -04:00
Matt Rubin
0cb2f8acc5 Upgrade Result to the latest version 2019-04-11 19:14:04 -04:00
Matt Diephouse
57cada1356
Merge pull request #139 from tiennou/update-dependencies
Update dependencies
2018-10-27 13:19:33 -04:00
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 Diephouse
b29e18833d
Merge pull request #136 from DivineDominion/repo-isvalid
add Repository.isValid
2018-09-28 08:56:20 -04:00
Christian Tietze
455ac1143f add specs for Repository.isValid 2018-09-26 08:43:09 +02:00
Christian Tietze
c5017fc6c9 add Repository.isValid, untested 😱 2018-09-26 07:41:38 +02:00
Matt Diephouse
4111097604
Merge pull request #128 from Maaimusic/git-commit
Git commit
2018-05-04 13:37:40 -04:00
Yifei Teng
f152ad76b7 free parentGitCommits 2018-05-04 12:10:57 -05:00
Yifei Teng
4c7aa2a276 do not expose libgit2 objects on the public API 2018-05-02 11:33:34 -05:00
Yifei Teng
e6db3c0896 unsafeSignature -> makeUnsafeSignature() 2018-05-02 11:31:49 -05:00
Yifei Teng
84d4ae1e33 cleanup and persist index to disk during add() so that commit() can pick up the new index 2018-05-02 11:28:07 -05:00
Yifei Teng
3d6094b741 add test for commit 2018-05-02 11:28:07 -05:00
Yifei Teng
026548be12 correctly determine timezone offset 2018-05-02 11:28:07 -05:00
Yifei Teng
3db2d73e6e be more clear with naming and additional guard 2018-05-02 11:28:07 -05:00
Yifei Teng
f229778abb tabbing 2018-05-02 11:28:07 -05:00
Yifei Teng
b193c80dc0 implement git commit 2018-05-02 11:28:07 -05:00
Matt Diephouse
25f3ecc4e6
Merge pull request #127 from Maaimusic/git-add
Git Add
2018-05-02 08:23:49 -04:00
Yifei Teng
81d2fb210a make unsafe functions internal 2018-05-01 13:00:12 -05:00
Yifei Teng
b6e94b291c add tests for git-add 2018-04-30 19:43:40 -05:00
Yifei Teng
f9d7bd3b61 add support for unsafeIndex and git-add 2018-04-30 19:43:35 -05:00
Matt Diephouse
280ab5b473
Merge pull request #126 from Maaimusic/swift-4.1
update to Swift 4
2018-04-30 20:36:50 -04:00
Yifei Teng
fb2fa2b5bc fix iOS test failure due to one of the test fixture not being included in the build 2018-04-30 18:07:34 -05:00
Yifei Teng
b1d3488d4c update to Swift 4
Travis does not recognize 9.3?

fix swift 4.1 deprecations

fix more swift 4.1 deprecation

use Xcode 9.3 in CI
2018-04-30 17:30:28 -05:00
Matt Diephouse
814b954956
Merge pull request #120 from utahwithak/Issue/119-bad-types
Fix mismatched status types
2018-03-28 08:22:51 -04:00
Carl Wieland
4d76f87912 Fix mismatched status types
Fixes this issue:
https://github.com/SwiftGit2/SwiftGit2/issues/119

Uses the libgit2 values to ensure no future problems arise.
2018-03-26 16:01:05 -04:00
Jake Van Alstyne
d35dac654c
Merge pull request #102 from jakeva/develop
Implement git status and diffs
2018-02-09 15:53:45 -07:00
Jake Van Alstyne 🎩
97ee009ac5 Defer release status list 2018-02-09 14:29:51 -07:00
Jake Van Alstyne 🎩
6e5703dab7 another deferred release 2018-02-08 14:09:38 -07:00
Jake Van Alstyne 🎩
1f23feb0c5 move one more defer 2018-02-07 18:22:05 -07:00
Jake Van Alstyne 🎩
118ba43fce Move deferred memory releases to avoid leaks in case of an error 2018-02-07 18:16:58 -07:00
Jake Van Alstyne 🎩
6f59ce5cf3 Factor out common diff processing code for simplicity 2018-02-02 11:45:21 -07:00
Matt Diephouse
11ac4767bb
Merge pull request #115 from SwiftGit2/archiving
Don't set custom permissions or ownership for deployment
2018-01-25 16:43:41 -05:00
Matt Diephouse
c5f3b2ccfe Don't set custom permissions or ownership for deployment 2018-01-25 14:32:22 -05:00
Jake Van Alstyne 🎩
0dab27d07b Remove the necessity of the caller of diff to clean up memory and address other PR comments 2018-01-11 19:44:29 -07:00
Jake Van Alstyne 🎩
0397b29d24 refactor diff calls to be memory safe
- use existing `withGitObject` method
- introduce extended version that can handle multiple git objects for the purpose of handling multiple parents
2018-01-08 20:38:32 -07:00
Jake Van Alstyne 🎩
1a369b7e9e Refactor method for calculating diffs to read more cleanly and be safer with memory. 2018-01-05 17:09:01 -07:00
Jake Van Alstyne 🎩
87af7fcb32 Address lint in method calls 2018-01-05 17:08:12 -07:00
Matt Diephouse
98fcae405e
Merge pull request #113 from SwiftGit2/fix-header-interface-generation
Fix header interface generation
2017-12-20 06:52:30 -05:00
Matt Diephouse
28a1757dbe Fix header interface generation
https://twitter.com/benlangmuir/status/943239006627684352
2017-12-19 16:58:51 -05:00
Jake Van Alstyne 🎩
9a9b7a9be8 More detailed tests 2017-12-17 14:33:01 -07:00
Jake Van Alstyne 🎩
26f1bb7c86 Fix for spec failing because only the diff for the first parent was calculated. 2017-12-17 14:06:24 -07:00
Jake Van Alstyne 🎩
ecb5263f6b fixes to tests that used guanaco 2017-12-16 15:01:06 -07:00
Jake Van Alstyne 🎩
f98664ecb3 Merge branch 'master' into develop
Conflicts:
	SwiftGit2/CommitIterator.swift
	SwiftGit2Tests/RepositorySpec.swift
2017-12-16 14:41:06 -07:00