tomcat7.0
15 years agoUp the version num
fhanik [Wed, 13 Jan 2010 19:32:51 +0000 (19:32 +0000)]
Up the version num

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

15 years agoForce a unconditional disconnect when an error happens, like dropped connections...
fhanik [Wed, 13 Jan 2010 19:23:53 +0000 (19:23 +0000)]
Force a unconditional disconnect when an error happens, like dropped connections to a firewall

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

15 years agoImplement remainder of EL 2.2. API changes
markt [Wed, 13 Jan 2010 19:20:42 +0000 (19:20 +0000)]
Implement remainder of EL 2.2. API changes

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

15 years agoJasper Parser change so methods with parameters aren't mistaken for functions
markt [Wed, 13 Jan 2010 19:19:25 +0000 (19:19 +0000)]
Jasper Parser change so methods with parameters aren't mistaken for functions

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

15 years agoTab police, fix Eclipse warnings, add @since Javadoc
markt [Wed, 13 Jan 2010 19:18:08 +0000 (19:18 +0000)]
Tab police, fix Eclipse warnings, add @since Javadoc

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

15 years agoRemove a dependency on Java 6 that accidentally got introduced
fhanik [Wed, 13 Jan 2010 19:08:09 +0000 (19:08 +0000)]
Remove a dependency on Java 6 that accidentally got introduced

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

15 years agoUpdated autogenerated code after r898864
markt [Wed, 13 Jan 2010 18:05:59 +0000 (18:05 +0000)]
Updated autogenerated code after r898864

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

15 years agoImplement method invocation with parameters
markt [Wed, 13 Jan 2010 18:02:36 +0000 (18:02 +0000)]
Implement method invocation with parameters

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

15 years agoAdd a test for method invocation with parameters
markt [Wed, 13 Jan 2010 18:01:26 +0000 (18:01 +0000)]
Add a test for method invocation with parameters

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

15 years agoUp the timeout. 100s isn't always long enough when stepping through why a failing...
markt [Wed, 13 Jan 2010 18:00:24 +0000 (18:00 +0000)]
Up the timeout. 100s isn't always long enough when stepping through why a failing test.

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

15 years agoIf the method is found, mark the property as resolved
markt [Wed, 13 Jan 2010 17:53:36 +0000 (17:53 +0000)]
If the method is found, mark the property as resolved

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

15 years agoFollowing changes
fhanik [Wed, 13 Jan 2010 17:00:26 +0000 (17:00 +0000)]
Following changes
1. Default bufferSize is 0 - rely on system behavior
2. bufferSize of <0 will automatically flush the writer on each write
3. autoFlush for printWriter is false, otherwise we are duplicating the effort
4. date is a volatile variable so that a write to the variable gets propagated properly

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48532
markt [Wed, 13 Jan 2010 11:18:10 +0000 (11:18 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48532
Better documentation of the SSL connector defaults

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

15 years agoAdd TODO
markt [Wed, 13 Jan 2010 10:26:58 +0000 (10:26 +0000)]
Add TODO

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

15 years agoMoved the connection pool to a top level class and started to add more code. Still...
costin [Wed, 13 Jan 2010 02:07:25 +0000 (02:07 +0000)]
Moved the connection pool to a top level class and started to add more code. Still missing is evicting kept-alive connections and
queueing to limit the number of active requests per host ( and probably more ).
Started to make spdy more like a part of a http request - i.e. upgrade if supported by both ends, etc.  Now load
tests seem to work - no more OOM. Due to compression spdy it's using more memory per connection, current tests don't enable compression
( it's accepted for incoming connections ).

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48516
markt [Tue, 12 Jan 2010 22:43:23 +0000 (22:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48516
Fix possible NPE when user does not exist in directory
Patch provided by Kevin Conaway

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

15 years agoImproved fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47774
markt [Tue, 12 Jan 2010 22:36:15 +0000 (22:36 +0000)]
Improved fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47774

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

15 years agoRevert fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47774
markt [Tue, 12 Jan 2010 22:15:31 +0000 (22:15 +0000)]
Revert fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47774
Better fix to follow

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48530
markt [Tue, 12 Jan 2010 22:03:32 +0000 (22:03 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48530
Add info on the Server Status page to the Manager How-To
Based on a patch by Arnaud Espy

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

15 years agoFix bug 48004. Allow applications to set the server header.
markt [Tue, 12 Jan 2010 21:36:49 +0000 (21:36 +0000)]
Fix bug 48004. Allow applications to set the server header.

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

15 years agoJULI needs to be on class path
markt [Tue, 12 Jan 2010 19:25:40 +0000 (19:25 +0000)]
JULI needs to be on class path

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48421
markt [Tue, 12 Jan 2010 19:06:48 +0000 (19:06 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48421
Clean up a web application's logs and handlers when it stops. This involved modifying the fix that prevented log messages being lost in shutdown.

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

15 years agoMake logging consistent for HTML and text interfaces
markt [Tue, 12 Jan 2010 18:27:33 +0000 (18:27 +0000)]
Make logging consistent for HTML and text interfaces

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

15 years agoUse string manager for log messages
markt [Tue, 12 Jan 2010 18:23:27 +0000 (18:23 +0000)]
Use string manager for log messages

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

15 years agoFix the Eclipse warnings for the host-manager
markt [Tue, 12 Jan 2010 17:57:55 +0000 (17:57 +0000)]
Fix the Eclipse warnings for the host-manager

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

15 years agoUpdate the comment. We don't want or need another full EL parser.
markt [Tue, 12 Jan 2010 13:33:58 +0000 (13:33 +0000)]
Update the comment. We don't want or need another full EL parser.

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

15 years agoAvoid NPE if bundle is missing
markt [Tue, 12 Jan 2010 12:03:07 +0000 (12:03 +0000)]
Avoid NPE if bundle is missing

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48524
markt [Tue, 12 Jan 2010 11:42:46 +0000 (11:42 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48524
Remove unused keys. Fix case issue for jsp.error.usebean.noSession.

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

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