summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More explanations for sincos.shigek2003-04-242-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Prec. improvement for PI.shigek2003-04-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: add -Wl,--no-undefined to LDSHARED onlyeban2003-04-242-1/+13
| | | | | | | if GNU ld is 2.11 or later. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (include?): Support non-IPAddr parameters by Dave Thomas. ↵nobu2003-04-242-3/+18
| | | | | | [ruby-core:00980] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::[]): always return Valuematz2003-04-234-5/+13
| | | | | | | object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/extconf.rb: bccwin32 is win32 too.nobu2003-04-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix ERB::DefMethod bugseki2003-04-221-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c: don't call VirtualQuery in ruby_init_loadpath()uema22003-04-222-0/+8
| | | | | | | on mswince. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (save_mantissa, load_mantissa): for interoperabilitynobu2003-04-222-17/+65
| | | | | | | should count cut-down bit from topmost. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-04-22eban2003-04-221-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg_ambiguous): hopefully better message.matz2003-04-224-14/+18
| | | | | | | * lib/cgi.rb (CGI::QueryExtension::initialize_query): to_ary git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Resource#hash): use XOR to accumulateakr2003-04-213-7/+34
| | | | | | | | | | | hash value. * lib/tsort.rb (TSort#each_strongly_connected_component): don't use block argument. (each_strongly_connected_component_from): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c: one more digit for decimal point. [ruby-talk:69808]nobu2003-04-212-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_is_finite_p): use finite() if available.nobu2003-04-215-28/+32
| | | | | | | | | | | * win32/win32.h (isinf, isnan): define as macro. [ruby-win32:00533] * bcc32/Makefile.sub, win32/Makefile.sub: no longer use missing/isinf.c, missing/isnan.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): unnecessarily long buffer was usednobu2003-04-212-1/+6
| | | | | | | for radix 9. [ruby-dev:20057] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_append, value_expr0, assign_in_cond,nobu2003-04-212-15/+45
| | | | | | | | warn_unless_e_option, warning_unless_e_option, range_op, cond0): adjust line number in warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc): use rb_gc_mark_maybe() to mark registered Cmatz2003-04-213-2/+8
| | | | | | | | addresses. C variables may not hold valid reference to Ruby objects. [ruby-core:00975] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: avoid the MSVCRT *printf problem(float).eban2003-04-203-5/+13
| | | | | | | [ruby-dev:20037] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_float): append least mantissa bits to get ridnobu2003-04-202-6/+69
| | | | | | | | | of roundoff problem. [ruby-talk:69518] * marshal.c (r_object0): load least mantissa bits. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtInitialize): set the floating-point control wordeban2003-04-204-5/+13
| | | | | | | | | | on bcc32. * win32/win32.h, bcc32/Makefile.sub: use missing/isinf.c, should not use _finite() because it returns 0 if NaN. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify typo.aamine2003-04-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-04-20eban2003-04-191-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (void_expr0): node might become NULL after calling remove_begin().eban2003-04-193-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-04-19eban2003-04-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Setup*: Add zlib and remove bogus and obsolete entries.knu2003-04-197-9/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_eql): should compare values with "eql?".matz2003-04-186-16/+60
| | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@3695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-04-18eban2003-04-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_raise): workaround for some implementation ofusa2003-04-182-0/+6
| | | | | | | vsnprintf. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): improved conversion accuracy.nobu2003-04-172-55/+82
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug in negative.exp(n) reported by Hitoshi Miyazaki fixed.shigek2003-04-171-1/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/dbm.c (each_pair): add prototype to avoid VC++ warnings.usa2003-04-173-0/+15
| | | | | | | | * ext/readline/readline.c (Init_readline): follow readline 4.2 prototype. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-04-17nobu2003-04-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (cond0): warn only range literals whose both side arenobu2003-04-172-1/+39
| | | | | | | literals. [ruby-core:00964] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: add the defined operator for bcc32.eban2003-04-172-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-special-char-p): should test at thenobu2003-04-152-1/+7
| | | | | | | | point if no argument. fixed by Michael Scholz <scholz-micha@gmx.de>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/fileutils.rb: rm_r should raise Errno::ENOENT if file not exist. ↵aamine2003-04-152-0/+6
| | | | | | [ruby-core:958] Thanks Johan Holmberg. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (ruby-bugs:PR#758)nobu2003-04-151-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_hash): new methods Struct#hash, Struct#eql?.nobu2003-04-152-0/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-04-15eban2003-04-151-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_fix2str): buffer was insufficient.nobu2003-04-152-1/+6
| | | | | | | (ruby-bugs-ja:PR#431) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): root must follow buf whennobu2003-04-142-0/+7
| | | | | | | reallocated. [ruby-talk:69339], [ruby-dev:20025] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubyio.h (struct OpenFile): add error raise flag to finalizer.matz2003-04-146-23/+42
| | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@3679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-04-14nobu2003-04-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum, rb_big2str): allow 2-36 as radix.nobu2003-04-145-69/+98
| | | | | | | | | * numeric.c (rb_fix2str): ditto. * string.c (rb_str_to_i): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func): remove COMMON_HEADERS at first for performance.eban2003-04-122-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-forward-sexp): missed argument for forward-word.nobu2003-04-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-beginning-of-arg): substitutenobu2003-04-122-128/+163
| | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@3674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_stat): check arguments. [ruby-dev:20007]nobu2003-04-112-6/+13
| | | | | | | [ruby-win32:535] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: NaN comparison test.nobu2003-04-112-0/+26
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (coerce_rescue): prevent inspected String from GC.nobu2003-04-112-20/+43
| | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@3671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e