You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by gr...@apache.org on 2019/04/01 03:25:10 UTC
[royale-asjs] branch develop updated (1138c44 -> 433cf8b)
This is an automated email from the ASF dual-hosted git repository.
gregdove pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git.
from 1138c44 handle fewer renderers than space allows
new 0181701 Fix for binding not working when a watcher for that binding (at a parent level) has children that are not relevant to that specific binding.
new ba4559f * Fix for getLabelFromData: a 'label' getter can be in the prototype chain (i.e.: inherited) and in this case fails for hasOwnProperty. This can be often the case with bindable VOs, for example.
new dfafa8c * Add renderers to parent *after* setting data. This avoids renderer bindings being triggered once with null values on 'addedToParent', before the data is actually set. Tested with ArrayList based data only.
new 9dc6453 * manually re-trigger top level bindings in renderers by dispatching 'dataChange' if the data item remains the same following 'itemUpdated'. This supports re-trigger of bindings like: text="{getDescription(data as Whatever)}".
new b5d695f Support for updates from collectionChanged event - allow host to treat it like a 'dataProviderChanged', refreshing all renderers
new abd74ca Getting in WIP on ArrayListView, as-is for now. Still has work to be done, more testing.
new f383972 Add CollectionChangeUpdateForArrayListData to jewel manifest
new 4920836 Add a testbed/starting point example to Tour de Jewel for ArrayListView.
new c5e25b0 Merge branch 'develop' of https://github.com/apache/royale-asjs into develop
new 433cf8b Move serialization-related interfaces to Core
The 8847 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/main/resources/jewel-example-styles.css | 19 +-
.../src/main/royale/AdvancedListPlayGround.mxml | 264 ++++
.../TourDeJewel/src/main/royale/MainContent.mxml | 13 +-
.../AdvancedIconListItemRenderer.mxml | 109 ++
.../src/main/royale/models/ListsModel.as | 51 +-
.../src/main/royale/models/MainNavigationModel.as | 5 +-
.../src/main/royale/vos/DetailIconListVO.as} | 12 +-
.../org/apache/royale/binding/DataBindingBase.as | 31 +-
.../src/main/resources/basic-manifest.xml | 1 +
.../src/main/royale/CollectionsClasses.as | 10 +
.../org/apache/royale/collections/ArrayList.as | 6 +-
.../org/apache/royale/collections/ArrayListView.as | 1313 ++++++++++++++++++++
.../org/apache/royale/collections/CompareUtils.as | 204 +++
.../apache/royale/collections/IArrayListView.as | 138 ++
.../royale/org/apache/royale}/collections/ISort.as | 135 +-
.../org/apache/royale}/collections/ISortField.as | 143 +--
.../royale/org/apache/royale}/collections/Sort.as | 255 ++--
.../org/apache/royale}/collections/SortField.as | 288 ++---
.../royale/collections/SortFieldCompareTypes.as | 116 ++
.../projects/Core/src/main/royale/CoreClasses.as | 7 +
.../org/apache/royale/utils/net}/IDataInput.as | 2 +-
.../org/apache/royale/utils/net}/IDataOutput.as | 2 +-
.../royale/utils/net}/IDynamicPropertyOutput.as | 2 +-
.../royale/utils/net}/IDynamicPropertyWriter.as | 2 +-
.../apache/royale/utils/net}/IExternalizable.as | 2 +-
.../Jewel/src/main/resources/jewel-manifest.xml | 29 +-
...s => CollectionChangeUpdateForArrayListData.as} | 67 +-
.../DataItemRendererFactoryForArrayData.as | 30 +-
.../DataItemRendererFactoryForCollectionView.as | 23 +-
.../UpdateListItemRendererForArrayListData.as | 8 +-
.../jewel/supportClasses/util/getLabelFromData.as | 8 +-
.../main/royale/mx/collections/ArrayCollection.as | 6 +-
.../src/main/royale/mx/collections/ArrayList.as | 6 +-
.../mx/messaging/messages/AbstractMessage.as | 150 +--
.../mx/messaging/messages/AcknowledgeMessage.as | 24 +-
.../mx/messaging/messages/AcknowledgeMessageExt.as | 10 +-
.../royale/mx/messaging/messages/AsyncMessage.as | 40 +-
.../mx/messaging/messages/AsyncMessageExt.as | 12 +-
.../royale/mx/messaging/messages/CommandMessage.as | 192 +--
.../mx/messaging/messages/CommandMessageExt.as | 12 +-
.../Network/src/main/royale/NetworkClasses.as | 5 -
.../royale/net/remoting/amf/AMFBinaryData.as | 24 +-
.../net/remoting/messages/AbstractMessage.as | 4 +-
.../net/remoting/messages/AcknowledgeMessage.as | 4 +-
.../net/remoting/messages/AcknowledgeMessageExt.as | 4 +-
.../royale/net/remoting/messages/AsyncMessage.as | 4 +-
.../net/remoting/messages/AsyncMessageExt.as | 4 +-
.../royale/net/remoting/messages/CommandMessage.as | 4 +-
.../net/remoting/messages/CommandMessageExt.as | 4 +-
.../network/support/DynamicPropertyWriter.as | 4 +-
.../flexUnitTests/network/support/TestClass3.as | 6 +-
51 files changed, 2924 insertions(+), 890 deletions(-)
create mode 100644 examples/royale/TourDeJewel/src/main/royale/AdvancedListPlayGround.mxml
create mode 100644 examples/royale/TourDeJewel/src/main/royale/itemRenderers/AdvancedIconListItemRenderer.mxml
copy examples/{blog/BE0009_Using_an_Item_ Renderer_with_a_List/src/main/royale/vos/IconListVO.as => royale/TourDeJewel/src/main/royale/vos/DetailIconListVO.as} (79%)
create mode 100644 frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/ArrayListView.as
create mode 100644 frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/CompareUtils.as
create mode 100644 frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/IArrayListView.as
copy frameworks/projects/{MXRoyale/src/main/royale/mx => Collections/src/main/royale/org/apache/royale}/collections/ISort.as (85%)
copy frameworks/projects/{MXRoyale/src/main/royale/mx => Collections/src/main/royale/org/apache/royale}/collections/ISortField.as (71%)
copy frameworks/projects/{MXRoyale/src/main/royale/mx => Collections/src/main/royale/org/apache/royale}/collections/Sort.as (82%)
copy frameworks/projects/{MXRoyale/src/main/royale/mx => Collections/src/main/royale/org/apache/royale}/collections/SortField.as (72%)
create mode 100644 frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/SortFieldCompareTypes.as
rename frameworks/projects/{Network/src/main/royale/org/apache/royale/net/utils => Core/src/main/royale/org/apache/royale/utils/net}/IDataInput.as (97%)
rename frameworks/projects/{Network/src/main/royale/org/apache/royale/net/utils => Core/src/main/royale/org/apache/royale/utils/net}/IDataOutput.as (97%)
rename frameworks/projects/{Network/src/main/royale/org/apache/royale/net/utils => Core/src/main/royale/org/apache/royale/utils/net}/IDynamicPropertyOutput.as (98%)
rename frameworks/projects/{Network/src/main/royale/org/apache/royale/net/utils => Core/src/main/royale/org/apache/royale/utils/net}/IDynamicPropertyWriter.as (98%)
rename frameworks/projects/{Network/src/main/royale/org/apache/royale/net/utils => Core/src/main/royale/org/apache/royale/utils/net}/IExternalizable.as (97%)
copy frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/itemRenderers/{UpdateListItemRendererForArrayListData.as => CollectionChangeUpdateForArrayListData.as} (65%)