Hugo Parente Lima
753d2bd1f6
Only try to play the ogg file if the system has the capability to do it.
...
This fix a failing test on macosx.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-01-05 19:26:45 -02:00
Renato Araujo Oliveira Filho
53e649629b
Fixed QtNetwork test to use '127.0.0.1' instead of 'localhost'
...
This is necessary to make all test to be able run on any buildbot machine.
Fix Http server shutdown sequence to avoid deadlocks.
Fixes bug #587
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-05 14:54:23 -03:00
Hugo Parente Lima
6383832408
Fix bug#557 - "Segmentation fault in QDeclarativeComponent.loadUrl()"
...
The signature QDeclarativeComponent(QObject*) should not exist, it's not
documented and just creates a useless QDeclarativeComponent when used,
useless in the sense that it will segfault when used.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-01-05 14:35:11 -02:00
Renato Araujo Oliveira Filho
ed1c0014f9
Fixed QWidget.setParent signature on typesystem.
2011-01-05 08:49:39 -03:00
linjunhalida
32681f7b70
add new QDatetime init function with 6 arguments
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-04 19:55:14 -02:00
Hugo Parente Lima
15dd2e07ed
Lock the gil on some hand written code to avoid crashes.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-04 19:25:31 -02:00
Renato Araujo Oliveira Filho
3774752f0c
Fixed function QDataStream.readRawData return value.
...
The function readRawData now return None in case of error, otherwise a
string with the read data.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-01-04 19:23:57 -03:00
Hugo Parente Lima
269e8450dc
New format for __version_info__.
...
The new format follow the same rules used by sys.version_info().
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-04 16:47:57 -02:00
Renato Araujo Oliveira Filho
374e2fcf88
Created support to function qAddPostRoutine.
...
Created unit test for bug #515
Fixes bug #515
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-03 19:58:53 -03:00
Marcelo Lira
da1759fe98
Added test case for Bug #572 .
...
Bug #572 : Giving unicode value as 'body' argument to WebView's load
method crashes python.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-01-03 19:46:41 -03:00
Renato Araujo Oliveira Filho
39a5a09145
Fix QTreeWidgetItem.parent function.
...
Create unit test for new use case.
Fixes bug #547
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-01-03 14:56:33 -03:00
Hugo Parente Lima
ea83c5e554
Fix bug#577 - "Reference to QString in docs"
2011-01-03 14:24:52 -02:00
Renato Araujo Oliveira Filho
f9587fcad2
Fixed QWidget.parent function.
...
Create unit test for bug 576.
Fixes bug #576 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-03 13:50:25 -03:00
Lauro Neto
27b53151bf
Avoid conflict in test case names
...
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-03 11:28:02 -03:00
Renato Araujo Oliveira Filho
eb0d211417
Fixed test to work in all platform.
2011-01-03 10:01:04 -03:00
Hugo Parente Lima
a38db0fe03
Fix bug#514 - "Static method QByteArray.fromRawData is missing from QtCore"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-30 17:03:36 -02:00
Hugo Parente Lima
d0d4ba1564
Fix bug 546 - "Python crash on exit"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-30 15:39:44 -02:00
Hugo Parente Lima
249a87808a
Fix bug#493 - "__eq__ and friends not implemented for QKeyEvent == QKeySequence"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-29 19:12:28 -02:00
Lauro Neto
bc9ddff514
Improve QtScriptEngineDebugger test behavior
...
The extra ContinueAction after evaluate() was crashing
on MacOS X.
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Renato Araujo <renator.filho@openbossa.org>
2010-12-29 14:29:10 -03:00
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