Commit Graph
40 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 1ee738f731 Fix storing subclass wrapper in a C++ library and later getting it back with the original wrapper preserved. 2007-08-24 13:57:10 +01:00
Gustavo J. A. M. Carneiro a579744742 test_subclassable_store_and_take_back 2007-08-23 23:48:34 +01:00
Gustavo J. A. M. Carneiro 91845a99f5 Make the test_subclass_with_virtual_transfer_ptr a bit more comprehensive. 2007-08-23 18:17:28 +01:00
Gustavo J. A. M. Carneiro 3bd8444f3a Fix problems with invoking virtual methods after transfer of ownership to a C++ library. 2007-08-23 18:12:11 +01:00
Gustavo J. A. M. Carneiro f00dafb32b Add some more tests to check garbage collection (not only python wrapper but also C++ object) 2007-08-22 21:24:04 +01:00
Gustavo J. A. M. Carneiro 0bf12ce266 Initial take on C++ virtual method support, with a python reference leak left unresolved 2007-08-22 19:22:18 +01:00
Gustavo J. A. M. Carneiro 152092b254 Add a garbage collection test 2007-08-19 17:52:12 +01:00
Gustavo J. A. M. Carneiro 7cd0467823 Implement allow_subclassing; fix PYBINDGEN_UNUSED usage. 2007-08-19 16:35:28 +01:00
Gustavo J. A. M. Carneiro bc69e7e825 Add a test case for the hidden subclass pointe return problem. 2007-08-18 15:27:37 +01:00
Gustavo J. A. M. Carneiro 3e059a48e5 Implement the automatic-c++-return-type-narrowing blueprint. 2007-08-16 23:22:36 +01:00
Gustavo J. A. M. Carneiro 411811200b Add support for overloaded C++ class constructors 2007-08-13 19:07:35 +01:00
Gustavo J. A. M. Carneiro 32bc7456a8 Add support for overloaded C++ class methods. 2007-08-13 17:57:47 +01:00
Gustavo J. A. M. Carneiro d7f4039eb2 Much improved parameter parsing error reporting of overloaded functions. 2007-06-18 22:11:58 +01:00
Gustavo J. A. M. Carneiro 7d9f987e48 Support overloaded functions. 2007-06-18 11:44:26 +01:00
Gustavo J. A. M. Carneiro 990ac8f6f6 Get static attribute setters finally working. 2007-06-16 18:20:44 +01:00
Gustavo J. A. M. Carneiro 4f28e14a1b implement C++ class static attribute through a metaclass rather than descriptor; unfortunately static attribute setters are still not working for some reason. 2007-06-16 17:38:42 +01:00
Gustavo J. A. M. Carneiro 094d666b28 Add code for static attribute setters, which unfortunately doesn't work due to Python limitations :-( 2007-06-10 23:43:30 +01:00
Gustavo J. A. M. Carneiro bdbd7926dc Generate setters for C++ class instance attributes. 2007-06-10 19:22:51 +01:00
Gustavo J. A. M. Carneiro 588f2fd885 Refactor class registration and generation; fix C++ static attribute getter to make it work from the class itself. 2007-06-07 18:14:33 +01:00
Gustavo J. A. M. Carneiro f8aed4cece API for wrapping C++ instance and static attributes; implement getter for instance attribute; getter for static attributes not fully working yet. None of the setters implemented. 2007-06-07 17:14:07 +01:00
Gustavo J. A. M. Carneiro 7388b2d56d fix compiler warnings 2007-06-07 12:00:17 +01:00
Gustavo J. A. M. Carneiro a3639efe18 win32 build fixes 2007-06-07 11:38:45 +01:00
Gustavo J. A. M. Carneiro 82c77ee63e Add support for C++ static methods. 2007-06-05 19:14:26 +01:00
Gustavo J. A. M. Carneiro 972e18f122 Fix the type transformations API, implement transformations for C++ class pointer types, and add example. 2007-06-04 22:13:10 +01:00
Gustavo J. A. M. Carneiro 6d131c4598 API change, to prepare for type handler transformations: Parameter('ctype', ...) becomes Parameter.new('ctype', ...), idem for ReturnValue. 2007-06-04 16:41:33 +01:00
Gustavo J. A. M. Carneiro e6949fb84e Add missing destructor in SomeObject; fixes all memory leaks reported by valgrind. 2007-06-04 14:36:13 +01:00
Gustavo J. A. M. Carneiro ab05a13e92 fix class refcount impl. 2007-06-04 14:05:26 +01:00
Gustavo J. A. M. Carneiro e34f4820b0 Add support for refence counted C++ classes. 2007-06-04 13:47:43 +01:00
Gustavo J. A. M. Carneiro 56958cd448 Add a new pybindgen.write_preamble() API, to write the #include <Python.h> and some other stuff needed to compile with Python < 2.5. 2007-06-03 23:09:11 +01:00
Gustavo J. A. M. Carneiro 65cc53d115 implement pass class object by reference (one test case failing atm due to another bug) 2007-06-03 22:15:43 +01:00
Gustavo J. A. M. Carneiro d29767462a add some unit tests for the built example 2007-06-03 19:14:59 +01:00
Gustavo J. A. M. Carneiro ccc2564d36 more c++ class as parameter/return handling 2007-06-03 18:09:59 +01:00
Gustavo J. A. M. Carneiro f738bceced c++ subclassing; c++ class forward parameter pass-by-value 2007-06-03 14:41:14 +01:00
Gustavo J. A. M. Carneiro eebacb19cb Add example interfaces to test a bunch of new stuff (c++ subclassing, class parameter handling) 2007-06-03 14:38:40 +01:00
Gustavo J. A. M. Carneiro db5cd27a5e don't install the example python module 2007-06-02 17:42:38 +01:00
Gustavo J. A. M. Carneiro 214b0797b2 fix cpp class wrappers (missing tp_alloc/new/free) 2007-06-02 16:16:23 +01:00
Gustavo J. A. M. Carneiro 67843fa924 refactor the build system to avoid generating .py[co] files in the source tree (which WAF doesn't like) 2007-06-02 15:02:23 +01:00
Gustavo J. A. M. Carneiro af6104a083 add support for C++ classes; some minor bug remaining, though. 2007-06-01 19:39:31 +01:00
Gustavo J. A. M. Carneiro 766ba4c858 workaround a WAF bug 2007-05-31 18:43:55 +01:00
Gustavo J. A. M. Carneiro a0cd17dbdb Add an example 2007-05-31 17:58:02 +01:00