Allow call of constructors from any level of nested inner public static classes
40 lines of code changed in:
Applied patch kindly suggested by Eamonn McManus to work better with remote MBeans
5 lines of code changed in:
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:
Test case to check that it's possible to call inner classes ctors from groovy
2 lines of code changed in:
Test case to check that it's possible to call inner classes ctors from groovy
79 lines of code changed in:
Ported Database object to groovy, and looked at issues with clone()
121 lines of code changed in:
remove debugging output
1 lines of code changed in:
Make the generated closure code use { | | notation for parameters
2 lines of code changed in:
Make the Server use the same mechanism to support complex method names as the ServerProxy
43 lines of code changed in:
Make the support of complex method names more robust
16 lines of code changed in:
Deal with exceptions thrown in the middle of returning a fault response
35 lines of code changed in:
allow static methods to be called via auto generated proxy closure
54 lines of code changed in:
Throw the right exception from XMLRPCServerProxy when the remote call returns a fault
21 lines of code changed in:
Applied Dion's patch adding a --version flag to groovy
7 lines of code changed in:
Allow to call public static inner classes' constructors
55 lines of code changed in:
GROOVY-588 test case (I had forgotten to commit it!)
22 lines of code changed in:
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:
Improve the thread safety of the server
10 lines of code changed in:
Add some debug/logging hooks to the server
81 lines of code changed in:
Reduce XMLMessageProcessor's dependancy on Groovy stuff
103 lines of code changed in:
Allow a class' field closure to be called as a method call, according to GROOVY-588
20 lines of code changed in:
More groovy relational API fun, ported from commons-sql model package.
151 lines of code changed in:
Tidy up exception handling
9 lines of code changed in:
allow remotely called method to return a custom fault response
21 lines of code changed in:
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:
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:
added tests for bug 583
17 lines of code changed in:
fix for bug 583, assigning a GString to a bean property expecting a String
4 lines of code changed in:
Added test case to prove GROOVY-467 is no longer an issue
10 lines of code changed in:
fixed a typo in an error message
1 lines of code changed in:
removed Protected test accidently left in
0 lines of code changed in:
modified dump() to use allProperties(), but left it commented out due to questions
30 lines of code changed in:
allowed this test to be run from local directory
8 lines of code changed in:
Throw only one type of exception for remote call failure
Now you only get XMLRPCCallFailureException or IOException
23 lines of code changed in:
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:
Catch null values and produced a proper error message
10 lines of code changed in:
added support for allProperties() in Expando objects, and added some more tests
163 lines of code changed in:
Allow GStrings to be struct member names
1 lines of code changed in:
New patch from Geert Bevin - Fixed Script binding value types being loaded by the wrong classloader
5 lines of code changed in:
Cnahe the BigInteger to BigDecimal - typo in last patch
2 lines of code changed in:
Deal with the case when the data items are subclasses of Date or BigInteger
6 lines of code changed in:
Support GString as a <string> value
Throw an exception if an unsupported data type is used
10 lines of code changed in:
change initialization of FormColors
2 lines of code changed in:
A simple patchwork graphics demo, showing SwingBuilder, forloop and
use of a closure as a more concise expression.
48 lines of code changed in:
a couple of simple console based toys, showing convenience of System.in.readLine()
27 lines of code changed in:
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:
Example from Danno Ferrin using the SwingBuilder
(moving examples folder)
0 lines of code changed in:
Example from Danno Ferrin using the SwingBuilder
205 lines of code changed in:
New patch from Danno Ferrin fo the SwingBuilder
270 lines of code changed in:
- added --encoding flag (to parse files with a specified charset)
- changed the way runMainOrTest invokes the main method
25 lines of code changed in:
add test case and for GROOVY-580
Thanks to Christof Vollrath for the fix
2 lines of code changed in:
Fix GROOVY-579
48 lines of code changed in:
Add dummy file to force creation of src/bin directory
1 lines of code changed in:
Dummy file to force CVS checkout to create src/conf
1 lines of code changed in:
Change the Groovy dependancy from beta5 to beta6
1 lines of code changed in:
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:
Tolerate the broken date format produced by Moveable Type
13 lines of code changed in:
Be more tolerant of error returns which don't conform to the XML-RPC spec
2 lines of code changed in:
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:
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:
added support for length property on arrays
82 lines of code changed in:
added array length param to test
21 lines of code changed in:
added John Stump to developers section
10 lines of code changed in:
disabled the use of xmlrpc by default unless the make-full-install goal is used
3 lines of code changed in:
fixed build to include xmlrpc now
13 lines of code changed in:
fixed asm jar version
1 lines of code changed in:
updated version number after beta-6 release
2 lines of code changed in:
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:
move some code ...
5 lines of code changed in:
provide access to formtoolkit
60 lines of code changed in:
Unified the output of the usage statement for 'groovy' into one place (HelpFormatter)
2 lines of code changed in:
fixed tests that don't compile due to asm version switch
6 lines of code changed in:
updated CVS ready for the release & upgraded version number & asm versions
11 lines of code changed in:
added back the main() in GroovyShell for those that still use it
5 lines of code changed in:
GROOVY-573 Removed runtime dependency on asm-util
592 lines of code changed in:
added failing test, with commented out failure
17 lines of code changed in:
Added new method for properties, as per GROOVY-464
6 lines of code changed in:
Fixed failing test case I broke with my previous commit
1 lines of code changed in:
Applied patch from Danno
104 lines of code changed in:
New getText() methods from GROOVY-572
25 lines of code changed in:
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-501: applied Danno Ferrin's patch
163 lines of code changed in:
add Form background images
25 lines of code changed in:
disabled report
2 lines of code changed in:
made a couple of methods protected and tidied up the code
271 lines of code changed in:
layout script object
7 lines of code changed in:
fix wrong return object
6 lines of code changed in:
Added a reference card for Groovy.
Instructions to build PDF in src/latex/ref/README.txt
423 lines of code changed in:
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:
test to see if my commit access works :-)
9 lines of code changed in:
re-renabled site:deploy on the DC build
0 lines of code changed in:
Applied patch by Yuri Schimke to support -p i e support when running groovy
411 lines of code changed in:
added validation checks for variable, property & field names
69 lines of code changed in:
added better warning to fix dion's common problem of typing
println ${foo}
95 lines of code changed in:
fixed javadoc warnings
2 lines of code changed in:
fixed the xmlrpc build
3 lines of code changed in:
allow any scripts to be ran by the GroovyTestSuite inside any JUnit tool
79 lines of code changed in:
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:
Groovy-450 (eachWithIndex)
13 lines of code changed in:
Added copyright notice
72 lines of code changed in:
New Groovy methods as of GROOVY-486 and GROOVY-469
203 lines of code changed in:
MissingMethodExceptions were caught even if it was not main which was missing (fix for GROOVY-567)
5 lines of code changed in:
Set the default for static binding to off
1 lines of code changed in:
casted parameter for property setters
10 lines of code changed in:
turned on static dispatching by default
1 lines of code changed in:
safeguarded the getTimeStamp()
28 lines of code changed in:
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:
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: