summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-03-16* configure.in: Set SOLIBS properly for all ELF andknu
FreeBSD/NetBSD/OpenBSD a.out platforms so that the shlib dependencies are recorded in the libruby shlib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1253 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-14* eval.c (rb_yield_0): 0 (= Qfalse) is a valid value, so thatmatz
default self should be checked by klass == 0. * bignum.c (rb_cstr2inum): should disallow '++1', '+-1', etc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-13* eval.c (ev_const_defined): add new parameter self for specialmatz
const fallback. * eval.c (ev_const_get): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-13* dir.c (rb_glob_helper): fix drive letter handling on DOSISH.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-13garvage is included.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-13* parse.y: warn -> rb_warneban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1246 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-09* math.c (math_log, math_log10): use nan() instead of 0.0/0.0 on Cygwin.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1238 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-07* math.c (math_log, math_log10): should return NaN if x < 0.0eban
on Cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1236 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-03-06* parse.y (primary): rescue and ensure clauses should be allowedmatz
to appear in singleton method body. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-05* eval.c (proc_eq): compare Procs using blocktag equality.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-052001-03-05eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-05* win32/win32.c (gettimeofday): use GetLocalTime() instead of ftime()eban
for high-resolution timing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-04Fill a missed ChangeLog entry.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-04* string.c (trnext): support backslash escape in String#tr.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-282001-02-28eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-28* string.c (rb_str_delete_bang): delete! should take at least 1matz
argument. * ruby.c (load_file): add rb_gc() after loading to avoid extraordinary memory growth. * dir.c (rb_glob_helper): "./foo" should match "foo", not "./foo". * eval.c (ev_const_get): retrieve Object's constant if no current class is available (e.g. defining singleton class for Fixnums). * eval.c (ev_const_defined): check Object's constant if no current class is available (e.g. defining singleton class for Fixnums). * time.c (time_timeval): negative time interval shoule not be allowed. * eval.c (proc_call): ignore block to `call' always, despite of being orphan or not. * eval.c (rb_yield_0): should check based on rb_block_given_p() and rb_f_block_given_p(). * configure.in (frame-address): --enable-frame-address to allow __builtin_frame_address() to be used. * eval.c (stack_length): use __builtin_frame_address() based on the macro USE_BUILTIN_FRAME_ADDRESS. * gc.c (rb_gc): ditto. * gc.c (Init_stack): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-272001-02-27eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-27* time.c (time_timeval): negative time interval shoule not bematz
allowed. * eval.c (proc_call): ignore block to `call' always, despite of being orphan or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1220 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-24* file.c (rb_file_s_rename): avoid Cygwin's bug.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-24* win32/win32.c (myrename): fix error handling.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1214 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-20* process.c: add W* macro if not available.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-20* configure.in: add check for negative time_t for gmtime(3).matz
* time.c (time_new_internal): no positive check if gmtime(3) can handle negative time_t. * time.c (time_timeval): ditto. * bignum.c (rb_big2long): should not raise RangeError for Bignum LONG_MIN value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-19* string.c (rb_str_substr): "a"[1,2] should return ""; needmatz
rubicon upgrade. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-192001-02-19eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-19* eval.c (secure_visibility): visibility check for untainted modules.matz
* signal.c (sigpipe): sighandler which does nothing. * signal.c (trap): set sigpipe function for SIGPIPE. * signal.c (Init_signal): default SIGPIPE handler should be sigpipe function. * array.c (rb_ary_subseq): wrong boundary check. * parse.y (cond0): integer literal in condition should not be compared to lineno ($.). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-182001-02-18eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-18* ext/curses/extconf.rb: add dir_config.eban
quote> * missing/flock.c: use fcntl(2) instead of lockf(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1196 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-17* win32/win32.c: fasten file I/O on mswin32/mingw32.usa
* win32/win32.h: ditto. * rubysig.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-16* io.c (set_outfile): f should be the FILE* from the assigning value.matz
* ext/socket/socket.c (tcp_s_open): should not give default value to local_host. * time.c (time_s_times): move to Process::times. * file.c (rb_file_s_lchmod): new method File::lchmod. * file.c (rb_file_s_lchown): new method File::lchown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-152001-02-15eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1191 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-142001-02-14eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1187 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-14* dir.c (dir_s_glob): supprt backslash escape of metacharactersmatz
and delimiters. * dir.c (remove_backslases): remove backslashes from path before calling stat(2). * dir.c (dir_s_glob): call rb_yield directly (via push_pattern) if block is given to the method. * dir.c (push_pattern): do not call rb_ary_push; yield directly. * eval.c (blk_copy_prev): reduced ALLOC_N too much. * eval.c (frame_dup): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-13* dir.c (lstat): should use rb_sys_stat if lstat(2) is noteban
available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-13gdbm typomatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e