Jason Paryani
|
cba4378d1f
|
Add num_first_segment_words argument wherever message creation can occur
|
2014-04-07 11:15:48 -07:00 |
|
Jason Paryani
|
e9a8354676
|
Fix problems with null characters in Text/Data fields. Fixes #19
|
2013-12-18 12:39:56 -08:00 |
|
Jason Paryani
|
effacb872f
|
Fix problem with to_dict
|
2013-09-04 11:20:05 -07:00 |
|
Jason Paryani
|
1317527893
|
Change naming for functions to conform to PEP 8. Also deprecate old
read/write api.
|
2013-09-01 20:10:57 -07:00 |
|
Jason Paryani
|
6fcdf841e4
|
Update preferred method for reading/writing messages from files
|
2013-09-01 02:13:19 -07:00 |
|
Kenton Varda
|
1cfea9c846
|
Add shortcuts for reading from / writing to files. In Python, it doesn't make much sense to force people to muck around with MessageReaders and MessageBuilders since everything is landing on the heap anyway. Instead, let's make it easy: MyType.read[Packed]From(file) reads a file and returns a MyType reader. MyType.newMessage() returns a MyType builder representing the root of a new message. You can call this builder's write[Packed]To(file) method to write it to a file.
|
2013-08-31 18:19:02 -07:00 |
|
Kenton Varda
|
86b742e91d
|
Wrap MessageBuilder::setRoot().
|
2013-08-31 17:07:44 -07:00 |
|
Kenton Varda
|
0478ee3081
|
Add tests based on TestAllTypes from the C++ test.capnp. Fix problems uncovered in capnp.pyx. Requires capnproto-c++-0.3.0-rc5, as I found a bug in the base library.
|
2013-08-31 16:44:54 -07:00 |
|
Jason Paryani
|
add49178f2
|
Add regression test
|
2013-08-29 16:45:31 -07:00 |
|