aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/main/java/org/apache/velocity/util
AgeCommit message (Collapse)Author
2021-02-25Merge feature/fix-some-genericsClaude Brisson
2021-02-25A lot of almost purely cosmetic code cleanupsClaude Brisson
2020-07-16disallow ClassLoader, Thread, and subclasses.Will Glass-Husain
2020-07-16whitespace fixWill Glass-Husain
2020-01-07[engine] Fix VELOCITY-924 - cache collision between an object and its classClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872422 13f79535-47bb-0310-9956-ffa450edef68
2019-12-03[core] Added implicit conversions from/to BigInteger and BigDecimalClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1870761 13f79535-47bb-0310-9956-ffa450edef68
2019-09-08[VELOCITY-916] Add a second effect for the debugging flag ↵Claude Brisson
runtime.log.track_location: display VTL stacktrace on errors git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1866609 13f79535-47bb-0310-9956-ffa450edef68
2019-05-25[core] Introspection: favor non-vararg methods on ambiguities as does the ↵Claude Brisson
Java compiler git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1859988 13f79535-47bb-0310-9956-ffa450edef68
2019-03-15[engine] Property keys deprecation logs should reside in the default ↵Claude Brisson
org.apache.velocity logging namespace git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1855591 13f79535-47bb-0310-9956-ffa450edef68
2019-03-11[engine] javadoc and indentation fixesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1855206 13f79535-47bb-0310-9956-ffa450edef68
2019-03-10[engine][VELOCITY-909] Propagate propnames changes thorough javadoc; some ↵Claude Brisson
more related code fixes git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855176 13f79535-47bb-0310-9956-ffa450edef68
2019-03-10[engine][VELOCITY-909] Rename introspector.uberspect to ↵Claude Brisson
introspector.uberspect.class git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855158 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-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] 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] 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
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-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-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-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-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
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] 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
2017-02-20[engine] ExtProperties indentationClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1783728 13f79535-47bb-0310-9956-ffa450edef68
2017-02-20[engine] several coding style fixes (Michael remarks)Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1783725 13f79535-47bb-0310-9956-ffa450edef68
2017-01-28[engine] full code review (foreach loops and some other problems detected by ↵Claude Brisson
code analysis tools) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780734 13f79535-47bb-0310-9956-ffa450edef68
2017-01-28[engine] more slimming for o.a.v.utils.StringUtilsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780721 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] use commons.lang3.Validate whenever appropriateClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780316 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] remove unused importsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780314 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26[engine] fix unnecessary use of StringBuffer instead of StringBuilderClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1780313 13f79535-47bb-0310-9956-ffa450edef68
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] 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
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-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-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-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