aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src
AgeCommit message (Collapse)Author
2022-07-25Easier #include and #parse directives subclassing - fixes VELOCITY-959Claude Brisson
2022-07-25Make templates cloneable - fixes VELOCITY-958Claude Brisson
2022-06-18Fix a funny typoClaude Brisson
2022-06-18Merge pull request #23 from gndrm/bugfix/override-defaultEncodingClaude Brisson
add the ability to override defaultEncoding
2022-04-18Fixes VELOCITY-953 where VelocimacroProxy polutes context stack due to wrong ↵Janek.Schumann
handling of #break or exceptions
2021-06-21Update ResourceManagerImpl.javaluryson
invoke touch() to set nextCheck field, otherwise template will be refreshed every time after first expiration
2021-04-27add the ability to override defaultEncodinggndrm
2021-03-03Fix references alternate values implementation, with some more test casesClaude Brisson
2021-03-02Fixes failing tests on JDK 11+Henning Schmiedehausen
Some brittle code tests the messages of exceptions etc. in the tests which have changed in JDK11+ Tested with OpenJDK 11 and OpenJDK 15.
2021-02-27[engine] Fix VELOCITY-927Claude Brisson
2021-02-25Merge feature/fix-some-genericsClaude Brisson
2021-02-25Remove unused test methodsClaude Brisson
2021-02-25Merge pull request #16 from wglasshusain/VELOCITY-931-update-secure-classlistClaude Brisson
Velocity 931 update secure classlist
2021-02-25A lot of almost purely cosmetic code cleanupsClaude Brisson
2021-02-25Rebased what I could from PR #2 'Add generics parameters and remove ↵Claude Brisson
unnecesary casts'
2020-11-23Add .travis.yml for testing the PRs at ↵Martin Tzvetanov Grigorov
https://travis-ci.com/apache/velocity-engine
2020-08-05add further tomcat class to restricted listWill Glass-Husain
2020-07-16update list of restricted classesWill Glass-Husain
2020-07-16tests for SecureIntrospectionWill Glass-Husain
2020-07-16whitespaceWill Glass-Husain
2020-07-16disallow ClassLoader, Thread, and subclasses.Will Glass-Husain
2020-07-16whitespace fixWill Glass-Husain
2020-05-26don't leak classes via Stop.STOP_ALL stack tracePeter Gromov
this prevented garbage-collecting classloaders that accidentally happened to be in the stack trace when Stop class was first accessed
2020-01-28[engine] Review VELOCITY-926 fix:Claude Brisson
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
2020-01-24[engine][VELOCITY-925] Fix BC whitespace gobbling for macro call without ↵Claude Brisson
parentheses git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1873088 13f79535-47bb-0310-9956-ffa450edef68
2020-01-23[engine] Fix VELOCITY-926Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1873069 13f79535-47bb-0310-9956-ffa450edef68
2020-01-10[engine] Fix javadoc issues in generated parser filesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872607 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07[engine] Fix VELOCITY-924 - cache collision between an object and its classClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872422 13f79535-47bb-0310-9956-ffa450edef68
2020-01-01[engine] Fix another VELOCITY-904 regressionClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872211 13f79535-47bb-0310-9956-ffa450edef68
2019-12-28[engine] Fix VELOCITY-904 againClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872050 13f79535-47bb-0310-9956-ffa450edef68
2019-12-13[engine][VELOCITY-904] Handle nested macro calls in ↵Claude Brisson
'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
2019-12-12[engine][VELOCITY-923] Fix parser regressionClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1871284 13f79535-47bb-0310-9956-ffa450edef68
2019-12-05[core] Fix VELOCITY-904: preserve argument literal *even* if the argument ↵Claude Brisson
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
2019-12-03[core] Added implicit conversions from/to BigInteger and BigDecimalClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1870761 13f79535-47bb-0310-9956-ffa450edef68
2019-11-30[core] Use devoted File Separator control character for parser end of ↵Claude Brisson
template processing git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1870626 13f79535-47bb-0310-9956-ffa450edef68
2019-11-02[core] Easier maven solution for VelocityEngineVersion source file templatingClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1869304 13f79535-47bb-0310-9956-ffa450edef68
2019-11-01[engine] Fix versions issues and READMEClaude Brisson
- 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
2019-09-08[VELOCITY-916] Add a second effect for the debugging flag ↵Claude Brisson
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
2019-09-02[VELOCITY-919] Fix zero-width whitespace handlingClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1866291 13f79535-47bb-0310-9956-ffa450edef68
2019-08-21[engine][VELOCITY-917] Fix error messageClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1865656 13f79535-47bb-0310-9956-ffa450edef68
2019-08-21[engine][VELOCITY-917] Fix commentClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1865635 13f79535-47bb-0310-9956-ffa450edef68
2019-08-21[engine][VELOCITY-917] Remove obsolete codeClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1865634 13f79535-47bb-0310-9956-ffa450edef68
2019-06-17[engine][VELOCITY-917] RuntimeServices shouldn't directly expose configured ↵Claude Brisson
parser chars git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1861511 13f79535-47bb-0310-9956-ffa450edef68
2019-06-17[engine][VELOCITY-917] Functional parser.package propertyClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1861505 13f79535-47bb-0310-9956-ffa450edef68
2019-06-17[engine][VELOCITY-917] Rename parser.name to parser.basename for clarityClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1861499 13f79535-47bb-0310-9956-ffa450edef68
2019-06-12[engine][VELOCITY-917] Merge changes from trunkClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1861084 13f79535-47bb-0310-9956-ffa450edef68
2019-06-12Fixes following Michael's comments:Claude Brisson
+ 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
2019-06-06[engine][VELOCITY-917] Compile-time configurable parser : working StandardParserClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1860722 13f79535-47bb-0310-9956-ffa450edef68
2019-06-05[engine][VELOCITY-915] Add new backward compatibility flags to mimic 1.7 ↵Claude Brisson
behavior for invalid references event handlers git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1860691 13f79535-47bb-0310-9956-ffa450edef68
2019-06-01[engine][VELOCITY-917] Parser fixClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1860478 13f79535-47bb-0310-9956-ffa450edef68