Commit Graph

615 Commits

Author SHA1 Message Date
Jason Paryani
b3ab9ab2a6 Update changelog for v0.6.0 2017-07-27 19:59:54 -07:00
Jason Paryani
2566bbc84c Merge pull request #154 from benmoran/capnproto-0.6.0
Capnproto 0.6.0
2017-07-27 17:41:52 -07:00
Jason Paryani
bb457432f7 Merge pull request #158 from tsh56/develop
Closes #145: decrement exception object prior to returning.
2017-07-27 17:31:36 -07:00
Trevor Highland
4435c60872 Issue 145: decrement exception object prior to returning. 2017-07-26 20:17:52 -05:00
Ben Moran
1221ec75a9 Update bundled capnproto to 0.6.0 2017-06-08 12:19:52 +01:00
Ben Moran
fbc1767475 Expose Duration units and add a Nanoseconds function to let us build against 0.6.0 2017-06-08 12:01:11 +01:00
Jason Paryani
98b5ed837b Bump version to v0.5.12 and update CHANGELOG 2017-04-18 21:44:30 -07:00
Jason Paryani
341b536baf Bump bundled capnp version to v0.5.3.1 2017-04-18 21:42:50 -07:00
Jason Paryani
44c2b8dfe6 Bump version to v0.5.11 and update CHANGELOG 2017-04-10 20:37:16 -07:00
Jason Paryani
ed06d6533b Merge remote-tracking branch 'origin/forgotten-v0.5.10' into develop 2017-04-09 20:57:51 -07:00
Jason Paryani
51c4bb1bb6 Add tuple setting test 2017-04-09 20:57:33 -07:00
Jason Paryani
e4db5e6d66 Add exception raising tests for traversal_limit_in_words 2017-04-09 17:38:14 -07:00
Jason Paryani
073a503add Merge pull request #136 from ternaris/lists-from-tuples
support initializing DynamicListBuilder from tuple
2017-04-09 17:36:35 -07:00
Jason Paryani
3f04134e72 Merge pull request #139 from tundra/develop
Pass options correctly through from_bytes to FlatArrayMessageReader
2017-04-09 17:11:20 -07:00
Jason Paryani
1acb2b8ad3 Merge pull request #135 from asilversempirical/patch-1
Update binary package docs
2017-04-09 16:56:45 -07:00
Jason Paryani
5eec70231a Merge pull request #126 from asilversempirical/pass_reader_opts_clean
Let TwoParty Clients and Servers take ReaderOptions
2017-04-09 16:52:36 -07:00
Jason Paryani
b942b37fba Merge pull request #123 from ternaris/class-attributes
include class attributes in __dir__
2017-04-09 16:51:27 -07:00
Jason Paryani
7617e49d9e Merge pull request #121 from benizl/develop
Rework logic to determine whether to use bundled or system libcapnp.
2017-04-09 16:50:21 -07:00
Christian Plesner Hansen
34385afbbd Pass options correctly through from_bytes to FlatArrayMessageReader 2017-02-15 12:02:41 +01:00
Florian Friesdorf
1bfc20fefb support initializing DynamicListBuilder from tuple 2017-02-09 02:16:25 +01:00
asilversempirical
f47d21d1bb Update binary package docs
Fixes https://github.com/jparyani/pycapnp/issues/134
2017-02-07 08:51:31 -05:00
Alex Silverstein
0382beb26a Let TwoParty Clients and Servers take ReaderOptions 2017-01-22 02:25:58 +00:00
Florian Friesdorf
f2c7f61b7d include class attributes in __dir__
This enables tab completion for methods as well as fieldnames.
2017-01-20 11:00:11 +01:00
Ben Nizette
2ee80532a0 Rework logic to determine whether to use bundled or system libcapnp.
The current logic unconditionally tries to build /and run/ a small
executable linked against libcapnp. The 'run' step is ostensibly
to get the current library version number, however this number isn't
actually used anywhere.

More importantly, this breaks cross-compiling completely as in that
mode you can't run an executable that's just been built.

One option would be to fix the build scripts for cross-compiling but
this is relatively complex. This patch implements a simple change
that basically boils down to '--force-system-libcapnp' actually
forcing that, skipping the build and run tests. The assumption is
that if you're cross-compiling then you're most likely to be building
the library yourself anyway and if you're specifying that flag, then
you know what you're doing.
2017-01-09 13:07:08 +11:00
Jason Paryani
455ffdf4ab Merge pull request #120 from madeleine-empirical/hashable-enums
make enums hashable
2016-12-06 11:51:51 -08:00
Madeleine Thompson
93ea35e558 make enums hashable 2016-12-05 22:43:09 -05:00
Jason Paryani
7ad51120e6 Bump to v0.5.10 and update changelog 2016-11-28 13:38:50 -08:00
Jason Paryani
468375d566 Fix benchamrks 2016-08-31 14:03:19 -07:00
Jason Paryani
0a941a9e06 Switch to using setuptools 2016-08-31 14:03:19 -07:00
Jason Paryani
fef4747b6f Merge pull request #113 from mokomull/fix_compiler
customize_compiler is recommended by distutils doc
2016-08-22 11:30:29 -07:00
Matt Mullins
82a53013bd customize_compiler is recommended by distutils doc
On Unix platforms, environment variables such as CFLAGS, LDFLAGS are not
honored if this is not called.
2016-08-20 15:00:05 -07:00
Jason Paryani
97824b957b Add clear_write_flag method to builders
Fixes #111
2016-08-09 12:26:18 -07:00
Jason Paryani
d85200cee3 Remove recursive loop in KjException.type
Fixes #108
2016-07-29 11:59:02 -07:00
Jason Paryani
4488194f59 Make event loop be lazy initialized for real 2016-07-29 11:57:19 -07:00
Jason Paryani
3efb3f41f0 Bump version to v0.5.9 and update CHANGELOG 2016-07-07 12:15:14 -07:00
Jason Paryani
da233c46ad Make the event loop be lazy initialized
Fixes #101
2016-07-07 12:11:42 -07:00
Jason Paryani
50a6b745f7 Merge pull request #104 from gcv/segment-serialization
Add support for segment serialization
2016-06-24 17:20:56 -07:00
Constantine Vetoshev
41c418aa1c Use PyObject_AsReadBuffer instead of bytes(). 2016-06-24 16:43:57 -07:00
Constantine Vetoshev
e8a8d26260 Fix memory leak. 2016-06-24 14:03:20 -07:00
Constantine Vetoshev
f703a7f099 Update segment (de)serialization documentation. 2016-06-24 13:28:35 -07:00
Constantine Vetoshev
5a63dacf14 Disable segment serialization test on PyPy (for now). 2016-06-24 13:28:35 -07:00
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