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
|
|
|
|
|
|
Some brittle code tests the messages of exceptions etc. in the tests which have changed in JDK11+
Tested with OpenJDK 11 and OpenJDK 15.
|
|
|
|
|
|
|
|
Velocity 931 update secure classlist
|
|
|
|
unnecesary casts'
|
|
https://travis-ci.com/apache/velocity-engine
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
parentheses
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1873088 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@1872607 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
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1871284 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
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1870761 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
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1869304 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/trunk@1866291 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@1861505 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1861499 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
|
|
+ move common plugin versions from child poms to parent one
+ remove duplicate defaultGoal
+ fix and add comments here and there
+ move fetch-grammar-file to initialize phase
+ fix maven-resources-plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1861082 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@1860478 13f79535-47bb-0310-9956-ffa450edef68
|