Commit Graph
45 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 49b0a6a26b Add support for parameter optional values, so far implemented only for int and double parameter types. 2008-04-06 12:57:34 +01:00
Gustavo J. A. M. Carneiro 9a8c41eee2 Improved algorithm for deciding if a class constructor can be generated due to pure virtual functions. 2008-03-24 15:37:20 +00:00
Gustavo J. A. M. Carneiro 06882321d8 Add support for customising an 'instance creation function', for cases when creating instances with new ClassName does not work (*cough*ns-3*cough*). 2008-02-05 22:45:12 +00:00
Gustavo J. A. M. Carneiro 63c1e58915 Add support for custom method wrappers. 2008-01-03 17:46:11 +00:00
Gustavo J. A. M. Carneiro ce56e9a994 Add support for custom function wrappers. 2008-01-03 17:09:04 +00:00
Gustavo J. A. M. Carneiro aae1dcfe7e Add peekref_method support, to solve an issue related to virtual methods, user classes, and reference counting. 2008-01-02 18:51:27 +00:00
Gustavo J. A. M. Carneiro 42805c021d Add support for protected/private virtual methods. 2008-01-02 13:28:22 +00:00
Gustavo J. A. M. Carneiro e3d3782153 Nested (inside classes) classes and enums. 2007-12-28 19:34:12 +00:00
Gustavo J. A. M. Carneiro ef161ef8d2 Add support for overloaded virtual methods. 2007-12-20 19:22:32 +00:00
Gustavo J. A. M. Carneiro 5558051698 Unit test automatic scanning and generation of the example API. 2007-11-25 16:35:36 +00: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 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 97d03d682c Implement and test CppClassPtrParameter c_to_python conversion. 2007-08-30 18:43:06 +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 4dcee720bb Add unit tests for parameter-as-ward forthcoming implementation. 2007-08-29 00:44:04 +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 aa7d7d1e39 Add propert support for C++ namespaces and Python submodules. 2007-08-25 15:37:17 +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 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 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 e34f4820b0 Add support for refence counted C++ classes. 2007-06-04 13:47:43 +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