aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src
AgeCommit message (Collapse)Author
2017-01-26[engine] remove useless isXXXEnabled() testsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780311 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] fix trailing whitespacesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780307 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] fix previous commitClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780306 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] fix toLowerCase without Locale.ROOTClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780305 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] fixed \n ocurrencesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780303 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] fix indentation in ParseException.javaClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780302 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] fixing \n ocurrences in progressClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780301 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] big slimming cure for o.a.v.util.StringUtilsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780300 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] fix slf4j params non-usageClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780296 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] remove antrun trick, always build parser, and put generated sources ↵Claude Brisson
in target/ git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780293 13f79535-47bb-0310-9956-ffa450edef68
2016-12-21[engine] minor fix for 'unescaping' prefix and Renderable renderingClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1775454 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13[engine] optimization: use an unsynchronized string writer whenever possibleClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773994 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11[engine] remove an obsolete hack from 2001 in ASTStringLiteralClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773556 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11[engine] fix comment in parserClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773555 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11[engine] fix indentationClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773554 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11[engine] review event handlingClaude Brisson
1) Add a Context argument for all events. 2) Get rid of the Executor pattern ; event handlers are directly called by the cartridge. git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773548 13f79535-47bb-0310-9956-ffa450edef68
2016-12-09[engine] output.encoding does not belong hereClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773483 13f79535-47bb-0310-9956-ffa450edef68
2016-12-09[engine] review global configuration getters/setters - do not expose ↵Claude Brisson
ExtProperties in Velocity and VelocityEngine git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773482 13f79535-47bb-0310-9956-ffa450edef68
2016-12-09[engine] remove duplicate 'UTF-8' constantClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773411 13f79535-47bb-0310-9956-ffa450edef68
2016-12-09[engine] since we drop support for the old ResourceLoader API, there's no ↵Claude Brisson
need of using the suffixed name ResourceLoader2 git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773380 13f79535-47bb-0310-9956-ffa450edef68
2016-12-09[engine] Remove shading of commons-lang3. Remove all references to ↵Claude Brisson
ExtendedProperties, and dependency towards commons-collections. git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1773379 13f79535-47bb-0310-9956-ffa450edef68
2016-12-05[engine] default encoding to UTF-8Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1772670 13f79535-47bb-0310-9956-ffa450edef68
2016-12-02[engine] be nicer with upberspectors that don't check that the base object ↵Claude Brisson
is not null git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1772379 13f79535-47bb-0310-9956-ffa450edef68
2016-11-14[engine] fix VelocimacroFactory logging initialization sequenceClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1769700 13f79535-47bb-0310-9956-ffa450edef68
2016-11-14[engine] fix wicked logClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1769699 13f79535-47bb-0310-9956-ffa450edef68
2016-11-12[engine] suppress stack trace display when we obviously don't need itClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1769415 13f79535-47bb-0310-9956-ffa450edef68
2016-11-11[engine] still logging reengClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1769338 13f79535-47bb-0310-9956-ffa450edef68
2016-11-11[engine] Review logging:Claude Brisson
- uses the base logger namespace 'org.apache.velocity' unless specified with runtime.log.name in the configuration - have the runtime instance log with this base namespace, and other modules log with children namespaces: x directive, and velocity.directive.[directivename] x parser x loader and loader.[loadername] x macro x rendering - get rid of UberspectLoggable interface - added new method RuntimeServices.getLog(childNamespace) (returns base + '.' + childNamespace, or the log instance if provided by runtime.log.instance) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1769330 13f79535-47bb-0310-9956-ffa450edef68
2016-11-09[engine] fix an introspection bug for null argument (and add corresponding ↵Claude Brisson
test case) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1769021 13f79535-47bb-0310-9956-ffa450edef68
2016-11-09[engine] fix conversion test case resultsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1768972 13f79535-47bb-0310-9956-ffa450edef68
2016-11-08[engine] fix conversions towards Number, and handle widening boxed ↵Claude Brisson
conversions as well git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1768687 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07[engine] Fix another bug in parser (newline between array or map elements)Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1768608 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07[engine] fix parser bug for VTL like:Claude Brisson
#foo()## #set($foo=$bar) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1768603 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07[cleanup] Use platform newlinesSergiu Dumitriu
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1768552 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15[engine] more versions updatingClaude Brisson
- use latest maven plugins versions - factorize junit and slf4j versions in parent pom - tests: upgrade hsqldb from 1.7.1 to 2.3.4, and fix subsequent little glitches - tests: upgraded commons-io from 2.4 to 2.5 git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1765033 13f79535-47bb-0310-9956-ffa450edef68
2016-10-11fix some minor findbug related issuesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1764226 13f79535-47bb-0310-9956-ffa450edef68
2016-10-11remove old references to Log4jLogChute and velocity-engine-log4j in config filesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1764224 13f79535-47bb-0310-9956-ffa450edef68
2016-10-081) added missing unary negate math operatorClaude Brisson
2) bugfix and AST nodes hierarchy cleaning: ASTBinaryOperator <--- ASTMathOperator <--- ASTAddNode, ASTSubstractNode, ... <--- ASTComparisonOperator <--- ASTLTNode, ASTLENode, ... <--- ASTLogicalOperator <--- ASTAndNode, ASTOrNode The ASTBinaryOperator defines the new abstract method getLiteralOperator(), which returns the string representing the operator. It is used when calculating the error message which is displayed whenever something goes wrong (since at runtime tokens are freed to reduce memory usage, arithmetic errors where sometimes throwing NPEs before this reeng) 3) test cases for 1) and 2) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1763913 13f79535-47bb-0310-9956-ffa450edef68
2016-10-02enhance Uberspector method disambiguation (+testcase)Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1763040 13f79535-47bb-0310-9956-ffa450edef68
2016-09-23[engine] bugfix when trying to get a property of a null value (introduced in ↵Claude Brisson
commit 1752548) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1762066 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12add tests for VELOCITY-783 parsing problemClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1760357 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12add a resource.manager.instance propertyClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1760348 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12fix parsing of single line comment in some up to now ignored lexer modes - ↵Claude Brisson
fixes VELOCITY-783 git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1760341 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12VelTools66TestCase is obsolete in JDK 8Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1760338 13f79535-47bb-0310-9956-ffa450edef68
2016-09-11fix a few marginal indentatino bugsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1760282 13f79535-47bb-0310-9956-ffa450edef68
2016-09-10added testcase for VELOCITY-736Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1760186 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06some more indentation bugfixes and testcasesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1759453 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06some indentation debugging, and fixes VELOCITY-678 along the wayClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1759426 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30[engine] do not wrap java.lang.Error in method invocation (fixes VELOCITY-798)Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1758467 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30[engine] Add a configurable space gobbling feature, to control indentation ↵Claude Brisson
in the generated code. Possible values for the 'space.gobbling' configuration key: - none : no space gobbling at all - bc : Velocity 1.x backward compatible space gobbling - lines (the default) : gobbles whitespaces and endline from lines containing a single VTL directive - structured (beta stage) : like 'lines', but also fixes indentation in embedded text blocks The commit also includes some lookahead optimizations and cleaning in the javacc parser code. git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1758416 13f79535-47bb-0310-9956-ffa450edef68