This is an automated email from the ASF dual-hosted git repository.

ddekany pushed a change to branch 2.3
in repository https://gitbox.apache.org/repos/asf/freemarker.git.


    from 2070477  Merge remote-tracking branch 'origin/2.3-gae' into 2.3
     add 6ea15af  Added a new SimpleHash constructor, where the caller can 
provide the Map instance used as the backing storage, thus allows controlling 
the ordering, and other technical aspects (like the initial capacity) of the 
underlying Map.
     add ccae393  Macro catch-all parameters (aka. macro varargs), when capture 
arguments passed by name (as opposed to by position), now keep the order of 
arguments.
     add 7e6b0c0  Added new special variable, .args. This evaluates to a hash 
(in macros), or sequence (in functions) that contains all the arguments. This 
is useful for operations that act on all the arguments uniformly, like for 
example to pass the arguments to ?spread_args(...).
     new 26de3c4  Merge remote-tracking branch 'origin/2.3-gae' into 2.3

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/main/java/freemarker/core/BuiltinVariable.java |  30 ++--
 src/main/java/freemarker/core/Environment.java     |   3 +-
 src/main/java/freemarker/core/Macro.java           | 160 ++++++++++++++++-----
 src/main/java/freemarker/template/SimpleHash.java  |  22 +++
 src/main/javacc/FTL.jj                             |  13 +-
 src/manual/en_US/book.xml                          | 125 +++++++++++++++-
 .../freemarker/core/ArgsSpecialVariableTest.java   | 160 +++++++++++++++++++++
 7 files changed, 465 insertions(+), 48 deletions(-)
 create mode 100644 src/test/java/freemarker/core/ArgsSpecialVariableTest.java

Reply via email to