Juhapekka Piiroinen
f011ce2cb9
Bug fix for PYSIDE-7
...
This should resolve the issue in PYSIDE-7 "QDateTime does not support the 6-argument format".
Added function signature for 6-argument version and a testcase.
Change-Id: I617eefab6a41939c37e2f1bf800857bc2d74b6ee
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
2012-03-13 18:43:04 +01:00
Juhapekka Piiroinen
fe8dc36f90
Fix bug PYSIDE-6
...
This should resolve the issue in PYSIDE-6 "Fix phonon VideoCaptureDevice detection to properly use phonon_ namespace".
Changed if check in PySideModules.cmake.
Change-Id: Ie30d6858a0fc6073560ec4cd09508504cbeb667d
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
2012-03-13 18:41:53 +01:00
Hugo Parente Lima
db6f1e3306
Fix PySide compilation.
...
Change-Id: Ie7a30961232526af59cbc21dbf1b58ab9a4e3e7b
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
2012-03-13 18:29:52 +01:00
Marcelo Lira
d30a8672c3
Version bump to 1.1.1.
2012-03-08 16:56:23 -03:00
Marcelo Lira
afc9a7e10b
Version bump to 1.1.0.
2012-03-08 16:56:23 -03:00
Marcelo Lira
a8a07b77f8
Declares Python types using the new "<custom-type>" tag.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Paulo Alcantara <pcacjr@gmail.com>
2012-03-08 16:56:23 -03:00
Paulo Alcantara
98be0df6a5
Fix BUG #1060 - "Subclassing of QUiLoader leads to "Internal C++ object
...
already deleted" exception"
See http://bugs.pyside.org/show_bug.cgi?id=1060 .
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:23 -03:00
Paulo Alcantara
b2b14fe9b7
Fix BUG #1091 - "PixmapFragment and drawPixmapFragments are not bound"
...
See http://bugs.pyside.org/show_bug.cgi?id=1091 .
Also minor coding style fixes in QtGui's typesystem.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:23 -03:00
Paulo Alcantara
481ba5aa3e
Fix BUG #1084 - "Crash (segfault) when writing unicode string on socket"
...
See http://bugs.pyside.org/show_bug.cgi?id=1084 .
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Trust me
2012-03-08 16:56:23 -03:00
Marcelo Lira
8ddbd3167b
The temporary file used in the test for bug #829 must not be deleted by the test.
...
This fixes the test in win32 platforms.
2012-03-08 16:56:23 -03:00
Marcelo Lira
65d8f9fcef
Fixes the QSettings related QVariant's save/load bug.
2012-03-08 16:56:23 -03:00
Hugo Parente Lima
7b8d2925dd
Small code style changes.
2012-03-08 16:56:22 -03:00
Hugo Parente Lima
c78b4686a1
Add GC support to PySide Property type.
...
This fixes GC errors when running PySide on a Python debug env.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:22 -03:00
Marcelo Lira
e76b2b76f5
Added type system entries to the primitive types used by QtOpenGL.
2012-03-08 16:56:22 -03:00
Marcelo Lira
2a634aea05
Updated the custom widget plugin to use the new converters.
2012-03-08 16:56:21 -03:00
Marcelo Lira
7bfbbf3cb7
No more training wheels. The last occurrences of the old template Converter where removed.
...
Also related fixes here and there.
2012-03-08 16:56:21 -03:00
Marcelo Lira
aec20b21a5
Added a type system file for Maemo's QtCore.
2012-03-08 16:56:21 -03:00
Marcelo Lira
ebeae9d084
Fixes custom code for QtCore's HWND on win32.
2012-03-08 16:56:21 -03:00
Marcelo Lira
31804c2adc
Qt::HANDLE is declared only in QtCore, and its specifics depend on the architecture.
2012-03-08 16:56:21 -03:00
Marcelo Lira
c31c14cdfb
Fixed QtCore's HWND converter for win32.
2012-03-08 16:56:21 -03:00
Marcelo Lira
879e4bb14d
Removed the QAbstractVideoBuffer::map method.
2012-03-08 16:56:21 -03:00
Marcelo Lira
6575ac8d39
Fixed converter for win32's WId type.
2012-03-08 16:56:20 -03:00
Hugo Parente Lima
1af53541bf
Fix compilation of conversion branch against Python3k.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:20 -03:00
Marcelo Lira
2a87b74bfe
Replaced TypeResolver by SbkConverter and SpecificConverter.
...
Also updated QtGui's WId conversion to Python 3.
2012-03-08 16:56:20 -03:00
Marcelo Lira
792504f978
Removed the remaining occurrences of Shiboken::makeTuple.
2012-03-08 16:56:20 -03:00
Marcelo Lira
7b04273736
Fixed code for QUdpSocket.readDatagram method to remove usage of Shiboken::makeTuple.
2012-03-08 16:56:20 -03:00
Marcelo Lira
30118e265d
Fixed code for setting QtCore.__version_info__ to not use Shiboken::makeTuple.
2012-03-08 16:56:20 -03:00
Marcelo Lira
770c8bda73
Fixed custom code for QScriptValueIterator.__next__ function.
...
It must not use the convenience method Shiboken::makeTuple, for it makes
use of the old template based converters.
2012-03-08 16:56:20 -03:00
Marcelo Lira
16f4378fed
Fixes type converter for Win32's HWND.
2012-03-08 16:56:20 -03:00
Marcelo Lira
80c02f16e5
Fixes the test for a QFlag value returned in a QVariant.
2012-03-08 16:56:20 -03:00
Marcelo Lira
b643a3f8ab
Modified PySideQFlags based on Hugo's design.
2012-03-08 16:56:19 -03:00
Marcelo Lira
8145f2a7e2
Added converter for primitive type QModelIndexList.
2012-03-08 16:56:19 -03:00
Marcelo Lira
25638d3f80
Fixes conversion rule for QGraphicsView::drawItems array argument.
2012-03-08 16:56:19 -03:00
Marcelo Lira
3318a40ab1
Some method signatures were removed.
...
They were removed because used pointers to primitive types without
proper user defined handling. Future assessment must be done to tell if
removal is enough, or other changes are needed.
2012-03-08 16:56:19 -03:00
Marcelo Lira
ba062e1b89
Updated various function removals and modifications.
2012-03-08 16:56:19 -03:00
Marcelo Lira
3ee5bec244
New containers for container types.
2012-03-08 16:56:19 -03:00
Marcelo Lira
ae0f62ed80
New converters for primitive types.
2012-03-08 16:56:19 -03:00
Marcelo Lira
64bec138e1
Added new style conversions for QDate, QTime and QDateTime objects.
2012-03-08 16:56:19 -03:00
Marcelo Lira
1105a5be3a
Added default constructor to QTextStreamManipulator.
2012-03-08 16:56:18 -03:00
Marcelo Lira
815fae961f
Turned QStyleOptionViewItem into value type, for it has a public copy constructor.
...
It is passed around by value in many places, like the return value of
QAbstractItemView::viewOptions(). I did the same to the variations:
QStyleOptionViewItemV2, QStyleOptionViewItemV3, etc.
2012-03-08 16:56:18 -03:00
Marcelo Lira
8c1fbc3751
Signature of various added and modified functions modified to use non-const references.
...
The API Extractor signature normalizer removes const& from argument
types, but it leaves non-const references unchanged.
2012-03-08 16:56:18 -03:00
Paulo Alcantara
ad8992e9e0
pysidesignal: more trivial fixes
...
Fix typos and coding style.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:18 -03:00
Marcelo Lira
41f1c30372
Makes test for QtCore's bug #1063 compliant with Python 3.
2012-03-08 16:56:18 -03:00
Hugo Parente Lima
720a6f4cad
Don't double decref variable causing an assertion error on debug builds.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:18 -03:00
Paulo Alcantara
48669462d0
pysidesignal: don't use C's cast
...
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:56:18 -03:00
Paulo Alcantara
66f4ccbe5d
pysidesignal: trivial fixes
...
Fix typos and coding style
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:56:18 -03:00
Paulo Alcantara
508e59c091
Fix BUG #1063
...
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Willer Moreira <willer.moreira@openbossa.org>
Reviewed-by: Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:56:18 -03:00
Hugo Parente Lima
93bb5d777e
Fix bug 1083 - "winId returns a PyCObject making it impossible to compare two winIds"
2012-03-08 16:56:17 -03:00
Hugo Parente Lima
e3814f27dd
Replace private.py file by an inject code.
2012-03-08 16:56:17 -03:00
Paulo Alcantara
2f70b10471
Fix BUG #1077 - "Application exit crash when call QSyntaxHighlighter.document()"
...
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:56:17 -03:00
Paulo Alcantara
e2524f6abb
Fix BUG #1034 - "Error compiling PySide with Python 3.2.2 32bit on Windows"
...
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:56:17 -03:00
Paulo Alcantara
4985f114a3
Fix BUG #1069 - "QtCore.QDataStream silently fails on writing Python string"
...
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewer: Willer Moreira <willer.moreira@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:17 -03:00
Luciano Wolf
791f70629c
Bumping to revision 1.0.9
2012-03-08 16:56:17 -03:00
Paulo Alcantara
8160e529e2
Fix BUG #1048
...
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewer: Willer Moreira <willer.moreira@openbossa.org>
Hugo Parente Lima <hugo.lima@openbossa.org>
2012-03-08 16:56:17 -03:00
Paulo Alcantara
45ad11e5be
Fix BUG #1058 - "Strange code in PySide/QtUiTools/glue/plugins.h"
...
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Bruno Araújo <bruno.araujo@openbossa.org>
2012-03-08 16:56:17 -03:00
Paulo Alcantara
e031567fac
Fix BUG #1052
...
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:56:17 -03:00
Lauro Neto
e29d2e460b
Fix PYSIDE_LIBRARY in CMake export.
...
Was hardcoded with Cygwin library name format.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:56:16 -03:00
Hugo Parente Lima
fbf3a8b07a
Remove unused code in bug 844 unit test.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:56:16 -03:00
Hugo Parente Lima
dde75099f2
Fix bug 1029 - "qmlRegisterType Fails to Increase the Ref Count"
2012-03-08 16:56:16 -03:00
Paulo Alcantara
64ffc4f61b
Fix BUG #1031
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:16 -03:00
Jerzy Kozera
50bf9a570b
Fixed compilation error for gcc versions < 4
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:16 -03:00
Hugo Parente Lima
b30e998e65
Fix phonon unit test when there are device aliases reported by phonon.
2012-03-08 16:56:16 -03:00
Hugo Parente Lima
c230fad427
Strip the text received from message handler.
...
This was needed because now qWarning, etc, are using stream operators
for security reasons, and those operators add spaces at end.
2012-03-08 16:56:15 -03:00
Hugo Parente Lima
6fe19dbb88
Fix bug 1012 - "FTBFS with hardening flags enabled"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:15 -03:00
Hugo Parente Lima
8060e3ee87
Fix bug 1036 - "Qt.KeyboardModifiers always evaluates to zero"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:15 -03:00
Hugo Parente Lima
b50186e9f3
Creates QFlags types at runtime.
2012-03-08 16:56:15 -03:00
Hugo Parente Lima
4ba7cd90d6
Fix bug 1013 - "connect to QSqlTableModel.primeInsert() causes crash"
2012-03-08 16:56:15 -03:00
Hugo Parente Lima
f57d4d4dbc
Fix bug 1011 - "PySide cygwin patch"
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:15 -03:00
Hugo Parente Lima
5c076e1c53
Reduce the memory used by PySideMetaFunction instances.
2012-03-08 16:56:15 -03:00
Hugo Parente Lima
67d6455fa5
Unify the code used to do QObject meta calls.
2012-03-08 16:56:15 -03:00
Hugo Parente Lima
15ceed791f
Fix bug 1016 - "Calling of Q_INVOKABLE method returning not QVariant is impossible..."
2012-03-08 16:56:15 -03:00
Hugo Parente Lima
f55d088d44
Optimize PySide::getMetaDataFromQObject function avoiding some str copies.
2012-03-08 16:56:14 -03:00
Hugo Parente Lima
07d0879700
Fix code style and add license headers.
2012-03-08 16:56:14 -03:00
Hugo Parente Lima
2e1ff21938
Fix unit test of bug 829.
2012-03-08 16:56:14 -03:00
Hugo Parente Lima
0971ac7c4f
Version bump to 1.0.8.
2012-03-08 16:56:14 -03:00
Hugo Parente Lima
0e8b50c9b0
Fix bug 1019 - "Overriding QWidget.show or QWidget.hide do not work"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:14 -03:00
Paulo Alcantara
b7f593d99e
Fix bug 1022 - "RuntimeError: maximum recursion depth exceeded while getting the str of an object"
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
2012-03-08 16:56:14 -03:00
Hugo Parente Lima
6acb5f9bc7
Only removes actions bounded to PyObjects on QMenu::clear.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:56:14 -03:00
Renato Filho
9f05c7dad5
Initial update typesystem for support Qt 4.8 (beta).
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:56:14 -03:00
Lauro Neto
6c47624e92
Fix getTypeName check order.
...
Was segfaulting for signals with None as an explicit
argument (returning NULL to a strdup).
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:14 -03:00
Marcelo Lira
2683577b7a
Fixes win32's HWND converter.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:56:13 -03:00
Hugo Parente Lima
ed94eda798
Use sbkpython.h instead of Python.h to avoid problems with Python2.5.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:56:13 -03:00
Hugo Parente Lima
620b46650a
Avoid using uninitialized variable.
2012-03-08 16:56:13 -03:00
Hugo Parente Lima
7202e2b8df
Fix qglbuffer test on Python3.
2012-03-08 16:56:13 -03:00
Renato Filho
1cefc09118
Fixed unittest to work with python3.
2012-03-08 16:56:13 -03:00
Hugo Parente Lima
b841afdb5c
Change String::convertible to String::isConvertible.
2012-03-08 16:56:13 -03:00
Renato Filho
401651e26c
Fixed unittest to work with python3.
2012-03-08 16:56:13 -03:00
Renato Filho
66d96ef4b6
Updated Cmake files.
2012-03-08 16:56:13 -03:00
Renato Filho
c33a78cdd4
Slplited python compat file for python 2.x and 3.x
2012-03-08 16:56:12 -03:00
Renato Filho
18383549d6
Updated __init__.py file to works with python 2.x and 3.x
2012-03-08 16:56:12 -03:00
Renato Filho
6869a49bc3
Updated pyside and signals tests to works with python 2.x and 3.x
2012-03-08 16:56:12 -03:00
Renato Filho
1874425448
Updated phonon modue to works with python 2.x and 3.x
2012-03-08 16:56:11 -03:00
Renato Filho
de291d1d0f
Updated QtWebKit modue to works with python 2.x and 3.x
2012-03-08 16:56:11 -03:00
Renato Filho
e90255bf7e
Updated QtUiTools modue to works with python 2.x and 3.x
2012-03-08 16:56:11 -03:00
Renato Filho
676b2b579d
Updated QtSql modue to works with python 2.x and 3.x
2012-03-08 16:56:11 -03:00
Renato Filho
f6c818b21d
Updated QtOpenGL modue to works with python 2.x and 3.x
2012-03-08 16:56:11 -03:00
Renato Filho
66a0bbf578
Updated QtNetwork modue to works with python 2.x and 3.x
2012-03-08 16:56:11 -03:00
Renato Filho
1f1fbfbfa8
Updated QtScript modue to works with python 2.x and 3.x
2012-03-08 16:56:11 -03:00
Renato Filho
d9dd319232
Updated QtGui modue to works with python 2.x and 3.x
2012-03-08 16:56:11 -03:00
Renato Filho
edaefbce48
Updated QtCore modue to works with python 2.x and 3.x
2012-03-08 16:56:11 -03:00
Renato Filho
75843bf45a
Updated QtDeclarative modue to works with python 2.x and 3.x
2012-03-08 16:56:10 -03:00
Renato Filho
1e29ab6592
Initia QtCore port to python3.
2012-03-08 16:56:08 -03:00
Renato Filho
a2cb6fe025
Created pyside QFlags compat class.
2012-03-08 16:54:53 -03:00
Renato Filho
2e69baa4f5
Fixed compilation with python3.
2012-03-08 16:54:53 -03:00
Marcelo Lira
009aef9f1b
Fixes argument and return type of a couple of QtDeclarative methods.
...
The methods are:
* QDeclarativeEngine::importPlugin(QString,QString,QString*)
* QDeclarativeExpression::evaluate(bool*)
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:52 -03:00
Marcelo Lira
9e8916e111
Fixes argument and return type for method "QScriptString::toArrayIndex(bool*)const".
2012-03-08 16:54:52 -03:00
Marcelo Lira
b94ad1e4de
QHostAddress::setAddress(quint8*) signature was removed.
2012-03-08 16:54:52 -03:00
Renato Filho
2cec2a1186
Version bumped.
2012-03-08 16:54:52 -03:00
Renato Filho
6f777cd227
Created unit test for layout policy.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:52 -03:00
Renato Filho
2db3d80e6c
Fixed layout policy.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:51 -03:00
Renato Filho
f367f0ada3
Created unit test for bug #1006 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:51 -03:00
Renato Filho
3a0b98ef4b
Fix QLayout.itemAt and QGridLayout.itemAtPosition return policy.
...
Fixes bug #1006 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:51 -03:00
Hugo Parente Lima
d86765e535
Unit test for bug 995 - "QDeclarativeView.itemAt returns faulty reference. (leading to SEGFAULT)"
2012-03-08 16:54:51 -03:00
Renato Filho
846759b324
Created unit test for bug #1002 .
...
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:51 -03:00
Renato Filho
e92b601620
Fixed QWidget.window() return policy.
...
Fixes bug #1002
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:51 -03:00
Renato Filho
cf61c80588
Created unit test for bug #997 .
...
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:51 -03:00
Renato Filho
a92a006fd9
Avoid register property twice during the object instaciation.
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:51 -03:00
Renato Filho
f16a241b13
Fixed segfault during the connection fail.
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:51 -03:00
Renato Filho
f7b0dca2cb
Create unit test for bug #998 .
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:50 -03:00
Renato Filho
bfcc30ab86
Fixed problems in function that return None, and was not verified.
...
Some functions with inject code didnot verify the result value before
convert to Shiboken types.
Fixes bug #998 .
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:50 -03:00
Marcelo Lira
d29d9ad5ac
Changed QStringList from container to primitive type.
...
QStringList inherits from QList<QString>, and it isn't a reusable
container itself, such as QList.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:50 -03:00
Hugo Parente Lima
b55ea7fd5e
Fix bug 981 - "QSettings docs should empathize the behavior changes of value() on different platforms"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:50 -03:00
Hugo Parente Lima
e9de49255b
Fix QAbstractFileEngine read and readLine methods to accept data with null bytes.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:50 -03:00
Hugo Parente Lima
8e43e10f4e
Fix other QIODevice read functions stopping at null bytes.
2012-03-08 16:54:50 -03:00
Lauro Neto
7ee30db078
Add extra test on QByteArray explicit conversion
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:50 -03:00
Hugo Parente Lima
9afe76796d
Fix bug 944 - "QIODevice.readData must use qmemcpy instead of qstrncpy"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:50 -03:00
Hugo Parente Lima
08d202e824
Fix bug 966 - "QX11Info.display() missing"
2012-03-08 16:54:49 -03:00
Renato Filho
700a4cf95c
Created unit test for QColor reduce function.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:49 -03:00
Renato Filho
2487a08062
Fixed QColor reduce function.
...
Fixes bug #989 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:49 -03:00
Hugo Parente Lima
57b291fe66
Unit test for bug 967, a side effect of bug 988.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:49 -03:00
Renato Filho
6e6e7f528d
Created test for bug #979 .
2012-03-08 16:54:49 -03:00
Hugo Parente Lima
a7e4ddb8ca
Fix bug 988 - "The type supplied with currentChanged signal in QTabWidget has changed in 1.0.6"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:49 -03:00
Hugo Parente Lima
f5f9c23c5f
Optimize my dumb code that do stuff with a QByteArray without knowing if will use it.
2012-03-08 16:54:49 -03:00
Renato Filho
49ad2f9c1d
Created unit test for repr function.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:49 -03:00
Renato Filho
1c4ebcbe8a
Fixed gcc warning during QDate conversion compilation.
2012-03-08 16:54:48 -03:00
Renato Filho
24838672f0
Created unit test for bug #987 .
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:48 -03:00
Renato Filho
d0decf40df
Fail during the signal connection or disconnection raises exception.
...
Fixes bug #987 .
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:48 -03:00
Renato Filho
b6068afc3e
Fixed SignalManager bug during anonymous signal connection.
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:48 -03:00
Hugo Parente Lima
e59a9f833f
Added missing primitive types on QtCore type system.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:48 -03:00
Hugo Parente Lima
5eda2f1365
Fix white space.
2012-03-08 16:54:48 -03:00
Renato Filho
01bd258e10
Created unit test for bug #973 .
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:48 -03:00
Renato Filho
b3e839c1f8
Removed debug messages from the test.
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:48 -03:00
Renato Filho
e9b959ed8e
Implemented inject code for function QWebPage.qt_metacall.
...
This inject code is necessary due a workaround on C++ class QWebPage.
Check de C++ doc for more information:
http://doc.qt.nokia.com/4.7-snapshot/qwebpage.html#shouldInterruptJavaScript
Fixes bug #973 .
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:48 -03:00
Renato Filho
d5b645d3ab
Created utility function to call a python method usign args received in
...
qt_metacall.
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:47 -03:00
Renato Filho
65d4cf2be4
Fix complation warning relative to PyDateTime_IMPORT.
2012-03-08 16:54:47 -03:00
Renato Filho
6e9b7ffd59
Created unit test for QMenu, QMenuBar, QToolBar clear function.
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:47 -03:00
Renato Filho
138d8c4268
Fixed QMenu, QMenuBar, QToolBar clear function.
...
During the clear function all QActions need be destroyed.
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:47 -03:00
Renato Filho
f5a1baac2f
Fixex return policy on QNetworkAccessManager.createRequest.
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:47 -03:00
Renato Filho
34d424f89d
Register QVariantMap on TypeManager.
...
fixes bug #959 .
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:47 -03:00
Renato Filho
544414cc03
Created unit test for bug #959 .
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:47 -03:00
Renato Filho
c31c7c60da
Implement support to pyside debug mode on documentation generator.
...
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:47 -03:00
Renato Filho
8492b69d33
Fixed build for Qt 4.6.
2012-03-08 16:54:47 -03:00
Renato Filho
84b0364b5d
Dependency version update.
2012-03-08 16:54:46 -03:00
Renato Filho
3da60153c0
Created unit test for __reduce__ of empty QColor.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:46 -03:00
Renato Filho
4fdc15ef7f
Fix QColor __reduce__ function.
...
Fixes bug #983 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:46 -03:00
Renato Filho
74e10eef63
Created unitest for bug #972 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:46 -03:00
Renato Filho
88acbd47db
Fix QGraphicsProxyWidget.setWidget return policy.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:46 -03:00
Hugo Parente Lima
14c00d3325
Fix QSettings code snippet.
2012-03-08 16:54:46 -03:00
Renato Filho
7b2c4242ad
Implemented GlobalReceiverV2.
...
A new implementation of GlobalRecever that optmize the signal
connection.
Fixes bug #928 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:46 -03:00
Marcelo Lira
d00af325c6
Do not generate QTest::qt_snprintf function.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:46 -03:00
Marcelo Lira
bb68848f4a
Fixed conversion rules for QWebPage.javaScriptPrompt method.
2012-03-08 16:54:45 -03:00
Marcelo Lira
69d0627af3
Updated QtNetwork's type system.
2012-03-08 16:54:45 -03:00
Marcelo Lira
8dd72c2630
Updated QtDeclarative's type system.
2012-03-08 16:54:45 -03:00
Marcelo Lira
2a26f35607
Updated QtWebKit's type system.
...
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:45 -03:00
Marcelo Lira
d2e1893762
Updated QtXmlPattern's type system.
2012-03-08 16:54:45 -03:00
Marcelo Lira
00f51edd5b
Updated QtGui's type system.
2012-03-08 16:54:45 -03:00
Marcelo Lira
9f00c67682
Updated QtCore's type system.
2012-03-08 16:54:45 -03:00
Hugo Parente Lima
f0ea617acb
Fix bug 964 - "QAbstractItemView.moveCursor() method is missing"
...
Reviewer: Marcelo Lira <marcelol.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:44 -03:00
Hugo Parente Lima
48015c2bdc
Fix bug 950 - "implement Q_INVOKABLE"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:44 -03:00
Renato Filho
3c7e551a99
Fixed QColor.__reduce__ function.
...
Fixes bug #960 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:44 -03:00
Renato Filho
8e1c2702f6
Created unit test for QColor.__repr__ and QColor.__str__ functions.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:44 -03:00
Renato Filho
a17bf41305
Implemented QColor.__repr__ and QColor.__str__ functions.
...
Fixes bug #961 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:44 -03:00
Renato Filho
e3502d00fc
Created unit test for bug #958 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:44 -03:00
Renato Filho
00bd60cfda
Remove obscure code from QUiLoader inject code.
...
Fixes bug #958 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:44 -03:00
Renato Filho
247116d320
Removed return policy from QUiLoader.load return object.
...
This policy have already applied on glue code.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:43 -03:00
Renato Filho
44c67274f0
Created unit test for bug #965 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:43 -03:00
Hugo Parente Lima
bbf66078ea
Fix bug 953 - "Segfault when QObject is garbage collected after QTimer.singeShot"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:43 -03:00
Hugo Parente Lima
b633bd4c2e
Deprecated functions marked as deprecated.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:43 -03:00
Renato Filho
a87d114210
Created unit test for bug #951 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:43 -03:00
Renato Filho
7942a9053d
Updated qmlRegisterType to register.
...
qmlRegisterType uses QDeclarativeItem in template args, when the class is derived from QDeclarativeItem, otherwise uses QObject.
Fixes bug #951 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:43 -03:00
Hugo Parente Lima
d44123b26e
Fix links on rel bar.
2012-03-08 16:54:43 -03:00
Hugo Parente Lima
8270b38ecf
Bump version to 1.0.6.
2012-03-08 16:54:43 -03:00
Didier Raboud
b6a0810e70
Update pysidedocs theme to rely more on sphinx's base theme:
...
- Drop files that are redundant with sphinx.
- Add _templates/layout.html to add the needed customisation.
- Update theme.conf to ensure theme inheritance.
- Update pysidedocs.css to fit the theme with sphinx's basic theme.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:43 -03:00
Lauro Neto
5e08e864e7
Added test for signal with typedef
...
Reviewer: Renato Filho <renato.filho@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:42 -03:00
Lauro Neto
44e1d257ec
Removing uneeded file
2012-03-08 16:54:42 -03:00
Lauro Neto
57894b73b7
Fix plugin test
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
2012-03-08 16:54:42 -03:00
Lauro Neto
a8e05ed6fe
Add test for qml plugin.
...
Simple test. No asserts. If broken should segfault
2012-03-08 16:54:42 -03:00
Lauro Neto
9a78c19fb8
Fixes in QtWebkit
...
Needed to make example from [1] work. Example will be added
to pyside-examples.
[1] http://blog.qtlabs.org.br/2011/05/30/transformando-o-qml-no-proximo-flash/
2012-03-08 16:54:42 -03:00
Marcelo Lira
40938ef366
Fixes Bug #944 : Segfault on QIcon(None).pixmap()
...
http://bugs.pyside.org/show_bug.cgi?id=944
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:42 -03:00
Renato Filho
a713e377bb
DynamicMetaObject optimizations.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:42 -03:00
Marcelo Lira
fae2dfd9b1
Moved AutoArrayPointer from libpyside to libshiboken.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:42 -03:00
Hugo Parente Lima
d129ca02f6
Don't color links black.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:42 -03:00
Hugo Parente Lima
8a81e8da21
Better looking module listing page.
2012-03-08 16:54:42 -03:00
Hugo Parente Lima
6c8ad3b83f
Translate QHistoryState code snippet to Python.
2012-03-08 16:54:41 -03:00
Hugo Parente Lima
d771081005
Cosmetic changes on docs.
2012-03-08 16:54:41 -03:00
Marcelo Lira
609f6bc889
Created template code for added QObject's trUtf8 methods.
...
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:41 -03:00
Marcelo Lira
151111bde2
Replaced hard coded variables by type system variables in QtCore and QtGui.
2012-03-08 16:54:41 -03:00
Hugo Parente Lima
8d8c4cf308
Fix bug 923 - "Make QScriptValue (or QScriptValueIterator) implement the Python iterator protocol"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:41 -03:00
Hugo Parente Lima
d912655b5a
New CSS style for PySide docs.
2012-03-08 16:54:41 -03:00
Marcelo Lira
c4994bc1ab
Removed the "default-constructor" from some QtCore type entries.
...
The generator was improved to do a better job figuring out a default
constructor for types.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:41 -03:00
Marcelo Lira
09ef995719
Removed the remaining unnecessary QTextStream::operator>> methods.
2012-03-08 16:54:41 -03:00
Marcelo Lira
035265df10
Fixes the support for QGLShaderProgram's array functions.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:40 -03:00
Hugo Parente Lima
7a5d2e693b
Fix bug 941 - "Signals with QtCore.Qt types as arguments has invalid signatures"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:40 -03:00
Renato Filho
aa091e00ef
Fixed windows compilation.
2012-03-08 16:54:40 -03:00
Renato Filho
fe4dd9d63f
Created unit test for QScriptValue __repr__ function.
2012-03-08 16:54:40 -03:00
Renato Filho
d68d90a144
Implement a more detailed __repr__ function for QScriptValue.
...
Fixes bug #922 .
2012-03-08 16:54:40 -03:00
Renato Filho
75bf7f24b8
Implemented 'QGLShaderProgram' array functions support.
...
Fixes bug #940 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:40 -03:00
Renato Filho
3482e2c114
Update bug_931 unit test to check for isinstance.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:40 -03:00
Renato Filho
7de55917c9
Implemented meta type for PySideSignal.
...
This allow intercept isinstance function to make valid with any
SignalInstance object.
Fixes bug #931 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:40 -03:00
Hugo Parente Lima
5922676bb1
Use linked lists instead of lists to speed up a bit.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:40 -03:00
Hugo Parente Lima
9a8531bfd6
Small optimizations on libpyside.
2012-03-08 16:54:39 -03:00
Renato Filho
238222df8e
Created unit test for property decorator.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:39 -03:00
Renato Filho
dffc9a21ea
Implemented Property decorator support.
...
Fixes bug #900 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:39 -03:00
Renato Filho
6cd17da797
Bumped version to 1.0.5
2012-03-08 16:54:39 -03:00
Renato Filho
10269a2c32
Updated shiboken version dependency.
2012-03-08 16:54:39 -03:00
Renato Filho
3ab2d7b8c3
Fix typo on function modification signature.
2012-03-08 16:54:39 -03:00
Renato Filho
51dad59dc7
Use realloc functions on MetaObject functions.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:38 -03:00
Renato Filho
ec45601aa1
Implemented DynamicMetaObject optiomizations.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:38 -03:00
Renato Filho
9dd8f98e73
Update unit test for static metaobjet to work with new optimizations
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:38 -03:00
Renato Filho
a0566f9928
Update QMetaObject test to test optimization changes.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:38 -03:00
Renato Filho
7eae54e157
Update unit test for max signals.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:38 -03:00
Renato Filho
81f264913e
Fixed unit test for bug_847 mandelbug.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:38 -03:00
Hugo Parente Lima
f10f4f70d4
Fix bug 938 - "QTemporaryFile JPEG problem"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:38 -03:00
Hugo Parente Lima
5902ca2e66
Fix bug 937 - "missing pid method in QProcess"
2012-03-08 16:54:38 -03:00
Hugo Parente Lima
0b6bafdd44
Fix bug 934 - "A __getitem__ of QByteArray behaves strange"
2012-03-08 16:54:38 -03:00
Hugo Parente Lima
673a7d1bcc
Fix bug 890 - "Add signal connection example for valueChanged(int) on QSpinBox to the docs"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:37 -03:00
Marcelo Lira
5d05c840bf
Moved test for bug #921 from QtCore's directory to QtGui's.
...
Because it imports QtGui module.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:37 -03:00
Hugo Parente Lima
e3539a09a8
Fix bug 821 - "Mapping interface for QPixmapCache"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:37 -03:00
Marcelo Lira
ef45b5a924
Fixes bug #910 - installEventFilter() increments reference count on target object.
...
http://bugs.pyside.org/show_bug.cgi?id=910
Also added/fixed unit tests.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:37 -03:00
Hugo Parente Lima
cab3b37b78
Add a comma.
2012-03-08 16:54:37 -03:00
Hugo Parente Lima
b166a72ccf
Fix bug 916 - "Missing info about when is possible to use keyword arguments in docs [was: QListWidgetItem's constructor ignores text parameter]"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:37 -03:00
Hugo Parente Lima
e37426c8c4
Fix bug 926 - "qmlRegisterType does not work with QObject"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2012-03-08 16:54:37 -03:00
Renato Filho
8ec6934396
Fix memory leak on GlobalReceiver.
2012-03-08 16:54:37 -03:00
Renato Filho
6f872f484c
Created unit test for bug #931 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:37 -03:00
Renato Filho
304a265840
Renamed PySide.Signal instance class to PySide.SignalInstance.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:36 -03:00
Renato Filho
e6f0d69532
Created unit test for bug #921 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:36 -03:00
Renato Filho
420cc076b3
Disconnect signals during the class destroy.
...
Fix bug #921 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:36 -03:00
Hugo Parente Lima
f16324eb57
Update copyright year of license boiler plate.
2012-03-08 16:54:36 -03:00
Hugo Parente Lima
17e3d0da85
Fix bug 924 - "Allow QScriptValue to be accessed via []"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:36 -03:00
Hugo Parente Lima
48a1b539a4
Fix bug 920 - "Cannot use same slot for two signals"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:36 -03:00
Renato Filho
116a691516
Created unit test for bug #919 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:36 -03:00
Renato Filho
d4760309b7
Fix argument name on QStyle functions, and modify default value.
...
Fixes bug #919 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:36 -03:00
Renato Filho
d454f8a12c
Created unit test for bug #915 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:35 -03:00
Renato Filho
6848e692ce
Fixed QGraphicsView.scene return policy.
...
Fixes bug #915 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:35 -03:00
Hugo Parente Lima
c22e33a6c8
Fix bug 929 - "pkg-config files do not know about Python version tags"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:35 -03:00
Renato Filho
e9f082e83c
Created unit test for bug #927 .
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:35 -03:00
Renato Filho
f62ba98e88
Fixed QThreadPool globalInstance ownership rules.
...
Fixed QThreadPool start, tryStart ownership rules.
Fixes bug #927 .
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:35 -03:00
Renato Filho
9ef344629a
Removed polymorphic-id-expression from QDeclarativeItem.
...
Fixes bug #925 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:35 -03:00
Renato Filho
794104582e
Created unit test for bug #899 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:35 -03:00
Renato Filho
dc5ef0b998
Increment reference for functions used on QtCore.Property.
...
Fix bug #899 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:35 -03:00
Renato Filho
ae0e33ff72
Fixed enum test.
2012-03-08 16:54:34 -03:00
Renato Filho
c7385c45c4
Created unit test for bug #886 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:34 -03:00
Renato Filho
b731b70fb2
Created unit test for duplicated signals.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:32 -03:00
Renato Filho
09810443bf
Fixed PySide signal object constructor.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:32 -03:00
Renato Filho
fa59041a97
Created unit test for bug #896 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:31 -03:00
Renato Filho
f2cecb5697
Implemented staticMetaObject property for QObjects.
2012-03-08 16:54:31 -03:00
Hugo Parente Lima
f3d69f65d1
Fix bug 913 - "Widgets inside QTabWidget are not exported as members of the containing widget"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:31 -03:00
Renato Filho
7d364bde65
Translate Shiboken enums to strings during the signal connection.
...
Fixes bug #903 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:31 -03:00
Renato Filho
0b5d8a1dec
Created unit test for bug #909 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:31 -03:00
Renato Filho
f43d92fab4
Fix QUiLoader::load function ownership rules.
...
fixes bug #909 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:31 -03:00
Renato Filho
d82b8dbd8d
Fixed QMainWindow ownership control.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:31 -03:00
Marcelo Lira
da39716cc9
Fixes bug #899 - http://bugs.pyside.org/show_bug.cgi?id=899
...
Added unit test.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araujo <renato.filho@openbossa.org>
2012-03-08 16:54:31 -03:00
Renato Filho
b6f38556bd
Created unittest for bug #407 .
2012-03-08 16:54:31 -03:00
Renato Filho
7eb5694e17
Created unit test for bug #897 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:30 -03:00
Renato Filho
b385e0c3ed
Fixed propagation of properties for user-defined types.
...
Fixes bug #897 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:30 -03:00
Hugo Parente Lima
0d0981309e
Fixed test case, when the destroyed() signal is emitted all C++ objects are just QObject because their up destructors were already called.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:30 -03:00
Hugo Parente Lima
1783db758c
Remove reference leak on global receiver.
2012-03-08 16:54:30 -03:00
Renato Filho
c0a4142c42
Bumped version to 1.0.4.
2012-03-08 16:54:30 -03:00
Renato Filho
db796e14d0
Created test for QObject.inherits.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:29 -03:00
Renato Filho
ebaf95ca1a
Removed glue code for QObject.inherits function.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:29 -03:00
Renato Filho
f549793a5c
Fixed QWidget.parentWidget return policy.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:29 -03:00
Renato Filho
a208d34ede
Fill qApp is any QApplication is active during the QtGui moude import.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:29 -03:00
Marcelo Lira
af2972255d
Updated PySide type systems to use the new type system variables: %ISCONVERTIBLE and %CHECKTYPE.
...
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araujo <renato.filho@openbossa.org>
2012-03-08 16:54:29 -03:00
Hugo Parente Lima
df30f37512
Fix bug 879 - "QDoubleSpinBox: Can't call the parent validate() method from a subclass"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:29 -03:00
Hugo Parente Lima
590abafc54
Fix bug 822 - "Can't use QApplication without X"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:29 -03:00
Marcelo Lira
b66f8a789a
Added an unit test for bug #871 .
...
http://bugs.pyside.org/show_bug.cgi?id=871
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:28 -03:00
Marcelo Lira
90be657119
Fixed default return value for "QStyleOptionViewItem QAbstractItemView::viewOptions() const".
...
Wrong code would be generated if compiling avoiding the "protected hack".
2012-03-08 16:54:28 -03:00
Hugo Parente Lima
23445c7fee
Fix bug 877 - "Fatal Python error on application quit."
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:28 -03:00
Hugo Parente Lima
c1f78498e6
Fix bug 870 - "QStylePainter.drawControl doesn't draw anything"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:28 -03:00
Renato Filho
23d1e497d8
Implemented support to MSG type on windows.
2012-03-08 16:54:28 -03:00
Renato Filho
3e88ef1c54
Removed unnecessary functions from QByteArray.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:28 -03:00
Hugo Parente Lima
97da5d1574
Fix bug 869 - "QDateTimeEdit initial time problem"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:28 -03:00
Hugo Parente Lima
6f46c1fab5
Fix bug 424 - "QDockWidget.setTitleBarWidget does not accept 0"
2012-03-08 16:54:27 -03:00
Hugo Parente Lima
0589d438b3
Show perm links only when the mouse hover on title.
2012-03-08 16:54:27 -03:00
Hugo Parente Lima
85a3a7fb31
Update javascript files used in sphinx generated documentation.
2012-03-08 16:54:27 -03:00
Renato Filho
902b1ec786
Created unit test for bug #860 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:27 -03:00
Renato Filho
3595badad6
Fixed signal connection with native c++ slot.
...
Fixes bug #860 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:27 -03:00
Hugo Parente Lima
e3df0766c3
Fix bug 827 - "Anchor sign for headers to copy links for sections"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:27 -03:00
Hugo Parente Lima
928fa00609
Fix bug 631 - "QSocketNotifier: Accept file-like object (with .fileno() method) in constructor"
2012-03-08 16:54:27 -03:00
Hugo Parente Lima
542adc0452
Avoid warnings about redefined constants.
2012-03-08 16:54:27 -03:00
Hugo Parente Lima
596f8347e2
Unit test for bug862 - "Problems when printing objects"
2012-03-08 16:54:27 -03:00
Marcelo Lira
801efd40f3
Removed the rejection of QAbstractFileEngine.beginEntryList.
...
Added an unit test.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:26 -03:00
Marcelo Lira
f957a6f42d
Moved internalPointer methods code injection into a code template.
2012-03-08 16:54:26 -03:00
Renato Filho
c0d6e44acc
Updated example to handle with Python warnings.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:26 -03:00
Hugo Parente Lima
f1c7c78694
Port all buffer related code to the new Shiboken buffer interface.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:26 -03:00
Renato Filho
7109418dbe
Created unit test for QObject.eventFilter function.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:26 -03:00
Renato Filho
20f8953cb4
Fixed problems with eventFilter function destruction order.
...
The object passed to eventFilter function will keep a reference
to the listener object, this will ensure the destruction order.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:26 -03:00
renato araujo
3800537912
Created ClassInfo documentation.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:26 -03:00
Renato Filho
cbf60dce54
Updated generatorrunner dependency version.
2012-03-08 16:54:26 -03:00
Hugo Parente Lima
2c2398db4f
Minor change in a doc code snippet.
2012-03-08 16:54:25 -03:00
Renato Filho
0c8a5401d9
Fix memory leak on QEasingCuverFunctor.
2012-03-08 16:54:25 -03:00
Renato Filho
ed7b92d5d7
Check if the same python object arrive on destroyed signal.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:25 -03:00
Renato Filho
77559ac639
Created DestroyListener class.
...
This class is used to keep the Python object live until the signal destroyed emission.
With this is possible to use the QObject on destruction signal.
Fixes bug #505 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:25 -03:00
Renato Filho
d9c43275a0
Fixed reference leek on global receiver callback call.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:25 -03:00
Renato Filho
306395a65f
Created unit test for ClassInfo class.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:25 -03:00
Renato Filho
e13ce9212a
Implemented PySide::ClassInfo Object.
...
This class reproduce the Qt macro Q_CLASSINFO behavior.
Eg.:
@QtCore.ClassInfo(author='PySide', url='http://www.pyside.org ')
fixes bug #705 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:25 -03:00
Renato Filho
5805ea4e01
Create checkType for libpyside objects.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:25 -03:00
Renato Filho
6e8f2a6d61
Fix indentation.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:25 -03:00
Marcelo Lira
e93b79399a
Added the missing QPixmapCache.Key class to the type system.
...
Unit tests for QPixmapCache were also added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:24 -03:00
Renato Filho
5e778d0f1b
Create unit test for function QEasingCuver.setCustomType.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:24 -03:00
Renato Filho
cceea0af84
Implemented support to QEasingCurve.setCustomType.
...
fixes bug #725 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:24 -03:00
Renato Filho
923d007ab9
Create PySideWeakRef class.
...
With this class you can use a c function as a callback on PyObject destruction.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:24 -03:00
Hugo Parente Lima
21b5e6f05a
Remove ugly gray background on documentation see-also links.
2012-03-08 16:54:24 -03:00
Lauro Neto
7888982223
Update test for python 2.5
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
2012-03-08 16:54:23 -03:00
Hugo Parente Lima
68157d645e
Fix bug 803 - "QWebElementCollection.operator[] is not implemented"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:23 -03:00
Paulo Alcantara
b3f5de9999
Fix typo
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
2012-03-08 16:54:23 -03:00
Renato Filho
8e221bfb97
Implemented convertion from Python types for QDate, QTime, QDateTime.
...
Fixes bug #680
Reviewer: pcacjr <pcacjr@gmail.com>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:23 -03:00
Hugo Parente Lima
952f9f0bda
Fix bug 686 - "Request to make Q[Mutex|Read|Write]Locker context managers"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:23 -03:00
Hugo Parente Lima
c27dceaaab
White spaces removal...
2012-03-08 16:54:23 -03:00
Marcelo Lira
85a5641368
Unit test for bug 634, based on code from Marcus Lindblom.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:23 -03:00
Renato Filho
0f1b57dc94
Created unit test for bug #854 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:23 -03:00
Renato Filho
ddae00b6c4
Fixed kee-reference rule.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:22 -03:00
Hugo Parente Lima
48f8b3865d
Fix bug 857 - "64bit Windows build broken"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.filho@openbossa.org>
2012-03-08 16:54:22 -03:00
Marcelo Lira
b926ac5def
Added tests for bug #716 - QPersistentModelIndex isn't convertible to QModelIndex
...
The main test (exactly the same as reported) was added to QtGui tests,
but also extended QAbstractItemModel test with a case that is the
essence of the problem.
http://bugs.pyside.org/show_bug.cgi?id=716
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:22 -03:00
Marcelo Lira
c057f74ce3
QPersistentModelIndex has its "operator const QModelIndex&() const" method back.
2012-03-08 16:54:22 -03:00
Paulo Alcantara
ad023b3cb5
Create unit tests for bug #606
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:22 -03:00
Paulo Alcantara
6545eb21f5
Fix bug #606
...
Add toTuple() function to these all classes:
- QPoint/QPointF/QSize/QSizeF/QVector2D/QVector3D/QVector4D
- QLine/QLineF/QColor
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:22 -03:00
Paulo Alcantara
23a1c436e3
Add template to toTuple() functions
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
2012-03-08 16:54:22 -03:00
Hugo Parente Lima
82335c4614
Always use the local Qt headers + global.h.in cleanup.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:22 -03:00
Hugo Parente Lima
c1f05a0624
Only add Qt4.6 classes when using Qt4.6 on QtTest and QtGui.
2012-03-08 16:54:21 -03:00
Hugo Parente Lima
2c83593868
Correctly set SUPPORTED_QT_VERSION variable to the current Qt version.
2012-03-08 16:54:21 -03:00
Hugo Parente Lima
f592efca98
Add since attribute for classes and enums added on Qt4.6 and Qt4.7.
2012-03-08 16:54:21 -03:00
Hugo Parente Lima
93ea992d35
Fix QGraphicsItem compilation on Qt4.5.
2012-03-08 16:54:21 -03:00
Hugo Parente Lima
eca2d3cd6d
Fix QColor wrapper compilation on Qt4.5.
2012-03-08 16:54:21 -03:00
Hugo Parente Lima
5f80e31958
Be compatible with Qt4.5, i.e. no QScopedPointer.
2012-03-08 16:54:21 -03:00
Hugo Parente Lima
c8f5fa07fe
Remove typesystem verbosity after fix of bug 417.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:21 -03:00
Hugo Parente Lima
c85ce95458
Use add-function on QCoreApplication and QApplication constructors.
...
This was needed after a fix in the shiboken generator regarding the
tp_init initialization.
2012-03-08 16:54:21 -03:00
Renato Filho
5825092e76
Created unit test for bug #312 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:20 -03:00
Renato Filho
ad58b05c54
Uses QMetaObject revision 3.
...
This allow to register signal and slot in any order.
Fixes bug #312
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:20 -03:00
Renato Filho
143ae88746
Created test for mew pythonic functions on QTransform class.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:20 -03:00
Renato Filho
9de9075f4f
Create pythonic functions for QTransform class.
...
fixes bug #615 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:20 -03:00
Hugo Parente Lima
cc9b6766a2
Fix assert in bug 722 unit test.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:20 -03:00
Hugo Parente Lima
42ae5c406f
Remove the restriction of detecing QtOpenGL module just when the gl.h header was found.
...
This is needed to be able to compile the QtOpenGL module on Linux when using OpenGL-ES
backend. On the other hand OpenGL-ES support isn't yet supported under MS Windows but I
don't think that this should be a problem at all.
2012-03-08 16:54:20 -03:00
Renato Filho
03312ecc18
Avoid run PyObjectWrapper operators without python interpreter.
...
Fixes bug #829 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:20 -03:00
Renato Filho
ae67df9d8b
Created unit test for bug #847 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:20 -03:00
Paulo Alcantara
595133f9c8
Create unit test for bug #835
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:20 -03:00
Paulo Alcantara
81d7107279
Fix bug #835 - "pyside breaks descriptor protocol"
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:19 -03:00
Hugo Parente Lima
f05552fc86
Fix path of pysideqmlregistertype.cpp.
2012-03-08 16:54:19 -03:00
Hugo Parente Lima
442bcd9d54
Fix bug 825 - "Can't register a class using that uses metaclasses in QML using qmlRegisterType"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:19 -03:00
Renato Filho
8cb9b6d197
Updated snippets code to use QFileSystemModel instead of deprecated class QDirModel.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:19 -03:00
Hugo Parente Lima
7542b1c726
Moved unit test of bug 834 from QtCore to QtGui, as it tests QtGui classes.
2012-03-08 16:54:19 -03:00
Renato Filho
adf13f83e9
Created unit test for bug #820 .
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:19 -03:00
Renato Filho
f65c15ec95
Fixed signal name parser.
...
Fixes bug #820 .
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:19 -03:00
Renato Filho
18924d8ce0
Created unit test for QSysInfo class.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:19 -03:00
Renato Filho
7e2fd5d14b
Fixed QSysInfo.Endian enum detection on MacOs.
...
Fixes bug #809 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:19 -03:00
Renato Filho
ba6726449f
Created unit test fo QMacStyle class.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:18 -03:00
Renato Filho
8e8e8b044b
Included QMacStyle class check.
...
Included QMacStyle header on global include.
Fixes bug #840
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:18 -03:00
Hugo Parente Lima
a445a69fac
Fix bug 786 - "There's no __eq__ for all classes inherited from ObjectDescription<T> due to an Apiextractor bug."
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:18 -03:00
Renato Filho
4b5a6f760f
Fixed some typos on unit test for bug #841
2012-03-08 16:54:18 -03:00
Renato Filho
1d3063a823
Created unit test for bug #785 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:18 -03:00
Renato Filho
c1f1b62957
Put back missing functions for class QItemSelection.
...
fixes bug #785 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:18 -03:00
Hugo Parente Lima
fd2abb11f5
Fix bug 797 - "error on ui file load"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:18 -03:00
Hugo Parente Lima
71cd11a1c3
Fix bug 844 - "Crash in QGraphicsItem::toGraphicsObject when printing obj reference"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:18 -03:00
Paulo Alcantara
d03ba5bb65
Create unit test for bug #834
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:17 -03:00
Paulo Alcantara
bc3a572c5a
Fix bug #834 - "Segfault on childEvent"
...
The fix was basically setting the owner attribute to a correct value.
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:17 -03:00
Renato Filho
2ef1ba00c7
Create manually dir for tests.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:17 -03:00
Renato Filho
2b69cc925f
Fixed QStandardItem::clone and QStandardItemModel::setItemPrototype ownership rules.
...
Fixes bug #841 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:17 -03:00
Renato Filho
e50456ec72
Updated unit test for bug #617 to new enum repr format.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:17 -03:00
Renato Filho
81dc2bba10
Created unit test for bug #826 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:17 -03:00
Renato Filho
46986a6d0d
Created unit test for bug #839 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:17 -03:00
Renato Filho
56d3f53bef
Implemented QTestTouch functions.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:17 -03:00
Renato Filho
2b455b5acd
Bump version and updated dependency version required.
2012-03-08 16:54:17 -03:00
Renato Filho
42d7f881d5
Fixed bug 728 to use the correct arguments on function call.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:16 -03:00
Paulo Alcantara
cecd566782
Create unit test for QIPv6Address
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Renato Araujo <renato.araujo@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:16 -03:00
Paulo Alcantara
5a80d6418b
Fix bug #788 - "QIPv6Address.__getitem__ is missing."
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Renato Araujo <renato.araujo@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:16 -03:00
Renato Filho
8d6761b93d
Fixed QFileDialog functions which used QString as pointer to return values
...
Fixes bug #819
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:16 -03:00
Renato Filho
b2ddb6c1cd
Fixed QKeyEvent polymorphic-id-expression to support QEvent::ShortcutOverride.
...
Applyed patch from Evan Patterson <epatters@enthought.com>
Fixes bug #833
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:16 -03:00
Hugo Parente Lima
17a4a02354
Fix documentation bug 853 - "Provide constants for Qt and PySide version"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:16 -03:00
Lauro Neto
4fd1c23ae3
Update inheritance diagram sphinx extension.
...
Better handling missing classes.
Reviewer: Renato Araujo <renato.filho@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:16 -03:00
Renato Filho
8eb96fc200
Created unit test for bug 829.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:16 -03:00
Renato Filho
26e45be107
Implemented stream operator for PyObjectWrapper.
...
Fixes bug #829 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:16 -03:00
Renato Filho
ea4968f5f3
Fixed QVariant conversion for dictionary.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:15 -03:00
Hugo Parente Lima
3bb2bf375e
Fix bug 836 - "Pyside crashes with more than four base classes"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:15 -03:00
Hugo Parente Lima
c4225d063d
Fix bug 766 - "Constructor "QImage(const char* const xpm[])" missing"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:15 -03:00
Hugo Parente Lima
adac79f08b
Fix bugs 776 and 777
...
Bug 776 - "Operator "QPolygon::operator<<(QPoint)" missing"
Bug 777 - "Operator "QPolygon::operator<<(QVector<QPoint>)" missing"
2012-03-08 16:54:15 -03:00
Renato Filho
74dc26aa71
Fix test on windows.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:15 -03:00
Renato Filho
862e1a14b2
Created unit test for bug #778 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:15 -03:00
Renato Filho
4bfd1759d4
Implemented support to iterator on QTreeWidgetItemIterator.
...
Fixes bug #778 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:15 -03:00
Renato Filho
50e6f9690b
Created unit test to QKeySequence convertion to QVariant.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:15 -03:00
Renato Filho
5d3285e41d
Fixed QKeySequence convertion to QVariant.
...
Fixes bug #775 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:14 -03:00
Renato Filho
94571574b4
Created unit test for QKeySequence.operator[].
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:14 -03:00
Renato Filho
f94046f4a2
Implemented support to QKeySequence.operator[].
...
Fixes bug #774 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:14 -03:00
Hugo Parente Lima
9dd46ce92f
Fix bugs 771, 772, 779, 780, 781, 782, 783 and 784
...
Bug 771 - "Constructor "QStandardItem(const QStandardItem&)" missing"
Bug 772 - "Method "QPainter::drawConvexPolygon(const QPoint* points, int pointCount)" missing"
Bug 779 - "Method "QPainter::drawLines(const QLine* lines, int lineCount)" missing"
Bug 780 - "Method "QPainter::drawLines(const QPoint*, int)" missing"
Bug 781 - "Method "QPainter::drawPoints(const QPoint*, int)" missing"
Bug 782 - "Method "QPainter::drawPolygon(const QPointF*, int, Qt::FillRule)" missing"
Bug 783 - "Method "QPainter::drawPolyline(const QPoint*, int)" missing"
Bug 784 - "Method "QPainter::drawRects(const QRect*, int)" missing"
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:14 -03:00
Hugo Parente Lima
0f0124e54c
Fix bug 768 - "Method "QGraphicsItemGroup* QGraphicsScene::createItemGroup(const QList<QGraphicsItem*>& items)" missing"
...
Fix bug 769 - "Method "QGraphicsScene::destroyItemGroup(QGraphicsItemGroup* group)" missing"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:14 -03:00
Hugo Parente Lima
d7684d00e3
Fix bug 765 - "Method "QRect QStyle::itemTextRect(const QFontMetrics&,constQRect&,int,bool,const QString&) const" missing"
2012-03-08 16:54:14 -03:00
Hugo Parente Lima
c104fa61ad
Fix bug 760 - "Method "void QMatrix::map(int x,int y,int* tx,int* ty)const" missing"
...
Fix bug 761 - "Method "void QMatrix::map(qreal x, qreal y, qreal* tx, qreal* ty) const" missing"
2012-03-08 16:54:14 -03:00
Renato Filho
6ec7cd56a3
Fix unit test bug_750 and qpicture_test to avoid deadlock in some plataforms.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:14 -03:00
Renato Filho
9b4a43be49
Implemented test for QWebFrame.metadata function.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:13 -03:00
Renato Filho
047d42c704
Implemented conversion from QMultiMap to Python dictonary.
...
Fixes bug #773 .
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:13 -03:00
Renato Filho
c9a260df4b
Created unit test for function QPicture.setData
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:13 -03:00
Renato Filho
fc47ed069e
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>
2012-03-08 16:54:13 -03:00
Renato Filho
0512a3f98f
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>
2012-03-08 16:54:13 -03:00
Lauro Neto
3bc3257c8b
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>
2012-03-08 16:54:13 -03:00
Renato Filho
ef05a106c3
Created unit test for bug #811 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:13 -03:00
Renato Filho
6ad57fe3f4
fix QTextBlock.setUserData reference leak.
...
Fixes bug #811 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:13 -03:00
Lauro Neto
055e5e97b6
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>
2012-03-08 16:54:13 -03:00
Renato Filho
26be28d120
Fixed test to avoid problems with float numbers in different archs.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:12 -03:00
Renato Filho
2b0c31fb02
Exported missing enums on phonon.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:12 -03:00
Renato Filho
98a0d2ba6f
Created unit test for ObjectDescription.fromIndex.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:12 -03:00
Renato Filho
dab522fe31
Implemented function ObjectDescription.fromIndex.
...
Fixes bug #787 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:12 -03:00
Renato Filho
bba3918943
Fix round problems on unit test.
2012-03-08 16:54:12 -03:00
Renato Filho
82155ceeda
Create unit test for bug #757 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:12 -03:00
Marcelo Lira
13878d27cd
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>
2012-03-08 16:54:12 -03:00
Renato Filho
595c70c32f
Avoid delete file from source dir.
2012-03-08 16:54:11 -03:00
Hugo Parente Lima
ea5dd4f257
Fix bug 717 - "QByteArray doesn't honor \0 inside strings."
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:11 -03:00
Hugo Parente Lima
e14378b126
Fix inject code of QByteArray::fromRawData.
...
The QByteArray returned must share, nto copy, the string contents.
2012-03-08 16:54:11 -03:00
Marcelo Lira
5d753e281a
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>
2012-03-08 16:54:11 -03:00
Marcelo Lira
8aa06c9bc9
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.
2012-03-08 16:54:11 -03:00
Marcelo Lira
accbee8ae8
Fixes bug #741 - Method "qreal QTextLine::cursorToX(int*,Edge) const" missing.
...
Also added unit tests.
http://bugs.pyside.org/show_bug.cgi?id=741
2012-03-08 16:54:11 -03:00
Marcelo Lira
eed7193f32
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
2012-03-08 16:54:11 -03:00
Marcelo Lira
6efe441b76
Fixed CMakeLists.txt files to prevent static source files of being deleted by "make clean".
2012-03-08 16:54:10 -03:00
Renato Filho
45604383c1
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>
2012-03-08 16:54:10 -03:00
Renato Filho
adf3d712d5
Created unittest for bug #750 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:10 -03:00
Renato Filho
2dcb2a855a
Put back QPainter.fontInfo.
...
Fixes bug #750 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:10 -03:00
Renato Filho
640a428c9b
Created unit test for bug #743 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:10 -03:00
Renato Filho
000a323245
Implemented support to mapping on QMatrix4x4.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:10 -03:00
Renato Filho
6f98147602
Created unit test for bug #740 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:10 -03:00
Renato Filho
0c5809474b
Implemented function QBitmap.fromData.
...
Fixes bug #740
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:10 -03:00
Renato Filho
2a788ba618
Created unit test for bug #722 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:09 -03:00
Renato Filho
fa3bbed001
Use PyFloat as double in signal signatures.
...
Fix bug #722 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:09 -03:00
Hugo Parente Lima
998084a7fe
Removes the removal of QMatrix4x4 call operators.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:09 -03:00
Hugo Parente Lima
958394f5ec
Fix code injection of QIODevice to support returning an error.
2012-03-08 16:54:09 -03:00
Hugo Parente Lima
c2c04ddd51
Fix bug 723 - "Missing QAbstractFileEngine.read and QAbstractFileEngine.readLine"
2012-03-08 16:54:09 -03:00
Renato Filho
b1ab2a0260
Created QtDeclarative.ListProperty documentation.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:09 -03:00
Renato Filho
b3a3a29363
Create unit test for bug #816 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:54:09 -03:00
Renato Filho
b2982dccc5
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>
2012-03-08 16:54:09 -03:00
Renato Filho
442a0ca932
Created unit test for bug #814 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:08 -03:00
Renato Filho
99c656e2a5
Updated dependency version.
2012-03-08 16:54:08 -03:00
Renato Filho
b49109923f
Fixed bug #400 link description.
2012-03-08 16:54:08 -03:00
Renato Filho
de23ffa760
Create unitest for bug #688 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:08 -03:00
Renato Filho
ccf8ddf75b
Implemented support to pyton iterator in QTextFrame::iterator.
...
Fixes bug #688 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:08 -03:00
Hugo Parente Lima
e3b24c2204
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>
2012-03-08 16:54:08 -03:00
Hugo Parente Lima
c06cec65df
Fix bug 724 - "Missing QAbstractFileEngine.map method"
2012-03-08 16:54:08 -03:00
Hugo Parente Lima
6ef7460a47
Fix bug 721 - "QFile doesn't support map and unmap functions."
2012-03-08 16:54:08 -03:00
Hugo Parente Lima
0cb14ebf35
Remove unused variables and warnings when using gcc 4.6.
2012-03-08 16:54:08 -03:00
Marcelo Lira
fab79738ac
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>
2012-03-08 16:54:07 -03:00
Marcelo Lira
cf905e4661
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.
2012-03-08 16:54:07 -03:00
Marcelo Lira
77be0fc1a7
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.
2012-03-08 16:54:07 -03:00
Marcelo Lira
f1b3580d57
Do *not* mix tabs and spaces.
2012-03-08 16:54:07 -03:00
Marcelo Lira
8b1f0d192a
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.
2012-03-08 16:54:07 -03:00
Marcelo Lira
00f0ea88cf
Merged fix_int*... and fix_qreal*... type system templates.
...
Also modified the method call to be friendlier with virtual methods.
2012-03-08 16:54:07 -03:00
Hugo Parente Lima
4b1986f917
Version bump to 1.0.2
2012-03-08 16:54:07 -03:00
Renato Filho
21786216f2
Create unit test for bug #793 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:07 -03:00
Renato Filho
1067faec16
Change the order of function call on destructionVisitor to avoid problems with cyclic dependency.
...
Fixes bug #793 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:54:06 -03:00
Marcelo Lira
2e1ed4a881
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>
2012-03-08 16:54:06 -03:00
Hugo Parente Lima
cfe00ac969
Fix bug 712 - "QtGui.QFormLayout doesn't have setItem() function"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:06 -03:00
Hugo Parente Lima
d6afa13b44
Fix bug 540 - "Duplicate entries in QRegExp docs"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:05 -03:00
Hugo Parente Lima
d981750c46
Fix doc bug 794 - "QPixmapCache.find example is wrong"
2012-03-08 16:54:05 -03:00
Hugo Parente Lima
a3e1ea3b97
Fix bug 790 - "QStyledItemDelegate Signal with lambda and QModelIndex: Fatal Python error: PyEval_SaveThread: NULL tstate"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:05 -03:00
Hugo Parente Lima
deefa35087
Fix bug 694 - "QWebPage::extensions need injected overloads due to required casts on C++ version"
2012-03-08 16:54:05 -03:00
Hugo Parente Lima
61f479b682
Fix bug 699 - "PySide.QtCore.Property doesn't throw a TypeError if the first arg isn't a PyType."
2012-03-08 16:54:05 -03:00
Hugo Parente Lima
e360a53087
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>
2012-03-08 16:54:05 -03:00
Hugo Parente Lima
c1f507f87a
Fix a type in QtGui type system.
2012-03-08 16:54:05 -03:00
Hugo Parente Lima
16421e85e7
Use set instead of add on reference-count action attribute.
2012-03-08 16:54:05 -03:00
Hugo Parente Lima
fda4e800ca
Type systems of all modules but QtCore and QtGui reviewed.
2012-03-08 16:54:05 -03:00
Hugo Parente Lima
080dafd0e5
Fix bug 736 - "Signal/Slot is not working at all"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:04 -03:00
Hugo Parente Lima
3c50d09dda
Changed local variable naming style.
2012-03-08 16:54:04 -03:00
Renato Filho
c0be87af80
Revert "Fixed test for bug #674 to works with new getattr check."
...
This reverts commit a6f0d0cb52 .
2012-03-08 16:54:04 -03:00
Renato Filho
58fb1c705c
Only raise 'RuntimeError' for function call to avoid problems with contructor order calls.
2012-03-08 16:54:04 -03:00
Marcelo Lira
a2f110d3b9
Added comments for all method removals.
...
And some other clean ups.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:54:04 -03:00
Hugo Parente Lima
44f5f62618
Fix bug 728 - "QFileDialog.getOpenFileNames never returns (hangs)"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:54:04 -03:00
Renato Filho
69abc806ec
Created unit test for bug #726 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:04 -03:00
Renato Filho
258995d03c
Does not use normalizeSignature in functions with return type.
...
Fix bug #726 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:04 -03:00
Hugo Parente Lima
120ace2cf9
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>
2012-03-08 16:54:04 -03:00
Renato Filho
9fd4705cf6
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>
2012-03-08 16:54:03 -03:00
Renato Filho
734e086327
Created unit test for bug #696 .
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:03 -03:00
Renato Filho
855ad2d587
Check if class is valid before call meta object function on class getattro function.
...
Fix bug #696 .
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:03 -03:00
Renato Filho
d3fb0b38b7
Created unit test for bug #711 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:03 -03:00
Renato Filho
32fb36f97a
Fix QToolbar.clear parent policy.
...
Fixes bug #711 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:54:03 -03:00
Hugo Parente Lima
a8be4c2326
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>
2012-03-08 16:54:03 -03:00
Hugo Parente Lima
945f9bffd9
Fix bug 718 - "PySide/PyQt4 QByteArray incompatibilities: setNum method"
...
Fix bug 719 - "PySide/PyQt4 QByteArray incompatibilities: appendByte method"
2012-03-08 16:54:03 -03:00
Hugo Parente Lima
e2121ae09a
Add comments to some function removals.
2012-03-08 16:54:03 -03:00
Renato Filho
40bbb49487
Created unit test for bug #714 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:02 -03:00
Renato Filho
e8a8e3c63e
Removed parent policy from QLabel.setPixmap.
...
This is not a parent transfer because the function receives a "const &" and stores a copy of the pixmap.
Fixes bug #714 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:02 -03:00
Lauro Neto
c453a7ca2b
Remove duplicated const functions from QRegExp
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:02 -03:00
Hugo Parente Lima
8b261892b8
Last code snippets....
2012-03-08 16:54:02 -03:00
Hugo Parente Lima
36fdd023e0
Removed Signal/Slot documentation content.
2012-03-08 16:54:02 -03:00
Hugo Parente Lima
632105b470
Version bump to 1.0.1
2012-03-08 16:54:02 -03:00
Hugo Parente Lima
3798c8718c
More code snippets ported to Python.
2012-03-08 16:54:02 -03:00
Hugo Parente Lima
11042fdbaa
Version bump, 1.0.0 final yay!
2012-03-08 16:54:02 -03:00
Hugo Parente Lima
70e12fad1e
Added some missing code snippets to PySide documentation.
2012-03-08 16:54:02 -03:00
Hugo Parente Lima
8b83ec73fa
Removed useless files from docs.
2012-03-08 16:54:01 -03:00
Hugo Parente Lima
b0a0454f35
Remove some warning messages when generating the docs.
...
Those classes haven't especific documentation, they are only typedefs for template instanciations.
2012-03-08 16:54:01 -03:00
Luciano Wolf
1c66507f80
Fix bug 676 - "wrong QLocale.toFloat() description".
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:54:01 -03:00
Hugo Parente Lima
e0799d7dcf
Fix bug#708 - "Remaining pyqtSignal in ref docs"
2012-03-08 16:54:01 -03:00
Hugo Parente Lima
11a7187cf8
Added module documentation for all modules.
2012-03-08 16:54:01 -03:00
Hugo Parente Lima
3c58feee51
Removed a lot of files not used by the doc generation.
2012-03-08 16:54:01 -03:00
Hugo Parente Lima
66cdf3f52f
Missing doc code snippet for webkit.
2012-03-08 16:54:01 -03:00
Hugo Parente Lima
dd123896b4
Fixed/translated some doc. code snippets.
2012-03-08 16:54:01 -03:00
Hugo Parente Lima
b4026126de
Use multiple code snippets directories to fix the crazyness of Qt docs.
2012-03-08 16:54:00 -03:00
Hugo Parente Lima
0a4573591e
Removed unused doc snippet files.
2012-03-08 16:54:00 -03:00
Hugo Parente Lima
905f660ab2
Added modify-documentation do QDeclarativePropertyMap to remove references to QVariant and QString.
2012-03-08 16:54:00 -03:00
Hugo Parente Lima
eb2a982b94
Added missing format attribute.
2012-03-08 16:54:00 -03:00
Hugo Parente Lima
610fc659e8
Added some QML tutorials to the documentation.
2012-03-08 16:54:00 -03:00
Hugo Parente Lima
a7263b23e0
Minor fixes on pysideapi2.rst.
2012-03-08 16:54:00 -03:00
Hugo Parente Lima
2a58c0102b
Use monospace font for sphinx literal strings.
2012-03-08 16:54:00 -03:00
Hugo Parente Lima
fcfc951330
Change version from beta6 to rc1
2012-03-08 16:53:59 -03:00
Marcelo Lira
5d9855256a
Updated PySide CMake files to use the new generator argument "avoid-protected-hack".
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:53:59 -03:00
Marcelo Lira
75937124c2
Updated CMake files to use the "--drop-type-entries" generator option.
...
Instead of maintaining a complex CMake scheme to remove optional type
system entries, the generation will rely on the new generator capability
of dropping entries given via command line.
Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:53:59 -03:00
Hugo Parente Lima
861e26665d
Fix bug 681 - "Unicode support for trUtf8 method"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:53:59 -03:00
Hugo Parente Lima
8550948818
Fix bug 674 - "QGraphicsScene::clear() is missing"
2012-03-08 16:53:59 -03:00
Jerome Leclanche
c8ecf9fea6
Fix bug 687 - "[PATCH] QUiLoader code example crashes"
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:53:59 -03:00
Hugo Parente Lima
8f34f94da3
Fix bug 675 - "QGraphicsLinearLayout segfault"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:53:59 -03:00
Hugo Parente Lima
7c606aeda2
Refactor to simplify code just avoding some Cism.
2012-03-08 16:53:58 -03:00
Hugo Parente Lima
0f29c21f6e
Make PySide signals work with meta types.
2012-03-08 16:53:58 -03:00
Hugo Parente Lima
f8482e4394
Add unit test for bug 684.
2012-03-08 16:53:58 -03:00
Lauro Neto
719b8f40e3
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>
2012-03-08 16:53:58 -03:00
Hugo Parente Lima
03f4a7b083
Fix bug 679 - "QWebPage miss extension function"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:53:58 -03:00
Hugo Parente Lima
c9dd530e71
Fix phonon compilation and detection of VideoCaptureDevice class.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:53:58 -03:00
Hugo Parente Lima
dae317b831
Fix bug 638 - "Documentation for phonon doesn't show class inheritance diagrams."
2012-03-08 16:53:58 -03:00
Hugo Parente Lima
f5a70fbbc4
Removed duplicated entry of QWebPage::ErrorDomain on typesystem.
2012-03-08 16:53:58 -03:00
Marcelo Lira
732183f1df
Increments reference of None object on custom code for QState.addTransition method.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:53:57 -03:00
Renato Araujo Oliveira Filho
8d1d395737
Created unit test for bug #671 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:53:57 -03:00
Renato Araujo Oliveira Filho
4b0ed850fc
Appended the metaclass data flags value on head.
...
Fix bug #671 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:53:57 -03:00
Marcelo Lira
e96cb16b14
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>
2012-03-08 16:53:56 -03:00
Renato Araujo Oliveira Filho
00f696e3c7
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>
2012-03-08 16:53:56 -03:00
Hugo Parente Lima
efad1c8b8c
Fix bug 668 - "QFileSystemModel setRootPath stops application from quitting."
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:53:56 -03:00
Hugo Parente Lima
079e6beb2d
Replaced all entries of reference-count with action=add to action=set.
2012-03-08 16:53:56 -03:00
Hugo Parente Lima
cc695f88bd
Fix bug 663 - "Crash on exit when passing QNetworkAccessManager around"
2012-03-08 16:53:56 -03:00
Hugo Parente Lima
287fd9d649
Remove invalid function removals.
2012-03-08 16:53:56 -03:00
Hugo Parente Lima
3c31d96eed
Fix bug 667 - "Crash on exit"
2012-03-08 16:53:56 -03:00
Hugo Parente Lima
280d68ca34
Fix QGLBuffer::map code injection and test.
2012-03-08 16:53:56 -03:00
Renato Araujo Oliveira Filho
8cb71269c6
Updated phonon typesystem to use the new pyside cmake macro syntax.
2012-03-08 16:53:55 -03:00
Renato Araujo Oliveira Filho
8c29de6075
Updated http server used on tests to keep trying until get a free address.
2012-03-08 16:53:55 -03:00
Renato Araujo Oliveira Filho
f81fc0390a
Created unit test for bug #662 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:53:55 -03:00
Renato Araujo Oliveira Filho
bd26ec914f
Implemented support for iterator on QTextBlock.
...
Fixes bug #662 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:53:55 -03:00
Renato Araujo Oliveira Filho
a1d4eb3d86
Fix append object description on typesystem only when this was found.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:53:55 -03:00
Renato Araujo Oliveira Filho
811e37c378
Separated class typesystem from the main typesystem.
...
Remove class specification, detected during the compilation from the
main typesystem to avoid errors during the generation.
Fixes bug #661
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:53:55 -03:00
Renato Araujo Oliveira Filho
9386dd0452
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>
2012-03-08 16:53:55 -03:00
Renato Araujo Oliveira Filho
5d4af8f96b
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>
2012-03-08 16:53:55 -03:00
Renato Araujo Oliveira Filho
1155542ecc
Created unit test for signals.
...
Test for types inside of namespace
Test for types defined by typedef.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:53:55 -03:00
Renato Araujo Oliveira Filho
4ebad6745f
Fixed problems to emit signals with objects types.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:53:54 -03:00
Hugo Parente Lima
44998fd471
Fix 666 - "QByteArray does not support slices"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:53:54 -03:00
Hugo Parente Lima
59c882566b
Fix bug 660 - "QMimeData type deleted prematurely when overriding mime-type in QStandardItemModel drag and drop"
2012-03-08 16:53:54 -03:00
Hugo Parente Lima
34529760f4
Fix bug 643 - "QTabWidget.insertTab not taking ownership"
2012-03-08 16:53:54 -03:00
Marcelo Lira
93bd129cfb
The global header for PySide is now installed with the libpyside headers.
...
This is good for PySide derived bindings (like the ones for QtMobility),
so they don't need to copy the PySide global headers to their source
tree and end up with an outdated file.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:53:53 -03:00
Marcelo Lira
8a628bf832
Removed unnecessary line from test binding CMake file.
2012-03-08 16:53:53 -03:00
Hugo Parente Lima
f8e6845c81
Fix qresource_test openning the file in binary mode, so it doesn't fail on windows.
2012-03-08 16:53:53 -03:00
Hugo Parente Lima
143e81278c
Export QTranslator::translate and QTranslator::load.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:53:53 -03:00
Hugo Parente Lima
c662028d3d
Export method QCryptographicHash::addData.
2012-03-08 16:53:53 -03:00
Hugo Parente Lima
0fd98c95ca
Remove some ancient method removals from QtCore typesystem.
...
- QDir(QString,QString,QFlags<QDir::SortFlag>,QFlags<QDir::Filter>)
- QBitArray::fill(bool, int)
2012-03-08 16:53:53 -03:00
Hugo Parente Lima
4475f30d7a
Use PyString_GET_SIZE instead of PyString_Size on some inject codes.
2012-03-08 16:53:53 -03:00
Hugo Parente Lima
8994866ef2
Export QSettings::iniCodec and QXmlStreamWriter::codec methods.
2012-03-08 16:53:53 -03:00
Hugo Parente Lima
ae2019a4da
QPersistentModelIndex now have the same implementation of internalPointer of QModelIndex.
2012-03-08 16:53:52 -03:00
Hugo Parente Lima
13a6cba842
Fixed/implemented various QResources methods.
...
- data() is now exported and returns a Python read-only buffer object.
- (un)registerResourceData now accept buffers as arguments, and respects zeroes in the middle of data.
- Improved unit test.
2012-03-08 16:53:52 -03:00
Hugo Parente Lima
702cd168e1
Fix comparisson of QByteArray with Python strings that have zeroes inside.
2012-03-08 16:53:52 -03:00
Hugo Parente Lima
4f4abdb2be
Added comments to some function removals.
2012-03-08 16:53:52 -03:00
Hugo Parente Lima
a54d0181bd
Fix bug 653 - "Crash after calling QWizardPage.wizard()"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:53:52 -03:00
Hugo Parente Lima
fac9507d3e
Fix bug 652 - "Segfault when using QTextBlock::setUserData due to missing ownership transfer"
2012-03-08 16:53:52 -03:00
Hugo Parente Lima
a7e1ccf127
Removed the removal of some QApplication functions.
...
These functions were removed due to ancient bugs in shiboken
generator, all them now fixed.
Functions:
font(const char*)
setFont(QFont,const char*)
palette(const char*)
2012-03-08 16:53:52 -03:00
Renato Araujo Oliveira Filho
845679929a
Bump version to beta6.
2012-03-08 16:53:51 -03:00
Renato Araujo Oliveira Filho
a544dac959
Fixed Cmake files used to find the library after the installation.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:53:51 -03:00
Hugo Parente Lima
6b6527e74b
Fix bug 650 - "Missing bindings for QNetworkProxyFactory"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:53:51 -03:00
Hugo Parente Lima
82e9d14601
Fix bug 651 - "Calling disconnect() with no arguments causes segfault"
2012-03-08 16:53:51 -03:00
Renato Araujo Oliveira Filho
4551b2421c
Updated QAbstractItemModel.createIndex documentation to warning about
...
ptr argument life time.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:53:51 -03:00
Hugo Parente Lima
fd8b33616f
Fix bug 656 - "cannot inherit from QCoreApplication"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:53:51 -03:00
Marcelo Lira
c89f03fe39
Updated GeneratorRunner calls on CMake files to use "--generator-set" instead of "--generatorSet".
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:53:51 -03:00
Hugo Parente Lima
c4ba328270
Don't crash if a typeId was not found when emiting a signal.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:53:51 -03:00
Hugo Parente Lima
10b81cd436
Added test for bug 613.
2012-03-08 16:53:51 -03:00
Hugo Parente Lima
279fb02429
Fix bug 565 - "QImage missing *data constructors"
...
Fix bug 566 - "'PySide.QtGui.QImage' object has no attribute 'scanLine'"
The constructors now accepts any PyObject which implements the buffer protocol, as the
C++ and PyQt4 version the buffer must be alive during the life time of QImage because QImage
*does not* copy the image data.
scanLine() and bits() now return buffer objects pointing to the memory inside QImage.
2012-03-08 16:53:50 -03:00
Renato Araujo Oliveira Filho
9c7d055f3d
Implement __repr__ function for class with Float attributes.
2012-03-08 16:53:50 -03:00
Renato Araujo Oliveira Filho
f3bcaf31a8
Created unit test for bug #617 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:53:50 -03:00
Renato Araujo Oliveira Filho
6c3258cc03
Created __repr__ function unit test.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:53:50 -03:00
Renato Araujo Oliveira Filho
16c3baa454
Implemented fuction __repr__ for base types.
...
Fixes bug #593
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:53:46 -03:00
Renato Araujo Oliveira Filho
494828092b
Fixed QFileDialog function calls with options in the last argument.
...
Fixes bug #590
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:51:49 -03:00
Hugo Parente Lima
dc661c9e65
Add test for bug#640.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:51:49 -03:00
Renato Araujo Oliveira Filho
9c7755b080
Implement support to others color spec on deepcopy function.
...
Created unit test QColor reduce function.
Fixes bug #612 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:51:49 -03:00
Hugo Parente Lima
a51b488ca0
Fix bug#633 - "bool of null QDate (possibly other empty QString/null QObj types?) returns True for empty instance; probably should be False"
2012-03-08 16:51:49 -03:00
Renato Araujo Oliveira Filho
b66595efa5
Fixed QLineEdit.getTextMargins return value.
...
Fixes bug #632
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:51:49 -03:00
Hugo Parente Lima
f2cce0a1b5
Fix bug#636 - "Unable to navigate back to the main site from the generated documentation"
2012-03-08 16:51:49 -03:00
Renato Araujo Oliveira Filho
1af49e5713
Bump version to beta5.
2012-03-08 16:51:48 -03:00
Renato Araujo Oliveira Filho
6f92863aa0
Updated generatorrunner version dependency.
2012-03-08 16:51:48 -03:00
Renato Araujo Oliveira Filho
6a87db2791
Replace use of QMetaObject::activate to QObject::qt_metacall.
...
This is necessary to support signals with default values.
Fix bug #624
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:51:47 -03:00
Marcelo Lira
da8c292b69
Added test cases for signal emission.
...
Signals are emitted from C++ and Python.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:51:47 -03:00
Hugo Parente Lima
4a2bfc9239
Fix bug#552 - "Segmentation fault when using QUiLoader and QTabWidget"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:51:47 -03:00
Hugo Parente Lima
e9d1dc38e2
Use the same Python used by Shiboken instead of find a new one.
2012-03-08 16:51:47 -03:00
Hugo Parente Lima
810207dfe4
Don't reject QGLWidget::setMouseTracking function.
2012-03-08 16:51:47 -03:00
Hugo Parente Lima
a3cf9b0a3c
Fix bug#623 - "QGLWidget.bindTexture(QPixmap, GLenum, GLenum) is missing"
2012-03-08 16:51:47 -03:00
Marcelo Lira
3e0b9e52de
Added test for module reloading.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:51:47 -03:00
Renato Araujo Oliveira Filho
4f72f1d368
Fixed Widget and Layout inject code to avoid problems in armel arch.
2012-03-08 16:51:47 -03:00
Renato Araujo Oliveira Filho
f0181b7545
Created unit test for bug #575 .
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:51:47 -03:00
Marcelo Lira
70d4b7c6ad
Updates documentation of QUiLoader.registerCustomWidget method.
...
The new documentation highlights the danger of duck punching virtual
methods of widget objects produced by QUiLoader.
Also named the argument of QUiLoader.registerCustomWidget as
customWidgetType.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:51:46 -03:00
Marcelo Lira
6d379db301
Named the single argument of all "QWidget.*Event(arg)" methods as "event".
...
Just to make the generated documentation more readable.
2012-03-08 16:51:46 -03:00
Marcelo Lira
7e4a01a4b9
Fixed style on QUiLoader code snippet.
2012-03-08 16:51:46 -03:00
Hugo Parente Lima
b57192c596
Fix bug#584 - "python pickle module can't treat QByteArray object of PySide"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:51:46 -03:00
Renato Araujo Oliveira Filho
d9940e55a4
Fix typo on Cmake files.
...
Reviewer: Bruno Araujo <bruno.araujo@openbossa.org>
2012-03-08 16:51:46 -03:00
Hugo Parente Lima
776b41613d
Removed useless rejections
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:51:46 -03:00
Hugo Parente Lima
4587eec6cb
Remove protected fields of event classes.
...
Event classes have a lot of non-documented protected fields, those fields
are removed from PySide because they are Qt implementation details,
besides the fact they are accessible by ordinary event methods.
2012-03-08 16:51:46 -03:00
Hugo Parente Lima
bcad6d0392
Fix documentation for QWidget.winId()
2012-03-08 16:51:46 -03:00
Hugo Parente Lima
a24e8ed281
Don't crash when a unknown type is given as a meta call argument.
2012-03-08 16:51:45 -03:00
Hugo Parente Lima
67f0db5a2b
Add polymorphic-id-expression to QGraphicsObject and QDeclarativeItem.
2012-03-08 16:51:45 -03:00
Renato Araujo Oliveira Filho
f98566eebd
Fixed path to include file used on cmake files.
...
Reviewer: Bruno Araujo <bruno.araujo@openbossa.org>
2012-03-08 16:51:45 -03:00
Renato Araujo Oliveira Filho
3ac4080bfe
Create a new parent test.
...
Check if the parent does not increase the reference if you set the
parent twice.
2012-03-08 16:51:45 -03:00
Renato Araujo Oliveira Filho
7e667036d5
Use python base name as library prefix.
...
Use the same CMAKE_BUILD_TYPE as shiboken if none was specified.
Append SHIBOKEN_PYTHON_BASENAME in the library suffix.
Fix bug #509 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:51:45 -03:00
Marcelo Lira
99cbdef40c
Added test for QPainter.setPen() method.
...
Calls it with enum, to call the setPen(Qt.PenStyle) signature, and with
an integer, to call the setPen(QColor) signature (QColor is implicitly
built from an unsigned int in C++).
For more details see Bug #511 :
http://bugs.openbossa.org/show_bug.cgi?id=511
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:51:45 -03:00
Marcelo Lira
64a35df0c1
Added condition for a phonon test that fails on Win32 with Qt 4.7.1.
...
This is due to a bug on Phonon::createPath that happens with the
specific combination of Win32 platform and Qt 4.7.1. The bug is reported
as fixed for Qt 4.7.2, but it wasn't released yet.
For more details on the bug:
http://bugreports.qt.nokia.com/browse/QTBUG-13062
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:51:45 -03:00
Renato Araujo Oliveira Filho
1caaffba59
Created unit test for bug 589.
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:51:45 -03:00
Renato Araujo Oliveira Filho
f4f48519ec
Fix Qvariant to Cpp conversion.
...
Fixes bug #589
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:51:45 -03:00
Marcelo Lira
4c79d1e8cd
Fixes the fix in the commit a1cf8f03.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:51:44 -03:00
Hugo Parente Lima
36b7f922b2
Fix bug#560 - "Lack of QtCore.Signal documentation"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:51:44 -03:00
Marcelo Lira
ece91be2e6
Fixes connecting signal to decorated slot.
...
Decorated methods on classes derived from QObject are not called when
connected to Qt signals because they get a name different from the
decorated method. To solve this decorated methods are registered as
global slots.
An unit test was added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:51:44 -03:00
Marcelo Lira
42e52dec9c
Refactoring to Phonon basic playing test.
...
Also replaced the ogg audio tone file for a wav one.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:51:44 -03:00
Marcelo Lira
44b71a0ff2
Fixed PATH variable for tests on win32 platform.
2012-03-08 16:51:44 -03:00
Renato Araujo Oliveira Filho
b6343a7674
Created unit test for bug #585 .
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:51:44 -03:00
Renato Araujo Oliveira Filho
5985c015b2
Fixed QTreeWidgetItem.parent function policy.
...
Fixes bug #585
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:51:44 -03:00
Hugo Parente Lima
adb9268807
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>
2012-03-08 16:51:44 -03:00
Renato Araujo Oliveira Filho
e4eaf410af
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>
2012-03-08 16:51:44 -03:00
Hugo Parente Lima
cfeea7ec04
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>
2012-03-08 16:51:43 -03:00
Renato Araujo Oliveira Filho
bcb6a2eb75
Fixed QWidget.setParent signature on typesystem.
2012-03-08 16:51:43 -03:00
Hugo Parente Lima
aa305dc5ae
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>
2012-03-08 16:48:07 -03:00
Renato Araujo Oliveira Filho
f7fd9277f4
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>
2012-03-08 16:48:07 -03:00
Hugo Parente Lima
4351b2e513
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>
2012-03-08 16:48:07 -03:00
Renato Araujo Oliveira Filho
cc7d8dd138
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>
2012-03-08 16:48:07 -03:00
Marcelo Lira
1f1f82d582
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>
2012-03-08 16:48:07 -03:00
Renato Araujo Oliveira Filho
7a3e7b6f86
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>
2012-03-08 16:48:07 -03:00
Hugo Parente Lima
1ed2877743
Fix bug#577 - "Reference to QString in docs"
2012-03-08 16:48:07 -03:00
Renato Araujo Oliveira Filho
1af0e9f4fe
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>
2012-03-08 16:48:07 -03:00
Lauro Neto
ba00068ce1
Avoid conflict in test case names
...
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:48:06 -03:00
Renato Araujo Oliveira Filho
814b80f423
Fixed test to work in all platform.
2012-03-08 16:48:06 -03:00
Hugo Parente Lima
9e6762eeb0
Fix bug#514 - "Static method QByteArray.fromRawData is missing from QtCore"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:48:06 -03:00
Hugo Parente Lima
394cdb357d
Fix bug 546 - "Python crash on exit"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:48:06 -03:00
Hugo Parente Lima
9b02c46c03
Fix bug#493 - "__eq__ and friends not implemented for QKeyEvent == QKeySequence"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:48:06 -03:00
Lauro Neto
ecb060f85c
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>
2012-03-08 16:48:06 -03:00
Renato Araujo Oliveira Filho
1d05357e26
Changed api2 test to work on MacOS during a ssh session.
2012-03-08 16:48:05 -03:00
Hugo Parente Lima
d8f3b9629a
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>
2012-03-08 16:48:05 -03:00
Hugo Parente Lima
92b893c532
Fix bug#563 - "Unhandled signal emitting with invalid signature (which leads to application crash)"
2012-03-08 16:48:05 -03:00
Hugo Parente Lima
6d18229268
Changes the arg name from p to parent to make parent heuristic work.
2012-03-08 16:48:05 -03:00
Renato Araujo Oliveira Filho
40f5c3ce0e
Fixed MetaObject creation based on typename.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:48:05 -03:00
Renato Araujo Oliveira Filho
6849ba0864
Fix test to avoid problems on slow computers.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:48:05 -03:00
Renato Araujo Oliveira Filho
c406547057
Appended ${QtGui_BINARY_DIR} on typesystem_path for QtMaemo5 module.
2012-03-08 16:48:05 -03:00
Renato Araujo Oliveira Filho
d96649862f
Appended QtGui library dependency on pysidetest library.
2012-03-08 16:48:05 -03:00
Renato Araujo Oliveira Filho
0029d0ef7e
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>
2012-03-08 16:48:04 -03:00
Renato Araujo Oliveira Filho
9787519352
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>
2012-03-08 16:48:04 -03:00
Renato Araujo Oliveira Filho
949f6b5255
Removed some float comparisons from QColor test to avoid armel problems.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2012-03-08 16:48:04 -03:00
Hugo Parente Lima
85715f3fc3
Fix bug#549 - "QGraphicsWidget::getContentsMargins() and QGraphicsWidget::getWindowFrameMargins() not available"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:48:04 -03:00
Renato Araujo Oliveira Filho
09840da111
Used more common signature on function test to QList objects.
...
Replaced "const QList<QObject*>" signature to "const QList<QObject*>&",
more used on Qt code.
2012-03-08 16:48:04 -03:00
Renato Araujo Oliveira Filho
3468d8f78e
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>
2012-03-08 16:48:04 -03:00
Lauro Neto
af6514a1e8
Fix testbinding dependency
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Renato Araujo <renato.araujo@openbossa.org>
2012-03-08 16:48:04 -03:00
Renato Araujo Oliveira Filho
2734efb6b7
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>
2012-03-08 16:48:04 -03:00
Renato Araujo Oliveira Filho
d3b630e168
Fix the QtMultimedia/audio_test.py to accept computers with only null
...
device.
2012-03-08 16:48:02 -03:00
Renato Araujo Oliveira Filho
cebdd1f4dc
Avoid QMatrix test while gcc is broken.
2012-03-08 16:48:01 -03:00
Renato Araujo Oliveira Filho
45edcc54a6
Used argument '-a' during the call of xvfb command.
...
This argument allow the xvfb to find a free server number during the
execution.
2012-03-08 16:48:01 -03:00
Renato Araujo Oliveira Filho
ed10989ff2
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>
2012-03-08 16:48:01 -03:00
Renato Araujo Oliveira Filho
0d0cb0753e
Added QSslCertificate to QtNetwork module.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:48:01 -03:00
Renato Araujo Oliveira Filho
3e66025bbb
Fixed indentation mistakes.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2012-03-08 16:48:01 -03:00
Marcelo Lira
3f0291dfe4
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>
2012-03-08 16:48:01 -03:00
Marcelo Lira
7771798cf2
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>
2012-03-08 16:48:01 -03:00
Marcelo Lira
05d011ccfa
Fixed type system for TestView from pysidetest directory.
2012-03-08 16:48:01 -03:00
Marcelo Lira
c350f418c7
QObject.sender should not steal the returned object ownership to Python.
2012-03-08 16:48:00 -03:00
Hugo Parente Lima
db35d78b27
Fix bug#544 - "QtCore.QRect missing binding for method getCoords"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:48:00 -03:00
Hugo Parente Lima
a9424b314e
Fix bug#481 - "mimeData() missing from QListWidget, QTreeWidget, QTableWidget"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:48:00 -03:00
Hugo Parente Lima
50db2f3b2e
Fix bug#558 - "print attribute of a QWebFrame cannot be accessed normally"
2012-03-08 16:47:59 -03:00
Hugo Parente Lima
4204a86b97
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>
2012-03-08 16:47:59 -03:00
Hugo Parente Lima
914398bbf3
Add GLuint as primitive type.
...
If we don't do that any function with GLuint will be rejected by
the generator on Windows.
2012-03-08 16:47:59 -03:00
Hugo Parente Lima
afd176ffaa
Use .pyd extension for pysidetest module on Windows.
2012-03-08 16:47:59 -03:00
Hugo Parente Lima
5c7d93abed
Fix QML tests on Windows.
2012-03-08 16:47:59 -03:00
Hugo Parente Lima
58d43d6de9
Fix compilation under MS Windows.
2012-03-08 16:47:59 -03:00
Marcelo Lira
803a270840
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>
2012-03-08 16:47:59 -03:00
Marcelo Lira
7f42b68c29
Fixed QML type registering test.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:47:59 -03:00
Marcelo Lira
937b2cfc6d
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>
2012-03-08 16:47:59 -03:00
Hugo Parente Lima
d4318366f1
Fix bug#491 - "pyside doesn't respect BUILD_TESTS"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:47:58 -03:00
Marcelo Lira
42d887ff86
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>
2012-03-08 16:47:58 -03:00
Marcelo Lira
ce42ea6eeb
Updated the PySide test related to Python model returning data to C++.
2012-03-08 16:47:58 -03:00
Renato Araujo Oliveira Filho
22b7485419
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>
2012-03-08 16:47:58 -03:00
Renato Araujo Oliveira Filho
0229e5413b
Created unittest for bug #505 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:47:58 -03:00
Hugo Parente Lima
26d2bd6a7c
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>
2012-03-08 16:47:58 -03:00
Hugo Parente Lima
8974ff4abd
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>
2012-03-08 16:47:58 -03:00
Hugo Parente Lima
39d61bdc05
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>
2012-03-08 16:47:58 -03:00
Hugo Parente Lima
bdaed6a95a
Fix bug#512 - "QGridLayout::getItemPosition() is not available"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2012-03-08 16:47:57 -03:00
Marcelo Lira
86b7d6e25c
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>
2012-03-08 16:47:57 -03:00
Marcelo Lira
ee8d6262dc
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>
2012-03-08 16:47:57 -03:00
Hugo Parente Lima
02e4fa2b96
Added unit test for bug#500
...
Reviewer: Lauro Mora <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:47:57 -03:00
Hugo Parente Lima
94d8426d1c
Add tests for qmlregisterType function and qml list properties.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:47:57 -03:00
Hugo Parente Lima
a6955f9fed
Changed file permissions to 0644.
2012-03-08 16:47:57 -03:00
Hugo Parente Lima
3df02f9681
Add support for QML list properties.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:47:57 -03:00
Hugo Parente Lima
8252145146
Remove unused field "type" from PySideProperty private struct.
2012-03-08 16:47:57 -03:00
Hugo Parente Lima
621275639b
Replace useless check by a assert.
...
QMetaObject must already be ready at this point.
2012-03-08 16:47:57 -03:00
Hugo Parente Lima
b4d1a3a4b6
Add support for extension into PySide properties.
...
This is used by PySide implementation of QDeclarativeListProperty.
2012-03-08 16:47:56 -03:00
Hugo Parente Lima
e76fffc617
Fix copyright year.
2012-03-08 16:47:56 -03:00
Marcelo Lira
f5f2b23a70
Fixes QImage constructor signature that used string buffer as image data source.
...
The fixes uses the patch provided by Pieter Palmers on the bug #489
description[1].
A very simple test, to check the signature existence, was added.
[1] http://bugs.openbossa.org/show_bug.cgi?id=489
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:47:56 -03:00
Marcelo Lira
edf5b58da8
Added QRegExp.replace(QString, const char*) method.
...
The only way to search and replace using QRegExp is using the
QString::replace method. Since QString was removed, QRegExp now is
useful only to search stuff, but not replace. For this purpose the
QRegExp.replace method was added. The first argument is the string
that will be operated over, the second argument contains the
replacement, and the return value is a new modified Python string.
Unit tests and documentation for QRegExp.replace were added as well.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:47:56 -03:00
Hugo Parente Lima
1c6fad9841
Avoid removal of qmlregistertype.cpp by the build system.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:47:56 -03:00
Hugo Parente Lima
f02876e6c9
Initial implementation of qmlRegisterType.
...
It's fully functional, but need some adjustaments in the build system that will be done in the next few days.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:47:56 -03:00
Hugo Parente Lima
8fb6037362
Set the object meta object at the declaration time, not instanciation time.
2012-03-08 16:47:56 -03:00
Hugo Parente Lima
a29f511f6d
Moved pyside slot attr name do pysideslot_p.h.
2012-03-08 16:47:56 -03:00
Hugo Parente Lima
d36b2398b8
PySidePropertyPrivate struct moved to the private header.
2012-03-08 16:47:56 -03:00
Hugo Parente Lima
079e105618
Remove unused ancient proxyslot.cpp file.
2012-03-08 16:47:55 -03:00
Marcelo Lira
885386fdba
Updates to more code snippets on documentation concerning QtCore module.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:47:55 -03:00
Marcelo Lira
0220d7d176
Updated a lot of code snippets on documentation concerning QtCore module.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2012-03-08 16:47:55 -03:00
Hugo Parente Lima
9edc8a3834
Fixed qt_metacall, now everything works as it should.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2012-03-08 16:47:55 -03:00
Hugo Parente Lima
ec7b01c24f
Fixed dynamic meta object to avoid empty meta method.
...
Empty meta methods cause a assert failure on QtDeclarative module.
Also removed the scoped pointer to avoid heap allocation when it's not
needed, as QByteArray is already implicity shared.
2012-03-08 16:47:55 -03:00
Luciano Wolf
52c2a2cd0d
Add needed cast to compile using python versions <2.6
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:47:55 -03:00
Hugo Parente Lima
1079b1066c
Fix doc generation after the refactor for v1.0.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2012-03-08 16:47:55 -03:00