Miikka Heikkinen [Tue, 11 Jan 2011 14:56:23 +0000 (16:56 +0200)]
Remove sqlite3_selfsigned.sis as it is no longer usable or needed.
Selfsigned qt.sis no longer installs on top of sqlite3_selfsigned.sis
as patching embedded sises and dependencies was removed from
patch_capabilities.pl script. However, since the regular sqlite3.sis
is nowadays signed for all three Symbian manufacturers that Qt supports,
there is no more need to have a self-signed sqlite3.sis in the first
place, so it is removed to reduce confusion.
Task-number: QTBUG-16576
Reviewed-by: axis
Miikka Heikkinen [Tue, 11 Jan 2011 10:48:38 +0000 (12:48 +0200)]
Allow use of command line parameters with RApaLsSession::StartApp.
When a Symbian application is launched using RApaLsSession::StartApp,
command line parameters can be given with CApaCommandLine::SetTailEndL
and will now be correctly interpreted by Qt applications as command
line parameters.
There are a couple of limitations:
1) The parameters given with CApaCommandLine::SetTailEndL will not
be available in main method's argv array; they can be
accessed via QCoreApplication::arguments function.
2) CApaCommandLine::SetTailEndL does support any arbitrary binary data
as parameter, but only 8-bit string data gets parsed properly into
QCoreApplication::arguments. For other kind of tail data, you need
to subclass QS60MainAppUi and implement ProcessCommandParametersL
callback.
Task-number: QTBUG-15987
Reviewed-by: axis
Ruth Sadler [Tue, 11 Jan 2011 10:57:41 +0000 (10:57 +0000)]
Fixed resource leak in Phonon MMF backend
Task-number: QTBUG-16513
Reviewed-by: Gareth Stockwell
Ruth Sadler [Tue, 11 Jan 2011 10:32:46 +0000 (10:32 +0000)]
Allow IAP to be selected in Phonon MMF backend
The Phonon API does not provide any way for the client to specify
which network connection should be used for streaming playback.
If the application already has a connection open, using a bearer
other than the default (e.g. using WiFi when the device default is
GPRS), it may be desirable to use it for streaming, rather than
allowing the Phonon backend to open a second connection on the
default bearer.
This patch adds a custom property on the Phonon::MediaObject,
called InternetAccessPointName. The client can specify the IAP
which Phonon should use by setting this property.
Note that support for this property is only provided in the Phonon
MMF backend.
Task-number: QTBUG-11436
Reviewed-by: Gareth Stockwell
Qt Continuous Integration System [Tue, 11 Jan 2011 12:45:01 +0000 (22:45 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
OpenVG paint engine doesn't draw glyphs well to non-integer offsets.
Jani Hautakangas [Tue, 11 Jan 2011 11:14:23 +0000 (13:14 +0200)]
OpenVG paint engine doesn't draw glyphs well to non-integer offsets.
Solution is to round adjustment offsets to integer values to prevent
blurry text.
Task-number: QTBUG-16240
Reviewed-by: Alessandro Portale
Qt Continuous Integration System [Tue, 11 Jan 2011 09:41:03 +0000 (19:41 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
QTextCodec::codecForMib: actually use the cache
Olivier Goffart [Tue, 11 Jan 2011 09:15:57 +0000 (10:15 +0100)]
QTextCodec::codecForMib: actually use the cache
Was removed by mistake in commit
02aecce59cb76ceb88f635203553
Reviewed-by: Peter Hartmann
Qt Continuous Integration System [Tue, 11 Jan 2011 03:29:32 +0000 (13:29 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix ConnMan bearer plugin to use new net.connman service name.
Lorn Potter [Tue, 11 Jan 2011 02:49:03 +0000 (12:49 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Lorn Potter [Tue, 11 Jan 2011 02:37:31 +0000 (12:37 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Lorn Potter [Tue, 11 Jan 2011 02:31:43 +0000 (12:31 +1000)]
Merge commit 'refs/merge-requests/959' of git://gitorious.org/qt/qt into integration
Qt Continuous Integration System [Mon, 10 Jan 2011 23:39:30 +0000 (09:39 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Update QTextOdfWriter test case to match actual (correct) output
Qt Continuous Integration System [Mon, 10 Jan 2011 20:14:50 +0000 (06:14 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
QFont/Windows: restrict the pixel size accuracy
Update copyright year to 2011.
For non-developer builds, skip test that requires private API
tst_qhttpnetworkconnection: Compile fix
Change QHostInfoCache to use QElapsedTime instead of QTime.
Fix for qtdemo bug
Brad Hards [Mon, 3 Jan 2011 01:12:25 +0000 (12:12 +1100)]
Update QTextOdfWriter test case to match actual (correct) output
The ODF 1.1 Specification Section 15.5.11 shows the element names are tab-stops
and tab-stop (not style-tab-stops and style-tab-stop, which are just ref in the
schema).
Merge-request: 1012
Reviewed-by: Olivier Goffart
Qt Continuous Integration System [Mon, 10 Jan 2011 16:45:05 +0000 (02:45 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Setting WA_TranslucentBackground after winid() is ineffective on Symbian.
Fix handle leak in symbian QTimer implementation
Joerg Bornemann [Mon, 10 Jan 2011 15:46:48 +0000 (16:46 +0100)]
QFont/Windows: restrict the pixel size accuracy
Like on all other platforms, the pixel size accuracy is now restricted
to two digits after the decimal point.
Task-number: QTBUG-15688
Reviewed-by: Jiang Jiang
Jason McDonald [Mon, 10 Jan 2011 15:31:53 +0000 (01:31 +1000)]
Update copyright year to 2011.
Reviewed-by: Trust Me
Jani Hautakangas [Mon, 10 Jan 2011 11:22:15 +0000 (13:22 +0200)]
Setting WA_TranslucentBackground after winid() is ineffective on Symbian.
Currently Symbian doesn't support semi-transparent EGL surfaces.
WA_TranslucentBackground attribute is ineffective if set after EGL
surface creation. To enable translucency in this case we need to
recreate backing store to get raster surface which supports translucency.
Task-number: QT-4416
Reviewed-by: Jason Barron
Adrian Constantin [Mon, 10 Jan 2011 10:27:35 +0000 (12:27 +0200)]
For non-developer builds, skip test that requires private API
Fix build break on harmattan.
Reviewed-by: Lucian Varlan
Qt Continuous Integration System [Mon, 10 Jan 2011 13:30:17 +0000 (23:30 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fix crash in QTextBlock::next()/previous()
Fix regression in text rendering in OpenGL2 engine
Markus Goetz [Mon, 10 Jan 2011 13:00:59 +0000 (14:00 +0100)]
tst_qhttpnetworkconnection: Compile fix
Niklas Kurkisuo [Mon, 10 Jan 2011 11:17:27 +0000 (12:17 +0100)]
Change QHostInfoCache to use QElapsedTime instead of QTime.
Use QElapsedTime instead of QTime for performance gain. See QT-2965 for
more info.
Task-number: QTBUG-16468
Reviewed-by: Markus Goetz
Eskil Abrahamsen Blomfeldt [Mon, 10 Jan 2011 11:14:55 +0000 (12:14 +0100)]
Merge branch 'graphics-team-text-4.7' into 4.7
Shane Kearns [Fri, 7 Jan 2011 15:57:28 +0000 (15:57 +0000)]
Fix handle leak in symbian QTimer implementation
The timer handle was only being closed when a timer was cancelled,
which resulted in a leak for one shot timers that have completed normally.
Instead the timer is now closed in a destructor (closing null handles is
safe, so it doesn't matter if the handle was never created - e.g. in the
case of a zero timer)
Also added a handle check before creating a timer to prevent a leak in
case the start function is called twice in the backend.
Task-number: QTBUG-16380
Reviewed-by: mread
Jerome Pasion [Mon, 10 Jan 2011 10:06:48 +0000 (11:06 +0100)]
Fix for qtdemo bug
Task-number: QTBUG-15931
Reviewed-by: Kevin Wright
Qt Continuous Integration System [Mon, 10 Jan 2011 07:03:51 +0000 (17:03 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Update pathview test
Alan Alpert [Mon, 10 Jan 2011 04:35:11 +0000 (14:35 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Alan Alpert [Mon, 10 Jan 2011 04:32:41 +0000 (14:32 +1000)]
Update pathview test
This updates the tests to match the correct behaviour as of
1ba3e41f09ea719249286fede5d3fe96621ccb61
Task-number: QTBUG-16357
Qt Continuous Integration System [Mon, 10 Jan 2011 03:39:54 +0000 (13:39 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Fix loaded() signal to be emitted only once
Bea Lam [Mon, 10 Jan 2011 02:13:00 +0000 (12:13 +1000)]
Fix loaded() signal to be emitted only once
Task-number: QTBUG-16319
Reviewed-by: Martin Jones
Qt Continuous Integration System [Mon, 10 Jan 2011 00:42:03 +0000 (10:42 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
network tests: make IMAP, FTP testdata more flexible.
Remove garbage empty test.
tst_networkselftest: add checks for echo, daytime
Rohan McGovern [Thu, 6 Jan 2011 03:39:14 +0000 (13:39 +1000)]
network tests: make IMAP, FTP testdata more flexible.
Move all hardcoded IMAP/FTP fixtures into network-settings.h.
Make it work with new and old network test server.
Reviewed-by: Markus Goetz
Task: QTBUG-15114
Rohan McGovern [Tue, 4 Jan 2011 04:30:19 +0000 (14:30 +1000)]
Remove garbage empty test.
Rohan McGovern [Fri, 31 Dec 2010 01:44:38 +0000 (11:44 +1000)]
tst_networkselftest: add checks for echo, daytime
Qt Continuous Integration System [Fri, 7 Jan 2011 23:49:48 +0000 (09:49 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
CLucene: Use the right delete operator.
Examples: Fix compilation with namespace.
fix build with QT_NO_BEARERMANAGEMENT
Qt Continuous Integration System [Fri, 7 Jan 2011 20:06:36 +0000 (06:06 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fixes crash in QGraphicsItem's destructor.
Doc: Fixing typo
Qt Continuous Integration System [Fri, 7 Jan 2011 17:05:58 +0000 (03:05 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging:
Fix crash when closing QFontDialog::getFont() dialog
Fix timer warning when deleting item views
Remove support for automatic tactile feedback from QS60Style
Remove warning about null cursor handle on S60 while handle is valid
Christian Kandeler [Fri, 7 Jan 2011 15:43:46 +0000 (16:43 +0100)]
CLucene: Use the right delete operator.
Task-number: QTBUG-15787
Task-number: QTBUG-15788
Christian Kandeler [Fri, 7 Jan 2011 15:42:16 +0000 (16:42 +0100)]
Examples: Fix compilation with namespace.
Jiang Jiang [Fri, 7 Jan 2011 15:15:25 +0000 (16:15 +0100)]
Fix crash in QTextBlock::next()/previous()
We should check not just p but also n in next()/previous(),
which is what isValid() does. Otherwise n == 0 will cause
crash in QFragmentMap.
Task-number: QTBUG-16279
Reviewed-by: Eskil
Peter Hartmann [Fri, 7 Jan 2011 15:17:13 +0000 (16:17 +0100)]
fix build with QT_NO_BEARERMANAGEMENT
start() is only defined when using bearer management; that method calls
open(), which we just call directly if not using bearer.
Reviewed-by: Markus Goetz
Task-number: QTBUG-16477
Qt Continuous Integration System [Fri, 7 Jan 2011 14:07:04 +0000 (00:07 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
tst_qnetworkreply: Add EXPECT_FAIL for ioGetFromBuiltinHttp
Revert "Fix QNetworkReply autotest cases for QT-3494"
Revert "QNAM HTTP: Fix missing error() signal"
licensing: exclude generated cookie jar table from license check
fix include path
fix build with namespaces in new cookie jar table
cookie jar code: enhance security by keeping track of effective TLDs
Add support for QMetaType::QVariant in ActiveQt
Fix QNetworkReply autotest cases for QT-3494
Add compiler optimization for QtScript/JSC on Symbian
improve performance of QTextEngine, esp. setBoundary by using non-detaching operator[]
Improve docs for QTEST_MAIN macro.
Work around an apparent GCC optimiser bug accessing arrays beyond end
Do not crash in case a future version of libdbus has a new kind of message.
Docs: QTBUG-9150 Incorrect snippet in class doc.
tst_headers: make failure more detailed when failing to open a file
Fix number of chapters in qtestlib tutorial.
Fixed QStatusBar not to repaint itself too early
QNAM HTTP: Fix missing error() signal
Make it clear which security updates are needed for Visual Studio 2005.
Yoann Lopes [Fri, 7 Jan 2011 13:29:38 +0000 (14:29 +0100)]
Fixes crash in QGraphicsItem's destructor.
Crash introduced by
783a278f243c6411f5f32d11f2165b9eed9b6f8c.
Autotest written by Niklas Kurkisuo <ext-niklas.kurkisuo@nokia.com>
Task-number: QTBUG-16374
Reviewed-by: TrustMe
Sergio Ahumada [Fri, 7 Jan 2011 11:37:12 +0000 (12:37 +0100)]
Doc: Fixing typo
Qt Continuous Integration System [Fri, 7 Jan 2011 11:04:43 +0000 (21:04 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
QmlViewer: Remove unused class variables
Markus Goetz [Fri, 7 Jan 2011 10:41:19 +0000 (11:41 +0100)]
tst_qnetworkreply: Add EXPECT_FAIL for ioGetFromBuiltinHttp
Reviewed-by: Peter Hartmann
Markus Goetz [Fri, 7 Jan 2011 10:31:20 +0000 (11:31 +0100)]
Revert "Fix QNetworkReply autotest cases for QT-3494"
We don't think this is the right fix.
This reverts commit
5d18d393808d7a4be56eb00ab9f1e9cda9e211c9.
Markus Goetz [Fri, 7 Jan 2011 10:26:52 +0000 (11:26 +0100)]
Revert "QNAM HTTP: Fix missing error() signal"
We don't think this is the right solution.
This reverts commit
de72670c620e1193fa875bf1a4adee553700bacb.
Gabriel de Dietrich [Fri, 7 Jan 2011 10:16:57 +0000 (11:16 +0100)]
Merge branch 'review-4.7' into staging-4.7
Qt Continuous Integration System [Fri, 7 Jan 2011 07:51:45 +0000 (17:51 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fixed bug and performance problem in windowsstyle.
Restored old flushing behavior in -graphicssystem opengl on desktop.
Kai Koehne [Fri, 7 Jan 2011 07:47:51 +0000 (08:47 +0100)]
QmlViewer: Remove unused class variables
Samuel Rødal [Thu, 6 Jan 2011 12:09:14 +0000 (13:09 +0100)]
Fixed bug and performance problem in windowsstyle.
QImage::fill(Qt::transparent) pre-4.8 is a bug, also using Format_ARGB32
is very unoptimal compared to Format_ARGB32_Premultiplied.
Task-number: QTBUG-16439
Reviewed-by: Eskil Abrahamsen Blomfeldt
Samuel Rødal [Wed, 5 Jan 2011 07:25:56 +0000 (08:25 +0100)]
Restored old flushing behavior in -graphicssystem opengl on desktop.
Change
284211ccbd2cbd recently introduced a fix for EGL, to prevent
flushing when nothing has been rendered into the back buffer. However,
the skip should only be done when there's no partial update support in
the window surface. If there is partial update support we can still
flush as usual.
Reviewed-by: Gunnar Sletta
Qt Continuous Integration System [Thu, 6 Jan 2011 22:17:58 +0000 (08:17 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
licensing: exclude generated cookie jar table from license check
fix include path
fix build with namespaces in new cookie jar table
cookie jar code: enhance security by keeping track of effective TLDs
Add support for QMetaType::QVariant in ActiveQt
Fix QNetworkReply autotest cases for QT-3494
Add compiler optimization for QtScript/JSC on Symbian
improve performance of QTextEngine, esp. setBoundary by using non-detaching operator[]
Improve docs for QTEST_MAIN macro.
Work around an apparent GCC optimiser bug accessing arrays beyond end
Do not crash in case a future version of libdbus has a new kind of message.
Docs: QTBUG-9150 Incorrect snippet in class doc.
tst_headers: make failure more detailed when failing to open a file
Fix number of chapters in qtestlib tutorial.
Fixed QStatusBar not to repaint itself too early
QNAM HTTP: Fix missing error() signal
Make it clear which security updates are needed for Visual Studio 2005.
Qt Continuous Integration System [Thu, 6 Jan 2011 19:11:35 +0000 (05:11 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Fix KERN-EXEC 0 panic on exit when bearer is searching for WLANs
Peter Hartmann [Thu, 6 Jan 2011 16:04:37 +0000 (17:04 +0100)]
licensing: exclude generated cookie jar table from license check
This file is generated from the Public Suffix List, and thus under a
different license.
Reviewed-by: Markus Goetz
Qt Continuous Integration System [Thu, 6 Jan 2011 15:46:03 +0000 (01:46 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Designer: Block QEvent::WinIdChange.
QUrl::setUrl should call detach
qkeymapper_x11.cpp: fix compilation with LSB and without XKB
Shane Kearns [Thu, 6 Jan 2011 15:16:03 +0000 (15:16 +0000)]
Fix KERN-EXEC 0 panic on exit when bearer is searching for WLANs
The access point scanner cancels itself in the destructor.
This requires the handle to be valid, but it was closed in the symbian
engine destructor immediately before deleting the AP scanner.
Because of the way symbian active objects work, the crashing function
is only called if there was an asynchronous request in progress.
So it could be missed in cases where the scan completes faster than the
test case.
Task-number: QTBUG-16484
Reviewed-by: Markus Goetz
Friedemann Kleint [Thu, 6 Jan 2011 14:34:48 +0000 (15:34 +0100)]
Designer: Block QEvent::WinIdChange.
As it causes an obscure deletion crash related to
the formeditor rubberband on Mac.
Reviewed-by: con
Olivier Goffart [Thu, 6 Jan 2011 13:51:04 +0000 (14:51 +0100)]
QUrl::setUrl should call detach
Task-number: QTBUG-16425
Reviewed-by: Gabriel
Reviewed-by: Markus Goetz
Olivier Goffart [Thu, 6 Jan 2011 13:01:53 +0000 (14:01 +0100)]
qkeymapper_x11.cpp: fix compilation with LSB and without XKB
Task-number: QTBUG-16312
Reviewed-by: Marius Storm-Olsen
Mark Brand [Thu, 6 Jan 2011 12:51:55 +0000 (13:51 +0100)]
fix include path
In many situations building succeeds without explicity including
this dir in the include path, probably due to a side-effect of
calling uic on the form in this project. However, it is known
to fail at least on mingw-cross-env. Anyway, it makes sense
to explcitly add this dir to the include path since a needed
header resides here.
Merge-request: 1016
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Qt Continuous Integration System [Thu, 6 Jan 2011 12:40:13 +0000 (22:40 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
fix build with namespaces in new cookie jar table
cookie jar code: enhance security by keeping track of effective TLDs
Add support for QMetaType::QVariant in ActiveQt
Fix QNetworkReply autotest cases for QT-3494
Add compiler optimization for QtScript/JSC on Symbian
improve performance of QTextEngine, esp. setBoundary by using non-detaching operator[]
Improve docs for QTEST_MAIN macro.
Work around an apparent GCC optimiser bug accessing arrays beyond end
Do not crash in case a future version of libdbus has a new kind of message.
Docs: QTBUG-9150 Incorrect snippet in class doc.
tst_headers: make failure more detailed when failing to open a file
Fix number of chapters in qtestlib tutorial.
Fixed QStatusBar not to repaint itself too early
QNAM HTTP: Fix missing error() signal
Make it clear which security updates are needed for Visual Studio 2005.
Qt Continuous Integration System [Thu, 6 Jan 2011 09:28:55 +0000 (19:28 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
PathView crashed when the path is provided with undefined values.
PathView: update modelCount before attempting to regenerate delegates.
Peter Hartmann [Thu, 6 Jan 2011 08:51:29 +0000 (09:51 +0100)]
fix build with namespaces in new cookie jar table
forgot the QT_END_NAMESPACE macro.
Qt Continuous Integration System [Thu, 6 Jan 2011 08:50:56 +0000 (18:50 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
cookie jar code: enhance security by keeping track of effective TLDs
Add support for QMetaType::QVariant in ActiveQt
Fix QNetworkReply autotest cases for QT-3494
Add compiler optimization for QtScript/JSC on Symbian
improve performance of QTextEngine, esp. setBoundary by using non-detaching operator[]
Improve docs for QTEST_MAIN macro.
Work around an apparent GCC optimiser bug accessing arrays beyond end
Do not crash in case a future version of libdbus has a new kind of message.
Docs: QTBUG-9150 Incorrect snippet in class doc.
tst_headers: make failure more detailed when failing to open a file
Fix number of chapters in qtestlib tutorial.
Fixed QStatusBar not to repaint itself too early
QNAM HTTP: Fix missing error() signal
Make it clear which security updates are needed for Visual Studio 2005.
Martin Jones [Thu, 6 Jan 2011 06:57:06 +0000 (16:57 +1000)]
PathView crashed when the path is provided with undefined values.
Task-number: QTBUG-16356
Reviewed-by: Bea Lam
Martin Jones [Thu, 6 Jan 2011 05:48:52 +0000 (15:48 +1000)]
PathView: update modelCount before attempting to regenerate delegates.
If the model is a VisualDataModel, the count will initally be zero
and modelCount is not updated due to itemsInserted() before the
component is completed.
Task-number: QTBUG-16357
Reviewed-by: Bea Lam
Qt Continuous Integration System [Thu, 6 Jan 2011 05:33:51 +0000 (15:33 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Update docs - calling overloaded functions from QML is now supported
Doc fixes for introduction page and Item docs
Bea Lam [Thu, 6 Jan 2011 04:10:35 +0000 (14:10 +1000)]
Update docs - calling overloaded functions from QML is now supported
Bea Lam [Thu, 6 Jan 2011 01:16:49 +0000 (11:16 +1000)]
Doc fixes for introduction page and Item docs
Moved 'Identity' and 'Property Change Signals' sections from Item
docs to the intro page, which previously had a section on ids but
this has been moved out of the 'Properties' section since an id isn't
an ordinary property.
Peter Hartmann [Fri, 19 Nov 2010 14:24:35 +0000 (15:24 +0100)]
cookie jar code: enhance security by keeping track of effective TLDs
The problem was the following: According to the cookie RFC, domains must
have at least one dot in their name for setting a cookie (e.g. domain
example.com can set a cookie for ".example.com" but not for ".com").
The problem is: Following this rule, one could still set "supercookies"
for e.g. ".co.uk".
The solution is to generate a table from
http://publicsuffix.org which maintains a list of all "effective" TLDs
like e.g. ".co.uk".
Reviewed-by: Olivier Goffart
Task-number: QTBUG-14706
Prasanth Ullattil [Wed, 5 Jan 2011 14:19:07 +0000 (15:19 +0100)]
Add support for QMetaType::QVariant in ActiveQt
Previously when we convert the typename "QVariant" to QVaraint::Type,
it returns QVariant::Invalid. From Qt 4.7 onwards, it will return
QVariant::UserType.
Task-number: QTBUG-15157
Reviewed-by: Martin Petersson
Eskil Abrahamsen Blomfeldt [Tue, 4 Jan 2011 14:35:58 +0000 (15:35 +0100)]
Fix regression in text rendering in OpenGL2 engine
Change
532115bcaa370af827a5cbad017b272842c5aacf introduced a regression
by fixing a typo in the QT_OPENGL_ES_2 macro. This caused a broken
and untested code path to be used in the GLES2 case. Since the QImage
scanlines are 32 bit aligned, QImage::width() cannot be used when
copying the data. Rather than pass in bytesPerLine() to the GL function,
I opted to revert to the proven behavior, where the pad bytes are never
read by GL but each scanline is copied separately, to avoid further
regressions on different hardware. This also seems like the more correct
approach, as the pad bytes should ideally not be copied into the cache
texture.
Reviewed-by: Samuel
Qt Continuous Integration System [Wed, 5 Jan 2011 09:09:11 +0000 (19:09 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix QNetworkReply autotest cases for QT-3494
Add compiler optimization for QtScript/JSC on Symbian
improve performance of QTextEngine, esp. setBoundary by using non-detaching operator[]
Improve docs for QTEST_MAIN macro.
Work around an apparent GCC optimiser bug accessing arrays beyond end
Do not crash in case a future version of libdbus has a new kind of message.
Docs: QTBUG-9150 Incorrect snippet in class doc.
tst_headers: make failure more detailed when failing to open a file
Fix number of chapters in qtestlib tutorial.
Fixed QStatusBar not to repaint itself too early
QNAM HTTP: Fix missing error() signal
Make it clear which security updates are needed for Visual Studio 2005.
Qt Continuous Integration System [Wed, 5 Jan 2011 05:51:17 +0000 (15:51 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Fix outdated tests
Alan Alpert [Wed, 5 Jan 2011 05:41:56 +0000 (15:41 +1000)]
Fix outdated tests
selftest_noimages and qdeclarativespringanimation were correct, updating
test scripts to match.
Task-number: QTBUG-14792
Qt Continuous Integration System [Tue, 4 Jan 2011 21:42:35 +0000 (07:42 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix QNetworkReply autotest cases for QT-3494
Add compiler optimization for QtScript/JSC on Symbian
improve performance of QTextEngine, esp. setBoundary by using non-detaching operator[]
Improve docs for QTEST_MAIN macro.
Work around an apparent GCC optimiser bug accessing arrays beyond end
Do not crash in case a future version of libdbus has a new kind of message.
Docs: QTBUG-9150 Incorrect snippet in class doc.
tst_headers: make failure more detailed when failing to open a file
Fix number of chapters in qtestlib tutorial.
Fixed QStatusBar not to repaint itself too early
QNAM HTTP: Fix missing error() signal
Make it clear which security updates are needed for Visual Studio 2005.
Qt Continuous Integration System [Tue, 4 Jan 2011 16:26:46 +0000 (02:26 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Fix def file names for libinfixed testlib
Generate freeze targets in Symbian
Miikka Heikkinen [Tue, 4 Jan 2011 15:16:03 +0000 (17:16 +0200)]
Fix def file names for libinfixed testlib
Reviewed-by: Janne Koskinen
Miikka Heikkinen [Tue, 4 Jan 2011 14:20:55 +0000 (16:20 +0200)]
Generate freeze targets in Symbian
Make it possible to freeze def files via makefile targets.
Task-number: QTBUG-13769
Reviewed-by: Janne Koskinen
Qt Continuous Integration System [Tue, 4 Jan 2011 13:00:21 +0000 (23:00 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
QMeeGoGraphicsSystemHelper::setSwapBehavior implementation.
Support for swap modes in QGLWindowSurface.
Pre-create the GL share widget before window surface creation.
QMeeGoSwitchEvent exported and static.
Fixed first element being a LineToElement in QPainterPath::connectPath()
Qt Continuous Integration System [Tue, 4 Jan 2011 09:56:16 +0000 (19:56 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix QNetworkReply autotest cases for QT-3494
Add compiler optimization for QtScript/JSC on Symbian
improve performance of QTextEngine, esp. setBoundary by using non-detaching operator[]
Improve docs for QTEST_MAIN macro.
Work around an apparent GCC optimiser bug accessing arrays beyond end
Do not crash in case a future version of libdbus has a new kind of message.
Docs: QTBUG-9150 Incorrect snippet in class doc.
tst_headers: make failure more detailed when failing to open a file
Fix number of chapters in qtestlib tutorial.
Fixed QStatusBar not to repaint itself too early
QNAM HTTP: Fix missing error() signal
Make it clear which security updates are needed for Visual Studio 2005.
Michael Dominic K [Tue, 4 Jan 2011 09:53:58 +0000 (10:53 +0100)]
QMeeGoGraphicsSystemHelper::setSwapBehavior implementation.
Merge-request: 993
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Michael Dominic K [Tue, 4 Jan 2011 09:53:57 +0000 (10:53 +0100)]
Support for swap modes in QGLWindowSurface.
AlwaysFull and AlwaysPartial implemented in ES only for now.
By default do automatic.
Merge-request: 993
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Michael Dominic K [Tue, 4 Jan 2011 09:28:20 +0000 (10:28 +0100)]
Pre-create the GL share widget before window surface creation.
Not pixmap creation.
Merge-request: 988
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Michael Dominic K [Tue, 4 Jan 2011 08:29:06 +0000 (09:29 +0100)]
QMeeGoSwitchEvent exported and static.
Merge-request: 1009
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Samuel Rødal [Tue, 4 Jan 2011 07:39:22 +0000 (08:39 +0100)]
Fixed first element being a LineToElement in QPainterPath::connectPath()
This would produce an invalid path, causing potential crashes in various
parts of Qt.
Task-number: QTBUG-16377
Reviewed-by: Gunnar Sletta
Qt Continuous Integration System [Tue, 4 Jan 2011 06:48:33 +0000 (16:48 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Update visual tests
Qt Continuous Integration System [Tue, 4 Jan 2011 03:33:40 +0000 (13:33 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Ignore static_and_shared in Symbian builds.
Alan Alpert [Tue, 4 Jan 2011 01:12:30 +0000 (11:12 +1000)]
Update visual tests
Minor changes in flickable and rectangle radius behaviours have led to
some altered pixels here and there.
Task-number: QTBUG-14792
Qt Continuous Integration System [Mon, 3 Jan 2011 15:10:38 +0000 (01:10 +1000)]
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-water-team
* '4.7' of git://scm.dev.nokia.troll.no/qt/qt-water-team:
Fix crash when closing QFontDialog::getFont() dialog
Gabriel de Dietrich [Mon, 3 Jan 2011 14:08:22 +0000 (15:08 +0100)]
Fix crash when closing QFontDialog::getFont() dialog
Unfortunately, given the large number of ways of showing a QFontDialog, it's
possible that we try to close the dialog before its event loop is finished.
Setting the Cocoa font panel's isReleaseOnClose property to FALSE ensures the
panel is still around when we effectively exit the dialog's event loop.
Reviewed-by: Richard
Task-number: QTBUG-15666
Miikka Heikkinen [Mon, 3 Jan 2011 10:35:16 +0000 (12:35 +0200)]
Ignore static_and_shared in Symbian builds.
The function addExclusiveBuilds doesn't work on Symbian and is unlikely
to ever work due to build system mandated target directories, so ignore
static_and_shared in Symbian builds that rely on Symbian toolchains.
Task-number: QTBUG-16298
Reviewed-by: axis
Ville Pernu [Fri, 31 Dec 2010 10:48:09 +0000 (12:48 +0200)]
Fix QNetworkReply autotest cases for QT-3494
These fixes add a new QTest columns to cases tst_QNetworkReply::
ioGetFromHttpStatus100_data and tst_QNetworkReply::ioGetFromHttpNoHeaders.
Each test row now has an expected error message per input data string.
Task-Number: QT-3494
Reviewed-By: Perttu Pohjonen
Qt Continuous Integration System [Fri, 31 Dec 2010 02:04:30 +0000 (12:04 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Add compiler optimization for QtScript/JSC on Symbian
improve performance of QTextEngine, esp. setBoundary by using non-detaching operator[]
Improve docs for QTEST_MAIN macro.
Work around an apparent GCC optimiser bug accessing arrays beyond end
Do not crash in case a future version of libdbus has a new kind of message.
Docs: QTBUG-9150 Incorrect snippet in class doc.
tst_headers: make failure more detailed when failing to open a file
Fix number of chapters in qtestlib tutorial.
Fixed QStatusBar not to repaint itself too early
QNAM HTTP: Fix missing error() signal
Make it clear which security updates are needed for Visual Studio 2005.
Qt Continuous Integration System [Thu, 30 Dec 2010 22:43:34 +0000 (08:43 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fixed networkselftest failing to resolve hostname
Rohan McGovern [Thu, 30 Dec 2010 22:20:39 +0000 (08:20 +1000)]
Fixed networkselftest failing to resolve hostname
The logic here was the opposite from what was intended.
Note that this bug was hidden under normal circumstances when running
the entire testcase. It only appeared when one of the following was
true: (1) httpProxy or socks5Proxy was run on its own, or (2) the
dnsResolution test failed.
Qt Continuous Integration System [Thu, 30 Dec 2010 00:26:40 +0000 (10:26 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Add compiler optimization for QtScript/JSC on Symbian
improve performance of QTextEngine, esp. setBoundary by using non-detaching operator[]
Improve docs for QTEST_MAIN macro.
Work around an apparent GCC optimiser bug accessing arrays beyond end
Do not crash in case a future version of libdbus has a new kind of message.
Docs: QTBUG-9150 Incorrect snippet in class doc.
tst_headers: make failure more detailed when failing to open a file
Fix number of chapters in qtestlib tutorial.
Fixed QStatusBar not to repaint itself too early
QNAM HTTP: Fix missing error() signal
Make it clear which security updates are needed for Visual Studio 2005.