Jason Paryani
|
47ee1a87a3
|
Merge branch 'release/0.3.12' into develop
|
2013-09-03 01:25:31 -07:00 |
|
Jason Paryani
|
e8bf10519d
|
Bump version for v0.3.12
|
2013-09-03 01:24:52 -07:00 |
|
Jason Paryani
|
eec8cbe05c
|
Add dictionary methods to docs
|
2013-09-03 01:24:16 -07:00 |
|
Jason Paryani
|
38cef54ddc
|
Update docs with new import method
|
2013-09-03 01:16:48 -07:00 |
|
Jason Paryani
|
80d2e59c08
|
Fix handling of empty path '' in load_module
|
2013-09-03 01:03:29 -07:00 |
|
Jason Paryani
|
83e30f5a30
|
Add from_dict
|
2013-09-03 01:00:52 -07:00 |
|
Jason Paryani
|
c900690b96
|
Fix bug in exception handling for which(). Also standardize exceptions
to always be ValueError. Add the beginnings of to_dict()
|
2013-09-03 00:25:32 -07:00 |
|
Jason Paryani
|
26579d307d
|
Enable import hook by default
|
2013-09-03 00:21:28 -07:00 |
|
Jason Paryani
|
4e0db3d16a
|
Fix up minor things with import hook
|
2013-09-03 00:21:15 -07:00 |
|
Jason Paryani
|
891f0d28e5
|
Change import hook to require modules to end in '_capnp'
|
2013-09-01 23:55:29 -07:00 |
|
Jason Paryani
|
98c9b959f7
|
Fix up bug with import hook on python3/pypy
|
2013-09-01 22:24:46 -07:00 |
|
Jason Paryani
|
5600f9939a
|
Add import monkey patch function
|
2013-09-01 21:31:39 -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 |
|
Jason Paryani
|
eb9e7511d0
|
Fix two missed renames
|
2013-09-01 01:24:59 -07:00 |
|
Jason Paryani
|
1ebcaafd47
|
Merge branch 'release/0.3.11' into develop
|
2013-09-01 01:21:24 -07:00 |
|
Jason Paryani
|
a1eca22686
|
Bump version for v0.3.11
|
2013-09-01 01:20:27 -07:00 |
|
Jason Paryani
|
8c0c557b9d
|
Forgot to change project name in setup.py
|
2013-09-01 01:20:10 -07:00 |
|
Jason Paryani
|
f1a382ef4d
|
Merge branch 'release/0.3.10' into develop
|
2013-09-01 01:19:28 -07:00 |
|
Jason Paryani
|
a5bc2db988
|
Bump version for v0.3.10
|
2013-09-01 01:19:03 -07:00 |
|
Jason Paryani
|
f6f02a5ca5
|
Change all references to old project name
|
2013-09-01 01:15:31 -07:00 |
|
Jason Paryani
|
c3ae2bee67
|
Change DynamicValue.Reader lists to be returned as _DynamicListReader
|
2013-09-01 00:09:46 -07:00 |
|
Jason Paryani
|
684f8ead70
|
Unify setters for DynamicList and DynamicStruct
|
2013-08-31 20:00:57 -07:00 |
|
Jason Paryani
|
fe991e7857
|
Fix int/long handling for python3 by removing redundant code
|
2013-08-31 19:30:07 -07:00 |
|
Jason Paryani
|
bf7be6eeba
|
Update docs for C++ v0.3.0rc5
|
2013-08-31 19:12:44 -07:00 |
|
Jason Paryani
|
26e112d600
|
Merge pull request #5 from kentonv/develop
Various improvements to test code.
|
2013-08-31 18:55:27 -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
|
6731d7eb7d
|
Store Builders by value rather than allocate them separately on the heap (matches treatment of Readers). v0.3 fixes the bug that made this not work.
|
2013-08-31 17:22:11 -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 |
|
Kenton Varda
|
10c6f40c2e
|
Implement __str__ and __repr__ for struct and list builders. __str__ uses prettyPrint while __repr__ shows the type name and the low-whitespace stringification. Also implement __repr__ for StructSchema, just because why not?
|
2013-08-31 15:07:13 -07:00 |
|
Kenton Varda
|
688cecffab
|
Remove stray print statement.
|
2013-08-31 13:21:29 -07:00 |
|
Jason Paryani
|
645c49b04d
|
Merge branch 'release/0.3.9' into develop
|
2013-08-30 23:14:55 -07:00 |
|
Jason Paryani
|
0529c336c0
|
Bump version for v0.3.9
|
2013-08-30 23:14:30 -07:00 |
|
Jason Paryani
|
3772198e82
|
Fix up docs for new C++ RC
|
2013-08-30 23:13:20 -07:00 |
|
Jason Paryani
|
76796f8d75
|
Add forgotten test files
|
2013-08-29 21:12:39 -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
|
75d4ea0d03
|
Change travis to only test the test directory
|
2013-08-29 17:04:45 -07:00 |
|
Jason Paryani
|
035f15f5e7
|
Merge branch 'release/0.3.8' into develop
|
2013-08-29 16:46:29 -07:00 |
|
Jason Paryani
|
a546b3d73e
|
Bump version for v0.3.8
|
2013-08-29 16:46:03 -07:00 |
|
Jason Paryani
|
add49178f2
|
Add regression test
|
2013-08-29 16:45:31 -07:00 |
|
Jason Paryani
|
680b06977c
|
Update travis to use tests
|
2013-08-28 23:30:29 -07:00 |
|
Jason Paryani
|
397357110d
|
Fix tests
|
2013-08-28 23:29:48 -07:00 |
|
Jason Paryani
|
892e87b747
|
Add initial tests
|
2013-08-28 23:13:38 -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
|
4f327d9a31
|
Update docs for developers
|
2013-08-28 22:55:10 -07:00 |
|