profile/ivi/qtbase.git
13 years agoRemove Symbian support from bind enum documentation.
Robin Burchell [Sun, 23 Oct 2011 18:06:18 +0000 (20:06 +0200)]
Remove Symbian support from bind enum documentation.

Symbian is no longer a supported platform.

Change-Id: Ifcb2e05661b16acc6307a4ccfaa42586750734c1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
13 years agoMove support for socket binding from QUdpSocket upstream to QAbstractSocket.
Robin Burchell [Sun, 23 Oct 2011 18:04:52 +0000 (20:04 +0200)]
Move support for socket binding from QUdpSocket upstream to QAbstractSocket.

This should be API-compatible with Qt 4, but is not ABI-compatible, due to
removing the enum from QUdpSocket.

Task-number: QTBUG-121
Change-Id: I967968c6cb6f96d3ab1d6300eadd5bde6154b300
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
13 years agoSet localAddress and localPort on socket binding.
Robin Burchell [Mon, 24 Oct 2011 16:36:23 +0000 (18:36 +0200)]
Set localAddress and localPort on socket binding.

This should have always been the case, as it simply makes sense, but the
upcoming moving of binding to QAbstractSocket will require this for autotesting.

Change-Id: Ieef70196616227e7914c76fff5388a4068c36efb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
13 years agoRemove declaration of QRasterPlatformPixmap::fromFile()
Bradley T. Hughes [Mon, 31 Oct 2011 13:58:56 +0000 (14:58 +0100)]
Remove declaration of QRasterPlatformPixmap::fromFile()

This function is not implemented, and the declaration hides the virtual
QPlatformPixtmap::fromFile():

../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/image/qpixmap_raster_p.h:70:10:
warning:
      'QRasterPlatformPixmap::fromFile' hides overloaded virtual function
      [-Woverloaded-virtual]
    void fromFile(const QString &filename, Qt::ImageConversionFlags flags);
         ^
../../include/QtGui/../../src/gui/image/qplatformpixmap_qpa.h:90:18:
note:
      hidden overloaded virtual function 'QPlatformPixmap::fromFile' declared
      here
    virtual bool fromFile(const QString &filename, const char *format,
                 ^

Change-Id: Iedbc4acd9f9218f8fe72a44a9eff6a35b5494d75
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoMove QPrinter::init() to QPrinterPrivate::init()
Bradley T. Hughes [Mon, 31 Oct 2011 13:10:52 +0000 (14:10 +0100)]
Move QPrinter::init() to QPrinterPrivate::init()

This method is private, and only called from the QPrinter constructor.
This also removes warnings about overloading the virtual
QPaintDevice::init() method interitted form QWidget:

../../include/QtPrintSupport/../../src/printsupport/kernel/qprinter.h:259:10:
warning:
      'QPrinter::init' hides overloaded virtual function [-Woverloaded-
    void init(PrinterMode mode);
         ^
../../include/QtGui/../../src/gui/painting/qpaintdevice.h:93:18: note:
hidden
      overloaded virtual function 'QPaintDevice::init' declared here
    virtual void init(QPainter *painter) const;
                 ^

Change-Id: I7c5203a1264b0ad825ed4075b66017fef22a40fb
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: David Faure <faure@kde.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
13 years agoDoc: Fixing typos
Sergio Ahumada [Sun, 30 Oct 2011 16:34:46 +0000 (17:34 +0100)]
Doc: Fixing typos

Change-Id: I445b4cb0fe88d775c9421fbf1e8b7bb76dec0fc4
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
13 years agoRe-added hellogl_es and ES 1 support for QOpenGLContext.
Samuel Rødal [Mon, 24 Oct 2011 12:35:50 +0000 (14:35 +0200)]
Re-added hellogl_es and ES 1 support for QOpenGLContext.

Change-Id: I576cf3595cdeeefb4ed840bb3b2b7097b3609cc7
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
13 years agoQRecursiveMutexPrivate should not inherit from QMutexPrivate
Olivier Goffart [Thu, 20 Oct 2011 15:11:18 +0000 (17:11 +0200)]
QRecursiveMutexPrivate should not inherit from QMutexPrivate

QMutexPrivate takes more memory than necessary, and also initialize
platform specific ressources.

Change-Id: I70be1b89b1c21499645785ae47693a6b2514e28b
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
13 years agoRename QBasicMutex::d to QBasicMutex::d_ptr
Olivier Goffart [Fri, 28 Oct 2011 09:51:06 +0000 (11:51 +0200)]
Rename QBasicMutex::d to QBasicMutex::d_ptr

Because we use d as a local variable.
We used this->d to refer it, but this can be confusing to have twice the same
name

Change-Id: I570aa5f444ada358eb456d6b3d9b8bfa60b10bbf
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
13 years agoAdd missing include when enabling deprecated code
Olivier Goffart [Fri, 28 Oct 2011 07:14:01 +0000 (09:14 +0200)]
Add missing include when enabling deprecated code

QStringList is used by the inline code.
(I did not see that before because I was using precompiled headers)

Change-Id: Ieea4f13c143495f841b5246d835b584cc7404ac6
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoGui/OpenGL: Remove remains of qpa from profiles.
Friedemann Kleint [Fri, 28 Oct 2011 08:39:01 +0000 (10:39 +0200)]
Gui/OpenGL: Remove remains of qpa from profiles.

Change-Id: Iff2531a19030bd782ee4cd9bbe529d18666503f9
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoFix most warnings about assignments of QAtomicInt.
Friedemann Kleint [Mon, 31 Oct 2011 09:36:57 +0000 (10:36 +0100)]
Fix most warnings about assignments of QAtomicInt.

Change-Id: Ide409d72d2637b68ec2a85aaca4bc783a7e911e7
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
13 years agoCorrectly handle null windows or widgets in keyClick()
Lars Knoll [Fri, 21 Oct 2011 09:01:21 +0000 (11:01 +0200)]
Correctly handle null windows or widgets in keyClick()

Allow passing of null windows or widgets to keyClick().
In that case route the event through the normal Qt event
processing. This allows e.g. shortcuts to catch the
key event.

Change-Id: Ic9455ea9be5164918b1c0bccbd58dd32eae74ff1
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
13 years agoRemove disabled code from QMainWindow autotest.
Jason McDonald [Mon, 31 Oct 2011 05:31:39 +0000 (15:31 +1000)]
Remove disabled code from QMainWindow autotest.

The removed code has been disabled since it was first added in October
2006.

Change-Id: I10243aa2979fd1615c919ec522d10d77d6527b3b
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove unstable test from qgraphicsscene test.
Jason McDonald [Mon, 31 Oct 2011 05:21:42 +0000 (15:21 +1000)]
Remove unstable test from qgraphicsscene test.

The removed test was disabled in February 2007 because it did not work
cross-platform.  The comment that was added at the time claims that the
functionality is covered thoroughly by other tests, but even if that
isn't true we're not losing anything by removing this test as it is not
even useful as a starting-point for a new test due to its reliance on
random test data.

Change-Id: Ica74262082184908d02595702486803d1efff4d2
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove obsolete test data from qgraphicsitem test
Jason McDonald [Mon, 31 Oct 2011 05:08:57 +0000 (15:08 +1000)]
Remove obsolete test data from qgraphicsitem test

The removed test data was disabled by commit 83747a82 and should have
been removed at that time.

Change-Id: Ia2cef0bf4394a5b95fdf37db26369e733c7e86ec
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove disabled code from qgraphicssceneindex test
Jason McDonald [Mon, 31 Oct 2011 05:02:15 +0000 (15:02 +1000)]
Remove disabled code from qgraphicssceneindex test

The removed code used to test API that was removed in the graphicsview
refactor that was done for Qt 4.5.1.

Change-Id: I3b312b9e51114e24c6ef1191353c35688b229d99
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove disabled code from QString autotest.
Jason McDonald [Mon, 31 Oct 2011 04:31:01 +0000 (14:31 +1000)]
Remove disabled code from QString autotest.

The removed code was disabled before the tests were imported into the Qt
repository in 2006, so its meaning or usefulness is lost in the mists of
time.

Change-Id: I3108a1a1d86cd135886608f47dcd88bf49f2d3fd
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove disabled code from QRegExp test
Jason McDonald [Mon, 31 Oct 2011 03:11:28 +0000 (13:11 +1000)]
Remove disabled code from QRegExp test

The removed code was disabled before the tests were imported into the Qt
repository in 2006, so its meaning or usefulness is lost in the mists of
time.

Change-Id: Iccdf5638106b054f02ed73790f7acda1b17b045b
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove tests for API that never made it into Qt.
Jason McDonald [Mon, 31 Oct 2011 03:09:08 +0000 (13:09 +1000)]
Remove tests for API that never made it into Qt.

Change-Id: If78d82abfb4ff3402eb8f36729bacc3c4d343d0c
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove obsolete code from QChar autotest.
Jason McDonald [Mon, 31 Oct 2011 02:57:14 +0000 (12:57 +1000)]
Remove obsolete code from QChar autotest.

QUnicodeTables::ligature() was removed from the API in 2006.  The
commit that disabled the test also changed the code to call
QChar::ligature(), which has never existed.

Change-Id: I056c17c178a527b076538fb007404ff0b735ba02
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove obsolete code from qstate autotest.
Jason McDonald [Mon, 31 Oct 2011 02:50:51 +0000 (12:50 +1000)]
Remove obsolete code from qstate autotest.

This was originaly the only test function in this test, and should have
been deleted when it was replaced by the other test functions.

Change-Id: Idc71a5462fd4d19955f9b14389b877be16c62ab5
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoImprove QBuffer autotest
Jason McDonald [Mon, 31 Oct 2011 02:30:14 +0000 (12:30 +1000)]
Improve QBuffer autotest

The documentation of QIODevice::pos() states: "For sequential devices or
closed devices, where there is no concept of a "current position", 0 is
returned".  The test had a disabled check for a position of -1 before
the device is opened.  Make the test agree with the documentation.

Change-Id: Ide5729bfc825cdb84caf4851574a57d3ef42ccb2
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove debugging code from QFileSystemWatcher test
Jason McDonald [Mon, 31 Oct 2011 02:24:46 +0000 (12:24 +1000)]
Remove debugging code from QFileSystemWatcher test

Any test diagnostics that are useful should be part of the regular test
output, as the CI system cannot switch on commented-out code when there
is a test failure.

Change-Id: I201ba754df26ffc30997bead8b822f97913db2b6
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove disabled tests from QUrl test.
Jason McDonald [Mon, 31 Oct 2011 01:58:16 +0000 (11:58 +1000)]
Remove disabled tests from QUrl test.

Some tests were copied in from KDE's KURL sometime prior to Qt's tests
being added to the Qt repository in June 2006.  This was presumably
done with the intention of making the tests work for QUrl, but that
never happened and the copied tests have never been enabled.

This commit removes the copied material.

Change-Id: Ic35526f0018900bd60d7905646b24c62317b5e47
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove obsolete code from qtconcurrentiteratekernel test.
Jason McDonald [Mon, 31 Oct 2011 01:32:22 +0000 (11:32 +1000)]
Remove obsolete code from qtconcurrentiteratekernel test.

The removed code refers to WhileIteration, which does not exist.

Change-Id: I4c44bc319ac776d16ce9ba7b5c2938ce1642a3f6
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove obsolete code from qtconcurrentrun test.
Jason McDonald [Mon, 31 Oct 2011 01:14:58 +0000 (11:14 +1000)]
Remove obsolete code from qtconcurrentrun test.

The removed code was left over from an unfinished MSVC6 compatibility
API (see commit e3e28e7a in the grafted history).  That compiler is
no longer supported, so this code can be retired.

Change-Id: I81bcfa771ae13579f2458eb2d3ebf41c6af8577c
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove debug code from QLocalSocket autotest.
Jason McDonald [Fri, 28 Oct 2011 08:25:09 +0000 (18:25 +1000)]
Remove debug code from QLocalSocket autotest.

Any test diagnostics that are useful should be part of the regular test
output, as the CI system cannot switch on commented-out code when there
is a test failure.

Change-Id: Ie44b6ea8dd496857ea264f730148d3dc4f5c8324
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove debugging code from languagechange test
Jason McDonald [Fri, 28 Oct 2011 07:04:19 +0000 (17:04 +1000)]
Remove debugging code from languagechange test

Change-Id: Ic3f1ea9ed3dd4ad78fccd66718f53a798cf8103a
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove dead code from QTransform autotest.
Jason McDonald [Fri, 28 Oct 2011 07:40:04 +0000 (17:40 +1000)]
Remove dead code from QTransform autotest.

Remove the operator_star_qrect() test function.  The body of this test
function has been inside "#if 0" since the commit that created the test
in 2006 and the operator it is trying to test doesn't exist.  Seems fair
to assume that this function isn't worth keeping.

Change-Id: I9748273b28eae4b07c3a25f77cee412ad94ea822
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove debugging code from QPainter autotest.
Jason McDonald [Fri, 28 Oct 2011 07:31:49 +0000 (17:31 +1000)]
Remove debugging code from QPainter autotest.

Any test diagnostics that are useful should be part of the regular test
output, as the CI system cannot switch on commented-out code when there
is a test failure.

Change-Id: Ic7fb619081e9ff453769f4064431dc726e90b985
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove debugging code from QPathClipper autotest.
Jason McDonald [Fri, 28 Oct 2011 07:13:26 +0000 (17:13 +1000)]
Remove debugging code from QPathClipper autotest.

Any test diagnostics that are useful should be part of the regular test
output, as the CI system cannot switch on commented-out code when there
is a test failure.

Change-Id: I36c0624cccf70853a697a2395259b387fa334134
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove dead code from qpixmap autotest
Jason McDonald [Fri, 28 Oct 2011 07:06:11 +0000 (17:06 +1000)]
Remove dead code from qpixmap autotest

The removed code was in #if 0 in the original commit of the test
function and appears to be an earlier version that should have been
discarded before the initial commit.

Change-Id: I91f16aa7adcccb50f4f3a02062fb9d105d85000c
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoFix use of qMax() with floating point constants
Sergio Ahumada [Sun, 30 Oct 2011 17:41:51 +0000 (18:41 +0100)]
Fix use of qMax() with floating point constants

When passing floating point constants make sure
to cast them as qreal's.

Change-Id: I17e7ee407ac4f92ce947f6a384aa4d64edb8e983
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
13 years agomoc: support c++11 style enums
Olivier Goffart [Sat, 29 Oct 2011 17:55:36 +0000 (19:55 +0200)]
moc: support c++11 style enums

Task-number: QTBUG-21480

Change-Id: Ic116a5a06dd68036823f27146e49511c68cf2de6
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
13 years agoRemove S60/symbian specific code
Lars Knoll [Fri, 28 Oct 2011 18:44:27 +0000 (20:44 +0200)]
Remove S60/symbian specific code

Clean up and remove Symbian specific code and
data.

Change-Id: I89976fd087d485e04d37eccd3aeb3d2beac59b0a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
13 years agoRe-enabled tst_LargeFile
Jo Asplin [Wed, 26 Oct 2011 09:29:58 +0000 (11:29 +0200)]
Re-enabled tst_LargeFile

tst_LargeFile currently seems to pass in a stable way in CI

It does have an issue on 64-bit Linux (see QTBUG-21175), so
that test function is still disabled (QEXPECT_FAIL'ed) on that platform.

Change-Id: I818046f84f2db5eb2155ae1f51f69581029bfaee
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
13 years agoRemove symbian threading primitive.
Olivier Goffart [Fri, 28 Oct 2011 10:01:32 +0000 (12:01 +0200)]
Remove symbian threading primitive.

Those are already outdated and do not compile anymore
(QMutex has changed too much)

Better to remove that dead code so it do not show up in grep anymore

Change-Id: I096e7a73e23cbb77050843c2e1c10929086fdb8f
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
13 years agoCorrect dependencies for the platformsupport library
Lars Knoll [Fri, 28 Oct 2011 08:48:37 +0000 (10:48 +0200)]
Correct dependencies for the platformsupport library

Without this make -jx would often fail as some of the
dependencies of the platformsupport lib weren't built
yet.

Change-Id: I1e4fea5fa6f0dd5751b6b53458f1f14bfeb225b2
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
13 years agoRemove stuff related to obsolete platforms
Lars Knoll [Fri, 28 Oct 2011 08:47:38 +0000 (10:47 +0200)]
Remove stuff related to obsolete platforms

Qt/Embedded and Symbian are no longer supported.

Change-Id: Ifb86a384c666f389a166efe798d4792115731adb
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
13 years agoRemove Windows and X11 from src/widgets/platforms.
Robin Burchell [Thu, 27 Oct 2011 08:58:57 +0000 (10:58 +0200)]
Remove Windows and X11 from src/widgets/platforms.

This is dead code, unused with QPA in place, so remove it to avoid confusion
caused through grepping for class names existing in both old and new places.

Mac code is left in place for now, as some of it is still in use.

Change-Id: Ia82cd5bbabe71285ca997f79d8fd9c0504e32c28
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoExamples, plugins: Remove remains of qpa in profiles.
Friedemann Kleint [Fri, 28 Oct 2011 08:41:14 +0000 (10:41 +0200)]
Examples, plugins: Remove remains of qpa in profiles.

Change-Id: I0fc45c6c4df6d1f07472aec30b9e64b55db8e543
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoMark QAtomic* implicit cast and other operators as deprecated
Bradley T. Hughes [Fri, 28 Oct 2011 11:34:18 +0000 (13:34 +0200)]
Mark QAtomic* implicit cast and other operators as deprecated

Add Q_DECL_DEPRECATED to all methods that are pending removal once
http://codereview.qt-project.org/#change,6243 is merged.

This is necessary to give people time to react to the source
incompatible change.

Change-Id: Ia72f184d630d593f96dd1d95ad6cd0d3bd5d811c
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
13 years agoGet rid of legacy glTexParameterf calls.
Samuel Rødal [Fri, 21 Oct 2011 10:31:43 +0000 (12:31 +0200)]
Get rid of legacy glTexParameterf calls.

ES 1.0 didn't have glTexParameteri, which is why we sometimes used
glTexParameterf. However, we shouldn't use glTexParameterf because
that's treating integer values as floating point, which is not type
safe. ES 1.1+ and ES 2.x have glTexParameteri, and we don't really care
about supporting ES 1.0 in any case in Qt 5.

Change-Id: I6b586b31ddc418ba319c4cc88f6bb3978fdbd040
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
13 years agoImprove QTextBrowser unit test.
Jason McDonald [Fri, 28 Oct 2011 06:17:34 +0000 (16:17 +1000)]
Improve QTextBrowser unit test.

The relativeLinks() test function was not performing sufficient
verification steps and thus hid a regression.

Task-number: QTBUG-22416
Change-Id: I2db4d4035e7a32f3c84630c7a15408d31d85ac9e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoMove test data to the right place.
Jason McDonald [Fri, 28 Oct 2011 05:49:36 +0000 (15:49 +1000)]
Move test data to the right place.

This file seems to have been forgotten when the test it belongs to got
moved -- probably because the test was poorly written and still passed
when the file couldn't be opened.  The file is supposed to live one
directory up from the qtextbrowser test so that it can be used to test
opening url's with relative paths.

Change-Id: Id80965b1c73b37de75691ae3a18f909f9c6d799a
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove redundant preprocessor directive.
Jason McDonald [Fri, 28 Oct 2011 04:32:24 +0000 (14:32 +1000)]
Remove redundant preprocessor directive.

In Qt5, it's quite safe to assume that QT_VERSION is greater than 4.x.

Change-Id: I2b7f491d79e084f3a52ee54c9e97419570b57584
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoUpdate changes file for tests and testlib.
Jason McDonald [Fri, 28 Oct 2011 02:04:53 +0000 (12:04 +1000)]
Update changes file for tests and testlib.

Change-Id: Ib8bc7b365166e75e54e693c550832849de6a0363
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoUpdate qmltest usage help
Charles Yin [Fri, 28 Oct 2011 03:33:46 +0000 (13:33 +1000)]
Update qmltest usage help

Add "-translation" command line option

Task-number:QTBUG-22390
Change-Id: I0600b92767b73ccb54e8d70f6c7bb8bf8075c81c
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
13 years agoFreetype: Do not unlock face when returning superclass value in lockedAlphaMapForGlyph
Oliver Wolff [Thu, 27 Oct 2011 14:01:01 +0000 (16:01 +0200)]
Freetype: Do not unlock face when returning superclass value in lockedAlphaMapForGlyph

If the face is unlocked in this case, calling unlockAlphaMapForGlyph after doing
the operation will cause an assert.

Change-Id: Icb2310a3b139e5bedf24f9c3794bd7d3fd38cfea
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
13 years agoReplace implicit QAtomic* casts with explicit load()/store()
Bradley T. Hughes [Thu, 29 Sep 2011 09:50:08 +0000 (11:50 +0200)]
Replace implicit QAtomic* casts with explicit load()/store()

Change-Id: Ia7ef1a8e01001f203e409c710c977d6f4686342e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
13 years agoFix compiler warnings.
Friedemann Kleint [Thu, 27 Oct 2011 14:16:16 +0000 (16:16 +0200)]
Fix compiler warnings.

- Fix gcc 4.6.X warnings about assigned but unused variables
- Remove trailing ';' from inline functions (Clang)

Change-Id: I8670afd6b149748a740f22c65de137762e9f18e1
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoUse load() instead of implicit cast when using QueuedConnection
Bradley T. Hughes [Wed, 28 Sep 2011 10:03:17 +0000 (12:03 +0200)]
Use load() instead of implicit cast when using QueuedConnection

queued_activate() sets the argumentTypes atomic pointer on first use, which
mixes a load, memory initialization, test-and-set-ordered, and
another load. The explicit memory ordering is necessary to ensure
that the memory stores happen in program order.

Change-Id: Id1f8641f9cd081ce81aa8e830692f7af8261e84b
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
13 years agoUpdate QMutex benchmark to match the one in 4.8
Bradley T. Hughes [Thu, 27 Oct 2011 09:53:05 +0000 (11:53 +0200)]
Update QMutex benchmark to match the one in 4.8

Pull in recent changes in the 4.8 branch for the QMutex benchmark.

Change-Id: Ie1e9bff33cecafb36d3d12207100f09f99597f8e
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
13 years agoMove the implementation of normalizeTypeInternal()
Bradley T. Hughes [Wed, 26 Oct 2011 12:32:23 +0000 (14:32 +0200)]
Move the implementation of normalizeTypeInternal()

This function is only used in src/tools/moc/moc.cpp and
src/corelib/kernel/qmetaobject.cpp. We don't need to include the
static, non-inline declaration and definition every time
qmetaobject_p.h is included.

This also silences the related warning from clang:

../../../include/QtCore/5.0.0/QtCore/private/../../../../../src/corelib/kernel/qmetaobject_p.h:171:19: error:
      function 'normalizeTypeInternal' is not needed and will not be emitted
      [-Werror,-Wunneeded-internal-declaration]
static QByteArray normalizeTypeInternal(const char *t, const char *e, ...
                  ^

Change-Id: I6dfb2cb4d9d82a2ae7795f91169aa62f9a5f2c2f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
13 years agoAdd QT_BEGIN_HEADER/QT_END_HEADER macros
Sergio Ahumada [Thu, 27 Oct 2011 11:26:50 +0000 (13:26 +0200)]
Add QT_BEGIN_HEADER/QT_END_HEADER macros

Fixing `macros' function test of `tst_headers'

Task-number: QTQAINFRA-324

Change-Id: I9e78d5f33dcd89718d90e0d2a40a02eba80f6ca9
Reviewed-by: Liang Qi <liang.qi@nokia.com>
13 years agoCompilation fix (cannot assign const pointer to non-const pointer)
Bradley T. Hughes [Thu, 27 Oct 2011 11:47:31 +0000 (13:47 +0200)]
Compilation fix (cannot assign const pointer to non-const pointer)

After reinterpret_casting to const NSString *, we need to const_cast to
drop the cast to match the return type.

Change-Id: I3d202aec10e719a48f29d96b81621492936ac6ad
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
13 years agoFixed crash in printsupport on Windows
Oliver Wolff [Thu, 27 Oct 2011 11:38:51 +0000 (13:38 +0200)]
Fixed crash in printsupport on Windows

Change-Id: I3fec51b9f5c55296041b79bbf6da9d7687ae9afd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoMake configure understand -W* arguments
Bradley T. Hughes [Mon, 24 Oct 2011 11:00:49 +0000 (13:00 +0200)]
Make configure understand -W* arguments

These will be passed on as extra C*FLAGS to the Qt build. Useful for
adding -Werror or -Wno-something-or-other.

Change-Id: Ifbbf63261573edd024de951082d99658eb443a3f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
13 years agoCompile with QT_ENABLE_DEPRECATED_BEFORE set to old version of Qt
Olivier Goffart [Wed, 26 Oct 2011 18:24:26 +0000 (20:24 +0200)]
Compile with QT_ENABLE_DEPRECATED_BEFORE set to old version of Qt

Change-Id: Ice67071cc97ad645a7dda264a3dce184fceae75a
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoAdd QDataStream operators to QMargins, so it can be streamed
Steven Ceuppens [Tue, 25 Oct 2011 10:19:19 +0000 (12:19 +0200)]
Add QDataStream operators to QMargins, so it can be streamed

 * QDataStream format documented
 * Added Unit test for QDataStream operators

 * Updated Unit test

Change-Id: Idbcfcb0b927e6369e8d31b57693c7aa0d1a154e7
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
13 years agoDo not call setCursor on Desktop or if there is no platform window.
Friedemann Kleint [Thu, 27 Oct 2011 11:25:14 +0000 (13:25 +0200)]
Do not call setCursor on Desktop or if there is no platform window.

Fix a crash on Windows.

Change-Id: I2b88e113d7149444ebc8946c0ee0eba7a9b5bbc2
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
13 years agoRemove pointless QVERIFY(1) calls in QPainter test
Jason McDonald [Wed, 26 Oct 2011 06:46:06 +0000 (16:46 +1000)]
Remove pointless QVERIFY(1) calls in QPainter test

Change-Id: Iae5fcb9fa7dc64ed2d2bd369dbe689c5136ad283
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoUse standard method of excluding a test.
Jason McDonald [Wed, 26 Oct 2011 06:12:27 +0000 (16:12 +1000)]
Use standard method of excluding a test.

If we find out at run-time that an entire test program is not
applicable, the correct way to skip the test is by calling QSKIP from
the test's initTestCase() method.

Change-Id: Iaf1dbcce38c569ee9513bf37232e9e4ea287d872
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoPrefer compile-time checks to QSKIP.
Jason McDonald [Wed, 26 Oct 2011 05:37:01 +0000 (15:37 +1000)]
Prefer compile-time checks to QSKIP.

Qt has compile-time defines for determining the presence of each style
in the build.  Use these to exclude inapplicable test data instead of
including all test data and then being unable to distinguish the absence
of a style from regressions in QStyleFactory.

Change-Id: Iab1756aec80892a8b587bb635779537c64b1d4dd
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove unnecessary QSKIP.
Jason McDonald [Wed, 26 Oct 2011 04:32:55 +0000 (14:32 +1000)]
Remove unnecessary QSKIP.

Change-Id: Icaa0687d5d0370ede6076cbee9d97d89e338ca17
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoUse load() when constructing QSimpleCodec's reverse map
Bradley T. Hughes [Wed, 28 Sep 2011 10:14:01 +0000 (12:14 +0200)]
Use load() when constructing QSimpleCodec's reverse map

The implicit casting results in unnecessary volatile loads. The
test-and-set-ordered doesn't need full ordering, test-and-set-release
is enough to ensure that the memory initialization done by
buildReverseMap() and test-and-set happen in program order.

Change-Id: I168b504271aeba050d6b8396becbdeb3ef938213
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
13 years agoWindows: More fine-grained paint event handling.
Friedemann Kleint [Thu, 27 Oct 2011 08:31:29 +0000 (10:31 +0200)]
Windows: More fine-grained paint event handling.

Pass expose events to GL widgets, handle invalid
update rectangles, ignore WM_ERASEBKND (using code from 4.8).

Change-Id: Ide062efb392292fff556d37b0ef0e880676748a2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoFixed resource leak when setting QProgressBar style sheet
Tero Ahola [Mon, 10 Oct 2011 15:02:33 +0000 (17:02 +0200)]
Fixed resource leak when setting QProgressBar style sheet

Task-number: QTBUG-19110

Merge-request: 2687
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
(cherry picked from commit ecd78168271cfe71715e074a50752712f4aa3229)

Change-Id: I49fdf0f74b903313089eb8cd778c80a19d34b461
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
13 years agoInitial support for MeeGo's input method server
Simon Hausmann [Tue, 18 Oct 2011 12:51:53 +0000 (14:51 +0200)]
Initial support for MeeGo's input method server

This platform input context plugin is based on the dbus protocol used in MeeGo
1.2 Harmattan's input method server.

It supports composition, mouse-click-on-preedit as well as basic input method
hints. Missing are: Copy & paste, preedit injection, key redirection as well
as a bunch of other smaller MeeGoTouch specific features.

Change-Id: Ic3a8741f7a5ed18b379985e316cb137f7b8f6a8e
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Reviewed-by: Kenneth Rohde Christiansen <kenneth.r.christiansen@nokia.com>
13 years agoAdd default actions to QAccessibleWidget.
Frederik Gladhorn [Tue, 11 Oct 2011 14:20:47 +0000 (16:20 +0200)]
Add default actions to QAccessibleWidget.

Change-Id: I9f251aad663fd0b8db2ef068c6581241d91c090d
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
13 years agoNative file dialog support for Mac
Morten Sorvig [Wed, 28 Sep 2011 07:52:15 +0000 (09:52 +0200)]
Native file dialog support for Mac

* New API: QPlatformDialogHelper to support native dialog on QPA.
    (Currently, It supports only file dialog.)
* Modify QDialog* and QFileDialog* to support native dialog.
* Add native file dialog support to cocoa platform plugin.

Change-Id: I957f046748a27a33fd9f8af3c525feabd1b0f582
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
13 years agoUnix (non-Glib) event dispatcher: round sleep to millisecond boundary.
Thiago Macieira [Wed, 30 Jun 2010 13:18:24 +0000 (15:18 +0200)]
Unix (non-Glib) event dispatcher: round sleep to millisecond boundary.

If we have two timers running in an application with the same timeout
and started almost at the same time by the code, they would trigger two
sleeps, the second of which very short (under a millisecond).

This causes us to match the Glib and Windows event loops, which round
all timers to millisecond anyway.

Change-Id: I7eb531e02dadf75925c01192b0f33ef3641ae1ea
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
13 years agoTests: Remove Q_WS_QPA, qpa-sections from .profiles.
Friedemann Kleint [Tue, 25 Oct 2011 09:28:47 +0000 (11:28 +0200)]
Tests: Remove Q_WS_QPA, qpa-sections from .profiles.

Compile without -qpa.

- Make Q_WS_QPA-#ifdefed sections the default in the code
- Replace some Q_WS_ by Q_OS_
- Add ### fixme for places that need checking
- Remove qpa conditionals from .pro files.

Change-Id: I6ea930afc0c236cc12a7b7e95f1b8a1c24b3a513
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoCocoa: Set correct child window geometry.
Morten Sorvig [Wed, 26 Oct 2011 10:35:52 +0000 (12:35 +0200)]
Cocoa: Set correct child window geometry.

Remote globalGeometry which was completely wrong,
replace with flipRect which converts from Qt
screen coordinates to OS X screen coordinates.

Change-Id: Ie560cb7c2266fe779da8a44a35596d2d12af77f5
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
13 years agoCocoa: Implement propagateSizeHints.
Morten Sorvig [Wed, 26 Oct 2011 08:00:26 +0000 (10:00 +0200)]
Cocoa: Implement propagateSizeHints.

Change-Id: Idc1244ffbf975972f01d9ee48092500a72739d37
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
13 years agoRemove unreachable QSKIP in UIC autotest.
Jason McDonald [Wed, 26 Oct 2011 04:22:45 +0000 (14:22 +1000)]
Remove unreachable QSKIP in UIC autotest.

If an autotest's initTestCase() method fails or skips, the remaining
test functions are not executed.  Thus the QSKIP in the run() test
function was unreachable.

Change-Id: If1f1b484958367236357f9445491bed50bee2239
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove obsolete MSVC workarounds from autotests.
Jason McDonald [Wed, 26 Oct 2011 01:49:57 +0000 (11:49 +1000)]
Remove obsolete MSVC workarounds from autotests.

Qt5 doesn't support MSVC versions before 2008, so workarounds for
earlier versions are no longer required.

Change-Id: I429feff99fe61d286637b960d92fd58962f8aefa
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoReplace QSKIP with QFAIL in qputenv test
Jason McDonald [Wed, 26 Oct 2011 01:03:35 +0000 (11:03 +1000)]
Replace QSKIP with QFAIL in qputenv test

If qputenv fails, the test should fail rather than skip, particularly as
the test is supposed to be testing qputenv.

Change-Id: Iabe13d360cabaeffda46fab19f1dd0d4ed8e1eee
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove inappropriate QSKIP in QTextCodec autotest.
Jason McDonald [Wed, 26 Oct 2011 00:52:54 +0000 (10:52 +1000)]
Remove inappropriate QSKIP in QTextCodec autotest.

There were only two ways the QSKIP could be called: (1) the C++ runtime
is broken, or (2) the earlier call to resize the string failed.

In both cases there should be a hard test failure. In the former case, a
broken C++ runtime calls all of the test results into question.  In the
latter case, the QByteArray::resize() method has suffered a regression.

Change-Id: I5adf942d2eb4d746d2ab31e98571c5d9bdd40890
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove obsolete QSKIP call.
Jason McDonald [Wed, 26 Oct 2011 00:28:13 +0000 (10:28 +1000)]
Remove obsolete QSKIP call.

The bug referenced in the QSKIP has been marked as resolved, so this
QSKIP should no longer be needed.

Change-Id: I41dd964827a3df8fb5ebb9674cef9db59c03d432
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoFix spelling
Morten Sorvig [Wed, 26 Oct 2011 07:20:27 +0000 (09:20 +0200)]
Fix spelling

Change-Id: If9630ffa3a1c411b2e56b41ed35c272177343274
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
13 years agoreplace 'const QChar &' with 'QChar ' for QChar and QString
Ritt Konstantin [Tue, 18 Oct 2011 14:44:54 +0000 (16:44 +0200)]
replace 'const QChar &' with 'QChar ' for QChar and QString

Merge-request: 69
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Change-Id: I61f5a54b783252029fcad95677958fa6a2130d01
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
13 years agoWindows: Fix Open GL formats.
Friedemann Kleint [Wed, 26 Oct 2011 14:09:37 +0000 (16:09 +0200)]
Windows: Fix Open GL formats.

- Add swapInterval as additional format
- Query context format correctly and store in separate struct
  (default vs requested/obtained)
- Cosmetics, rename enumerations, structs.

Change-Id: I381cf8e1bde33e6624feb549437c7b95dd85e93c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoRevert "Use memmove in QListData::append(int) as regions overlap."
Oswald Buddenhagen [Wed, 26 Oct 2011 12:24:51 +0000 (14:24 +0200)]
Revert "Use memmove in QListData::append(int) as regions overlap."

We have proven that the regions cannot overlap. The root problem must be
somewhere else.

This reverts commit d96b7b809e614dd416709acec768529457120b9f.

Change-Id: I3446487f2a1a5bd322379b8adb788c26ff3e08e2
Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
13 years agoImplement child instead of navigate in QAccessibleMainWindow.
Frederik Gladhorn [Sat, 22 Oct 2011 15:52:13 +0000 (17:52 +0200)]
Implement child instead of navigate in QAccessibleMainWindow.

Change-Id: I321ce4f8bb6e724db87a0419f890174b32cc1fe2
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
13 years agoDoc: Fixing typo
Sergio Ahumada [Mon, 24 Oct 2011 22:11:03 +0000 (00:11 +0200)]
Doc: Fixing typo

Fix typos I was able to find in `tests/auto' directory.

Change-Id: Id0bfcc18301381ac8b1ca8d5af17bd926e5913d4
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
13 years agoQtPrintSupport: Remove Q_WS_QPA, qpa sections from .pro files.
Friedemann Kleint [Wed, 26 Oct 2011 07:11:48 +0000 (09:11 +0200)]
QtPrintSupport: Remove Q_WS_QPA, qpa sections from .pro files.

Compile without -qpa.

Change-Id: Icfbf733964a7d6db80f8ec706a4b6fe84cd71b4d
Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
13 years agoRe-enabled tests
Jo Asplin [Tue, 25 Oct 2011 13:39:20 +0000 (15:39 +0200)]
Re-enabled tests

This commit re-enables tests that are assumed to be ok by now, since they:
- Have been passing in CI for a long time recently (more precisely, not failed once in pulse run range 730-829).
- Did not have any known issues associated with them.

Note that not all of these tests were disabled as a result of QTBUG-21402.

Task-number: QTBUG-21402
Change-Id: I80bbf8b351bd9165aa968e98f4dc17e8be6bc7c3
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRe-enabled tst_qstatictext
Jo Asplin [Tue, 25 Oct 2011 12:19:49 +0000 (14:19 +0200)]
Re-enabled tst_qstatictext

tst_qstatictext is fixed by 8b4e40f5354ef81c40d8da35e0e79b2a87278e31

Task-number: QTBUG-20977
Change-Id: I70631951c98ee3033f4d0c7a61fad102d28846d1
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRe-enabled tst_qrawfont
Jo Asplin [Tue, 25 Oct 2011 12:15:57 +0000 (14:15 +0200)]
Re-enabled tst_qrawfont

tst_qrawfont is fixed by 8b4e40f5354ef81c40d8da35e0e79b2a87278e31

Task-number: QTBUG-20976
Change-Id: I862674211f581abec8714d1a3da4dc38227c2606
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRe-enabled tst_qhttpnetworkconnection
Jo Asplin [Tue, 25 Oct 2011 12:07:13 +0000 (14:07 +0200)]
Re-enabled tst_qhttpnetworkconnection

tst_qhttpnetworkconnection is fixed by 13df02ad044cca3c0414f5e34c57fe04b69b414c

Task-number: QTBUG-20981
Change-Id: I5666dbafe09113a7ecc3680f7608f874d66e2c19
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRe-enabled tst_qsocketnotifier
Jo Asplin [Tue, 25 Oct 2011 11:57:10 +0000 (13:57 +0200)]
Re-enabled tst_qsocketnotifier

tst_qsocketnotifier is fixed by 0e7cecb861c7be73d3ef46b41ad6d1a5691b5e7d

Task-number: QTBUG-20982
Change-Id: I97c0bc0f94a04e57f239de99bf3b64451a492434
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove unnecessary sources from the bootstrap library
Bradley T. Hughes [Tue, 25 Oct 2011 11:43:27 +0000 (13:43 +0200)]
Remove unnecessary sources from the bootstrap library

The ISCII and TSCII codecs are not compiled in due to QT_NO_CODECS,
likewise for all of the system locale implementations due to
QT_NO_SYSTEMLOCALE.

Since these sources do not result in any symbols, there's no reason
to compile them.

Change-Id: I3b65c156f594366850df9f44406ba7638ad735ba
Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
13 years agoSilence warning from clang
Bradley T. Hughes [Tue, 25 Oct 2011 11:29:09 +0000 (13:29 +0200)]
Silence warning from clang

../../corelib/tools/qlocale_mac.mm:78:13: warning: '&&' within '||'
      [-Wlogical-op-parentheses]
  ...&& !qt_splitLocaleName(QString::fromLocal8Bit(result), lang, script, cntry)...
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../corelib/tools/qlocale_mac.mm:78:13: note: place parentheses around the
      '&&' expression to silence this warning
            && !qt_splitLocaleName(QString::fromLocal8Bit(result), ...
            ^

Change-Id: I64f745e7dfa64f28f264667372ed64f9e34ca3b7
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
13 years agoRemove the QT_MOBILITY_BEARER macro.
Xizhi Zhu [Mon, 24 Oct 2011 20:27:28 +0000 (23:27 +0300)]
Remove the QT_MOBILITY_BEARER macro.

It was originally added to keep compatibility with the bearer management module from Qt Mobility, and no longer needed in Qt 5.

Change-Id: I187494e02a71c3d39a52f8c0bd4d0c7cc23d0b4b
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
13 years agoReadded PrintSupport for Windows
Oliver Wolff [Mon, 24 Oct 2011 07:25:32 +0000 (09:25 +0200)]
Readded PrintSupport for Windows

The prepared plugin architecture for
printing support was used as much as
possible but some functionality had to
be done in src/printsupport.

Change-Id: Ic8446cb8018a0970b4da97c1912ba6dc20d2a09f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoUpdate readme about xcb plugin dependencies
Laszlo Agocs [Tue, 25 Oct 2011 13:21:32 +0000 (16:21 +0300)]
Update readme about xcb plugin dependencies

Change-Id: Ia317ce96db3400f43cf800619fddcf76b5ab450a
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoFix QDialog test: Q_WS_X11 is no more.
Frederik Gladhorn [Mon, 24 Oct 2011 11:09:50 +0000 (13:09 +0200)]
Fix QDialog test: Q_WS_X11 is no more.

Change-Id: Ia4182b22f4a4999a80d7792378e1b9dfa03e7f9c
Reviewed-by: Kristoffer Flottorp <kristoffer.flottorp@nokia.com>
13 years agoBring back QDoubleSpinBox test.
Frederik Gladhorn [Mon, 24 Oct 2011 12:14:37 +0000 (14:14 +0200)]
Bring back QDoubleSpinBox test.

Returning text "1.00" instead of "1" sounds right to me.
Checking the test before the widget is shown/validated sounds pointless.

Change-Id: Ifc9e51dc9448a5bb3afbd566fe10524fbabc654f
Reviewed-by: Kristoffer Flottorp <kristoffer.flottorp@nokia.com>