Rossen Stoyanchev
9fd8d3eccd
Upgrade to Gradle 7.4.2 and use java-library plugin
...
Align with main branch
2022-08-03 13:26:36 +03:00
Rossen Stoyanchev
3bb4e6c3a7
Polishing contribution
2020-05-04 20:10:12 +01:00
Lars Grefer
2be8bcbc18
Java 8: Anonymous type can be replaced with lambda
2020-05-04 20:10:12 +01:00
Lars Grefer
55137e101a
Java 7: Explicit type can be replaced with <>
2020-05-04 20:10:12 +01:00
Lars Grefer
ab69df656d
Java 5: Unnecessary boxing
2020-05-04 20:10:12 +01:00
Brian Clozel
92ed854f97
Remove Gradle propdeps plugin
...
This commit removes the propdeps plugin.
"provided" configurations are replaced with "compileOnly", "testCompile"
configurations.
The "optional" configuration supported by propdeps is now replaced by a
local Gradle plugin defining a specific configuration for that.
As a result of that change, optional/provided dependencies are not
published with the POMs anymore.
2020-05-01 07:36:27 +01:00
Brian Clozel
2f2c2e0313
Use Spring dependency management plugin
...
This commit introduces the Spring dependency management Gradle
plugin. All dependency versions and BOMs are now managed in the
root project and declared in the modules directly.
2020-05-01 07:36:27 +01:00
Brian Clozel
780bb68bdb
Move build files into each module
...
This commit moves each project build configuration into its own file
and keeps the common configuration in the root project.
2020-05-01 07:36:27 +01:00
Etienne Dysli Metref
cadaaad605
Upgrade Web Flow tests from JUnit 4 to 5
...
Replace imports:
org.junit.Assert.* -> org.junit.jupiter.api.Assertions.*
org.junit.After -> org.junit.jupiter.api.AfterEach
org.junit.Before -> org.junit.jupiter.api.BeforeEach
Move the `message` argument to last position.
Issue: SWF-1739
2019-10-16 14:55:42 +01:00
Etienne Dysli Metref
ceb44a6634
Upgrade Web Flow tests from JUnit 3 to 4
...
Remove `extends TestCase` from all test classes and add `@Before`,
`@After`, and `@Test` method annotations.
Note that class `JsfUtilsTests` still indirectly inherits from
`TestCase` via `org.apache.myfaces.test.base.AbstractJsfTestCase`.
Issue: SWF-1739
2019-10-16 14:55:15 +01:00
Spring Operator
7edadce7bf
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 639 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-06-04 08:43:29 -04:00
Rossen Stoyanchev
962cb673cf
Use SimpleEvaluationContext in AbstractMvcView
...
Issue: SWF-1722
2018-03-27 13:41:57 -04:00
Rossen Stoyanchev
da6d1492c1
Fix warnings
2018-02-08 18:50:40 -05:00
Rossen Stoyanchev
6d5a8debd5
Polish
...
Remove:
- auto-boxing
- unnecessary array creation
- public keyword on interface methods
- unnecessary throws clauses
Use lambda expressions
2018-02-08 15:47:21 -05:00
Rossen Stoyanchev
d66c25ffd0
Use diamond operator
...
Issue: SWF-1718
2018-02-08 13:06:46 -05:00
Rossen Stoyanchev
b30a92e45a
Transient source and target in DefaultMappingResults
...
Issue: SWF-1716
2018-01-24 15:01:18 -05:00
Rossen Stoyanchev
eade36e741
Serializable MappingResult(s)
...
Issue: SWF-1715
2017-12-20 13:56:24 -05:00
Andy Wilkinson
ee6c0b0e13
Align SpringELExpressionParser with Framework's nullable changes
...
TemplateAwareExpressionParser.parseExpression(String, ParserContext)
no longer accepts a null ParserContext so we now have to call
TemplateAwareExpressionParser.parseExpression(String) when we don't
have a ParserContext.
2017-06-19 14:35:34 +01:00
Rossen Stoyanchev
7ade1b8c81
Catch up with the latest Spring Framework 5 snapshot
2017-02-02 14:02:15 -05:00
Rossen Stoyanchev
ac03032fd4
Purge deprecated classes
...
Issue: SWF-1694
2017-01-06 16:47:57 -05:00
Rossen Stoyanchev
b263c1c87a
Remove OGNL expression support
...
Issue: SWF-1694
2017-01-06 16:47:41 -05:00
Rossen Stoyanchev
4fb1b99a8b
Dependency updates
...
Spring Security 4.1.0 -> 4.2.1
Commons Logging 1.1.1 -> 1.2
Log4j 1.7.22 -> 2.7
Servlet API 3.0.1 -> 3.1.0
Tiles 3.0.5 -> 3.0.7
JUnit 4.1.11 -> 4.1.12
Issue: SWF-1692
2017-01-06 16:47:19 -05:00
Rossen Stoyanchev
f2cb911c3f
Upgrade Gradle to 3.2.1
2017-01-06 16:47:18 -05:00
Rossen Stoyanchev
6719d26d66
Add final keyword to SpringElExpression fields
2015-06-04 22:06:09 -04:00
Rossen Stoyanchev
70cf66111c
Add protected method to SpringELExpression
...
Issue: SWF-1476
2014-03-31 21:46:17 -04:00
Rossen Stoyanchev
dbf71490c3
Polish
2014-03-31 21:41:39 -04:00
Rossen Stoyanchev
77198b5c5f
Deprecate OGNL support
...
Issue: SWF-1627
2014-03-31 15:30:31 -04:00
Rossen Stoyanchev
2ee9d4144a
Upgrade to Spring Framework 4.0
...
The build now compiles with Servlet API 3.0 and JPA 2.0 both of which
are required with Spring Framework 4.0. However there are no hard
dependencies in Web Flow on either.
Issue: SWF-1600
2013-12-18 15:26:51 -05:00
Rossen Stoyanchev
49fe4b49a9
Add autogrow props to BeanWrapperExpressionParser
...
The spring-binding BeanWrapperExpressionParser now supports the
setAutoGrowNestedPaths and setAutoGrowCollectionLimit properties, which
are in turn transfered to the underlying BeanWrapperImpl used in each
created and evaluated expression.
Issue: SWF-1566
2012-12-21 18:04:27 -05:00
Phillip Webb
313621b06c
Polish package level Javadoc
...
Replace all package.html files with package-info.java
2012-11-13 19:38:21 -08:00
Rossen Stoyanchev
4146871862
Add spring-js-resources to Gradle build
2012-05-25 16:54:15 -04:00
Rossen Stoyanchev
50a1cf1def
Add reference docs tasks to Gradle build
...
- Move spring-webflow-reference to src/reference
- Upgrade to Docbook 5
- Apply docbook plugin
- Add tasks for generating distribution zip files
2012-05-25 16:54:15 -04:00
Rossen Stoyanchev
4e81930b72
Add Gradle build
...
- Add gradle build script
- Remove spring-build/
- Remove build-spring-webflow/
- Remove ivy.xml, pom.xml, template.mf
- Remove eclipse metadata
- Remove RichFacesAjaxHandler.java
- Create src/dist and add changelog.txt, readme.txt
Dependency changes:
- EBR dependency -> Maven-central dependencies
- el-api 1.0 -> 2.2.0
- ognl 2.6.9 -> 2.6.11
- org.jboss.el -> tomcat-jasper-el 7.0.27
2012-05-25 16:54:15 -04:00
Phillip Webb
b7342dbc20
Deprecate CompositeIterator in favor Spring core.
...
Deprecate existing class and refactor internal code to use the org.spring.util version that
has been available since Spring 3.0
Issues: SWF-1532
2012-04-12 09:05:12 -07:00
Phillip Webb
54a300e009
Change signatures to make use of Java 5 varargs
...
Issues: SWF-1532
2012-04-05 16:23:38 -07:00
Phillip Webb
53384adca9
Update dates in copyright notice to 2004-2012
...
Issues: SWF-1532
2012-04-05 16:02:01 -07:00
Phillip Webb
34f4837ebd
Replace use of Iterator with Java 5 foreach loops
...
Issues: SWF-1532
2012-04-05 15:52:09 -07:00
Phillip Webb
22b018e95a
Make use of Java 5 auto boxing
...
Reviewed and replaced when possible:
- new Integer
- intValue()
- new Boolean
- booleanValue()
- Boolean.TRUE
- Boolean.FALSE
- new Long
- longValue()
Issues: SWF-1532
2012-04-05 14:07:58 -07:00
Phillip Webb
58936414e4
Replace StringBuffe with StringBuilder
...
Issues: SWF-1532
2012-04-05 10:48:49 -07:00
Phillip Webb
3f1c40188c
Update dates in copyright notice to 2004-2012
...
Issues: SWF-1532
2012-04-05 10:39:26 -07:00
Phil Webb
4d008f3f09
Refactor code to use Java 5 features
...
- Apply and use Generics
- Remove JdkVersion.isAtLeastJava15() conditionals
- Replace iterator loops with foreach syntax
- Switch on warning in eclipse
Issues: SWF-1532
2012-03-29 21:02:07 -07:00
Rossen Stoyanchev
619249b52b
Merge branch '2.3.x'
2012-03-27 18:02:45 -04:00
Rossen Stoyanchev
bca605d24a
Spring Web Flow 2.3.1 release
2012-03-27 15:59:02 -04:00
Rossen Stoyanchev
dddcf7a258
Upgrade to Spring 3.1.1
2012-03-26 18:20:09 -04:00
Rossen Stoyanchev
8aec740bd8
Updates to readme, javadoc, and sample poms.
...
Issues: SWF-1507
2012-03-26 16:27:53 -04:00
Rossen Stoyanchev
b82884aff2
Correct spring-binding/.classpath to use IVY_CACHE
2012-03-26 12:36:24 -04:00
Rossen Stoyanchev
df649084ab
Fix for bean validation messages in BindingResult
...
Previously Web Flow's BindingResult implementation distinguished
object from field-level errors by checking if the source of the
error is null or otherwise a String. However, class-level bean
validation errors have a field source represented by an empty
String. After this change object and field-level errors are
recognized by checking for String-based field source that is
neither null nor empty.
This commit also contains a fix for spring-faces tests where
in JSF 2.1 the presence of an unreleased FacesContext may
cause some tests to fail.
2012-02-28 13:27:16 -05:00
Phil Webb
962b123d73
Ensure required test directory is created in GIT and remove javadoc refs to missing home dir
2012-01-18 17:57:36 -05:00
Phil Webb
6a49144843
Ensure required test directory is created in GIT and remove javadoc refs to missing home dir
2012-01-17 17:00:41 -08:00
Rossen Stoyanchev
e5f17df95b
Increment version to 2.3.1.BUILD-SNAPSHOT.
2011-12-29 13:24:39 -05:00