February 2004 Commit Log

Number of Commits:
82
Number of Active Developers:
5
spullara 2004-02-28 00:56

Add the GroovyScriptEngine and change the GroovyServlet to use it. This is designed to automatically recompile classes and their dependencies using a simple resource interface.

479 lines of code changed in:

jstrachan 2004-02-26 18:46

Applied patches kindly submitted by Chris Poirier to refactor the code, add better warning level support to the compiler and to document the code.



Details from Chris....



Multiple error handling is in place, but not fully completed. It works

best in the parsing phase, but I'm only about half-way through an

overhaul of the parser code. I've fixed about a dozen bugs in the

parser, and refactored a lot of the code. I've added parser (only)

support for nested classes, static initializers, and interfaces. I'll

continue with the process tonight.



The FileSystemCompiler has a new flag, --exception, that can be used to

output full stack traces for exceptions. By default, only uncaught

exceptions will get the full report. The code that outputs the line on

which the error occurred will probably only work with invokations

through the FileSystemCompiler, and I don't know exactly how well

CompilerFacade will currently behave.

2730 lines of code changed in:

jstrachan 2004-02-26 17:28

fixed xml encoding (whoops)

1 lines of code changed in:

jstrachan 2004-02-26 17:08

added Hallvard as a contributor

4 lines of code changed in:

jstrachan 2004-02-26 17:06

added test case for super method invocation bug

26 lines of code changed in:

jstrachan 2004-02-26 17:04

added a test case of GROOVY-211

19 lines of code changed in:

jstrachan 2004-02-26 08:00

Applied patch supplied by Hallvard Tr?tteberg to fix GString expressions

23 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax/parser: Parser.java (+7 -9)
  • groovy/groovy-core/src/test/groovy: GStringTest.groovy (+16)
jstrachan 2004-02-26 07:06

GROOVY-222

40 lines of code changed in:

jstrachan 2004-02-26 06:52

allow long, double and float methods to be called with integer values

12 lines of code changed in:

jstrachan 2004-02-26 06:49

refactor of Guillaume's implementation of waitForOrKill() method which uses semaphores instead of polling to implement an efficient wait

67 lines of code changed in:

jstrachan 2004-02-26 06:48

added test case for GROOVY-211

18 lines of code changed in:

glaforge 2004-02-26 00:44

Added List.reverseEach() method as specified in GROOVY-149.

22 lines of code changed in:

glaforge 2004-02-25 23:50

Added the Process.waitForOrKill() method specified in GROOVY-201.

35 lines of code changed in:

jstrachan 2004-02-25 22:06

fix for GROOVY-131

33 lines of code changed in:

jstrachan 2004-02-25 22:01

Fix for the various nested closure variable passing bugs. It appears to work but we need to test each of the 3 or so issues to check it fixes all of them

29 lines of code changed in:

jstrachan 2004-02-25 16:34

applied Robert Fuller's patch - DOH! Thanks Robert

2 lines of code changed in:

jstrachan 2004-02-25 15:59

added support for Int based constants

4 lines of code changed in:

jstrachan 2004-02-25 13:14

allowed Binding to expose variables as properties

55 lines of code changed in:

jstrachan 2004-02-25 10:07

start of refactoring to support properties better and more efficiently

104 lines of code changed in:

jstrachan 2004-02-25 10:05

applied Robert Fuller's patch for GROOVY-213

22 lines of code changed in:

jstrachan 2004-02-25 00:03

removed unnecessary casts

3 lines of code changed in:

jstrachan 2004-02-24 23:32

New For loop which handles JDK 1.5 style for loops using : or in along with an optional type



Added support for subscript operator on objects as a dynamic alternative to property access



Fixed a few warnings

241 lines of code changed in:

jstrachan 2004-02-23 16:15

added a section on common gotchas together with a FAQ entry

51 lines of code changed in:

jstrachan 2004-02-23 14:35

Optimisation to avoid performing an explicit check of all the command line arguments for every method call. We only do this on closure method invocation. (we can probably tune this too)

25 lines of code changed in:

jstrachan 2004-02-23 14:22

added some warnings

4 lines of code changed in:

jstrachan 2004-02-23 14:10

* refactor so that Closure invocation uses the MetaClass mecahnism now to minimise the reliance on reflection

* refactoring to minimise the synchronization inside MetaClass method dispatching.

115 lines of code changed in:

jstrachan 2004-02-22 15:20

fix for GROOVY-177

2 lines of code changed in:

jstrachan 2004-02-22 09:47

ignore blank lines gracefully

3 lines of code changed in:

jstrachan 2004-02-22 09:39

fix for GROOVY-185

0 lines of code changed in:

jstrachan 2004-02-22 09:23

fix for GROOVY-185

90 lines of code changed in:

jstrachan 2004-02-21 16:40

disable test

2 lines of code changed in:

jstrachan 2004-02-21 16:33

various fixes and test cases for the use of primitive fields

184 lines of code changed in:

jstrachan 2004-02-21 14:59

fixes to support primitive type parameters

66 lines of code changed in:

jstrachan 2004-02-21 14:26

fix for primitive type coercion using the proper unboxing methods

45 lines of code changed in:

jstrachan 2004-02-21 13:56

fix for GROOVY-209

43 lines of code changed in:

jstrachan 2004-02-21 13:40

fixed bug when assigning to class

88 lines of code changed in:

jstrachan 2004-02-21 12:32

a fix for calling super.foo() styles of methods.



also optimised away the creation of redundant arrays when calling methods with no arguments

109 lines of code changed in:

jstrachan 2004-02-21 11:09

use a different package for reflectors

5 lines of code changed in:

jstrachan 2004-02-21 10:56

avoided using inner classes for the reflector to see if it helps with class loader issues

2 lines of code changed in:

jstrachan 2004-02-21 10:44

add a temporary workaround to class loading issues when using bytecode generated Reflectors

19 lines of code changed in:

jstrachan 2004-02-21 10:40

fix for http://jira.codehaus.org/secure/ViewIssue.jspa?key=GROOVY-75

91 lines of code changed in:

jstrachan 2004-02-21 09:13

Simplified the MetaClass code some more to clean things up as well as adding a cache for dynamic method dispatching

136 lines of code changed in:

jstrachan 2004-02-20 18:51

added keys which will be used for efficient caching of methods indexed by types

83 lines of code changed in:

jstrachan 2004-02-20 17:43

removed the last of the reflection cases, so now pretty much we should be using non-reflection for method dispatching

14 lines of code changed in:

jstrachan 2004-02-20 16:33

Refactor of the implementation of new groovy methods which should ultimately be more effiicent.



It means that we can treat all methods as being MetaMethods and being equivalent. We can eventually refactor MetaClass more to have literally just an index of instance and static methods and not having to comprehend 'special' new groovy methods etc.



Plus these changes fix the issue of new groovy methods not being available as properties. So Process.getOut() worked before this refactor, but Process.in didn't.



Finally this refactor should help us finally remove all reflection from the code for good I hope

357 lines of code changed in:

jstrachan 2004-02-20 10:20

disabled the execute command test, as it only works on unixes

2 lines of code changed in:

jstrachan 2004-02-19 18:50

rolled back my failing tests

2 lines of code changed in:

jstrachan 2004-02-19 18:37

allow getProperty and setProperty to be used by default to resolve properties on objects, so things like Ant's Project will work

2 lines of code changed in:

jstrachan 2004-02-19 17:26

fixed typeo

1 lines of code changed in:

tug 2004-02-19 16:30

Fix GROOVY-206

1 lines of code changed in:

jstrachan 2004-02-19 15:22

used zero based indexing and support for negative indices on JDBC calls

45 lines of code changed in:

jstrachan 2004-02-19 15:03

only warn once that you're using a deprecated method

11 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/sql: Sql.java (+11 -7)
jstrachan 2004-02-19 15:00

renamed queryEach() to be eachRow() while preserving backwards compatiblity

50 lines of code changed in:

jstrachan 2004-02-19 12:50

allow groovy sql to work with indexed columns

69 lines of code changed in:

glaforge 2004-02-19 00:32

Added some new stream methods according to GROOVY-201.

56 lines of code changed in:

jstrachan 2004-02-18 20:39

added more helper methods to Sql

32 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/sql: Sql.java (+32 -8)
jstrachan 2004-02-18 17:41

fix for GROOVY-181

1 lines of code changed in:

jstrachan 2004-02-18 17:39

Added an implementation class which should be used for new groovy methods on JDK classes

96 lines of code changed in:

jstrachan 2004-02-18 12:26

fixed typeo - tut tut john :)

1 lines of code changed in:

tug 2004-02-18 11:41

added myself to the developers list

9 lines of code changed in:

jstrachan 2004-02-18 10:31

added a bunch of helper methods to create new instances of SQL without dealing with the lower level JDBC plumbing

79 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/sql: Sql.java (+79 -2)
jstrachan 2004-02-18 09:56

changed to be text files

0 lines of code changed in:

jstrachan 2004-02-18 09:55

added support for CLASSPATH variable in scripts

8 lines of code changed in:

tug 2004-02-17 20:42

Fix corrupted initial check-in of test case

74 lines of code changed in:

jstrachan 2004-02-17 20:29

fixed the link for the eclipse plugin

3 lines of code changed in:

tug 2004-02-17 20:23

Fix corrupted initial check-in

349 lines of code changed in:

jstrachan 2004-02-17 19:55

disabled the use of AgileDox by default

12 lines of code changed in:

jstrachan 2004-02-17 19:32

added 3 aliases so working with Process appears to follow the System.in, out, err naming convention

85 lines of code changed in:

jstrachan 2004-02-17 15:41

Added support for "someCommand".execute() method as well as adding the ability to sort any Collection (such as the keySet or values() of a Map)

118 lines of code changed in:

jstrachan 2004-02-17 10:26

Added support for scripts to be able to use println() and print() methods which can be redirected to any 'out' variable

179 lines of code changed in:

glaforge 2004-02-16 22:41

Implementation of Object[].join()

(GROOVY-149)

31 lines of code changed in:

jstrachan 2004-02-16 18:34

Added a link to Mark's excellent article

2 lines of code changed in:

jstrachan 2004-02-16 10:22

fixed typeo suggested by Daniel Aborg

1 lines of code changed in:

zohar 2004-02-15 23:23

added myself to developers list :-)

9 lines of code changed in:

zohar 2004-02-15 23:21

added acces to nested exceptions

5 lines of code changed in:

zohar 2004-02-15 23:21

error list was never cleared - corrected at the point where we throw a MultiException

27 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/tools: Compiler.java (+27 -24)
glaforge 2004-02-15 23:14

Implementation of Collection.toList() and File.withInputStream()

(GROOVY-149)

31 lines of code changed in:

glaforge 2004-02-11 23:53

Implementation and test case for List.grep(regexp) (GROOVY-149)

30 lines of code changed in:

glaforge 2004-02-10 23:10

Fix for bug GROOVY-196.

Now, "a" * 0 == "" (String of length 0) instead of throwing an IllegalArgumentException.

The exception is thrown when factor < 0.

I also modified MultiplyDivideEqualsTest to test that behaviour.

10 lines of code changed in:

glaforge 2004-02-10 22:26

Fix for the bug GROOVY-194.

Commented a verbose and noisy System.out.println().

1 lines of code changed in:

glaforge 2004-02-05 00:50

Fix for the bug GROOVY-191.

New method plus(Number, String) in DefaultGroovyMethods.

Added a test case for that method.

22 lines of code changed in:

glaforge 2004-02-02 22:09

Fixed bug GROOVY-180 : the groovy methods with only the self parameter were showing the self parameter instead of none

5 lines of code changed in:

January 2004 »

Generated by StatSVN 0.3.2-SNAPSHOT