July 2004 Commit Log

Number of Commits:
133
Number of Active Developers:
9
glaforge 2004-07-31 21:32

Allow call of constructors from any level of nested inner public static classes

40 lines of code changed in:

jstrachan 2004-07-31 04:39

Applied patch kindly suggested by Eamonn McManus to work better with remote MBeans

5 lines of code changed in:

jstrachan 2004-07-31 04:37

applied strategy method refactoring so builders can easily chain trees of builders together if they wanna - like nano-containers

16 lines of code changed in:

glaforge 2004-07-30 22:28

Test case to check that it's possible to call inner classes ctors from groovy

2 lines of code changed in:

glaforge 2004-07-30 21:48

Test case to check that it's possible to call inner classes ctors from groovy

79 lines of code changed in:

jez 2004-07-30 20:10

Ported Database object to groovy, and looked at issues with clone()

121 lines of code changed in:

tug 2004-07-30 11:29

remove debugging output

1 lines of code changed in:

tug 2004-07-30 11:22

Make the generated closure code use { | | notation for parameters

2 lines of code changed in:

tug 2004-07-29 16:19

Make the Server use the same mechanism to support complex method names as the ServerProxy

43 lines of code changed in:

tug 2004-07-29 14:55

Make the support of complex method names more robust

16 lines of code changed in:

tug 2004-07-29 08:10

Deal with exceptions thrown in the middle of returning a fault response

35 lines of code changed in:

tug 2004-07-28 15:05

allow static methods to be called via auto generated proxy closure

54 lines of code changed in:

tug 2004-07-28 11:08

Throw the right exception from XMLRPCServerProxy when the remote call returns a fault

21 lines of code changed in:

glaforge 2004-07-27 21:49

Applied Dion's patch adding a --version flag to groovy

7 lines of code changed in:

glaforge 2004-07-27 21:31

Allow to call public static inner classes' constructors

55 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/ast: ClassNode.java (+55 -30)
glaforge 2004-07-27 19:53

GROOVY-588 test case (I had forgotten to commit it!)

22 lines of code changed in:

tug 2004-07-27 15:23

Create the closure which implements the template in groovy.tmp.templates to avoid picking up classes from the default namespace by mistake - see Groovy -589

1 lines of code changed in:

tug 2004-07-27 10:39

Improve the thread safety of the server

10 lines of code changed in:

tug 2004-07-27 09:52

Add some debug/logging hooks to the server

81 lines of code changed in:

tug 2004-07-27 09:18

Reduce XMLMessageProcessor's dependancy on Groovy stuff

103 lines of code changed in:

glaforge 2004-07-26 21:51

Allow a class' field closure to be called as a method call, according to GROOVY-588

20 lines of code changed in:

jez 2004-07-26 19:36

More groovy relational API fun, ported from commons-sql model package.

151 lines of code changed in:

tug 2004-07-26 16:10

Tidy up exception handling

9 lines of code changed in:

tug 2004-07-26 14:12

allow remotely called method to return a custom fault response

21 lines of code changed in:

jez 2004-07-26 11:19

the start of a module, inspired by commons-sql, to provide a groovy way

to describe, manipulate, transform and pipeline relational data

328 lines of code changed in:

tug 2004-07-24 18:16

Allow a default closure to be called if there is no match for the incoming call (good for debugging)

22 lines of code changed in:

jstump 2004-07-23 20:36

added tests for bug 583

17 lines of code changed in:

jstump 2004-07-23 20:28

fix for bug 583, assigning a GString to a bean property expecting a String

4 lines of code changed in:

jez 2004-07-22 07:45

Added test case to prove GROOVY-467 is no longer an issue

10 lines of code changed in:

jstump 2004-07-21 22:42

fixed a typo in an error message

1 lines of code changed in:

jstump 2004-07-21 19:34

removed Protected test accidently left in

0 lines of code changed in:

jstump 2004-07-21 19:27

modified dump() to use allProperties(), but left it commented out due to questions

30 lines of code changed in:

jstump 2004-07-21 19:19

allowed this test to be run from local directory

8 lines of code changed in:

tug 2004-07-21 16:35

Throw only one type of exception for remote call failure

Now you only get XMLRPCCallFailureException or IOException

23 lines of code changed in:

tug 2004-07-21 15:49

Tidy up the exception throwing when the remote call fails

There is now a specific excption to catch for this case

79 lines of code changed in:

tug 2004-07-21 12:52

Catch null values and produced a proper error message

10 lines of code changed in:

jstump 2004-07-20 23:26

added support for allProperties() in Expando objects, and added some more tests

163 lines of code changed in:

tug 2004-07-20 15:28

Allow GStrings to be struct member names

1 lines of code changed in:

jez 2004-07-20 15:07

New patch from Geert Bevin - Fixed Script binding value types being loaded by the wrong classloader

5 lines of code changed in:

tug 2004-07-20 14:54

Cnahe the BigInteger to BigDecimal - typo in last patch

2 lines of code changed in:

tug 2004-07-20 14:46

Deal with the case when the data items are subclasses of Date or BigInteger

6 lines of code changed in:

tug 2004-07-20 12:25

Support GString as a <string> value

Throw an exception if an unsupported data type is used

10 lines of code changed in:

ckl 2004-07-20 10:13

change initialization of FormColors

2 lines of code changed in:

  • groovy/modules/groovy-swt/src/main/groovy/swt/factory: FormFactory.java (+2 -1)
jez 2004-07-20 09:18

A simple patchwork graphics demo, showing SwingBuilder, forloop and

use of a closure as a more concise expression.

48 lines of code changed in:

jez 2004-07-19 20:24

a couple of simple console based toys, showing convenience of System.in.readLine()

27 lines of code changed in:

jez 2004-07-19 08:34

Added readLine() to InputStream and Reader, which will read a single, whole line.

Very useful for quick input from console users... i.e System.in.readLine()

47 lines of code changed in:

jez 2004-07-18 21:30

Example from Danno Ferrin using the SwingBuilder

(moving examples folder)

0 lines of code changed in:

glaforge 2004-07-18 21:01

Example from Danno Ferrin using the SwingBuilder

205 lines of code changed in:

glaforge 2004-07-18 20:38

New patch from Danno Ferrin fo the SwingBuilder

270 lines of code changed in:

glaforge 2004-07-18 18:02

- added --encoding flag (to parse files with a specified charset)

- changed the way runMainOrTest invokes the main method

25 lines of code changed in:

tug 2004-07-18 17:25

add test case and for GROOVY-580



Thanks to Christof Vollrath for the fix

2 lines of code changed in:

tug 2004-07-18 13:46

Fix GROOVY-579

48 lines of code changed in:

tug 2004-07-18 12:53

Add dummy file to force creation of src/bin directory

1 lines of code changed in:

  • groovy/modules/xmlrpc/src/bin: dummy.txt (new 1)
tug 2004-07-18 12:43

Dummy file to force CVS checkout to create src/conf

1 lines of code changed in:

  • groovy/modules/xmlrpc/src/conf: dummy.txt (new 1)
tug 2004-07-18 12:09

Change the Groovy dependancy from beta5 to beta6

1 lines of code changed in:

tug 2004-07-18 12:07

If the last parameter is a closure, set the delegate to the proxy before calling it.

Now you can write:

myProxy.my.call(1, 2, 3) {

my.other.call(4, 5, it)

}

4 lines of code changed in:

tug 2004-07-17 18:19

Tolerate the broken date format produced by Moveable Type

13 lines of code changed in:

tug 2004-07-17 17:38

Be more tolerant of error returns which don't conform to the XML-RPC spec

2 lines of code changed in:

jez 2004-07-16 22:53

Remove test for now, as the dependant java source doesn't appear

to be compiled prior to test execution in maven

8 lines of code changed in:

jez 2004-07-16 22:48

Added tests to confirm that GROOVY-467 is no longer an issue,

I'm guessing one of the many recent changes to MetaClass.java has

resolved this one.

33 lines of code changed in:

jstump 2004-07-16 20:43

added support for length property on arrays

82 lines of code changed in:

jstump 2004-07-16 20:40

added array length param to test

21 lines of code changed in:

jstump 2004-07-16 16:36

added John Stump to developers section

10 lines of code changed in:

jstrachan 2004-07-16 07:50

disabled the use of xmlrpc by default unless the make-full-install goal is used

3 lines of code changed in:

jstrachan 2004-07-15 19:13

fixed build to include xmlrpc now

13 lines of code changed in:

jstrachan 2004-07-15 18:46

fixed asm jar version

1 lines of code changed in:

jstrachan 2004-07-15 18:29

updated version number after beta-6 release

2 lines of code changed in:

jez 2004-07-15 15:07

quoted evaluation of first argument to 'groovy' shell script, thus

eliminating "unary operator" errors when invoking 'groovy' with no args,

thanks yuri.

1 lines of code changed in:

  • groovy/groovy-core/src/bin: groovy (+1 -1)
ckl 2004-07-15 14:56

move some code ...

5 lines of code changed in:

  • groovy/modules/groovy-swt/src/main/groovy/swt/factory: FormFactory.java (+5 -5)
ckl 2004-07-15 14:46

provide access to formtoolkit

60 lines of code changed in:

  • groovy/modules/groovy-swt/src/main/groovy/swt/factory: FormFactory.java (+60 -43)
jez 2004-07-15 12:26

Unified the output of the usage statement for 'groovy' into one place (HelpFormatter)

2 lines of code changed in:

jstrachan 2004-07-15 12:12

fixed tests that don't compile due to asm version switch

6 lines of code changed in:

jstrachan 2004-07-15 11:20

updated CVS ready for the release & upgraded version number & asm versions

11 lines of code changed in:

jstrachan 2004-07-15 10:58

added back the main() in GroovyShell for those that still use it

5 lines of code changed in:

jstrachan 2004-07-15 10:47

GROOVY-573 Removed runtime dependency on asm-util

592 lines of code changed in:

jstrachan 2004-07-15 10:43

added failing test, with commented out failure

17 lines of code changed in:

jez 2004-07-15 09:48

Added new method for properties, as per GROOVY-464

6 lines of code changed in:

jstrachan 2004-07-15 09:01

Fixed failing test case I broke with my previous commit

1 lines of code changed in:

glaforge 2004-07-14 21:56

Applied patch from Danno

104 lines of code changed in:

glaforge 2004-07-14 20:26

New getText() methods from GROOVY-572

25 lines of code changed in:

jstrachan 2004-07-14 20:20

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

226 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/sql: Sql.java (+198 -174)
  • groovy/groovy-core/src/test/groovy/sql: SqlTest.groovy (+28 -20)
glaforge 2004-07-14 20:12

GROOVY-501: applied Danno Ferrin's patch

163 lines of code changed in:

ckl 2004-07-14 12:17

add Form background images

25 lines of code changed in:

  • groovy/modules/groovy-swt/src/main/groovy/swt/factory: ImageFactory.java (+25 -23)
jstrachan 2004-07-14 12:10

disabled report

2 lines of code changed in:

jstrachan 2004-07-14 12:06

made a couple of methods protected and tidied up the code

271 lines of code changed in:

ckl 2004-07-14 11:44

layout script object

7 lines of code changed in:

ckl 2004-07-14 07:17

fix wrong return object

6 lines of code changed in:

jez 2004-07-13 21:11

Added a reference card for Groovy.

Instructions to build PDF in src/latex/ref/README.txt

423 lines of code changed in:

jstrachan 2004-07-13 20:43

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?

532 lines of code changed in:

jez 2004-07-13 20:33

test to see if my commit access works :-)

9 lines of code changed in:

jstrachan 2004-07-13 18:50

re-renabled site:deploy on the DC build

0 lines of code changed in:

jstrachan 2004-07-13 18:38

Applied patch by Yuri Schimke to support -p i e support when running groovy

411 lines of code changed in:

jstrachan 2004-07-13 15:37

added validation checks for variable, property & field names

69 lines of code changed in:

jstrachan 2004-07-13 15:06

added better warning to fix dion's common problem of typing

println ${foo}

95 lines of code changed in:

jstrachan 2004-07-13 13:17

fixed javadoc warnings

2 lines of code changed in:

jstrachan 2004-07-13 13:17

fixed the xmlrpc build

3 lines of code changed in:

jstrachan 2004-07-13 13:17

allow any scripts to be ran by the GroovyTestSuite inside any JUnit tool

79 lines of code changed in:

jstrachan 2004-07-13 10:01

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

812 lines of code changed in:

glaforge 2004-07-11 21:26

Groovy-450 (eachWithIndex)

13 lines of code changed in:

glaforge 2004-07-11 20:41

Added copyright notice

72 lines of code changed in:

glaforge 2004-07-11 20:40

New Groovy methods as of GROOVY-486 and GROOVY-469

203 lines of code changed in:

glaforge 2004-07-11 10:08

MissingMethodExceptions were caught even if it was not main which was missing (fix for GROOVY-567)

5 lines of code changed in:

tug 2004-07-10 19:23

Set the default for static binding to off

1 lines of code changed in:

bran 2004-07-10 18:47

casted parameter for property setters

10 lines of code changed in:

bran 2004-07-10 17:28

turned on static dispatching by default

1 lines of code changed in:

bran 2004-07-10 17:04

safeguarded the getTimeStamp()

28 lines of code changed in:

bran 2004-07-10 12:10

The previous check in added timestamp check in the loadClass() method. Requires the __TIMESTAMP field added in the Verifier

1 lines of code changed in:

bran 2004-07-10 04:31

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.

3395 lines of code changed in: