Changelog Report

Timeframe: 30 days, Total Commits: 56 Total Number of Files Changed: 183

DateAuthorFile/Message
2004-07-15 11:26:55Jeremy Rayner

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

Unified the output of the usage statement for 'groovy' into one place (HelpFormatter)
2004-07-15 11:12:58James Strachan

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

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

fixed tests that don't compile due to asm version switch
2004-07-15 10:22:27James Strachan

maven.xml v 1.78

updated CVS ready for the release & upgraded version number & asm versions
2004-07-15 10:20:19James Strachan

.cvsignore v 1.10

maven.xml v 1.77

project.properties v 1.13

project.xml v 1.101

src/test/groovy/.cvsignore v 1.1

updated CVS ready for the release & upgraded version number & asm versions
2004-07-15 09:58:07James Strachan

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

added back the main() in GroovyShell for those that still use it
2004-07-15 09:47:21James Strachan

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

GROOVY-573 Removed runtime dependency on asm-util
2004-07-15 09:43:13James Strachan

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

added failing test, with commented out failure
2004-07-15 08:48:46Jeremy Rayner

src/latex/ref/groovy-reference-card.tex v 1.2

Added new method for properties, as per GROOVY-464
2004-07-15 08:01:53James Strachan

src/test/groovy/sql/SqlCompleteTest.groovy v 1.11

Fixed failing test case I broke with my previous commit
2004-07-14 20:56:10Guillaume Laforge

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

Applied patch from Danno
2004-07-14 19:26:26Guillaume Laforge

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

New getText() methods from GROOVY-572
2004-07-14 19:20:35James Strachan

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

src/test/groovy/sql/SqlTest.groovy v 1.7

Applied another patch inspired by Dion, where if you accidentally quote a dynamic expression on Groovy SQL you'll get a nice warning and things will still work properly, but the security hole is still there
2004-07-14 19:12:39Guillaume Laforge

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

GROOVY-501: applied Danno Ferrin's patch
2004-07-14 11:10:27James Strachan

project.xml v 1.100

disabled report
2004-07-14 11:06:55James Strachan

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

made a couple of methods protected and tidied up the code
2004-07-13 20:11:36Jeremy Rayner

src/latex/ref/README.txt v 1.1

src/latex/ref/groovy-reference-card.tex v 1.1

src/latex/ref/one-groovy-logo.eps v 1.1

Added a reference card for Groovy. Instructions to build PDF in src/latex/ref/README.txt
2004-07-13 19:43:09James Strachan

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

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

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

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

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

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

Applied John Stump's patch for GROOVY-464... This patch makes the following additions/changes: *) Added these new classes: -) MetaFieldProperty -) MetaBeanProperty -) PropertyValue *) Modified MetaProperty class to be the base class to above new Meta* classes *) MetaClass now gathers up all the known properties of it's representative class during construction. This will gather up properties in the following order: -) all public fields -) all bean properties found via introspection -) any public get/set methods These properties are represented with the above-mentioned MetaProperty objects. *) MetaClass get/setProperty() methods now first look in the MetaProperty objects collected above. If not found in there, they look in other possible locations, like a generic get/set method, or perhaps a protected get/set method that a superclass could define. IMHO, this logic is still too complicated and needs more work. Groovy's design for handling properties needs more simplification. *) MetaClass has a new public method called getProperties(). This will return a List of MetaProperty objects for all known properties of the class. This is the list of collected properties from above. *) org.codehaus.groovy.runtime.DefaultGroovyMethods has added several new methods: -) eachPropertyName(Object self, Closure closure) This will iterate over all properties for the given object and call the closure, passing in the property name -) eachProperty(Object self, Closure closure) This will also iterate over all known properties for the given object, calling the closure, passing the PropertyValue object. With this object, the closure code can look at the property name, type, value, and even set the value. See the PropertyValue class for details. -) allProperties(Object self) This returns a List of PropertyValue objects for all known properties for the given object. What I still would like/need to do: *) the Expando class needs to add some methods to allow his dynamic properties to be queried in the same manner. *) The order of searching for a property in get/setProperty() needs some tweaking. For example, the generic get() should not be called before we check for a protected get*() method. *) I would like to see an end to accessing a class's Class object by simply using <Classname>. This makes some of the property code and static member access complicated. How about using ".class"? *) I would also like to end accessing a method's reference by simply using <Methodname>. This complicates looking up properties. *) I would like to revamp the protocol used by the generic get(). If it returns null, getProperty() assumes that the property was not handled and it continues looking elsewhere. This precludes the property actually being handled by get() which has a value of null. Perhaps use an exception to indicate that get() did not handle the property?
2004-07-13 19:33:57Jeremy Rayner

project.xml v 1.99

test to see if my commit access works :-)
2004-07-13 17:50:51James Strachan

maven.xml v 1.76

re-renabled site:deploy on the DC build
2004-07-13 17:38:02James Strachan

.classpath v 1.41

src/conf/groovy-classworlds.conf v 1.6

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

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

Applied patch by Yuri Schimke to support -p i e support when running groovy
2004-07-13 14:37:48James Strachan

src/main/groovy/util/GroovyTestCase.java v 1.15

src/main/org/codehaus/groovy/classgen/VerifierCodeVisitor.java v 1.10

src/test/groovy/CompilerErrorTest.groovy v 1.2

src/test/org/codehaus/groovy/classgen/VerifierCodeVisitorTest.java v 1.2

src/test/org/codehaus/groovy/syntax/parser/ASTBuilderTest.java v 1.30

added validation checks for variable, property & field names
2004-07-13 14:06:48James Strachan

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

src/test/groovy/CompilerErrorTest.groovy v 1.1

src/test/org/codehaus/groovy/classgen/VerifierCodeVisitorTest.java v 1.1

added better warning to fix dion's common problem of typing println ${foo}
2004-07-13 12:17:45James Strachan

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

fixed javadoc warnings
2004-07-13 12:17:04James Strachan

src/main/groovy/util/GroovyTestSuite.java v 1.8

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

src/test/groovy/UnitTestAsScript.groovy v 1.1

allow any scripts to be ran by the GroovyTestSuite inside any JUnit tool
2004-07-13 09:01:32James Strachan

src/whiteboard/org/codehaus/groovy/classgen/JavacClassGenerator.java v 1.1

a very early experimental version of the bytecode generator using Javac. Its gonna take a bit of work to get this even to compile :) But thought I'd leave it here in case anyone fancies getting it to work
2004-07-11 20:26:48Guillaume Laforge

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

Groovy-450 (eachWithIndex)
2004-07-11 19:41:25Guillaume Laforge

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

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

Added copyright notice
2004-07-11 19:40:26Guillaume Laforge

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

New Groovy methods as of GROOVY-486 and GROOVY-469
2004-07-11 09:08:54Guillaume Laforge

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

MissingMethodExceptions were caught even if it was not main which was missing (fix for GROOVY-567)
2004-07-10 18:23:28tug

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

Set the default for static binding to off
2004-07-10 17:47:08Bing Ran

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

casted parameter for property setters
2004-07-10 16:28:57Bing Ran

src/main/org/codehaus/groovy/classgen/AsmClassGenerator2.java v 1.2

turned on static dispatching by default
2004-07-10 16:04:10Bing Ran

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

safeguarded the getTimeStamp()
2004-07-10 11:10:55Bing Ran

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

The previous check in added timestamp check in the loadClass() method. Requires the __TIMESTAMP field added in the Verifier
2004-07-10 03:31:36Bing Ran

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

src/main/org/codehaus/groovy/classgen/AsmClassGenerator2.java v 1.1

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

src/main/org/codehaus/groovy/classgen/BytecodeExpression.java v 1.2

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

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

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

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

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

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

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

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

src/main/org/codehaus/groovy/control/messages/ExceptionMessage.java v 1.2

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

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

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

src/main/org/codehaus/groovy/runtime/InvokerHelper.java v 1.56

src/main/org/codehaus/groovy/runtime/TemporaryMethodKey.java v 1.3

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

src/main/org/codehaus/groovy/syntax/Types.java v 1.5

src/main/org/codehaus/groovy/syntax/parser/ASTBuilder.java v 1.105

src/main/org/codehaus/groovy/syntax/parser/Parser.java v 1.85

src/main/org/codehaus/groovy/syntax/parser/RuntimeParserException.java v 1.2

src/main/org/codehaus/groovy/tools/DocGenerator.groovy v 1.16

src/main/org/codehaus/groovy/tools/FileSystemCompiler.java v 1.8

src/test/groovy/CastTest.groovy v 1.10

src/test/groovy/ChainedAssignment.groovy v 1.1

src/test/groovy/OptionalReturnTest.groovy v 1.2

src/test/groovy/PrimitiveTypeFieldTest.groovy v 1.3

src/test/groovy/SafeNavigationTest.groovy v 1.2

src/test/groovy/SerializeTest.groovy v 1.3

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

src/test/groovy/security/SecurityTestSupport.java v 1.3

src/test/groovy/xml/TestXmlSupport.java v 1.4

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

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

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.
2004-07-07 17:58:01James Strachan

maven.xml v 1.75

added modules goal to build sub-modules
2004-07-07 15:12:30Steve Goetze

src/main/org/codehaus/groovy/runtime/FloatingPointMath.java v 1.3

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

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

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

Fixed GROOVY-513
2004-07-07 11:14:51James Strachan

project.xml v 1.98

updated the viewcvs url
2004-07-06 21:06:20dcontrol

.cvsignore v 1.9

testing DC again
2004-07-06 21:01:04dcontrol

.cvsignore v 1.8

wakie wakie dc!!!!!
2004-07-06 20:57:16dcontrol

.cvsignore v 1.7

wakie wakie dc
2004-07-06 20:38:57dcontrol

.cvsignore v 1.6

dc test
2004-07-06 20:09:58Guillaume Laforge

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

Updated the runnable behaviour of scripts and classes.
2004-07-06 07:31:25tug

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

Roll back last change - it broke the build
2004-07-05 23:43:55Guillaume Laforge

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

Improved the way a script or class may be run, following the pseudo-code below: if (theClass has a main method) { run the main method } else if (theClass instanceof GroovyTestCase) { use the test runner to run it } else if (theClass implements Runnable) { if (theClass has a constructor with String[] params) instanciate theClass with this constructor and run else if (theClass has a no-args constructor) instanciate theClass with the no-args constructor and run }
2004-07-04 16:14:58Guillaume Laforge

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

Fixed a potential NPE (GROOVY-561)
2004-07-01 05:59:04Guillaume Laforge

src/bin/grok.bat v 1.2

src/bin/groovy.bat v 1.7

src/bin/groovyConsole.bat v 1.3

src/bin/groovyc.bat v 1.3

src/bin/groovysh.bat v 1.4

Updated the .bat files to use the latest Classworlds version (1.0 instead of RC2)
2004-06-30 13:38:39Steve Goetze

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

src/main/org/codehaus/groovy/runtime/BigIntegerMath.java v 1.3

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

src/main/org/codehaus/groovy/runtime/IntegerMath.java v 1.4

src/main/org/codehaus/groovy/runtime/LongMath.java v 1.4

src/main/org/codehaus/groovy/runtime/NumberMath.java v 1.4

src/main/org/codehaus/groovy/syntax/Types.java v 1.4

src/main/org/codehaus/groovy/syntax/lexer/GroovyLexerBase.java v 1.4

src/test/groovy/IntegerOperationTest.groovy v 1.10

src/test/groovy/NumberMathTest.groovy v 1.3

src/test/groovy/lang/ScriptIntegerDivideTest.java v 1.1

Added integer division operators \ and \=
2004-06-29 22:02:17Guillaume Laforge

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

Added the ability to run unit tests also in the run method which takes an input stream (Follow-up to GROOVY-555)
2004-06-28 22:51:42Guillaume Laforge

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

Added the ability to run test cases from the groovy command line, by simply calling groovy MyTestCase.groovy the test will be run. No dependency was added to the JUnit framework thanks to reflection.
2004-06-24 20:36:05Guillaume Laforge

maven.xml v 1.74

Speed-up the rebuild process by not compiling groovy tests if maven.test.skip is true
2004-06-24 20:26:32Guillaume Laforge

maven.xml v 1.73

Speed-up the rebuild process by not compiling groovy tests if maven.test.skip is true
2004-06-23 21:40:31Steve Goetze

.classpath v 1.40

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

src/test/groovy/security/SecurityTest.java v 1.3

Fix for bug reported by Richard Hensley when constructing a GroovyCodeSource from a URL
2004-06-22 10:06:38tug

src/main/groovy/text/GStringTemplateEngine.java v 1.5

Fix Groovy-547
2004-06-21 15:02:42James Strachan

src/bin/grok v 1.2

src/bin/groovy v 1.6

src/bin/groovyConsole v 1.4

src/bin/groovyc v 1.4

src/bin/groovysh v 1.5

fixed scripts to use latest classworlds
2004-06-15 09:21:23tug

src/main/org/codehaus/groovy/sandbox/util/XmlSlurper.java v 1.1

src/test/groovy/util/XmlSlurperTest.groovy v 1.1

Intial check in of XmlSlurper