Use a WeakHashMap to make the code more GC friendly
5 lines of code changed in:
Commit an experimental set of files which demonstrate how a metaclass actions helper can be dynamically generated
1094 lines of code changed in:
added getRootLaoder for ClassLoader
16 lines of code changed in:
commented out the layout of the runWaitDialog since it broke the groovyConsole. Also needs to be fixed in SwingBuilder since dialog.setLayout is not possible but only dialog.contentPane.setLayout.
1 lines of code changed in:
refactored the calling of closure actions into the helper class so that redirect can participate in a chain without have to replicate code
101 lines of code changed in:
tests for action chaining
62 lines of code changed in:
Implemented action chaining so that the model is retained when one action is chained to another
154 lines of code changed in:
Added a generic wrapper for any dynamic property
0 lines of code changed in:
added tests for action redirection
98 lines of code changed in:
updated to create a controller helper
5 lines of code changed in:
Implemented redirection of controller actions with the method:
redirect(action:this.other,params:["myparam":"myvalue"] )
71 lines of code changed in:
added the redirect dynamic controller method
3 lines of code changed in:
changed to create map in constructor
4 lines of code changed in:
Moved map implementation into a public class and made it possible to add params to the map as controller parameters.. thus having one unified this.params instance for chaining and redirection
17 lines of code changed in:
new controller exception type
0 lines of code changed in:
Moved the guts of the controller into a helper class that can be more easily passed around to dynamic methods
100 lines of code changed in:
fixed null pointer bug with default behaviour of the after interceptor call
3 lines of code changed in:
new getter to retrieve property name
11 lines of code changed in:
Refactored AbstractDynamicMethods class into an interface
2 lines of code changed in:
Added a method to lookup a dynamic property by name
43 lines of code changed in:
Added new method to retrieve a property descriptor by value
22 lines of code changed in:
Added methods to look-up a view name for the action name
40 lines of code changed in:
Added the ability to create a GrailsApplication from classes for testing and other potentially useful uses
14 lines of code changed in:
changed name of %GRAILS_HOME% references to be $GRAILS_HOME.. woops!
0 lines of code changed in:
Rolled back again as it produced compilation errors.. GRRRR
0 lines of code changed in:
compiled webflow with jdk 1.4 to avoid compilation errors with 1.4
0 lines of code changed in:
removed older OGNL jar
0 lines of code changed in:
fixed setProperty to delegate to the right method. Evil copy-and-paste bug!
1 lines of code changed in:
GROOVY-998: Replaced occurrences of "-)" with "->" as the bug to do with IDEA's failure to parse '>' characters in the demo text of a language's Colors & Fonts panel has been fixed in build #3500
7 lines of code changed in:
GROOVY-998: Replaced occurrences of "-)" with "->" as the bug to do with IDEA's failure to parse '>' characters in the demo text of a language's Colors & Fonts panel has been fixed in build #3500
3 lines of code changed in:
Housekeeping: Updated the default Groovy runtime to the latest snapshot of the forthcoming Groovy JSR-04 release
0 lines of code changed in:
compiled for jdk 1.4
0 lines of code changed in:
Changed to return a BeanMap if the getter is accessed
15 lines of code changed in:
Added new features to Console
- intercepts std output
- binds last result to '_' and history of results to '__'
303 lines of code changed in:
Fix problem with using BoxLayout on top level container (Frame, Dialog, Applet)
7 lines of code changed in:
Added special handling for showing collections and maps
63 lines of code changed in:
updated to jacob 1.9 and adapted examples slightly to JSR-04, build and manual tests are fine. Update was needed since latest WinXP hotfixes broke the jacob dll.
11 lines of code changed in:
fixed bug where url has end slash "/"
3 lines of code changed in:
fixed bug looking up default action view
1 lines of code changed in:
Added OGNL expression object graph expression language jar
1 lines of code changed in:
added OGNL jar to lib
1 lines of code changed in:
Added new dynamic property that lets you set the properties on a domain class dynamically from a map of OGNL expressions
62 lines of code changed in:
Added OGNL expression object graph expression language jar
0 lines of code changed in:
Added getting/setting of properties to delegating meta class
25 lines of code changed in:
Changed inner class visibility
1 lines of code changed in:
added getBy* that returns a unique result
1 lines of code changed in:
Added a GrailsBootStrap artifact type for executing startup code
66 lines of code changed in:
Changed name of war and run-app command to be the name of the project
5 lines of code changed in:
changed location of views from "view" to "views"
6 lines of code changed in:
Changed name of the "defaultClosure" property to "defaultAction"
9 lines of code changed in:
Tests for Controller meta class dynamic methods
56 lines of code changed in:
Implemented 2 new dynamic properties for controller meta classes:
"params" - returns a map that delegates to request instance to retrieve request parameters
"session" - returns a map that delegates to the session instance to interact with the HttpSession
110 lines of code changed in:
Changed to use the constructor for specifying the method name instead of the more error prone property setter
3 lines of code changed in:
Re-named to AbstractDynamicMethods as this is no longer specified to persistent methods
24 lines of code changed in:
Added an abstract class that allows for dynamic methods to be used in conjunction with a ProxyMetaClass instance as an interceptor
2 lines of code changed in:
Extended ProxyMetaClass to allow the interception of calls to property getters/setters
0 lines of code changed in:
added interface and abstract class for implement dynamic properties as well as methods
1 lines of code changed in:
Added a "isMethodMethod" method to be consistent with StaticMethodInvocation interface
14 lines of code changed in:
introduced BenchmarkInterceptor for statistics on method calls and their elapsed time profile, is still in the lang package and should probably move to util, is also a second example for Interceptor usage
94 lines of code changed in:
First step towards allowing selected classes to have custom MetaClasses
50 lines of code changed in:
updated to use ExtendProxy implementation so that getters/setters are proxied too and changed to participant in an existing Hibernate session if one is bound to the TransactionManager context
20 lines of code changed in:
added extend proxy class that allows proxying of getters/setters
1 lines of code changed in:
Add method to remove proxy wrappers if they exist around model objects
25 lines of code changed in:
the beginnings of a Blog sample app which demonstrates domain classes relationships etc.
43 lines of code changed in:
added UTF-8 parser to sitemesh config
2 lines of code changed in:
added Spring hibernate open session in view filter
20 lines of code changed in:
added additional jar dependencies to be copied and try catch block around jetty so some exceptions arn't swallowed
23 lines of code changed in:
updated scripts to have more specific classpath for Jetty to avoid classloading issues
1 lines of code changed in:
removed unnecessary import
0 lines of code changed in:
Implemented and open session in view filter for Grails
32 lines of code changed in:
added method signature constants
7 lines of code changed in:
added null check for arguments
8 lines of code changed in:
added check to see if the Grails context has already been loaded by a filter
28 lines of code changed in:
added null and type check to getPropertyValue method
42 lines of code changed in:
Fixed problem when running from groovyConsole.bat
6 lines of code changed in:
Added history feature.
179 lines of code changed in:
Fix bug: could not add components to root pane with constraints. Now you can.
5 lines of code changed in:
Make it possible to set variables in the console shell bindings before
the console is openned.
4 lines of code changed in:
Fix bug when '%' appears as a literal character in a template
14 lines of code changed in:
example use of sitemesh
13 lines of code changed in:
Use a new Binding every time the template is evaluated
2 lines of code changed in:
added sitemesh jar to eclpse project
3 lines of code changed in:
added "layouts" directory for sitemesh layouts and copying of sitemesh jar
8 lines of code changed in:
added sitemesh servlet filter
20 lines of code changed in:
added sitemesh config for GrailsLayoutDecoratorMapper
0 lines of code changed in:
Changed default to in-memory database
1 lines of code changed in:
added sitemesh jar
0 lines of code changed in:
tests for grails sitemesh decorator mapper
1 lines of code changed in:
added javadoc
21 lines of code changed in:
Implemented a decorator mapper for sitemesh/grails integration
1 lines of code changed in:
Remove unneeded object creation in the make() call
Make now just clones the closure and sets the delegate
9 lines of code changed in:
tests for the HibernateCriteriaBuilder
7 lines of code changed in:
Added createCriteria dynamic persistent method that returns a HibernateCriteriaBuilder instance
1 lines of code changed in:
Implemented first revision of a Hibernate Criteria Builder class
16 lines of code changed in:
Fix GROOVY-1100
2 lines of code changed in:
Fix GROOVY-1099
5 lines of code changed in:
Move MetaClass creation into one place
12 lines of code changed in:
Minor cosmetic changes
15 lines of code changed in:
Fix a problem with use(0 when the closure throws an exception
12 lines of code changed in:
Reducethe visibilty of what appear to be methods only used internally by MetaClassImpl
31 lines of code changed in:
Move the responsibility for settung the default Groovy methods wholly into the MetaClassRegistry
24 lines of code changed in:
Remove duplicated code in the constructor
13 lines of code changed in:
Second phase of metaClass reorganisation: create a metaClassHelper and move all the static utility methods into it
293 lines of code changed in:
First step in MetaClass refactor: MetaClass is now abstract the old metaClass is now MetaClassImpl.
Some methods have been made ststic an (temporarily) migrated from MetaClassImpl to MetaClass. They will eventually find a home in MetaClassHelper.
More chages to come :)
1199 lines of code changed in:
Pass the builder instance as the parameter to the markup closure.
So the parameter rather than the binding property can be used to qualify a tag where this is needed
def someThing = 0
def markup = { xml ->
xml.someThing { // emit <someThing>
10 lines of code changed in: