Commit Graph
346 Commits
Author SHA1 Message Date
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
Gustavo J. A. M. Carneiro 6016a461db fix bad assertion 2008-01-06 14:04:04 +00:00
Gustavo J. A. M. Carneiro 2b0d145731 Register class aliases also in the low level typehandlers.base type registry, in addition to the gccxmlparser one. 2008-01-06 11:56:06 +00:00
Gustavo J. A. M. Carneiro 7ac6f11ce1 Don't restrict exported symbols. 2008-01-06 11:47:17 +00:00
Gustavo J. A. M. Carneiro 0644251956 Split the gccxmlparser.ModuleParser.parse() method into several smaller methods, to allow greater customization and flexibility. 2008-01-05 15:00:18 +00:00
Gustavo J. A. M. Carneiro 18b2194da9 cleanup 2008-01-05 14:45:35 +00:00
Gustavo J. A. M. Carneiro b689db481f Don't wrap 'peekref' methods 2008-01-04 19:36:26 +00:00
Gustavo J. A. M. Carneiro 870201445c Fix issue with templated classes being registered with invalid name. 2008-01-04 19:08:47 +00:00
Gustavo J. A. M. Carneiro bbfbe4702e Add general support for templated classes (previously only classes with non-templated typedefs were allowed). 2008-01-04 18:22:57 +00:00
Gustavo J. A. M. Carneiro 68cb0dc934 Fix method def flags handling of the aggregator wrapper generated by overloading.py 2008-01-04 00:54:38 +00:00
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 49c1058f18 Fix bug: printing bogus error message for virtual methods returning void/None. 2008-01-02 19:20:08 +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 76c1e4e888 In classes' tp_init wrappers, create an instance of the helper class only if called from a subclass, else create a regular pure C++ original class. 2008-01-02 17:30:55 +00:00
Gustavo J. A. M. Carneiro f48e3618a6 More effectively disable the helper class when pure virtual methods are found that cannot be generated. 2008-01-02 16:06:13 +00:00
Gustavo J. A. M. Carneiro 7359345adc Don't call parent virtual if it is private 2008-01-02 15:45:29 +00:00
Gustavo J. A. M. Carneiro c7a58212be Don't create a helper class if is_singleton is true (because the destructor will likely be private) 2008-01-02 15:29:25 +00:00