commons-jexl.git
13 years agoUpdate copyright to 2009
Sebastian Bazley [Tue, 15 Sep 2009 23:01:03 +0000 (23:01 +0000)] 
Update copyright to 2009

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/trunk@815553 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd some coercion tests
Sebastian Bazley [Mon, 14 Sep 2009 15:27:13 +0000 (15:27 +0000)] 
Add some coercion tests

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/trunk@814694 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMade {Expression,Script}Factory use a specialized 'legacy' interpreter that more...
Henri Biestro [Mon, 14 Sep 2009 13:38:47 +0000 (13:38 +0000)] 
Made {Expression,Script}Factory use a specialized 'legacy' interpreter that more strictly mimicks JEXL 1.1 behavior, at least according to Jelly expectations (Jelly tests pass locally now).
Introduced undefinedVariable and invocationError methods in Interpreter.java to allow easier derivation.
Enhanced error reporting in JexlEngine#parse to go down further in stack seeking caller.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/trunk@814637 13f79535-47bb-0310-9956-ffa450edef68

13 years agoWhen arithmetic operations are performed on 'natural' types, do not narrow to Long...
Henri Biestro [Mon, 14 Sep 2009 13:28:20 +0000 (13:28 +0000)] 
When arithmetic operations are performed on 'natural' types, do not narrow to Long if either argument is BigInteger and do not narrow to Integer if either argument is a Long; updated JavaDoc accordingly

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/trunk@814634 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix tryExecute which was not using the index argument
Henri Biestro [Mon, 14 Sep 2009 13:25:05 +0000 (13:25 +0000)] 
fix tryExecute which was not using the index argument

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/trunk@814633 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRestore ExpressionFactory and ScriptFactory
Sebastian Bazley [Sat, 12 Sep 2009 14:16:13 +0000 (14:16 +0000)] 
Restore ExpressionFactory and ScriptFactory

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/trunk@814164 13f79535-47bb-0310-9956-ffa450edef68

13 years agoThe 2.0 branch is now trunk.
Rahul Akolkar [Sat, 5 Sep 2009 18:22:30 +0000 (18:22 +0000)] 
The 2.0 branch is now trunk.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/trunk@811693 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAllow multiple statements in UnifiedJEXL expressions (ala JEXL Script versus JEXL...
Henri Biestro [Thu, 3 Sep 2009 15:46:55 +0000 (15:46 +0000)] 
Allow multiple statements in UnifiedJEXL expressions (ala JEXL Script versus JEXL Expression); add test

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@811002 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAllow single line comment ## to behave like //; add test
Henri Biestro [Thu, 3 Sep 2009 15:30:53 +0000 (15:30 +0000)] 
Allow single line comment ## to behave like //; add test

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810994 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove unused code and variables
Sebastian Bazley [Thu, 3 Sep 2009 10:49:25 +0000 (10:49 +0000)] 
Remove unused code and variables
Simplify failure reporting

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810886 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUnnecessary casts
Sebastian Bazley [Thu, 3 Sep 2009 10:46:17 +0000 (10:46 +0000)] 
Unnecessary casts

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810884 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAllow single line comment // to end on EOF; add test
Henri Biestro [Thu, 3 Sep 2009 08:42:06 +0000 (08:42 +0000)] 
Allow single line comment // to end on EOF; add test

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810815 13f79535-47bb-0310-9956-ffa450edef68

13 years agoNo functional change;
Henri Biestro [Thu, 3 Sep 2009 07:49:06 +0000 (07:49 +0000)] 
No functional change;
Documented operator rules (reflect / behavior change);
Grouped protected method at beginning of file, corrected private scoped methods; ensure JexlArithmetic can be derived easily

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810798 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded integer division behavior change; added (some of the) new features
Henri Biestro [Thu, 3 Sep 2009 07:45:27 +0000 (07:45 +0000)] 
Added integer division behavior change; added (some of the) new features

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810797 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded more expressions to check; the ';' is necessary only between expressions in...
Henri Biestro [Wed, 2 Sep 2009 18:27:45 +0000 (18:27 +0000)] 
Added more expressions to check; the ';' is necessary only between expressions in a statement (not between block,if,while,for)

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810652 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix tests which failed due to change in promotion rules; small numbers are now Intege...
Sebastian Bazley [Wed, 2 Sep 2009 17:26:13 +0000 (17:26 +0000)] 
Fix tests which failed due to change in promotion rules; small numbers are now Integer, not Long

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810623 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-87:
Henri Biestro [Wed, 2 Sep 2009 14:14:58 +0000 (14:14 +0000)] 
JEXL-87:
Fix in Parser.jjt, "x + y / a + b" was throwing a ParseException
Fixed JexlArithmetic; use the same algo wrt datatype for all operations, fixed modulo for BigDecimal and made integer results to scale down to 'int' (was only to long) when possible
Fixed tests to check for 'int(eger)' instead of 'long' when needed.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810514 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-90: fix in Parser, enforce 2 expressions are separated by a semi-colon (';'...
Henri Biestro [Wed, 2 Sep 2009 10:23:03 +0000 (10:23 +0000)] 
JEXL-90: fix in Parser, enforce 2 expressions are separated by a semi-colon (';') in StatementExpression.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@810445 13f79535-47bb-0310-9956-ffa450edef68

13 years agoDocument setSilent/setDebug/setLenient/setFunctions methods as non-thread-safe (cf...
Henri Biestro [Sun, 30 Aug 2009 13:44:24 +0000 (13:44 +0000)] 
Document setSilent/setDebug/setLenient/setFunctions methods as non-thread-safe (cf JEXL-83)

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809337 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded nb-configuration.xml (Netbeans specific) to list of ignored files
Henri Biestro [Sun, 30 Aug 2009 13:36:32 +0000 (13:36 +0000)] 
Added nb-configuration.xml (Netbeans specific) to list of ignored files

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809334 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemoved suite() and main() methods from tests.
Henri Biestro [Sun, 30 Aug 2009 13:07:30 +0000 (13:07 +0000)] 
Removed suite() and main() methods from tests.
Left one main() in JexlTestCase that can run any JEXL test from its arguments.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809328 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMoved Asserter.java to test directory
Henri Biestro [Sun, 30 Aug 2009 12:49:52 +0000 (12:49 +0000)] 
Moved Asserter.java to test directory

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809326 13f79535-47bb-0310-9956-ffa450edef68

13 years agoImplementation moved to ExpressionImpl.java
Henri Biestro [Sun, 30 Aug 2009 11:34:50 +0000 (11:34 +0000)] 
Implementation moved to ExpressionImpl.java

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809317 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRefactored BitwiseOperator to use asserter.
Henri Biestro [Sun, 30 Aug 2009 11:33:19 +0000 (11:33 +0000)] 
Refactored BitwiseOperator to use asserter.
Removed main methods from tests (use JexlTestCase instead).
Added parenthesized expression tests & further Debugger checking.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809316 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMade ExpressionImpl implement both Script and Expression (will delete ScripImpl.java).
Henri Biestro [Sun, 30 Aug 2009 11:29:27 +0000 (11:29 +0000)] 
Made ExpressionImpl implement both Script and Expression (will delete ScripImpl.java).
Use ASTJexlScript as root of Expression; implies it's also used as cached object by JexlEngine cache (thus the modifications in JexlEngine and JexlTestCase)

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809315 13f79535-47bb-0310-9956-ffa450edef68

13 years agoNo functional change, just a reordering to make grammar easier to follow and maintain.
Henri Biestro [Sun, 30 Aug 2009 11:09:20 +0000 (11:09 +0000)] 
No functional change, just a reordering to make grammar easier to follow and maintain.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809312 13f79535-47bb-0310-9956-ffa450edef68

13 years agoModified tests to check the Debugger on tearDown.
Henri Biestro [Sat, 29 Aug 2009 17:33:23 +0000 (17:33 +0000)] 
Modified tests to check the Debugger on tearDown.
Main change in JexlTestCase in the form of methods that check the equality of JexlNode.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809169 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix typos.
Rahul Akolkar [Sat, 29 Aug 2009 17:17:17 +0000 (17:17 +0000)] 
Fix typos.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809163 13f79535-47bb-0310-9956-ffa450edef68

13 years ago*Parser.jjt*: modified grammar to make last statement terminator (aka ';') optional.
Henri Biestro [Sat, 29 Aug 2009 16:59:55 +0000 (16:59 +0000)] 
*Parser.jjt*: modified grammar to make last statement terminator (aka ';') optional.
This implied a change in AdditiveOperation and the introduction of AdditiveOperator to break conflicts.
*Interpreter.java*: modified according to grammar ({Add,Subtract}Node replaced by AdditiveNode.
Debugger.java: made debugger expression-AST roundtrip enabled; the Debugger can regenerate an expression from AST that when parsed, will give back an equivalent AST (fixes JEXL-86).
JexlEngine.java: modified because StatementExpression are no longer creating nodes (#void)

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809160 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadded Unicode escape sequence to String literal handling; fixed non-escapable charact...
Henri Biestro [Sat, 29 Aug 2009 08:39:04 +0000 (08:39 +0000)] 
added Unicode escape sequence to String literal handling; fixed non-escapable character handling; added $ as escapable character in UnifiedJEXL

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@809099 13f79535-47bb-0310-9956-ffa450edef68

13 years agohenrib moved from contributor to committer status
Henri Biestro [Thu, 27 Aug 2009 23:09:15 +0000 (23:09 +0000)] 
henrib moved from contributor to committer status

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@808674 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-88 MethodKey.java - name clash getMostSpecific() with Java 1.5.0
Sebastian Bazley [Fri, 21 Aug 2009 00:33:49 +0000 (00:33 +0000)] 
JEXL-88 MethodKey.java - name clash getMostSpecific() with Java 1.5.0

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@806404 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix bug in value of BIGD_DOUBLE_MIN_VALUE
Sebastian Bazley [Thu, 13 Aug 2009 13:36:56 +0000 (13:36 +0000)] 
Fix bug in value of BIGD_DOUBLE_MIN_VALUE
Javadoc corrections

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803878 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove unused commented line (same as existing line)
Sebastian Bazley [Thu, 13 Aug 2009 12:31:02 +0000 (12:31 +0000)] 
Remove unused commented line (same as existing line)
Whitespace

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803863 13f79535-47bb-0310-9956-ffa450edef68

13 years agoClearer (IMO) and consistent Javadoc.
Rahul Akolkar [Tue, 11 Aug 2009 17:42:50 +0000 (17:42 +0000)] 
Clearer (IMO) and consistent Javadoc.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803230 13f79535-47bb-0310-9956-ffa450edef68

13 years agoInitial JSR-223 documentation
Sebastian Bazley [Tue, 11 Aug 2009 13:30:45 +0000 (13:30 +0000)] 
Initial JSR-223 documentation

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803111 13f79535-47bb-0310-9956-ffa450edef68

13 years agoLink for JSR-223 docn
Sebastian Bazley [Tue, 11 Aug 2009 13:02:02 +0000 (13:02 +0000)] 
Link for JSR-223 docn

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803099 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTidy control examples
Sebastian Bazley [Tue, 11 Aug 2009 12:47:54 +0000 (12:47 +0000)] 
Tidy control examples

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803092 13f79535-47bb-0310-9956-ffa450edef68

13 years agoExamples have moved
Sebastian Bazley [Tue, 11 Aug 2009 12:40:53 +0000 (12:40 +0000)] 
Examples have moved

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803090 13f79535-47bb-0310-9956-ffa450edef68

13 years agoExamples have moved
Sebastian Bazley [Tue, 11 Aug 2009 12:08:12 +0000 (12:08 +0000)] 
Examples have moved

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803082 13f79535-47bb-0310-9956-ffa450edef68

13 years agoBasic test app for Jexl
Sebastian Bazley [Tue, 11 Aug 2009 11:51:59 +0000 (11:51 +0000)] 
Basic test app for Jexl

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803077 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJavadoc
Sebastian Bazley [Tue, 11 Aug 2009 11:49:22 +0000 (11:49 +0000)] 
Javadoc

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803076 13f79535-47bb-0310-9956-ffa450edef68

13 years agoBoxing/unboxing
Sebastian Bazley [Tue, 11 Aug 2009 11:40:08 +0000 (11:40 +0000)] 
Boxing/unboxing

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803067 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMising @Override
Sebastian Bazley [Tue, 11 Aug 2009 11:39:42 +0000 (11:39 +0000)] 
Mising @Override

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@803066 13f79535-47bb-0310-9956-ffa450edef68

13 years agoChange foreach syntax -- now aligned with enhanced for.
Rahul Akolkar [Mon, 10 Aug 2009 20:58:32 +0000 (20:58 +0000)] 
Change foreach syntax -- now aligned with enhanced for.
Add note that 1.1 syntax is deprecated.
Based on patch by Henri Biestro <hbiestro at gmail dot com>.
JEXL-82

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802926 13f79535-47bb-0310-9956-ffa450edef68

13 years agoSuppress verified warnings.
Rahul Akolkar [Sat, 8 Aug 2009 03:38:05 +0000 (03:38 +0000)] 
Suppress verified warnings.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802294 13f79535-47bb-0310-9956-ffa450edef68

13 years agoSerial version UIDs for test classes.
Rahul Akolkar [Sat, 8 Aug 2009 03:31:32 +0000 (03:31 +0000)] 
Serial version UIDs for test classes.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802293 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFour unused variables in tests -- remove three, use one.
Rahul Akolkar [Sat, 8 Aug 2009 03:29:42 +0000 (03:29 +0000)] 
Four unused variables in tests -- remove three, use one.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802292 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd serial version UIDs where missing.
Rahul Akolkar [Sat, 8 Aug 2009 03:23:21 +0000 (03:23 +0000)] 
Add serial version UIDs where missing.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802291 13f79535-47bb-0310-9956-ffa450edef68

13 years agoClass outline was really hard to read, reordering couple of methods. No functional...
Rahul Akolkar [Sat, 8 Aug 2009 03:03:14 +0000 (03:03 +0000)] 
Class outline was really hard to read, reordering couple of methods. No functional change.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802289 13f79535-47bb-0310-9956-ffa450edef68

13 years agoVarious MethodKey fixes:
Rahul Akolkar [Sat, 8 Aug 2009 02:51:46 +0000 (02:51 +0000)] 
Various MethodKey fixes:
 * Fix potential NPEs.
 * Reduce visibility of many methods
 * Use Void.class as a signature for null arguments
 * Need only one AmbiguousException
Patch by Henri Biestro <hbiestro at gmail dot com>.
JEXL-67

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802288 13f79535-47bb-0310-9956-ffa450edef68

13 years agoLenient mode should not throw exception when getting/setting an undefined property.
Rahul Akolkar [Sat, 8 Aug 2009 02:03:00 +0000 (02:03 +0000)] 
Lenient mode should not throw exception when getting/setting an undefined property.
Patch by Henri Biestro <hbiestro at gmail dot com>.
JEXL-80

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802284 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTry list executors before duck.
Rahul Akolkar [Fri, 7 Aug 2009 17:51:25 +0000 (17:51 +0000)] 
Try list executors before duck.
JEXL-81

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802105 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRename last Velocity originated classes (the prefixes are probably more confusing...
Rahul Akolkar [Fri, 7 Aug 2009 16:21:32 +0000 (16:21 +0000)] 
Rename last Velocity originated classes (the prefixes are probably more confusing at this point).
JEXL-77

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@802069 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove now unused class.
Rahul Akolkar [Fri, 7 Aug 2009 05:02:52 +0000 (05:02 +0000)] 
Remove now unused class.
JEXL-76

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801883 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTurn examples directory code into unit tests.
Rahul Akolkar [Fri, 7 Aug 2009 04:55:19 +0000 (04:55 +0000)] 
Turn examples directory code into unit tests.
Patch by Henri Biestro <hbiestro at gmail dot com>
JEXL-69

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801881 13f79535-47bb-0310-9956-ffa450edef68

13 years agoBasic application for testing using the JSR-223 scripting interface
Sebastian Bazley [Thu, 6 Aug 2009 13:26:52 +0000 (13:26 +0000)] 
Basic application for testing using the JSR-223 scripting interface

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801641 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-43 add docn for Map access
Sebastian Bazley [Thu, 6 Aug 2009 12:21:14 +0000 (12:21 +0000)] 
JEXL-43 add docn for Map access

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801620 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTest variable as map index
Sebastian Bazley [Thu, 6 Aug 2009 12:15:27 +0000 (12:15 +0000)] 
Test variable as map index

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801619 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-78 Ternary operator throws Exception when JexlEngine in strict mode
Sebastian Bazley [Thu, 6 Aug 2009 12:02:57 +0000 (12:02 +0000)] 
JEXL-78 Ternary operator throws Exception when JexlEngine in strict mode

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801617 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-75 Array literal syntax is not supported
Sebastian Bazley [Thu, 6 Aug 2009 11:43:48 +0000 (11:43 +0000)] 
JEXL-75 Array literal syntax is not supported

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801610 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-74 Maps do not handle integer keys correctly
Sebastian Bazley [Wed, 5 Aug 2009 19:28:15 +0000 (19:28 +0000)] 
JEXL-74 Maps do not handle integer keys correctly

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801374 13f79535-47bb-0310-9956-ffa450edef68

13 years agoLine width < 79.
Rahul Akolkar [Wed, 5 Aug 2009 19:14:24 +0000 (19:14 +0000)] 
Line width < 79.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801366 13f79535-47bb-0310-9956-ffa450edef68

13 years agoVarious minor improvements:
Rahul Akolkar [Wed, 5 Aug 2009 19:13:18 +0000 (19:13 +0000)] 
Various minor improvements:
 - JexlEngine is new to 2.0, don't need to mention any removals
 - Separated classes removed and methods removed sections
 - Whitespace / indentation
 - Typos (us -> use, Jexl -> JEXL)

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801365 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd @since 2.0 markers
Sebastian Bazley [Wed, 5 Aug 2009 19:13:05 +0000 (19:13 +0000)] 
Add @since 2.0 markers

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801364 13f79535-47bb-0310-9956-ffa450edef68

13 years agoCleanup and create a shell for 2.0 release notes.
Rahul Akolkar [Wed, 5 Aug 2009 19:09:20 +0000 (19:09 +0000)] 
Cleanup and create a shell for 2.0 release notes.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801363 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-73 Undefined variables not reported correctly
Sebastian Bazley [Wed, 5 Aug 2009 19:08:49 +0000 (19:08 +0000)] 
JEXL-73 Undefined variables not reported correctly

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801362 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-68 Change Asserter to use provided JexlEngine
Sebastian Bazley [Wed, 5 Aug 2009 10:00:05 +0000 (10:00 +0000)] 
JEXL-68 Change Asserter to use provided JexlEngine

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801118 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-68 (part) Rename JEXLEngine => ENGINE for consistency
Sebastian Bazley [Wed, 5 Aug 2009 09:48:57 +0000 (09:48 +0000)] 
JEXL-68 (part) Rename JEXLEngine => ENGINE for consistency

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801113 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-68 (part) Rename engine => ENGINE
Sebastian Bazley [Wed, 5 Aug 2009 09:47:37 +0000 (09:47 +0000)] 
JEXL-68 (part) Rename engine => ENGINE

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801109 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJavadoc
Sebastian Bazley [Wed, 5 Aug 2009 09:42:51 +0000 (09:42 +0000)] 
Javadoc

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801106 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-72 Remove deprecated classes and methods entirely
Sebastian Bazley [Wed, 5 Aug 2009 09:29:32 +0000 (09:29 +0000)] 
JEXL-72 Remove deprecated classes and methods entirely

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801102 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-68 Revert part of r801035 (incorrectly removed .tolong() coercions)
Sebastian Bazley [Wed, 5 Aug 2009 09:03:32 +0000 (09:03 +0000)] 
JEXL-68 Revert part of r801035 (incorrectly removed .tolong() coercions)

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801094 13f79535-47bb-0310-9956-ffa450edef68

13 years agoDelete deprecated code (part 1)
Sebastian Bazley [Wed, 5 Aug 2009 08:57:31 +0000 (08:57 +0000)] 
Delete deprecated code (part 1)

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801090 13f79535-47bb-0310-9956-ffa450edef68

13 years agoType safety fixes and explicit boxing
Sebastian Bazley [Wed, 5 Aug 2009 00:11:00 +0000 (00:11 +0000)] 
Type safety fixes and explicit boxing

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801037 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRename local JEXL variable to avoid potential confusion with parent JEXL var
Sebastian Bazley [Wed, 5 Aug 2009 00:09:57 +0000 (00:09 +0000)] 
Rename local JEXL variable to avoid potential confusion with parent JEXL var
Type fixes

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801036 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMake boxing explicit (use Integer.valueOf() for numbers that are likely to be small)
Sebastian Bazley [Wed, 5 Aug 2009 00:08:11 +0000 (00:08 +0000)] 
Make boxing explicit (use Integer.valueOf() for numbers that are likely to be small)
Remove Long=>long conversions where the return value is Long anyway!

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@801035 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-68 Remove usage of deprecated classes in tests
Sebastian Bazley [Tue, 4 Aug 2009 15:29:32 +0000 (15:29 +0000)] 
JEXL-68 Remove usage of deprecated classes in tests

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800842 13f79535-47bb-0310-9956-ffa450edef68

13 years agoStop using deprecated ExpressionFactory
Sebastian Bazley [Tue, 4 Aug 2009 15:00:38 +0000 (15:00 +0000)] 
Stop using deprecated ExpressionFactory

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800831 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMissing @Override
Sebastian Bazley [Tue, 4 Aug 2009 14:12:52 +0000 (14:12 +0000)] 
Missing @Override

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800810 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTidy some Eclipse warnings
Sebastian Bazley [Tue, 4 Aug 2009 14:12:15 +0000 (14:12 +0000)] 
Tidy some Eclipse warnings

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800809 13f79535-47bb-0310-9956-ffa450edef68

13 years agoForgot method Javadoc
Sebastian Bazley [Mon, 3 Aug 2009 22:24:56 +0000 (22:24 +0000)] 
Forgot method Javadoc

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800596 13f79535-47bb-0310-9956-ffa450edef68

13 years agoGive scripts access to a logger
Sebastian Bazley [Mon, 3 Aug 2009 16:10:25 +0000 (16:10 +0000)] 
Give scripts access to a logger

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800447 13f79535-47bb-0310-9956-ffa450edef68

13 years agoDocument deprecation
Sebastian Bazley [Mon, 3 Aug 2009 15:55:09 +0000 (15:55 +0000)] 
Document deprecation

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800437 13f79535-47bb-0310-9956-ffa450edef68

13 years agoType-safety fix
Sebastian Bazley [Mon, 3 Aug 2009 15:29:33 +0000 (15:29 +0000)] 
Type-safety fix

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800425 13f79535-47bb-0310-9956-ffa450edef68

13 years agoDefault constructor was unusable because this(null) is not allowed.
Sebastian Bazley [Mon, 3 Aug 2009 13:22:01 +0000 (13:22 +0000)] 
Default constructor was unusable because this(null) is not allowed.
Just use default factory; simplifies getFactory() too.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800361 13f79535-47bb-0310-9956-ffa450edef68

13 years agoOops - don't use == to compare Strings!
Sebastian Bazley [Mon, 3 Aug 2009 13:10:56 +0000 (13:10 +0000)] 
Oops - don't use == to compare Strings!

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800348 13f79535-47bb-0310-9956-ffa450edef68

13 years agoStop checkstyle complaining
Sebastian Bazley [Sun, 2 Aug 2009 22:11:35 +0000 (22:11 +0000)] 
Stop checkstyle complaining

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800149 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix bad syntax in reference.
Rahul Akolkar [Sun, 2 Aug 2009 21:58:04 +0000 (21:58 +0000)] 
Fix bad syntax in reference.
Reorder section on identifiers to read more easily (IMO).

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800148 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove old artifacts for the checkstyle plugin that are out of sync and no longer...
Rahul Akolkar [Sun, 2 Aug 2009 20:52:38 +0000 (20:52 +0000)] 
Remove old artifacts for the checkstyle plugin that are out of sync and no longer in use.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800146 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMove to standard m2 directory layout:
Rahul Akolkar [Sun, 2 Aug 2009 20:49:34 +0000 (20:49 +0000)] 
Move to standard m2 directory layout:
 - src/assembly to src/main/assembly
 - src/conf to src/main/config
Additionally, moved src/test-scripts to src/test/scripts.
Related changes to POM and tests.

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800145 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove redundant null checks
Sebastian Bazley [Sun, 2 Aug 2009 13:40:35 +0000 (13:40 +0000)] 
Remove redundant null checks

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800073 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove Autoboxing
Sebastian Bazley [Sun, 2 Aug 2009 13:26:34 +0000 (13:26 +0000)] 
Remove Autoboxing

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800071 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUnnecessary cast; @Override
Sebastian Bazley [Sun, 2 Aug 2009 13:23:25 +0000 (13:23 +0000)] 
Unnecessary cast; @Override

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800069 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJavadoc fixes; add @Override tags
Sebastian Bazley [Sun, 2 Aug 2009 13:22:56 +0000 (13:22 +0000)] 
Javadoc fixes; add @Override tags

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800068 13f79535-47bb-0310-9956-ffa450edef68

13 years agoType safety
Sebastian Bazley [Sun, 2 Aug 2009 13:22:11 +0000 (13:22 +0000)] 
Type safety

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800067 13f79535-47bb-0310-9956-ffa450edef68

13 years agoType safety
Sebastian Bazley [Sun, 2 Aug 2009 13:21:48 +0000 (13:21 +0000)] 
Type safety

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800066 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemove unnecessary casts and null checks
Sebastian Bazley [Sun, 2 Aug 2009 13:20:35 +0000 (13:20 +0000)] 
Remove unnecessary casts and null checks

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800065 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUnused variable
Sebastian Bazley [Sun, 2 Aug 2009 13:19:47 +0000 (13:19 +0000)] 
Unused variable

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800064 13f79535-47bb-0310-9956-ffa450edef68

13 years agoJEXL-60 - fix header
Sebastian Bazley [Sun, 2 Aug 2009 12:54:35 +0000 (12:54 +0000)] 
JEXL-60 - fix header

git-svn-id: https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@800058 13f79535-47bb-0310-9956-ffa450edef68