aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * array.c (rb_ary_and): should not push frozen key string.matz2001-05-162-15/+25
| | | | | | | | | | | | | | | | | | * array.c (rb_ary_or): ditto. * eval.c (rb_thread_schedule): should save context before raising deadlock, saved context for current thread might be obsolete. * time.c (make_time_t): non DST timezone shift supported (hopefully). * time.c (make_time_t): strict range detection for negative time_t. * signal.c: SIGINFO added. * eval.c (rb_ensure): should not SEGV when prot_tag is NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigdivrem): access boundary bug.matz2001-05-111-0/+2
| | | | | | | | | | | | | | | | | | | * marshal.c (w_object): prohibit dumping out singleton classes. * object.c (rb_mod_to_s): distinguish singleton classes. * variable.c (rb_class2name): it's ok to reveal NilClass, TrueClass, FalseClass. * eval.c (rb_yield_0): preserve and restore ruby_cref as well. * eval.c (is_defined): core dumped during instance_eval for special constants. * eval.c (rb_eval): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***keiju2001-05-084-27/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionknu2001-05-071-0/+94
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): "||=" should not warn for uninitialized instancematz2001-05-072-14/+15
| | | | | | | | | | | variables. * eval.c (rb_eval): ditto. * eval.c (eval): preserve and restore ruby_cref as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ftools.rb (syscopy): chmod destination file only ifeban2001-05-071-1/+2
| | | | | | | it does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-0610-58/+80
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of Japanese comments and fix English comments as appropriate.knu2001-05-0310-33/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* These files are also obsoleted.knu2001-04-302-92/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge from irb-tools 0.7.1.knu2001-04-303-13/+143
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This file is not needed anymore.knu2001-04-301-867/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge from irb 0.7.3.knu2001-04-307-50/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionknu2001-04-3012-0/+1441
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb: (dir_config) do not add theknu2001-04-241-26/+22
| | | | | | | | | | 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
* Wed Apr 18 04:37:51 2001 Wakou Aoyama <wakou@fsinet.or.jp>wakou2001-04-171-9/+5
| | | | | | | * 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
* * lib/net/imap.rb: fix typo.shugo2001-04-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (create_makefile): create def file only ifeban2001-04-031-2/+4
| | | | | | | | 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
* * lib/monitor.rb (wait): fix timeout support.shugo2001-04-021-9/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/monitor.rb (wait): ensure reentrance.shugo2001-04-021-11/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (media_subtype): return subtype.shugo2001-04-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (flag_list): capitalize flags.shugo2001-04-021-21/+49
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: add document and example code.shugo2001-03-301-7/+592
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: rename ContinueRequest to ContinuationRequest.shugo2001-03-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to Cknu2001-03-281-1/+16
| | | | | | | rules for the mswin32 platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb: move C++ rules to the right place.knu2001-03-281-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: added example.shugo2001-03-261-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: supports response handlers and multiple commands.shugo2001-03-261-79/+163
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (id2ref): sometimes confused symbol and reference.matz2001-03-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* very sorry check miss.wakou2001-03-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sorry erase miss.wakou2001-03-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sun Mar 18 08:58:18 2001 Wakou Aoyama <wakou@fsinet.or.jp>wakou2001-03-181-20/+20
| | | | | | | | | | | | | | | | | | * 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
* * eval.c (rb_thread_schedule): raise FATAL just once tomatz2001-03-141-1/+1
| | | | | | | THREAD_TO_KILL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-03-133-8/+17
| | | | | | | | | * 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
* * io.c (argf_seek_m): wrong calling sequence of rb_io_seek().matz2001-03-133-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * lib/mkmf.rb (create_makefile): save/restore $libs and $LIBPATH.eban2001-03-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (install_rb): fix handling of destination path.eban2001-03-101-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-03-082-18/+22
| | | | | | | * 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
* * lib/monitor.rb: fixed the example code.shugo2001-03-061-18/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_call): should not modify ruby_block->frame.itermatz2001-02-264-15/+4
| | | | | | | | | | | | | | 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
* Mon Feb 26 05:27:52 2001 Wakou Aoyama <wakou@fsinet.or.jp>wakou2001-02-251-196/+21
| | | | | | | | * 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
* Mon Feb 26 04:55:50 2001 Wakou Aoyama <wakou@fsinet.or.jp>wakou2001-02-251-174/+33
| | | | | | | | | | | | | | * 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
* aamineaamine2001-02-244-125/+157
| | | | | | | | * 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
* aamineaamine2001-02-222-146/+219
| | | | | | | | | * 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
* aamineaamine2001-02-171-16/+12
| | | | | | | * 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
* * process.c (proc_waitall): new method based on a patch from Brianmatz2001-02-151-0/+2
| | | | | | | | | 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
* * lib/cgi/session.rb (close): fixed reversed condition.shugo2001-02-151-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: supports unknown resp_text_code.shugo2001-02-141-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ctl): do not call ioctl/fcntl for f2, if f and f2matz2001-02-132-3/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* lib/mkmf.rb (create_makefile): add srcdir.eban2001-02-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parse_quotedwords): %w should allow parenthesis escape.matz2001-02-081-3/+4
| | | | | | | | | | | | | | | | | | | | | * 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