Gustavo J. A. M. Carneiro
|
7d5b1ebff1
|
Define stack_where_defined much earlier
|
2008-06-08 22:15:42 +01:00 |
|
Gustavo J. A. M. Carneiro
|
fc23042b8e
|
Add a 'stack_where_defined' to all added wrappers; this way it is possible, in the error handler, to tell the user exactly where is the code that causes the failure.
|
2008-06-08 22:02:42 +01:00 |
|
Gustavo J. A. M. Carneiro
|
d4d5e80e00
|
[bug #237524] Avoid using const_cast and reinterpret_cast, use C-style casts instead, so that the generated code compiles with a pure C compiler.
|
2008-06-06 12:39:05 +01:00 |
|
Gustavo J. A. M. Carneiro
|
d85131349a
|
Guard against code generation errors while adding a method object
|
2008-06-02 18:06:46 +01:00 |
|
Gustavo J. A. M. Carneiro
|
884091cce6
|
Add the dummy methods to helper classes as well, so that unwrapped pure virtual methods are detected and the helper class disabled
|
2008-05-25 21:43:38 +01:00 |
|
Gustavo J. A. M. Carneiro
|
c375b5b878
|
Delayed binding of parameter and return value specifiers, and improved error handling.
|
2008-05-25 19:53:38 +01:00 |
|
Gustavo J. A. M. Carneiro
|
0495cc26f8
|
Filter out duplicated helper class constructors
|
2008-05-24 15:26:00 +01:00 |
|
Gustavo J. A. M. Carneiro
|
ca9cafaeec
|
Remove a couple of FIXME exceptions
|
2008-05-23 19:10:33 +01:00 |
|
Gustavo J. A. M. Carneiro
|
8ff41f247c
|
Add virtual methods from parent classes for each class' helper class
|
2008-05-22 18:28:47 +01:00 |
|
Gustavo J. A. M. Carneiro
|
8834c97ff0
|
Avoid generating code that doesn't compile, when dealing with a combination of implicit conversions + abstract classes
|
2008-05-22 16:23:44 +01:00 |
|
Gustavo J. A. M. Carneiro
|
07a7701fcf
|
CppClass.add_*_attribute API change.
|
2008-05-19 16:55:50 +01:00 |
|
Gustavo J. A. M. Carneiro
|
ee6589e95d
|
Update tests/examples to use new add_constructor API
|
2008-05-19 14:19:15 +01:00 |
|
Gustavo J. A. M. Carneiro
|
0ae02adc89
|
New constructor API
|
2008-05-19 12:04:17 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f2efe6436b
|
doc fix
|
2008-05-19 11:50:22 +01:00 |
|
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 |
|