August 2005 Commit Log

Number of Commits:
164
Number of Active Developers:
11
graeme 2005-08-31 21:29

tests for persistent methods

2 lines of code changed in:

graeme 2005-08-31 21:28

initial commit of new persistent methods

63 lines of code changed in:

graeme 2005-08-31 21:27

added additional persistent methods

8 lines of code changed in:

graeme 2005-08-31 21:27

updated to call saveOrUpdate instead

1 lines of code changed in:

  • groovy/modules/grails/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass: SavePersistentMethod.java (+1 -1)
graeme 2005-08-31 21:23

exposed the getPattern method

4 lines of code changed in:

tug 2005-08-31 18:03

Fruther refactoring to prepare for JabberRPC implementation

462 lines of code changed in:

tug 2005-08-31 15:13

Refactor in preperation for adding a Jabber transport component in addition to the existing HTTP transport

193 lines of code changed in:

graeme 2005-08-31 12:50

reverted back to looking for java code in the src

3 lines of code changed in:

  • groovy/modules/grails/src/grails: build.xml (+3 -1)
sdevijver 2005-08-31 12:07

Update classes for testing purposes.

10 lines of code changed in:

graeme 2005-08-31 10:57

added reference to missing log4j jar and changed referenced groovy jar to jsr-04

2 lines of code changed in:

  • groovy/modules/grails/src/grails: build.xml (+2 -1)
graeme 2005-08-31 10:45

added ${grails.home} to srcdir of javac as it was not compiling grails java classes

1 lines of code changed in:

  • groovy/modules/grails/src/grails: build.xml (+1 -1)
graeme 2005-08-31 10:27

Changed to use GrailsSecondPass so that it compiles on jdk 1.4

6 lines of code changed in:

  • groovy/modules/grails/src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg: GrailsDomainBinder.java (+6 -5)
graeme 2005-08-31 10:26

added GrailsSecondPass class as temporary solution to Hibernate package visibility problem in HbmBinder.SecondPass

0 lines of code changed in:

graeme 2005-08-31 10:21

merged .classpath

9 lines of code changed in:

blackdrag 2005-08-30 22:55

fixed a quoting bug

2 lines of code changed in:

glaforge 2005-08-30 22:27

Removed the dependency on classworlds, and added Graham Miller in the contributors list thanks to his nice tutorial documentation contribution.

4 lines of code changed in:

blackdrag 2005-08-30 21:56

typo in the conf file

1 lines of code changed in:

dierk 2005-08-29 15:25

fixed a typo in the dynamic method definition for 'gridBagConstraints'

1 lines of code changed in:

sdevijver 2005-08-29 15:13

Use CGLIB to create Spring AOP proxies.

2 lines of code changed in:

  • groovy/modules/grails/src/commons/org/codehaus/groovy/grails/commons/spring: SpringConfig.java (+2)
blackdrag 2005-08-29 11:49

this patch removes the classworlds dependency from groovy. All command line programs will now use RootLoader instead. It's now possile to have a single conf file for all groovy commands. Each command can have an -cp or -classpath argument. This path will not be part of the java.classpath, it will be part of the classpath of the RootLoader class. The commands are now only wrappers for the centralized startGroovy commands. These are not for direct usage.

431 lines of code changed in:

blackdrag 2005-08-28 21:32

changed to produce a groovy-starter.jar

11 lines of code changed in:

sdevijver 2005-08-28 09:46

Load test.OrderEntry from class classloader.

1 lines of code changed in:

sdevijver 2005-08-28 01:34

Copy groovy files to classpath folder.

5 lines of code changed in:

  • groovy/modules/grails/src/grails: build.xml (+5 -1)
sdevijver 2005-08-28 01:33

Load groovy files from classpath instead of file system.

1 lines of code changed in:

sdevijver 2005-08-28 01:33

Initial checkin.

3 lines of code changed in:

sdevijver 2005-08-28 01:32

Use GrailsTestSuite to create test case instances and inject properties.

2 lines of code changed in:

  • groovy/modules/grails/src/commons/grails/util: RunTests.java (+2 -3)
blackdrag 2005-08-26 11:39

added support for printf with 1 argument

6 lines of code changed in:

blackdrag 2005-08-26 10:13

a string check is added to ensure a range with strings will not lead to an endless loop

18 lines of code changed in:

phk 2005-08-25 23:08

GROOVY-996: Access from a subclass to protected fields of its superclass.

Currently this works only when the subclass and superclass exist in the same groovy file.

(See the test file "Groovy996_Bug.groovy")

92 lines of code changed in:

phk 2005-08-25 13:31

GROOVY-1018: better patch than the privious one

1 lines of code changed in:

blackdrag 2005-08-25 12:20

fix for GROOVY-1030 and correction of the newline characters

48 lines of code changed in:

hmeling 2005-08-25 11:41

Patch to support improved error messages by Alex Kramer added; see GROOVY-1027.



Added a warning if the project has not been compiled, when trying to prepare a launcher.

The project has to be compiled before the outline view and other components will display

useful stuff.



Also some minor changes to IncrementalGroovyBuilder to avoid that scripts in project

folders prevent the compilation of class files. This is a temporary hack; we should be able

to compile and run scripts also from non root directories. See GROOVY-1029 for details.

237 lines of code changed in:

fraz 2005-08-24 01:52

GROOVY-998: Replaced occurrences of "->" with "-)" as IDEA fails to parse the '>' character in the demo text of a language's Colors & Fonts panel

1 lines of code changed in:

fraz 2005-08-23 23:09

GROOVY-998: Updated the change log for the next release

7 lines of code changed in:

fraz 2005-08-23 23:08

Housekeeping: now building GroovyJ on IDEA 5.0.1 build #3461

1 lines of code changed in:

fraz 2005-08-23 22:49

Housekeeping: Updated the Groovy JSR-04-SNAPSHOT JAR files

0 lines of code changed in:

sdevijver 2005-08-23 22:40

Change groovy jar name.

6 lines of code changed in:

sdevijver 2005-08-23 22:38

Remove ParameterArray usage.

3 lines of code changed in:

sdevijver 2005-08-23 22:37

Fix addSubflowState method name change + fix transition criteria creation change, both in SWF.

5 lines of code changed in:

sdevijver 2005-08-23 22:34

Fix FlowLocator package change in SWF.

1 lines of code changed in:

sdevijver 2005-08-23 22:32

Added Groovy resource loader to dictate how Grails loads groovy classes.

35 lines of code changed in:

sdevijver 2005-08-23 22:29

Latest spring-webflow.

0 lines of code changed in:

sdevijver 2005-08-23 22:28

Latest spring-binding.

0 lines of code changed in:

sdevijver 2005-08-23 22:27

Latest groovy build.

0 lines of code changed in:

sdevijver 2005-08-23 22:22

Refactor test to accomodate resource loader.

10 lines of code changed in:

sdevijver 2005-08-23 22:21

Catch InvokerInvocationException instead of IllegalArgumentException.

3 lines of code changed in:

glaforge 2005-08-23 21:03

Add a GroovyResourceLoader so that it's possible to override the way we retrieve Groovy files in the classloader.

50 lines of code changed in:

phk 2005-08-23 05:38

GROOVY-1026: Invoking methods having varargs with last parameters nulls.

(Similar to the varargs feature of Java 5)

The previous commit was bad so that the build has been broken.

And commit again.

19 lines of code changed in:

phk 2005-08-23 05:10

GROOVY-1026: Invoking methods having varargs with last parameters nulls.

(Similar to the varargs feature of Java 5)

29 lines of code changed in:

blackdrag 2005-08-23 00:35

error message improved

4 lines of code changed in:

blackdrag 2005-08-23 00:31

typo (== should be !=) corrected

4 lines of code changed in:

blackdrag 2005-08-23 00:22

added a check to inform people if the classloader configuration will cause a mess in the case the Reflector class is loaded through different classloaders and the generated reflector will be loaded with the wrong superclass. Wrong because the classloaders don't match and a cast will fail

14 lines of code changed in:

phk 2005-08-22 18:34

GROOVY-1023: Fix the varargs feature when invoking methods with no parameter.

(similar to the varargs feature oof Java 5)

9 lines of code changed in:

blackdrag 2005-08-22 18:08

classpath extension features added

36 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/tools: RootLoader.java (+36 -8)
blackdrag 2005-08-22 14:45

removed some calls to closure's with non optional arguments without arguments

3 lines of code changed in:

hmeling 2005-08-22 10:34

Added test case for GROOVY-935, which will be closed shortly (Cannot reproduce)

37 lines of code changed in:

phk 2005-08-22 10:04

GROOVY-1025: The syntax ClassName.@fieldName is available in the left hand side of assignment operators (=, +=, *=, and etc)

39 lines of code changed in:

phk 2005-08-22 04:20

GROOVY-1023: Test the feature that the length of arguments can be variable when invoking methods with or without parameters.

44 lines of code changed in:

dierk 2005-08-21 17:07

Add TestCase to show usage of Varargs in Method calls and expose GROOVY-1023

29 lines of code changed in:

blackdrag 2005-08-21 12:28

documentation added

106 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/tools: RootLoader.java (+106 -6)
fraz 2005-08-21 01:51

Housekeeping: Updated the Groovy JSR-04-SNAPSHOT JAR files

0 lines of code changed in:

glaforge 2005-08-20 22:11

Fix for GROOVY-1022: allow markup builders to output namespaces and tags with hyphens

12 lines of code changed in:

glaforge 2005-08-20 20:51

Changed Object.sleep() to use milliseconds instead of seconds, and added a little epsilon to avoid problems on platforms which don't have an accurate timer

13 lines of code changed in:

blackdrag 2005-08-20 20:18

removed the overwriting of the final method

4 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/tools: RootLoader.java (+4 -3)
blackdrag 2005-08-20 20:02

this is a four part commit:

1) remove the ParameterArray workaround, but keep the functionality

2) transfer Closure's invocation rules to MetaClass

3) give all groovy methods the ability to use vargs

4) add a starting implementation of a replacement for ClassWorlds

971 lines of code changed in:

phk 2005-08-20 07:30

Fix GROOVY-1018 completely. (We can use both ClassName.Class and ClassName.@Class)

Fix GROOVY-732. (Support the syntax: ClassName.staticField = expression)

Change the test file: Groovy1018_Bug.groovy

31 lines of code changed in:

fraz 2005-08-20 00:32

Housekeeping: Upgrade from Groovy JSR-03-SNAPSHOT to Groovy JSR-04-SNAPSHOT

0 lines of code changed in:

glaforge 2005-08-19 21:43

GROOVY-1020: Improve error reporting in the "groovy" Ant task

57 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/ant: Groovy.java (+57 -39)
phk 2005-08-19 17:50

Fix the issue GROOVY-1018.

(Bug that the syntax ClassName.@fieldName does not work.)

29 lines of code changed in:

jez 2005-08-18 15:30

* removed query regarding missing literals, mystery solved



antlr allows you to give literals explicit constant names which is why

they don't turn up when looking in GroovyTokenTypes.txt



see http://cvs.codehaus.org/viewrep/groovy/groovy/groovy-core/src/main/org/codehaus/groovy/antlr/groovy.g?r=1.33#l200

0 lines of code changed in:

phk 2005-08-18 12:36

Fix GROOVY-1014.

We can use "cmd".execute(envp, workDir) after this patch,

where envp is an array of strings and workDir is a File.

88 lines of code changed in:

sdevijver 2005-08-17 08:32

Latest version.

0 lines of code changed in:

phk 2005-08-17 08:02

Fix the issue GROOVY-1006 (Handling Lists or Collections which contains numbers).

Add list1.disjoint(list2) to check whether list1.intersect(list2) is empty or not.



assert [1] == [1.0] // should work, since 1 == 1.0

assert [2.0, 1].sort() == [1, 2.0] // should work

assert [2.0, 1, 3, 1L, 2, 2, 1.0] - [1] == [2.0, 3, 2, 2] // should work

assert [2.0, 1, 3, 1L, 2, 2, 1.0].unique() == [2.0, 1, 3] // should work

assert [2.0, 1, 3].intersect([1L, 2, 2, 1.0]) == [2.0, 1] // should work

assert [2.0, 3].disjoint([1L])

309 lines of code changed in:

glaforge 2005-08-17 01:11

Updated the version number to 1.0-jsr-04-SNAPSHOT

1 lines of code changed in:

glaforge 2005-08-16 23:25

Added some properties so that we can specify the username, private key path, pass phrase, repo location (needed for the release process)

12 lines of code changed in:

jez 2005-08-16 17:53

* added section 3.9 - keywords, including the six new groovy keywords ;-)

36 lines of code changed in:

phk 2005-08-16 08:55

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

208 lines of code changed in:

glaforge 2005-08-15 17:36

Commit test to see if BJ notices CVS changes

0 lines of code changed in:

glaforge 2005-08-15 13:39

Fix to handle multiple elements after -cp

2 lines of code changed in:

  • groovy/groovy-core/src/bin: groovy.bat (+2 -2)
jez 2005-08-15 10:55

reverted to 1.12 code, as this patch causes the groovy-core build to fail

2 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/ast: CompileUnit.java (+2 -10)
phk 2005-08-15 05:50

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]);

}

1 lines of code changed in:

sdevijver 2005-08-13 14:44

Added resource loading from class loader to pinpoint the problem.

7 lines of code changed in:

sdevijver 2005-08-13 14:08

Added log4j.properties to class path.

1 lines of code changed in:

sdevijver 2005-08-13 14:08

Use context class loader as parent.

1 lines of code changed in:

sdevijver 2005-08-13 14:06

Load Groovy files in random order, this must work.

2 lines of code changed in:

sdevijver 2005-08-13 14:05

Added test case for class not found exception.

14 lines of code changed in:

sdevijver 2005-08-12 23:50

Fixing failed tests.

5 lines of code changed in:

jez 2005-08-12 20:32

* used proper 'alternate stylesheet' to allow browsers to give choice

for spec viewing from 'Default' to 'Full Screen'



* used  syntax for rendered Unicode sample characters

59 lines of code changed in:

hmeling 2005-08-12 17:38

Added some more code to prevent (possilbly) infinite dialogs from appearing, when the plugin

discovers a project with many groovy files, e.g. groovy-core.

11 lines of code changed in:

  • groovy/ide/groovy-eclipse/GroovyEclipse/src/org/codehaus/groovy/eclipse/model: GroovyProject.java (+11 -4)
hmeling 2005-08-12 17:36

Fixed the problem preventing the groovy plugin from adding all the jars.

1 lines of code changed in:

  • groovy/ide/groovy-eclipse/GroovyEclipse: plugin.xml (+1 -1)
jez 2005-08-11 17:56

* moved fixed width of 600 pixels into css, so that spec readers can fill to full width, simply by ignoring or supplying their own css for the spec

19 lines of code changed in:

jez 2005-08-10 20:46

completed sections 3.4, 3.5, 3.6, 3.7 and started work on section 3.8 for the GLS

186 lines of code changed in:

blackdrag 2005-08-10 16:41

the content of upto(Long, Number, Closure) was removed accidently, now added again

9 lines of code changed in:

hmeling 2005-08-10 11:54

Sorry, forgot to update the .classpath.

2 lines of code changed in:

  • groovy/ide/groovy-eclipse/GroovyEclipse: .classpath (+2 -2)
hmeling 2005-08-10 11:39

Fixed a classloader problem in the groovy-eclipse plugin that prevents it

from compiling stuff that requires external jars. Thanks to Franck for the

hint on how to solve it. Also did minor changes to the class and test wizards.

Also added a recent jsr-03 snapshot.



This solves bug 999.

120 lines of code changed in:

hmeling 2005-08-10 10:58

Added a minor patch to ensure that classloader problems are revealed properly when compiling.

10 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/ast: CompileUnit.java (+10 -2)
hmeling 2005-08-10 10:53

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.

1 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/util: Node.java (+1 -1)
hmeling 2005-08-10 10:52

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.

50 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/ant: Groovyc.java (+50 -4)
sdevijver 2005-08-08 22:57

Initial checkin.

0 lines of code changed in:

sdevijver 2005-08-08 22:54

Improved persistent method call mechanism +

implemented test cases +

implemented groovy file ordered loading to avoid ClassCastException +

add oders sample

135 lines of code changed in: