<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git, branch v5.11.2</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Add some null pointer checks to avoid some rare crashes</title>
<updated>2018-09-11T11:45:18+00:00</updated>
<author>
<name>Jan Arve Sæther</name>
<email>jan-arve.saether@qt.io</email>
</author>
<published>2018-09-10T14:30:26+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=0431e462dff57bc6a9010649c0d7f153d91cab2d'/>
<id>0431e462dff57bc6a9010649c0d7f153d91cab2d</id>
<content type='text'>
The crashes happened because somebody was calling processEvents() from
a mouse/touch event handler that was running for a long time.
If we called processEvents() from the onPressed handler, and we released
the mouse while still not having returned from the onPressed handler, it
meant that we were actually delivering the release event before the
press event was fully delivered...
This should normally not be a problem, but QQuickWindow is reusing the
QQuickPointerEvent object for each incoming QEvent, which meant that
when we were delivering the release event, it would reuse (and overwrite)
the QQuickPointerEvent that the press event handler is still using....
This then caused some assumptions that the code made to be wrong.

This only avoids the crashes, and doesn't really fix the "out-of-order"
delivery and the state inconsistency that this can lead to (e.g. mouse
button states might be still wrong).
But on the other hand, it is not the recommended way of making a
long-running handler not block the application. The proper way is to
create a thread that will run in the background, so that there would be
no need to call processEvents() in the event handler.

Change-Id: I6fa5d4f5748ef30d082a210f03ef382922bd4b29
Task-number: QTBUG-65454
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The crashes happened because somebody was calling processEvents() from
a mouse/touch event handler that was running for a long time.
If we called processEvents() from the onPressed handler, and we released
the mouse while still not having returned from the onPressed handler, it
meant that we were actually delivering the release event before the
press event was fully delivered...
This should normally not be a problem, but QQuickWindow is reusing the
QQuickPointerEvent object for each incoming QEvent, which meant that
when we were delivering the release event, it would reuse (and overwrite)
the QQuickPointerEvent that the press event handler is still using....
This then caused some assumptions that the code made to be wrong.

This only avoids the crashes, and doesn't really fix the "out-of-order"
delivery and the state inconsistency that this can lead to (e.g. mouse
button states might be still wrong).
But on the other hand, it is not the recommended way of making a
long-running handler not block the application. The proper way is to
create a thread that will run in the background, so that there would be
no need to call processEvents() in the event handler.

Change-Id: I6fa5d4f5748ef30d082a210f03ef382922bd4b29
Task-number: QTBUG-65454
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add changes file for Qt 5.11.2</title>
<updated>2018-08-29T10:18:51+00:00</updated>
<author>
<name>Antti Kokko</name>
<email>antti.kokko@qt.io</email>
</author>
<published>2018-08-28T08:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=72cc53b5ee8bd6821d0094ad0c5c45d7a269f943'/>
<id>72cc53b5ee8bd6821d0094ad0c5c45d7a269f943</id>
<content type='text'>
Change-Id: Iec1654a4ce34d17de5fd9267a680536b4f4848d5
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iec1654a4ce34d17de5fd9267a680536b4f4848d5
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 5.11 into 5.11.2</title>
<updated>2018-08-27T13:45:45+00:00</updated>
<author>
<name>Frederik Gladhorn</name>
<email>frederik.gladhorn@qt.io</email>
</author>
<published>2018-08-27T13:45:45+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=f25824e0b2154129c0c7586e708c87fe24ce63eb'/>
<id>f25824e0b2154129c0c7586e708c87fe24ce63eb</id>
<content type='text'>
Change-Id: I886fb173e156fb719d5e1d84cb1b0f3052a606b4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I886fb173e156fb719d5e1d84cb1b0f3052a606b4
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete textures even if one of the windows is invisible</title>
<updated>2018-08-27T09:48:27+00:00</updated>
<author>
<name>VaL Doroshchuk</name>
<email>valentyn.doroshchuk@qt.io</email>
</author>
<published>2018-02-01T08:06:23+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9dee534836092787d774be7face029b5cf53e546'/>
<id>9dee534836092787d774be7face029b5cf53e546</id>
<content type='text'>
If there is an invisible window that will not be rendered but
is constantly requested to render, updatePending is always set.
This prevented purging of already unneeded textures, and meant
endSync() was never called and m_texturesToDelete was never cleared.

Added a fix to clear the updatePending flag regardless of visibility.

Task-number: QTBUG-66116
Change-Id: Ib8bf453a3dee18d3d43342580c619664b701acae
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there is an invisible window that will not be rendered but
is constantly requested to render, updatePending is always set.
This prevented purging of already unneeded textures, and meant
endSync() was never called and m_texturesToDelete was never cleared.

Added a fix to clear the updatePending flag regardless of visibility.

Task-number: QTBUG-66116
Change-Id: Ib8bf453a3dee18d3d43342580c619664b701acae
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Fix broken link</title>
<updated>2018-08-23T12:43:28+00:00</updated>
<author>
<name>Paul Wicking</name>
<email>paul.wicking@qt.io</email>
</author>
<published>2018-08-23T12:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=028cd30b752f296b2c9022db92961016ffb4f7fc'/>
<id>028cd30b752f296b2c9022db92961016ffb4f7fc</id>
<content type='text'>
Add missing external page reference to resolve link.

Fixes: QTBUG-70130

Change-Id: I3af162c619ba88d425a7714fbf20f45f7b3213ab
Task-number: QTBUG-70130
Reviewed-by: Topi Reiniö &lt;topi.reinio@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add missing external page reference to resolve link.

Fixes: QTBUG-70130

Change-Id: I3af162c619ba88d425a7714fbf20f45f7b3213ab
Task-number: QTBUG-70130
Reviewed-by: Topi Reiniö &lt;topi.reinio@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix quadratic behavior when allocating very large objects</title>
<updated>2018-08-21T14:55:18+00:00</updated>
<author>
<name>Lars Knoll</name>
<email>lars.knoll@qt.io</email>
</author>
<published>2018-08-03T10:54:29+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=7c4335d0307abde6dd17738481d006d70771714c'/>
<id>7c4335d0307abde6dd17738481d006d70771714c</id>
<content type='text'>
MemberData would get reallocated to exactly the required new
size. In case there's one large object dominating things, this
would then trigger a GC run on every reallocation, causing a
quadratic runtime behaviour due to marking and sweeping that
memory.

Task-number: QTBUG-69475
Change-Id: I1834cbe21412ce3409cfd47810af1f73c5a29b46
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MemberData would get reallocated to exactly the required new
size. In case there's one large object dominating things, this
would then trigger a GC run on every reallocation, causing a
quadratic runtime behaviour due to marking and sweeping that
memory.

Task-number: QTBUG-69475
Change-Id: I1834cbe21412ce3409cfd47810af1f73c5a29b46
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: add list of SVG colors to color QML Basic Type page</title>
<updated>2018-08-09T11:58:09+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2018-08-09T11:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b50165508996e10a232ee70196a820da06f1af1c'/>
<id>b50165508996e10a232ee70196a820da06f1af1c</id>
<content type='text'>
The page that we link to used to contain a list of the colors, but it
doesn't anymore, so we'll add our own.

Change-Id: I1160e3de7f4ab0ead727b0261edafda30cce3270
Reviewed-by: Paul Wicking &lt;paul.wicking@qt.io&gt;
Reviewed-by: Martin Smith &lt;martin.smith@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The page that we link to used to contain a list of the colors, but it
doesn't anymore, so we'll add our own.

Change-Id: I1160e3de7f4ab0ead727b0261edafda30cce3270
Reviewed-by: Paul Wicking &lt;paul.wicking@qt.io&gt;
Reviewed-by: Martin Smith &lt;martin.smith@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Rename section titles to avoid auto-linker issues</title>
<updated>2018-08-07T11:24:31+00:00</updated>
<author>
<name>Paul Wicking</name>
<email>paul.wicking@qt.io</email>
</author>
<published>2018-08-07T11:07:36+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=4ee11c8c49e795150d8d065cd3d5d3b39c4aae46'/>
<id>4ee11c8c49e795150d8d065cd3d5d3b39c4aae46</id>
<content type='text'>
The section titles cause links that should target QML types to link to
the page sections. Renaming the section titles to link correctly.

Task-number: QTBUG-59445
Change-Id: Idde600c87621d270c4e25a5dac0a55fbfc7a96ef
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The section titles cause links that should target QML types to link to
the page sections. Renaming the section titles to link correctly.

Task-number: QTBUG-59445
Change-Id: Idde600c87621d270c4e25a5dac0a55fbfc7a96ef
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Use [] instead of new Array() in snippet</title>
<updated>2018-07-31T13:59:29+00:00</updated>
<author>
<name>Paul Wicking</name>
<email>paul.wicking@qt.io</email>
</author>
<published>2018-07-31T13:52:04+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=a30138cae86268d71415bc88cfba157977f4a442'/>
<id>a30138cae86268d71415bc88cfba157977f4a442</id>
<content type='text'>
This change removes warning about using new Array() as constructor
with the snippet in Qt Creator.

Task-number: QTBUG-65891
Change-Id: I858601c21d703e4226db4f4c4d9ef52ec6418ed8
Reviewed-by: Nico Vertriest &lt;nico.vertriest@qt.io&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change removes warning about using new Array() as constructor
with the snippet in Qt Creator.

Task-number: QTBUG-65891
Change-Id: I858601c21d703e4226db4f4c4d9ef52ec6418ed8
Reviewed-by: Nico Vertriest &lt;nico.vertriest@qt.io&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix build without GUI module</title>
<updated>2018-07-31T06:12:40+00:00</updated>
<author>
<name>Samuli Piippo</name>
<email>samuli.piippo@qt.io</email>
</author>
<published>2018-07-04T05:44:43+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=0f3c382705b8017f929977b84b573f880fc5a707'/>
<id>0f3c382705b8017f929977b84b573f880fc5a707</id>
<content type='text'>
Qt Quick has a dependency to gui, but there is no way to disable an
entire configure module from the configure system. Add module checks
to configure.json so that it passes even without the gui module
present.

Fixes "Unknown feature object movie in expression 'features.movie'."

Task-number: QTBUG-56656
Change-Id: I16355b7e218c32cab33e8ef9a6012da3e55656bb
Reviewed-by: Oswald Buddenhagen &lt;oswald.buddenhagen@qt.io&gt;
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Qt Quick has a dependency to gui, but there is no way to disable an
entire configure module from the configure system. Add module checks
to configure.json so that it passes even without the gui module
present.

Fixes "Unknown feature object movie in expression 'features.movie'."

Task-number: QTBUG-56656
Change-Id: I16355b7e218c32cab33e8ef9a6012da3e55656bb
Reviewed-by: Oswald Buddenhagen &lt;oswald.buddenhagen@qt.io&gt;
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
