Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
5dfcdb1
update setup to infer isreturn from alttype
maxkorp Oct 27, 2014
73b243a
remove nkallen.json
maxkorp Oct 27, 2014
df726c2
add error check to setup
maxkorp Oct 27, 2014
49e2432
tidy descriptor
maxkorp Oct 28, 2014
8ecf535
add static-types.json
maxkorp Oct 28, 2014
b46fbfe
Starting to replace descriptor
Oct 29, 2014
6cd0149
Classes and structs are now generated from libgit2 docs
Oct 30, 2014
ff74180
Fixed dependency bugs and added code to allow ignoring of files
Oct 30, 2014
7bb1e4a
Fixed some bugs in setup.js
Oct 30, 2014
9a952f9
Getting closer to building
Oct 30, 2014
a7d2e96
More fixes for generating idefs.json
Oct 31, 2014
d3f34a7
Fixed libgit types with no constructor
Oct 31, 2014
19605c2
Fixed callbacks and enums with generation
Nov 2, 2014
785fc27
Ignoring certain structs/classes that we're not ready to implement yet
Nov 3, 2014
877cefa
Added json files for callbacks and libgit2 supplemental docs
Nov 3, 2014
12870ac
Added support for supplementing libgit2 docs
Nov 3, 2014
b325850
Nodegit now builds off of libgit2 docs
Nov 5, 2014
8eda1dc
Changed git_reference to Refs from Reference
Nov 5, 2014
831f63c
remove types.json
maxkorp Nov 6, 2014
30e40e7
Simplified setup.js and moved common methods into utils.js
Nov 6, 2014
d92f607
Updated descriptor.json to fit the new lookup format
Nov 6, 2014
34bb42e
change many things regarding building
maxkorp Nov 6, 2014
d95ca55
fix js names
maxkorp Nov 6, 2014
9b36d58
omit ctypes from some classes
maxkorp Nov 6, 2014
b1ecc13
fix cpptypenames
maxkorp Nov 6, 2014
78ca49a
Turned 'isClass' into a bool value
Nov 6, 2014
bee0f69
update template
maxkorp Nov 6, 2014
20acf76
things build, but tests hang
maxkorp Nov 7, 2014
3f128ea
fix a few tests
maxkorp Nov 7, 2014
fd9b5f2
move oid from forced c++ method to javascript method
maxkorp Nov 7, 2014
bc8d30b
fix tests by updating descriptor and supplement
maxkorp Nov 7, 2014
3706b2a
fix test runner weirdness
maxkorp Nov 7, 2014
ded20af
fix m-alloc error
maxkorp Nov 7, 2014
9498409
Starting to fix callbacks
Nov 7, 2014
81e4d5e
Added callback data for git_cred_acquire_cd
Nov 8, 2014
ecabc6a
Had to force return on git_cred_acquire_cb arg
Nov 8, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 131 additions & 0 deletions generate/callbacks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"git_checkout_notify_cb": {
"args": [
{
"name": "why",
"cType": "git_checkout_notify_t"
},
{
"name": "path",
"cType": "const char *"
},
{
"name": "baseline",
"cType": "const git_diff_file *"
},
{
"name": "target",
"cType": "const git_diff_file *"
},
{
"name": "workdir",
"cType": "const git_diff_file *"
},
{
"name": "payload",
"cType": "void *"
}
],
"returnType": "int",
"returnNoResults": 1,
"returnSuccess": 0,
"returnError": -1
},
"git_checkout_progress_cb": {
"args": [
{
"name": "path",
"cType": "const char *"
},
{
"name": "completed_steps",
"cType": "size_t"
},
{
"name": "total_steps",
"cType": "size_t"
},
{
"name": "payload",
"cType": "void *"
}
],
"returnType": "int",
"returnNoResults": 1,
"returnSuccess": 0,
"returnError": -1
},
"git_cred_acquire_cb": {
"args": [
{
"name": "cred",
"cType": "git_cred **",
"isReturn": true
},
{
"name": "url",
"cType": "const char *"
},
{
"name": "username_from_url",
"cType": "const char *"
},
{
"name": "allowed_types",
"cType": "unsigned int"
},
{
"name": "payload",
"cType": "void *"
}
],
"returnType": "int",
"returnNoResults": 1,
"returnSuccess": 0,
"returnError": -1
},
"git_diff_notify_cb": {
"args": [
{
"name": "diff_so_far",
"cType": "const git_diff *"
},
{
"name": "delta_to_add",
"cType": "git_diff_delta *"
},
{
"name": "matched_pathspec",
"cType": "const char *"
},
{
"name": "payload",
"cType": "void *"
}
],
"returnType": "int",
"returnNoResults": 1,
"returnSuccess": 0,
"returnError": -1
},
"git_diff_file_cb": {
"args": [
{
"name": "delta",
"cType": "const git_diff_delta *"
},
{
"name": "progress",
"cType": "float"
},
{
"name": "payload",
"cType": "void *"
}
],
"returnType": "int",
"returnNoResults": 1,
"returnSuccess": 0,
"returnError": -1
}
}
Loading