aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/main/java/org/apache
AgeCommit message (Collapse)Author
2019-03-10[engine][VELOCITY-909] Deprecate directive.include.output_error_start and ↵Claude Brisson
directive.include.output_error_end (if/how errors are displayed is not the concern of the engine, which should throw in all cases) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855146 13f79535-47bb-0310-9956-ffa450edef68
2019-03-06[engine] configuration key names refactoring proposalClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1854947 13f79535-47bb-0310-9956-ffa450edef68
2019-03-05[engine] Without strict mode, invalid references rendering and invalid ↵Claude Brisson
method calls should all be at the debug loglevel git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854849 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Don't mix hyphens with dashes ; use '_' for word separator in ↵Claude Brisson
corresponding property name git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854737 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Fix a few javadoc warningsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854711 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Fix VELOCITY-851Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854700 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Rendering of arrays should display their content ('[3, 4, 5]' ↵Claude Brisson
rather than '[I@15db9742') git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854697 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Invalid method calls should definitely be loggedClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854695 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Indentation fixClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854694 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Reset debug flag to falseClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854691 13f79535-47bb-0310-9956-ffa450edef68
2019-02-26[engine] Fix unary negateClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854404 13f79535-47bb-0310-9956-ffa450edef68
2019-02-26[engine] Merge branch VELOCITY-892Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854386 13f79535-47bb-0310-9956-ffa450edef68
2019-02-22[VELOCITY-892] Allow user to specity an instance of a conversion handlerClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-892@1854180 13f79535-47bb-0310-9956-ffa450edef68
2019-02-16[VELOCITY-908] Initialization failure on Windows with Turkish localeMichael Osipov
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1853730 13f79535-47bb-0310-9956-ffa450edef68
2018-12-08[engine] Static method to empty DuckType class cacheClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1848479 13f79535-47bb-0310-9956-ffa450edef68
2018-11-26[engine] Add String -> Locale in provided default explicit conversionsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1847458 13f79535-47bb-0310-9956-ffa450edef68
2018-11-01[engine] Bugfix for alternate valuesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1845457 13f79535-47bb-0310-9956-ffa450edef68
2018-10-17[VELOCITY-892] Better handling of methods disambiguisationClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-892@1844155 13f79535-47bb-0310-9956-ffa450edef68
2018-10-17[VELOCITY-892] Conversions towards types doneClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-892@1844123 13f79535-47bb-0310-9956-ffa450edef68
2018-10-17[VELOCITY-892] Handling conversions towards Type (work in progress)Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-892@1844087 13f79535-47bb-0310-9956-ffa450edef68
2018-10-15[VELOCITY-904] Added velocimacro.preserve.arguments.literals boolean flag ↵Claude Brisson
(false by default) - if true, when printing null arguments, the macros will use the provided arguments literals git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843909 13f79535-47bb-0310-9956-ffa450edef68
2018-10-15[VELOCITY-850] Better number conversion support in ExpProperties and allow ↵Claude Brisson
the initial Properties object to contain non-string values (even if putting sthing else than strings in Properties is strongly discouraged, supporting it doesn't do any harm) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843883 13f79535-47bb-0310-9956-ffa450edef68
2018-10-15[VELOCITY-903] #foreach #else #end readyClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843869 13f79535-47bb-0310-9956-ffa450edef68
2018-10-14[engine] Ensure PrintWriter is flushed in SimpleNode.dump(), and escape newlinesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843867 13f79535-47bb-0310-9956-ffa450edef68
2018-10-14[engine] Fix previous commitClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843865 13f79535-47bb-0310-9956-ffa450edef68
2018-10-14[engine] Allow SimpleNode.dump() to be called before initializationClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843864 13f79535-47bb-0310-9956-ffa450edef68
2018-10-14[VELOCITY-886] Avoid OOM in large integer loopsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843853 13f79535-47bb-0310-9956-ffa450edef68
2018-10-14[VELOCITY-855] Fix methods caching for references of type ClassClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843836 13f79535-47bb-0310-9956-ffa450edef68
2018-10-13[VELOCITY-898] Default values are functionalClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-898@1843785 13f79535-47bb-0310-9956-ffa450edef68
2018-10-08[VELOCITY-542] Added a new 'parser.allows.dash.in.identifiers' boolean ↵Claude Brisson
property (false per default) to (dis)allow '-' in reference identifiers git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843186 13f79535-47bb-0310-9956-ffa450edef68
2018-10-08[VELOCITY-896] Fix parsing of a terminal hash or dollar sign in sing ↵Claude Brisson
litteral and template (also fixes VELOCITY-897) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843128 13f79535-47bb-0310-9956-ffa450edef68
2018-10-04[VELOCITY-895] Implicit conversion to numbers in integer range, plus testcaseClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1842835 13f79535-47bb-0310-9956-ffa450edef68
2018-07-16[engine] Add ASTIdentifier.getIdentifier() getterClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1836010 13f79535-47bb-0310-9956-ffa450edef68
2018-07-16[engine] Allow debug output of the parsed tree to any PrintWriter/PrintStreamClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1836002 13f79535-47bb-0310-9956-ffa450edef68
2018-07-13some javadoc bugs incidentally fixedClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1835856 13f79535-47bb-0310-9956-ffa450edef68
2018-07-13Fix potential NPEClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1835855 13f79535-47bb-0310-9956-ffa450edef68
2017-06-27[engine] DataSourceResourceLoader: pass input encoding to the getReader() methodClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1800026 13f79535-47bb-0310-9956-ffa450edef68
2017-06-26[engine] Allow DataSourceResourceLoader getReader() customizationClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1799929 13f79535-47bb-0310-9956-ffa450edef68
2017-06-26[engine] Review DataSourceResourceLoader connection, statement and resultset ↵Claude Brisson
lifecycle git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1799917 13f79535-47bb-0310-9956-ffa450edef68
2017-06-25[engine] Review DataSourceResourceLoaderClaude Brisson
- use ResultSet.getCharacterStream() - fix test case for database genericity git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1799837 13f79535-47bb-0310-9956-ffa450edef68
2017-04-14[engine] Replace a dangling System.err output by a logger.error() callClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1791336 13f79535-47bb-0310-9956-ffa450edef68
2017-04-14[engine] Fix vararg methods disambiguationClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1791334 13f79535-47bb-0310-9956-ffa450edef68
2017-04-08[engine] Add forgotten conversion from Number to doubleClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1790688 13f79535-47bb-0310-9956-ffa450edef68
2017-04-08[engine] Debug new method disambiguationClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1790686 13f79535-47bb-0310-9956-ffa450edef68
2017-04-08[engine] Full review of method disambiguationClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1790680 13f79535-47bb-0310-9956-ffa450edef68
2017-04-08[engine] Add standard converters from Number towards specific number classesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1790678 13f79535-47bb-0310-9956-ffa450edef68
2017-02-20[engine] testcase and literals behavior for emptycheck=false; reference ↵Claude Brisson
should cache emptycheck for speed git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1783746 13f79535-47bb-0310-9956-ffa450edef68
2017-02-20[engine] literals should follow the same rulesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1783744 13f79535-47bb-0310-9956-ffa450edef68
2017-02-20[engine] implements new strategy for reference boolean evaluationClaude Brisson
1) return false for a null object 2) return its value for a Boolean object, or the result of the getAsBoolean() method if it exists. 3) If directive.if.emptycheck = false (true by default), stop here and return true. 4) check for emptiness: - return whether an array is empty. - return whether isEmpty() is false (covers String and all Collection classes). - return whether length() is zero (covers CharSequence classes other than String). - returns whether size() is zero. - return whether a Number *strictly* equals zero. 5) check for emptiness after explicit conversion methods: - return whether the result of getAsString() is empty (and false for a null result) if it exists. - return whether the result of getAsNumber() *strictly* equals zero (and false for a null result) if it exists. git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1783739 13f79535-47bb-0310-9956-ffa450edef68
2017-02-20[engine] fix compilation and tests after last commitsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1783729 13f79535-47bb-0310-9956-ffa450edef68