This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a change to branch GROOVY-9381_3
in repository https://gitbox.apache.org/repos/asf/groovy.git
omit 36ef5520fe GROOVY-9381: Add native async/await support
add dbf30a5c6f GroovyGROOVY-11879: A very simple DSL over the JDK's HTTP
client (#2401)
add 9d63f1625b GROOVY-11878: Invariant loops spike (#2400)
add 0f39bb00ee Bump com.github.jk1.dependency-license-report from 2.9 to
3.1.1 (#2383)
new 075bcc27ca GROOVY-9381: Add native async/await support
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (36ef5520fe)
\
N -- N -- N refs/heads/GROOVY-9381_3 (075bcc27ca)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
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.gradle | 2 +-
settings.gradle | 1 +
src/antlr/GroovyParser.g4 | 6 +-
.../groovy/transform/ASTTestTransformation.groovy | 2 +-
.../transform/{NonSealed.java => Parallel.java} | 18 +-
.../apache/groovy/parser/antlr4/AstBuilder.java | 12 +-
.../groovy/parser/antlr4/SemanticPredicates.java | 38 ++-
.../org/codehaus/groovy/ast/AnnotationNode.java | 3 +
.../groovy/ast/ClassCodeExpressionTransformer.java | 3 +
.../groovy/ast/ClassCodeVisitorSupport.java | 13 +
.../org/codehaus/groovy/ast/stmt/Statement.java | 40 +++
.../codehaus/groovy/control/ResolveVisitor.java | 11 +
.../ASTTransformationCollectorCodeVisitor.java | 12 +
.../groovy/transform/ASTTransformationVisitor.java | 15 +
.../transform/ParallelASTTransformation.java | 109 +++++++
src/test-resources/core/AnnotatedLoop_01.groovy | 134 +++++++++
src/test-resources/core/AnnotatedLoop_02x.groovy | 117 ++++++++
.../groovy/parser/antlr4/GroovyParserTest.groovy | 6 +
subprojects/groovy-binary/src/spec/doc/index.adoc | 2 +
.../src/main/java/groovy/contracts/Invariant.java | 20 +-
...nViolation.java => LoopInvariantViolation.java} | 26 +-
.../ast/LoopInvariantASTTransformation.java | 109 +++++++
.../{ClassInvariant.java => LoopInvariant.java} | 13 +-
.../src/spec/doc/contracts-userguide.adoc | 47 ++-
.../src/spec/test/ContractsTest.groovy | 46 +++
.../contracts/tests/inv/LoopInvariantTests.groovy | 159 ++++++++++
.../build.gradle | 13 +-
.../src/main/groovy/groovy/http/HttpBuilder.groovy | 312 ++++++++++++++++++++
.../src/main/groovy/groovy/http/HttpResult.groovy | 97 +++++++
.../src/spec/doc/http-builder.adoc | 183 ++++++++++++
.../src/spec/test/HttpBuilderSpecTest.groovy | 240 ++++++++++++++++
.../test/groovy/groovy/http/HttpBuilderTest.groovy | 320 +++++++++++++++++++++
32 files changed, 2085 insertions(+), 44 deletions(-)
copy src/main/java/groovy/transform/{NonSealed.java => Parallel.java} (72%)
create mode 100644
src/main/java/org/codehaus/groovy/transform/ParallelASTTransformation.java
create mode 100644 src/test-resources/core/AnnotatedLoop_01.groovy
create mode 100644 src/test-resources/core/AnnotatedLoop_02x.groovy
copy
subprojects/groovy-contracts/src/main/java/org/apache/groovy/contracts/{PostconditionViolation.java
=> LoopInvariantViolation.java} (66%)
create mode 100644
subprojects/groovy-contracts/src/main/java/org/apache/groovy/contracts/ast/LoopInvariantASTTransformation.java
copy
subprojects/groovy-contracts/src/main/java/org/apache/groovy/contracts/domain/{ClassInvariant.java
=> LoopInvariant.java} (76%)
create mode 100644
subprojects/groovy-contracts/src/test/groovy/org/apache/groovy/contracts/tests/inv/LoopInvariantTests.groovy
copy subprojects/{groovy-typecheckers => groovy-http-builder}/build.gradle
(87%)
create mode 100644
subprojects/groovy-http-builder/src/main/groovy/groovy/http/HttpBuilder.groovy
create mode 100644
subprojects/groovy-http-builder/src/main/groovy/groovy/http/HttpResult.groovy
create mode 100644
subprojects/groovy-http-builder/src/spec/doc/http-builder.adoc
create mode 100644
subprojects/groovy-http-builder/src/spec/test/HttpBuilderSpecTest.groovy
create mode 100644
subprojects/groovy-http-builder/src/test/groovy/groovy/http/HttpBuilderTest.groovy