This is an automated email from the ASF dual-hosted git repository.
paulk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git.
from 8980443 minor refactor: formatting/imports and adjust ports to
experiment with flakey CI RMI test
new e3ba8e6 GROOVY-9649: - Added left and full exclusive patterns to
parser - Added exclusiveLeft and exclusiveRight class variables to
RangeExpression
new 75b7133 GROOVY-9649: Rework range creation to also allow left- and
full-open ranges
new 5983f66 GROOVY-9649: Added tests for left and full-exclusive range
operator
new acf9423 GROOVY-9649: left open and full open range support for
IntRange
new f571a25 GROOVY-9649: Started implementing left- and full-open range
support for NumberRange.
new 16d12fc GROOVY-9649: Fix subListBorders call in IntRange
new f6644ff GROOVY-9649: Added more test cases for empty ranges
new f71a1b7 GROOVY-9649: Make createRange aware of left side exclusivity
new f786bc0 GROOVY-9649: Finalize NumberRange functionalities for left-
and full-open ranges.
new e620177 GROOVY-9649: Fixed NumberRange.get not throwing at certain
conditions
new e89b552 GROOVY-9649: Added test cases for left- and full-exclusive
IntRanges
new 1a8f109 GROOVY-9649: Fix IntRange size being negative on some
occasions
new cca4515 GROOVY-9649: Make createRange create EmptyRanges when from !=
to
new 8d76395 GROOVY-9649: Fixed getAt for primitive arrays by introducing
a new helper method, added few test cases for getAt
new 0a8a8a7 GROOVY-9649: Fixed NumberRange size calculation with
full-exclusive ranges where from equals to.
new f8fcd96 GROOVY-9649: Added documentation for left-open and full-open
ranges
new c1d2c7f GROOVY-9649: Amended documentation for IntRange
new 4cbaec4 GROOVY-9649: Sonar refactoring
new f364b33 GROOVY-9649: Add test case for NumberRange size edge cases
new 7dac3e7 GROOVY-9649: Sonar refactoring
new 8aa8cba GROOVY-9649: Sonar refactoring
new 4d84b69 GROOVY-9649: Minor refactor: remove redundant if clause
new 8e54d6c GROOVY-9649: Fix bug in IntRange.equals
new 06b56f2 GROOVY-9649: Add test cases for IntRange.equals
new e642159 GROOVY-9649: Refactored RangeExpression
The 25 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:
src/antlr/GroovyLexer.g4 | 36 ++---
src/antlr/GroovyParser.g4 | 4 +-
src/main/java/groovy/lang/IntRange.java | 124 +++++++++++-----
src/main/java/groovy/lang/NumberRange.java | 105 ++++++++++----
.../apache/groovy/parser/antlr4/AstBuilder.java | 8 +-
.../codehaus/groovy/ast/expr/RangeExpression.java | 32 ++++-
.../groovy/classgen/AsmClassGenerator.java | 9 +-
.../codehaus/groovy/classgen/asm/MethodCaller.java | 29 +++-
.../groovy/runtime/DefaultGroovyMethods.java | 16 +--
.../runtime/DefaultGroovyMethodsSupport.java | 28 ++++
.../org/codehaus/groovy/runtime/InvokerHelper.java | 9 +-
.../groovy/runtime/ScriptBytecodeAdapter.java | 54 +++++--
src/spec/doc/_working-with-collections.adoc | 6 +
src/spec/doc/core-operators.adoc | 6 +-
src/spec/doc/core-semantics.adoc | 2 +-
src/spec/test/OperatorsTest.groovy | 8 +-
src/test/groovy/GroovyMethodsTest.groovy | 3 +
src/test/groovy/ListTest.groovy | 16 ++-
src/test/groovy/RangeTest.groovy | 124 ++++++++++++++++
src/test/groovy/lang/IntRangeTest.groovy | 158 +++++++++++++++++----
src/test/groovy/lang/NumberRangeTest.groovy | 16 ++-
.../powerassert/AssertionRenderingTest.groovy | 20 +++
.../runtime/powerassert/EvaluationTest.groovy | 2 +
.../completion/antlr4/ReflectionCompleter.groovy | 8 +-
24 files changed, 659 insertions(+), 164 deletions(-)