aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_autoload): hide internal data from ruby level.nobu2005-01-102-0/+6
| | | | | | | fixed: [ruby-dev:25373] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/utils.rb: resuce LoadError.gotoyuzo2005-01-101-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-10eban2005-01-101-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): shouldgotoyuzo2005-01-107-6/+100
| | | | | | | | | | | | | | | | | 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". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_select): IO list could be altered. [ruby-dev:25312]nobu2005-01-092-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/test_server.rb (test_daemon): delete an assertiongotoyuzo2005-01-082-2/+5
| | | | | | | which has possibility to fail by race condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-09eban2005-01-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (test_copy_entry): copy_entry copies only ↵aamine2005-01-082-2/+7
| | | | | | file type, not mtime. [ruby-dev:25383] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update readpartial document.akr2005-01-082-6/+8
| | | | | | | don't try read timeout on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2005-01-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-08eban2005-01-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Kernel#y requires an argument.why2005-01-072-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref. [ruby-dev:25426]akr2005-01-071-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init): use ALLOC_N instead of ALLOCA_Nakr2005-01-072-2/+6
| | | | | | | by TAMURA Takashi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):gotoyuzo2005-01-0714-34/+895
| | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-07nobu2005-01-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_end): should return value.usa2005-01-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set ML numberocean2005-01-061-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: recognize +00:00 and GMT as a localtime.akr2005-01-062-4/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow for colons in DOS file namesdave2005-01-052-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-06eban2005-01-051-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use MockClock.sleep instead of Kernel.sleep [ruby-dev:25387]seki2005-01-052-7/+126
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7731 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (BITSTACK_POP): workaround for bcc32 compiler's bug.ocean2005-01-054-2/+16
| | | | | | | | | | | shift assignment operator '>>=' for __int64 in struct may generate collapsed code. [ruby-dev:25342] * win32/win32.[ch]: failed to compile on bcc32 (and probably wince) [ruby-dev:25306] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_initialize): Thread objects cannot be initializednobu2005-01-052-4/+20
| | | | | | | again. fixed: [ruby-core:04067] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-05eban2005-01-041-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (init_by_array): imported from mt19937ar-cok.tgz.akr2005-01-043-37/+353
| | | | | | | | | | | | | | | (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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-04eban2005-01-041-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use DRbService.ext_service. reduce sleepseki2005-01-044-26/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7717 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-03nobu2005-01-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move TestDRbReusePort to new file [ruby-dev:25238]seki2005-01-034-9/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missed in last commit.gotoyuzo2005-01-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):gotoyuzo2005-01-026-8/+134
| | | | | | | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add lazy stop_serviceseki2005-01-021-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add lazy stop_serviceseki2005-01-023-9/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-02eban2005-01-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add method DRbService.ext_serviceseki2005-01-014-16/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_readpartial): new method ARGF.readpartial.akr2005-01-012-49/+111
| | | | | | | | (io_getpartial): extracted from io_readpartial. (io_readpartial): call io_getpartial. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update copyright yearaamine2005-01-012-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (each_capitalized): should join header field value. This ↵aamine2005-01-013-1/+16
| | | | | | | | | patch is contributed sheepman [ruby-list:40478] * test/net/http/test_httpheader.rb: test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to add itemsaamine2005-01-011-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (copy_stream): use read/write instead of ↵aamine2005-01-013-42/+136
| | | | | | | | | | sysread/syswrite, which allows duck typing. [ruby-dev:25369] * lib/fileutils.rb (copy_stream): does NOT support nonblocking IO. [ruby-dev:25370] * test/fileutils/test_fileutils.rb: test copy_entry, copy_file, copy_stream. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-01-01eban2005-01-011-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should callgotoyuzo2004-12-312-3/+8
| | | | | | | StringValue before GetSPKI. fixed: [ruby-dev:25359]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e