Commit Graph

315 Commits

Author SHA1 Message Date
Andy Clement 84a4fe6d39 remove files 2008-12-13 01:38:21 +00:00
Andy Clement 6d03f881e9 new files 2008-12-13 01:36:48 +00:00
Andy Clement 5ff4008423 Refactored package structure and made some getValue() methods generic 2008-12-12 23:07:08 +00:00
Juergen Hoeller 4f40a6c313 fixed javadoc errors 2008-11-28 13:56:30 +00:00
Juergen Hoeller fda7100866 consistent compilation against Servlet 2.5, JSP 2.1 and JUnit 4.5 2008-11-27 21:49:10 +00:00
Juergen Hoeller b0790bf5e7 Java 5 code style 2008-11-27 00:27:52 +00:00
Juergen Hoeller 6bbc966a21 fixed test source configuration 2008-11-27 00:26:21 +00:00
Costin Leau 8ba93ae12c + fix import for org.antlr package versions 2008-11-26 09:56:50 +00:00
Costin Leau dca286d065 + migrated some manifest template changed from 2.5.x to 3.0.x 2008-11-25 22:20:53 +00:00
Juergen Hoeller 29657105da Java 5 code style 2008-11-25 01:29:54 +00:00
Juergen Hoeller 347f34c68a EL container integration; support for contextual objects; removal of deprecated Spring 2.0 functionality; Java 5 code style 2008-11-20 02:10:53 +00:00
Arjen Poutsma fe29a711f3 Updated projects and ivy.xmls 2008-11-17 15:09:17 +00:00
Andy Clement 470e086183 map access tests added 2008-09-17 16:20:40 +00:00
Andy Clement 769e706be7 removing: initializers/processors/in operator 2008-09-17 15:23:15 +00:00
Andy Clement afdf54eff8 renamed operator IS to INSTANCEOF, may yet delete.. 2008-09-16 17:20:03 +00:00
Andy Clement 39c966f419 bean references removed, no more @(context:beanname) 2008-09-16 17:13:31 +00:00
Andy Clement 95892dc993 removed lambda functions, local function and local variable references 2008-09-16 17:00:16 +00:00
Andy Clement efee3b3434 date literal removed 2008-09-16 16:50:00 +00:00
Andy Clement 8740b702f9 Changed so that existing getters/setters are used before direct field access is attempted 2008-09-16 00:00:06 +00:00
Andy Clement 17c88107d3 Removing functionality. Removed expression list support, cannot say (foo();bar()) any more 2008-09-15 21:55:11 +00:00
Andy Clement 4d43768889 Removing functionality. Removed soundslike/distanceto/like operators 2008-09-15 21:43:38 +00:00
Andy Clement 59a4427525 Final commit before the great 'stripdown'. Used clover to determine coverage and added tests as necessary. 2008-09-15 20:14:36 +00:00
Andy Clement 23db8b58da added test and behaviour for calling a java method with incorrect number of arguments 2008-08-18 22:43:17 +00:00
Andy Clement f79e2643a3 fixed up FunctionReference a bit - so it can call varargs methods 2008-08-18 22:36:25 +00:00
Andy Clement 2f05d70067 new function invocation tests for normal and error behaviour 2008-08-18 22:36:00 +00:00
Andy Clement 2fbb7ad327 changed vis of arg conversion code so function calls can use it 2008-08-18 22:35:21 +00:00
Andy Clement ec9cb8565b fixed damage caused by code formatter 2008-08-18 22:34:33 +00:00
Andy Clement 48055c6e20 added support for Integer > Float conversion.
Moved some tests from EvaluationTests into OperatorTests.
Fleshed out OperatorTests to verify type promotions for mixed type operands.
2008-08-18 17:54:01 +00:00
Andy Clement 776553cfbb more tests relating to reals 2008-08-18 17:06:24 +00:00
Andy Clement daf922456e more discussion points 2008-08-18 00:23:52 +00:00
Andy Clement 6e2682c78e code formatter chewed on it 2008-08-18 00:23:39 +00:00
Andy Clement 844b5236de corrected TODO 2008-08-18 00:23:13 +00:00
Andy Clement e443c836fe corrected use of AccessException (no longer used in ReflectionUtils) 2008-08-18 00:22:36 +00:00
Andy Clement 7fa4d9e928 moved TODOs to readme 2008-08-18 00:22:09 +00:00
Andy Clement 7d677b23d3 moved test into ParserErrorMessageTests 2008-08-18 00:21:45 +00:00
Andy Clement bea94c2371 modified Date tests 2008-08-18 00:21:21 +00:00
Andy Clement 90309a57d9 Made GMT the default Locale... 2008-08-18 00:21:00 +00:00
Andy Clement b9aa8552e0 added new TODO that the impl isn't as complete as it could be 2008-08-18 00:20:38 +00:00
Andy Clement bb2ef1fefa started fixing the formatting 2008-08-18 00:20:16 +00:00
Andy Clement 077fc1613d starting to sort out like/matches. Matches is the java regex related one. Like is the SQL related one. But the spring .net 'like' doesn't seem to be the same as the SQL doc I found for like... 2008-08-17 01:42:06 +00:00
Andy Clement c24df36689 moved some TODOs into readme 2008-08-17 01:28:37 +00:00
Andy Clement c6db7c41a4 improved javadoc, error handling and testing of matches 2008-08-17 01:28:26 +00:00
Andy Clement bb2ade5fdd javadoc 2008-08-17 01:27:59 +00:00
Andy Clement 29fe8da1ad fixing error handling in 'is' operator 2008-08-17 01:27:45 +00:00
Andy Clement 5c0d80ece7 fixing TODOs 2008-08-17 01:27:18 +00:00
Andy Clement 5d3e568326 fixing TODOs 2008-08-17 01:26:59 +00:00
Andy Clement 88c370ad5d fixing TODOs 2008-08-17 01:26:45 +00:00
Andy Clement 80075f18ce fixing TODOs 2008-08-17 01:26:11 +00:00
Andy Clement 9e7cb0e1cf fixing TODOs 2008-08-17 01:25:57 +00:00
Andy Clement 5a68d0ee4e fixing TODOs 2008-08-17 01:25:43 +00:00
Andy Clement a23311c4ba fixing TODOs 2008-08-17 01:25:19 +00:00
Andy Clement f82561ba53 javadoc for StandardTypeLocator and moved some TODOs to the readme 2008-08-16 18:31:31 +00:00
Andy Clement 1917a50f6f remove java.awt as a default import in the StandardTypeLocator 2008-08-16 18:21:03 +00:00
Andy Clement a54e442657 fixing TODOs 2008-08-16 01:57:46 +00:00
Andy Clement d69e9ef038 moved some TODOs out into here 2008-08-16 01:57:31 +00:00
Andy Clement b26c6df1a1 fixing TODOs 2008-08-16 01:57:13 +00:00
Andy Clement 2e7b0e3767 fixing TODOs 2008-08-16 01:56:58 +00:00
Andy Clement 3d54bd5aa3 fixing TODOs 2008-08-16 01:56:43 +00:00
Andy Clement 3ebf290534 fixing TODOs 2008-08-16 01:56:29 +00:00
Andy Clement e9ddd7151e added support for long[] in stringValueOf() - plus an error reported if the type passed in is not supported 2008-08-16 01:56:16 +00:00
Andy Clement e2ffac9a7c fixed to not throw classcastexception if condition doesnt evaluate to boolean 2008-08-16 01:45:18 +00:00
Andy Clement 144325eb06 removed some unused code, improved doc 2008-08-16 01:44:42 +00:00
Andy Clement 5bb6f9c75d correcting TODO 2008-08-16 01:44:12 +00:00
Andy Clement d2ab889b00 fixed some tests that will now break because int/long can be treated as boolean. May need to change again if real numbers get the same treatment. 2008-08-16 01:43:51 +00:00
Andy Clement 8d8a82b278 new tests for ternary - checking conversion of numbers to boolean and correct error when condition result not convertable to boolean 2008-08-16 01:43:15 +00:00
Andy Clement 8730cde270 removed redundant test - there is no non-optimal reflection accessor to test now 2008-08-16 01:42:39 +00:00
Andy Clement 3987316e4c Added SuppressWarning to hide all the warnings from the poor Antlr generated code. Code formatter also chewed on the file when saved. 2008-08-16 01:41:51 +00:00
Andy Clement 2d732ba398 javadoc 2008-08-16 01:41:13 +00:00
Andy Clement 3d4158ea51 implements new interface methods. sorting out javadoc 2008-08-16 01:40:53 +00:00
Andy Clement 98c82fe995 implement new Expression methods 2008-08-16 01:40:30 +00:00
Andy Clement ef8f882036 sorting out javadoc, promoted isWritable() to this interface (for now) 2008-08-16 01:40:11 +00:00
Andy Clement 1d2e89d79c added reset() method 2008-08-16 01:39:35 +00:00
Andy Clement 9750dfc3c4 hard coded support for boxing conversions. Added support for numbers (int/long) to boolean 2008-08-16 01:39:10 +00:00
Andy Clement ef16bff7ef TODO moved out to readme.txt which contains latest interesting issues - they should become JIRAs when the dust has settled 2008-08-16 00:13:38 +00:00
Andy Clement ead98462da added support for getValue(state,desiredType) so other nodes can ask for a transform to be done on the result if necessary, rather than duplicating conversion logic all over 2008-08-16 00:12:36 +00:00
Andy Clement a5a2331d41 corrected TODO task 2008-08-16 00:11:33 +00:00
Andy Clement 0adda58016 removed fixed TODO task 2008-08-16 00:10:59 +00:00
Andy Clement 36334ec21f allow for undefined target type 2008-08-16 00:10:27 +00:00
Andy Clement 1a31d25973 Parser error message improvements: enhanced harness and used it in new parser error message tests 2008-08-15 00:26:38 +00:00
Andy Clement cf35116af7 Parser error message improvements: better explanations and removed unused code 2008-08-15 00:26:11 +00:00
Andy Clement e78b9273f8 Code formatter has chewed on it a bit 2008-08-15 00:25:46 +00:00
Andy Clement 84990ad608 Parser error message improvements: grammar tweak to disallow 0xF00G (was treated as number then property reference - even without a dot) 2008-08-15 00:25:23 +00:00
Andy Clement 7d114a1a5e Parser error message improvements: new messages 2008-08-15 00:24:22 +00:00
Andy Clement 8c85e4a9a2 will now throw exception if trying to cram a long into an int that will not fit 2008-08-14 20:28:01 +00:00
Andy Clement d83205227e tweaked grammar to handle 0X as a hex prefix and removed 'u'/'U' from int suffixes for now 2008-08-14 20:27:35 +00:00
Andy Clement 4e33a2d6e4 tweaked grammar to handle 0X as a hex prefix and removed 'u'/'U' from int suffixes for now 2008-08-14 20:26:33 +00:00
Andy Clement 2173a49855 reworked int/hex/long handling - more consistent and reliable now 2008-08-14 20:25:20 +00:00
Andy Clement a06b5aaa8d reorganizing tests - extracting EvaluationTests out into other test classes. Started work on parser error message tests. 2008-08-14 20:24:31 +00:00
Andy Clement 73d6d0095f removed unused code 2008-08-12 22:19:46 +00:00
Andy Clement e20cbef134 Avoid calling deprecated Date ctor 2008-08-12 22:18:05 +00:00
Andy Clement dfc6928957 Suppress unchecked warning in generated code 2008-08-12 22:15:01 +00:00
Andy Clement 1707667489 changed to not use deprecated toURL() 2008-08-12 22:14:10 +00:00
Andy Clement f9285d54ab temporarily commnted out code (to remove the warnings) - this code may get used for error recovery 2008-08-12 22:13:50 +00:00
Andy Clement a9f2c90f10 remove currently unnecessary dependencies 2008-08-12 22:05:06 +00:00
Andy Clement 246cfa7945 Changed project name from spring-binding to org.springframework.expression 2008-08-12 21:50:59 +00:00
Andy Clement fe11c664d2 Changed test so expected results match actual on both windows and Mac 2008-08-12 21:21:35 +00:00
Andy Clement ef59904f00 Fixed generics warnings 2008-08-12 18:31:51 +00:00
Andy Clement 40eb38917e Fixed generics warning 2008-08-12 18:31:41 +00:00
Andy Clement c15760bcd1 Fixed generics warnings 2008-08-12 18:31:31 +00:00
Andy Clement 106131ab8f Marked unused values appropriately 2008-08-12 18:28:18 +00:00
Andy Clement b12dc5ba42 Removed unused code 2008-08-12 18:27:40 +00:00
Andy Clement c09d3971a1 Corrected javadoc 2008-08-12 18:26:54 +00:00
Andy Clement 9ad3863886 Commented out currently unused code 2008-08-12 18:25:19 +00:00
Andy Clement cfdb8e01eb Fixed unnecessary casts 2008-08-12 18:23:39 +00:00
Andy Clement 49bef5a39f Fixed unnecessary casts 2008-08-12 18:23:29 +00:00
Andy Clement 2e0006f8ac Added suppression for warnings since these types are generated 2008-08-12 18:20:45 +00:00
Andy Clement 1636f3cd32 Fixed rogue import 2008-08-12 18:17:25 +00:00
Andy Clement c2f7b65751 First drop of SPEL 2008-08-12 16:36:40 +00:00
Andy Clement 6a52183414 First drop of SPEL 2008-08-12 16:27:53 +00:00
Andy Clement 65049ac8b4 First drop of SPEL 2008-08-12 16:27:20 +00:00
Andy Clement a2401ea10f First drop of SPEL 2008-08-12 16:25:32 +00:00
Andy Clement d8743000a0 First drop of SPEL 2008-08-12 16:23:50 +00:00
Andy Clement c2624ea05e First drop of SPEL 2008-08-12 16:14:43 +00:00
Andy Clement ca93824d2b Modified public interface to expression parsing 2008-08-11 18:37:11 +00:00
Ben Hale ca010140fb Initial code checkin 2008-07-11 06:34:50 +00:00