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
Jason Paryani
8761a787e9
Stop using get_dependency internally and add deprecation warning
2014-10-19 22:45:08 -07:00
Jason Paryani
0a120ef4cd
Update to fix rename of 'extends' to 'superclasses' upstream
2014-10-19 21:34:46 -07:00
Jason Paryani
f14bcb1e85
Fix build for Cython 0.21
...
Conflicts:
capnp/helpers/helpers.pxd
capnp/lib/capnp.pyx
requirements.txt
setup.py
2014-10-19 20:30:23 -07:00
Jason Paryani
64e80e06bf
Get code generator plugin to a decently working state.
...
Still a few outstanding performance issues, and imports inside .capnp
files may not be working
2014-10-19 20:06:00 -07:00
Jason Paryani
5cadf9f9b7
Merge branch 'release/0.4.6' into develop
2014-09-10 11:11:53 -07:00
Jason Paryani
287945dfc0
Bump version for v0.4.5. Add changes to changelog
2014-09-10 11:02:33 -07:00
Jason Paryani
e8ddfb9e91
Fix build for Cython 0.21
2014-09-10 10:48:23 -07:00
Jason Paryani
ece4e36329
Rename setup.py template to setup.py.tmpl to avoid confusion
2014-09-04 18:44:42 -07:00
Jason Paryani
2db935a00b
Speed up code generated modules even more.
...
Switch to using generated c++ capnp code
2014-09-04 18:04:52 -07:00
Jason Paryani
93352a31d2
Initial version of code generating plugin
...
The plugin generates higher performance compiled versions of the structs
2014-09-04 14:21:27 -07:00
Jason Paryani
f12f826a85
Change addressbook benchmark around a bit
2014-09-04 14:20:47 -07:00
Jason Paryani
18fce3fe78
Fix up various bugs that arose when trying to cimport capnp
2014-09-03 23:25:39 -07:00
Jason Paryani
b11e461a9e
Various speedups to StructReader/Builder
2014-09-03 16:50:10 -07:00
Jason Paryani
ea1be42252
Add {_get,_set,_has,_init}_by_field methods for faster field access
2014-09-03 15:20:26 -07:00
Jason Paryani
a0143260d6
Make Timer class private
2014-09-03 15:19:33 -07:00
Jason Paryani
95e706f2f9
Add thread examples
2014-08-26 15:21:46 -07:00
Jason Paryani
e36f0bdc6b
Merge pull request #30 from kdienes/develop
...
Remove generated files during cleanup phase.
2014-07-12 16:21:14 -07:00
Klee Dienes
97f0d8dcb9
Remove generated files during cleanup phase.
2014-07-12 19:11:03 -04:00
Jason Paryani
a1f7d32853
Make pycapnp GIL friendly
...
Now calling `wait` from one thread will not block all threads
2014-07-09 00:49:35 -07:00
Jason Paryani
ab3827ab48
Fix test_to_dict_enum under Python3
2014-06-26 01:07:54 -07:00
Jason Paryani
5befda532f
Fix test_to_dict_enum under Python3
2014-06-26 01:07:16 -07:00