Changelog Report

Timeframe: 30 days, Total Commits: 52 Total Number of Files Changed: 167

DateAuthorFile/Message
2006-06-28 12:59:18Jochen Theodorou

src/main/org/codehaus/groovy/tools/RootLoader.java v 1.13

remove left over System.out
2006-06-27 15:53:35tug

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

Slightly simplify the changes which fix Groovy-1362
2006-06-27 15:29:26tug

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

src/test/org/codehaus/groovy/runtime/FileAppendTest.groovy v 1.1

Apply Joachim Baumann's patch for Groovy 1362. Thanks Joachim!
2006-06-26 14:36:19Jochen Theodorou

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

correct misspelling of "NLS" to "nls" (nls is optional, NLS not)
2006-06-25 19:58:43Jochen Theodorou

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

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

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

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

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

small change to make ResovleVisitor a ClassCodeVisitior and adds object initilializers in classes it is now possible to use code like: class Foo{ def bar; {bar="it works"} }
2006-06-25 18:52:00Jochen Theodorou

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

correct handling of primitive arrays
2006-06-25 18:17:17Jochen Theodorou

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

avoids NPE if MetaClass is diretly used like in some tests
2006-06-25 11:56:40Jochen Theodorou

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

remove nondeterminism between rules created through adding NLS before "throws"
2006-06-23 15:26:04Jochen Theodorou

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

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

add a helper method to convert array names correctly for class loading
2006-06-23 15:25:19Jochen Theodorou

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

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

let's the GroovyCodesource decide if a source is cachable or not. by default file sources are, all others not.
2006-06-23 15:23:38Jochen Theodorou

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

adds a nls before "throws" and removes a=b in if-expression, but only if used directly. if (a=b) isn't allowed then anay longer, but if ((a=b)) is still available
2006-06-23 15:15:16tug

src/main/org/codehaus/groovy/runtime/wrappers/PojoWrapper.java v 1.3

Add a temporary sanity check to ensure we don't wrap groovy objects as POJOs
2006-06-23 14:52:44tug

src/main/org/codehaus/groovy/runtime/wrappers/BooleanWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/ByteWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/CharWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/DoubleWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/FloatWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/GroovyObjectWrapper.java v 1.2

src/main/org/codehaus/groovy/runtime/wrappers/IntWrapper.java v 1.2

src/main/org/codehaus/groovy/runtime/wrappers/LongWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/PojoWrapper.java v 1.2

src/main/org/codehaus/groovy/runtime/wrappers/ShortWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/Wrapper.java v 1.2

complete all the primitive wrapper types - add the constrained type information to Wrapper
2006-06-23 11:05:01tug

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

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

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

src/main/org/codehaus/groovy/runtime/wrappers/GroovyObjectWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/IntWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/PojoWrapper.java v 1.1

src/main/org/codehaus/groovy/runtime/wrappers/Wrapper.java v 1.1

Commit intial versions of the Wrapper classes to be used by the new MOP to capure type information. Changes to the MetaClass implementation are just to enrure that these classes can be used transparently at the moment. There will be one wrapper for each scalr primitive type in the future.
2006-06-21 14:29:58graeme

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

GROOVY-1372: Added ability to specify parent class loader in constructor
2006-06-21 14:29:40graeme

src/main/groovy/ui/InteractiveShell.java v 1.32

GROOVY-1371: Added ability to specify parent class loader in constructor
2006-06-16 11:33:10Jochen Theodorou

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

removes "new Object{}" it isn't supported by groovy and shouldn't be recognized then
2006-06-16 10:48:56galleon

src/main/groovy/xml/MarkupBuilder.java v 1.11

src/test/groovy/bugs/Groovy593_Bug.groovy v 1.11

correct GROOVY-1308 for better handling of XML escaping Thanks Peter for the patch
2006-06-16 08:15:35Jochen Theodorou

src/main/org/codehaus/groovy/ast/ImportNode.java v 1.7

adding getClassName again for ide plugins
2006-06-15 23:08:14Jochen Theodorou

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

allow String == GString
2006-06-15 20:42:01Jochen Theodorou

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

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

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

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

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

with this change groovy now resolves import statments to classes if a full class name is given. If the resolving failes, the class generation fails. This should ensure that there are no surprises if a class is imported.
2006-06-15 17:21:33Jochen Theodorou

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

src/main/org/codehaus/groovy/classgen/VariableScopeVisitor.java v 1.4

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

enables resolving and the correct scope generation for default arguments in parameters
2006-06-15 15:54:28Jochen Theodorou

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

changes the script naming convention to use a counter instead of the current time
2006-06-15 15:29:07Jochen Theodorou

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

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

extended error message for duplicate class definitions. The emssage prints now the location of the duplicated class and gives a special message for the "class in script combined with script body and class has name of the file" problem
2006-06-15 13:34:14Jochen Theodorou

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

allows throws clause in interfaces without the need for a semicolon
2006-06-15 13:31:42Jochen Theodorou

src/main/org/codehaus/groovy/ant/RootLoaderRef.java v 1.4

corrected newlines and copyright
2006-06-15 13:30:15Jochen Theodorou

src/main/org/codehaus/groovy/tools/RootLoader.java v 1.12

corrected newlines and copyright
2006-06-15 13:20:20Jochen Theodorou

src/main/org/codehaus/groovy/tools/RootLoader.java v 1.11

changes RootLoade into a URLClassloader and removes the inner loader. With this patch the getRootLoader method in DGM should work again.
2006-06-15 13:19:27Jochen Theodorou

src/main/org/codehaus/groovy/ant/RootLoaderRef.java v 1.3

removes the xerces parser from the given classpath. This is needed as the parser used by ant to call this task and a parser inside the executed task may conflict due to a class duplication. The result is a class cast exception, for the Xerces class.
2006-06-13 22:15:02galleon

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

src/main/org/codehaus/groovy/runtime/NullObject.java v 1.1

src/test/org/codehaus/groovy/runtime/NullObjectTest.groovy v 1.1

Add a singleton NullObject so that we can call methods on null This is dealing with JIRA-1119 & JIRA-433
2006-06-09 14:58:32dierk

src/test/groovy/DownUpStepTest.groovy v 1.7

src/test/org/codehaus/groovy/runtime/DefaultGroovyMethodsTest.java v 1.8

GROOVY-833: final clean-up work
2006-06-09 13:50:10tug

src/examples/swing/BloglinesClient.groovy v 1.10

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

src/main/groovy/mock/interceptor/Demand.groovy v 1.3

src/main/groovy/mock/interceptor/MockFor.groovy v 1.2

src/main/groovy/mock/interceptor/MockInterceptor.groovy v 1.3

src/main/groovy/mock/interceptor/StubFor.groovy v 1.3

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

src/main/groovy/util/CliBuilder.groovy v 1.7

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

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

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

src/main/groovy/xml/streamingmarkupsupport/AbstractStreamingBuilder.groovy v 1.3

src/tck/src/org/codehaus/groovy/tck/BatchGenerate.groovy v 1.3

src/test/gls/scope/ClassVariableHidingTest.groovy v 1.2

src/test/gls/scope/MultipleDefinitionOfSameVariableTest.groovy v 1.5

src/test/groovy/ClosureComparatorTest.groovy v 1.7

src/test/groovy/ClosureTest.groovy v 1.25

src/test/groovy/GroovyInterceptableTest.groovy v 1.4

src/test/groovy/PrimitiveDefaultValueTest.groovy v 1.3

src/test/groovy/bugs/BooleanBug.groovy v 1.6

src/test/groovy/bugs/Bytecode4Bug.groovy v 1.9

src/test/groovy/bugs/ChristofsPropertyBug.groovy v 1.3

src/test/groovy/bugs/GetterBug.groovy v 1.4

src/test/groovy/bugs/Groovy249_Bug.groovy v 1.9

src/test/groovy/bugs/Groovy779_Bug.groovy v 1.6

src/test/groovy/bugs/Groovy831_Bug.groovy v 1.2

src/test/groovy/bugs/PrimitivePropertyBug.groovy v 1.4

src/test/groovy/bugs/SuperMethod2Bug.groovy v 1.7

src/test/groovy/bugs/TedsClosureBug.groovy v 1.8

src/test/groovy/bugs/TestBase.groovy v 1.10

src/test/groovy/bugs/VariablePrecedence.groovy v 1.11

src/test/groovy/lang/ClassReloadingTest.groovy v 1.7

src/test/groovy/mock/example/SandwichMaker.groovy v 1.5

src/test/groovy/script/AtomTestScript.groovy v 1.5

src/test/groovy/script/MarkupTestScript.groovy v 1.4

src/test/groovy/swing/TableDemo.groovy v 1.10

src/test/groovy/util/BuilderSupportTest.groovy v 1.11

src/test/org/codehaus/groovy/classgen/CallClosureFieldAsMethodTest.groovy v 1.7

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

src/test/org/codehaus/groovy/classgen/MyBean.groovy v 1.4

Remove all @Property usage
2006-06-09 11:22:20dierk

src/main/org/codehaus/groovy/runtime/WritableFile.java v 1.6

GROOVY-833: fix without delegate
2006-06-09 09:25:00dierk

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

src/main/org/codehaus/groovy/runtime/WritableFile.java v 1.5

src/test/groovy/DownUpStepTest.groovy v 1.6

src/test/org/codehaus/groovy/runtime/DefaultGroovyMethodsTest.java v 1.7

GROOVY-833: Groovy-core compile errors in eclipse with 5.0 compiler enabled
2006-06-08 11:36:53tug

src/test/groovy/Foo.groovy v 1.12

src/test/groovy/Property2Test.groovy v 1.2

src/test/groovy/PropertyTest.groovy v 1.14

Two unit tests which produce failures when @Property is removed
2006-06-07 12:44:41dierk

src/main/groovy/util/AntBuilder.java v 1.12

src/main/org/codehaus/groovy/ant/FileScanner.java v 1.2

src/test/groovy/util/AntTest.groovy v 1.16

src/test/groovy/util/AntTest.xml v 1.1

src/test/groovy/util/SpoofTask.java v 1.3

src/test/groovy/util/SpoofTaskContainer.java v 1.3

GROOVY-1335 and GROOVY-824: AntBuilder doesn't instantiate Tasks the Ant way
2006-06-07 12:09:44Jochen Theodorou

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

new property semantics
2006-06-06 17:00:47tug

src/test/groovy/Base64Test.groovy v 1.9

fix missing character
2006-06-06 16:55:21tug

.settings/org.eclipse.core.resources.prefs v 1.1

src/test/groovy/Base64Test.groovy v 1.8

Change the encoding of Base64Test to UTF-8
2006-06-06 15:06:04Jochen Theodorou

src/test/groovy/lang/GroovyClassLoaderTest.groovy v 1.2

test for adding additional phases in GCL
2006-06-06 14:53:06Jochen Theodorou

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

groovy version of the class loader test with more tests
2006-06-06 14:33:46Jochen Theodorou

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

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

src/main/groovy/lang/GroovyCodeSource.java v 1.8

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

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

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

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

src/main/org/codehaus/groovy/control/CompilerConfiguration.java v 1.15

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

src/test/AllGroovyJavaTestsSuite.java v 1.6

src/test/groovy/lang/GroovyClassLoaderTest.java v 1.4

this patch contains some minor changes as a result of a findbugs analyses and the second part of the GCL changes. The inner classes in CompilationUnit are renamed, GCL does cache sources again and some documentation is added
2006-06-06 14:29:36Jochen Theodorou

src/main/org/codehaus/groovy/classgen/CompileStack.java v 1.7

removes unneeded class variable
2006-06-06 14:28:44Jochen Theodorou

src/main/groovy/servlet/TemplateServlet.java v 1.21

avoid setting header the status code field after body is started
2006-06-05 06:22:21tug

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

Fix Groovy-1331 Tahnks to Jeff Brown for the patch!
2006-06-04 22:00:02tug

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

src/test/groovy/SqlDateTest.groovy v 1.1

Fix Groovy-1331 Tahnks to Jeff Brown for the patch!
2006-05-31 21:10:07Jochen Theodorou

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

removed getRessources from inner loader as it is a) not needed and b) final in 1.4, even if it is not final in 1.5
2006-05-30 18:27:48Jochen Theodorou

src/main/org/codehaus/groovy/runtime/ReflectorLoader.java v 1.1

src/test/groovy/lang/ClassReloadingTest.groovy v 1.6

src/test/groovy/lang/GroovyClassLoaderTest.java v 1.3

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

src/test/org/codehaus/groovy/classgen/ReflectorGeneratorTest.java v 1.5

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

src/test/org/codehaus/groovy/control/CompilationUnitTest.java v 1.2

third part... 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.
2006-05-30 18:24:03Jochen Theodorou

src/main/groovy/ui/GroovyMain.java v 1.25

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

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

src/main/org/codehaus/groovy/classgen/VariableScopeVisitor.java v 1.3

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

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

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

src/main/org/codehaus/groovy/tools/RootLoader.java v 1.10

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.
2006-05-30 18:14:45Jochen Theodorou

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

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

src/main/groovy/lang/GroovyCodeSource.java v 1.7

src/main/groovy/lang/GroovyShell.java v 1.52

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

src/main/groovy/lang/MetaClassRegistry.java v 1.27

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.
2006-05-30 17:27:29Jochen Theodorou

src/main/groovy/sql/Sql.java v 1.21

changes to SQL handling lost in the server crash
2006-05-30 13:15:26dierk

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

src/main/org/codehaus/groovy/runtime/ScriptBytecodeAdapter.java v 1.12

src/test/groovy/SwitchTest.groovy v 1.9

GROOVY-1329: handle null more gracefully in switch/case