Commit Graph

13 Commits

Author SHA1 Message Date
Jason Paryani
1ee7326d71 Merge branch 'feature/v0.4' into develop
Conflicts:
	capnp/capnp.pyx
	capnp/capnp_cpp.pxd
	capnp/schema_cpp.pxd
	setup.py
2013-11-13 22:30:31 -08:00
Jason Paryani
72c36c3997 Change exception handling code. Now we are directly wrapping
kj::Exception and mapping it's 'Nature' enum to Python Error types, and
if none match, return a wrapped KjException
2013-11-13 17:53:34 -08:00
Jason Paryani
91c1bde833 Fix problems compiling with gcc4.7 2013-11-07 14:47:13 -08:00
Jason Paryani
23e7a3891c Add ReaderOptions to read/read_packed/from_bytes 2013-11-05 15:51:55 -08:00
Jason Paryani
229903b87b Fix exception handling for reading/writing 2013-10-28 13:44:41 -07:00
Jason Paryani
dd19ccd44b Fix exception handling for reading/writing 2013-10-28 13:41:43 -07:00
Jason Paryani
d7905ebc80 Add ability for from_bytes to create Builders 2013-09-20 14:35:35 -07:00
Jason Paryani
0187d123c9 Fix from_dict for PyPy 2013-09-04 21:53:13 -07:00
Andy Lutomirski
cd0fe97710 Add _DynamicStructBuilder.to_bytes() and <struct module>.read_from_memory
to_bytes is not very efficient (it makes one necessary copy and one
unnecessary copy), but it will simplify a lot of use cases.

read_from_memory should be maximally efficient for most input types
(including mmap).
2013-09-03 14:01:07 -07:00
Kenton Varda
86b742e91d Wrap MessageBuilder::setRoot(). 2013-08-31 17:07:44 -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
c6250962e6 Add handling of constants in schemas 2013-08-25 17:07:08 -07:00
Jason Paryani
0ed0bcf361 Fixed up setup process, cleaned up repo, and updated README 2013-07-06 23:41:19 -07:00