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 dc92ef47a Merge branch 'release/0.9.12' into develop
new 0f2660e92 ABCGeneratingReducer: fix missing function signature checks
for super.method() member access calls
new 9ff701d78 MethodBodySemanticChecker: fix missing function signature
checks for super() constructor calls
new f2df51385 MethodBodySemanticChecker: fix method name in
CallUndefinedMethodProblem when method name starts with @ symbol for an
attribute
new b6dc0111d linter: call workspace.close() when done with workspace to
avoid out of emory error
new 6c4ae8149 CSSFontFace: fix exception when src attribute value is
unexpected type
new aad1b0ab3 BaseASParser: call setSourceLocation() on EmbedNode with the
original IMetaTagNode
new 2745365c4 formatter, linter: when creating a new ASParser, pass the
file path to avoid exceptions where it is expected to be non-null
new fee4cb1ac EmbedNode: if containing file path is null, skip file name
normalization to fix null exception
new 42f23ee49 formatter: fix exception when control flow statements are
nested with mixed braces
new 6fd5837f2 formatter: include file path in exception message
new ce162e09d formatter: don't print exception multiple times
new d0e48ed47 UnexpectedExceptionProblem: include message from exception
new 690d9a817 ASTokenFormatter: ensure else without if is considered
control flow, and mark if it is missing optional braces
new bf297e573 ASTokenFormatter: fix indentation if nested else where both
inner and outer if/else values have no optional closing curly braces
new 975a04b90 formatter: fix missing space before instanceof
new 9862720e6 formatter: fix formatting of literal RegExp that contains
escape sequences
new 1759d78fb StreamingASTokenizer: fix issue where array literal was
treated as metadata when comment tokens are included
new db0c0de8c formatter: call workspace.close() to fix out of memory
exceptions when rrocessing many files
new 064ac9c64 ASParser: recognize (and ignore) asdoc comment token in
contexts where it should be treated like a regular multiline comment
(references #189)
new 7f078bb45 StreamingASTokenizer: more cases where comment tokens should
be ignored and the previous token before the comment should be checked instead.
new da3d8dfb5 StreamingASTokenizer: ignore the previous non-asdoc comment
token when determining if [ is the start of metadata
new b3b22b123 StreamingASTokenizer: accidentally had
lastTokenNotRegularComment and lastTokenNotRegularCommentOrASDocComment
backwards
The 22 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:
.../problems/UnexpectedExceptionProblem.java | 4 +-
.../royale/compiler/internal/parsing/as/ASParser.g | 1 +
.../internal/as/codegen/ABCGeneratingReducer.java | 4 ++
.../royale/compiler/internal/css/CSSFontFace.java | 12 +++-
.../compiler/internal/parsing/as/BaseASParser.java | 1 +
.../internal/parsing/as/StreamingASTokenizer.java | 19 +++--
.../semantics/MethodBodySemanticChecker.java | 13 +++-
.../compiler/internal/tree/as/EmbedNode.java | 9 ++-
....java => CSSInvalidDescriptorValueProblem.java} | 11 +--
.../apache/royale/formatter/ASTokenFormatter.java | 61 +++++++++++++++--
.../org/apache/royale/formatter/FORMATTER.java | 1 +
.../apache/royale/formatter/TestElseStatement.java | 30 +++++++-
.../apache/royale/formatter/TestIfStatement.java | 52 ++++++++++++++
.../org/apache/royale/formatter/TestRegExp.java | 80 ++++++++++++++++++++++
...ogicalOperators.java => TestTypeOperators.java} | 53 ++++++++------
.../java/org/apache/royale/linter/ASLinter.java | 4 ++
.../main/java/org/apache/royale/linter/LINTER.java | 1 +
17 files changed, 315 insertions(+), 41 deletions(-)
copy
compiler/src/main/java/org/apache/royale/compiler/problems/{CSSRequiredDescriptorProblem.java
=> CSSInvalidDescriptorValueProblem.java} (65%)
copy
formatter/src/test/java/org/apache/royale/formatter/{TestLogicalOperators.java
=> TestTypeOperators.java} (83%)