aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Documentation cleanup.drbrain2006-08-0434-314/+327
| | | | | | | | | | Includes patches by Hugh Sasse: * ping.rb * weakref.rb * mailread.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-05drbrain2006-08-041-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): a bug in %c type check.matz2006-08-042-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * forget to ci ChangeLogkeiju2006-08-041-0/+5
| | | | | | | | lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for [ruby-core: 7122]. and support for ruby1.8.X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' forkeiju2006-08-043-24/+38
| | | | | | | [ruby-core: 7122]. and support for ruby1.8.X git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (__strptime, strftime): allow multi-line patternsnobu2006-08-042-2/+8
| | | | | | | | in Date#strftime the same as Time#strftime accepts. fixed: [ruby-core:08466] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): check argument overrun for 'P'. based on anobu2006-08-042-3/+10
| | | | | | | patch by rucila <rucila at yahoo.cojp>. fixed: [ruby-dev:29182] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-04akr2006-08-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_reopen): STDERR.reopen(File.open("/dev/null", "w")) shouldakr2006-08-032-2/+9
| | | | | | | not fclose stderr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-03matz2006-08-031-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_include): should always call Enumerable#include?matz2006-08-032-0/+8
| | | | | | | | (not #===) for non numeric end points. [ruby-core:08477] [ruby-core:08496] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.usa2006-07-311-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (exit_handler): new function; release winsock andusa2006-07-312-19/+45
| | | | | | | | | | | | | | | | | environment work area. * win32/win32.c (NTInitialize): setup exit_handler. * win32/win32.c (StartSockets): use exit_handler. exit handler. * win32/win32.c (rb_w32_getenv): use GetEnvironmentStrings() instead of GetEnvironmentVariable(), because the latter cannot distinguish wheather a null environment variable exists or not. fixed: [ruby-talk:205123] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (TestProcess#test_rlimit_nofile):akr2006-07-312-1/+11
| | | | | | | | setrlimit may fail with EINVAL. reported by MIYAMUKO Katsuyuki. [ruby-dev:29174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: use ifdef (or defined) for macro constants that may ormatz2006-07-312-5/+18
| | | | | | | | may not be defined to shut up gcc's -Wundef warnings. [ruby-core:08447] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: improves the amount of documentation that Rdocmatz2006-07-313-7/+22
| | | | | | | | | picks up when processing logger.rb by moving the require statement back before the comment block. a patch from Hugh Sasse <hgs at dmu.ac.uk>. [ruby-core:08422] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improvegotoyuzo2006-07-313-1/+65
| | | | | | | for the value of IPv6 address in the Host: header field. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-31gotoyuzo2006-07-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): trace call/return of method defined from block.nobu2006-07-302-1/+12
| | | | | | | fixed: [ruby-core:08329] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb, lib/cgi/session/pstore.rb: suppress warnings.nobu2006-07-303-24/+14
| | | | | | | fixed: [ruby-talk:204896] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-30nobu2006-07-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_trap_eval): make the current thread runnable to deal withnobu2006-07-302-0/+6
| | | | | | | exceptions which occurred within the trap. fixed: [ruby-dev:27729] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: freeze ip_name for security reason.nagai2006-07-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-29nagai2006-07-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (NUM2CH, CH2FIX): use single char strings.nobu2006-07-282-16/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call): fixed typo in cache look-up. [ruby-dev:29167]matz2006-07-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-28matz2006-07-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_to_s): fixed format mismatch.nobu2006-07-272-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: need to declare time_utc_offset.eban2006-07-272-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-27matz2006-07-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* small document fixaamine2006-07-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge test cases with Ruby 1.8aamine2006-07-261-3/+74
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-26nobu2006-07-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e