You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2021/04/04 11:49:39 UTC

[royale-compiler] branch release/0.9.8 updated (daf501b -> 3c3e266)

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

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


    from daf501b  [maven-release-plugin] prepare for next development iteration
     add 06d135d  [maven-release-plugin] prepare for next development iteration
     add b30228b  remove it in develop too
     add 9235fbc  ClosureUtils: fix bindable variables not being detected as accessors
     add 0b7fa3d  JSGoogConfiguration: add allow-dynamic-bindings
     add 3046c63  MXMLRoyaleEmitter: created an emitter interface for MXML specifiers so that their generated JS output may have different implementations
     add baa3ea4  GenerateRoyaleExports: MXML ids generated by the compiler should be exported because they are accessed dynamically by MXMLDataInterpreter (and bindings)
     add 58fccd1  fix whitespace in royale.dependent.tests
     add ba2d331  fix some bugs around fx:Array, fx:Object, fx:Number, etc in fx:Declarations.  Should fix apache/royale-asjs#1007 and apache/royale-asjs#999
     add b47892e  JSClosureCompilerWrapper: setInlineProperties(false)
     add 5d78474  mxml-reflect-object-property compiler option
     add 8922a2a  AccessorEmitter: missing nocollapse annotation when an accessor is only a setter without a getter
     add 790d6cb  AccessorEmitter: fix null exception when setter has custom namespace and there is no getter
     add 472c934  FieldEmitteR: uses Object.defineProperties() instead of Object.defineProperty() for fields with complex initializers because it plays nicer with Closure renaming (closes #169) (closes apache/royale-asjs#408) (closes apache/royale-asjs#831) (references matrix3d/spriteflexjs#21)
     add 7dc35f1  More thorough checking of assigned value for static initializers. Adds checking for function call return type and function call params into the 'isExternalReference' checking.
     add 2c4462f  Fix quoting when getProperty() is added for indexed array syntax ([]) on Proxy using an already-quoted value.
     add cefb26b  Merge pull request #172 from estanglerbm/proxy-getproperty-quoting
     add 23e64f0  AccessorEmitter: similar to static accessors, instance accessors are written as a variable first
     add c9457b8  MXMLRoyaleEmitter: use emitter tokens instead of strings for the defineProperties call and fix whitespace before first property
     add 084a639  AccessorEmitter: don't redeclare instance accessor as variable if it is an override
     add eac9126  Reverting parts of the earlier change in here, and simplifying the initial check. Left some notes to revisit this for potential future iteration of function call argumentsNode
     add 241b324  fix dispatcher variable initialization: use the staticEventDispatcher getter function instead of the _bindingEventDispatcher underlying variable, which is never initialized. (#175)
     add c699a92  compiler: fix issue where using the MXML 2009 namespace with any tag name (including classes that don't exist) was allowed without error
     add 9f1c59a  royale.dependent.tests: fix missing MXML 2009 manifest
     add 97c4e5b  playerglobal-source-gen: initial commit
     add 72887d2  AppliedVectorDefinition: error if Vector$double, Vector$int, Vector$uint, or Vector$object is missing
     add b850dd3  playerglobal-source-gen: Ant build.xml for .jar file
     add bfcf2c1  playerglobal-source-gen: build tweaks
     add 6e96c07  playerglobal-source-gen: better string detection on default parameter values
     add c129d76  playerglobal-source-gen: more build tweaks
     add daad508  build: add playerglobal-source-gen
     add efae99e  ASScope: improved assertion messages for incorrect qname as base name to show the qname
     add e38ce64  ABCGenerator: fix issue where the return type of a native method incorrectly set a qname as the base name, instead of separating out the package into a namespace
     add 2fb42a7  ABCGenerator: fix issue where native methods did not include default argument values in bytecode
     add 3209bb1  playerglobal-source-gen: wrong maven dependency
     add 1c76d57  playerglobal-source-gen: merge parameters when there are multiple constructors
     add 870f3ca  playerglobal-source-gen: special case for XML/XMLList constructors
     add 70c1c9a  playerglobal-source-gen: fix issue where XML/XMLList methods should accept * instead of a specific type
     add 2c48598  playerglobal-source-gen: object methods on prototype
     add 8461535  playerglobal-source-gen: constructors for built-ins should be forced to be optional
     add 2a24def  setting versions back to 0.9.8-SNAPSHOT to avoid cross references between different royale repositories
     add 80f1543  fix MANIFEST so distribution find common-lang without version number in classpath
     add 4270342  maven-distribution: final fix in classpaths to make it work with the new name strategy without version number
     add fe55f7c  playerglobal-source-gen: add to Maven build
     add 4764098  playerglobal-source-gen: special case for d...rest that isn't in docs
     add c9a07ae  playerglobal-source-gen: radix parameter of int/uint has default value, like Number
     add 5914975  playerglobal-sourcegen => compiler-playerglobalc
     add 9a21a5e  playerglobalc: remove outdated usage
     add 30cd607  fix build for playerglobalc
     add ebebc68  playerglobalc: make command line arguments work like other compiler tools
     add 20369bc  royale-maven-plugin: can build with playerglobalc
     add 0ddb050  - First major refactoring to align the Maven and the ANT distribution a bit more
     add 1a07992  - Fixed the classpath entries in the compiler-jx module
     add 2cca221  - Worked on getting the MANIFEST classpath entries right - Made the distribution create the same output in the js/lib directory
     add c4f259c  - Added the antlr-runtime.jar to the classpath
     add 7f3c838  - Added the antlr-runtime.jar to the classpath - Added some comments on the Class-Path setting in pom.xml
     add 94b85c6  Fix int.MAX_VALUE
     add 0b8952d  fix tests affected by commit a0cfeff3ecd983ed4bd0e8267c372858ac0a49e7
     add 5318a0b  playerglobalc: option to compile airglobal.swc or playerglobal.swc
     add 380d6d7  royale-maven-plugin: allow modules to build with playerglobalc and clean up some naming to avoid confusion
     add 4ab6afc  playerglobalc: keys of REST_METHODS should have been fully qualified
     add 6e33d5f  playerglobalc: accidentally put into REST_METHODS instead of ANY_METHODS
     add 2ed9da1  playerglobalc: various methods on Date need parameters typed as * and null defaults
     add 1742b29  playerglobalc: special case for global constants: undefined, NaN, and Infinity
     add b0bd67a  playerglobalc: some extra members on flash.display.Graphics
     add 14605a5  playerglobalc: member variables that should be typed as any
     add 75ebf17  playerglobalc: some more constructors that need parameters typed as any
     add ab52135  playerglobalc: some missing members
     add c496876  playerglobalc: Array.splice() should be a ...rest method
     add e0a5383  playerglobalc: Function is missing prototype property
     add 8e2bce7  playerglobalc: some refinements to the Object prototype methods
     add 7e2f11c  playerglobalc: Function missing APIs
     add 71f4fc0  playerglobalc: Date.parse should accept any
     add 69d868c  playerglobalc: constants that should be read/write variables
     add ac00bb1  playerglobalc: added various missing properties and methods
     add a0cfeff  Fix int.MAX_VALUE
     add 5316577  Merge pull request #183 from stanislaw89/fix-int-max-value
     add eaec10f  fix tests affected by commit a0cfeff3ecd983ed4bd0e8267c372858ac0a49e7
     add 48e8753  playerglobalc: option to compile airglobal.swc or playerglobal.swc
     add a971579  royale-maven-plugin: allow modules to build with playerglobalc and clean up some naming to avoid confusion
     add a2a3a8e  playerglobalc: keys of REST_METHODS should have been fully qualified
     add 3b1f473  playerglobalc: accidentally put into REST_METHODS instead of ANY_METHODS
     add bd27efe  playerglobalc: various methods on Date need parameters typed as * and null defaults
     add fb068a0  playerglobalc: special case for global constants: undefined, NaN, and Infinity
     add 605a138  playerglobalc: some extra members on flash.display.Graphics
     add aa3264a  playerglobalc: member variables that should be typed as any
     add cbeda50  playerglobalc: some more constructors that need parameters typed as any
     add a43bc6b  playerglobalc: some missing members
     add a426d80  playerglobalc: Array.splice() should be a ...rest method
     add 62ecb0f  playerglobalc: Function is missing prototype property
     add 9b3ff46  playerglobalc: some refinements to the Object prototype methods
     add e0e24b4  playerglobalc: Function missing APIs
     add d3285e0  playerglobalc: Date.parse should accept any
     add bf016f1  playerglobalc: constants that should be read/write variables
     add 9bf9303  playerglobalc: added various missing properties and methods
     add 4acb8d7  - First major refactoring to align the Maven and the ANT distribution a bit more
     add 0c9788f  - Fixed the classpath entries in the compiler-jx module
     add 1c99396  - Worked on getting the MANIFEST classpath entries right - Made the distribution create the same output in the js/lib directory
     add ae25c0e  - Added the antlr-runtime.jar to the classpath
     add 078ef83  - Added the antlr-runtime.jar to the classpath - Added some comments on the Class-Path setting in pom.xml
     add 90662d9  Merge remote-tracking branch 'origin/develop' into develop
     add e02df39  royale-maven-plugin: playerglobal/airglobal should use swf classifier instead of typedefs
     add fe0f4b2  royale-maven-plugin: fixed issue where includeLibrary() included all libraries for both JS and SWF
     add fa0166c  playerglobal: some optional arguments missing on Number methods
     add 3d227e6  [maven-release-plugin] prepare branch @{releaseLabel}
     new 3c3e266  Merge branch 'release/0.9.8' of https://github.com/apache/royale-compiler into release/0.9.8

The 1 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:
 build.xml                                          |    4 +
 compiler-common/pom.xml                            |   18 +
 compiler-externc/pom.xml                           |   12 +
 compiler-jx/build.xml                              |    1 +
 compiler-jx/pom.xml                                |    9 +-
 .../javascript/jscomp/GenerateRoyaleExports.java   |   16 +
 .../royale/compiler/clients/RoyaleToolGroup.java   |    1 +
 .../compiler/codegen/mxml/js/IMXMLJSEmitter.java   |   13 +-
 .../codegen/js/goog/JSGoogEmitterTokens.java       |    3 +-
 .../internal/codegen/js/jx/AccessorEmitter.java    |   54 +-
 .../internal/codegen/js/jx/BindableEmitter.java    |    2 +-
 .../internal/codegen/js/jx/FieldEmitter.java       |   33 +-
 .../internal/codegen/js/jx/IdentifierEmitter.java  |    2 +-
 .../codegen/js/jx/MemberAccessEmitter.java         |   20 +-
 .../royale/JSRoyaleBasicMXMLDescriptorEmitter.java |  348 +++++
 .../codegen/js/royale/JSRoyaleDocEmitter.java      |    9 +-
 .../JSSubEmitter.java => mxml/MXMLSubEmitter.java} |   24 +-
 .../mxml/royale/MXMLDescriptorSpecifier.java       |  282 ----
 .../codegen/mxml/royale/MXMLEventSpecifier.java    |   18 +-
 .../codegen/mxml/royale/MXMLNodeSpecifier.java     |  114 --
 .../codegen/mxml/royale/MXMLRoyaleEmitter.java     |  372 ++++-
 .../driver/js/goog/JSGoogConfiguration.java        |   39 +
 .../apache/royale/compiler/utils/ClosureUtils.java |   12 +-
 .../compiler/utils/JSClosureCompilerWrapper.java   |   11 +-
 .../js/royale/TestRoyaleAccessorMembers.java       |   16 +-
 .../codegen/js/royale/TestRoyaleAccessors.java     |    8 +
 .../codegen/js/royale/TestRoyaleClass.java         |   28 +-
 .../codegen/js/royale/TestRoyaleExpressions.java   |    5 +-
 .../codegen/js/royale/TestRoyaleGlobalClasses.java |    2 +-
 .../codegen/js/royale/TestRoyalePackage.java       |   16 +
 .../js/sourcemaps/TestSourceMapGlobalClasses.java  |    4 +-
 .../mxml/royale/TestRoyaleMXMLApplication.java     |  562 +++++++-
 .../codegen/mxml/royale/TestRoyaleMXMLScript.java  |    6 +-
 .../compiler/internal/test/RoyaleTestBase.java     |   13 +
 .../resources/royale/files/MyInitialView_result.js |   48 +-
 .../royale/files/RoyaleTest_again_result.js        |    4 +-
 .../royale/files/models/MyModel_result.js          |   24 +
 .../royale/projects/super/Super_result.js          |    8 +
 compiler-playerglobalc/build.xml                   |  148 ++
 compiler-playerglobalc/pom.xml                     |   77 +
 .../royale/compiler/clients/PLAYERGLOBALC.java     | 1487 ++++++++++++++++++++
 .../clients/PlayerglobalcConfiguration.java        |   86 ++
 .../compiler/config/PlayerglobalcConfigurator.java |   17 +-
 .../src/main/resources/downloads.xml               |   32 -
 compiler/pom.xml                                   |   32 +-
 .../compiler/internal/as/codegen/ABCGenerator.java |   19 +-
 .../definitions/AppliedVectorDefinition.java       |    5 +
 .../royale/compiler/internal/scopes/ASScope.java   |    6 +-
 .../compiler/internal/tree/mxml/MXMLArrayNode.java |   19 +-
 .../internal/tree/mxml/MXMLDeclarationsNode.java   |   22 +-
 .../tree/mxml/MXMLPropertySpecifierNode.java       |   17 +-
 .../internal/tree/mxml/MXMLVectorNode.java         |    5 +-
 compiler/src/test/resources/mxml-2009-manifest.xml |    2 +-
 debugger/pom.xml                                   |   14 +
 flex-compiler-oem/pom.xml                          |   20 +
 pom.xml                                            |    5 +-
 royale-ant-tasks/pom.xml                           |   17 +
 .../org/apache/royale/maven/CompileASDocMojo.java  |   18 +
 ...edefsMojo.java => CompilePlayerglobalMojo.java} |   47 +-
 ...erncMojo.java => GeneratePlayerglobalMojo.java} |   79 +-
 .../main/resources/META-INF/plexus/components.xml  |    4 +-
 ...-config.xml => compile-playerglobal-config.xml} |    0
 .../config/generate-playerglobal-config.xml        |   16 +-
 royaleunit-ant-tasks/pom.xml                       |   17 +
 64 files changed, 3631 insertions(+), 741 deletions(-)
 copy compiler-common/src/main/java/org/apache/royale/compiler/internal/config/localization/ILocalizedText.java => compiler-jx/src/main/java/org/apache/royale/compiler/codegen/mxml/js/IMXMLJSEmitter.java (76%)
 create mode 100644 compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleBasicMXMLDescriptorEmitter.java
 copy compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/{js/JSSubEmitter.java => mxml/MXMLSubEmitter.java} (85%)
 create mode 100644 compiler-playerglobalc/build.xml
 create mode 100644 compiler-playerglobalc/pom.xml
 create mode 100644 compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
 create mode 100644 compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PlayerglobalcConfiguration.java
 copy compiler-externc/src/main/java/org/apache/royale/compiler/config/ExterncConfigurator.java => compiler-playerglobalc/src/main/java/org/apache/royale/compiler/config/PlayerglobalcConfigurator.java (69%)
 copy {royaleunit-ant-tasks => compiler-playerglobalc}/src/main/resources/downloads.xml (89%)
 copy royale-maven-plugin/src/main/java/org/apache/royale/maven/{CompileTypedefsMojo.java => CompilePlayerglobalMojo.java} (77%)
 copy royale-maven-plugin/src/main/java/org/apache/royale/maven/{GenerateExterncMojo.java => GeneratePlayerglobalMojo.java} (55%)
 copy royale-maven-plugin/src/main/resources/config/{compile-extern-config.xml => compile-playerglobal-config.xml} (100%)
 copy compiler/src/main/java/org/apache/royale/compiler/clients/problems/package.html => royale-maven-plugin/src/main/resources/config/generate-playerglobal-config.xml (77%)

[royale-compiler] 01/01: Merge branch 'release/0.9.8' of https://github.com/apache/royale-compiler into release/0.9.8

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

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

commit 3c3e26659df54b377efc4b3317cb0b29681a6f8a
Merge: 3d227e6 daf501b
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Sun Apr 4 11:48:46 2021 +0000

    Merge branch 'release/0.9.8' of https://github.com/apache/royale-compiler into release/0.9.8

 compiler-common/pom.xml      |  4 ++--
 compiler-externc/pom.xml     |  8 ++++----
 compiler-jx/pom.xml          | 14 +++++++-------
 compiler-test-utils/pom.xml  |  4 ++--
 compiler/pom.xml             | 10 +++++-----
 debugger/pom.xml             |  8 ++++----
 flex-compiler-oem/pom.xml    | 10 +++++-----
 royale-ant-tasks/pom.xml     |  4 ++--
 royale-maven-plugin/pom.xml  |  4 ++--
 royaleunit-ant-tasks/pom.xml |  4 ++--
 swfutils/pom.xml             |  4 ++--
 11 files changed, 37 insertions(+), 37 deletions(-)

diff --cc compiler-jx/pom.xml
index e5668bd,62ca1cc..7457e84
--- a/compiler-jx/pom.xml
+++ b/compiler-jx/pom.xml
@@@ -187,13 -187,8 +187,13 @@@
      </dependency>
      <dependency>
        <groupId>org.apache.royale.compiler</groupId>
 +      <artifactId>compiler-playerglobalc</artifactId>
 +      <version>0.9.8-SNAPSHOT</version>
 +    </dependency>
 +    <dependency>
 +      <groupId>org.apache.royale.compiler</groupId>
        <artifactId>compiler</artifactId>
-       <version>0.9.8-SNAPSHOT</version>
+       <version>0.9.9-SNAPSHOT</version>
      </dependency>
      <dependency>
        <groupId>org.apache.commons</groupId>