Timeframe: 30 days, Total Commits: 56 Total Number of Files Changed: 183
Date | Author | File/Message |
---|---|---|
2004-07-15 11:26:55 | Jeremy Rayner | Unified the output of the usage statement for 'groovy' into one place (HelpFormatter) |
2004-07-15 11:12:58 | James Strachan |
src/test/org/codehaus/groovy/classgen/DumpingClassLoader.java v 1.9 src/test/org/codehaus/groovy/classgen/ReflectorGeneratorTest.java v 1.3 fixed tests that don't compile due to asm version switch |
2004-07-15 10:22:27 | James Strachan | updated CVS ready for the release & upgraded version number & asm versions |
2004-07-15 10:20:19 | James Strachan | updated CVS ready for the release & upgraded version number & asm versions |
2004-07-15 09:58:07 | James Strachan | added back the main() in GroovyShell for those that still use it |
2004-07-15 09:47:21 | James Strachan |
src/main/org/codehaus/groovy/control/CompilationUnit.java v 1.8 GROOVY-573 Removed runtime dependency on asm-util |
2004-07-15 09:43:13 | James Strachan | added failing test, with commented out failure |
2004-07-15 08:48:46 | Jeremy Rayner | Added new method for properties, as per GROOVY-464 |
2004-07-15 08:01:53 | James Strachan | Fixed failing test case I broke with my previous commit |
2004-07-14 20:56:10 | Guillaume Laforge | Applied patch from Danno |
2004-07-14 19:26:26 | Guillaume Laforge |
src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.114 New getText() methods from GROOVY-572 |
2004-07-14 19:20:35 | James Strachan | 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 |
2004-07-14 19:12:39 | Guillaume Laforge | GROOVY-501: applied Danno Ferrin's patch |
2004-07-14 11:10:27 | James Strachan | disabled report |
2004-07-14 11:06:55 | James Strachan | made a couple of methods protected and tidied up the code |
2004-07-13 20:11:36 | Jeremy Rayner |
src/latex/ref/README.txt v 1.1 Added a reference card for Groovy. Instructions to build PDF in src/latex/ref/README.txt |
2004-07-13 19:43:09 | James Strachan |
src/main/groovy/lang/MetaBeanProperty.java v 1.1 src/main/groovy/lang/MetaClass.java v 1.78 src/main/groovy/lang/MetaFieldProperty.java v 1.1 src/main/groovy/lang/MetaProperty.java v 1.2 src/main/groovy/lang/PropertyValue.java v 1.1 src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.113 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? |
2004-07-13 19:33:57 | Jeremy Rayner | test to see if my commit access works :-) |
2004-07-13 17:50:51 | James Strachan | re-renabled site:deploy on the DC build |
2004-07-13 17:38:02 | James Strachan |
src/conf/groovy-classworlds.conf v 1.6 Applied patch by Yuri Schimke to support -p i e support when running groovy |
2004-07-13 14:37:48 | James Strachan |
src/main/groovy/util/GroovyTestCase.java v 1.15 src/main/org/codehaus/groovy/classgen/VerifierCodeVisitor.java v 1.10 src/test/groovy/CompilerErrorTest.groovy v 1.2 src/test/org/codehaus/groovy/classgen/VerifierCodeVisitorTest.java v 1.2 src/test/org/codehaus/groovy/syntax/parser/ASTBuilderTest.java v 1.30 added validation checks for variable, property & field names |
2004-07-13 14:06:48 | James Strachan |
src/main/org/codehaus/groovy/classgen/VerifierCodeVisitor.java v 1.9 src/test/groovy/CompilerErrorTest.groovy v 1.1 src/test/org/codehaus/groovy/classgen/VerifierCodeVisitorTest.java v 1.1 added better warning to fix dion's common problem of typing println ${foo} |
2004-07-13 12:17:45 | James Strachan | fixed javadoc warnings |
2004-07-13 12:17:04 | James Strachan |
src/main/groovy/util/GroovyTestSuite.java v 1.8 src/main/org/codehaus/groovy/runtime/ScriptTestAdapter.java v 1.1 allow any scripts to be ran by the GroovyTestSuite inside any JUnit tool |
2004-07-13 09:01:32 | James Strachan |
src/whiteboard/org/codehaus/groovy/classgen/JavacClassGenerator.java v 1.1 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 |
2004-07-11 20:26:48 | Guillaume Laforge |
src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.112 Groovy-450 (eachWithIndex) |
2004-07-11 19:41:25 | Guillaume Laforge |
src/main/groovy/util/CharsetToolkit.java v 1.2 src/main/org/codehaus/groovy/runtime/WritableFile.java v 1.2 Added copyright notice |
2004-07-11 19:40:26 | Guillaume Laforge |
src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.111 New Groovy methods as of GROOVY-486 and GROOVY-469 |
2004-07-11 09:08:54 | Guillaume Laforge | MissingMethodExceptions were caught even if it was not main which was missing (fix for GROOVY-567) |
2004-07-10 18:23:28 | tug |
src/main/org/codehaus/groovy/classgen/AsmClassGenerator2.java v 1.4 Set the default for static binding to off |
2004-07-10 17:47:08 | Bing Ran |
src/main/org/codehaus/groovy/classgen/AsmClassGenerator2.java v 1.3 casted parameter for property setters |
2004-07-10 16:28:57 | Bing Ran |
src/main/org/codehaus/groovy/classgen/AsmClassGenerator2.java v 1.2 turned on static dispatching by default |
2004-07-10 16:04:10 | Bing Ran | safeguarded the getTimeStamp() |
2004-07-10 11:10:55 | Bing Ran | The previous check in added timestamp check in the loadClass() method. Requires the __TIMESTAMP field added in the Verifier |
2004-07-10 03:31:36 | Bing Ran |
src/main/groovy/lang/Closure.java v 1.39 src/main/groovy/lang/GroovyClassLoader.java v 1.25 src/main/groovy/lang/GroovyCodeSource.java v 1.3 src/main/groovy/lang/GroovyShell.java v 1.29 src/main/groovy/lang/MetaClass.java v 1.77 src/main/groovy/lang/MetaClassRegistry.java v 1.13 src/main/groovy/lang/MetaMethod.java v 1.14 src/main/org/codehaus/groovy/ast/ClassNode.java v 1.40 src/main/org/codehaus/groovy/ast/CompileUnit.java v 1.9 src/main/org/codehaus/groovy/ast/FieldNode.java v 1.10 src/main/org/codehaus/groovy/ast/MethodNode.java v 1.13 src/main/org/codehaus/groovy/ast/ModuleNode.java v 1.25 src/main/org/codehaus/groovy/ast/Parameter.java v 1.11 src/main/org/codehaus/groovy/ast/Type.java v 1.2 src/main/org/codehaus/groovy/ast/VariableScope.java v 1.3 src/main/org/codehaus/groovy/ast/expr/ArgumentListExpression.java v 1.6 src/main/org/codehaus/groovy/ast/expr/ArrayExpression.java v 1.7 src/main/org/codehaus/groovy/ast/expr/BinaryExpression.java v 1.6 src/main/org/codehaus/groovy/ast/expr/BooleanExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/CastExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/ClassExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/ClosureExpression.java v 1.6 src/main/org/codehaus/groovy/ast/expr/ConstantExpression.java v 1.7 src/main/org/codehaus/groovy/ast/expr/ConstructorCallExpression.java v 1.5 src/main/org/codehaus/groovy/ast/expr/Expression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/FieldExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/GStringExpression.java v 1.9 src/main/org/codehaus/groovy/ast/expr/ListExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/MapEntryExpression.java v 1.5 src/main/org/codehaus/groovy/ast/expr/MapExpression.java v 1.4 src/main/org/codehaus/groovy/ast/expr/MethodCallExpression.java v 1.5 src/main/org/codehaus/groovy/ast/expr/NegationExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/NotExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/PostfixExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/PrefixExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/PropertyExpression.java v 1.4 src/main/org/codehaus/groovy/ast/expr/RangeExpression.java v 1.4 src/main/org/codehaus/groovy/ast/expr/RegexExpression.java v 1.4 src/main/org/codehaus/groovy/ast/expr/StaticMethodCallExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/TernaryExpression.java v 1.2 src/main/org/codehaus/groovy/ast/expr/TupleExpression.java v 1.3 src/main/org/codehaus/groovy/ast/expr/VariableExpression.java v 1.6 src/main/org/codehaus/groovy/ast/stmt/ForStatement.java v 1.3 src/main/org/codehaus/groovy/classgen/AsmClassGenerator.java v 1.7 src/main/org/codehaus/groovy/classgen/AsmClassGenerator2.java v 1.1 src/main/org/codehaus/groovy/classgen/BlockScope.java v 1.4 src/main/org/codehaus/groovy/classgen/BytecodeExpression.java v 1.2 src/main/org/codehaus/groovy/classgen/BytecodeHelper.java v 1.14 src/main/org/codehaus/groovy/classgen/CodeVisitor.java v 1.5 src/main/org/codehaus/groovy/classgen/DummyClassGenerator.java v 1.1 src/main/org/codehaus/groovy/classgen/Variable.java v 1.7 src/main/org/codehaus/groovy/classgen/Verifier.java v 1.32 src/main/org/codehaus/groovy/control/CompilationUnit.java v 1.7 src/main/org/codehaus/groovy/control/ProcessingUnit.java v 1.2 src/main/org/codehaus/groovy/control/SourceUnit.java v 1.2 src/main/org/codehaus/groovy/control/messages/ExceptionMessage.java v 1.2 src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.110 src/main/org/codehaus/groovy/runtime/GroovyCategorySupport.java v 1.6 src/main/org/codehaus/groovy/runtime/Invoker.java v 1.61 src/main/org/codehaus/groovy/runtime/InvokerHelper.java v 1.56 src/main/org/codehaus/groovy/runtime/TemporaryMethodKey.java v 1.3 src/main/org/codehaus/groovy/syntax/SyntaxException.java v 1.10 src/main/org/codehaus/groovy/syntax/Types.java v 1.5 src/main/org/codehaus/groovy/syntax/parser/ASTBuilder.java v 1.105 src/main/org/codehaus/groovy/syntax/parser/Parser.java v 1.85 src/main/org/codehaus/groovy/syntax/parser/RuntimeParserException.java v 1.2 src/main/org/codehaus/groovy/tools/DocGenerator.groovy v 1.16 src/main/org/codehaus/groovy/tools/FileSystemCompiler.java v 1.8 src/test/groovy/CastTest.groovy v 1.10 src/test/groovy/ChainedAssignment.groovy v 1.1 src/test/groovy/OptionalReturnTest.groovy v 1.2 src/test/groovy/PrimitiveTypeFieldTest.groovy v 1.3 src/test/groovy/SafeNavigationTest.groovy v 1.2 src/test/groovy/SerializeTest.groovy v 1.3 src/test/groovy/bugs/SubscriptOnPrimitiveTypeArrayBug.groovy v 1.4 src/test/groovy/security/SecurityTestSupport.java v 1.3 src/test/groovy/xml/TestXmlSupport.java v 1.4 src/test/org/codehaus/groovy/classgen/ConstructorIssueTest.groovy v 1.4 src/test/org/codehaus/groovy/classgen/DumpingClassLoader.java v 1.8 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. |
2004-07-07 17:58:01 | James Strachan | added modules goal to build sub-modules |
2004-07-07 15:12:30 | Steve Goetze |
src/main/org/codehaus/groovy/runtime/FloatingPointMath.java v 1.3 src/main/org/codehaus/groovy/runtime/IntegerMath.java v 1.5 Fixed GROOVY-513 |
2004-07-07 11:14:51 | James Strachan | updated the viewcvs url |
2004-07-06 21:06:20 | dcontrol | testing DC again |
2004-07-06 21:01:04 | dcontrol | wakie wakie dc!!!!! |
2004-07-06 20:57:16 | dcontrol | wakie wakie dc |
2004-07-06 20:38:57 | dcontrol | dc test |
2004-07-06 20:09:58 | Guillaume Laforge | Updated the runnable behaviour of scripts and classes. |
2004-07-06 07:31:25 | tug | Roll back last change - it broke the build |
2004-07-05 23:43:55 | Guillaume Laforge | Improved the way a script or class may be run, following the pseudo-code below: if (theClass has a main method) { run the main method } else if (theClass instanceof GroovyTestCase) { use the test runner to run it } else if (theClass implements Runnable) { if (theClass has a constructor with String[] params) instanciate theClass with this constructor and run else if (theClass has a no-args constructor) instanciate theClass with the no-args constructor and run } |
2004-07-04 16:14:58 | Guillaume Laforge | Fixed a potential NPE (GROOVY-561) |
2004-07-01 05:59:04 | Guillaume Laforge | Updated the .bat files to use the latest Classworlds version (1.0 instead of RC2) |
2004-06-30 13:38:39 | Steve Goetze |
src/main/org/codehaus/groovy/classgen/AsmClassGenerator.java v 1.6 src/main/org/codehaus/groovy/runtime/BigIntegerMath.java v 1.3 src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java v 1.109 src/main/org/codehaus/groovy/runtime/IntegerMath.java v 1.4 src/main/org/codehaus/groovy/runtime/LongMath.java v 1.4 src/main/org/codehaus/groovy/runtime/NumberMath.java v 1.4 src/main/org/codehaus/groovy/syntax/Types.java v 1.4 src/main/org/codehaus/groovy/syntax/lexer/GroovyLexerBase.java v 1.4 src/test/groovy/IntegerOperationTest.groovy v 1.10 Added integer division operators \ and \= |
2004-06-29 22:02:17 | Guillaume Laforge | Added the ability to run unit tests also in the run method which takes an input stream (Follow-up to GROOVY-555) |
2004-06-28 22:51:42 | Guillaume Laforge | Added the ability to run test cases from the groovy command line, by simply calling groovy MyTestCase.groovy the test will be run. No dependency was added to the JUnit framework thanks to reflection. |
2004-06-24 20:36:05 | Guillaume Laforge | Speed-up the rebuild process by not compiling groovy tests if maven.test.skip is true |
2004-06-24 20:26:32 | Guillaume Laforge | Speed-up the rebuild process by not compiling groovy tests if maven.test.skip is true |
2004-06-23 21:40:31 | Steve Goetze | Fix for bug reported by Richard Hensley when constructing a GroovyCodeSource from a URL |
2004-06-22 10:06:38 | tug | Fix Groovy-547 |
2004-06-21 15:02:42 | James Strachan | fixed scripts to use latest classworlds |
2004-06-15 09:21:23 | tug |
src/main/org/codehaus/groovy/sandbox/util/XmlSlurper.java v 1.1 Intial check in of XmlSlurper |