Changelog Report

Timeframe: 30 days, Total Commits: 57 Total Number of Files Changed: 129

DateAuthorFile/Message
2005-08-16 22:25:46Guillaume Laforge

project.properties v 1.22

Added some properties so that we can specify the username, private key path, pass phrase, repo location (needed for the release process)
2005-08-16 07:55:41Pilho Kim

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

src/test/UberTestCase.java v 1.40

src/test/groovy/RegExpGroupMatchTest.groovy v 1.1

The previous patch, DefaultGroovyMethods.java 1.173, has been failed to stop infinite loops. So now fix again the issue GROOVY-1000. Now mather[inex] is either a matched String or a List of matched group Strings at the position of the given index. For an example, def matcher = "\$abc." =~ /\$(.*)\./ assert "\\\$(.*)\\." == /\$(.*)\./ // assert matcher[1] == "abc" // This has worked before jsr-03-release assert matcher[0] == ["\$abc.", "abc"] // But this should work since jsr-03-release assert matcher[0][1] == "abc" // This should work since jsr-03-release
2005-08-15 16:36:02Guillaume Laforge

src/bin/groovy.bat v 1.12

Commit test to see if BJ notices CVS changes
2005-08-15 12:39:18Guillaume Laforge

src/bin/groovy.bat v 1.11

Fix to handle multiple elements after -cp
2005-08-15 09:55:37Jeremy Rayner

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

reverted to 1.12 code, as this patch causes the groovy-core build to fail
2005-08-15 04:50:23Pilho Kim

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

Fix the issue GROOVY-1000 (infinite loop bug in matching). For an example, pattern = /(?:ab([c|d]))/ matcher = "abcabd" =~ pattern while (matcher.find()) { println(matcher[1]); }
2005-08-10 15:41:13Jochen Theodorou

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

the content of upto(Long, Number, Closure) was removed accidently, now added again
2005-08-10 09:58:54hmeling

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

Added a minor patch to ensure that classloader problems are revealed properly when compiling.
2005-08-10 09:53:58hmeling

src/main/groovy/util/Node.java v 1.10

Added possiblity to serialize the Node objects of a nodebuilder. This is a personal thing, and migth not be useful to many other people. But it should not hurt anyone, either.
2005-08-10 09:52:08hmeling

src/main/org/codehaus/groovy/ant/Groovyc.java v 1.15

Added support for 'stacktrace' option to the groovyc ant task. Fixed classloader issue when compiling with groovyc ant task; the AntClassLoader seems to exclude 'directory' entries in the classpath provided to the task. This could be a bug in Ant, but this fix provides a workaround for the problem.
2005-08-05 15:37:04James Strachan

project.xml v 1.151

removed snapshot version number
2005-08-05 15:15:46James Strachan

project.xml v 1.150

getting ready for release
2005-08-05 15:13:19James Strachan

project.xml v 1.149

getting ready for JSR-3
2005-08-04 21:55:45Pilho Kim

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

Coerce numbers better in the implementation of setProperty(object, newValue). Change comments better.
2005-08-04 21:06:44Pilho Kim

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

src/test/UberTestCase2.java v 1.45

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

Fix the issues GROOVY-994, GROOVY-881, and GROOVY-638. Now we can use this() in constructors of classes.
2005-08-04 18:56:54Jeremy Rayner

src/tck/test/gls/ch03/s01/Unicode1.groovy v 1.4

src/tck/test/gls/ch03/s01/Unicode2.groovy v 1.2

src/tck/test/gls/ch03/s02/LexicalTranslation1.groovy v 1.2

src/tck/test/gls/ch03/s02/Longest1.groovy v 1.2

src/tck/test/gls/ch03/s03/UnicodeEscapes1.groovy v 1.1

src/tck/test/gls/ch03/s03/UnicodeEscapes2.groovy v 1.1

src/test/UberTestCaseTCK.java v 1.3

* Added finishing touches to first draft of GLS $3.3 http://groovy.codehaus.org/jsr/spec/AltChapter03LexicalStructure.html#3.3 * Added Alan Green's tests for section 3.3 * Added Attribution to each TCK test thus far
2005-07-29 12:01:33Russel Winder

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

src/test/UberTestCase.java v 1.39

src/test/UberTestCase2.java v 1.44

src/test/groovy/ExecuteTest_LinuxSolaris.groovy v 1.1

Added a more groovy version of the list execute and sorted the tests.
2005-07-29 11:36:17Christian Stein

src/examples/webapps/groovlet-examples/WEB-INF/web.xml v 1.4

src/main/groovy/servlet/AbstractHttpServlet.java v 1.8

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

Unified servlet parameter names. See javadoc for details. Re-implemented match/replace using compiled pattern in getResourceConnection() - instead of String.replaceAll(). Better cache hit reporting of TemplateServlet in verbose mode.
2005-07-28 23:58:44Russel Winder

src/test/UberTestCase2.java v 1.43

Correcting a faulty edit/commit -- removed the duplicate and reinstated the deleted test.
2005-07-28 23:50:20Russel Winder

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

src/test/UberTestCase2.java v 1.42

Added new execute method.
2005-07-28 21:36:52Christian Stein

.classpath v 1.56

Fixed *clipse .classpath using jmock-SNAPSHOT.jar
2005-07-28 21:36:08Christian Stein

src/tck/.cvsignore v 1.1

CVS-ignoring build, dist and gentest directories - they are generated by build.xml.
2005-07-28 10:34:31Jeremy Rayner

src/tck/test/gls/ch03/s01/Unicode1.groovy v 1.3

src/tck/test/gls/ch03/s01/Unicode2.groovy v 1.1

src/tck/test/gls/ch03/s02/LexicalTranslation1.groovy v 1.1

src/test/UberTestCaseTCK.java v 1.2

* added more tests for Section 3.1 and 3.2 of the GLS
2005-07-27 14:28:55Pilho Kim

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

Fix the issue GROOVY-968 (a bug of putAt of list for EmptyRange) For an exmaple, def x = [0, 1, 2, 3] x[2..<2] = [9, 9, 9] assert x == [0, 1, 9, 9, 9, 2, 3]
2005-07-27 12:01:03dierk

src/main/groovy/servlet/GroovyServlet.java v 1.18

make sure all information is available in Browser, log and System.err when script processing fails
2005-07-27 09:04:38Jeremy Rayner

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

src/tck/src/org/codehaus/groovy/tck/ClassicGroovyTestGeneratorHelper.java v 1.2

src/tck/src/org/codehaus/groovy/tck/TestGenerator.groovy v 1.2

src/tck/src/org/codehaus/groovy/tck/TestGeneratorHelper.java v 1.2

src/tck/test/gls/ch03/s01/Unicode1.groovy v 1.2

* Changed GroovyShell.run(...) methods to return an Object * Wrapped scripts that are junit tests in TestSuites, so that junit returns TestResults * Modified TCK tools to look for success of tests within tests
2005-07-27 06:40:51Pilho Kim

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

src/test/groovy/inspect/InspectorTest.java v 1.7

This patch contains: 1) Support the enhanced method printf(object, format, array of primitive values)for JDK 1.5 Support the enhanced method printf(object, format, list) for JDK 1.5 2) Change the method replaceAll(string, regex, closure) 3) Fix a bug of the method splitEachLine(file, string) 4) Fix a bug of the method eachMatch(string, regex, closure) 5) Fix a bug of the method each(matcher, closure)
2005-07-26 07:09:13Jeremy Rayner

src/tck/build.xml v 1.2

* modified TCK build to allow it to detect if it is being executed within maven
2005-07-25 11:50:43Pilho Kim

src/test/groovy/ClosureDefaultParameterTest.groovy v 1.5

src/test/groovy/ClosureSugarTest.groovy v 1.10

src/test/groovy/DefaultParamClosureTest.groovy v 1.6

src/test/groovy/ImportTest.groovy v 1.4

src/test/groovy/ListIteratingTest.groovy v 1.12

src/test/groovy/MethodParameterAccessWithinClosureTest.groovy v 1.3

src/test/groovy/OptionalReturnTest.groovy v 1.5

src/test/groovy/PostfixTest.groovy v 1.6

src/test/groovy/SpreadDotTest.groovy v 1.4

Uncomment the working codes in some test suits.
2005-07-25 08:09:00Pilho Kim

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

src/test/groovy/lang/RangeTest.java v 1.9

Fix the issue GROOVY-986. Modify the text example "test/groovy/java/RangeTest.java".
2005-07-25 07:23:57Jeremy Rayner

maven.xml v 1.125

src/tck/build.xml v 1.1

src/tck/src/manifest.txt v 1.1

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

src/tck/src/org/codehaus/groovy/tck/ClassicGroovyTestGeneratorHelper.java v 1.1

src/tck/src/org/codehaus/groovy/tck/GenerateTestCases.java v 1.1

src/tck/src/org/codehaus/groovy/tck/TestGenerator.groovy v 1.1

src/tck/src/org/codehaus/groovy/tck/TestGeneratorHelper.java v 1.1

src/tck/styles/junit-frames.xsl v 1.1

src/tck/test/gls/ch03/s01/Unicode1.groovy v 1.1

src/tck/test/gls/ch03/s02/Longest1.groovy v 1.1

src/test/UberTestCaseTCK.java v 1.1

* Added a suite of tests and tools that make up the Groovy Technology Compatibility Kit (TCK) - the Groovy TCK will be called during a normal groovy-core (testing) build - modified maven.xml to call TCK sub-build that generates tests based on files in src/tck/test - added UberTestCaseTCK.java that allows us to develop TCK tests, even if groovy-core doesn't yet pass TCK - begun TCK itself by adding in first two sections of chapter 3 of the GLS (thanks to Alan Green for these) (see $3.1 and $3.2 of http://groovy.codehaus.org/jsr/spec/AltChapter03LexicalStructure.html )
2005-07-25 07:15:32Jeremy Rayner

src/main/org/codehaus/groovy/antlr/treewalker/SourcePrinter.java v 1.12

* Changed pretty printer to allow extension by other classes
2005-07-23 12:09:47Pilho Kim

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

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

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

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

1. Rewrite some comments more nicely. 2. Support the methods map.toSpreadMap() as an alternating of *:map. 3. Add the enhanced toString() methods for maps, lists, and arrays. For more informations, check the issue GROOVY-983.
2005-07-22 14:40:16Christian Stein

.classpath v 1.55

src/main/org/codehaus/groovy/antlr/LexerFrame.java v 1.3

Removed 2 warnings: o deprecated usage of Window.show() replaced by setVisible(true) o exclusion filter in Eclipse for duplicated .cvsignore filter
2005-07-22 13:19:25Pilho Kim

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

src/test/groovy/ClosureTest.groovy v 1.24

Fix a bug of the eachWithIndex() method, related to the newly implemented Closure. For an example, def str = '' def sum = 0 ['a','b','c','d'].eachWithIndex { item, index -> str += item; sum += index } assert str == 'abcd' && sum == 6
2005-07-22 13:12:44Christian Stein

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

'groovy.bugs.Groovy662_JavaClass' fully qualified in test code. Updated references to new package location. Why does the GCL doesn't find it? It resides within the same package?
2005-07-22 11:13:12Christian Stein

.classpath v 1.54

src/test/UberTestCase.java v 1.38

src/test/UberTestCase4.java v 1.3

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

src/test/groovy/bugs/Groovy662_JavaClass.java v 1.2

src/test/groovy/text/TemplateTest.java v 1.11

src/test/groovy/text/XmlTemplateEngineTest.java v 1.1

src/test/org/codehaus/groovy/antlr/treewalker/SourcePrinterTest.java v 1.11

Re-mounted 'src/test' source folder in Eclipse .classpath - Groovy662 needed the correct package name, as it depends on both, a Groovy and a Java class. Added simple XmlTemplateEngineTest case. Organized imports in SourcePrinterTest.java.
2005-07-22 10:46:05Christian Stein

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

Better exception handling when loading reflectors. Organized imports.
2005-07-22 09:37:33Christian Stein

src/main/groovy/text/SimpleTemplateEngine.java v 1.17

src/test/groovy/text/SimpleTemplateTest.groovy v 1.3

Fixed new-line-eating behaviour of the SimpleTemplateEngine - while in Groovy sections, all \n and \r chars are printed to the generated script source. NOTE! Every code depending on auto-elimination may break: TemplateServlet, Grails, other...?!
2005-07-22 08:18:48Jochen Theodorou

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

fix for eachWithIndex
2005-07-21 16:46:56Christian Stein

src/main/groovy/text/SimpleTemplateEngine.java v 1.16

src/test/groovy/text/SimpleTemplateTest.groovy v 1.2

Fixed test case, as the _simple_ template engine doesn't know how to handle new lines in '''...''' sequences. See http://jira.codehaus.org/browse/GROOVY-980 Added (needs to be protected?) constructor to STE which prints the generated template script to stdout before parsing/applying the binding.
2005-07-21 12:17:47dierk

src/test/UberTestCase4.java v 1.2

src/test/groovy/text/SimpleTemplateTest.groovy v 1.1

GROOVY-980 : SimpleTemplateEngine fails when enclose expression dosn't immediately evaluate to a String. Added TestCases, one is not running but renamed to todo_...
2005-07-20 14:36:19dierk

src/main/groovy/servlet/AbstractHttpServlet.java v 1.7

do a bit less logging...
2005-07-20 13:08:15dierk

src/main/groovy/servlet/AbstractHttpServlet.java v 1.6

GROOVY-976 : allow Groovlets to map any url to any resource.
2005-07-19 19:12:05Jochen Theodorou

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

added a CharSequence#getAt method to avoid ambigouty problems
2005-07-19 12:33:53Pilho Kim

src/test/groovy/ClosureMethodTest.groovy v 1.31

Correct mistyped characters in the test script.
2005-07-19 12:23:45Pilho Kim

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

src/test/groovy/ClosureMethodTest.groovy v 1.30

Support the method inject() on a array of objects. For an example, we can write: Object[] array = ...... array.inject(0) { x, y -> x + y }
2005-07-19 04:53:05Pilho Kim

src/test/groovy/SpreadOperatorTest.groovy v 1.5

Remove the unnecessary test script from the test suites.
2005-07-19 04:41:52Pilho Kim

src/main/groovy/lang/SpreadList.java v 1.6

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

src/test/UberTestCase.java v 1.37

src/test/groovy/SpreadListOperatorTest.groovy v 1.3

Ignore the pre-changes 20050719043231 and 20050719042500. Change now again. Support the methods toSpreadlist() and spread() as alternating of *list. Rewrite the comments for Groovy JDK API.
2005-07-19 04:32:31Pilho Kim

src/main/groovy/lang/SpreadList.java v 1.5

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

src/test/UberTestCase.java v 1.36

src/test/groovy/SpreadListOperatorTest.groovy v 1.2

*** empty log message ***
2005-07-19 04:25:00Pilho Kim

src/main/groovy/lang/SpreadList.java v 1.4

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

src/test/UberTestCase.java v 1.35

src/test/groovy/SpreadListOperatorTest.groovy v 1.1

Support the methods toSpreadlist() and spread() as alternating of *list. Rewrite the comments for Groovy JDK API.
2005-07-18 22:17:11Guillaume Laforge

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

src/test/groovy/GStringTest.groovy v 1.17

Fixed Groovy-599: GString not coerced to Strings for static methods
2005-07-18 22:11:48Guillaume Laforge

src/main/org/codehaus/groovy/ant/AntProjectPropertiesDelegate.java v 1.1

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

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

Fix for GROOVY-964: project properties delegate to access dynamically defined Ant properties
2005-07-18 18:00:32dierk

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

fix GROOVY-820 : GroovyMain command line switch -i fails when no backup extension is specified. by applying the proposed patch and update the description. Also did a bit of formatting (sorry)
2005-07-18 16:48:02dierk

src/test/groovy/MultiDimArraysTest.groovy v 1.3

enable test that now runs since GROOVY-886 is fixed.
2005-07-18 16:29:32dierk

src/test/groovy/ListTest.groovy v 1.38

expose need for GROOVY-790: assert list - [] == list
2005-07-18 15:58:53dierk

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

GROOVY-962 : groovy -n -p not working when reading from stdin, Fixed missing reader/writer.close(). No testcases exist around this whole functionality.