Gustavo J. A. M. Carneiro
|
20b5de3385
|
CppClass.add_method simplifications
|
2008-05-18 21:49:37 +01:00 |
|
Gustavo J. A. M. Carneiro
|
80e0c2897b
|
Add a CppClass mangled_full_name attribute.
|
2008-05-04 01:33:03 +01:00 |
|
Gustavo J. A. M. Carneiro
|
3732021ead
|
register class aliases with the module type registry as well
|
2008-05-01 19:45:50 +01:00 |
|
Gustavo J. A. M. Carneiro
|
a01f1e4e04
|
documentation work
|
2008-04-29 22:25:24 +01:00 |
|
Gustavo J. A. M. Carneiro
|
5af610271e
|
Remove the typeid stuff from tp_traverse; it does not seem to be needed anymore (don't remember why I added it in the first place...).
|
2008-04-28 15:55:16 +01:00 |
|
Gustavo J. A. M. Carneiro
|
5d8f76b2c6
|
Add missing support for the combination of CppClass parameter wich has implicit conversions (to it) and also a default value.
|
2008-04-24 00:32:03 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f03583993e
|
Try to convert unicode objects to str if they're ascii, rather than asserting they're already str objects.
|
2008-04-23 11:11:24 +01:00 |
|
Gustavo J. A. M. Carneiro
|
810a286f8f
|
More correct handling of default values
|
2008-04-21 17:56:02 +01:00 |
|
Gustavo J. A. M. Carneiro
|
538a65cacf
|
Support C++ class reference parameters with default values (crazy as it may sound)
|
2008-04-20 19:54:01 +01:00 |
|
Gustavo J. A. M. Carneiro
|
eb8d2551f6
|
Implement parameter default value for CppClass parameters
|
2008-04-06 13:10:09 +01:00 |
|
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
|
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
|
9c9e6fd87f
|
C related bug fixes
|
2008-03-09 18:42:48 +00:00 |
|
Gustavo J. A. M. Carneiro
|
c2731d1605
|
minor bug fixes
|
2008-03-08 21:32:01 +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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
17566106e5
|
Get function-as-method working again (had been recently broken).
|
2007-12-28 01:08:00 +00:00 |
|
Gustavo J. A. M. Carneiro
|
8f8f2bf7f5
|
Add support for custom names of template instantiation methods.
|
2007-12-27 20:13:28 +00:00 |
|
Gustavo J. A. M. Carneiro
|
439c725445
|
don't generate a 'parent caller' method if it's a pure virtual method.
|
2007-12-26 17:12:05 +00:00 |
|
Gustavo J. A. M. Carneiro
|
48949a6cae
|
Bug fix: don't write declaration for a virtual method that cannot be generated.
|
2007-12-26 16:59:56 +00:00 |
|