Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
add the ability to override defaultEncoding
|
|
handling of #break or exceptions
|
|
invoke touch() to set nextCheck field, otherwise template will be refreshed every time after first expiration
|
|
|
|
|
|
|
|
unnecesary casts'
|
|
this prevented garbage-collecting classloaders that accidentally happened to be in the stack trace when Stop class was first accessed
|
|
deprecate velocimacro.arguments.preserve_literals in favor of the new velocimacro.enable_bc_mode flag,
which mimics 1.7 velocimacro behavior:
- preserve arguments literals:
#macro(m $arg) $arg #end
m($null)
will displays $arg w/o bc mode and $null with bc mode
- use global defaults for missing arguments:
#macro(m $foo) $foo #end
#set($foo='foo')
#m()
will display $foo w/o bc mode and 'foo' with bc mode
The following use cases have been left aside from backward compatibility:
- preserving local macro scope values
#macro(test) #set($foo = 'foo') $some_tool.change_foo_value_in_global_context_to_bar() $foo #end
#test()
will always display 'bar', while 1.7 displayed 'foo'
- setting a null argument to null, while argument name exists in context,
#macro(setnull $foo) #set($foo = $null) #end
#set($foo='foo')
#setnull($null)
$foo
Will always display 'foo' (w or w/o bc mode), while 1.7 did display $foo
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1873244 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1873069 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872422 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872211 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872050 13f79535-47bb-0310-9956-ffa450edef68
|
|
'velocimacro.arguments.preserve_literals' backward compatibility mode
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1871332 13f79535-47bb-0310-9956-ffa450edef68
|
|
passed to the macro is not null (for .B.C)
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1870882 13f79535-47bb-0310-9956-ffa450edef68
|
|
template processing
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1870626 13f79535-47bb-0310-9956-ffa450edef68
|
|
- fix engine and dependency versions in README and mention the parser customization feature in building section
- nicify README links
- upgrade surfire plugin version from 2.19.1 to 2.22.1
- upgrade maven-jar-plugin from 3.1.1 to 3.2.2
- add version 1.2 for extra-enforcer-rules
- upgrade maven-javadoc-plugin from 3.1.0 to 3.1.1
- upgrade findbugs-maven-plugin from 3.0.4 to 3.0.5
- add a new static class org.apache.velocity.runtime.VelocityEngineVersion.java
(see changes in velocity-engine-core/pom.xml)
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1869271 13f79535-47bb-0310-9956-ffa450edef68
|
|
runtime.log.track_location: display VTL stacktrace on errors
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1866609 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1865656 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1865635 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1865634 13f79535-47bb-0310-9956-ffa450edef68
|
|
parser chars
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1861511 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1861084 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1860722 13f79535-47bb-0310-9956-ffa450edef68
|
|
behavior for invalid references event handlers
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1860691 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1860476 13f79535-47bb-0310-9956-ffa450edef68
|
|
the ParserTokenManager interface
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1860475 13f79535-47bb-0310-9956-ffa450edef68
|
|
code using target chars
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1860461 13f79535-47bb-0310-9956-ffa450edef68
|
|
Java compiler
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1859988 13f79535-47bb-0310-9956-ffa450edef68
|
|
by default
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1858687 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1855594 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1855592 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1855206 13f79535-47bb-0310-9956-ffa450edef68
|
|
more related code fixes
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855176 13f79535-47bb-0310-9956-ffa450edef68
|
|
runtime.conversion.handler.class, and not 2.1 property runtime.conversion.handler.instance
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855159 13f79535-47bb-0310-9956-ffa450edef68
|
|
introspector.uberspect.class
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855158 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855152 13f79535-47bb-0310-9956-ffa450edef68
|
|
introduced in 2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855148 13f79535-47bb-0310-9956-ffa450edef68
|
|
directive.include.output_error_end (if/how errors are displayed is not the concern of the engine, which should throw in all cases)
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855146 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1854947 13f79535-47bb-0310-9956-ffa450edef68
|
|
method calls should all be at the debug loglevel
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854849 13f79535-47bb-0310-9956-ffa450edef68
|
|
corresponding property name
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854737 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854711 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854700 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854695 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854404 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854386 13f79535-47bb-0310-9956-ffa450edef68
|