| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
| |
namespace.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
|
| |
Using it leads to MSVC error:
C2491 definition of dllimport function not allowed
This is because dllimport should only be specified when declaring
a function not when defining it.
|
|
|
|
|
|
|
| |
marked to gneration="no";
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
|
| |
Only C++ arguments with default values will be turned into Python
named arguments.
|
| |
|
|
|
|
|
|
| |
The CppGenerator::pythonFunctionWrapperUsesListOfArguments(OverloadData)
method returns true if the Python wrapper for the received OverloadData
should handle with a single or multiple Python arguments.
|
|
|
|
|
|
| |
It accepts an AbstractMetaFunction and returns the full name in
Python, including the module namespace.
E.g.: "sample.SimpleFile.exists"
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
|
| |
This makes the generated code more clear and eases future improvements
as named argument support. There is room for performance improvements.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
| |
This method is needed because you can not call Converter<T>::isConvertible inside
a Converter<Y>::isConvertible implementation, otherwise it'll create a 2-step
implicit conversion.
|
|
|
|
|
|
|
| |
types.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
| |
|
|
|
|
| |
Tests were also added.
|
|
|
|
|
|
| |
This fix is specific for the cases when the "protected hack" is
turned off.
Also added some tests.
|
| |
|
|
|
|
|
| |
The problem appears when the binding is generated without the
protected hack.
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
- Don't use stream operator on macros.
- Avoid use of INDENT << INDENT.
- Rename some variables on generated code to follow our coding style.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
|
| |
extensions mode is on.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
* Export enums without macro
* Declare virtual destructor on all classes with virtual functions
* Fix extern "C" declaration scope
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
eviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
allow collect PyType info.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
User type userdata to store metaobject information.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
Fixes bug #121.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
different headers.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
|
| |
| |
| |
| |
| |
| | |
The same applies for namespaces, so all classes are directly initied in
init_MODULE function. This solves some bugs regarding class dependencies
and their initialization order.
|
| | |
|
| | |
|
| |
| |
| |
| | |
This fix some problems compiling bindings for classes under C++ namespaces.
|
| | |
|
| | |
|
|/
|
|
|
| |
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
To leak memory you need to call a method which the C++ version have one or more
argument passed as reference, so in python you pass a implicity convertible type.
E.g.: the method expects "const QString&" and you pass a Python string which will
be implicitly converted to a QString, the memory used by this implicitly generated
QString leaks.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
| |
These warnings are due to the Python C API using a char* as parameter when
it should const char*.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
"return Foo() ;" becomes "return Foo();"
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
|
| |
|
| |
|