July 2005 Commit Log

Number of Commits:
226
Number of Active Developers:
12
dierk 2005-07-30 08:04

make tests a bit more crisp

51 lines of code changed in:

sdevijver 2005-07-29 22:54

Fixed some minor issues.

0 lines of code changed in:

fraz 2005-07-29 20:39

GROOVY-997: Added the ability to compile individual Groovy scripts thanks to http://www.jetbrains.net/jira/browse/IDEADEV-2116

Housekeeping: now building GroovyJ on IDEA 5.0 build #3430

45 lines of code changed in:

russel 2005-07-29 13:01

Added a more groovy version of the list execute and sorted the tests.

87 lines of code changed in:

cstein 2005-07-29 12:36

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.

294 lines of code changed in:

russel 2005-07-29 00:58

Correcting a faulty edit/commit -- removed the duplicate and reinstated the deleted test.

1 lines of code changed in:

russel 2005-07-29 00:50

Added new execute method.

16 lines of code changed in:

cstein 2005-07-28 23:03

CVS-ignoring dist and target directories - they are generated by build.xml.

0 lines of code changed in:

cstein 2005-07-28 22:36

Fixed *clipse .classpath using jmock-SNAPSHOT.jar

0 lines of code changed in:

cstein 2005-07-28 22:36

CVS-ignoring build, dist and gentest directories - they are generated by build.xml.

0 lines of code changed in:

jez 2005-07-28 11:34

* added more tests for Section 3.1 and 3.2 of the GLS

47 lines of code changed in:

fraz 2005-07-27 20:32

Housekeeping: Updated the Groovy JSR-03-SNAPSHOT JAR files and now building GroovyJ on IDEA 5.0 build #3425

0 lines of code changed in:

phk 2005-07-27 15:28

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]

2 lines of code changed in:

dierk 2005-07-27 13:01

make sure all information is available in Browser, log and System.err when script processing fails

10 lines of code changed in:

jez 2005-07-27 10:04

* 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

58 lines of code changed in:

phk 2005-07-27 07:40

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)

228 lines of code changed in:

jez 2005-07-26 08:09

* modified TCK build to allow it to detect if it is being executed within maven

49 lines of code changed in:

  • groovy/groovy-core/src/tck: build.xml (+49 -32)
dierk 2005-07-25 19:37

housekeeping: some formatting, use gpath instead of loops, use constants, add some todos.

26 lines of code changed in:

phk 2005-07-25 12:50

Uncomment the working codes in some test suits.

50 lines of code changed in:

dierk 2005-07-25 10:07

fixed endless recursion and relayed the deprecation

6 lines of code changed in:

dierk 2005-07-25 10:05

corrected html source to be well-formed

0 lines of code changed in:

  • groovy/modules/grails/samples/books/jsp: listBooks.jsp (changed)
phk 2005-07-25 09:09

Fix the issue GROOVY-986.

Modify the text example "test/groovy/java/RangeTest.java".

103 lines of code changed in:

jez 2005-07-25 08:23

* 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 )

1774 lines of code changed in:

jez 2005-07-25 08:15

* Changed pretty printer to allow extension by other classes

5 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker: SourcePrinter.java (+5 -5)
dierk 2005-07-24 15:28

provide a groovy way of functional testing

82 lines of code changed in:

phk 2005-07-23 13:09

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.

297 lines of code changed in:

fraz 2005-07-23 11:57

Housekeeping: Updated the Groovy JSR-03-SNAPSHOT JAR files and now building GroovyJ on IDEA 5.0 build #3419

0 lines of code changed in:

cstein 2005-07-22 15:40

Removed 2 warnings:

o deprecated usage of Window.show() replaced by setVisible(true)

o exclusion filter in Eclipse for duplicated .cvsignore filter

2 lines of code changed in:

phk 2005-07-22 14:19

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

7 lines of code changed in:

cstein 2005-07-22 14:12

'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?

2 lines of code changed in:

cstein 2005-07-22 12:13

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.

46 lines of code changed in:

cstein 2005-07-22 11:46

Better exception handling when loading reflectors.

Organized imports.

32 lines of code changed in:

cstein 2005-07-22 10:37

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...?!

25 lines of code changed in:

blackdrag 2005-07-22 09:18

fix for eachWithIndex

1 lines of code changed in:

cstein 2005-07-21 17:46

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.

18 lines of code changed in:

dierk 2005-07-21 13:17

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

46 lines of code changed in:

dierk 2005-07-20 15:36

do a bit less logging...

5 lines of code changed in:

dierk 2005-07-20 14:08

GROOVY-976 : allow Groovlets to map any url to any resource.

8 lines of code changed in:

graeme 2005-07-20 12:14

tests for relationships

101 lines of code changed in:

graeme 2005-07-20 12:09

additional utility methods for working with grails classes

128 lines of code changed in:

graeme 2005-07-20 12:09

Added calculation of relationships to grails domain classes

331 lines of code changed in:

graeme 2005-07-20 11:48

latest SNAPSHOT built on 19/07/2005 to incorporate a bug fix from Jochen that resolves the "classes referenced in a map thought to be properties" problem

0 lines of code changed in:

blackdrag 2005-07-19 20:12

added a CharSequence#getAt method to avoid ambigouty problems

4 lines of code changed in:

phk 2005-07-19 13:33

Correct mistyped characters in the test script.

1 lines of code changed in:

phk 2005-07-19 13:23

Support the method inject() on a array of objects.



For an example, we can write:



Object[] array = ......

array.inject(0) { x, y -> x + y }

23 lines of code changed in:

sdevijver 2005-07-19 11:48

Do not use .call on closures.

0 lines of code changed in:

sdevijver 2005-07-19 08:58

Improved test a little.

5 lines of code changed in:

  • groovy/modules/grails/samples/books: WebTest.xml (+5)
sdevijver 2005-07-19 08:58

Added transition for close button on addBookView.

0 lines of code changed in:

phk 2005-07-19 05:53

Remove the unnecessary test script from the test suites.

0 lines of code changed in:

phk 2005-07-19 05:41

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.

0 lines of code changed in:

phk 2005-07-19 05:32

*** empty log message ***

1 lines of code changed in:

phk 2005-07-19 05:25

Support the methods toSpreadlist() and spread() as alternating of *list.

Rewrite the comments for Groovy JDK API.

220 lines of code changed in:

sdevijver 2005-07-18 23:51

Updated books application for WebTest.

0 lines of code changed in:

glaforge 2005-07-18 23:17

Fixed Groovy-599: GString not coerced to Strings for static methods

125 lines of code changed in:

glaforge 2005-07-18 23:11

Fix for GROOVY-964: project properties delegate to access dynamically defined Ant properties

183 lines of code changed in:

dierk 2005-07-18 19:00

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)

45 lines of code changed in:

dierk 2005-07-18 17:48

enable test that now runs since GROOVY-886 is fixed.

3 lines of code changed in:

dierk 2005-07-18 17:29

expose need for GROOVY-790: assert list - [] == list

7 lines of code changed in:

dierk 2005-07-18 16:58

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

7 lines of code changed in:

jez 2005-07-18 10:04

* Added Unicode section of Chapter 3



* Amended section link macro to become ($foo)

* Changed text style to an easier to read size/width/font

35 lines of code changed in:

fraz 2005-07-17 21:40

GROOVY-914: Added PSI coverage for constructors, inner interfaces, and method definitions in groovy.psi.g

GROOVY-914: Aligned GroovyPsiBuilder with its IDEA counterpart, as of Irida build #3408

536 lines of code changed in:

phk 2005-07-17 00:56

Fix the bug of MethodClosure with parameter of type Object[]

9 lines of code changed in:

blackdrag 2005-07-16 22:01

a little bit of code cleanup

20 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/lang: Closure.java (+20 -48)
phk 2005-07-16 21:00

Fix bugs about the closures and methods with object array paramaters.

(GROOVY-584, GROOVY-886, GROOVY-888, GROOVY-918, GROOVY-930, and GROOVY-931)

377 lines of code changed in:

phk 2005-07-16 18:04

(GROOVY-957) Enhance the class groovy.util.Expando

91 lines of code changed in:

glaforge 2005-07-16 17:11

Applying Paul's patch for GROOVY-955: added doProvileged() functionality to make usage of policy files easier for Groovy apps

117 lines of code changed in:

fraz 2005-07-16 09:41

Housekeeping: Updated the Groovy JSR-03-SNAPSHOT JAR file

Housekeeping: Fixed a number of code inspection warnings reported by IDEA's InspectionGadgets plug-in

Housekeeping: Removed unused Groovy scripts under src/etc/check

59 lines of code changed in:

blackdrag 2005-07-15 00:50

new method choosing algorithm in Metaclass and some methods added to DefaultGroovyMethods to avoid ambigouties

200 lines of code changed in:

blackdrag 2005-07-15 00:49

modified to make [1]+[2]==[1,2]

1 lines of code changed in:

jez 2005-07-14 21:41

* fix for http://jira.codehaus.org/browse/GROOVY-953



- you can now use gpath on parsed xml nodes like this



foo.'urn:my-name-space:bar'

54 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/util: Node.java (+2 -1)
  • groovy/groovy-core/src/main/groovy/xml: QName.java (+36 -16)
  • groovy/groovy-core/src/test/groovy/xml: XmlTest.java (+16)
sdevijver 2005-07-14 18:46

Better properties definition in generated Spring config file.

29 lines of code changed in:

sdevijver 2005-07-14 18:45

Don't call setCharacterEncoding when getting the writer of outpustream since this method is not part of J2EE 1.3.

2 lines of code changed in:

sdevijver 2005-07-14 18:44

Added for loop inside builder syntax.

2 lines of code changed in:

jez 2005-07-14 18:20

* Started work on GLS/TCK

- basing from latest JLS 3rd edition

- no longer a diff, but a full standalone Groovy Language Specification

- created progress sheet at http://docs.codehaus.org/display/GroovyJSR/Progress

- created alternate chapter 3, based on JLS 3rd edition

http://java.sun.com/docs/books/jls

- provided a replacement macro for section links inside the document,

keeps it cleaner and easier to read.

32 lines of code changed in:

blackdrag 2005-07-14 14:54

a try to enable compiling circular references

15 lines of code changed in:

graeme 2005-07-14 12:07

added testOneToMany test case

28 lines of code changed in:

cstein 2005-07-13 20:28

Organized imports to remove compiler warnings.

17 lines of code changed in:

cstein 2005-07-13 19:59

Ooops, forgot to remove a debug line. ;)

1 lines of code changed in:

cstein 2005-07-13 19:54

Pulled XmlNodePrinter out of the XmlTemplateEngine.

Removed test cases from Eclises '.classpath'.

272 lines of code changed in:

dierk 2005-07-13 14:31

added spring taglib to build and distribution

1 lines of code changed in:

  • groovy/modules/grails/src/grails: build.xml (+1)
  • groovy/modules/grails/src/war/WEB-INF/tld: spring.tld (new)
dierk 2005-07-13 10:28

applied patch for basedir handling on behalf of Steven

0 lines of code changed in:

  • groovy/modules/grails/bin: grails.bat (changed)
dierk 2005-07-13 09:53

applied patches for update of starter scripts on behalf of Steven

0 lines of code changed in:

jez 2005-07-13 08:39

* improved whitespace algorithms in pretty printer

- closing braces, parenthesis etc will be on a new line,

iff text has been printed on a different line to the opening brace

- an opening brace for a statement never begins a newline (e.g. else {...)

- added whitespace between each argument or parameter in a list.

47 lines of code changed in:

sdevijver 2005-07-12 18:12

Added Spring TLD

9 lines of code changed in:

sdevijver 2005-07-12 18:07

Added resolution of properties through public static fields.

18 lines of code changed in:

  • groovy/modules/grails/src/commons/org/codehaus/groovy/grails/commons: AbstractGrailsClass.java (+17 -3)
  • groovy/modules/grails/test/commons/org/codehaus/groovy/grails/commons: