You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2022/12/28 20:48:35 UTC
[freemarker] 01/02: Manual: Adjusted version history, and some typo
This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch 2.3-gae
in repository https://gitbox.apache.org/repos/asf/freemarker.git
commit dc592821b5e897234ee8fe51d0f1cfd27ced004f
Author: ddekany <dd...@apache.org>
AuthorDate: Wed Dec 28 21:45:40 2022 +0100
Manual: Adjusted version history, and some typo
---
src/manual/en_US/book.xml | 32 ++++++++++++++++++++------------
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml
index 8faa1a74..ed9ea259 100644
--- a/src/manual/en_US/book.xml
+++ b/src/manual/en_US/book.xml
@@ -6058,7 +6058,7 @@ To prove that "s" didn't contain the value in escaped form:
if the value you print is missing/<literal>null</literal>. The
convenient shortcut for that is using the <literal>cn</literal>
built-in (the <quote>n</quote> stands for Nullable), as in
- <literal>${<replaceable>someValue</replaceable>?cn}</literal>. It's
+ <literal>${<replaceable>someValue</replaceable>?cn}</literal>. It
behaves like the <literal>c</literal> built-in, except that if
<literal><replaceable>someValue</replaceable></literal> evaluates to
<literal>null</literal>/missing, it outputs the
@@ -30191,17 +30191,11 @@ TemplateModel x = env.getVariable("x"); // get variable x</programlisting>
<itemizedlist>
<listitem>
- <para><link
- xlink:href="https://issues.apache.org/jira/browse/FREEMARKER-198">FREEMARKER-198</link>:
- Fixed possible deadlock when the
- <literal>Configuration</literal> and
- <literal>DefaultObjectWrapper</literal> class
- <emphasis>static</emphasis> initialization is triggered in
- different threads around the same time. (In the very unlikely
- case your application can run into this, this will hang the code
- that initializes FreeMarker before it has processed any
- templates, and it can't happen anymore if any template
- processing managed to start.)</para>
+ <para>Added <literal>Configurable.setCFormat(CFormat)</literal>,
+ with the usual accompanying setting API methods/constants. See
+ the <literal>c_format</literal>-, and the
+ <literal>?c</literal>-related changes earlier in the FTL
+ section.</para>
</listitem>
<listitem>
@@ -30217,6 +30211,20 @@ TemplateModel x = env.getVariable("x"); // get variable x</programlisting>
mode.</para>
</listitem>
+ <listitem>
+ <para><link
+ xlink:href="https://issues.apache.org/jira/browse/FREEMARKER-198">FREEMARKER-198</link>:
+ Fixed possible deadlock when the
+ <literal>Configuration</literal> and
+ <literal>DefaultObjectWrapper</literal> class
+ <emphasis>static</emphasis> initialization is triggered in
+ different threads around the same time. (In the very unlikely
+ case your application can run into this, this will hang the code
+ that initializes FreeMarker before it has processed any
+ templates, and it can't happen anymore if any template
+ processing managed to start.)</para>
+ </listitem>
+
<listitem>
<para><link
xlink:href="https://issues.apache.org/jira/browse/FREEMARKER-190">FREEMARKER-190</link>: