summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-04-19* parse.y (void_expr0): node might become NULL after calling remove_begin().eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-192003-04-19eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-19* ext/Setup*: Add zlib and remove bogus and obsolete entries.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-18* struct.c (rb_struct_eql): should compare values with "eql?".matz
* range.c (range_check): <=> returns nil for invalid values; should check. * regex.c (re_compile_pattern): should not set RE_OPTIMIZE_ANCHOR, if anychar_repeat is enclosed by parentheses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-182003-04-18eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-18* error.c (rb_raise): workaround for some implementation ofusa
vsnprintf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-17* util.c (ruby_strtod): improved conversion accuracy.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-17Bug in negative.exp(n) reported by Hitoshi Miyazaki fixed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-17* ext/dbm/dbm.c (each_pair): add prototype to avoid VC++ warnings.usa
* ext/readline/readline.c (Init_readline): follow readline 4.2 prototype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-172003-04-17nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-17* parse.y (cond0): warn only range literals whose both side arenobu
literals. [ruby-core:00964] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-17* ext/readline/readline.c: add the defined operator for bcc32.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-15* misc/ruby-mode.el (ruby-special-char-p): should test at thenobu
point if no argument. fixed by Michael Scholz <scholz-micha@gmx.de>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-15* lib/net/fileutils.rb: rm_r should raise Errno::ENOENT if file not exist. ↵aamine
[ruby-core:958] Thanks Johan Holmberg. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-15(ruby-bugs:PR#758)nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-15* struct.c (rb_struct_hash): new methods Struct#hash, Struct#eql?.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-152003-04-15eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-15* numeric.c (rb_fix2str): buffer was insufficient.nobu
(ruby-bugs-ja:PR#431) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-14* file.c (file_expand_path): root must follow buf whennobu
reallocated. [ruby-talk:69339], [ruby-dev:20025] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-14* rubyio.h (struct OpenFile): add error raise flag to finalizer.matz
* io.c (Init_IO): define $/, $-0, and $\ as string-only variables. * string.c (rb_str_split_m): does not generate empty string if there's no match in the receiver. * io.c (fptr_finalize): should raise error on EBADF for readable IOs as well. * file.c (rb_stat): use rb_check_convert_type() to retrieve IO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-142003-04-14nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-14* bignum.c (rb_cstr_to_inum, rb_big2str): allow 2-36 as radix.nobu
* numeric.c (rb_fix2str): ditto. * string.c (rb_str_to_i): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-12* lib/mkmf.rb (try_func): remove COMMON_HEADERS at first for performance.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-12* misc/ruby-mode.el (ruby-forward-sexp): missed argument for forward-word.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-12* misc/ruby-mode.el (ruby-beginning-of-arg): substitutenobu
ruby-backward-arg. * misc/ruby-mode.el (ruby-calculate-indent): fixed wrong indentation in brace block and parentheses. * misc/ruby-mode.el (ruby-forward-sexp, ruby-backward-sexp): support special char literal, and negative arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-11* win32/win32.c (rb_w32_stat): check arguments. [ruby-dev:20007]nobu
[ruby-win32:535] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-11* sample/test.rb: NaN comparison test.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-11* numeric.c (coerce_rescue): prevent inspected String from GC.nobu
* numeric.c (flo_eq, rb_dbl_cmp, flo_gt, flo_ge, flo_lt, flo_le, flo_eql): correct NaN comparison. (ruby-bugs:PR#744) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-11* file.c (rb_stat): dereference using StringValuePtr().matz
* file.c (rb_file_s_stat): use rb_stat(). [ruby-dev:20007] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-112003-04-11eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-11* lib/benchmark.rb (Benchmark::bm): get rid of warning.nobu
[ruby-talk:69124] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-10* io.c (set_stdin): assigned value must respond to "read" andnobu
"getc". * io.c (set_outfile): assigned value must respond to "write". (ruby-bugs-ja:PR#425) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-10* lib/net/pop.rb: Exception line was accidentaly removed. [ruby-dev:19989]aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-10added some checks for request size.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-10* variable.c (rb_mod_name): always return empty string formatz
anonymous class/module. (ruby-bugs-ja PR#424) * config.sub: stop forcing addition of -gnu to -linux. * variable.c (classname): refactoring. * variable.c (rb_class_path): __tmp__classpath__ handling moved from classname(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* variable.c (rb_mod_name): search module path if classname is notmatz
set yet. (ruby-bugs-ja PR#424) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* eval.c (rb_obj_is_method): indefinite return value.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-092003-04-10eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* regex.c (re_compile_pattern): /[\--\-]/ was warned. warn /]/.akr
* mkconfig.rb: escape `]' in regexp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* time.c (time_strftime): RSTRING(format)->ptr might become NULL.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* variable.c (rb_obj_remove_instance_variable): better message.matz
[ruby-talk:68987] * variable.c (rb_mod_remove_const): ditto. * object.c (rb_obj_ivar_get): ditto. * object.c (rb_obj_ivar_set): ditto. * parse.y (yylex): ditto. * eval.c (rb_mod_define_method): Allow UnboundMethod as parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* gc.c (rb_gc_mark_children): introduce this function again; thismatz
is required when stack was very tight. [ruby-talk:68916] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-092003-04-09eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* bignum.c (bigdivmod): small typo.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* bignum.c (BIGZEROP): macro to determine if x is a bignum zero.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* ext/readline/readline.c: include <unistd.h> only whenusa
HAVE_UNISTD_H is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* marshal.c (w_object): preserve extended module on struct.nobu
(ruby-bugs-ja:PR#422) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-08* random.c (rb_f_rand): normalize bignum argument.matz
* sprintf.c (rb_f_sprintf): was decrementing width even if there is no sign character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-082003-04-08eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-08* eval.c (Init_Proc): make Method and UnboundMethod independent.matz
They are like instance and its class. [ruby-core:00941] * parse.y (yylex): disallow global variables like "$1ve". [ruby-core:00945] * marshal.c (marshal_dump): Marshal.dump(0, false) should cause an error. (ruby-bugs-ja PR#421) * regex.c (re_compile_pattern): warn if '-' is the edge of character range. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e