[root]/groovy/groovy-core/src/test/groovy/sql
Replace axion with hsqldb, introduce xmlunit to make xml tests less brittle
13 lines of code changed in:
GROOVY-1482: applied patch from Jonathan Carlson, thanks a lot for that contribution!
14 lines of code changed in:
GROOVY-1400: GroovyRowResult should implement Map to access properties in JSPs (EL/JSTL)
116 lines of code changed in:
this committ removes the class org.codehaus.groovy.ast.Type completely and transferes its functuanality to ClassNode and ClassHelper. A ClassNode can now be a primitive type or any other type created with an class file available. ClassNodes can now be primary, which means they are the a result of a class definiton in a file - unlike a ClassNode created from a Class. All phases till actual class creation should work on ClassNode instead of Class. So all Class handling code in ACG is transformed to ahndle ClassNode instead. A ClassNode can contain a redirect now. This is used when multiple names point to the same ClassNode. This mechanism was used instead of a replacing like with the Type class. This was needed because all class resolving code is transfered into a single phase right after creation of the groovy ast and to avoid creation of huge amounts of code to replace a ClassNode in statements and expressions.
The Compiler is now able to enqueue source files. This means when ever a compiler phase found out it is necessary to compile another source file it can put this file into the compiler using the addSource method of CompilationUnit and leave the rest to the compiler. The compiler will then go back to the initialization phase and proceed to the goal phase ignoring all already handled files but the new added file.
0 lines of code changed in:
Missing def, required by Jochen's changes if we enable the JSR scope checks
2 lines of code changed in:
Missing def, required by Jochen's changes if we enable the JSR scope checks
100 lines of code changed in:
Changed the closure token separator from :: to -> (hope it's the last time we change our mind)
1 lines of code changed in:
Some conversions of closure syntax, to change | into ::
1 lines of code changed in:
updated the test cases to use JSR parser syntax
42 lines of code changed in:
GROOVY-730: added firstRow() and rows() methods to Sql, thanks to Jean-Louis Berliet
79 lines of code changed in:
Fixed failing test case I broke with my previous commit
1 lines of code changed in:
Applied another patch inspired by Dion, where if you accidentally quote a dynamic expression on Groovy SQL you'll get a nice warning and things will still work properly, but the security hole is still there
28 lines of code changed in:
test case and fix for modification of GROOVY-303 and Bing's new issue
2 lines of code changed in:
Test case and fix for GROOVY-303
Test case in src/test/groovy/bugs/Groovy303_Bug.groovy
0 lines of code changed in:
added support for default parameter values
3 lines of code changed in:
test case and fix for GROOVY-224
37 lines of code changed in:
added back unnecessary import to avoid maven bug
1 lines of code changed in:
added back unnecessary import to avoid maven bug
1 lines of code changed in:
added back unnecessary import to avoid maven bug
6 lines of code changed in:
test case and fix for GROOVY-230
26 lines of code changed in:
(10 more)