Renato Araujo Oliveira Filho
9d6d30cb6a
Changed api2 test to work on MacOS during a ssh session.
2010-12-29 11:55:55 -03:00
Hugo Parente Lima
7810dcd829
Fix bug#569 - "QTableWidgetItem is missing binding of __lt__ to operator<"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-29 10:14:28 -02:00
Hugo Parente Lima
e8c0ba238a
Fix bug#563 - "Unhandled signal emitting with invalid signature (which leads to application crash)"
2010-12-29 10:14:28 -02:00
Hugo Parente Lima
4b6cc4d478
Changes the arg name from p to parent to make parent heuristic work.
2010-12-29 10:14:28 -02:00
Renato Araujo Oliveira Filho
db4d324497
Fixed MetaObject creation based on typename.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2010-12-29 09:55:13 -03:00
Renato Araujo Oliveira Filho
7144634e35
Fix test to avoid problems on slow computers.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2010-12-29 09:54:58 -03:00
Renato Araujo Oliveira Filho
25264046e8
Appended ${QtGui_BINARY_DIR} on typesystem_path for QtMaemo5 module.
2010-12-28 14:12:24 -03:00
Renato Araujo Oliveira Filho
ecbc9ebcfa
Appended QtGui library dependency on pysidetest library.
2010-12-28 14:09:16 -03:00
Renato Araujo Oliveira Filho
fa89170f62
Test for QTDESIGNER before add QTUITOOLS.
...
This test is necessary because the module QTUITOOLS uses some classes
from QTDESIGNER.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Bruno Araujo <bruno.araujo@openbossa.org>
2010-12-28 12:00:02 -03:00
Renato Araujo Oliveira Filho
a74d92adce
Fix QTreeWidget parent rules.
...
QTreeWidget.clear() - remove all child ref from the current widget
QTreeWidgetItem.parent() - use default policy for returned value
Fix bug #547
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-27 19:20:05 -03:00
Renato Araujo Oliveira Filho
656be4ec98
Removed some float comparisons from QColor test to avoid armel problems.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2010-12-27 13:32:16 -03:00
Hugo Parente Lima
6cf55675dc
Fix bug#549 - "QGraphicsWidget::getContentsMargins() and QGraphicsWidget::getWindowFrameMargins() not available"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-23 17:22:29 -02:00
Renato Araujo Oliveira Filho
fc471bed0f
Used more common signature on function test to QList objects.
...
Replaced "const QList<QObject*>" signature to "const QList<QObject*>&",
more used on Qt code.
2010-12-23 15:47:59 -03:00
Renato Araujo Oliveira Filho
401f394179
Fixed variable scope.
...
This keep the QByteArray live during the use of your content.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-22 19:49:50 -03:00
Lauro Neto
af0860ba4a
Fix testbinding dependency
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Renato Araujo <renato.araujo@openbossa.org>
2010-12-22 18:11:26 -03:00
Renato Araujo Oliveira Filho
c4185280ba
Moved list_signal_test to pysidetest library.
...
This isolate the test case, and avoid other problems with X during the
buildbot compilation.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-22 16:34:29 -03:00
Renato Araujo Oliveira Filho
4b0eaa7796
Fix the QtMultimedia/audio_test.py to accept computers with only null
...
device.
2010-12-22 10:25:32 -03:00
Renato Araujo Oliveira Filho
67b868ccb9
Avoid QMatrix test while gcc is broken.
2010-12-22 10:17:21 -03:00
Renato Araujo Oliveira Filho
48b25047c9
Used argument '-a' during the call of xvfb command.
...
This argument allow the xvfb to find a free server number during the
execution.
2010-12-21 17:28:20 -03:00
Renato Araujo Oliveira Filho
04ac69ce52
Fixed QtUiTools plugin.
...
Removed use of static QString to store the class name.
Fix bug #533 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-21 17:28:20 -03:00
Renato Araujo Oliveira Filho
ab19244c22
Added QSslCertificate to QtNetwork module.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-21 17:28:20 -03:00
Renato Araujo Oliveira Filho
37fb36e1ff
Fixed indentation mistakes.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-21 17:28:19 -03:00
Marcelo Lira
bb39c847d3
Fixed global functions from QT_TR_NOOP and QT_TRANSLATE_NOOP family.
...
These function just return one of their arguments as result, and the
buggy implementation was forgetting to increment the reference count for
the returned object.
A new unit test was added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2010-12-21 12:23:39 -03:00
Marcelo Lira
14a5405837
Fixes bug #502 .
...
The ownership of the editor returned by the Python override of
QAbstractItemDelegate.createEditor(...) is now transferred to C++.
A test was added to simulate the situation that triggers the bug,
instead of relying on an example with a view, model and editable cells.
See: http://bugs.openbossa.org/show_bug.cgi?id=502
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2010-12-20 17:54:09 -03:00
Marcelo Lira
fbc06244e0
Fixed type system for TestView from pysidetest directory.
2010-12-20 17:47:01 -03:00
Marcelo Lira
116a0b159f
QObject.sender should not steal the returned object ownership to Python.
2010-12-20 17:47:01 -03:00
Hugo Parente Lima
00bfc9ba7b
Fix bug#544 - "QtCore.QRect missing binding for method getCoords"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-20 15:26:00 -02:00
Hugo Parente Lima
d2d9f6bac9
Fix bug#481 - "mimeData() missing from QListWidget, QTreeWidget, QTableWidget"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-20 14:10:09 -02:00
Hugo Parente Lima
499ef3bbb4
Fix bug#558 - "print attribute of a QWebFrame cannot be accessed normally"
2010-12-20 11:18:42 -02:00
Hugo Parente Lima
8545117cff
Fix QtMultimedia test to not fail when no devices were found.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
c634b05def
Add GLuint as primitive type.
...
If we don't do that any function with GLuint will be rejected by
the generator on Windows.
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
dd1184ac4d
Use .pyd extension for pysidetest module on Windows.
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
3b61f88a1f
Fix QML tests on Windows.
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
53e472c5ef
Fix compilation under MS Windows.
2010-12-17 19:16:56 -02:00
Marcelo Lira
ca914c9f63
Added a call to QObject.metaObject() to check if a segfault is caused.
...
This completes the tests for bug #507[1].
Also removed an unnecessary commented line.
[1] http://bugs.openbossa.org/show_bug.cgi?id=507
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2010-12-17 13:59:51 -03:00
Marcelo Lira
9a4738457d
Fixed QML type registering test.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2010-12-17 11:39:03 -03:00
Marcelo Lira
d3e5c54d8a
Updated model/view test to follow changes in Shiboken/9459b9da commit.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2010-12-17 11:31:37 -03:00
Hugo Parente Lima
97740beab9
Fix bug#491 - "pyside doesn't respect BUILD_TESTS"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-16 15:35:58 -02:00
Marcelo Lira
634cde193e
Fixed ownership of the value returned by QAbstractItemModel::data(...).
...
The value returned by Python to the virtual method
QAbstractItemModel::data(...) called from C++ has its ownership
transferred to C++.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-16 14:38:57 -03:00
Marcelo Lira
c53ec3c17e
Updated the PySide test related to Python model returning data to C++.
2010-12-15 19:20:56 -03:00
Renato Araujo Oliveira Filho
539b906eb2
Created function used in PyObject getAttro.
...
Moved the code generated to a function in libpyside.
Create unit test for bug #525 .
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-15 19:06:45 -03:00
Renato Araujo Oliveira Filho
fd9c8c8d76
Created unittest for bug #505 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-14 17:44:02 -03:00
Hugo Parente Lima
ffc853c88b
Fix bug#517 - "Documentation for QtDeclarative is not linked in contents.html, modules.html"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-14 17:15:06 -02:00
Hugo Parente Lima
44d4d96ec3
Fix bug#508 - "qmltopy1 crashes when setContextProperty is called twice without keeping a reference"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-14 17:00:12 -02:00
Hugo Parente Lima
46bbefb1cc
Fix bug#518 - "The file 'genindex.html' is not found (linked from contents.html)"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-14 16:22:35 -02:00
Hugo Parente Lima
e3796fa3e7
Fix bug#512 - "QGridLayout::getItemPosition() is not available"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2010-12-14 15:28:55 -02:00
Marcelo Lira
6b720050ef
Added test for Python written models returning new objects without keeping reference to them.
...
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
eviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-13 17:55:54 -03:00
Marcelo Lira
4630f41f6a
Fixed new style signal connection tests for the proper semantics.
...
One example to clarify: for the "destroyed(QObject* = 0)" signal,
"obj.destroyed.connect(...)" connects to "destroyed()", and
"obj.destroyed[QObject].connect(...)" connects to "destroyed(QObject*)".
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-13 16:00:22 -03:00
Hugo Parente Lima
154560c9c5
Added unit test for bug#500
...
Reviewer: Lauro Mora <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-13 11:39:24 -02:00
Hugo Parente Lima
e62b0364f1
Add tests for qmlregisterType function and qml list properties.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-09 16:19:41 -02:00