September 2004 Commit Log

Number of Commits:
29
Number of Active Developers:
8
glaforge 2004-09-30 22:23

Thanks to Maniax who spotted two nasty bugs in the Invoker: we now evaluate floats/doubles correctly (as true when they are equal to zero), and we return an Iterator for an empty collection.

9 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/runtime: Invoker.java (+2 -2)
  • groovy/groovy-core/src/test/org/codehaus/groovy/runtime: InvokerTest.java (+7)
tug 2004-09-30 20:20

did some currying to spice it up a bit

44 lines of code changed in:

tug 2004-09-30 19:29

remove duplicated headers inrtoduced in the last commit

0 lines of code changed in:

tug 2004-09-30 19:28

Replace a java like string concatination with a GString

18 lines of code changed in:

tug 2004-09-30 19:06

Slurp the XML directly from the response rather than creating a String and parsing that

5 lines of code changed in:

tug 2004-09-30 18:45

Deal with the fact that the description element is optional in RSS 2.0

Use XMLSlurper so that we can get rid of redundant [0] in GPath expressions

Also we can ommit the text() call when we want a String

7 lines of code changed in:

tug 2004-09-30 17:05

Modified to use slightly more idiomatic forms of Groovy

70 lines of code changed in:

tug 2004-09-30 16:59

Add versions of collect which take a Collection parameter

The parremeter is used to collect the results of executing the closure

and is returned as the result of calling collect

58 lines of code changed in:

jez 2004-09-30 11:36

An example of the Bloglines Web Services.



Written by Marc Hedlund <marc@precipice.org>, September 2004.



Used in Marc's article at:

http://www.oreillynet.com/pub/a/network/2004/09/28/bloglines.html



Requirements:

- install Groovy as detailed at <http://groovy.codehaus.org/>.

- put commons-httpclient-2.0.1.jar into GROOVY_HOME/lib

see <http://jakarta.apache.org/commons/httpclient/>.

note: this is currently designed for HttpClient2.x and not HttpClient3.x



To Launch:

groovy BloglinesClient.groovy







Thanks for sharing this example Marc!

167 lines of code changed in:

jstrachan 2004-09-29 18:03

updated version number to next snapshot

1 lines of code changed in:

jstrachan 2004-09-29 16:31

changed version number, ready for release

1 lines of code changed in:

jez 2004-09-29 09:12

bringing the reference card in line with the current Groovy JDK methods

7 lines of code changed in:

jez 2004-09-29 08:48

* added byte[] as specific RHS of << operator

- the RHS can still be of type Object, but if we have a stream on LHS

and a byte[] on the RHS, then raw byte data will be sent down that stream

(Socket, Process etc)

78 lines of code changed in:

yuri 2004-09-28 21:08

refactored readline stuff into external module

106 lines of code changed in:

ckl 2004-09-28 14:18

added support for ScrolledComposite

4 lines of code changed in:

jez 2004-09-28 07:48

Avoid namespace clash for mock (MockInputStream)

3 lines of code changed in:

jez 2004-09-28 07:37

* Added socket << obj and process << obj

* Added test cases for Groovy Socket methods

* Added test cases for Groovy Process methods

157 lines of code changed in:

tug 2004-09-22 14:59

Make the Xml Element Writable

21 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/sandbox/util: XmlSlurper.java (+21 -1)
tug 2004-09-22 14:53

Make text() work with mixed content

2 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/sandbox/util: XmlSlurper.java (+2)
tug 2004-09-22 14:04

Allow text() to be ommitted in contexts which require a string

19 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/sandbox/util: XmlSlurper.java (+19 -11)
fraz 2004-09-20 07:53

Updated to hide GroovyJ action when event did not originate from a *.groovy file

6 lines of code changed in:

fraz 2004-09-20 07:50

Renamed to match the corresponding category under IDEA's IDE settings

71 lines of code changed in:

fraz 2004-09-18 23:47

Initial check-in of libraries, tests, and other project artifacts

1738 lines of code changed in:

fraz 2004-09-12 12:44

Removed in preparation for the revamped build...

0 lines of code changed in:

  • groovy/ide/groovyj/src/java/meta-inf: plugin.xml (del)
tug 2004-09-03 10:20

Make a Wriatble Closure's toString() method return the result of executing the closure

10 lines of code changed in:

  • groovy/groovy-core/src/main/groovy/lang: Closure.java (+10 -1)
tug 2004-09-03 09:49

Add a contents() method to XmlList

This allows the contents of a node to be pasted into the thing being built by a Builder

22 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/sandbox/util: XmlSlurper.java (+22 -12)
cpoirier 2004-09-03 05:04

Fixed bug that caused the parser to hang on unterminated GStrings.

35 lines of code changed in:

tug 2004-09-02 18:38

Allow arbitrary subscripts in GPath expressions on the result of running XmlSlurper

Begin the work to allow GPath expressions to be used to specify markup to be generated by Builders

71 lines of code changed in:

ckl 2004-09-02 08:01

added a small getting strated guided, upgraded to latest groovy build

88 lines of code changed in:

August 2004 »

Generated by StatSVN 0.3.2-SNAPSHOT