You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by hi...@apache.org on 2022/08/29 21:38:44 UTC

[royale-asjs] branch develop updated (88d35b29aa -> 0f04cf19c8)

This is an automated email from the ASF dual-hosted git repository.

hiedra pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


    from 88d35b29aa Wrong test for populating isPopUp
     new 6deb6d6caf Jewel VirtualList: Fixed. Prevent the retrieval of a non-existent item.
     new f259608731 Fixed. Navigating with the keyboard from the first visible itemRenderer upwards or from the last visible itemRenderer downwards caused an error because the item is not yet created.
     new 0f04cf19c8 Merge branch 'develop' of https://github.com/apache/royale-asjs into develop

The 3 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:
 .../royale/org/apache/royale/jewel/beads/views/VirtualListView.as   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


[royale-asjs] 02/03: Fixed. Navigating with the keyboard from the first visible itemRenderer upwards or from the last visible itemRenderer downwards caused an error because the item is not yet created.

Posted by hi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hiedra pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit f259608731da40a2620910c7ad50f54dc07709bf
Author: mjesteve <mj...@iest.com>
AuthorDate: Mon Aug 29 23:37:30 2022 +0200

    Fixed. Navigating with the keyboard from the first visible itemRenderer upwards or from the last visible itemRenderer downwards caused an error because the item is not yet created.
---
 .../main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as
index c6aa59996d..8ea5a90d39 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as
@@ -99,7 +99,8 @@ package org.apache.royale.jewel.beads.views
 					selectionBead.selected = false;
 			}
 			ir = dataGroup.getItemRendererForIndex(listModel.selectedIndex + (next ? 1 : -1)) as IItemRenderer;
-            ir.dispatchEvent(new Event("click"));
+			if (ir) 
+            	ir.dispatchEvent(new Event("click"));
         }
         
 		protected var listModel:ISelectionModel;


[royale-asjs] 01/03: Jewel VirtualList: Fixed. Prevent the retrieval of a non-existent item.

Posted by hi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hiedra pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 6deb6d6caf27f11511fec8613fff68048f101fb9
Author: mjesteve <mj...@iest.com>
AuthorDate: Mon Aug 29 23:27:51 2022 +0200

    Jewel VirtualList: Fixed. Prevent the retrieval of a non-existent item.
---
 .../main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as
index e4e440fdf8..c6aa59996d 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/VirtualListView.as
@@ -150,7 +150,8 @@ package org.apache.royale.jewel.beads.views
 			
 			if (index < firstIndex) 
 				return null;
-			if (index >= (firstIndex + contentView.numElements))
+			//if (index >= (firstIndex + contentView.numElements))
+            if (index >= (firstIndex + contentView.numElements - firstElementIndex) ) 
 				return null;
 			
 			return contentView.getElementAt(index - firstIndex + firstElementIndex) as IItemRenderer;			


[royale-asjs] 03/03: Merge branch 'develop' of https://github.com/apache/royale-asjs into develop

Posted by hi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hiedra pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 0f04cf19c8577365d2653724e126a5944394241a
Merge: f259608731 88d35b29aa
Author: Maria José Esteve <hi...@PCHIEDRA64.local.iest.com>
AuthorDate: Mon Aug 29 23:38:14 2022 +0200

    Merge branch 'develop' of https://github.com/apache/royale-asjs into develop

 .../src/main/royale/mx/containers/TitleWindow.as   |  2 +-
 .../src/main/royale/mx/controls/beads/DragBead.as  | 42 ++++++++++++++++++++++
 .../src/main/royale/mx/core/UIComponent.as         | 15 +++++++-
 .../src/main/royale/mx/managers/PopUpManager.as    |  8 ++++-
 4 files changed, 64 insertions(+), 3 deletions(-)