Permalink
Commits on Oct 31, 2012
  1. Update release date in readme

    cbeams committed Oct 31, 2012
  2. Clarified ServletConfigAware behavior in case of no ServletConfig bei…

    …ng available
    
    Issue: SPR-9855
    jhoeller committed Oct 31, 2012
  3. Added proper synchronization and not-null check to SimpleMessageListe…

    …nerContainer's doShutdown
    
    Issue: SPR-9930
    jhoeller committed Oct 31, 2012
  4. Fix circular placeholder prevention

    Issue: SPR-5369
    jhoeller committed Oct 31, 2012
  5. Minor polishing

    jhoeller committed Oct 31, 2012
  6. Portlet mapping predicate compareTo implementations are transitive now

    Also removed unused validateHandler code with dead cachedMappings HashMap.
    
    Issue: SPR-9874
    jhoeller committed Oct 31, 2012
  7. Added "jtaDataSource" property to JPA LocalContainerEntityManagerFact…

    …oryBean (for default units)
    
    Issue: SPR-9883
    jhoeller committed Oct 31, 2012
Commits on Oct 30, 2012
  1. DispatcherPortlet uses a forward for rendering a view as resource res…

    …ponse
    
    Issue: SPR-9876
    jhoeller committed Oct 12, 2012
Commits on Oct 28, 2012
  1. Update changelog

    philwebb committed Oct 28, 2012
  2. Allow 'arg-type' matches against element body

    Allow the body of 'arg-type' XML elements to be used as an alternative to
    'match' attribute when defining a 'replace-method' in XML configuration.
    
    This change has been introduced primarily to support the samples printed
    in the Apress 'Pro Spring' book.
    
    Issue: SPR-9812
    Backport-Issue: SPR-9929
    Backport-Commit: 0709c03
    tempredirect committed with philwebb Oct 28, 2012
  3. Polish whitespace

    philwebb committed Oct 27, 2012
Commits on Oct 26, 2012
  1. Fix split package introduced by @EnableSpringConfigured

    Commit 6263c9a
    @EnableSpringConfigured from beans.factory.aspectj =>
    context.annotation within the spring-aspects module. This resolved a
    package cycle but had the side-effect of causing a "split package" [1]
    problem between spring-context and spring-aspects in OSGi-based
    classloader environments because the context.annotation package now
    exists in both modules.
    
    The simplest and best solution from an OSGi perspective is to relocate
    @EnableSpringConfigured and its supporting SpringConfiguredConfiguration
    class into a new package. This commit moves both these types into
    context.annotation.aspectj, following convention with other such
    "aspectj"-qualified packages in the spring-aspects module.
    
    As with the previous move, it is presumed this change will be low-impact
    as the "spring-configured" approach to domain object injection is a
    niche feature to begin with, and @EnableSpringConfigured has existed in
    its current location only since 3.1.2 and this change is being made in
    time for 3.1.3.
    
    [1]: http://wiki.osgi.org/wiki/Split_Packages
    
    Issue: SPR-9811, SPR-9441
    Backport-Commit: 54db738
    cbeams committed Oct 26, 2012
  2. Support comments in SQL scripts in JdbcTestUtils

    Prior to this commit, utility methods in JdbcTestUtils interpreted SQL
    comments as separate statements, resulting in an exception when such a
    script is executed.
    
    This commit addresses this issue by introducing a
    readScript(lineNumberReader, String) method that accepts a comment
    prefix. Comment lines are therefore no longer returned in the parsed
    script. Furthermore, the existing readScript(lineNumberReader) method
    now delegates to this new readScript() method, supplying "--" as the
    default comment prefix.
    
    Issue: SPR-9593
    Backport-Commit: 4aaf014
    sbrannen committed with cbeams Oct 22, 2012
Commits on Oct 25, 2012
  1. Update Apache license header date

    Issue: SPR-9853
    Backport-Commit: 8a38891
    cbeams committed Oct 25, 2012
Commits on Oct 24, 2012
  1. Update changelog

    philwebb committed Oct 24, 2012
  2. Support SQL exception translation for ORA-06550

    Oracle error ORA-06550 will now raise a BadSqlGrammarException.
    
    Issue: SPR-9853
    Backport-Commit: ba5a148
    philwebb committed Oct 24, 2012
  3. Polish whitespace

    philwebb committed Oct 24, 2012
  4. Allow MapToMap conversion even w/out default ctor

    MapToMap conversion now works when the target map does not have a
    default constructor (as long as a new map copy is not required).
    
    Issue: SPR-9284
    Backport-Commit: 38c4393
    philwebb committed with cbeams Oct 12, 2012
  5. Prevent memory leaks with @Configuration beans

    Refactor ConfigurationClassEnhancer to allow cglib caching of
    generated classes.  Prior to this commit each enhanced @Configuration
    class would consume permgen space when created.
    
    The CallbackFilter and Callback Types are now defined as static final
    members so that they can be shared by all enhancers.  Only the
    callbackInstances remain specific to a @Configuration class and
    these are not used by cglib as part of the cache key.
    
    Issue: SPR-9851
    Backport-Commit: c806139
    philwebb committed with cbeams Oct 12, 2012
  6. SpEL support for methods and properties on class …

    Update the ReflectiveMethodResolver and ReflectivePropertyAccessor
    to allow methods and properties of java.lang.Class to be resolved
    when the target object is a class.
    
    Issue: SPR-9017
    Backport-Commit: d28592a
    philwebb committed with cbeams Sep 7, 2012
  7. Chain exception cause on create failure

    Propogate root cause of exceptions thrown from createCollection
    and createMap.
    
    Issue: SPR-9285
    Backport-Commit: 2e48656
    philwebb committed with cbeams Sep 28, 2012
  8. Remove accidentally introduced SpEL test method

    SpringEL300Tests's #testArray method was originally introduced with
    SPR-9203, which has not yet been backported to 3.1.x. During the process
    of backporting SPR-9486 functionality, this method was accidentally
    introduced, causing false negative test failures. This commit removes
    the offending test method.
    
    Issue: SPR-9203, SPR-9486
    cbeams committed Oct 24, 2012
  9. Update SpEL test to reflect native float support

    Issue: SPR-9486
    Backport-Commit: 59fb67e
    cbeams committed Oct 24, 2012
  10. Add SpEL support for float literals

    This change ensures that SpEL expressions involving floats are
    supported natively as opposed to the previous behavior which required
    conversion to double, leading to potential downstream conversion
    ambiguities.
    
    Issue: SPR-9486
    Backport-Commit: be8f23d
    satyapalreddy committed with cbeams Aug 6, 2012
Commits on Oct 22, 2012
  1. Close 'beans' tag in MVC namespace documentation

    Issue: SPR-9898
    Backport Issue: SPR-9906
    philwebb committed Oct 22, 2012
  2. Update changelog

    rstoyanchev committed Oct 22, 2012
  3. Improve regex for parsing query params

    Previously UriComponentsBuilder used a regular expression for parsing
    query name-value pairs where both name and value were expected to not
    contain neither '&', not '='. The idea is that the presence of reserved
    characters makes it impossible to guess correctly how to parse the
    query string (e.g. a=b&c).
    
    This change relaxes the constraint on query param values, allowing them
    to contain '='. In effect '&' is the ultimate separator of name-value
    pairs, and any '=' in values is ignored. For example "q=1USD=?EUR" is
    interpreted as "q equals '1USD=?EUR'".
    
    Issue: SPR-9832
    rstoyanchev committed Oct 22, 2012
Commits on Oct 15, 2012
  1. Decode target parameters prior to saving a FlashMap

    The target parameters for a FlashMap must be decoded to be able to
    match them to the parameters of incoming requests given that the
    HttpServletRequest returns decoded request parameters.
    
    Issue: SPR-9657
    Backport Issue: SPR-9701
    rstoyanchev committed Oct 15, 2012
  2. Fix issue with resolving Errors controller argument

    The ErrorsMethodArgumentResolver expects the preceding @ModelAttribute
    in the controller method signature to be the last one added in the
    model -- an assumption that can break if a model attribute is added
    earlier (e.g. through a @ModelAttribute method) and more attributes
    are added as well. This fix ensures when an @ModelAttribute is resolved
    as a controller method argument it has the highest index in the model.
    
    Issue: SPR-9378
    Backport Issue: SPR-9687
    rstoyanchev committed Oct 15, 2012
Commits on Oct 12, 2012
  1. Make required spring-web's dependence on spring-aop

    Prior to this commit spring-web's dependence on spring-aop was marked
    optional, however spring-web's required dependence on spring-context
    transitively forces a required dependence on spring-aop anyway.
    
    This change marks spring-aop as a required dependency of spring-web,
    which a) reflects the poms created by the 3.2 Gradle build and b) helps
    solve dependency issues when using higher-level Spring projects such as
    Spring Security.
    
    Issue: SPR-9573
    cbeams committed Oct 12, 2012
  2. Polishing

    jhoeller committed Oct 12, 2012