[root]/groovy/groovy-core/src/main/org/codehaus/groovy/bsf
improved coverage
18 lines of code changed in:
this is a four part commit:
1) remove the ParameterArray workaround, but keep the functionality
2) transfer Closure's invocation rules to MetaClass
3) give all groovy methods the ability to use vargs
4) add a starting implementation of a replacement for ClassWorlds
3 lines of code changed in:
Fixed some error handling code so you get better messages when you put a wrong method name in a script. Also removed some trivial bugs in == vs. .equals.
1 lines of code changed in:
Got rid of the places in the code that gratuitusly print stack traces even though the message is being propagated up the stack to be dealt with.
37 lines of code changed in:
Fixing problems with the BSF integration (GROOVY-475)
7 lines of code changed in:
Applied Steve Goetze's patch for GROOVY-173 to provide security hooks for scripts & types and operations.
9 lines of code changed in:
applied Peter Reilly's test case and fix for GROOVY-192 - thanks Peter!
30 lines of code changed in:
Fix for the bug GROOVY-194.
Commented a verbose and noisy System.out.println().
1 lines of code changed in:
Patch to avoid exceptions when performing two eval() calls via BSF with the same source file name and different code
10 lines of code changed in:
Code refactor to clean things up a bit.
refactored the exceptions in org.codehaus.groovy.runtime into groovy.lang.
To avoid potential clashes with java.lang.NoSuchMethodException I've renamed the NoSuch*Exceptions to be Missing*Exceptions
Also renamed ScriptContext to be Binding which is simpler and a little more Rubyesque
Also got the wiki unit test cases finally working. We still need to test {code:gsh} but other than that its looking good
2 lines of code changed in:
test case and fix for GROOVY-88
3 lines of code changed in:
Added James Birchfield's patch to allow caching in the BSF integration.
We might wanna refactor more to combine the caching into GroovyClassLoader
139 lines of code changed in:
Fully working BSF engine including variable passing context etc.
Now rather than just Groovy scripts being put into the static main() method, the scripts now derive from Script, the code is in the run() instance method and the Script object can take a ScriptContext to allow variables to be passed into and out of the script.
This makes for easy BSF integration. It will also be useful for interactive shells too; the variables can be shared across script invocations. Indeed each script can be in its own classloader and only the ScriptContext shared.
9 lines of code changed in:
Initial cut of a BSF engine for Groovy
Patch to allow main(String[]) of strings to return an object.
Added hooks to GroovyShell for BSF.
163 lines of code changed in: