October 2005 Commit Log

Number of Commits:
148
Number of Active Developers:
9
tug 2005-10-31 17:22

Use a WeakHashMap to make the code more GC friendly

5 lines of code changed in:

tug 2005-10-31 15:19

Commit an experimental set of files which demonstrate how a metaclass actions helper can be dynamically generated

1094 lines of code changed in:

blackdrag 2005-10-31 14:37

added getRootLaoder for ClassLoader

16 lines of code changed in:

dierk 2005-10-29 17:12

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:

graeme 2005-10-28 10:29

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:

graeme 2005-10-27 17:15

tests for action chaining

62 lines of code changed in:

graeme 2005-10-27 17:15

Implemented action chaining so that the model is retained when one action is chained to another

154 lines of code changed in:

graeme 2005-10-27 17:13

Added a generic wrapper for any dynamic property

0 lines of code changed in:

graeme 2005-10-27 13:19

added tests for action redirection

98 lines of code changed in:

graeme 2005-10-27 13:19

updated to create a controller helper

5 lines of code changed in:

graeme 2005-10-27 13:16

Implemented redirection of controller actions with the method:

redirect(action:this.other,params:["myparam":"myvalue"] )

71 lines of code changed in:

graeme 2005-10-27 13:15

added the redirect dynamic controller method

3 lines of code changed in:

graeme 2005-10-27 13:14

changed to create map in constructor

4 lines of code changed in:

graeme 2005-10-27 13:14

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:

graeme 2005-10-27 13:12

new controller exception type

0 lines of code changed in:

graeme 2005-10-27 13:12

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:

graeme 2005-10-27 13:05

fixed null pointer bug with default behaviour of the after interceptor call

3 lines of code changed in:

graeme 2005-10-27 13:04

new getter to retrieve property name

11 lines of code changed in:

graeme 2005-10-27 13:04

Refactored AbstractDynamicMethods class into an interface

2 lines of code changed in:

graeme 2005-10-27 13:03

Added a method to lookup a dynamic property by name

43 lines of code changed in:

graeme 2005-10-27 13:01

Added new method to retrieve a property descriptor by value

22 lines of code changed in:

graeme 2005-10-27 13:00

Added methods to look-up a view name for the action name

40 lines of code changed in:

graeme 2005-10-27 12:59

Added the ability to create a GrailsApplication from classes for testing and other potentially useful uses

14 lines of code changed in:

graeme 2005-10-26 14:05

changed name of %GRAILS_HOME% references to be $GRAILS_HOME.. woops!

0 lines of code changed in:

  • groovy/modules/grails/bin: grails (changed)
graeme 2005-10-26 11:12

Rolled back again as it produced compilation errors.. GRRRR

0 lines of code changed in:

graeme 2005-10-26 11:07

compiled webflow with jdk 1.4 to avoid compilation errors with 1.4

0 lines of code changed in:

graeme 2005-10-26 11:03

removed older OGNL jar

0 lines of code changed in:

graeme 2005-10-26 08:40

fixed setProperty to delegate to the right method. Evil copy-and-paste bug!

1 lines of code changed in:

fraz 2005-10-25 23:16

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:

fraz 2005-10-25 23:03

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:

fraz 2005-10-25 22:46

Housekeeping: Updated the default Groovy runtime to the latest snapshot of the forthcoming Groovy JSR-04 release

0 lines of code changed in:

graeme 2005-10-25 17:26

compiled for jdk 1.4

0 lines of code changed in:

graeme 2005-10-25 16:55

Changed to return a BeanMap if the getter is accessed

15 lines of code changed in:

alang 2005-10-25 13:34

Added new features to Console

- intercepts std output

- binds last result to '_' and history of results to '__'

303 lines of code changed in:

alang 2005-10-25 13:32

Fix problem with using BoxLayout on top level container (Frame, Dialog, Applet)

7 lines of code changed in:

alang 2005-10-25 13:24

Added special handling for showing collections and maps

63 lines of code changed in:

dierk 2005-10-25 12:51

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:

graeme 2005-10-24 20:52

fixed bug where url has end slash "/"

3 lines of code changed in:

graeme 2005-10-24 20:52

fixed bug looking up default action view

1 lines of code changed in:

graeme 2005-10-24 17:34

Added OGNL expression object graph expression language jar

1 lines of code changed in:

graeme 2005-10-24 17:26

added OGNL jar to lib

1 lines of code changed in:

  • groovy/modules/grails/src/grails: build.xml (+1)
graeme 2005-10-24 17:24

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:

graeme 2005-10-24 17:21

Added OGNL expression object graph expression language jar

0 lines of code changed in:

graeme 2005-10-24 17:20

Added getting/setting of properties to delegating meta class

25 lines of code changed in:

graeme 2005-10-24 17:19

Changed inner class visibility

1 lines of code changed in:

graeme 2005-10-24 15:36

added getBy* that returns a unique result

1 lines of code changed in:

graeme 2005-10-24 15:04

Added a GrailsBootStrap artifact type for executing startup code

66 lines of code changed in:

graeme 2005-10-24 13:11

Changed name of war and run-app command to be the name of the project

5 lines of code changed in:

  • groovy/modules/grails/src/grails: build.xml (+5 -2)
graeme 2005-10-24 12:57

changed location of views from "view" to "views"

6 lines of code changed in:

  • groovy/modules/grails/samples/blog/grails-app/views/blog: list.jsp (new)
  • groovy/modules/grails/src/grails: build.xml (+6 -4)
graeme 2005-10-24 12:44

Changed name of the "defaultClosure" property to "defaultAction"

9 lines of code changed in:

graeme 2005-10-24 12:05

Tests for Controller meta class dynamic methods

56 lines of code changed in:

graeme 2005-10-24 12:05

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:

graeme 2005-10-24 12:01

Changed to use the constructor for specifying the method name instead of the more error prone property setter

3 lines of code changed in:

graeme 2005-10-24 12:00

Re-named to AbstractDynamicMethods as this is no longer specified to persistent methods

24 lines of code changed in:

graeme 2005-10-24 11:59

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:

graeme 2005-10-24 11:59

Extended ProxyMetaClass to allow the interception of calls to property getters/setters

0 lines of code changed in:

graeme 2005-10-24 11:58

added interface and abstract class for implement dynamic properties as well as methods

1 lines of code changed in:

graeme 2005-10-24 11:57

Added a "isMethodMethod" method to be consistent with StaticMethodInvocation interface

14 lines of code changed in:

dierk 2005-10-23 18:06

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:

tug 2005-10-21 10:03

First step towards allowing selected classes to have custom MetaClasses

50 lines of code changed in:

graeme 2005-10-20 15:10

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:

graeme 2005-10-20 15:08

added extend proxy class that allows proxying of getters/setters

1 lines of code changed in:

graeme 2005-10-20 15:07

Add method to remove proxy wrappers if they exist around model objects

25 lines of code changed in:

graeme 2005-10-20 14:04

the beginnings of a Blog sample app which demonstrates domain classes relationships etc.

43 lines of code changed in:

graeme 2005-10-20 14:01

added UTF-8 parser to sitemesh config

2 lines of code changed in:

graeme 2005-10-20 14:00

added Spring hibernate open session in view filter

20 lines of code changed in:

graeme 2005-10-20 13:59

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:

  • groovy/modules/grails/src/grails: build.xml (+23 -10)
graeme 2005-10-20 13:58

updated scripts to have more specific classpath for Jetty to avoid classloading issues

1 lines of code changed in:

graeme 2005-10-20 13:58

removed unnecessary import

0 lines of code changed in:

graeme 2005-10-20 13:57

Implemented and open session in view filter for Grails

32 lines of code changed in:

graeme 2005-10-20 13:57

added method signature constants

7 lines of code changed in:

graeme 2005-10-20 13:56

added null check for arguments

8 lines of code changed in:

graeme 2005-10-20 13:54

added check to see if the Grails context has already been loaded by a filter

28 lines of code changed in:

graeme 2005-10-20 13:53

added null and type check to getPropertyValue method

42 lines of code changed in:

alang 2005-10-20 13:23

Fixed problem when running from groovyConsole.bat

6 lines of code changed in:

alang 2005-10-20 11:51

Added history feature.

179 lines of code changed in:

alang 2005-10-20 11:51

Fix bug: could not add components to root pane with constraints. Now you can.

5 lines of code changed in:

alang 2005-10-20 11:36

Make it possible to set variables in the console shell bindings before

the console is openned.

4 lines of code changed in:

tug 2005-10-20 10:21

Fix bug when '%' appears as a literal character in a template

14 lines of code changed in:

graeme 2005-10-19 17:33

example use of sitemesh

13 lines of code changed in:

tug 2005-10-19 17:19

Use a new Binding every time the template is evaluated

2 lines of code changed in:

graeme 2005-10-19 17:18

added sitemesh jar to eclpse project

3 lines of code changed in:

graeme 2005-10-19 17:18

added "layouts" directory for sitemesh layouts and copying of sitemesh jar

8 lines of code changed in:

  • groovy/modules/grails/src/grails: build.xml (+8)
graeme 2005-10-19 17:17

added sitemesh servlet filter

20 lines of code changed in:

graeme 2005-10-19 17:17

added sitemesh config for GrailsLayoutDecoratorMapper

0 lines of code changed in:

  • groovy/modules/grails/src/war/WEB-INF: sitemesh.xml (new)
graeme 2005-10-19 17:16

Changed default to in-memory database

1 lines of code changed in:

graeme 2005-10-19 17:16

added sitemesh jar

0 lines of code changed in:

graeme 2005-10-19 17:15

tests for grails sitemesh decorator mapper

1 lines of code changed in:

graeme 2005-10-19 17:15

added javadoc

21 lines of code changed in:

graeme 2005-10-19 17:13

Implemented a decorator mapper for sitemesh/grails integration

1 lines of code changed in:

tug 2005-10-19 15:43

Remove unneeded object creation in the make() call



Make now just clones the closure and sets the delegate

9 lines of code changed in:

graeme 2005-10-19 11:24

tests for the HibernateCriteriaBuilder

7 lines of code changed in:

graeme 2005-10-19 11:24

Added createCriteria dynamic persistent method that returns a HibernateCriteriaBuilder instance

1 lines of code changed in:

graeme 2005-10-19 11:23

Implemented first revision of a Hibernate Criteria Builder class

16 lines of code changed in:

tug 2005-10-19 11:07

Fix GROOVY-1100

2 lines of code changed in:

tug 2005-10-19 10:00

Fix GROOVY-1099

5 lines of code changed in:

tug 2005-10-18 16:22

Move MetaClass creation into one place

12 lines of code changed in:

tug 2005-10-18 15:39

Minor cosmetic changes

15 lines of code changed in:

tug 2005-10-17 14:03

Fix a problem with use(0 when the closure throws an exception

12 lines of code changed in:

tug 2005-10-17 12:34

Reducethe visibilty of what appear to be methods only used internally by MetaClassImpl

31 lines of code changed in:

tug 2005-10-17 11:29

Move the responsibility for settung the default Groovy methods wholly into the MetaClassRegistry

24 lines of code changed in:

tug 2005-10-17 11:07

Remove duplicated code in the constructor

13 lines of code changed in:

tug 2005-10-17 09:36

Second phase of metaClass reorganisation: create a metaClassHelper and move all the static utility methods into it

293 lines of code changed in:

tug 2005-10-16 19:40

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:

tug 2005-10-12 14:56

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: