You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2021/03/15 23:05:12 UTC

[royale-compiler] branch develop updated (a971579 -> 3b1f473)

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

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


    from a971579  royale-maven-plugin: allow modules to build with playerglobalc and clean up some naming to avoid confusion
     new a2a3a8e  playerglobalc: keys of REST_METHODS should have been fully qualified
     new 3b1f473  playerglobalc: accidentally put into REST_METHODS instead of ANY_METHODS

The 2 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:
 .../org/apache/royale/compiler/clients/PLAYERGLOBALC.java    | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)


[royale-compiler] 02/02: playerglobalc: accidentally put into REST_METHODS instead of ANY_METHODS

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

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

commit 3b1f473fd352f52d6e2b592a62f28271dec57032
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Mon Mar 15 16:04:54 2021 -0700

    playerglobalc: accidentally put into REST_METHODS instead of ANY_METHODS
---
 .../main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
index b45f41c..d61d0a8 100644
--- a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
+++ b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
@@ -81,11 +81,11 @@ class PLAYERGLOBALC implements FlexTool {
 	}
 	private static final Map<String, List<String>> ANY_METHODS = new HashMap<String, List<String>>();
 	{
-		REST_METHODS.put("XML", Arrays.asList("addNamespace", "appendChild", "attribute",
+		ANY_METHODS.put("XML", Arrays.asList("addNamespace", "appendChild", "attribute",
 			"child", "contains", "descendants", "elements", "insertChildAfter", "insertChildBefore", "namespace",
 			"prependChild", "processingInstructions", "removeNamespace", "replace", "setChildren", "setName",
 			"setNamespace"));
-		REST_METHODS.put("XMLList", Arrays.asList("addNamespace", "appendChild", "attribute",
+		ANY_METHODS.put("XMLList", Arrays.asList("addNamespace", "appendChild", "attribute",
 			"child", "contains", "descendants", "elements", "insertChildAfter", "insertChildBefore", "namespace",
 			"prependChild", "processingInstructions", "removeNamespace", "replace", "setChildren", "setName",
 			"setNamespace"));


[royale-compiler] 01/02: playerglobalc: keys of REST_METHODS should have been fully qualified

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

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

commit a2a3a8e6993f98a02cf081bae74615edf02d2f84
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Mon Mar 15 15:55:52 2021 -0700

    playerglobalc: keys of REST_METHODS should have been fully qualified
---
 .../java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
index 1887498..b45f41c 100644
--- a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
+++ b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
@@ -74,10 +74,10 @@ class PLAYERGLOBALC implements FlexTool {
 			"String", "uint", "XML", "XMLList");
 	private static final Map<String, List<String>> REST_METHODS = new HashMap<String, List<String>>();
 	{
-		REST_METHODS.put("Vector$object", Arrays.asList("sort"));
-		REST_METHODS.put("Vector$double", Arrays.asList("sort"));
-		REST_METHODS.put("Vector$int", Arrays.asList("sort"));
-		REST_METHODS.put("Vector$uint", Arrays.asList("sort"));
+		REST_METHODS.put("__AS3__.vec.Vector$object", Arrays.asList("sort"));
+		REST_METHODS.put("__AS3__.vec.Vector$double", Arrays.asList("sort"));
+		REST_METHODS.put("__AS3__.vec.Vector$int", Arrays.asList("sort"));
+		REST_METHODS.put("__AS3__.vec.Vector$uint", Arrays.asList("sort"));
 	}
 	private static final Map<String, List<String>> ANY_METHODS = new HashMap<String, List<String>>();
 	{