Commit Graph
363 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 16035f7dc6 Remove the silly "Cannot add virtual methods if subclassing support was not enabled for this class" restriction. 2008-03-24 15:43:17 +00: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 7a4e9fea49 Add ability to add custom C++ class constructors. 2008-03-23 19:04:00 +00:00
Gustavo J. A. M. Carneiro c9ff6f535d Add CppClass.is_subclass method. 2008-03-23 19:03:38 +00:00
Gustavo J. A. M. Carneiro cfe32a71b3 Handle the utils.SkipWrapper exception when genering the constructor 2008-03-22 18:26:20 +00:00
Gustavo J. A. M. Carneiro fc7083eacc Check for the have_pure_virtual_methods flag recursively in parent classes. 2008-03-22 18:21:30 +00:00
Gustavo J. A. M. Carneiro a7bacc8315 Support adding constructors which generate an error exception (and therefore should be just gracefully ignored). 2008-03-22 16:30:39 +00:00
Gustavo J. A. M. Carneiro 6fbd1c3bf3 Apparently, in C++ implicit conversions are not transitive. 2008-03-22 14:51:00 +00:00
Gustavo J. A. M. Carneiro 944cef3e14 Re-implement implicit conversions using a non-combinatorial approach, for greater efficiency. 2008-03-21 18:10:42 +00:00
Gustavo J. A. M. Carneiro f9baba1bc9 Add __repr__ to CppClass 2008-03-16 19:17:02 +00:00
Gustavo J. A. M. Carneiro eee739fcdc template typedefs are not supposed to be incomplete types 2008-03-16 18:37:39 +00:00
Gustavo J. A. M. Carneiro d521e25769 Handle NotSupportedError pybindgen errors gracefully. 2008-03-16 18:26:02 +00:00
Gustavo J. A. M. Carneiro 4e3901e308 Fix bug with casting operators to non-class types. 2008-03-16 18:18:52 +00:00
Gustavo J. A. M. Carneiro 9c9e6fd87f C related bug fixes 2008-03-09 18:42:48 +00:00
Gustavo J. A. M. Carneiro c71e736144 Test the "typedef int Bool" handling. 2008-03-09 14:57:44 +00:00
Gustavo J. A. M. Carneiro 73edd70355 handle "typedef int Something;" 2008-03-08 21:47:28 +00:00
Gustavo J. A. M. Carneiro c2731d1605 minor bug fixes 2008-03-08 21:32:01 +00:00
Gustavo J. A. M. Carneiro 42ceadc2df Add news item (improved C support) 2008-03-02 21:31:24 +00:00
Gustavo J. A. M. Carneiro f105b2b865 Cleanup delete_code generation, fix unused tmp variable. 2008-03-02 21:28:32 +00:00
Gustavo J. A. M. Carneiro bd11af0076 fix the unit tests 2008-03-02 19:36:36 +00:00
Gustavo J. A. M. Carneiro 4f7fc5a758 cleanup 2008-03-02 19:36:25 +00:00
Gustavo J. A. M. Carneiro 74e2c92e3a Add support for changing the name by which a class is registered in python side 2008-03-02 19:31:56 +00:00
Gustavo J. A. M. Carneiro 4a86c2b617 is_constructor_of annotation; unit tests (not fully working yet) 2008-03-02 18:05:47 +00:00
Gustavo J. A. M. Carneiro d4c3999bc4 Add support for c-function-as-constructor (for is_constructor_of annotation). 2008-03-02 18:04:31 +00:00
Gustavo J. A. M. Carneiro e516167a5d Refactoring to support C structs as classes (typedef struct _Foo Foo). Work in progress... 2008-03-02 15:47:27 +00:00
Gustavo J. A. M. Carneiro 1d3da16f4c Add support for pre/post scan hooks. 2008-03-02 12:41:57 +00:00
Gustavo J. A. M. Carneiro beb11b3823 Add a sample C API based on functions operating over structures in a object oriented way; goal is to support this API in the future (not yet done) 2008-02-17 21:50:15 +00:00
Gustavo J. A. M. Carneiro 08624a0f85 Update README 2008-02-17 20:58:06 +00:00
Gustavo J. A. M. Carneiro afafe46456 Add a simple pure C example module. 2008-02-17 20:56:52 +00:00
Gustavo J. A. M. Carneiro fb5883b2cf cleanup 2008-02-10 15:50:23 +00:00
Gustavo J. A. M. Carneiro f6bdd912d0 Add support for helper class hook functions and adding custom methods to helper classes. 2008-02-10 15:42:41 +00:00
Gustavo J. A. M. Carneiro ac05926d88 Build extensions with the 'plugin' object type; should fix Mac OS X build. 2008-02-10 14:58:31 +00:00
Gustavo J. A. M. Carneiro c741d1c2f2 Update NEWS 2008-02-05 23:48:28 +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 d931ff818b cleanup 2008-02-05 22:40:34 +00:00
Gustavo J. A. M. Carneiro e1b038b0c5 Improve unit tests printed messages 2008-02-05 15:56:10 +00:00
Gustavo J. A. M. Carneiro f388c4aef9 Make sure the pure python unit tests only run at the end of the build. Makes 'waf check' work even if the project was not previously built. 2008-02-05 15:51:22 +00:00
Gustavo J. A. M. Carneiro cc71d0cfc4 MSVC compatibility fixes. 2008-01-26 00:52:29 +00:00
Gustavo J. A. M. Carneiro a9d11d62bf Fix typo in virtual method wrapper name 2008-01-25 23:31:56 +00:00
Gustavo J. A. M. Carneiro 5ca316d39e Update NEWS and README 2008-01-24 16:04:51 +00:00
Gustavo J. A. M. Carneiro a4e67a145c Fix incompatibilities with pygccxml 0.9 and Python 2.4 (I was testing with pygccxml HEAD and Python 2.5). 2008-01-24 15:58:00 +00:00
Gustavo J. A. M. Carneiro 6304d74af7 fix some build script bugs 2008-01-24 15:57:00 +00:00
Gustavo J. A. M. Carneiro 6e823cfad1 Fix try: .. except: .. finally: .. constructs to make them compatible with Python < 2.5. 2008-01-24 14:50:30 +00:00
Gustavo J. A. M. Carneiro 1156431cf4 Add batch file for Windows users. 2008-01-24 14:34:27 +00:00
Gustavo J. A. M. Carneiro ffeec264e8 Fix the generation of the Enum full_name to ensure it starts with ::, to be inline with the last changeset. 2008-01-14 13:54:47 +00:00
Gustavo J. A. M. Carneiro 7f966f04f4 Fix lookup of enum types; minor bug fix (forgot to check for pure virtual method that couldn't be generated, in one place) 2008-01-13 22:16:17 +00:00
Gustavo J. A. M. Carneiro 71e88bc282 Don't add :: prefix to C++ fundamental types 2008-01-06 22:53:31 +00:00
Gustavo J. A. M. Carneiro 33c786bfbf Discover the typeid map variable name as early as possible 2008-01-06 15:01:42 +00:00
Gustavo J. A. M. Carneiro 56f2b81907 Generate the typeid maps in the forward declarations section. 2008-01-06 14:51:49 +00:00
Gustavo J. A. M. Carneiro 1ea529db25 Allow calling Module.generate_forward_declarations early, make a subsequent call to Module.generate() not generate the declarations again. 2008-01-06 14:05:05 +00:00