From 2880a3c02ddc0b4aa8990c04d2580ea9db0d2acf Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Thu, 26 Jan 2017 01:57:00 +0000 Subject: [engine] fix trailing whitespaces git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780307 13f79535-47bb-0310-9956-ffa450edef68 --- src/changes/changes.xml | 94 ++++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) (limited to 'src/changes') diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 3e62635c..b9a394a3 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -42,7 +42,7 @@ Default encoding is now UTF-8. - + Make Velocity use the base logger namespace 'org.apache.velocity' unless specified with runtime.log.name in the configuration, and have the runtime instance log with this base namespace, and other modules log with children namespaces: Get rid of UberspectLoggable interface. - + Added unary negate math operator - + Add a configurable space gobbling feature, to control indentation in the generated code.
@@ -87,115 +87,115 @@ support $array.empty, as for $list.empty - + avoid useless string calculation in ASTStringLiteral - + nicified AST tree debug output - + fix parsing of $obj._method() - + loading default properties should not prepend '/' and should use classloader to get resource stream - + Allow conversion of method args from String to Enum constant - + Applied performance patch for MapGetExecutor: it's faster to directly use object instance rather than to inspect all public interfaces - + The new configuration property context.autoreference.key, if present, allows to specify the name of the reference under which the context is accessible in itself - + MethodExceptionEventHandler now provide template location infos - + Attach macros to their defining template. Also fixes VELOCITY-776. Thanks to Simon Kitching for the multithreading testcase. - + have #foreach honnor the Closeable interface on the iterator - + Don't leave 'initializing' to true if a problem occurs during initialization. - + Remove dependency upon commons-collections-3 (except at compile-time for deprecated methods and classes which are needed for backward compatibility), use our own ExtProperties object. - + Add a first implementation for the JSR 223 standard scripting interface. - + Fix Template default encoding initialization problem. - + The ResourceLoader API now provides a Reader rather than an InputStream. Also fixes VELOCITY-599. - + InvalidReferenceHandler events should not be triggered by quiet references, null values, or by references testing inside #if / #elseif. Thanks to Renato Steiner for his testcase. - + Take advantage of the major version jump to enforce String keys in internal Context API - + Fix regression: #set<tab>left-paren no longer valid grammar Patch from Mike Kienenberger applied + added test - + switch to slf4j logging facade - + fix parser for '$map{key}' text rendering (StackOverflow 32805217) - + Vulnerability in dependency: commons-collections: 3.2.1 - + Exception displayed when trying to loop over an Iterable private class - + #foreach should work over any Iterable class - + Catch exceptions raised during chainable uberspector initialization - + Hypen is no more allowed in variable names - + Method arguments can now be expressions @@ -259,16 +259,16 @@ Add ability to specify default values for macro parameters, e.g.; #macro(foo bar=1)
- + Add ability to place line comments next to macro parameter definitions. - + Block directives no longer require parenthesis so #@foo #end is now allowed. Also, brackets now work with Block Macros so #{@foo}bar#end works. - + Removed all deprecations (Anakia, Texen, VelocityServlet, etc.) @@ -413,7 +413,7 @@ the exception and render nothing then the reference can be preceeded with '$!' as in $!foo. - + The non default VelocityEngine construtors now do not initialize the runtime system so that properties may be set after construction. Also fixes an @@ -429,7 +429,7 @@ slash before a reference or macro always escapes the reference or macro and absorbs the forward slash regardless if the reference or macro is defined. - + Fix StringIndexOutOfBoundsException caused by #[[##x]]# (line comment on same line as end of textblock). @@ -442,7 +442,7 @@ Minor performance tweaks based on Findbugs findings - + Pre 1.6 behavior of specifying #macro without parenthesis would throw a VelocityException has been restored. @@ -467,20 +467,20 @@ Also addresses a performance bottleneck detected in the old implementation. #stop is a general use directive now, and not just for debugging. - + Reduce performance bottleneck with the referenceInsert event handler call - + Better error reporting when toString() throw an exception when testing an #if conditional. For example #if($foo) - + Added bracketed index syntax, $foo[0], or #set($foo[0] = 1) - + Removed java.lang.Exception from throws clause of Velocity and VelocityEngine API. Also removed IOException so that all @@ -557,7 +557,7 @@ Pre 1.6 behavior of specifying #macro without parenthesis would throw a VelocityException has been restored. - + Better error reporting when toString() throw an exception when testing an #if conditional. For example #if($foo) @@ -571,7 +571,7 @@ Throw an exception in strict mode when >=, <=, < or > comparisons can't be made. - + Fix $velocityHasNext so it is not always true. @@ -758,7 +758,7 @@ - Prevent exception due to simultaneous rendering of macros. + Prevent exception due to simultaneous rendering of macros. @@ -770,7 +770,7 @@ - Prevent NPE when template is parsed simultaneously by multiple users. (may apply only to macros). + Prevent NPE when template is parsed simultaneously by multiple users. (may apply only to macros). @@ -825,7 +825,7 @@ Deprecate integrated texen and anakia, factor it out into separate jars. - + Added new directive #evaluate() to dynamically evaluate VTL. @@ -844,7 +844,7 @@ - + @@ -889,7 +889,7 @@ - Add an additional pair of Executors that are smart about Map. + Add an additional pair of Executors that are smart about Map. @@ -897,7 +897,7 @@ - Change the meaning of localscope for macros to allow access to references from + Change the meaning of localscope for macros to allow access to references from calling context. -- cgit v1.2.3