Fri Feb 15 08:32:40 2002  GOTO Kentaro  <gotoken@notwork.org>

	* version 1.1.5 released. 

Fri Feb 15 00:10:20 2002  GOTOU Yuuzou <gotoyuzo@notwork.org>

	* lib/webrick/httpserver.rb (HTTPServer#access_log):
	  added "Referer:" and "User-Agent:".

	* lib/webrick/server.rb (GenericServer#start): should use
	  Array instead of ThreadGroup for keeping the worker threads.

Thu Feb 14 00:25:18 2002  GOTOU Yuuzou <gotoyuzo@notwork.org>

	* lib/webrick/httputils.rb: escaped encoding methods are renamed.
	    escape        -> escape_form
	    unepcape      -> unescape_form
	    epcape_path   -> escape
	    unepcape_path -> unescape

	* lib/webrick/httprequest.rb (HTTPRequest#read_request_line):
	  should unescape the path of URI before normalize.

Sun Feb 10 23:08:00 2002  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* lib/webrick/httputils: fixed typo in `lowalpha' and `upalpha'.

Wed Feb  6 05:25:45 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* version 1.1.4 released.

Wed Feb  6 05:13:53 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/compat.rb: new file.

Sat Feb  2 02:11:01 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/server.rb: should rescue exceptions from
	  Socket#peeraddr.
	
Fri Feb  1 18:54:16 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpresponse.rb: added private method _write_data()
	  it handles EPIPE.

	* lib/webrick/httprequest.rb: added private method _read_data().
	  it returns nil if ECONNRESET is detected. 

	* lib/webrick/server.rb: refine rescue clause.

	* lib/webrick/httpserver.rb: ditto.

	* lib/webrick/httpservlet/erbhandler.rb: ditto.

Fri Jan 25 13:07:51 2002  NAKAMURA, Hirosi  <nakahiro@sarion.co.jp>

	* lib/webrick/httpservlet/filehandler: fixed typo.

Thu Jan 24 14:14:32 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httputils.rb (HTTPUrils::unescape): shold unescape
	  space first.

Thu Jan 24 01:58:10 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/server.rb (GenericServer#start): added a debug
	  message for inspecting inconsistent shutdown flow.

Wed Jan 23 04:30:28 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpservlet/cgi_runner.rb: use COMSPEC while
	  RUBY_PLATFORM is mswin or mingw.

Wed Jan 23 04:17:07 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httputils.rb (HTTPUtils::unescape_path): new method
	  to unescape the path of URI. but it does not unescape the
	  reserved characters defined by RFC2396.

	* lib/webrick/httprequest.rb (HTTPRequest#read_request_line):
	  should not unescape the path of request_uri.

	* lib/webrick/httprequest.rb (HTTPRequest#parse): unescape path.

Mon Jan 14 18:26:26 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/uri.rb: try to load Akira Yamada's uri.rb.

	* lib/webrick/httpserver.rb (HTTPServer#access_log): shold chop
	  off CRLF explicitly.

	* lib/webrick/version.rb: 2001-01-14

Mon Jan 14 02:28:15 2002  GOTO Kentaro  <gotoken@notwork.org>

	* lib/webrick/server.rb (GenericServer::start()): thread parameters
	  i, i.e., arguments of Thread.start, is not shielded.  Added j. 

Thu Jan 10 10:37:12 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/log.rb: typo fixed.

Wed Jan  9 09:09:43 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpresponse.rb: the updating of @cookies
	  had broken.

	* lib/webrick/cookie.rb: @expires should be initialized.

Sat Jan  5 23:02:05 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/log.rb: some functionanlity was pushed back
	  into Revision 1.9. set_device() and backtrace() are deprecated.
	  (a subset of Log4r will be supported in later version.)

	* lib/webrick/server.rb: Log#backtrace was replaced by Log#error.

	* lib/webrick/httpserver.rb: ditto.

Sat Jan  5 13:12:38 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/log.rb (Log#set_device): new method.

	* lib/webrick/httpserver.rb (HTTPServer#access_log): new method.

	* lib/webrick/httpservlet/cgihandler: refine error messages.

Thu Jan  3 05:12:28 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/version.h: 1.1.3 (2002-01-03)

	* version 1.1.3 released.

Thu Jan  3 04:11:21 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/HTTPRequest (HTTPRequest#parse): shold parse
	  the query-string if the method is GET or HEAD.
	  suggested by NaHi. thnaks.

	* lib/webrick/cookie.rb
	- Cookie#to_s: shold not escape Value, Path and Comment.
	- Cookie#to_s: shold not attach Version while its version is 0. 
	- Cookie#to_s: the delimitter of values is always "; "
	- Cookie::parse shold not unescape.

	* lib/webrick/config.rb: :ListenImmediately is added.

	* lib/webrick/server.rb (GenericServer#initialize): do not listen
	  if :ListenImmediately is not set.

Wed Jan  2 11:27:52 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/version.rb: 1.1.2 (2002-01-02)

	* version 1.1.2 released.

Wed Jan  2 11:01:32 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httprequest.rb: IO#gets() and IO#read() are replaced
	  by new methods: read_line() and read_data(). these methods are
	  the wrapper to raise RequestTimeout error.

	* lib/webrick/httpserver.rb: shold rescue RequestTimeout.

	* lib/webrick/server.rb (GenericServer#initialize): do not listen
	  if :Port is not set.

	* lib/webrick/server.rb (GenericServer#start): refine log messages.

	* lib/webrick/https.rb: override run() instead of start().

	* lib/webrick/log.rb (Log#log): refactored.

Tue Jan  1 02:20:30 2002  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpservlet/cgihandler.rb (CGIHandler#do_GET):
	  added some error checks.

	* lib/webrick/httpservlet/cgi_runner.rb: use COMSPEC to execute
	  CGI scripts. (for mswin32)

Mon Dec 31 22:09:56 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/server.rb (Daemon.start): the exit status of
	  parent process should be 0; suggested by NaHi. thnaks.

Sun Dec 30 06:55:53 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/config.rb: :TempDir was added.

	* lib/webrick/httpservlet/cgihandler.rb (CGIHandler#do_GET):
	  output from CGI scripts are passed through temporary files.

	* lib/webrick/httpservlet/cgi_runner.rb: ditto.

	* lib/webrick/httpauth.rb: (HTTPAuth::_basic_auth): the given
	  block is called even if the Authorization: header field
	  doesn't exist.

	* lib/webrick/version.rb: 2001-12-30

Mon Dec 24 08:58:51 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/https.rb: Ruby/OpenSSL version string was corrected.

Sat Dec 22 04:54:41 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpserver.rb (MountTab#compile): refine regex.

Fri Dec 21 03:28:50 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/uri.rb (URI#to_s): should reconstruct from instance
	  variables; suggested by Satoru Takabayashi. Thank you.

Thu Dec 20 02:07:04 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpserver.rb (HTTPServer#initialize): shold mount
	  FileHandler only if :DocumentRoot is specified.

	* lib/webrick/httpserver.rb (HTTPServer#search_servlet): returns
	  nil if no servlet was found.

	* lib/webrick/httpserver.rb (MountTab): refactored.
	  the rule of evaluation of the pathname was changed; the root
	  directory has empty name. so when a pathname "/xxx" is given
	  to the mount point "/", PATH_INFO becomes "/xxx" and
	  SCRIPT_NAME becomes empty. (note: CGI/1.1 specification allows
	  empty SCRIPT_NAME.)
	  other behaviors were not changed. or so i think :-)

	* test/TestWEBrickHTTPServer.rb: follow above changes.

Wed Dec 19 15:35:45 2001  GOTO Kentaro  <gotoken@notwork.org>

	* lib/webrick/httpserver.rb (HTTPServer::MountTab): created. 

	* lib/webrick/httpserver.rb (HTTPServer#search_servlet): rewrote
	  as regexp-based search. 

	* lib/webrick/httpserver.rb (HTTPServer#new): changed @mount_tab 
	  to an instance of MountTab < Hash. 

	* lib/webrick/httpserver.rb (HTTPServer#mount): moved path check
	  to MountTab#normalize. 

	* lib/webrick/httpserver.rb (HTTPServer#unmount): moved path check
	  to MountTab#normalize. 

	* test/TestWEBrickHTTPServer.rb: added some assertions for
	  HTTPServer#search_servlet().

Tue Dec 18 09:00:24 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/cookie.rb (Cookie#initialize): some instance
	  variables were not initialized.

Mon Dec 17 09:38:12 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* sample/rfc/rfc.rb (ShutdownServlet#do_GET): `break' has no
	  argument on ruby16.
  
	* version 1.1.1 released.

Sun Dec 16 22:48:02 2001  GOTO Kentaro  <gotoken@notwork.org

	* doc/webrick.rd
	- killed redundant "module Config"
	- fixed hello.rb bug
	- HTTPSServer is not subclass

Sun Dec 16 12:42:17 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* version 1.1.0 released.

Sun Dec 16 00:40:22 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/https.rb: moved from contrib directory.

Sat Dec 15 23:56:39 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/server.rb (GenericServer#listen): should rescue errors
	  from TCPSocket.new. (unsupported address family may be returned by
	  Socket::getaddrinfo on some platforms.)

	* lib/webrick/httpserver.rb (HTTPServer#run): should rescue
	  NameError explicitly since it under ScriptError in ruby-1.6.

	* lib/webrick/httpserver.rb (HTTPServer#mount_proc): new method for
	  mounting Proc objects or blocks like Servlets.
	  Rich Kilmer <rich@infoether.co> proposed this idea and
	  contributed code. thanks.

	* lib/httpservlet/prochandler.rb: new file.

Sat Dec 14 18:21:48 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpservlet/abstract.rb (AbstractServlet#initialize):
	  new instance variable @logger.

	* lib/webrick/httpservlet/erbhandler.rb: new-line is added to
	  error message.

	* lib/webrick/httpauth.rb: _basic_auth became private class method.

	* lib/webrick/log.rb: refactored.

	* ChangeLog: format fixed.

Fri Dec  7 01:43:26 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* version 1.0.0 released.

Thu Dec  6 04:42:18 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpservlet/filehandler.rb (FileHandler#set_dir_list):
	  the order of list in sorting by `Size' column was corrected.

Thu Dec  6 02:52:24 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/server.rb (GenericServer#start): the timeout of
	  IO::select was changed. (from 0.1sec to 2.0sec)

Tue Dec  4 01:57:00 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httprequest.rb (HTTPRequest#[],each): join values.

	* lib/webrick/httpserver.rb (HTTPServer#mount,umount): remove trailing
	  slashes in mount point.

	* sample/rfc/rfc.rb: reworked.

Sat Dec  1 00:04:45 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httprequest.rb (HTTPRequest#to_s): should use Array#join
	  in joining @raw_header.

	* lib/webrick/httpresponse.rb (HTTPResponse#send_header): sholdn't
	  overwite Server: header field.

	* lib/webrick/log.rb (Log::backtrace): shold join whole lines
	  before print.

	* lib/webrick/server.rb (GenericServer#start) shold use SizedQueue
	  instead of Queue.

	* lib/webrick/httpservlet/abstract.rb (AbstractServlet#initialize):
	  change type of the first argument from HTTPServer to config.

	* lib/webrick/httpservlet/cgihandler.rb: ditto.

	* lib/webrick/httpservlet/erbhandler.rb: ditto.

	* lib/webrick/httpservlet/httpserver.rb: ditto.

	* lib/webrick/httpservlet/httpserver.rb (HTTPServer#search_servlet):
	  reworked.

Thu Nov 29 06:31:56 2001  GOTO Kentaro  <gotoken@notwork.org>

	* lib/webrick/httpstatus: added HTTPStatus[n] which returns the 
	  exception class for the code n.  This uses a hash CodeToError. 

Thu Nov 29 04:24:07 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/version.rb: new file.

Wed Nov 28 02:58:16 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/server.rb: GenericServer#listen reworked.
	  all the addresses which returned by getaddrinfo should be bound.

Tue Nov 27 04:26:28 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/server.rb (GenericServer#shutdown): shold clear @listner.

Tue Nov 27 03:25:00 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/config.rb: :LogFile and :LogLevel was gone.
	  NOTICE: please specify an instance of WEBrick::Log as :Logger.

	* lib/webrick/server.rb: GenricServer.start was gone.

Sun Nov 25 03:52:46 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httputils.rb (normalize_path): reworked.

	* lib/webrick/httprequest.rb (HTTPRequest#parse): should rescue some
	  operations related to URI.

	* lib/webrick/httprequest.rb (HTTPRequest#parse): should chomp the
	  Request-Line in error messges.

	* test/TestWEBrickHTTPUtils.rb: new file.

Fri Nov 23 00:35:24 2001  Satoshi Takei  <takes@on.rim.or.jp>

	* lib/webrick/server.rb: should use $$ instead of Process.pid.
	  (see also ruby-bugs-ja:PR#153)

Sat Nov 17 12:56:33 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* OpenSSL::Pkey::RSA.new requires a block for callback.

Mon Nov 12 14:23:01 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httprequest.rb: new method to_s.

Sun Nov 11 14:45:05 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpserver.rb (HTTPServer#run): use
	  HTTPResponse#send_header() and send_body() instead of send_response().

	* lib/webrick/httpservlet/abstract.rb (AbstractServlet#do_HEAD):
	  should not clear the message body.

	* lib/webrick/utils.rb: new file.

	* lib/webrick/server.rb: su() went under Utils.

	* lib/webrick/httputils.rb: HTTPUtils::getservername went under Utils.

	* lib/webrick/config.rb: new constant RELEASE_DATE.

Fri Nov  9 14:43:17 2001  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/contrib/https.rb: SSLSocket was replaced by OpenSSL.
