aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2004-03-18eban2004-03-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove specialized version of rb_Array(). use simplematz2004-03-186-60/+13
| | | | | | | | | | | one defined in object.c. * object.c (Init_Object): remove Kernel#to_a. * enum.c (enum_zip): use "to_a" instead of "to_ary". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exc_initialize): calling 'to_str' each time just formatz2004-03-163-6/+14
| | | | | | | type checking is too heavy. [ruby-core:02661] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-17eban2004-03-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * oniguruma.h, regparse.c: imported Oniguruma 2.2.5.ksaito2004-03-163-20/+79
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r5960,ksaito2004-03-166-20/+19
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix ChangeLogocean2004-03-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-16usa2004-03-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix ChangeLogocean2004-03-161-8/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix ChangeLogocean2004-03-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (fnmatch_helper): File.fnmatch('\.', '.') should return true.ocean2004-03-162-23/+37
| | | | | | | | | | | | | (Rev1.112 lost compatiblity) * dir.c (fnmatch_helper): File.fnmatch('\/', '/', File::FNM_PATHNAME) should return true. (Rev1.112 lost compatiblity) * dir.c (fnmatch): '**/' shouldn't match leading period unless File::FNM_DOTMATCH is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-15eban2004-03-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): should not re-submit TAG_BREAK if thismatz2004-03-158-7/+18
| | | | | | | yield is not break destination. [ruby-dev:23197] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):gotoyuzo2004-03-152-1/+11
| | | | | | | add do_not_reverse_lookup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-14nobu2004-03-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_raise): err at unstarted thread. (PR#1302)nobu2004-03-142-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-13nahi2004-03-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use druby://localhost:0, [ruby-dev:23078]seki2004-03-136-5/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (fnmatch):ocean2004-03-122-106/+145
| | | | | | | | | | | | | | | directory recursion '**/' can be used with File::FNM_PATHNAME. [ruby-dev:22901] * dir.c (fnmatch_helper): only '/' is accepted as path separator even in DOSISH environment. [ruby-dev:22974] [ruby-list:39337] * dir.c (fnmatch_helper): faster '*' matching. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-12nahi2004-03-121-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_noreturn): default for platforms not supportnobu2004-03-124-10/+35
| | | | | | | | | | | | | | prototypes. * ruby.c (ruby_init_loadpath): buffer for path name should have MAXPATHLEN. * lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH. * lib/mkmf.rb (create_makefile): default dependency rule. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb (WEBrick::Config::General): addgotoyuzo2004-03-113-0/+13
| | | | | | | | | | | :DoNotReverseLookup. * lib/webrick/server.rb (WEBrick::GenericServer#accept): call do_not_reverse_lookup for each socket if :DoNotReverseLookup is set. [ruby-code:02357] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (test_rm_r): test if rm_rf can remove a ↵aamine2004-03-101-0/+9
| | | | | | symlink to the directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (remove_dir): should handle symlink correctly. This ↵aamine2004-03-102-1/+8
| | | | | | patch is contributed by Christian Loew. [ruby-talk:94635] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (return_jump): set return value to the returnmatz2004-03-102-57/+20
| | | | | | | | | | | | | | destination. separated from localjump_destination(). * eval.c (break_jump): break innermost loop (or thread or proc). * eval.c (rb_yield_0): set exit_value for block break. * eval.c (eval): Only print backtrace if generating the backtrace doesn't generate an exception. [ruby-core:02621] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_s_def): Struct::new executes block withmatz2004-03-1010-112/+373
| | | | | | | | | | generated struct class. [ruby-talk:02606] * io.c (rb_io_ungetc): raise IOError instead of calling rb_sys_fail(). [ruby-talk:23181] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-10usa2004-03-101-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (opt_W_getter): get rid of warning.usa2004-03-105-26/+40
| | | | | | | | * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub: fixed dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-09usa2004-03-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:usa2004-03-094-11/+88
| | | | | | | replaced regex.c entry with Oniguruma files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: replaced regex.c entry with Oniguruma files.ksaito2004-03-082-3/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: HTTPHeader did not initialized correctly.aamine2004-03-082-13/+20
| | | | | | | * lib/net/http.rb (connect): does same debug output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (add_header): remove warning. [ruby-dev:23170]aamine2004-03-082-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (range): Cancel change for incomplete '['. More discussionocean2004-03-082-3/+8
| | | | | | | is needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})akira2004-03-082-1/+6
| | | | | | | -> (?::#{PORT}). [ruby-dev:23170] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (range): treat incomplete '[' as ordinary character (likeocean2004-03-082-30/+43
| | | | | | | has_magic does). fix buffer overrun at incomplete escape like '[\'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * oniguruma.h (ONIG_EXTERN): check __GNUC__ instead of __CYGWIN__.eban2004-03-082-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-08eban2004-03-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (parse_exp): need to separate initialization for bcc32.eban2004-03-082-1/+8
| | | | | | | [ruby-dev:23169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHandergotoyuzo2004-03-074-11/+35
| | | | | | | | | | | | | | | | | | | | to :RequestCallback and add new option :ServerAlias. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use :RequestCallback and warn if :RequestHandler is in server's option. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print error message for WEBrick::HTTPSataus::Error. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server): lookup for hostname from :ServerAlias if the req.host is not match to :ServerName. * lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET): use $?.exitstatus and refine log message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (commit_new): use FileUtils.copy_stream for Cygwin.eban2004-03-072-6/+11
| | | | | | | [ruby-dev:23157] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (lex.c): use $? instead of $<.eban2004-03-072-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add lib/net/https.rb.eban2004-03-071-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-07aamine2004-03-061-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: HTTPHeader keeps its header fields as an array.aamine2004-03-063-53/+227
| | | | | | | | | | * lib/net/http.rb: new method HTTPHeader#add_header, get_fields. * lib/net/http.rb: new method HTTPHeader#content_length=. * lib/net/http.rb: new method HTTPHeader#content_type, main_type, sub_type, type_params, content_type=, set_content_type. * lib/net/http.rb (HTTPHeader#basic_encode): result of pack(m) may contain multiple LFs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: new method Net::HTTPRequest#body(=).aamine2004-03-062-19/+76
| | | | | | | * lib/net/http.rb: new method Net::HTTPRequest#body_stream(=). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: spin off https code again.aamine2004-03-068-384/+371
| | | | | | | | | | | | | | * lib/net/https.rb: new file. * ext/openssl/lib/net/https.rb: removed. moved to net/https with modifications. * ext/openssl/lib/net/protocol.rb: removed. merged with net/http. * lib/net/protocol.rb: new class BufferedIO. * lib/net/protocol.rb: InternetMessageIO < BufferedIO. * lib/net/protocol.rb: BufferedIO.new takes an IO. * lib/net/smtp.rb: follow InternetMessageIO's change. * lib/net/pop.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb: remove method: InternetMessageIO#address, port, ↵aamine2004-03-062-120/+83
| | | | | | | | | | ip_address, read_timeout(=), socket. * lib/net/protocol.rb: simplify code. * lib/net/protocol.rb: apply latest coding style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_init_copy): struct re_registers mustnobu2004-03-062-2/+11
| | | | | | | not be bitwise copied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/depend: depends on re.h and regex.h.nobu2004-03-063-8/+9
| | | | | | | * ext/strscan/strscan.c: no version check needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e