summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/webrick/ssl.rb (WEBrick::Config::SSL): the default valuegotoyuzo2005-01-187-42/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | of :SSLEnable is false. * lib/webrick/server.rb (WEBrick::Daemon.start): prepared stdio don't allow changing its mode. * 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 response by HTTPServer#run. * lib/webrick/httputils (WEBrick::HTTPUtils.parse_qvalues): refine regexp (and change the name of a local variable). * lib/webrick/httputils.rb (WEBrick::HTTPUtils#escape_path): add new method to escape URI path component. * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should escape SCRIPT_NAME and PATH_INFO before being parsed as a URI. * test/webrick/*, sample/webrick/httpproxy.rb: add new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-01-1811-0/+927
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (aix): fix typo. [ruby-talk:126401]nobu2005-01-172-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: suppress warnings.nobu2005-01-167-24/+39
| | | | | | | | | | | | | | | | * lib/irb/extend-command.rb (IRB::ContextExtender.def_extend_command): ditto. * lib/irb/ext/history.rb (IRB::Context::set_last_value): ditto. * lib/irb/ext/history.rb (IRB::Context::eval_history): ditto. * lib/irb/locale.rb (IRB::Locale::real_load): ditto. * lib/irb/slex.rb (SLex::Node::create_subnode): remove garbage. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo fix.eban2005-01-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-17eban2005-01-161-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256]eban2005-01-162-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-15nobu2005-01-151-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): ignore trailing CRs at the end of shortnobu2005-01-152-3/+19
| | | | | | | options as well as long options. fixed: [ruby-core:04232] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/test_version.rb: 0.1.2 -> 0.1.3.kou2005-01-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::VERSION): 0.1.2 -> 0.1.3.kou2005-01-154-49/+113
| | | | | | | * lib/rss/rss.rb: accept inheritance. [ruby-talk:126104] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-13nobu2005-01-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fread): don't warn nonblocking behavior by default.akr2005-01-122-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-12nobu2005-01-111-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_class_superclass): superclass of singleton class alsonobu2005-01-112-0/+8
| | | | | | | should be a singleton class. fixed: [ruby-list:40519] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-11usa2005-01-111-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (Init_Numeric): turn off floating point exceptionsocean2005-01-112-0/+8
| | | | | | | on bcc32. "1e300".to_f had crashed by overflow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (copy_entry): could not copy symbolic link. ↵aamine2005-01-102-20/+24
| | | | | | | | | [ruby-talk:125733] * lib/fileutils.rb (copy_stream): use read/write instead of sysread/syswrite. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-10nobu2005-01-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_autoload): hide internal data from ruby level.nobu2005-01-102-1/+7
| | | | | | | fixed: [ruby-dev:25435], [ruby-list:40498] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * supplement descriptions.nobu2005-01-091-5/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-09eban2005-01-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fread): warn nonblocking behavior.akr2005-01-083-24/+161
| | | | | | | (io_readpartial): new method IO#readpartial. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-08eban2005-01-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: left a conflict indicator in there, sorry.why2005-01-071-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Kernel#y requires an argument.why2005-01-072-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init): use ALLOC_N instead of ALLOCA_Nakr2005-01-072-2/+7
| | | | | | | by TAMURA Takashi. [ruby-dev:25426] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-07nobu2005-01-071-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (mark_locations_array): avoid core dump with -O3.akr2005-01-072-2/+9
| | | | | | | [ruby-dev:25424] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_end): should return value. (backportedusa2005-01-062-1/+6
| | | | | | | from CVS HEAD) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set ML numberocean2005-01-061-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_close): didn't close socket handle.ocean2005-01-062-1/+22
| | | | | | | | * win32/win32.c (rb_w32_open_osfhandle): bcc32's _open_osfhandle never set EMFILE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_seed): O_NONBLOCK isn't defined on someocean2005-01-062-1/+9
| | | | | | | platforms. [ruby-dev:25417] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-06eban2005-01-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: recognize +00:00 and GMT as a localtime.akr2005-01-062-4/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow for colons in DOS file namesdave2005-01-052-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (limited_big_rand): didn't work if SIZEOF_BDIGITS == 2.akr2005-01-052-15/+26
| | | | | | | | | [ruby-dev:25408] * random.c (random_seed): refined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_initialize): Thread objects cannot be initializednobu2005-01-052-1/+17
| | | | | | | again. fixed: [ruby-core:04067] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_s_mkdir): win32 special processing doesn't need anyusa2005-01-054-5/+56
| | | | | | | | | | | | | longer. (backported from CVS HEAD) * win32/win32.[ch] (rb_w32_mkdir): new function. POSIX.1 compatible interface. (backported from CVS HEAD) * win32/win32.[ch] (rb_w32_rmdir): new function. (backported from CVS HEAD) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (init_by_array): imported from mt19937ar-cok.tgz.akr2005-01-040-0/+0
| | | | | | | | | | | | | | | (genrand_int32): ditto. (genrand_real): replaced with genrand_res53 in mt19937ar-cok. (rand_init): support bignum for longer seed. (random_seed): generate longer seed. (make_mask): new function. (limited_rand): ditto. (limited_big_rand): ditto. (rb_f_rand): call limited_rand and limited_big_rand. [ruby-dev:25403] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-01-042-0/+148
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (init_by_array): imported from mt19937ar-cok.tgz.akr2005-01-042-37/+229
| | | | | | | | | | | | | | | (genrand_int32): ditto. (genrand_real): replaced with genrand_res53 in mt19937ar-cok. (rand_init): support bignum for longer seed. (random_seed): generate longer seed. (make_mask): new function. (limited_rand): ditto. (limited_big_rand): ditto. (rb_f_rand): call limited_rand and limited_big_rand. [ruby-dev:25403] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-05eban2005-01-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_rand): should return positive random number.matz2005-01-041-1/+0
| | | | | | | [ruby-dev:25401] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-04eban2005-01-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_rand): should return positive random number.matz2005-01-042-1/+14
| | | | | | | | | | [ruby-dev:25401] * bignum.c (rb_big_rand): do not use rb_big_modulo to generate random bignums. [ruby-dev:25396] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_seed): don't use /dev/urandom if it is not character device.akr2005-01-032-3/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-03nobu2005-01-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_seed): use /dev/urandom if available.akr2005-01-032-1/+24
| | | | | | | [ruby-dev:25392] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):gotoyuzo2005-01-026-11/+31
| | | | | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e