Gustavo Carneiro
01fa2790a5
Add supported Python versions to the README
2014-02-09 23:42:20 +00:00
Gustavo Carneiro
574d5e8f14
tox: Remove Python 3.2, not supported, add Python 2.6
2014-02-09 23:38:31 +00:00
Gustavo Carneiro
78ee87b576
Add a tox.ini file; tox tests failing for python 3.2
2014-02-09 20:40:27 +00:00
Gustavo Carneiro
b4309d8c1a
More python 3 porting of waf stuff
2014-02-09 20:18:26 +00:00
Gustavo Carneiro
81fa56d9d3
Removed a couple of unused waf tools
2014-02-09 20:14:14 +00:00
Gustavo Carneiro
400be0c1f9
untabify
2014-02-09 20:08:51 +00:00
Gustavo Carneiro
e1c93348b8
Make all wscript files python 3 compatible
2014-02-09 20:06:59 +00:00
Gustavo Carneiro
0c8ae466b7
Make setup.py more robust and add a manifest file
2014-02-09 20:02:11 +00:00
Gustavo Carneiro
2c7e94dfed
Update the README
2014-02-02 23:15:09 +00:00
Gustavo Carneiro
4dd1f03006
Make the examples build again with new WAF
2014-02-02 23:14:48 +00:00
Gustavo Carneiro
42b9161cfa
Use the patch python waf tool, other bugs fixed
2014-02-02 20:19:51 +00:00
Gustavo Carneiro
992492eb9d
Fix a waf python detection bug, submitted upstream as waf issue 1405.
2014-02-02 20:19:25 +00:00
Gustavo Carneiro
943ca713c8
Removed, python_patched.py replaces it.
2014-02-02 20:13:05 +00:00
Gustavo Carneiro
c514e3dda8
waf's python tool that comes with waf 1.7.
2014-02-02 19:56:22 +00:00
Gustavo Carneiro
b77de1cc18
Upgrade waf to 1.7.15
2014-02-02 19:43:37 +00:00
Gustavo Carneiro
06f2eda78c
assert_ -> assertTrue
2014-02-02 18:58:07 +00:00
Gustavo Carneiro
e01398d91c
Fix the gccxml-based unit tests
2014-02-02 18:55:53 +00:00
Gustavo Carneiro
3c2726d367
merge from the py3k branch
2014-02-02 18:00:35 +00:00
Gustavo Carneiro
79154142f4
Merge from trunk.
2014-02-02 17:37:21 +00:00
Gustavo Carneiro
8043ed5676
Fix build problem with the 'bool const &' param type
2013-10-13 15:59:12 +01:00
Gustavo Carneiro
0a1f9089b5
Make the source also python 2.6 compatible, in addition to python 3.x
2013-10-06 16:08:38 +01:00
Gustavo Carneiro
f3e8ad2d20
Don't crash on a typedef whose base class is not wrapped, just warn
2013-09-21 22:55:42 +01:00
Gustavo Carneiro
880c8893c8
In case of error in class reference return, it is better to generate code return a reference to a temp variable (ugh) than to tracback and not generate any code at all
2013-09-21 22:55:03 +01:00
Gustavo Carneiro
3d159c7d56
waf: use a python waf tool backported from waf 1.7.11
2013-08-10 19:28:38 +01:00
Gustavo Carneiro
b17a1eb6cd
Remove the 'import six', it was a mistake
2013-08-10 19:27:22 +01:00
Gustavo Carneiro
41f96e1d2d
Make sure the unit tests run on either python 2 or 3, without needing 3to2
2013-08-04 22:20:36 +01:00
Gustavo Carneiro
0017021b58
Mark the struct.calcsize argument as bytes string
2013-08-04 20:17:34 +01:00
Gustavo Carneiro
b85e2497c4
Missing a typecase in the python2 code version
2013-08-04 20:14:57 +01:00
Gustavo Carneiro
b4a9813150
Fix bug #1207438 : UnboundLocalError in overloading.py
2013-08-03 12:19:56 +01:00
Gustavo Carneiro
593795111d
merge from trunk
2013-07-31 22:48:07 +01:00
Gustavo Carneiro
5aae13b55a
make it work on python 3 (except that sq_slice and sq_ass_slice are gone in Python 3)
2013-07-31 22:40:27 +01:00
Gustavo Carneiro
0dadf0a85b
On second thought, remove the UInt8PtrReturn, as it doesn't seem to even compile
2013-07-28 13:13:57 +01:00
Gustavo Carneiro
c00fd6d917
Copy some type handlers from lp:~dan-eicher/pybindgen/py3k
2013-07-28 12:20:46 +01:00
Gustavo Carneiro
6ab20e6d03
Merge from trunk
2013-07-27 19:45:53 +01:00
Gustavo Carneiro
f8943e6719
Make it work on Python 3, except gccxml, which has not been tested
2013-07-27 17:18:06 +01:00
Gustavo Carneiro
cabd8ab4c8
Tweak the figures and add them to version control, so that readthedocs can include them
2013-07-23 11:22:29 +01:00
Gustavo Carneiro
2bc0b9e01f
Update README
2013-07-20 18:31:08 +01:00
Gustavo Carneiro
c0c83bfb82
For convenience, add a setup.py
2013-07-20 18:17:04 +01:00
Gustavo Carneiro
1e088a22e2
Tolerate missing version
2013-07-20 16:13:48 +01:00
Gustavo Carneiro
32647ed695
Tolerate import version failing
2013-07-20 16:04:04 +01:00
Gustavo Carneiro
f4b50afda6
Fix a compilation warning in the unit tests
2013-02-21 18:56:30 +00:00
Gustavo Carneiro
72e322b10f
Indent with spaces, not tabs.
2012-12-16 21:09:00 +00:00
Gustavo Carneiro
ffbe3a7a39
Merge lp:~mikeowen/pybindgen/pybindgen-containers, minus cross_module_inheritance.
2012-12-16 17:38:38 +00:00
Gustavo Carneiro
729cdedce4
Remove Mike's cross_module_inheritance example, there is a better way.
2012-12-16 17:36:59 +00:00
Gustavo Carneiro
647888c064
Add a cross-module import example
2012-12-15 19:20:17 +00:00
Mike Owen
782aced20b
Adding a unit test of cppclass.add_custom_instance_attribute. I think
...
this completes tests of all our new features for pybindgen in this
branch.
2012-12-11 22:42:19 -08:00
Mike Owen
d937627c70
1. Putting in logic to only build the boost::shared_ptr test when
...
the shared_ptr header is available.
2. The type narrowing using cxxabi in cppclass.py isn't correct with
clang, so adding a #if checks to exclude it in that case.
2012-12-11 22:10:45 -08:00
Mike Owen
8fe7c68b7f
Testing shows we forgot to keep the cppcustomattribute import in cppclass.
2012-12-11 16:47:36 -08:00
Mike Owen
cd928374b0
The cross module inheritance example is now working. Aside from my figuring out waf, there
...
are two key things that were necessary:
1. We have to turn off the -fvisibility=hidden flag, since this hides the symbols in our
shared libraries from others. There's probably a better way to handle this, but this
is expedient for now.
2. Since I'm testing with GNU compilers & linkers, I have to use the magic lines in python
before importing the inter-dependent modules (see test_cross_module_inheritance.py):
import sys, ctypes
sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)
This shouldn't be necessary on all platforms.
2012-12-11 16:01:44 -08:00
Mike Owen
8b334800da
Working on getting the darn cross module thing to compile with waf. We're almost there, but I think we
...
need to figure how to tell it to link to A.
2012-12-11 10:58:01 -08:00