Commit Graph
50 Commits
Author SHA1 Message Date
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 48bf9295e3 Support protected constructors 2008-01-02 14:58:30 +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 7e40babbe9 Implicit conversions for references only work when the references are const. 2007-12-28 00:59:19 +00:00
Gustavo J. A. M. Carneiro d6ed6dac06 Fix 'class has virtual functions but non-virtual destructor' warning 2007-12-26 11:03:17 +00:00
Gustavo J. A. M. Carneiro 70e1d38da8 improved error handling in gccxmlparser 2007-12-23 14:16:17 +00:00
Gustavo J. A. M. Carneiro 888777148f Add a framework for letting the user handle errors of functions and methods but possibly just ignore them and move on. 2007-12-23 00:08:13 +00:00
Gustavo J. A. M. Carneiro 0d6bf99699 Add 'ignore' annotation support, allowing to ignore functions and methods. 2007-12-22 18:25:18 +00:00
Gustavo J. A. M. Carneiro 09fe4aae08 scan for and support functions and methods with explicit template parameters 2007-12-21 19:17:56 +00:00
Gustavo J. A. M. Carneiro c90ade54a4 handle C++ class return values by inline 'FooBar retval = something(...);', for classes that have a private constructor and a friend factory function 2007-12-21 16:46:35 +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 63bc4a3cb7 Make one of the annotations multi-line, for demonstration purposes. 2007-12-01 15:11:56 +00:00
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 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 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 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 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 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 7d9f987e48 Support overloaded functions. 2007-06-18 11:44:26 +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 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 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 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 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 214b0797b2 fix cpp class wrappers (missing tp_alloc/new/free) 2007-06-02 16:16: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 a0cd17dbdb Add an example 2007-05-31 17:58:02 +01:00