This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new f2a11be configs-xml: enable abstract classes and private constructors
by default since doesn't affect older code. Enablig this exposed 3 classes with
no "public" word defined on constructors
f2a11be is described below
commit f2a11be724ebe4cb76ef5c2613a1742778dafb31
Author: Carlos Rovira <[email protected]>
AuthorDate: Wed May 29 17:28:47 2019 +0200
configs-xml: enable abstract classes and private constructors by default
since doesn't affect older code. Enablig this exposed 3 classes with no
"public" word defined on constructors
---
frameworks/ace-config-template.xml | 8 ++++++++
frameworks/air-config-template.xml | 8 ++++++++
frameworks/asdoc-config.xml | 8 ++++++++
frameworks/createjs-config-template.xml | 8 ++++++++
frameworks/flex-config-template.xml | 8 ++++++++
frameworks/jquery-config-template.xml | 8 ++++++++
frameworks/js-config-template.xml | 8 ++++++++
frameworks/node-config-template.xml | 8 ++++++++
.../org/apache/royale/textLayout/operations/ApplyLinkOperation.as | 2 +-
.../org/apache/royale/textLayout/operations/CutOperation.as | 2 +-
.../royale/textLayout/operations/ModifyInlineGraphicOperation.as | 2 +-
frameworks/royale-config-template.xml | 8 ++++++++
12 files changed, 75 insertions(+), 3 deletions(-)
diff --git a/frameworks/ace-config-template.xml
b/frameworks/ace-config-template.xml
index eb1b412..9b96f7a 100644
--- a/frameworks/ace-config-template.xml
+++ b/frameworks/ace-config-template.xml
@@ -325,6 +325,14 @@
<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+ <!-- New AS3 capabilities-->
+
+ <!-- Allow abstract classes (on by default)-->
+ <allow-abstract-classes>true</allow-abstract-classes>
+
+ <!-- Allow private constructors (on by default)-->
+ <allow-private-constructors>true</allow-private-constructors>
+
</compiler>
diff --git a/frameworks/air-config-template.xml
b/frameworks/air-config-template.xml
index b966740..67771d5 100644
--- a/frameworks/air-config-template.xml
+++ b/frameworks/air-config-template.xml
@@ -454,6 +454,14 @@
<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+
+ <!-- New AS3 capabilities-->
+
+ <!-- Allow abstract classes (on by default)-->
+ <allow-abstract-classes>true</allow-abstract-classes>
+
+ <!-- Allow private constructors (on by default)-->
+ <allow-private-constructors>true</allow-private-constructors>
</compiler>
diff --git a/frameworks/asdoc-config.xml b/frameworks/asdoc-config.xml
index a36470e..7caba6f 100644
--- a/frameworks/asdoc-config.xml
+++ b/frameworks/asdoc-config.xml
@@ -389,6 +389,14 @@
<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+ <!-- New AS3 capabilities-->
+
+ <!-- Allow abstract classes (on by default)-->
+ <allow-abstract-classes>true</allow-abstract-classes>
+
+ <!-- Allow private constructors (on by default)-->
+ <allow-private-constructors>true</allow-private-constructors>
+
</compiler>
<!-- compute-digest: writes a digest to the catalog.xml of a library. Use
this when the library will be used as a
diff --git a/frameworks/createjs-config-template.xml
b/frameworks/createjs-config-template.xml
index ec65c34..29e668d 100644
--- a/frameworks/createjs-config-template.xml
+++ b/frameworks/createjs-config-template.xml
@@ -325,6 +325,14 @@
<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+ <!-- New AS3 capabilities-->
+
+ <!-- Allow abstract classes (on by default)-->
+ <allow-abstract-classes>true</allow-abstract-classes>
+
+ <!-- Allow private constructors (on by default)-->
+ <allow-private-constructors>true</allow-private-constructors>
+
</compiler>
diff --git a/frameworks/flex-config-template.xml
b/frameworks/flex-config-template.xml
index 18b45b1..dc57251 100644
--- a/frameworks/flex-config-template.xml
+++ b/frameworks/flex-config-template.xml
@@ -502,6 +502,14 @@
<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+ <!-- New AS3 capabilities-->
+
+ <!-- Allow abstract classes (on by default)-->
+ <allow-abstract-classes>true</allow-abstract-classes>
+
+ <!-- Allow private constructors (on by default)-->
+ <allow-private-constructors>true</allow-private-constructors>
+
</compiler>
<!-- compute-digest: writes a digest to the catalog.xml of a library. Use
this when the library will be used as a
diff --git a/frameworks/jquery-config-template.xml
b/frameworks/jquery-config-template.xml
index 4f2a600..7b2e378 100644
--- a/frameworks/jquery-config-template.xml
+++ b/frameworks/jquery-config-template.xml
@@ -325,6 +325,14 @@
<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+ <!-- New AS3 capabilities-->
+
+ <!-- Allow abstract classes (on by default)-->
+ <allow-abstract-classes>true</allow-abstract-classes>
+
+ <!-- Allow private constructors (on by default)-->
+ <allow-private-constructors>true</allow-private-constructors>
+
</compiler>
diff --git a/frameworks/js-config-template.xml
b/frameworks/js-config-template.xml
index 971b79d..795d1ee 100644
--- a/frameworks/js-config-template.xml
+++ b/frameworks/js-config-template.xml
@@ -323,6 +323,14 @@
<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+ <!-- New AS3 capabilities-->
+
+ <!-- Allow abstract classes (on by default)-->
+ <allow-abstract-classes>true</allow-abstract-classes>
+
+ <!-- Allow private constructors (on by default)-->
+ <allow-private-constructors>true</allow-private-constructors>
+
</compiler>
diff --git a/frameworks/node-config-template.xml
b/frameworks/node-config-template.xml
index 71ad53e..f58280d 100644
--- a/frameworks/node-config-template.xml
+++ b/frameworks/node-config-template.xml
@@ -324,6 +324,14 @@
<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+ <!-- New AS3 capabilities-->
+
+ <!-- Allow abstract classes (on by default)-->
+ <allow-abstract-classes>true</allow-abstract-classes>
+
+ <!-- Allow private constructors (on by default)-->
+ <allow-private-constructors>true</allow-private-constructors>
+
</compiler>
diff --git
a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/ApplyLinkOperation.as
b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/ApplyLinkOperation.as
index 5ff2380..51c47aa 100644
---
a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/ApplyLinkOperation.as
+++
b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/ApplyLinkOperation.as
@@ -58,7 +58,7 @@ package org.apache.royale.textLayout.operations
* @playerversion AIR 1.5
* @langversion 3.0
*/
- function ApplyLinkOperation(operationState:SelectionState,
href:String, target:String, extendToLinkBoundary:Boolean)
+ public function
ApplyLinkOperation(operationState:SelectionState, href:String, target:String,
extendToLinkBoundary:Boolean)
{
super(operationState);
diff --git
a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/CutOperation.as
b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/CutOperation.as
index aa3c89a..a2746b5 100644
---
a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/CutOperation.as
+++
b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/CutOperation.as
@@ -55,7 +55,7 @@ package org.apache.royale.textLayout.operations {
* @playerversion AIR 1.5
* @langversion 3.0
*/
- function CutOperation(operationState:SelectionState,
scrapToCut:TextScrap)
+ public function CutOperation(operationState:SelectionState,
scrapToCut:TextScrap)
{
super(operationState);
if (absoluteStart < absoluteEnd)
diff --git
a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/ModifyInlineGraphicOperation.as
b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/ModifyInlineGraphicOperation.as
index 9b31316..f373800 100644
---
a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/ModifyInlineGraphicOperation.as
+++
b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/operations/ModifyInlineGraphicOperation.as
@@ -56,7 +56,7 @@ package org.apache.royale.textLayout.operations {
* @playerversion AIR 1.5
* @langversion 3.0
*/
- function
ModifyInlineGraphicOperation(operationState:SelectionState, source:Object,
width:Object, height:Object, options:Object = null)
+ public function
ModifyInlineGraphicOperation(operationState:SelectionState, source:Object,
width:Object, height:Object, options:Object = null)
{
super(operationState);
diff --git a/frameworks/royale-config-template.xml
b/frameworks/royale-config-template.xml
index 6eb1195..d7a6057 100644
--- a/frameworks/royale-config-template.xml
+++ b/frameworks/royale-config-template.xml
@@ -552,6 +552,14 @@
<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+ <!-- New AS3 capabilities-->
+
+ <!-- Allow abstract classes (on by default)-->
+ <allow-abstract-classes>true</allow-abstract-classes>
+
+ <!-- Allow private constructors (on by default)-->
+ <allow-private-constructors>true</allow-private-constructors>
+
</compiler>
<!-- compute-digest: writes a digest to the catalog.xml of a library. Use
this when the library will be used as a