| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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().
|
| |
|
|
|
|
|
| |
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
pointer is expected.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
|
|
|
|
|
|
|
| |
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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cases are made of conversions of lists of:
* C++ primitive type
* C++ class treated as Python primitive type
* Value type as C++ value
* Object type as C++ pointer
* Container of container of C++ primitive type
The container is converted when called from Python or from C++ (via
virtual methods), and passed as arguments to Python and to C++.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
| |
in Python.
Unit tests were also added.
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The purpose is to have the smallest possible binding to help when doing
complex changes that require a good deal of debugging and tracking,
and the many operations performed in too many wrapped classes will
clutter any output used for those purposes.
In other words: don't add anything here except with a good reason for
it, prefer to use 'sample' or 'other' binding for that.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
| |
as times operator overload."
|
|\
| |
| |
| |
| | |
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
|
| |
| |
| |
| |
| |
| |
| | |
This is related to bug #716: http://bugs.pyside.org/show_bug.cgi?id=716
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|/ |
|
|
|
|
|
|
|
|
| |
Also added an unit test for infinite recursion when duck punching a
virtual method.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
signatures.
Unit tests were added as usual.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Renato Araujo <renato.filho@openbossa.org>
|
|
|
|
|
|
|
| |
overload wasn't found on __ne__.
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>
|
| |
|
|
|
|
|
|
|
| |
Wrong conversion code was being outputted to virtual method wrapper code
when all arguments were removed.
Unit tests were added as well.
|
|
|
|
|
|
|
|
| |
The purpose of this is to provide more and more test cases for the
overload decisor.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
| |
The classes Rect and RectF were added to help with the imitation.
|
| |
|
| |
|
|
|
|
|
|
|
| |
http://bugs.pyside.org/show_bug.cgi?id=489
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
| |
CPython calls nb_and with swapped arguments
for reverse operators.
This tests checks if the reverse operator
raises NotImplementedError instead of TypeError
when there isn't a valid reverse operator.
Raising TypeError would cause the operator to fail.
|
|
|
|
|
|
|
|
|
| |
Avoid to load a module twice.
Fixes bug #734.
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>
|
|
|
|
|
|
|
|
| |
Instead of the old ugly way of compiling the behaviour forever using
"#define".
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
|
|
|
| |
(unless they are).
|
| |
|
|
|
|
|
| |
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
| |
|