You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by cb...@apache.org on 2016/09/21 21:49:23 UTC
svn commit: r1761821 - in /velocity/site/production/engine/devel:
changes.html upgrading.html
Author: cbrisson
Date: Wed Sep 21 21:49:23 2016
New Revision: 1761821
URL: http://svn.apache.org/viewvc?rev=1761821&view=rev
Log:
[site] publish last two changes into production
Modified:
velocity/site/production/engine/devel/changes.html
velocity/site/production/engine/devel/upgrading.html
Modified: velocity/site/production/engine/devel/changes.html
URL: http://svn.apache.org/viewvc/velocity/site/production/engine/devel/changes.html?rev=1761821&r1=1761820&r2=1761821&view=diff
==============================================================================
--- velocity/site/production/engine/devel/changes.html (original)
+++ velocity/site/production/engine/devel/changes.html Wed Sep 21 21:49:23 2016
@@ -338,7 +338,7 @@ h2:hover > .headerlink, h3:hover > .head
<td>
<img src="images/add.png"/>
</td>
- <td> applied Jarkko memory-saving patch which frees tokens while parsing . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-841">VELOCITY-841</a>. Thanks to Jarkko Viinamäki.</td>
+ <td> Applied Jarkko memory-saving patch which frees tokens while parsing. Macros now use a call by sharing convention. . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-841">VELOCITY-841</a>. Thanks to Jarkko Viinamäki.</td>
<td>cbrisson</td>
</tr>
<tr>
Modified: velocity/site/production/engine/devel/upgrading.html
URL: http://svn.apache.org/viewvc/velocity/site/production/engine/devel/upgrading.html?rev=1761821&r1=1761820&r2=1761821&view=diff
==============================================================================
--- velocity/site/production/engine/devel/upgrading.html (original)
+++ velocity/site/production/engine/devel/upgrading.html Wed Sep 21 21:49:23 2016
@@ -253,6 +253,7 @@ space.gobbling = bc
<li>the default encoding ('ISO-8859-1' in 1.x) is now read from the standard <code>file.encoding</code> Java system property.</li>
<li>the MethodException event handler now receives an additional argument providing template name and location infos.</li>
<li>all occurences of the class org.apache.commons.collections.ExtendedProperties in the initialization API have been replaced by org.apache.velocity.util.ExtProperties.</li>
+<li>the macros are now using a 'call by sharing' convention (which means that all arguments are evaluated once at start, and that the macro receives a copy of the reference to each argument).</li>
</ul>
<h3 id="vtl-changes">VTL Changes:<a class="headerlink" href="#vtl-changes" title="Permanent link">¶</a></h3>
<ul>