Commit graph

1,217 commits

Author SHA1 Message Date
Renato Filho
1efb6aeacc Implemented necessary convertions rules for function QPicture.setData.
Fixes bug #759

Reviewer: Lauro Moura <lauro.neto@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-25 11:27:14 -03:00
Renato Filho
db9547be72 Fixed reference leak on PySideSignal for QTimer.SingleShot
Fixes bug #815.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-20 18:44:53 -03:00
Lauro Neto
c36b1ff7e7 Set WA_InputMethodEnabled in test.
If WA_InputMethodMethod is not set, setFocusWidget will fail
in a ASSERT in a debug-compiled Qt.

Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-20 16:57:34 -03:00
Renato Filho
df742a5905 Created unit test for bug #811.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-20 09:33:46 -03:00
Renato Filho
709420df8e fix QTextBlock.setUserData reference leak.
Fixes bug #811.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-20 09:33:46 -03:00
Lauro Neto
6700ddb9cb Fix bug 814 test.
Using the modelData property name was causing problems
with a debug-build Qt.

Reviewer: Renato Araujo <renato.araujo@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
2011-04-19 16:37:22 -03:00
Renato Filho
3fb374e271 Fixed test to avoid problems with float numbers in different archs.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-18 17:45:04 -03:00
Renato Filho
e6b3d26d74 Exported missing enums on phonon.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-18 17:45:01 -03:00
Renato Filho
6cd49a79f6 Created unit test for ObjectDescription.fromIndex.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-18 17:44:59 -03:00
Renato Filho
8807a885e6 Implemented function ObjectDescription.fromIndex.
Fixes bug #787.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-18 17:44:19 -03:00
Renato Filho
406293f5aa Fix round problems on unit test. 2011-04-15 19:26:15 -03:00
Renato Filho
04a2f23988 Create unit test for bug #757.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-15 19:23:02 -03:00
Marcelo Lira
13f6d71f20 Fixes Bug #757 - Constructor "QPixmap(const char* const[] xpm)" missing.
http://bugs.pyside.org/show_bug.cgi?id=757

Reviewer: Renato Araujo <renato.filho@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-15 19:22:32 -03:00
Renato Filho
a5b785fff4 Avoid delete file from source dir. 2011-04-15 17:14:08 -03:00
Hugo Parente Lima
1374006206 Fix bug 717 - "QByteArray doesn't honor \0 inside strings."
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-14 20:42:49 -03:00
Hugo Parente Lima
a230b243d0 Fix inject code of QByteArray::fromRawData.
The QByteArray returned must share, nto copy, the string contents.
2011-04-14 20:09:30 -03:00
Marcelo Lira
2400157808 Fixes bug #755 - Method "void QInputContext::setFocusWidget(QWidget*)" missing
Also added an unit test.

http://bugs.pyside.org/show_bug.cgi?id=755

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-04-14 19:15:56 -03:00
Marcelo Lira
e24401e586 Fixes bugs 753 and 754.
Bug #753 - Method "void QTextDocument::undo(QTextCursor*)" missing
Bug #754 - Method "void QTextDocument::redo(QTextCursor*)" missing

Also added an unit test.
2011-04-14 19:15:56 -03:00
Marcelo Lira
1d842f57a2 Fixes bug #741 - Method "qreal QTextLine::cursorToX(int*,Edge) const" missing.
Also added unit tests.

http://bugs.pyside.org/show_bug.cgi?id=741
2011-04-14 19:15:56 -03:00
Marcelo Lira
39c32e3712 Fixes bug #742 - Method "void QPrinter::getPageMargins(qreal*,qreal*,qreal*,qreal*,Unit) const" missing
Also added unit tests.

http://bugs.pyside.org/show_bug.cgi?id=742
2011-04-14 19:15:56 -03:00
Marcelo Lira
30c19e9c41 Fixed CMakeLists.txt files to prevent static source files of being deleted by "make clean". 2011-04-14 19:15:56 -03:00
Renato Filho
8408da40ca The funcition QSplashScreen.repaint was removed because that override the QWidget.repaint.
This will save some genereted code and does not produce any side-effect.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 18:52:20 -03:00
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
59ab3c3049 Put back QPainter.fontInfo.
Fixes bug #750.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 18:52:00 -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
a0b43fbc23 Implemented support to mapping on QMatrix4x4.
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
d71a6a8c3a Implemented function QBitmap.fromData.
Fixes bug #740

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 17:52:24 -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
Renato Filho
3e69981b4b Use PyFloat as double in signal signatures.
Fix bug #722.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-04-13 18:29:19 -03:00
Hugo Parente Lima
c269e0db00 Removes the removal of QMatrix4x4 call operators.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-13 11:01:10 -03:00
Hugo Parente Lima
1c0279fa25 Fix code injection of QIODevice to support returning an error. 2011-04-13 11:01:10 -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
741bc56e4b Created QtDeclarative.ListProperty documentation.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-12 17:48:46 -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
d0ad9d27aa Fixed QCoreApplication.instance method to handle with application created before PySide module loading.
Fixes bug #816.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-12 16:46:32 -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
7abf74adb9 Updated dependency version. 2011-04-07 18:01:33 -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
Renato Filho
a0c72f28c6 Implemented support to pyton iterator in QTextFrame::iterator.
Fixes bug #688.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-07 18:01:08 -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
Hugo Parente Lima
40718156a6 Remove unused variables and warnings when using gcc 4.6. 2011-04-07 16:33:42 -03:00
Marcelo Lira
51e9dfc428 Updated type system files to use the new %BEGIN_ALLOW_THREADS and %END_ALLOW_THREADS variables.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-04-07 15:17:30 -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