Commit graph

246 commits

Author SHA1 Message Date
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
ed62447eb2 chore: add coverage badge 2022-01-26 19:34:31 +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
Aleksey Kulikov
06cc0230c7 chore: remove unnecessary hooks from test repos 2022-01-25 16:00:59 +03:00
Aleksey Kulikov
0844f03387
feat(patch)!: divide Patch.create() into specific methods (#38)
BREAKING CHANGE: remove patch generation methods from Blob class
2022-01-25 15:58:06 +03:00
Aleksey Kulikov
08cbe8a17f
refactor!: use class names instead of aliases from Repository in tests (#37)
BREAKING CHANGE: move API methods related to diffing into Diff class
2022-01-25 12:05:34 +03:00
Aleksey Kulikov
3e1ece4e6f
feat(tag)!: add bindings and API methods (#36)
- add binding and API method for git_tag_create_lightweight
- add API method that returns tag target type

BREAKING CHANGE: add specific methods `createAnnotated` and `createLightweight`.
2022-01-24 16:42:08 +03:00
Aleksey Kulikov
f7dde69de3
feat(checkout)!: add ability to checkout commit (#35) 2022-01-21 17:10:41 +03:00
Aleksey Kulikov
6fe24dcb65
feat(index): add ability to create diff between two indexes (#34) 2022-01-14 18:44:14 +03:00
Aleksey Kulikov
cc78e7945f
feat(index): add binding and API method for git_index_new (#33) 2022-01-14 15:08:45 +03:00
Aleksey Kulikov
02ac220d46
feat(tag): add binding and API method for git_tag_target_id (#32) 2022-01-13 14:51:23 +03:00
Aleksey Kulikov
6bdf133f06 test(credentials): use https instead of git
Github removed support of the unauthenticated git protocol.
2022-01-11 18:36:41 +03:00
Aleksey Kulikov
f872612f36 Revert "style: use strict-casts and strict-raw-types"
This reverts commit ea0264ee14.
2022-01-10 12:03:07 +03:00
Aleksey Kulikov
ea0264ee14 style: use strict-casts and strict-raw-types 2022-01-10 11:53:12 +03:00
Aleksey Kulikov
d86617d58b test: fix tests failing on windows 2021-12-31 12:39:57 +03:00
Aleksey Kulikov
59cf7174f6 refactor: compose paths using path package 2021-12-31 12:00:04 +03:00
Aleksey Kulikov
f2e78daa42 refactor: remove unnecessary directory existence check 2021-12-31 10:15:12 +03:00
Aleksey Kulikov
c516119397 style: clean up tests names 2021-12-23 15:29:28 +03:00
Aleksey Kulikov
41fab98d17 docs: update createCommit() method signature 2021-12-23 14:51:39 +03:00
Aleksey Kulikov
f1b84efc81
feat(revwalk): add more bindings and API methods (#31) 2021-12-23 13:08:51 +03:00
Aleksey Kulikov
74a20a9cf2
feat(commit): add binding and API method for git_revert (#30) 2021-12-23 11:40:29 +03:00
Aleksey Kulikov
fda5173e7f
feat(reflog): add more bindings and API methods (#29) 2021-12-23 10:58:44 +03:00
Aleksey Kulikov
ff2dd8b408
feat(reference): add more bindings and API methods (#28) 2021-12-22 19:53:38 +03:00
Aleksey Kulikov
fb4694cf06
feat(rebase)!: add more bindings and API methods (#27) 2021-12-22 19:20:16 +03:00
Aleksey Kulikov
fe570a6990
feat(annotated)!: add more bindings and API methods (#26) 2021-12-22 17:41:34 +03:00
Aleksey Kulikov
0176b66ba7 refactor(merge): change the size of allocation 2021-12-22 11:56:02 +03:00
Aleksey Kulikov
50a6087a5b
feat(packbuilder): add more bindings and API methods (#25) 2021-12-21 18:28:44 +03:00
Aleksey Kulikov
9791b6324c
feat(merge)!: add more bindings and API methods (#24) 2021-12-21 17:11:41 +03:00
Aleksey Kulikov
561986ebfd
feat(diff): add binding and API method for git_diff_tree_to_workdir_with_index (#23) 2021-12-21 12:34:52 +03:00
Aleksey Kulikov
5740831bb9
feat(commit): add more bindings and API methods (#22) 2021-12-20 20:42:16 +03:00
Aleksey Kulikov
e6bfdc5a85
feat(blob): add more bindings and API methods (#21) 2021-12-20 18:02:53 +03:00
Aleksey Kulikov
39a71811cb
feat(blame): add binding and api method for git_blame_buffer (#20) 2021-12-20 15:03:31 +03:00