Commit graph

513 commits

Author SHA1 Message Date
Jason Paryani
a1f7d32853 Make pycapnp GIL friendly
Now calling `wait` from one thread will not block all threads
2014-07-09 00:49:35 -07:00
Jason Paryani
ab3827ab48 Fix test_to_dict_enum under Python3 2014-06-26 01:07:54 -07:00
Jason Paryani
5befda532f Fix test_to_dict_enum under Python3 2014-06-26 01:07:16 -07:00
Jason Paryani
d2f6d6e1d6 Merge branch 'release/0.4.5' into develop 2014-06-26 00:57:37 -07:00
Jason Paryani
ecb703eae0 Bump version for v0.4.5. Add changes to changelog 2014-06-26 00:57:11 -07:00
Jason Paryani
1eafc412a8 Fix to_dict not converting enums to strings
Fixes #28
2014-06-26 00:54:23 -07:00
Jason Paryani
3a0eaacc9d Fix to_dict not converting enums to strings
Fixes #28
2014-06-26 00:53:16 -07:00
Jason Paryani
73492b21ce Clarify common problem when C++ Cap'n Proto is not found.
Fixes #27
2014-06-26 00:39:57 -07:00
Jason Paryani
a9dfee9545 Fix bug in DynamicCapability's dir method 2014-06-12 16:44:41 -07:00
Jason Paryani
db63fd1880 Add ability to import modules with dashes or spaces
Any module with underscores in it will now attempt to look for 3 files,
first the original, then with dashes, then with spaces, ie:
import addressbook_v_2_capnp
will search for 'addressbook_v_2.capnp', 'addressbook-v-2.capnp', and
'addressbook v 2.capnp'.
2014-06-12 16:37:06 -07:00
Jason Paryani
c77b5fa132 Fix error message in version check 2014-06-12 16:36:37 -07:00
Jason Paryani
e7159b0ac8 Merge branch 'release/0.4.4' into develop 2014-04-25 11:04:37 -07:00
Jason Paryani
2c56c3938b Add changelog entries for 0.4.4 2014-04-25 11:04:11 -07:00
Jason Paryani
826443b306 Bump version for v0.4.4 2014-04-25 11:04:08 -07:00
Jason Paryani
d8e109c55a Fix type error in rpcHelper.h. Fixes #26 2014-04-25 11:02:02 -07:00
Jason Paryani
372fc496e8 Fix pickling for pypy 2014-04-19 17:00:19 -07:00
Jason Paryani
485f24987d Bump version for 0.5.0-dev 2014-04-19 16:58:26 -07:00
Jason Paryani
03faa0e18b Get inheritance working for simple version capabilities 2014-04-18 18:18:54 -07:00
Jason Paryani
1ef6035aea Add functionality for using event loops in different threads 2014-04-17 22:52:13 -07:00
Jason Paryani
c57034e631 Add pickling test 2014-04-17 21:21:06 -07:00
Jason Paryani
56d68325ff Add check that method exists in Capability.__getattr__.
This makes it play nice with hasattr
2014-04-17 20:53:52 -07:00
Jason Paryani
16678dc26b Fix cancel methods 2014-04-17 20:53:23 -07:00
Jason Paryani
430890f8d6 Add args checking to Void and RemotePromises then and check for double
send in Requests.
2014-04-13 18:35:53 -07:00
Jason Paryani
cfb60cddf0 Add arguments checking to then callback 2014-04-13 18:26:01 -07:00
Jason Paryani
c2b9d14268 Fix up cancel and timer a bit 2014-04-13 18:15:36 -07:00
Jason Paryani
f58f5d4846 Add timer functionality 2014-04-10 19:08:24 -07:00
Jason Paryani
a3038ca8ec Bump version check for v0.5 2014-04-10 18:57:24 -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