This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a change to branch FREEMARKER-35
in repository https://gitbox.apache.org/repos/asf/freemarker.git.
from 888dece Merge pull request #65 from Jaaap/FREEMARKER-35
add f5fda46 JavaDoc: Some clarifications for variable getters/setters
add e816f81 Setting Configuration.incompatibleImprovements to the object
returned by Configuration.getVersion() will now be logged as an error, but for
backward compatibility it will still work. The typical bad pattern is this: new
Configuration(Configuration.getVersion()). Doing that defeats the purpose of
incompatibleImprovements, and makes upgrading FreeMarker a potentially breaking
change. Furthermore, doing this probably won't be allowed starting from 2.4.0,
and will throw exception.
add 6eba023 (Typo in source code comment)
add 79fbd31 (Manual: Minor fixes in the TemplateConfiguration section)
add 6ab0150 Updated version to 2.3.30.
add d2fef8e Manual: Added release date
add cfeb8c9 Added missing license header to test data file
add 2252bcc (Removed accidental extra space from AST test)
add 53a810e Build: dist task didn't fail if JUnit tests were failing. Now
it will (though now Ant console output is less useful, most runs tests from IDE
anyway).
add 196d28d (Trivial fixes/additions in version history)
add 0bf1ec9 Missing fail()-s in a test
add d393376 Updated release date in Manual.
add b907946 Manual: Improved user uploaded template security FAQ entry
add 6beb29c (Manual: Typo...)
new aa7e565 Merge branch '2.3-gae' into FREEMARKER-35
new e3e3185 Switched to Java 8 as minimum requirement. It's not feasible
to support Java 8 time API otherwise, since it's statically referred from
TemplateTemporalModel.
The 2 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:
README.md | 7 +-
build.properties.sample | 1 -
build.xml | 50 +++--------
osgi.bnd | 8 +-
src/main/java/freemarker/core/Environment.java | 65 ++++++++------
src/main/java/freemarker/core/_Java8Impl.java | 42 ---------
src/main/java/freemarker/core/_JavaVersions.java | 79 -----------------
.../ext/beans/BeansWrapperConfiguration.java | 7 ++
.../freemarker/ext/beans/ClassIntrospector.java | 9 +-
.../java/freemarker/template/Configuration.java | 17 +++-
.../DefaultObjectWrapperConfiguration.java | 3 +
.../java/freemarker/template/_TemplateAPI.java | 22 ++++-
src/main/resources/freemarker/version.properties | 8 +-
src/manual/en_US/book.xml | 99 ++++++++++++++++------
.../freemarker/ext/beans/BeansWrapperMiscTest.java | 2 -
src/test/java/freemarker/manual/ExamplesTest.java | 3 +-
.../freemarker/template/ConfigurationTest.java | 2 +
src/test/resources/freemarker/core/ast-lambda.ast | 18 ++++
.../overloaded-methods-2-bwici-2.3.20.ftl | 2 +-
19 files changed, 210 insertions(+), 234 deletions(-)
delete mode 100644 src/main/java/freemarker/core/_Java8Impl.java
delete mode 100644 src/main/java/freemarker/core/_JavaVersions.java