Commit graph

243 commits

Author SHA1 Message Date
Aleksey Kulikov
ed67a4e307
fix: lookup package in correct location of Dart/Flutter cached packages (#81) 2023-02-02 15:29:31 +03:00
Aleksey Kulikov
fa946c5ce3
fix: use default location of Flutter's '.pub_cache' folder (#79) 2022-12-24 19:01:37 +03:00
Dillon Nys
d55742d6d7
chore: Lookup library in system path (#75) 2022-08-10 19:43:28 +03:00
Aleksey Kulikov
a41fc55099
feat: upgrade libgit2 to 1.5.0 (#74) 2022-07-15 13:10:42 +03:00
Aleksey Kulikov
4a36922129
feat(reset): add ability to pass checkout options to reset(...) API method (#72) 2022-06-23 18:37:27 +03:00
Aleksey Kulikov
5f829dd1ca
feat(worktree): add ability to pass options to prune(...) API method (#71) 2022-06-18 11:54:46 +03:00
Aleksey Kulikov
2daadaa9a4
style: annotate declarations for internal use (#70) 2022-06-18 11:17:14 +03:00
Aleksey Kulikov
d71e00947e
feat(merge): add ability to pass options to fileFromIndex(...) API method (#69) 2022-06-17 15:40:19 +03:00
Aleksey Kulikov
aa073c531e
feat(index): add ability to pass options to addAll(...) API method (#68) 2022-06-17 14:52:46 +03:00
Aleksey Kulikov
d113af44b5
feat(commit): add ability to pass options to revert(...) and revertTo(...) API methods (#67)
- select parent to revert to for merge commits
- merge options
- checkout options
2022-06-17 12:43:54 +03:00
Aleksey Kulikov
6be34fe9a0
fix: lookup library in Flutter's .pub_cache folder (#66) 2022-06-09 17:56:27 +03:00
Aleksey Kulikov
48e2240c73
feat(revwalk): add ability to limit number of commits to walk (#65) 2022-06-09 17:15:55 +03:00
Aleksey Kulikov
b0b8067203
fix: lookup library in correct locations (#64) 2022-06-08 15:31:27 +03:00
Aleksey Kulikov
5739de545b
feat(note): add ability to pass notes location (#63)
Add ability to pass optional notes location to `Note.list(...)` method (defaults to "refs/notes/commits").
2022-05-30 15:29:40 +03:00
Aleksey Kulikov
3d235f5ce4
refactor: use extensions (#62) 2022-05-30 13:58:08 +03:00
Aleksey Kulikov
ae2aef5e2e
refactor: use loops inside list literals (#60) 2022-05-25 12:16:40 +03:00
Aleksey Kulikov
c35d336a56
feat: add ability to get and set libgit2 global options (#59) 2022-05-24 16:07:57 +03:00
Aleksey Kulikov
3900ec92cc
chore: upgrade dependencies (#58) 2022-05-23 13:50:15 +03:00
Aleksey Kulikov
faddaa52e2
feat(reset): add ability to remove entries in index (#57) 2022-05-18 15:49:08 +03:00
Aleksey Kulikov
16c42b9b2d
feat(repository): add ability to compare Identity objects (#56) 2022-05-10 20:50:52 +03:00
Aleksey Kulikov
d231164775
feat(repository): add ability to compare objects (#55)
Add naive objects comparison based on repository path. Use with caution,
previously loaded into memory index, odb, etc. might be different.
2022-05-10 19:57:24 +03:00
Aleksey Kulikov
bad40bdb61
feat: add ability to compare objects (#54) 2022-05-10 16:18:55 +03:00
Aleksey Kulikov
5dfedadfe6 chore: prepare to publish 2022-05-05 16:56:02 +03:00
Aleksey Kulikov
64f6a475cc docs(credentials): clarify documentation 2022-05-05 16:23:04 +03:00
Aleksey Kulikov
e9e70cfc62
refactor(git_types): use enums (#53)
Use Dart's new feature "Enhanced enums with members".
2022-05-05 13:12:47 +03:00
Aleksey Kulikov
c73f61d102 docs: add more examples 2022-05-04 16:34:59 +03:00
Aleksey Kulikov
4e55d0f06c
refactor(repository)!: use Finalizer to automatically free allocated memory (#51)
BREAKING CHANGE: Return value of identity getter changed from Map<String, String> to Identity
2022-05-02 15:33:31 +03:00
Aleksey Kulikov
aef440e345
refactor(remote)!: add RemoteReference class (#50)
BREAKING CHANGE: Return value of ls(...) changed from List<Map<String, Object?>> to List<RemoteReference>
2022-04-29 15:24:05 +03:00
Aleksey Kulikov
6d1ccd5c12
refactor(merge)!: add MergeAnalysis class containing analysis result and merge preference (#49)
BREAKING CHANGE: Return value of Merge.analysis(...) changed from List<Object> to MergeAnalysis.
2022-04-28 18:00:18 +03:00
Aleksey Kulikov
9d61584165 docs: update docs for bindings and api 2022-04-28 16:04:30 +03:00
Aleksey Kulikov
a3213a88a2
refactor!: use Finalizer to automatically free allocated memory for objects (#48)
BREAKING CHANGE: signature change for remote and repository callbacks during repository clone operation.
2022-04-28 11:04:48 +03:00
Aleksey Kulikov
94c40f9a94
test: disable repository owner verification for tests (#47) 2022-04-13 14:02:26 +03:00
Aleksey Kulikov
f42f8a6e1b feat: upgrade libgit2 to 1.4.3 2022-04-13 11:44:56 +03:00
Aleksey Kulikov
94fbb8317f feat: upgrade libgit2 to 1.4.2 2022-02-28 11:30:04 +03:00
Aleksey Kulikov
0a758b771a refactor: use explicit string length when converting from buffer to Dart string 2022-02-24 11:02:39 +03:00
Aleksey Kulikov
f4e9ae4167 refactor: use git_diff_to_buf to produce patch diff text 2022-02-24 10:48:08 +03:00
Aleksey Kulikov
2eb50dec69 style: stricter linting 2022-02-23 11:05:14 +03:00
Aleksey Kulikov
d0f7746a01
refactor(revparse)!: add ability to get different git objects based on spec (#46) 2022-02-19 12:42:19 +03:00
Aleksey Kulikov
e83d6ab29a feat: upgrade libgit2 to 1.4.1 2022-02-19 11:46:16 +03:00
Aleksey Kulikov
12ee9f3b53 fix: lookup library in Dart's and Flutter's .pub-cache 2022-02-17 19:43:11 +03:00
Aleksey Kulikov
d901d2e13f
feat: upgrade libgit2 to 1.4.0 (#45) 2022-02-16 16:57:52 +03:00
Aleksey Kulikov
7a067beeb9 chore: bump minimum dart version 2022-02-14 18:26:08 +03:00
Aleksey Kulikov
441dcac1d7 docs(checkout): clarify how methods work
Add to docs that by default checkout processes all the files
2022-01-28 21:03:09 +03:00
Aleksey Kulikov
23d6a7f332 docs: update README 2022-01-26 18:21:55 +03:00
Aleksey Kulikov
7b57c41253
test: improve coverage (#44) 2022-01-26 16:11:38 +03:00
Aleksey Kulikov
bad5e20581
refactor(repository)!: move descendantOf() method into Commit (#43) 2022-01-26 11:27:35 +03:00
Aleksey Kulikov
9918ab0905
refactor(checkout)!: move checkout related methods into Checkout class (#42) 2022-01-25 20:16:46 +03:00
Aleksey Kulikov
570c696269
refactor(merge)!: move merge related methods into Merge class (#41) 2022-01-25 18:53:04 +03:00
Aleksey Kulikov
e7c18c35e2
refactor(repository)!: remove excessive aliases (#40)
BREAKING CHANGE: instead of removed aliases, API methods from relevant
classes should be called (e.g. Commit.create, Reference.lookup, etc.)
2022-01-25 17:25:15 +03:00
Aleksey Kulikov
432abffa89
feat(patch): add binding and API method for git_patch_line_stats (#39) 2022-01-25 16:34:27 +03:00