[root]/groovy/groovy-core/src/main/org/codehaus/groovy/control/messages
| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 22 (100.0%) | 532 (100.0%) | 24.1 |
| cpoirier | 6 (27.3%) | 439 (82.5%) | 73.1 |
| blackdrag | 7 (31.8%) | 48 (9.0%) | 6.8 |
| spullara | 1 (4.5%) | 32 (6.0%) | 32.0 |
| jstrachan | 3 (13.6%) | 9 (1.7%) | 3.0 |
| cstein | 3 (13.6%) | 2 (0.4%) | 0.6 |
| fraz | 1 (4.5%) | 1 (0.2%) | 1.0 |
| bran | 1 (4.5%) | 1 (0.2%) | 1.0 |
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
3 lines of code changed in:
GROOVY-607 : Updated SyntaxErrorMessage to bind the underlying SyntaxException to the SourceUnit it is associated with when instantiated
1 lines of code changed in:
Organized imports, e.g. removed not used ones, expanded all "x.z.*" to the long form reading "x.z.A" and "x.z.B" (as needed).
Removed trailing semicolons.
Made some static method calls use the static class name.
2 lines of code changed in:
next try to improve errorreporting and to show code snippets for as many exceptions as possible. The new class ErrorCollector is used to collect errors during script compiling. It will store all Warnigns and Exceptions. When completing a phase the ErrorCollector will throw a new Exception named MultipleCompilationErrorsException (child of CompilationFailedException) if there were exceptions stored in the collector. The new Exception is able to report all Errors and Warinings collected throught the toString method
45 lines of code changed in:
Moved the classic parser out into a separate module (groovy/modules/classic) to avoid distributing code with folks using the JSR. Moved the old classic test cases over too to avoid us getting mixed up.
2 lines of code changed in:
Got most of the basic expressions working so simple programs are now working with the new parser; still more work required, but at least we can start playing with New Groovy now!
7 lines of code changed in:
Fix the error reporting system to simplify the output of scripts so that people don't see huge unrelated stacktraces. This new system only prints out errors from non-java files, i.e. groovy files. If you are a groovy developer and need to see the compelte stack trace, use -d/--debug on the command-line. Also added System.exit() to the command line so that you can use it in the shell and have it fail properly when it fails. Before it was returning success no matter what.
32 lines of code changed in:
added code for static method dispatching. The main changes are in AsmClassGenerator2, which deprecates AsmClssGenerator, and all the Expression subclasses and nodes that deal with type information. Some changes are not really related to call dispatching, but I have included them in the batch. The early-binding mode is turned off by default (see AsmClassGenerator2, line 200) the default mode checks for -Dstatic.dispatching=true and turns on early-binding accordingly.
1 lines of code changed in:
Centralized compilation management and error handling.
Compilation is now managed by SourceUnit and CompilationUnit objects to which errors
are reported. CompilerConfiguration provides a single object for controlling compiler
configuration. CompilationFailedException is thrown for any compilation failures, and
links back to the CompilationUnit and SourceUnit that discovered the problem and that
house the error messages. These objects all reside in org.codehaus.groovy.control.
439 lines of code changed in: