Permalink
Commits on Jun 17, 2014
  1. GRAILS-11505 fix broken preferSubChunkWhenWritingToOtherBuffer featur…

    …e in StreamCharBuffer
    lhotari committed Jun 17, 2014
  2. update version to 2.4.1

    Graeme Rocher committed Jun 17, 2014
Commits on Jun 16, 2014
  1. Enable Travis

    graemerocher committed Jun 16, 2014
  2. Merge branch '2.3.x' into 2.4.x

    Conflicts:
    	grails-web-common/src/main/groovy/org/codehaus/groovy/grails/web/servlet/mvc/GrailsParameterMap.java
    graemerocher committed Jun 16, 2014
  3. GRAILS-11506 optimize performance of leftShift calls in taglibs compi…

    …led with @CompileStatic
    lhotari committed Jun 16, 2014
  4. Merge branch '2.3.x' into 2.4.x

    Conflicts:
    	grails-encoder/src/main/groovy/org/codehaus/groovy/grails/support/encoding/AbstractEncodedAppender.java
    	grails-encoder/src/main/groovy/org/codehaus/groovy/grails/support/encoding/StreamingStatelessEncoder.java
    	grails-test-suite-uber/src/test/groovy/org/codehaus/groovy/grails/web/util/StreamCharBufferSpec.groovy
    lhotari committed Jun 16, 2014
  5. GRAILS-11361 use optimized way in JSONObject to use StreamingStateles…

    …sEncoder (JSONEncoder)
    lhotari committed Jun 15, 2014
  6. GRAILS-11507 optimize output of StringBuilder and StringBuffer instan…

    …ces (CharSequence) in GrailsPrintWriter
    lhotari committed Jun 16, 2014
Commits on Jun 14, 2014
  1. Merge branch '2.3.x' into 2.4.x

    Conflicts:
    	grails-encoder/src/main/groovy/org/codehaus/groovy/grails/web/util/StreamCharBuffer.java
    	grails-test-suite-web/src/test/groovy/org/codehaus/groovy/grails/web/codecs/CodecSpec.groovy
    lhotari committed Jun 14, 2014
  2. GRAILS-11361 JSON Converter should ignore encoding state (like usage …

    …of raw)
    
    - JSONCodec is used in JSONObject for escaping object inputs
    - this change adds a feature to the EncodedAppender to force encoding of all input
    lhotari committed Jun 14, 2014
Commits on Jun 13, 2014
  1. interceptor methods should be private

     This should fix the failing JDK8 joint build test.  The issue is that since these methods were public they were being configured as controller actions.  This happened to work ok with JDK7 and not work with JDK8 because of a difference in the ordering of AST transformation classes at compile time.
    
     When a controller is compiled with JDK7, the getRequest method that we add to that controller looks like this...
    
        public HttpServletRequest getRequest() {
            return this.instanceControllerTagLibraryApi.getRequest(this);
        }
    
    When that same controller is compiled with JDK8 that method looks like this...
    
        public HttpServletRequest getRequest() {
            return this.instanceControllersRestApi.getRequest(this);
        }
    
    instanceControllerTagLibraryApi is initialized in the constructor.  instanceControllersRestApi is not, at least not directly.  I think it relies on injection from the app context and that bean doesn't exist when that particular failing test is run.
    
    Since these methods were being configured as controller action methods code was being added to them to access the request in order to do allowedMethods checking.  Because instanceControllersRestApi is used when the controller is compiled with JDK8 and that property is null for this particular test, the test was failing.
    jeffbrown committed Jun 13, 2014
  2. Merge branch '2.3.x' of github.com:grails/grails-core into 2.3.x

    Conflicts:
    	grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/cli/fork/ForkedGrailsProcess.groovy
    graemerocher committed Jun 13, 2014
  3. Merge branch '2.3.x' into 2.4.x

    Conflicts:
    	grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/cli/fork/ForkedGrailsProcess.groovy
    graemerocher committed Jun 13, 2014
  4. Merged changes

    graemerocher committed Jun 13, 2014
  5. Merge branch '2.3.x' into 2.4.x

    lhotari committed Jun 13, 2014
Commits on Jun 12, 2014
  1. improve performance leftShift(Object) method of GrailsPrintWriter

    - CompileStatic code picks this method, no call site caching like in dynamic code, so optimize the happy path
    lhotari committed Jun 12, 2014
  2. optimize GroovyPageOutputStack performance

    - reduce unnecessary operations
    lhotari committed Jun 12, 2014
  3. Merge branch '2.3.x' into 2.4.x

    lhotari committed Jun 12, 2014
  4. upgrade to Aether 1.0.0

    graemerocher committed Jun 12, 2014
  5. Improve the solution that ensures the correct version of spring, groo…

    …vy and grails jars by reading info from GrailsCoreDependencies
    graemerocher committed Jun 12, 2014