- 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>
-
- 24 Oct, 2014 - 1 commit
-
-
Samuel Nevala authored
QLineEdit closes input method on enter key press, TextInput should also do the same. Commit and hide input method on enter key. When Qt::ImhMultiLine input method hint set only commit. Task-number: QTBUG-37850 Change-Id: I5a06e3eb777d7f794dd1493b307f0b05a2caf281 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
-
- 10 Sep, 2014 - 1 commit
-
-
Richard Moe Gustavsen authored
Calculating the height of the line using ascent + descent seems inaccurate, since the result will not match what ends up being drawn. QQuickTextEdit uses instead QTextLine::height() for the same function, and this works correct. Since there seems to be no reason to reinvent how to calculate the height when the line already has a function for that, and since the result also seems to be wrong, we change the implementation to use QTextLine::height(). Change-Id: I9c9cd4360b6d4cfd3582756c4efdff9c02065789 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 04 Sep, 2014 - 1 commit
-
-
Richard Moe Gustavsen authored
Without this patch, positionToRectangle will return a slightly different rectangle than what ends up being drawn. Change-Id: Ib1a3936f0fab393d6016d85d63547ec7f3036b7a Reviewed-by:
Andrew den Exter <andrew.den.exter@qinetic.com.au> Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.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>
-
- 12 Aug, 2014 - 1 commit
-
-
Topi Reinio authored
Removes duplicated (repeated) words and fixes other minor documentation issues. Change-Id: I891f2b3e60194b207737425c1dcc1d35a5bd921a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com>
-
- 07 Aug, 2014 - 1 commit
-
-
J-P Nurmi authored
[ChangeLog][QtQuick][Important Behavior Changes] TextInput::displayText now includes also partial input from an input method and thus matches with the actual displayed text. Task-number: QTBUG-40329 Change-Id: I407f464938c550d73eba1351283ec751aa293380 Reviewed-by:
Alan Alpert <aalpert@blackberry.com> Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 24 Jul, 2014 - 1 commit
-
-
Aaron McCarthy authored
The value for acceptableInput was being calculated every time the property value was read. This can lead to situations where the value returned from successive property reads is different even though no acceptableInputChanged() signal is emitted between the two calls. This can be seen during QML component construction where emission of the changed signal is suppressed until the component completes and the value of acceptableInput changes as the other properties are set. If the property is read during binding evaluation an intermediate value can be seen and the QML engine will not re-read the property until after the changed signal is emitted. This doesn't happen until the true value of the acceptableInput property is toggled. Fixed by changing the property getter to returned the precalculated value of acceptableInput and ensuring that this value is set when correctly. Change-Id: Id3ba3a34988ff50f590e4f8330b873f390eaa025 Reviewed-by:
Martin Jones <martin.jones@jollamobile.com>
-
- 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>
-
- 02 Jun, 2014 - 1 commit
-
-
J-P Nurmi authored
Change-Id: I8a2f66a6cfa346627394705741d2f47affcd0c2b Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by:
Paul Olav Tvete <paul.tvete@digia.com>
-
- 21 May, 2014 - 1 commit
-
-
J-P Nurmi authored
This is required for TextField to be able to implement text selection handles. TextField needs to be able to ensure that the appropriate character position becomes visible when the handles are moved around. [ChangeLog][QtQuick][TextInput] Added TextInput::ensureVisible(int pos) method to be able to control the scrolling position of a TextInput that has automatic scrolling enabled. Task-number: QTBUG-38934 Change-Id: Id77eafcda6324d10868e0798519e5b712a0d33ed Reviewed-by:
Alan Alpert <aalpert@blackberry.com> Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 02 May, 2014 - 1 commit
-
-
Bernd Weimer authored
This is needed for TextField control for instance. If QT_NO_CLIPBOARD is defined, canPaste will always return false. Fixes dialogs auto test when QT_NO_CLIPBOARD is defined. [ChangeLog][QtQuick][Platform Specific Changes] Added canPaste property to TextInput element also on platforms that don't support a clipboard (QT_NO_CLIPBOARD is defined). Change-Id: Ia85205672ba59c1fce70852458c514b03d332de6 (cherry picked from commit c2d80204 ) Reviewed-by:
Fabian Bumberger <fbumberger@rim.com> Reviewed-by:
Bernd Weimer <bweimer@blackberry.com>
-
- 24 Apr, 2014 - 1 commit
-
-
Bernd Weimer authored
This is needed for TextField control for instance. If QT_NO_CLIPBOARD is defined, canPaste will always return false. Fixes dialogs auto test when QT_NO_CLIPBOARD is defined. [ChangeLog][QtQuick][Platform Specific Changes] Added canPaste property to TextInput element also on platforms that don't support a clipboard (QT_NO_CLIPBOARD is defined). Change-Id: Ia85205672ba59c1fce70852458c514b03d332de6 Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- 18 Mar, 2014 - 1 commit
-
-
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>
-
- 12 Mar, 2014 - 1 commit
-
-
Risto Avila authored
Adds a new property to TextInput which can be used to override QPlatformTheme::PasswordMaskDelay. The new property is TextInput.passwordMaskDelay and takes in delay (ms) which time character is shown before masking it. This is only when echoMode is set to TextInput.Password [ChangeLog][QtQuick][TextInput] Added passwordMaskDelay property Change-Id: I52812b883db11fdd21b25154887c51df8a44f69c Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 22 Feb, 2014 - 1 commit
-
-
Jan Arve Saether authored
Task-number: QTBUG-36529 Change-Id: I2cd577013c4965e76c9350abaebb9b7a6e4e0270 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 12 Feb, 2014 - 1 commit
-
-
Jan Arve Saether authored
[ChangeLog][QtQuick][Fixed wrong baseline alignment for TextInput] Task-number: QTBUG-36749 Change-Id: I6920fb0681f30d9e9943d1bd01f76cc3ae204f30 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>
-
- 02 Dec, 2013 - 1 commit
-
-
Frederik Gladhorn authored
[ChangeLog][QtQuick] QQuickTextInput would not accept delete/home/backspace/left/right keys when the key was used in a shortcut. Task-number: QTBUG-34517 Change-Id: I553af8247191ecdadcb4677e9fc85848270a95d3 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 27 Nov, 2013 - 1 commit
-
-
J-P Nurmi authored
[ChangeLog][QtQuick] Fixed TextInput to call fixup() on its validator when being accepted or losing focus, and the validator reports that the input is in "intermediate" state ie. the input should be fixed up. Task-number: QTBUG-35128 Change-Id: I4b15406c584a9647bcf892badfaf6d845868fbf1 Reviewed-by:
Liang Qi <liang.qi@digia.com>
-
- 26 Nov, 2013 - 1 commit
-
-
Thomas McGuire authored
"q" was an unused variable, which triggered a warning/error. Change-Id: I83bdc63a7caa12a5cd48331729492c0f36ed6fa0 Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- 22 Nov, 2013 - 1 commit
-
-
Liang Qi authored
Autotest is included. Task-number: QTBUG-34780 [ChangeLog][QtDeclarative][TextInput] add editingFinished signal Change-Id: Ib633daee67cd4e5f15739a6004adbe882ab3d3fc Reviewed-by:
Lars Knoll <lars.knoll@digia.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com> Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by:
Alan Alpert (Personal) <416365416c@gmail.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>
-
- 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>
-
- 26 Sep, 2013 - 1 commit
-
-
Lars Knoll authored
Change-Id: Id4f79c22fc48ada1c8a9a858e1b7b3d1cf14d120 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- 25 Sep, 2013 - 1 commit
-
-
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>
-
- 17 Sep, 2013 - 1 commit
-
-
Topi Reinio authored
Moves property and method documentation for QML Locale type from Qt Quick to Qt Qml module, and fix a number of broken links in locale-related docs. Change-Id: Id9e01314ea867987f5159ca3bffcc40abb27b289 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
- 09 Sep, 2013 - 1 commit
-
-
Chris Meyer authored
Add dragType enums with values of None, Automatic, Internal (default). Setting to Automatic allows startDrag to be called automatically. Setting to Internal (default) retains old behavior. Add mimeData to Drag item to enable external drags. Call startDrag to start drag manually or change from internal drag to external drag. Added events dragStarted and dragFinished that get invoked from startDrag. Mime data must be specified in the mimeData property as mime-type / data pairs. Moved QQuickDrag from qquickmousearea* files to qquickdrag* files to reduce header interdependencies that caused linking errors in other modules and also to improve code organization. Allow DropArea to receive and process external data. Introduced new variable containsDrag to QQuickDropAreaPrivate. This replaces mimeData which was previously being used to determine if a drop operation was currently occurring. The problem was that mimeData was being externally destructed. Also introduced accessor methods for getting color, html, image, text, and urls out of the drop. This facilitates dropping of external data of those types onto a DropArea. Added example quick/externaldraganddrop. Task-number: QTBUG-27498 Change-Id: I1420df7c161ea3399e49a23305273e106baa246f Reviewed-by:
Alan Alpert (Personal) <416365416c@gmail.com>
-
- 08 Sep, 2013 - 1 commit
-
-
Jeremy Katz authored
Change-Id: Iff30a548fc2ef8ecf2fa6393832943f365cb0fa3 Reviewed-by:
Alan Alpert <aalpert@blackberry.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 07 Sep, 2013 - 1 commit
-
-
Thiago Macieira authored
Found by ICC. src/quick/items/qquicktextcontrol.cpp(78): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced src/quick/items/qquicktextinput.cpp(2696): error #2415: variable "textCursorWidth" of static storage duration was declared but never referenced src/quick/items/qquicktextinput.cpp(2697): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced src/quick/scenegraph/qsgthreadedrenderloop.cpp(164): error #2415: variable "WM_LockAndSync" of static storage duration was declared but never referenced src/quick/scenegraph/qsgthreadedrenderloop.cpp(181): error #2415: variable "WM_UpdateLater" of static storage duration was declared but never referenced Change-Id: I60b5cce79d7be5f909b690f97ffa93ea00d3c044 Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- 06 Jun, 2013 - 1 commit
-
-
Lars Knoll authored
Change-Id: Ib9885d395dd799c0f9dc68e16efea44b60cb1418 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- 08 May, 2013 - 1 commit
-
-
Lars Knoll authored
... and rename it to QQmlV4Function Change-Id: Iad72347babf62691e26306877d4f229fda127eb7 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- 06 May, 2013 - 1 commit
-
-
Lars Knoll authored
The class was doing exactly the same thing as v8::Handle in our implementation. Removing it cleans up quite a bit of code. Change-Id: I37a3dcdef062fc388751e9ef0a158b5926ba2efb Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- 25 Apr, 2013 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: I71769affe8f0138dd65f3b94fb27176bd069ab8d Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 23 Apr, 2013 - 2 commits
-
-
Mitch Curtis authored
Task-number: QTBUG-29871 Change-Id: I3b15dfab5ca6455df465c502c93aac7b85a64531 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
Frederik Gladhorn authored
text().length() was used to check if a cursor movement to the right was valid. The problem is that with a mask and not text set yet (inputMask: "#0:00;*") pressing the right arrow would not move the cursor. The input and other functions use the actual d->m_text since that includes the mask length. Task-number: QTBUG-30740 Change-Id: Ic225778e5a49d80b754b63d0eb4a438eaa9818e2 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- 18 Apr, 2013 - 1 commit
-
-
Lars Knoll authored
Implement a good part of QJSValue using V4. Keep the QV8Engine for now (as it is used everywhere), but add an ExecutionEngine pointer to it so other parts can more easily be ported to V4. Remove a lot of other stuff that's not required anymore. Change-Id: Ibe2c9ab10f0ee977e0e3d05a42f526206d7b22b5 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-