summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-10* 2015-09-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-10fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-10fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-10parse.y: keep literal encodingnobu
* parse.y (literal_concat_gen, evstr2dstr_gen): keep literal encoding beginning with an interpolation same as the source file encoding. [ruby-core:70703] [Bug #11519] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-10Clarify spawn pgroup documentation [ci skip]nobu
* process.c (rb_f_spawn): Be more specific regarding "other values" by having "non-zero positive integers" Add nil, the default value, as a possible value and what it means. Try to use more consistent language. [Fix GH-1008] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-10* lib/net/ftp.rb (getmultiline): refactor.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-10* 2015-09-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-10compile.c: register cdhashnobu
* compile.c (iseq_build_from_ary_body): register cdhash to the iseq constant body instead of compile time mark array, not to get GCed. [ruby-core:70708] [Feature #8543] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* ChangeLog: typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* lib/rubygems/stub_specification.rb (Gem::StubSpecification#data):usa
should not change the value of $. when `require`ing gems. this fixed test failures introduced by r51813. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* ruby.c (usage, enable_option, disable_option, process_options): newusa
option `--disable_did_you_mean`. * gem_prelude.rb: now requires did_you_mean gem by default if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09extlibs.rb: patch optionsnobu
* tool/extlibs.rb (do_patch): let "patch" command change the working directory and open the patch file there, instead of spawn options, so that proper error message will be shown by the command not just "chdir" or "open". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* test/ruby/test_process.rb (TestProcess#test_popen_exit): platform specificusa
option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* test/ruby/test_process.rb (TestProcess#test_popen_exit): platform specificusa
option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09io.c: sys/wait.hnobu
* io.c: BSDs need sys/wait.h for WNOHANG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* common.mk (update-gems): use BASERUBY instead of RUNRUBY.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* .travis.yml: retry.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* lib/delegate.rb: Remove backtrace cleaning for delegated methodszzak
This patch was provided by Rafael França and greatly improves performance when an exception is raised. [Bug #11461] Before: Calculating ------------------------------------- default 86.209k i/100ms default raising 2.209k i/100ms ------------------------------------------------- default 1.953M (±11.0%) i/s - 9.655M default raising 21.826k (±13.5%) i/s - 108.241k After: Calculating ------------------------------------- default 72.211k i/100ms default raising 34.288k i/100ms ------------------------------------------------- default 2.013M (±18.7%) i/s - 9.460M default raising 623.950k (± 9.7%) i/s - 3.120M Benchmark: require 'delegate' require 'benchmark/ips' class Foo def name 'foo' end def bla raise end end class Bar < DelegateClass(Foo) end bar = Bar.new(Foo.new) Benchmark.ips do |b| b.report('default') { bar.name } b.report('default raising') { bar.bla rescue nil } end git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* .travis.yml: update unicode data, bundled gems, extlibs, and so on.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09* test/rubygems/test_config.rb: fix broken tests for Windows platform.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08* 2015-09-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08* lib/rubygems: Update to RubyGems HEAD(fe61e4c112).hsbt
this version contains new feature that warn invalid SPDX license identifiers. https://github.com/rubygems/rubygems/pull/1249 and #1032, #1023, #1332, #1328, #1306, #1321, #1324 * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0.beta2yuki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08fix a typo of test method name.nagachika
* test/ruby/test_file.rb (test_realdirpath_junction): fix a typo of method name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08io.c: no wait when killednobu
* io.c (rb_io_s_popen): do not wait the child process during being killed. [ruby-core:70671] [Bug #11510] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08* test/ruby/test_file.rb (TestFile#test_realdirpath_junktion): test for r51790.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08* gems/bundled_gems: revert because ruby trunk never be able to installusa
the did_you_mean gem. retry after enough test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08gems/bundled_gems: Automatically install the did_you_mean gem as a bunlded gem.yuki
[Feature #11252] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08* vm_core.h: remove rb_call_info_t::blockiseq.ko1
* insns.def (send, invokesuper): pass blockiseq explicitly. * compile.c: catch up this fix. * iseq.c: ditto. * vm_args.c: ditto. * iseq.c (ISEQ_MINOR_VERSION): 2->3 because instruction spec was changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08process.c: keep GVL if WNOHANGnobu
* process.c (rb_waitpid): do not release GVL when WNOHANG is set, it should return immediately without blocking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08process.c: retry loopnobu
* process.c (rb_waitpid): refactor retry loop by interrupt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08* lib/net/ftp.rb (list): fetch all the lines before yielding a blockshugo
to allow other commands in the block. [Feature #11454] Patched by Srikanth Shreenivas. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08* win32/win32.c (rb_w32_read_reparse_point): return correct requiredusa
buffer size for IO_REPARSE_TAG_MOUNT_POINT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07configure.in: BOOTSTRAPRUBY versionnobu
* configure.in (BOOTSTRAPRUBY): avoid too old versions. current fileutils.rb does not work with 1.8 or older, because of the return values of Module#singleton_methods and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07* 2015-09-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07process.c: open exception messagenobu
* process.c (rb_execarg_parent_start1): raise with the target path name when open() failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07process.c: chdir exception messagenobu
* process.c (rb_exec_fail): raise with the target directory name when chdir() failed. pointed out by sorah. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07ChangeLog: remove a duplicated entry (r51782).nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07win32.c: use plain strdupnobu
* win32/win32.c (insert): should use plain strdup() instead of ruby_strdup() at startup time, and plain free()ed in cmdglob(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07test_framework.rb: use Ruby frameworknobu
* test/mkmf/test_framework.rb (test_single_framework): use Ruby framework, as CoreFoundation framework uses Apple extensions unsupported by standard GCC other than Apple-patched clang. * test/mkmf/test_framework.rb (test_multi_frameworks): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07vm_core.h: objspace alwaysnobu
* vm_core.h (rb_vm_struct): define objspace always regardless ENABLE_VM_OBJSPACE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07ruby_atomic.h: fix typonobu
* ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo. TODO: make arguments of all CAS macros consistent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07localeinit.c: locale_charmap rdoc [ci skip]nobu
* localeinit.c (rb_locale_charmap): [RDOC] move Encoding.locale_charmap rdoc from encoding.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-06thread_pthread.c: async_bug_fdnobu
* thread_pthread.c (async_bug_fd): show failed file descriptor too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-06* 2015-09-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-06thread_pthread.c: async bug messagesnobu
* thread_pthread.c (consume_communication_pipe, CLOSE_INVALIDATE): adjust async bug messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-06ccan/list/list.h: suppress unused argument warningsnormal
ccan commit 6aaca17e07588997417a73fac19dcf0ff17ed81b ("list: suppress unused argument warnings") by Cody P Shafer. Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-06test_process.rb: suppress warningsnobu
* test/ruby/test_process.rb (test_exec_close_reserved_fd): suppress "cannot close fd before spawn" warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-06thread.c: suppress warningsnobu
* thread.c (do_select): suppress maybe-uninitialized warnings on maxfd. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e