summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2004-03-13nahi2004-03-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use druby://localhost:0, [ruby-dev:23078]seki2004-03-136-5/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@5944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-12nahi2004-03-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@5934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-10usa2004-03-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@5932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-09usa2004-03-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@5920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-08eban2004-03-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@5915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (lex.c): use $? instead of $<.eban2004-03-072-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add lib/net/https.rb.eban2004-03-071-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-07aamine2004-03-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@5905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* scanf.rbdblack2004-03-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refixed the previous fix in IO#block_scanfdblack2004-03-061-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/scanf.rbdblack2004-03-061-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed a logic glitch in IO#block_scanfdblack2004-03-061-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (PREP): ./miniruby and miniruby are distinguished bynobu2004-03-061-1/+1
| | | | | | | OpenBSD make. [ruby-dev:23148] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust white spaces.nobu2004-03-051-10/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: net/https is merged.aamine2004-03-053-94/+99
| | | | | | | * ext/openssl/lib/net/https.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-03-06eban2004-03-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * oniggnu.h: imported from Oniguruma library.ksaito2004-03-056-4890/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * oniguruma.h: ditto. * regcomp.c: ditto. * regenc.c: ditto. * regenc.h: ditto. * regerror.c: ditto. * regex.c: ditto. * regexec.c: ditto. * reggnu.c: ditto. * regint.h: ditto. * regparse.c: ditto. * regparse.h: ditto. * ascii.c: ditto. * euc_jp.c: ditto. * sjis.c: ditto. * utf8.c: ditto. * MANIFEST: added Oniguruma files listed above. * LEGAL: added Oniguruma license. * regex.h: now includes oniggnu.h. * re.c: applied Oniguruma patch. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionksaito2004-03-0515-0/+17522
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: support WebDAV methods, PROPPATCH, LOCK, UNLOCK, OPTIONS, ↵aamine2004-03-052-0/+114
| | | | | | PROPFIND, DELETE, MOVE, COPY, MKCOL. This patch is contributed by Tatsuki Sugiura. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: Net::HTTPResponse#response is obsolete. [ruby-core:02592]aamine2004-03-052-2/+19
| | | | | | | | * lib/net/http.rb: Net::HTTPResponse#header is obsolete. * lib/net/http.rb: Net::HTTPResponse#read_header is obsolete. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: new method StringScanner#initialize_copy to allow ↵aamine2004-03-053-1/+104
| | | | | | | | | #dup and #clone. * test/strscan/test_strscan.rb: test StringScanner#dup. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (HTTPResponse#to_ary): should return an object which does ↵aamine2004-03-052-1/+11
| | | | | | not respond to #to_ary. It causes infinite loop in puts. [ruby-core:02578] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move RDoc comments for Test::Unitdave2004-03-042-259/+263
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, mkconfig.rb: keep rbconfig.rb old ifnobu2004-03-042-10/+14
| | | | | | | unchanged. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e