Gustavo J. A. M. Carneiro
e476fd95fb
more sphinx work
2009-12-08 19:19:39 +00:00
Gustavo J. A. M. Carneiro
ecc24f0710
Experimenting with sphinx documentation, work in progress
2009-12-08 16:42:51 +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
fdf3481ef3
Add return_internal_reference option support, similar to boost::python.
2009-12-02 15:02:38 +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
f14c9f41e5
Split a new CppClassRefReturnValue out from CppClassReturnValue, because some options make no sense for value return
2009-12-01 17:15:39 +00:00
Gustavo J. A. M. Carneiro
bd0e3c329f
Implement reference_existing_object also for Class& return values
2009-12-01 15:12:59 +00:00
Gustavo J. A. M. Carneiro
21c91f4e99
Add some source code comments, CppClassPtrReturnValue.convert_c_to_python is a long and complicated piece of code...
2009-11-30 19:10:10 +00:00
Gustavo J. A. M. Carneiro
240b014c6c
Before appending to __wards__ list, check to see if the object is already there
2009-11-21 22:30:59 +00:00
Gustavo J. A. M. Carneiro
b1c86c27d9
fix memleak in test code
2009-11-21 22:11:37 +00:00
Gustavo J. A. M. Carneiro
4d948da999
valgrind option
2009-11-21 22:11:07 +00:00
Gustavo J. A. M. Carneiro
2c6532cd65
Now the 'custodian' option only manages the lifecycle of the python wrapper, not the contained C++ object. To manage the C++ object, now 'transfer_ownership', 'caller_owns_return', or the new 'reference_existing_object', must be given in addition to 'custodian'.
2009-11-21 21:49:47 +00:00
Gustavo J. A. M. Carneiro
1433a3b5ce
Enable verbose unit tests if -v given in waf check
2009-11-21 21:47:25 +00:00
Mike Owen
0f28fa25ee
Add a missing Py_DECREF in the sq_item slot wrapper.
2009-11-18 22:31:57 +00:00
Gustavo J. A. M. Carneiro
881b1b6f01
bug fixes from previous commit
2009-11-17 16:10:28 +00:00
Gustavo J. A. M. Carneiro
fa575f1ca7
merge
2009-11-17 16:03:47 +00:00
Gustavo J. A. M. Carneiro
6535a3221a
Fix scanning to place template instantiation near the section of the template arguments
...
Add a new get_section_precedence virtual method support to class PygenClassifier. This is used to possibly place the template instantiation class in the proper code section. Fixes a problem in ns-3...
2009-11-17 15:54:34 +00:00
Gustavo J. A. M. Carneiro
a9c4ffce9f
test a bit more the custodian code
2009-11-15 16:50:14 +00:00
Gustavo J. A. M. Carneiro
cf0b7aefba
By popular demand, and a waf binary to the source code repository
2009-11-06 17:28:18 +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
9864c52786
Don't postpone scanning class due to implicit target not registered if the target is not a user class.
2009-10-25 15:57:51 +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
71a01435d7
Fix bad bool parameter default value handling
2009-09-30 21:54:42 +01:00
Gustavo J. A. M. Carneiro
3b51acd664
Add test case for bug #436154
2009-09-30 18:34:58 +01:00
Gustavo J. A. M. Carneiro
3e4270a610
Bug fix
2009-09-16 13:06:59 +01:00
Gustavo J. A. M. Carneiro
5cfc2f4e5f
fix docstring
0.12.0
2009-09-01 14:34:42 +01:00
Gustavo J. A. M. Carneiro
eb1ad5bafc
Update NEWS
2009-09-01 14:31:35 +01:00
Gustavo J. A. M. Carneiro
c341e94a89
Fix issue with duplicate parent callers
2009-08-27 23:49:09 +01:00
Gustavo J. A. M. Carneiro
551f2d5ee9
Simplify
2009-08-27 23:46:29 +01:00
Gustavo J. A. M. Carneiro
d365676f39
Support default_value for boolean type handler
2009-08-27 23:46:04 +01:00
Gustavo J. A. M. Carneiro
bc901e5091
Fix 'right' parameter type checking in CppClass.add_binary_numeric_operator.
2009-08-27 15:08:19 +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
1294522f2a
Add foreign_cpp_namespace option to CppException, and tests using std::exception.
2009-08-27 12:28:00 +01:00
Gustavo J. A. M. Carneiro
b08fa7a015
Don't add method table entries for sequence methods registered via slots
2009-08-26 17:48:58 +01:00
Gustavo J. A. M. Carneiro
3fa347aad4
gccxml-scanning for exceptions and throw modifiers, semi-automatic, with help of annotation
2009-08-24 14:46:05 +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
f14f0a8f20
mem fixes
2009-08-23 19:16:26 +01:00
Gustavo J. A. M. Carneiro
1fcb8501e8
Add API to basically wrap C++ exceptions and catch them in free function calls.
2009-08-23 19:05:43 +01:00
Gustavo J. A. M. Carneiro
fb03630cd6
cleanup
2009-08-23 15:51:19 +01:00
Gustavo J. A. M. Carneiro
814d648c02
one more test
2009-08-22 23:54:07 +01:00
Gustavo J. A. M. Carneiro
c36e5697dc
Make the gccxml scanning tests pass
2009-08-22 22:57:52 +01:00
Gustavo J. A. M. Carneiro
2d11f154b5
New API to add container iteration powers to wrapped C++ classes. gccxml-scanning part missing.
2009-08-21 19:24:33 +01:00
Gustavo J. A. M. Carneiro
5182f445a2
Add unit test for int* out parameter
2009-08-20 11:59:22 +01:00
Gustavo J. A. M. Carneiro
6696eb575e
Add custom_name support for wrapped classes
2009-08-18 15:11:53 +01:00
Gustavo J. A. M. Carneiro
83fd77a11a
gccxml-scan for unary operators
2009-08-18 14:27:07 +01:00
Gustavo J. A. M. Carneiro
fe7e43dd2c
eliminate excessive warnings
2009-08-18 14:10:55 +01:00
Gustavo J. A. M. Carneiro
12926ef525
Add unit test for unary minus
2009-08-16 15:01:43 +01:00
Gustavo J. A. M. Carneiro
e469bbb4e5
Add foreign_cpp_namespace option to Function wrappers
2009-08-16 14:35:12 +01:00