Commit Graph

283 Commits

Author SHA1 Message Date
Jason Paryani
52dde9ab22 Add benchmarks 2013-11-17 23:06:25 -08:00
Jason Paryani
fc16eab803 Fix up examples 2013-11-15 01:17:35 -08:00
Jason Paryani
8e1895dd8f Simplify server interface 2013-11-14 23:06:14 -08:00
Jason Paryani
2e4efd040b Allow client requests to use positional args 2013-11-14 20:59:21 -08:00
Jason Paryani
d368b83ae2 Restruct module creation 2013-11-14 11:30:57 -08:00
Jason Paryani
e7fd72cded Fix unicode problem in to_bytes_packed for python3 2013-11-14 09:41:51 -08:00
Jason Paryani
0587f3e56e Update tests for new serialization methods 2013-11-14 00:23:15 -08:00
Jason Paryani
994eddcc0b Add read_multiple(_packed) and {to,from}_bytes_packed 2013-11-14 00:19:52 -08:00
Jason Paryani
02eb996596 Remove extra functions that creeped in from merge 2013-11-13 22:51:29 -08:00
Jason Paryani
2b756c6d2c Fix TravisCI 2013-11-13 22:40:23 -08:00
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
ecd2666f96 Add missing exception handler on to_bytes 2013-11-13 22:14:29 -08:00
Jason Paryani
7d82dcbfd8 Update examples for RPC 2013-11-13 21:52:50 -08:00
Jason Paryani
64619758ab Fix bug in python3 due to improper string handling 2013-11-13 21:14:46 -08:00
Jason Paryani
56d5ea688e Fix refcounting for exception handling 2013-11-13 21:02:43 -08:00
Jason Paryani
422266d0b8 Fix str output in test with updated format 2013-11-13 21:02:22 -08:00
Jason Paryani
c1952a62ae Fix exception propogation in Promises 2013-11-13 20:54:57 -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
7ac8c25c1a Add make check back to travis 2013-11-13 16:14:41 -08:00
Jason Paryani
0f68366905 Stop using pointer to TwoPartyVatNetwork and replace with Own reference 2013-11-13 12:21:48 -08:00
Jason Paryani
238f8b2c2f Add get_dependency to all Schema classes 2013-11-13 12:02:43 -08:00
Jason Paryani
11543b7abf Add ability to pass Restorer to RpcClient. Also various fixups
and added __dir__ reflection to DynamicCapabilityClient
2013-11-13 10:58:16 -08:00
Jason Paryani
5251cb5575 Add upcast/cast_as to DynamicCapability. Also changed EventLoop.
wait_remote -> wait
2013-11-12 20:28:23 -08:00
Jason Paryani
496a126671 Add a cross language RPC example 2013-11-12 19:40:10 -08:00
Jason Paryani
374f986fa7 Add FdAsyncIoStream. Also clean up RPC interface a bit 2013-11-12 19:38:34 -08:00
Jason Paryani
0744d536e0 Disable make check because of a bug that's causing it to fail 2013-11-12 16:13:01 -08:00
Jason Paryani
0329fd17ba Add forgotten files for RPC 2013-11-12 15:55:57 -08:00
Jason Paryani
1df115d359 Initial wrapping of rpc-twoparty functionality 2013-11-12 15:32:23 -08:00
Jason Paryani
91c1bde833 Fix problems compiling with gcc4.7 2013-11-07 14:47:13 -08:00
Jason Paryani
563cf9c510 Merge branch 'release/0.3.18' into develop 2013-11-05 15:59:52 -08:00
Jason Paryani
bac8b7375d Bump version for v0.3.18 2013-11-05 15:59:36 -08:00
Jason Paryani
53c5c7ce2c Change naming of ReaderOption parameters to be pep8 compliant 2013-11-05 15:58:56 -08:00
Jason Paryani
3d80550e3a Merge branch 'release/0.3.17' into develop 2013-11-05 15:53:26 -08:00
Jason Paryani
a83da57160 Bump version for v0.3.17 2013-11-05 15:53:14 -08:00
Jason Paryani
23e7a3891c Add ReaderOptions to read/read_packed/from_bytes 2013-11-05 15:51:55 -08:00
Jason Paryani
d8bb8206b9 fix up small typos 2013-11-05 15:37:51 -08:00
Jason Paryani
229903b87b Fix exception handling for reading/writing 2013-10-28 13:44:41 -07:00
Jason Paryani
1424d46d71 Merge branch 'release/0.3.16' into develop 2013-10-28 13:43:44 -07:00
Jason Paryani
867df19a51 Bump version for v0.3.16 2013-10-28 13:43:10 -07:00
Jason Paryani
dd19ccd44b Fix exception handling for reading/writing 2013-10-28 13:41:43 -07:00
Jason Paryani
ca88b7de64 Make script executable 2013-10-22 13:39:01 -07:00
Jason Paryani
e28a9e6601 Add defaults flag to capnp-json. Also remove 'which' field 2013-10-22 13:32:35 -07:00
Jason Paryani
0498d04632 Add capnp-json serializer script. Also fix bugs in from_dict 2013-10-22 13:22:08 -07:00
Jason Paryani
105450906b Fix build for clang/python3. Also remove -fpermissive 2013-10-21 00:11:42 -07:00
Jason Paryani
54413dedeb Add as_builder method to Struct Reader 2013-10-20 22:55:41 -07:00
Jason Paryani
f947e3270f Add warning when writing the same message more than once 2013-10-20 22:44:15 -07:00
Jason Paryani
d7abfae1ed Cleanup exception handling 2013-10-20 18:46:41 -07:00
Jason Paryani
025d0e0790 Add bitdeli 2013-10-20 17:27:18 -07:00
Jason Paryani
5e00534842 Fixup exception handling for capabilities 2013-10-20 17:24:59 -07:00
Jason Paryani
a9ad0e6b85 Make test simpler 2013-10-19 22:40:55 -07:00