You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/02/03 01:08:38 UTC
[royale-compiler] branch develop updated (afb00e4 -> 6930f1c)
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git.
from afb00e4 compiler-jx: Assigning a value to an int or uint coerces it so that variables don't store decimal values (closes #74)
new 435b139 copy Google Closure Compiler's CollapseProperties, ProcessClosurePrimitives and DefaultPassConfig so we can make our own variants of them to handle renaming in modules.
new be2f098 rename classes and fix source for 1.6 compatibility
new 9b5e24b changes to handle extern namespaces that are used in goog.provides in the compiling code
new f766501 call new compiler passes that handle module renaming
new d1517fc clean up warnings
new 895b9a1 prevent rename of custom namespaces because they might get looked up with [QName(namespace, 'stringPropertyName')]
new ef0af00 copy RenameVars from Closure 20181210
new c2325b0 copy ShadowVariables from Closure 20181210
new 9c71927 rename and fix source-compatibility issues
new ee0b000 suppress more duplicates in module externs_report
new ea241ab don't need this information in the compiler to generate modules correctly
new 6ecbadf modules now reuse variable names correctly
new 1ed5b04 copy and rename RenameProperties from Google Closure Compiler and adjust for source-compatibility
new 608e9a4 option to make protected methods exported so they are always included in module loading apps
new 58c0320 allow renaming of properties in a module
new a067bb2 you can't export protected so we'll just export so it doesn't get removed if a module needs it
new f686392 suppress more warnings
new f2cae13 eliminate some passes that output false warnings in modules
new 6930f1c mention 3rd party closure files
The 3325 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:
LICENSE | 18 +
.../CollapsePropertiesWithModuleSupport.java | 1013 ++++++
.../ProcessClosurePrimitivesWithModuleSupport.java | 1800 ++++++++++
.../jscomp/RenamePropertiesWithModuleSupport.java | 542 +++
.../jscomp/RenameVarsWithModuleSupport.java | 629 ++++
.../javascript/jscomp/RoyaleClosurePassConfig.java | 3496 ++++++++++++++++++++
.../jscomp/ShadowVariablesWithModuleSupport.java | 329 ++
.../apache/royale/compiler/clients/MXMLJSC.java | 1 +
.../royale/compiler/clients/MXMLJSCRoyale.java | 4 +-
.../codegen/js/royale/JSRoyaleDocEmitter.java | 15 +-
.../codegen/mxml/royale/MXMLRoyalePublisher.java | 19 -
.../driver/js/goog/JSGoogCompcConfiguration.java | 20 +
.../driver/js/goog/JSGoogConfiguration.java | 20 +
.../compiler/utils/JSClosureCompilerWrapper.java | 79 +-
.../codegen/js/royale/TestRoyaleClass.java | 4 +-
.../codegen/js/royale/TestRoyaleEmitter.java | 14 +-
.../codegen/js/royale/TestRoyaleExpressions.java | 10 +-
.../codegen/js/royale/TestRoyaleFieldMembers.java | 2 +-
.../codegen/js/royale/TestRoyaleInterface.java | 4 +-
.../codegen/js/royale/TestRoyaleMethodMembers.java | 16 +-
.../projects/overrides/interfaces/IA_result.js | 2 +
21 files changed, 7916 insertions(+), 121 deletions(-)
create mode 100644 compiler-jx/src/main/java/com/google/javascript/jscomp/CollapsePropertiesWithModuleSupport.java
create mode 100644 compiler-jx/src/main/java/com/google/javascript/jscomp/ProcessClosurePrimitivesWithModuleSupport.java
create mode 100644 compiler-jx/src/main/java/com/google/javascript/jscomp/RenamePropertiesWithModuleSupport.java
create mode 100644 compiler-jx/src/main/java/com/google/javascript/jscomp/RenameVarsWithModuleSupport.java
create mode 100644 compiler-jx/src/main/java/com/google/javascript/jscomp/RoyaleClosurePassConfig.java
create mode 100644 compiler-jx/src/main/java/com/google/javascript/jscomp/ShadowVariablesWithModuleSupport.java