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
Jason Paryani
f13bf77c5b
Merge branch 'release/0.4.0' into develop
2013-12-12 11:57:37 -08:00
Jason Paryani
c322ea3a4c
Bump version to 0.4.0
2013-12-12 11:56:31 -08:00
Jason Paryani
f9bb12bff9
Update RPC with simpler methods for connecting
2013-12-12 11:55:50 -08:00
Jason Paryani
174ecd5609
Add simpler methods for instantiating TwoPartyServer/Client
2013-12-12 11:33:52 -08:00
Jason Paryani
110a7c7806
Add restore to docs
2013-12-12 00:20:59 -08:00
Jason Paryani
de7545d285
Small typo fixes in docs
2013-12-12 00:12:15 -08:00
Jason Paryani
37b3e92a14
Update installation docs to point at 0.4 of C++ Cap'n Proto
2013-12-12 00:03:38 -08:00
Jason Paryani
adf8e92003
Update docs for RPC
2013-12-12 00:02:44 -08:00
Jason Paryani
ceacf16be8
Hide members of Server/Client
2013-12-12 00:02:32 -08:00
Jason Paryani
81388f82f6
Change rpc server example to use simple restore function
2013-12-11 22:48:59 -08:00
Jason Paryani
a880994a6b
Fix tons of memleaks and memory management problems
2013-12-11 22:25:57 -08:00
Jason Paryani
2f0f03d1a8
Add TCP_NODELAY
2013-12-11 22:25:43 -08:00
Jason Paryani
1620965aee
Add get_root_as_any to _MessageReader
2013-12-11 13:51:13 -08:00
Jason Paryani
ebbd83a425
Fix as_pypromise not returning correctly
2013-12-11 13:50:50 -08:00
Jason Paryani
10dc1d3ab3
Remove unneeded rpc.capnp by fixing ez_restore
2013-12-11 11:59:43 -08:00
Jason Paryani
4d8a27844f
Fix allowing RemotePromises to be returned directly
2013-12-11 11:24:27 -08:00
Jason Paryani
03bac73120
Fix examples formatting issues and make them pep8 compliant
2013-12-11 01:59:52 -08:00
Jason Paryani
5811213321
Add test for returning tuple in server
2013-12-11 01:17:23 -08:00
Jason Paryani
117a3c7eac
Add examples back in
2013-12-11 00:27:01 -08:00
Jason Paryani
db2247e883
Add calculator to tests
2013-12-11 00:15:08 -08:00
Jason Paryani
0e178de136
Fix segfault by making TwoPartyClient's members immortal
2013-12-10 23:29:21 -08:00
Jason Paryani
a17c76f593
Add server example
2013-12-10 23:05:57 -08:00
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