Commit Graph

654 Commits

Author SHA1 Message Date
Jason Paryani
f78ca108f6 Merge pull request #89 from bpiwowar/develop
Support mmap objects for reading with from_bytes
2016-02-08 12:11:46 -08:00
Benjamin Piwowarski
b7a9d05e5e Support mmap objects for reading with from_bytes 2016-02-05 17:32:40 +01:00
Jason Paryani
2516e3e4f1 Change read_multiple and read_multiple_packed to copy by default
Add a `skip_copy` paramter for people that know what they're doing and
need higher performance.

Fixes #87
2015-12-04 16:31:26 -08:00
Jason Paryani
b863e9b9d6 Fix mistakenly discarding the file parameter on reads
Fixes #82
2015-12-04 16:01:28 -08:00
Jason Paryani
1bef2bc044 Merge pull request #86 from kdienes/develop
Add reraise_kj_exception to the prettyPrint functions.
2015-11-15 15:46:40 -08:00
Klee Dienes
8436a1908d Add reraise_kj_exception to the prettyPrint functions. 2015-11-14 18:51:20 -05:00
Jason Paryani
a179cfc480 Merge pull request #84 from E8-Storage/develop
Fix KjException init (missing wrapper).
2015-10-21 11:05:57 -07:00
Sergei Dyshel
4e6f381855 Fix KjException init (missing wrapper). 2015-10-21 15:11:43 +03:00
Jason Paryani
3357771b39 Fixes for changes in cython v0.22.1 2015-07-13 10:57:55 -07:00
Jason Paryani
b57f0f0df8 Add result_type to InterfaceMethodSchema 2015-07-12 12:21:29 -07:00
Jason Paryani
cf7a50f1d5 Merge branch 'feature/v0.5.7' into develop 2015-06-16 12:08:28 -07:00
Jason Paryani
e67e3ce04c Update changelog for v0.5.7 2015-06-16 12:08:11 -07:00
Jason Paryani
4b76211b78 Bump version to v0.5.7 2015-06-16 11:57:33 -07:00
Jason Paryani
338b587413 Update bundled libcapnp to v0.5.2 2015-06-16 11:49:40 -07:00
Jason Paryani
bd0576b68a Add warnings for using old restorer methods 2015-06-16 11:47:13 -07:00
Jason Paryani
819f21938e Fix warning from PyEventPort 2015-06-16 11:28:18 -07:00
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