This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch cs-bug-arrays
in repository https://gitbox.apache.org/repos/asf/grails-core.git
was 4e3a5bc299 uncomment @CompileStatic and fix some compilation errors
This change permanently discards the following revisions:
discard 4e3a5bc299 uncomment @CompileStatic and fix some compilation errors
discard 915250b7bc upgrade Groovy version to 2.1.2
discard 67915e701f Fix typo in WithCodecHelper javadoc
discard 5b645818b4 reformat code of new files
discard 1a796b4c79 Add javadocs to new streaming encoding implementation
discard afac878b02 Add Apache 2 license to new files
discard 759304da60 GRAILS-9966 Replace previous JSONCodec and XMLCodec with
proper working versions add aliasing feature to Codecs - codec will be
registered with multiple names, for example encodeAsJs, encodeAsJavaScript,
encodeAsJSON
discard 363574da69 rename defaultCodec -> expressionCodec , pageCodec ->
outCodec
discard 8ddef2a65d Isolate more tests to make them pass.
discard 6c9be902a8 re-add "implements Cloneable" it was removed by commit
bcdf45e8a9787ed0b0537bc93f6f4e7968a5a174
https://github.com/grails/grails-core/commit/bcdf45e8a9787ed0b0537bc93f6f4e7968a5a174#L85L52
discard 4a7b201ffe Fix performance issue with GStringImpl fixes the
side-effect of refactoring made in bcdf45e8a9787ed0b0537bc93f6f4e7968a5a174
https://github.com/grails/grails-core/commit/bcdf45e8a9787ed0b0537bc93f6f4e7968a5a174#L100L524
discard 05d970bc81 Fix failing tests
discard eaf20807fb Fix NPE in compiling GSPs
discard 62cdeca621 minor refactoring in SCB
discard 5d06ae7f8a keep encoding state after calling toString or serialization
discard 98c974fa43 isolate some tests to make them pass in some cases /
environments
discard c6667f9fe7 Fix failing test
discard 4d6f4ec06c Fix bug in appending sub-buffers, add extra check for title
buffer resetting
discard c095a0abf3 fix StreamCharBufferSpec tests
discard 73393c6db9 fix WebUtilsTests
discard ebecc973f0 fix DefaultGrailsApplicationAttributesTests
discard b34dc16ca6 Fix DefaultGrailsCodecClassTests
discard 65386ec457 simplify mockCodec and fix it in GrailsUnitTestCase
discard a322d52885 Fix withCodec implementation. Use it for escaping
javascript in javascript and escapeJavascript tags
discard 395a9e2140 use @CompileStatic for taglib metaclass closures
discard 2e1dc43efc remove static encode/decode methods from HTMLCodec, fix
tests
discard e6ddb80995 make GrailsUnitTestMixin's mockCodec support new Encoder
solution
discard 314e9d635d implement streaming JavaScript encoder
discard 627d763949 add default getCodecName() impl.
discard 590e9cf5bc remove unnecessary getEquivalentCodecNames from Encoder
interfaces
discard a3a20ab8ac rename "preventAllOthers" -> "safe"
discard 7c417f8dad implement encodeAs for taglib function calls. Add support
for specifying default encodeAs attribute for tags.
discard 8ba10e1320 use templateCodec for a special case in taglib function call
discard 5015288f8e optimization to not add encoding state to output if in
connected mode and not connected to any encoded aware targets
discard 06639aee6f implement encodeAs and support passing map as argument to
configure all 3 encoders separately refactor out EncodedAppender implementation
base class implement EncodedAppender that writes to Writer add
EncodedAppenderFactory to mark a Writer that has a EncodedAppender available
discard ef28834ac1 encodeAs attribute implementation for taglibs
discard 4191e13a37 not required anymore
discard 72b992e388 change pageEncoding and defaultEncoding by default
discard b56e19c616 rename EncoderAwareWriterFactory ->
EncodedAppenderWriterFactory implement EncodedAppenderWriterFactory in
EncodedAppenderWriter (fixes re-encoding bug) remove unused EncoderAware
interface
discard cda56c464d minor cleanup fix to SCB
discard 2cb0854f0b implement withCodec('codec'){ ... } statement and
applyCodec tag
discard 9f7a7dc10b optimizations for SCB connected mode
discard d72e2f0f19 use templateOut for writing static html content
discard 60ebe353b7 Fix failing tests
discard 74b7ca70ed Fix failing tests
discard de8df8e4ae fix imports
discard d85a1a12f6 fix failing tests
discard c17a5811ca initial support for 3 different encoding writers in GSPs -
template writer - writes static html - page writer - the "out" writer in <% %>
and <%= %> scriptlets - values writer - the writer using "defaultCodec" of the
page, used in ${}
discard dab2f8376a register encodeAs/decodeAs methods directly to most
commonly used classes
discard df89de517f remove encoder setter from EncoderAware interface
discard e691fb8905 add JDK7 support to StringCharArrayAccessor
discard 74456ada07 optimize allocation in SCB's "connected mode"
discard f3a64fe95c Fix buffer allocation bug in SCB
discard 0f3084399d remove unused variable
discard 3a1990dfb5 organize imports
discard 0aa0b28030 add GroovyObject implementation to speed up Groovy calls
discard 2c70af2ae8 Fix bug in SCB buffer allocation when encoding changes -
reduces memory consumption
discard b42d69657b Fix codecOut implementation
discard ec3e9fa731 started working on codecOut
discard 0b78484f99 refactor CodecPrintWriter
discard 0a5b557451 Fix failing tests, add support for encoder in
GroovyPageTagWriter
discard 250f605d18 support encoding SCB sub-buffers in streaming mode
discard 2751981b32 Fix bug in SCB, Writable's writeTo should return the writer
passed as argument
discard a5a6a8e4a0 use EncodedAppenderWriter solely for looking up String
encoding state
discard 32f05e5dcb encoding writer / streaming implementation
discard 0f2e2e436f revise the "escaped" characters in XML/XHTML. Use  
instead of since it's also valid in xml.
discard 22edaac0ce Fix typo
discard 2ebbca6ab9 test HTML4Codec too
discard 1e4db0a552 implement streaming encoding in CodecPrintWriter
discard a3361afa4e also test HTML4 and EscapedXML encoders
discard cd39f72d80 test for streaming HTMLEncoder
discard ffde9fbfe9 use " escaping for quotes.
discard a734fdd888 Implement streamed HTML4 codec and EscapedXML codec.
discard 886aae6698 Fix NPE in SCB
discard d454b3aaea fix bug in HTMLCodec
discard 19b67b64bc fast HTML encoding
discard 625073cc3d started work on HTMLCodec's StreamingEncoder implementation
discard fb4b84e46e refactoring EncodingState->EncodingStateRegistry
discard e6f0177843 minor refactoring in SCB
discard 8bcf32110c fix NPE in tests
discard c937e10d0b add missing refactoring from previous commits
discard 84869f0f58 remove EncodingTags class
discard 12218d8a4a refactor EncodedWriter from StreamCharBuffer to grails-core
as EncodedAppender
discard 711500963e refactor HTMLCodec instantiation
discard d1e052407b move DefaultEncodingState from GrailsWebRequest to separate
file in grails-core
discard f0530146ed Implement RawCodec that prevents encoding with any other
codec
discard af5fa33723 Add initial support for RawCodec, refactor EncodingState
impl
discard 579ff2fbaa support implementing Encoder/Decoder interfaces directly
discard b02eb05b87 remove obsolete TagResolver interface
discard 73ed95c98e remove call to HTMLCodec.shouldEncode
discard 95de99aaf6 refactor to use new codec interfaces
discard 72d14e1d24 remove unused import
discard 7d50b0fac2 replace GrailsWebRequest lookup code
discard 7a5324556f fix compiler warning
discard 9ec2df2098 move Encoder interfaces to
org.codehaus.groovy.grails.support.encoding
discard 8a4086388d add more tests and prevent double encoding when SCBs are
merged
discard fa74941f82 support other than String source values for encoding
discard a73b371bfc make double-encoding prevention generic for any Codec
discard 00bcdaea62 mark encoders transient
discard 3e022a7e88 make encoding support generic
discard fa41691545 improve StringCharBuffer encoding support with
double-encoding prevention