Commit Graph
323 Commits
Author SHA1 Message Date
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
Gustavo J. A. M. Carneiro 31725ec8b5 cleanup 2008-01-02 15:18:28 +00:00
Gustavo J. A. M. Carneiro 80454da877 Don't crash on Class** types 2008-01-02 15:16:15 +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 ec119c2026 Remove the debug commented fprintf's 2008-01-01 18:31:41 +00:00
Gustavo J. A. M. Carneiro d23370aef0 Module init functions should just return on error, not call PyErr_Print() 2008-01-01 18:23:35 +00:00
Gustavo J. A. M. Carneiro ccc7724186 Make the tp_name slot of classes contain the full dotted notation of the type name, in order to pydoc not ignore the classes. 2007-12-31 22:51:09 +00:00
Gustavo J. A. M. Carneiro a232af5b10 Using the helper class as replacement for the real class, when not dealing with a real subclass, is nothing but trouble. 2007-12-30 18:37:31 +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 bdee7fa4b1 Use CppClass.pystruct instead of name wherever possible to avoid name conflicts. 2007-12-30 14:49:15 +00:00
Gustavo J. A. M. Carneiro fd2968d4d8 Don't wrap nested classes or enums that are private. 2007-12-30 14:33:39 +00:00
Gustavo J. A. M. Carneiro f7a0d46640 Fix problems with nested classes/enums and name clashes 2007-12-30 13:56:06 +00:00
Gustavo J. A. M. Carneiro 8d81c6031a Fix accidental commit error. 2007-12-30 12:49:15 +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 166eeb1c5a Fix bug in CppInstanceAttributeSetter 2007-12-28 15:26:56 +00:00
Gustavo J. A. M. Carneiro b7e1831e2a more integer type support.. 2007-12-28 15:01:39 +00:00
Gustavo J. A. M. Carneiro 4dd8911c7b Match int pointers with const; check that direction is given, only guess in the case of const int *. 2007-12-28 14:22:56 +00:00
Gustavo J. A. M. Carneiro b736bfdb6a Add 'long long unsigned int' as alias to uint64_t 2007-12-28 14:03:44 +00:00
Gustavo J. A. M. Carneiro a7aba40ba0 Add some support for int8_t* and uint8_t* parameters. 2007-12-28 14:01:03 +00:00
Gustavo J. A. M. Carneiro ea519c1b35 Add support for the type 'int64_t' (aka long long) 2007-12-28 13:37:55 +00:00
Gustavo J. A. M. Carneiro 4ba49678a0 Detect the problem of adding a overloaded method with multiple method flags (e.g. instance method vs static method with the same name) 2007-12-28 12:23:36 +00:00
Gustavo J. A. M. Carneiro 1265ff12b2 Support annotation to ignore whole classes. 2007-12-28 01:24:52 +00:00
Gustavo J. A. M. Carneiro 17566106e5 Get function-as-method working again (had been recently broken). 2007-12-28 01:08:00 +00:00