Commit Graph
179 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro e38db6ff64 Don't wrap incref/decref methods. 2007-11-21 17:15:33 +00:00
Gustavo J. A. M. Carneiro bfe330d3af Free function annotations. 2007-11-21 16:48:23 +00:00
Gustavo J. A. M. Carneiro 2eec1af0fc Class annotations 2007-11-21 16:17:41 +00:00
Gustavo J. A. M. Carneiro 542dd52377 Fix C++ helper class generation 2007-11-21 15:38:43 +00:00
Gustavo J. A. M. Carneiro 5149912cdd Annotations 2007-11-21 15:23:55 +00:00
Gustavo J. A. M. Carneiro 040ef7b820 fix a variable declaration with invalid name 2007-11-21 12:00:29 +00:00
Gustavo J. A. M. Carneiro 6b5b822ffa Automatically disable the class constructor when a pure virtual method could not be generated, to avoid compilation errors. 2007-11-21 11:45:00 +00:00
Gustavo J. A. M. Carneiro 046a7a7148 Add float type handlers 2007-11-20 18:40:10 +00:00
Gustavo J. A. M. Carneiro aca1812834 Scan class methods and attributes 2007-11-20 16:46:06 +00:00
Gustavo J. A. M. Carneiro 4f62aa948c More work in progress for the pygccxml based header file scanner. 2007-11-19 23:59:21 +00:00
Gustavo J. A. M. Carneiro 51c33d3a72 Start of a pygccxml based source code scanner; so far it parses enums and free functions, and only handles parameters that don't require information other than type and name. 2007-11-17 18:28:00 +00:00
Gustavo J. A. M. Carneiro b75589b167 Canonicalize (add a :: prefix if it doesn't have one already) registered type names. 2007-11-17 18:25:44 +00:00
Gustavo J. A. M. Carneiro 55af66fc92 Move the function write_preamble() to a separate source file, utils.py 2007-11-17 18:24:13 +00:00
Gustavo J. A. M. Carneiro f994a25cc7 merge 2007-11-17 14:43:47 +00:00
Gustavo J. A. M. Carneiro 703ebb5106 Add support for singleton classes (which have a private destructor) 2007-11-16 18:18:59 +00:00
Gustavo J. A. M. Carneiro ba82f50ada Basic enumerations done, update README Planned section. 2007-09-27 14:14:04 +01:00
Gustavo J. A. M. Carneiro 900ba6143b Add simplistic support for enum types. Could be improved... 2007-09-25 15:34:51 +01:00
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