Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ADC8B200CC6 for ; Tue, 4 Jul 2017 00:48:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AC819160C00; Mon, 3 Jul 2017 22:48:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F34D1160BEC for ; Tue, 4 Jul 2017 00:48:13 +0200 (CEST) Received: (qmail 20861 invoked by uid 500); 3 Jul 2017 22:48:13 -0000 Mailing-List: contact notifications-help@freemarker.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@freemarker.incubator.apache.org Delivered-To: mailing list notifications@freemarker.incubator.apache.org Received: (qmail 20851 invoked by uid 99); 3 Jul 2017 22:48:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2017 22:48:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A4DBCC023D for ; Mon, 3 Jul 2017 22:48:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.222 X-Spam-Level: X-Spam-Status: No, score=-4.222 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id AVS-4EDgdW1p for ; Mon, 3 Jul 2017 22:48:11 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id B0F6E5FB7F for ; Mon, 3 Jul 2017 22:48:10 +0000 (UTC) Received: (qmail 20846 invoked by uid 99); 3 Jul 2017 22:48:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2017 22:48:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7376BE3823; Mon, 3 Jul 2017 22:48:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ddekany@apache.org To: notifications@freemarker.incubator.apache.org Date: Mon, 03 Jul 2017 22:48:10 -0000 Message-Id: In-Reply-To: <80eec75bcb034aad9cc223a59d3484e4@git.apache.org> References: <80eec75bcb034aad9cc223a59d3484e4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/3] incubator-freemarker git commit: (Change log fix) archived-at: Mon, 03 Jul 2017 22:48:14 -0000 (Change log fix) Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/ac26aa32 Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/ac26aa32 Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/ac26aa32 Branch: refs/heads/3 Commit: ac26aa3246b33050354ee3ad1b91bb100598674d Parents: eca6684 Author: ddekany Authored: Tue Jul 4 00:47:35 2017 +0200 Committer: ddekany Committed: Tue Jul 4 00:47:35 2017 +0200 ---------------------------------------------------------------------- FM3-CHANGE-LOG.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/ac26aa32/FM3-CHANGE-LOG.txt ---------------------------------------------------------------------- diff --git a/FM3-CHANGE-LOG.txt b/FM3-CHANGE-LOG.txt index 6a80de0..617cb5e 100644 --- a/FM3-CHANGE-LOG.txt +++ b/FM3-CHANGE-LOG.txt @@ -181,7 +181,7 @@ the FreeMarer 3 changelog here: builders to create them. - Removed CustomAttribute class. Custom attribute keys can be anything Serializable. - As "attributes" can't be modifiable after Builder.build(), and hence didn't fit into the new system, the "attributes" setting was removed. - In place of, two new concepts were introduced, targetting two different "attributes" use-cases: + In place of that, two new concepts were introduced, targetting two different "attributes" use-cases: - Custom states: CustomStateKey class and the CustomStateScope interface was introduced, which is somewhat similar to the now removed CustomAttribute. CustomStateScope contains one method, Object getCustomState(CustomStateKey), which may calls CustomStateKey.create() to lazily create the state object for the key. Configuration, Template and Environment implements @@ -190,6 +190,8 @@ the FreeMarer 3 changelog here: in the Envronment. You can get their values with `getCustomSetting(Serializble key[, Object defaultValue])`. If no default is specified, and the custom setting is not set, a CustomSettingNotSetException is thrown. Just like standard settings, custom settings automatically inherited from higher scopes. + - In the #ftl header, the `attributes` parameter name was changed to `customSettings` + (The template converter tool takes care of this conversion.) - Added ProcessingConfiguration interface for the read-only access of template processing settings. This is similar to the already existing (in FM2) ParserConfiguration interface. - Renamed Configurable to MutableProcessingAndParserConfiguration. Made it abstract too.