Jason Paryani
2db935a00b
Speed up code generated modules even more.
...
Switch to using generated c++ capnp code
2014-09-04 18:04:52 -07:00
Jason Paryani
93352a31d2
Initial version of code generating plugin
...
The plugin generates higher performance compiled versions of the structs
2014-09-04 14:21:27 -07:00
Jason Paryani
18fce3fe78
Fix up various bugs that arose when trying to cimport capnp
2014-09-03 23:25:39 -07:00
Jason Paryani
b11e461a9e
Various speedups to StructReader/Builder
2014-09-03 16:50:10 -07:00
Jason Paryani
cba4378d1f
Add num_first_segment_words argument wherever message creation can occur
2014-04-07 11:15:48 -07:00
Jason Paryani
3d8dc6daa9
Change which method to be a property and return an enum type.
...
Old code using which() will still work since the enum type has a
__call__ method.
2014-02-13 19:24:06 -08:00
Jason Paryani
345b8a6911
Add EnumSchema and corresponding module to load
2014-02-05 15:32:14 -08:00
Jason Paryani
e7e95abeed
Allow setting of fields with python dicts.
...
This change was a bit complicated because of a bug in cython fused
types. I had to flatten DynamicStruct.Builder to DynamicStruct_Builder
in order to get fused template specialization working.
2014-01-13 16:28:05 -08:00
Jason Paryani
e92f7b56c6
Various fixups to the RPC api.
...
* change how restorer works
* fix join_promises
* add incref's all around to make sure we aren't freeing objects early
* make it so we return PyPromises everywhere and make chains collapsible
2013-12-10 22:57:21 -08:00
Jason Paryani
e4a38a5efa
Refactor to actually use new helpers
2013-12-08 18:03:31 -08:00
Jason Paryani
9c7d84a82b
Add capnp.pxd for public declarations of cython classes
2013-12-08 17:52:17 -08:00