summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2001-04-30Merge from irb 0.7.3.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-30Initial revisionknu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-24* ext/extmk.rb.in, lib/mkmf.rb: (dir_config) do not add theknu
specified include directory if already included in $CPPFLAGS. * ext/extmk.rb.in, lib/mkmf.rb: (dir_config) return a more useful value, [include_dir, lib_dir]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-17Wed Apr 18 04:37:51 2001 Wakou Aoyama <wakou@fsinet.or.jp>wakou
* lib/cgi.rb: CGI::Cookie: no use PATH_INFO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-09* lib/net/imap.rb: fix typo.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-03* ext/extmk.rb.in (create_makefile): create def file only ifeban
it does not yet exist. * lib/mkmf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-02* lib/monitor.rb (wait): fix timeout support.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-02* lib/monitor.rb (wait): ensure reentrance.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-02* lib/net/imap.rb (media_subtype): return subtype.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-02* lib/net/imap.rb (flag_list): capitalize flags.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-30* lib/net/imap.rb: add document and example code.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-30* lib/net/imap.rb: rename ContinueRequest to ContinuationRequest.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-28* ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to Cknu
rules for the mswin32 platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-28* ext/extmk.rb.in, lib/mkmf.rb: move C++ rules to the right place.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-26* lib/net/imap.rb: added example.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-26* lib/net/imap.rb: supports response handlers and multiple commands.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-21* gc.c (id2ref): sometimes confused symbol and reference.matz
* dir.c (glob_helper): breaks loop after calling recusive glob_helper; all wild cards should be consumed; no need for further match. * dir.c (dir_s_glob): gives warning if no match found. * object.c (sym_inspect): did allocate extra byte space. * marshal.c (shortlen): shortlen should return number of bytes written. * eval.c (ev_const_defined): need not to check if cbase->nd_class is rb_cObject. * eval.c (ev_const_get): ditto. * time.c (time_zone): return "UTC" for UTC time objects. * eval.c (THREAD_ALLOC): flags should be initialized. * signal.c (rb_f_kill): should use FIX2INT, not FIX2UINT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-18very sorry check miss.wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-18sorry erase miss.wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-18Sun Mar 18 08:58:18 2001 Wakou Aoyama <wakou@fsinet.or.jp>wakou
* lib/net/cgi.rb: // === '' --> //.match('') * lib/net/cgi.rb: cgi#header(): improvement for mod_ruby. * lib/net/cgi.rb: cgi#rfc1123date(): improvement. thanks to TADA Tadashi <sho@spc.gr.jp>. * lib/net/cgi.rb: cgi#rfc1123date(): document bug fix. thanks to Kazuhiro NISHIYAMA <zn@mbf.nifty.com>. * lib/net/cgi.rb: cgi#header(): bug fix. thanks to IWATSUKI Hiroyuki <don@na.rim.or.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-14* eval.c (rb_thread_schedule): raise FATAL just once tomatz
THREAD_TO_KILL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-13aamineaamine
* lib/net/http.rb: add HTTPRequest#basic_auth. * lib/net/smtp.rb: raise if only account or password is given. * lib/net/protocol.rb: WriteAdapter#<< returns self. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-13* io.c (argf_seek_m): wrong calling sequence of rb_io_seek().matz
* parse.y (cond0): no special treatment of string literal in condition. * math.c: add acos, asin, atan, conh, sinh, tanh and hypot to Math. * configure.in: check hypot availablility. * missing/hypot.c: public domain rewrite of hypot. * parse.y (warn_unless_e_option): warning condition was wrong. * parse.y (warning_unless_e_option): ditto. * enum.c (enum_all): new method 'all?', which returns true if block returns true for all elements. * enum.c (enum_any): new method 'any?', which returns true if block retruns true for any of elements. * marshal.c (marshal_load): do not give warning unless explicitly set to verbose. * eval.c (rb_exit): give string value "exit" to SystemExit. * ruby.c (proc_options): -v should not print version if proc_options called via moreswitches(). * parse.y (stmt): while/until modifier must work for empty body. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-12* lib/mkmf.rb (create_makefile): save/restore $libs and $LIBPATH.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-10* lib/mkmf.rb (install_rb): fix handling of destination path.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-08aamineaamine
* lib/net/protocol.rb: one write(2) per one line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-06* lib/monitor.rb: fixed the example code.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-26* eval.c (proc_call): should not modify ruby_block->frame.itermatz
based on ruby_frame->iter altered by PUSH_ITER(). * eval.c (rb_thread_fd_close): should save current context before raising exception. * io.c (set_stdin): preserve original stdin. * io.c (set_outfile): preserve original stdout/stderr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-25Mon Feb 26 05:27:52 2001 Wakou Aoyama <wakou@fsinet.or.jp>wakou
* lib/net/telnet.rb: #telnetmode(), #binmode(): bug fix. thanks to nobu.nakada@nifty.ne.jp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-25Mon Feb 26 04:55:50 2001 Wakou Aoyama <wakou@fsinet.or.jp>wakou
* lib/cgi.rb: CGI#form(): bug fix. thanks to MoonWolf <moonwolf@moonwolf.com>. * lib/cgi.rb: CGI#rfc1123_date(): improvement. thanks to Tomoyasu Akita <genzo-@dm4lab.to>. * lib/cgi.rb: CGI#header(): improvement for mod_ruby. thanks to Shugo Maeda <shugo@ruby-lang.org>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-24aamineaamine
* lib/net/http.rb: always close connection on request without body. * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: change copyright. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-22aamineaamine
* lib/net/protocol.rb: clear read buffer after reopen. * lib/net/protocol.rb: refactoring. * lib/net/http.rb: split module HTTPHeader from HTTPResponse. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-17aamineaamine
* lib/net/http.rb: Response#range_length was not debugged. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-15* process.c (proc_waitall): new method based on a patch from Brianmatz
Fundakowski Feldman <green@green.dyndns.org>. * process.c (last_status_set): objectify $? value (Process::Status). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-15* lib/cgi/session.rb (close): fixed reversed condition.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-14* lib/net/imap.rb: supports unknown resp_text_code.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-13* io.c (rb_io_ctl): do not call ioctl/fcntl for f2, if f and f2matz
have same fileno. * eval.c (rb_load): raise LocaJumpError if unexpected local jumps appear during load. * ext/socket/socket.c (bsock_close_read): don't call rb_thread_fd_close(); it's supposed to be called by io_io_close(). * ext/socket/socket.c (bsock_close_read): do not modify f and f2. * ext/socket/socket.c (bsock_close_write): ditto. * ext/socket/socket.c (sock_new): avoid dup(2) on sockets. * parse.y (primary): preserve and clear in_single and in_def using stack to prevent nested method errors in singleton class bodies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-08lib/mkmf.rb (create_makefile): add srcdir.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-08* parse.y (parse_quotedwords): %w should allow parenthesis escape.matz
* parse.y (parse_qstring): %q should allow terminator escape. * re.c (rb_reg_options): new method to give an option values. * parse.y (cond0): disable special treating of integer literal in conditional unless option -e is supplied. changes current behavior. experimental. * parse.y (cond0): give warning for string/integer literals and dot operators in conditionals unless option -e is supplied. * re.c (rb_reg_equal): all option flags should be same to be equal. * error.c (Init_Exception): make Interrupt a subclass of SignalException. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-07aamineaamine
* lib/net/http.rb: join HTTPReadResponse into HTTPResponse again. * lib/net/http.rb: move http_version() from HTTPRequest to HTTPResponse. * lib/net/protocol.rb: refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-07aamineaamine
* lib/net/http.rb: split HTTPResponse into HTTPReadResponse module. * lib/net/protocol.rb: add Net::net_private. * lib/net/protocol.rb: Socket#reopen takes arg, open_timeout. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-06aamineaamine
* lib/net/http.rb: Proxy did not work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-06aamineaamine
* lib/net/http.rb: call on_connect() on re-opening socket. * lib/net/pop.rb: also POP3 can use APOP auth. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-06aamineaamine
* lib/net/http.rb: add HTTP#request. * lib/net/http.rb: take HTTP 1.0 server into account (incomplete). * lib/net/protocol.rb: timeout for open/read. * lib/net/protocol.rb: add Protocol#on_connect,on_disconnect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-02* array.c (rb_ary_sort_bang): returns self, even if its length ismatz
less than 2. * eval.c (POP_VARS): propagate DVAR_DONT_RECYCLE, if SCOPE_DONT_RECYCLE of ruby_scope is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-26* parse.y: clarify do ambiguity, bit more complex but naturalmatz
from my point of view. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-24* lib/cgi.rb: fix the problem that when running under mod_rubyknu
header() outputs only one Set-Cookie line. Approved by: wakou, matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-19* parse.y (yylex): fixed serious syntax misbehavior. do'smatz
preceding was too high. a block in `foo bar do .. end' should be passed to `foo', not `bar'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-18* io.c (rb_io_s_read): new method to call IO#read frommatz
pathname. In addition, it accepts third optional argument to specify starting point. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-16aamineaamine
* lib/net/protocol.rb: ignore EOFError for read. * lib/net/http.rb: user specified header was not used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e