November 2006 Commit Log

Number of Commits:
100
Number of Active Developers:
11
russel 2006-11-30 18:29

Removed redundant imports.

0 lines of code changed in:

tug 2006-11-30 18:25

remove redundent workrounds for old bugs

6 lines of code changed in:

tug 2006-11-30 13:47

implement the "+" operator



a.b + "hello"



results in <a><b>....</b>hello</a>

17 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/util/slurpersupport: GPathResult.java (+17)
tug 2006-11-30 13:10



a.b.c = {mkp.yield it; a "hello"}

a.b.c = {b "goodbye"; mkp.yield it}



now produces <b>goodbye</b><c>....</c><a>hello</a>



previously it produced



<b>goodbye</b><c>....</c>



which was wrong

9 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/util/slurpersupport: Node.java (+9 -8)
paulk 2006-11-30 10:39

change getText() for range to use round brackets instead of square

2 lines of code changed in:

tug 2006-11-29 21:11

This is the last commit of the first version of the code which lets the XMLSlurper terr be changed.



This code supports the << operator on GPath expressions.

65 lines of code changed in:

tug 2006-11-29 19:15

Complete the support for assignment



a.y.x = "body"



a.y.z = e.f.g



a.y.x = {element -> a(element.text())}

57 lines of code changed in:

akaranta 2006-11-29 18:45

added a check whether the symlink we are inspecting exists. This should prevent problems w/ older solarises if they do not support the same symlink to the executable as solaris10

9 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+9 -5)
tug 2006-11-29 13:17

Support x.y.z = [a: "value1", b: "value2"]



to set mutiple attributes with a single operation

26 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/util/slurpersupport: GPathResult.java (+26 -15)
tug 2006-11-29 12:40

add class missing from previous commit

35 lines of code changed in:

tug 2006-11-29 12:34

Begin adding support for editing Gpath values produced bt XMLSlurper.



x.y.z.@Attr="value" adds an attribute to all the elements matched by

the GPath expression x.y.z

144 lines of code changed in:

blackdrag 2006-11-29 11:23

adds a contains(Object) bridge method to delegate to contains(Comparable)

12 lines of code changed in:

paulk 2006-11-29 08:55

fix for GROOVY-1471: extra error message if class is both Final and Abstract (plus test)

90 lines of code changed in:

akaranta 2006-11-29 08:41

added some preliminary code for win dir handling (commented out) and for checking that the linux / solaris symlink exists (also commented out)

46 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+46 -8)
akaranta 2006-11-28 09:23

added support for detection of executable location for solaris

54 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+54 -7)
blackdrag 2006-11-27 22:43

* allows category methods to overwrite existing methods

* corrects the method caching in categories

26 lines of code changed in:

blackdrag 2006-11-27 20:44

* extends the distance calculation to different primitive types and respects interfaces hirarchies

* corrects a bug when multimethods and private methods are combined

128 lines of code changed in:

emp 2006-11-27 10:31

Refactored typo GroovyBuildListner to GroovyBuildListener.

Modified GroovyModel.addGroovyBuildListener()/removeGroovyBuildListener().

Why? So that external plugins can hook into the build process before the data in the

GroovyModel has been fully initialized by different parts of the GroovyPlugin.

The model now has one global listener which is added to each new GroovyProject. It

forwards nofitications to each listener added using addGroovyBuildListener.

90 lines of code changed in:

akaranta 2006-11-27 09:08

cosmetic

18 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+18 -12)
akaranta 2006-11-26 11:56

added a check for realpath failure

4 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+4 -1)
akaranta 2006-11-26 10:51

finding out where the executable is located now works on linux

30 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+30 -5)
blackdrag 2006-11-25 17:33

Adds a plus/minus alternative for the powerExpression. With that it is possible to write "print 1 * -1" without getting a compilation error

17 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/antlr: groovy.g (+17 -9)
blackdrag 2006-11-25 15:47

* adds assertion text for ranges

* implements the "in" keyword for use as binary expression, for example "if(6 in myRange) return false"

15 lines of code changed in:

blackdrag 2006-11-25 14:27

corrects println and print implementation for Scripts to use the DefaultGroovyMethods method instead of directly printing to System.out. This adds the custom toString methods for maps, arrays and lists to the object we want to print.

3 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/lang: Script.java (+3 -2)
blackdrag 2006-11-25 14:17

* corrects multimethod handling when combined with private

* adds a check for scripts not found during compilation

* ensure ClassExpression created from a VariableExpression does have correct line/col information

* small cleanups

132 lines of code changed in:

fraz 2006-11-25 13:37

Updated the Groovy 1.0 RC-1 SNAPSHOT JAR files

0 lines of code changed in:

mcspanky 2006-11-24 19:40

More changes to make the plugin compatible with the latest RC1 snapshot.

7 lines of code changed in:

mcspanky 2006-11-24 17:26

Changes to make it work with the current RC1 snapshot.

5 lines of code changed in:

akaranta 2006-11-24 13:26

removed some cygwin stuff from ifdefs as it can use the same stuff as the windows cl compiler

10 lines of code changed in:

  • groovy/modules/native_launcher: README.txt (+3 -4)
  • groovy/modules/native_launcher/source: jvmstarter.c (+7 -11)
akaranta 2006-11-24 08:05

quite some cleanup, beginnings of support for compilation on cygwin

64 lines of code changed in:

blackdrag 2006-11-23 21:52

removes TypeMismatchException.java

1 lines of code changed in:

blackdrag 2006-11-23 21:38

* replaces all ClassCastException with a new class GroovyCastException, this reaplces TypeMisMatchException too

* centralizes the coercion

* setting a non existent property will now throw an Exception

* Exceptions thrown in property setter/getter methods are no longer ignored

* simplifies the property handlig code a bit

* corrects wrapping to InvokerInvocationException

* changes the GCL a bit to simplify custom Collector code

* removes setProperties as public method

* added boolean to castToType in DefaultTypeTransformation.java

156 lines of code changed in:

paulk 2006-11-22 12:26

added getCategoryMethods()

76 lines of code changed in:

fraz 2006-11-21 00:47

Made plug-in available for IntelliJ IDEA 6.0.2 up to build #6200

Updated the Groovy 1.0 RC-1 SNAPSHOT JAR files

7 lines of code changed in:

tug 2006-11-20 18:51

Fix Groovy-1561

4 lines of code changed in:

graeme 2006-11-20 18:23

Gant was throwing MME on 1.4 VM so had to change to use replaceAll instead. Tried using replace('.' as char, '_' as char) but that didn't work either.

2 lines of code changed in:

  • groovy/modules/gant/source/gant: Gant.groovy (+2 -2)
akaranta 2006-11-20 17:57

cosmetic changes - more documentation, changed func & constant names etc

125 lines of code changed in:

akaranta 2006-11-20 07:09

launcher can now work w/out GROOVY_HOME being set if it is in bin dir of a groovy installation. Currently this only works on windows.

121 lines of code changed in:

mcspanky 2006-11-19 20:00

Fix for 1559: MissingMethodException should report whether the missing method is static or not.

40 lines of code changed in:

blackdrag 2006-11-17 11:45

allows to execute non static methods on Class

3 lines of code changed in:

mcspanky 2006-11-17 01:28

Updated jar list to match that used by maven.

12 lines of code changed in:

blackdrag 2006-11-16 21:25

changed static method index to have a class based index too.

46 lines of code changed in:

blackdrag 2006-11-16 21:24

cleanup: unused import removed

0 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/runtime/wrappers: PojoWrapper.java (-1)
blackdrag 2006-11-16 21:22

modified code to avoid CCE when testing a String and a Number for being equal

3 lines of code changed in:

russel 2006-11-16 18:30

Rearranged startGroovy so that it works on Ubuntu as well as Solaris, Mac OS X, Windows+Cygwin.

194 lines of code changed in:

blackdrag 2006-11-16 11:47

correct null+String to not throw an NPE

4 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/runtime: NullObject.java (+4)
akaranta 2006-11-15 17:38

fixed a warning about incompatible ptr types

1 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+1 -1)
blackdrag 2006-11-15 15:45

a PojoWrapper can be used for a GroovyObject too if it is used to wrap for a non Groovy class. So any check for the actual instance being a Groovyobject is not valid

5 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/runtime/wrappers: PojoWrapper.java (+5 -12)
blackdrag 2006-11-15 15:44

additional comment

1 lines of code changed in:

akaranta 2006-11-15 15:38

cosmetic changes - added some asserts, enhanced comments and error messages

10 lines of code changed in:

akaranta 2006-11-15 14:38

some more cleanup (cosmetic changes)

8 lines of code changed in:

paulk 2006-11-15 13:58

revert back to antlr 2.7.5 until after 1.0

1 lines of code changed in:

blackdrag 2006-11-15 13:48

this patch makes ProxyMetaClass more threadsafe and removes a side effect in the sorting of constructors in AsmClassGenerator as well as a bytecode bug for calling this/super constructors (verify error about splitting a long/double)

9 lines of code changed in:

akaranta 2006-11-15 13:42

cosmetic fixes

7 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+7 -6)
akaranta 2006-11-15 13:35

fixed a couple of warnings on windows

20 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+20 -10)
akaranta 2006-11-15 12:46

main() now modifies a copy of argv, not the original. Also removed some const qualifiers to get rid of compiler warnings.

32 lines of code changed in:

paulk 2006-11-15 11:52

upgrade to antlr 2.7.6

2 lines of code changed in:

paulk 2006-11-15 11:48

additional helper method

9 lines of code changed in:

akaranta 2006-11-15 10:32

turned -Wall back on in windows build after disabling some warnings (due to hundreds of them coming from windows' own headers)

9 lines of code changed in:

  • groovy/modules/native_launcher/source: Rantfile (+9 -7)
blackdrag 2006-11-15 10:05

disable setting of TOOLS_JAR to classes.zip on MAC

7 lines of code changed in:

akaranta 2006-11-15 09:28

Rantfile modified so debugging compile on windows now working

20 lines of code changed in:

blackdrag 2006-11-14 23:35

allow spreading of arrays the same way as lists

9 lines of code changed in:

blackdrag 2006-11-14 17:31

corrects caching for methods taking a list as only argument and uses DefaultMethodKey instead of TemporaryMethodKey to avoid recreation of the classes of the arguments (about 10% performance gain)

14 lines of code changed in:

blackdrag 2006-11-14 14:55

additional comments and checks to ensure initialise is called before any method is invoked

73 lines of code changed in:

russel 2006-11-14 08:39

Added tool for executing OS commands more easily than the Ant way. Works on Ubuntu and so likely all UNIX-style systems. Needs work for Windows.

44 lines of code changed in:

tug 2006-11-13 23:02

use size() not length()

1 lines of code changed in:

mcspanky 2006-11-13 21:48

Fix a bug for users with space in home path.

2 lines of code changed in:

akaranta 2006-11-13 20:44

fixed a gcc warning about type-punned pointers

5 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+5 -2)
blackdrag 2006-11-13 17:04

next MOP implementation step: the MetaClass does now have a separate index for calls to super. Method calls for this and super are replaced with calls on the MOP methods in the call class if available.

192 lines of code changed in:

blackdrag 2006-11-13 12:18

corrects some typos and moves the check for the catch statement type into ClassCompletionVerifier, to let the ResolveVisitor first resolve all types and then do type based checks

17 lines of code changed in:

russel 2006-11-13 09:59

Rearranged the packaging structure to the scheme agreed on the emails list.

527 lines of code changed in:

russel 2006-11-12 20:07

A bit of tidying up.

9 lines of code changed in:

  • groovy/modules/native_launcher: Rantfile (+3 -4)
  • groovy/modules/native_launcher/source: Rantfile (+6 -6)
akaranta 2006-11-12 19:42

changed source to remove a couple of compiler warnings

17 lines of code changed in:

akaranta 2006-11-12 11:31

classpath handing working

13 lines of code changed in:

akaranta 2006-11-11 11:59

modifications toward making classpath handling work

381 lines of code changed in:

jshickey 2006-11-10 17:15

fixed bug parsing error line number from console text

1 lines of code changed in:

jshickey 2006-11-08 23:36

fixed the calculation for the length of the hyperlink

32 lines of code changed in:

akaranta 2006-11-08 10:25

now both console and non-console version are built on windows

16 lines of code changed in:

  • groovy/modules/native_launcher: Rantfile (+5 -4)
  • groovy/modules/native_launcher/source: Rantfile (+11 -6)
jshickey 2006-11-08 00:16

Initial version of hyperlink from console to Groovy source file

219 lines of code changed in:

akaranta 2006-11-07 20:06

the executable is now called groovy,exe on win, groovy on other platforms

6 lines of code changed in:

akaranta 2006-11-07 19:00

improvements in rant windows build, prettified code, fixed some issues w/ automatic cp construction

93 lines of code changed in:

fraz 2006-11-06 21:48

Updated the Groovy 1.0 RC-1 SNAPSHOT JAR files

0 lines of code changed in:

akaranta 2006-11-06 06:47

prettified code

46 lines of code changed in:

  • groovy/modules/native_launcher/source: jvmstarter.c (+46 -34)
paulk 2006-11-05 11:23

little XML tweaks

277 lines of code changed in: