aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * thread.c (rb_thread_wakeup): rdoc formattingzzak2013-02-272-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (rb_thread_group): rdoc formattingzzak2013-02-272-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: Typo in OpenStruct overview [Github Fixes #251]zzak2013-02-272-2/+7
| | | | | | | Patch by Chun-wei Kuo git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.h (END_INSN): llvm-gcc may optimize out reg_cfp and causenaruse2013-02-272-1/+21
| | | | | | | | | Stack/cfp consistency error when the instruction doesn't use reg_cfp. Usually instructions use PUSH() but for example trace doesn't. This hack cause speed down but you shouldn't use llvm-gcc, use clang. [Bug #7938] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_raise_m): rdoc formattingzzak2013-02-272-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-27svn2013-02-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: remove no longer used variablenobu2013-02-271-1/+0
| | | | | | | * configure.in (unexpand_shvar): remove variable which is no longer used since r39506. [Bug #7959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos... Sorry...kou2013-02-261-4/+4
| | | | | | | | entity_expansion_limit -> entity_expansion_text_limit git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/document.rb: move entity_expansion_limit accessor to ...kou2013-02-263-5/+28
| | | | | | | | | | | * lib/rexml/rexml.rb: ... here for consistency. * lib/rexml/document.rb (REXML::Document.entity_expansion_limit): deprecated. * lib/rexml/document.rb (REXML::Document.entity_expansion_limit=): deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/document.rb: move entity_expansion_limit accessor to ...kou2013-02-264-5/+33
| | | | | | | | | | | | | | | * lib/rexml/rexml.rb: ... here to make rexml/text independent from REXML::Document. It causes circular require. * lib/rexml/document.rb (REXML::Document.entity_expansion_limit): deprecated. * lib/rexml/document.rb (REXML::Document.entity_expansion_limit=): deprecated. * lib/rexml/text.rb: add missing require "rexml/rexml" for REXML.entity_expansion_limit. Reported by Robert Ulejczyk. Thanks!!! [ruby-core:52895] [Bug #7961] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typonobu2013-02-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: reconstruct comma separated list valuesnobu2013-02-262-1/+12
| | | | | | | | | * tool/mkconfig.rb: reconstruct comma separated list values. a command line to Windows batch file is splitted not only by spaces and equals sign but also by commas and semicolons. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: non-portable shell behaviornobu2013-02-262-4/+9
| | | | | | | | * configure.in (unexpand_shvar): get rid of non-portable shell behavior on OpenBSD, so no extra quotes. [Bug #7959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_keyword.rb: suppress warningnobu2013-02-261-1/+1
| | | | | | | * test/ruby/test_keyword.rb (TestKeywordArguments#m1): suppress argument prefix warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: keyword argument without parennobu2013-02-263-1/+23
| | | | | | | | | * parse.y (IS_LABEL_POSSIBLE): allow labels for keyword arguments just after method definition without a parenthesis. [ruby-core:52820] [Bug #7942] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c: clarify reason for sleep in SignalException examplezzak2013-02-252-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c: clarify a document of SignalException. Process.kill()kosaki2013-02-252-0/+7
| | | | | | | doesn't have any guarantee when signal will be delivered. [Bug #7951] [ruby-core:52864] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-26svn2013-02-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Setup.nt: this file has not been used by default.nobu2013-02-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_fnmatch.rb: use assert_file.nobu2013-02-251-85/+85
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: rename membernobu2013-02-251-3/+3
| | | | | | | * test/ruby/envutil.rb (Test::Unit::Assertions::AssertFile): rename member to get rid of conflict with a method of Assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version.h: bump RUBY_API_VERSIONnobu2013-02-252-1/+5
| | | | | | * include/ruby/version.h: bump RUBY_API_VERSION same as RUBY_VERSION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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