tests to try out class reloading with GCL
9 lines of code changed in:
Add an interface(MOP) which defines which methods are in the new Meta Object Protocol
258 lines of code changed in:
Force an OK result in the simpel HTTP server
We need to make this nicer in later versions.
66 lines of code changed in:
replaced backslashes with forward slashes to fix problems with build on Linux
0 lines of code changed in:
Changed call to getValue to use get method
1 lines of code changed in:
An experimental simple HTTP server:
s = new HTTPServer()
s.get = {inn, out, uri, version -> out << "my page"}
s.startServer(new ServerSocket(1234))
You can set closures fro get, put, head and post.
167 lines of code changed in:
Add depthFirst() whic returns an iteratore over all the nodes in the tree. The iteration is lsft to right starting with the deepest node.
f."**" is equivalent to f.depthfirst()
45 lines of code changed in:
Added the GROOVY-674 test into the suite.
1 lines of code changed in:
Added a unit test to codify issues from GROOVY-674.
55 lines of code changed in:
Updated to ASM 2.2 and Ant 1.6.5.
15 lines of code changed in:
marked the readLine() bug with a comment. no code changed
1 lines of code changed in:
support arrays of primative types too
129 lines of code changed in:
Add support for BigInteger and Long
51 lines of code changed in:
Support arraus of objects (String, Integer, etc)
also fix problem with Character parameters
53 lines of code changed in:
Tidy up prior to adding array support
62 lines of code changed in:
remove the boolean results for set attribute/property when they would throw execeptions if there was no attribute or property
2 lines of code changed in:
Fix typo bod -> body
1 lines of code changed in:
Fix problem when there is no body to an element - used to throw NPR
3 lines of code changed in:
use redirects to commpare only the real class nodes
4 lines of code changed in:
only use abstract methods when asking for abstract methods
3 lines of code changed in:
wrong startup for abstractness test corrected
2 lines of code changed in:
less carefull building of the list with abstract methods to allow some sdks to do nasty things
15 lines of code changed in:
temporarily added the pageFlow visualization for sharing it
0 lines of code changed in:
Added last line/col info to the Groovy AST
22 lines of code changed in:
added configuration of Spring messageSource
7 lines of code changed in:
added creation of messages.properties in a i18n directory for placing validation error messages
7 lines of code changed in:
Added support for applying simple constraints related to the view
76 lines of code changed in:
added constraints property as a domain class property
3 lines of code changed in:
updated save persistent method to perform validation by default and test cases to reflect this
45 lines of code changed in:
more tests for validate method
26 lines of code changed in:
refactored and moved into more generic package as it contains a mix of persitent and non persistent dynamic methodsd now
16 lines of code changed in:
Changed to use the metaclass to set the errors and hasErrors properties
7 lines of code changed in:
updated to implement a WeakHashMap mechanism for storing relationships between instances and properties so that it can be used globally within the meta class
35 lines of code changed in:
fixed support for Hibernate HQL queries in finder methods, add validation of queries, added support for query parameters and restriction of max results
198 lines of code changed in:
Implemented loadGroovySource method in GroovyResourceLoader
29 lines of code changed in:
Implemented loadGroovySource method in GroovyResourceLoader and added additional debugging calls
23 lines of code changed in:
Changed to extend MetaClassImpl following changes in groovy-core
3 lines of code changed in:
path updates to reflect change of jar
3 lines of code changed in:
updated to latest groovy jar
0 lines of code changed in:
give the script resolving a hint if the loading of a class failed, but a script may have success
4 lines of code changed in:
Updated to use the latest version of Groovy: JSR-04.
1 lines of code changed in:
JSR-05-SNAPSHOT version
1 lines of code changed in:
Start of the JSR-04 release
6 lines of code changed in:
GROOVY-1154: implement output << input for streams
24 lines of code changed in:
change the name of the aetEntityResolver(URL) to setEntityBaseUrl
1 lines of code changed in:
Add setEntityResolver(URL).
This uses the URL as the bas to resolve relative URLs
15 lines of code changed in:
A new proposal for the layout of the Groovy Language Specification,
taking into account the copyright concerns of the Java Language Specification
and hopefully making a document that can be read both without
reference to the Java Language Specification, and with for further detail.
160 lines of code changed in:
Fix for http://jira.codehaus.org/browse/GROOVY-1151
Uses explicit LF character for non bat files, rather
than the odd fixcrlf defaults for 'unix' which on
OSX seem to be CR rather than LF.
1 lines of code changed in:
Change the definition of invokeXMethod and invokeXConstructor so that id the metaclass doesn't call the method or constructor then it returns the actual parameters to be used by the bytecode call.
Make sure that freash Class arrays are used by the helper methods.
40 lines of code changed in:
GROOVY-1147: Workaround fix for checking mod time for file:// URL
52 lines of code changed in:
Little fix to rpevent NPEs in cases where the ast building is not possible. The error reporting will tell then why it was not possible
3 lines of code changed in:
GROOVY-1102: fix a badly formatted dependency on mockobjects.
2 lines of code changed in:
GROOVY-1094: applying patch from Kenji Nakamura to use the "root.maven" classloader for GroovyShell in the Groovy Ant task when it's used within Maven.
25 lines of code changed in:
GROOVY-1145: change the signature of GRL#loadGroovyFile() to GRL#loadGroovySource. This method will now return a URL instead of a File which may be too restrictive under certain circumstances (like loading Groovy sources from JARs, etc).
112 lines of code changed in:
adding testcase for groovy-932
10 lines of code changed in:
adding tests for primitive types
11 lines of code changed in:
test to avoid regression of Groovy-726
32 lines of code changed in:
Upgraded ASM's core dependency to ASM 2.1.
1 lines of code changed in:
Change the contract with the invokeXmethod and invokeXconstructor methods so that they return the argumantTypes array now contains all the information needed to choose which method to call when the MetaClass delegates that task to the caller.
43 lines of code changed in:
cleaner version of GCL#getLoadedClasses
10 lines of code changed in:
First attempt to create a new MetaClass capable of supporting Java name resolution rules more closely than the existing MetaClass
362 lines of code changed in:
ported show.jsp to use GvTags
17 lines of code changed in:
added gvtags tld
0 lines of code changed in:
added GvTags taglib to web.xml
8 lines of code changed in:
added GvTags jar and tld to build
3 lines of code changed in:
added support for GvTags
0 lines of code changed in:
change false return in script resolving to return true if the type is resolved by the classloader and false else
3 lines of code changed in:
enables classloading again
2 lines of code changed in:
As many people had problems because classes are compiled twice I changed the logic when a script is compiled. It is now only compiled if there is no class of that name or if there is such a class, then the script is only compiled if the class's classloader is not the working classloader and the class's timestamp is older than the file's lastModified information
36 lines of code changed in:
fixed bug in sorting
10 lines of code changed in:
adding SourceUnit
4 lines of code changed in:
this let's the classloader choose the class returned for parseClass a little bit more carefully. The classgen step now gets the ClassNode in a sorted order to avoid defining a class that extends a class that is later defined.
72 lines of code changed in:
changed to use array index to look-up parameter instead of unecessary additional method call
5 lines of code changed in:
changed to test setup configuration programmatically
38 lines of code changed in:
updated for change to DefaultGrailsApplication constructor
3 lines of code changed in:
added setter for grails application so that the test case doesn't fail!
11 lines of code changed in:
latest blog sample app
7 lines of code changed in:
updated domain class test for retrieving the otherside of relationships
23 lines of code changed in:
Fixed problem where bidirectional one-to-manys where not being mapped correctly causing the relationships to not be retrieved when querying
51 lines of code changed in:
added MySQL to hibernate dialect detection
2 lines of code changed in:
updated get property type method is use assignable from so subclasses or concrete are matched
6 lines of code changed in:
added class loader to constructor and implemented resolving of the otherside of relationships between domain classes
25 lines of code changed in:
Added method to retrieve the otherside of a bidirectional relationship
51 lines of code changed in:
Allow the user to get and set the EntityResolver, DTDHandlerand ErrorHandler and to get/set Properties and Freatures.
This is done by providing delegated calls to the approprate method on the XMLReader used to parse the XML document
78 lines of code changed in:
this patch enables groovy to recognize "void" as class when it is used as class. For example "println void.class"-
It tries to avoid adding a proeprty multiple times to a ClassNode. And it tries to improve the handling of inner classes when not imported using a fqn
63 lines of code changed in:
changed to create a new Groovy controller for each request
3 lines of code changed in:
Fix problem when the element of the lhs was null and the same elamane of the rhs was not.
Fix problem when lements of the Lists were themselves Lists.
Tidy code.
28 lines of code changed in:
added option to choose where the meta class gets registered in the meta class registry or not
29 lines of code changed in:
changed to return a read-only map of constraints
3 lines of code changed in:
Upgraded ASM dependency to ASM 2.1.
Fixed JarJar's groupId and upgraded to 0.6.
11 lines of code changed in:
added tracing calls
31 lines of code changed in:
adding setting of grails context so fix reloading grails app twicebug
1 lines of code changed in:
removed validate on blog
3 lines of code changed in:
updated bootstrap class
16 lines of code changed in:
Correct a few things with blog sample app
78 lines of code changed in:
Updated to parse Long from Number instances
2 lines of code changed in:
changed validate to return false when not valid (obviously!)
17 lines of code changed in:
second version of the icon that has a transparent background instead of the white one. This makes it look much nicer, e.g. on the windows desktop.
0 lines of code changed in:
updated blog sample up with some constraints to test validation
51 lines of code changed in:
updated build to copy properties files into jar for validation default messages
6 lines of code changed in:
updated build to copy new jars for validation
2 lines of code changed in:
moved configuration of validator in SpringConfig
61 lines of code changed in:
Updated so that it is configured by Spring
34 lines of code changed in:
fixed bug where it was reloading the whole grails app on every request and hence resetting the in memory database (woops)
17 lines of code changed in:
moved setting of "invalid" suffix out of base class and into subclasses as it is not always appropriate for every constraint
26 lines of code changed in:
adding setter for validator of a domain class
30 lines of code changed in:
updated commons-httpclient to version 3.0-rc3; it seems it's only used in the examples and those work with the updated versions. The newer version is needed for using Groovy with HtmlUnit and Canoo WebTest, e.g. for testing Grails.
1 lines of code changed in:
fixed problem with moved XmlSlurper package
1 lines of code changed in:
Change the event handler class name so that no duplicate classes exist at the same time.
12 lines of code changed in:
Housekeeping: Updated groovy.psi.g to reflect the recent changes made to groovy.g in groovy-core
1 lines of code changed in:
ResolveVisitor added
638 lines of code changed in:
this committ removes the class org.codehaus.groovy.ast.Type completely and transferes its functuanality to ClassNode and ClassHelper. A ClassNode can now be a primitive type or any other type created with an class file available. ClassNodes can now be primary, which means they are the a result of a class definiton in a file - unlike a ClassNode created from a Class. All phases till actual class creation should work on ClassNode instead of Class. So all Class handling code in ACG is transformed to ahndle ClassNode instead. A ClassNode can contain a redirect now. This is used when multiple names point to the same ClassNode. This mechanism was used instead of a replacing like with the Type class. This was needed because all class resolving code is tra