Directory test/webrick/

Directory Created:
2005-01-02 23:31
Total Files:
12
Deleted Files:
0
Lines of Code:
1212

Browse with ViewVC

[root]/test/webrick

Lines of Code

test/webrick/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 42 (100.0%) 1245 (100.0%) 29.6
gotoyuzo 26 (61.9%) 1229 (98.7%) 47.2
usa 1 (2.4%) 7 (0.6%) 7.0
matz 2 (4.8%) 6 (0.5%) 3.0
ocean 1 (2.4%) 3 (0.2%) 3.0
shyouhei 12 (28.6%) 0 (0.0%) 0.0

Most Recent Commits

shyouhei 2007-02-13 00:01

set svn:eol-style

0 lines of code changed in:

matz 2006-11-02 01:21

* lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Symbol should

come earlier than String.



* lib/soap/mapping/rubytypeFactory.rb (RubytypeFactory::obj2soap):

ditto.



* lib/set.rb (TC_Set::test_s_new): strings are no longer

Enumerable



* lib/soap/property.rb (Property::load): ditto.



* lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header): ditto.



* lib/soap/mimemessage.rb (MIMEMessage::Headers::parse): ditto.

1 lines of code changed in:

gotoyuzo 2006-09-08 02:04

* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new

method to parse multiple cookies per Set-Cookie header.

Thanks to Aaron Patterson <aaron_patterson at speakeasy.net>.

[ruby-core:08802]

31 lines of code changed in:

gotoyuzo 2006-07-31 05:39

* lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improve

for the value of IPv6 address in the Host: header field.

58 lines of code changed in:

gotoyuzo 2006-07-01 09:03

* test/webrick/utils.rb: use Proc#yield instead of Proc#call.

[ruby-dev:28914]

1 lines of code changed in:

gotoyuzo 2006-05-18 14:42

* lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters,

:InputBufferSize and :OutputBufferSize.



* lib/webrick/utils.rb (WEBrick::Utils.timeout): add new timeout

method. this implementation is expected to be compatible with

timeout.rb and faster than timeout.rb.



* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#_read_data):

Timeout.timeout is replaced by WEBrick::Utils.timeout.



* lib/webrick/httprequest.rb: WEBrick::HTTPRequest::BUFSIZE is

replaced by config[:InputBufferSize].



* lib/webrick/httpresposne.rb: WEBrick::HTTPResponse::BUFSIZE is

replaced by config[:OutputBufferSize].



* lib/webrick/server.rb: get rid of unnecessary require.



* test/webrick/test_utils.rb: test for WEBrick::Utils.timeout.

64 lines of code changed in:

usa 2006-02-22 08:27

* test/webrick/test_cgi.rb: should support platforms which search

library path from the interpreter's path.

And, support test without install incidentally.

7 lines of code changed in:

matz 2006-02-03 10:15

* eval.c: unify ruby_class (for method definition) and ruby_cbase

(for constant reference).



* eval.c (rb_call0): use TMP_ALLOC() instead of allocating

a temporary array object.



* eval.c (eval): need not to protect $SAFE value.

[ruby-core:07177]



* error.c (Init_Exception): change NameError to direct subclass of

Exception so that default rescue do not handle it silently.



* struct.c (rb_struct_select): update RDoc description.

[ruby-core:7254]



* numeric.c (int_upto): return an enumerator if no block is

attached to the method.



* numeric.c (int_downto): ditto.



* numeric.c (int_dotimes): ditto.



* enum.c (enum_first): new method Enumerable#first to take first n

element from an enumerable.



* enum.c (enum_group_by): new method Enumerable#group_by that

groups enumerable values according to their block values.

5 lines of code changed in:

gotoyuzo 2005-10-30 21:40

* lib/webrick/httpservlet/cgihandler.rb

(WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie:

header field should be splited into each cookie. [ruby-Bugs:2199]



* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method

to parse the value of Set-Cookie: header field.



* test/webrick/test_cookie.rb, test/webrick/test_cgi.rb,

test/webrick/webrick.cgi: add some test for cookie.

45 lines of code changed in:

ocean 2005-09-20 09:35

* test/webrick/test_cgi.rb: set ENV["PATH"] to CGIEnvPath on

windows. bcc32's runtime is not installed into system directory,

so it cannot be found without this setting. [ruby-dev:27166]

3 lines of code changed in:

gotoyuzo 2005-05-27 18:16

* lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):

ENV["REQUEST_URI"] is better to get correct Request-URI

than ENV["SCRIPT_NAME"] + ENV["PATH_INFO"]. [ruby-dev:26235]

11 lines of code changed in:

gotoyuzo 2005-04-29 23:10

* lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#logger

and WEBrick::CGI#config. these are necessary to use an instance of

WEBrick::CGI as the first argument of HTTPServlet#get_instance.

(suggested by Tatsuki Sugiura)



* lib/webrick/cgi.rb

(WEBrick::CGI#initalize): set a dummy to @config[:ServerSoftware]

if SERVER_SOFTWARE environment variable is not given.

(WEBrick::CGI#start): req.path_info must be a String.

(WEBrick::CGI::Socket#request_line): treat REQUEST_METHOD, PATH_INFO

and SCRIPT_NAME to run in console.



* lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape_path): should

not use String#split("/"). it removes trailing empty path component.

7 lines of code changed in:

gotoyuzo 2005-01-10 08:58

* test/webrick/utils.rb: resuce LoadError.

4 lines of code changed in:

gotoyuzo 2005-01-10 07:29

* lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should

escape SCRIPT_NAME and PATH_INFO before being parsed as a URI.



* lib/webrick/httputils.rb (WEBrick::HTTPUtils#escape_path): add

new method to escape URI path component.



* lib/webrick/ssl.rb (WEBrick::Config::SSL): the default value

of :SSLEnable is false.



* test/webrick/{test_cgi.rb,webrick.cgi}: new file.



* test/webrick/utils.rb: require "webrick/https.h".

73 lines of code changed in:

gotoyuzo 2005-01-08 20:09

* test/webrick/test_server.rb (test_daemon): delete an assertion

which has possibility to fail by race condition.

0 lines of code changed in:

gotoyuzo 2005-01-07 12:05

* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):

should delete trailing LF from the result of pack("m*").



* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):

- should delete trailing LF from the result of pack("m*").

- clear Request-Line not to send the sesponse by HTTPServer#run.



* lib/webrick/httputils (WEBrick::HTTPUtils.parse_qvalues):

refine regexp (and change the name of a local variable).



* lib/webrick/server.rb (WEBrick::Daemon.start): prepared stdio

don't allow changing its mode.



* test/webrick/*, sample/webrick/httpproxy.rb: add new files.

830 lines of code changed in:

gotoyuzo 2005-01-02 23:31

* lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):

raise NotImplementedError if password is encrypted by digest

algorithms. This patch is contributed by sheepman. [ruby-list:40467]



* lib/webrick/httpauth/digestauth.rb

(WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation.

This patch is contributed by sheepman. [ruby-list:40482]



* lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use

pack/unpack-template char "m" instead of lib/base64.rb to do base64

encoding/decoding. fixed: [ruby-dev:25336]



* test/webrick/test_httpauth.rb: new file.

105 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT