Commit Graph
90 Commits
Author SHA1 Message Date
Gustavo Carneiro 71852b1158 remove gccxmlparser (in favour of castxmlparser) 2021-02-21 12:01:47 +00:00
Gustavo Carneiro a58737740e Add handling for "char" type default parameter value, closes #41 2020-12-21 09:55:10 +00:00
Tom Henderson a6321cc6a1 Add support for unordered_map 2020-11-21 15:21:00 -08:00
Cosmos Nicolaou 521091b1f1 improve tests 2020-03-09 17:23:16 -07:00
Cosmos Nicolaou a38f492984 add test 2020-03-05 14:07:08 -08:00
Gustavo Carneiro 8ff989232c fix for method returning const reference to a class, closes #21 2019-09-29 20:26:25 +01:00
Gustavo Carneiro f98f26cb7b WIP: trying to get castxmlparser to pass the unit tests 2018-03-04 19:06:08 +00:00
Kevin Stenerson c9a9de3371 Bug 1368538: Support translating C++ exception into Python's standard exceptions 2014-09-14 20:00:55 +01:00
Gustavo Carneiro e01398d91c Fix the gccxml-based unit tests 2014-02-02 18:55:53 +00:00
Gustavo Carneiro f4b50afda6 Fix a compilation warning in the unit tests 2013-02-21 18:56:30 +00:00
Mike Owen 782aced20b Adding a unit test of cppclass.add_custom_instance_attribute. I think
this completes tests of all our new features for pybindgen in this
branch.
2012-12-11 22:42:19 -08:00
Mike Owen 2560c98f5e 1. Debugged some of our new sequence methods and expanded on the error reporting a bit.
2.  Commenting out the automatic tp_hash method for now since it's not quite right.  We have to 
    go back and see why Riyaz originally reinstated that thing.

3.  Expanded the pybindgen unit tests of "VectorLike" to include all the new container slots.
2012-12-10 16:39:14 -08:00
Gustavo J. A. M. Carneiro c3f5dd8aae Trying, in vain, to reproduce bug #798383... 2012-05-04 18:31:31 +01:00
Gustavo J. A. M. Carneiro 2ae14a0852 Generation bug: local variables conflict with wrapper parameters 2012-03-18 22:28:23 +00:00
Gustavo J. A. M. Carneiro 0b7f23150b returning const* doesn't work with 'reference_existing_object' 2011-06-22 14:30:27 +01:00
Gustavo J. A. M. Carneiro b7094b55fe Add new destructor_visibility CppClass option 2011-06-16 11:49:20 +01:00
Gustavo J. A. M. Carneiro 3ac1a30e35 Bug #780945: Exception translation generates invalid code if return value is wrapped (i.e. not primitive) 2011-05-11 16:14:39 +01:00
Gustavo J. A. M. Carneiro 7ba02242f8 Add support for 'throw' annotations in functions and methods 2011-05-10 19:10:18 +01:00
Gustavo J. A. M. Carneiro 212ab88379 Fix a CStringReturn bug 2011-01-21 11:55:01 +00:00
Gustavo J. A. M. Carneiro 449883ba46 Fix multiple-inheritance bug 2010-04-16 12:56:47 +01:00
Gustavo J. A. M. Carneiro 7e44db96fd Fix some MSVC warnings 2010-02-16 18:54:51 +00:00
Gustavo J. A. M. Carneiro 40e90b93c2 Check for stdint.h; if not found use Paul Hsieh's pstdint.h. 2010-02-16 15:40:49 +00:00
Gustavo J. A. M. Carneiro 39db96d5b2 Add missing 'throw' modifiers as needed to method signatures in helper classes 2010-02-14 11:57:12 +00:00
Gustavo J. A. M. Carneiro 56475d27f8 Experimental support for multiple-inheritance. GccXml scanning part not done yet. 2010-01-30 22:01:22 +00:00
Gustavo J. A. M. Carneiro 121c1898d0 Add annotation support for instance attributes, and test pointer instance attribute. 2010-01-20 18:15:50 +00:00
Gustavo J. A. M. Carneiro 225436e711 Wrap enum pointer params 2010-01-19 11:00:21 +00:00
Gustavo J. A. M. Carneiro cdbc237f3a Wrap non-virtual protected methods as well 2010-01-17 18:01:42 +00:00
Gustavo J. A. M. Carneiro fdf3481ef3 Add return_internal_reference option support, similar to boost::python. 2009-12-02 15:02:38 +00:00
Gustavo J. A. M. Carneiro bd0e3c329f Implement reference_existing_object also for Class& return values 2009-12-01 15:12:59 +00:00
Gustavo J. A. M. Carneiro b1c86c27d9 fix memleak in test code 2009-11-21 22:11:37 +00:00
Gustavo J. A. M. Carneiro 2c6532cd65 Now the 'custodian' option only manages the lifecycle of the python wrapper, not the contained C++ object. To manage the C++ object, now 'transfer_ownership', 'caller_owns_return', or the new 'reference_existing_object', must be given in addition to 'custodian'. 2009-11-21 21:49:47 +00:00
Gustavo J. A. M. Carneiro 3bd577d87d Lots of custodian=xxx bug fixes 2009-11-03 18:30:18 +00:00
Gustavo J. A. M. Carneiro 9864c52786 Don't postpone scanning class due to implicit target not registered if the target is not a user class. 2009-10-25 15:57:51 +00:00
Gustavo J. A. M. Carneiro 8bec9ac902 Bug 450255: Invalid 'cannot generate a constructor' case 2009-10-21 18:30:48 +01:00
Gustavo J. A. M. Carneiro 3b51acd664 Add test case for bug #436154 2009-09-30 18:34:58 +01:00
Gustavo J. A. M. Carneiro 1294522f2a Add foreign_cpp_namespace option to CppException, and tests using std::exception. 2009-08-27 12:28:00 +01:00
Gustavo J. A. M. Carneiro 3fa347aad4 gccxml-scanning for exceptions and throw modifiers, semi-automatic, with help of annotation 2009-08-24 14:46:05 +01:00
Gustavo J. A. M. Carneiro d0f8984663 catch exceptions in constructors 2009-08-23 19:27:23 +01:00
Gustavo J. A. M. Carneiro 262c88f846 catch exceptions in method calls too 2009-08-23 19:16:42 +01:00
Gustavo J. A. M. Carneiro 1fcb8501e8 Add API to basically wrap C++ exceptions and catch them in free function calls. 2009-08-23 19:05:43 +01:00
Gustavo J. A. M. Carneiro 814d648c02 one more test 2009-08-22 23:54:07 +01:00
Gustavo J. A. M. Carneiro 2d11f154b5 New API to add container iteration powers to wrapped C++ classes. gccxml-scanning part missing. 2009-08-21 19:24:33 +01:00
Gustavo J. A. M. Carneiro 5182f445a2 Add unit test for int* out parameter 2009-08-20 11:59:22 +01:00
Gustavo J. A. M. Carneiro 12926ef525 Add unit test for unary minus 2009-08-16 15:01:43 +01:00
Gustavo J. A. M. Carneiro 6fb7893729 #401742 numeric operators with non-class right operand need more polish 2009-07-27 15:49:22 +01:00
Gustavo J. A. M. Carneiro f5a5182ff2 add pure+protected virtual method test 2009-07-16 17:39:02 +01:00
Gustavo J. A. M. Carneiro 487ca5cab6 Fix warning: ‘class xpto’ has virtual functions but non-virtual destructor 2009-07-12 14:58:22 +01:00
Gustavo J. A. M. Carneiro f209739270 sequence protocol unit tests 2009-07-07 16:16:56 +01:00
Gustavo J. A. M. Carneiro 7c54658a57 merge 2009-07-07 12:09:04 +01:00
Gustavo J. A. M. Carneiro 117b44b8f9 Add unit tests for inplace numeric operators 2009-07-07 11:51:28 +01:00