- 13 Nov, 2014 - 1 commit
-
-
Eskil Abrahamsen Blomfeldt authored
The font caches can only be used from a single thread at a time. QFontEngineFT for instance, uses a global static thread storage which is accessed on releasing and creating engines, and this causes a crash if the font engine is created on one thread and released on another. We use the updatePolish() function to make sure the caches are empty before entering updatePaintNode(), and then we invalidate the cache again after updatePaintNode() is done. [ChangeLog][Text] Fixed uncommon crash in text nodes. Change-Id: I01dbc2ed58aeebd03d77a157c700330334bdb385 Task-number: QTBUG-38800 Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-
- 26 Aug, 2014 - 1 commit
-
-
Simon Hausmann authored
Before commit fb339b21 relied on the simple transparent rectangle node to remain invisible. After that commit we used the regular rectangle node, which doesn't seem to like toggling the color between transparent and solid black and therefore the cursor was always visible. As advised by Gunnar this patch implements a much simpler logic: When the cursor is supposed to be invisible, we just don't create a scene graph node for it anymore. Change-Id: I7b0e173f6d37997559ee0911f37903efdb14847f Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by:
Gunnar Sletta <gunnar@sletta.org>
-
- 25 Aug, 2014 - 1 commit
-
-
Jani Heikkinen authored
- Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I84a565e2e0caa3b76bf291a7d188a57a4b00e1b0 Reviewed-by:
Jani Heikkinen <jani.heikkinen@digia.com>
-
- 13 Aug, 2014 - 1 commit
-
-
Lars Knoll authored
Unfortunately we can't re-use the QSGSimpleRectNode, as it doesn't provide us with virtual methods to move it's creation into the context. But's since it's only 20 lines of code anyway, this is still a nice cleanup. And it also allows the re-use of any optimizations in the renderer for QSGRectangleNode. Change-Id: I957777fbbeb0a994a9c257baf3bfe87fce8cc9e8 Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- 23 Jul, 2014 - 1 commit
-
-
Liang Jian authored
Delete Node objects stored in textNodeMap at two places to prevent leak. Change-Id: I8eb0d1af900c94e1fab2f55b689de393e674f0aa Reviewed-by:
Andrew den Exter <andrew.den.exter@qinetic.com.au>
-
- 02 Jul, 2014 - 1 commit
-
-
Nico Vertriest authored
Task-number: QTBUG-34749 Change-Id: I507d54b0568d77c6099a0bd99f5c369b8667032a Reviewed-by:
Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by:
Martin Smith <martin.smith@digia.com>
-
- 08 May, 2014 - 1 commit
-
-
Paul Olav Tvete authored
Change 93fd268d implemented the new API, but missed the final piece that actually made use of it. Task-number: QTBUG-38824 Change-Id: Iea28f2cbb8c6d749d781dcf7437552597977f9ac Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 05 May, 2014 - 1 commit
-
-
Sarunas Valaskevicius authored
The commit fixes text repainting when only formatting of the text is changed by invalidating the affected blocks which will be repainted on the next update. Task-number: QTBUG-36743 Change-Id: I03ba747f9d08a9f49d0a012b8349c89c20dc6b55 Reviewed-by:
Andy Shaw <andy.shaw@digia.com> Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com> Reviewed-by:
Gunnar Sletta <gunnar.sletta@jollamobile.com>
-
- 18 Mar, 2014 - 2 commits
-
-
Sze Howe Koh authored
Fix the breaks caused by the re-categorizing of \qmlsignal pages Task-number: QTBUG-35846 Change-Id: I528ae16ec522fc902133e22d8f53c87a7f0d56ad Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
Sze Howe Koh authored
Append the handler names to the end of the corresponding signal doc. Task-number: QTBUG-35846 Change-Id: I3d627ba7ed5be94e5c402ab092b4d582536499e8 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
- 13 Mar, 2014 - 1 commit
-
-
Mitch Curtis authored
The current code only updates the alignment if the width of the TextEdit changed, but we must also check if the height has changed. Task-number: QTBUG-36069 [ChangeLog][QtQuick][TextEdit] Fixed TextEdit not vertically aligning its text after having its height changed. Change-Id: I0b2d6a7384457ca1018fc9899c82699e8ecfcbd4 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 10 Mar, 2014 - 1 commit
-
-
J-P Nurmi authored
The total line count needs to be updated when geometry, document size or wrapping mode changes. Task-number: QTBUG-37263 Change-Id: If58a2f77022475e8bcb7cca0f2a091ee837b39a5 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com> Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
- 29 Jan, 2014 - 1 commit
-
-
J-P Nurmi authored
[ChangeLog][QtQuick] Added TextEdit::linkAt(x,y) method. Task-number: QTBUG-18946 Change-Id: Id9d061e6c9d857c2f0283ad5042097828d1ed02d Reviewed-by:
Martin Jones <martin.jones@jollamobile.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- 27 Jan, 2014 - 1 commit
-
-
Tor Arne Vestbø authored
Setting the renderType to Text.NativeRendering might be needed in some cases where distance-field does not produce the expected results, such as for emoji characters or really large fonts. These use cases are valid on retina displays as well, so having the setter second-guess the request from the user to use native rendering is not ideal. Change-Id: I7c6049766e60574487c29de07fbd5c100ec69a2a Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by:
Gunnar Sletta <gunnar.sletta@jollamobile.com>
-
- 03 Dec, 2013 - 1 commit
-
-
J-P Nurmi authored
QTextDocument::baseUrl was introduced in qtbase commit 1f22c1d. The ultimate goal is to get rid of QQuickTextDocumentWithImageResources and eventually make QQuickTextEdit's document interchangeable. Change-Id: Ibafeecc395b52f7200d8164f809bf76538e5620c Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- 30 Oct, 2013 - 1 commit
-
-
Gunnar Sletta authored
See the task for the full reasoning behind this patch. The threaded renderloop has been refactored to have one window per thread. This is mostly a simplification of the current code path where for loops over multiple windows are turned into if (window). The QSGContext has been split into two classes, QSGRenderContext for which there is one per OpenGLContext. The rest of the patch is name changes and a couple of cleanups in the hopes of simplifying this change. Task-number: QTBUG-33993 Change-Id: I31c81f9694d7da7474a72333169be38de62613c4 Reviewed-by:
Sean Harmer <sean.harmer@kdab.com>
-
- 24 Oct, 2013 - 1 commit
-
-
Alan Alpert authored
Task-number: QTBUG-34181 Change-Id: I861e192cee2c683efee79e7404a5c9d70b60691f Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com>
-
- 02 Oct, 2013 - 1 commit
-
-
Martin Smith authored
All QML references of the form <QML-module-name><QML-module-version>::<QML-type>::<member-name> have had the <QML-module-version> removed i. Task-number: QTBUG-33776 Change-Id: Idde279e0f254cd24ea44f9841662dd81a2c5bbc6 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
- 30 Sep, 2013 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: I3750c47640bf21c3567c5fa1c4667e3e2552942e Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- 25 Sep, 2013 - 3 commits
-
-
Gunnar Sletta authored
Change-Id: I28777806b13da1b0a9e1fecc2734de0614f2443c Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
Jerome Pasion authored
-incremented version to Qt Quick 2.2 (in \qmlmodule page) -import changed to QtQuick 2.2 -\inqmlmodule no longer needs the version. QDoc will ignore the version but it is better to remove it now to avoid confusion Task-number: QTBUG-32172 Change-Id: I40b52e59667014720be40a35b3a8fb9836825e31 Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com>
-
Jerome Pasion authored
Qt 5.2: -"\since QtQuick 2.2" -> "\since 5.2" Qt 5.1: -"\since QtQuick 2.1" -> "\since 5.1" -"\since Qt 5.1" -> "\since 5.1" Qt 5.0: -"\since QtQuick 2.0" -> "\since 5.0" Task-number: QTBUG-32172 Change-Id: I699b00b31373a434ddb8f4caccfef40c588bf8a4 Reviewed-by:
Martin Smith <martin.smith@digia.com>
-
- 12 Sep, 2013 - 1 commit
-
-
Giuseppe D'Angelo authored
QtAlgorithms is getting deprecated, see http://www.mail-archive.com/development@qt-project.org/msg01603.html Change-Id: I85df32525af0c5706c631555a06b66ef3484d797 Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- 03 Jul, 2013 - 1 commit
-
-
Pierre Rossi authored
Subclass QSGTransform node for our use case and add the frame decorations and cursor nodes in there. Task-number: QTBUG-31580 Change-Id: Id2b468b53092f21134ae45e5694bc54c43660f8b Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com>
-
- 23 Jun, 2013 - 1 commit
-
-
J-P Nurmi authored
Change-Id: Ie0cb144bb5596f566584b8bb80e334983dd2b50e Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- 14 Jun, 2013 - 1 commit
-
-
J-P Nurmi authored
Task-number: QTBUG-31646 Change-Id: Iae4f664ed919f535511f635f2e4ab1006e3c28e5 Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- 11 Jun, 2013 - 1 commit
-
-
J-P Nurmi authored
This makes it possible to append text more efficiently than appending to the text -property, and also avoids weird rich text formatting issues with the latter approach. Task-number: QTBUG-31575 Change-Id: Id621773588b94e36f8f0b9eb6b22590e9db62811 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- 07 Jun, 2013 - 1 commit
-
-
J-P Nurmi authored
Change-Id: I9d75a97c86e047742514f942cdb91c70f1d7a9a2 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com> Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- 22 May, 2013 - 1 commit
-
-
J-P Nurmi authored
Task-number: QTBUG-31154 Change-Id: I9d3e31352967b99b4bbb38f5819d3d093438ee37 Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
- 30 Apr, 2013 - 1 commit
-
-
Pierre Rossi authored
Fix some issues with incremental updates found while playing with the Quick Controls textedit demo. -Grouping text blocks into a single text node is fine as long as it doesn't cross the boundary of a child frame (e.g. a table), otherwise all that node logic collapses. -Text tables are hard to split in a sensible way, ensure we treat them as one text node for the sake of simplicity. -Inline images can cause several text nodes to have the same apparent start position. Beef up the rewinding logic in markDirtyNodesForRange. Change-Id: Ib4518bcd9303035fa00d9f4b16da7ca6c88e2313 Reviewed-by:
Caroline Chao <caroline.chao@digia.com> Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 25 Apr, 2013 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: I71769affe8f0138dd65f3b94fb27176bd069ab8d Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 24 Apr, 2013 - 1 commit
-
-
Pierre Rossi authored
We can't assume that the text nodes are added in order since we're iterating over all the blocks of a text frame before processing its child text frames. The only way for all this not to collapse is to sort the text nodes once we're done each time we're replacing/adding new ones. Task-number: QTBUG-30349 Change-Id: Ia5d804f7f196b2348fd68fdd62a6585c189baaa4 Reviewed-by:
Caroline Chao <caroline.chao@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- 04 Apr, 2013 - 1 commit
-
-
Pierre Rossi authored
The refactoring in QQuickTextEdit from this change: https://codereview.qt-project.org/#change,48798 accidentally broke rendering of inline images. Revive the ProtectedLayoutAccessor trick to get the proper format and properly extract the image from it. Change-Id: I445914efcea1012daa79d594aa1e828b1039b988 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 02 Apr, 2013 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: I6d3f3e7e4813155f2abb3edc51b145fb709c485b Reviewed-by:
Morten Johan Sørvig <morten.sorvig@digia.com>
-
- 20 Mar, 2013 - 1 commit
-
-
Pierre Rossi authored
The rationale is to not end up re-processing the whole document on each update Since we know where the editing takes place, we can break down the text edit's contents in several text nodes and only re-create the affected text nodes upon editing. This requires ripping out the SelectionEngine helper class from QQuickTextNode so that QQuickTextEdit can tap into its functionality directly. A positive side-effect of this exercise is that it should be much harder to to come across GlyphNodes packing more than 16300 glyphs or so. Task-number: QTBUG-29596 Change-Id: Id29b0709baa43f5b29c44ab02398ba996be3e28a Reviewed-by:
Yoann Lopes <yoann.lopes@digia.com>
-
- 19 Mar, 2013 - 1 commit
-
-
Frederik Gladhorn authored
The first time the function is called, it could fail to set the flags. Calling setSelectByKeyboard(true) would not actually set the text interaction flags (was == on). The test didn't detect it because it called setReadOnly before setSelectByKeyboard. Change-Id: Ia54cc782b6ad5a74f1d7029c92fa230116d034b0 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 15 Mar, 2013 - 1 commit
-
-
J-P Nurmi authored
The main use case is for enabling text selection by keyboard for read-only editors. Change-Id: Ieaa9af366fd0eaf863a104a2fdf33c9ddad38b10 Reviewed-by:
Alan Alpert (Personal) <416365416c@gmail.com> Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- 13 Mar, 2013 - 1 commit
-
-
Thomas McGuire authored
\since uses the QML import, not the Qt version. When adding a new property, it needs a REVISION argument and the type needs to be registered again for the new version. Change-Id: I2e636e9d26c8e989729eadad2ef73a836c35caa1 Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- 07 Mar, 2013 - 2 commits
-
-
Frederik Gladhorn authored
Instead of relying on the item change where we don't get focus reason, use focusInEvent and focusOutEvent. Change-Id: I2db7d81c67c65595b929fdcedc568af360831c5c Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
Caroline Chao authored
When trying to do for example text handling it becomes obvious that focus handling is not proper. A mouse click focus should de-select text, while a window change should preserve the selection. Re-introduce focus reason. Change-Id: I3322c976437cba68938d7c9188e549bdb499fa5a Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-