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
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
3b51acd664
Add test case for bug #436154
2009-09-30 18:34:58 +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
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
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
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
12926ef525
Add unit test for unary minus
2009-08-16 15:01:43 +01:00
Gustavo J. A. M. Carneiro
6fb7893729
#401742 numeric operators with non-class right operand need more polish
2009-07-27 15:49:22 +01:00
Gustavo J. A. M. Carneiro
f5a5182ff2
add pure+protected virtual method test
2009-07-16 17:39:02 +01:00
Gustavo J. A. M. Carneiro
487ca5cab6
Fix warning: ‘class xpto’ has virtual functions but non-virtual destructor
2009-07-12 14:58:22 +01:00
Gustavo J. A. M. Carneiro
f209739270
sequence protocol unit tests
2009-07-07 16:16:56 +01:00
Gustavo J. A. M. Carneiro
7c54658a57
merge
2009-07-07 12:09:04 +01:00
Gustavo J. A. M. Carneiro
117b44b8f9
Add unit tests for inplace numeric operators
2009-07-07 11:51:28 +01:00
Gustavo J. A. M. Carneiro
4621de8d5b
After passing object reference to python code, do not use the copy constructor if the class has none.
2009-06-30 14:27:17 +01:00
Gustavo J. A. M. Carneiro
4ba1009c57
Add a unit test with virtual method and a inout object ref parameter
2009-06-28 16:59:59 +01:00
Gustavo J. A. M. Carneiro
f3f4e7df9c
Implement support for enum reference parameters
2009-05-28 12:12:12 +01:00
Gustavo J. A. M. Carneiro
2476cba49c
Add a docstring parameter for CppClass / Module.add_cpp_class
2009-05-07 17:36:20 +01:00
Gustavo J. A. M. Carneiro
4afd533b9f
Better support for typedefs
2009-04-29 18:47:36 +01:00
Gustavo J. A. M. Carneiro
7cfde86812
Add rudimentary support for std::map containers.
2009-04-27 18:17:21 +01:00
Gustavo J. A. M. Carneiro
7c720caaaa
More waf fixes
2009-04-27 18:16:27 +01:00
Gustavo J. A. M. Carneiro
fe2e72064b
build fixes
2009-01-14 11:08:45 +00:00
Gustavo J. A. M. Carneiro
9f3a4be4ab
Fix -Wextra warnings
2008-12-31 18:02:51 +00:00
Gustavo J. A. M. Carneiro
b3f3c6692f
Unit tests now run with a forked waf (lp:~gjc/waf/cmd)
2008-12-13 22:30:20 +00:00
Gustavo J. A. M. Carneiro
f83eda61a4
merge
2008-12-10 18:57:20 +00:00
Gustavo J. A. M. Carneiro
34cf5869ec
Partial support for pointer-to-container parameters
2008-12-10 12:11:45 +00:00
Gustavo J. A. M. Carneiro
dab99a066b
Allow installation even if C/C++ compiler was not detected by WAF
2008-11-19 15:22:06 +00:00
Gustavo J. A. M. Carneiro
73bce2deef
Fix compiler warnings
2008-11-18 14:43:38 +00:00
Gustavo J. A. M. Carneiro
479486f893
merge
2008-11-17 17:38:14 +00:00
Gustavo J. A. M. Carneiro
d29932f411
Partially support the new WAF 1.5 branch
2008-11-17 16:54:17 +00:00
Gustavo J. A. M. Carneiro
a12ae4c5d3
Check for anonymous types when wrapping member variables, and skip them for now, as they cause bad code to be generated.
2008-10-15 18:13:10 +01:00
Gustavo J. A. M. Carneiro
259bb357f1
Wrap C++ arithmetic operators
2008-10-06 15:36:44 +01:00
Gustavo J. A. M. Carneiro
b0336e7f06
Getting ready to support numeric operators...
2008-10-05 18:51:17 +01:00
Gustavo J. A. M. Carneiro
dad9e231b8
Add support for wrapping binary comparison operators
2008-10-04 22:52:39 +01:00
Gustavo J. A. M. Carneiro
169d3c9497
Disable profiling during unit tests (but make it trivial to re-enable)
2008-10-04 22:50:06 +01:00
Gustavo J. A. M. Carneiro
20b51a7f92
Add a unit test for scanning/wrapping output reference to container parameter (e.g.std::vector<std::string> &outVec)
2008-10-04 17:26:23 +01:00
Gustavo J. A. M. Carneiro
f8b5d2ba03
Scan for containers in class attributes, and assorted fixes
2008-09-15 16:10:36 +01:00
Gustavo J. A. M. Carneiro
a143441eac
Revamp type matching system and const handling, is_const becomes deprecated.
...
Now types are specified with consts inside the type string, is_const is deprecated. The ctypeparser utility module, previously only used to canonicalize type strings, is used more extensively throughout pybindgen to provide type traits and type manipulation, where needed. gccxml type traits no longer used as consequence.
2008-09-02 11:06:24 +01:00
Gustavo J. A. M. Carneiro
4e41b8c02e
Scanning of anonymous containers is now disabled by default, due to a bug in gccxml and the problems it causes.
2008-08-29 14:39:43 +01:00
Gustavo J. A. M. Carneiro
43b5953208
Now Container takes a container_type parameter instead of add_value_method, to make future tweaking of containers based on type easier and not require more API changes.
2008-08-27 15:39:22 +01:00
Gustavo J. A. M. Carneiro
4302316a3c
Filter out mapping containers for now; use the correct method to add a value for each container type, not always push_back.
2008-08-27 00:18:20 +01:00