[root]/groovy/groovy-core/src/main/org/codehaus/groovy/tools
groovydoc
(23 files, 1583 lines)
gstring-templates
(0 files, 0 lines)
class-level
(2 files, 114 lines)
package-level
(3 files, 120 lines)
top-level
(6 files, 205 lines)
xml
(2 files, 344 lines)
| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 114 (100.0%) | 4100 (100.0%) | 35.9 |
| jstrachan | 43 (37.7%) | 1740 (42.4%) | 40.4 |
| blackdrag | 31 (27.2%) | 1220 (29.8%) | 39.3 |
| bob | 6 (5.3%) | 407 (9.9%) | 67.8 |
| cpoirier | 12 (10.5%) | 275 (6.7%) | 22.9 |
| tug | 7 (6.1%) | 268 (6.5%) | 38.2 |
| glaforge | 6 (5.3%) | 113 (2.8%) | 18.8 |
| zohar | 2 (1.8%) | 32 (0.8%) | 16.0 |
| bran | 2 (1.8%) | 32 (0.8%) | 16.0 |
| hmeling | 1 (0.9%) | 7 (0.2%) | 7.0 |
| dierk | 1 (0.9%) | 4 (0.1%) | 4.0 |
| jez | 1 (0.9%) | 1 (0.0%) | 1.0 |
| cstein | 1 (0.9%) | 1 (0.0%) | 1.0 |
| paulk | 1 (0.9%) | 0 (0.0%) | 0.0 |
add doc (gdk and javadoc) and install targets to ant build
0 lines of code changed in:
thanks to Philip Savkin for this improvement of the groovy docs
39 lines of code changed in:
Remove redundat "this" which break in RC1
17 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
1 lines of code changed in:
remove left over System.out
0 lines of code changed in:
corrected newlines and copyright
1 lines of code changed in:
changes RootLoade into a URLClassloader and removes the inner loader. With this patch the getRootLoader method in DGM should work again.
30 lines of code changed in:
secound try... this patch introduces deep changes in the classlaoder structure. A ReflectorLaoder is introduced, specialized to load the Reflectors without the overhead a GroovyClassLoader would give. This Loader should also make the Relfector process a bit less fragil. GCL is now not any longer recompiling by default, but recompiling can be controled through the compiler configuration and a method in case of subclassing GCL. It should be now more easy to write custom versions of the GCL as the class loading process is more modularized and can be overwritten in subclasses at many points. This patch also changes the CompilationUnit into a state machine, going through the different compilation phases and executing all operations stored for that phase. This change allows to add operations without subclassing CompilationUnit, for example adding properties to each generated class.
2 lines of code changed in:
fix for Groovy-1250
Changed the classlaoders to throw ClassNotFoundException when when a class is found which is the same only when comparing caseinsensitive. Also the creation of the URLs is now part of a PriviledgedAction, so the SecurityTest will not complain. I removed some duplicate code from the MetaClassImpl and changed the coercion mechanism in MetaClassHelper completly so it can work without the IllegalArgumentExceptions. ResolveVisitor will now not test classes without packages two times.
9 lines of code changed in:
fixes a bug in the RootLoader which prevented him from finding resources on the given classpath.
Resolvevisitor now no longer marks a precompiled class with missing parent class as "not found" which results in the open bug GROOVY-1257, but allows us to see a correct error message.
GCL will now create a File and use it's toURI().toURL() mechanism to ensure possible missing trailing slashes are there where they should be.
1 lines of code changed in:
corrected compiler help message (was groovy instead of groovyc) and commented out --strict from showing up since the option is not used in the CompilerConfiguration (may be used later); added todo for using cli more consistently.
4 lines of code changed in:
this commit contains the reimplementation of the scoping. The complete scoping is removed from the ACG. Additionally some code from the ACG is transfered in a Helper that manges labels, scopes and variable creation in a stack. All checks from JSRVariableScopeCodeVisitor are transfered into the ClassCompletion verifier or the new VariableScopeVisitor. Additionally some checks for labels were added with the LabelVerifier. ACG was changed so a DeclarationExpression will no longer create a local variable and if a variable is a filed or protperty accessed from inside a closure ACG will no longer try to access that field directly. Instead the closure has to resolve these cases at runtime.
Note: this commit should pass the tests but is imcomplete due to missing tests.
0 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.
1 lines of code changed in:
exchange assert with throwing an AssertionError
1 lines of code changed in:
Move XmlSlurper and the Streaming Builders out of the sandbox
2 lines of code changed in:
Applied patch for GROOVY-876 by Wang Bin.
Updated the eclipse .classpath since classworlds are no longer used.
Updated project.xml (there were two artifactids for openejb).
Fixed minor typos in javadoc of RootLoader.
7 lines of code changed in:
this patch removes the classworlds dependency from groovy. All command line programs will now use RootLoader instead. It's now possile to have a single conf file for all groovy commands. Each command can have an -cp or -classpath argument. This path will not be part of the java.classpath, it will be part of the classpath of the RootLoader class. The commands are now only wrappers for the centralized startGroovy commands. These are not for direct usage.
77 lines of code changed in:
classpath extension features added
36 lines of code changed in:
documentation added
106 lines of code changed in:
removed the overwriting of the final method
4 lines of code changed in:
(63 more)