Gustavo J. A. M. Carneiro
|
3ac1a30e35
|
Bug #780945: Exception translation generates invalid code if return value is wrapped (i.e. not primitive)
|
2011-05-11 16:14:39 +01:00 |
|
Gustavo J. A. M. Carneiro
|
d35303cc3b
|
Add some missing python wrapper flags initializations
|
2011-04-04 12:30:47 +01:00 |
|
Gustavo J. A. M. Carneiro
|
6727327367
|
Add __str__ for CppConstructor, to ease debugging
|
2011-03-30 18:06:07 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9c3d5c1a25
|
New API, CppClass.set_post_instance_creation_function, to meet ns3::Object's needs.
|
2010-05-06 13:51:33 +01:00 |
|
Gustavo J. A. M. Carneiro
|
8866cc905d
|
Tutorial: fix first-example URL, add MSVC build instructions from T Powers
|
2010-02-14 16:10:02 +00:00 |
|
Gustavo J. A. M. Carneiro
|
39db96d5b2
|
Add missing 'throw' modifiers as needed to method signatures in helper classes
|
2010-02-14 11:57:12 +00:00 |
|
Gustavo J. A. M. Carneiro
|
a6287ccc4b
|
Align virtual method handling code with other tools: to implement virtual method foo, now the user defines a method foo in Python, not _foo. Option pybindgen.settings.deprecated_virtuals added for backward compatibility.
|
2009-12-27 23:24:37 +00:00 |
|
Gustavo J. A. M. Carneiro
|
739a6675d7
|
sphinx-ify more docs
|
2009-12-21 19:22:22 +00:00 |
|
Gustavo J. A. M. Carneiro
|
880a838eae
|
convert existing api docs to sphinx format
|
2009-12-17 15:30:05 +00:00 |
|
Gustavo J. A. M. Carneiro
|
ac2f130176
|
Document add_custodian_and_ward
|
2009-12-08 15:13:08 +00:00 |
|
Gustavo J. A. M. Carneiro
|
b74e0a903a
|
custodians-and-wards: refactoring, add new API calls for greater flexibility
|
2009-12-02 12:17:35 +00:00 |
|
Gustavo J. A. M. Carneiro
|
3bd577d87d
|
Lots of custodian=xxx bug fixes
|
2009-11-03 18:30:18 +00:00 |
|
Gustavo J. A. M. Carneiro
|
8bec9ac902
|
Bug 450255: Invalid 'cannot generate a constructor' case
|
2009-10-21 18:30:48 +01:00 |
|
Gustavo J. A. M. Carneiro
|
4d03d58b41
|
In C++, method signatures don't include the return type. For ns-3 bug #723.
|
2009-10-16 18:57:07 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9b0d3a46ab
|
Add code to allow translation of the exception message into python
|
2009-08-27 14:28:35 +01:00 |
|
Gustavo J. A. M. Carneiro
|
d0f8984663
|
catch exceptions in constructors
|
2009-08-23 19:27:23 +01:00 |
|
Gustavo J. A. M. Carneiro
|
262c88f846
|
catch exceptions in method calls too
|
2009-08-23 19:16:42 +01:00 |
|
Gustavo J. A. M. Carneiro
|
b62a06ecb8
|
clear exception after checking if virtual method is implemented.
|
2009-07-30 17:45:37 +01:00 |
|
Gustavo J. A. M. Carneiro
|
40368aa390
|
Fix bug 400338: PyObject_HasAttrString check in virtual method wrappers does not work.
|
2009-07-16 18:27:51 +01:00 |
|
Gustavo J. A. M. Carneiro
|
47062e6522
|
is_pure_virtual=True should imply is_virtual=True
|
2009-07-16 17:49:46 +01:00 |
|
Gustavo J. A. M. Carneiro
|
0d0afd1b57
|
Try harder to make sure helper classes with missing pure virtual methods are not generated.
|
2009-05-28 15:31:17 +01:00 |
|
Robin Gilks
|
61975aa5ff
|
Add a docstring parameter to CppMethod constructor
|
2009-04-28 11:22:34 +01:00 |
|
Gustavo J. A. M. Carneiro
|
3b21d74c36
|
Missing wrapper in error handling
|
2008-10-12 17:47:35 +01:00 |
|
Gustavo J. A. M. Carneiro
|
af9c04c88b
|
Better error messages
|
2008-10-12 12:09:46 +01:00 |
|
Gustavo J. A. M. Carneiro
|
6d97fbf2f3
|
Clarify custom_name vs custom_template_method_name in the api docs.
|
2008-08-12 15:16:22 +01:00 |
|
Gustavo J. A. M. Carneiro
|
fe8dd4320f
|
more bug fixing (return without cleanup)
|
2008-08-05 19:19:44 +01:00 |
|
Gustavo J. A. M. Carneiro
|
3383ad6279
|
bug fixes (GIL, cleanup actions ordering)
|
2008-08-05 19:14:08 +01:00 |
|
Gustavo J. A. M. Carneiro
|
c54893328a
|
Python 2.3 compatibility fixes
|
2008-07-22 16:30:01 +01:00 |
|
Gustavo J. A. M. Carneiro
|
ceb4b9c2fe
|
Split the cppclass.py file, as it was getting too big: move type handlers into new source file cppclass_typehandlers.py.
|
2008-07-18 16:40:33 +01:00 |
|
Gustavo J. A. M. Carneiro
|
355ebb0665
|
For examples and unit tests, turn deprecation warnings into exceptions; fix cases where deprecations were being used.
|
2008-07-18 14:47:47 +01:00 |
|
Gustavo J. A. M. Carneiro
|
a1b3e1e0a1
|
Add API support for deprecations
|
2008-07-16 18:54:38 +01:00 |
|
Gustavo J. A. M. Carneiro
|
b0ed2c8954
|
Make str(CppMethod) work better with method objects with errors.
|
2008-07-11 12:17:57 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9998e16aa8
|
Fix CppMethod.clone bug (is_pure_virtual was not being copied)
|
2008-07-09 12:44:13 +01:00 |
|
Gustavo J. A. M. Carneiro
|
c3a7d4490a
|
Add a __str__ function to CppMethod, allowing to pretty-print a method description (great for debugging purposes).
|
2008-07-09 12:43:42 +01:00 |
|
Gustavo J. A. M. Carneiro
|
da8b7c17ed
|
Fixing bug #246069, did some bug fixing along the way (related to virtual method parent callers), before discovering the bug was invalid.
|
2008-07-09 11:30:36 +01:00 |
|
Gustavo J. A. M. Carneiro
|
bfbfcbdefe
|
Fix protected constructor issues.
|
2008-07-06 15:53:04 +01:00 |
|
Gustavo J. A. M. Carneiro
|
b809e6c15a
|
Don't even try to generate code for CppDummyMethod's, they were never meant to generate code.
|
2008-07-06 14:54:23 +01:00 |
|
Gustavo J. A. M. Carneiro
|
7850dfff7f
|
Allow add custom methods/functions with wrapper_body=None, useful when the wrapper body is defined in another compilation unit.
|
2008-06-28 18:12:02 +01:00 |
|
Gustavo J. A. M. Carneiro
|
285f9f3d68
|
Experimental multi-section (split generated C code over multiple files) code
|
2008-06-24 01:23:54 +01:00 |
|
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
|
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
|
c3ab54d71b
|
bug fix
|
2008-05-25 21:18:51 +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
|
a2f8ebcb25
|
Fix buggy CppMethod.matches_signature
|
2008-05-22 19:22:33 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9ab9fd8c00
|
Don't call a constructor, from a constructor wrapper, if it is not public
|
2008-05-22 18:53:52 +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
|
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
|
20b5de3385
|
CppClass.add_method simplifications
|
2008-05-18 21:49:37 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9bed1c4a45
|
Allow None to mean ReturnValue.new('void') for functions and methods.
|
2008-05-18 17:39:06 +01:00 |
|