Commit graph

387 commits

Author SHA1 Message Date
Jason Paryani
d8e109c55a Fix type error in rpcHelper.h. Fixes #26 2014-04-25 11:02:02 -07:00
Jason Paryani
ba4e5e46cb Allow restoring a null objectId by passing None to restore 2014-04-09 17:06:34 -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
3231a07c9a Merge pull request #25 from jstasiak/develop
Fix schema example in the documentation
2014-04-06 17:42:17 -07:00
Jakub Stasiak
b4ee5039fc Fix schema example in the documentation 2014-04-07 00:36:06 +01:00
Jason Paryani
becbd966de Fix from_bytes with builder=True bug. For now, it's no longer zero-copy 2014-02-27 18:16:56 -08:00
Jason Paryani
0b28862056 Add ability pickle StructReader/Builder 2014-02-27 18:16:31 -08:00
Jason Paryani
46fb701899 Small typo fixes in quickstart docs 2014-02-27 18:16:20 -08:00
Jason Paryani
9f06f0f3e8 Fix bug in to_bytes_packed when packed size > unpacked size. 2014-02-24 14:06:28 -08:00
Jason Paryani
6e3f609626 Add changelog 2014-02-23 17:20:37 -08:00
Jason Paryani
df0961f36b Merge branch 'release/0.4.3' into develop 2014-02-18 17:49:57 -08:00
Jason Paryani
7ad0374d6d Bump version for v0.4.3 2014-02-18 17:49:19 -08:00
Jason Paryani
1c4b8d0135 Skip failing test if LIBCAPNP_VERSION < v0.5.0 2014-02-18 17:48:43 -08:00
Jason Paryani
307fcbf4e7 Fix problem with uninitialized unions in _from_dict 2014-02-18 17:34:34 -08:00
Jason Paryani
110b454e2c Add accesible version numbers for C++ libcapnp 2014-02-18 17:33:38 -08:00
Jason Paryani
c3e34969ad Merge branch 'release/0.4.2' into develop 2014-02-13 22:54:55 -08:00
Jason Paryani
f05a4a6c45 Bump version for v0.4.2 2014-02-13 22:54:00 -08:00
Jason Paryani
a0668c1c9c Revert memleak fix since it's causing failures on TravisCI 2014-02-13 22:25:25 -08:00
Jason Paryani
55dcff0dad Fix TwoPartyServer to handle more than one client at a time. Fixes #23
Also fix various memleaks in RpcServer/Client
2014-02-13 22:10:05 -08:00
Jason Paryani
dceb437c44 Update tests with new which enum 2014-02-13 22:08:15 -08: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
6ccc208757 Remove unnecessary allocation when setting strings 2014-02-13 12:04:30 -08:00
Jason Paryani
e23e1cb4ed Remove redundant _setDynamicFieldPtr 2014-02-13 11:49:29 -08:00
Jason Paryani
7903225867 Remove onDrained since it was removed upstream 2014-02-10 23:27:42 -08:00
Jason Paryani
345b8a6911 Add EnumSchema and corresponding module to load 2014-02-05 15:32:14 -08:00
Jason Paryani
c9130ac44a Replace usage of strings as enum type with custom DynamicEnum class.
DynamicEnum has a comparison function that allows comparison to strings
and ints, and will effectively make it interchangable with the old
implementation in most scenarios.
2014-02-05 12:11:29 -08:00
Jason Paryani
18c6d41f96 Add beginnings of EventPort wrapping 2014-01-28 21:42:57 -08:00
Jason Paryani
f49af992ca Update README with supported python version information. Fixes #24 2014-01-27 16:07:09 -08:00
Jason Paryani
03b290969a Fix a few typos in benchmarks 2014-01-27 16:06:58 -08:00
Jason Paryani
d55ad02863 Fix bug in TwoPartyServer that fixes #22 2014-01-17 11:13:12 -08:00
Jason Paryani
aa317e7324 Change to_bytes_packed() to be more efficient 2014-01-15 22:43:19 -08:00
Jason Paryani
8c0e80529b Attempt to speed up converting from a dictionary 2014-01-15 22:08:27 -08:00
Jason Paryani
2230ab3e85 Update protobuf cpp benchmarks to actually use cpp 2014-01-15 22:07:41 -08:00
Jason Paryani
68a45a194b Add test showing off using a dictionary in new_message 2014-01-15 10:37:25 -08:00
Jason Paryani
f89af26fc3 Fix tests for change in exception type 2014-01-14 09:44:21 -08:00
Jason Paryani
b0a7128230 Change exception wrapper to detect and raise AttributeError 2014-01-14 09:05:46 -08:00
Jason Paryani
7a4ae96c81 Add documentation for using dicts as typeless structs 2014-01-14 09:05:20 -08:00
Jason Paryani
b0af30ebe6 Fix up syntax a bit 2014-01-13 17:00:05 -08:00
Jason Paryani
0930a9fd1b Change calculator example to use new dict syntax for a typeless struct 2014-01-13 16:50:02 -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
ba7c192572 Add references to global eventLoop in promises 2014-01-08 16:18:10 -08:00
Jason Paryani
60a9421b0e Add ez_rpc test 2014-01-08 14:29:24 -08:00
Jason Paryani
540ed4cdba Don't force utf8 encoding for unicode strings 2013-12-18 21:57:57 -08:00
Jason Paryani
1568c1d4f8 Merge branch 'release/0.4.1' into develop 2013-12-18 17:13:54 -08:00
Jason Paryani
d238e7c79a Bump version for 0.4.1 2013-12-18 17:13:05 -08:00
Jason Paryani
5a6308d25e Remove python 3.2 from travis tests
Travis is using an old version of python 3.2 that doesn't support the u
character in front of strings. It's not worth fixing for just that, and
python 3.3 gives enough coverage for python3.
2013-12-18 17:10:55 -08:00
Jason Paryani
20d7104111 Fix another typo in test 2013-12-18 13:10:33 -08:00
Jason Paryani
34e98881b1 Fix failing test 2013-12-18 13:06:52 -08: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
72ccb5c1b6 Touching up docs a bit 2013-12-18 12:01:27 -08:00