December 2003 Commit Log

Number of Commits:
148
Number of Active Developers:
3
jstrachan 2003-12-31 14:01

added Rod's test case

6 lines of code changed in:

jstrachan 2003-12-31 14:00

Fixed bug where subscript operator didn't work on arrays of String types

23 lines of code changed in:

jstrachan 2003-12-31 13:39

refactored Expando and GroovyLog into the groovy.util package.



also minor change to the wiki generated unit tests; use *Test.groovy as the source code to be consistent with the groovy file & class name

215 lines of code changed in:

jstrachan 2003-12-30 21:19

Code refactor to clean things up a bit.



refactored the exceptions in org.codehaus.groovy.runtime into groovy.lang.

To avoid potential clashes with java.lang.NoSuchMethodException I've renamed the NoSuch*Exceptions to be Missing*Exceptions



Also renamed ScriptContext to be Binding which is simpler and a little more Rubyesque



Also got the wiki unit test cases finally working. We still need to test {code:gsh} but other than that its looking good

544 lines of code changed in:

jstrachan 2003-12-30 18:28

refactored the gdo package to be in the sql package instead to make things a bit neater

1013 lines of code changed in:

jstrachan 2003-12-30 17:46

First attempt at creating JUnit test cases from the wiki documentation. Nearly there.

29 lines of code changed in:

jstrachan 2003-12-30 17:27

Applied patch to implement John Wilson's suggestion allowing methods to be added to an Expando object using closures

74 lines of code changed in:

jstrachan 2003-12-30 17:23

added fix for GROOVY-100

69 lines of code changed in:

jstrachan 2003-12-29 12:02

Added a test case for an Expando bean which allows dynamic property creation as well as supporting static property access

14 lines of code changed in:

jstrachan 2003-12-29 11:38

Added unit test case and fix for Rod's patch for min() and max()

52 lines of code changed in:

jstrachan 2003-12-29 11:22

added some javadoc

10 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/servlet: package.html (new 10)
jstrachan 2003-12-23 18:19

avoid unnecessary runs of the unit test cases

3 lines of code changed in:

jstrachan 2003-12-23 18:18

added Travis as a developer

9 lines of code changed in:

jstrachan 2003-12-23 17:06

getting ready for next release

8 lines of code changed in:

jstrachan 2003-12-23 17:01

tidied up the instructions after Erics minor nits...



http://www.jroller.com/page/ericfj/20031219#html_head_head_body_i1

1 lines of code changed in:

jstrachan 2003-12-23 16:51

test case and fix for GROOVY-88

4 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/bsf: GroovyEngine.java (+3 -1)
  • groovy/groovy-core/src/test/org/codehaus/groovy/bsf: BSFTest.java (+1 -1)
jstrachan 2003-12-23 16:46

fixed Zohars bug

4 lines of code changed in:

jstrachan 2003-12-23 16:43

tidied up the instructions after Erics minor nits...



http://www.jroller.com/page/ericfj/20031219#html_head_head_body_i1

4 lines of code changed in:

jstrachan 2003-12-23 16:36

added a neater target to build releases

7 lines of code changed in:

jstrachan 2003-12-23 15:45

Added Guillaume as a contributor

4 lines of code changed in:

jstrachan 2003-12-23 15:43

fixed typeo on Guillaume's name. Sorry about that! :)

11 lines of code changed in:

jstrachan 2003-12-23 15:40

Applied the correct fix for this issue

10 lines of code changed in:

jstrachan 2003-12-23 15:30

temporarily backed out the fix for Guillaumes bug as it broke other things

5 lines of code changed in:

jstrachan 2003-12-23 15:27

fixed NPE I just introduced by accident :)

1 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax/parser: ASTBuilder.java (+1 -1)
jstrachan 2003-12-23 15:24

A fix for Guillaume's bug allowing if, for, while to use a single statement

34 lines of code changed in:

jstrachan 2003-12-23 15:09

added a test case to represent Guillames bug which generates a parser error for me

3 lines of code changed in:

jstrachan 2003-12-23 14:56

Added James Birchfield's patch to allow caching in the BSF integration.



We might wanna refactor more to combine the caching into GroovyClassLoader

266 lines of code changed in:

jstrachan 2003-12-23 14:43

removed the dependency on commons-logging. we may as well use JDK 1.4 logging instead since we're 1.4 dependent. This means 1 less jar for folks to use when embedding

101 lines of code changed in:

jstrachan 2003-12-23 13:38

Fix for serialization issue Rod found. All Groovy objects are now easily serializable

194 lines of code changed in:

jstrachan 2003-12-23 13:30

tidied up faq dependency question

2 lines of code changed in:

  • groovy/groovy-core/xdocs: faq.fml (+2 -2)
jstrachan 2003-12-23 11:54

added a couple of helper methods to the AST

10 lines of code changed in:

jstrachan 2003-12-22 14:54

added another test case

6 lines of code changed in:

jstrachan 2003-12-22 14:48

Added a few more test cases and fixed a couple more gremlins in the bytecode generation.



We're getting much closer now :)

82 lines of code changed in:

jstrachan 2003-12-22 13:53

Fixed the bug found by Rod where the method dispatcher wasn't correctly calling the remove(int) methods on List and calling remove(Object) instead

76 lines of code changed in:

jstrachan 2003-12-22 13:22

added Rod as a contributor

4 lines of code changed in:

jstrachan 2003-12-22 13:15

Fixed Rod's bug where typed expressions barf. Added his test case as a unit test

159 lines of code changed in:

jstrachan 2003-12-22 11:49

Lots more unit test cases and a few more fixes for the bytecode generation.



we're getting there. The += and ++ operators along with shared variables & closures sure did introduce some bugs. They're nearly all gone now

132 lines of code changed in:

jstrachan 2003-12-20 11:57

removed item from todo

0 lines of code changed in:

jstrachan 2003-12-19 19:31

fixed the swing demo - though there's still the bug that Rod's found

14 lines of code changed in:

jstrachan 2003-12-19 19:19

fix for zohars bug where parameters were not correctly passed into closures

32 lines of code changed in:

jstrachan 2003-12-19 18:54

Heaps of fixes for various bytecode generation issues we had.



These were mostly related to inner/outer variables and with postfix operators.



I think most of them are gone now except Zohars bug and Rod's Swing issue

167 lines of code changed in:

jstrachan 2003-12-18 17:50

added a simpler 'rebuild' target for creating the binary install

5 lines of code changed in:

jstrachan 2003-12-18 17:05

a bit more defensive to see if this clears up Geerts's bug

19 lines of code changed in:

jstrachan 2003-12-18 16:31

Added Robert as a contributor and fixed the author tag

5 lines of code changed in:

jstrachan 2003-12-18 16:29

Applied test case from Robert Kuzelj along with a patch to fix the bug

59 lines of code changed in:

jstrachan 2003-12-18 15:55

added help on contributing patches

16 lines of code changed in:

jstrachan 2003-12-18 15:22

Fixed the closure method call bug and added a test case to ensure we don't break it again.

15 lines of code changed in:

jstrachan 2003-12-18 10:21

Another fix for bytecode generation; this time handling casts for outer fields when using closures

54 lines of code changed in:

jstrachan 2003-12-18 09:55

A minor refactor to make it easier to debug the bytecode generation of inner classes (for some reason the 'maven asm:dump' doesn't dump inner classes)



Fixed a minor bytecode bug; though there's still another one in there to go...

186 lines of code changed in:

spullara 2003-12-18 08:06

reenable the primitive types test

15 lines of code changed in:

spullara 2003-12-18 08:05

This update makes primitive types easier to use in groovy for interface declarations and things of that nature. 'char' still has problems.

24 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/classgen: ClassGenerator.java (+2 -4)
  • groovy/groovy-core/src/main/org/codehaus/groovy/runtime: Invoker.java (+20 -1)
  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax/parser: ASTBuilder.java (+2)
jstrachan 2003-12-18 06:20

Added auto-coercion of GStrings into Strings when invoking methods.



So



foo(String x) {...}



gstring = "text ${expr} text"

foo(gstring)



will work as expected

44 lines of code changed in:

spullara 2003-12-18 00:31

Remove the script context from the constructor so the lifecycle is consistent for Scripts.

8 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/lang: Script.java (+2 -12)
  • groovy/groovy-core/src/main/org/codehaus/groovy/runtime: InvokerHelper.java (+6 -2)
spullara 2003-12-18 00:12

Primitive type declaration test. Stil has problems.

48 lines of code changed in:

spullara 2003-12-18 00:12

Progress on primitive types support. Constructor support. Some servlet fixes.

161 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/servlet: GroovyServlet.java (+14 -6)
  • groovy/groovy-core/src/main/org/codehaus/groovy/classgen: ClassGenerator.java (+61 -42)
  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax: Token.java (+23 -3)
  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax/lexer: Lexer.java (+1 -1)
  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax/parser: ASTBuilder.java (+25 -11), Parser.java (+37 -15)
jstrachan 2003-12-17 10:31

Added teds broken script - will fix it soon

27 lines of code changed in:

jstrachan 2003-12-17 10:24

Added a test case for subscript operator with ranges on Strings

30 lines of code changed in:

jstrachan 2003-12-17 09:25

Made Range polymorphic whether its based on int or Object

213 lines of code changed in:

spullara 2003-12-17 06:57

This adds support for dependent scripts in the groovy servlet and also fixes a race condition in the groovy class loader.

96 lines of code changed in:

jstrachan 2003-12-17 01:39

added more documentation on getting involved & contributing and some more FAQ entries

38 lines of code changed in:

jstrachan 2003-12-17 01:37

Fully working subscript operators for Lists and Maps

67 lines of code changed in:

jstrachan 2003-12-17 01:07

Added FAQ entry and page describing operator overloading

18 lines of code changed in:

jstrachan 2003-12-17 00:21

added test case

14 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser: ASTBuilderTest.java (+14 -1)
jstrachan 2003-12-17 00:09

started to add some description of closures

8 lines of code changed in:

jstrachan 2003-12-17 00:08

fully fixed the issue with subscript operators causing 'follow-on' bugs in the parser.



also now newlines should be supported inside an expression so long as the operator is on the same line



x = 1 +

5 *

3



etc

119 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/syntax/parser: Parser.java (+59 -34)
  • groovy/groovy-core/src/test/org/codehaus/groovy/syntax/parser: ASTBuilderTest.java (+60 -18)
jstrachan 2003-12-16 15:53

Added a FAQ entry on dependencies

14 lines of code changed in:

  • groovy/groovy-core/xdocs: faq.fml (+14)
jstrachan 2003-12-15 13:07

Added a test case of calling another script from a script

7 lines of code changed in:

jstrachan 2003-12-15 11:26

* added more documentation, completing some javadoc.



* added a wiki plugin for the build so that the documentation can be written in Wiki notation including example source code and then turned into HTML.



This will also allow us to easily extract the example code used in the documentation and unit test it

161 lines of code changed in:

jstrachan 2003-12-13 20:24

log exceptions while closing resources - thanks for the tip Dain

3 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/gdo: Sql.java (+3 -3)
jstrachan 2003-12-13 19:44

Added Jeremy and Joern to the contributors page

5 lines of code changed in:

jstrachan 2003-12-13 18:56

Added a neat example of how you could combine Groovy SQL and GroovyMarkup together

28 lines of code changed in:

jstrachan 2003-12-13 18:10

Added some description of Groovy SQL

5 lines of code changed in:

jstrachan 2003-12-13 17:40

Added the version number to the consoles

18 lines of code changed in:

jstrachan 2003-12-13 17:10

working test case

2 lines of code changed in:

jstrachan 2003-12-13 16:34

removed superflous creation of Tuple objects when invoking methods dynamicallly

1 lines of code chan