freemarker.git
4 days agoImproved FAQ about allowing users to upload templates 2.3-gae
ddekany [Fri, 18 Jan 2019 10:18:04 +0000 (11:18 +0100)] 
Improved FAQ about allowing users to upload templates

4 days agoTemplateModelWithAPISupport is not experimental anymore.
ddekany [Fri, 18 Jan 2019 10:17:11 +0000 (11:17 +0100)] 
TemplateModelWithAPISupport is not experimental anymore.

4 days ago(Typo fix)
ddekany [Fri, 18 Jan 2019 08:53:27 +0000 (09:53 +0100)] 
(Typo fix)

6 days agoAdded ?truncate built-ins and related setting
ddekany [Wed, 16 Jan 2019 19:22:36 +0000 (20:22 +0100)] 
Added ?truncate built-ins and related setting

4 weeks agoAdded getOptNumberMethodArg utility method (non-public) to BuiltIn.
ddekany [Wed, 19 Dec 2018 20:36:37 +0000 (21:36 +0100)] 
Added getOptNumberMethodArg utility method (non-public) to BuiltIn.

4 weeks agoHTMLOutputFormat, XMLOutputFormat, XHTMLOutputFormat aren't final classes anymore...
ddekany [Wed, 19 Dec 2018 17:52:05 +0000 (18:52 +0100)] 
HTMLOutputFormat, XMLOutputFormat, XHTMLOutputFormat aren't final classes anymore, furthermore XHTMLOutputFormat now extends XMLOutputFormat. Same applies to the respective TemplateOutputModel-s (TemplateHTMLOutputModel is not final anymore, etc.). This allows defining new custom markup output format classes that will work with program logic that's only prepared for the standard markup output formats, because instanceof SomeStandardOutputFromat  will return true for them.

4 weeks ago(Internal JavaDoc addition)
ddekany [Wed, 19 Dec 2018 10:33:51 +0000 (11:33 +0100)] 
(Internal JavaDoc addition)

4 weeks agoBetter toString() for the commonly used TemplateMarkupOutputModel-s.
ddekany [Wed, 19 Dec 2018 10:16:36 +0000 (11:16 +0100)] 
Better toString() for the commonly used TemplateMarkupOutputModel-s.

4 weeks ago(Typo fix in non-public member name)
ddekany [Wed, 19 Dec 2018 10:14:33 +0000 (11:14 +0100)] 
(Typo fix in non-public member name)

4 weeks agoWhen configuring FreeMarker with string values (like with a .properties file), in...
ddekany [Wed, 19 Dec 2018 09:54:05 +0000 (10:54 +0100)] 
When configuring FreeMarker with string values (like with a .properties file), in the settings that support the object builder syntax, now you can create a TemplateMarkupOutputModel value with the new markup function, like markup(HTMLOutputFormat(), "<p>Example</p>").

4 weeks ago(Git ignore addition)
ddekany [Wed, 19 Dec 2018 09:35:33 +0000 (10:35 +0100)] 
(Git ignore addition)

8 weeks ago(Typo in Manual)
ddekany [Tue, 27 Nov 2018 19:50:25 +0000 (20:50 +0100)] 
(Typo in Manual)

8 weeks ago(Git ignore addition)
ddekany [Tue, 27 Nov 2018 19:49:43 +0000 (20:49 +0100)] 
(Git ignore addition)

8 weeks agoFREEMARKER-109: In JSP TLD-s, line breaks inside a function parameter lists have...
ddekany [Tue, 27 Nov 2018 19:38:25 +0000 (20:38 +0100)] 
FREEMARKER-109: In JSP TLD-s, line breaks inside a function parameter lists have caused IllegalArgumentException Invalid function signature.

3 months agoIntelliJ IDE setting improvements
ddekany [Sun, 21 Oct 2018 17:44:15 +0000 (19:44 +0200)] 
IntelliJ IDE setting improvements

3 months agoBetter JavaDoc for getLastModified
ddekany [Thu, 18 Oct 2018 19:19:03 +0000 (21:19 +0200)] 
Better JavaDoc for getLastModified

3 months agoFREEMARKER-104: In log and error messages due to no XPath implementation available...
ddekany [Wed, 26 Sep 2018 22:16:03 +0000 (00:16 +0200)] 
FREEMARKER-104: In log and error messages due to no XPath implementation available, recommend adding Apache Xalan or Jaxen as dependency.

3 months agoMinor code cleanup in ext.dom
ddekany [Wed, 26 Sep 2018 21:44:13 +0000 (23:44 +0200)] 
Minor code cleanup in ext.dom

3 months ago(Improved IntelliJ IDE setup instructions)
ddekany [Wed, 26 Sep 2018 21:37:54 +0000 (23:37 +0200)] 
(Improved IntelliJ IDE setup instructions)

4 months agoAdded IntelliJ IDE setup instructions
ddekany [Sat, 22 Sep 2018 22:42:41 +0000 (00:42 +0200)] 
Added IntelliJ IDE setup instructions

4 months ago(Removed .java file from src/test/resources, merged it into the similar test in src...
ddekany [Sat, 22 Sep 2018 17:39:53 +0000 (19:39 +0200)] 
(Removed .java file from src/test/resources, merged it into the similar test in src/test/java)

4 months agoAvoid logging NullPointerException when no XPath implementation was found.
ddekany [Thu, 20 Sep 2018 20:01:41 +0000 (22:01 +0200)] 
Avoid logging NullPointerException when no XPath implementation was found.

4 months ago(Fixed oversight in recent setSharedVaribles commit)
ddekany [Thu, 20 Sep 2018 20:00:46 +0000 (22:00 +0200)] 
(Fixed oversight in recent setSharedVaribles commit)

4 months ago(Minor code cleanup)
ddekany [Wed, 12 Sep 2018 07:51:11 +0000 (09:51 +0200)] 
(Minor code cleanup)

4 months agoFixed a typo in an old Configuration method name
ddekany [Wed, 12 Sep 2018 06:47:59 +0000 (08:47 +0200)] 
Fixed a typo in an old Configuration method name

4 months ago(More JavaDoc and some cleanup for wrapAsHashUnion)
ddekany [Wed, 12 Sep 2018 06:09:33 +0000 (08:09 +0200)] 
(More JavaDoc and some cleanup for wrapAsHashUnion)

4 months ago(Compilation error that's not an error for Eclipse)
ddekany [Tue, 11 Sep 2018 22:23:05 +0000 (00:23 +0200)] 
(Compilation error that's not an error for Eclipse)

4 months ago(Fixed some wrong @since versions)
ddekany [Tue, 11 Sep 2018 22:06:18 +0000 (00:06 +0200)] 
(Fixed some wrong @since versions)

4 months agoAdded TemplateModelUtils.wrapAsHashUnion(ObjectWrapper, List<?>) and wrapAsHashUnion...
ddekany [Tue, 11 Sep 2018 22:03:04 +0000 (00:03 +0200)] 
Added TemplateModelUtils.wrapAsHashUnion(ObjectWrapper, List<?>) and wrapAsHashUnion(ObjectWrapper, Object...), which meant to be used when you want to compose a data-model from multiple objects in a way so that their entries (Map key-value pairs, bean properties, etc.) appear together on the top level of the data-model.

4 months ago(Some comment typos and minor code cleanup)
ddekany [Tue, 11 Sep 2018 22:02:11 +0000 (00:02 +0200)] 
(Some comment typos and minor code cleanup)

4 months ago(Small JavaDoc addition)
ddekany [Thu, 6 Sep 2018 06:27:10 +0000 (08:27 +0200)] 
(Small JavaDoc addition)

4 months agoMerge commit 'refs/pull/49/head' of https://github.com/apache/freemarker into 2.3-gae
ddekany [Thu, 6 Sep 2018 06:25:10 +0000 (08:25 +0200)] 
Merge commit 'refs/pull/49/head' of https://github.com/apache/freemarker into 2.3-gae

4 months agoFix typo in package description 49/head
Nina Tyni [Tue, 4 Sep 2018 14:42:21 +0000 (17:42 +0300)] 
Fix typo in package description

4 months agoRevert "Added dummy methods to the test MockServletContext class up to Servlet 3...
ddekany [Thu, 23 Aug 2018 22:18:53 +0000 (00:18 +0200)] 
Revert "Added dummy methods to the test MockServletContext class up to Servlet 3.1, so that the suite can be ran on later Jetty versions."

This reverts commit 2c3d9aea5798bec309eb727d0e97cb91238188f3.

5 months agoAdded dummy methods to the test MockServletContext class up to Servlet 3.1, so that...
ddekany [Thu, 23 Aug 2018 11:08:44 +0000 (13:08 +0200)] 
Added dummy methods to the test MockServletContext class up to Servlet 3.1, so that the suite can be ran on later Jetty versions.

5 months agoAdded test that logs the Java and OS details
ddekany [Thu, 23 Aug 2018 11:07:32 +0000 (13:07 +0200)] 
Added test that logs the Java and OS details

5 months ago(JavaDoc addition)
ddekany [Thu, 2 Aug 2018 18:07:17 +0000 (20:07 +0200)] 
(JavaDoc addition)

6 months agoMerge commit 'refs/pull/48/head' of https://github.com/apache/freemarker into 2.3-gae
ddekany [Thu, 12 Jul 2018 19:14:19 +0000 (21:14 +0200)] 
Merge commit 'refs/pull/48/head' of https://github.com/apache/freemarker into 2.3-gae

6 months agoChange typo "valeu" to "value" 48/head
Yanming Zhou [Thu, 12 Jul 2018 00:43:00 +0000 (08:43 +0800)] 
Change typo "valeu" to "value"

7 months agoMerge commit 'refs/pull/46/head' of https://github.com/apache/freemarker into 2.3-gae
ddekany [Sun, 10 Jun 2018 16:48:28 +0000 (18:48 +0200)] 
Merge commit 'refs/pull/46/head' of https://github.com/apache/freemarker into 2.3-gae

7 months agoType: changed newDesciptionBuilder to newDescriptionBuilder 46/head
Chaquotay [Sun, 10 Jun 2018 15:39:31 +0000 (17:39 +0200)] 
Type: changed newDesciptionBuilder to newDescriptionBuilder

8 months agoAdded EU Cookie Consent bar to the online Manual
ddekany [Tue, 22 May 2018 18:41:19 +0000 (20:41 +0200)] 
Added EU Cookie Consent bar to the online Manual

9 months ago(Manual and JavaDoc typos and small improvements)
ddekany [Wed, 11 Apr 2018 18:42:59 +0000 (20:42 +0200)] 
(Manual and JavaDoc typos and small improvements)

9 months agoUpdated 2.3.28 release date
ddekany [Thu, 5 Apr 2018 08:10:53 +0000 (10:10 +0200)] 
Updated 2.3.28 release date

9 months agoDon't produce MD5 checksum for releases anymore, only SHA-512 (see http://apache...
ddekany [Wed, 4 Apr 2018 09:29:46 +0000 (11:29 +0200)] 
Don't produce MD5 checksum for releases anymore, only SHA-512 (see apache.org/dev/release-distribution.html#sigs-and-sums)

9 months agoIncremented version number
ddekany [Wed, 4 Apr 2018 09:25:07 +0000 (11:25 +0200)] 
Incremented version number

9 months agoMissing copyright header v2.3.28-gae
ddekany [Fri, 30 Mar 2018 21:03:10 +0000 (23:03 +0200)] 
Missing copyright header

9 months agoManual: Minor version history fixes
ddekany [Fri, 30 Mar 2018 20:45:42 +0000 (22:45 +0200)] 
Manual: Minor version history fixes

9 months agoReverting most aesthetic renamings in FTL.jj, as those methods are public, and so...
ddekany [Fri, 30 Mar 2018 20:11:00 +0000 (22:11 +0200)] 
Reverting most aesthetic renamings in FTL.jj, as those methods are public, and so in theory could be invoked by users.

9 months agoUpdated version to 2.3.28
ddekany [Fri, 30 Mar 2018 19:21:19 +0000 (21:21 +0200)] 
Updated version to 2.3.28

9 months agoEven more incubation related parts are removed/update
ddekany [Fri, 30 Mar 2018 18:02:51 +0000 (20:02 +0200)] 
Even more incubation related parts are removed/update

9 months agoDon't include rat-excludes in the binary release
ddekany [Fri, 30 Mar 2018 18:02:04 +0000 (20:02 +0200)] 
Don't include rat-excludes in the binary release

9 months agoCowardly added back notes on the binaries (images and an ODS) to the LICENSE of the...
ddekany [Fri, 30 Mar 2018 17:51:48 +0000 (19:51 +0200)] 
Cowardly added back notes on the binaries (images and an ODS) to the LICENSE of the source... Though most other projects don't do this, this is how it passed earlier releases.

9 months ago(Copyright year increase)
ddekany [Fri, 30 Mar 2018 17:47:25 +0000 (19:47 +0200)] 
(Copyright year increase)

9 months agoRemoved unreachable error condition
ddekany [Fri, 30 Mar 2018 15:02:29 +0000 (17:02 +0200)] 
Removed unreachable error condition

9 months agoManual: Added missing custom formats "since" note.
ddekany [Fri, 30 Mar 2018 08:48:56 +0000 (10:48 +0200)] 
Manual: Added missing custom formats "since" note.

9 months agoUpdated addresses in generated POM to the non-incubating ones
ddekany [Thu, 29 Mar 2018 23:48:08 +0000 (01:48 +0200)] 
Updated addresses in generated POM to the non-incubating ones

9 months agoRemoved incubation disclaimers from the distro and source
ddekany [Tue, 27 Mar 2018 22:15:24 +0000 (00:15 +0200)] 
Removed incubation disclaimers from the distro and source

9 months agoRemoved "incubating" from version.
ddekany [Tue, 27 Mar 2018 22:05:40 +0000 (00:05 +0200)] 
Removed "incubating" from version.

9 months agoManual: Further clarified note about custom TemplateLoader.findTemplateSource incorre...
ddekany [Tue, 27 Mar 2018 22:00:39 +0000 (00:00 +0200)] 
Manual: Further clarified note about custom TemplateLoader.findTemplateSource incorrectly throwing IOException at a missing template

9 months agoJavaDoc: Added notes to prevent confusion between square bracket tag syntax and inter...
ddekany [Tue, 27 Mar 2018 21:57:21 +0000 (23:57 +0200)] 
JavaDoc: Added notes to prevent confusion between square bracket tag syntax and interpolation syntax.

9 months agoJavaDoc: Clarified that TemplateLoader.getReader must not return null. Only findTempl...
ddekany [Tue, 27 Mar 2018 15:31:45 +0000 (17:31 +0200)] 
JavaDoc: Clarified that TemplateLoader.getReader must not return null. Only findTemplateSource should on missing template.

9 months agoManual: Added note to help out in the cases where a custom TemplateLoader incorrectly...
ddekany [Tue, 27 Mar 2018 08:17:33 +0000 (10:17 +0200)] 
Manual: Added note to help out in the cases where a custom TemplateLoader incorrectly throws IOException at a missing template, instead of returning null.

9 months ago(Adjusted get_optional_template error message yet again.)
ddekany [Tue, 27 Mar 2018 08:16:02 +0000 (10:16 +0200)] 
(Adjusted get_optional_template error message yet again.)

9 months ago(Minor code cleanup)
ddekany [Mon, 26 Mar 2018 20:38:24 +0000 (22:38 +0200)] 
(Minor code cleanup)

9 months agoAdded a missing cause exception in .get_optional_template
ddekany [Mon, 26 Mar 2018 19:36:24 +0000 (21:36 +0200)] 
Added a missing cause exception in .get_optional_template

10 months agoManual: More clear description of the square bracket syntaxes.
ddekany [Sat, 24 Mar 2018 14:42:51 +0000 (15:42 +0100)] 
Manual: More clear description of the square bracket syntaxes.

10 months agoAdditional [=...] test.
ddekany [Sat, 24 Mar 2018 08:50:21 +0000 (09:50 +0100)] 
Additional [=...] test.

10 months ago(Less confusing method name in a parser error message test.)
ddekany [Sat, 24 Mar 2018 08:50:04 +0000 (09:50 +0100)] 
(Less confusing method name in a parser error message test.)

10 months agoAdded a new Configuration.removeTemplateFromCache overload that has a Object customLo...
ddekany [Tue, 20 Mar 2018 19:08:35 +0000 (20:08 +0100)] 
Added a new Configuration.removeTemplateFromCache overload that has a Object customLookupCondition parameter. This is useful to manually evacuate a template from the cache that was get via a non-null custom lookup condition.

10 months agoWhen specifying the output_format configuration settings with String-String key-value...
ddekany [Tue, 20 Mar 2018 18:53:03 +0000 (19:53 +0100)] 
When specifying the output_format configuration settings with String-String key-value pairs (like with Configuration.setSetting(String, String) or in a .properties file), it's now possible to specify the standard output formats by name rather than by class name  (like output_format=HTML). (Custom formats still has to be referred by class name, as FreeMarker can't discover what their names are, since it's not aware of the custom classes.)

10 months agoBug fixed: When string?split(separator) is called with "" as the argument, the string...
ddekany [Tue, 20 Mar 2018 17:57:52 +0000 (18:57 +0100)] 
Bug fixed: When string?split(separator) is called with "" as the argument, the string will be split to characters now. Earlier it has thrown an IllegalArgumentException (unless the r flag was specified).

10 months agoBetter error message when <#assign x++> and such fails because x doesn't exist in...
ddekany [Tue, 20 Mar 2018 17:55:31 +0000 (18:55 +0100)] 
Better error message when <#assign x++> and such fails because x doesn't exist in the same scope as the target scope.

10 months agoUpdated JSP-FreeMarker comparison in FAQ
ddekany [Tue, 20 Mar 2018 07:11:58 +0000 (08:11 +0100)] 
Updated JSP-FreeMarker comparison in FAQ

10 months ago(Minor internal renaming in FTL.jj)
ddekany [Mon, 19 Mar 2018 22:37:45 +0000 (23:37 +0100)] 
(Minor internal renaming in FTL.jj)

10 months agoCleaned up more lexer/parser logic related to the handling of tag-closer delimiters...
ddekany [Mon, 19 Mar 2018 21:19:37 +0000 (22:19 +0100)] 
Cleaned up more lexer/parser logic related to the handling of tag-closer delimiters ('>' and ']'). This has yielded the following two change log entries (and some improvements in error message quality, but that's hardly noticeable):

1. When the incompatible_improvements setting is set to 2.3.28 (or greater), fixed legacy parser glitch where a tag can be closed with an illegal ] (when it's not part of an expression) despite that the tag syntax is set to angle brackets. For example <#if x] worked just like <#if x>. Note that it doesn't affect the legal usage of ], like <#if x[0]> works correctly without this fix as well.
2. Fixed parser bug that disallowed using > at the top-level inside an interpolation (${...}). It had the same reason why <#if  x > y> doesn't work as naively expected, but there's no real ambiguity in ${x > y}, so now it's allowed. Note that ${(x > y)?c} and ${(x > y)?string('y', 'n')}, which are how booleans are commonly printed, have always worked, as the > operation is not on the top-level inside the interpolation.

10 months ago(Some more cleanup in FTL.jj... as far as BC allows us)
ddekany [Sun, 18 Mar 2018 23:24:15 +0000 (00:24 +0100)] 
(Some more cleanup in FTL.jj... as far as BC allows us)

10 months agoCleanup related to [=...], also some missing functionality added.
ddekany [Sun, 18 Mar 2018 17:37:23 +0000 (18:37 +0100)] 
Cleanup related to [=...], also some missing functionality added.

10 months agoIn string literals, \= is now a valid escape sequence, resulting in a =. This is...
ddekany [Fri, 16 Mar 2018 22:58:29 +0000 (23:58 +0100)] 
In string literals, \= is now a valid escape sequence, resulting in a =. This is useful when you are using the new [=exp] interpolation syntax, which can be escaped in a string literal like "Literal [\=x]".

(Also improved [=...] related documentation and test a bit.)

10 months agoAdded some more interpolation_syntax tests
ddekany [Fri, 16 Mar 2018 17:48:51 +0000 (18:48 +0100)] 
Added some more interpolation_syntax tests

10 months agoChanged Configuration.xxx_INTERPOLATION_SYNTAX int values so that they don't overlap...
ddekany [Fri, 16 Mar 2018 17:46:11 +0000 (18:46 +0100)] 
Changed Configuration.xxx_INTERPOLATION_SYNTAX int values so that they don't overlap with ..._TAG_SYNTAX values. Also, added test case to ConfigurationTest for tag_syntax, fixing incorrect error message along the way.

10 months agoAdded new ParserConfiguration setting, interpolation_syntax. It has 3 possible values:
ddekany [Thu, 15 Mar 2018 23:36:31 +0000 (00:36 +0100)] 
Added new ParserConfiguration setting, interpolation_syntax. It has 3 possible values:

- legacy (the default): Interpolations look like ${...} or #{...}. Note that #{...} is deprecated for a long time now.
- dollar: Interpolations look like ${...}. With this syntax, #{...} will be just static text.
- square_bracket: Interpolations look like [=...]. With this syntax ${...} and #{...} will be just static text. So it's useful if you generate output in a format where those (typically ${...}) are already used, such as to generate JSP pages, or to generate FreeMarker templates that use the default syntax.

10 months agoManual: Noting some common pitfalls when using extended Java decimal format
ddekany [Tue, 13 Mar 2018 08:48:39 +0000 (09:48 +0100)] 
Manual: Noting some common pitfalls when using extended Java decimal format

10 months agoFixed incorrect listing of valid roundingMode-s in extended Java decimal format parsi...
ddekany [Tue, 13 Mar 2018 08:41:35 +0000 (09:41 +0100)] 
Fixed incorrect listing of valid roundingMode-s in extended Java decimal format parsing error message

10 months agoMade it more clear that using Configuration.getVersion() for the value of the incompa...
ddekany [Tue, 13 Mar 2018 07:11:25 +0000 (08:11 +0100)] 
Made it more clear that using Configuration.getVersion() for the value of the incompatibleImprovements setting is bad idea.

10 months agoVersion history additions
ddekany [Mon, 12 Mar 2018 07:04:59 +0000 (08:04 +0100)] 
Version history additions

10 months agoFREEMARKER-86: Added new built-ins: sequence?min and sequence?max (FREEMARKER-86...
ddekany [Mon, 12 Mar 2018 06:02:51 +0000 (07:02 +0100)] 
FREEMARKER-86: Added new built-ins: sequence?min and sequence?max (FREEMARKER-86), which return the smallest and greatest item from a list of numbers or date/time/date-times.

10 months ago(JavaDoc typo)
ddekany [Mon, 12 Mar 2018 05:38:29 +0000 (06:38 +0100)] 
(JavaDoc typo)

10 months agoThe default arithmetic engine (ArithmeticEngine.BIGDECIMAL_ENGINE) can now compare...
ddekany [Sun, 11 Mar 2018 21:23:08 +0000 (22:23 +0100)] 
The default arithmetic engine (ArithmeticEngine.BIGDECIMAL_ENGINE) can now compare infinite (both positive and negative) to any other standard type. Earlier, since BigDecimal can't represent infinite, it was only working in certain special cases. Also did some performance optimizations to slightly decrease the impact and number of conversions to BigDecimal.

10 months ago(Fixed misplaced anchor in Manual)
ddekany [Sat, 10 Mar 2018 20:31:45 +0000 (21:31 +0100)] 
(Fixed misplaced anchor in Manual)

10 months agoAdded ?absoulte_template_name. Necessary additions to the Environment and TemplateNam...
ddekany [Sat, 10 Mar 2018 19:56:45 +0000 (20:56 +0100)] 
Added ?absoulte_template_name. Necessary additions to the Environment and TemplateNameFormat. Some Manual cleanups related to `.caller_template_name`.

10 months agoRenamed macro_caller_template_name to caller_template_name, as now it also works...
ddekany [Sat, 10 Mar 2018 07:20:08 +0000 (08:20 +0100)] 
Renamed macro_caller_template_name to caller_template_name, as now it also works for #function. Updated and cleaned up related tests.

10 months agoFREEMARKER-83: Handle nicely when the callPlace is null
ddekany [Fri, 9 Mar 2018 22:01:57 +0000 (23:01 +0100)] 
FREEMARKER-83: Handle nicely when the callPlace is null

10 months agoFREEMARKER-83: Modified how .macro_caller_template_name works... now it has no surpri...
ddekany [Fri, 9 Mar 2018 21:38:35 +0000 (22:38 +0100)] 
FREEMARKER-83: Modified how .macro_caller_template_name works... now it has no surprising restrictions, and is simpler.

10 months agoFREEMARKER-83: Added new special variable, macro_caller_template_name, which returns...
ddekany [Fri, 9 Mar 2018 21:06:45 +0000 (22:06 +0100)] 
FREEMARKER-83: Added new special variable, macro_caller_template_name, which returns the name (path) of the template from which the current macro was called. It's mostly useful if you want to resolve paths relative to the caller template.

10 months agoAdded DirectiveCallPlace.getTemplate(); we aren't concerned about its BC impact anymo...
ddekany [Fri, 9 Mar 2018 19:32:49 +0000 (20:32 +0100)] 
Added DirectiveCallPlace.getTemplate(); we aren't concerned about its BC impact anymore, as FM3 breaks BC anyway.

10 months ago(Javadoc improvement)
ddekany [Tue, 6 Mar 2018 21:17:23 +0000 (22:17 +0100)] 
(Javadoc improvement)

10 months agoBug fixed (FREEMARKER-83); this fix is only active when incomplatible_improvements...
ddekany [Tue, 6 Mar 2018 15:37:30 +0000 (16:37 +0100)] 
Bug fixed (FREEMARKER-83); this fix is only active when incomplatible_improvements is set to 2.3.28 (or higher). When calling a macro or function (things defined in a template, not directly in Java) and the argument list contains .current_template_name, now it will correctly evaluate to the template that contains the call, rather than to the template that contains the macro or function definition. (Of course, the parameter default value expression is still evaluated in the context of the called macro or function.)

10 months agoManual: Some improvements in the description of settings
ddekany [Mon, 5 Mar 2018 17:25:04 +0000 (18:25 +0100)] 
Manual: Some improvements in the description of settings

10 months agoget_optional_template message typos and test improvements
ddekany [Fri, 2 Mar 2018 12:03:30 +0000 (13:03 +0100)] 
get_optional_template message typos and test improvements