<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/src, branch wip/gc</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Don't append garbage to the function parameter slots</title>
<updated>2014-04-04T20:17:13+00:00</updated>
<author>
<name>Thiago Macieira</name>
<email>thiago.macieira@intel.com</email>
</author>
<published>2014-04-03T06:12:52+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=fc86116dfd8559764b2cd21fcfdb7c5d2d739aa3'/>
<id>fc86116dfd8559764b2cd21fcfdb7c5d2d739aa3</id>
<content type='text'>
If the argument is neither a temporary nor a constant, slot isn't
initialized. So don't try to add it.

qqmltypecompiler.cpp:2548:36: error: variable 'slot' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
qqmltypecompiler.cpp:2553:36: note: uninitialized use occurs here
        _functionParameters.append(slot);
                                   ^~~~

Change-Id: I5a538bfa0ef1fbbd00e23dfd6e15c404359c7c46
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
Reviewed-by: Lars Knoll &lt;lars.knoll@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the argument is neither a temporary nor a constant, slot isn't
initialized. So don't try to add it.

qqmltypecompiler.cpp:2548:36: error: variable 'slot' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
qqmltypecompiler.cpp:2553:36: note: uninitialized use occurs here
        _functionParameters.append(slot);
                                   ^~~~

Change-Id: I5a538bfa0ef1fbbd00e23dfd6e15c404359c7c46
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
Reviewed-by: Lars Knoll &lt;lars.knoll@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Regression: Fix id objects in group properties</title>
<updated>2014-04-04T15:26:20+00:00</updated>
<author>
<name>Simon Hausmann</name>
<email>simon.hausmann@digia.com</email>
</author>
<published>2014-04-03T15:20:18+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2ee0b6ed788325cad73c3646ab2d72eadeeb1b0c'/>
<id>2ee0b6ed788325cad73c3646ab2d72eadeeb1b0c</id>
<content type='text'>
Setting someGroupProperty.id should not be subject to the usual
restrictions with regards to valid values for id properties.

Task-number: QTBUG-38085
Change-Id: Ie66d9d4d4524ddaf5a6a0b0e260354db44d9995e
Reviewed-by: Lars Knoll &lt;lars.knoll@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setting someGroupProperty.id should not be subject to the usual
restrictions with regards to valid values for id properties.

Task-number: QTBUG-38085
Change-Id: Ie66d9d4d4524ddaf5a6a0b0e260354db44d9995e
Reviewed-by: Lars Knoll &lt;lars.knoll@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the destroy method optional</title>
<updated>2014-04-04T15:26:20+00:00</updated>
<author>
<name>Lars Knoll</name>
<email>lars.knoll@digia.com</email>
</author>
<published>2014-04-03T10:35:26+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=873f927fe225e2da9870997c73497c528e77e210'/>
<id>873f927fe225e2da9870997c73497c528e77e210</id>
<content type='text'>
This allows us to avoid calling a destructor on objects
that don't require one. After the memberData change this
should be most objects.

Also fix a bug where we didn't call the destroy() method on
large objects, potentially leaking memory.

Change-Id: I1708055d568d85b0a3876899d35e8c3eb92dd222
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows us to avoid calling a destructor on objects
that don't require one. After the memberData change this
should be most objects.

Also fix a bug where we didn't call the destroy() method on
large objects, potentially leaking memory.

Change-Id: I1708055d568d85b0a3876899d35e8c3eb92dd222
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Garbage collect member data</title>
<updated>2014-04-04T15:26:20+00:00</updated>
<author>
<name>Lars Knoll</name>
<email>lars.knoll@digia.com</email>
</author>
<published>2014-03-31T13:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=8e556778c8324c61ddf5842e457c873c1b5aac02'/>
<id>8e556778c8324c61ddf5842e457c873c1b5aac02</id>
<content type='text'>
Move the allocated member data into the garbage collected
area, so that we can avoid using malloc/free for it.

Change-Id: I20625efa67ecd60238568742b74854b0c8cb2e3e
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the allocated member data into the garbage collected
area, so that we can avoid using malloc/free for it.

Change-Id: I20625efa67ecd60238568742b74854b0c8cb2e3e
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop the animation driver when no animations are ticking.</title>
<updated>2014-04-04T13:45:49+00:00</updated>
<author>
<name>Gunnar Sletta</name>
<email>gunnar.sletta@jollamobile.com</email>
</author>
<published>2014-03-31T13:38:36+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b02eeeee586abe343b8866385c1327ac009b3ef0'/>
<id>b02eeeee586abe343b8866385c1327ac009b3ef0</id>
<content type='text'>
When animations were registered we made a queued connection to
'startAnimations' to start the animation driver and also set the
'startAnimationPending' state to true. In 'stopTimer' we aborted
if 'startAnimationPending' was true, presumeably to avoid stopping
just to restart shortly after.

However, if an animation is registered which triggers the invoke
and then is immediately removed again, 'startAnimationPending' will
be true with no pending animations at the time of 'stopTimer'. As
a result, the driver would not stop and the system would continue
animating and trying to render.

Change-Id: Icbb01d7129c3a1bddef08a9f2a7aee957e3d2909
Reviewed-by: Michael Brasser &lt;michael.brasser@live.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When animations were registered we made a queued connection to
'startAnimations' to start the animation driver and also set the
'startAnimationPending' state to true. In 'stopTimer' we aborted
if 'startAnimationPending' was true, presumeably to avoid stopping
just to restart shortly after.

However, if an animation is registered which triggers the invoke
and then is immediately removed again, 'startAnimationPending' will
be true with no pending animations at the time of 'stopTimer'. As
a result, the driver would not stop and the system would continue
animating and trying to render.

Change-Id: Icbb01d7129c3a1bddef08a9f2a7aee957e3d2909
Reviewed-by: Michael Brasser &lt;michael.brasser@live.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use global context sharing from QtGui instead of QSGContext</title>
<updated>2014-04-04T11:49:51+00:00</updated>
<author>
<name>Jocelyn Turcotte</name>
<email>jocelyn.turcotte@digia.com</email>
</author>
<published>2014-03-28T14:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=82e4ee03918a8abef4479ae67f259bfae4e6b79c'/>
<id>82e4ee03918a8abef4479ae67f259bfae4e6b79c</id>
<content type='text'>
This removes QSGContext::sharedOpenGLContext and replace its uses
with QOpenGLContextPrivate::globalShareContext, which is also going
to be used by QOpenGLWidget and QQuickWidget.

Change-Id: I1e296c3e6832f717caaf31ba7d7b27c06249219b
Reviewed-by: Laszlo Agocs &lt;laszlo.agocs@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes QSGContext::sharedOpenGLContext and replace its uses
with QOpenGLContextPrivate::globalShareContext, which is also going
to be used by QOpenGLWidget and QQuickWidget.

Change-Id: I1e296c3e6832f717caaf31ba7d7b27c06249219b
Reviewed-by: Laszlo Agocs &lt;laszlo.agocs@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize variables in QQuickItemParticle</title>
<updated>2014-04-04T01:10:01+00:00</updated>
<author>
<name>Gunnar Sletta</name>
<email>gunnar.sletta@jollamobile.com</email>
</author>
<published>2014-04-02T12:25:15+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=841e81c7bd184969ae93c30b6f5730b78b54211a'/>
<id>841e81c7bd184969ae93c30b6f5730b78b54211a</id>
<content type='text'>
Change-Id: I42a7b1481014e06e25ab4d9d6f2f36fb3515f735
Reviewed-by: Laszlo Agocs &lt;laszlo.agocs@digia.com&gt;
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I42a7b1481014e06e25ab4d9d6f2f36fb3515f735
Reviewed-by: Laszlo Agocs &lt;laszlo.agocs@digia.com&gt;
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Fix some code snippet warnings</title>
<updated>2014-04-03T17:57:54+00:00</updated>
<author>
<name>Sergio Ahumada</name>
<email>sahumada@blackberry.com</email>
</author>
<published>2014-04-03T09:10:49+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2573021475b799f58575baf24088ca337bb982b9'/>
<id>2573021475b799f58575baf24088ca337bb982b9</id>
<content type='text'>
Seems like \qml \endqml is not able to parse some snippets, so using
\code \endcode instead to fix warnings like:

  Unable to parse QML snippet: "Expected token `{'" at line 1, column 13

Change-Id: Iecf033ff5610405d946390e69c3aa7ec54a21998
Reviewed-by: Jerome Pasion &lt;jerome.pasion@digia.com&gt;
Reviewed-by: Sze Howe Koh &lt;szehowe.koh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems like \qml \endqml is not able to parse some snippets, so using
\code \endcode instead to fix warnings like:

  Unable to parse QML snippet: "Expected token `{'" at line 1, column 13

Change-Id: Iecf033ff5610405d946390e69c3aa7ec54a21998
Reviewed-by: Jerome Pasion &lt;jerome.pasion@digia.com&gt;
Reviewed-by: Sze Howe Koh &lt;szehowe.koh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use RAII for VME profiler</title>
<updated>2014-04-03T11:59:37+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@digia.com</email>
</author>
<published>2014-04-02T10:02:14+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=ef2e5a39fa188c0fb229e7847b5ac3f177ba778e'/>
<id>ef2e5a39fa188c0fb229e7847b5ac3f177ba778e</id>
<content type='text'>
Now that object creation is done in nested function calls we can
use an RAII-type profiler to trace it. This makes the profiling
much simpler and more robust.

Also, the stack of profiling data in the VME profiler has to match
the stack of completion callbacks in the VME, so the push and pop
operations are synchronized now.

Task-number: QTBUG-37978
Change-Id: I1bc5e0665b88e5b3772e48c8676cdda3fae59e1b
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that object creation is done in nested function calls we can
use an RAII-type profiler to trace it. This makes the profiling
much simpler and more robust.

Also, the stack of profiling data in the VME profiler has to match
the stack of completion callbacks in the VME, so the push and pop
operations are synchronized now.

Task-number: QTBUG-37978
Change-Id: I1bc5e0665b88e5b3772e48c8676cdda3fae59e1b
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQuick test: Do not complain about Qt specific arguments</title>
<updated>2014-04-03T11:54:29+00:00</updated>
<author>
<name>Kai Koehne</name>
<email>kai.koehne@digia.com</email>
</author>
<published>2014-03-25T15:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=cf06b028f71fb80616be7fbb3ef3aaf7d5474eca'/>
<id>cf06b028f71fb80616be7fbb3ef3aaf7d5474eca</id>
<content type='text'>
Commit 1ca5e82cccae0 caused a regression for Qt arguments like
-qmlsjsdebugger=xxx . These are automatically removed from argv by
QCoreApplication, but since we copied argv before instantiating
QCoreApplication this didn't have any effect.

Fix this by moving Q[Core]Application instantiation again before
the parsing and copying of testlib-specific arguments.

Task-number: QTBUG-37793
Change-Id: Ief41640b6cf3251f700a5d24d2e1141233a3888f
Reviewed-by: Friedemann Kleint &lt;Friedemann.Kleint@digia.com&gt;
Reviewed-by: Liang Qi &lt;liang.qi@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 1ca5e82cccae0 caused a regression for Qt arguments like
-qmlsjsdebugger=xxx . These are automatically removed from argv by
QCoreApplication, but since we copied argv before instantiating
QCoreApplication this didn't have any effect.

Fix this by moving Q[Core]Application instantiation again before
the parsing and copying of testlib-specific arguments.

Task-number: QTBUG-37793
Change-Id: Ief41640b6cf3251f700a5d24d2e1141233a3888f
Reviewed-by: Friedemann Kleint &lt;Friedemann.Kleint@digia.com&gt;
Reviewed-by: Liang Qi &lt;liang.qi@digia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
