Jason Paryani
bf07cb5bab
Fix setup.py forgetting capnp/lib/*.pyx
2013-12-10 23:04:56 -08:00
Jason Paryani
e92f7b56c6
Various fixups to the RPC api.
...
* change how restorer works
* fix join_promises
* add incref's all around to make sure we aren't freeing objects early
* make it so we return PyPromises everywhere and make chains collapsible
2013-12-10 22:57:21 -08:00
Jason Paryani
bba1918566
Add ez_restore function to Client. Also add c++.capnp and rpc.capnp
2013-12-09 21:30:27 -08:00
Jason Paryani
8cc214fb7b
Add semi-functional rpc example
2013-12-09 19:49:48 -08:00
Jason Paryani
618097dec1
Add ability for passing AnyPointer to restore in RPCClient
2013-12-09 19:18:54 -08:00
Jason Paryani
0892a63b23
Change tests to use tempfile
2013-12-09 17:16:39 -08:00
Jason Paryani
3f7c3ae023
Change server instantion to be inherited
2013-12-09 17:13:43 -08:00
Jason Paryani
362a50e34a
Remove old examples
2013-12-09 17:11:42 -08:00
Jason Paryani
e4a38a5efa
Refactor to actually use new helpers
2013-12-08 18:03:31 -08:00
Jason Paryani
9c7d84a82b
Add capnp.pxd for public declarations of cython classes
2013-12-08 17:52:17 -08:00
Jason Paryani
1e87bed8c7
Refactor capnp.pyx to be in lib subdirectory
2013-12-08 17:43:08 -08:00
Jason Paryani
086994f9da
Bump version required
2013-12-08 17:40:24 -08:00
Jason Paryani
cff551c774
Refactor layout of pxd files
2013-12-08 17:27:59 -08:00
Jason Paryani
8aa258ff73
Update tox
2013-12-08 17:27:53 -08:00
Jason Paryani
2155417d38
Fixup examples for recent API changes
2013-12-08 15:52:31 -08:00
Jason Paryani
2d49a958d5
Make PromiseFulfiller actually work
2013-12-08 15:52:03 -08:00
Jason Paryani
6432e768c3
Fix after API changes. Should now be ready for 0.4 RC
2013-12-06 13:19:30 -08:00
Jason Paryani
90bf090db1
Update for API changes and add tail_call functionality
2013-12-05 00:07:51 -08:00
Jason Paryani
6fd17ff4d9
Add then function for VoidPromise
2013-12-04 15:59:22 -08:00
Jason Paryani
f5bd65bf7b
Fix memleak in RemotePromise.wait
2013-12-04 13:53:53 -08:00
Jason Paryani
e26452e4a7
Relabel capability_context tests
2013-12-04 12:20:20 -08:00
Jason Paryani
b092864571
Fix bug in run_forever
2013-12-04 12:17:22 -08:00
Jason Paryani
bb3121d3ae
Fix API changes in EventLoop
2013-12-04 11:42:57 -08:00
Jason Paryani
cfc11e4a8a
Fix bug in removing an EventLoop
2013-12-02 17:54:53 -08:00
Jason Paryani
888b906781
Remove all public references to EventLoop to match changes to async API
2013-12-02 17:38:32 -08:00
Jason Paryani
d1de275187
Add links to main docs
2013-12-02 17:38:22 -08:00
Jason Paryani
a3f1118fc9
Add forgotten file
2013-11-19 17:25:50 -08:00
Jason Paryani
1ba1afcfce
More random fixups in benchmarking script
2013-11-18 13:23:53 -08:00
Jason Paryani
d6df2bc98b
Small fixups to benchmarking
2013-11-18 13:17:49 -08:00
Jason Paryani
895f74547c
Refactored benchmarks to conform to cpp spec
2013-11-18 13:05:56 -08:00
Jason Paryani
42da9f4101
Change run_forever to use onDisconnect
2013-11-18 11:58:03 -08:00
Jason Paryani
311da1b12f
Change benchmarks to use shared seed
2013-11-18 01:14:12 -08:00
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