| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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>
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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 #965.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
| |
typeresolve class.
|
|
|
|
|
| |
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Drop files that are redundant with sphinx.
- Add _templates/layout.html to add the needed customisation.
- Update theme.conf to ensure theme inheritance.
- Update pysidedocs.css to fit the theme with sphinx's basic theme.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This simulates the situation found in Qt's phonon module.
|
|
|
|
| |
An unit test was also added for it.
|
|
|
|
| |
twice.
|
|
|
|
| |
So they can be ran by module.
|
|
|
|
| |
converting them to Python.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
It's way less messy now, and uses writeTypeCheck() as it should have
been doing from the beginning.
|