Commit graph

337 commits

Author SHA1 Message Date
Kenton Varda
688cecffab Remove stray print statement. 2013-08-31 13:21:29 -07:00
Jason Paryani
3772198e82 Fix up docs for new C++ RC 2013-08-30 23:13:20 -07:00
Jason Paryani
f7fbe5bdb3 Change load to use a global SchemaParser. Make structs settable as field 2013-08-29 21:03:00 -07:00
Jason Paryani
1d09bb71dd Fix docstring typo in PackedFdMessageReader 2013-08-29 18:49:32 -07:00
Jason Paryani
f0aa4d996b Add docstrings for new functions and _DynamicResizableListBuilder 2013-08-29 18:46:17 -07:00
Jason Paryani
397357110d Fix tests 2013-08-28 23:29:48 -07:00
Jason Paryani
7d59df357c Add _capnp for original Cython module. Meant for testing. 2013-08-28 23:11:59 -07:00
Jason Paryani
97cfef4243 Lowercase schema so it conforms to member naming conventions 2013-08-28 23:11:28 -07:00
Jason Paryani
28b4c442bd Fix change in C++ API of deleted default constructors for builders 2013-08-28 22:55:18 -07:00
Jason Paryani
64b3baa575 Merge branch 'master' of https://github.com/amluto/capnpc-python-cpp into develop
Conflicts:
	capnp/capnp.pyx
	capnp/capnp_cpp.pxd
2013-08-28 16:09:33 -07:00
Andy Lutomirski
2fe61781f5 Expose _StructSchema's raw node 2013-08-28 14:46:53 -07:00
Andy Lutomirski
79ae83a6cb Add some useful _StructSchema, reader, and builder methods
This adds:
 - _StructSchema.fieldnames
 - _DynamicStructBuilder.as_reader
 - _DynamicStruct{Reader,Builder}.schema and __dir__

This makes the reader and builder types much easier to navigate in ipython.
2013-08-28 14:34:37 -07:00
Jason Paryani
172c2fd900 Change orphan list semantics a bit 2013-08-27 10:55:06 -07:00
Jason Paryani
448ea93891 Add full orphan functionality. Also, allow special orphan lists
that can grow over time.
2013-08-26 22:00:12 -07:00
Jason Paryani
c31d63087a Finish up adding docstrings to all public classes/methods 2013-08-26 19:27:58 -07:00
Jason Paryani
7b33513bdb Add a ton of docstrings and add to official docs 2013-08-26 16:16:58 -07:00
Jason Paryani
0856cf413b Remove a bunch of cruft. Also re-namespace all private methods with _ 2013-08-26 15:07:13 -07:00
Jason Paryani
48f8d995a6 Refactor clean various cruft 2013-08-26 14:57:48 -07:00
Jason Paryani
38ba5249c3 Add DynamicOrphan 2013-08-26 14:45:15 -07:00
Jason Paryani
a4d2bd6020 Add some docstrings 2013-08-26 10:07:54 -07:00
Jason Paryani
56d4646c01 Add C++ library version check 2013-08-26 00:57:07 -07:00
Jason Paryani
c6250962e6 Add handling of constants in schemas 2013-08-25 17:07:08 -07:00
Jason Paryani
ea1f22e5c6 Fix new error with DynamicValue.Builder no longer being copyable 2013-08-25 16:41:37 -07:00
Jason Paryani
59279ee311 Fix Void namespace change 2013-08-22 17:48:02 -07:00
Jason Paryani
8507eb6901 Fix for the removal of DynamicUnion from the C++ API 2013-08-22 09:18:29 -07:00
Jason Paryani
8b92a251e4 Clean up namespace a bit and add cython exporting of function signatures 2013-08-18 21:48:49 -07:00
Jason Paryani
b4c6ec9fe6 Add querying unnamed enums to structs 2013-08-15 15:44:54 -07:00
Jason Paryani
98fd7d5b8a Random formatting cleanup 2013-08-13 23:04:03 -07:00
Jason Paryani
b4ae2a0bff Allow import paths in the schema loader 2013-08-13 23:00:43 -07:00
Jason Paryani
f411fc216a Use SchemaParser API to remove dependency on subprocess call to compiler 2013-08-13 22:21:38 -07:00
Jason Paryani
07e9d370a9 Upgrade for 0.2 version of capnproto C++ library 2013-08-10 13:58:08 -07:00
Jason Paryani
3ece246f23 Simplify code base
Remove bootstrap directory as well as cython wrapping of the schema
protocol.
2013-08-10 13:54:25 -07:00
Jason Paryani
ea77abc785 Add references to parent Builder/Reader objects to prevent segfaults. 2013-07-07 18:48:55 -07:00
Jason Paryani
59beea5108 Change how init works 2013-07-07 13:00:03 -07:00
Jason Paryani
15b2106aa6 Fix Python3 compatibility 2013-07-07 03:10:38 -07:00
Jason Paryani
2a4a183b7f Fix up example for python3 2013-07-07 02:31:50 -07:00
Jason Paryani
0ed0bcf361 Fixed up setup process, cleaned up repo, and updated README 2013-07-06 23:41:19 -07:00