Commits

Author Commit Message Labels Comments Date
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-23. String concatenation not working properly in ternary statements.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-22. Null strings weren't being handled properly in mathematical expressions.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Upgraded javacc and re-ran grammar generator.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes number of bugs resulting from more ASTConst changes and how the context types are figured out.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
OgnlRuntime was incorrectly returning false for shouldConvertNumericTypes when the values were primitives - probably a result of the astconst changes.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Minor update?
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-14 && OGNL-16. OgnlRuntime.getChildSource was still using the old non "($w)" widening casting semantics provided by javassist.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-18. Array/List/etc accessors weren't properly detecting object vs primitive types when accessing their respective properties because ASTConst was still sticking the old object class type as the current context type. This involved refactoring ASTConst to correctly place the native type for numerics as well as fixing all the problems resulting from this new behavior.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-17. ...Too much to list, the summary is that ASTCtor / ASTList hadn't had the same kind of context/ refactoring love that ASTMethod/ property/ etc had ....
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Partially fixes OGNL-17 . It's only partial because someone tried to sneak in two different tickets under one.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added check in OgnlOps to throw an IllegalArgumentException if a value can't be converted to a requested type. Prevents setter expressions from silently failing when the wrong object type is used.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Minor code formatting / cleanup.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Slight code cleanup.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
ASTMethods weren't handling the case where a parameter value might be a literal "null" when handing objects off for conversion to OgnlOps.covnertValue.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
F#@$#$1! ...........Static references had bug in ASTChain with setting the special "noRoot" flag (hack) on static fields when the astchain was contained by another expression.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Ahemm......Let's try this one last time...
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
FIxes OGNL-12 as I was able to find a failure when static methods / fields are involved.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added another static reference test for OGNL-12. Wasn't able to re-produce but will keep the test anyways "just in case".
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added svn:ignores for build/target/etc..
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-9. ASTMethod wasn't handling the case where the incoming value being passed as a param was a primitive. Simplified logic by using the javassist widening conversion variable cast.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added new test case for OGNL-10, stil not able to re-produce though.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added missing jar dependencies.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Removed build dir from svn - oops..
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
-) Did a lot more work around setting up the context current/accessor type classes when dealing with property / method expressions. -) Added ability for compiling expressions against string values. -) Changed property accessor implementation to set class on current context. -) Added a lot more unit tests.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Removed write method "guessing" logic as it's not reliable enough. Added a couple more test expressions.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added more unit tests , fixed a few more bugs for various compilation issues found in application using it.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Updated pom with a temporary distribution site until something else is found.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
-) Set new version of 2.7 -) Updated pom to generate javadoc jar. -) Fixed a couple unit tests.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Optimized imports, slight tweaks on formatting / etc.
rai...@d4b077e3-5828-0410-b394-cb2b42183085
Tag r30 as 2.6.11
  1. Prev
  2. Next