Commit Graph

202 Commits

Author SHA1 Message Date
Andy Clement fd15a9a822 SPR-6230: SpEL improvements
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2095 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 18:11:34 +00:00
Keith Donald 4af6fd7e0d SPR-6179, additional mapper test cases
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2047 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-04 04:13:27 +00:00
Sam Brannen f7a35e965c Fixed minor typo.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2043 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-03 22:18:50 +00:00
Mark Pollack 4e2aaf7934 SPR-6119 - Add slf4j dependency back to orm's pom.xml but in test scope as it is needed to run tests that use Hibernate
SPR-5956 - Remove commons-logging dependency definitions in pom.xml for all but spring-core so as to make exclusion rule easier for user who use slf4j

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2001 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 05:16:55 +00:00
Mark Pollack b5e25453d2 pom maintenance
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1952 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 07:37:30 +00:00
Keith Donald ed497bfa50 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1951 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 05:51:10 +00:00
Keith Donald fad7b691bf refined generic converter concept
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1932 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 19:57:59 +00:00
Juergen Hoeller 456eb6a616 expression parser uses context's ConversionService by default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1833 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:37:59 +00:00
Andy Clement d38e94dbaa SpelExpressionParser made threadsafe
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1817 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-03 20:09:11 +00:00
Juergen Hoeller a521abefcc updated dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1791 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-31 11:25:54 +00:00
Juergen Hoeller a331c5336c revised wrapper type handling
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1724 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 06:36:16 +00:00
Juergen Hoeller c09bdf02de revised core conversion package for BeanWrapper/BeanFactory integration
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1722 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 00:52:41 +00:00
Mark Pollack 2f66da5293 SPR-5976 - Upgrade POMS to JUnit 4.6
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1696 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 17:48:53 +00:00
Arjen Poutsma 6b93dec28f Updating POMs to contain Junit & EasyMock version numbers. Apparently, the maven ant tasks cannot resolve our parent pom.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1674 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-03 09:21:44 +00:00
Andy Clement 7be642e5ec per Ramnivas' suggestion, removing this bit to try and fix snapshot builds
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1649 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-28 22:03:09 +00:00
Chris Beams b33d28d6cf updated .jms dependency on junit 4.6.0 from test->runtime to test->compile. touched all org.eclipse.jdt.core.prefs (during the process of importing the projects). only the date comments within each have changed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1541 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-15 07:26:31 +00:00
Keith Donald b81e7bb81b ignore failing test for now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1528 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-12 18:32:26 +00:00
Andy Clement b69e7893a2 better method name
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1515 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 19:44:40 +00:00
Andy Clement 41133bed8b for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1514 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 19:43:50 +00:00
Andy Clement 4b94f3b381 for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1513 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 19:43:37 +00:00
Mark Pollack ead546b2f2 SPR-5803 and additional POM maintenance/development
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1503 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-09 19:38:07 +00:00
Andy Clement 38327100d6 SPR-5905: support for inner type references in type references 'T(com.foo.A$B)' or in ctor calls 'new com.foo.A$B()'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1484 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 17:24:58 +00:00
Andy Clement 79b4a2cbed SPR-5847: require quotes for dotted map key names, eg. map['a.b.c']
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1483 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 16:32:56 +00:00
Andy Clement f6ab00e72a SPR-5804: problems with map access if it is the root object; SPR-5847: alternative map referencing strategies: a.b == a[b] == a['b']
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1482 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 16:08:10 +00:00
Andy Clement 3150681307 SPR-5899: Invoking methods or constructors passing null (including varargs support)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1478 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 19:21:26 +00:00
Andy Clement 4662a320d0 SPR-5518: textual alternatives for operators (eq, lt, le, gt, ge, ne, div, mod, not) - removes messy escaping for expressions declared in XML.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1476 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 18:53:48 +00:00
Sam Brannen 887f8b3c10 [SPR-5887] Upgraded to JUnit 4.6.0.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1461 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-02 18:07:55 +00:00
Andy Clement a2e961de94 support for concatenation with String via operator '+' - for Ramnivas.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1452 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-30 19:19:07 +00:00
Keith Donald 9bc48d08a1 el-based message resolution; expected failure right now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1376 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 17:18:12 +00:00
Andy Clement 8bd39785e9 change from SpelMessages to SpelMessage. Changed exception getter to getMessageCode() from getMessageUnformatted
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1355 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-11 16:17:44 +00:00
Andy Clement 1e2cecfd76 new feature for binder - automatically create lists and entries in lists upon referencing nulls
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1300 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 16:42:43 +00:00
Andy Clement dd30ab4237 updates for Binding code - able to retrieve the type descriptor for a property and ask detailed questions (eg getAnnotations())
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1296 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 00:25:59 +00:00
Andy Clement 3d35a43433 test coverage. now > 95%
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1271 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 19:59:32 +00:00
Andy Clement bdb2b0bbb1 test coverage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1270 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 19:37:17 +00:00
Andy Clement 3c402eb54c findbugs issue addressed
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1269 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 19:22:53 +00:00
Andy Clement d359b1e98b fix for ternary or elvis using a full expression for their result components. parser polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1268 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 19:16:45 +00:00
Andy Clement 533fc879ff remove antlr dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1263 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 04:38:36 +00:00
Andy Clement 42155480b0 Hand written SpEL parser. Removed antlr dependency. tests upgraded to JUnit4 - 93% coverage.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1260 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 04:20:18 +00:00
Keith Donald fc41ed0073 renamed back to TypeDescriptor after ConversionContext proved not good enough name for any change
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1240 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-23 21:23:10 +00:00
Keith Donald 05ae07ed98 costin code review comments
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1210 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-18 13:13:34 +00:00
Keith Donald e8dc69f11c fixed autoboxing bug
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1205 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-17 02:22:02 +00:00
Keith Donald 2d8cc2df46 commented out failing el test for now - todo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1194 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 21:34:11 +00:00
Keith Donald c9c26c6c6c BindingPoint to ConversionPoint, javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1192 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 20:32:23 +00:00
Keith Donald a2f085d87c renamed TypeDescriptor to BindingPoint
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1190 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 17:30:03 +00:00
Juergen Hoeller 612ae0653d quick attempt to fix core.convert breakage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1181 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 11:35:41 +00:00
Juergen Hoeller 11450f1fdb updated all Spring Framework OSGI manifests to list unversioned imports explicitly; relaxed several OSGi bundle dependencies to optional and extended version ranges
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1159 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 16:43:15 +00:00
Keith Donald 62f87abbba added two way converter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1148 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 21:40:55 +00:00
Keith Donald 81b3f77455 renamed executeConversion to simply convert for readibility
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1147 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 21:25:33 +00:00
Keith Donald 453bed1e9b made ConversionExecutor internal; removed other unused operations from public SPI
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1145 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 21:23:18 +00:00
Andy Clement 95ea243026 SPR-5663: test and fix: inconsistency between canRead() and read() on ReflectivePropertyResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1052 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 17:57:24 +00:00