commons-jexl.git
6 years agoAdded the GitHub documentation
Emmanuel Bourg [Tue, 8 Dec 2015 13:59:56 +0000 (13:59 +0000)] 
Added the GitHub documentation

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

6 years agoRefreshed the issue tracking and mailing list pages
Emmanuel Bourg [Tue, 8 Dec 2015 13:59:23 +0000 (13:59 +0000)] 
Refreshed the issue tracking and mailing list pages

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

6 years agoAdd travis configuration
Emmanuel Bourg [Tue, 8 Dec 2015 13:51:45 +0000 (13:51 +0000)] 
Add travis configuration

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

6 years agoDisplay links to the old javadoc
Emmanuel Bourg [Tue, 8 Dec 2015 13:44:45 +0000 (13:44 +0000)] 
Display links to the old javadoc

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

6 years agoBranding
Emmanuel Bourg [Tue, 8 Dec 2015 13:43:00 +0000 (13:43 +0000)] 
Branding

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

6 years agoUpdate copyright to 2015
Emmanuel Bourg [Tue, 8 Dec 2015 13:31:14 +0000 (13:31 +0000)] 
Update copyright to 2015

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

6 years agoDon't include the jexl-compat directory in the source tarball (removed in r1211429)
Emmanuel Bourg [Tue, 8 Dec 2015 13:30:44 +0000 (13:30 +0000)] 
Don't include the jexl-compat directory in the source tarball (removed in r1211429)

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

6 years agoDowngrade the findbugs plugin (3.0.0) to work around an encoding issue with the lates...
Emmanuel Bourg [Tue, 8 Dec 2015 13:26:58 +0000 (13:26 +0000)] 
Downgrade the findbugs plugin (3.0.0) to work around an encoding issue with the latest release

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

6 years agoRemoved the license header from the release notes
Emmanuel Bourg [Tue, 8 Dec 2015 13:26:01 +0000 (13:26 +0000)] 
Removed the license header from the release notes

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

6 years agoUpdated the findbugs plugin (3.0.3) to fix a build failure with Java 8
Emmanuel Bourg [Tue, 8 Dec 2015 13:02:50 +0000 (13:02 +0000)] 
Updated the findbugs plugin (3.0.3) to fix a build failure with Java 8

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

6 years agoFixed the javadoc errors with Java 8
Emmanuel Bourg [Tue, 8 Dec 2015 12:27:25 +0000 (12:27 +0000)] 
Fixed the javadoc errors with Java 8

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

6 years agoJEXL:
Henri Biestro [Tue, 8 Dec 2015 10:53:27 +0000 (10:53 +0000)] 
JEXL:
Added tests based on latest questions;
Prepared an updated download page

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

6 years agoUpdated the build instructions
Emmanuel Bourg [Tue, 8 Dec 2015 09:20:55 +0000 (09:20 +0000)] 
Updated the build instructions

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

6 years agoUpdated commons-parent from 38 to 39
Emmanuel Bourg [Tue, 8 Dec 2015 09:13:37 +0000 (09:13 +0000)] 
Updated commons-parent from 38 to 39

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

6 years agoMissing release
Sebastian Bazley [Thu, 26 Nov 2015 15:22:40 +0000 (15:22 +0000)] 
Missing release

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

6 years agoJEXL:
Henri Biestro [Wed, 18 Nov 2015 11:11:30 +0000 (11:11 +0000)] 
JEXL:
Solving JEXL-180

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

6 years agoJEXL:
Henri Biestro [Wed, 18 Nov 2015 11:06:23 +0000 (11:06 +0000)] 
JEXL:
Added curry method on scripts

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

7 years agoJEXL:
Henri Biestro [Mon, 14 Sep 2015 10:41:18 +0000 (10:41 +0000)] 
JEXL:
Use derived interpreter instead of wrapping context in Jxlt engine so operator/method overloads (user defined) can be called

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

7 years agoJEXL:
Henri Biestro [Thu, 3 Sep 2015 17:05:22 +0000 (17:05 +0000)] 
JEXL:
Better location information, tracks tokens from source;
Cleaned method/function resolution;
More tests (coverage up);
Various nitpicks on Javadoc;

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

7 years agoJEXL:
Henri Biestro [Thu, 27 Aug 2015 20:10:39 +0000 (20:10 +0000)] 
JEXL:
Fix for tryInvoke that could fail on some cases (overload + cache + switching argument types);
Other modifications and tests for JEXL-17{1,3,4,7,8};
Update to doc (package.html,syntax.xml,changes.xml)

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

7 years agoJEXL:
Henri Biestro [Thu, 27 Aug 2015 20:06:53 +0000 (20:06 +0000)] 
JEXL:
Fix JEXL-171: revisited resolution strategies, use operator to resolve, allow custom resolver implementation and usage
Fix JEXL-174: related to above, arithmetic can define method to overload operator resolution (array{G,S}et, property{G,S}et
Fix JEXL-173: objects exposing a 'call' method can be used as function calls (ie foo(x) will perform foo.call(x))

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

7 years agoJEXL:
Henri Biestro [Thu, 27 Aug 2015 20:00:20 +0000 (20:00 +0000)] 
JEXL:
Refactored template code into multiple files

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

7 years agoJEXL:
Henri Biestro [Thu, 27 Aug 2015 19:58:15 +0000 (19:58 +0000)] 
JEXL:
Implemented JEXL-177; multiline formats use backquote (`) as delimiter and interpolate ${...} expressions;

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

7 years agoJEXL:
Henri Biestro [Thu, 27 Aug 2015 19:57:16 +0000 (19:57 +0000)] 
JEXL:
Implemented JEXL-177; multiline formats use backquote (`) as delimiter and interpolate ${...} expressions

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

7 years agoJEXL:
Henri Biestro [Wed, 5 Aug 2015 13:05:48 +0000 (13:05 +0000)] 
JEXL:
Added hashCode/equals to Script/Closure

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

7 years agoJEXL:
Henri Biestro [Sat, 1 Aug 2015 14:51:49 +0000 (14:51 +0000)] 
JEXL:
JEXL-171: added JexlUberspect.ResolverStrategy

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

7 years agoJEXL:
Henri Biestro [Fri, 31 Jul 2015 14:11:28 +0000 (14:11 +0000)] 
JEXL:
JEXL-171: added a JexlUberspect.getStrategy(...) method

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

7 years agoJEXL:
Henri Biestro [Thu, 30 Jul 2015 17:04:25 +0000 (17:04 +0000)] 
JEXL:
JEXL-171: made property executors discovery customizable, use different strategies when solving '.' (POJO) and '[]' (Map); added specific tests; nitpicks here and there

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

7 years agoJEXL:
Henri Biestro [Thu, 30 Jul 2015 16:57:48 +0000 (16:57 +0000)] 
JEXL:
JEXL-171: made property executors discovery customizable, use different strategies when solving '.' (POJO) and '[]' (Map); added specific tests; nitpicks here and there

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

7 years agoJEXL:
Henri Biestro [Mon, 27 Jul 2015 10:02:49 +0000 (10:02 +0000)] 
JEXL:
JEXL-170: implemented assignment operators.

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

7 years agoJEXL:
Henri Biestro [Sat, 25 Jul 2015 16:05:49 +0000 (16:05 +0000)] 
JEXL:
JEXL-168: JexlArithmetic.add(...) updated so that if the arguments are 2 strings or the arithmetic is strict and one of them is a string, add performs a string concatenation.
JEXL-169: JexlArithmetic.isFloatingPointNumber(...)  now checks much more precisely whether a string is amenable to float coercion.

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

7 years agoJEXL:
Henri Biestro [Fri, 24 Jul 2015 06:16:45 +0000 (06:16 +0000)] 
JEXL:
Fix JEXL-167: use BigDecimal.toBigInteger(...) to coerce big decimal to big integer

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

7 years agoJEXL:
Henri Biestro [Thu, 23 Jul 2015 15:32:39 +0000 (15:32 +0000)] 
JEXL:
Commit bundle for JEXL-166 , JEXL-165, JEXL-79 and partially JEXL-151;
Also made startsWith, endsWith and contains/matches overloadable operators

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

7 years agoJEXL:
Henri Biestro [Sat, 18 Jul 2015 09:16:39 +0000 (09:16 +0000)] 
JEXL:
JEXL-160 fix, updated doc

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

7 years agoJEXL:
Henri Biestro [Sat, 18 Jul 2015 09:13:13 +0000 (09:13 +0000)] 
JEXL:
JEXL-160 fix, updated doc

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

7 years agoJEXL:
Henri Biestro [Fri, 17 Jul 2015 10:18:20 +0000 (10:18 +0000)] 
JEXL:
JEXL-164 fix, added getMin/getMax methods, added tests, updated changes.xml

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

7 years agoJEXL:
Henri Biestro [Sun, 12 Jul 2015 20:46:13 +0000 (20:46 +0000)] 
JEXL:
JEXL-163 fix, check for double 0.0d instead of long 0L for numbers, updated parser to do a better job at parsing doubles, added test, updated changes.xml

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

7 years agoJEXL:
Henri Biestro [Sat, 11 Jul 2015 20:41:09 +0000 (20:41 +0000)] 
JEXL:
JEXL-162 fixed, specific exception for operator error, behavior as lenient as 2.x, added test, clarified doc and updated changes

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

7 years agoJEXL-157 Replace File.pathSeparator with File.separator
Sebastian Bazley [Tue, 30 Jun 2015 10:05:10 +0000 (10:05 +0000)] 
JEXL-157 Replace File.pathSeparator with File.separator
Alternate fix - use File(parent,child) ctor

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

7 years agoCP37 => CP38
Sebastian Bazley [Tue, 30 Jun 2015 09:53:30 +0000 (09:53 +0000)] 
CP37 => CP38

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

7 years agoJEXL:
Henri Biestro [Fri, 26 Jun 2015 11:25:12 +0000 (11:25 +0000)] 
JEXL:
Fixing JEXL-158, using EN locale based format when stringifying a big decimal

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

7 years agoJEXL:
Henri Biestro [Fri, 26 Jun 2015 10:23:51 +0000 (10:23 +0000)] 
JEXL:
Added test on ranges;
Issues updated

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

7 years agoJEXL:
Henri Biestro [Fri, 26 Jun 2015 10:06:24 +0000 (10:06 +0000)] 
JEXL:
Fixing JEXL-157

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

7 years agoJEXL:
Henri Biestro [Thu, 11 Jun 2015 11:41:43 +0000 (11:41 +0000)] 
JEXL:
Added method to get template parameters

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

7 years agoMoved some issues related tests to existing feature test classes;
Henri Biestro [Wed, 10 Jun 2015 16:30:16 +0000 (16:30 +0000)] 
Moved some issues related tests to existing feature test classes;
Refactored tests using annotations;
Fixed edge case where identifier starts with zeroes (must not be considered as integers);

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

7 years agoJEXL:
Henri Biestro [Mon, 1 Jun 2015 08:23:12 +0000 (08:23 +0000)] 
JEXL:
Javadoc

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

7 years agoJEXL:
Henri Biestro [Mon, 1 Jun 2015 08:22:48 +0000 (08:22 +0000)] 
JEXL:
Pragmas handling was lacking clean-up

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

7 years agoChanged too many version strings
Sebastian Bazley [Fri, 8 May 2015 14:25:23 +0000 (14:25 +0000)] 
Changed too many version strings

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

7 years agoEach Version must be in its own release section
Sebastian Bazley [Fri, 8 May 2015 14:16:28 +0000 (14:16 +0000)] 
Each Version must be in its own release section

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

7 years agoJEXL:
Henri Biestro [Mon, 16 Mar 2015 16:42:20 +0000 (16:42 +0000)] 
JEXL:
Implementing JEXL-149; allow set construction (ala JSP EL 3.0)

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

7 years agoJEXL:
Henri Biestro [Mon, 16 Mar 2015 15:17:22 +0000 (15:17 +0000)] 
JEXL:
Implementing JEXL-152; ranges can be long or integer and implement contains(...) method

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

7 years agoJEXL:
Henri Biestro [Mon, 16 Mar 2015 15:13:58 +0000 (15:13 +0000)] 
JEXL:
Implementing JEXL-152; ranges can be long or integer and implement contains(...) method

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

7 years agoJEXL:
Henri Biestro [Tue, 10 Mar 2015 16:11:09 +0000 (16:11 +0000)] 
JEXL:
Commenting out previous version javadoc links

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

7 years agoJEXL:
Henri Biestro [Tue, 10 Mar 2015 16:10:37 +0000 (16:10 +0000)] 
JEXL:
Cleaning changes.xml

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

7 years agoJEXL:
Henri Biestro [Tue, 10 Mar 2015 16:08:05 +0000 (16:08 +0000)] 
JEXL:
Adding profile.cobertura to ease coverage report generation

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

7 years agoJEXL:
Henri Biestro [Tue, 10 Mar 2015 16:05:50 +0000 (16:05 +0000)] 
JEXL:
Tidy the POM

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

7 years agoJEXL:
Henri Biestro [Tue, 10 Mar 2015 13:53:33 +0000 (13:53 +0000)] 
JEXL:
Test for JEXL-148

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

7 years agoJEXL:
Henri Biestro [Tue, 10 Mar 2015 13:46:44 +0000 (13:46 +0000)] 
JEXL:
Adding pragmas and set literals;
Various small fixes

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

7 years agoJEXL:
Henri Biestro [Tue, 10 Mar 2015 13:45:16 +0000 (13:45 +0000)] 
JEXL:
Adding pragmas and set literals;
Various small fixes

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

7 years agoCGI must be svn:executable *
Sebastian Bazley [Tue, 24 Feb 2015 17:36:14 +0000 (17:36 +0000)] 
CGI must be svn:executable *

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

7 years agoDepending on unkown conditions, overriden varargs method may return false to isVarArgs;
Henri Biestro [Tue, 2 Dec 2014 16:15:35 +0000 (16:15 +0000)] 
Depending on unkown conditions, overriden varargs method may return false to isVarArgs;
Fix by checking method in declaring class hierarchy (MethodKey.isVarArgs).

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

8 years agoFollow-up JEXL-146;ensure functors are not shared between interpreter instances
Henri Biestro [Wed, 1 Oct 2014 12:00:10 +0000 (12:00 +0000)] 
Follow-up JEXL-146;ensure functors are not shared between interpreter instances

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

8 years agoFixing JEXL-146;
Henri Biestro [Wed, 1 Oct 2014 08:57:12 +0000 (08:57 +0000)] 
Fixing JEXL-146;
Better error reporting and improved arithmetic overloading;
Clean up javadoc/checkstyle;

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

8 years agoReport local branch modifications:
Henri Biestro [Sat, 9 Aug 2014 14:12:09 +0000 (14:12 +0000)] 
Report local branch modifications:
Fix JEXL-145:  Sandbox calling wrong check (classname vs class);
Fix JXLT fails to parse expressions that use map constants
Added break/continue in JEXL syntax
Added convenience methods to pass/use JexlInfo and arguments in templates
Added ability to overload some operators in JexlArithmetic (through introspection, based on method names)

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

8 years agoCheck commit
Henri Biestro [Sat, 9 Aug 2014 14:05:20 +0000 (14:05 +0000)] 
Check commit

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

8 years agoNitpicks ( try regain access to account)
Henri Biestro [Sat, 26 Apr 2014 14:06:55 +0000 (14:06 +0000)] 
Nitpicks ( try regain access to account)

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

8 years agoAdding back all improvements/fixes made externally since 2012/09.
Henri Biestro [Mon, 25 Nov 2013 13:35:55 +0000 (13:35 +0000)] 
Adding back all improvements/fixes made externally since 2012/09.

Some of those do break compatibility (Expression vs Script in particular, NaN as literal, logging is log4j); since 3.0 has never been released and the code has not been modified in the past 14 months, no-one should argue  (or then should contribute :-)).

From the changes.xml:
Fixed issue in edge case method resolution wrt overload and varargs;
Switch logging to log4j 1.2;
Empty array property setting fails Fixes JEXL-144. Thanks to Woonsang Ko. ;
Map expression issue with empty key Fixes JEXL-142. Thanks to Juozas Baliuks.;
Suffix for Big Decimal and Big Integer Literal is incorrectly mentioned in Java docs Fixes JEXL-141. Thanks to Harpreet Singh.;
Invalid script variable list for nested array/map access Fixes JEXL-137;
Fixed Engine.getVariables that was erroneously considering method calls as variable usage;
Fixed issue in ternary expression (grammar was not precise enough to differentiate namespace:function calls vs ternary right hand side);
NaN is now a keyword equivalent to #NaN (deprecated): POTENTIAL SCRIPT BREAK;
Syntactically enforce that expressions do not contain statements: POTENTIAL EXPRESSION BREAK (ie an expression is not a script and can NOT use 'if','for'... and blocks);
Added syntactic shortcut to create parametric scripts (script source creates an anonymous function);
Segregated JexlScript and JexlExpression further to avoid calling JexlExpression.evaluate on JexlScript (instead of JexlScript.execute) which had the unexpected property of only evaluating the first statement;
Fix an edge case of ambiguous method matching (see http://apache-commons.680414.n4.nabble.com/jexl-mathod-within-namespace-not-found-if-parameter-is-int-tt4637888.html);
Fix issue wrt isEmpty and method varargs (assignable types vs equal types) (see http://apache-commons.680414.n4.nabble.com/jexl-empty-function-crashes-if-called-with-int-tt4637895.html)

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

8 years agoASF Branding
Sebastian Bazley [Mon, 21 Oct 2013 16:07:27 +0000 (16:07 +0000)] 
ASF Branding

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

9 years agoAdd files generated by the Maven Eclipse plugin to svn:ignore.
Gary D. Gregory [Fri, 31 May 2013 14:09:59 +0000 (14:09 +0000)] 
Add files generated by the Maven Eclipse plugin to svn:ignore.

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

9 years agoUpdated the dependencies
Emmanuel Bourg [Fri, 31 May 2013 13:13:44 +0000 (13:13 +0000)] 
Updated the dependencies

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

9 years agoASF => The ASF
Sebastian Bazley [Sun, 24 Mar 2013 14:07:51 +0000 (14:07 +0000)] 
ASF => The ASF

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

9 years agoFix up URLs so they point to actual sites; this allows relative URLs to work properly
Sebastian Bazley [Fri, 22 Mar 2013 17:49:27 +0000 (17:49 +0000)] 
Fix up URLs so they point to actual sites; this allows relative URLs to work properly

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

9 years agorestore download cgi
Olivier Lamy [Tue, 26 Feb 2013 23:52:00 +0000 (23:52 +0000)] 
restore download cgi

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

9 years agodeveloped by => developed at
Sebastian Bazley [Wed, 30 Jan 2013 21:43:00 +0000 (21:43 +0000)] 
developed by => developed at

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

9 years agoconfigure svnpubsub
Olivier Lamy [Thu, 17 Jan 2013 22:02:44 +0000 (22:02 +0000)] 
configure svnpubsub

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

9 years agoAdded a check to avoid an array out of bounds when a method exists with multiple...
Henri Biestro [Thu, 15 Nov 2012 22:18:20 +0000 (22:18 +0000)] 
Added a check to avoid an array out of bounds when a method exists with multiple signatures including a vararg and a no-arg

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

9 years agoJEXL-141: fixed documentation
Henri Biestro [Fri, 9 Nov 2012 15:44:41 +0000 (15:44 +0000)] 
JEXL-141: fixed documentation

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

10 years agoMoved issue related test to ArithmeticTest;
Henri Biestro [Fri, 31 Aug 2012 08:06:41 +0000 (08:06 +0000)] 
Moved issue related test to ArithmeticTest;
Added question related test to VarTest;

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

10 years agoFix issue wrt isEmpty (bad cast to Object[] replaced by System.getLength()) and metho...
Henri Biestro [Sat, 11 Aug 2012 09:04:15 +0000 (09:04 +0000)] 
Fix issue wrt isEmpty (bad cast to Object[] replaced by System.getLength()) and method varargs (assignable types vs equal types)
(see http://apache-commons.680414.n4.nabble.com/jexl-empty-function-crashes-if-called-with-int-tt4637895.html)

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

10 years agoFix an edge case of ambiguous method matching (see http://apache-commons.680414.n4...
Henri Biestro [Fri, 10 Aug 2012 12:36:50 +0000 (12:36 +0000)] 
Fix an edge case of ambiguous method matching (see apache-commons.680414.n4.nabble.com/jexl-mathod-within-namespace-not-found-if-parameter-is-int-tt4637888.html)

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

10 years agoDocumentation
Henri Biestro [Tue, 7 Aug 2012 17:08:50 +0000 (17:08 +0000)] 
Documentation

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

10 years agoReflect last changes in release notes and changes.xml
Henri Biestro [Tue, 7 Aug 2012 12:37:42 +0000 (12:37 +0000)] 
Reflect last changes in release notes and changes.xml

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

10 years agoJEXL-123:
Henri Biestro [Mon, 6 Aug 2012 13:11:05 +0000 (13:11 +0000)] 
JEXL-123:
Rename JxltEngine.UnifiedExpression as JxltEngine.Expression (no need to have a longer name);
Completed  JexlContext javadoc;
Updated examples to jexl3 API

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

10 years agoCorrected xdoc issue
Henri Biestro [Fri, 3 Aug 2012 13:24:56 +0000 (13:24 +0000)] 
Corrected xdoc issue

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

10 years agoJEXL-133:
Henri Biestro [Tue, 31 Jul 2012 14:30:43 +0000 (14:30 +0000)] 
JEXL-133:
Added 'not startsWith' (^!) and 'not endsWith' (!$) operators

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

10 years agoJEXL-137:
Henri Biestro [Wed, 11 Jul 2012 12:20:43 +0000 (12:20 +0000)] 
JEXL-137:
Added new inner class Engine.VarCollector to properly collect variables;
Updated TemplateEngine to use new Engine.VarCollector;
Updated test;
Added Dumper class to ease characterizing AST related issues;

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

10 years agoChanged 'version' class member from volatile int to AtomicInteger for clarity
Henri Biestro [Wed, 11 Jul 2012 12:18:00 +0000 (12:18 +0000)] 
Changed 'version' class member from volatile int to AtomicInteger for clarity

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

10 years agoAdded test for JEXL-136
Henri Biestro [Mon, 9 Jul 2012 19:07:15 +0000 (19:07 +0000)] 
Added test for JEXL-136

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

10 years agoTest for JEXL-135;
Henri Biestro [Thu, 5 Jul 2012 09:27:32 +0000 (09:27 +0000)] 
Test for JEXL-135;

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

10 years agoAdded range operator (x .. y) and supporting class (IntegerRange);
Henri Biestro [Thu, 5 Jul 2012 07:08:06 +0000 (07:08 +0000)] 
Added range operator (x .. y)  and supporting class (IntegerRange);
Added startsWith/endsWith (=^ and =$)  operators;
Added #NaN to grammar;

Added  charset support in JexlEngine & builder options;
Rafactored code for map and array literals (MapBuilder/ArrayBuilder), allow override in JexlArithmetic to customize behavior;
Updated constant JexlNode determination;
Updated exception handling during parsing,  more precise message and info;

Moved ReadonlyContext to test dir;
Moved some tests from 'issues' to arithmetic;
Updated doc and changes;

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

10 years agoJEXL-123:
Henri Biestro [Mon, 21 May 2012 14:39:22 +0000 (14:39 +0000)] 
JEXL-123:
Removed 'image' field from JexlNode - replaced by a 'name' for symbols - , reduced AST* method visibility wherever possible;
Better handling of constant literal nodes;
Moved 'sugar' method signatures (URL,File...) to API classes rather than core classes;
Building a Jxlt engine does not require importing 'internal' (duh);
Tweaked classloader handling by using a SoftReference;
Javadoc tweaks;
pom.xml tweaks

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

10 years agoJEXL-123:
Henri Biestro [Sat, 12 May 2012 06:52:21 +0000 (06:52 +0000)] 
JEXL-123:
Reworked classloader change handling so that script ASTs purge references to cached methods & ctors;
Lots of nitpicking names, Javadoc, etc

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

10 years agoCleaned ASTNumberLiteral conversion code;
Henri Biestro [Tue, 1 May 2012 13:26:36 +0000 (13:26 +0000)] 
Cleaned ASTNumberLiteral conversion code;
Added specific exception tests;
Various Javadoc

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

10 years agoFix JEXL-131
Henri Biestro [Mon, 30 Apr 2012 21:58:13 +0000 (21:58 +0000)] 
Fix JEXL-131

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

10 years agoUpdated Arithmetic to treat BigDecimal before floating points (as indicated in doc)
Henri Biestro [Thu, 19 Apr 2012 11:44:38 +0000 (11:44 +0000)] 
Updated Arithmetic to treat BigDecimal before floating points (as indicated in doc)

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

10 years agoUpdating copyright dates in notice per expressive last entries in each components...
Henri Yandell [Sat, 17 Mar 2012 05:09:23 +0000 (05:09 +0000)] 
Updating copyright dates in notice per expressive last entries in each components svn log

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

10 years agoJEXL-127:
Henri Biestro [Tue, 13 Mar 2012 15:13:08 +0000 (15:13 +0000)] 
JEXL-127:
Reworked grammar to properly treat parenthesized expressions and calling chains;
Added 'anonymous/closure' style syntax to functions '(x, y)-> { ... }';
Made additive operations separate nodes / classes;
Renamed occurences of 'register' to symbol (Scope/Frame);
Code shuffling in Interpreter to have all complex methods located together (assign, call, de-reference...);
Moved JexlEvalContext to test package (only use is testing);
Renamed 'UnifiedJEXLTest' to 'JXLTTest' to properly reflect new naming;
Added / completed a few tests;
Various checkstyle / Javadoc

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

10 years agoJavadoc; removed unecessary initialization
Henri Biestro [Tue, 13 Mar 2012 10:46:44 +0000 (10:46 +0000)] 
Javadoc; removed unecessary initialization

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

10 years agoRemoved unecessary initializations
Henri Biestro [Tue, 13 Mar 2012 10:45:36 +0000 (10:45 +0000)] 
Removed unecessary initializations

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

10 years agoMissing @Override
Henri Biestro [Tue, 13 Mar 2012 10:20:52 +0000 (10:20 +0000)] 
Missing @Override

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