Commit Graph

531 Commits

Author SHA1 Message Date
Omer Katz
cfd0188449 Provided a cleaner way to exclude build jobs from the matrix. 2015-02-02 07:26:17 +02:00
Omer Katz
26610adbec Bumped capnproto to 0.5.1. 2015-02-02 07:21:15 +02:00
Omer Katz
7fd2a391a5 Used travis_retry in order to avoid build failures due to network errors. 2015-02-02 07:18:29 +02:00
Jason Paryani
e89f6e489d Merge pull request #40 from thedrow/patch-1
Added Python 3.4 to the build matrix
2015-02-01 13:44:48 -08:00
Omer Katz
78cc7092ac Added Python 3.4 to the build matrix. 2015-02-01 12:26:17 +02:00
Jason Paryani
a62e392feb Fix subtle dealloc ordering problem with MessageReader
It appears that Cython has a subtle issue in deconstruction ordering
that I forgot about. Subclasses will have their deconstructors before
their parent's, and in this case we were dropping a reference to a
buffer that the parent deconstructor expected to exist.
2015-01-30 13:39:58 -08:00
Jason Paryani
c6754f84d9 Make test_roundtrip_*multiple tests more robust 2015-01-28 16:13:13 -08:00
Jason Paryani
88db4abc48 Add read_multiple_bytes/read_multiple_bytes_packed methods 2015-01-28 16:08:47 -08:00
Jason Paryani
a1a3061b5e Merge branch 'release/0.5.1' into develop 2014-12-28 00:11:08 -08:00
Jason Paryani
8e0a77b7a4 Update changelog for v0.5.1 2014-12-28 00:04:08 -08:00
Jason Paryani
826728ba7f Bump version for v0.5.1 2014-12-28 00:03:55 -08:00
Jason Paryani
544efbddac Change setup.py to only use cython if it's available 2014-12-28 00:02:57 -08:00
Jason Paryani
4a11ffedd9 Include buildutils/* in package 2014-12-15 14:00:01 -08:00
Jason Paryani
a3baa3308c Update CHANGELOG for v0.5 2014-12-15 12:54:13 -08:00
Jason Paryani
358d9c8930 Bump C++ Cap'n Proto version for travis builds 2014-12-15 12:45:23 -08:00
Jason Paryani
dbbf92a83f Fix docs to point at C++ library v0.5.0 2014-12-15 12:24:24 -08:00
Jason Paryani
2ee4498318 Merge branch 'feature/v0.5' into develop
Conflicts:
	capnp/helpers/helpers.pxd
	capnp/helpers/rpcHelper.h
	capnp/lib/capnp.pxd
	capnp/lib/capnp.pyx
	requirements.txt
	setup.py
	test/test_struct.py
2014-12-15 12:20:26 -08:00
Jason Paryani
969d02594e Fix travis tests by getting rid of pypy+BUILD_CAPNP=false build 2014-12-12 16:47:12 -08:00
Jason Paryani
0a6ab94390 Fix problem introduced with alignmnet fix 2014-12-12 16:23:24 -08:00
Jason Paryani
067177dc95 Add install flags --force-bundled-libcapnp and --force-system-libcapnp 2014-12-12 15:15:18 -08:00
Jason Paryani
06833eb6d5 Fix alignment issues for reading bytes 2014-12-12 14:43:18 -08:00
Jason Paryani
5cde525501 Change setup_travis.sh to build current release 2014-12-12 12:33:12 -08:00
Jason Paryani
026740509f Remove set -u from setup_travis.sh 2014-12-12 12:31:30 -08:00
Jason Paryani
53d21f787b Add O2 and DNDEBUG flags to libcapnp build 2014-12-12 12:20:13 -08:00
Jason Paryani
ce25cbfd64 Add set -euxo pipefail to travis setup script 2014-12-11 23:17:54 -08:00
Jason Paryani
c4f558a9b4 Add -fPIC flag to libcapnp build 2014-12-11 22:25:47 -08:00
Jason Paryani
4a26499586 Fix problem with detect libcapnp function 2014-12-11 22:17:37 -08:00
Jason Paryani
3411581d89 Change travis to build with and without libcapnp pre-installed 2014-12-11 22:11:25 -08:00
Jason Paryani
4c0d4ec290 Add automatic build of libcapnp if it's not detected 2014-12-11 22:04:34 -08:00
Jason Paryani
02c572fe1e Fix up libraries a bit
Remove reference to libraries in schema_cpp and list all libraries in
propert order in capnp.pyx
2014-12-11 22:03:13 -08:00
Jason Paryani
2dbeb88db4 Fix PyEventPort for changes in upstream interface 2014-12-09 11:22:19 -08:00
Jason Paryani
b9c9c6bc5c Fix for upstream changes in kj::Exception
* Change from using Nature/Durability to Type
* Prefer to raise KjException directly instead of Value/RuntimError.
* Will still raise AttributeError appropriately.
2014-11-30 14:27:10 -08:00
Jason Paryani
94f422da0c Merge pull request #34 from rodrigob/patch-1
Fixed typo in the documentation
2014-11-22 18:08:45 -08:00
Rodrigo Benenson
dc14b097e6 Fixed typo in the documentation 2014-11-21 23:59:47 +01:00
Jason Paryani
42c0424e6e Add native types under capnp.types for use with ListSchema 2014-11-20 10:24:10 -08:00
Jason Paryani
977f471dec Add annotation tests for schema interface 2014-11-19 08:10:51 -08:00
Jason Paryani
d97ec7723d Add .schema field to imported files 2014-11-19 08:10:31 -08:00
Jason Paryani
100019906f Update c++.capnp with upstream file 2014-11-19 08:09:27 -08:00
Jason Paryani
a2ac913c63 Add as_interface/as_list methods to _DynamicObject* 2014-11-19 07:36:40 -08:00
Jason Paryani
4fb74372f2 Allow creation of ListSchema from other Schemas 2014-11-19 02:19:21 -08:00
Jason Paryani
0f0ced971d Add ListSchema class
Return it whenever the appropriate Type is converted to a Schema
2014-11-19 02:04:57 -08:00
Jason Paryani
2565db3500 Fix for changes in upstream C++ Cap'n Proto 2014-11-03 22:24:38 -08:00
Jason Paryani
b7fd9b526d Fix typo in test_struct 2014-10-27 16:31:55 -07:00
Jason Paryani
1d19d9f407 Handle ordered option failing under Python 2.6 2014-10-27 16:11:19 -07:00
Jason Paryani
ac5590cfc1 Add tests for verbose and ordered options for to_dict 2014-10-27 15:37:38 -07:00
Jason Paryani
1663ef8c61 Skip threading tests for pypy builds of pycapnp 2014-10-27 15:30:57 -07:00
Jason Paryani
f69d7e13f6 Remove profiling from cython modules
This also fixes the build problems with pypy
2014-10-27 12:56:01 -07:00
Jason Paryani
502b94e1b6 Merge pull request #33 from jfgo20/feature/v0.5
Support ordered dictionnary
2014-10-27 12:47:50 -07:00
jfgauvin
4f706c8b05 Support ordered dictionnary
Now possible to create ordered dictionnary using 'to_dict' function with
the ordered parameter.
2014-10-27 10:59:07 -04:00
Jason Paryani
f9fea43828 Add workaround for cython? bug with typedefed enums 2014-10-20 19:46:45 -07:00