Changelog Report

Timeframe: 30 days, Total Commits: 61 Total Number of Files Changed: 182

DateAuthorFile/Message
2005-11-21 20:58:05Guillaume Laforge

project.xml v 1.159

Start of the JSR-04 release
2005-11-21 20:10:57Guillaume Laforge

src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.193

GROOVY-1154: implement output << input for streams
2005-11-21 17:29:40tug

src/main/groovy/util/XmlSlurper.java v 1.4

change the name of the aetEntityResolver(URL) to setEntityBaseUrl
2005-11-21 16:19:35tug

src/main/groovy/util/XmlSlurper.java v 1.3

Add setEntityResolver(URL). This uses the URL as the bas to resolve relative URLs
2005-11-21 15:12:28Jeremy Rayner

maven.xml v 1.130

Fix for http://jira.codehaus.org/browse/GROOVY-1151 Uses explicit LF character for non bat files, rather than the odd fixcrlf defaults for 'unix' which on OSX seem to be CR rather than LF.
2005-11-21 07:55:49tug

experimental/groovy/lang/NewMetaClass.java v 1.3

Change the definition of invokeXMethod and invokeXConstructor so that id the metaclass doesn't call the method or constructor then it returns the actual parameters to be used by the bytecode call. Make sure that freash Class arrays are used by the helper methods.
2005-11-21 00:40:23Guillaume Laforge

src/main/groovy/lang/GroovyClassLoader.java v 1.60

src/main/org/codehaus/groovy/control/ResolveVisitor.java v 1.7

GROOVY-1147: Workaround fix for checking mod time for file:// URL
2005-11-21 00:40:00Jochen Theodorou

src/main/org/codehaus/groovy/ast/CompileUnit.java v 1.17

Little fix to rpevent NPEs in cases where the ast building is not possible. The error reporting will tell then why it was not possible
2005-11-21 00:29:03Guillaume Laforge

project.xml v 1.158

GROOVY-1102: fix a badly formatted dependency on mockobjects.
2005-11-21 00:18:54Guillaume Laforge

src/main/org/codehaus/groovy/ant/Groovy.java v 1.9

GROOVY-1094: applying patch from Kenji Nakamura to use the "root.maven" classloader for GroovyShell in the Groovy Ant task when it's used within Maven.
2005-11-21 00:03:50Guillaume Laforge

src/main/groovy/lang/GroovyClassLoader.java v 1.59

src/main/groovy/lang/GroovyResourceLoader.java v 1.2

src/main/org/codehaus/groovy/control/ResolveVisitor.java v 1.6

GROOVY-1145: change the signature of GRL#loadGroovyFile() to GRL#loadGroovySource. This method will now return a URL instead of a File which may be too restrictive under certain circumstances (like loading Groovy sources from JARs, etc).
2005-11-20 23:34:10Jochen Theodorou

src/test/org/codehaus/groovy/classgen/MetaClassTest.groovy v 1.9

adding testcase for groovy-932
2005-11-20 23:21:39Jochen Theodorou

src/test/groovy/ClassExpressionTest.groovy v 1.6

adding tests for primitive types
2005-11-20 22:58:44Jochen Theodorou

src/test/UberTestCase.java v 1.47

src/test/groovy/StackTraceTest.groovy v 1.1

test to avoid regression of Groovy-726
2005-11-20 22:37:08Guillaume Laforge

project.xml v 1.157

Upgraded ASM's core dependency to ASM 2.1.
2005-11-20 15:08:55tug

experimental/groovy/lang/NewMetaClass.java v 1.2

Change the contract with the invokeXmethod and invokeXconstructor methods so that they return the argumantTypes array now contains all the information needed to choose which method to call when the MetaClass delegates that task to the caller.
2005-11-19 21:22:12Jochen Theodorou

src/main/groovy/lang/GroovyClassLoader.java v 1.58

src/main/org/codehaus/groovy/control/CompilationUnit.java v 1.34

cleaner version of GCL#getLoadedClasses
2005-11-19 17:27:55tug

experimental/groovy/lang/NewMetaClass.java v 1.1

First attempt to create a new MetaClass capable of supporting Java name resolution rules more closely than the existing MetaClass
2005-11-18 16:35:41Jochen Theodorou

src/main/org/codehaus/groovy/control/ResolveVisitor.java v 1.5

change false return in script resolving to return true if the type is resolved by the classloader and false else
2005-11-18 16:25:48Jochen Theodorou

src/main/org/codehaus/groovy/control/ResolveVisitor.java v 1.4

enables classloading again
2005-11-18 16:21:23Jochen Theodorou

src/main/org/codehaus/groovy/control/ResolveVisitor.java v 1.3

As many people had problems because classes are compiled twice I changed the logic when a script is compiled. It is now only compiled if there is no class of that name or if there is such a class, then the script is only compiled if the class's classloader is not the working classloader and the class's timestamp is older than the file's lastModified information
2005-11-17 22:25:54Jochen Theodorou

src/main/org/codehaus/groovy/control/CompilationUnit.java v 1.33

fixed bug in sorting
2005-11-17 21:15:20Jochen Theodorou

src/test/org/codehaus/groovy/classgen/DumpingClassLoader.java v 1.13

adding SourceUnit
2005-11-17 21:05:57Jochen Theodorou

src/main/groovy/lang/GroovyClassLoader.java v 1.57

src/main/org/codehaus/groovy/control/CompilationUnit.java v 1.32

this let's the classloader choose the class returned for parseClass a little bit more carefully. The classgen step now gets the ClassNode in a sorted order to avoid defining a class that extends a class that is later defined.
2005-11-16 13:19:57tug

src/main/groovy/util/XmlSlurper.java v 1.2

Allow the user to get and set the EntityResolver, DTDHandlerand ErrorHandler and to get/set Properties and Freatures. This is done by providing delegated calls to the approprate method on the XMLReader used to parse the XML document
2005-11-15 23:44:55Jochen Theodorou

src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java v 1.57

src/main/org/codehaus/groovy/ast/ClassHelper.java v 1.2

src/main/org/codehaus/groovy/ast/ClassNode.java v 1.59

src/main/org/codehaus/groovy/control/CompilationUnit.java v 1.31

src/main/org/codehaus/groovy/control/ResolveVisitor.java v 1.2

this patch enables groovy to recognize "void" as class when it is used as class. For example "println void.class"- It tries to avoid adding a proeprty multiple times to a ClassNode. And it tries to improve the handling of inner classes when not imported using a fqn
2005-11-15 16:20:14tug

src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.192

Fix problem when the element of the lhs was null and the same elamane of the rhs was not. Fix problem when lements of the Lists were themselves Lists. Tidy code.
2005-11-14 22:54:39Guillaume Laforge

maven.xml v 1.129

project.xml v 1.156

Upgraded ASM dependency to ASM 2.1. Fixed JarJar's groupId and upgraded to 0.6.
2005-11-13 19:47:19dierk

project.xml v 1.155

updated commons-httpclient to version 3.0-rc3; it seems it's only used in the examples and those work with the updated versions. The newer version is needed for using Groovy with HtmlUnit and Canoo WebTest, e.g. for testing Grails.
2005-11-13 19:44:22dierk

src/examples/swing/BloglinesClient.groovy v 1.9

fixed problem with moved XmlSlurper package
2005-11-13 16:52:07Jochen Theodorou

src/main/org/codehaus/groovy/control/ResolveVisitor.java v 1.1

ResolveVisitor added
2005-11-13 16:42:09Jochen Theodorou

src/main/groovy/lang/GroovyClassLoader.java v 1.56

src/main/groovy/lang/MetaClassImpl.java v 1.9

src/main/groovy/lang/MissingClassException.java v 1.3

src/main/org/codehaus/groovy/ant/Groovy.java v 1.8

src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java v 1.56

src/main/org/codehaus/groovy/ast/ASTNode.java v 1.10

src/main/org/codehaus/groovy/ast/AnnotatedNode.java v 1.3

src/main/org/codehaus/groovy/ast/AnnotationNode.java v 1.2

src/main/org/codehaus/groovy/ast/ClassHelper.java v 1.1

src/main/org/codehaus/groovy/ast/ClassNode.java v 1.58

src/main/org/codehaus/groovy/ast/CompileUnit.java v 1.16

src/main/org/codehaus/groovy/ast/FieldNode.java v 1.17

src/main/org/codehaus/groovy/ast/InnerClassNode.java v 1.6

src/main/org/codehaus/groovy/ast/MethodNode.java v 1.20

src/main/org/codehaus/groovy/ast/MixinNode.java v 1.4

src/main/org/codehaus/groovy/ast/ModuleNode.java v 1.29

src/main/org/codehaus/groovy/ast/Parameter.java v 1.15

src/main/org/codehaus/groovy/ast/PropertyNode.java v 1.13

src/main/org/codehaus/groovy/ast/Type.java v 1.4

src/main/org/codehaus/groovy/ast/Variable.java v 1.3

src/main/org/codehaus/groovy/ast/expr/ArrayExpression.java v 1.14

src/main/org/codehaus/groovy/ast/expr/AttributeExpression.java v 1.4

src/main/org/codehaus/groovy/ast/expr/BinaryExpression.java v 1.10

src/main/org/codehaus/groovy/ast/expr/BitwiseNegExpression.java v 1.3

src/main/org/codehaus/groovy/ast/expr/BooleanExpression.java v 1.6

src/main/org/codehaus/groovy/ast/expr/CastExpression.java v 1.8

src/main/org/codehaus/groovy/ast/expr/ClassExpression.java v 1.6

src/main/org/codehaus/groovy/ast/expr/ClosureExpression.java v 1.9

src/main/org/codehaus/groovy/ast/expr/ConstantExpression.java v 1.10

src/main/org/codehaus/groovy/ast/expr/ConstructorCallExpression.java v 1.8

src/main/org/codehaus/groovy/ast/expr/DeclarationExpression.java v 1.2

src/main/org/codehaus/groovy/ast/expr/Expression.java v 1.6

src/main/org/codehaus/groovy/ast/expr/FieldExpression.java v 1.6

src/main/org/codehaus/groovy/ast/expr/GStringExpression.java v 1.14

src/main/org/codehaus/groovy/ast/expr/ListExpression.java v 1.6

src/main/org/codehaus/groovy/ast/expr/MapExpression.java v 1.8

src/main/org/codehaus/groovy/ast/expr/MethodCallExpression.java v 1.9

src/main/org/codehaus/groovy/ast/expr/MethodPointerExpression.java v 1.5

src/main/org/codehaus/groovy/ast/expr/NegationExpression.java v 1.6

src/main/org/codehaus/groovy/ast/expr/PostfixExpression.java v 1.6

src/main/org/codehaus/groovy/ast/expr/PrefixExpression.java v 1.6

src/main/org/codehaus/groovy/ast/expr/PropertyExpression.java v 1.8

src/main/org/codehaus/groovy/ast/expr/RegexExpression.java v 1.7

src/main/org/codehaus/groovy/ast/expr/SpreadExpression.java v 1.5

src/main/org/codehaus/groovy/ast/expr/SpreadMapExpression.java v 1.3

src/main/org/codehaus/groovy/ast/expr/StaticMethodCallExpression.java v 1.6

src/main/org/codehaus/groovy/ast/expr/TernaryExpression.java v 1.5

src/main/org/codehaus/groovy/ast/expr/VariableExpression.java v 1.13

src/main/org/codehaus/groovy/ast/stmt/AssertStatement.java v 1.2

src/main/org/codehaus/groovy/ast/stmt/CaseStatement.java v 1.4

src/main/org/codehaus/groovy/ast/stmt/CatchStatement.java v 1.4

src/main/org/codehaus/groovy/ast/stmt/DoWhileStatement.java v 1.2

src/main/org/codehaus/groovy/ast/stmt/ForStatement.java v 1.4

src/main/org/codehaus/groovy/ast/stmt/IfStatement.java v 1.2

src/main/org/codehaus/groovy/ast/stmt/ReturnStatement.java v 1.5

src/main/org/codehaus/groovy/ast/stmt/SwitchStatement.java v 1.5

src/main/org/codehaus/groovy/ast/stmt/SynchronizedStatement.java v 1.2

src/main/org/codehaus/groovy/ast/stmt/ThrowStatement.java v 1.2

src/main/org/codehaus/groovy/ast/stmt/WhileStatement.java v 1.2

src/main/org/codehaus/groovy/classgen/AsmClassGenerator.java v 1.58

src/main/org/codehaus/groovy/classgen/BytecodeHelper.java v 1.22

src/main/org/codehaus/groovy/classgen/ClassCompletionVerifier.java v 1.5

src/main/org/codehaus/groovy/classgen/DummyClassGenerator.java v 1.6

src/main/org/codehaus/groovy/classgen/GeneratorContext.java v 1.6

src/main/org/codehaus/groovy/classgen/JSRVariableScopeCodeVisitor.java v 1.24

src/main/org/codehaus/groovy/classgen/Variable.java v 1.9

src/main/org/codehaus/groovy/classgen/Verifier.java v 1.48

src/main/org/codehaus/groovy/control/CompilationUnit.java v 1.30

src/main/org/codehaus/groovy/control/ProcessingUnit.java v 1.18

src/main/org/codehaus/groovy/control/SourceUnit.java v 1.14

src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.191

src/main/org/codehaus/groovy/runtime/Invoker.java v 1.87

src/main/org/codehaus/groovy/syntax/ASTHelper.java v 1.9

src/main/org/codehaus/groovy/tools/FailsGenerator.groovy v 1.10

src/test/UberTestCase2.java v 1.58

src/test/groovy/sql/TestHelper.groovy v 1.6

src/test/org/codehaus/groovy/ast/ClassNodeTest.java v 1.7

src/test/org/codehaus/groovy/ast/ModuleNodeTest.java v 1.4

src/test/org/codehaus/groovy/classgen/ForTest.java v 1.10

src/test/org/codehaus/groovy/classgen/GStringTest.java v 1.12

src/test/org/codehaus/groovy/classgen/IfElseTest.java v 1.7

src/test/org/codehaus/groovy/classgen/MetaClassTest.groovy v 1.8

src/test/org/codehaus/groovy/classgen/MethodTest.java v 1.8

src/test/org/codehaus/groovy/classgen/PropertyTest.java v 1.8

src/test/org/codehaus/groovy/classgen/TestSupport.java v 1.36

src/test/org/codehaus/groovy/classgen/TupleListTest.java v 1.8

src/test/org/codehaus/groovy/runtime/InvokeGroovyMethodTest.java v 1.12

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.
2005-11-13 16:28:18Jochen Theodorou

src/main/org/codehaus/groovy/tools/LoaderConfiguration.java v 1.2

exchange assert with throwing an AssertionError
2005-11-13 16:27:13Jochen Theodorou

src/main/org/codehaus/groovy/antlr/groovy.g v 1.35

exchange assert with throwing an AssertionError
2005-11-10 10:58:18alang

src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.190

Changed is() to use == instead of System.identityHashCode()
2005-11-09 01:12:14alang

src/main/groovy/ui/Console.groovy v 1.32

Fix error with bindings when creating a new window
2005-11-07 22:17:46Guillaume Laforge

src/main/org/codehaus/groovy/control/CompilationUnit.java v 1.29

GROOVY-1047: only show the file name in stacktraces instead of the full path (takes care of both \ and / since the path string depends on the host platform where the bytecode was compiled)
2005-11-07 22:10:42Guillaume Laforge

src/main/org/codehaus/groovy/control/CompilationUnit.java v 1.28

GROOVY-1047: only show the file name in stacktraces instead of the full path (takes care of both \ and / since the path string depends on the host platform where the bytecode was compiled)
2005-11-07 14:38:11tug

src/main/groovy/xml/StreamingDOMBuilder.groovy v 1.3

src/main/groovy/xml/StreamingMarkupBuilder.groovy v 1.4

src/main/groovy/xml/StreamingSAXBuilder.groovy v 1.3

Det the delegates of inner closures to the correct value
2005-11-07 10:45:52tug

src/main/groovy/util/slurpersupport/GPathResult.java v 1.3

add '@' to the name passed to getAttribute so thet wa actuall select the XML atttribute
2005-11-06 15:03:26dierk

src/main/groovy/lang/GroovyLogTestCase.groovy v 1.1

src/test/UberTestCase2.java v 1.57

src/test/groovy/lang/GroovyLogTestCaseTest.groovy v 1.1

Provide a GroovyLogTestCase that allows running tests under a certain log level and spoof that log: GROOVY-1135
2005-11-06 14:09:32dierk

src/test/groovy/ListTest.groovy v 1.41

Tests for GROOVY-1128 (still disabled)
2005-11-06 11:02:41Guillaume Laforge

src/test/UberTestCase.java v 1.46

src/test/groovy/bugs/SynchronizedBytecodeBug.groovy v 1.1

A testcase to show that the bytecode generated for synchronized blocks is correct (no more Verifier errors)
2005-11-05 23:13:05Guillaume Laforge

src/main/org/codehaus/groovy/classgen/AsmClassGenerator.java v 1.57

Generate correct bytecode for synchronized blocks (fixes GROOVY-247, GROOVY-362, GROOVY-800 and GROOVY-947)
2005-11-04 11:45:58tug

src/main/groovy/lang/DelegatingMetaClass.java v 1.1

src/main/groovy/util/slurpersupport/GPathResult.java v 1.2

src/main/org/codehaus/groovy/runtime/Invoker.java v 1.86

Allow GPth expressions to contain @attribute without the need to put it in quotes
2005-11-04 08:33:57tug

src/main/groovy/lang/GString.java v 1.16

Simplify the implementation if build() - let the builder do all the work!
2005-11-03 19:08:40Russel Winder

src/main/groovy/lang/GString.java v 1.15

src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.189

Moved negate relating to GString from DefaultGroovyMethods.java to GString.java.
2005-11-03 17:30:04tug

src/main/groovy/lang/GString.java v 1.14

Don't call toString on a non Buildable object - let the Bulderwork out what ro do with it. This means that "${{a-> b()}}" builds as <b></b>
2005-11-03 16:08:32tug

src/main/groovy/lang/GString.java v 1.13

Make GString Buildable
2005-11-03 12:19:54tug

src/main/groovy/util/slurpersupport/NodeChildren.java v 1.2

Fix problem when the result of a GPath filter operation is used in a builder
2005-11-02 20:32:49tug

src/main/groovy/util/slurpersupport/Node.java v 1.2

Remove redundant method
2005-11-01 08:50:49tug

experimental/org/codehaus/groovy/runtimemetaclassactionssupport/OverloadedMethodsGenerator.java v 1.2

Add defualt clasue to the case statement used to handle overloaded methods: this fixes the problem of what heppens if no paremeter list matches the actual parameters
2005-11-01 08:44:14tug

experimental/TestMeta.java v 1.2

experimental/org/codehaus/groovy/runtime/MetaClassActionsGenerator.java v 1.3

Use switch rather than very long if, then, else chain to dispatch methods NOTE: this code still requires JDK 1.5 - this will be changed in the near future
2005-10-31 16:22:55tug

experimental/org/codehaus/groovy/runtime/MetaClassActionsGenerator.java v 1.2

Use a WeakHashMap to make the code more GC friendly
2005-10-31 14:19:45tug

experimental/TestMeta.java v 1.1

experimental/org/codehaus/groovy/runtime/MetaClassActions.java v 1.1

experimental/org/codehaus/groovy/runtime/MetaClassActionsGenerator.java v 1.1

experimental/org/codehaus/groovy/runtimemetaclassactionssupport/DefaultGroovyInstanceMethodGenerator.java v 1.1

experimental/org/codehaus/groovy/runtimemetaclassactionssupport/DefaultGroovyStaticMethodGenerator.java v 1.1

experimental/org/codehaus/groovy/runtimemetaclassactionssupport/InstanceMethodGenerator.java v 1.1

experimental/org/codehaus/groovy/runtimemetaclassactionssupport/MethodGenerator.java v 1.1

experimental/org/codehaus/groovy/runtimemetaclassactionssupport/OverloadedMethodsGenerator.java v 1.1

experimental/org/codehaus/groovy/runtimemetaclassactionssupport/ReflectionMethodGenerator.java v 1.1

experimental/org/codehaus/groovy/runtimemetaclassactionssupport/StaticMethodGenerator.java v 1.1

src/main/groovy/lang/MetaClass.java v 1.144

Commit an experimental set of files which demonstrate how a metaclass actions helper can be dynamically generated
2005-10-31 13:37:40Jochen Theodorou

src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.188

added getRootLaoder for ClassLoader
2005-10-29 16:12:54dierk

src/main/groovy/ui/Console.groovy v 1.31

commented out the layout of the runWaitDialog since it broke the groovyConsole. Also needs to be fixed in SwingBuilder since dialog.setLayout is not possible but only dialog.contentPane.setLayout.
2005-10-25 12:34:41alang

src/main/groovy/ui/Console.groovy v 1.30

src/main/groovy/ui/ConsoleSupport.java v 1.6

src/main/groovy/ui/SystemOutputInterceptor.java v 1.1

Added new features to Console - intercepts std output - binds last result to '_' and history of results to '__'
2005-10-25 12:32:11alang

src/main/groovy/swing/SwingBuilder.java v 1.17

Fix problem with using BoxLayout on top level container (Frame, Dialog, Applet)
2005-10-25 12:24:45alang

src/main/groovy/inspect/Inspector.java v 1.6

src/main/groovy/inspect/swingui/ObjectBrowser.groovy v 1.8

Added special handling for showing collections and maps
2005-10-23 17:06:16dierk

src/main/groovy/lang/BenchmarkInterceptor.java v 1.1

src/test/UberTestCase2.java v 1.56

src/test/groovy/lang/BenchmarkInterceptorTest.groovy v 1.1

introduced BenchmarkInterceptor for statistics on method calls and their elapsed time profile, is still in the lang package and should probably move to util, is also a second example for Interceptor usage