Commit graph

449 commits

Author SHA1 Message Date
Renato Filho
96750087d9 Created unittest for bug #750.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 18:52:05 -03:00
Renato Filho
46fc033929 Created unit test for bug #743.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 18:51:51 -03:00
Renato Filho
94310a7b19 Created unit test for bug #740.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 17:52:42 -03:00
Renato Filho
a5e20dfd75 Created unit test for bug #722.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-04-13 18:30:54 -03:00
Hugo Parente Lima
1e149f3de4 Fix bug 723 - "Missing QAbstractFileEngine.read and QAbstractFileEngine.readLine" 2011-04-13 11:01:10 -03:00
Renato Filho
c8a11c179a Create unit test for bug #816.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-12 16:47:08 -03:00
Renato Filho
6da3e78014 Created unit test for bug #814.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Hugo Parente <hugo.lima@openbossa.org>
2011-04-11 12:07:34 -03:00
Renato Filho
9f73d5ecf1 Fixed bug #400 link description. 2011-04-07 18:01:33 -03:00
Renato Filho
e7413828a1 Create unitest for bug #688.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-07 18:01:26 -03:00
Hugo Parente Lima
f3961387a9 Fix 720 - "QByteArray prints itself wrong, on tp_print and tp_repr"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-07 16:33:42 -03:00
Hugo Parente Lima
85f65194ef Fix bug 724 - "Missing QAbstractFileEngine.map method" 2011-04-07 16:33:42 -03:00
Hugo Parente Lima
3b9481c24c Fix bug 721 - "QFile doesn't support map and unmap functions." 2011-04-07 16:33:42 -03:00
Marcelo Lira
8e7845be18 Fixes bugs 746, 747 and 748.
Bug #746 - Method "QFormLayout::getLayoutPosition(QLayout*,int*,QFormLayout::ItemRole*)const" missing
Bug #747 - Method "QFormLayout::getWidgetPosition(QWidget*,int*,QFormLayout::ItemRole*)const" missing
Bug #748 - Method "QFormLayout::getItemPosition(int,int*,QFormLayout::ItemRole*)const" missing

Also added unit tests.
2011-04-07 15:17:30 -03:00
Marcelo Lira
2c6a44feee Fixes bugs 739 and 752.
Bug #739 - Method "QTransform::map(qreal x, qreal y, qreal* tx, qreal* ty) const" missing
Bug #752 - Method "void QSplitter::getRange(int index, int* min, int* max) const" missing

Also added unit tests.
2011-04-07 15:17:30 -03:00
Marcelo Lira
a513d831cd Do *not* mix tabs and spaces. 2011-04-07 15:17:29 -03:00
Marcelo Lira
8e0e7ef0b6 Fixes bugs 744, 745, 756, 758 and 764.
Bug #744 - Method "void QGraphicsLayout::getContentsMargins(qreal*,qreal*,qreal*,qreal*) const" missing
Bug #745 - Method "void QGraphicsLayoutItem::getContentsMargins(qreal*,qreal*,qreal*,qreal*) const" missing
Bug #756 - Method "void QWidget::getContentsMargins(int*,int*,int*,int*) const" missing
Bug #758 - Method "void QTextCursor::selectedTableCells(int*,int*,int*,int*) const" missing
Bug #764 - Method "void QLayout::getContentsMargins(int*,int*,int*,int*) const" missing

Also added unit tests.
2011-04-07 15:17:23 -03:00
Renato Filho
d984cf24cc Create unit test for bug #793.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Hugo Parente <hugo.lima@openbossa.org>
2011-04-05 10:17:56 -03:00
Marcelo Lira
bbba1cc470 Fixes bug #489 - PySide.QtGui.QImage with string buffer argument.
http://bugs.pyside.org/show_bug.cgi?id=489

Also added an unit test.

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-04-01 16:40:17 -03:00
Hugo Parente Lima
9ffb2ef542 Fix bug 712 - "QtGui.QFormLayout doesn't have setItem() function"
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-30 18:49:07 -03:00
Hugo Parente Lima
c50d08e4c8 Fix bug 694 - "QWebPage::extensions need injected overloads due to required casts on C++ version" 2011-03-25 09:57:02 -03:00
Hugo Parente Lima
3cd2cad128 Fix bug 699 - "PySide.QtCore.Property doesn't throw a TypeError if the first arg isn't a PyType." 2011-03-25 09:48:11 -03:00
Hugo Parente Lima
6f8f728241 Fix bug 685 - "The second arg. of QObject.findChildren doesn't have a default value and doesn't support regexes."
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-23 13:36:17 -03:00
Hugo Parente Lima
2f4a1f634c Use set instead of add on reference-count action attribute. 2011-03-23 13:36:17 -03:00
Hugo Parente Lima
7849b4262f Fix bug 736 - "Signal/Slot is not working at all"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-03-22 15:04:40 -03:00
Renato Filho
26ae1259a9 Revert "Fixed test for bug #674 to works with new getattr check."
This reverts commit a6f0d0cb52.
2011-03-22 11:49:43 -03:00
Renato Filho
78ca4c0749 Only raise 'RuntimeError' for function call to avoid problems with contructor order calls. 2011-03-22 11:13:32 -03:00
Hugo Parente Lima
189717cdb1 Fix bug 728 - "QFileDialog.getOpenFileNames never returns (hangs)"
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-21 15:51:12 -03:00
Renato Filho
2bd54857ed Created unit test for bug #726.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-03-21 11:57:38 -03:00
Hugo Parente Lima
13d9f714c5 Add unit test for bug 693 - "Heap corruption or double free reported on program exit"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-18 18:32:37 -03:00
Renato Filho
a6f0d0cb52 Fixed test for bug #674 to works with new getattr check.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-16 17:01:08 -03:00
Renato Filho
fb3bae60f4 Created unit test for bug #696.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-16 17:01:08 -03:00
Renato Filho
b1a1f61c64 Created unit test for bug #711.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-03-16 16:34:26 -03:00
Hugo Parente Lima
a571d9bd98 Add unit test for bug 706 - "dataChanged signal raise an incorrect TypeError"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-16 11:22:34 -03:00
Hugo Parente Lima
008798b0e3 Fix bug 718 - "PySide/PyQt4 QByteArray incompatibilities: setNum method"
Fix bug 719 - "PySide/PyQt4 QByteArray incompatibilities: appendByte method"
2011-03-16 11:22:19 -03:00
Renato Filho
4c149aef4e Created unit test for bug #714.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-09 18:06:19 -03:00
Hugo Parente Lima
e0cf4b000d Fix bug 674 - "QGraphicsScene::clear() is missing" 2011-02-16 16:07:01 -02:00
Hugo Parente Lima
691841f829 Fix bug 675 - "QGraphicsLinearLayout segfault"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-15 19:35:05 -02:00
Hugo Parente Lima
0ad9c484df Add unit test for bug 684. 2011-02-15 16:37:16 -02:00
Lauro Neto
0298a34289 Raise error when slot argument is unknown.
Instead of accepting it silently and generating potential
segfault and undefined behavior, raise TypeError when
the type of an argument is unknown to PySide type system.

An example of such erratic behavior is in declarations like:

@Slot
def foo(self):

Slots without arguments must be explicitly declared this way:

@Slot()
def foo(self):

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
2011-02-11 19:32:41 -03:00
Hugo Parente Lima
26d6f4a39e Fix bug 638 - "Documentation for phonon doesn't show class inheritance diagrams." 2011-02-11 15:09:53 -02:00
Renato Araujo Oliveira Filho
c3d180fdc2 Created unit test for bug #671.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-10 17:30:34 -03:00
Marcelo Lira
42c9f80b06 Added QCursor test. It is related to bug #630.
Bug #630 - Fails to resolve overload for QCursor(QBitmap, QBitmap, int, int)
http://bugs.openbossa.org/show_bug.cgi?id=630

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-10 14:07:56 -03:00
Renato Araujo Oliveira Filho
bda10df1da Fixed function 'QToolBar.addAction' to support callback in the
arguments.

Create unit test for bug #635.

Fixes bug #635.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-10 10:36:07 -03:00
Hugo Parente Lima
7909d294f5 Fix bug 668 - "QFileSystemModel setRootPath stops application from quitting."
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Renato Araújo <renato.filho@openbossa.org>
2011-02-09 18:26:55 -02:00
Hugo Parente Lima
2248c1b944 Fix bug 667 - "Crash on exit" 2011-02-09 18:26:55 -02:00
Hugo Parente Lima
8fa461559c Fix QGLBuffer::map code injection and test. 2011-02-09 18:26:12 -02:00
Renato Araujo Oliveira Filho
5a87a51c11 Updated http server used on tests to keep trying until get a free address. 2011-02-09 15:49:45 -03:00
Renato Araujo Oliveira Filho
323b37beda Created unit test for bug #662.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-09 15:46:29 -03:00
Renato Araujo Oliveira Filho
9b3d0b2ef2 Updated translation test to use previous generated qm files.
Upload qm files used on test to git.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-02-07 20:06:27 -03:00
Renato Araujo Oliveira Filho
8a50e91e6f Updated http server used on unit test.
Allow the server to reuse the address to avoid errors.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-02-07 18:09:28 -03:00