This is an automated email from the ASF dual-hosted git repository.
aharui pushed a change to branch release_practice
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git.
from 0fc1081 Revert "[maven-release-plugin] prepare for next development
iteration"
new 5ed85d1 GoogDepsWriter: fixed another situation where source maps
were broken by post processing in GoogDepsWriter
new b0867cb compiler-jx: boolean coercion on assignment (references #78)
new 1dd1cab compiler: DynamicAccessNode resolves element type of Vector
(closes #80)
new 2875aa1 try pulling maven lzma jar
new 81d8866 JSEmitter: emitAssignmentCoercion() now includes special
cases for String coercion with undefined, toString(), and XML methods. Number
coercion detects [ArrayElementType("Number")]. IdentifierNode: moved isXMLish()
to SemanticUtils because it doesn't really apply specifically to identifiers.
BinaryOperatorEmitter: uses the same emitAssignmentCoercion() from JSEmitter as
ReturnEmitter and FunctionCallArgumentsEmitter. Type coercion on assignment is
now in two places inste [...]
new 6608edc compiler-jx: restored hexadecimal formatting for int literals
on assignment
new cc22c6f compiler-jx: removed unnecessary junit properties files
.gitignore: added junittestcases*.properties
new 8efe085 SemanticUtils: resolveXML() and resolveXMLType() resolve
private/protected members in XML/XMLList so that they aren't coerced
new 6f91953 compiler-jx: TestBase enables performance caching, similar to
the command line compilers
new 06ba69d compiler-jx: moved one use Language.closure() to the same
place as another because they both should be there
new 1490d2d VarDeclarationEmitter: uses same type coercion behavior as
returns, function arguments, and binary operator assignment
new 1faaf57 Fix public var warning when var has metadata (which does not
include Bindable)
new a76198f Reflection support compiler updates: -some minor fomatting
improvements in reflection data output -addition of 'isDynamic' for dynamic
classes in CLASS_INFO -support for release build (renamed) access to public
vars via 'variables' reflection (using an on-demand getter-setter function)
-changes to output for js default initializers to fully populate the prototype
with default values, and capture initial static fields of classes. Important
for reflection (and serializatio [...]
new 06f0bcb jflex.de now requires https
new 8d78a8c Merge branch 'develop' into amf_updates
new 591580f compiler: extra null reference check in
DefinitionBase.getContainingToplevelDefinition() similar to the one later in
the same method
new 51291c2 compiler: fixed bad casts in SemanticUtils.resolveXML()
new 510a12f compiler-jx: js-default-initializers is true by default in
the compiler
new d13c4c8 FieldEmitter: removed unncessary space in null assignment
new 7565699 compiler-jx: fixed tests with js-default-initializers enabled
new 54b8268 compiler-jx: tests for default initializers include both
enabled and disabled for better coverage
new 3048473 report a better error if tag doesn't match a class in the
default property
new 30e1738 JSRoyaleEmitter: flag that emitter is emitting local
functions is stored in emitter instead of the IFunctionNode
new 65c1e78 compiler-jx: fixes issue where variables that need default
initializers were not hoisted to the top of the function body
new 3bdad2d compiler-jx: fixed hoisting issue caused by last commit when
default initializers is disabled
new 5a7dd6d compiler-jx: fixed hoisting of chained variable declarations
new fbd9bc3 handle proxy in bracket access
new a745882 provided isn't allowed in many places in Maven 3 so use
runtime instead and allow for swf build of asdoc to be skipped
new d20bb6b ClassDirectiveProcessor: fixed issue where methods could be
marked abstract without an error (references #73) AbstractOutsideClassProblem:
fixed wording of invalid abstract usage error
new 0e3fbc7 ASFeatureTestsBase: do not add 'Unexpected compilation
problems:' to result string unless there are actually some problems
new ddc6ec3 compiler: implemented abstract methods (closes #75)
new b0ddc75 JBurgGenerator.java version 1.10 contributed by Adobe Inc and
Tom Harwood. Permission to relicense granted in
https://lists.apache.org/thread.html/ea55377e78d3124add309044dfd00470a16a52be16b97804ea4fa10c@%3Cdev.royale.apache.org%3E
new 5fbfb1f Merge branch 'develop' into release_practice
new 9314bcd Use subset of Adobe-owned change
https://sourceforge.net/p/jburg/code/ci/ad3f5c4285223c92997c604877c7619fd7725c38/
to get consistent rule names between builds
The 3422 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:
.gitignore | 5 +-
NOTICE | 5 +-
README | 2 +-
.../compiler/problems/PublicVarWarningProblem.java | 6 +
.../royale/compiler/tree/as/IFunctionNode.java | 12 -
.../src/main/java/jburg/burg/JBurgGenerator.java | 3763 ++++++++++++++++++++
.../royale/compiler/clients/JSConfiguration.java | 22 +-
.../compiler/internal/codegen/as/ASEmitter.java | 12 +
.../compiler/internal/codegen/js/JSEmitter.java | 138 +-
.../internal/codegen/js/goog/JSGoogEmitter.java | 20 +-
.../codegen/js/jx/BinaryOperatorEmitter.java | 253 +-
.../codegen/js/jx/DynamicAccessEmitter.java | 19 +
.../internal/codegen/js/jx/FieldEmitter.java | 40 +-
.../codegen/js/jx/MemberAccessEmitter.java | 32 +
.../codegen/js/jx/PackageFooterEmitter.java | 384 +-
.../codegen/js/jx/VarDeclarationEmitter.java | 308 +-
.../codegen/js/royale/JSRoyaleDocEmitter.java | 28 +-
.../codegen/js/royale/JSRoyaleEmitter.java | 138 +-
.../codegen/js/royale/JSRoyaleEmitterTokens.java | 4 +
.../internal/codegen/js/utils/EmitterUtils.java | 59 +
.../codegen/mxml/royale/MXMLRoyaleEmitter.java | 20 +-
.../driver/js/goog/JSGoogConfiguration.java | 25 +-
.../compiler/internal/graph/GoogDepsWriter.java | 5 +-
.../codegen/js/goog/TestGoogGlobalFunctions.java | 3 +
.../codegen/js/royale/TestDefaultInitializers.java | 256 +-
.../codegen/js/royale/TestRoyaleAccessors.java | 14 +-
.../codegen/js/royale/TestRoyaleClass.java | 53 +-
.../codegen/js/royale/TestRoyaleEmitter.java | 280 +-
.../codegen/js/royale/TestRoyaleExpressions.java | 534 ++-
.../codegen/js/royale/TestRoyaleMethodMembers.java | 8 +
.../codegen/js/royale/TestRoyalePackage.java | 1494 ++++----
.../codegen/js/royale/TestRoyaleStatements.java | 164 +-
.../js/sourcemaps/TestSourceMapStatements.java | 4 +-
.../royale/compiler/internal/test/TestBase.java | 4 +
.../royale/projects/bad_overrides/Test_result.js | 6 +
.../projects/bad_overrides/classes/A_result.js | 6 +
.../projects/bad_overrides/classes/B_result.js | 6 +
.../projects/bad_overrides/classes/C_result.js | 6 +
.../projects/bad_overrides/interfaces/IA_result.js | 6 +
.../projects/bad_overrides/interfaces/IB_result.js | 6 +
.../projects/bad_overrides/interfaces/IC_result.js | 6 +
.../royale/projects/circular/Base_result.js | 6 +
.../royale/projects/circular/Super_result.js | 15 +-
.../royale/projects/circular_proto/A_result.js | 6 +
.../royale/projects/circular_proto/B_result.js | 8 +-
.../royale/projects/circular_proto/C_result.js | 8 +-
.../royale/projects/circular_proto/D_result.js | 8 +-
.../royale/projects/circular_proto/E_result.js | 8 +-
.../royale/projects/circular_proto/F_result.js | 8 +-
.../royale/projects/interfaces/Test_result.js | 8 +-
.../royale/projects/interfaces/classes/A_result.js | 6 +
.../royale/projects/interfaces/classes/B_result.js | 6 +
.../royale/projects/interfaces/classes/C_result.js | 6 +
.../projects/interfaces/interfaces/IA_result.js | 6 +
.../projects/interfaces/interfaces/IC_result.js | 6 +
.../projects/interfaces/interfaces/ID_result.js | 6 +
.../projects/interfaces/interfaces/IE_result.js | 6 +
.../royale/projects/internal/MainClass_result.js | 31 +-
.../royale/projects/internal/OtherClass_result.js | 6 +
.../royale/projects/overrides/Test_result.js | 6 +
.../royale/projects/overrides/classes/A_result.js | 6 +
.../royale/projects/overrides/classes/B_result.js | 6 +
.../royale/projects/overrides/classes/C_result.js | 6 +
.../projects/overrides/interfaces/IA_result.js | 6 +
.../projects/overrides/interfaces/IB_result.js | 6 +
.../projects/overrides/interfaces/IC_result.js | 6 +
.../AmbiguousDefinition_result.js | 2 +-
.../DifferentPackageAsConflict_result.js | 8 +-
.../Event_result.js | 6 +
.../mypackage/TestClass_result.js | 8 +-
.../otherpackage/Event_result.js | 6 +
.../Event_result.js | 7 +-
.../NoConflictNoWindow_result.js | 8 +-
.../mypackage/TestClass_result.js | 8 +-
.../Event_result.js | 6 +
.../NoConflictUseWindow_result.js | 8 +-
.../mypackage/TestClass_result.js | 8 +-
.../Event_result.js | 6 +
.../SamePackageAsConflict_result.js | 8 +-
.../mypackage/Event_result.js | 6 +
.../mypackage/TestClass_result.js | 8 +-
.../package_conflicts_use_window/Event_result.js | 6 +
.../UseWindow_result.js | 8 +-
.../mypackage/TestClass_result.js | 10 +-
.../otherpackage/Event_result.js | 6 +
.../resources/royale/projects/super/Base_result.js | 6 +
.../royale/projects/super/Super_result.js | 6 +
.../projects/xml_requires/XMLRequire_result.js | 6 +
.../as/codegen/ClassDirectiveProcessor.java | 146 +-
.../as/codegen/GlobalDirectiveProcessor.java | 62 +-
.../as/codegen/InterfaceDirectiveProcessor.java | 68 +-
.../internal/definitions/ClassDefinition.java | 59 +
.../internal/definitions/DefinitionBase.java | 13 +-
.../internal/definitions/FunctionDefinition.java | 26 +
.../semantics/MethodBodySemanticChecker.java | 24 +-
.../compiler/internal/semantics/SemanticUtils.java | 161 +-
.../internal/tree/as/BinaryOperatorPlusNode.java | 5 +-
.../internal/tree/as/DynamicAccessNode.java | 14 +
.../compiler/internal/tree/as/FunctionNode.java | 14 -
.../compiler/internal/tree/as/IdentifierNode.java | 22 +-
.../tree/mxml/MXMLClassReferenceNodeBase.java | 6 +
...lem.java => AbstractMethodWithBodyProblem.java} | 10 +-
.../problems/AbstractOutsideClassProblem.java | 2 +-
...em.java => BadAccessAbstractMethodProblem.java} | 15 +-
...ava => UnimplementedAbstractMethodProblem.java} | 15 +-
compiler/src/main/resources/downloads.xml | 10 +-
.../src/test/java/as/ASAbstractClassTests.java | 1193 +++++++
compiler/src/test/java/as/ASFeatureTestsBase.java | 2 +-
jenkins.xml | 2 +-
.../org/apache/royale/maven/CompileASDocMojo.java | 24 +-
.../org/apache/royale/maven/CompileASMojo.java | 4 +-
.../org/apache/royale/maven/CompileAppMojo.java | 4 +-
.../org/apache/royale/maven/CompileJSMojo.java | 2 +-
113 files changed, 8603 insertions(+), 1803 deletions(-)
create mode 100644
compiler-jburg-types/src/main/java/jburg/burg/JBurgGenerator.java
copy
compiler/src/main/java/org/apache/royale/compiler/problems/{InterfaceMethodWithBodyProblem.java
=> AbstractMethodWithBodyProblem.java} (78%)
copy
compiler/src/main/java/org/apache/royale/compiler/problems/{InvalidPrivateNamespaceProblem.java
=> BadAccessAbstractMethodProblem.java} (73%)
copy
compiler/src/main/java/org/apache/royale/compiler/problems/{UnimplementedInterfaceMethodProblem.java
=> UnimplementedAbstractMethodProblem.java} (69%)
create mode 100644 compiler/src/test/java/as/ASAbstractClassTests.java