Andy Clement
39c262e5a0
Removing functionality. Removed expression list support, cannot say (foo();bar()) any more
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@98 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-15 21:55:11 +00:00
Andy Clement
3f75a45b23
Removing functionality. Removed soundslike/distanceto/like operators
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@97 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-15 21:43:38 +00:00
Andy Clement
10d45b2001
Final commit before the great 'stripdown'. Used clover to determine coverage and added tests as necessary.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@96 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-15 20:14:36 +00:00
Andy Clement
5cdeaa9644
added test and behaviour for calling a java method with incorrect number of arguments
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@95 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:43:17 +00:00
Andy Clement
2d4e2685e9
fixed up FunctionReference a bit - so it can call varargs methods
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@94 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:36:25 +00:00
Andy Clement
7694700a33
new function invocation tests for normal and error behaviour
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@93 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:36:00 +00:00
Andy Clement
c034d6b840
changed vis of arg conversion code so function calls can use it
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@92 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:35:21 +00:00
Andy Clement
5550af651c
fixed damage caused by code formatter
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@91 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:34:33 +00:00
Andy Clement
9295e94878
added support for Integer > Float conversion.
...
Moved some tests from EvaluationTests into OperatorTests.
Fleshed out OperatorTests to verify type promotions for mixed type operands.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@90 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 17:54:01 +00:00
Andy Clement
1502732dd2
more tests relating to reals
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@89 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 17:06:24 +00:00
Andy Clement
109e906896
code formatter chewed on it
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@87 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:23:39 +00:00
Andy Clement
946f0c80e8
corrected TODO
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@86 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:23:13 +00:00
Andy Clement
d57863038b
corrected use of AccessException (no longer used in ReflectionUtils)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@85 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:22:36 +00:00
Andy Clement
67bcc88a13
moved TODOs to readme
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@84 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:22:09 +00:00
Andy Clement
e28d4e8a11
moved test into ParserErrorMessageTests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@83 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:21:45 +00:00
Andy Clement
f75701fbba
modified Date tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@82 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:21:21 +00:00
Andy Clement
b093042c05
Made GMT the default Locale...
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@81 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:21:00 +00:00
Andy Clement
5d1dc65a19
added new TODO that the impl isn't as complete as it could be
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@80 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:20:38 +00:00
Andy Clement
32159ff2c2
started fixing the formatting
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@79 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:20:16 +00:00
Andy Clement
de965b88ea
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...
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@78 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:42:06 +00:00
Andy Clement
edeeda1f24
improved javadoc, error handling and testing of matches
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@76 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:28:26 +00:00
Andy Clement
18b42bb979
javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@75 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:27:59 +00:00
Andy Clement
07076642a3
fixing error handling in 'is' operator
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@74 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:27:45 +00:00
Andy Clement
e470453868
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@73 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:27:18 +00:00
Andy Clement
e76963cc17
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@72 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:26:59 +00:00
Andy Clement
7caea5719e
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@71 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:26:45 +00:00
Andy Clement
f8867eb950
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@70 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:26:11 +00:00
Andy Clement
ac3011be70
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@69 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:25:57 +00:00
Andy Clement
e1d71a30fd
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@68 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:25:43 +00:00
Andy Clement
6fa7cc5f92
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@67 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:25:19 +00:00
Andy Clement
ee04b819b6
javadoc for StandardTypeLocator and moved some TODOs to the readme
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@66 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 18:31:31 +00:00
Andy Clement
4be7f7dc87
remove java.awt as a default import in the StandardTypeLocator
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@65 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 18:21:03 +00:00
Andy Clement
daa2c97913
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@64 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:57:46 +00:00
Andy Clement
4a4acb7038
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@62 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:57:13 +00:00
Andy Clement
83432fc14d
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@61 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:56:58 +00:00
Andy Clement
9092ab9d90
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@60 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:56:43 +00:00
Andy Clement
7ea18e23ab
fixing TODOs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@59 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:56:29 +00:00
Andy Clement
bc38f8cd66
added support for long[] in stringValueOf() - plus an error reported if the type passed in is not supported
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@58 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:56:16 +00:00
Andy Clement
8e3e4979fd
fixed to not throw classcastexception if condition doesnt evaluate to boolean
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@57 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:45:18 +00:00
Andy Clement
592672ce1b
removed some unused code, improved doc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@56 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:44:42 +00:00
Andy Clement
e739b83214
correcting TODO
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@55 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:44:12 +00:00
Andy Clement
a17ab6cfaf
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.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@54 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:43:51 +00:00
Andy Clement
f9f6e8cf21
new tests for ternary - checking conversion of numbers to boolean and correct error when condition result not convertable to boolean
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@53 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:43:15 +00:00
Andy Clement
8daeb8b200
removed redundant test - there is no non-optimal reflection accessor to test now
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@52 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:42:39 +00:00
Andy Clement
288ddc76c6
Added SuppressWarning to hide all the warnings from the poor Antlr generated code. Code formatter also chewed on the file when saved.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@51 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:41:51 +00:00
Andy Clement
7f7a8a0ab9
javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@50 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:41:13 +00:00
Andy Clement
19d2708e9f
implements new interface methods. sorting out javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@49 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:40:53 +00:00
Andy Clement
3f2cd0f1f7
implement new Expression methods
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@48 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:40:30 +00:00
Andy Clement
654941e7a7
sorting out javadoc, promoted isWritable() to this interface (for now)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@47 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:40:11 +00:00
Andy Clement
975a35b47e
added reset() method
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@46 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:39:35 +00:00
Andy Clement
68da381fb0
hard coded support for boxing conversions. Added support for numbers (int/long) to boolean
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@45 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:39:10 +00:00
Andy Clement
162c2b2412
TODO moved out to readme.txt which contains latest interesting issues - they should become JIRAs when the dust has settled
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@44 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 00:13:38 +00:00
Andy Clement
b8242e587f
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
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@43 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 00:12:36 +00:00
Andy Clement
2d655d36d0
corrected TODO task
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@42 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 00:11:33 +00:00
Andy Clement
327cbd8524
removed fixed TODO task
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@41 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 00:10:59 +00:00
Andy Clement
ce7916d7ff
allow for undefined target type
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@40 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 00:10:27 +00:00
Andy Clement
8c604095a6
Parser error message improvements: enhanced harness and used it in new parser error message tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@39 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-15 00:26:38 +00:00
Andy Clement
ba331a6b1b
Parser error message improvements: better explanations and removed unused code
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@38 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-15 00:26:11 +00:00
Andy Clement
4a24abb21d
Code formatter has chewed on it a bit
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@37 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-15 00:25:46 +00:00
Andy Clement
540ca861df
Parser error message improvements: grammar tweak to disallow 0xF00G (was treated as number then property reference - even without a dot)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@36 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-15 00:25:23 +00:00
Andy Clement
50709d7e7e
Parser error message improvements: new messages
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@35 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-15 00:24:22 +00:00
Andy Clement
b43278a8f8
will now throw exception if trying to cram a long into an int that will not fit
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@34 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-14 20:28:01 +00:00
Andy Clement
f5e6dc9541
tweaked grammar to handle 0X as a hex prefix and removed 'u'/'U' from int suffixes for now
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@33 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-14 20:27:35 +00:00
Andy Clement
fa8dd16f27
tweaked grammar to handle 0X as a hex prefix and removed 'u'/'U' from int suffixes for now
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@32 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-14 20:26:33 +00:00
Andy Clement
413cd62685
reworked int/hex/long handling - more consistent and reliable now
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@31 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-14 20:25:20 +00:00
Andy Clement
29413137b0
reorganizing tests - extracting EvaluationTests out into other test classes. Started work on parser error message tests.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@30 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-14 20:24:31 +00:00
Andy Clement
2055d24689
removed unused code
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@29 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 22:19:46 +00:00
Andy Clement
05083634fe
Avoid calling deprecated Date ctor
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@28 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 22:18:05 +00:00
Andy Clement
645c8b840b
Suppress unchecked warning in generated code
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@27 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 22:15:01 +00:00
Andy Clement
a9730bee55
changed to not use deprecated toURL()
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@26 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 22:14:10 +00:00
Andy Clement
964c308208
temporarily commnted out code (to remove the warnings) - this code may get used for error recovery
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@25 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 22:13:50 +00:00
Andy Clement
b93dbbbe7e
Changed test so expected results match actual on both windows and Mac
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@22 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 21:21:35 +00:00
Andy Clement
55f50c861c
Fixed generics warnings
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@21 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:31:51 +00:00
Andy Clement
f49d771f9f
Fixed generics warning
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@20 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:31:41 +00:00
Andy Clement
edc9ad4e89
Fixed generics warnings
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@19 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:31:31 +00:00
Andy Clement
dc1d850b9d
Marked unused values appropriately
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@18 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:28:18 +00:00
Andy Clement
b49678e4d0
Removed unused code
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@17 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:27:40 +00:00
Andy Clement
5e0318d2eb
Corrected javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@16 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:26:54 +00:00
Andy Clement
660224c19d
Commented out currently unused code
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@15 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:25:19 +00:00
Andy Clement
861f359bbd
Fixed unnecessary casts
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@14 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:23:39 +00:00
Andy Clement
9e4faabba6
Fixed unnecessary casts
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@13 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:23:29 +00:00
Andy Clement
c776d5fbc6
Added suppression for warnings since these types are generated
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@12 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:20:45 +00:00
Andy Clement
021a1187d2
Fixed rogue import
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@11 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 18:17:25 +00:00
Andy Clement
9499d88b00
First drop of SPEL
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@10 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 16:36:40 +00:00
Andy Clement
2acbc82fd7
First drop of SPEL
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@9 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 16:27:53 +00:00
Andy Clement
24b4f49b1a
First drop of SPEL
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@8 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 16:27:20 +00:00
Andy Clement
5599513ea9
First drop of SPEL
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@7 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 16:25:32 +00:00
Andy Clement
c6d7197e10
First drop of SPEL
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@6 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 16:23:50 +00:00
Andy Clement
f22f13f020
First drop of SPEL
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-12 16:14:43 +00:00
Andy Clement
3e04a0ca2d
Modified public interface to expression parsing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-11 18:37:11 +00:00
Ben Hale
860a8a3f15
Initial code checkin
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3 50f2f4bb-b051-0410-bef5-90022cba6387
2008-07-11 06:34:50 +00:00