summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * process.c (rb_f_system): shouldn't block SIGCHLD if it's notusa2006-07-182-0/+9
| | | | | | | exist. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_system): block SIGCHLD during the processmatz2006-07-182-10/+20
| | | | | | | execution, like glibc system(3) does. [ruby-talk:202361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (open_ifs_socket): should not use plain malloc.usa2006-07-182-1/+11
| | | | | | | * win32/win32.c (rb_w32_opendir): should not use plain realloc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (yield_under_i): argument should be passed in avaluematz2006-07-182-1/+8
| | | | | | | from. [ruby-dev:29044] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): propagate association array to copiedmatz2006-07-182-5/+19
| | | | | | | | | | | | | string. [ruby-core:08223] * pack.c (pack_unpack): return referenced string itself if it has same length as specified. a patch from <nobu at ruby-lang.org> in [ruby-core:08225]. * pack.c (pack_pack): taint 'p' packed strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (st_foreach_safe): fix prototype.usa2006-07-184-3/+79
| | | | | | | | | | * node.h (NODE_LMASK): bigger than long on LLP64. * missing/vsnprintf.c (BSD__uqtoa): new function to support LLP64. all changes are derived from [ruby-dev:29045] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_system): call rb_sys_fail(0) if rb_last_statusmatz2006-07-182-0/+6
| | | | | | | is nil. [ruby-talk:202361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): removematz2006-07-182-1/+6
| | | | | | | inpect argument from sprintf. [ruby-dev:29039] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): limit out-of-range message.nobu2006-07-183-6/+22
| | | | | | | | * util.c (ruby_strtod): return end pointer even if ERANGE occurred. fixed: [ruby-dev:29041] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD to RDoc conversion by Hugh Sasse.drbrain2006-07-172-125/+109
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): stop at dot not followed by digits.nobu2006-07-171-0/+5
| | | | | | | fixed: [ruby-dev:29035] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): stop at dot not followed by digits.nobu2006-07-171-2/+2
| | | | | | | fixed: [ruby-dev:29035] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.nobu2006-07-172-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-18nobu2006-07-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_msvcrt): defaulted to msvcrt. Workaround for anobu2006-07-172-7/+12
| | | | | | | bug of cygwin 1.5.20. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/wait.c (io_ready_p): protoize.matz2006-07-174-7/+15
| | | | | | | | | * pack.c (define_swapx): should not use plain malloc. * ext/curses/curses.c (curses_getmouse): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e