| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
|
| |
|
|
|
|
|
| |
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
for Py3k port.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
| |
through a Python module".
|
|
|
|
|
|
|
|
|
| |
methods.
Tests were added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
|
|
|
|
| |
Also moved a couple of tests from samplebindings to otherbindings.
|
|
|
|
|
| |
Also sorted the tests order alphabetically and fixed inject code for
SampleNamespaces' passReferenceToObjectType method.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
primitive type.
The inject code has a %CONVERTTOPYTHON that receives an user's primitive type.
|
|
|
|
|
| |
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
This simulates the situation found in Qt's phonon module.
|
|
|
|
| |
An unit test was also added for it.
|
|
|
|
| |
twice.
|
|
|
|
|
| |
The test is for an Object Type that didn't existed in Python and is
passed to it as C++ reference through a virtual method.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
It it inspired by some of PySide's QByteArray tests.
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
| |
Added test for a reference to integer as a function argument.
|
| |
|
|
|
|
|
| |
Updated tests' type systems to reflect the behaviour of
Generator::minimalConstructor().
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This test check if a enum inside of a namespace which is not exported to
python, work proper.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
Fixes bug #893.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
| |
calls.
Unit tests were also added.
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
| |
same name"
|
|
|
|
|
|
|
| |
operators."
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This interface is just a wrapper to the differents API's provided by Python
to deal with memory buffers in various versions of Python, so is recommended
to use this API to deal with Python memory buffers instead of the CPython API.
If you want to have a Python buffer as argument of any function just change
the argument type to "PyBuffer" and the generator will handle it right regarding
to type checking.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|