[root]/groovy/groovy-core/src/main/groovy/util/slurpersupport
Fix Groovy 1585
18 lines of code changed in:
allow GPath expressions to be subscripted wuth forward ranges
a.b[1..4] // is allowed
a.b[4..1] // is not allowed
also don't throw an exception of a sunbscript is positive but out of range,
49 lines of code changed in:
Fix a problem with a trailing null value when enumerating a Filtered Node
18 lines of code changed in:
implement the "+" operator
a.b + "hello"
results in <a><b>....</b>hello</a>
17 lines of code changed in:
a.b.c = {mkp.yield it; a "hello"}
a.b.c = {b "goodbye"; mkp.yield it}
now produces <b>goodbye</b><c>....</c><a>hello</a>
previously it produced
<b>goodbye</b><c>....</c>
which was wrong
9 lines of code changed in:
This is the last commit of the first version of the code which lets the XMLSlurper terr be changed.
This code supports the << operator on GPath expressions.
65 lines of code changed in:
Complete the support for assignment
a.y.x = "body"
a.y.z = e.f.g
a.y.x = {element -> a(element.text())}
57 lines of code changed in:
Support x.y.z = [a: "value1", b: "value2"]
to set mutiple attributes with a single operation
26 lines of code changed in:
add class missing from previous commit
35 lines of code changed in:
Begin adding support for editing Gpath values produced bt XMLSlurper.
x.y.z.@Attr="value" adds an attribute to all the elements matched by
the GPath expression x.y.z
144 lines of code changed in:
Fix Groovy-1561
4 lines of code changed in:
little XML tweaks
181 lines of code changed in:
add '**' to DOMCategory and XmlParser
make children() in DOMCategory behave like XmlParser
Add depth/breadthFirst to DOMCategory
482 lines of code changed in:
Apply Paul King's patch th fix Groovy 1514 - Thank's Paul!
72 lines of code changed in:
MOP preparations: a new typehandling package contains now the number math classes and many methods from Invoker. ScriptBytecodeAdapter and InvokerHelper do now use these functions. The bytecode is changed to provide an additional "sender class" that can be used later for handling visibility. As part of the clean up AsmClassGenerator has been changed and got a unified way for method calling Object gained a iterator() method, that was before implicitly handled by Invoker.
The wrong property name for the conf file in GroovyStarter is corrected now. The error reporting has been adjusted to show exceptions better.
Interfaces of the kind "interface T{ T t}" are now possible and no longer resulting in class loading problems
11 lines of code changed in:
fixed most of the warnings reported by Eclipse (javadoc, unused imports, ...)
0 lines of code changed in:
Fix GROOVY-1480
10 lines of code changed in:
Fix the behavour of findAll on elements
32 lines of code changed in:
Make findAll on attributes work as expected.
139 lines of code changed in:
Supply the right parameter to findAll
1 lines of code changed in:
(11 more)