<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/src/quick/items/qquickrepeater.cpp, branch wip/nacl</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>QQuickRepeater: Use qmlobject_(dis)connect instead of regular (dis)connect.</title>
<updated>2016-01-05T09:38:44+00:00</updated>
<author>
<name>Robin Burchell</name>
<email>robin.burchell@viroteck.net</email>
</author>
<published>2015-12-31T17:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5588eec637fc521576318753410dca62767dfa85'/>
<id>5588eec637fc521576318753410dca62767dfa85</id>
<content type='text'>
A bit faster, not that this is the most important case for it.

Change-Id: I3e50bd4a45d2b60c105a9315ccf0b2c34502cb8d
Reviewed-by: Michael Brasser &lt;michael.brasser@live.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A bit faster, not that this is the most important case for it.

Change-Id: I3e50bd4a45d2b60c105a9315ccf0b2c34502cb8d
Reviewed-by: Michael Brasser &lt;michael.brasser@live.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Prevent errors when removing items from Repeater that reference parent.</title>
<updated>2015-06-30T14:57:48+00:00</updated>
<author>
<name>Michael Brasser</name>
<email>michael.brasser@live.com</email>
</author>
<published>2015-06-23T18:13:01+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9d0e702b1f29c8120f2000e1558a7b040311d8c0'/>
<id>9d0e702b1f29c8120f2000e1558a7b040311d8c0</id>
<content type='text'>
Use the same ordering as item views and release before unparenting.

Change-Id: I0346342cfcaf9385d8385769795dd5ba35fc43aa
Task-number: QTBUG-46828
Reviewed-by: Liang Qi &lt;liang.qi@theqtcompany.com&gt;
Reviewed-by: Robin Burchell &lt;robin.burchell@viroteck.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the same ordering as item views and release before unparenting.

Change-Id: I0346342cfcaf9385d8385769795dd5ba35fc43aa
Task-number: QTBUG-46828
Reviewed-by: Liang Qi &lt;liang.qi@theqtcompany.com&gt;
Reviewed-by: Robin Burchell &lt;robin.burchell@viroteck.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make Repeater emit items with right stacking order</title>
<updated>2015-04-28T07:41:56+00:00</updated>
<author>
<name>Jan Arve Saether</name>
<email>jan-arve.saether@theqtcompany.com</email>
</author>
<published>2015-04-22T08:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=55dc72f8cf47c6b32c1f172f4dffcd5a3bc743e6'/>
<id>55dc72f8cf47c6b32c1f172f4dffcd5a3bc743e6</id>
<content type='text'>
When listening for Component.onCompleted on the items emitted by the
Repeater, the items' stacking order was not properly set up.
The stacking order was corrected after Component.onCompleted was emitted,
which was undesirable in some cases.

Task-number: QTBUG-45423
Change-Id: Ib96b3de81db556b09fb5fc8bd27ce19223014f7e
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When listening for Component.onCompleted on the items emitted by the
Repeater, the items' stacking order was not properly set up.
The stacking order was corrected after Component.onCompleted was emitted,
which was undesirable in some cases.

Task-number: QTBUG-45423
Change-Id: Ib96b3de81db556b09fb5fc8bd27ce19223014f7e
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Specifically mark Repeater as transparent for positioners.</title>
<updated>2015-04-07T09:17:53+00:00</updated>
<author>
<name>Jan Arve Saether</name>
<email>jan-arve.saether@theqtcompany.com</email>
</author>
<published>2015-03-19T12:38:03+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=3d30c6d7b40ce86f49bc7bdc5c2c74ce180bb3dd'/>
<id>3d30c6d7b40ce86f49bc7bdc5c2c74ce180bb3dd</id>
<content type='text'>
Historically, Repeaters were avoided by their parent positioners by only
accepting items with a width *and* height greater than zero. (Repeater is
an item where both width and height defaults to zero).

Later, QQuickItemPrivate::isTransparentForPositioner() were added to
fix similar problems with item.layer and item.layer.effect (change
da15ea0f3b5805db657f13060c21efa78f10cde2)

Since isTransparentForPositioner is now available, we can therefore mark
mark QQuickRepeater also as transparent for positioners.

This also enables Qt Quick Layouts to have a much better heuristic on
which items should be ignored or not.

AFAICS, this will only break if people actually resized their repeaters
(and they thus got included in their parent positioners). I cannot see why
anybody would have wanted this behavior (and depend on it). Therefore,
there is a risk of regression, but I doubt that this is behavior that
people would expect not to break.

[ChangeLog][QtQuick][Repeater] Positioners will now always ignore
Repeaters. Previously, Repeaters were ignored by Positioners when their
width or height were 0.

Change-Id: I1132b753869fdc398eaeabeb9cce7cbf545dbbed
Task-number: Preparation for QTBUG-44077
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
Reviewed-by: Jan Arve Sæther &lt;jan-arve.saether@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Historically, Repeaters were avoided by their parent positioners by only
accepting items with a width *and* height greater than zero. (Repeater is
an item where both width and height defaults to zero).

Later, QQuickItemPrivate::isTransparentForPositioner() were added to
fix similar problems with item.layer and item.layer.effect (change
da15ea0f3b5805db657f13060c21efa78f10cde2)

Since isTransparentForPositioner is now available, we can therefore mark
mark QQuickRepeater also as transparent for positioners.

This also enables Qt Quick Layouts to have a much better heuristic on
which items should be ignored or not.

AFAICS, this will only break if people actually resized their repeaters
(and they thus got included in their parent positioners). I cannot see why
anybody would have wanted this behavior (and depend on it). Therefore,
there is a risk of regression, but I doubt that this is behavior that
people would expect not to break.

[ChangeLog][QtQuick][Repeater] Positioners will now always ignore
Repeaters. Previously, Repeaters were ignored by Positioners when their
width or height were 0.

Change-Id: I1132b753869fdc398eaeabeb9cce7cbf545dbbed
Task-number: Preparation for QTBUG-44077
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
Reviewed-by: Jan Arve Sæther &lt;jan-arve.saether@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Repeater: Don't rely on the createFrom variable</title>
<updated>2015-03-17T11:16:58+00:00</updated>
<author>
<name>Jørgen Lind</name>
<email>jorgen.lind@theqtcompany.com</email>
</author>
<published>2015-03-11T13:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=6dc0ba50bab2fa72978a7b5ee63dae9d66e8ad40'/>
<id>6dc0ba50bab2fa72978a7b5ee63dae9d66e8ad40</id>
<content type='text'>
since this breaks for asynchronous models, because item creation order
is not guaranteed. We always have the index
for what item to create, so we do not need it either.

Change-Id: Ib8ce25ac342f5cce4784c56e6a91cf70136566b3
Task-number: QTBUG-38879
Task-number: QTBUG-39001
Task-number: QTBUG-44250
Reviewed-by: Ulf Hermann &lt;ulf.hermann@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
since this breaks for asynchronous models, because item creation order
is not guaranteed. We always have the index
for what item to create, so we do not need it either.

Change-Id: Ib8ce25ac342f5cce4784c56e6a91cf70136566b3
Task-number: QTBUG-38879
Task-number: QTBUG-39001
Task-number: QTBUG-44250
Reviewed-by: Ulf Hermann &lt;ulf.hermann@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright headers</title>
<updated>2015-02-12T10:28:11+00:00</updated>
<author>
<name>Jani Heikkinen</name>
<email>jani.heikkinen@theqtcompany.com</email>
</author>
<published>2015-01-28T11:55:39+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=c5796292adf7cb7f2ce6f95fb83a9da89ecaa730'/>
<id>c5796292adf7cb7f2ce6f95fb83a9da89ecaa730</id>
<content type='text'>
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.

Change-Id: I61120571787870c0ed17066afb31779b1e6e30e9
Reviewed-by: Iikka Eklund &lt;iikka.eklund@theqtcompany.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.

Change-Id: I61120571787870c0ed17066afb31779b1e6e30e9
Reviewed-by: Iikka Eklund &lt;iikka.eklund@theqtcompany.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickRepeater::clear: Remove items from the end backwards.</title>
<updated>2014-11-07T17:39:15+00:00</updated>
<author>
<name>Robin Burchell</name>
<email>robin.burchell@viroteck.net</email>
</author>
<published>2014-11-05T02:23:45+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9d1cd3098a066c7b6689d4776bfd3a25621a26fc'/>
<id>9d1cd3098a066c7b6689d4776bfd3a25621a26fc</id>
<content type='text'>
This way, the indices for itemRemoved will make sense consistently.

This was broken with 5f5aba5b6e690ca54e66f41b93474f7e67e83c8b, dated November
2011.

Task-number: QTBUG-42243
Change-Id: I5fecfd4174049f51e0cec90e40e6332de5d5bf01
Reviewed-by: Gunnar Sletta &lt;gunnar@sletta.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way, the indices for itemRemoved will make sense consistently.

This was broken with 5f5aba5b6e690ca54e66f41b93474f7e67e83c8b, dated November
2011.

Task-number: QTBUG-42243
Change-Id: I5fecfd4174049f51e0cec90e40e6332de5d5bf01
Reviewed-by: Gunnar Sletta &lt;gunnar@sletta.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Repeater &amp; itemviews: fix setModel() JS array handling</title>
<updated>2014-10-29T20:50:12+00:00</updated>
<author>
<name>J-P Nurmi</name>
<email>jpnurmi@theqtcompany.com</email>
</author>
<published>2014-10-29T12:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=cf959b4b4ea3d2dfd5243022fea393fadfd95b0d'/>
<id>cf959b4b4ea3d2dfd5243022fea393fadfd95b0d</id>
<content type='text'>
QVariant comparison in setModel() started failing because
JS arrays are now passed as a QJSValue. Re-assigning the
same array content should not trigger a model change.

This change restores the old behavior it had before, when
JS arrays were passed as QVariantLists.

Change-Id: I1882b3531f2893b116dbd817edeecab1ae812ce8
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
QVariant comparison in setModel() started failing because
JS arrays are now passed as a QJSValue. Re-assigning the
same array content should not trigger a model change.

This change restores the old behavior it had before, when
JS arrays were passed as QVariantLists.

Change-Id: I1882b3531f2893b116dbd817edeecab1ae812ce8
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update license headers and add new licenses</title>
<updated>2014-08-25T09:28:46+00:00</updated>
<author>
<name>Jani Heikkinen</name>
<email>jani.heikkinen@digia.com</email>
</author>
<published>2014-08-22T06:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e7ceacda70857f68a4c406c898bcd9b517ac1b43'/>
<id>e7ceacda70857f68a4c406c898bcd9b517ac1b43</id>
<content type='text'>
- Renamed LICENSE.LGPL to LICENSE.LGPLv21
- Added LICENSE.LGPLv3 &amp; LICENSE.GPLv2
- Removed LICENSE.GPL

Change-Id: I84a565e2e0caa3b76bf291a7d188a57a4b00e1b0
Reviewed-by: Jani Heikkinen &lt;jani.heikkinen@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Renamed LICENSE.LGPL to LICENSE.LGPLv21
- Added LICENSE.LGPLv3 &amp; LICENSE.GPLv2
- Removed LICENSE.GPL

Change-Id: I84a565e2e0caa3b76bf291a7d188a57a4b00e1b0
Reviewed-by: Jani Heikkinen &lt;jani.heikkinen@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix QQmlDelegateModelChangeArray</title>
<updated>2014-07-22T11:49:09+00:00</updated>
<author>
<name>Lars Knoll</name>
<email>lars.knoll@digia.com</email>
</author>
<published>2014-04-30T18:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2338bb1faac05c87575495d324be6b8c5066479a'/>
<id>2338bb1faac05c87575495d324be6b8c5066479a</id>
<content type='text'>
The class had a vtable, clashing with assumptions about Managed
objects. The derived classes where actually only cosmetic sugar
on top of the basic change class. Clean this up and unify the
functionality in the base class.

In addition adjust the class to the new data layout.

Change-Id: I8677f6c71465381f7ebdf82eb6025fda6d137ec3
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The class had a vtable, clashing with assumptions about Managed
objects. The derived classes where actually only cosmetic sugar
on top of the basic change class. Clean this up and unify the
functionality in the base class.

In addition adjust the class to the new data layout.

Change-Id: I8677f6c71465381f7ebdf82eb6025fda6d137ec3
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
