Sebastien Binet
|
84e83328f8
|
bind: remove panic for unsupported objects
|
2015-07-30 16:05:45 +02:00 |
Sebastien Binet
|
c8787de724
|
bind: cgo-cosmetics
|
2015-07-30 16:04:46 +02:00 |
Sebastien Binet
|
0feb50a4bc
|
bind: better handling of wrapping for nested structs
|
2015-07-30 16:04:26 +02:00 |
Sebastien Binet
|
405ce0ee56
|
bind: test for exception type
|
2015-07-29 17:46:02 +02:00 |
Sebastien Binet
|
404911b545
|
bind: raise TypeError in __init__
|
2015-07-29 17:41:37 +02:00 |
Sebastien Binet
|
1d5a0689b9
|
bind: test ctors
|
2015-07-29 17:32:51 +02:00 |
Sebastien Binet
|
04b64b62d3
|
bind: add support for ctors
|
2015-07-29 17:27:54 +02:00 |
Sebastien Binet
|
7fa9bcd9cd
|
test: add ctor with comma-err
|
2015-07-29 16:57:53 +02:00 |
Sebastien Binet
|
79e0e447cb
|
test: add another ctor for hi.Person
|
2015-07-29 16:54:44 +02:00 |
Sebastien Binet
|
b08c745bd9
|
bind: expose ctors at module level. fix ctors doc extraction
|
2015-07-29 16:54:26 +02:00 |
Sebastien Binet
|
a3bdde49c1
|
bind: test comma-err pythonization
|
2015-07-29 14:50:02 +02:00 |
Sebastien Binet
|
510ce98f9a
|
bind: pythonize func/meth that return an error
fixes #5
|
2015-07-29 14:48:55 +02:00 |
Sebastien Binet
|
44abf5c71e
|
bind: test exception support
|
2015-07-29 14:15:31 +02:00 |
Sebastien Binet
|
3a6a959550
|
bind: first stab at exception support
|
2015-07-29 14:15:11 +02:00 |
Sebastien Binet
|
59a16dec60
|
bind: test __repr__
|
2015-07-29 12:37:32 +02:00 |
Sebastien Binet
|
7d90f62f3c
|
bind: fix mangling of methods
|
2015-07-29 12:37:20 +02:00 |
Sebastien Binet
|
0e8433de87
|
bind: cleanup
|
2015-07-29 12:37:03 +02:00 |
Sebastien Binet
|
6930d747dd
|
bind: fwk for protocols. impl __str__
|
2015-07-29 12:36:45 +02:00 |
Sebastien Binet
|
36d61b0c8e
|
test: add method returning an error
|
2015-07-29 11:57:51 +02:00 |
Sebastien Binet
|
d6d6d01ece
|
bind: test getter/setter
|
2015-07-29 11:44:37 +02:00 |
Sebastien Binet
|
ba3a48a31b
|
bind: leaner Var
|
2015-07-29 11:44:06 +02:00 |
Sebastien Binet
|
10e80de3df
|
bind: correctly handle int/uint size and pyfmt for PyArg_Parse
|
2015-07-29 11:43:31 +02:00 |
Sebastien Binet
|
0bb7490204
|
bind: cleanups
|
2015-07-29 11:42:40 +02:00 |
Sebastien Binet
|
4a098ea7a8
|
bind: implement getter/setter cpy-wrappers
|
2015-07-29 11:42:14 +02:00 |
Sebastien Binet
|
335cdf609f
|
bind: new-signature, simplify genXYZFunc
|
2015-07-29 11:41:17 +02:00 |
Sebastien Binet
|
c311fdd9be
|
bind: generate cgo-setter
|
2015-07-29 11:38:50 +02:00 |
Sebastien Binet
|
ce3515391b
|
bind: fix shared buffer bug
|
2015-07-29 08:42:23 +02:00 |
Sebastien Binet
|
c8358845a8
|
bind/printer: impl io.Reader + test
|
2015-07-29 08:36:45 +02:00 |
Sebastien Binet
|
85a8808e45
|
bind: document Signature
|
2015-07-28 16:06:34 +02:00 |
Sebastien Binet
|
1ca803e2e5
|
bind: simplify bind.Object interface
|
2015-07-28 16:03:39 +02:00 |
Sebastien Binet
|
643eb176c2
|
bind: introduce and use new Signature
|
2015-07-28 16:01:22 +02:00 |
Sebastien Binet
|
76f5f7d999
|
bind/var: introduce new Var
|
2015-07-28 16:00:18 +02:00 |
Sebastien Binet
|
a9624ab5da
|
bind/package: add lookup function
|
2015-07-28 14:41:53 +02:00 |
Sebastien Binet
|
bbb9499368
|
bind/types: Obj() -> GoObj()
|
2015-07-28 14:41:35 +02:00 |
Sebastien Binet
|
a083052bf6
|
bind/utils: helper to check wether a func is 'func String() string'
|
2015-07-28 14:35:59 +02:00 |
Sebastien Binet
|
0058490f51
|
bind: split Type into Type+Object
|
2015-07-28 14:33:47 +02:00 |
Sebastien Binet
|
6c3787c30d
|
bind/types: extend Type interface. rationalize GoType() meaning
|
2015-07-28 12:38:11 +02:00 |
Sebastien Binet
|
8e5e4531bf
|
bind: consolidate bind.{Struct,Func}. impl bind.Type interface
|
2015-07-28 12:27:15 +02:00 |
Sebastien Binet
|
76c536b4e8
|
bind/types: introduce bind.Type interface
|
2015-07-28 12:26:33 +02:00 |
Sebastien Binet
|
f61b769412
|
all: consolidate Func+Method
|
2015-07-28 11:47:55 +02:00 |
Sebastien Binet
|
b7b84b89bc
|
test: hi.Person.String
|
2015-07-28 10:08:27 +02:00 |
Sebastien Binet
|
37a7f18235
|
test: update
|
2015-07-28 10:06:20 +02:00 |
Sebastien Binet
|
e4f3f1d4fd
|
bind/vars: update naming scheme
|
2015-07-28 10:05:13 +02:00 |
Sebastien Binet
|
43f0028eb5
|
bind: refactor gen{Method,Func}Body
|
2015-07-28 10:04:36 +02:00 |
Sebastien Binet
|
63da525aa1
|
bind: test hi.Person.Greet + doc(hi.Person.Greet)
|
2015-07-27 18:57:27 +02:00 |
Sebastien Binet
|
3be107f119
|
bind: introduce Struct, Func and Method
this CL introduces bind.{Struct,Func,Method} types to collect informations
about types.
- rationalize cpython type strings
- generate cgo stub functions, calling structs methods
- generate (invalid) bodyless cpython functions for struct methods
|
2015-07-27 18:47:18 +02:00 |
Sebastien Binet
|
f4f8220837
|
all: tests more of module generation
|
2015-07-27 18:46:30 +02:00 |
Sebastien Binet
|
878510074c
|
test: print docs for funcs+module
|
2015-07-25 17:35:14 +02:00 |
Justin Israel
|
06ec70c37d
|
gencpy: generate and insert function signatures at start of docstring
|
2015-07-25 09:15:26 +02:00 |
Sebastien Binet
|
c78e0e1a64
|
doc: point out we only support python-2 for now
|
2015-07-24 17:17:18 +02:00 |