Commits

Author Commit Message Labels Comments Date
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-112. OgnlRuntime was incorrectly returning reader methods for simple property getters with parameters when non parameter methods with the same name should have been preferred in the method finding loop.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Slightly better exception reporting for methods that can't be found.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-110. Numeric literals were being added to non literal expressions. (such as property getters)
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Removed MVEL dependency...grr
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-108. ASTInstanceof wasn't setting the context type before returning.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-106. Wasn't checking for null in ASTMethod.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-105. Indexed object method calls attempting to use reflection (by calling methods using the name of a return property expression) were failing.. Added smarter logic to ObjectPropertyAccessor to try getting the read method using the context current object value if the passed in string index method couldn't be found.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-103. OgnlRuntime.getReadMethod wasn't checking for is/has - causing common boolean getters to sometimes return the wrong getter.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-104. ComparisonExpression base class was checking specifically for Number.class instances when figuring out when to do conversions but this isn't necessary as that specific kind of comparison conversion is done already in the NumericExpression base class.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added support for enum constant expressions to help fix OGNL-106 but can't be sure if it's fixed or not because of insufficient data.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added in MVEL comparisons in performance tests.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-97. Was doing the old root class casting logic on root expressions when it seems to be unneccessary now that everything is properly being populated in the context accessor/type class value stack.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-98. ASTRemainder was using the old method of source getting before the recent NumericExpression refactor was done.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes unicode bug in OgnlOps.escapeString() iso control handling.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-96. Object equality.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added new property arithmetic test since so many issues have been cropping up with non constant arithmetic expressions. Fixed bug with substraction + generic object class type interface .
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added snapshot/core distro URLS so that ibiblio bundle could be deployed separately from snapshot releases.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Made asttest set propery return type on context when it is known.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-94. Incorrect widening expressions on ASTTest when expression types are already compatible.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-92. ASTStaticMethod wasn't evaluating its own body during getSourceString() so subsequent chained expression parts weren't able to properly reflect on their members.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-93. ExpressionCompiler.castExpression wasn't checking for ASTStaticMethod expression types.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Implemented ability to register a special class cache listener class to OgnlRuntime which makes it possible to prevent reflection caching of specific class types.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-91. God that bug sucked ass.... Finally did numeric coercion refactoring whether I liked it or not.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
The sign of the beast! Exactly 666 unit tests now. I must be the expression anti-christ.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-89. ASTCtor was calling ExpressionCompiler.getRootExpression() on child expression of ASTRootVarRef - which was also doing the same exact thing on itself.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Cleaning up source / javadocs / etc in preparation for release. Tried unsuccessfully to get docbook running happily.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-86. NumericExpression superclass was incorrectly using _currentChain context values stored during chained subexpressions for non ASTMethod children.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-85. Error with type conversion in constructor calls. Finally refactored ASTCtor to really dig through the available constructors and more thoroughly convert parameter types when possible.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-84, OGNL-83. Precasting statements were being stolen by ASTMethod for inner children incorrectly. ASTProperty also wasn't setting the correct current type on previously indexed methods.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes TAPESTRY-1419. Needed to add () around widening expressions in ASTList.
  1. Prev
  2. Next