Albert Astals Cid [Fri, 23 Nov 2012 11:44:16 +0000]
Support requestPixmap if platform has ThreadedPixmaps feature
As discussed with Samuel enable the use of requestPixmap in a thread
for async requests if the platform support ThreadedPixmaps
Task-number: 28138
Change-Id: I106cf0123430115464b0a75071c7e6129a98d22b
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Christiaan Janssen [Thu, 22 Nov 2012 16:54:33 +0000]
QtDeclarative: fixed modelviews example
Change-Id: I3d31beb6a23b7c74061cf66d3c13616911cda7c6
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Tasuku Suzuki [Fri, 23 Nov 2012 05:11:03 +0000]
Stop using the name "trolltech" in interface name
Change-Id: Ie30146415c99700c1b55fb2f01331ec9b1a42359
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Frederik Gladhorn [Thu, 22 Nov 2012 15:54:15 +0000]
docs: Separate qml and c++ examples
Change-Id: I1d9e2e281bff2bb77a8bdf53726d3c452e3fe911
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Tasuku Suzuki [Wed, 21 Nov 2012 04:06:25 +0000]
make module compile with -no-gui
Change-Id: I106cf0933930115464b0b7507177e6129098d22b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Jerome Pasion [Thu, 22 Nov 2012 11:53:40 +0000]
Doc: Adding "qtgui" to the documentation dependency.
-Qt Quick and Qt QML depend on Qt GUI and its
documentation.
Change-Id: Icf14107490bf7a884a5e5840d7ec7bdd62e1cf09
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Samuel Rødal [Thu, 22 Nov 2012 11:36:25 +0000]
Improved documentation of Text.textFormat property.
Even though using RichText is not recommended, we should still at least
point out what it does.
Change-Id: I96d0e1e7074b5fdbb3a5dcaf84e5afe805c92080
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Christian Kandeler [Thu, 22 Nov 2012 10:33:28 +0000]
Fix installation of examples.
Enable examples to be built in the target tree. This entails installing
the project files and possibly other missing stuff.
Task-number: QTBUG-27977
Change-Id: I159fd8e3ebc7077e1d68e085c4947acc058ce594
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
Marco Bubke [Thu, 22 Nov 2012 10:28:57 +0000]
Add designer support for animations and componentComplete
In the designer animations confuse users, if you change a state or move a
item around. Also component complete is called later by the designer.
The call in the VME is to early.
Change-Id: I49aa04edbc49fb44ddb7b52062307982865efd7e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Friedemann Kleint [Thu, 22 Nov 2012 09:25:30 +0000]
Fix security warning about passing a variable to printf-formatting.
Change-Id: I7ea8ff54d24fe0818cd216d4aac0e8970461306e
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Chris Adams [Mon, 19 Nov 2012 08:36:09 +0000]
Expose QMatrix4x4 properties as mat4 uniforms in shaders
Previously, QMatrix4x4 properties were not exposed as uniforms in
shaders. This commit adds conversion code for matrix 4x4 properties
so that they are automatically converted to mat4 uniforms.
Task-number: QTBUG-27952
Change-Id: I9b1de39fbbcb02743cf8c4e09b4d83c44f1dd438
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Alan Alpert [Wed, 21 Nov 2012 15:55:03 +0000]
Aesthetic tweaks for qmleasing UI
Add window title and shrink import button.
Change-Id: Ic35b03c1b7d24fc4c3ca1dc237445474ecf3a213
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Alan Alpert [Tue, 20 Nov 2012 03:01:50 +0000]
Unify qmleasing and easingcurveeditor
Keeping the name qmleasing, but most of the code from easingcurveeditor.
easingcurveeditor had more UI and functionality, as qmleasing could only
import AfterEffects curves. That functionality has now been added to
easingcurveeditor.
Change-Id: Iac1a004f13fe33a18449af1b08bd22138d525322
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Frederik Gladhorn [Wed, 21 Nov 2012 12:47:13 +0000]
Deliver parameters to bound signals.
In the following property change "mouse" would be undefined
since the number of parameters was not correctly evaluated.
PropertyChanges {
target: mouseArea
onClicked: console.log(mouse)
}
Task-number: QTBUG-27300
Change-Id: Ie3fb9a49155312af1feb5c7ff67d78e019925130
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Frederik Gladhorn [Thu, 8 Nov 2012 16:43:46 +0000]
Ungrab mouse upon leave event.
The event signals that the mouse has left the window.
This happens also when a popup is shown (overlapping the original window).
Before a mouse area would still think it was in pressed state
when the popup (QWindow/QMenu) was shown and even after the popup was closed.
Change-Id: I6d32571f5a473610f60e9476850989ff665edb93
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Jędrzej Nowacki [Tue, 20 Nov 2012 14:32:37 +0000]
Document importing issues in worker script
Task-number: QTBUG-27454
Change-Id: Ia9f384ab92fe0c55d3299d32a3f7faba1446ce35
Reviewed-by: Alan Alpert (RIM) <aalpert@rim.com>
Fabian Bumberger [Thu, 15 Nov 2012 12:47:24 +0000]
Refactoring samegame
This patch cleans up the example and makes it more customizeable by adding a setting file. Also a bug has been fixed, where the "New game" button could not been clicked.
Change-Id: Ia397258721dfcf4900e3ed1e176a257eccfad354
Reviewed-by: Alan Alpert (RIM) <aalpert@rim.com>
Friedemann Kleint [Tue, 20 Nov 2012 09:53:52 +0000]
Fix syncqt-warnings.
Use include with module name in the public headers.
Change-Id: I50d3767a5538bc3f935ebf61b56894c8f0461981
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Eskil Abrahamsen Blomfeldt [Tue, 20 Nov 2012 09:17:47 +0000]
Merge branch 'newdocs'
Change-Id: Idd7a9837e4f6a1358edf9accdcdc3c71822f4c25
Vadim Zakondyrin [Sat, 17 Nov 2012 12:29:25 +0000]
Fixed memory leak of registered QML modules
Change-Id: I254f755641f5ac8383e5818b5294ec85fd9236e8
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Thiago Macieira [Mon, 15 Oct 2012 21:01:59 +0000]
Use the new QLibraryInfo::Qml2ImportsPath path for QML 2.
Also change the environment variable to be QML2_IMPORT_PATH. This
splits the imports from QML 1 (the QtDeclarative library).
Change-Id: Icadbf96283b1cf071ed0deb04e8c8476da664009
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Matt Vogt [Mon, 19 Nov 2012 01:03:20 +0000]
Allow margin changes during Flickable drag operation
Previously, the dimensions of the flickable were captured at mouse
press and reused during dragging, which causes problems if the margins
of the Flickable are altered during the drag. Adjust the captured
values so that margin changes are correctly handled.
Change-Id: I1ce608dcc1302ea8639bf18a81361b27749b217b
Reviewed-by: Martin Jones <martin.jones@qinetic.com.au>
hjk [Fri, 16 Nov 2012 11:15:18 +0000]
Update gettingStartedQml example code to use standard Qt coding style
Change-Id: I225ea53a4e06e92367feb368dd6deea6f9acf403
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Samuel Rødal [Wed, 7 Nov 2012 16:10:42 +0000]
Use threaded renderer even without BufferQueueingOpenGL.
Without threaded rendering QML 2 often ends up running at half the
screen refresh rate on X11. Not having BufferQueuingOpenGL shouldn't
prevent us from using threaded rendering, since the issue of four
animating windows running at 1/4th of the screen refresh rate will
happen regardless of whether rendering happens on the main thread or in
a separate rendering thread.
Change-Id: I0edc818e6d762fa1faf13e7f2f47dfda132b6fdf
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Frederik Gladhorn [Sat, 3 Nov 2012 22:50:49 +0000]
Accessibility: add stepSize to value interface.
Change-Id: I4c654837c37dbef8f6f407387ce4ea82cb3b821b
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Kai Koehne [Fri, 9 Nov 2012 10:24:40 +0000]
QuickTest: Remove reference to /tests/qmlauto
There's no tests/qmlauto in the source tree, neither could I find
an example using QUICK_TEST_SOURCE_DIR.
Task-number: QTBUG-27919
Change-Id: I5a4ba5653a06e448a922a47900ae3f2d12e3020c
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Shawn Rutledge [Sun, 11 Nov 2012 14:18:23 +0000]
Fix StocQt example - need full 4-digit years for yahoo API
Change-Id: Id5f6895c3e4c901af3e4e45ca8a1474c9fdb19d9
Reviewed-by: Alan Alpert (RIM) <aalpert@rim.com>
Alexandr Akulich [Sat, 20 Oct 2012 02:24:56 +0000]
Deduplicate checking of conditions.
Change-Id: I0621db17db2bb8fe885a3a65f6a7a042279c3752
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Frederik Gladhorn [Sat, 3 Nov 2012 22:52:47 +0000]
Improve documentation.
Change-Id: I9bfb8bf8167e3b55d3539dc35e4278b5514119c8
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Shawn Rutledge [Fri, 9 Nov 2012 10:36:01 +0000]
Preparation for changing QWindow::windowState to visibility
QQuickWindow needs to avoid depending on QWindowPrivate::visible.
It can go back to using private variables after the replacment is done.
Change-Id: I38b99df8b4ef0139c9eadcbb07d33d3f1894a8ac
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Shawn Rutledge [Thu, 8 Nov 2012 15:12:01 +0000]
Window example tests Qt.application.supportsMultipleWindows
Change-Id: I7fcdd518e56427316f454ff4e5b298d13b396ac0
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Fabian Bumberger [Fri, 9 Nov 2012 13:10:27 +0000]
Blackberry: Workaround for GLSL compiler bug.
Change-Id: If3ce968c0a0a2af4244671fe028a560843c9016a
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Shawn Rutledge [Mon, 22 Oct 2012 11:44:21 +0000]
Examples and fixes for QML Window properties
Setting Window.color in QML takes effect immediately.
It was only possible to set the property at startup.
Examples demonstrate new Window property features.
Change-Id: Ic5b43d0d84371f3fe5c42223ccc98e6de27aed10
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Shawn Rutledge [Mon, 22 Oct 2012 15:09:06 +0000]
Renamed QWindow::pos property to position
Abbreviated properties are to be avoided, and this is a new class so
we have a good opportunity to avoid it before the release.
Related to qtbase change I19c00b54b1d2712f9418e8bcf56e35a8008b89ef
Change-Id: Ibd5cd10814c8cbd2b1f6e49b70782c7768d2366d
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Thiago Macieira [Mon, 24 Sep 2012 13:58:00 +0000]
Install the Qt Quick 2 examples in the "qtquick" dir
Leave the "qtdeclarative" dir for Qt Quick 1, which is where it used
to be in Qt 4.
Change-Id: I44997771d77617564fc608c1aba95e3ada8f9a69
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Kai Koehne [Fri, 9 Nov 2012 10:07:53 +0000]
Don't install tst_qmltest to $QTDIR/tests
Don't try to install the tst_qmltest by default, since it will
install itself to $QTDIR/tests.
Task-number: QTBUG-26661
Change-Id: I310f660cc486ffb4358af14ea15db389375ed802
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Samuli Piippo [Thu, 8 Nov 2012 08:35:51 +0000]
tests: Mark some tests as insignificant on Mac
Task-number: QTBUG-27890
Change-Id: I48edea29ccaa593e4bab61c1a968130a5d3457f3
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Samuel Rødal [Thu, 8 Nov 2012 14:34:26 +0000]
Expose "Qt.application.supportsMultipleWindows".
Useful on platforms like kms and eglfs that only support a single
QWindow. On those platforms the QML application can thus choose to use a
Rectangle instead of a Window to show dialogs etc.
Change-Id: Idc3f46d2cad6cf3f55c5c84df2c8511407bd4849
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Alan Alpert (RIM) <aalpert@rim.com>
Eskil Abrahamsen Blomfeldt [Thu, 8 Nov 2012 14:04:22 +0000]
Don't use design metrics with NativeRendering on TextInput
We only set the design metrics property in init(), before the
renderType has been set. Since updateLayout() is called every
time the renderType changes, it should be sufficient to set it
there.
Change-Id: If5b2cb3738e8135195848857a30f4e646bdf1d0b
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Shawn Rutledge [Fri, 19 Oct 2012 16:05:01 +0000]
All QWindow properties that have "window" in them have been renamed.
Depends on patch Ie4424ec15fbdef6b29b137f90a2ae33f173edd21 in qtbase.
Change-Id: I9614cc2c7ed119c663b3f6f99267483e291e529c
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Erik Verbruggen [Thu, 8 Nov 2012 09:10:40 +0000]
Fix compilation issue with clang in C++11 mode.
As with all other qHash functions, providing a default value for the
seed is needed.
Compiler error:
In file included from qml/v8/qv8engine.cpp:42:
In file included from qml/v8/qv8engine_p.h:57:
In file included from /Users/erik/dev/qt5-stable/qtbase/include/QtCore/qvariant.h:1:
In file included from /Users/erik/dev/qt5-stable/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:50:
In file included from /Users/erik/dev/qt5-stable/qtbase/include/QtCore/qhash.h:1:
/Users/erik/dev/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qhash.h:107:35: error: no matching function for call to 'qHash'
Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[skipping macro expansion and candidate qHash functions]
qml/v8/qv8engine_p.h:89:13: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline uint qHash(const v8::Handle<v8::Object> &object, uint seed)
Change-Id: I917785ce5ce596757fe06ced1536797090bb0f77
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Shawn Rutledge [Tue, 23 Oct 2012 11:14:03 +0000]
When declarative debug tests fail in CI, confirm timeout as reason
Hope to correct errors like
FAIL! : tst_QQmlInspector::reloadQml() 'QQmlDebugTest::waitForSignal(
m_client, SIGNAL(responseReceived()))' returned FALSE. ()
Change-Id: Iebf29d4de0bc19396041565e5a4cd32561345235
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Caroline Chao [Thu, 8 Nov 2012 12:24:20 +0000]
Fixes the examples shared macro.
Detection of the platform's name Mac was wrong.
Task-number: QTBUG-27894
Change-Id: I3194fac4e78d12682871dec63a905b4c940fb80c
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Samuel Rødal [Wed, 7 Nov 2012 16:03:07 +0000]
Prevent crash when doing threaded rendering of multiple windows.
Don't call renderSceneGraph() on non-renderable windows. We also don't
call syncSceneGraph() on them, which is where the renderer will be set.
Also get rid of harmless warning about non-renderable windows.
Change-Id: I24739abefe0d554efb568514057719f981590c28
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Venugopal Shivashankar [Wed, 7 Nov 2012 18:09:52 +0000]
Doc: Moved all content in the doc directory.
- most images to the corresponding examples directory
- Fixed a few broken links to the examples and qdoc pages
- removed the obsolete and unused images and qdoc pages
Change-Id: I18f9551b42ec713b81e3f69694a2bd04b1ebf794
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
Shawn Rutledge [Mon, 5 Nov 2012 10:16:14 +0000]
Examples separated out of Ie808e78a42074e13aa9d3c87723ec9ac8fdbaf4a
Change-Id: Iec54ed5d7c41c6103ddfe07509b905914806d435
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Shawn Rutledge [Mon, 5 Nov 2012 10:04:21 +0000]
qmlscene can start with either an Item or Window as the qml root
Before, it assumed that the root is an Item and needs to have a
Window created. But it's useful for an application to have a Window
as the root, and it was already possible by writing a different C++
main function (see qtdeclarative/examples/window/window/window.cpp).
It doesn't take much to give qmlscene this flexibility too.
Change-Id: Ie808e78a42074e13aa9d3c87723ec9ac8fdbaf4a
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Thomas Hartmann [Mon, 5 Nov 2012 12:51:58 +0000]
QQmlPropertyCache: adding setParent()
setParent() enables to dynamically set the parent of a
QQmlPropertyCache. This is used in the Qt Quick Designer to
create dynamic properties on an arbitrary object.
Change-Id: I0dafabcacf4222fc1bfe693736cbd23e1e928e8f
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Jan Kundrát [Wed, 17 Oct 2012 16:27:25 +0000]
Fix a missing word in the docs
The functionality is "*no* longer available", of course.
Change-Id: I2c9f2633d74b98c16216f68e3d7e080422cf6506
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Shawn Rutledge [Fri, 12 Oct 2012 10:33:37 +0000]
transformOriginPoint is deprecated
Task-number: QTBUG-26423
Change-Id: I28f8160c2c52f62ef901ed569b94fefdab387729
Reviewed-by: Alan Alpert <
416365416c@gmail.com>
Jerome Pasion [Fri, 2 Nov 2012 13:59:56 +0000]
Merge branch 'master' of ssh://codereview.qt-project.org/qt/qtdeclarative into newdocs
Change-Id: Icced038fbdb309d8928213d3753a27fe5a6b1137
Jędrzej Nowacki [Fri, 2 Nov 2012 11:42:07 +0000]
Fix conditional jump based on an uninitialized value.
QElapsedTimer is POD and it is not initialized by default.
Change-Id: Ie6997e1c4225b9ba584de52cc0c9647f26e45438
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Oswald Buddenhagen [Fri, 26 Oct 2012 17:59:38 +0000]
follow qt_tool.prf now setting up DESTDIR
Change-Id: Ia07dc830586fd30f4ee98c64e9f2accae5cf2f06
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Oswald Buddenhagen [Mon, 29 Oct 2012 14:45:45 +0000]
adjust to qt_plugin.prf changes, part 2
DESTDIR and INSTALLS+=target are set up automatically now, but
PLUGIN_TYPE needs to be defined.
Change-Id: I2dab25a2527d376eaa37f233782ffe4b6a58b8f8
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Caroline Chao [Thu, 1 Nov 2012 13:36:53 +0000]
Update Nokia references to Digia's.
Change-Id: I3be91d4a6a1116c79ab6aca89d189c88a265d339
Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Stephen Kelly [Wed, 31 Oct 2012 13:51:49 +0000]
CMake: Remove obsolete test_modules test
The generated module_includes test is a super-set of this test.
Change-Id: I086d81806cdbc3c4afbeae0f8683a5b693b6f85a
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Oswald Buddenhagen [Mon, 29 Oct 2012 14:43:42 +0000]
adjust to qt_plugin.prf changes, part 1
PLUGIN_TYPE will need to be defined. do this before the respective change
in qtbase, due to the reverse dependency.
Change-Id: I97e7574b48512958689dab0c0697f2edc8666807
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Jan Arve Saether [Tue, 23 Oct 2012 13:14:35 +0000]
Prepare for removal of Softkeys API
Change-Id: I28f0d1b66da10a9d578e3aea3fe73a5d28322852
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Venugopal Shivashankar [Fri, 19 Oct 2012 14:58:37 +0000]
Doc: Removed reference to QTDIR and did some language edits
Change-Id: I3c7854342fc89c97423c8540a6c5cc51070a5639
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Venugopal Shivashankar [Tue, 23 Oct 2012 10:44:41 +0000]
Changed the plugin module name
The earlier name, com.nokia.TimeExample is irrelevant now.
Also updated all instances of documentation where this older module
name was referred.
Change-Id: Ic252d0e72af23c2d39d5fed55f242e47c1b6bde9
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Stephen Kelly [Fri, 19 Oct 2012 15:20:44 +0000]
CMake: Add a test for module includes
Change-Id: Ie9fd7929c1ea22f8acf51bafce64ade74d51a00e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Sergio Ahumada [Thu, 25 Oct 2012 16:33:58 +0000]
Remove stale QT_MODULE() usage cases
As of Qt5, this macro is defined to be empty; simply get rid of these leftovers.
Change-Id: Ib3a8e8eae98e2839c3db4bf34be8dcf43f49af11
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
aavit [Mon, 29 Oct 2012 11:14:55 +0000]
Update qml test scenes with new property names
Change-Id: I67953f257f8948f3ec821cf3e5bc4763aff8d1aa
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Caroline Chao [Mon, 29 Oct 2012 08:30:20 +0000]
Test: Fix tst_qqmlecmascript::exportDate
Get timezone offset of the date specified and not the default value.
Change-Id: I58dba896098cbee72a2e4ec15ba2c928121e6cff
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Sergio Ahumada [Mon, 29 Oct 2012 11:09:55 +0000]
test: Mark `tst_qquicklistview', `tst_qquicktext', and `tst_qquicktextedit' as insignificant
Task-number: QTBUG-27740
Change-Id: I20b15ae35f736f1c43a85e9a37ec3fda19896b07
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Jerome Pasion [Fri, 26 Oct 2012 12:56:08 +0000]
Doc: Removed the HTML template from the .qdocconf files
-qt-module-defaults.qdocconf already contains the HTML template.
Change-Id: I8ecac8e959d0fe8705295f4c9a58dd6b98ca1a44
Reviewed-by: Martin Smith <martin.smith@digia.com>
Frederik Gladhorn [Thu, 25 Oct 2012 12:03:56 +0000]
Change organisation to Qt Project.
Change-Id: Ia55cf3cff4f019c82588d44c0b9c63cb97d965be
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Stephen Kelly [Wed, 24 Oct 2012 11:03:57 +0000]
Mark failing tests as insignificant.
Change-Id: I2dbed0d5fe632a034a0f656c2e3ccc3e63d4078b
Reviewed-by: Richard J. Moore <rich@kde.org>
Friedemann Kleint [Tue, 23 Oct 2012 14:40:19 +0000]
Fix crash in qtlocation tests.
Task-number: QTBUG-27696
Change-Id: I0cc12e1be25a789a8245fae3a444629ca57872ef
Reviewed-by: Christopher Adams <chris.adams@qinetic.com.au>
Reviewed-by: Martin Jones <martin.jones@qinetic.com.au>
Frederik Gladhorn [Tue, 23 Oct 2012 12:11:18 +0000]
Allow QQmlDebugProcess to be child of other qobjects.
Some tests when failing would leave the process running.
For example on my machine tst_qqmlinspector would hang and
restarting it would not work because the before started process was
still blocking the port.
Change-Id: I32dfb4874b18d7dcf34d0f40819b17dedd794ff3
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Frederik Gladhorn [Tue, 23 Oct 2012 12:48:50 +0000]
Allow tests to run despite custom message patterns.
With QT_MESSAGE_PATTERN some tests would not run without explanation.
Change-Id: I68a9eda08fe56508ffaaef209a1f236621aa932e
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Marco Bubke [Mon, 22 Oct 2012 15:57:05 +0000]
Change qml list interface
Change-Id: I185c6f4cef6105544504324c1616b5995c219fe3
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Thomas Hartmann [Mon, 22 Oct 2012 12:16:30 +0000]
Adding invalidate function to QQmlPropertyCache
This is required for tooling to update a QMetaObject
inside a running QQmlEngine.
Change-Id: I26d3aeed57d39c361c150261c4e1a84094e6f657
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Alexandr Akulich [Sat, 20 Oct 2012 02:41:25 +0000]
doc: fix some typos.
Change-Id: I951d89094a6d49e4c71aa9a50e98f3ccc1ca62e1
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Samuel Rødal [Tue, 16 Oct 2012 15:55:46 +0000]
Make Rectangle border be inner instead of centered on the outline.
This avoids awkward situations such as when clipping to a parent item of
the same size and makes it easier to reason about the bounding rectangle
of the item.
Task-number: QTBUG-21341
Change-Id: If015cfbc5792429f4a407fc0547ea71eca779eda
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Friedemann Kleint [Mon, 22 Oct 2012 10:56:19 +0000]
Skip flaky subtests of tests/auto/qmltest.
- Skip test_key_click() in events/tst_events.qml.
- Skip test_pixel pixel/tst_pixel.qml.
Task-number: QTBUG-27671
Change-Id: Id78c34244d346910e28a2368f9fe3a41f54b8fb9
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Friedemann Kleint [Thu, 18 Oct 2012 13:02:36 +0000]
Fix qmltest library.
- Avoid hangs (waiting for frameSwapped) and crashes
in window managers for empty windows by giving windows
a minimum size if they have 0x0 (observed on Mac, Windows).
- Polishing, set proper window flags, title, object name, output.
Change-Id: Iad5d66c3adbbfe085390132987e95f4c69272831
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Friedemann Kleint [Thu, 4 Oct 2012 10:15:49 +0000]
Change Q_ASSERTs in qquick[threaded]windowmanager.cpp to qWarning().
As they also triggers when a non-existing file is loaded into QML2
or windows have invalid sizes.
Change-Id: Iab1ce6c99f2bc2cb360ddaccce539cb97979ad5a
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Peter Varga [Thu, 18 Oct 2012 15:16:40 +0000]
Re-enable tst_QJSEngine::stringObjects test
Corresponding bug has been fixed in QtJSBackend thus re-enable test and
remove expected failures.
Change-Id: I72d6ce31a1c932db29dad0758e0c2654543a5b1f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Thomas Hartmann [Fri, 19 Oct 2012 07:36:04 +0000]
QQmlOpenMetaObjectType: extend interface for visual designer
We need those 3 functions to rebuild OpenMetaObject
in the visual designer.
Change-Id: I70affe5850f46683a049615b3173a4f30c338401
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Marco Bubke [Tue, 16 Oct 2012 14:33:44 +0000]
Add polishItems to the designer support
Change-Id: Ibec0b1f6c438f0c7b40c81ec81cd092768701f34
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Konstantin Ritt [Mon, 15 Oct 2012 07:54:54 +0000]
Fix QQuickTextInput::moveCursorSelection()
by using fixed QTextBoundaryFinder behavior.
Update QQuickTextInput autotests.
Task-number: QTBUG-11365
Change-Id: I81761c019e2fe80c9795fe54a2a990bfc5d4b709
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Marco Bubke [Mon, 15 Oct 2012 16:34:10 +0000]
Fix list functions for the data property
The Qml Designer needs this functions.
Task-number: QTCREATORBUG-8039
Change-Id: I6e072723630cf971ad3eda921497699611ae934e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Peter Varga [Thu, 18 Oct 2012 09:41:42 +0000]
Temporarily skip tst_QJSEngine::stringObjects test
Expected failures of this test block to land a patch to QtJSBackend that
fixes them.
Change-Id: If5c73cb668f9cc05e605e4f37c0dfabc0eecb5a8
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
J-P Nurmi [Tue, 16 Oct 2012 10:58:26 +0000]
QQuickItem: handle QEvent::StyleAnimationUpdate
Change-Id: Id5c4de6bdcd395a1e32449e69d773e9a35fab4c9
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Jerome Pasion [Tue, 16 Oct 2012 16:39:11 +0000]
Doc: Cleaned up \module and \qmlmodule page for Qt Quick and Qt QML.
-Qt Quick: used a regular page instead of \qmlmodule
-Cleaned up titles and membership
Change-Id: I8ae24fec203ea675d213bd0df6105d0c2abd8164
Reviewed-by: Martin Smith <martin.smith@digia.com>
Jan Kundrát [Tue, 16 Oct 2012 18:33:55 +0000]
Make Qt.quit() from inside QML work in the examples
Without this patch, the samegame's quit button does not work.
Change-Id: I904832d018d589e90564534ac1eca02e0dbb54fc
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Shawn Rutledge [Mon, 15 Oct 2012 15:18:46 +0000]
QQuickScreen attached obj handles screenChanged and geometryChanged
sizeChanged is replaced with geometryChanged. Given a Window, it also
needs to connect to the Window's screenChanged signal. The result is
that if the screen is changed after the QQuickView is created, the
Screen attached object will be updated.
Change-Id: I64473dd960376b861eb50e3e5a1a296d0030e766
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Jan Kundrát [Tue, 16 Oct 2012 17:41:16 +0000]
Use the shared boilerplate code in the tweetsearch demo
Without the shared boilerplate code, the demo will not run unless the
application is launched from the directory containing the QML files. Also, it
improves consistency to use the same code as with the other examples.
Change-Id: Ic3bc358c13cdee4310aaaf7daf4c645c4709027e
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Venugopal Shivashankar [Mon, 15 Oct 2012 12:04:20 +0000]
Doc: Changed the title to fix broken links
Change-Id: I84bdb335980fdeae0c91021179ede19eae79e811
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Alan Alpert [Tue, 7 Aug 2012 01:26:37 +0000]
Remove interim compatibility measures
Also update some variables in qtdeclarative which failed to update
rootItem->contentItem.
Change-Id: Id34e29546a22a74a7ae2ad90ee3a8def6fc541d3
Reviewed-by: Alan Alpert <
416365416c@gmail.com>
Marco Bubke [Mon, 15 Oct 2012 13:22:08 +0000]
Fix crash in the qmlpuppet at finishing
Task-number: QTCREATORBUG-8042
Change-Id: I30a5b40d6441ea1631ba11a97b062720e70ddca8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Marco Bubke [Mon, 15 Oct 2012 10:31:40 +0000]
Adding DesignerWindowManager for Qt Quick Designer
DesignerWindowManager implements a render path just for
Qt Quick Designer, which is single threaded and does not
open visible windows.
Change-Id: I02b0d1b819a7a5391b9bb14ee6efa1a32e0c8ad7
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Thomas Hartmann [Fri, 12 Oct 2012 09:42:34 +0000]
We need to export QQmlVMEMetaObject to support the designer
In the designer we need to access QQmlVMEMetaObject.
Change-Id: I36627c6ce1c2c27bef8dd85374b65a542b00d1ef
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Tor Arne Vestbø [Thu, 11 Oct 2012 13:33:51 +0000]
Update docs after modularization of docs
The global files now live in qtbase only, and are made available to the
other modules via the $QT_INSTALL_DOCS variable.
Change-Id: I131408e27fec5b722ac1dece8e1ccf421fdaad67
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Topi Reinio [Thu, 11 Oct 2012 14:45:36 +0000]
Fix imageelements example deployment
Some of the .qml files were missing from INSTALLS
Task-number: QTBUG-26996
Change-Id: I9508ca3c43f354a16405af68dbca0133117ee2e2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Sérgio Martins [Fri, 7 Sep 2012 11:00:30 +0000]
Fix performance bottleneck in QQuickWindow::mouseMoveEvent().
When a mouse move event is received, a lot of time is spent looking
for items with cursors, recursively.
With this patch, it will only recur into item hierarchies that
contain cursors.
Not having cursors is much more common than having them.
Benchmark included:
Before: 15 msecs per iteration (total: 62, iterations: 4)
After: 0.000064 msecs per iteration (total: 68, iterations: 1048576)
Task-number: QTBUG-27054
Change-Id: I3a5441652ca1c0b8d2cbc5683013562174f5af4a
Reviewed-by: Alan Alpert <
416365416c@gmail.com>
Miikka Heikkinen [Tue, 9 Oct 2012 11:40:17 +0000]
Add missing contents dir to installation of canvas example
Task-number: QTBUG-26995
Change-Id: Ib346c857f9e0bc97bb2e4365abddb6475c7142d4
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Peter Varga [Tue, 25 Sep 2012 15:15:22 +0000]
Remove calculateHash function
This function has been moved into QtV8 module.
Change-Id: Ibc5b0a52bd158e8880a10300eb6b89b7f43db0f6
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Thomas McGuire [Fri, 28 Sep 2012 09:28:23 +0000]
Fix QObject::receivers() within connectNotify()
The receiver count needs to be correct in connectNotify() to be
compatible with ordinary connections.
Fix this and add test.
Change-Id: Icff0486dac49876b8c5d8836a85cff9284368a52
Reviewed-by: Alan Alpert <
416365416c@gmail.com>