aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avoid method redefinition.akr2010-02-146-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2010-02-141-4/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): register regexp object before encodingnobu2010-02-134-4/+25
| | | | | | | | | name. [ruby-dev:40414] * re.c (rb_reg_alloc, rb_reg_init_str): split from rb_reg_new_str. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (match_aref): fixed indent.nobu2010-02-132-29/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_delete): RDoc update. a patch from Hugh Sasse.matz2010-02-132-3/+13
| | | | | | | | [ruby-core:28128] * array.c (rb_ary_compact_bang): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (id2encidx): duplicated entry for encoding name.matz2010-02-132-1/+5
| | | | | | [ruby-dev:40388] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2010-02-131-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile::Remover): new class to replaceakr2010-02-132-17/+28
| | | | | | | Tempfile.callback. port r24902 from Ruby 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-13svn2010-02-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a test for Debian GNU/Linux squeeze (armel)akr2010-02-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (thread_free): fixed typo.nobu2010-02-122-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-12svn2010-02-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fri Feb 12 02:27:39 2010 Akinori MUSHA <knu@iDaemons.org>knu2010-02-112-10/+25
| | | | | | | | | | | * lib/set.rb (Set#initialize, Set#replace, Set#merge) (Set#subtract, Set#&): Fix duck type tests. [ruby-core:28078] * lib/set.rb (Set#initialize, Set#replace, Set#merge) (Set#subtract, Set#&): Try #each if #each_entry fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rdoc.akr2010-02-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2010-02-111-0/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_oflags_modestr): return "r" for O_RDONLY|O_APPEND.akr2010-02-112-2/+10
| | | | | | | [ruby-dev:40379] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/alloca.c: s/RUBY_LIB/RUBY_LIB_PREFIX/ [ruby-dev:40395]kazu2010-02-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_exec): reset thread state before restarting vm loopnobu2010-02-112-0/+6
| | | | | | | from catch scope. [ruby-core:28129], [ruby-core:28143] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.akr2010-02-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): replace non-1.8 escapes directly.nobu2010-02-112-8/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): read sequentially since marshal sourcenobu2010-02-113-34/+26
| | | | | | | may not be possible to rewind. [ruby-dev:40386] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe the reporter.akr2010-02-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb: fix [ruby-core:28144].akr2010-02-112-33/+82
| | | | | | | | | | | | | | | | | | | | | | | | | (Resolv::DNS#make_requester): pass nameserver_port to UnconnectedUDP.new. (Resolv::DNS.bind_random_port): change the is_ipv6 argument to bind_host. (Resolv::DNS::Requester#initialize): change instance variable to store multiple sockets. (Resolv::DNS::Requester#request): pass readable sockets to recv_reply. (Resolv::DNS::Requester#close): close all sockets. (Resolv::DNS::Requester::UnconnectedUDP#initialize): allocate a socket for each address family of name servers. (Resolv::DNS::Requester::UnconnectedUDP#recv_reply): read from the passwd readable socket. (Resolv::DNS::Requester::UnconnectedUDP#sender): use appropriate socket for the target nameserver. (Resolv::DNS::Requester::ConnectedUDP): follow the instance variable change. (Resolv::DNS::Requester::TCP#sender): ditto. (Resolv::DNS::Config#nameserver_port): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-11svn2010-02-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_exec): temporarily revert r26628, which causes SEGV whenmame2010-02-102-2/+10
| | | | | | executing rubyspec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_push_m, rb_ary_unshift_m, rb_ary_aset),nobu2010-02-107-10/+79
| | | | | | | | | | | | | | (rb_ary_insert, rb_ary_replace, rb_ary_concat), (rb_ary_uniq_bang, rb_ary_flatten_bang): check if frozen after wrong number of arguments but before TypeError. [ruby-core:28140] * hash.c (rb_hash_replace): ditto. * string.c (rb_str_replace): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-10svn2010-02-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_exec): reset thread state before starting vm loop.nobu2010-02-093-5/+28
| | | | | | | [ruby-core:28129] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_divide): fix precision too.mame2010-02-092-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): fix precision.mame2010-02-092-2/+8
| | | | | | [ruby-core:17472][ruby-dev:35372][ruby-dev:40105][ruby-dev:40358] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (READ_CHECK): do not select fd before reading, that had mademame2010-02-092-9/+16
| | | | | | TCPServer#gets stuck. [ruby-dev:40317] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/text.rb (REXML::Text#initialize): REXML::Text.new checksmame2010-02-092-2/+8
| | | | | | | raw text for illegal characters without entity check, for the sake of 1.8 compatibility. This had caused rubyspec error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-09svn2010-02-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline_fast): wrong calculation of new positionmatz2010-02-083-3/+12
| | | | | | | | | | from rb_str_coderange_scan_restartable(). [ruby-core:28103] * io.c (read_all): ditto. * sprintf.c (rb_str_format): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (socket_s_ip_address_list): obtain the scope_idakr2010-02-082-3/+17
| | | | | | | of IPv6 link local address on OpenSolaris. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_clone): call initialize_clone hook method tomatz2010-02-084-6/+39
| | | | | | | | | | | | | | | | call initialize_copy. * object.c (rb_obj_dup): call initialize_dup hook. * lib/delegate.rb (Delegator#initialize_clone): use new hook to implement deep copy. [ruby-dev:40242] * lib/delegate.rb (Delegator#initialize_dup): ditto. * test/test_delegate.rb (TestDelegateClass#test_copy_frozen): add a test to ensure #clone copies frozen status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dmyversion.c: empty load path in miniruby.nobu2010-02-084-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.nobu2010-02-085-4/+11
| | | | | | | | * tool/eval.rb, win32/{mkexports,resource}.rb: miniruby no longer contains "." in $:. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-08svn2010-02-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check pthread_attr_getstack to prevent obsoletematz2010-02-082-1/+6
| | | | | | warning for pthread_attr_getstackaddr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: sort files for syntax validataion.akr2010-02-072-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: sort test files.akr2010-02-072-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_handle.rb (test_NEXT): fix for BSD.naruse2010-02-071-2/+29
| | | | | | | Linux and Darwin's RTLD_NEXT searchs second occurrence of the function. But FreeBSD and NetBSD's RTLD_NEXT searchs in libraries loaded after dl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake.rb (Rake::FileList::ARRAY_METHODS): fix test failure by <=>akr2010-02-072-1/+6
| | | | | | | | definition at Kernel. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_lgamma): initialize sign becauseakr2010-02-062-1/+6
| | | | | | | lgamma(NaN) doesn't set the sign in OpenSolaris. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_class_init_copy): raise a TypeError if the argument isshugo2010-02-063-0/+10
| | | | | | BasicObject. [ruby-core:27060] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-07svn2010-02-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (initialize): set @sock to a NullSocket instance toshugo2010-02-062-2/+15
| | | | | | raise FTPConnectionError when not connected. [ruby-dev:40258] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added a ChangeLog entry.shugo2010-02-061-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/curses/view2.rb: replaced with Hugh Sasse's version.shugo2010-02-061-97/+131
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e