profile/ivi/qtdeclarative.git
13 years agoFixed up command line options a bit
Gunnar Sletta [Mon, 6 Jun 2011 05:43:51 +0000 (07:43 +0200)]
Fixed up command line options a bit

13 years agoRevert some of "Make QMLViewer startup animation stop after a while"
Alan Alpert [Fri, 3 Jun 2011 01:19:44 +0000 (11:19 +1000)]
Revert some of "Make QMLViewer startup animation stop after a while"

This reverts most of commit c6e6a35aeb8794d68a3ca0c4e27a3a1181c066b5.

Only the startup.qml changes were meant to go in. The other stuff is an
experimental feature that was not supposed to be merged in.

Reviewed-by: Michael Brasser
13 years agoUpdate "What's New" with change to Binding.
Michael Brasser [Fri, 3 Jun 2011 00:04:16 +0000 (10:04 +1000)]
Update "What's New" with change to Binding.

13 years agoReplace QPerformanceTimer with QElapsedTimer.
Michael Brasser [Thu, 2 Jun 2011 23:50:04 +0000 (09:50 +1000)]
Replace QPerformanceTimer with QElapsedTimer.

QElapsedTimer has added a nsecsElapsed() function, so QPerformanceTimer
is no longer needed.

Reviewed-by: Charles Yin
13 years agoAdd docs and test for Binding changes.
Michael Brasser [Wed, 13 Apr 2011 01:39:58 +0000 (11:39 +1000)]
Add docs and test for Binding changes.

Change-Id: I6bce140bf80c3e0defd7603aecfb7f658520f4d3
Reviewed-by: Martin Jones
13 years agoRestore original binding when Binding's when clause becomes false.
Michael Brasser [Sun, 13 Mar 2011 23:45:58 +0000 (09:45 +1000)]
Restore original binding when Binding's when clause becomes false.

Change-Id: I7e2ba1f6e3cd1e049ec2666ab8191cb91acbfe50
Reviewed-by: Martin Jones
13 years agoMake Binding a value source.
Michael Brasser [Fri, 11 Mar 2011 05:28:52 +0000 (15:28 +1000)]
Make Binding a value source.

Change-Id: I1a9003f1e506c53e172bfae418f536ad0da2bf47
Reviewed-by: Martin Jones
13 years agoMerge branch 'master' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging
Martin Jones [Tue, 31 May 2011 22:53:40 +0000 (08:53 +1000)]
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging

13 years agoSmall doc fix.
Martin Jones [Tue, 31 May 2011 22:52:10 +0000 (08:52 +1000)]
Small doc fix.

Change-Id: Id3720c9ad6d3dc459cf7b726a443cc1ac390e223

13 years agoQDeclarative: fixed clean animation lists
Christiaan Janssen [Mon, 23 May 2011 14:44:29 +0000 (16:44 +0200)]
QDeclarative: fixed clean animation lists

Change-Id: I9dd8b4fcd3f04193410710981a511b9f69e5dc19

13 years agoDeclarativeObserver: Don't fade in the highlight edge
Thorbjørn Lindeijer [Thu, 26 May 2011 18:23:16 +0000 (20:23 +0200)]
DeclarativeObserver: Don't fade in the highlight edge

It feels more responsive when the highlight is immediately visible.

Change-Id: Ie3dd0693ecc38f33b001c86970b220b45b37fdfc
Reviewed-by: Kai Koehne
(cherry picked from commit 0b4e028ec294992df01430bdf978982835c7df5c)

13 years agoRenamed declarativeobserver plugin to qmldbg_inspector
Thorbjørn Lindeijer [Mon, 30 May 2011 10:51:45 +0000 (12:51 +0200)]
Renamed declarativeobserver plugin to qmldbg_inspector

Mainly since it's a good idea to prefix the plugin on Symbian, and at
the same time it's now consistency called 'inspector' rather than
'observer'.

Symbian .def files will need to be updated.

Change-Id: I43071331c8002f8844efd14105d01c730d97e946
Reviewed-by: Kai Koehne
(cherry picked from commit 206ebd5af21d94c3f3b49d2cb645105a63e6f5fb)

13 years agoRemove more webkit dependency from qtdeclarative.
Martin Jones [Tue, 31 May 2011 08:05:10 +0000 (18:05 +1000)]
Remove more webkit dependency from qtdeclarative.

Change-Id: I75fd903e6a8160210652c2cec3c4636e908a9ade

13 years agoRemove the examples/declarative/demos copy.
Martin Jones [Tue, 31 May 2011 06:42:49 +0000 (16:42 +1000)]
Remove the examples/declarative/demos copy.

Not sure why it is here, but it shouldn't be.

Change-Id: I1a2f9cc994de13690bbc77d41005051e340291f7

13 years agoEnsure doc code snippet can be loaded by QML engine.
Martin Jones [Tue, 31 May 2011 06:18:30 +0000 (16:18 +1000)]
Ensure doc code snippet can be loaded by QML engine.

Change-Id: I2249a064a0c2afa3de1a9252ab4796af5bbeacc8

13 years agoRemove webbrowser demo from qtdeclarative module.
Martin Jones [Tue, 31 May 2011 06:15:30 +0000 (16:15 +1000)]
Remove webbrowser demo from qtdeclarative module.

qtdeclarative should not depend on webkit.

Change-Id: I82e3f49dbe710e408c1a74911787541a9ea9efa1

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative
Martin Jones [Tue, 31 May 2011 05:34:37 +0000 (15:34 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative

Conflicts:
src/declarative/debugger/qpacketprotocol.cpp

Change-Id: I61f500a08ce73def34c093344bfdad44a6c9a6f1

13 years agoMerge branch 'qtquick2'
Martin Jones [Tue, 31 May 2011 05:25:44 +0000 (15:25 +1000)]
Merge branch 'qtquick2'

Conflicts:
demos/declarative/flickr/common/Progress.qml
demos/declarative/flickr/common/RssModel.qml
demos/declarative/flickr/common/ScrollBar.qml
demos/declarative/flickr/common/Slider.qml
demos/declarative/flickr/mobile/Button.qml
demos/declarative/flickr/mobile/GridDelegate.qml
demos/declarative/flickr/mobile/ImageDetails.qml
demos/declarative/flickr/mobile/ListDelegate.qml
demos/declarative/flickr/mobile/TitleBar.qml
demos/declarative/flickr/mobile/ToolBar.qml
demos/declarative/webbrowser/content/Button.qml
demos/declarative/webbrowser/content/FlickableWebView.qml
demos/declarative/webbrowser/content/Header.qml
demos/declarative/webbrowser/content/ScrollBar.qml
demos/declarative/webbrowser/content/UrlInput.qml
demos/declarative/webbrowser/webbrowser.qml
doc/src/snippets/declarative/mousearea/mousearea-snippet.qml
examples/declarative/modelviews/webview/newwindows/qml/alerts.html
examples/declarative/modelviews/webview/newwindows/qml/content/Mapping/map.html
examples/declarative/modelviews/webview/newwindows/qml/content/pics/cancel.png
examples/declarative/modelviews/webview/newwindows/qml/content/pics/ok.png
examples/declarative/modelviews/webview/newwindows/qml/newwindows.html
src/declarative/graphicsitems/qdeclarativetextinput.cpp
src/declarative/qml/qdeclarativecompiledbindings.cpp
src/declarative/qml/qdeclarativecompiledbindings_p.h
src/declarative/qml/qdeclarativedom.cpp
src/declarative/qml/qdeclarativedom_p.h
src/declarative/qml/qdeclarativedom_p_p.h
src/declarative/qml/qdeclarativeengine.cpp
src/declarative/qml/qdeclarativetypeloader.cpp
src/imports/particles/particles.cpp
tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
tests/auto/declarative/qmlvisual/qdeclarativeflickable/data/flickable-horizontal.4.png
tests/auto/declarative/qmlvisual/qdeclarativepathview/data/test-pathview.6.png
tests/auto/declarative/qmlvisual/qdeclarativepositioners/data/usingRepeater.0.png
tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.0.png
tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.1.png
tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.2.png
tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.3.png
tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.4.png
tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.5.png
tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.6.png
tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.7.png
tests/auto/declarative/qmlvisual/qdeclarativetext/align/data-MAC/multilineAlign.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/align/data-X11/multilineAlign.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/data-X11/parentanchor.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/data-MAC/qtbug_14865.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/data-MAC/qtbug_14865.1.png
tests/auto/declarative/qmlvisual/qdeclarativetext/data-X11/qtbug_14865.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/data-X11/qtbug_14865.1.png
tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide.1.png
tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide2.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide2.1.png
tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.1.png
tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.2.png
tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.3.png
tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.4.png
tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.5.png
tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext2.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext3.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext2.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext.0.png
tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext2.0.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.0.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.1.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.10.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.11.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.2.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.3.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.4.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.5.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.6.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.7.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.8.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.9.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.0.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.1.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.2.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.3.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.4.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.5.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.6.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.0.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.1.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.2.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.3.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.4.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.10.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.11.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.12.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.7.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.9.png
tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/wrap.7.png
tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-MAC/echoMode.0.png
tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-MAC/echoMode.1.png
tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-MAC/echoMode.2.png
tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-X11/usingLineEdit.11.png
tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp

Change-Id: I40df8a9403a58a6c03a0f1734f16a5cbed6c85ff

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging
Qt Continuous Integration System [Tue, 31 May 2011 02:33:00 +0000 (12:33 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging:
  QmlDebugger: adding slots to items in Live Preview
  QmlDebugger: parsing packets iteratively in the communication protocol

13 years agoExport more VisualModel symbols
Alan Alpert [Tue, 31 May 2011 00:28:59 +0000 (10:28 +1000)]
Export more VisualModel symbols

13 years agofix shadow build error
Charles Yin [Mon, 30 May 2011 13:30:05 +0000 (23:30 +1000)]
fix shadow build error

Change-Id: I68c8edac98389c487c1ac09bb74d43fdeb85cdc3

13 years agoQmlDebugger: adding slots to items in Live Preview
Christiaan Janssen [Mon, 30 May 2011 12:59:47 +0000 (14:59 +0200)]
QmlDebugger: adding slots to items in Live Preview

Reviewed-by: Kai Koehne
(reapplied commit 89d9b83aa26db4f528250c3fe4716b81955c6929 from qtcreator)

13 years agoQmlDebugger: parsing packets iteratively in the communication protocol
Christiaan Janssen [Mon, 30 May 2011 12:56:19 +0000 (14:56 +0200)]
QmlDebugger: parsing packets iteratively in the communication protocol

Reviewed-by: Kai Koehne
(reapplied commit fea13a449c59690ae7b7f43aa64f50c0a290a2cf from qtcreator)

13 years agoCompile fix.
Kim Motoyoshi Kalland [Mon, 30 May 2011 11:41:10 +0000 (13:41 +0200)]
Compile fix.

13 years agoCompile.
Kim Motoyoshi Kalland [Mon, 30 May 2011 10:46:18 +0000 (12:46 +0200)]
Compile.

13 years agoqmlplugindump: Bump QtQuick.tooling version to 1.1.
Christian Kamm [Mon, 30 May 2011 08:20:29 +0000 (10:20 +0200)]
qmlplugindump: Bump QtQuick.tooling version to 1.1.

Mirrors a change to qmlplugindump in
qtcreator/715cee76a9e46efb7f8245004aaa8a1c47b1618d

Reviewed-by: Kai Koehne
(cherry picked from commit 10f16bc55b9e5535bc3353260f97a32e18d70cf1)

13 years agoqmlplugindump: Dump revision property.
Christian Kamm [Mon, 30 May 2011 07:24:20 +0000 (09:24 +0200)]
qmlplugindump: Dump revision property.

Mirrors a change to qmldump in
qt-creator/6e3274240077fc356a37d3de735b3b2da9654d2e

Reviewed-by: Roberto Raggi
(cherry picked from commit b0392d398e2f28682cdce6e85546d38a838440f7)

13 years agoUpdate SG items with recent GV item changes.
Martin Jones [Mon, 30 May 2011 06:35:52 +0000 (16:35 +1000)]
Update SG items with recent GV item changes.

Change-Id: Ib9cadea91ab3717bee0caf2071102a100e81969d

13 years agoListView segmentation fault when setting highlight to null
Martin Jones [Mon, 30 May 2011 05:26:06 +0000 (15:26 +1000)]
ListView segmentation fault when setting highlight to null

Setting view highlight to null due to focus change caused a crash
since graphicsview accessed the highlight item after it had been
deleted.  Remove highlight item from scene and deleteLater(),
as is done for delegates.

Change-Id: I5bfd59095aca90d3adca805bc4f61c92c192ee1b
Task-number: QTBUG-19509
Reviewed-by: Bea Lam
(cherry picked from commit b9d5cb9334e7d9da71af169802a01f8d344151a7)

13 years agoQDeclarativeMouseArea: block context menu events
Caio Marcelo de Oliveira Filho [Fri, 13 May 2011 07:01:28 +0000 (17:01 +1000)]
QDeclarativeMouseArea: block context menu events

If the MouseArea accepts the same button used to trigger a context
menu event, it should not let the event to be delivered to item
behind.

This is important for items that do implement contextMenuEvent(), like
QDeclarativeWebView. When there's a mouse area on top of this item and
that accepts the right click (in Linux), the event was still being
delivered and the WebView menu was incorrectly appearing.

QtWebKit bug https://bugs.webkit.org/show_bug.cgi?id=56526 documents this
problem.

Change-Id: I386fac6c96f47b8616e2eeb7e5f97043ba418980
Merge-request: 1185
Reviewed-by: Martin Jones <martin.jones@nokia.com>
(cherry picked from commit 80db0a1e59658f9e445219fc48d9236a79edca72)

13 years agoListViews loses items if all visible items are removed.
Martin Jones [Fri, 13 May 2011 05:28:30 +0000 (15:28 +1000)]
ListViews loses items if all visible items are removed.

Occurs when at end of list and all visible items are removed in
multiple steps, without entering the event loop.
We were not updating visibleIndex if there were no visible items
when handling itemsRemoved().
Also avoid skipping items in refill if there are no valid visible
items for reference.

Change-Id: I2ff58fb191f6b053f33d5446220d597eb15b66d4
Task-number: QTBUG-19198
Reviewed-by: Bea Lam
(cherry picked from commit 576d577438f1193bbc934e904b809d5b23b8d54e)

13 years agoViews do not notify count changes properly
Martin Jones [Thu, 5 May 2011 04:18:28 +0000 (14:18 +1000)]
Views do not notify count changes properly

The views don't have a valid count until both a model and a delegate
are provided.  But, countChanged() is not called when a delegate is
set after the model, so bindings to count were not evaluated.  Also
test that count is updated for insertion/removal

Change-Id: Ic82039a624c02f0bdb2862ac7a6e215df75bb314
Task-number: QTBUG-19037
Reviewed-by: Bea Lam
(cherry picked from commit 4fbcb6a531bf424a8dbbbd0ca2947d9e15118885)

13 years agoUninitialized memory is compared.
Martin Jones [Thu, 5 May 2011 03:24:32 +0000 (13:24 +1000)]
Uninitialized memory is compared.

Memory is allocated and used without first clearing it.  At
the least this annoys valgrind, but also has potential for real
problems.

Change-Id: Icf3fd39f44ee0481dd732510e7f8b3ad6cef477d
Task-number: QTBUG-15187
Reviewed-by: Aaron Kennedy
(cherry picked from commit 95aa4e4f9b82c3652ffc93310b190db869d491df)

13 years agoClear the root index when the model is reset.
Girish Ramakrishnan [Wed, 27 Apr 2011 05:53:43 +0000 (15:53 +1000)]
Clear the root index when the model is reset.

Task-number: QTBUG-18839

Change-Id: I46608d7481d820fa74a9be60df1e018e70a761c6
Merge-request: 2598
Reviewed-by: Martin Jones <martin.jones@nokia.com>
(cherry picked from commit f6b7ce204ee88be0fedb4cfcff382f208fa4ed33)

13 years agofix qmltest unit test failures
Charles Yin [Mon, 30 May 2011 05:24:49 +0000 (15:24 +1000)]
fix qmltest unit test failures

Change-Id: I489d1559411f5804f11f4601e34011bc38742b02

13 years agocopy other .qml .js files during build time
Charles Yin [Mon, 30 May 2011 03:50:46 +0000 (13:50 +1000)]
copy other .qml .js files during build time

Change-Id: I08db54c7cd5d2ae7bbad28440cc36f6332a190c9

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Alan Alpert [Mon, 30 May 2011 02:11:53 +0000 (12:11 +1000)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoExport QSGVisualItemModel
Alan Alpert [Mon, 30 May 2011 02:11:24 +0000 (12:11 +1000)]
Export QSGVisualItemModel

Necessary for DataParticles.

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Martin Jones [Mon, 30 May 2011 01:42:04 +0000 (11:42 +1000)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoqmlvisual is broken and unmaintained. Remove it.
Martin Jones [Mon, 30 May 2011 01:23:22 +0000 (11:23 +1000)]
qmlvisual is broken and unmaintained.  Remove it.

Change-Id: I9d522d3db81586da8f24be2b3becfdbf2968d933

13 years agoUpdate TextBallons .pro file
Alan Alpert [Mon, 30 May 2011 00:46:31 +0000 (10:46 +1000)]
Update TextBallons .pro file

Botched the previous alteration

13 years agofix typos
Charles Yin [Sun, 29 May 2011 23:44:27 +0000 (09:44 +1000)]
fix typos

Change-Id: Iff14f7378bf8fa063bd6096a8662d47320564af6

13 years agoFix typo.
Martin Jones [Sun, 29 May 2011 23:40:57 +0000 (09:40 +1000)]
Fix typo.

Change-Id: Ide770bf31258b84b48ee1f588707c3415d662ccb

13 years agofix the qmltestrunner building errors
Charles Yin [Sun, 29 May 2011 23:40:45 +0000 (09:40 +1000)]
fix the qmltestrunner building errors

Change-Id: Ib544544615d8aa96d2e5af8c82766472e1ed4018

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging
Qt Continuous Integration System [Fri, 27 May 2011 15:04:00 +0000 (01:04 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging:
  QmlDebugger: removing slots in Live Preview
  QmlDebugger: adding slots to items in Live Preview

13 years agoQmlDebugger: removing slots in Live Preview
Christiaan Janssen [Fri, 29 Apr 2011 13:54:59 +0000 (15:54 +0200)]
QmlDebugger: removing slots in Live Preview

Reviewed-by: Kai Koehne
(cherry picked from commit 582be247290fd015798b3d84d692c0236dbff4e1)

13 years agoQmlDebugger: adding slots to items in Live Preview
Christiaan Janssen [Fri, 29 Apr 2011 13:33:11 +0000 (15:33 +0200)]
QmlDebugger: adding slots to items in Live Preview

Reviewed-by: Kai Koehne
(cherry picked from commit 1f0f8a1b15fa4efa58feb2799614afc8bf0bd6e3)

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging
Qt Continuous Integration System [Fri, 27 May 2011 13:43:25 +0000 (23:43 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging:
  DeclarativeObserver: Fixed duplicates in item selection
  DeclarativeObserver: Removed the SubcomponentEditorTool
  Pass QList as const reference when possible
  Fixed crashes in Observer mode related to infinite bounding rects

13 years agoDeclarativeObserver: Fixed duplicates in item selection
Thorbjørn Lindeijer [Wed, 25 May 2011 11:42:48 +0000 (13:42 +0200)]
DeclarativeObserver: Fixed duplicates in item selection

Only add items to the current selection that aren't already part of it.

Also removed checking item for null, since it doesn't make sense to
include null pointers in the list of items to select.

Task-number: QTCREATORBUG-3426
Change-Id: I5a365570f87f72665b3382d05ca9937f56e8956b
Reviewed-by: Christiaan Janssen
(cherry picked from commit f75fda0365a4e4bf1f26dedc40d96d37a2599174)

13 years agoDeclarativeObserver: Removed the SubcomponentEditorTool
Thorbjørn Lindeijer [Tue, 24 May 2011 09:22:29 +0000 (11:22 +0200)]
DeclarativeObserver: Removed the SubcomponentEditorTool

This tool made selecting items in your QML app more complicated than
necessary. Now, left-click will always just select the top-most item
under the mouse and right-click will allow you to select any of the
items below.

Also, the highlighted bounding rect now always applies to just one
item, instead of also including the children bounding rect.

Reviewed-by: Kai Koehne
Change-Id: I17b5ab397d951fd68711590469ca6e723a9cb0e6
(cherry picked from commit 73060143c30d38ea99e6d7a77ff81c94f58899d7)

13 years agoPass QList as const reference when possible
Thorbjørn Lindeijer [Tue, 17 May 2011 09:23:10 +0000 (11:23 +0200)]
Pass QList as const reference when possible

Avoids some reference counting.

Reviewed-by: Kai Koehne
Change-Id: I4de83aa4df6833fa2287ac1854bbb0052d15cee9
(cherry picked from commit bdd8f188ac352c99ee218318a59089f387a31d60)

13 years agoFixed crashes in Observer mode related to infinite bounding rects
Thorbjørn Lindeijer [Tue, 17 May 2011 10:12:52 +0000 (12:12 +0200)]
Fixed crashes in Observer mode related to infinite bounding rects

Bug fixed by avoiding uniting or subtracting QPolygonF with potentially
infinite coordinates.

The LiveSelectionIndicator now uses a QGraphicsRectItem rather than a
QGraphicsPolygonItem and displays only the boundaries of selected
objects, not including their children.

The SubcomponentMaskLayerItem now works with rectangles and uses a
QRegion to determine the area around the current context, converting
this to a polygon only as a last step.

Reviewed-by: Kai Koehne
Task-number: QTCREATORBUG-4559
Change-Id: I266f5387fa67017fc50215282a95b4ee6498be6d
(cherry picked from commit d03065da2999b8539d8c5160b58d56dd94373d6f)

13 years agoMention that positioners may conflict with anchors.
Martin Jones [Fri, 27 May 2011 06:55:30 +0000 (16:55 +1000)]
Mention that positioners may conflict with anchors.

Change-Id: I8c89abcc6dd18915dca0eb9643c2376b2d128a29

13 years agoWork around remaining 'make check' failures.
Martin Jones [Fri, 27 May 2011 06:31:50 +0000 (16:31 +1000)]
Work around remaining 'make check' failures.

Change-Id: Ie4480d4f05f5d784eb277fa2be6e502da00524f8

13 years agoMake textballon example follow convention
Alan Alpert [Fri, 27 May 2011 04:13:49 +0000 (14:13 +1000)]
Make textballon example follow convention

Currently, the qml examples autotest works on a set of conventions
defined in its source code to determine which tests to run.

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Alan Alpert [Fri, 27 May 2011 03:41:38 +0000 (13:41 +1000)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoUpdate image stream example
Alan Alpert [Fri, 27 May 2011 03:41:13 +0000 (13:41 +1000)]
Update image stream example

ModelParticle has died.

13 years agoSome fixes for tests/auto/declarative/examples autotest
Martin Jones [Fri, 27 May 2011 03:39:15 +0000 (13:39 +1000)]
Some fixes for tests/auto/declarative/examples autotest

Change-Id: I58b4c52c64fc51863f14f50e077c975928e71ebb

13 years agoRemove webkit dependencies from qtdeclarative.
Martin Jones [Fri, 27 May 2011 03:00:47 +0000 (13:00 +1000)]
Remove webkit dependencies from qtdeclarative.

The webkit examples and demo should be added to webkit repo.
See https://bugs.webkit.org/show_bug.cgi?id=61596

Change-Id: Iffb2c5eb7f95a9bb563ad61c6002274cec54cd24

13 years agoSkip the qdeclarativeimage and qdeclarativeborderimage mirror test
Martin Jones [Fri, 27 May 2011 02:07:55 +0000 (12:07 +1000)]
Skip the qdeclarativeimage and qdeclarativeborderimage mirror test

Also mark qmlvisual tests as CONFIG+=insignificant_test

Change-Id: I0febeafca4d9aa08ac17a99c97880520be78a35a

13 years agoRevert "Make QSGTextNode back-end for QML's TextInput"
Martin Jones [Fri, 27 May 2011 02:06:20 +0000 (12:06 +1000)]
Revert "Make QSGTextNode back-end for QML's TextInput"

This reverts commit e430f1336881850a73a54a291e0276160d568212.

13 years agoMake tests compile.
Martin Jones [Fri, 27 May 2011 01:30:17 +0000 (11:30 +1000)]
Make tests compile.

Change-Id: Iecb50641f927b82533e25262ba1ab8a0a14a108c

13 years agoRemove webkit dependency from test.
Aaron Kennedy [Fri, 27 May 2011 00:44:13 +0000 (10:44 +1000)]
Remove webkit dependency from test.

This wasn't a real dependency anyway, as all the code that used it
is commented out.

13 years agoTextures not scheduled for deletion while scrolling QML view.
Bjørn Erik Nilsen [Thu, 26 May 2011 13:12:37 +0000 (15:12 +0200)]
Textures not scheduled for deletion while scrolling QML view.

This happened when scrolling a view using an Image delegate (containing
QSGTexture). All textures were deleted at exit, but it is important to
immediately schedule the texture for deletion whenever the delegate is
destroyed to avoid unnecessary high memory consumption.

Task-number: QTBUG-19511
Reviewed-by: gunnar
13 years agoMulti-line sprite files will now work
Alan Alpert [Thu, 26 May 2011 05:30:20 +0000 (15:30 +1000)]
Multi-line sprite files will now work

13 years agoRevert "uses the cached argument info"
Charles Yin [Wed, 25 May 2011 03:45:25 +0000 (13:45 +1000)]
Revert "uses the cached argument info"

This reverts commit 68d18d77ebac49c2b863c425969c70c5426864cd.

13 years agoRevert "cache the arguments in property cache data"
Charles Yin [Wed, 25 May 2011 03:45:18 +0000 (13:45 +1000)]
Revert "cache the arguments in property cache data"

This reverts commit 30327650798ba63281c7b9344c9d824d00dce82a.

13 years agoFix QSGImage autotest.
Yann Bodson [Wed, 25 May 2011 03:23:30 +0000 (13:23 +1000)]
Fix QSGImage autotest.

13 years agoImplement "mirror" property for BorderImage.
Martin Jones [Mon, 23 May 2011 07:09:58 +0000 (17:09 +1000)]
Implement "mirror" property for BorderImage.

Change-Id: Iee5b252ce1b0d39da42f553cf2ae782ad14d297f
Reviewed-by: Gunnar
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging
Qt Continuous Integration System [Tue, 24 May 2011 11:46:57 +0000 (21:46 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging:
  Update licenseheader text in source files for qtdeclarative Qt module

13 years agoUpdate licenseheader text in source files for qtdeclarative Qt module
Jyri Tahtela [Tue, 24 May 2011 11:43:28 +0000 (14:43 +0300)]
Update licenseheader text in source files for qtdeclarative Qt module

Updated version of LGPL and FDL licenseheaders.
Apply release phase licenseheaders for all source files.

Reviewed-by: Trust Me
13 years agoSmall optimizations in distance-field cache.
Yoann Lopes [Tue, 24 May 2011 09:43:17 +0000 (11:43 +0200)]
Small optimizations in distance-field cache.

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Gunnar Sletta [Mon, 23 May 2011 14:04:21 +0000 (16:04 +0200)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging
Qt Continuous Integration System [Mon, 23 May 2011 12:43:48 +0000 (22:43 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtdeclarative-staging:
  Doc: Fixed qdoc warnings.
  Doc: Various fixes to documentation, some based on changes in master.
  Doc: Added missing project and desktop files.
  Squashed commit of changes from the 4.8-temp branch.
  Doc: Fixed incorrect inline snippet for an example .sci file.
  Squashed commit of the changes from the mobile-examples repository (4.7-generated-declarative branch). (cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)

13 years agoDoc: Fixed qdoc warnings.
David Boddie [Wed, 11 May 2011 12:19:37 +0000 (14:19 +0200)]
Doc: Fixed qdoc warnings.

13 years agoDoc: Various fixes to documentation, some based on changes in master.
David Boddie [Tue, 10 May 2011 17:50:33 +0000 (19:50 +0200)]
Doc: Various fixes to documentation, some based on changes in 

13 years agoDoc: Added missing project and desktop files.
David Boddie [Tue, 10 May 2011 17:37:39 +0000 (19:37 +0200)]
Doc: Added missing project and desktop files.

13 years agoSquashed commit of changes from the 4.8-temp branch.
David Boddie [Wed, 11 May 2011 15:35:46 +0000 (17:35 +0200)]
Squashed commit of changes from the 4.8-temp branch.

13 years agoDoc: Fixed incorrect inline snippet for an example .sci file.
David Boddie [Mon, 18 Apr 2011 13:21:15 +0000 (15:21 +0200)]
Doc: Fixed incorrect inline snippet for an example .sci file.

Task-number: QTBUG-18812
(cherry picked from commit 4e8672c87bd7e740b01ca29a2a3c8ba902ed664b)
(cherry picked from commit d1e70c3dd05df1f92f7a895de0b86b0c3a562511)

13 years agoSquashed commit of the changes from the mobile-examples repository
David Boddie [Wed, 27 Apr 2011 17:16:41 +0000 (19:16 +0200)]
Squashed commit of the changes from the mobile-examples repository
(4.7-generated-declarative branch).
(cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Gunnar Sletta [Mon, 23 May 2011 11:51:45 +0000 (13:51 +0200)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoOptimize distance-field glyph recycling.
Yoann Lopes [Mon, 23 May 2011 11:39:53 +0000 (13:39 +0200)]
Optimize distance-field glyph recycling.

Unused glyphs in the cache should not be overwritten if they are
immediatly reused after being unreferenced.

13 years agoSet paintNode to 0 after deleting it.
Gunnar Sletta [Mon, 23 May 2011 11:45:31 +0000 (13:45 +0200)]
Set paintNode to 0 after deleting it.

Otherwise, we will get crashes if we're switching back and froth
between ItemHasContent set to true and false.

13 years agoDon't store texture references after the view has gone away
Gunnar Sletta [Mon, 23 May 2011 10:45:12 +0000 (12:45 +0200)]
Don't store texture references after the view has gone away

This is a partial fix only. We will eventually need to get
proper sharing of resources across multiple GL contexts, but this
fixes the autotest and will work for most usecases.

The task QTBUG-19455 has been created to solve it properly.

13 years agoMake QSGTextNode back-end for QML's TextInput
Eskil Abrahamsen Blomfeldt [Mon, 9 May 2011 10:07:55 +0000 (12:07 +0200)]
Make QSGTextNode back-end for QML's TextInput

To get the benefit of different glyph node backends, the
TextInput item has now been moved over on SceneGraph's
TextNode instead of QPainter, and selections and
decorations are painted using QSGSimpleRects.

13 years agoqmltestrunner not installed by default
Charles Yin [Mon, 23 May 2011 11:41:19 +0000 (21:41 +1000)]
qmltestrunner not installed by default

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Alan Alpert [Mon, 23 May 2011 09:04:33 +0000 (19:04 +1000)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoCompile on Mac
Alan Alpert [Mon, 23 May 2011 09:04:17 +0000 (19:04 +1000)]
Compile on Mac

13 years agoFix typo in API: QSGContext::schdelueTextureForCleanup.
Bjørn Erik Nilsen [Mon, 23 May 2011 08:39:58 +0000 (10:39 +0200)]
Fix typo in API: QSGContext::schdelueTextureForCleanup.

Reviewed-by: kim
13 years agoSupport change slots for properties starting with '_'
Chris Adams [Mon, 23 May 2011 05:22:37 +0000 (15:22 +1000)]
Support change slots for properties starting with '_'

According to ECMA-262r3, property names may begin with a letter,
underscore ('_'), dollar sign ('$'), or unicode escape sequence.
We previously supported Change slots for properties only if the
property name began with a letter; this patch adds support for
properties which begin with one or more underscore.

Task-number: QTBUG-17950
Reviewed-by: Aaron Kennedy
Change-Id: I6f28bde18a38e32c2131e0990fe0f69bda36f90e

13 years agoEnsure that showDirs is respected in FolderListModel
Chris Adams [Mon, 23 May 2011 05:38:53 +0000 (15:38 +1000)]
Ensure that showDirs is respected in FolderListModel

Calling index() on a QDirModel can modify the filters applied.
This patch to FolderListModel ensures that filtering is reset if
required, so that programmatically selecting a subfolder in a
folder does not cause that subfolder to become visible if showDirs
is set to false.

Task-number: QTBUG-17837
Reviewed-by: Martin Jones
Change-Id: I449321d5170ecedf2a0cb36483d50020305a26dd

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Alan Alpert [Mon, 23 May 2011 05:34:05 +0000 (15:34 +1000)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoRemove ModelParticle
Alan Alpert [Mon, 23 May 2011 05:33:06 +0000 (15:33 +1000)]
Remove ModelParticle

Nothing is using it anymore, lets keep it that way.

13 years agoFix QtDeclarative keyinteraction example
Yann Bodson [Mon, 23 May 2011 05:20:02 +0000 (15:20 +1000)]
Fix QtDeclarative keyinteraction example

Task-number: QTBUG-19033
(cherry picked from commit 00a72cd1f5aff15d5a3a59d61efd2f5653d7dd34)

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Alan Alpert [Mon, 23 May 2011 05:17:20 +0000 (15:17 +1000)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoSplit up ModelParticle
Alan Alpert [Mon, 23 May 2011 05:16:00 +0000 (15:16 +1000)]
Split up ModelParticle

Now has DataParticle (with model and delegate) and an ItemParticle
(which you just feed items manually). ModelParticle left for now for
damage control - it will probably just disappear someday.

13 years agoFix QDeclarativeImage test
Yann Bodson [Mon, 23 May 2011 04:44:10 +0000 (14:44 +1000)]
Fix QDeclarativeImage test

Use smaller images that fit in the cache.

Task-number: QTBUG-19425

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Alan Alpert [Mon, 23 May 2011 03:08:02 +0000 (13:08 +1000)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoFixed switching between particle performance modes
Alan Alpert [Mon, 23 May 2011 03:07:21 +0000 (13:07 +1000)]
Fixed switching between particle performance modes

Actually switches shaders, and does not lose emitted particle data.

13 years agoqmltestcase.prf moved to qtbase
Charles Yin [Sat, 21 May 2011 13:53:11 +0000 (23:53 +1000)]
qmltestcase.prf moved to qtbase