| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Shiboken enum.
|
|
|
|
|
|
| |
binded types
from binded types.
|
|
|
|
|
| |
The previous generated code were generated only for shift operators
(<< and >>), this version works for all binary operators.
|
| |
|
|
|
|
| |
The huge prefix was removed because we are already under Shiboken namespace.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If a C++ class "A" with a public copy constructor has a generated C++
wrapper, the Python wrapper constructor should cast the given argument
that comes as "A*" to "AWrapper*" before calling
"AWrapper(const AWrapper&)".
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
|
|
|
|
|
| |
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|
| |
|
|
|
|
|
|
| |
No code is generated for return value conversion on virtual method
callers if code is provided to handle said conversion via code injection
or custom conversion rule.
|
|
|
|
|
| |
Type modifications done to the value expected to be returned by a Python
override of a virtual method are now handled properly.
|
|\ |
|