aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test: Add 5.0.0/5.1.0 bic data for linux-gcc-ia32Sergio Ahumada2013-07-206-1/+42364
| | | | | | | | QtQuick and QtQuickTest data was missing from before, so taking the opportunity to add it now. Change-Id: I120ecd440c0c25e338aa2badafec6e1eddae5425 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Fix tst_qquickview for full screen platformsRafael Roquetto2013-07-181-3/+3
| | | | | | | | | Some test cases rely on the fact that show() is not fullscreen, which may not be true for some platforms. Explicitly make use of showNormal() to avoid full-screen show on these platforms. Change-Id: I0787fb62b8e37a73974f87857de200485d7ba6da Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* systemdialogs example: ensure that all QML files work with qmlsceneShawn Rutledge2013-07-175-6/+6
| | | | | | | | | Sync up relative paths in the qrc and the actual directories so that you can run qmlscene with any of the QML files in this directory and it will still find the shared resources. Change-Id: I0f216df6b370c19948312fa00a33ce77ccabcd78 Reviewed-by: Liang Qi <liang.qi@digia.com>
* Forward port auto test for fix in QtQuick1Simon Hausmann2013-07-173-0/+23
| | | | | | | | | | This is the auto-test part of https://codereview.qt-project.org/#change,61117 The test passes as-is but we should forward the fix to ensure that we don't regress. Change-Id: Ief8fcfc29d671f33cd1b2c3bab7acfd4fcd1df2b Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
* Fix organization domains.Friedemann Kleint2013-07-152-4/+4
| | | | | | | Task-number: QTBUG-32390 Change-Id: Ibc7e0e85adfffdb7abbd61e8948064e36a8fce9b Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Replace qt.nokia.com by www.qt-project.org in tests.Friedemann Kleint2013-07-156-13/+13
| | | | | | | Task-number: QTBUG-32390 Change-Id: If318cf9bbcaa36e6e60d693dd0cb9a58768af47b Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Replace www.nokia.com by www.qt-project.org in tests.Friedemann Kleint2013-07-126-27/+27
| | | | | | | Task-number: QTBUG-32390 Change-Id: I595b1bf683d1e63e44354c042f23dd9e10847862 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fix CLANG-warning '&&' within '||' [-Wlogical-op-parentheses].Friedemann Kleint2013-07-121-1/+1
| | | | | Change-Id: Id724c86f87a78048df9b93f2d190593d36261943 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Fix CLANG-warning about unused member variable m_defaultAntialiasingMode.Friedemann Kleint2013-07-121-1/+0
| | | | | Change-Id: I68a04532bacd326b4bb3eb8f9a7ee04c67fcd68e Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Window example: delay showing the splash until Component.onCompletedShawn Rutledge2013-07-111-3/+3
| | | | | | | | Otherwise it will have the wrong size on KDE. Task-number: QTBUG-32223 Change-Id: I3ed92ff8aead5c6e5a37a5189c7103a5383087ae Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Add a unit test for testing Qt in its install location.Stephen Kelly2013-07-112-1/+8
| | | | | Change-Id: Ide70affa28f0ec37535b5a4ce1bcafac8ac58351 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Docs: restore missing ListModel methodsJ-P Nurmi2013-07-081-9/+9
| | | | | Change-Id: Icb491d14d42af769928b1663be0877e23ff43850 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fixed typo 'backens'Thorbjørn Lindeijer2013-07-081-1/+1
| | | | | Change-Id: I65e4492d1bc70e5344c0edc37a7c2f87fe355e62 Reviewed-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
* Update snap when snapMode changesAlbert Astals Cid2013-07-081-0/+1
| | | | | | | Task-number: QTBUG-32258 Change-Id: Id2120acad06d7cfce988400df0067e2c0f16eb24 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* Fix typo in Graphical Effects documentation.Mitch Curtis2013-07-081-1/+1
| | | | | Change-Id: Iad5ee6a965a6373941468bf98ac328e51c5c4066 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* qmlscene: ensure that the window & component get destructedJ-P Nurmi2013-07-041-13/+10
| | | | | | Task-number: QTBUG-32207 Change-Id: Ic7c45228cbdc049d3dfdb3482296d0e8c89a930c Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Remove objectlistmodel.qmlproject file.Friedemann Kleint2013-07-041-14/+0
| | | | | | | | The example has C++ source code and cannot be run as qmlproject. Change-Id: I2d71d3ffc600ca71898ad402499f7a070455c266 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Item views: do not track the geometry of items being removedJ-P Nurmi2013-07-044-41/+45
| | | | | | Task-number: QTBUG-31873 Change-Id: I4230893ccb2925ed9c2429d26b411264bf7c1c65 Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
* QQuickTextEdit: move QSG* members from dptr to root node.Pierre Rossi2013-07-032-19/+39
| | | | | | | | | 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>
* Doc: Fix documentation of ownership of in QmlComponent::createKai Koehne2013-07-031-4/+2
| | | | | | | | | Fixes documentation introduced in b1ee75d377fc9517d6 : Actually the ownership is _always_ transferred to the caller. Change-Id: I3b50588b69fa45730ac09c46912f8319e7581a5f Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* Fix access to invalid memory in ~QQmlEnginePrivateKai Koehne2013-07-031-3/+0
| | | | | | | | | | | | | | ~QQmlEnginePrivate tries to set incubationController->d to 0. However, we're already setting the backpointer (q) of incubationController to 0 in ~QQmlEngine, so that the IncubationController destructor might run in between without being able to reset incubationController. To fix this, just handle the unsetting of incubationController once, in ~QQmlEnginePrivate. Task-number: QTBUG-32161 Change-Id: I43a72dcfc0f95938ebfa67d3998adff1fb2d05a1 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* Initialize m_dirty_texture memberGunnar Sletta2013-07-031-0/+1
| | | | | Change-Id: I4fa2774aef9bc3258572d28425d1427151297358 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Fix warning about change of sign: glyph_t is unsignedThiago Macieira2013-07-031-3/+3
| | | | | | | | | qsgdistancefieldglyphnode_p.cpp(222): warning #68: integer conversion resulted in a change of sign Use the value 0, which is reserved to mean "no texture" Change-Id: I0bb135639c432ab08f6561c1d45f64e2d8f96dd7 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Fix missing QQuickTextDocument docsJ-P Nurmi2013-07-022-18/+18
| | | | | | | | | It didn't appear in the docs at all. Moving the documentation to .cpp fixes the problem. Change-Id: Id9741bc6dab20ba976952143160d3551787fae40 Reviewed-by: Liang Qi <liang.qi@digia.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
* Debugger: Remove handling of QT_DECLARATIVE_DEBUG macroKai Koehne2013-07-021-1/+1
| | | | | | | | | | This was added originally to keep older Qt Creator versions working. However, any newer versions automatically set QT_QML_DEBUG too, and checking for both actively prevented selectively enabling QtQuick1 or QtQuick2 debuggers only. Change-Id: I4d4a984958ef3430ebe05b267bd87185005bbe51 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
* Disambiguate name of static helper from QtQuick1Kai Koehne2013-07-021-2/+2
| | | | | | | | | | Change name of static 'qmlEnableDebuggingHelper' variable to disambiguate it from QtQuick1 variable with the same name. Task-number: QTBUG-31064 Change-Id: Ia4b0f18a33a383dd4ade1bdb45506304f9066502 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
* Document public members of QSGSimpleMaterialShaderGunnar Sletta2013-07-021-3/+15
| | | | | Change-Id: I2e46989d4076ff639d7264985e030df0f1cb2a88 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Mark tests tst_qquickloader as insignificant due to random failuresTony Sarajarvi2013-07-021-0/+1
| | | | | | | | Task-number: QTBUG-30721 Change-Id: I540848b1e7c9992e89b6df2417c37ce5e81423c8 Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Relayout the text after the vertical alignment is changedMarco Bubke2013-07-011-0/+4
| | | | | | | | | | In the designer it is no working without a layout update. Task-number: QTBUG-32041 Change-Id: I2276914c81b38ad8931109b3d800b65a0d11bca7 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com> Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
* Only emit moving change signals when moving actually changesAaron Kennedy2013-07-011-2/+2
| | | | | Change-Id: Ib775ce8439183388634c6b08785cd8aff4e8e174 Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
* Example for running animations on the render threadGunnar Sletta2013-07-018-0/+409
| | | | | Change-Id: I7a829f201c9d1514b2462e7f3bd11761d02cb66c Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
* Document QWindow::alert() in Qt Quick.Friedemann Kleint2013-06-281-0/+12
| | | | | | | | Task-number: QTBUG-32069 Task-number: QTBUG-30416 Change-Id: If7e9fd63d858416a23ff768272d94219595be1c5 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Merge remote-tracking branch 'origin/release' into stableFrederik Gladhorn2013-06-2839-125/+406
|\ | | | | | | Change-Id: I140852ef7fbbfe303dac620af5e6eba5ee3a4b02
| * FileDialog.folder property should also be a QUrl, for consistencyv5.1.0-rc2v5.1.0Shawn Rutledge2013-06-2812-43/+46
| | | | | | | | | | | | | | | | | | | | In QtQuick we never use plain file paths, because URL is more general. Also use const references for string and URL setters, and fixed the dependency between the FolderListModel's folder, the field for editing it, and the folder property of the AbstractFileDialog. Change-Id: I6e965b80b73d4eb2473712a4f4d4f816b768d802 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
| * QtQml: document QQmlExtensionPlugin::baseUrlShawn Rutledge2013-06-283-1/+12
| | | | | | | | | | | | | | | | | | | | | | It was added here https://codereview.qt-project.org/#change,47532 without documentation. Also updated \since because for now qdoc seems to interpret \since 5.0 as QtQml 5.0. Task-number: QTBUG-31928 Change-Id: I652e9471f1ad8e83b355bffc8498a6565dc9aa2b Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
| * QtQuick.Dialogs: sync the docs with the implementationShawn Rutledge2013-06-275-28/+22
| | | | | | | | | | | | | | | | | | | | We've been using URLs instead of strings for some time now, just forgot to change the docs until now. Task-number: QTBUG-31847 Change-Id: I49a42282aeefb95e4d367397e2f290f4af65687e Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
| * Switch to non-streaming version of qWarning()Alan Alpert2013-06-271-2/+1
| | | | | | | | | | | | | | | | | | Allows us to drop the qdebug.h include in a public and frequently used header. Change-Id: I2cb05fbec6298ba600020db684e9eea4093ce663 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
| * Undo presumably accidental line deletionAlan Alpert2013-06-271-0/+1
| | | | | | | | | | Change-Id: I7ddb3ef9b45cfb95c48c2060dc62acd4ed9d64f9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
| * photosurface: add C++ boilerplate launcher; open buttonShawn Rutledge2013-06-2610-1/+131
| | | | | | | | | | | | | | | | | | | | Creator refuses to build it for Android otherwise, and this is a good demo for tablets. Also added a button to re-open the FileDialog. Task-number: QTBUG-31898 Change-Id: I9f90de316fcaa2679484f8a875737ffafa774f31 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
| * Declarative dialog improvements for the non-Window use caseShawn Rutledge2013-06-2611-50/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | Platforms like Android and EGL don't support multiple top-level windows, so we have to avoid trying to use widget-based dialogs (because a widget dialog on top of a scene graph will result in a second window), allow the QML dialog to be an Item, and decorate it to look like a window. Task-number: QTBUG-31898 Change-Id: I9af049f3265188e8be677a05a8bc6d1699b4cd00 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
* | Request paint if scene changes for the canvas itemMarco Bubke2013-06-261-1/+4
| | | | | | | | | | | | | | | | | | Otherwise for every scene the canvas is simply not painted anymore in the designer. For example if you change the parent. Change-Id: I4883eab44d73a59381230755f7caa596f2b6569f Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* | Merge "Merge remote-tracking branch 'origin/release' into stable" into ↵Frederik Gladhorn2013-06-266-9/+69
|\ \ | | | | | | | | | refs/staging/stable
| * | Merge remote-tracking branch 'origin/release' into stableFrederik Gladhorn2013-06-256-9/+69
| |\| | | | | | | | | | Change-Id: I6e060496b8c252fb4e2d5d2d40ae16bf950e2ec4
| | * Update 5.1.0 changelog and what's newAlan Alpert2013-06-253-5/+65
| | | | | | | | | | | | | | | | | | | | | All the new features should now be listed in those two documents Change-Id: Ifa17581bf589f3a18b602f8a1d10683a5e48c70d Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
| | * QQmlPlatform: rename "mac" to "osx"J-P Nurmi2013-06-242-3/+3
| | | | | | | | | | | | | | | | | | Change-Id: Ie458690b8008b211785cf9dcc0312a7e25c84f6b Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
| | * Add missing Q_REVISIONAlan Alpert2013-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | This invokable method is new in Qt 5.1/QtQuick 2.1 Change-Id: I7d0e332b52a815ac0722e39db68ef1f190534a57 Reviewed-by: Liang Qi <liang.qi@digia.com>
* | | QQmlTrace: getpid() requires unistd.hShawn Rutledge2013-06-251-0/+1
|/ / | | | | | | | | | | | | | | Doesn't build on MacOS if you omit this include and uncomment define QML_ENABLE_TRACE in qqmltrace_p.h Change-Id: I78ed43b16a006699449202dd234e43be2f7b84fd Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* | Improve QtQuick Item Anchors documentation.Mitch Curtis2013-06-251-5/+5
| | | | | | | | | | Change-Id: Ib47051be82df16e5d08df50b5327aba8c004f4d3 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* | Tidy up Context2D transform-related documentation.Mitch Curtis2013-06-257-20/+31
| | | | | | | | | | | | | | | | | | | | Also adds back some images that 61d35829eed6661c1371d397bbb316ea2f636c50 removed (4a5d31a56dfd871f3f7c5ce162885ebc870b8803 specified the wrong paths to all but one file, which is probably why they were cleaned up). Change-Id: Idd42bb831c97935e53ce05c69ea2691a2769f453 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* | Merge "Merge remote-tracking branch 'origin/release' into stable" into ↵Frederik Gladhorn2013-06-2416-35/+49
|\ \ | | | | | | | | | refs/staging/stable