Gustavo J. A. M. Carneiro
|
0c2708ddea
|
Add support for calling methods with explicit template parameters.
|
2007-08-17 17:16:43 +01:00 |
|
Gustavo J. A. M. Carneiro
|
3e059a48e5
|
Implement the automatic-c++-return-type-narrowing blueprint.
|
2007-08-16 23:22:36 +01:00 |
|
Gustavo J. A. M. Carneiro
|
42e1ce5a6b
|
Add Module.add_include API and Module.header member (codesink)
|
2007-08-16 23:20:41 +01:00 |
|
Gustavo J. A. M. Carneiro
|
411811200b
|
Add support for overloaded C++ class constructors
|
2007-08-13 19:07:35 +01:00 |
|
Gustavo J. A. M. Carneiro
|
32bc7456a8
|
Add support for overloaded C++ class methods.
|
2007-08-13 17:57:47 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9c63aa2654
|
Refactor OverloadedFunction to pave way to reusing the same code for overloading also methods and constructors
|
2007-08-13 15:52:50 +01:00 |
|
Gustavo J. A. M. Carneiro
|
4fab186d96
|
Add a bunch of comments to OverloadedFunction.generate, since that code was getting difficult to read.
|
2007-08-13 15:22:19 +01:00 |
|
Gustavo J. A. M. Carneiro
|
6a231d85eb
|
Better handling of version.py
|
2007-08-13 14:46:36 +01:00 |
|
Gustavo J. A. M. Carneiro
|
d7f4039eb2
|
Much improved parameter parsing error reporting of overloaded functions.
|
2007-06-18 22:11:58 +01:00 |
|
Gustavo J. A. M. Carneiro
|
7d9f987e48
|
Support overloaded functions.
|
2007-06-18 11:44:26 +01:00 |
|
Gustavo J. A. M. Carneiro
|
5e34f977fe
|
Refactoring.
|
2007-06-17 13:32:59 +01:00 |
|
Gustavo J. A. M. Carneiro
|
b5652aedb7
|
Add my other email address.
0.5.0
|
2007-06-16 20:58:00 +01:00 |
|
Gustavo J. A. M. Carneiro
|
0eaea51ee0
|
Update NEWS.
|
2007-06-16 20:57:18 +01:00 |
|
Gustavo J. A. M. Carneiro
|
363c031649
|
Support 'const' C++ attributes.
|
2007-06-16 20:38:49 +01:00 |
|
Gustavo J. A. M. Carneiro
|
4e99f3ddf2
|
Implement some C++ class as return value reverse wrappers.
|
2007-06-16 19:59:23 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f4c2cbfe41
|
Add -fno-strict-aliasing when compiling with gcc (required by Python).
|
2007-06-16 18:25:44 +01:00 |
|
Gustavo J. A. M. Carneiro
|
990ac8f6f6
|
Get static attribute setters finally working.
|
2007-06-16 18:20:44 +01:00 |
|
Gustavo J. A. M. Carneiro
|
4f28e14a1b
|
implement C++ class static attribute through a metaclass rather than descriptor; unfortunately static attribute setters are still not working for some reason.
|
2007-06-16 17:38:42 +01:00 |
|
Gustavo J. A. M. Carneiro
|
01ce730a43
|
Run examples/footest.py on waf check.
|
2007-06-11 19:32:33 +01:00 |
|
Gustavo J. A. M. Carneiro
|
094d666b28
|
Add code for static attribute setters, which unfortunately doesn't work due to Python limitations :-(
|
2007-06-10 23:43:30 +01:00 |
|
Gustavo J. A. M. Carneiro
|
bdbd7926dc
|
Generate setters for C++ class instance attributes.
|
2007-06-10 19:22:51 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f5d218921a
|
C++ code reorganization, split into different files to make cppclass.py smaller.
|
2007-06-10 18:47:34 +01:00 |
|
Gustavo J. A. M. Carneiro
|
108ff9e583
|
ReturnValue s/retval/self.value/ fixes
|
2007-06-10 16:39:39 +01:00 |
|
Gustavo J. A. M. Carneiro
|
7f54d80279
|
Test all combinations of caller_owns_return and transfer_ownership.
|
2007-06-10 16:29:33 +01:00 |
|
Gustavo J. A. M. Carneiro
|
1afab01a94
|
tiny bug fix
|
2007-06-10 16:25:50 +01:00 |
|
Gustavo J. A. M. Carneiro
|
bf1d3ada64
|
improve tests to cover c++ class type handlers
|
2007-06-10 16:13:24 +01:00 |
|
Gustavo J. A. M. Carneiro
|
648cebc03b
|
Use the new ReturnValue.value attribute, instead of #define retval ... #undef hacks.
|
2007-06-10 15:06:49 +01:00 |
|
Gustavo J. A. M. Carneiro
|
98d2ac9a10
|
Define a 'value' attribute in ReturnValue objects, and use it instead of the
hardcoded 'retval' variable name.
|
2007-06-10 15:05:44 +01:00 |
|
Gustavo J. A. M. Carneiro
|
96989183b8
|
Fix Parameter implementations to use self.value instead of self.name where appropriate.
|
2007-06-10 14:00:47 +01:00 |
|
Gustavo J. A. M. Carneiro
|
11799bcf47
|
Fix missing self.declarations in CodeBlock.
|
2007-06-10 12:32:09 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9dbfcfe7a1
|
Simplify set/get_value/lvalue. It's becoming way too complicated, and not possible to guarantee correct code. Better just to have a simple 'value' attribute for now, defaulting to the parameter name.
|
2007-06-10 12:28:46 +01:00 |
|
Gustavo J. A. M. Carneiro
|
0e2de63d05
|
Make CodeBlock have an associated DeclarationsScope, so that you can call declare_variable on it. Add [gs]et_l?value() methods to Parameter, to dissociate the value/lvalue of a parameter from its name. Actual type handlers still need to be fixed, though.
|
2007-06-09 22:18:21 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f5bd95cde5
|
Add CodeBlock.indent/unindent methods (simple proxies to the code sink methods).
|
2007-06-09 14:45:14 +01:00 |
|
Gustavo J. A. M. Carneiro
|
7e856b3893
|
Update NEWS for new release.
0.4.0
|
2007-06-07 19:23:35 +01:00 |
|
Gustavo J. A. M. Carneiro
|
2db5dee8ef
|
Don't delete self->obj in the destructor if no usable constructor exists; prevents compilation error with singleton classes and private destructor.
|
2007-06-07 19:17:05 +01:00 |
|
Gustavo J. A. M. Carneiro
|
2d1a481594
|
More efficient attribute getters.
|
2007-06-07 18:45:16 +01:00 |
|
Gustavo J. A. M. Carneiro
|
588f2fd885
|
Refactor class registration and generation; fix C++ static attribute getter to make it work from the class itself.
|
2007-06-07 18:14:33 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f8aed4cece
|
API for wrapping C++ instance and static attributes; implement getter for instance attribute; getter for static attributes not fully working yet. None of the setters implemented.
|
2007-06-07 17:14:07 +01:00 |
|
Gustavo J. A. M. Carneiro
|
fc2a6c258d
|
Fix -Wall -Wextra compiler warnings.
|
2007-06-07 12:34:17 +01:00 |
|
Gustavo J. A. M. Carneiro
|
7388b2d56d
|
fix compiler warnings
|
2007-06-07 12:00:17 +01:00 |
|
Gustavo J. A. M. Carneiro
|
b211d8ec0f
|
Enable more compiler warnings.
|
2007-06-07 11:55:41 +01:00 |
|
Gustavo J. A. M. Carneiro
|
a3639efe18
|
win32 build fixes
|
2007-06-07 11:38:45 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f57af0bd74
|
Make sure the method flags are correct even when parameters added in write_method_call.
|
2007-06-06 18:02:51 +01:00 |
|
Gustavo J. A. M. Carneiro
|
4dc92b7874
|
Small refactoring of ForwardWrapperBase.generate_body to allow the generate_call() virtual method to add new parse parameters that were not previously declared.
|
2007-06-06 17:37:57 +01:00 |
|
Gustavo J. A. M. Carneiro
|
863b69908b
|
add assertion to detect when one constructor parameter is missing a name; add option to force forward wrappers to use PyArg_ParseTuple or PyArg_ParseTupleAndKeywords
|
2007-06-06 14:20:21 +01:00 |
|
Gustavo J. A. M. Carneiro
|
1991587af6
|
missing param name in double type handler
|
2007-06-06 14:19:06 +01:00 |
|
Gustavo J. A. M. Carneiro
|
82c77ee63e
|
Add support for C++ static methods.
|
2007-06-05 19:14:26 +01:00 |
|
Gustavo J. A. M. Carneiro
|
71104f0a34
|
Post-fix to 'add option to prefix global declarations with a name'.
|
2007-06-05 14:20:48 +01:00 |
|
Gustavo J. A. M. Carneiro
|
d04b6c7a0d
|
Add option to prefix global declarations with a name.
|
2007-06-05 14:15:00 +01:00 |
|
Gustavo J. A. M. Carneiro
|
972e18f122
|
Fix the type transformations API, implement transformations for C++ class pointer types, and add example.
|
2007-06-04 22:13:10 +01:00 |
|