| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Add Qt5 comment
|
| |
| |
| |
| | |
Task-number: QTBUG-10807
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Minor improvement to QObject constructor performance
Test hasGuard before calling clearGuards.
Do not clear lists in ~QObject
QObjectPrivate::deleteWatch, and inEventHandler are only used by jambi
Only emit the destroyed() signal if connected
Benchmark for QMutex.
Inline the common case when there is no contention.
Optimize ~QList
|
| |\
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Minor improvement to QObject constructor performance
Test hasGuard before calling clearGuards.
Do not clear lists in ~QObject
QObjectPrivate::deleteWatch, and inEventHandler are only used by jambi
Only emit the destroyed() signal if connected
Benchmark for QMutex.
Inline the common case when there is no contention.
Optimize ~QList
|
| |
| |
| |
| | |
Reviewed-by: Olivier Goffart
|
| |
| |
| |
| |
| |
| | |
So no need to test it inside clearGuards.
Reviewed-by: Brad
|
| |
| |
| |
| |
| |
| | |
The list are going to be destroyed anyway
Reviewed-by: Brad
|
| |
| |
| |
| |
| |
| | |
so #ifdef them out.
Reviewed-by: Brad
|
| |
| |
| |
| |
| |
| | |
Also remove dead code in the exception code
Reviewed-by: Brad
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This currently only cover the case when there is no contention
$ ./tst_bench_qmutex noThread -callgrind
********* Start testing of tst_QMutex *********
Config: Using QTest library 4.7.0, Qt 4.7.0
PASS : tst_QMutex::initTestCase()
RESULT : tst_QMutex::noThread():"noLock":
60,000,054 instruction reads per iteration (total: 60,000,054, iterations: 1)
RESULT : tst_QMutex::noThread():"QMutexInline":
240,000,057 instruction reads per iteration (total: 240,000,057, iterations: 1)
RESULT : tst_QMutex::noThread():"QMutex":
380,000,056 instruction reads per iteration (total: 380,000,056, iterations: 1)
RESULT : tst_QMutex::noThread():"QMutexLocker":
240,000,058 instruction reads per iteration (total: 240,000,058, iterations: 1)
PASS : tst_QMutex::noThread()
PASS : tst_QMutex::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_QMutex *********
$ make && ./tst_bench_qmutex noThread
********* Start testing of tst_QMutex *********
Config: Using QTest library 4.7.0, Qt 4.7.0
PASS : tst_QMutex::initTestCase()
RESULT : tst_QMutex::noThread():"noLock":
27 msecs per iteration (total: 27, iterations: 1)
RESULT : tst_QMutex::noThread():"QMutexInline":
212 msecs per iteration (total: 212, iterations: 1)
RESULT : tst_QMutex::noThread():"QMutex":
257 msecs per iteration (total: 257, iterations: 1)
RESULT : tst_QMutex::noThread():"QMutexLocker":
212 msecs per iteration (total: 212, iterations: 1)
PASS : tst_QMutex::noThread()
PASS : tst_QMutex::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_QMutex *********
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QMutex locking could be used in performence critical code (such
as QObject and co.) where the cost of a function call is
not neglectible. This would slow down the common case where
there is only one thread and no contention.
Since we need to keep the old symbol for binary compatibilty, introduce
new *Inline function.
Reviewed-by: Brad
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is no need to check for d as it must never be 0
And the refcount ins QList::free() is nessecerly 0 since it is checked
before the function is called
Reviewed-by: ossi
|
|\ \
| |/
|/|
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Remove QT_NO_THREAD support for QHostInfo
|
| |
| |
| |
| | |
Reviewed-by: Thiago
|
|\ \
| |/
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Assistant: Fix use of uninitialized address bar.
|
| |
| |
| |
| | |
Also bail out when we can't set up the help engine.
|
|\ \
| |/
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Assistant: Enable switching between pages via an in-page combo box.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix a coding style issue in a generated code in the QScriptValue tests.
Fix Mac-specific tests about the hidden
QScriptValue autotest generator modification.
Fix the hidden status check for a file on
Fix for root path issue in tst_qdir. (case "drive:")
Fix tst_qdir to use const char* instead of QString for QTest::newRow
Fix for qfsfileengine_win to return proper absolute path for C:\
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the generator, few redundant commas and spaces where removed from
generated code.
The autotest suite wasn't regenerated.
Reviewed-by: Kent Hansen
|
| |
| |
| |
| |
| |
| | |
attribute.
Create a new test only for Mac.
|
| |
| |
| |
| |
| |
| |
| | |
Generator shouldn't leave whitespace at the end of line in the generated
code.
Reviewed-by: Kent Hansen
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Mac OS X.
Add some more tests that would have failed
before the fix. Remove test files after the run.
Task-number: QTBUG-6619
Reviewed-by: Morten Sorvig
|
| |
| |
| |
| |
| |
| |
| |
| | |
Windows only:
Since the working directory is not necessarily located on the
root drive, we should not rely on rootPath for the test.
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| | |
This is only needed to compile on msvc2005
Reviewed-by: TrustMe
|
| |\
|/ /
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix for qfsfileengine_win to return proper absolute path for C:\
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using canonicalPath on a QDir that currently just represents
a root directory, a valid path name such as "C:\" should be returned.
Previously we returned "C:" which in fact would point to the current
working directory on drive C: and therefor is not necessarily the same.
Reviewed-by: Thiago
Task-number: QTBUG-6680
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fix compilation of the tst_qmetaobject test
QObject: Optimize BlockingQueuedConnection connections
QMetaObject::invokeMethod using Qt::BlockingQueuedConnection can handle the return value.
|
| | | |
|
| |\ \
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
QObject: Optimize BlockingQueuedConnection connections
QMetaObject::invokeMethod using Qt::BlockingQueuedConnection can handle the return value.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We do not need to copy the argument as we do for QueuedConnection
Same logic as the previous change.
Reviewed-by: Brad
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
return value.
When using Qt::BlockingQueuedConnection, we do not need to copy the
arguments, and we can handle the return type.
The argv we pass to the event is the param vector alocated on the
stack. Since we don't need to destroy the argument, we can pass 0
for the types.
The private QMetaCallEvent destructor is modified not to destroy
the arguments if types_ is 0
Task-number: QTBUG-10440
Reviewed-by: Brad
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix tst_qaccessibility::accelerators on Mac
|
| |\ \
|/ / /
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix tst_qaccessibility::accelerators on Mac
|
| | |
| | |
| | |
| | |
| | |
| | | |
QAccessibleInterface::text(QAccessibile::Accelerator) returns
the Mac symbol for the key known as ALT on other platforms, so
we must use QKeySequence::NativeText when verifying.
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
scm.dev.nokia.troll.no:qt/qt-integration into master-integration
* 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration: (49 commits)
Updated WebKit to 3f0f51f4c87e65bfe04165c6af4c00934b0ca1e2
Fixed a QBuffer warning caused by a regression in qjpeg
QGraphicsView drawing artifacts due to rounding errors.
Fixed OpenGL version flags for versions > 3.2.
Do not link QtGui in benchmarks which don't need it
Fix a small typo: therfore -> therefore
Fix a small typo in setColor description (brush -> color)
only add phonon and scripttools dependencies if they're available, otherwise linking will fail
s/INCPATH/INCLUDEPATH/
qdoc: Added breadcrumbs for most other pages.
Revert "Revert "Revert "Implement heightForWidth support for QTabWidget and QStackedLayout."""
Updated WebKit to 8941bee5706ef2171ed5def63834deefc7440d11
Fix bold text rendering of Thai and Vietnamese on Symbian
Event dispatcher slow down using delays rather than thread priority
Fix project file generation for MSVC 2010
Fixed incorrect runtime platform version check in Phonon MMF backend
Fix wrong translation and clip for the raster paint-engine on Mac
Updated WebKit to 540ae4ccd25609e1bfe1673195ce126255e36774
Removing unused code.
Return the correct library name in qt_gl_library_name for GLES*
...
|
| |\ \ |
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit:
Updated WebKit to 3f0f51f4c87e65bfe04165c6af4c00934b0ca1e2
Updated WebKit to 8941bee5706ef2171ed5def63834deefc7440d11
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit:
Updated WebKit to 3f0f51f4c87e65bfe04165c6af4c00934b0ca1e2
Updated WebKit to 8941bee5706ef2171ed5def63834deefc7440d11
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Integrated http://trac.webkit.org/changeset/58673 -- Fix qtlibraryinfix not to contain space
|
| | | | |\ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit:
Updated WebKit to 8941bee5706ef2171ed5def63834deefc7440d11
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes integrated:
|| <https://webkit.org/b/33875> || [Qt] QWebPage::userAgentForUrl is terrible API ||
|| <https://webkit.org/b/38371> || [Qt] GraphicsLayer: animation incorrect when scrolling ||
|| <https://webkit.org/b/32196> || Make it possible to distinguish between NPAPI plugins and Application plugins ||
|| <https://webkit.org/b/37207> || [Qt] QtWebKit 2.0 library version needs to be maintained in WebCore.pro ||
|
| | |\ \ \ \ \
| | | |/ / / /
| | |/| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (25 commits)
Fixed a QBuffer warning caused by a regression in qjpeg
QGraphicsView drawing artifacts due to rounding errors.
Fixed OpenGL version flags for versions > 3.2.
Do not link QtGui in benchmarks which don't need it
Revert "Revert "Revert "Implement heightForWidth support for QTabWidget and QStackedLayout."""
Fix project file generation for MSVC 2010
Fix wrong translation and clip for the raster paint-engine on Mac
Return the correct library name in qt_gl_library_name for GLES*
qmake: remove useless evaluation of variables from VS project generators
Fix QT_NO_LIBRARY
Documentation for the Elastic Nodes example.
qmake: fix duplicate linker options in VS project files
Ensured that WA_InputMethodEnabled was set before FocusInEvent was sent.
qmake: fix duplicate compiler options in VS project files
Documentation for the Drag and Drop Robot example.
Fix crash in styles example when running with opengl graphicssystem
Fixed the sizehint for cols/rows in qtableview
QUrl: parsing of host name with an undercore.
Null pointer check
Revert "Try to use multisampled opengl graphicssystem on all platforms"
...
|
| | | |\ \ \ \ |
|
| | | | |\ \ \ \
| | | |/ / / / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (24 commits)
QGraphicsView drawing artifacts due to rounding errors.
Fixed OpenGL version flags for versions > 3.2.
Do not link QtGui in benchmarks which don't need it
Revert "Revert "Revert "Implement heightForWidth support for QTabWidget and QStackedLayout."""
Fix project file generation for MSVC 2010
Fix wrong translation and clip for the raster paint-engine on Mac
Return the correct library name in qt_gl_library_name for GLES*
qmake: remove useless evaluation of variables from VS project generators
Fix QT_NO_LIBRARY
Documentation for the Elastic Nodes example.
qmake: fix duplicate linker options in VS project files
Ensured that WA_InputMethodEnabled was set before FocusInEvent was sent.
qmake: fix duplicate compiler options in VS project files
Documentation for the Drag and Drop Robot example.
Fix crash in styles example when running with opengl graphicssystem
Fixed the sizehint for cols/rows in qtableview
QUrl: parsing of host name with an undercore.
Null pointer check
Revert "Try to use multisampled opengl graphicssystem on all platforms"
A small mistake when comparing the flag.
...
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Found during investigation of QTBUG-8820, and clearly visible in
examples/graphicsview/diagramscene when slowly moving an item out of the
viewport (left and top edge). Caused by two problems:
1) Using QRectF::toRect() instead of QRectF::toAlignedRect().
2) Didn't adjust the item's bounding rect properly in drawSubtree().
QRectF::toRect() is completely useless since all the coordinates are rounded
to the nearest integer. E.g. QRectF(-0.4, -0.4, 10.4, 10.4).toRect()
-> QRect(0, 0, 10, 10), whereas toAlignedRect() returns QRect(-1, -1, 11, 11).
Then when we have a proper aligned rect, we have to adjust it by 2
pixels in all directions (or 1 pixel in case of
QGraphicsView::DontAdjustForAntialiasing). At first glance this
adjustment seems too much, since one would assume adjusing the QRectF by
0.5 before using toAlignedRect() would be sufficient. That's sufficient
in an untransformed world with pens using BevelJoin. However, the story
is completely different as soon as the world is transformed or the pens
use a different join. It's basically complicated (in some cases
impossible) to calculate a pixel perfect aligned QRect, so instead we
adjust by the amount of pixels required in the worst case.
This commit also includes some optimizations for QRegion updates (since
I anyways had to change the code). There's no point in using QRegion
granularity if the viewport update mode is either FullViewportUpdate or
BoundingRectViewportUpdate.
Auto tests adjusted and new ones included.
Task-number: QTBUG-10338
|
| | |\ \ \ \ \ \
| | | |_|_|/ / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix a small typo: therfore -> therefore
Fix a small typo in setColor description (brush -> color)
only add phonon and scripttools dependencies if they're available, otherwise linking will fail
s/INCPATH/INCLUDEPATH/
qdoc: Added breadcrumbs for most other pages.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
linking will fail
Merge-request: 591
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
|