aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * string.c (str_byte_substr): don't set coderange if it's not known.naruse2013-02-253-2/+30
| | | | | | [Bug #7954] [ruby-dev:47108] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_string.rb: defer ENUMERATORS_WANTARRAY to next majornobu2013-02-251-1/+1
| | | | | | | * test/ruby/test_string.rb (TestString::ENUMERATOR_WANTARRAY): defer new behavior to next major. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_string.rb: ENUMERATORS_WANTARRAYnobu2013-02-251-4/+5
| | | | | | | * test/ruby/test_string.rb (TestString::ENUMERATOR_WANTARRAY): name test branching codition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: clean miniprelude.cnobu2013-02-252-2/+7
| | | | | | | * common.mk (realclean-local): miniprelude.c is made by srcs, so it should not removed by distclean but by realclean. [Bug #6807] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/config_file.rb: Lazily load .gem/credentials to onlydrbrain2013-02-254-31/+75
| | | | | | | | | | | check permissions when necessary. RubyGems bug #465 * test/rubygems/test_gem_config_file.rb: Test for the above. * test/rubygems/test_gem_commands_push_command.rb: Remove duplicated test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* depend: fix for static library on mswinnobu2013-02-251-2/+2
| | | | | | * enc/depend (ARFLAGS, RANLIB): these values can be nil. [Bug #7950] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* depend: fix for static library on mswinnobu2013-02-253-2/+13
| | | | | | | | | * enc/depend (ARFLAGS): VisualC++ linker does not allow spaces between output option and the output file name. [Bug #7950] * enc/depend (RANLIB): set default command to do nothing, or make the entire line a label on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: default libdirnamenobu2013-02-253-2/+8
| | | | | | | * lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: STRING_ENUMERATORS_WANTARRAYnobu2013-02-251-4/+6
| | | | | | | * string.c (STRING_ENUMERATORS_WANTARRAY): name preprocessing codition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: find Setup file automaticallynobu2013-02-254-15/+26
| | | | | | | | | * configure.in (setup): find Setup file from target_os 1. by suffix (e.g. Setup.nacl, Setup.atheos), 2. by "platform" option (e.g. Setup.nt, Setup.emx), and 3. default Setup. And Setup.dj had been removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: remove unnecessary sentencenobu2013-02-251-3/+0
| | | | | | | * thread.c (thread_start): initialize method is not concerned with Thread.start and Thread.fork. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: Document Thread::new, clean up ::fork and mention callingzzak2013-02-252-4/+31
| | | | | | | super if subclassing Thread git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: don't test ss_family and ss_len member ofakr2013-02-252-9/+6
| | | | | | | | | struct sockaddr_storage. They are not used now except SunOS specific code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39482 ↵matz2013-02-251-1/+1
| | | | b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix ksh/bash-ism.knu2013-02-252-1/+6
| | | | | | | | * configure.in (unexpand_shvar): Use the numeric comparison operator instead of '==' which is a ksh extention. [Bug #7941] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix major-mode for emacskazu2013-02-251-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* old ChangeLog and NEWS move to dockazu2013-02-254-24514/+24550
| | | | | | | | | * doc/NEWS-2.0.0: moved from NEWS * doc/ChangeLog-2.0.0: moved ChangeLog older than created ruby_2_0_0 branch * NEWS: NEWS for 2.1.0 that describes changes since 2.0.0 * ChangeLog: ChangeLog since created ruby_2_0_0 branch git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-25svn2013-02-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket: define and use union_sockaddr instead of structakr2013-02-249-75/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sockaddr_storage for less casts. * ext/socket/rubysocket.h (union_sockaddr): defined. * ext/socket/socket.c (sock_accept): use union_sockaddr. (sock_accept_nonblock): ditto. (sock_sysaccept): ditto. (sock_s_getnameinfo): ditto. * ext/socket/basicsocket.c (bsock_getsockname): ditto. (bsock_getpeername): ditto. (bsock_local_address): ditto. (bsock_remote_address): ditto. * ext/socket/ancdata.c (bsock_recvmsg_internal): ditto. * ext/socket/init.c (recvfrom_arg): ditto. (recvfrom_blocking): ditto. (rsock_s_recvfrom): ditto. (rsock_s_recvfrom_nonblock): ditto. (rsock_getfamily): ditto. * ext/socket/raddrinfo.c (rb_addrinfo_t): ditto. (ai_get_afamily): ditto. (inspect_sockaddr): ditto. (addrinfo_mdump): ditto. (addrinfo_mload): ditto. (addrinfo_getnameinfo): ditto. (addrinfo_ip_port): ditto. (extract_in_addr): ditto. (addrinfo_ipv6_to_ipv4): ditto. (addrinfo_unix_path): ditto. * ext/socket/tcpserver.c (tcp_accept): ditto. (tcp_accept_nonblock): ditto. (tcp_sysaccept): ditto. * ext/socket/ipsocket.c (ip_addr): ditto. (ip_peeraddr): ditto. (ip_s_getaddress): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use require_relative to require local librarynaruse2013-02-2456-60/+61
| | | | | | * from 1.9 require relative path from the file must use require_relative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: [ruby-core:52303]tadf2013-02-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_array.rb: fix test for r39466nobu2013-02-241-2/+2
| | | | | | | * test/ruby/test_array.rb (test_sample_random): remove adjustment for the bug fixed by r39466. [ruby-core:52779] [Bug #7935] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* random.c: increase limit for generic randnobu2013-02-243-1/+34
| | | | | | | | * random.c (rb_random_ulong_limited): limit is inclusive, but generic rand method should return a number less than it, so increase for the difference. [ruby-core:52779] [Bug #7935] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: Removed duplicate Accept-Encoding in Net::HTTP#get.drbrain2013-02-243-7/+8
| | | | | | | | [ruby-trunk - Bug #7924] * test/net/http/test_http.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: Document ThreadGroup::Defaultzzak2013-02-242-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: Grammar for #backtrace_locations and ::handle_interruptzzak2013-02-242-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: compare with me in method top cfpnobu2013-02-243-4/+56
| | | | | | | | | * vm_insnhelper.c (vm_call_method): block level control frame does not have method entry, so obtain the method entry from method top-level control frame to be compared with refined method entry. [ruby-core:52750] [Bug #7925] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c: Document methods receiving string and convert to symbolzzak2013-02-244-5/+77
| | | | | | | | | Patch by Stefan Rusterholz * vm_eval.c: ditto * vm_method.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rp): fix argument order.nobu2013-02-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* signal.c: fix typenobu2013-02-241-1/+1
| | | | | | * signal.c (sigsegv): type of write(2) is ssize_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove duplicated entry.kosaki2013-02-241-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sigsegv): suppress unused result warning. Becausekosaki2013-02-242-1/+8
| | | | | | write(2) is marked __warn_unused_result__ on Linux glibc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: no keyword check if kw_restnobu2013-02-233-1/+13
| | | | | | | * compile.c (iseq_set_arguments): no keyword check if any keyword rest argument exists, even unnamed. [ruby-core:52744] [Bug #7922] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Fix rdoc for flatten!marcandre2013-02-232-3/+3
| | | | | | * hash.c: Correct rdoc for reject! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-24svn2013-02-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: rdoc fixmarcandre2013-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Reorder and fix indent levels [ruby-core:52723]marcandre2013-02-231-294/+300
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Fix RubyGems version [Bug #7920]marcandre2013-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_backtrace.rb: test Thread#backtrace_locations with rangezzak2013-02-231-0/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: Documentation for Thread#backtrace_locationszzak2013-02-232-2/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c: Typo in ObjectSpace::WeakMap overviewzzak2013-02-232-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: Improved rdoc for ::handle_interrupt, ::pending_interrupt?zzak2013-02-232-38/+73
| | | | | | | and #pending_interrupt? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (archlibdir): needed for multiarch.nobu2013-02-231-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merger.rb: runnablenobu2013-02-231-1/+4
| | | | | | * tool/merger.rb: make runnable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merger.rb: suppress warningsnobu2013-02-231-9/+9
| | | | | | | * tool/merger.rb (version_up, tag, default_merge_branch): suppress syntax warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* misc/ruby-electric.el: Avoid electric insertion in some cases.knu2013-02-232-32/+59
| | | | | | | | | | | | | * misc/ruby-electric.el (ruby-electric-curlies) (ruby-electric-matching-char, ruby-electric-bar): Avoid electric insertion when there is a prefix argument. * misc/ruby-electric.el (ruby-electric-insert) (ruby-electric-cua-replace-region-p) (ruby-electric-cua-replace-region): Avoid electric insertion and fall back when cua-mode is enabled and a region is active. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Document #<=> return values and formattingzzak2013-02-239-40/+73
| | | | | | | | | | | | | * bignum.c: ditto * file.c: ditto * object.c: ditto * numeric.c: ditto * rational.c: ditto * string.c: ditto * time.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_process.rb: fix testnobu2013-02-231-6/+16
| | | | | | | | * test/ruby/test_process.rb (assert_fail_too_long_path): get rid of syntax error on sh, increase command line size until it exceeds the limit. [Bug #7904] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_diff, rb_ary_and, rb_ary_or): Document return orderzzak2013-02-232-3/+10
| | | | | | | [RubySpec #7803 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_comp): Documenting Object#<=> return valueszzak2013-02-232-0/+16
| | | | | | | Patch by Stefan Rusterholz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e