Commit Graph
83 Commits
Author SHA1 Message Date
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 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 e04c3e7d28 Don't inherit default constructors by default; the gccxml frontend already does
that by other means; now the caller has to call a method if he wants this
behaviour.
2007-12-30 18:22:05 +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 299a5e1577 Only run the autogeneration tests if gccxml and pygccxml are detected in the system. 2007-12-01 16:05:12 +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 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