| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
virtual methods.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
The value returned from Python to C++ shouldn't have its reference
counting decremented after Python transferring ownership to C++.
|
|
|
|
|
|
| |
Fix signal register, to use arguments type name based on generated namespace.
Fix bug #498.
|
|
|
|
|
|
|
|
|
|
|
| |
The ObjectModel test class was introduced to check if the transference
of ownership of objects returned from Python to C++ through a virtual
method is working properly.
Also updated the other test that uses the ObjectView class.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
| |
virtual methods.
In other words, the following type system snippet will now be recognized
by the generator:
<modify-argument index="return">
<define-ownership class="native" owner="c++"/>
</modify-argument>
|
| |
|
|
|
|
|
|
| |
libpyside.
Fix bug #525.
|
| |
|
|
|
|
|
|
|
|
|
| |
__del__ function.
Fix bug #505
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
| |
happens on shutdown."
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
| |
happens on shutdown.""
This reverts commit fb90a3df97b53f3ef4878d8beb719d4aa7b0c6cb.
|
|
|
|
|
|
|
| |
on shutdown."
Reviewer: Lauro Mora <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
default values.
For instance, the "QAbstractButton::clicked(bool checked = false)"
signal, can be connected using the two signatures "clicked()" and
"clicked(bool)". Using
button.clicked.connect(callback_function)
could cause the binding to connect to "clicked(bool)", instead of
"clicked()", leaving the user unaware of it.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
| |
When a conversion rule is provided for a constructor argument the C++
constructor, for which the conversion rule doesn't apply, is generated
with wrong argument names. This commit solves this.
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
| |
The hook is invoked every time the user creates a sub-type inherited from a Shiboken based type.
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
|
| |
|
|
|
|
| |
fix on qt_metacall.
|
|
|
|
| |
Shiboken::callCppDestructor.
|
| |
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
| |
|
|
|
|
|
| |
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
|
|
|
| |
This is done because the Py_DECREF macro from Python 2.5 doesn't
cast the argument to "PyObject*" as 2.6 does. This is a problem
for PySideSignal objects, for this struct is private, having only
the forward declaration visible.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
|
|
|
|
|
|
| |
PyObjects with a function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
| |
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Conflicts:
generator/cppgenerator.cpp
libshiboken/basewrapper.cpp
libshiboken/basewrapper_p.h
|
| |
| |
| |
| | |
const ref. value types and enums.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Fixes bug #476.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This function 'cacheSize()' can be used to check how many objects still
registered on BindingManager.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
|
| |
| |
| |
| |
| | |
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|/
|
|
|
|
| |
* Replaces PySide::deleteDynamicQMetaObject by
Shiboken::callCppDestructor<DynamicQMetaObject>
* Shiboken namespace usage.
|
|
|
|
|
|
|
| |
Renamed ObjectType to BaseType.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
|
|
|
|
|
|
|
|
| |
Updated generator to new API.
Fix bug #462
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
|
| |
|