| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This is a regression fron 4.6 release. Menu entries with some specific
roles are automatically merged to the application menu. They are now
translated based on the context "MAC_APPLICATION_MENU" instead of
"QMenuBar" context. This patch eanbles the use for both contexts.
Task-number: QTBUG-13878
Reviewed-by: Richard Moe Gustavsen
(cherry picked from commit 7d878ba53909157cf1911c30ce973378589c2cc0)
|
|
|
|
|
|
|
|
|
| |
The Drag&Drop callbacks need to be correctly aligned to not crash
in the graphics SSE code.
Task-number: QTBUG-13787
Reviewed-by: benjamin poulain
(cherry picked from commit a7c28aa588417c0a75f82d55019814443f889340)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the last item is the current item and is removed,
QTreeViewPrivate::updateScrollBars() is called after QTreeViewPrivate's
viewItems member is cleared. This commit makes sure that viewItems is
restored by calling QTreeView::doItemsLayout() in this case, preventing
that the scroll bar range is set to zero temporarily and the view is
scrolled to the top unexpectedly (this was a regression in 4.7.0:
QTBUG-13567).
Merge-request: 2481
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
(cherry picked from commit 6da6b7099d4e0b49329793e4b90703ec3d868048)
|
|
|
|
|
|
|
|
|
| |
QTextControl should no longer inherit the layout direction of
parent widget as its default text direction.
Reviewed-by: Eskil Abrahamsen Blomfeldt
Reviewed-by: Lars Knoll
(cherry picked from commit 6397e5bc49f11e20a9d1838d8d8df46dd9486263)
|
|
|
|
|
|
|
|
|
|
| |
For QLabel, text direction should be determined by actual text
(if it's a simple text label) or the textDirection() property
of the defaultTextOption of corresponding QTextDocument.
Task-number: QTBUG-13552
Reviewed-by: Lars Knoll
(cherry picked from commit 9b20aac0ad83b917c46cc44b78dc90fb1d238fe8)
|
|
|
|
| |
(cherry picked from commit 90431a96ca0558ac82ccd588faf1b0aed55abbfe)
|
|
|
|
| |
(cherry picked from commit eef26bc8521da62db0dced6796eceb7c27f64160)
|
|
|
|
|
|
| |
Task-number: QTBUG-13754
Reviewed-by: Martin Jones
(cherry picked from commit 46e49547f8e4614cd504b0af0d52d4e2768b57c3)
|
|
|
|
|
|
|
|
| |
Resources do not need network access and can be quicker
loaded with QFileNetworkReply.
Reviewed-by: Markus Goetz
(cherry picked from commit 5120dfec47475dd37f51df4dda9a4ef8494036ab)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our glyph caching system doesn't take GL texture size limitation into
account, and assumes you can create an infinitely large texture.
On top of that, the cache will never create a cache that is wider
than 256, or QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH, which means we'll
hit the texture size limit even faster. With this patch the entire
texture is utilized. However, to fix in properly we need to support
having multiple texture for each font engine. That will be fixed
shortly (see task QTBUG-13784).
Task-number: QT-3971
Reviewed-by: Eskil
(cherry picked from commit eb2926a2f9607e985b8bca54346e6fdf91343247)
|
|
|
|
| |
(cherry picked from commit 36705197479337ccf341a4c39a6e5f44d3fb2322)
|
|
|
|
|
| |
Reviewed-by: Thomas Hartmann
(cherry picked from commit a371562d870abb421682dcf83d447e5d5c9e82fa)
|
|
|
|
|
|
|
|
|
|
|
| |
The environment variables do not work for Symbian devices, so
without this change, QML debugging cannot be done on them.
In addition, configure now contains an option to disable qml
debugging entirely, due to it being a major security risk.
Reviewed-by: kkoehne
(cherry picked from commit a9e5329168cd9113bf41293c05193d8b099494c6)
|
|
|
|
| |
(cherry picked from commit 580fbb6a48b9cc2fbd0a011449d0c3a73c939ff9)
|
|
|
|
|
|
|
|
| |
X11 symbols are conflicting with some of the Qt ones. Qt headers needs
to be included before the X11 ones in order to compile on Maemo.
Reviewed-by: Samuel Rødal
(cherry picked from commit f1f986dfe40f82fca1a8a27f5f02e1a9f7818fd0)
|
|
|
|
|
|
|
| |
We don't rely on this header, so there's no need to include it.
Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
(cherry picked from commit a65f53a09c2a5950bd8b98fd791dc413bb11f9bf)
|
|
|
|
|
|
| |
Task-number: QT-3871
Reviewed-by: Kim
(cherry picked from commit 7efe816d028876487a6a44d97ed58a807da7d4d8)
|
|
|
|
|
| |
Reviewed-by: Trust Me
(cherry picked from commit 63394650e71f23a036edbc0df29a1b6b19366269)
|
|
|
|
| |
(cherry picked from commit 68281ec913e2a69682f00bf22c291b15ea4ce542)
|
|
|
|
| |
(cherry picked from commit af29c555a29ebcdb1d962176912478212c9c7e65)
|
|
|
|
|
|
|
|
|
|
|
|
| |
that the view is updated (currently the model data changes but the
view does not). In flat-model mode, get() now returns a
QScriptClass-type object so that changes to the returned object are
received, and for nested-model mode, the fix adds a
QDeclarativeOpenMetaObject subclass and ModelNode::listIndex so that
itemsChanged() can be emitted when the node data changes.
Task-number: QTBUG-12363
(cherry picked from commit c2bbef949126826f0330c69dff1a8c96919f69a5)
|
|
|
|
|
|
| |
agent. Also set up the worker list copy in the ListModel implementation
instead of the agent.
(cherry picked from commit c298ed31f8dfa917e5428820aecd39234b4c9097)
|
|
|
|
| |
(cherry picked from commit 16013f8970471f161db9fcc728a8c263e5bb84a7)
|
|
|
|
| |
(cherry picked from commit ee9c9e412fd5467e82be446603e71bee620ff04b)
|
|
|
|
|
| |
Reviewed-by: Denis
(cherry picked from commit 2b230dbc9a784e577c08fa25db3e975952849297)
|
|
|
|
|
|
|
|
|
| |
Check that we no longer hold a reference to the item before setting
onPath to false.
Task-number: QTBUG-13689
Reviewed-by: Michael Brasser
(cherry picked from commit 7e6b2b2b95bc1db77544b898ec45ea4a2683e435)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since it didn't accept the press it didn't get a grab, so its events
were always filtered away by Flickable.
Use the same implementation as Flickable, i.e. create private handler
functions for mouse events and accept normal events in the mouse*Event()
methods.
Task-number: QTBUG-13687
Reviewed-by: Michael Brasser
(cherry picked from commit a4cadd1b1fd30a1989d56f6c06deb8fed4f79882)
|
|
|
|
|
|
|
| |
and setProperty() are called
Task-number: QTBUG-13666
(cherry picked from commit ff075380d7ec1472fcdff06b3f39ffdc02b7f112)
|
|
|
|
|
|
| |
Task-number: QTBUG-13653
Reviewed-by: aavit
(cherry picked from commit 5220c371176951e12d525ac7908861d111c367d0)
|
|
|
|
|
|
| |
Task-number: QTBUG-13437
Reviewed-by: Janne Koskinen
(cherry picked from commit 0cbb1a488c4199ad06b8ab63a9d6bf09fc8a6911)
|
|
|
|
|
|
|
|
| |
query has already quit
Task-number: QTBUG-13041
Reviewed-by: Aaron Kennedy
(cherry picked from commit 0c971a9801766a6d7646d1c1c413354f74db41e4)
|
|\
| |
| |
| |
| |
| |
| | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Remove unnecessary textcodec aliases from qtextcodec_symbian.cpp
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
MS_KANJI and Java UTF-8 are not needed because both had aliases
which only differ in character case. Qt handles these aliases
case insensitive, however.
The removal speeds the lookup up, a bit.
Reviewed-By: Olivier Goffart
Task-Number: QTBUG-13565
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Export qt_directfb_.* functions in plugin as well
Added autotest for QPixmap::size() with null pixmaps.
Update Symbian def files.
QGraphicsItem::childrenBoundingRect behavior breaks QGraphicsEffect::sourceBoundingRect().
Wrong bounding rect returned by QGraphicsEffect::boundingRect().
Compile on Mac
Ensure building of WebKit and QtConcurrent are disabled with SunCC.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These functions can be a big help in debugging rendering errors in an
application and can even be handy to use for real functionality. While
it requires the app to explicitly link to the plugin (when compiling
with -plugin-gfx-directfb this is still much better than not exporting
them).
Since this was the only use-case for QT_DIRECTFB_PLUGIN it's probably
better to take that define out.
Merge-request: 2470
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Build error reported by CI gate,
commit: 9601abf3b03cfef589c092182bec3672fab6cde0
Reviewed-by: jbarron
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
QGraphicsItem::childrenBoundingRect behavior breaks QGraphicsEffect::sourceBoundingRect().
Wrong bounding rect returned by QGraphicsEffect::boundingRect().
Compile on Mac
Ensure building of WebKit and QtConcurrent are disabled with SunCC.
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
QGraphicsItem::childrenBoundingRect behavior breaks QGraphicsEffect::sourceBoundingRect().
Wrong bounding rect returned by QGraphicsEffect::boundingRect().
Compile on Mac
Ensure building of WebKit and QtConcurrent are disabled with SunCC.
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
QGraphicsItem::childrenBoundingRect behavior breaks QGraphicsEffect::sourceBoundingRect().
Wrong bounding rect returned by QGraphicsEffect::boundingRect().
Compile on Mac
Ensure building of WebKit and QtConcurrent are disabled with SunCC.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QGraphicsEffect::sourceBoundingRect().
Context:
QGraphicsEffect::sourceBoundingRect() returns:
item->boundingRect() | item->childrenBoundingRect();
Problem was that item->childrenBoundingRect() adjusted the children's
bounding rect with the children's ancestor effects (child -> root item),
which means the source bounding rect was bigger than needed. We should
only account for effects downwards in the hierarchy.
root (has effect)
|
item (has effect)
|
child
|
grandChild
Auto test included.
Task-number: QT-3633, QT-3828
Reviewed-by: samuel
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Regression after: f5c5e20a
Problem was that the cached bounding rect was never invalidated. We can
also remove the cached bounding rect in QGraphicsEffectSource because
QGraphicsItem::childrenBoundingRect now clips by default. This basically
means partially reverting above commit and invalidate whenever
ItemClipsChildrenToShape flag changes.
Auto test included.
Task-number: Discovered while investigating QT-3633
Reviewed-by: samuel
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Extern missing symbol
Reviewed-by: Fabien Freling
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Implement QAudioInput::suspend() using CMMFDevSound::Stop()
Discard buffer pointer when DevSound is stopped
Suppress overflow errors raised by Symbian DevSound during playback
Discard empty buffer on call to QAudioOutput::resume()
Permit QAudioOutput::processedUSecs() to be called immediately after start()
Discard all DevSound buffers held when QAudioInput::suspend() called
Fixed buffer overrun in Symbian QAudioInput backend
QS60Style does not show checkbox for checkable item in QTreeView
Load environment.prf from Symbian SDK if it exists there
Remove pre-Symbian3 plugins from Symbian3 and later builds
Panic in qs60style.cpp while drawing a QTreeView
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
As with playback mode, lack of support for CMMFDevSound::Pause() in
DevSound's recording mode causes problems on some devices.
Specifically, while QAudioInput works fine on the Nokia 5800, this
bug was observed on the Nokia N8. This fix means that suspending
and resuming audio input will work correctly on all devices.
Task-number: QTBUG-13506
Reviewed-by: Derick Hawcroft
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Task-number: QTBUG-13504
Reviewed-by: Derick Hawcroft
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When QAudioOutput::suspend() and QAudioOutput::resume() are called
repeatedly, with a short delay between each call, DevSound occasionally
raises a KErrOverflow error. The backend previously translated this
into QAudio::IOError, causing the object to transition into the
QAudio::Stopped state.
This error can be safely ignored, with playback resuming as soon as
more audio data is provided to DevSound. This patch therefore
suppresses the error.
Task-number: QTBUG-13059
Reviewed-by: Derick Hawcroft
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The Symbian backend holds buffers which are passed to it from DevSound,
exposing the memory of these buffers via the QIODevice interface.
When QAudioOutput::resume() is called, the backend re-starts data flow
by passing the buffer it holds back to DevSound. Previously, this
would not happen if the buffer was empty, potentially causing playback
to stall. This patch ensures that the buffer is always sent back to
DevSound, and data flow therefore always resumes.
Task-number: QTBUG-13059
Reviewed-by: Derick Hawcroft
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If QAudioOutput::processedUSecs() is called very soon after
QAudioOutput::start(), the DevSound instance owned by the Symbian
backend may still be initializing. This patch causes the function to
return zero, rather than failing an assertion.
Task-number: QTBUG-13059
Reviewed-by: Derick Hawcroft
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resuming recording causes buffers previously provided to the client
(via MDevSoundObserver::BufferToBeEmptied()) to be invalidated.
The buffers therefore must be discarded when recording is suspended.
Task-number: QTBUG-13058
Reviewed-by: Derick Hawcroft
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Task-number: QTBUG-13058
Reviewed-by: Derick Hawcroft
|