tomcat7.0
15 years agoMove firing the events to StandardPipeline. This way calls to container.addValve...
markt [Thu, 4 Feb 2010 22:09:18 +0000 (22:09 +0000)]
Move firing the events to StandardPipeline. This way calls to container.addValve() and container.getPipeline().addValve() will both trigger the event.
Custom pipelines (unlikely but possible) would not trigger the event. The javadocs for Pipeline will be updated to note that they should in a following commit.
Part of removing the Pipeline interface from ContainerBase

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

15 years agoPrep for removing Pipeline interface from ContainerBase
markt [Thu, 4 Feb 2010 21:53:06 +0000 (21:53 +0000)]
Prep for removing Pipeline interface from ContainerBase

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

15 years agoInvert the logic for building dbcp/jdt
markt [Thu, 4 Feb 2010 21:26:41 +0000 (21:26 +0000)]
Invert the logic for building dbcp/jdt
a) makes more sense
b) should keep gump happy

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

15 years agoClarify that the exe is for 32 and 64 bit
markt [Thu, 4 Feb 2010 18:34:47 +0000 (18:34 +0000)]
Clarify that the exe is for 32 and 64 bit

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

15 years agoremove a println call
kkolinko [Thu, 4 Feb 2010 17:02:15 +0000 (17:02 +0000)]
remove a println call

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

15 years agoFix for a bug with processing of double quotes in AttributeParser#parseEL()
kkolinko [Thu, 4 Feb 2010 12:18:28 +0000 (12:18 +0000)]
Fix for a bug with processing of double quotes in AttributeParser#parseEL()

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

15 years agoTest for a bug with processing of double quotes in AttributeParser#parseEL
kkolinko [Thu, 4 Feb 2010 12:16:51 +0000 (12:16 +0000)]
Test for a bug with processing of double quotes in AttributeParser#parseEL

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

15 years agoBe a bit more specific in our tests:
kkolinko [Thu, 4 Feb 2010 11:24:07 +0000 (11:24 +0000)]
Be a bit more specific in our tests:
check for <p></p> surrounding the printed text

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

15 years agoServlet 3.0
markt [Wed, 3 Feb 2010 19:10:48 +0000 (19:10 +0000)]
Servlet 3.0
Effective major/minor version support

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

15 years agoRefactor
markt [Wed, 3 Feb 2010 17:55:20 +0000 (17:55 +0000)]
Refactor

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

15 years agoServlet 3.0 plumbing
markt [Wed, 3 Feb 2010 06:31:38 +0000 (06:31 +0000)]
Servlet 3.0 plumbing

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

15 years agoMore servlet 3.0 plumbing
markt [Wed, 3 Feb 2010 06:27:46 +0000 (06:27 +0000)]
More servlet 3.0 plumbing
Fix some Eclipse warnings

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

15 years agoDon't build dbcp or jdt unless we have to. This allows adding download as a dep to...
markt [Tue, 2 Feb 2010 21:01:45 +0000 (21:01 +0000)]
Don't build dbcp or jdt unless we have to. This allows adding download as a dep to compile. You can now do:
svn co...
ant release

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

15 years agoEnable direct building of the javadoc
markt [Tue, 2 Feb 2010 20:52:15 +0000 (20:52 +0000)]
Enable direct building of the javadoc

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

15 years agoFix Eclipse warnings
markt [Tue, 2 Feb 2010 20:18:16 +0000 (20:18 +0000)]
Fix Eclipse warnings

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

15 years agoFilter URL so it displays correctly.
markt [Tue, 2 Feb 2010 18:01:56 +0000 (18:01 +0000)]
Filter URL so it displays correctly.

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

15 years agoFix Eclipse warnings
markt [Tue, 2 Feb 2010 17:52:17 +0000 (17:52 +0000)]
Fix Eclipse warnings

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

15 years agoCorrect fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48039
markt [Tue, 2 Feb 2010 17:45:18 +0000 (17:45 +0000)]
Correct fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48039
Return immediately if already started

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

15 years agoRevert previous fix
markt [Tue, 2 Feb 2010 17:44:18 +0000 (17:44 +0000)]
Revert previous fix

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48050
markt [Tue, 2 Feb 2010 17:39:11 +0000 (17:39 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48050
createSubcontext method returns Context with wrong name
Based on a suggestion by gingyang.xu

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48039
markt [Tue, 2 Feb 2010 17:27:00 +0000 (17:27 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48039
Return immediately if already started

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48551
markt [Tue, 2 Feb 2010 17:21:23 +0000 (17:21 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48551
Use entrySet() rather than keySet() + get()
Patch provided by sebb

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

15 years agoTypo
markt [Tue, 2 Feb 2010 14:28:15 +0000 (14:28 +0000)]
Typo

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

15 years agoUpdate post merge
markt [Tue, 2 Feb 2010 13:35:16 +0000 (13:35 +0000)]
Update post merge

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48653
markt [Tue, 2 Feb 2010 13:28:55 +0000 (13:28 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48653
RemoteIpValve : request.secure and request.scheme are not forced to "false" and "http" if X-Forwarded-Proto=http
Patch provided by Cyrille Le Clerc

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48647
markt [Tue, 2 Feb 2010 13:25:42 +0000 (13:25 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48647
RemoteIpFilter : request.secure and request.scheme are not forced to "false" and "http" if X-Forwarded-Proto=http
Patch provided by Cyrille Le Clerc

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

15 years agoMerge dist.xml into main build script.
markt [Tue, 2 Feb 2010 13:18:32 +0000 (13:18 +0000)]
Merge dist.xml into main build script.
Fix dependencies.
You can now do:
  ant download
  ant installer
or any other target

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

15 years agoMinor cleanup
markt [Tue, 2 Feb 2010 12:45:01 +0000 (12:45 +0000)]
Minor cleanup

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

15 years agoMore post merge clean-up, mainly using jarIt
markt [Tue, 2 Feb 2010 12:43:24 +0000 (12:43 +0000)]
More post merge clean-up, mainly using jarIt

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

15 years agoClean and create dirs in right order so we have temp dir else strange things start...
markt [Tue, 2 Feb 2010 12:19:58 +0000 (12:19 +0000)]
Clean and create dirs in right order so we have temp dir else strange things start to go wrong

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

15 years agoUse jarIt macro to build dbcp and jdt jars
markt [Tue, 2 Feb 2010 11:02:01 +0000 (11:02 +0000)]
Use jarIt macro to build dbcp and jdt jars
Index JARs by default
Better patterns for tomcat-api and tomcat-util

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

15 years agoRemove separate extras build script
markt [Tue, 2 Feb 2010 00:26:28 +0000 (00:26 +0000)]
Remove separate extras build script

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

15 years agoMerge in extras.xml
markt [Tue, 2 Feb 2010 00:23:40 +0000 (00:23 +0000)]
Merge in extras.xml
Still need to look at making greater use of patternsets, jarIt etc for the extras

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

15 years agoClean up the main build file in preparation for merging with dist and extras
markt [Mon, 1 Feb 2010 23:21:41 +0000 (23:21 +0000)]
Clean up the main build file in preparation for merging with dist and extras
 - Add some headers
 - Remove stuff that isn't used
 - Get tests working
 - Fix dependencies
 - Group build targets together
 - rename tmp to manifests

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

15 years agoUpdate cookie tests. Remove obsolete test
markt [Mon, 1 Feb 2010 23:17:16 +0000 (23:17 +0000)]
Update cookie tests. Remove obsolete test

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

15 years agoFix test failure
markt [Mon, 1 Feb 2010 22:15:48 +0000 (22:15 +0000)]
Fix test failure

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

15 years agoMake the default manifest more useful by adding the full version number
markt [Mon, 1 Feb 2010 18:48:22 +0000 (18:48 +0000)]
Make the default manifest more useful by adding the full version number

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

15 years agoUpdate JSP spec version
markt [Mon, 1 Feb 2010 18:44:43 +0000 (18:44 +0000)]
Update JSP spec version

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

15 years agoRemove some unused stuff.
markt [Mon, 1 Feb 2010 18:00:44 +0000 (18:00 +0000)]
Remove some unused stuff.
Set eol at start of every target that produces a release artifact

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

15 years agoTrim stuff that isn't used (prior to merging into a single build.xml file)
markt [Mon, 1 Feb 2010 17:55:12 +0000 (17:55 +0000)]
Trim stuff that isn't used (prior to merging into a single build.xml file)

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

15 years agoDon't swallow the exception
markt [Mon, 1 Feb 2010 17:29:42 +0000 (17:29 +0000)]
Don't swallow the exception

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

15 years agoSync docs and APR/native connector config
markt [Mon, 1 Feb 2010 15:23:30 +0000 (15:23 +0000)]
Sync docs and APR/native connector config

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

15 years agoTweaks
markt [Mon, 1 Feb 2010 15:23:07 +0000 (15:23 +0000)]
Tweaks

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

15 years agoRemove unused attribute
markt [Mon, 1 Feb 2010 15:00:31 +0000 (15:00 +0000)]
Remove unused attribute

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

15 years agoAlign the HTTP and HTTPS documentation with the code. Move the APR/native configurati...
markt [Mon, 1 Feb 2010 14:39:47 +0000 (14:39 +0000)]
Align the HTTP and HTTPS documentation with the code. Move the APR/native configuration into the standard config directory.

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

15 years agoMinor correction to the JavaDoc for AttributeParser class
kkolinko [Mon, 1 Feb 2010 09:43:10 +0000 (09:43 +0000)]
Minor correction to the JavaDoc for AttributeParser class

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

15 years agoTypo
markt [Mon, 1 Feb 2010 00:24:00 +0000 (00:24 +0000)]
Typo

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

15 years agoUpdate info on zip distributions
markt [Mon, 1 Feb 2010 00:17:55 +0000 (00:17 +0000)]
Update info on zip distributions

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48616, a regression caused...
markt [Mon, 1 Feb 2010 00:04:40 +0000 (00:04 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48616, a regression caused by the fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=42390
The requirement for variable declaration also depends on whether or not a fragment helper has been used for the parent tag (if any). Where such a helper has been used, the variables must be redefined.
Test cases for both bugs and the JSP TCK pass with this patch applied.

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

15 years agoRestore the current 6.0.x implementation so patch to fix 48616 will apply cleanly...
markt [Mon, 1 Feb 2010 00:01:45 +0000 (00:01 +0000)]
Restore the current 6.0.x implementation so patch to fix 48616 will apply cleanly to 6.0.x

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

15 years agoAdd minimal version of test case provided by 'agharta' in for https://issues.apache...
markt [Sun, 31 Jan 2010 23:57:56 +0000 (23:57 +0000)]
Add minimal version of test case provided by 'agharta' in for https://issues.apache.org/bugzilla/show_bug.cgi?id=48616

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

15 years agoAdd test case for https://issues.apache.org/bugzilla/show_bug.cgi?id=42390
markt [Sun, 31 Jan 2010 22:49:34 +0000 (22:49 +0000)]
Add test case for https://issues.apache.org/bugzilla/show_bug.cgi?id=42390
JSP & tag file provided by MicroNova YUZU Team

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

15 years agoAlign implementation with comments. Unit test now passes.
markt [Sun, 31 Jan 2010 17:07:26 +0000 (17:07 +0000)]
Align implementation with comments. Unit test now passes.

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

15 years agoTest case for RequestUtil.
markt [Sun, 31 Jan 2010 13:42:09 +0000 (13:42 +0000)]
Test case for RequestUtil.
Current implementation does not agree with comment.

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

15 years agoAlign url decoding for bytes with url decoding for Strings. No functional change...
markt [Sun, 31 Jan 2010 13:30:30 +0000 (13:30 +0000)]
Align url decoding for bytes with url decoding for Strings. No functional change (for Tomcat) since the methods that use bytes are not called directly

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

15 years agoMake it clearer how unsupported encodings are handled
markt [Sun, 31 Jan 2010 13:22:04 +0000 (13:22 +0000)]
Make it clearer how unsupported encodings are handled
No functional change for supported encodings
Log attempted use of unsupported encodings, removing some empty catch blocks in the process

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

15 years agoBe clear in Javadoc about how unsupported encodings are handled. Add a debug message...
markt [Sun, 31 Jan 2010 13:08:39 +0000 (13:08 +0000)]
Be clear in Javadoc about how unsupported encodings are handled. Add a debug message for this case.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48645
markt [Sun, 31 Jan 2010 12:48:53 +0000 (12:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48645
Use specified encoding rather than null

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

15 years agoRevert r804734 (https://issues.apache.org/bugzilla/show_bug.cgi?id=42390) while I...
markt [Sun, 31 Jan 2010 12:34:22 +0000 (12:34 +0000)]
Revert r804734 (https://issues.apache.org/bugzilla/show_bug.cgi?id=42390) while I look for a better fix
Tab police

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48627
markt [Sun, 31 Jan 2010 01:40:39 +0000 (01:40 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48627
Don't convert literal attribute values to EL since attributes may not accept EL

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

15 years agoTest mixing ${...} and #{...} in the same expression
markt [Sun, 31 Jan 2010 00:56:47 +0000 (00:56 +0000)]
Test mixing ${...} and #{...} in the same expression

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

15 years agoAdd tests for AttributeParser and deferredSyntaxAllowedAsLiteral
markt [Sun, 31 Jan 2010 00:34:37 +0000 (00:34 +0000)]
Add tests for AttributeParser and deferredSyntaxAllowedAsLiteral

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48629
markt [Sat, 30 Jan 2010 23:08:46 +0000 (23:08 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48629
Get nested role search working when {1} is used in roleSearch
Patch provided by Gabriel

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

15 years agoChanging line endings isn't limited to source files.
markt [Sat, 30 Jan 2010 21:43:41 +0000 (21:43 +0000)]
Changing line endings isn't limited to source files.

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

15 years agoAdd a couple of debug messages
markt [Sat, 30 Jan 2010 17:57:40 +0000 (17:57 +0000)]
Add a couple of debug messages

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

15 years agoMinor cleanup
markt [Fri, 29 Jan 2010 14:50:45 +0000 (14:50 +0000)]
Minor cleanup

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

15 years agosvn:eol-style for a new file
kkolinko [Fri, 29 Jan 2010 02:53:55 +0000 (02:53 +0000)]
svn:eol-style for a new file

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

15 years agoFix comment typo
markt [Fri, 29 Jan 2010 00:10:40 +0000 (00:10 +0000)]
Fix comment typo

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

15 years agoAdd a test case for bug 48627
markt [Thu, 28 Jan 2010 23:35:39 +0000 (23:35 +0000)]
Add a test case for bug 48627

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

15 years agoFix according to https://issues.apache.org/bugzilla/show_bug.cgi?id=48613
fhanik [Thu, 28 Jan 2010 19:30:06 +0000 (19:30 +0000)]
Fix according to https://issues.apache.org/bugzilla/show_bug.cgi?id=48613

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

15 years agoRevert r903928, because it breaks Connector#setProtocol():
kkolinko [Thu, 28 Jan 2010 03:29:16 +0000 (03:29 +0000)]
Revert r903928, because it breaks Connector#setProtocol():
Apr connector is not auto-selected when TC-Native library is available

See https://issues.apache.org/bugzilla/show_bug.cgi?id=48613#c3

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

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=48613
fhanik [Thu, 28 Jan 2010 01:29:51 +0000 (01:29 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=48613
APR should not attempt to initialize if the listener has been removed from server.xml

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

15 years agoChange default to -1 since Sun packages for StreamEncoder do buffering
fhanik [Thu, 28 Jan 2010 00:25:03 +0000 (00:25 +0000)]
Change default to -1 since Sun packages for StreamEncoder do buffering
Also, make sure the default is properly read

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

15 years agoSet svn:mime-type property on the stylesheet.
kkolinko [Fri, 22 Jan 2010 06:27:52 +0000 (06:27 +0000)]
Set svn:mime-type property on the stylesheet.

The goal is to make the changelog.xml file on svn.apache.org be displayed as formatted HTML page in supporting browsers

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

15 years agoAdd <?xml-stylesheet PI instruction,
kkolinko [Fri, 22 Jan 2010 06:25:51 +0000 (06:25 +0000)]
Add <?xml-stylesheet PI instruction,
and set svn:mime-type property.

The goal is to make the changelog.xml file on svn.apache.org be displayed as formatted HTML page in supporting browsers

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

15 years agoFollowup to r901507
kkolinko [Thu, 21 Jan 2010 03:15:28 +0000 (03:15 +0000)]
Followup to r901507
svn:eol-style and svn:keywords for the new files

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

15 years agoServlet 3.0 implementation
markt [Thu, 21 Jan 2010 02:57:10 +0000 (02:57 +0000)]
Servlet 3.0 implementation
Implement some more of the new ServletContext methods

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

15 years agoSync with recent rename
markt [Thu, 21 Jan 2010 02:44:03 +0000 (02:44 +0000)]
Sync with recent rename

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

15 years agoRename
markt [Thu, 21 Jan 2010 02:38:20 +0000 (02:38 +0000)]
Rename

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

15 years agoWrong method name for modeler.
costin [Wed, 20 Jan 2010 00:23:10 +0000 (00:23 +0000)]
Wrong method name for modeler.

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

15 years agoFix local source paths, accidental commit.
costin [Tue, 19 Jan 2010 22:18:56 +0000 (22:18 +0000)]
Fix local source paths, accidental commit.

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

15 years agoFew more fixes after running the load tests, more monitoring.
costin [Tue, 19 Jan 2010 22:17:13 +0000 (22:17 +0000)]
Few more fixes after running the load tests, more monitoring.
The connection pool is now a top level class, a lot of fixes to handle spdy and http mixing.
Added support for header compression in SPDY requests, reduced window size.
Got it to compile again on android ( the UTF8 in getBytes - will add it back, but using the char-byte convertor )

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

15 years agoUse CRLF line ends in conf/* files installed by the Windows exe installer
kkolinko [Tue, 19 Jan 2010 11:27:33 +0000 (11:27 +0000)]
Use CRLF line ends in conf/* files installed by the Windows exe installer

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

15 years agoRemove broken link
markt [Sun, 17 Jan 2010 11:58:00 +0000 (11:58 +0000)]
Remove broken link

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

15 years agoServlet 3.0. Implement ServletContext.addFilter(String,String)
markt [Sun, 17 Jan 2010 10:37:17 +0000 (10:37 +0000)]
Servlet 3.0. Implement ServletContext.addFilter(String,String)

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

15 years agoFollowup to r899796
kkolinko [Sat, 16 Jan 2010 20:10:58 +0000 (20:10 +0000)]
Followup to r899796
Removed TODO markers, copied JavaDoc from the parent class

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

15 years agoTCK failure: Can't use the string representation to test for equality as whitespace...
markt [Sat, 16 Jan 2010 13:54:04 +0000 (13:54 +0000)]
TCK failure: Can't use the string representation to test for equality as whitespace must be ignored. Use the parsed nodes instead.

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

15 years agoTCK failure: Must check to see if property is resolved and throw exception if not.
markt [Sat, 16 Jan 2010 12:57:55 +0000 (12:57 +0000)]
TCK failure: Must check to see if property is resolved and throw exception if not.

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

15 years agoFix bug in Enum to Enum coercion spotted during code review
markt [Sat, 16 Jan 2010 10:50:12 +0000 (10:50 +0000)]
Fix bug in Enum to Enum coercion spotted during code review

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

15 years agoAdd some test cases for Enum to Enum coercion
markt [Sat, 16 Jan 2010 10:49:25 +0000 (10:49 +0000)]
Add some test cases for Enum to Enum coercion

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

15 years agoTCK failure. Wrong exception on failure.
markt [Sat, 16 Jan 2010 10:37:31 +0000 (10:37 +0000)]
TCK failure. Wrong exception on failure.

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

15 years agoMake a distinction based on type=javax.sql.DataSource or type=javax.sql.XADataSource...
fhanik [Fri, 15 Jan 2010 20:02:36 +0000 (20:02 +0000)]
Make a distinction based on type=javax.sql.DataSource or type=javax.sql.XADataSource, some components, like JIRA actually do an instanceof on the object to determine what it is instead of relying on the configuration.
Make static methods non static for easier extendability

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

15 years agoTCK failure. Make sure we throw an ELException, not an IAE.
markt [Fri, 15 Jan 2010 19:55:31 +0000 (19:55 +0000)]
TCK failure. Make sure we throw an ELException, not an IAE.

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

15 years agoTCK failure. Invalid index should throw PNFE.
markt [Fri, 15 Jan 2010 19:44:14 +0000 (19:44 +0000)]
TCK failure. Invalid index should throw PNFE.

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

15 years agoTCK failure. Make sure an ELException is throw if the conversion fails.
markt [Fri, 15 Jan 2010 19:37:46 +0000 (19:37 +0000)]
TCK failure. Make sure an ELException is throw if the conversion fails.

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

15 years agoFix TCK failure. Trying to assign an object of the wrong type to an array should...
markt [Fri, 15 Jan 2010 19:22:42 +0000 (19:22 +0000)]
Fix TCK failure. Trying to assign an object of the wrong type to an array should throw a ClassCaseException.

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

15 years agoFix TCK failure. Trying to assign an object of the wrong type to an array should...
markt [Fri, 15 Jan 2010 19:22:12 +0000 (19:22 +0000)]
Fix TCK failure. Trying to assign an object of the wrong type to an array should throw a ClassCaseException.

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

15 years agoRe-factoring. WebXml is a better fit in o.a.c.deploy
markt [Fri, 15 Jan 2010 18:04:22 +0000 (18:04 +0000)]
Re-factoring. WebXml is a better fit in o.a.c.deploy

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

15 years agorevert r899395
markt [Fri, 15 Jan 2010 15:40:35 +0000 (15:40 +0000)]
revert r899395

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

15 years agoFix the remaining TCK signature test failures.
markt [Fri, 15 Jan 2010 15:00:50 +0000 (15:00 +0000)]
Fix the remaining TCK signature test failures.

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