Commit Graph
66 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 6f9eb9fd3c Change the annotations magic marker from -*- to -#-, to avoid confusion with emacs modelines; Add support for annotations inside C style comments (/* -#- ... -#- */). 2007-12-01 15:09:37 +00:00
Gustavo J. A. M. Carneiro 54450059f6 Add support for a automatic_type_narrowing annotation 2007-11-26 00:11:48 +00:00
Gustavo J. A. M. Carneiro 380d4ea591 Add annotation to override function name 2007-11-25 23:39:15 +00:00
Gustavo J. A. M. Carneiro efc4477850 function as method annotation 2007-11-25 23:16:47 +00:00
Gustavo J. A. M. Carneiro 681dbedce9 Add more annotations in the example header file. 2007-11-25 22:44:55 +00:00
Gustavo J. A. M. Carneiro 7902cd3d4f Add some of the missing annotations 2007-11-25 21:08:19 +00:00
Gustavo J. A. M. Carneiro 78d2aacfae Missing file from previous commit (autoscan unit test) 2007-11-25 21:07:05 +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 ffa37032db fix type transformations regression 2007-11-21 23:51:15 +00:00
Gustavo J. A. M. Carneiro 5149912cdd Annotations 2007-11-21 15:23:55 +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 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 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 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 b9660c625c Assorted C++ namespace support fixes. 2007-08-25 19:36:55 +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 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