| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
-dbg) on i386 (and others)"
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>
|
|
|
|
|
|
|
|
| |
Also fixes isWrapperType to avoid erring when the type is an
object type passed as value.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
for Py3k port.
|
|
|
|
| |
expression.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Python2 and 3.
|
|
|
|
|
|
|
|
| |
functionality through a Python module"."
This reverts commit bc8448d7fb91733ff08c2a6a3a878702c14a24e0.
The PSEP didn't reach the final version yet, so this commit can't be released.
|
|
|
|
| |
SEGFAULT)"
|
|
|
|
|
| |
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
Fixes bug #991.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
| |
through a Python module".
|
|
|
|
|
| |
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
| |
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
|
| |
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
| |
Instead of generating the register code.
|
|
|
|
|
|
|
|
|
| |
methods.
Tests were added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
cpythonToPythonConversionFunction.
The new overload of cpythonToPythonConversionFunction, that is.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
| |
|
|
|
|
| |
Fixes bug #873.
|
|
|
|
|
|
|
|
| |
Added the SBK_UNUSED macro to libshiboken to prevent compilation warnings.
An unit test was added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
| |
ShibokenGenerator uses qDeleteAll for the cached meta types.
|
| |
|
|
|
|
|
|
|
|
|
| |
Such a method is safer than the previous that used only a regular
expression, because now it tries to build a meta type for the type
found in the user's custom code.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
The methods writeToCppConversion and writeToPythonConversion now use the
services of cpythonToCppConversionFunction and cpythonToPythonConversionFunction.
|
| |
|
|
|
|
|
|
|
|
| |
This simulates a situation found in QtWebKit's QWebDatabase
and QWebSecurityOrigin classes.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
| |
Now classes that are typedefs to template class instantiations are
written twice with the same index: one with the aliased name, and other
with the name composed of template and template arguments.
|
|
|
|
| |
An unit test was also added for it.
|
|
|
|
| |
converting them to Python.
|
|
|
|
|
|
|
|
|
|
| |
known types.
This is in opposition of simply returning a string with a custom type
check. The details are in the docstring in ShibokenGenerator header.
Also added a new modification test and refactored here and there in the
sample binding type system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
existing ones.
Specifically this causes the situation when there is in C++ a function
with an argument that is a reference to a Value Type, and the user adds
a very similar function with the same type, but passed as value.
Example:
C++ : function(const TYPE& a, int b)
Added: function(TYPE)
The return type of ShibokenGenerator::getArgumentReplacement() method
was modified, because the argument object is more useful than its index.
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
rule.
Also added an array argument modification test, and moved
AutoArrayPointer from libpyside to libshiboken.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
|
|
|
|
|
|
|
| |
Also added writeConversionRule methods to CppGenerator.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
| |
Also added an unit test to a protected container property.
|
|
|
|
|
|
|
|
|
|
|
| |
Also fixed ShibokenGenerator::pythonFunctionWrapperUsesListOfArguments()
method to consider call operators. Fixed code snippet variable
replacement for when there's only one Python argument in the function.
And CppGenerator::writeArgumentsInitializer() was sanitized, with never
used code erased.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|