profile/ivi/qtdeclarative.git
13 years agoReduce usage of Q_ASSERT in autotests.
Jason McDonald [Wed, 18 May 2011 00:45:16 +0000 (10:45 +1000)]
Reduce usage of Q_ASSERT in autotests.

Using Q_ASSERT does nothing in release-mode builds, and in debug builds
it causes tests to terminate prematurely.  It is much better to use
QVERIFY or QCOMPARE.

Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 3475168550c1a804f04f2a4edfeb30c04cd36551)

13 years agoRemove Q_ASSERT from qdeclarativexmllistmodel test
Jason McDonald [Wed, 4 May 2011 02:54:10 +0000 (12:54 +1000)]
Remove Q_ASSERT from qdeclarativexmllistmodel test

Report a meaningful warning in all builds rather than aborting in debug
builds and doing nothing in release builds.

Change-Id: I14aa7bc8699f5307e1ec34b18006b9fbbd8aca8e
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 1ea84cba1f90a9c95c54480117342dba0eae3d2f)

13 years agoRemove Q_ASSERT's from ecmascript test.
Jason McDonald [Wed, 4 May 2011 02:26:59 +0000 (12:26 +1000)]
Remove Q_ASSERT's from ecmascript test.

These Q_ASSERT's were redundant as the test functions that call these
functions already verify that "value == 0".

Change-Id: Ic23e539c5814153d67fea8156ade0783f91d7b83
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 6f791f8ad0b7ef023d91c1609ce076443f335c13)

13 years agoRemove Q_ASSERT from QDeclarativeListModel autotest.
Jason McDonald [Fri, 15 Apr 2011 06:15:39 +0000 (16:15 +1000)]
Remove Q_ASSERT from QDeclarativeListModel autotest.

Change-Id: Ic15b747fa50bcec54df748b173b299058f69c681
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 59a6e6200984ccbb862b8758436a5e88b8c40bbc)

13 years agoRemove redundant Q_ASSERT from qmlvisual autotest.
Jason McDonald [Fri, 15 Apr 2011 05:25:45 +0000 (15:25 +1000)]
Remove redundant Q_ASSERT from qmlvisual autotest.

Change-Id: I5c413793ee6322b5be1ae52658362803dc4c2010
Task-number: QTBUG-17582
Reviewed-by: Alan Alpert
(cherry picked from commit d6bd4db2db6dbefec327e226bf54a69a20690a45)

13 years agoRemove Q_ASSERT calls that wrap side-effecting code.
Jason McDonald [Fri, 15 Apr 2011 04:15:49 +0000 (14:15 +1000)]
Remove Q_ASSERT calls that wrap side-effecting code.

In release mode builds, code inside Q_ASSERT macros is not executed, so
putting code with side-effects inside Q_ASSERT is not a good idea.

Task-number: QTBUG-17582
Change-Id: I1a5d8ccce666ee7b7f120bf9cbb49e30dac9add4
Reviewed-by: Rohan McGovern
(cherry picked from commit 1750a4351a8125756bf38a53d6d8312993c7d85e)

13 years agoAdd autotests to .pro file
Yann Bodson [Tue, 17 May 2011 06:07:14 +0000 (16:07 +1000)]
Add autotests to .pro file

13 years agoMake QSGImage autotests compile.
Yann Bodson [Tue, 17 May 2011 05:50:03 +0000 (15:50 +1000)]
Make QSGImage autotests compile.

13 years agoskip unit tests if no required OpenGL 2.0 feature on this platform
Charles Yin [Mon, 16 May 2011 03:49:56 +0000 (13:49 +1000)]
skip unit tests if no required OpenGL 2.0 feature on this platform

Change-Id: I68feb5938339f327b45cf66b7aec1c582753f18d

13 years agoFix emitter burst method bugs
Alan Alpert [Tue, 17 May 2011 03:48:20 +0000 (13:48 +1000)]
Fix emitter burst method bugs

Burst will now always burst at the x,y where it was called, and doesn't
leave trails between close bursts. Kill affector also gets a fix for
double killing things sometimes.

13 years agoApply 2081a3d0fd7266ffba83849fee967e048e991270 to SG TextInput
Martin Jones [Mon, 16 May 2011 23:17:36 +0000 (09:17 +1000)]
Apply 2081a3d0fd7266ffba83849fee967e048e991270 to SG TextInput

13 years agoAdded documentation for ShaderEffectItem.
Kim Motoyoshi Kalland [Mon, 16 May 2011 14:57:41 +0000 (16:57 +0200)]
Added documentation for ShaderEffectItem.

Also removed unused signal.

13 years agoAdded documentation for ShaderEffectSource.
Kim Motoyoshi Kalland [Mon, 16 May 2011 08:57:12 +0000 (10:57 +0200)]
Added documentation for ShaderEffectSource.

13 years agoCompile without qt3support
Yann Bodson [Mon, 16 May 2011 04:09:05 +0000 (14:09 +1000)]
Compile without qt3support

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

13 years agoFix QSGBorderImage and QSGAnimatedImage autotests
Yann Bodson [Mon, 16 May 2011 03:14:44 +0000 (13:14 +1000)]
Fix QSGBorderImage and QSGAnimatedImage autotests

13 years agoUpdate QDeclarativeTextInput to match accessibility changes
Alan Alpert [Mon, 16 May 2011 01:59:36 +0000 (11:59 +1000)]
Update QDeclarativeTextInput to match accessibility changes

Reviewed-by: Martin Jones
13 years agoDoc
Aaron Kennedy [Mon, 16 May 2011 01:08:38 +0000 (11:08 +1000)]
Doc

Change-Id: I25f1885ef285fb3bd14c1f499b9f42e38bba5ec6
Task-number: QTBUG-19265
(cherry picked from commit 01a374fe8a6ac0b6e374081c07720e77c61effff)

13 years agouses the cached argument info
Charles Yin [Tue, 15 Mar 2011 02:11:00 +0000 (12:11 +1000)]
uses the cached argument info

Change-Id: I884516c9c20425bfd17a2db7d5541fbc5cff41c6
(cherry picked from commit b4613a346effee81f10bee99a6a8d3064cbdd13e)

13 years agoregister canvas and related classess
Charles Yin [Mon, 16 May 2011 00:20:12 +0000 (10:20 +1000)]
register canvas and related classess

13 years agocanvasitem implementation based on painteditem
Charles Yin [Mon, 16 May 2011 00:15:24 +0000 (10:15 +1000)]
canvasitem implementation based on painteditem

13 years agoadd toImage() function to QSGPainterNode
Charles Yin [Mon, 16 May 2011 00:14:34 +0000 (10:14 +1000)]
add toImage() function to QSGPainterNode

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Eckhart Koppen [Fri, 13 May 2011 20:00:00 +0000 (23:00 +0300)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoUpdate module version number to 5.0.0
Eckhart Koppen [Fri, 13 May 2011 10:30:08 +0000 (13:30 +0300)]
Update module version number to 5.0.0

Updated .pri file variables
(cherry picked from commit a7fe708da19d6757322f871777ba16ace3721561)

13 years agoHonor -nomake for examples and demos
Eckhart Koppen [Fri, 13 May 2011 18:51:24 +0000 (21:51 +0300)]
Honor -nomake for examples and demos

Don't build or install demos and examples when they are disabled.

Reviewed-by: TrustMe
(cherry picked from commit 61c0b5c3923956db53408ad3513488f6f4893c2f)

13 years agoCall QSGPaintedItem::paint() when the scene graph is synced.
Yoann Lopes [Fri, 13 May 2011 13:57:51 +0000 (15:57 +0200)]
Call QSGPaintedItem::paint() when the scene graph is synced.

At that moment the GUI thread is blocked and it is therefore safe to
call paint() from the scenegraph thread.

13 years agocache the arguments in property cache data
Charles Yin [Tue, 15 Mar 2011 02:10:01 +0000 (12:10 +1000)]
cache the arguments in property cache data

Change-Id: Ie02b94c2ddb1d5d7b7bb6556a01a5ae86a438c57
(cherry picked from commit 39fed3e2601935c1d6834bb5e75266e5b280e5cd)

13 years agoFix QSGBorderImage autotest.
Yann Bodson [Fri, 13 May 2011 03:35:49 +0000 (13:35 +1000)]
Fix QSGBorderImage autotest.

13 years agoQmlDirParser: Fix typeInfo accessor.
Christian Kamm [Thu, 12 May 2011 11:41:11 +0000 (13:41 +0200)]
QmlDirParser: Fix typeInfo accessor.

Reviewed-by: Kai Koehne
(cherry picked from commit 7fcda24112d690575007ddcb11e097a9c33e0f19)

13 years agoWhen calling update() on a QSGItem during the sync phase, we did not update.
Gunnar Sletta [Thu, 12 May 2011 10:54:54 +0000 (12:54 +0200)]
When calling update() on a QSGItem during the sync phase, we did not update.

The QSGCanvas autotest did this.

Reviewed-by: Kim
13 years agoDon't crash when the shader source is null.
Gunnar Sletta [Thu, 12 May 2011 07:42:16 +0000 (09:42 +0200)]
Don't crash when the shader source is null.

13 years agoAdded auto tests for properties initialized using JS statements
Roberto Raggi [Thu, 12 May 2011 09:44:17 +0000 (11:44 +0200)]
Added auto tests for properties initialized using JS statements

13 years agoFix the QML front-end to allow side effects in the initializer.
Roberto Raggi [Thu, 12 May 2011 09:31:31 +0000 (11:31 +0200)]
Fix the QML front-end to allow side effects in the initializer.

Task-number: QTBUG-15117

13 years agoOutput warning if using unsupported texture wrap mode.
Kim Motoyoshi Kalland [Wed, 11 May 2011 15:46:06 +0000 (17:46 +0200)]
Output warning if using unsupported texture wrap mode.

The REPEAT wrap mode is not supported by default for non-
power-of-two textures in OpenGL ES 2. Output warning in
QSGTexture::updateBindOptions() in debug mode.

13 years agoUpgrade Flickr demo to QtQuick 2.
Alan Alpert [Thu, 12 May 2011 05:43:29 +0000 (15:43 +1000)]
Upgrade Flickr demo to QtQuick 2.

And throw in particle effects.

Includes a variety of fixes to modelparticle and picture affector which
were arrived at during this demo.

13 years agotests: build autotests by default for qtdeclarative
Rohan McGovern [Wed, 11 May 2011 22:47:43 +0000 (08:47 +1000)]
tests: build autotests by default for qtdeclarative

Configure Qt with `-nomake tests' if you don't want the tests.

Reviewed-by: Jason McDonald
Change-Id: I1af6a231b9cfb8ecf3e3a0c932ead6ddff7bbe90

13 years agotests: mark tst_qsgitem as a private-test
Rohan McGovern [Wed, 11 May 2011 23:52:48 +0000 (09:52 +1000)]
tests: mark tst_qsgitem as a private-test

This test uses private symbols.

Reviewed-by: Jason McDonald
Change-Id: I026f4d00be5f53203d0b155e08533474cc4d9605

13 years agoFixed incorrect usage of `signals', `slots' in headers
Rohan McGovern [Thu, 12 May 2011 00:00:26 +0000 (10:00 +1000)]
Fixed incorrect usage of `signals', `slots' in headers

Qt headers must use Q_SIGNALS, Q_SLOTS.

Reviewed-by: Jason McDonald
Change-Id: I54b3322befd8f133d44aa48f3aa7cd96785d2e24

13 years agoImprove error message for invalid image provider name.
Martin Jones [Thu, 12 May 2011 04:34:48 +0000 (14:34 +1000)]
Improve error message for invalid image provider name.

Also fix broken qdeclarativeimageprovider test.

13 years agoCompile.
Martin Jones [Thu, 12 May 2011 03:40:02 +0000 (13:40 +1000)]
Compile.

13 years agoFixed image tiling on scene graph.
Kim Motoyoshi Kalland [Wed, 11 May 2011 13:12:08 +0000 (15:12 +0200)]
Fixed image tiling on scene graph.

Repeat wrapping of non-power-of-two textures is not supported
on OpenGL ES 2 by default. This commit implements a fallback
for tiled QML Images.

13 years agoFixes crash in PaintedItem example when using threaded rendering.
Yoann Lopes [Wed, 11 May 2011 13:55:01 +0000 (15:55 +0200)]
Fixes crash in PaintedItem example when using threaded rendering.

13 years agoDocumentation and API cleanup of QSGMaterial
Gunnar Sletta [Wed, 11 May 2011 10:56:51 +0000 (12:56 +0200)]
Documentation and API cleanup of QSGMaterial

13 years agoDelete the rendering thread when shutting down
Gunnar Sletta [Wed, 11 May 2011 10:54:41 +0000 (12:54 +0200)]
Delete the rendering thread when shutting down

13 years agoStop the render thread before deleting the QSGCanvas.
Gunnar Sletta [Wed, 11 May 2011 05:55:56 +0000 (07:55 +0200)]
Stop the render thread before deleting the QSGCanvas.

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

13 years agoAdd private parts to autotest .pro files
Alan Alpert [Wed, 11 May 2011 09:11:18 +0000 (19:11 +1000)]
Add private parts to autotest .pro files

13 years agoAugment Documentation
Alan Alpert [Wed, 11 May 2011 07:53:22 +0000 (17:53 +1000)]
Augment Documentation

Task-number: QTBUG-18235

13 years agoAdd user documentation for scarce resource properties
Chris Adams [Tue, 10 May 2011 02:10:06 +0000 (12:10 +1000)]
Add user documentation for scarce resource properties

Relates to commit 59ace5c5a666b1588560d2aeaa79a57da535e863.

Task-number: QMLNG-18
Reviewed-by: Aaron Kennedy
Change-Id: I216ced4c663ebab8003978999dc16ac809443a5f

13 years agoReplaced grab() with scheduleUpdate().
Kim Motoyoshi Kalland [Tue, 10 May 2011 14:38:44 +0000 (16:38 +0200)]
Replaced grab() with scheduleUpdate().

Replaced the synchronous function grab() with an asynchronous
function scheduleUpdate() in QShaderEffectSource because
synchronous grabbing doesn't work with threaded rendering.

13 years agoDocumented which thread gets the QSGPaintedItem::paint() call.
Yoann Lopes [Tue, 10 May 2011 11:12:14 +0000 (13:12 +0200)]
Documented which thread gets the QSGPaintedItem::paint() call.

13 years agoUpdate to work with QGlyphs -> QGlyphRun renaming
Eskil Abrahamsen Blomfeldt [Tue, 10 May 2011 10:18:55 +0000 (12:18 +0200)]
Update to work with QGlyphs -> QGlyphRun renaming

Just some search replace to make the repository compile after
QGlyphs and related APIs were renamed.

13 years agoAdded a separate property to enable mipmapping on QSGPaintedItem.
Yoann Lopes [Tue, 10 May 2011 10:11:24 +0000 (12:11 +0200)]
Added a separate property to enable mipmapping on QSGPaintedItem.

Don't use QSGItem's smooth property for that anymore.

13 years agoQmlViewer: Remove one call to enableDebugging
Kai Koehne [Tue, 10 May 2011 09:42:03 +0000 (11:42 +0200)]
QmlViewer: Remove one call to enableDebugging

Merge f9b198987d2 resulted in two calls of the method.

Reviewed-by: TrustMe
13 years agoQmlViewer: Translate UI
Kai Koehne [Mon, 2 May 2011 12:03:35 +0000 (14:03 +0200)]
QmlViewer: Translate UI

Install translators for the Qt & QmlViewer translations. also
add QT_NO_CAST_FROM_ASCII, QT_NO_CAST_TO_ASCII to check for untranslated
strings.

Reviewed-by: Oswald Buddenhagen
Task-number: QTBUG-14848

(cherry-picked from commit f33b31dcc1b8fd35501ab5b441a4529e2f8570f3)

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

13 years agoBenchmark component creation with different types of bindings.
Martin Jones [Tue, 10 May 2011 04:46:10 +0000 (14:46 +1000)]
Benchmark component creation with different types of bindings.

13 years agoAdd user documentation for js imports functionality
Chris Adams [Tue, 10 May 2011 02:14:09 +0000 (12:14 +1000)]
Add user documentation for js imports functionality

Relates to commit 6f8637810e549dac3ee8386f199a997d21ac85ce.

Task-number: QMLNG-18
Reviewed-by: Martin Jones
Change-Id: I96f0e2ebc4206d6c2a0fda476d214e549666a69c

13 years agoFix Rectangle implementation.
Kim Motoyoshi Kalland [Mon, 9 May 2011 14:59:37 +0000 (16:59 +0200)]
Fix Rectangle implementation.

13 years agoUdate mipmaps when QSGPaintedItem's texture has changed.
Yoann Lopes [Mon, 9 May 2011 15:16:16 +0000 (17:16 +0200)]
Udate mipmaps when QSGPaintedItem's texture has changed.

13 years agoDocs for QSGTextureMaterials
Gunnar Sletta [Mon, 9 May 2011 11:51:12 +0000 (13:51 +0200)]
Docs for QSGTextureMaterials

13 years agoRenamed of texture material classes to be more intuitivly named
Gunnar Sletta [Mon, 9 May 2011 10:56:50 +0000 (12:56 +0200)]
Renamed of texture material classes to be more intuitivly named

The assumption is that most people will use QSGTextureMaterial
so this should be the one that works for both transparent
and opaque textures. QSGOpaqueTextureMaterial is an optimization

13 years agoClean up QSGVertexColorMaterial a bit
Gunnar Sletta [Mon, 9 May 2011 10:41:00 +0000 (12:41 +0200)]
Clean up QSGVertexColorMaterial a bit

13 years agoRemoved a few warnings
Gunnar Sletta [Mon, 9 May 2011 09:54:31 +0000 (11:54 +0200)]
Removed a few warnings

13 years agoDocs for vertex and flat color materials
Gunnar Sletta [Mon, 9 May 2011 09:54:10 +0000 (11:54 +0200)]
Docs for vertex and flat color materials

13 years agoEnable mipmapping for QSGPaintedItem's texture.
Yoann Lopes [Mon, 9 May 2011 11:12:35 +0000 (13:12 +0200)]
Enable mipmapping for QSGPaintedItem's texture.

13 years agoFixed issues with ShaderEffectSource and threaded rendering.
Kim Motoyoshi Kalland [Mon, 9 May 2011 10:58:40 +0000 (12:58 +0200)]
Fixed issues with ShaderEffectSource and threaded rendering.

13 years agoAdded 'recursive' property to ShaderEffectSource.
Kim Motoyoshi Kalland [Thu, 5 May 2011 13:33:45 +0000 (15:33 +0200)]
Added 'recursive' property to ShaderEffectSource.

If 'recursive' is set, ShaderEffectSource will keep two
buffers, alternatingly sourcing from one while rendering into
the other.

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Gunnar Sletta [Mon, 9 May 2011 08:36:33 +0000 (10:36 +0200)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoDocumentation for the scenegraph nodes
Gunnar Sletta [Mon, 9 May 2011 08:33:24 +0000 (10:33 +0200)]
Documentation for the scenegraph nodes

13 years agoFix wrong usages of #include directives in the QML/JS parser.
Roberto Raggi [Mon, 9 May 2011 08:30:02 +0000 (10:30 +0200)]
Fix wrong usages of #include directives in the QML/JS parser.

Reviewed-by: Aaron Kennedy
13 years agoAdded a "void *reserved" for QSGNode for potential future extensions
Gunnar Sletta [Mon, 9 May 2011 08:30:36 +0000 (10:30 +0200)]
Added a "void *reserved" for QSGNode for potential future extensions

13 years agoAugment Documentation
Alan Alpert [Mon, 9 May 2011 02:48:21 +0000 (12:48 +1000)]
Augment Documentation

Task-number: QTBUG-19112
Reviewed-by: Martin Jones
13 years agoMade opacity work for QSGSimpleTextureNode.
Samuel Rødal [Fri, 6 May 2011 12:04:11 +0000 (14:04 +0200)]
Made opacity work for QSGSimpleTextureNode.

Reviewed-by: Kim
13 years agoDon't visit the sub tree of an AST::UiScriptBinding node.
Roberto Raggi [Fri, 6 May 2011 08:08:27 +0000 (10:08 +0200)]
Don't visit the sub tree of an AST::UiScriptBinding node.

ProcessAST needs to look only at QML nodes and as we know
it is impossible to find QML nodes inside JavaScript statements.

13 years agoFix potential crash when displaying multiscripted text
Eskil Abrahamsen Blomfeldt [Thu, 5 May 2011 14:49:06 +0000 (16:49 +0200)]
Fix potential crash when displaying multiscripted text

Shaping has to be done in the current thread, otherwise the
font engines index for each glyph (referenced in the msb of the glyph
index) might not be valid yet, because the font engines list is
populated when shaping is done. So we need to make sure that the
render thread relayouts. Geometry changes will already cause a
relayout, which will in turn cause another relayout when the
paint node is updated. There doesn't seem to be any convenient
and safe way of avoiding this doubling of the layout step if we
want to have rendering in a different thread than the QML graph.

Reviewed-by: Gunnar
13 years agoMake animation driver pluggable through the QSGContext
Gunnar Sletta [Thu, 5 May 2011 09:26:47 +0000 (11:26 +0200)]
Make animation driver pluggable through the QSGContext

13 years agoAdd unit test and documentation for module API
Chris Adams [Fri, 6 May 2011 03:18:19 +0000 (13:18 +1000)]
Add unit test and documentation for module API

Related to commit ae6c7a44394d4a5f943f1fc92f4de015ec7bcc96.
Previously, only property access on module API was tested.
This commit adds a test which calls a method on a module API.
It also adds documentation for the qmlRegisterModuleApi functions.

Task-number: QMLNG-33
Reviewed-by: Martin Jones
13 years agoFix evaluation of boolean conditions
Roberto Raggi [Thu, 5 May 2011 15:19:01 +0000 (17:19 +0200)]
Fix evaluation of boolean conditions

Ensure that the operand of IR::OpIfTrue and IR::OpNot has boolean type.

13 years agoImplemented contentsSize and contentsScale for QSGPaintedItem.
Yoann Lopes [Thu, 5 May 2011 13:41:36 +0000 (15:41 +0200)]
Implemented contentsSize and contentsScale for QSGPaintedItem.

13 years agoMakes sub-pixel antialiased distance-field text looks slightly sharper.
Yoann Lopes [Thu, 5 May 2011 10:02:20 +0000 (12:02 +0200)]
Makes sub-pixel antialiased distance-field text looks slightly sharper.

13 years agoEnable the threaded renderer.
Gunnar Sletta [Thu, 5 May 2011 08:03:04 +0000 (10:03 +0200)]
Enable the threaded renderer.

Disable by specifying QML_NO_THREADED_RENDERER if this
causes problems

13 years agoCompilation benchmark
Aaron Kennedy [Thu, 5 May 2011 05:24:17 +0000 (15:24 +1000)]
Compilation benchmark

Change-Id: Iaa875817367d3a9600dd1ad685f996377af9f82d

13 years agoInline static data for basic types into the QML instruction
Aaron Kennedy [Thu, 5 May 2011 04:16:27 +0000 (14:16 +1000)]
Inline static data for basic types into the QML instruction

The following types are now entirely inline:
    QPoint, QPointF
    QSize, QSizeF
    QRect, QRectF
    QVector3D,
    QTime, QDateTime
    CustomTypeData

Reviewed-by: Martin Jones
Change-Id: I7024d136c77f8fb23ef6a6abb23ddfe0f9f8a1ca

13 years agoSupport variable length instructions in QML bytecode
Aaron Kennedy [Thu, 5 May 2011 03:48:29 +0000 (13:48 +1000)]
Support variable length instructions in QML bytecode

Reviewed-by: Martin Jones
Change-Id: Ib04b8d46a78723d3a734e14d22a2f2256c1627c2

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Alan Alpert [Thu, 5 May 2011 01:29:03 +0000 (11:29 +1000)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoModel Particle fixes
Alan Alpert [Thu, 5 May 2011 01:28:06 +0000 (11:28 +1000)]
Model Particle fixes

Now tracks model count changes.

13 years agoOnly include line numbers when necessary
Aaron Kennedy [Thu, 5 May 2011 01:07:59 +0000 (11:07 +1000)]
Only include line numbers when necessary

The mandatory line number bloats QML instructions for no reason.
Moving it inline actually increases the instruction size further,
but that will come down again once variable sized instruction
support is added.

Change-Id: I0ace03a50371ef57946edbb7c8e0e8c2fa4fdd76

13 years agoadded private headers to qmlscene
Gunnar Sletta [Wed, 4 May 2011 10:57:28 +0000 (12:57 +0200)]
added private headers to qmlscene

13 years agoadded private headers to qmlplugindump.pro
Gunnar Sletta [Wed, 4 May 2011 09:52:52 +0000 (11:52 +0200)]
added private headers to qmlplugindump.pro

13 years agoMerge branch 'master' into qtquick2
Gunnar Sletta [Wed, 4 May 2011 09:38:59 +0000 (11:38 +0200)]
Merge branch 'master' into qtquick2

Conflicts:
src/imports/particles/particles.pro

13 years agoMerge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Gunnar Sletta [Wed, 4 May 2011 08:21:47 +0000 (10:21 +0200)]
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2

13 years agoUpdate SG items with GV item changes.
Martin Jones [Wed, 4 May 2011 07:53:51 +0000 (17:53 +1000)]
Update SG items with GV item changes.

13 years agoFix QSGText autotests
Yann Bodson [Wed, 4 May 2011 07:42:49 +0000 (17:42 +1000)]
Fix QSGText autotests

13 years agoFix crashing QtQuick 1 Image elements.
Martin Jones [Wed, 4 May 2011 04:43:16 +0000 (14:43 +1000)]
Fix crashing QtQuick 1 Image elements.

13 years agoCode cleanup in QSGShaderEffectTexture.
Kim Motoyoshi Kalland [Tue, 3 May 2011 14:50:51 +0000 (16:50 +0200)]
Code cleanup in QSGShaderEffectTexture.

13 years agoAdded .tag file with Git revision.
axis [Tue, 3 May 2011 14:21:07 +0000 (16:21 +0200)]
Added .tag file with Git revision.

13 years agoRemoved unused properties in QSGPaintedItem.
Yoann Lopes [Tue, 3 May 2011 12:43:51 +0000 (14:43 +0200)]
Removed unused properties in QSGPaintedItem.

13 years agoAdded antialiasing property to QSGPaintedItem.
Yoann Lopes [Tue, 3 May 2011 12:41:52 +0000 (14:41 +0200)]
Added antialiasing property to QSGPaintedItem.

13 years agoStart QtQuick2 section of whats new.
Alan Alpert [Tue, 3 May 2011 05:13:50 +0000 (15:13 +1000)]
Start QtQuick2 section of whats new.

With the minor MouseArea behaviour change.