Commit Graph
162 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 29cebcc943 Update planned/completed features. 2007-09-25 14:17:59 +01:00
Gustavo J. A. M. Carneiro 1cbd009a48 s/String/CString/ 2007-09-24 14:48:15 +01:00
Gustavo J. A. M. Carneiro 49040fae40 Rename StringParam to CStringParam (less ambiguity) 2007-09-24 14:27:19 +01:00
Gustavo J. A. M. Carneiro 263d3447e8 Add missing get_c_error_return() impl in StringReturn 2007-09-24 14:15:33 +01:00
Gustavo J. A. M. Carneiro dafcb0712f Patch from Mark Lee (Bug #144360): add support for more basic types (unsigned int, char, string) 2007-09-24 14:12:03 +01:00
Gustavo J. A. M. Carneiro 2709085732 Update to WAF trunk API. 2007-09-16 19:20:10 +01:00
Gustavo J. A. M. Carneiro 9b086f6579 fix accidental garbage introduced 2007-09-16 18:42:20 +01:00
Gustavo J. A. M. Carneiro a30961eba7 Add support for PyObject* types (untested) 2007-09-13 16:19:31 +01:00
Gustavo J. A. M. Carneiro d100de1a5b Fix Bug #138344: Generic C++ functions can't be assigned to a method in python. 2007-09-09 23:16:25 +01:00
Gustavo J. A. M. Carneiro 5b7ae2645d Support C++ instance attributes through getter/setter methods (Bug #136993) 2007-09-08 23:29:59 +01:00
Gustavo J. A. M. Carneiro 7fdd88415d Update NEWS 0.7.0 2007-09-02 21:28:53 +01:00
Gustavo J. A. M. Carneiro 97d03d682c Implement and test CppClassPtrParameter c_to_python conversion. 2007-08-30 18:43:06 +01:00
Gustavo J. A. M. Carneiro 236e26ce7f Add a missing const_cast if the parameter is const. 2007-08-30 17:59:46 +01:00
Gustavo J. A. M. Carneiro 9644fb7db5 Support for const parameters; support virtual proxy wrappers with C++ class reference parameters. 2007-08-30 14:49:27 +01:00
Gustavo J. A. M. Carneiro 72281f3f4f Implement convert_c_to_python of CppClassParameter; add corresponding unit test using virtual methods. 2007-08-29 19:10:11 +01:00
Gustavo J. A. M. Carneiro ab8b1e1c76 implement custodian/ward in cpp pointer parameters 2007-08-29 14:42:19 +01:00
Gustavo J. A. M. Carneiro cdb2eacc20 Add a _before_return_hook hook method of forward wrappers, that can be used to insert code to post-process parameters and return value. 2007-08-29 12:48:16 +01:00
Gustavo J. A. M. Carneiro 4dcee720bb Add unit tests for parameter-as-ward forthcoming implementation. 2007-08-29 00:44:04 +01:00
Gustavo J. A. M. Carneiro 74bbf349d1 Add custodian API to CppClassPtrParameter; refactor CppClassReturn*, adding a common base class CppClassReturnValueBase. 2007-08-29 00:09:07 +01:00
Gustavo J. A. M. Carneiro ba6bd44cf8 implement custodianship of C++ class pointer return types, and fix a couple of bugs on the way. 2007-08-28 22:35:13 +01:00
Gustavo J. A. M. Carneiro f421789f65 Add possible API and unit tests for pointer-to-class return value with a custodian. 2007-08-28 18:48:55 +01:00
Gustavo J. A. M. Carneiro b8e051c6f5 Implement implicit conversions. 2007-08-27 00:39:51 +01:00
Gustavo J. A. M. Carneiro 2d682f08b0 Implicit conversions only make sense in by-value parameter passing. 2007-08-26 14:49:04 +01:00
Gustavo J. A. M. Carneiro 1ae5e1f949 Add API and unit tests for the implicit conversions support soon to be implemented. 2007-08-26 14:18:52 +01:00
Gustavo J. A. M. Carneiro b9660c625c Assorted C++ namespace support fixes. 2007-08-25 19:36:55 +01:00
Gustavo J. A. M. Carneiro 7b07aee7e3 Add waf option to generate pybindgen/version.py 2007-08-25 15:49:19 +01:00
Gustavo J. A. M. Carneiro aa7d7d1e39 Add propert support for C++ namespaces and Python submodules. 2007-08-25 15:37:17 +01:00
Gustavo J. A. M. Carneiro 469748b098 Support wrapping namespaced functions, in an ugly preliminary way. 2007-08-24 17:59:46 +01:00
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 0401bc1904 Use PyObject_GC_New instead of PyObject_New when appropriate. 2007-08-23 23:45:27 +01:00
Gustavo J. A. M. Carneiro e1295544a3 Initialize wrapper->inst_dict everywhere 2007-08-23 23:40:22 +01:00
Gustavo J. A. M. Carneiro 477a2c66d5 Avoid 'unused parameter' warnings in Functions 2007-08-23 18:28:00 +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 dde8a99c29 Check that self->obj isn't NULL before probing its typeid in tp_traverse 2007-08-23 17:38:17 +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 d98e23078b Fix bad code indentation 2007-08-22 21:08:26 +01:00
Gustavo J. A. M. Carneiro e59f03261a Fix reference leak in user subclass 2007-08-22 20:02:47 +01:00
Gustavo J. A. M. Carneiro 536864b8bd Check that programmer doesn't add virtual methods to a class with subclassing disabled. 2007-08-22 19:39:00 +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 b969b9af80 break some too long lines 2007-08-21 12:20:42 +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 e6cd9187b7 Add a allow_subclassing option to C++ classes, although it is not yet implemented. 2007-08-19 13:19:32 +01:00
Gustavo J. A. M. Carneiro ad42012956 fix missing compiler error message 2007-08-18 17:27:13 +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 885a4090f5 Fix bad placement of PYBINDGEN_UNUSED which doesn't compile with gcc 2.95 2007-08-18 14:45:45 +01:00
Gustavo J. A. M. Carneiro dcec55fb80 Write a dedicated pybindgen::TypeMap class to contain all the python-wrapper-from-typeinfo logic, and make it work for compilers without cxxabi.h 2007-08-18 14:44:42 +01:00
Gustavo J. A. M. Carneiro 871c5af470 Get doctests from pybindgen.module 2007-08-18 13:47:42 +01:00