929 Commits

Author SHA1 Message Date
Constantine Vetoshev
fb8a3d8ac2 Add docstrings to (de)serialization functions. 2016-06-24 13:28:26 -07:00
Constantine Vetoshev
70e4e2d930 Add ReaderOptions support to segment (de)serialization. 2016-06-24 13:25:27 -07:00
Constantine Vetoshev
42ed1e819f Update documentation to cover segments. 2016-06-23 14:42:45 -07:00
Constantine Vetoshev
73d6c5dc10 Add segment (de)serialization round-trip test. 2016-06-23 14:32:23 -07:00
Constantine Vetoshev
09705b6d1f Add support for segment (de)serialization. 2016-06-23 14:32:18 -07:00
Jason Paryani
032713f8b9 Add asserts to test_response.py 2016-06-17 13:53:48 -07:00
Jason Paryani
5ffe7eb2f6 Fix response objects not referencing parents correctly
Fixes #103
2016-06-17 13:50:42 -07:00
Jason Paryani
e4c128de61 Test large reads 2016-06-17 13:50:26 -07:00
Jason Paryani
239286d4ac Bump version to v0.5.8 and update CHANGELOG 2016-05-27 17:21:24 -07:00
Jason Paryani
589400f53a Fix build problem with Cython v0.24
Fixes #97
2016-05-27 13:53:09 -07:00
Jason Paryani
b45152dba2 Skip failing PyPy test due to travis's outdated version 2016-03-08 11:29:38 -08:00
Jason Paryani
31ecf0a95e Include the changelog in the manifest
Fixes #91
2016-03-08 11:27:01 -08:00
Jason Paryani
b1f44fbc2a Merge pull request #94 from novas0x2a/unicode-input
Unicode input
2016-03-04 16:15:44 -08:00
Mike Lundy
7164f04a7c Eliminate outdated function 2016-03-04 13:52:14 -08:00
Mike Lundy
302fc64041 Include the traceback in exceptions
This makes debugging into the cython side of the code much easier.
2016-03-04 13:52:14 -08:00
Mike Lundy
8c3c57aa32 Make sure to encode to utf-8, not the default encoding
This allows text fields to take unicode strings under python 2.
2016-03-04 13:50:43 -08:00
Jason Paryani
c625981eb6 Check version info the old way because of python 2.6 2016-03-04 13:12:01 -08:00
Jason Paryani
2be308db27 Throw an exception on invalid BufferView instantiation
Also adjust tests to skip mmap under Python 2.
2016-03-04 12:42:45 -08:00
Jason Paryani
aabd61301c Fix travis builds
Stop running `make check` for capnproto. It has some networking test
problem with travis.
2016-03-04 11:04:58 -08:00
Jason Paryani
5d69eda752 Add --libcapnp-url to allow installing arbitrary libcapnp versions 2016-02-17 17:24:27 -08:00
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