summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * eval.c (rb_call): fixed typo in cache look-up. [ruby-dev:29167]matz2006-07-282-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call): a bug in method cache look-up.matz2006-07-282-2/+7
| | | | | | | http://www.rubyist.net/~matz/20060720.html#c04 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): documentation update patch from Jacobmatz2006-07-282-1/+12
| | | | | | | Fugal <lukfugl at gmail.com>. [ruby-core:08418] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_to_s): fixed typo. [ruby-dev:29162]matz2006-07-282-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (domain_check): ANSI style function argumentsmatz2006-07-272-4/+8
| | | | | | | * math.c (math_log): too few argument to domain_check(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-28matz2006-07-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (domain_check): a new function to check domain errormatz2006-07-272-27/+40
| | | | | | | | | | | | | explicitly for systems that return NaN like FreeBSD. [ruby-core:07019] * math.c (math_acos, math_asin, math_acosh, math_atanh, math_log, math_log10, math_sqrt): use domain_check(). * math.c (math_sqrt): fix documentation flaw. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_to_s): fixed format mismatch.nobu2006-07-272-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: need to declare time_utc_offset.eban2006-07-272-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_close): always calls "close" method of the receiver.matz2006-07-272-5/+12
| | | | | | | [ruby-core:6911] [ruby-core:8112] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.h: move <ruby.h> inclusion point to shut upmatz2006-07-273-12/+15
| | | | | | | | | | Solaris compiler. [ruby-core:08114] * time.c (time_to_s): use +0900 style timezone string for local time. [ruby-dev:29143] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-27matz2006-07-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_to_s): generate RFC822 style date string.matz2006-07-272-2/+22
| | | | | | | [ruby-dev:29143] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add support for as and ASFLAGS. [ruby-dev:29138]matz2006-07-263-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* small document fixaamine2006-07-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge test cases with Ruby 1.8aamine2006-07-261-3/+74
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#post, request_post, request): should set ↵aamine2006-07-263-12/+69
| | | | | | | | | | | Content-Type: x-www-form-urlencoded by default. * lib/net/http.rb (Net::HTTPHeader#content_type): should return nil when there's no Content-Type. * lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil when there's no sub Content-Type (e.g. "Content-Type: text"). * lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed when there's no Content-Type. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_do_scan): always return nil if p->curr ↵aamine2006-07-262-1/+9
| | | | | | exceeds string size. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_eval): rename #invoke_method andmatz2006-07-264-14/+32
| | | | | | | | | | | | | | | #invoke_functional_method to __send and __send! respectively. * eval.c (remove_method): prohibit removing __send and __send!. * eval.c (rb_undef): prohibit undef'ing __send and __send!. * eval.c (rb_eval): prohibit redefining __send and __send!. * lib/delegate.rb (Delegator): preserve __send. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (getDevice): retry once after GC on failure.nobu2006-07-262-20/+32
| | | | | | | [ruby-core:08282] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_do_scan): StringScanner.new("").scan(//) ↵aamine2006-07-263-7/+15
| | | | | | should return "". [ruby-Bugs:4361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): prepend ".." to %u for negative bignum,nobu2006-07-262-18/+21
| | | | | | | but not "-". fixed: [ruby-core:08167] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_scan): add string modification check.matz2006-07-262-0/+7
| | | | | | | [ruby-core:7216] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::read_multipart): checkmatz2006-07-262-0/+9
| | | | | | | | multipart boundary end. a patch from Fujioka <fuj at rabbix.jp> [ruby-dev:28470] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-26nobu2006-07-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: suppress warnings by automake 1.8 or later.nobu2006-07-252-5/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): typo.usa2006-07-252-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-25matz2006-07-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_proc_times): rename hz to hertz to avoid namematz2006-07-252-12/+17
| | | | | | | crash on AIX. [ruby-dev:29126] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (backtrace): porting miss.nobu2006-07-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (backtrace): skip frames successive on node and method name.nobu2006-07-242-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't compare struct sockaddr directly.akr2006-07-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): revert last change. [ruby-dev:29112]matz2006-07-242-1/+5
| | | | | | | [ruby-core:08374] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_readline): rl_deprep_term_functionakr2006-07-242-1/+8
| | | | | | | may be NULL with libedit. reported by Ryan Davis. [ruby-dev:29070] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-24akr2006-07-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_unix.rb: disabled on cygwin.akr2006-07-232-1/+6
| | | | | | | reported by Kouhei Yanagita. [ruby-dev:29080] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-23akr2006-07-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): script is never used while recursing.nobu2006-07-212-7/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): "9_e8" should consider "_e8" asmatz2006-07-212-3/+8
| | | | | | | trailing garbage so that it should return 9.0. [ruby-dev:29088] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): include funcalled methods in caller list.nobu2006-07-212-0/+6
| | | | | | | fixed: [ruby-core:08290] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter beforenobu2006-07-213-6/+15
| | | | | | | prepending destdir on DOSISH. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call): try local method look-up first for fcall, thenmatz2006-07-204-299/+51
| | | | | | | | | | | | normal method look-up. [ruby-talk:202564] * eval.c (rb_get_method_body): save local method cache separately. * eval.c (search_method): export info whether method is local or not. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_attr): make Module#attr to be an alias tomatz2006-07-2018-41/+44
| | | | | | | | | | attr_reader. [RCR#331] * ruby.h: export classes/modules to implement sandbox. [ruby-core:08283] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_attr): make Module#attr to be an alias tomatz2006-07-202-41/+24
| | | | | | | attr_reader. [RCR#331] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb (TestFloat::test_strtod): update test tomatz2006-07-202-6/+10
| | | | | | | conform strtod change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-21matz2006-07-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb: support for completion of numerickeiju2006-07-191-4/+20
| | | | | | | number. [ruby-dev: 29038] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): should check args_args before lambdamatz2006-07-192-2/+8
| | | | | | | argument check. [ruby-dev:29029] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-19ryan2006-07-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* patch was misapplied. fixed. sorryryan2006-07-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e