re-indented & tabified

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2003-05-15 10:23:52 +00:00
parent 131c29ffff
commit d8bd0ea32e

290
ChangeLog
View File

@ -1,10 +1,10 @@
Thu May 15 18:44:31 2003 Tanaka Akira <akr@m17n.org>
* lib/open-uri.rb (OpenURI::Redirect#initialize): call super to
initialize mesg.
* lib/open-uri.rb (OpenURI::Redirect#initialize): call super to
initialize mesg.
* lib/open-uri.rb (OpenURI::Meta#charset): call block to guess charset
if block is given and charset is not given.
* lib/open-uri.rb (OpenURI::Meta#charset): call block to guess charset
if block is given and charset is not given.
Thu May 15 16:55:16 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
@ -15,10 +15,10 @@ Thu May 15 16:55:16 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
Thu May 15 07:45:30 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net>
* ext/ruby/ext/syck/rubyext.c, lib/implicit.re: timestamp repairs to
timezone and milliseconds.
* ext/ruby/ext/syck/rubyext.c, lib/implicit.re: timestamp repairs to
timezone and milliseconds.
* lib/syck.c (syck_parser_reset_levels): duplicate string literal to avoid warning.
* lib/syck.c (syck_parser_reset_levels): duplicate string literal to avoid warning.
Thu May 15 13:26:48 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
@ -108,10 +108,10 @@ Tue May 13 14:48:07 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
Tue May 13 06:34:19 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net>
* lib/yaml/rubytypes.rb: object and struct loading
* lib/yaml.rb: YAML::detect_implicit will discover typing for a Ruby
string
* ext/syck/: Fixed portable comments, misuse of NULL and methods without
return VALUEs.
@ -130,18 +130,18 @@ Mon May 12 18:08:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
Sun May 11 13:50:12 2003 Tanaka Akira <akr@m17n.org>
* lib/pp.rb: refine to_s test.
* lib/pp.rb: refine to_s test.
* lib/pp.rb (PP::ObjectMixin#pretty_print): refine to_s handling.
* lib/pp.rb (PP::ObjectMixin#pretty_print): refine to_s handling.
Sun May 11 06:32:13 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net>
* ext/syck/implicit.c, ext/syck/rubyext.c: transfer methods applied to
native loading
* ext/syck/token.c: fix for transfer methods on same indentation as nested
mapping
* lib/yaml/rubytypes.rb: all type names in lowercase
Sat May 10 19:55:18 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net>
@ -149,9 +149,9 @@ Sat May 10 19:55:18 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net>
* ext/syck/gram.c ext/syck/handler.c ext/syck/implicit.c
ext/syck/node.c ext/syck/rubyext.c ext/syck/syck.c
ext/syck/syck.h ext/syck/token.c: updated to Syck 0.27
* lib/yaml/loader.rb: new YAML::Loader class
* lib/yaml.rb: loading of type families leverages YAML::DefaultLoader
Sat May 10 19:00:08 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
@ -222,7 +222,7 @@ Mon May 5 21:19:25 2003 Koji Arai <jca02266@nifty.ne.jp>
* ext/sdbm/init.c (fsdbm_values_at): ditto.
* ext/dbm/dbm.c (fdbm_values_at): ditto.
* ext/dbm/dbm.c (fdbm_values_at): ditto.
* ext/dbm/dbm.c (DBM::VERSION): defined.
@ -230,7 +230,7 @@ Mon May 5 21:19:25 2003 Koji Arai <jca02266@nifty.ne.jp>
* ext/sdbm/testsdbm.rb: ditto.
* ext/dbm/testdbm.rb: ditto.
* ext/dbm/testdbm.rb: ditto.
* ext/dbm/testdbm.rb (setup): DBM.open(path, 0400) cause EACCESS
on Berkeley DB[234].
@ -509,12 +509,12 @@ Tue Apr 22 09:20:40 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
Tue Apr 22 06:06:22 2003 Tanaka Akira <akr@m17n.org>
* lib/resolv.rb (Resolv::DNS::Resource#hash): use XOR to accumulate
hash value.
* lib/resolv.rb (Resolv::DNS::Resource#hash): use XOR to accumulate
hash value.
* lib/tsort.rb (TSort#each_strongly_connected_component): don't use
block argument.
(each_strongly_connected_component_from): ditto.
* lib/tsort.rb (TSort#each_strongly_connected_component): don't use
block argument.
(each_strongly_connected_component_from): ditto.
Mon Apr 21 21:59:48 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
@ -742,9 +742,9 @@ Thu Apr 10 01:52:24 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
Thu Apr 10 00:39:32 2003 Tanaka Akira <akr@m17n.org>
* regex.c (re_compile_pattern): /[\--\-]/ was warned. warn /]/.
* regex.c (re_compile_pattern): /[\--\-]/ was warned. warn /]/.
* mkconfig.rb: escape `]' in regexp.
* mkconfig.rb: escape `]' in regexp.
Thu Apr 10 00:27:07 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
@ -826,7 +826,7 @@ Mon Apr 7 01:33:31 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
Sun Apr 6 00:35:37 2003 Tanaka Akira <akr@m17n.org>
* sample/exyacc.rb: use Regexp in gsub!.
* sample/exyacc.rb: use Regexp in gsub!.
Sat Apr 5 23:41:28 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
@ -871,10 +871,10 @@ Sat Mar 29 17:54:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
Sat Mar 29 15:19:48 2003 Tanaka Akira <akr@m17n.org>
* instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,
lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb,
lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert
escape for `-' in character class.
* instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,
lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb,
lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert
escape for `-' in character class.
Sat Mar 29 09:48:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
@ -914,10 +914,10 @@ Fri Mar 28 18:29:23 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
Thu Mar 27 12:10:15 2003 Tanaka Akira <akr@m17n.org>
* regex.c (re_compile_pattern): fix [:name:] handling.
/[\[:digit:]]/ was treated as /[[:digit:]]/.
/[[:-@]/ was treated as /[\[:\-@]/.
/[%-[:digit:]]/ was treated as /[%-\[:digit:]\]/.
* regex.c (re_compile_pattern): fix [:name:] handling.
/[\[:digit:]]/ was treated as /[[:digit:]]/.
/[[:-@]/ was treated as /[\[:\-@]/.
/[%-[:digit:]]/ was treated as /[%-\[:digit:]\]/.
Thu Mar 27 03:26:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
@ -997,17 +997,17 @@ Sun Mar 23 19:54:53 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
Sat Mar 22 15:50:29 2003 Tanaka Akira <akr@m17n.org>
* time.c (make_time_t): try search_time_t if mktime/timegm is failed.
* time.c (make_time_t): try search_time_t if mktime/timegm is failed.
Sat Mar 22 13:26:33 2003 Tanaka Akira <akr@m17n.org>
* lib/optparse.rb, lib/jcode.rb, ext/tk/lib/tk.rb: reorder character
class /[\]\[]/ to /[\[\]]/ for readability.
* lib/optparse.rb, lib/jcode.rb, ext/tk/lib/tk.rb: reorder character
class /[\]\[]/ to /[\[\]]/ for readability.
Sat Mar 22 12:44:15 2003 Tanaka Akira <akr@m17n.org>
* lib/date/format.rb, lib/uri/common.rb: escape `[', `]', `-' in
character class in regexp to avoid warning.
* lib/date/format.rb, lib/uri/common.rb: escape `[', `]', `-' in
character class in regexp to avoid warning.
Sat Mar 22 07:39:32 2003 Ulf Betlehem <flu@iki.fi>
@ -1015,13 +1015,13 @@ Sat Mar 22 07:39:32 2003 Ulf Betlehem <flu@iki.fi>
Fri Mar 21 23:40:41 2003 Tanaka Akira <akr@m17n.org>
* regex.c (re_compile_pattern): fix previous change.
* regex.c (re_compile_pattern): fix previous change.
* instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb,
lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb,
lib/optparse.rb, lib/time.rb, lib/date/format.rb,
lib/irb/ruby-lex.rb: escape `[', `]', `-' in character class in
regexp to avoid warning.
* instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb,
lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb,
lib/optparse.rb, lib/time.rb, lib/date/format.rb,
lib/irb/ruby-lex.rb: escape `[', `]', `-' in character class in
regexp to avoid warning.
Fri Mar 21 23:23:45 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
@ -1176,8 +1176,8 @@ Sat Mar 8 11:30:59 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
Fri Mar 7 21:57:25 2003 Tanaka Akira <akr@m17n.org>
* lib/pp.rb (Kernel.pp): module function.
(MatchData#pretty_print): new method.
* lib/pp.rb (Kernel.pp): module function.
(MatchData#pretty_print): new method.
Fri Mar 7 20:27:19 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
@ -1350,7 +1350,7 @@ Wed Feb 26 17:38:16 2003 Tanaka Akira <akr@m17n.org>
Tue Feb 25 23:03:08 2003 NAKAMURA Hiroshi <nahi@ruby-lang.org>
* lib/debug.rb (DEBUGGER__::Context#debug_command): bp filename must
be the basename of it. [ruby-talk:65644]
be the basename of it. [ruby-talk:65644]
Mon Feb 24 17:49:35 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
@ -1975,19 +1975,19 @@ Tue Jan 21 16:22:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
Tue Jan 21 14:46:12 2003 Tanaka Akira <akr@m17n.org>
* lib/pp.rb: Use Test::Unit.
* lib/pp.rb: Use Test::Unit.
* lib/prettyprint.rb: Ditto
* lib/prettyprint.rb: Ditto
* lib/time.rb: Ditto
* lib/time.rb: Ditto
* lib/tsort.rb: Ditto
* lib/tsort.rb: Ditto
Tue Jan 21 04:15:50 2003 Tanaka Akira <akr@m17n.org>
* lib/pp.rb: Use redefined `to_s' as well as `inspect'.
Useless `pretty_print' methods removed.
(PP::ObjectMixin#pretty_print_inspect): new method.
* lib/pp.rb: Use redefined `to_s' as well as `inspect'.
Useless `pretty_print' methods removed.
(PP::ObjectMixin#pretty_print_inspect): new method.
Mon Jan 20 21:48:43 2003 Akinori MUSHA <knu@iDaemons.org>
@ -2540,7 +2540,7 @@ Sun Dec 29 23:45:53 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
Sun Dec 29 15:30:37 2002 Minero Aoki <aamine@loveruby.net>
* lib/fileutils.rb (fu_parseargs): should not inherit ftools.rb's
misfeature.
misfeature.
Sun Dec 29 05:08:13 2002 NAKAMURA Usaku <usa@ruby-lang.org>
@ -2860,7 +2860,7 @@ Tue Dec 17 16:52:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
Tue Dec 17 04:03:45 2002 Tanaka Akira <akr@m17n.org>
* lib/open-uri.rb: new file.
* lib/open-uri.rb: new file.
Tue Dec 17 00:28:19 2002 NAKAMURA Usaku <usa@ruby-lang.org>
@ -2979,7 +2979,7 @@ Tue Dec 10 17:42:39 2002 2002 K.Kosako <kosako@sofnec.co.jp>
Tue Dec 10 17:30:35 2002 Tanaka Akira <akr@m17n.org>
* pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence.
* pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence.
Tue Dec 10 12:01:15 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
@ -4012,7 +4012,7 @@ Wed Sep 25 23:51:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
Wed Sep 25 17:46:46 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/mkmf.rb (libpathflag): restore ENV['LIB'] when some error
occurred.
occurred.
Wed Sep 25 16:14:51 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
@ -4502,7 +4502,7 @@ Wed Sep 4 15:23:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
Wed Sep 4 05:10:16 2002 Koji Arai <jca02266@nifty.ne.jp>
* parse.y (yylex): the warning message "invalid
character syntax" was never issued (ruby-bugs-ja:PR#323).
character syntax" was never issued (ruby-bugs-ja:PR#323).
Wed Sep 4 01:08:45 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
@ -9630,9 +9630,9 @@ Fri Aug 17 00:49:51 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
Thu Aug 16 23:03:40 2001 Koji Arai <JCA02266@nifty.ne.jp>
* io.c: prevent recursive malloc calls on NEC UX/4800.
* io.c: prevent recursive malloc calls on NEC UX/4800.
* ext/socket/socket.c: ditto.
* ext/socket/socket.c: ditto.
Thu Aug 16 13:54:04 2001 Usaku Nakamura <usa@ruby-lang.org>
@ -10846,7 +10846,7 @@ Fri May 11 03:34:20 2001 Akinori MUSHA <knu@iDaemons.org>
* README.EXT.jp: Remove the description of find_header() because
such a function does not actually exist.
* README.EXT.jp: Update the description of dir_config().
Fri May 11 02:42:05 2001 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
@ -10998,7 +10998,7 @@ Thu Apr 26 22:30:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
Thu Apr 26 10:36:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_schedule): infinite sleep should not cause
* eval.c (rb_thread_schedule): infinite sleep should not cause
dead lock.
Wed Apr 25 16:40:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
@ -11007,7 +11007,7 @@ Wed Apr 25 16:40:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
Wed Apr 25 15:36:15 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (yield_under): need not to prohibit at safe level 4.
* eval.c (yield_under): need not to prohibit at safe level 4.
Wed Apr 25 15:22:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
@ -18988,7 +18988,7 @@ Fri Oct 16 15:31:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Thu Oct 15 13:54:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (arg): local variables can be accessed within right side
expression in assignment, notably in blocks.
expression in assignment, notably in blocks.
Wed Oct 14 00:18:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19037,7 +19037,7 @@ Thu Oct 8 13:32:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_dump): marshal can dump Time object now.
* marshal.c (Init_marshal): rename marshal methods `_dump_to' to
`_dump', `_load_from' to `_load'.
`_dump', `_load_from' to `_load'.
* parse.y (rb_intern): "+=".intern generates proper symbol.
@ -19082,7 +19082,7 @@ Thu Sep 17 17:09:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Tue Sep 15 05:28:11 1998 Koji Arai <JCA02266@nifty.ne.jp>
* regex.c (re_compile_pattern): forgot to fixup for the pattern
like (?=(A)|(B)).
like (?=(A)|(B)).
Tue Sep 15 01:06:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19120,7 +19120,7 @@ Tue Sep 8 18:05:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Tue Sep 8 10:03:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_each_line): wrong line splitting with newline at
top of the string.
top of the string.
* string.c: non bang methods return copied string.
@ -19241,8 +19241,8 @@ Wed Aug 19 00:31:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Fri Aug 14 11:01:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (call_trace_func): save __FILE__, __LINE__ before
executing trace_func, since trace function should not corrupt
line number information.
executing trace_func, since trace function should not corrupt
line number information.
Thu Aug 13 15:09:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19259,7 +19259,7 @@ Mon Aug 10 14:05:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Fri Aug 7 17:44:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* error.c (err_snprintf): replace sprintf for fixed sized buffer,
with snprintf to avoid buffer over-run. For systems which does
with snprintf to avoid buffer over-run. For systems which does
dot provide snprintf, missing/snprintf.c added.
Wed Aug 5 00:47:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19354,7 +19354,7 @@ Fri Jul 17 08:01:49 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
Thu Jul 16 22:58:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (scan_once): substrings to the block should not be
tainted. use reg_nth_match(), not str_substr().
tainted. use reg_nth_match(), not str_substr().
* string.c (str_substr): needed to transfer taint.
@ -19372,7 +19372,7 @@ Wed Jul 15 15:11:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Wed Jul 15 15:05:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_create): exit() and abort() in threads now
forwarded to main_thread.
forwarded to main_thread.
Tue Jul 14 14:03:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19436,7 +19436,7 @@ Fri Jul 3 11:20:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Thu Jul 2 12:49:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (w_object): remove `write_bignum' label for 64bit
architectures.
architectures.
* marshal.c (r_bytes): needs int, not long.
@ -19498,7 +19498,7 @@ Tue Jun 23 11:46:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Sat Jun 20 02:53:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (assignable): nesting local variables should have higher
priority than normal local variables for assignment too.
priority than normal local variables for assignment too.
Fri Jun 19 18:28:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19532,7 +19532,7 @@ Thu Jun 18 13:37:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Wed Jun 17 11:20:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (gettable): nesting local variables should have higher
priority than normal local variables.
priority than normal local variables.
Tue Jun 16 12:30:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19614,8 +19614,8 @@ Sat Jun 6 22:50:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
{start,stop}_nowidth.
* regex.c (re_match): various features imported from GNU regex.c
0.12, such as nested grouping, avoiding infinite loop with empty
match, etc.
0.12, such as nested grouping, avoiding infinite loop with empty
match, etc.
* regex.c (register_info_type): now use union.
@ -19639,7 +19639,7 @@ Tue Jun 2 16:00:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Sat May 30 07:10:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (reg_prepare_re): no more needless regular expression
recompile on casefold conditions.
recompile on casefold conditions.
Thu May 28 18:02:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19703,10 +19703,10 @@ Tue May 19 16:36:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Tue May 19 16:31:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (assignable): specification changed for in-block
variable definition.
variable definition.
* eval.c (dyna_var_asgn): error in in-block variables' compile
time definition.
time definition.
* parse.y (str_extend): wrong nesting detection.
@ -19750,7 +19750,7 @@ Thu May 14 14:44:21 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
Thu May 14 14:03:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* random.c (RANDOM_MAX): guessing proper maximum value for random
numbers.
numbers.
* random.c (f_rand): use drand48 if possible.
@ -19820,7 +19820,7 @@ Wed May 6 01:37:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c: remove global variable `errat'.
* eval.c (rb_longjmp): embed error position information in the
exception object.
exception object.
Sat May 2 12:20:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19917,7 +19917,7 @@ Fri Apr 24 14:35:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* random.c (f_srand): use tv_usec as the default seed.
* eval.c (rb_eval): values of nested local variables should be
independent.
independent.
* eval.c (rb_yield_0): local variables wrong nested conditions.
@ -19926,7 +19926,7 @@ Wed Apr 22 23:27:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (select_get_io): get IO object by `to_io'.
* io.c (io_to_io): method to retrieve IO object, from delegating
object for example.
object for example.
Wed Apr 22 16:52:37 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -19978,7 +19978,7 @@ Sat Apr 18 03:53:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
each_with_index instead.
* class.c (rb_include_module): check for super modules, since
module's included modules may be changed.
module's included modules may be changed.
Fri Apr 17 21:50:47 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
@ -20011,7 +20011,7 @@ Thu Apr 16 16:52:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/tk.rb: thread support (experimental - maybe slow).
* eval.c (rb_longjmp): trace event on exception in raising
context, just before raising exception.
context, just before raising exception.
* struct.c (struct_s_members): forgot to check singletons.
@ -20028,8 +20028,8 @@ Thu Apr 16 01:38:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (thread_flock): do not block other threads.
* eval.c (thread_trap_eval): signals are now delivered to the
current thread again. In case that the current thread is dead,
signals are forwarded to the main thread.
current thread again. In case that the current thread is dead,
signals are forwarded to the main thread.
* string.c (str_new4): need not to duplicate frozen strings.
@ -20051,7 +20051,7 @@ Wed Apr 15 01:22:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
receiver.
* io.c (io_puts): avoid generating "\n" each time. use RS_default
instead.
instead.
* io.c (f_p): ditto.
@ -20169,7 +20169,7 @@ Tue Apr 7 01:16:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (ins_methods_i): exclude protected methods.
* eval.c (PUSH_BLOCK): dynamic variables can be accessed from
eval() with bindings.
eval() with bindings.
Mon Apr 6 14:49:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20181,7 +20181,7 @@ Fri Apr 3 13:07:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
conditions.
* variable.c (rb_name_class): set classname by id before String
class is initialized (1.0 behavior restored).
class is initialized (1.0 behavior restored).
Fri Apr 3 11:25:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20192,7 +20192,7 @@ Fri Apr 3 11:25:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (num_zero_p): new method.
* numeric.c (num_nonzero_p): new method. returns the receiver if
it's not zero.
it's not zero.
* eval.c (obj_instance_eval): the_class should be the object's
singleton class.
@ -20221,7 +20221,7 @@ Tue Mar 31 13:23:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (bind_s_new): new method.
* numeric.c (num2int): raise exception if Fixnums too big to
convert into `int' in case that sizeof(int) < sizeof(INT).
convert into `int' in case that sizeof(int) < sizeof(INT).
* string.c (str_center): SEGV on negative width.
@ -20249,7 +20249,7 @@ Mon Mar 30 01:44:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (mod_module_eval): ditto
* file.c (file_s_umask): umask did not return old values, if no
argument given.
argument given.
Sun Mar 29 00:54:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20268,7 +20268,7 @@ Sat Mar 28 16:07:11 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
Sat Mar 28 00:47:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (f_local_variables): new method to return an array of
local variable names.
local variable names.
* variable.c (obj_instance_variables): now returns an array of
variable names, as described in the reference.
@ -20283,8 +20283,8 @@ Fri Mar 27 13:49:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (ruby_prog_init): `site_ruby' added to load_path.
* ruby.c (ruby_prog_init): load-path order changed. Paths in
the RUBYLIB environment variable comes first in non-tainted
mode.
the RUBYLIB environment variable comes first in non-tainted
mode.
Thu Mar 26 11:51:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20302,7 +20302,7 @@ Wed Mar 25 21:20:13 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
Wed Mar 25 08:12:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (flo_modulo): caused SEGV if left operand is not a
float value.
float value.
* eval.c (f_eval): optional third and fourth argument to specify
file-name and line-number.
@ -20330,10 +20330,10 @@ Mon Mar 23 12:44:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Fri Mar 20 16:40:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_chomp_bang): chomp! (and other ! methods) returns
nil if it does not modify the string.
nil if it does not modify the string.
* string.c (str_sub_iter_s): should check last pattern since it
may be matched to null.
may be matched to null.
Thu Mar 19 13:48:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20357,7 +20357,7 @@ Tue Mar 17 18:23:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (bigdivmod): calculates modulo.
* numeric.c (fix_remainder): returns reminder, formerly introduced
as modulo.
as modulo.
* numeric.c (fix_modulo): calculates proper `modulo'.
@ -20428,7 +20428,7 @@ Wed Mar 11 02:14:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
NOEX_UNDEF-ness, if exists.
* class.c (rb_define_method): disables superclass's overriding
method by default.
method by default.
Wed Mar 11 01:40:48 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
@ -20482,7 +20482,7 @@ Wed Mar 4 01:39:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): block arg support.
* parse.y (f_block_arg): new syntax - block argument in the
formal arglist.
formal arglist.
Tue Mar 3 14:20:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20506,7 +20506,7 @@ Tue Mar 3 11:21:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Tue Mar 3 08:04:56 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* struct.c (struct_alloc): incomplete struct initialization made
GC to access unallocated addresses.
GC to access unallocated addresses.
Mon Mar 2 16:28:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20530,7 +20530,7 @@ Thu Feb 26 17:22:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (fname): convert reswords into symbols.
* parse.y (reswords): reserved words are now embedded in the
syntax (sigh).
syntax (sigh).
* parse.y: now reserved words can be method names safely.
@ -20548,10 +20548,10 @@ Wed Feb 25 15:50:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Tue Feb 24 11:16:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): reserved words can be appear as method names at
right after 'def' and `.'(dot), like foo.next.
right after 'def' and `.'(dot), like foo.next.
* eval.c (return_check): checks for return out of thread (formerly
done in return_value).
done in return_value).
* eval.c (POP_TAG): copy retval to outer level.
@ -20563,7 +20563,7 @@ Tue Feb 24 11:16:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
closing parentheses.
* parse.y (assignable): should not assign dyna_var to true, if it
is already defined.
is already defined.
Mon Feb 23 14:35:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20614,7 +20614,7 @@ Wed Feb 18 18:45:10 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
Wed Feb 18 00:41:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_sub_s): needed to be mbchar aware to increment one
character.
character.
* regex.c (re_match): \Z matches newline just before the end of
the string.
@ -20622,7 +20622,7 @@ Wed Feb 18 00:41:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Tue Feb 17 00:04:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_arg): Time.gm and Time.local now understands
Time#to_a format.
Time#to_a format.
* string.c (str_sub_s): replace happened twice for null pattern.
@ -20644,7 +20644,7 @@ Mon Feb 16 23:55:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (blk_free): release duplicated block informations.
* eval.c (blk_copy_prev): duplicate outer block information into
the heap, when proc/binding created.
the heap, when proc/binding created.
Mon Feb 16 14:38:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20655,7 +20655,7 @@ Mon Feb 16 14:38:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Mon Feb 16 13:28:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): need to fetch mbchar's second byte
without translation.
without translation.
Mon Feb 16 12:29:27 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
@ -20675,8 +20675,8 @@ Tue Feb 10 17:29:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_oct): does recognize `0x'.
* sprintf.c (f_sprintf): use base 10 for conversion from string to
integer.
* sprintf.c (f_sprintf): use base 10 for conversion from string to
integer.
Mon Feb 9 14:51:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20703,7 +20703,7 @@ Thu Feb 5 18:58:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
Thu Feb 5 14:10:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (primary): singleton class def can be appeared inside
method bodies.
method bodies.
* hash.c (hash_replace): replace content.
@ -20784,7 +20784,7 @@ Thu Jan 22 16:21:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): some singleton class def cause SEGV.
* eval.c (TMP_ALLOC): replace ALLOCA_N, where thread context
switch may happen.
switch may happen.
Wed Jan 21 01:43:42 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20804,14 +20804,14 @@ Tue Jan 20 15:19:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/tcltklib/extconf.rb: more accurate check for tcl/tk libs.
* file.c (rb_stat): most of the FileTest methods (and function
`test') accept File objects as the argument.
`test') accept File objects as the argument.
Tue Jan 19 18:19:24 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/extmk.rb.in (install): there should be no newline after install:
* re.c (MIN): renamed from min(). there's a local variable named
min in the file, so that some cpp will raise an error.
min in the file, so that some cpp will raise an error.
Mon Jan 19 16:30:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20872,7 +20872,7 @@ Tue Jan 6 00:27:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y: syntax modified for `while expr do .. end' etc.
* process.c (f_exec,f_system): can supply arbitrary name for the
new process.
new process.
Mon Jan 5 16:59:13 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
@ -20889,7 +20889,7 @@ Sat Jan 3 19:14:14 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
Fri Jan 2 20:38:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/curses/curses.c (NUM2CHAR): uses the first character for
string arguments.
string arguments.
* array.c (ary_fill): did not extend array for ranges.
@ -20907,15 +20907,15 @@ Tue Dec 30 11:46:23 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
environment variable are not world writable.
* ruby.c (load_file): invoke specified interpreter if the #! line
does not contain the word `ruby'.
does not contain the word `ruby'.
Fri Dec 26 03:26:41 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (uscore_get): type information included in the error
message.
message.
* variable.c (f_untrace_var): does not free trace-data within
trace procedure.
trace procedure.
Thu Dec 25 02:50:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -20997,7 +20997,7 @@ Sat Dec 13 00:13:32 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
Fri Dec 12 00:50:25 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (expr): warns if BEGIN or END appear in the method
bodies.
bodies.
* string.c (str_match): calls y =~ x if y is neither String nor
Regexp so that eregex.rb works.
@ -21052,7 +21052,7 @@ Tue Dec 9 10:05:17 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (ruby_run): call finalizers at process termination.
* gc.c (gc_call_finalizer_at_exit): call free proc for every Data
Wrapper, and finalizer for specified objects at termination.
Wrapper, and finalizer for specified objects at termination.
* version.c (show_version): version format changed.
@ -21066,7 +21066,7 @@ Mon Dec 8 19:00:15 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_puts): just put a newline if no argument given.
* ext/tcltklib/tcltklib.c (lib_mainloop): thread-aware tk handle
when $tk_thread_safe is set.
when $tk_thread_safe is set.
* ext/tcltklib/tcltklib.c (lib_mainloop): use Tcl_DoOneEvent()
instead of Tk_MainLoop().
@ -21126,7 +21126,7 @@ Tue Nov 18 10:13:08 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
Mon Nov 17 13:01:43 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (is_defined): add defined? check for receivers and
arguments for calls.
arguments for calls.
* re.c (reg_search): cache last match object.
@ -21204,7 +21204,7 @@ Fri Oct 24 10:58:53 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
Thu Oct 23 11:17:44 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_errset): value of $stderr can be changed (to any IO
object).
object).
* io.c (next_argv): $< can be anything that responds to `write'.
@ -21221,7 +21221,7 @@ Wed Oct 22 12:52:30 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c: File::Constants added for inclusion.
* array.c (ary_join): call ary_join() recursively for the 1st
array element.
array element.
Mon Oct 20 12:18:29 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
@ -21242,7 +21242,7 @@ Wed Oct 15 17:49:24 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
Mon Oct 13 16:54:18 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (rb_define_class_id): call superclass's `inherited'
method when making subclasses.
method when making subclasses.
* parse.y (nextc): clear lex_lastline at the end of file.
@ -21258,7 +21258,7 @@ Thu Oct 9 11:17:50 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (compile_error): error message slightly changed.
* parse.y (nextc): script parsing will be terminated by __END__ at
beginning of line.
beginning of line.
* eval.c (compile_error): `__END__' is no longer a keyword.
@ -21300,7 +21300,7 @@ Thu Oct 2 11:38:31 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha8 released.
* ext/marshal/marshal.c (r_object): remove temporal regist for
structs. (caused problem if structs form cycles.)
structs. (caused problem if structs form cycles.)
* parse.y (match_gen): static binding for match(=~) calls
with regexp literals.
@ -21328,7 +21328,7 @@ Wed Oct 1 10:30:22 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
the object table.
* eval.c (ruby_options): call Init_ext() before any require()
calls by `-r'.
calls by `-r'.
Fri Sep 30 14:29:22 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
@ -21485,7 +21485,7 @@ Mon Sep 1 13:42:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha5 released.
* object.c (mod_attr_reader): create methods to define attribute
reader/write/accessor.
reader/write/accessor.
* class.c (rb_define_attr): always defines accessors.
@ -21500,7 +21500,7 @@ Mon Sep 1 11:43:57 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
Fri Aug 29 11:10:21 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (class_instance_methods): same method names should not
appear more than once.
appear more than once.
* parse.y (yylex): spaces can follow =begin/=end.
@ -21508,13 +21508,13 @@ Fri Aug 29 11:10:21 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
unnamed fundamental classes, such as Object, String, etc.
* variable.c (rb_name_class): can't name class before String class
is initialized.
is initialized.
* inits.c (rb_call_inits): unrecognized dependency from GC to
Array.
* variable.c (find_class_path): could not find class if Object's
iv_tbl is NULL.
iv_tbl is NULL.
Thu Aug 28 13:12:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
@ -21528,7 +21528,7 @@ Thu Aug 28 13:12:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (here_document): forgot to free(eos).
* parse.y (yylex): spaces after `<<' prohibited for here
documents to avoid confusing with operator `<<'.
documents to avoid confusing with operator `<<'.
* eval.c (is_defined): separated from rb_eval().
@ -21554,10 +21554,10 @@ Tue Aug 26 13:43:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (error_print): no class name print for anonymous class.
* eval.c (rb_longjmp): proper exception raised if raise() called
without arguments, with $! or $@ set.
without arguments, with $! or $@ set.
* object.c (Init_Object): superclass()'s method argument setting
was wrong again.
was wrong again.
* class.c (mod_ancestors): list superclasses and included modules
in priority order.
@ -21567,7 +21567,7 @@ Mon Aug 25 11:53:11 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha2 released.
* sample/ruby-mode.el (ruby-parse-region): auto-indent now
supports "\\" in the strings.
supports "\\" in the strings.
* struct.c (struct_getmember): new API to get member value from C
language side.
@ -21593,7 +21593,7 @@ Thu Aug 21 11:36:58 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
Wed Aug 20 17:28:50 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (ruby_process_options): require() all modules after
processing all options
processing all options
* process.c (rb_proc_exec): more security checks added.
@ -21606,10 +21606,10 @@ Tue Aug 19 00:15:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha1 released.
* eval.c (mod_eval): work as normal eval() if second binding
argument given.
argument given.
* eval.c (rb_call): did not raise ArgumentError if too many
arguments more than optional arguments (without rest arg).
arguments more than optional arguments (without rest arg).
* eval.c (rb_eval): did not work well for op_asgn2 (attribute
self assignment).