Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17450 lines (9670 sloc) 516 KB
Wed Sep 11 21:25:52 2002 Tanaka Akira <akr@m17n.org>
* pp.rb (ARGF.pretty_print): implemented.
(PP.pp): arguments reordered.
Wed Sep 11 18:55:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (proc_to_s): refined format. [ruby-dev:18215]
Wed Sep 11 17:47:17 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x.
[ruby-dev:18262]
Wed Sep 11 12:58:57 2002 Akinori MUSHA <knu@iDaemons.org>
* string.c (get_pat): Add an extra argument "quote".
* string.c (rb_str_match_m): Do not bother to convert if a regexp
is given.
Wed Sep 11 11:33:40 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* bcc32/Makefile.sub: remove unnecessary `.dll' from filename of
dll's resource file.
* cygwin/GNUmakefile.in: ditto. [ruby-dev:17103]
* win32/Makefile.sub: ditto. [ruby-dev:17103]
* win32/resource.rb: ditto. [ruby-dev:17103]
Wed Sep 11 09:59:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* io.c (rb_io_wait_readable): added.
* io.c (rb_io_wait_writable): added.
* io.c (io_read_retryable): added.
* io.c (io_write): retry on EINTR, ERESTART and EWOULDBLOCK.
[ruby-dev:17855], [ruby-dev:17878], [ruby-core:00444]
* io.c (rb_io_fread): ditto.
* io.c (read_all): ditto.
* io.c (appendline): ditto.
* io.c (rb_io_each_byte): ditto.
* io.c (rb_io_getc): ditto.
Wed Sep 11 09:29:24 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (ext): make directory `ext' on compile dir.
[ruby-dev:18255]
Wed Sep 11 00:41:10 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_mod_define_method): initialize orig_func too.
(ruby-bugs-ja:PR#330)
Tue Sep 10 23:35:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (nextc): restore line number after here documents.
(ruby-bugs-ja:PR#331)
* parse.y (heredoc_restore): ditto.
Tue Sep 10 18:26:52 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb, lib/mkmf.rb ($INCFLAGS): new var for -I$(topdir).
* lib/mkmf.rb: add #define WIN32_LEAN_AND_MEAN to improve compile
times.
Tue Sep 10 17:16:14 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS).
[ruby-dev:17059]
* win32/Makefile.sub ($(LIBRUBY_A), $(LIBRUBY)): avoid lib.exe's
warning. [ruby-dev:17059]
* win32/Makefile.sub: remove unnecessary rules. [ruby-dev:17059]
* win32/configure.bat, win32/setup.mak, win32/README.win32: enable to
pass some arguments to configure. [ruby-dev:17059]
Mon Sep 9 23:43:33 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.h (S_I?USR): define only if not mingw32.
Mon Sep 9 11:21:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/stringio/stringio.c (strio_set_string): reinitialize
properly.
* ext/stringio/stringio.c (strio_become): added self-assign check
and experimental auto-conversion to StringIO.
* ext/stringio/stringio.c (strio_reopen): added.
Sun Sep 8 21:29:25 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* time.c (time_free): prototype; struct time_object -> void *.
avoid GCC warnings.
* lib/mkmf.rb, ext/extmk.rb ($LINK, $CPP): move to lib/mkmf.rb.
Sun Sep 8 19:02:28 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* time.c: prototype; time_free() to avoid VC++ warnings.
* ext/tcltklib/tcltklib.c: prototype; invoke_queue_handler() to avoid
VC++ warning.
* win32/win32.c (rb_w32_stat): remove S_IWGRP and S_IWOTH bits from
st_mode.
* win32/win32.h (S_I*): define if not defined.
Sun Sep 8 14:38:31 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: modify program_prefix only if specified
--program-prefix.
* configure.in: don't generate ext/extmk.rb.
* Makefile.in: execute directly $(srcdir)/ext/extmk.rb.
remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb.
* {win32,bccwin32}/Makefile.sub: ditto.
* instruby.rb: ditto.
* ext/extmk.rb: renamed from ext/extmk.rb.in.
* lib/mkmf.rb (module Logging): create log files (mkmf.log)
in each extension module directories.
* ext/extmk.rb: ditto.
* lib/mkmf.rb (macro_defined?): new method.
* ext/.cvsignore: remove extmk.rb.
* ext/*/.cvsignore: add "*.def".
* lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb.
* ext/socket/extconf.rb: use macro_defined? instead of egrep_cpp.
* ext/etc/extconf.rb: use have_struct_member.
* ext/etc/etc.c: add prefix HAVE_ST_ to PW_ macros.
Sun Sep 8 14:36:40 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* bcc32/configure.bat : Control of a message.
* bcc32/makefile.sub : @(sitearch) typo.
* ext/extmk.rb.in : [bccwin32] libdir is added to a library path.
* lib/mkmf.rb : ditto.
Sat Sep 7 23:32:56 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexp
alist for error message from ruby.
* misc/inf-ruby.el (inferior-ruby-mode): fixed for Emacs.
* misc/inf-ruby.el (ruby-send-region): compilation-parse-errors
doesn't parse first line, so insert separators before each
evaluations.
Sat Sep 7 19:46:57 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/set.rb: Disallow Set.new(false). Add even more tests.
[Submitted by: "Christoph" <chr_news@gmx.net>]
Sat Sep 7 19:23:56 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/set.rb: Fix a bug in flatten()'s recursive set detection.
[Submitted by: "Christoph" <chr_news@gmx.net>] Some tests
against the bug are added.
* lib/set.rb: Resurrect the test suite by putting it after
__END__ and executing `eval DATA.read'.
Sat Sep 7 08:41:39 2002 Minero Aoki <aamine@loveruby.net>
* parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c.
Fri Sep 6 20:01:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* lib/mkmf.rb ($CC): command to compile C source.
* lib/mkmf.rb (logging): added.
* lib/mkmf.rb (try_compile): added.
* lib/mkmf.rb (egrep_cpp): use internal grep when pattern is
Regexp, otherwise use external egrep command but get rid of
pipe of command.com.
* lib/mkmf.rb (have_func): local variable should be volatile not
to be eliminated by optimization.
* lib/mkmf.rb (create_makefile): link with CONFIG["LIBS"].
* lib/mkmf.rb (create_makefile): emit .SUFFIXES:.
Fri Sep 6 12:11:22 2002 Minero Aoki <aamine@loveruby.net>
* parse.y (rb_gc_mark_parser): should mark ALL global variables
defined in parse.y.
Fri Sep 6 01:15:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequent
garabage collection.
Fri Sep 6 11:47:37 2002 Minero Aoki <aamine@loveruby.net>
* parse.y (rb_gc_mark_parser): should mark global variables
defined in parse.y.
Fri Sep 6 10:34:32 2002 Minero Aoki <aamine@loveruby.net>
* io.c (rb_io_puts): RSTRING(line)->ptr might be NULL.
Fri Sep 6 10:26:37 2002 Minero Aoki <aamine@loveruby.net>
* parse.y: should not put non-NODE-VALUEs in the semantic stack.
Fri Sep 6 05:48:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* file.c (rb_path_check): nothing to check under DOSISH.
[ruby-list:35772]
Fri Sep 6 05:03:50 2002 Minero Aoki <aamine@loveruby.net>
* gc.c (rb_gc): should mark parser.
* parse.y (rb_gc_mark_parser): new function.
* intern.h (rb_gc_mark_parser): added.
Thu Sep 5 18:32:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_path2class): should not use rb_eval_string().
Thu Sep 5 17:18:22 2002 Michal Rokos <michal@ruby-lang.org>
* dln.c: fix memory leak in dln_load (ruby-core:405) and
in load_1 (ruby-core:407)
Thu Sep 5 15:43:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (w_extended): should allow marshaling of object which
is extended by named module.
* class.c (rb_make_metaclass): super may be T_ICLASS, need to skip.
Thu Sep 5 13:09:22 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_eval): overriding false constant with class/module
definition should be error. (PR#327)
Thu Sep 5 01:24:26 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* extmk.rb (create_makefile): add macro MAKEDIRS, INSTALL_PROG,
INSTALL_DATA.
* extmk.rb (create_makefile): support for building to any directory.
* extmk.rb (xsystem): move to mkmf.rb.
* mkmf.rb (xsystem): support for extmk.rb
* mkmf.rb ($CPP): remove '-E' option. add CPPFLAGS.
Wed Sep 4 16:15:17 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/set.rb: ==(o) should be aware of all the Set variant
instances, not just those of its subclasses. [Submitted by:
"Christoph" <chr_news@gmx.net>]
* lib/set.rb: - Fix eql?(). [ditto]
Wed Sep 4 15:23:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_make_metaclass): obj.meta.super.meta should be equal
to obj.meta.meta.super (ruby-bugs-ja:PR#324).
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).
Wed Sep 4 01:08:45 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (r_bytes): do not use alloca (ruby-bugs:PR#382).
Tue Sep 3 17:12:59 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* extmk.rb: require mkmf.rb. remove duplicate methods.
use Config::CONFIG["FOO"] instead of @FOO@.
* mkmf.rb: support for extmk.rb.
Mon Sep 2 23:01:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* re.c (rb_reg_search): MatchData must be rb_cMatch.
(ruby-bugs-ja:PR#319)
Mon Sep 2 21:21:46 2002 Minero Aoki <aamine@loveruby.net>
* gc.c (gc_sweep): does reclaim nodes in also compile time, if we
can.
* ruby.c (load_file): omit GC if we can.
* parse.y (ruby_parser_stack_on_heap): new function.
* intern.h (ruby_parser_stack_on_heap): added.
Mon Sep 2 18:45:07 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_copy_generic_ivar): remove old generic instance
variable table if it existes.
Sun Sep 1 15:54:33 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* config.guess: fixed for Linux/PPC.
Sat Aug 31 09:38:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_make_metaclass): metaclass of a metaclass is a
metaclass itself.
Fri Aug 30 22:45:16 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/set.rb: Added.
Fri Aug 30 20:58:54 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* ext/Win32API/Win32API.c (Win32API_Call): typo.
Fri Aug 30 19:45:52 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* variable.c (rb_const_assign): st_delete() takes pointer to key.
Fri Aug 30 19:40:28 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/Win32API/Win32API.c (Win32API_Call): RSTRING()->ptr may be
NULL.
* ext/nkf/nkf.c (rb_nkf_guess): ditto.
* ext/readline/readline.c (readline_s_set_completion_append_character):
ditto.
* ext/socket/socket.c (sock_s_getaddrinfo, sock_s_getnameinfo):
ditto.
* ext/tcltklib/tcltklib.c (ip_toUTF8, ip_fromUTF8): ditto.
Fri Aug 30 01:32:17 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_singleton_class): superclass of a metaclass
should be a metaclass of superclass.
* range.c (range_eq): two instances must belong to a same class to
be equal.
* range.c (range_eql): ditto.
* io.c (rb_io_taint_check): frozen check added.
* file.c (rb_stat_become): frozen check added.
* object.c (rb_obj_become): ditto.
* re.c (rb_reg_become): ditto.
* struct.c (rb_struct_become): ditto.
* time.c (time_become): ditto.
* array.c (rb_ary_become): should call rb_ary_modify().
* hash.c (rb_hash_become): should call rb_hash_modify().
* compar.c (cmp_equal): should not use NUM2LONG(), since <=> may
return bignum.
* compar.c (cmp_gt, cmp_ge, cmp_lt, cmp_le, cmp_between): ditto.
Thu Aug 29 23:34:42 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* bcc32/MakeFile.sub (sitearch): add.
Thu Aug 29 13:36:42 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* io.c (read_all): should use off_t instead of long.
Thu Aug 29 00:55:55 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* marshal.c (r_object): yield loaded objects, not intermediates.
(ruby-bugs-ja:PR#296)
Thu Aug 29 00:06:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_become): should not free ptr if it's shared.
* eval.c (rb_alias): prohibit making an alias named "allocate" if
klass is a metaclass.
Wed Aug 28 23:59:15 2002 Michal Rokos <michal@ruby-lang.org>
* signal.c: remove #ifdef SIGINT for struct signals.
* variable.c: get rid of fix length buffer in rb_class_path.
Wed Aug 28 23:34:32 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* io.c (appendline): data was lost when raw mode.
Wed Aug 28 22:57:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_string_value_ptr): StringValuePtr() should never
return NULL pointer.
Wed Aug 28 19:12:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/stringio/stringio.c (strio_initialize): RSTRING(mode)->ptr
can be NULL.
* ext/stringio/stringio.c (strio_ungetc): fix buffer overflow.
Wed Aug 28 18:19:55 2002 Michal Rokos <michal@ruby-lang.org>
* file.c: fix memory leak in rb_stat_init.
Wed Aug 28 17:45:03 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* win32/win32.c (kill): negate pid under Win9x.
Wed Aug 28 16:36:40 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in (ar): don't check ar twice.
Wed Aug 28 15:00:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_delete_bang): should check if str->ptr is 0.
* string.c (rb_str_squeeze_bang): ditto.
* string.c (rb_str_count): ditto.
* string.c (rb_str_lstrip_bang): ditto.
* string.c (rb_str_rstrip_bang): ditto.
* string.c (rb_str_intern): ditto.
Wed Aug 28 11:37:35 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.h: define SIGINT and SIGKILL if not defined.
* win32/win32.c: remove definition of SIGINT and SIGKILL.
Tue Aug 27 19:50:27 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ruby.c (require_libraries): prevent ruby_sorcefile from GC.
Tue Aug 27 15:03:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (rb_find_file): $LOAD_PATH must not be empty.
* file.c (rb_find_file_ext): ditto.
Tue Aug 27 02:35:21 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_eq): class check should be based on range.class,
instead of Range to work with Range.dup.
* range.c (range_eql): ditto.
Mon Aug 26 18:17:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_mod_dup): need to preserve metaclass and flags.
Mon Aug 26 10:44:18 2002 Tanaka Akira <akr@m17n.org>
* object.c (rb_cstr_to_dbl): had a buffer overrun.
Sun Aug 25 20:10:32 2002 Wakou Aoyama <wakou@ruby-lang.org>
* lib/cgi.rb (CGI#form): fix ruby-bugs-ja:PR#280, add default action.
Sat Aug 24 15:32:16 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (call_trace_func): restore source file/line, as trace
function installed in required library with -r option can be
called while parsing. (ruby-bugs:PR#372)
* eval.c (module_setup): unused variable. [ruby-core:00358]
Sat Aug 24 14:59:02 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (w_class): integrate singleton check into a funciton
to follow DRY principle.
* marshal.c (w_uclass): should check singleton method.
* object.c (rb_obj_dup): dmark and dfree functions must be match
for T_DATA type.
* object.c (rb_obj_dup): class of the duped object must be match
to the class of the original.
Sat Aug 24 13:57:28 2002 Tanaka Akira <akr@m17n.org>
* lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness.
* lib/pp.rb: pretty_print_cycled is renamed to pretty_print_cycle.
Fri Aug 23 23:59:57 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (method_call): check receiver is defined.
* eval.c (umethod_call): removed.
Fri Aug 23 23:39:17 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_quote): do not escape \t, \f, \r, \n, for they are
not regular expression metacharacters.
* time.c (time_s_alloc): use time_free instead of free (null check,
also serves for type mark).
* time.c (time_s_at): check dfree function too.
Fri Aug 23 17:06:48 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: RUBY_SO_NAME is msvcrt-rubyXX on mswin32/mingw32.
* configure.in (sitearch): new var.
* mkconfig.rb, lib/mkmf.rb (sitearch): ditto.
* win32/Makefile.sub, win32/setup.mak (sitearch): ditto.
* instruby.rb: ditto.
Wed Aug 21 16:53:00 2002 Michal Rokos <michal@ruby-lang.org>
* *.c: int, long types cleanup.
* parse.y: ditto.
* re.h, regex.h, ruby.h: ditto.
Wed Aug 21 16:43:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_cleanup): should not modify the global
variable curr_thread.
Wed Aug 21 16:14:26 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: set ac_cv_func__setjmp to "no" on Cygwin.
* configure.in: set ac_cv_func_crypt to "no" on MinGW.
Tue Aug 20 21:47 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* io.c (rb_io_fread): remove case EPIPE on bcc32 .
* win32/win32.c (rb_w32_getc): clear EPIPE error on bcc32.
Tue Aug 20 19:39:03 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* file.c (rb_file_s_expand_path): accept drive letter on Cygwin.
* file.c (is_absolute_path): ditto.
Tue Aug 20 12:12:25 2002 Tietew <tietew@tietew.net>
* io.c (rb_io_putc): output via rb_io_write().
Mon Aug 19 19:01:55 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* misc/inf-ruby.el (inf-ruby-keys): ruby-send-definition
conflicted with ruby-insert-end.
* misc/inf-ruby.el (inferior-ruby-mode): compilation-minor-mode.
* misc/inf-ruby.el (ruby-send-region): send as here document to
adjust source file/line. [ruby-talk:47113], [ruby-dev:17965]
* misc/inf-ruby.el (ruby-send-terminator): added to make unique
terminator.
Mon Aug 19 17:08:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_initialize_m): frozen check should be moved here
from rb_reg_initialize().
Mon Aug 19 15:38:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (sort_2): comparison should be done as signed long.
* array.c (sort_2): should return int, not VALUE.
Mon Aug 19 12:38:33 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_thread_save_context, rb_thread_restore_context):
save/restore SEH chain on MS-Windows at thread switch.
[ruby-win32:273]
* eval.c (win32_get_exception_list, win32_set_exception_list):
added.
Sat Aug 17 23:01:25 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (sort_2): *a - *b may overflow.
Sat Aug 17 00:25:08 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (ary_new): len*sizeof(VALUE) may be a positive value.
* array.c (rb_ary_initialize): ditto.
Fri Aug 16 15:58:16 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* io.c (NOFILE): define NOFILE as 64 if not defined.
* signal.c (sighandler_t): rename to sh_t on dietlibc.
Fri Aug 16 15:37:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* bignum.c (rb_cstr_to_inum): new decimal and octal string.
Fri Aug 16 13:17:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_class_allocate_instance): move singleton class
check from rb_obj_alloc().
Fri Aug 16 11:47:24 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* io.c (rb_io_fread): renamed from io_fread and made extern.
* marshal.c (r_bytes0): check if successfully read, use
rb_io_fread() instead of fread() to be preemptive.
(ruby-bugs-ja:PR#294, 295)
* rubyio.h (rb_io_fread): added.
Fri Aug 16 07:57:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (compile_error): must not clear ruby_sourcefile here.
(ruby-bugs:PR#364).
* eval.c (rb_longjmp): set ruby_sourcefile before making
backtrace.
Thu Aug 15 20:38:58 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (ruby_current_node) : added to set sourceline on demand.
* eval.c (error_pos, error_print, rb_longjmp, assign): set source
file/line.
* eval.c (rb_eval): store current node instead of file/line, and
preserve it at return.
* eval.c (module_setup): ditto.
* eval.c (struct thread): store node instead of file/line.
* eval.c (rb_thread_raise): ditto.
* intern.h (ruby_current_node): added.
* intern.h (ruby_set_current_source): added.
* parse.y (stmt, arg): not fix position of assignment.
* parse.y (node_assign): ditto.
* parse.y (yycompile): clear current node.
Thu Aug 15 00:48:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_initialize): should not modify frozen Regexp.
Tue Aug 13 18:33:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/tcltklib/tcltklib.c (ip_init): allocation framework.
Tue Aug 13 15:32:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_hash_replace): should copy ifnone.
* hash.c (rb_hash_dup): should preserve HASH_PROC_DEFAULT and
HASH_DELETED flags.
* hash.c (rb_hash_shift): shift from empty hash should not return
its default proc.
* hash.c (rb_hash_default_proc): new method. [new]
Tue Aug 13 00:37:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_aref): no need for Bignum check.
* array.c (rb_ary_aset): explicit Bignum check removd.
* numeric.c (fix_aref): normalize bignum before bit-op.
* bignum.c (rb_big_rand): max may be Bignum zero.
* bignum.c (rb_cstr_to_inum): should normalize bignums, to avoid
returning fixable bignum value.
* bignum.c (rb_uint2big): there should be no zero sized bignum.
Mon Aug 12 23:45:28 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/extmk.rb.in: extmake() that works properly for both tkutil
(tk/tkutil.so) and digest/sha1.
Mon Aug 12 22:29:35 2002 Akinori MUSHA <knu@iDaemons.org>
* ruby.c (set_arg0): Correct the position of #endif.
Mon Aug 12 17:25:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_hash_equal): should check HASH_PROC_DEFAULT too.
Mon Aug 12 16:15:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* bignum.c (rb_big_cmp): raise for NaN. (ruby-bugs-ja:PR#284).
Sun Aug 11 09:34:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_eval): set line number from all nodes.
* eval.c (proc_to_s): show source file/line if available.
* marshal.c (r_object): register TYPE_BIGNUM regardless real type.
Sat Aug 10 23:47:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_big_cmp): use dbl2big() for Floats, instead of
big2dbl().
* bignum.c (Init_Bignum): rb_big_zero_p() removed. There may be
Bignum zero.
Fri Aug 9 13:31:40 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/Win32API/extconf.rb: check existence of <windows.h>.
Thu Aug 8 09:37:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* lib/optparse.rb (NilClass): must provide conversion block.
* lib/optparse.rb (String): ditto.
Thu Aug 8 00:45:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_call0): new argument added for original method name.
preserve original method name in frame->orig_func.
* eval.c (is_defined): use frame->orig_func, not last_func.
* eval.c (rb_eval): ditto.
* eval.c (method_call): supply data->oid also to rb_call0().
* object.c (rb_class_allocate_instance): call rb_obj_alloc() when
called from alias, thus invoke original "allocate".
* eval.c (remove_method): removing allocate from classes should
cause NameError.
Wed Aug 7 22:12:54 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* lib/optparse.rb (OptionParser::Completion::convert): returned
all values not first one.
* lib/optparse.rb (OptionParser::Switch::parse): return values as
is.
* lib/optparse.rb (OptionParser::order): ditto.
* lib/optparse/time.rb: prior time.rb.
* lib/optparse/uri.rb: require standard uri module. thanks to
Minero Aoki.
Wed Aug 7 09:51:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_hash_equal): should check default values.
Wed Aug 7 08:44:32 2002 Minero Aoki <aamine@loveruby.net>
* ext/racc/cparse/cparse.c: reduce goto.
Tue Aug 6 15:19:39 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* string.c (rb_str_rindex): must return -1 if unmatched.
Mon Aug 5 22:41:18 2002 Minero Aoki <aamine@loveruby.net>
* MANIFEST: add lib/racc/parser.rb.
* ext/racc/cparse/cparse.c: code refine.
* ext/racc/cparse/MANIFEST: add depend.
Sun Aug 4 22:30:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/curses/curses.c: follow allocation framework.
Sat Aug 3 21:23:56 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_eval): set constant in cbase scope.
* eval.c (assign): ditto.
Fri Aug 2 09:12:32 2002 Minero Aoki <aamine@loveruby.net>
* ext/strscan/strscan.c: follow allocation framework.
Fri Aug 2 01:21:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (s_recvfrom): update RSTRING len.
Thu Aug 1 17:47:15 2002 Tachino Nobuhiro <tachino@jp.fujitsu.com>
* parse.y (tokadd_string): ignore backslashed spaces in %w.
Thu Aug 1 14:14:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (enum_find): do not use rb_eval_cmd(); should not accept
a string for if_none.
Wed Jul 31 14:11:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_undef): undef should be done for klass, not ruby_class.
Tue Jul 30 19:48:51 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* misc/ruby-mode.el (ruby-accurate-end-of-block): restrict search
region.
* misc/ruby-mode.el (ruby-parse-partial): reversed wrong patch.
Tue Jul 30 17:21:13 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* misc/ruby-mode.el (ruby-accurate-end-of-block): incomplete block
caused infinite loop.
* misc/ruby-mode.el (ruby-parse-partial): returns nil unless
delimiters found.
Tue Jul 30 15:24:07 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returns
the same address always, so allocate string by ruby_strdup.
* win32/win32.c: prototype; rb_w32_open_osfhandle().
Tue Jul 30 09:11:07 2002 Minero Aoki <aamine@loveruby.net>
* eval.c (rb_thread_join_m): add parameter type declaration.
Tue Jul 30 08:37:11 2002 Minero Aoki <aamine@loveruby.net>
* eval.c (localjump_error): add parameter type declaration.
Mon Jul 29 16:00:54 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb.in: always use File.expand_path for $top_srcdir.
Sat Jul 27 23:07:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (num_to_int): default to_int implementaion for every
numeric class.
Sat Jul 27 08:09:03 2002 Booker C. Bense <bbense@slac.stanford.edu>
* re.c (rb_reg_quote): initial part of the string was never copied
to the quoted string.
Fri Jul 26 23:03:53 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_eval): no need to convert to string twice.
Fri Jul 26 18:32:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* misc/ruby-mode.el (ruby-expr-beg): wrong indent at modifiers
after ?.
Fri Jul 26 16:01:16 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb.in (create_makefile): use Regexp in gsub.
* sample/mkproto.rb: ditto and fix bug.
Fri Jul 26 14:31:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* random.c: replace with Mersenne Twister RNG.
Fri Jul 26 12:14:48 2002 Minero Aoki <aamine@loveruby.net>
* parse.y (yylex): modify to accept a code like "m (a){...}".
Thu Jul 25 09:05:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* misc/ruby-mode.el (ruby-delimiter): include here document.
* misc/ruby-mode.el (ruby-deep-arglist): skips spaces after
parenthesis when 'space.
* misc/ruby-mode.el (ruby-imenu-create-index): fix for nested
classes.
* misc/ruby-mode.el (ruby-accurate-end-of-block): added. scan a
block in the order.
* misc/ruby-mode.el (ruby-expr-beg): support for here document.
* misc/ruby-mode.el (ruby-parse-partial): splitted from
ruby-parse-region.
* misc/ruby-mode.el (ruby-move-to-block): skips RD style comments.
Wed Jul 24 09:47:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (jump_tag_but_local_jump): preserve retval in
LocalJumpError exceptions.
* parse.y (command): no more check for "super outside of method".
* eval.c (rb_mod_define_method): should set last_class and
last_func in the block->frame.
Mon Jul 22 17:23:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (error_handle): should handle TAG_THROW as well.
Fri Jul 19 10:52:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): new decimal notation '0d4567'.
Thu Jul 18 11:52:02 2002 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (set_socket): new method.
Thu Jul 18 06:51:24 2002 Minero Aoki <aamine@loveruby.net>
* parse.y (yylex): fix typo.
Wed Jul 17 18:41:28 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): new octal notation '0o777'.
Mon Jul 15 18:36:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (string_content): every string_content node should
return string only. use NODE_EVSTR to coercing.
* eval.c (rb_eval): NODE_EVSTR support.
Mon Jul 15 10:35:35 2002 Minero Aoki <aamine@loveruby.net>
* parse.y (heredoc_identifier): fix typo.
Sat Jul 13 09:30:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (literal_concat_string): wrong optimization.
Sat Jul 13 01:25:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* lib/resolv.rb (Resolv::DNS::open, close): new.
* lib/optparse.rb, lib/optparse: import.
Fri Jul 12 06:34:05 2002 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb: rename HTTP.get_uri get_response.
* lib/net/http.rb: HTTP.get_print accepts URI objects.
* lib/net/http.rb: HTTP.get had not work with URI objects.
Fri Jul 12 02:15:58 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* string.c (rb_str_match): fix for string match.
Fri Jul 12 00:02:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/stringio/stringio.c (strio_gets_internal): fixed for record
separator longer than 1.
Thu Jul 11 17:59:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_quote): avoid unnecessary string allocation.
* string.c (get_pat): quote metachracters before compiling a
string into a regex.
* string.c (rb_str_split_m): special treatment of strings of size
1, but AWK emulation. now uses get_pat().
* string.c (rb_str_match_m): quote metacharacters.
* string.c (rb_str_match2): ditto.
Thu Jul 11 12:59:23 2002 Shugo Maeda <shugo@ruby-lang.org>
* lib/resolv.rb: untaint strings read from /etc/hosts and
/etc/resolv.conf to prevent SecurityError when $SAFE==1.
Thu Jul 11 09:00:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_slice_bang): if there's no corresponding
substring, slice! should return nil without exception.
Tue Jul 9 20:03:55 2002 Keiju Ishitsuka <keiju@ishitsuka.com>
* irb 0.9
Sat Jul 6 07:35:02 2002 Jamie Herre <jfh@gettysgroup.com>
* array.c (rb_ary_insert): type fixed.
Fri Jul 5 09:17:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_split_m): accept separator value nil as well.
Fri Jul 5 08:59:15 2002 Michal Rokos <michal@ruby-lang.org>
* enum.c: Fix bug in enum_sort_by and some code indents
Fri Jul 5 05:00:40 2002 Wakou Aoyama <wakou@ruby-lang.org>
* lib/cgi.rb (CGI#initialize): improvement for mod_ruby.
thanks to Sean Chittenden <sean@ruby-lang.org>, Shugo Maeda
<shugo@modruby.net>
Fri Jul 5 00:10:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_become): was leaking memory.
Thu Jul 4 23:43:26 2002 Minero Aoki <aamine@loveruby.net>
* parse.y: remove useless function str_extend_p().
Wed Jul 3 14:26:40 2002 Sean Chittenden <sean@ruby-lang.org>
* lib/net/ftp.rb (get): new method.
* lib/net/ftp.rb (putt): ditto.
* lib/net/ftp.rb (binary): ditto.
* lib/net/ftp.rb (binary=): ditto.
Wed Jul 3 13:57:53 2002 Sean Chittenden <sean@ruby-lang.org>
* lib/net/ftp.rb (getbinaryfile): the second argument (localfile)
is now optional.
* lib/net/ftp.rb (gettextfile): ditto.
Wed Jul 3 13:45:42 2002 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb: use &block and yield for speed.
Wed Jul 3 02:32:31 2002 Wakou Aoyama <wakou@ruby-lang.org>
* lib/cgi.rb (CGI#initialize): improvement for mod_ruby.
Tue Jul 2 14:53:10 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_include_module): should not alter other
classes/modules by inclusion. by this fix, local order may not
be preserved for some cases.
* class.c (include_class_new): module may be T_ICLASS; retrieve
original module information.
Tue Jul 2 14:13:11 2002 Wakou Aoyama <wakou@ruby-lang.org>
* lib/cgi.rb (CGI#header): accept any type as value.
Sun Jun 30 17:05:29 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in (seekdir, telldir): add ac_cv_func_telldir=yes,
ac_cv_func_seekdir=yes for MinGW.
Sat Jun 29 01:43:32 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (pipe_finalize, pipe_popen): two-way pipe support for win32.
* win32/win32.c (ChildRecord, FindFreeChildSlot): ditto.
* win32/win32.c, win32/win32.h (pipe_exec): new function for two-way
pipe support for win32.
* win32/win32.c, win32/win32.h (FindPipedChildSlot, rb_w32_popen,
rb_w32_pclose): removed functions for two-way pipe support for win32.
Fri Jun 28 23:49:34 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* pack.c (pack_unpack): change names of local variables because their
names are overlapped.
Fri Jun 28 17:54:07 2002 Tanaka Akira <akr@m17n.org>
* lib/pp.rb: fix object address.
Thu Jun 27 23:55:50 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_stat): fix buffer overflow. (ruby-bugs:PR#329)
Thu Jun 27 20:57:45 2002 Tanaka Akira <akr@m17n.org>
* lib/prettyprint.rb, lib/pp.rb: convenience methods added.
Thu Jun 27 15:22:18 2002 Tanaka Akira <akr@m17n.org>
* lib/prettyprint.rb: re-implemented for incremental output to handle
huge data. API is changed a bit.
* lib/pp.rb: adapt new pretty printing API.
Thu Jun 27 08:28:18 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (literal_concat_string): non-string last expression in
#{} was ignored when followed by literal.
Thu Jun 27 03:42:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_expr_str): need to process backslashes properly.
Wed Jun 26 17:33:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_any_to_a): declare Object#to_a to be obsolete.
* object.c (rb_Array): do not convert nil into [] automagically.
Wed Jun 26 15:40:00 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (words, qwords): word list literal rules.
* parse.y (parse_string): ditto.
* parse.y (yylex): %W: word list literal with interpolation. [new]
Tue Jun 25 18:53:34 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (string1, xstring, regexp): moved lex_strnest
initialization to string_contents/xstring_contents.
Tue Jun 25 19:24:38 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* dln.c: remove definition rb_loaderror().
Tue Jun 25 00:34:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_Integer): use "to_int" instead of
"to_i". [experimental]
* object.c (nil_to_f): new method.
* object.c (rb_Integer): Symbols and nil should cause error.
* object.c (rb_Float): nil should cause error.
Tue Jun 25 00:21:00 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* dln.c: remark definition rb_loaderror().
Tue Jun 25 00:14:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (string_dvar): allow back references in interpolation.
Mon Jun 24 16:32:31 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_eval): NODE_EVSTR is no longer used.
* eval.c (eval): not enforce to make assigned variables dynamic.
* parse.y (string): split rules to strings/xstring/regexp to allow
arbitrary statements inside string interpolation.
* parse.y (here_document): splitted into three phases.
* parse.y (literall_append, literal_concat): added.
append/concatinate string literals.
* sample/test.rb (valid_syntax): adjust line number for BEGIN.
* lib/mkmf.rb (create_makefile): get rid of nested string.
* lib/mkmf.rb (install_rb): site-install didn't work properly.
Sun Jun 23 00:19:10 2002 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date.rb, lib/date/format.rb, sample/cal.rb, sample/goodfriday.rb:
updated to the new version (based on date2 3.3).
Sat Jun 22 14:41:33 2002 Guy Decoux <ts@moulon.inra.fr>
* ext/socket/socket.c (sock_addrinfo): make all 3 versions of
getaddrinfo happy. [ruby-core:00184]
Fri Jun 21 18:49:58 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): __END__ should not be effective within
string literals.
Thu Jun 20 21:09:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/readline/readline.c (readline_readline): get rid of
libreadline's bug. (ruby-bugs-ja:PR#268)
Thu Jun 20 17:10:27 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* lib/ftool.rb (BUFSIZE): tuning, set buffer length to 8192.
* configure.in (__NO_ISOCEXT): add for mingw-runtime 2.0-2.
* configure.in (__MSVCRT__): removed because it is defined
in the GCC specs.
Wed Jun 19 14:46:18 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb, lib/mkmf.rb (xsystem): open the log file if xsystem
is called.
Wed Jun 19 01:01:13 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (here_document): should be aware of __END__ within here
documents.
Wed Jun 19 00:50:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (yylex): ? followed by successive word charaters is
ternary operator not numeric literal.
* parse.y (yylex): commands after break/next/rescue can take
arguments. (ruby-bugs-ja:PR#265)
Tue Jun 18 19:20:16 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/mkexports.rb: remove unnecessary exports. (ruby-dev:17418)
Tue Jun 18 12:50:17 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (yylex): should pushback proper char after '<<'.
* parse.y (range_op, cond0, cond): get rid of doubled warnings.
* parse.y (value_expr): reduce recursion level.
* parse.y (logop): ditto.
Mon Jun 17 11:11:34 2002 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* string.c (rb_str_crypt): result need not be tainted always.
Mon Jun 17 10:51:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* dln.c (dln_load): need to preserve dln_strerror() result,
calling other dl family can clear it.
Sat Jun 15 22:56:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): obsolete '?<whitespace>'; use '?\s', '?\n',
etc, instead.
Sat Jun 15 18:51:13 2002 Akinori MUSHA <knu@iDaemons.org>
* dir.c (glob_helper): Use lstat() instead of stat() so it catches
a dead symlink. Given a dead symlink named "a", Dir.glob("?")
did catch it but Dir.glob("a") somehow didn't.
Sat Jun 15 01:59:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): no here document after a dot.
* parse.y (yylex): should have set lex_state after '`'.
* parse.y (yylex): should have set lex_state properly after
tOP_ASGN.
Fri Jun 14 21:01:48 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* bcc32/mkexports.rb: insert sleep(1) for win9x.
* bcc32/configure.bat: change return code LF -> CRLF fo win9x.
* win32/win32.c: fix rb_w32_open_osfhandle()
Fri Jun 14 15:22:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (read_escape): deny zero-width hexadecimal character.
(ruby-bugs-ja:PR#260)
* parse.y (tokadd_escape): ditto.
* regex.c (re_compile_pattern): ditto.
Fri Jun 14 00:49:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_big2dbl): return canonical HUGE_VAL for infinity.
Thu Jun 13 09:43:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (svalue_to_avalue): v may be Qundef. This fix was
suggested by Guy Decoux.
Thu Jun 13 00:33:49 2002 takuma ozawa <metal@mine.ne.jp>
* hash.c (rb_hash_s_create): use rb_hash_aset() instead of calling
st_insert() directly, to dup&freeze string keys.
Thu Jun 13 00:12:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): proper error message for "@@0".
* parse.y (yylex): paren to parse_string() must be zero for
unparenthesized strings.
* parse.y (str_extend): broken string when unterminated "#{".
* enum.c (enum_sort_by): had a bug in 1 element enumeration.
Wed Jun 12 18:04:44 2002 akira yamada <akira@arika.org>
* uri/common.rb (REGEXP::PATTERN::X_ABS_URI): 'file:/foo' is valid.
* uri/generic.rb (Generic#xxx=): should return substituted value.
(ruby-dev:16728.)
* test/generic.rb (test_set_component): added tests for the above
change.
Wed Jun 12 02:38:00 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (stmt): fix typo.
Wed Jun 12 01:10:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): 'do' should return kDO_BLOCK on EXPR_ENDARG.
* parse.y (singleton): "def (()).a end" dumped core.
* parse.y (range_op): node may be null.
* parse.y (match_gen): ditto.
Tue Jun 11 19:20:34 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in (LIBRUBY): rename to lib$(LIBRUBY_SO).a on Cygwin/MinGW.
* configure.in, cygwin/GNUmakefile: use dllwrap when --disable-shared
is specified.
Tue Jun 11 17:12:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (arg): void value check for "..", "...", "!", and "not".
* parse.y (match_gen): void value check for "=~".
* parse.y (value_expr): check NODE_AND and NODE_OR recursively.
* parse.y (cond0): void value check added for conditionals.
Tue Jun 11 13:18:47 2002 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (noop): new method.
* lib/net/ftp.rb (site): ditto.
Tue Jun 11 13:15:41 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* bcc32/Makefile.sub: set PROCESSOR_LEVEL to 6 if it's too big value.
* win32/Makefile.sub: ditto.
Tue Jun 11 12:37:46 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* bcc32/configure.bat fix.
Tue Jun 11 10:18:23 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* new platform [bccwin32] merged.
- create new folder bcc32
- modify any files for bccwin32
error.c, file.c, hash.c, io.c, instruby.rb,
ext/extmk.rb.in,
lib/mkmf.rb, lib/ftools.rb,
ext/digest/defs.h,
ext/dl/depend, ext/dl/dl.c, ext/dl/sym.c, ext/dl/extconf.rb,
ext/socket/extconf.rb,
ext/pty/extconf.rb,
ext/tcltklib/extconf.rb
ext/Win32API/Win32API.c,
win32/dir.h, win32/win32.c, win32/win32.h, win32/resource.rb
Mon Jun 10 19:02:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* numeric.c (fix_lshift): negative shift count means right shift.
(ruby-bugs-ja:PR#248)
* numeric.c (fix_rshift): return -1 when left side operand is
negative. (ruby-bugs-ja:PR#247)
* parse.y (yylex): `0_' should be an error. (ruby-bugs-ja:PR#249)
Mon Jun 10 01:53:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): ruby_frame->last_func may be null, if it's
called outside of a method.
* parse.y (arg): use INT2NUM, not INT2FIX for tUMINUS.
* parse.y (arg): unnecessary negative tPOW treatment.
* parse.y (tokadd_escape): wrong backslash escapement.
Sun Jun 9 17:40:41 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl: change the callback mechanism.
Sat Jun 8 00:48:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (stmt,arg): too much void value check.
* parse.y (stmt,arg): need to check void value on rules which does
not use node_assign().
Thu Jun 6 19:50:39 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org>
* sample/biorhythm.rb (getPosiiton,etc)
fix at changing Date module ( Date is changed Fixnum to Rational )
Thu Jun 6 17:42:39 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (ipaddr): need not to taint hostnames.
Thu Jun 6 12:04:30 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (config.status): use sub! instead of []= because
[]= causes exception.
Thu Jun 6 11:42:15 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* lib/thread.rb (Queue::pop): get rid of race condition.
Tue Jun 4 23:09:24 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_include): should be based on "<=>", whereas
member? still is based on "each".
* range.c (range_min,range_max): redefine methods based on "<=>".
Tue Jun 4 18:28:37 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/socket/extconf.rb: The IPv6 stack of Cygwin is still incomplete.
* ext/Win32API/extconf.rb: refactoring.
Tue Jun 4 00:45:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/socket/addrinfo.h: typo.
* ext/socket/getaddrinfo.c (gai_strerror): make literals const.
* ext/socket/socket.c (init_inetsock): ensures resources are
freed at exceptions.
* ext/socket/socket.c (init_unixsock): ditto.
* ext/socket/socket.c (udp_connect): ditto.
Mon Jun 3 20:39:51 2002 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole/extconf.rb : change PLATFORM with RUBY_PLATFORM.
Mon Jun 3 07:07:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (here_document): check if identifier is terminated.
(ruby-bugs-ja:PR#239)
* parse.y (yylex): should pushback proper char after '**'.
(ruby-bugs-ja:PR#240)
Mon Jun 3 05:56:17 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_aset): should raise error if an indexing string
is not found in the receiver.
* sprintf.c (rb_f_sprintf): "%d" should convert objects into
integers using Integer().
Sat Jun 1 19:20:07 2002 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole: merge from rough.
Fri May 31 17:11:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/tempfile.rb (Tempfile::size): added.
Thu May 30 12:52:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_step): iteration done using "+" if elements are
Numeric. Otherwise using "succ".
* range.c (range_each): iteration done using "succ". If the
elements does not respond to "succ", raise TypeError. As a
result, all Enumerable methods, e.g. collect, require elements
to respond to "succ".
* range.c (range_member): comparison done using "each", if
elements are non-Numeric or no-"succ" objects. Otherwise
compare using "<=>".
* range.c (Init_Range): remove "size" and "length".
Thu May 30 09:16:36 2002 Wakou Aoyama <wakou@ruby-lang.org>
* lib/cgi.rb: if StringIO is usable then use it.
Wed May 29 18:55:47 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org>
* function renames my* and win32_* to rb_w32_* in win32/win32.c
fixed files win32/win32.c, win32/win32.h, win32/dir.h,
hash.c, rubysig.h, signal.c, ext/socket/socket.c
Wed May 29 17:32:55 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* time.c (tmcmp, search_time_t): activate unless HAVE_TIMEGM.
Wed May 29 13:45:15 2002 Wakou Aoyama <wakou@ruby-lang.org>
* lib/cgi.rb: not use const if GET, HEAD. check multipart form head.
Tue May 28 17:56:02 2002 Sean Chittenden <sean@ruby-lang.org>
* parse.y: yyparse #defines moved from intern.h
* ruby.c (proc_options): access prefixed "ruby_yydebug".
* applied modifies to pacify some of gcc -Wall warnings.
Tue May 28 14:07:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (arg): no more ugly hack for "**", so that "-2**2" to be
parsed as "(-2)**2", whereas "- 2**2" or "-(2)**2" to be parsed
as "-(2**2)".
* parse.y (yylex): '-2' to be literal fixnum. [new]
Tue May 28 12:13:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (scope_node): trick to keep the node has a scope.
* eval.c (rb_eval): NODE_EVSTR: write back local_tbl to the node.
* eval.c (rb_eval): NODE_SCOPE: hold the scope node in ruby_scope.
* eval.c (module_setup): ditto.
* eval.c (rb_call0): ditto.
* node.h (NEW_DASGN, NEW_DASGN_CURR): remove surplus semicolons.
Fri May 24 09:06:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_arg): nil test against v[6] (usec).
Thu May 23 16:39:21 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ruby.c (proc_options): option parsing problem.
(ruby-bugs-ja:PR#233)
Thu May 23 09:13:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (proc_options): removed "-*-" support for #! line.
* io.c (rb_io_s_sysopen): new method to get a raw file
descriptor. [new]
* ext/socket/socket.c (tcp_sysaccept): new method to return an
accepted socket fd (integer). [new]
* ext/socket/socket.c (unix_sysaccept,sock_sysaccept): ditto.
Wed May 22 21:26:47 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ruby.c (proc_options): -T consumes digits only.
Wed May 22 20:18:31 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: need not link vsnprintf.o on MinGW.
Wed May 22 18:34:23 2002 Minero Aoki <aamine@loveruby.net>
* parse.y (yylex): Here-document label ate '-'.
Tue May 21 13:25:18 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* misc/ruby-mode.el (ruby-font-lock-keywords): symbols end with
'_'.
Tue May 21 04:48:37 2002 Sean Chittenden <sean@chittenden.org>
* lib/cgi-lib.rb: Checking for constant MOD_RUBY instead of
environment variable. Remove a mod_ruby warning and use
Apache::request.headers_out[] instead.
Tue May 21 01:16:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (bodystmt): ensure clause was excuted on else clause
without rescue clause.
Tue May 21 00:20:25 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl/ptr.c: rename PtrData::alloc to PtrData::malloc.
* ext/dl/lib/dl/struct.c: rename Struct#alloc to Struct#malloc.
Mon May 20 14:29:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (Init_Object): should do exact match for Module#==.
* compar.c (cmp_eq): returns 'false' if <=> returns 'nil'.
* compar.c (cmp_gt,cmp_ge,cmp_lt,cmp_le,cmp_between): ditto.
Mon May 20 13:28:52 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* io.c (rb_io_clone): writing stream was not copied properly.
Sat May 18 21:38:11 2002 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date.rb, lib/date/format.rb, lib/parsedate.rb:
updated to the new version (based on date2 3.2.1).
Sat May 18 21:18:00 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (config.h): add VC++4/5 support about noreturn
directive.
Sat May 18 02:16:41 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_pack): should propagate taintedness.
* pack.c (pack_unpack): ditto.
Fri May 17 16:16:19 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* sampl/test.rb: use eval instead of './miniruby -c',
in order to check a syntax error.
Thu May 16 14:46:34 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_thread_select): cleanup conditional compilation.
Wed May 15 06:13:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_schedule): need to preserve errno before
calling rb_trap_exec().
* regex.c (calculate_must_string): a bug in charset/charset_not
parsing.
Tue May 14 18:17:44 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* win32/Makefile.sub: config.h inlined. and catch up with the
latest change.
* win32/config.h.in: no longer used.
Tue May 14 14:49:05 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings.
* missing/strftime.c (timezone): it should take no argument on Cygwin.
Tue May 14 03:07:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_clear_cache_by_class): new function.
* eval.c (set_method_visibility): should have clear cache for
updated visibility.
Mon May 13 14:38:33 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* djgpp/config.hin, djgpp/config.sed: catch up with the latest change.
Mon May 13 01:59:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (flo_to_s): default format precision to be "%.16g".
* util.c (ruby_strtod): use own strtod(3) implementation to avoid
locale hell. Due to this change "0xff".to_f no longer returns 255.0
Sun May 12 03:01:08 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* missing.h: add for missing/*.c.
* ruby.h: add `#include "missing.h"'.
* Makefile.in: add the dependency of missing.h by gcc -MM.
* MANIFEST: add missing.h
Sat May 11 23:24:52 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl: enable dl's stack emulation for constructing function call.
Sat May 11 10:52:09 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* dir.c (glob_helper): remove escaping backslashes.
Sat May 11 02:46:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (avalue_to_yvalue): new function to distinguish yvalue
(no-arg == Qundef) from svalue (no-arg == Qnil).
* eval.c (rb_yield_0): use avalue_to_yvalue().
* eval.c (assign): warn if val == Qundef where it means rhs is
void (e.g. yield without value or call without argument).
Fri May 10 19:00:47 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (here_document): preserve line number begins here
document.
Fri May 10 01:55:44 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_thread_join): added an argument to limit time to wait
the thread.
* eval.c (rb_thread_join_m): new. and added optional argument.
Wed May 8 23:48:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (value_expr): need not to warn for WHILE and UNTIL,
since they can have return value (via valued break).
Tue May 7 17:13:40 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: forgot to add '-Wl,' to the gcc option on Cygwin/MinGW.
Tue May 7 15:41:33 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/iconv/iconv.c (iconv_try): should initialize exceptions
properly. (ruby-bugs-ja:PR#232)
Tue May 7 15:28:03 2002 Minero Aoki <aamine@loveruby.net>
* eval.c (rb_yield_0): The destination of the goto jump was wrong.
Tue May 7 09:17:51 2002 Minero Aoki <aamine@loveruby.net>
* eval.c (superclass): undesirable "unexpected return" when the
superclass is not a Class.
Sun May 5 06:53:45 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/mkmf.rb: exclude topdir from the system configuration
section and prevent it from being overridden.
Fri May 3 20:19:00 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: add #include <errno.h> in AC_CHECK_DECLS().
* win32/config.h.in: define HAVE_DECL_SYS_NERR.
Thu May 2 23:42:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_s_quote): # also should be quoted.
Thu May 2 18:27:13 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for
Borland make.
Thu May 2 08:01:56 2002 Chris Thomas <kenshin@apple.com>
* error.c: use HAVE_DECL_SYS_NERR instead of platform names.
Tue Apr 30 09:23:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (num_step): better iteration condition for float
values; suggested by Masahiro TANAKA <masa@ir.isas.ac.jp>.
Tue Apr 30 05:59:42 2002 Michal Rokos <m.rokos@sh.cvut.cz>
* range.c (range_step): step (for Range#step method) <= 0 makes no
sence, thus ArgError will be raised.
* range.c (range_each): Range#each method is special case for
Range#step(1)
Mon Apr 29 18:46:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (rb_find_file): load must be done from an abolute path if
$SAFE >= 4.
Sun Apr 28 17:01:56 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.c (insert): fix prototype for ANSI C.
Fri Apr 26 13:47:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (enum_partition): new method. [new]
Fri Apr 26 13:41:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_s_quote): quote whitespaces for /x cases.
Fri Apr 26 06:48:23 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl/ptr.c (cary2ary): missing break in switch statements.
Fri Apr 26 09:35:47 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_proc_new): make Proc from C function. [new]
* intern.h (rb_proc_new): prototype.
Wed Apr 24 14:56:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (proc_to_proc): return self. [new]
* eval.c (block_pass): no need to convert if block is Proc.
Wed Apr 24 14:21:41 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: set size of the initial stack from
2MB to 32MB on MinGW/Cygwin.
Wed Apr 24 14:06:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (num_step): try to reduce residual on Float operations.
Wed Apr 24 06:48:31 2002 Koji Arai <jca02266@nifty.ne.jp>
* io.c (rb_io_mode_flags): both 'r+b' and 'rb+' should be allowed.
* io.c (rb_io_mode_modenum): ditto.
Wed Apr 24 01:16:14 2002 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/stringio/stringio.c (strio_mark): must check if ptr is NULL
first. [ruby-talk:38873]
* lib/mkmf.rb (create_makefile): should print depend file when
make is other than nmake.
Wed Apr 24 00:37:12 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive instead
of `$(srcdir)/' when including depend file.
* lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend
file.
Tue Apr 23 12:58:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (rb_memerror): rename from mem_error, and exported.
* gc.c (Init_GC): pre-allocate NoMemoryError instance.
* object.c (convert_type): error message changed from "failed to
convert" to "cannot convert", since it does not try to convert
if an object does not respond to the converting method.
Mon Apr 22 09:31:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (block_pass): convert Method to Proc using
rb_check_convert_type().
* object.c (rb_check_convert_type): always convert T_DATA
* eval.c (rb_thread_cleanup): should not terminate main_thread by
Fatal error.
* regex.c (is_in_list): need to not exclude NUL and NEWLINE.
Sat Apr 20 00:19:13 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_expr_str): wrong backslash escapement.
* re.c (rb_reg_expr_str): do not escape embedded space
characters.
Fri Apr 19 22:03:40 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS.
* win32/setup.mak: ditto.
Fri Apr 19 17:24:22 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (w_object): T_DATA process patch from Joel VanderWerf
<vjoel@PATH.Berkeley.EDU>. This is temporary hack; it remains
undocumented, and it will be removed when marshaling is
re-designed.
* marshal.c (r_object): ditto.
Fri Apr 19 17:10:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (num_step): Integer#step is moved to Numeric#step;
Fixnum#step is merged into this method.
* numeric.c (int_dotimes): Fixnum#times is merged.
* numeric.c (int_upto): Fixnum#upto is merged.
* numeric.c (int_downto): Fixnum#downto is merged.
Fri Apr 19 16:22:55 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32.
* win32/win32.c: include <mswsock.h> on __MINGW32__.
* configure.in: cleanup for autoconf 2.5x.
* configure.in: use gcc -shared instead of dllwrap on Cygwin/MinGW.
* ext/extmk.rb, lib/mkmf.rb: get rid of "--def=".
Fri Apr 19 14:57:44 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* re.c (rb_reg_to_s): remove redundant shy group.
Fri Apr 19 01:08:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_cleanup): current thread may be THREAD_STOPPED,
for example when terminated from signal handler.
Thu Apr 18 19:03:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (re_compile_pattern): remove /p support.
* regex.h: ditto.
* parse.y (parse_regx): ditto.
Thu Apr 18 17:01:43 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl/ptr.c (rb_dlptr_cast): removed.
Thu Apr 18 17:01:43 2002 Tanaka Akira <akr@m17n.org>
* re.c (rb_reg_to_s): new function for Regexp#to_s.
Wed Apr 17 23:55:34 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/Setup*, ext/bigfloat/*: Back out the import of BigFloat in
favor of its forthcoming successor, BigDecimal.
Wed Apr 17 16:53:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_expr_str): should treat backslash specially in
escaping.
Wed Apr 17 08:16:41 2002 Michal Rokos <m.rokos@sh.cvut.cz>
* io.c: complete off_t handling; missing argument for
fptr_finalize(); polished rb_scan_args call.
Wed Apr 17 00:01:59 2002 Michal Rokos <m.rokos@sh.cvut.cz>
* dir.c: wrap multi-statment macro by do { } while (0)
* eval.c, numeric,c, sprintf.c, util.c: ditto.
Tue Apr 16 08:59:50 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (assign): convert mrhs to mvalue.
Mon Apr 15 18:12:57 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_big_eq): check `y == x' if y is neither Fixnum,
Bignum, nor Float.
Mon Apr 15 09:27:31 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_unpack): should treat 'U' in character unit, not in
byte unit.
* error.c (exc_initialize): should clear backtrace information.
Sat Apr 13 23:42:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_fptr_cleanup): should close IO created by IO.new(fd).
* rubyio.h: remove FMODE_FDOPEN
Fri Apr 12 12:54:04 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub: use missing/acosh.c.
* win32/config.h.in: define HAVE_COSH, HAVE_SINH, and HAVE_TANH.
Fri Apr 12 02:58:55 2002 Koji Arai <jca02266@nifty.ne.jp>
* struct.c (rb_struct_select): fix typo.
Fri Apr 12 00:34:17 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* MANIFEST (missing/acosh.c): added.
* Makefile.in (missing/acosh.c): ditto.
* Makefile.in (missing/fileblocks.c): ditto.
* configure.in (AC_REPLACE_FUNCS): check acosh() on behalf of
inverse hyperbolic functions, asinh() and atanh().
* missing/acosh.c: added for acosh(), asinh() and atanh().
Thu Apr 11 20:01:44 2002 Masahiro Tomita <tommy@tmtm.org>
* io.c (io_write): check error if written data is less than
specified size to detect EPIPE.
Thu Apr 11 19:10:37 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* io.c (remain_size): IO#read returns "" if file.size == 0.
* random.c (rand_init): add check for initstate(3).
* configure.in: ditto.
Thu Apr 11 09:31:19 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl/ptr.c: raise() -> rb_raise(). (Thanks Tetsuya Watanabe)
* ext/dl/sym.c: ditto.
Thu Apr 11 07:57:48 2002 Michal Rokos <m.rokos@sh.cvut.cz>
* eval.c (assign): ruby_verbose should be surrounded by RTEST().
* object.c (rb_str2cstr): ditto.
* parse.y (void_expr): ditto.
* parse.y (void_stmts): ditto.
* variable.c (rb_ivar_get): ditto.
* variable.c (rb_cvar_set): ditto.
* variable.c (rb_cvar_get): ditto.
Thu Apr 11 07:02:31 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl: Add dl.txt instead of README and README.html.
Thu Apr 11 01:55:52 2002 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi/session.rb: support for multipart form.
Wed Apr 10 18:42:23 2002 Tachino Nobuhiro <tachino@jp.fujitsu.com>
* dir.c (glob_helper): should have proceed link when link->path
was non existing symbolic link.
Wed Apr 10 17:30:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_obj_remove_instance_variable): raise NameError if
specified instance variable is not defined.
* variable.c (generic_ivar_remove): modified to check ivar
existence.
Wed Apr 10 14:16:45 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* misc/ruby-mode.el (ruby-font-lock-keywords): fontify symbols for
unary operators and aset.
Tue Apr 9 13:40:31 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* lib/mkmf.rb (try_link0): need expand macro in command, sync with
ext/extmk.rb.in.
* lib/mkmf.rb (try_cpp): ditto.
* lib/mkmf.rb (egrep_cpp): ditto.
Tue Apr 9 12:44:59 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/stringio/stringio.c (check_modifiable): performance
improvement. avoid calling rb_str_modify() twice.
* ext/stringio/stringio.c (strio_ungetc): ditto.
* ext/stringio/stringio.c (strio_putc): ditto.
* ext/stringio/stringio.c (strio_write): ditto, and use
rb_str_cat() as possible.
Tue Apr 9 05:17:48 2002 Akinori MUSHA <knu@iDaemons.org>
* re.c (match_select): fix index references and make
MatchData#select actually work.
Tue Apr 9 00:20:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (rb_file_s_extname): new method based on the proposal
(and patch) from Mike Hall. [new]
Mon Apr 8 04:50:51 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (error_handle): default to 1 unless status is set.
* eval.c (ruby_options): guard error_handle() with PROT_NONE.
* eval.c (ruby_stop): ditto.
Mon Apr 8 01:22:24 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* math.c (math_acosh): added. [new]
* math.c (math_asinh): ditto.
* math.c (math_atanh): ditto.
* struct.c (rb_struct_each_pair): method added. [new]
Sat Apr 6 02:04:49 2002 Guy Decoux <ts@moulon.inra.fr>
* class.c (rb_singleton_class): wrong condition; was creating
unnecessary singleton class.
Sat Apr 6 01:09:41 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* sprintf.c (remove_sign_bits): simplifies the condition.
* bignum.c (get2comp): calculate proper carry over.
Fri Apr 5 05:07:28 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl: Add dl/struct.rb.
Thu Apr 4 14:08:52 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl/lib/dl/import.rb: Get rid of ineffective
encoding/decoding procedures.
Thu Apr 4 01:08:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (int_step): step may be a float less than 1.
Wed Apr 3 20:42:34 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl: Merge Nakada's patch.
* ext/dl/dl.h: define StringValuePtr for ruby-1.6.
Wed Apr 3 15:37:24 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl: Add dl/types.rb.
Wed Apr 3 01:54:10 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.
Tue Apr 2 19:59:13 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* ext/dl: Merge from rough.
Tue Apr 2 15:17:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* Makefile.in (CPPFLAGS): remove @includedir@.
* lib/mkmf.rb (create_makefile): ditto.
* ext/extmk.rb.in (create_makefile): ditto.
Tue Apr 2 15:09:05 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/socket/socket.c (sock_addrinfo): should clear addrinfo hints.
Mon Apr 1 23:48:12 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
* lib/mkmf.rb: install any files using $INSTALLFILES.
(see also [ruby-dev:16683])
Mon Apr 1 17:25:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_fptr_cleanup): need flush even when io will not be
closed.
* io.c (rb_io_initialize): was calling wrong function
rb_io_mode_flags().
Mon Apr 1 16:52:00 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/sdbm/init.c (each_pair): moved prototype before the
definition.
* ext/racc/cparse/cparse.c (call_scaniter): ditto.
Mon Apr 1 15:11:40 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/racc/cparse/cparse.c: prototype; call_scaniter().
* ext/sdbm/init.c: prototype; each_pair().
* ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(),
Nobu's patch at [ruby-dev:14483].
Mon Apr 1 10:56:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (match_setter): it's OK to assign nil to $~.
Mon Apr 1 03:55:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_fptr_cleanup): do not close IO created by for_fd().
* io.c (rb_io_initialize): mark IO created by for_fd
* ext/socket/socket.c (bsock_s_for_fd): ditto.
Fri Mar 29 20:21:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* lib/mkmf.rb (create_makefile): default FLAGS to empty strings.
Fri Mar 29 16:36:52 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* lib/mkmf.rb (arg_config): should use Shellwords::shellwords like
ext/extmk.rb.in.
* lib/mkmf.rb (enable_config): default had priority over command
line options and configure_args.
* lib/mkmf.rb: support autoconf 2.53 style variables from
environment.
* lib/mkmf.rb: add directory options.
Fri Mar 29 15:49:29 2002 Usaku Nakamura <usa@ruby-lang.org>
* win32/README.win32: follow recent changes.
Fri Mar 29 14:44:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (io_fflush): DRY patch from /Christoph applied.
Thu Mar 28 18:58:13 2002 Usaku Nakamura <usa@ruby-lang.org>
* win32/Makefile.sub (config.status): reflect user defined $CC in
config.status.
Thu Mar 28 18:03:51 2002 Minero Aoki <aamine@loveruby.net>
* ext/strscan/strscan.c: add taint check.
* ext/strscan/strscan.c: #getch/#get_byte should set regexp
registers.
* ext/strscan/strscan.c: remove useless #include directive.
* ext/strscan/strscan.c: refactor struct strscanner.
Thu Mar 28 14:51:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (sock_addrinfo): should specify socktype
from outside.
Wed Mar 27 17:04:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (argf_binmode): should call next_argv() to initialize ARGF.
* io.c (argf_filename): ditto.
* io.c (argf_file): ditto.
Wed Mar 27 14:47:32 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* io.c (READ_DATA_PENDING): configure.in has supported for uClibc,
so remove uClibc stuff.
Wed Mar 27 13:14:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_sysseek): new method based on a patch from Aristarkh
A Zagorodnikov <xm@bolotov-team.ru>. [new]
* io.c (READ_DATA_PENDING): use !feof(fp) for default behavior.
Tue Mar 26 20:28:50 2002 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb: HTTP.get accepts URI.
* lib/net/http.rb: new method HTTP.get_uri.
* lib/net/http.rb: add some HTTP 1.1 response codes.
Tue Mar 26 20:25:28 2002 Minero Aoki <aamine@loveruby.net>
* doc/net/protocol.rd.ja, smtp.rd.ja, pop.rd.ja: removed.
* MANIFEST: remove doc/net/* entries.
Tue Mar 26 18:45:15 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in (FILE_READPTR): check bufread instead of bufend
for uClibc.
* ext/extmk.rb.in (arg_config): should use Shellwords::shellwords.
Tue Mar 26 01:56:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (primary): while/until statement modifiers to "begin"
statement now work as "do .. while" even when begin statement
has "rescue" or "ensure" [new].
* parse.y (bodystmt): rescue/ensure is allowed at every bodies,
i.e. method bodies, begin bodies, class bodies[new], and module
bodies[new].
Mon Mar 25 22:10:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (sock_addrinfo): should specify ai_socktype
for getaddrinfo hints.
Mon Mar 25 17:18:48 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* dir.c (rb_push_glob): local variable 'maxnest' was
uninitialized.
Mon Mar 25 16:53:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_f_abort): embed aborting message into exception
object [new].
* eval.c (terminate_process): utility function for exit and abort.
Tue Mar 26 14:04:47 2002 okabe katsuyuki <HGC02147@nifty.ne.jp>
* win32/mkexports.rb: support VC++.NET.
Tue Mar 26 14:00:17 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/bigfloat/bigfloat.c: Fix the initializer's function name
according to the new library name. (pointed out by nobu)
Tue Mar 26 11:12:01 2002 Minero Aoki <aamine@loveruby.net>
* lib/fileutils.rb: new file.
Tue Mar 26 03:23:50 2002 Tanaka Akira <akr@m17n.org>
* lib/pp.rb (pp): return nil like p.
Tue Mar 26 01:48:01 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/bigfloat/extconf.rb: Downcase the library name. (BigFloat.so
-> bigfloat.so)
* ext/bigfloat/bigfloat.c (BigFloat_inspect): Alter the inspect
format not to look like an array. (pointed out by akr)
* ext/bigfloat/bigfloat.c (BigFloat_hash): Implement BigFloat#hash.
* ext/bigfloat/bigfloat.c (BigFloat_dump, BigFloat_load):
Support marshaling.
Tue Mar 26 00:38:11 2002 Tanaka Akira <akr@m17n.org>
* configure.in (FILE_READPTR): check _p for 4.4BSD.
Mon Mar 25 23:39:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* configure.in (FILE_READPTR): new. for IO#gets improvement.
* io.c (READ_DATA_PENDING_PTR): ditto.
* io.c (remain_size): separated from read_all().
* io.c (read_all): argument chagend.
* io.c (appendline): new. get a line and append to string.
* io.c (swallow): new. swallow continuous line delimiters.
* io.c (rb_io_getline_fast): add delimiter argument.
* io.c (rb_io_getline): performance improvement.
Mon Mar 25 19:30:25 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb.in (arg_config): get rid of single quotes
for autoconf 2.53.
Mon Mar 25 17:49:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* regex.c (mbc_startpos_func): VC6 seems to be unable to
understand forward declaration for static variables.
* dir.c (rb_push_glob): local variable 'maxnest' was
uninitialized.
Mon Mar 25 13:24:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not be
allowed when $SAFE > 3.
* eval.c (rb_thread_ready): THREAD_TO_KILL threads should not turn
into THREAD_RUNNABLE on wakeup.
* eval.c (rb_thread_list): THREAD_TO_KILL threads should be in the
list.
* eval.c (thgroup_list): ditto; by moving gid clearance from
rb_thread_cleanup().
Mon Mar 25 11:06:19 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* dln.c (dln_argv0): unused unless USE_DLN_A_OUT.
* regex.c (mbc_startpos_func): should be static.
Sun Mar 24 12:19:09 2002 Koji Arai <jca02266@nifty.ne.jp>
* dir.c (fnmatch): "*/bar" (with FNM_PATHNAME flag) does not
match "foo/bar".
Sun Mar 24 00:46:05 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* util.c (push_element): avoid warning for djgpp.
Sat Mar 23 01:50:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (read_all): files on /proc filesystem with zero stat size,
may have contents.
Fri Mar 22 18:07:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (tcp_s_gethostbyname): refactored.
* ext/socket/socket.c (sock_s_gethostbyname): ditto.
Fri Mar 22 16:46:54 2002 Minero Aoki <aamine@loveruby.net>
* ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse.
Fri Mar 22 16:22:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* the VMS support patch submitted by Akiyoshi, Masamichi
<Masamichi.Akiyoshi@jp.compaq.com> is merged.
Fri Mar 22 16:27:24 2002 Minero Aoki <aamine@loveruby.net>
* lib/racc/parser.rb: new file.
* ext/racc/MANIFEST, cparse.c, depend, extconf.rb: new files.
* lib/README: add racc/parser.rb.
* ext/Setup*: add racc/cparse.
Fri Mar 22 15:04:03 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (exec_under): changing ruby_class is OK, but should not
alter cbase.
* eval.c (yield_under_i): ditto.
Fri Mar 22 15:44:38 2002 Minero Aoki <aamine@loveruby.net>
* ext/strscan/MANIFEST, strscan.c, depend, extconf.rb: new files.
* ext/Setup*: add strscan entry.
Fri Mar 22 14:32:14 2002 Minero Aoki <aamine@loveruby.net>
* lib/net/protocol.rb: Protocol#start should return self.
Fri Mar 22 14:14:21 2002 Tanaka Akira <akr@m17n.org>
* lib/resolv.rb: fix arguments to create exceptions.
Patch from matt@lickey.com. (ruby-bugs:PR#278)
Fri Mar 22 13:51:11 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/bigfloat/.cvsignore, ext/bigfloat/MANIFEST: BigFloat 1.1.8
has been imported. Add .cvsignore and MANIFEST.
Fri Mar 22 04:07:55 2002 Koji Arai <jca02266@nifty.ne.jp>
* sprintf.c (rb_f_printf): discard meaningless prefix ".." for '%u'.
Thu Mar 21 01:11:37 2002 Usaku Nakamura <usa@ruby-lang.org>
* win32/Makefile.sub (config.status): fix install path (prefix).
Thu Mar 21 01:03:05 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/configsub.rb: latest autoconf style support.
Wed Mar 20 22:16:25 2002 Usaku Nakamura <usa@ruby-lang.org>
* mkconfig.rb: close duplicated $stdout before renaming rbconfig.rb.
Wed Mar 20 21:54:17 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* win32/Makefile.sub: made variables configurable.
* win32/Makefile.sub (config.h): updates RUBY_PLATFORM from
Makefile.
* win32/Makefile.sub (config.status): ditto. and use recent
autoconf format.
* win32/Makefile.sub (clean): separate ext and local clean up.
* win32/Makefile.sub (distclean): ditto.
* win32/config.status.in: no longer used.
Wed Mar 20 20:12:35 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* variable.c (rb_const_list): a temporary table must be freed.
Wed Mar 20 19:44:09 2002 Tanaka Akira <akr@m17n.org>
* mkconfig.rb: don't touch rbconfig.rb if there is a trouble.
Wed Mar 20 16:05:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (is_defined): should check receiver only once.
* eval.c (is_defined): should handle NODE_NEWLINE.
Wed Mar 20 11:29:25 2002 Aristarkh A Zagorodnikov <xm@xml-objects.com>
* file.c (rb_file_s_expand_path): memory leak fixed.
Wed Mar 20 00:36:43 2002 Akinori MUSHA <knu@iDaemons.org>
* util.c (ruby_getcwd): the content of buf is uncertain and must
not be printed when getcwd(buf, size) has failed.
Mon Mar 18 22:19:52 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/stringio/stringio.c (check_modifiable): wrong declaration.
Mon Mar 18 18:04:05 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/digest: add depend file.
* ext/digest/md5: ditto.
* ext/digest/rmd160: ditto.
* ext/digest/sha1: ditto.
* ext/digest/sha2: ditto.
* ext/iconv/MANIFEST: ditto.
* ext/stringio/MANIFEST: ditto.
* ext/syslog: ditto.
Mon Mar 18 17:18:06 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_f_abort): should not bypass cleanup.
* ext/stringio/stringio.c (check_modifiable): void function.
Mon Mar 18 12:52:01 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/iconv/extconf.rb: workaround for GNU libiconv.
Mon Mar 18 10:55:03 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (parse_string): part of multi-byte sequence must not
match to paren.
* parse.y (parse_qstring): ditto.
* parse.y (parse_quotedwords): ditto.
* parse.y (str_extend): handle multi-byte characters.
Mon Mar 18 10:31:20 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* enum.c (enum_find): catch a value before recycle.
* enum.c (enum_all): ditto.
* enum.c (enum_any): ditto.
* enum.c (enum_min): ditto.
* enum.c (enum_max): ditto.
Sun Mar 17 20:08:04 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/iconv/depend: added.
* ext/stringio/depend: added.
Sat Mar 16 22:43:53 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* missing/fileblocks.c: add for autoconf.
Sat Mar 16 15:30:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_search): should clear last_match if pos is out of
string range.
* string.c (rb_str_index_m): ditto.
* string.c (rb_str_rindex): ditto.
Sat Mar 16 09:04:58 2002 Koji Arai <JCA02266@nifty.ne.jp>
* enum.c (enum_inject): use the first iterated element as the
initial value when omitted.
* enum.c (inject_i): ditto.
* enum.c (Init_Enumerable): Enumerable#inject now takes variable
count arguments.
Fri Mar 15 19:47:31 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* win32/win32.c (StartSockets): remove duplicated lines.
Fri Mar 15 17:44:08 2002 Usaku Nakamura <usa@ruby-lang.org>
* bignum.c, intern.h (rb_ull2big, rb_ll2big, rb_ull2inum, rb_ll2inum,
big2ull, rb_big2ull, rb_big2ll): use LONG_LONG macro instead of
long long.
* numeric.c, intern.h, ruby.h (rb_num2ll, rb_num2ull): ditto.
* ruby.h: use _I64_MAX and _I64_MIN if they are defined (for VC++).
Fri Mar 15 14:02:43 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/iconv/iconv.c: fixed document, Iconv#new is no longer an
iterator. thanks to Tanaka Akira <akr@m17n.org>.
Thu Mar 14 22:17:45 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/iconv: imported.
Thu Mar 14 16:42:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_define_class): should handle autoload.
* class.c (rb_define_module): ditto.
Thu Mar 14 16:18:12 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: autoconf 2.53 support. use AC_LIBOBJ.
Thu Mar 14 00:29:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_match): should clear $~ if operand is nil.
* re.c (rb_reg_match2): ditto.
Thu Mar 14 12:32:59 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/stringio/stringio.c: fixed frozen string bug. ungetc no
longer raises on readonly stream unless modifies actually.
Thu Mar 14 08:57:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* dir.c (rb_push_glob): avoid SEGV when a block given.
Thu Mar 14 00:16:02 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* string.c (rb_str_subpat_set): must make str independent after
rb_reg_search() matched.
Wed Mar 13 19:05:15 2002 Akinori MUSHA <knu@iDaemons.org>
* dir.c: FNM_PERIOD is obsoleted and FNM_DOTMATCH is introduced
instead, which has the opposite meaning of FNM_PERIOD.
* dir.c: Dir::glob now accepts optional FNM_* flags via the second
argument, whereas Dir::[] doesn't.
Wed Mar 13 18:36:55 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/getopts.rb: single_options can be nil[*], and is not not
optional. ([*]Pointed out by gotoken)
Wed Mar 13 17:23:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* configure: merge Jonathan Baker's large file support patch
[ruby-talk:35316], with read_all patch in [ruby-talk:35470].
Wed Mar 13 04:06:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_f_abort): optional message argument that be printed
on termination.
Tue Mar 12 17:12:06 2002 Tanaka Akira <akr@m17n.org>
* lib/resolv.rb: don't complete domains for absolute FQNs.
Mon Mar 11 23:08:48 2002 Tanaka Akira <akr@m17n.org>
* lib/tsort.rb: new file.
Mon Mar 11 21:03:37 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/stringio: new.
Mon Mar 11 18:03:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (re_compile_pattern): '\0111' should be '\011' plus '1',
since octal literals are formed by three digits at most.
Mon Mar 11 14:44:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (w_object): module inclusion using extend() should
also be detected.
* eval.c (rb_eval_cmd): cbase should not be NULL; it should be
either ruby_wrapper or Object.
Sun Mar 10 02:18:22 2002 Koji Arai <jca02266@nifty.ne.jp>
* enum.c (enum_each_with_index): should return self.
* process.c (proc_setpgrp): should return value for non-void function.
* process.c (proc_getpgid): should raise exception if getpgid() return -1.
* string.c (rb_str_ljust): should return a duplicated string.
* string.c (rb_str_rjust): ditto.
* string.c (rb_str_center): ditto.
Sat Mar 9 08:45:58 2002 Tanaka Akira <akr@m17n.org>
* ext/socket/extconf.rb (have_struct_member): don't print checked
result.
Fri Mar 8 12:19:15 2002 Tanaka Akira <akr@m17n.org>
* lib/resolv.rb: use its own thread group for background threads.
Fri Mar 8 02:21:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (cvar_cbase): utility function to find innermost non
singleton cbase.
* eval.c (is_defined): adopt new cvar behavior.
* eval.c (rb_eval): ditto.
* eval.c (assign): ditto.
Thu Mar 7 20:08:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* gc.c (rb_source_filename): added. holds unique strings for file
names with GC space.
* gc.c (rb_gc_mark): mark source file name.
* gc.c (gc_sweep): ditto.
* gc.c (Init_GC): initialize source file name table.
* intern.h (rb_source_filename): added.
* eval.c (rb_eval_string): use rb_source_filename().
* parse.y (yycompile): ditto.
* ruby.c (proc_options): ditto.
* ruby.c (load_file): ditto.
* ruby.c (ruby_script): ditto.
* ruby.c (ruby_prog_init): ditto.
Wed Mar 6 17:58:08 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* dln.c (dln_load): use LoadLibrary instead of LoadLibraryEx.
Wed Mar 6 16:50:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_mod_clone): should not call rb_obj_clone(), since
Module does not provide "allocate".
* class.c (rb_singleton_class): should create new singleton class
if obj is a class or module and attached object is different,
which means metaclass of singleton class is sought.
* time.c (time_s_alloc): now follows allocation framework.
Tue Mar 5 05:56:29 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/getopts.rb: Rewrite to fix some bugs and complete features.
- Accept options with the colon in the first argument;
getopts("a:bcd:") is equivalent to getopts("bc", "a:", "d:").
- Do not discard the argument that caused an error.
- Do not discard '-', which commonly stands for stdin or stdout.
- Allow specifying a long option with a value using '='.
(command --long-option=value)
- Stop reading options when it meets a non-option argument.
Mon Mar 4 13:19:18 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/extmk.rb.in (dir_config): Sync with mkmf.rb: Fix a bug where
--with-xx-{include,lib} is ignored when --with-xx-dir is
specified.
Mon Mar 4 00:09:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): should initialize outer class variables from
methods in singleton class definitions.
* eval.c (assign): ditto.
Fri Mar 1 11:29:10 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): add const
qualifier only for uClibc.
Fri Mar 1 11:22:51 2002 Amos Gouaux <amos+ruby@utdallas.edu>
* lib/net/imap.rb: added document.
* lib/net/imap.rb (getquotaroot): new method.
* lib/net/imap.rb (setacl): remove the rights if the rights
parameter is nil.
* lib/net/imap.rb (getacl): return an array of MailboxACLItem.
Fri Mar 1 06:25:49 2002 Tanaka Akira <akr@m17n.org>
* ext/socket/extconf.rb (have_struct_member): new method.
check msg_control and msg_accrights in struct msghdr. check
sys/uio.h.
* ext/socket/socket.c: include sys/uio.h if available.
(thread_read_select): new function.
(unix_send_io): ditto.
(unix_recv_io): ditto.
(unix_s_socketpair): ditto.
(Init_socket): define UNIXSocket#send_io, UNIXSocket#recv_io,
UNIXSocket.socketpair and UNIXSocket.pair.
* dln.c (dln_load): fix typo.
Wed Feb 27 16:30:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_mod_include): load modules in argument order.
* st.c (st_init_table_with_size): num_bins should be prime numbers
(no decrement).
* st.c (rehash): ditto.
Wed Feb 27 13:18:49 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* io.c (READ_DATA_PENDING): uClibc support.
* random.c (rand_init): ditto.
* ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto.
Wed Feb 27 07:05:17 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/sha2/sha2.c: Merge from rough. Fix a couple of
off-by-one errors in Aaron Gifford's code.
Obtained from: KAME via FreeBSD
KAME PR: 393
FreeBSD PR: kern/34242
Wed Feb 27 03:36:47 2002 Koji Arai <jca02266@nifty.ne.jp>
* ext/dbm/dbm.c (fdbm_select): 1.7 behavior.
* ext/gdbm/gdbm.c (fgdbm_select): ditto.
* ext/sdbm/sdbm.c (fsdbm_select): ditto.
* ext/dbm/dbm.c (fdbm_delete): adopt Hash#delete behavior.
* ext/sdbm/sdbm.c (fsdbm_delete): ditto.
* ext/gdbm/gdbm.c: need not to dup key to the block.
* ext/sdbm/sdbm.c : replace RuntimeError with SDBMError.
Tue Feb 26 21:34:07 2002 Usaku Nakamura <usa@ruby-lang.org>
* bignum.c (rb_big_2comp): void function cannot return any value.
Tue Feb 26 16:52:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_f_missing): NoMethod error messages for true, false,
nil must respond visibility like for other objects.
Tue Feb 26 15:41:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): call trace_func for if/while conditions.
* marshal.c (r_object): separate r_regist from proc calling.
Tue Feb 26 11:25:50 2002 akira yamada <akira@arika.org>
* lib/uri/generic.rb: merge0 shuld return [oth, oth] if oth is
absolute URI.
* lib/uri/generic.rb: registry part must not be allowed for any
schemes for the Internet. (RFC2396, section 3.2.2 and 3.2.1.)
Mon Feb 25 21:22:41 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/syslog/syslog.c: Merge from rough. Use SafeStringValue().
Mon Feb 25 21:12:08 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/syslog/syslog.c: Merge from rough. Turn Syslog into a
module keeping backward compatibility intact.
Mon Feb 25 19:35:48 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* sample/test.rb (system): test with scripts under the source
directory.
Mon Feb 25 15:14:01 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (method_inspect): should not dump core for unbound
singleton methods.
* object.c (rb_mod_to_s): better description.
Mon Feb 25 13:32:13 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* lib/shell.rb (Shell::expand_path): relative to @cwd.
Mon Feb 25 06:30:11 2002 Koji Arai <jca02266@nifty.ne.jp>
* hash.c (env_select): should path the assoc list.
Sun Feb 24 17:20:22 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/*/*.h: Merge from rough.
- Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.)
Sat Feb 23 21:12:13 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* process.c (rb_syswait): thread kludge; should be fixed to
support native thread.
Fri Feb 22 21:20:53 2002 Minero Aoki <aamine@loveruby.net>
* lib/net/protocol.rb: set read_timeout dynamically.
* lib/net/http.rb: @@newimpl is always true in the main trunk.
* lib/net/http.rb: HTTP.port -> default_port
* lib/net/http.rb: HTTPResponse.read_response_status ->
read_status_line
Fri Feb 22 19:56:15 2002 Usaku Nakamura <usa@ruby-lang.org>
* win32/config.status.in: set LIBRUBY_SO.
Fri Feb 22 03:34:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (get2comp): need to specify to carry or not.
* io.c (rb_io_inspect): embed path info.
Fri Feb 22 11:30:01 2002 Tanaka Akira <akr@m17n.org>
* lib/prettyprint.rb: FillGroup implemented.
Thu Feb 21 21:40:18 2002 Usaku Nakamura <usa@ruby-lang.org>
* ext/extmk.rb.in (create_makefile): remove unnecessary -L option from
LIBS macro.
Thu Feb 21 02:49:12 2002 Koji Arai <jca02266@nifty.ne.jp>
* pack.c (pack_pack): wrong # comment treatment.
* pack.c (pack_unpack): ditto.
Wed Feb 20 15:15:03 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* intern.h: prototypes; rb_io_addstr(), rb_io_printf(),
rb_io_print(), rb_io_puts()
* io.c (rb_io_addstr): make extern.
* io.c (rb_io_printf): ditto.
* io.c (rb_io_print): ditto.
* io.c (rb_io_puts): ditto.
Wed Feb 20 13:41:35 2002 Usaku Nakamura <usa@ruby-lang.org>
* io.c (rb_io_close): return Qnil.
Wed Feb 20 12:41:59 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_any_cmp): should handle Qundef in keys.
* eval.c (remove_method): should not remove a empty method to
implement "undef".
* eval.c (rb_eval): should allow singleton class def for
true/false/nil.
Tue Feb 19 21:43:32 2002 Minero Aoki <aamine@loveruby.net>
* lib/net/protocol.rb: rename Protocol.port to default_port.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.
* lib/net/protocol.rb: rename BufferedSocket class to
InternetMessageIO.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.
* lib/net/protocol.rb: rename InternetMessageIO#write_pendstr to
write_message.
* lib/net/smtp.rb: ditto.
* lib/net/protocol.rb: new method
InternetMessageIO#through_message.
* lib/net/smtp.rb: ditto.
* lib/net/protocol.rb: rename InternetMessageIO#read_pendstr to
read_message_to.
* lib/net/pop.rb: ditto.
* lib/net/protocol.rb: rename InternetMessageIO#read_pendlist to
each_list_item
* lib/net/pop.rb: ditto.
* lib/net/protocol.rb: Now block size is 1024.
* lib/net/smtp.rb: new methods SMTP#esmtp? and #esmtp=.
* lib/net/http.rb: Using singleton method syntax instead of
singleton class clause, to avoid behavior change of class
variables in ruby 1.7.
* lib/net/http.rb: HTTPResponse class does not inherit from
Net::Response.
* lib/net/http.rb: devide HTTP#connecting into
{begin,end}_transport.
* lib/net/http.rb: unused class Accumulator removed.
* lib/net/http.rb: Net::HTTP reads response. not HTTPRequest.
* lib/net/http.rb: proxy related class-instance-variables are not
initialized correctly.
Tue Feb 19 20:20:12 2002 Ed Sinjiashvili <edsin@swes.saren.ru>
* parse.y (str_extend): backslash escape was done wrong.
Tue Feb 19 17:10:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* file.c (path_check_1): do not fail on world writable *parent*
directories too.
Tue Feb 19 15:51:41 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (path_check_1): do not warn on world writable *parent*
directories.
* class.c (rb_include_module): should preserve ancestor order in
the included class/module.
Tue Feb 19 14:45:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (path_check_1): should check directory sticky bits.
* process.c (security): need not to warn twice.
* marshal.c (r_object): complete restoration before calling
r_regist().
Tue Feb 19 14:24:36 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): operators in the "op" rule should make
lex_state EXPR_ARG on EXPR_FNAME and EXPR_DOT.
Tue Feb 19 13:38:10 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval_string_wrap): should hide the toplevel local
variable bindings by PUSH_SCOPE().
Tue Feb 19 13:21:51 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc().
Tue Feb 19 13:16:08 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* io.c (rb_io_ungetc): don't fail pushed EOF back.
Mon Feb 18 20:48:40 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* pack.c (pack_pack): avoid infinite loop at comment.
* pack.c (pack_unpack): ditto.
Mon Feb 18 14:06:28 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* misc/ruby-mode.el (ruby-block-hanging-re): rescue block was too
indented.
Mon Feb 18 13:56:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (expr_value, arg_value, primary_value): value_expr()
check in place.
* eval.c (block_pass): "&nil" should clear block given.
Mon Feb 18 02:05:56 2002 Wolfgang Jahrling <wolfgang@pro-linux.de>
* dir.c (push_braces): remove MAXPATHLEN dependency.
* dir.c (dir_s_globd): ditto.
* dln.c (init_funcname): ditto.
* dln.c (load_1): ditto.
* dln.c (dln_load): ditto.
* configure.in: add GNU/Hurd switches.
Fri Feb 15 17:44:26 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_pack): allows comment in template strings.
* pack.c (pack_unpack): ditto.
Sun Feb 17 23:41:37 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* mkconfig.rb (Config::expand): expand ${} too.
* ext/extmk.rb.in (try_link0): expand command.
* ext/extmk.rb.in (try_cpp): ditto.
* ext/extmk.rb.in (extmake): default $LIBPATH to $libdir
Sun Feb 17 21:39:24 2002 Tetsuya Watanabe <tetsuya.watanabe@nifty.com>
* ext/digest/md5/md5init.c (Init_md5): rb_cvar_declare() is
replaced by rb_cvar_set().
* ext/digest/rmd160/rmd160init.c (Init_rmd160): ditto.
* ext/digest/sha1/sha1init.c (Init_sha1): ditto.
* ext/digest/sha2/sha2init.c (Init_sha2): ditto.
Sun Feb 17 18:10:09 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* class.c (rb_define_class): warn unless superclass is specified
explicitly.
* class.c (rb_define_class_under): ditto.
Thu Feb 16 02:11:08 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* misc/ruby-mode.el (ruby-font-lock-keywords): fontify
instance/class/global variables start with '_'.
Fri Feb 15 14:40:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): replace rb_cvar_declare() by rb_cvar_set().
* eval.c (assign): ditto.
* variable.c (rb_cvar_set): 4th argument (warn) added; define new
class variable if it's not defined yet.
* variable.c (rb_cvar_declare): removed.
Fri Feb 15 13:36:58 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_big_rshift): should properly convert the nagative
value to 2's compliment.
Thu Feb 14 17:38:35 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y: avoid SEGV at OP_ASIGN to pseudo variable.
Thu Feb 14 14:13:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* struct.c (Init_Struct): should undefine "allocate" for Struct
class (it's redefined in the subclasses).
Wed Feb 13 17:58:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (stmt): local variable declaration order was changed
since 1.6
* parse.y (arg): ditto.
* pack.c (pack_pack): add templates 'q' and 'Q'.
* pack.c (pack_unpack): ditto.
* bignum.c (rb_quad_pack): new utility function.
* bignum.c (rb_quad_unpack): ditto.
Tue Feb 12 01:21:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (assignable): should emit CVASGN within the method
body.
Mon Feb 11 06:13:53 2002 Matt Armstrong <matt@lickey.com>
* dir.c (dir_s_glob): should not warn even if no match found.
Mon Feb 11 04:25:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): clean up class variable behavior.
* eval.c (assign): ditto.
* eval.c (is_defined): ditto.
* variable.c (rb_mod_class_variables): need not to call rb_cvar_singleton().
* variable.c (rb_cvar_singleton): removed.
Mon Feb 11 00:10:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* regex.c (re_compile_fastmap): skip begpos.
Sun Feb 10 16:52:53 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ruby.c (load_file): avoid SEGV on '#' only input.
Fri Feb 8 23:07:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): singleton chech should be moved from yycompile
to here.
* eval.c (is_defined): check should be added here too.
Fri Feb 8 05:31:48 2002 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb: HTTP.Proxy should use self for proxy-class's
super class.
* lib/net/http.rb: initialize HTTP.proxy_port by HTTP.port.
Fri Feb 8 01:27:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yycompile): should inherit "in_single" if eval happened
in a singleton method.
* eval.c (rb_eval): class variables from singleton methods defined
within singleton class statement should work like ones defined
by sington def statements.
Thu Feb 07 13:44:08 2002 akira yamada <akira@arika.org>
* uri/common.rb (URI::join): new method.
* uri/generic.rb (Generic#merge): URI.parse("http://a/")+"b" should
return "http://a/b" but it returned "http://a//b".
* uri/generic.rb (Generic#check_path): corrected error message,
@path -> v
Thu Feb 7 00:18:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (io_write): flag when buffered write is done.
* io.c (fptr_finalize): do not raise error on EBADF if write
buffer is empty.
Wed Feb 6 17:18:54 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* configure.in: keep old config.h unless changed.
Wed Feb 6 13:28:53 2002 Amos Gouaux <amos+ruby@utdallas.edu>
* lib/net/imap.rb: OpenSSL support.
* lib/net/imap.rb (setquota): unset quota if the second argument
is nil.
Wed Feb 6 13:05:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_readlines): avoid calling GetOpenFile() repeatedly.
* io.c (rb_io_each_line): ditto.
* io.c (argf_getline): ditto.
* process.c: should include <time.h> to get proper CLK_TCK.
Wed Feb 6 02:10:30 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* io.c (fptr_finalize): ignore EBADF when f and f2 use same
descriptor.
Tue Feb 5 16:17:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (fptr_finalize): should raise error when fclose fails.
* eval.c (method_inspect): proper output format to distinguish
methods and singleton methods.
Mon Feb 4 22:44:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* file.c (rb_file_s_expand_path): should terminate.
Mon Feb 4 15:38:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_class_real): should not follow ICLASS link
* variable.c (classname): should follow ICLASS link explicitly.
* eval.c (rb_call): ditto.
Fri Feb 1 19:10:04 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* intern.h: prototypes for new functions; rb_cstr_to_inum(),
rb_str_to_inum(), rb_cstr_to_dbl(), rb_str_to_dbl()
* bignum.c (rb_cstr_to_inum): changed from rb_cstr2inum(), and
added argument badcheck to be consistent with parser. [new]
* bignum.c (rb_str_to_inum): ditto.
* bignum.c (rb_cstr2inum): wapper of rb_cstr_to_inum() now.
* bignum.c (rb_str2inum): ditto.
* object.c (rb_cstr_to_dbl): float number parser. [new]
* object.c (rb_str_to_dbl): ditto.
* object.c (rb_Float): use rb_cstr_to_dbl() for strict check.
* object.c (rb_Integer): use rb_str_to_inum() for strict check.
* string.c (rb_str_to_f): use rb_str_to_dbl() with less check.
* string.c (rb_str_to_i): use rb_str_to_inum() with less check.
* string.c (rb_str_hex): ditto.
* string.c (rb_str_oct): ditto.
* sprintf.c (rb_f_sprintf): ditto.
* time.c (obj2long): ditto.
* parse.y (yylex): use rb_cstr_to_inum() for strict check.
Fri Feb 1 17:46:39 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* regex.c (mbc_startpos): become macro.
* regex.c (euc_startpos): added for improvement.
* regex.c (sjis_startpos): ditto.
* regex.c (utf8_startpos): ditto.
Fri Feb 1 00:03:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (rb_stat_inspect): print dev, rdev in hexadecimal.
Thu Jan 31 20:45:33 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* lib/mkmf.rb (dir_config): prior --with flag.
* lib/mkmf.rb (arg_config): avoid special variables for
font-lock-mode.
Thu Jan 31 13:22:36 2002 Tanaka Akira <akr@m17n.org>
* lib/pp.rb (File::Stat#pretty_print): print rdev_major and rdev_minor.
Wed Jan 30 15:58:04 2002 K.Kosako <kosako@sofnec.co.jp>
* regex.c (re_adjust_startpos): fix for SJIS and UTF-8.
* regex.c (mbc_startpos): ditto.
Wed Jan 30 13:37:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (rb_reg_search): should set regs.allocated.
Wed Jan 30 02:25:38 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* regex.c (re_adjust_startpos): search start of multibyte
backward.
* regex.c (mbc_startpos): ditto.
Tue Jan 29 17:59:20 2002 Tanaka Akira <akr@m17n.org>
* file.c: `major' and `minor' macro needs sys/mkdev.h on SunOS 5.x.
* configure.in: add check for `sys/mkdev.h'.
* lib/pp.rb: don't print a mode File::Stat as decimal number.
Mon Jan 28 19:16:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* array.c (rb_ary_fill): shouldn't yield unless block given.
Mon Jan 28 18:33:18 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (yylex): strict check for numbers.
Mon Jan 28 18:01:01 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (rb_stat_rdev_major): added. [new]
* file.c (rb_stat_rdev_minor): added. [new]
* file.c (rb_stat_inspect): print mode in octal.
Mon Jan 28 13:29:41 2002 K.Kosako <kosako@sofnec.co.jp>
* eval.c (is_defined): defined?(Foo::Baz) should check constants
only, no methods.
* eval.c (is_defined): should not dump core on defined?(a::b)
where a is not a class nor a module.
Mon Jan 28 02:50:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (Init_Object): remove dup and clone from TrueClass,
FalseClass, and NilClass.
* array.c (rb_ary_fill): Array#fill takes block to get the value to
fill.
Sat Jan 26 20:05:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_to_i): to_i(0) auto-detects base radix.
* array.c (rb_ary_initialize): fill by the block evaluation value
if block is given.
Fri Jan 25 17:48:43 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in (solaris): add '-shared' only for GNU ld.
Fri Jan 25 17:16:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_include_module): detect cyclic module inclusion.
Fri Jan 25 02:17:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_cleanup): need not to free thread stacks at
process termination.
* array.c (rb_ary_fetch): use the block to get the default value
if the block is given.
* eval.c (rb_thread_schedule): should check time only if BOTH
WAIT_SELECT and WAIT_TIME.
Thu Jan 24 11:49:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (umethod_bind): should update rklass field.
* hash.c (rb_hash_update): if a block is given, yields [key,
value1, value2] to the block to resolve conflict.
Thu Jan 24 05:42:01 2002 Koji Arai <jca02266@nifty.ne.jp>
* string.c (rb_str_split_m): no need to consider KANJI
characters, if the length of separator is 1 (byte).
Wed Jan 23 16:07:31 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (Init_Array): remove Array#filter.
Wed Jan 23 13:27:44 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_yield_0): restore source file/line after yield.
Wed Jan 23 02:00:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_mod_initialize): should accept zero argument.
* object.c (rb_mod_cmp): should raise ArgumentError if
inheritance/inclusion relation between two classes/modules is
not defined. [new]
Tue Jan 22 17:45:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_fsync): new method. [new]
Mon Jan 21 22:57:18 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* signal.c (ruby_signal): must define sighandler_t for every
occasion.
Mon Jan 21 08:25:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (ruby_stop): should not trace error handler.
* signal.c (install_sighandler): do not install sighandler unless
the old value is SIG_DFL.
* io.c (io_write): should not raise exception on O_NONBLOCK io.
* dir.c (dir_set_pos): seek should return dir, pos= should not.
Sat Jan 19 02:31:45 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): need not to clar method cache for NODE_CLASS,
NODE_SCLASS.
* gc.c (obj_free): need not to clear method cache on class/module
finalization.
Fri Jan 18 23:38:03 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_fetch): index out of range raises exception
unless optional second argument is specified.
Fri Jan 18 17:32:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_s_new): block check moved from initialize to this
method.
* io.c (rb_io_s_open): open should call initialize too. IO#for_fd
also calls initialize. [new]
Fri Jan 18 10:26:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (rb_sys_fail): replace INT2FIX() by INT2NUM() since
errno value may not fit in Fixnum size on Hurd.
* error.c (set_syserr): ditto.
Fri Jan 18 10:12:00 2002 Usaku Nakamura <usa@ruby-lang.org>
* ext/socket/socket.c (tcp_svr_s_open): fix typo.
Fri Jan 18 02:27:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* dir.c (dir_s_glob): returns nil if block given.
* io.c (rb_io_each_byte): should return self.
* io.c (rb_io_close_m): close check added.
* dir.c (dir_seek): should return pos.
Fri Jan 18 01:21:53 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (fixpos): orig may be (NODE*)1, which should not be
dereferenced.
Thu Jan 17 16:21:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (block_pass): allow "retry" from within argument passed
block. [new]
* eval.c (localjump_error): should preserve exit status in the
exception object. [new]
* eval.c (proc_invoke): should raise exception for "break" if it's
yielding, not calling. [new]
* eval.c (block_pass): should NOT raise exception for "break". [new]
* eval.c (block_pass): should allow block argument relay even in
the tainted mode.
Thu Jan 17 04:51:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c: support subclassing by proper "initialize"
calling convention. [new]
Wed Jan 16 18:25:08 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* st.c: primes should be primes.
Wed Jan 16 12:29:14 2002 Tanaka Akira <akr@m17n.org>
* lib/timeout.rb (timeout): new optional argument to specify an
exception class.
* lib/resolv.rb: use Resolv::ResolvTimeout for internal timeout to
avoid problem with timeout of application.
Wed Jan 16 11:12:30 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* object.c (rb_Float): remove underscores between digits.
* bignum.c (rb_cstr2inum): reject prefix followed by spaces only.
* class.c (rb_class_inherited): should use Object when no super
class.
Tue Jan 15 01:11:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (is_defined): method defined? check should honor
protected too.
Mon Jan 14 13:06:02 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (block_pass): should not pass tainted block, if $SAFE > 0.
Sun Jan 13 09:31:41 2002 Koji Arai <jca02266@nifty.ne.jp>
* variable.c (rb_mod_remove_cvar): should pass the char*.
Fri Jan 11 05:06:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* class.c (rb_make_metaclass): [new]
* class.c (rb_define_class_id): use rb_make_metaclass(), don't
call Class#inherited hook.
* class.c (rb_class_inherited): [new]
* class.c (rb_define_class): call Class#inherited hook here.
* class.c (rb_define_class_under): ditto after class path is set.
* class.c (rb_singleton_class): use rb_make_metaclass().
* eval.c (rb_eval): same as rb_define_class_under().
* intern.h: prototypes of rb_make_metaclass() and
rb_class_inherited().
* object.c (rb_class_s_new): use rb_make_metaclass() and
rb_class_inherited().
* object.c (Init_Object): use rb_make_metaclass().
* struct.c (make_struct): use rb_class_inherited().
Thu Jan 10 19:15:15 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_add_method): should clear cache by id always.
* eval.c (rb_disable_super): no longer need to clear cache before
rb_add_method().
* eval.c (rb_export_method): ditto.
* eval.c (rb_attr): ditto.
* eval.c (rb_undef): ditto.
* eval.c (rb_eval): ditto.
* eval.c (rb_mod_modfunc): ditto.
* eval.c (rb_mod_define_method): ditto.
Thu Jan 10 11:42:47 2002 Usaku Nakamura <usa@ruby-lang.org>
* win32/resource.rb: Modify copyright in resource script.
Thu Jan 10 07:15:44 2002 takuma ozawa <metal@mine.ne.jp>
* re.c (match_select): should propagate taintness.
Thu Jan 10 00:54:57 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_hash_set_default): Hash#default= should return the
new value.
Wed Jan 9 20:21:09 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* misc/ruby-mode.el (ruby-calculate-indent): indentation after
comment at beginning of buffer failed.
* misc/ruby-mode.el (font-lock-defaults): unless XEmacs, set
font-lock variables in ruby-mode-hook.
Tue Jan 8 15:56:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_to_i): accepts optional base argument. [new]
* numeric.c (rb_fix2str): should not handle negative fixnum values
int32 via calling sprintf() directly.
Tue Jan 8 15:54:02 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_add_method): clear replaced method from the cache.
Mon Jan 7 12:38:47 2002 Tanaka Akira <akr@m17n.org>
* lib/time.rb (Time#xmlschema): new optional argument
fractional_seconds to specify a number of digits of
fractional part of the time.
Sat Jan 5 13:18:11 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* range.c (range_member): beginning check was
wrong. [ruby-talk:30252]
Sat Jan 5 03:07:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_new2): NULL pointer check added.
Sat Jan 5 00:19:12 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (yycompile): strdup()'ed twice.
Fri Jan 4 18:29:10 2002 Michal Rokos <m.rokos@sh.cvut.cz>
* class.c (rb_define_module_under): should locate predefined
module using rb_const_defined_at().
Fri Jan 4 17:23:49 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* misc/ruby-mode.el (ruby-forward-string): forward a string. [new]
* misc/ruby-mode.el (ruby-parse-region): handle nested parentheses
in a string and terminators in #{}.
* misc/ruby-mode.el (ruby-calculate-indent): ditto.
Wed Jan 2 23:34:25 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* lib/mkmf.rb (create_makefile): add -I. to CPPFLAGS.
* lib/mkmf.rb (create_makefile): srcdir support(.def and depend file).
Wed Jan 2 11:51:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* process.c (rb_f_system): abandon vfork.
* io.c (pipe_open): ditto.
Tue Jan 1 02:16:48 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/curses/extconf.rb: add dir_config.
* Makefile.in (fake.rb): set RUBY_VERSION.
Mon Dec 31 14:20:46 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (yycompile): always store copy of filename.
* parse.y (rb_compile_file): no longer need to strdup() here.
Mon Dec 31 05:26:40 2001 Ferris McCormick <fmccor@inforead.com>
* defines.h: sparc linux needs different FLUSH_REGISTER_WINDOWS
Mon Dec 31 04:27:28 2001 Minero Aoki <aamine@mx.edit.ne.jp>
* lib/net/protocol.rb: Protocol#start returns the return value of
block.
* lib/net/protocol.rb: set timeout limit by default.
* lib/net/protocol.rb: new methods WriteAdapter#write, puts,
print, printf.
* lib/net/http.rb: rename HTTP#get2 to request_get, post2 to
request_post ...
* lib/net/smtp.rb: should not resolve HELO domain automatically.
Sun Dec 30 00:59:16 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb.in, lib/mkmf.rb (have_library): accept -lm
unconditionally on mswin32/mingw32.
Sat Dec 29 01:55:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (re_search): abandon stclass optimization.
Fri Dec 28 14:39:05 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* array.c (rb_cmpint): fixed typo.
Thu Dec 27 18:43:04 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* bignum.c (rb_cstr2inum): deny "0_".
Thu Dec 27 01:54:02 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* bignum.c (rb_cstr2inum): allow "0\n" and so on.
Wed Dec 26 19:24:21 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (rb_invalid_str): utility function to show inspect()'ed
string.
* bignum.c (rb_cstr2inum): prints invalid strings in inspect()'ed
format.
* object.c (rb_Float): ditto.
Wed Dec 26 02:41:29 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_convert_type): no longer use rb_rescue().
Tue Dec 25 18:32:16 2001 K.Kosako <kosako@sofnec.co.jp>
* re.c (rb_reg_search): initialize taint status of match object.
Tue Dec 25 02:37:49 2001 Tanaka Akira <akr@m17n.org>
* lib/pp.rb, lib/prettyprint.rb: new files.
Tue Dec 25 02:11:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_convert_type): check method responce check before
invoking rb_rescue().
* object.c (rb_check_convert_type): ditto.
Mon Dec 24 02:37:40 2001 Le Wang <lewang@bigfoot.com>
* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords):
fix font-lock problem [ruby-talk:29296].
Sat Dec 22 22:52:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_timeval): wrong cast to time_t.
* time.c (time_plus): ditto.
Fri Dec 21 20:33:34 2001 K.Kosako <kosako@sofnec.co.jp>
* parse.y (str_extend): make up "#$;" handling.
Fri Dec 21 16:18:17 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* dln.h, ruby.h, util.h: enable prototypes in C++.
Fri Dec 21 15:12:41 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_plus): result should not be negative unless
NEGATIVE_TIME_T is defined.
* time.c (time_new_internal): should check tv_sec overflow too.
* time.c (time_timeval): should check time_t range when time is
initialized from float.
* time.c (time_plus): uses modf(3).
Fri Dec 21 03:15:52 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_mod_define_method): must not convert Method to Proc.
Fri Dec 21 01:17:57 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* lib/mkmf.rb (with_destdir): new.
* lib/mkmf.rb: prefix target directories with $(DESTDIR) all.
* lib/mkmf.rb: no need to mkdir $(libdir)
Thu Dec 20 14:08:20 2001 Minero Aoki <aamine@loveruby.net>
* lib/net/protocol.rb: rename Net::Socket to Net::BufferedSocket
Thu Dec 20 13:51:52 2001 K.Kosako <kosako@sofnec.co.jp>
* variable.c (rb_cvar_set): add frozen class/module check.
* variable.c (rb_cvar_declare): add frozen class/module check.
Thu Dec 20 01:01:50 2001 takuma ozawa <metal@mine.ne.jp>
* re.c (match_to_a): should propagate taint.
* re.c (rb_reg_s_quote): ditto.
Wed Dec 19 16:58:29 2001 Shugo Maeda <shugo@ruby-lang.org>
* ext/readline/readline.c: new methods
Readline::basic_word_break_characters,
Readline::basic_word_break_characters=,
Readline::completer_word_break_characters,
Readline::completer_word_break_characters=,
Readline::basic_quote_characters,
Readline::basic_quote_characters=,
Readline::completer_quote_characters,
Readline::completer_quote_characters=,
Readline::filename_quote_characters,
Readline::filename_quote_characters=.
Wed Dec 19 14:05:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_mod_define_method): define_method should follow
default method visibility.
* eval.c (rb_attr): should warn if the default method visibility
is "module_function" (can be error).
* eval.c (rb_mod_define_method): should define class/module method
also if the visibility is "module_function".
* eval.c (rb_mod_define_method): should call hook method
"method_added", and "singleton_method_added".
Wed Dec 19 11:42:13 2001 K.Kosako <kosako@sofnec.co.jp>
* string.c: use RESIZE_CAPA for capacity change.
Wed Dec 19 03:08:40 2001 Tanaka Akira <akr@m17n.org>
* lib/time.rb: date.rb is not required anymore.
* lib/resolv.rb: fix document. refine IPv6 regex.
Tue Dec 18 23:24:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (Init_socket): add listen method to
TCPServer and UNIXServer.
Tue Dec 18 17:54:53 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* sample/test.rb: Hash#indexes -> Hash#select.
Tue Dec 18 01:02:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_schedule): should not select a thread which is
not yet initialized.
Mon Dec 17 18:53:49 2001 K.Kosako <kosako@sofnec.co.jp>
* string.c (rb_str_replace): swap arguments of OBJ_INFECT.
Mon Dec 17 16:52:20 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* intern.h: add prototypes.
rb_gc_enable(), rb_gc_disable(), rb_gc_start(), rb_str_new5()
rb_str_buf_append(), rb_str_buf_cat(), rb_str_buf_cat2(),
rb_str_dup_frozen()
* ruby.h: added declaration.
rb_defout, rb_stdin, rb_stdout, rb_stderr, ruby_errinfo
* rubyio.h: changed double include guard macro to RUBYIO_H.
* array.c (inspect_call): make static.
* eval.c (dvar_asgn): ditto.
* io.c (rb_io_close_read): ditto.
* lex.c (rb_reserved_word): ditto.
* ruby.c: (req_list_head, req_list_last): ditto.
* ruby.c (require_libraries): ditto.
Mon Dec 17 15:41:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_plus): wrong boundary check.
* time.c (time_minus): ditto.
Mon Dec 17 15:19:32 2001 Tanaka Akira <akr@m17n.org>
* time.c: new method `gmtoff', `gmt_offset' and `utc_offset'.
(time_utc_offset): new function.
(Init_Time): bind above methods to `time_utc_offset'.
* time.c: 64bit time_t support.
(time_s_at): use NUM2LONG instead of NUM2INT for tv_sec.
(time_arg): initialize tm_isdst correctly.
use long to initialize tm_year.
(search_time_t): renamed from `make_time_t'.
(make_time_t): call `timegm' and `mktime' instead of `search_time_t'
if available.
(time_to_i): use LONG2NUM instead of INT2NUM.
(time_localtime): check localtime failure.
(time_gmtime): check gmtime failure.
(time_year): use LONG2NUM instead of INT2FIX.
(time_to_a): use long for tm_year.
(time_dump): check tm_year which is not representable with 17bit.
(time_load): initialize tm_isdst.
* configure.in: check existence of `mktime' and `timegm'.
check existence of tm_gmtoff field of struct tm.
fix negative time_t for 64bit time_t.
* missing/strftime.c: fix overflow by tm_year + 1900.
* lib/time.rb: use Time#utc_offset.
Mon Dec 17 00:02:04 2001 Guy Decoux <ts@moulon.inra.fr>
* variable.c (find_class_path): should initialize iv_tbl if it's
NULL.
Fri Dec 14 04:23:36 2001 Minero Aoki <aamine@loveruby.net>
* lib/net/pop.rb: new method Net::POP3.APOP
* lib/net/http.rb: set default Content-Type to
x-www-form-urlencoded (causes warning)
* lib/net/protocol.rb: remove Net::NetPrivate module.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.
Fri Dec 14 00:16:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_define_class): should return the existing class if
the class is already defined and its superclass is ideintical to
the specified superclass.
* class.c (rb_define_class_under): ditto.
* class.c (rb_define_module): should return the existing module if
the module is already defined.
Thu Dec 13 09:52:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_new_internal): avoid loop to calculate negative
div, mod.
* time.c (time_cmp): should handle Bignums.
Tue Dec 11 17:39:16 2001 K.Kosako <kosako@sofnec.co.jp>
* array.c (rb_ary_pop): should ELTS_SHARED flag check before
REALLOC.
Tue Dec 11 12:45:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_match_m): should convert an argument into
regexp if it's a string.
Tue Dec 11 03:40:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_select): Array#select(n,m,...) now works like
Array#indexes(n,m,..). [new, experimental]
* hash.c (rb_hash_select): ditto.
* hash.c (env_select): ditto.
* re.c (match_select): ditto.
* struct.c (rb_struct_select): ditto.
Tue Dec 11 03:17:19 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* object.c (rb_class_real): follow included modules.
Mon Dec 10 23:37:51 2001 Usaku Nakamura <usa@ruby-lang.org>
* util.h: change prototype of ruby_qsort() to accord with its
definition.
Mon Dec 10 20:30:01 2001 K.Kosako <kosako@sofnec.co.jp>
* gc.c (STR_ASSOC): use FL_USER3 instead of FL_USER2.
Mon Dec 10 17:40:02 2001 K.Kosako <kosako@sofnec.co.jp>
* parse.y (str_extend): make up pushback call.
Mon Dec 10 02:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_modify): should copy the internal buffer if the
modifying buffer is shared.
* array.c (ary_make_shared): make an internal buffer of an array
to be shared.
* array.c (rb_ary_shift): avoid sliding an internal buffer by
using shared buffer.
* array.c (rb_ary_subseq): avoid copying the buffer.
Mon Dec 10 01:06:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (gettable): should freeze __FILE__ string.
Sun Dec 9 18:06:26 2001 Minero Aoki <aamine@loveruby.net>
* lib/net/protocol.rb: calls on_connect before conn_command
Sat Dec 8 23:27:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_puts): old behavoir restored. rationale: a) if you
want to call to_s for arrays, you can just call print a, "\n".
b) to_s wastes memory if array (and sum of its contents) is
huge. c) now any object that has to_ary is treated as an array,
using rb_check_convert_type().
Sat Dec 8 22:40:38 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_hash_initialize): now accepts a block to calculate
the default value. [new]
* hash.c (rb_hash_aref): call "default" method to get the value
corrensponding to the non existing key.
* hash.c (rb_hash_default): get the default value based on the
block given to 'new'. Now it takes an optinal "key" argument.
"default" became the method to get the value for non existing
key. Users may override "default" method to change the hash
behavior.
* hash.c (rb_hash_set_default): clear the flag if a block is given
to 'new'
Sat Dec 8 02:29:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (Init_Object): undef Data.allocate, left Data.new.
Fri Dec 7 19:12:14 2001 Minero Aoki <aamine@loveruby.net>
* lib/net/smtp.rb: SMTP.new requires at least one arg.
* lib/net/pop.rb: POP.new requires at least one arg.
* lib/net/pop.rb: uses "raise *Error.new" instead of simple raise.
* lib/net/http.rb: HTTP.new requires at least one arg.
* lib/net/http.rb: changes implicit start algolithm.
Fri Dec 7 15:49:39 2001 Usaku Nakamura <usa@ruby-lang.org>
* ext/extmk.rb.in: ignore adding -Wl,-R to DLDFLAGS when the directory
is $topdir.
Fri Dec 7 13:58:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/curses/curses.c (window_scrollok): use RTEST().
* ext/curses/curses.c (window_idlok): ditto.
* ext/curses/curses.c (window_keypad): ditto.
* ext/curses/curses.c (window_idlok): idlok() may return void on
some platforms; so don't use return value.
* ext/curses/curses.c (window_scrollok): ditto for consistency.
* ext/curses/curses.c: replace FIX2INT() by typechecking NUM2INT().
Fri Dec 7 09:51:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (str_extend): should not process immature #$x and
#@x interpolation, e.g #@#@ etc.
Fri Dec 7 03:21:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (enum_sort_by): sort_by does not have to be stable always.
* enum.c (enum_sort_by): call qsort directly to gain performance.
Thu Dec 6 18:52:28 2001 Usaku Nakamura <usa@ruby-lang.org>
* ext/extmk.rb.in: add -Wl,-R flags to DLDFLAGS on netbsdelf.
* lib/mkmf.rb: ditto.
Thu Dec 6 09:15:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* util.c (ruby_qsort): ruby_qsort(qs6) is now native thread safe.
* error.c (rb_sys_fail): it must be a bug if it's called when
errno == 0.
Wed Dec 5 23:36:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (WC2MBC1ST): should not pass through > 0x80 number in UTF-8.
Wed Dec 5 20:05:18 2001 Florian Frank <flori@ping.de>
* ext/socket/socket.c (bsock_send): should raise EWOULDBLOCK
exception.
* ext/socket/socket.c (s_recvfrom): ditto.
* ext/socket/socket.c (s_accept): ditto.
* ext/socket/socket.c (udp_send): ditto.
Tue Dec 4 17:43:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.h (DUPSETUP): new SETUP macro for duplication.
* time.c (time_dup): implement in Time class using DUPSETUP.
* time.c (time_getlocaltime): new method; probably requires
better name than getlocaltime. [new,experimental]
* time.c (time_getgmtime): ditto.
* array.c (rb_ary_dup): uses DUPSETUP.
* string.c (rb_str_dup): uses DUPSETUP. now properly copies
instance variables too.
Tue Dec 4 03:49:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (io_fread): EAGAIN/EWOULDBLOCK should not terminate and
throw away the input.
* time.c (time_new_internal): underflow adjustment must not use
negative div/mod.
* time.c (time_cmp): should consider tv_usec on non Fixnum number
comparison.
Sun Dec 9 23:00:54 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
* matrix.rb: Vector#* bug. reported from Massimiliano Mirra
<info@chromatic-harp.com>.
Sun Dec 9 22:15:59 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* enum.c (enum_sort_by): should replace with last elements.
Mon Dec 3 16:06:57 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/socket/extconf.rb: remove -L/usr/local/lib.
* configure.in: add -Wl,-export-dynamic on NetBSD.
Mon Dec 3 16:04:16 2001 Usaku Nakamura <usa@ruby-lang.org>
* configure.in: not use X11BASE, since it's not always set.
Mon Dec 3 13:53:49 2001 Tanaka Akira <akr@m17n.org>
* time.c (rb_strftime): buffer length condition was wrong.
* time.c (time_strftime): should backup buf to the original
buffer.
Mon Dec 3 09:59:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_plus): must detect result overflow.
* time.c (time_minus): ditto.
* time.c (time_new_internal): round usec overflow and underflow
here.
* time.c (time_plus): move operand overflow/underflow check to
time_new_internal().
* time.c (time_minus): ditto.
* time.c (time_cmp): should consider tv_usec too.
Mon Dec 3 03:32:22 2001 Usaku Nakamura <usa@ruby-lang.org>
* configure.in: apply patch from NetBSD's pkgsrc (patch-aa).
Sun Dec 2 22:01:52 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: use GCC, not without_gcc. remove without_gcc.
* ext/curses/extconf.rb: check for curses.h.
* ext/dbm/extconf.rb: check if $CFLAGS includes DBM_HDR.
Sat Dec 1 12:13:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_gmtime): time_modify() should be called even if tm
struct is not calculated yet.
Fri Nov 30 17:02:55 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: set target_cpu to i386 on cygwin and mingw32.
* configure.in: default --enable-shared to yes on cygwin and mingw32.
Fri Nov 30 00:25:28 2001 Usaku Nakamura <usa@ruby-lang.org>
* README.EXT: Appendix B is duplicated.
* README.EXT.ja: ditto.
Thu Nov 29 00:28:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_equal): object with to_str must be treated as a
string.
Wed Nov 28 18:46:28 2001 Ville Mattila <mulperi@iki.fi>
* eval.c (rb_thread_select): should subtract timeofday() from
limit, not reverse.
Wed Nov 28 16:03:28 2001 K.Kosako <kosako@sofnec.co.jp>
* util.c (scan_hex): x is not a hexadecimal digit.
Wed Nov 28 13:38:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_schedule): should treat the case that
select(2) returns 0, if a thread is under both WAIT_SELECT and
WAIT_TIME. Jakub Travnik <J.Travnik@sh.cvut.cz> actually fixed
this bug.
Tue Nov 27 02:15:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (w_float): must distinguish -0.0 from 0.0.
Mon Nov 26 20:57:24 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/Setup*, ext/syslog/*: import the "syslog" module from the
rough ruby project.
Mon Nov 26 16:14:42 2001 K.Kosako <kosako@sofnec.co.jp>
* gc.c (gc_mark_all): tweak mark order for little bit better scan.
* gc.c (rb_gc_mark): ditto.
* gc.c (rb_gc): ditto.
Mon Nov 26 16:54:59 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/win32.c (mypopen): fixed that mypclose() didn't really close
pipe.
* win32/win32.c (CreateChild): set STARTF_USESTDHANDLES flag only
when some handles are passed.
Mon Nov 26 16:31:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (sort_by_i): slight performance boost.
Sun Nov 25 21:02:18 2001 Usaku Nakamura <usa@ruby-lang.org>
* parse.y (str_extend): change types of second and third arguments
from char to int.
Thu Nov 22 20:15:28 2001 TAMURA Takashi <sheepman@tcn.zaq.ne.jp>
* gc.c (gc_mark_rest): should call gc_mark_children(), not gc_mark().
* gc.c (rb_gc_mark): may cause infinite looop.
Thu Nov 22 00:28:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (str_extend): should check nesting parentheses in #{}.
Wed Nov 21 12:22:52 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/cgi.rb: CGI#header: do not set Apache.request.status for
Location: if Apache.request.status is already set.
Wed Nov 21 02:24:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* process.c (pst_wstopsig): returns nil unless WIFSTOPPED() is
non-zero.
* process.c (pst_wtermsig): returns nil unless WIFSIGNALED() is
non-zero.
* process.c (pst_wexitstatus): returns nil unless WIFEXITED() is
non-zero.
Wed Nov 21 00:17:54 2001 Ville Mattila <mulperi@iki.fi>
* eval.c (rb_thread_select): tv_sec and tv_usec should not be
negative.
* signal.c (posix_signal): do not set SA_RESTART for SIGVTALRM.
Tue Nov 20 21:09:22 2001 Guy Decoux <ts@moulon.inra.fr>
* parse.y (call_args2): block_arg may follow the first argument in
call_args2.
Tue Nov 20 02:01:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (stack_check): should avoid stack length check during
raising SystemStackError exception.
Tue Nov 20 01:07:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (str_extend): should not terminate string interpolation
with newlines in here-docs and newline terminated strings.
Mon Nov 19 17:58:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_mod_modfunc): should follow NODE_ZSUPER link; based
on Guy Decoux's patch in [ruby-talk:25478].
Mon Nov 19 16:09:33 2001 Tanaka Akira <akr@m17n.org>
* string.c (rb_str_succ): there was buffer overrun.
Mon Nov 19 14:14:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (str_extend): term can be any character.
Mon Nov 19 04:58:42 2001 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb (header): support for Apache. thanks to
Shugo Maeda <shugo@ruby-lang.org>.
Sun Nov 18 19:37:55 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y: needless conditionals.
* parse.y (parse_regx): parse error at unterminated regex /#{.
(ruby-bugs-ja:PR#142)
Sat Nov 17 12:37:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_unpack): should give length to utf8_to_uv().
* pack.c (utf8_to_uv): add length check.
Sat Nov 17 01:41:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* massages: replace "wrong #" by "wrong number".
* marshal.c (w_float): output Infinity and NaN explicitly.
* marshal.c (r_object): support new explicit float format.
* eval.c (rb_thread_wait_for): select may cause ERESTART on
Solaris.
* eval.c (rb_thread_select): ditto.
Thu Nov 15 15:29:39 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* array.c (rb_ary_join): non-nil separator must be converted to
String. and separators' total length was wrong.
Thu Nov 15 03:37:17 2001 Usaku Nakamura <usa@ruby-lang.org>
* hash.c (ruby_setenv): remove USE_WIN32_RTL_ENV block since it's
obsoleted.
* win32/win32.c, win32/win32.h: sort out #if 0 - #endif or others.
Thu Nov 15 00:07:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_to_s): if rb_output_fs is nil, insert newlines
between array elements (use rb_default_rs as newline litral)
[experimental].
Wed Nov 14 15:16:23 2001 K.Kosako <kosako@sofnec.co.jp>
* gc.c (init_mark_stack): no need to clear mark_stack.
* gc.c (gc_mark_all): need to handle finalizer mark.
* gc.c (gc_mark_rest): use MEMCPY instead of memcpy.
* gc.c (rb_gc_mark): earlier const check to avoid pusing special
constants into mark stack.
Wed Nov 14 01:12:07 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/win32.c (waitpid): fix wait count.
* win32/win32.c (poll_child_status): rename from wait_child().
Wed Nov 14 01:33:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (fix_to_s): 'to_s' now takes optional argument to
specify radix. [new]
* bignum.c (rb_big_to_s): ditto. [new]
Tue Nov 13 19:50:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: do not override CC if set.
Tue Nov 13 16:49:16 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/win32.c (mypopen): return error status instead of calling
rb_sys_fail().
* win32/win32.c (do_spawn): ditto.
Tue Nov 13 14:39:11 2001 WATANABE Tetsuya <tetsu@jpn.hp.com>
* signal.c (sighandle): should not re-register sighandler if
POSIX_SIGNAL is defined.
Tue Nov 13 12:55:59 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/win32.c (do_spawn): use CreateChild() instead of calling
CreateProcess() directly. Original patches comes from Patrick Cheng.
* win32/win32.c (mypopen): ditto.
* win32/win32.c (mypclose): use rb_syswait() instead of waiting in this
function.
* win32/win32.c (waitpid): use wait_child() instead of _cwait().
* win32/win32.c (CreateChild): added. [new]
* win32/win32.c (wait_child): added. [new]
* win32/win32.c (FindFirstChildSlot): added. [new]
* win32/win32.c (FindChildSlot): added. [new]
* win32/win32.c (FindPipedChildSlot): added. [new]
* win32/win32.c (CloseChildHandle): added. [new]
* win32/win32.c (FindFreeChildSlot): added. [new]
Tue Nov 13 12:38:12 2001 Usaku Nakamura <usa@ruby-lang.org>
* hash.c (envix): use GET_ENVIRON and FREE_ENVIRON to get environment
variables list.
* hash.c (env_keys): ditto.
* hash.c (env_each_key): ditto.
* hash.c (env_values): ditto.
* hash.c (env_keys): ditto.
* hash.c (env_each_value): ditto.
* hash.c (env_each): ditto.
* hash.c (env_inspect): ditto.
* hash.c (env_to_a): ditto.
* hash.c (env_size): ditto.
* hash.c (env_empty_p): ditto.
* hash.c (env_has_value): ditto.
* hash.c (env_index): ditto.
* hash.c (env_to_hash): ditto.
* win32/win32.c (win32_getenv): use static buffer.
* win32/win32.c, win32/win32.h (win32_get_environ): get environment
variables list. [new]
* win32/win32.c, win32/win32.h (win32_free_environ): free environment
variables list. [new]
Mon Nov 12 16:48:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (error_print): errat array may be empty.
Mon Nov 12 01:30:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval_cmd): should not upgrade safe level unless
explicitly specified by argument newly added.
* signal.c (sig_trap): should not allow tainted trap closure.
* variable.c (rb_f_trace_var): should not allow trace_var on safe
level higher than 3.
* variable.c (rb_f_trace_var): should not allow tainted trace
closure.
Sun Nov 11 00:12:23 2001 TAMURA Takashi <sheepman@tcn.zaq.ne.jp>
* gc.c: do not use static stack until system stack overflows.
Sat Nov 10 03:57:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (eval): should call Exception#exception instead of
calling rb_exc_new3() directly.
* error.c (exc_exception): set "mesg" directly to the clone. it
might be better to set mesg via some method for flexibility.
Sat Nov 10 00:14:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (cvar_override_check): should print original module
name, if 'a' is T_ICLASS.
* parse.y (yylex): float '1_.0' should not be allowed.
* variable.c (var_getter): should care about var as Qfalse
(ruby-bugs#PR199).
Fri Nov 9 13:50:06 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/config.status.in: make CFLAGS same as Makefile's one.
Thu Nov 8 20:20:37 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_trap_eval): avoid annoying warning with signal.
[ruby-talk:23225]
* eval.c (rb_call0): adjust caller source file/line while
evaluating optional arguments.
Thu Nov 8 18:41:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (cmpint): <=> or block for {min,max} may return bignum.
* array.c (sort_1): use rb_compint.
* array.c (sort_2): ditto.
* enum.c (min_ii): ditto.
* enum.c (min_ii): ditto.
* enum.c (max_i): ditto.
* enum.c (max_ii): ditto.
Thu Nov 8 18:21:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (path_check_1): forgot to initialize 'p'.
Thu Nov 8 14:52:15 2001 Tanaka Akira <akr@m17n.org>
* mkconfig.rb: use String#dump to generate Ruby string literal.
Thu Nov 8 15:46:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_eql): should override 'eql?'
* array.c (rb_ary_hash): should override 'hash' too.
Tue Nov 6 14:38:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* process.c (security): always give warning for insecure PATH.
* dir.c (my_getcwd): do not rely on MAXPATHLEN.
* file.c (rb_file_s_readlink): ditto.
* file.c (path_check_1): ditto.
Tue Nov 6 14:17:14 2001 Amos Gouaux <amos+ruby@utdallas.edu>
* lib/net/imap.rb (getquota_response): use astring for mailbox
names.
* lib/net/imap.rb (getacl_response): ditto.
Mon Nov 5 17:09:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): should not call rb_f_block_given_p().
Sat Nov 3 23:33:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_chomp_bang): should terminate string by NUL.
Sat Nov 3 22:28:51 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
* matrix.rb (Matrix#column_vectors, Matrix#row_vectors): ditto bug.
this bug report and fix by tsutomu@nucba.ac.jp.
* forwardable.rb: change raise to Kernel::raise
Sat Nov 3 10:11:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): better error message.
Thu Nov 1 14:08:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_big_aref): idx may be a Bignum.
* numeric.c (fix_aref): negative index must return zero.
Thu Nov 1 13:23:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (gc_mark_children): should NOT treat last element of
structs and arrays specially.
Wed Oct 31 16:59:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (exec_under): should initialize ruby_frame->self;
Wed Oct 31 15:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (POP_VARS): should not set DVAR_DONT_RECYCLE if _old
ruby_vars is already force_recycled.
Wed Oct 31 10:28:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (rb_gc): handles mark stack overflow.
* gc.c (PUSH_MARK): use static mark stack, no more recursion.
Wed Oct 31 02:44:06 2001 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: CGI::Cookie::parse(): Ignore duplicate keys caused by
Netscape bug.
Tue Oct 30 18:21:51 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/mkexports.rb: follow the change of rb_io_puts().
Tue Oct 30 14:04:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>