Commit graph

538 commits

Author SHA1 Message Date
Jason Paryani
a4990f0868 Handle AnyPointers better as arguments to RPC functions 2015-06-08 14:59:21 -07:00
Jason Paryani
6f1ce8bcc5 Add support for using keyword arguments with a named struct in an RPC 2015-06-08 13:39:10 -07:00
Jason Paryani
7ff67ebf4a Add bootstrap method to TwoPartyServer 2015-06-04 16:49:46 -07:00
Jason Paryani
606a325cfa Change sleep timer to be longer for test_rpc_calculator
Hopefully this fixes timing issues with the test on travisci
2015-06-03 15:29:33 -07:00
Jason Paryani
8f78a7c80b Add null capability test 2015-06-03 14:35:54 -07:00
Jason Paryani
58667c17c3 Merge pull request #69 from kamalmarhubi/_from_list-tidy
Tidy up _from_list
2015-06-01 12:28:25 -07:00
Kamal Marhubi
211192f235 Tidy up _from_list
- remove unused variable
- switch from `range` to `enumerate` for indexed iteration
2015-05-30 19:45:58 -04:00
Kamal Marhubi
b31b53b6a7 Add test for setting a field from a list 2015-05-30 19:45:58 -04:00
Jason Paryani
fbefc3cd3b Merge pull request #68 from kamalmarhubi/tox-add-py34
Add python 3.4 to the tox envlist
2015-05-28 18:05:42 -07:00
Jason Paryani
18531adf38 Merge pull request #67 from kamalmarhubi/travis-force-legacy-infra
Force use of virtualized Travic CI infrastructure to allow sudo
2015-05-28 18:05:24 -07:00
Kamal Marhubi
fc031d3611 Add python 3.4 to the tox envlist 2015-05-28 20:24:46 -04:00
Kamal Marhubi
790bdce72a Force use of virtualized Travic CI infrastructure to allow sudo
Newly set up projects on Travis CI use their containerized
infrastructure, which doesn't allow setuid programs to run. Adding the
`sudo: required` line opts out of the containerized infrastructure.

The current `setup_travis.sh` uses sudo to call `update-alternatives`
which doesn't have an equivalent yet. Tracking bug for that feature:
    https://github.com/travis-ci/travis-ci/issues/3668
2015-05-28 15:32:29 -04:00
Jason Paryani
a5bf532d53 Add init method to lists 2015-05-04 11:00:25 -07:00
Jason Paryani
3d77722e88 Add support for unix sockets and improve rpc testing 2015-04-13 16:51:38 -07:00
Jason Paryani
36d3bdcd6b Merge branch 'feature/v0.5.6' into develop 2015-04-13 14:53:48 -07:00
Jason Paryani
001b83256a Update changelog for v0.5.6 2015-04-13 14:53:05 -07:00
Jason Paryani
4f62593bcc Bump version for v0.5.6 2015-04-13 14:49:26 -07:00
Jason Paryani
e00bff6ef8 Fix problems with TwoPartyServer
Fixes #61

It turns out I messed up the Server initialization code for the case
where a string is passed in as the address. The tests only cover the
cases where a raw socket is passed in. This will be rectified in a
following commit.
2015-04-13 14:14:40 -07:00
Jason Paryani
aa7d530319 Make libcapnp version easier to change in setup_travis.sh 2015-03-10 11:22:50 -07:00
Jason Paryani
be90175f0f Remove types.Enum since it fails on DEBUG builds
It turns out we never should of been creating an ENUM type since it's
prohibited by libcapnp.

Fixes #57
2015-03-10 00:37:48 -07:00
Jason Paryani
02907bb50c Fix unintended changing of CXXFLAGS after building bundled libcapnp 2015-03-10 00:33:48 -07:00
Jason Paryani
55ca927ab1 Update travis build to use libcapnp v0.5.2 2015-03-10 00:33:36 -07:00
Jason Paryani
cfbd3d31fa Change Travis debug build to use DKJ_DEBUG 2015-03-10 00:33:00 -07:00
Jason Paryani
db04ccf476 Add debug build to travis 2015-03-10 00:08:01 -07:00
Jason Paryani
5e7cb00a82 Skip broken test in PyPy
It works locally for me, and the error in TravisCI is starting to bug
me. Tracking this in #58
2015-03-09 23:40:03 -07:00
Jason Paryani
b15436b5f4 Merge branch 'feature/v0.5.5' into develop 2015-03-05 12:57:41 -08:00
Jason Paryani
fb5f62ce21 Update CHANGELOG for v0.5.5 2015-03-05 12:57:29 -08:00
Jason Paryani
00e6bf2a5b Bump version to v0.5.5 2015-03-05 12:56:58 -08:00
Jason Paryani
2027bac434 Update bundled libcapnp to v0.5.1.2 2015-03-05 12:52:06 -08:00
Jason Paryani
95d1ce5903 Add changelog to description 2015-03-05 12:51:56 -08:00
Jason Paryani
a901b358ca Update README 2015-03-02 14:42:32 -08:00
Jason Paryani
ce033d99e5 Merge branch 'feature/v0.5.4' into develop 2015-03-02 14:15:52 -08:00
Jason Paryani
782747ad2e Update Changelog for v0.5.4 2015-03-02 14:15:32 -08:00
Jason Paryani
153575d9b0 Bump version to v0.5.4 2015-03-02 14:15:21 -08:00
Jason Paryani
6c84789799 Update bundled libcapnp to v0.5.1.1 2015-03-02 14:11:34 -08:00
Jason Paryani
bf05e555d2 Default to using cython if cythonized files not found 2015-03-02 13:44:12 -08:00
Jason Paryani
2df20212fa Fix possible segfault when importing multiple schemas
It turns out that parseDiskFile expects the imports array to last the
lifetime of the SchemaParser object.

Also, optimized for the case where the imports haven't changed, so we're
not allocating a crazy amount of these imports arrays.
2015-02-24 15:48:48 -08:00
Jason Paryani
6e94182a3e Add bootstrap RPC methods
This is the new way for initializing RPC connections. It replaces the
deprecated restore functionality
2015-02-24 11:22:43 -08:00
Jason Paryani
6c5e363406 Fix typo in changelog 2015-02-23 17:35:29 -08:00
Jason Paryani
7dc6f28ed9 Bump version to v0.5.3 2015-02-23 11:23:39 -08:00
Jason Paryani
b2daf3911d Default to not using cython 2015-02-23 11:21:19 -08:00
Jason Paryani
20c501d3f1 Merge pull request #55 from JohnEmhoff/develop
Fix destructor order for _MessageReader
2015-02-23 11:10:06 -08:00
John Emhoff
6389708701 Fix destructor order for _MessageReader 2015-02-23 15:03:50 +00:00
Jason Paryani
9d14c95670 Merge branch 'feature/v0.5.2' into develop 2015-02-20 17:29:06 -08:00
Jason Paryani
ff2823e130 Update CHANGELOG for v0.5.2 2015-02-20 17:28:47 -08:00
Jason Paryani
fe768ba7c8 Bump version to v0.5.2 2015-02-20 17:24:58 -08:00
Jason Paryani
fb363c47b5 Pin Cython to v0.21.2 until upstream bug is fixed 2015-02-20 17:21:00 -08:00
Jason Paryani
5010db4ef4 Add note for binary build instructions 2015-02-20 17:20:35 -08:00
Jason Paryani
0aebde18d5 Update pycapnp to beta status in trove classifier 2015-02-20 17:20:04 -08:00
Jason Paryani
2d7aa46388 Merge pull request #52 from rhyolight/disable-cython
Added --force-cython & --disable-cython options.
2015-02-03 10:04:40 -08:00