tomcat7.0
15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48523
markt [Tue, 12 Jan 2010 11:09:18 +0000 (11:09 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48523
Resolve duplicate keys

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@898279 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48517
markt [Tue, 12 Jan 2010 10:31:03 +0000 (10:31 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48517
Reduce scope of @SupressWarnings and document reasoning
Based on a patch by sebb

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@898275 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMake the check case insensitive. A strict reading of the specification requires case...
markt [Tue, 12 Jan 2010 08:59:08 +0000 (08:59 +0000)]
Make the check case insensitive. A strict reading of the specification requires case sensitivity but be pragmatic.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@898256 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47977
markt [Tue, 12 Jan 2010 00:10:46 +0000 (00:10 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47977
Using a body with tags specified to have empty body content should cause an error

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@898126 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRename TCN_RECOMMENDED_MIN -> TCN_RECOMMENDED_MINOR
kkolinko [Mon, 11 Jan 2010 23:42:20 +0000 (23:42 +0000)]
Rename TCN_RECOMMENDED_MIN -> TCN_RECOMMENDED_MINOR
to match the naming of TCN_REQUIRED_MINOR and to resolve ambiguity, because "min" usually means "minimum".
This field does not exist in tc6.0.x code.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@898115 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUsing localhost should allow this to work with IPv4 and/or IPv6
markt [Mon, 11 Jan 2010 14:59:35 +0000 (14:59 +0000)]
Using localhost should allow this to work with IPv4 and/or IPv6

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897888 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBy default use released 1.1.19
mturk [Mon, 11 Jan 2010 07:14:16 +0000 (07:14 +0000)]
By default use released 1.1.19

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897776 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate generated code after r897728
markt [Sun, 10 Jan 2010 23:04:41 +0000 (23:04 +0000)]
Update generated code after r897728

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897729 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove the BADLY_ESCAPED_STRING_LITERAL - it could cause mistakes to be silently...
markt [Sun, 10 Jan 2010 23:03:13 +0000 (23:03 +0000)]
Remove the BADLY_ESCAPED_STRING_LITERAL - it could cause mistakes to be silently swallowed

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897728 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix the remaining Eclipse warnings in the non-generated classes
markt [Sun, 10 Jan 2010 13:11:52 +0000 (13:11 +0000)]
Fix the remaining Eclipse warnings in the non-generated classes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897635 13f79535-47bb-0310-9956-ffa450edef68

15 years ago\$ and \# are not valid escapes. The Parser will throw an error before this code...
markt [Sun, 10 Jan 2010 12:52:20 +0000 (12:52 +0000)]
\$ and \# are not valid escapes. The Parser will throw an error before this code is ever called but remove them anyway for clarity.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897632 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate generated code after r897629
markt [Sun, 10 Jan 2010 12:51:13 +0000 (12:51 +0000)]
Update generated code after r897629

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897631 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix a bug found during review.
markt [Sun, 10 Jan 2010 12:47:49 +0000 (12:47 +0000)]
Fix a bug found during review.
Whilst the old version is what is defined in the spec, the definition in the spec does not agree with the description and associatedcomments in the spec. I have raised this as https://uel.dev.java.net/issues/show_bug.cgi?id=10
Modify the parser on the basis that the textual description and comments in the spec are correct and the production for StringLiteral is wrong

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897629 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd tests for a bug found whilst reviewing the ELParser
markt [Sun, 10 Jan 2010 12:44:31 +0000 (12:44 +0000)]
Add tests for a bug found whilst reviewing the ELParser

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897627 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRename
markt [Sun, 10 Jan 2010 11:54:34 +0000 (11:54 +0000)]
Rename

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897621 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix generics warnings
markt [Sun, 10 Jan 2010 11:47:48 +0000 (11:47 +0000)]
Fix generics warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897620 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd a test case for bug36923
markt [Sun, 10 Jan 2010 11:37:16 +0000 (11:37 +0000)]
Add a test case for bug36923

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897619 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd mising tests.
markt [Sun, 10 Jan 2010 11:13:10 +0000 (11:13 +0000)]
Add mising tests.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897616 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBetter coverage for JSP attribute parsing
markt [Sun, 10 Jan 2010 11:12:42 +0000 (11:12 +0000)]
Better coverage for JSP attribute parsing

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897615 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRe-work EL attribute parsing. The underlying issue was complete independence of attri...
markt [Sun, 10 Jan 2010 11:10:36 +0000 (11:10 +0000)]
Re-work EL attribute parsing. The underlying issue was complete independence of attribute and EL parsing. The attribute parser would generate the same result - ${1+1} - after parsing ${1+1} and \${+1} and the EL had no way to differentiate between the first (that should be treated as an expression) and the second (that should be treated as a literal). The attribute parser has been modified to output any literals that would be mi-interpreted by the EL parser as EL literals. ie \ is output as ${'\\'} or #{'\\'}, $ as ${'$'} or #{'$'} and # as ${'#'} or #{'#'}.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897614 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRename to fit expected naming convention
markt [Sat, 9 Jan 2010 13:14:58 +0000 (13:14 +0000)]
Rename to fit expected naming convention

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897442 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate documentation
kkolinko [Sat, 9 Jan 2010 04:30:14 +0000 (04:30 +0000)]
Update documentation

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897381 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup for r816252/r891328
kkolinko [Sat, 9 Jan 2010 03:59:59 +0000 (03:59 +0000)]
Followup for r816252/r891328
Allow to disable buffering in JULI FileHandler
The previous implementation did not work as expected because of buffering performed by OutputStreamWriter

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897380 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTrivial: move first line of the resource file to be below the license header
kkolinko [Sat, 9 Jan 2010 02:25:44 +0000 (02:25 +0000)]
Trivial: move first line of the resource file to be below the license header

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897370 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrection for the README pages:
kkolinko [Sat, 9 Jan 2010 02:13:19 +0000 (02:13 +0000)]
Correction for the README pages:
Tomcat 7 requires Java 6

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897368 13f79535-47bb-0310-9956-ffa450edef68

15 years agoNow the EL parser doesn't unquote stuff it shouldn't (r896589), remove the attributeV...
markt [Fri, 8 Jan 2010 18:59:19 +0000 (18:59 +0000)]
Now the EL parser doesn't unquote stuff it shouldn't (r896589), remove the attributeValueWithEL() method as it is causing more problems than it is solving. There are still a couple of test failures but the solution I have in mind for them won't require this method.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897300 13f79535-47bb-0310-9956-ffa450edef68

15 years agofollowup to r896892
kkolinko [Fri, 8 Jan 2010 04:37:23 +0000 (04:37 +0000)]
followup to r896892
Additional message updates for JSP 2.2
Commented-out the untranslated strings in the French file, so that the English ones could be used

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897093 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd another edge case
markt [Thu, 7 Jan 2010 20:24:57 +0000 (20:24 +0000)]
Add another edge case

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897005 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd another test case. This one passes at the moment but would fail with some of...
markt [Thu, 7 Jan 2010 18:23:14 +0000 (18:23 +0000)]
Add another test case. This one passes at the moment but would fail with some of the ideas I have had to fix the tests that currently fail.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896953 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect tests. Remaining failures shoudl now be Jasper/EL bugs
markt [Thu, 7 Jan 2010 18:09:33 +0000 (18:09 +0000)]
Correct tests. Remaining failures shoudl now be Jasper/EL bugs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896949 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd the tag library definition so the tests actually do what they are supposed to.
markt [Thu, 7 Jan 2010 17:36:27 +0000 (17:36 +0000)]
Add the tag library definition so the tests actually do what they are supposed to.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896937 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove comments
markt [Thu, 7 Jan 2010 16:35:49 +0000 (16:35 +0000)]
Remove comments

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896920 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd missing license headers
markt [Thu, 7 Jan 2010 16:22:24 +0000 (16:22 +0000)]
Add missing license headers

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896916 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd various EL test cases, mostly extracted from local test JSPs I have used for...
markt [Thu, 7 Jan 2010 16:06:45 +0000 (16:06 +0000)]
Add various EL test cases, mostly extracted from local test JSPs I have used for individual issues.
Thanks to kkolinko and the numerous bug reporters that provided the basis for many of these.
At present, although this is Tomcat 7, the tests only cover JSP 2.1 functionality.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896913 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate for JSP 2.2
markt [Thu, 7 Jan 2010 14:20:30 +0000 (14:20 +0000)]
Update for JSP 2.2

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896892 13f79535-47bb-0310-9956-ffa450edef68

15 years agoPrevent NPE in emebedded case when no web.xml is provided at all
markt [Wed, 6 Jan 2010 19:04:32 +0000 (19:04 +0000)]
Prevent NPE in emebedded case when no web.xml is provided at all

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896622 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd a test case for bug 48112 (note this passes - need to check when used in a JSP)
markt [Wed, 6 Jan 2010 18:51:24 +0000 (18:51 +0000)]
Add a test case for bug 48112 (note this passes - need to check when used in a JSP)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896620 13f79535-47bb-0310-9956-ffa450edef68

15 years agoIgnore the imtermediate file for the parser generation
markt [Wed, 6 Jan 2010 18:28:02 +0000 (18:28 +0000)]
Ignore the imtermediate file for the parser generation

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896602 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix the remaining test failures
markt [Wed, 6 Jan 2010 18:18:09 +0000 (18:18 +0000)]
Fix the remaining test failures

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896594 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix some test failures. '\' should not be skipped in lierals. Align the definition...
markt [Wed, 6 Jan 2010 18:10:41 +0000 (18:10 +0000)]
Fix some test failures. '\' should not be skipped in lierals. Align the definition of LiteralExpression with the EL 2.2 spec otherwise parsing errors result.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896589 13f79535-47bb-0310-9956-ffa450edef68

15 years agoDon't edit the generated files at all - makes regeneration simpler
markt [Wed, 6 Jan 2010 17:44:15 +0000 (17:44 +0000)]
Don't edit the generated files at all - makes regeneration simpler

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896574 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdditional tests for the specific escaping (of "${" and "#{") for LiteralExpressions
markt [Wed, 6 Jan 2010 17:41:11 +0000 (17:41 +0000)]
Additional tests for the specific escaping (of "${" and "#{") for LiteralExpressions

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896571 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix the test case failures. There is at least one bug still present - more test cases...
markt [Wed, 6 Jan 2010 17:39:58 +0000 (17:39 +0000)]
Fix the test case failures. There is at least one bug still present - more test cases to follow.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896570 13f79535-47bb-0310-9956-ffa450edef68

15 years agoStart to expand the EL test cases
markt [Wed, 6 Jan 2010 17:33:26 +0000 (17:33 +0000)]
Start to expand the EL test cases

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896557 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix indentation.
rjung [Wed, 6 Jan 2010 17:33:22 +0000 (17:33 +0000)]
Fix indentation.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896556 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCleanup tabs and trailing whitespace.
rjung [Wed, 6 Jan 2010 17:07:14 +0000 (17:07 +0000)]
Cleanup tabs and trailing whitespace.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896544 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTab police.
rjung [Wed, 6 Jan 2010 16:55:45 +0000 (16:55 +0000)]
Tab police.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896530 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMove declaration as per Knostantin's review comment
markt [Wed, 6 Jan 2010 10:56:48 +0000 (10:56 +0000)]
Move declaration as per Knostantin's review comment

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896384 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix typos / inconsistencies
markt [Wed, 6 Jan 2010 10:24:31 +0000 (10:24 +0000)]
Fix typos / inconsistencies
Rainer's review comments on r894580

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896370 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMore work on tomcat-lite connector: more experimenting with spdy, few more tests...
costin [Wed, 6 Jan 2010 00:08:33 +0000 (00:08 +0000)]
More work on tomcat-lite connector: more experimenting with spdy, few more tests and fixes.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896286 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect default
markt [Tue, 5 Jan 2010 22:34:17 +0000 (22:34 +0000)]
Correct default

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896252 13f79535-47bb-0310-9956-ffa450edef68

15 years agoNot used any more ( were part of the mini-servlet on top of coyote )
costin [Tue, 5 Jan 2010 21:28:53 +0000 (21:28 +0000)]
Not used any more ( were part of the mini-servlet on top of coyote )

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896228 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove the mini-servlet on top of coyote impl - can be reverted if anyone finds a...
costin [Tue, 5 Jan 2010 21:28:13 +0000 (21:28 +0000)]
Remove the mini-servlet on top of coyote impl - can be reverted if anyone finds a use for it.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896227 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImprove JavaDoc generation
markt [Tue, 5 Jan 2010 20:56:14 +0000 (20:56 +0000)]
Improve JavaDoc generation
Based on the proposed patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=48299
Also ensure the clean targets clean up fully

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896214 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48424
markt [Tue, 5 Jan 2010 19:53:38 +0000 (19:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48424
Based on a patch by Ivan
Ensure that the ObjectNames for the Connectors are always generated using the same method

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896193 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove empty dirs
markt [Tue, 5 Jan 2010 10:53:36 +0000 (10:53 +0000)]
Remove empty dirs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895981 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix schema location
markt [Tue, 5 Jan 2010 09:51:45 +0000 (09:51 +0000)]
Fix schema location

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895967 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate version of tomcat-native included in TC binary bundles and Windows installer...
kkolinko [Mon, 4 Jan 2010 22:48:58 +0000 (22:48 +0000)]
Update version of tomcat-native included in TC binary bundles and Windows installer to 1.1.18.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895815 13f79535-47bb-0310-9956-ffa450edef68

15 years agoGuess that's safe.
rjung [Mon, 4 Jan 2010 17:05:01 +0000 (17:05 +0000)]
Guess that's safe.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895703 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48464
markt [Mon, 4 Jan 2010 11:29:45 +0000 (11:29 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48464
Provide an option to specify the command window title
Patch provided by LiuYan

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895600 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix odd whitespace - no functional change
markt [Sun, 3 Jan 2010 19:02:13 +0000 (19:02 +0000)]
Fix odd whitespace - no functional change

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895465 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSuppress some invalid compiler warnings
markt [Sun, 3 Jan 2010 16:11:27 +0000 (16:11 +0000)]
Suppress some invalid compiler warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895436 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove some declared exceptions that are never thrown
markt [Sun, 3 Jan 2010 16:10:27 +0000 (16:10 +0000)]
Remove some declared exceptions that are never thrown

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895433 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove some declared exceptions that are never thrown
markt [Sun, 3 Jan 2010 16:03:29 +0000 (16:03 +0000)]
Remove some declared exceptions that are never thrown

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895429 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove unused methods
markt [Sun, 3 Jan 2010 15:58:39 +0000 (15:58 +0000)]
Remove unused methods

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895428 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMark the implementations of deprecated methods as deprecated
markt [Sun, 3 Jan 2010 15:43:37 +0000 (15:43 +0000)]
Mark the implementations of deprecated methods as deprecated

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895423 13f79535-47bb-0310-9956-ffa450edef68

15 years agoDon't use deprecated methods. Use recommended alternative.
markt [Sun, 3 Jan 2010 15:42:57 +0000 (15:42 +0000)]
Don't use deprecated methods. Use recommended alternative.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895422 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup to r895191
kkolinko [Sun, 3 Jan 2010 14:02:31 +0000 (14:02 +0000)]
Followup to r895191
Fix calling Tomcat Windows scripts from a directory containing '&' character,
and allow to use this character in the names of CATALINA_HOME/CATALINA_BASE directories.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48464#c4

Note, that both 'set' and 'echo' commands have to use quotes.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895392 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMark the implementations of deprecated methods as deprecated
markt [Sun, 3 Jan 2010 11:32:32 +0000 (11:32 +0000)]
Mark the implementations of deprecated methods as deprecated

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895369 13f79535-47bb-0310-9956-ffa450edef68

15 years agoReplace copyright year in nsi and html file
rjung [Sat, 2 Jan 2010 15:31:04 +0000 (15:31 +0000)]
Replace copyright year in nsi and html file
with the YEAR tag. It will be automatically
updated via our ant version filter.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895206 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBorrow a few things from the main Tomcat build.xml:
rjung [Sat, 2 Jan 2010 15:22:41 +0000 (15:22 +0000)]
Borrow a few things from the main Tomcat build.xml:
- use general version filter
- automatically set year to the current year
- use patch version property without dot.
  The dot is added when combining it into a version number

I don't know whether the double '@' are intended for the
ant replacement markers in MANIFEST.MF (the outer ones remain
after ant filtering), but that is unchanged from the previous
behaviour.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895204 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAllow to patch the current year via our
rjung [Sat, 2 Jan 2010 14:24:51 +0000 (14:24 +0000)]
Allow to patch the current year via our
ant version strings filter.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895203 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate copyright year for TC trunk.
rjung [Sat, 2 Jan 2010 14:22:50 +0000 (14:22 +0000)]
Update copyright year for TC trunk.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895202 13f79535-47bb-0310-9956-ffa450edef68

15 years agoChange license header in tomcat-lite java source files
rjung [Sat, 2 Jan 2010 14:08:45 +0000 (14:08 +0000)]
Change license header in tomcat-lite java source files
using the copy2license.pl script.

Although the previous form is what the license file states how to
correctly apply ASL 2.0, usually the ASF copyright notice is not
applied to every source file. See

   http://www.apache.org/legal/src-headers.html#headers

for details.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895199 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix calling Tomcat Windows scripts from a directory containg spaces,
kkolinko [Sat, 2 Jan 2010 13:47:10 +0000 (13:47 +0000)]
Fix calling Tomcat Windows scripts from a directory containg spaces,
as noted in https://issues.apache.org/bugzilla/show_bug.cgi?id=48464#c4 by LiuYan

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895191 13f79535-47bb-0310-9956-ffa450edef68

15 years agoChange license header in two tomcat-lite java source files
rjung [Sat, 2 Jan 2010 13:26:32 +0000 (13:26 +0000)]
Change license header in two tomcat-lite java source files
using the copy2license.pl script.

Although the previous form is what the license file states how to
correctly apply ASL 2.0, usually the ASF copyright notice is not
applied to every source file. See

   http://www.apache.org/legal/src-headers.html#headers

for details.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895189 13f79535-47bb-0310-9956-ffa450edef68

15 years agoChange license header in bcel java source files using
rjung [Sat, 2 Jan 2010 13:17:11 +0000 (13:17 +0000)]
Change license header in bcel java source files using
the copy2license.pl script.

Although the previous form is what the license file states how to
correctly apply ASL 2.0, usually the ASF copyright notice is not
applied to every source file. See

   http://www.apache.org/legal/src-headers.html#headers

for details.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895187 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup to r895045
kkolinko [Fri, 1 Jan 2010 19:24:48 +0000 (19:24 +0000)]
Followup to r895045
Per JavaDoc format, the tags (@deprected, @see etc.) should follow the main description, not precede it. Otherwise the description is swallowed by the tag.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895057 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove unused imports
markt [Fri, 1 Jan 2010 18:36:21 +0000 (18:36 +0000)]
Remove unused imports

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895050 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMark the implementations of deprecated javax.servlet.jsp.el classes as deprecated
markt [Fri, 1 Jan 2010 18:33:13 +0000 (18:33 +0000)]
Mark the implementations of deprecated javax.servlet.jsp.el classes as deprecated

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895049 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix some trivial Eclipse warnings
markt [Fri, 1 Jan 2010 18:31:17 +0000 (18:31 +0000)]
Fix some trivial Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895048 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd some missing deprecation markers
markt [Fri, 1 Jan 2010 18:22:36 +0000 (18:22 +0000)]
Add some missing deprecation markers

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895045 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate javacc from 4.1 to 5.0. Update generated code.
markt [Fri, 1 Jan 2010 15:00:52 +0000 (15:00 +0000)]
Update javacc from 4.1 to 5.0. Update generated code.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895020 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup to r894586
kkolinko [Fri, 1 Jan 2010 14:10:25 +0000 (14:10 +0000)]
Followup to r894586
Correct some lines in the French translation, modified in r894586

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895013 13f79535-47bb-0310-9956-ffa450edef68

15 years agoA little more JSP 2.2 EL impl
markt [Thu, 31 Dec 2009 16:01:04 +0000 (16:01 +0000)]
A little more JSP 2.2 EL impl

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894873 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect location.
markt [Thu, 31 Dec 2009 15:13:31 +0000 (15:13 +0000)]
Correct location.
Spotted by Christoph Beck

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894863 13f79535-47bb-0310-9956-ffa450edef68

15 years agoA little more JSP 2.2 EL impl
markt [Thu, 31 Dec 2009 13:51:33 +0000 (13:51 +0000)]
A little more JSP 2.2 EL impl

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894841 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix src build.
markt [Thu, 31 Dec 2009 12:44:49 +0000 (12:44 +0000)]
Fix src build.
- When <include .../> is nested in a <patternset .../> each include can only specify a single pattern
- Reference existing <patternset .../> in <fixcrlf .../> rather than defining a new one

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894831 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd the Java EE 6 schemas to support validation
markt [Thu, 31 Dec 2009 11:05:45 +0000 (11:05 +0000)]
Add the Java EE 6 schemas to support validation

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894813 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRe-order constants to match DigestFactory usage to make it easier to check for consis...
markt [Thu, 31 Dec 2009 10:54:17 +0000 (10:54 +0000)]
Re-order constants to match DigestFactory usage to make it easier to check for consistency

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894811 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate X-Powered-By header for Servlet 3.0 / JSP 2.2 and add additional information...
markt [Thu, 31 Dec 2009 10:46:24 +0000 (10:46 +0000)]
Update X-Powered-By header for Servlet 3.0 / JSP 2.2 and add additional information as suggested by the Servlet Spec and https://issues.apache.org/bugzilla/show_bug.cgi?id=48006

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894805 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=43819
markt [Wed, 30 Dec 2009 22:20:30 +0000 (22:20 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43819
Implement ExpressionFactory.newInstance() and ensure that Jasper does not refer to org.apache.el directly
JSP 2.1 TCK passes with these changes applied
Based on a patch by Christoph Beck

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894720 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix an problem highlighted by the JSP 2.1 TCK. Only provide merged 3.0+ web.xml for...
markt [Wed, 30 Dec 2009 21:50:33 +0000 (21:50 +0000)]
Fix an problem highlighted by the JSP 2.1 TCK. Only provide merged 3.0+ web.xml for 3.0+ apps.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894718 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAPI changes for JSP/EL 2.2 changes. Dummy implementations where implmentation is...
markt [Wed, 30 Dec 2009 18:21:26 +0000 (18:21 +0000)]
API changes for JSP/EL 2.2 changes. Dummy implementations where implmentation is required.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894688 13f79535-47bb-0310-9956-ffa450edef68

15 years agoNew helper class to provide web.xml to those Jasper classes that need to parse it...
markt [Wed, 30 Dec 2009 16:51:52 +0000 (16:51 +0000)]
New helper class to provide web.xml to those Jasper classes that need to parse it. JspConfig was not consistent with TldLocationsCache. These are now consistent. JspConfig now has access to the merged web.xml generated by Catalina from web-fragment.xml files and/or annotations.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894672 13f79535-47bb-0310-9956-ffa450edef68

15 years agoGet Jasper to use same web.xml (including merging if appropriate) as Catalina by...
markt [Wed, 30 Dec 2009 16:04:23 +0000 (16:04 +0000)]
Get Jasper to use same web.xml (including merging if appropriate) as Catalina by default. If no merged web.xml is found, fall back to previous behaviour.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894659 13f79535-47bb-0310-9956-ffa450edef68

15 years agoPrevent definition of duplicate URIs for tag libraries and improve error messages...
markt [Wed, 30 Dec 2009 12:02:26 +0000 (12:02 +0000)]
Prevent definition of duplicate URIs for tag libraries and improve error messages for all duplicates

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894599 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix indent
markt [Wed, 30 Dec 2009 11:30:33 +0000 (11:30 +0000)]
Fix indent

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894592 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48345
markt [Wed, 30 Dec 2009 11:30:01 +0000 (11:30 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48345
Patch provided by Keiichi Fujino

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894591 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48417
markt [Wed, 30 Dec 2009 11:07:22 +0000 (11:07 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48417
Correct French trabslations
Patches provided by AndrĂ© Warnier

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@894586 13f79535-47bb-0310-9956-ffa450edef68