aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add tag v2_2_0_rc1v2_2_0_rc1naruse2014-12-180-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v2_2_0_rc1@48887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix fox BusyBoxnobu2014-12-182-2/+8
| | | | | | | | * configure.in (rb_cv_binary_elf): get rid of -e option of cat which is not available on BusyBox, use tr instead. [ruby-core:64824] [Bug #10210] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.usa2014-12-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,usa2014-12-182-0/+17
| | | | | | | | should be treated before calling signal(2). [Bug #10615] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: checks for old versionsnobu2014-12-181-4/+4
| | | | | | | * ext/io/console/extconf.rb: remove no longer needed checks for old versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: use after_failurenobu2014-12-181-4/+6
| | | | | | | * .travis.yml: use after_failure section to dump crash log files. http://docs.travis-ci.com/user/build-lifecycle/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-12-18svn2014-12-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_iseq.rb: spelling fix: s/diable/disable/normal2014-12-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2014-12-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console.gemspec: bump upnobu2014-12-171-1/+1
| | | | | | * ext/io/console/io-console.gemspec: bump up to 0.4.3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* console.c: dead codenobu2014-12-172-56/+0
| | | | | | * ext/io/console/console.c: remove dead code for old versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: struct accessorsnobu2014-12-173-122/+91
| | | | | | | * compile.c (rb_method_for_self_aref, rb_method_for_self_aset): move from iseq.c to build from node instead of arrays. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c: constifynobu2014-12-173-8/+9
| | | | | | | | * vm.c (rb_vm_get_binding_creatable_next_cfp): constify arguments. (rb_vm_get_ruby_level_next_cfp): ditto. (vm_get_ruby_level_caller_cfp): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: constifynobu2014-12-171-2/+2
| | | | | | * compile.c (iseq_set_local_table): constify ID table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: default optionnobu2014-12-171-0/+1
| | | | | | | * iseq.c (rb_iseq_new_with_opt): allow NULL option as COMPILE_OPTION_DEFAULT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: absolute_pathnobu2014-12-171-5/+12
| | | | | | * iseq.c (caller_location): separate absolute_path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/gdbm/test_gdbm.rb: Added test for each_key called without a block.hsbt2014-12-172-0/+9
| | | | | | Patch by @joeyates [fix GH-783] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): checkko12014-12-173-5/+23
| | | | | | | | | iseq->compile_data->option->specialized_instruction for opt_* insn. * test/ruby/test_iseq.rb: check no specialized_instructions option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: skip opt_* insns for fstr args with block givennormal2014-12-173-3/+51
| | | | | | | | | | | * compile.c (iseq_compile_each): only emit opt_str_freeze, opt_aref_with, and opt_aset_with insn when no block is given [Bug #10557] [ruby-core:66595] * test/ruby/test_optimization.rb (test_block_given_aset_aref): new test for bug thanks to Bartosz Kopinski. (test_string_freeze): additional assertion for object_id git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-12-17svn2014-12-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32/lib/Win32API.rb (Win32API#call): need to splat. hmm, whenusa2014-12-162-1/+6
| | | | | | | was this broken? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: mention about IO#fsync (and IO#flush). adviced by kosaki.usa2014-12-161-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: remove useless codenobu2014-12-161-1/+0
| | | | | | * iseq.c (rb_method_for_self_aref): remove unused declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: struct accessorsnobu2014-12-165-32/+84
| | | | | | | | | | | * iseq.c (rb_method_for_self_aref, rb_method_for_self_aset): call accessor functions directly, not to be affected by [] and []= methods. [ruby-core:66846] [Bug #10601] * struct.c (define_aref_method, define_aset_method): ditto. * vm_insnhelper.c (rb_vm_opt_struct_aref, rb_vm_opt_struct_aset): direct accessors of Struct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: wrap funcptrnobu2014-12-162-3/+16
| | | | | | | | | * compile.c (iseq_build_from_ary_body): enclose funcptr with Integer as raw pointer cannot appear in an Array. * iseq.c (iseq_data_to_ary): extract funcptr from Integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: fix escapenobu2014-12-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: dump crash logsnobu2014-12-161-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rubyoptions.rb: clean crash lognobu2014-12-161-0/+4
| | | | | | | * test/ruby/test_rubyoptions.rb (test_segv_loaded_features): clean crash log on OS X after intentional segv. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):ko12014-12-162-1/+6
| | | | | | | | extend timeout seconds to 60 for RGENGC_CHECK_MODE > 0 environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: show function name if possiblenobu2014-12-162-2/+29
| | | | | | | | | * iseq.c (rb_insn_operand_intern): show the name of the nearest run-time symbol if possible. * compile.c (insn_data_to_s_detail): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: check funcptrnobu2014-12-162-0/+4
| | | | | | | | * compile.c (iseq_build_from_ary_body): cannot load dumped funcptr. * iseq.c (iseq_data_to_ary): cannot dump funcptr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/vcs.rb: fix Ruby 1.8 compatibility hardernormal2014-12-162-1/+7
| | | | | | Arguments after splat do not work under 1.8, either. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* GC documentation updatenormal2014-12-153-4/+102
| | | | | | | | | | * gc.c (GC_HEAP_FREE_SLOTS): move definition to match use order (RUBY_GC_HEAP_GROWTH_SLOTS): s/factor/number of slots/ * man/ruby.1: add section for GC environment variables [Feature #10197] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/test/unit.rb: Also rescue EINVAL for older Linux thatheadius2014-12-151-1/+1
| | | | | | raises it in popen. [Bug #10494] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/vcs.rb: fix Ruby 1.8 compatibilitynormal2014-12-152-1/+6
| | | | | | Symbol#to_proc is not standard in Ruby 1.8 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_time.rb: Add test for getlocal(nil). Seeheadius2014-12-151-0/+11
| | | | | | jruby/jruby#2310. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: use caller locationnobu2014-12-151-4/+18
| | | | | | | * iseq.c (rb_method_for_self_aref, rb_method_for_self_aset): set same location as the caller. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: intermediate arraysnobu2014-12-151-19/+27
| | | | | | | * iseq.c (rb_method_for_self_aref, rb_method_for_self_aset): hide and clear intermediate array objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: support for TS_FUNCPTRnobu2014-12-151-0/+9
| | | | | | | | | | * compile.c (iseq_set_sequence): support for TS_FUNCPTR. * compile.c (insn_data_to_s_detail): ditto. * compile.c (iseq_build_from_ary_body): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-12-16svn2014-12-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb: Add test for coderange clearing inheadius2014-12-151-0/+16
| | | | | | IO#read with buffer. See jruby/jruby#2316. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/objspace.c: ObjectSpace.memsize_of(obj) returnsko12014-12-156-4/+25
| | | | | | | | | | | | with sizeof(RVALUE). [Bug #8984] * gc.c (obj_memsize_of): ditto. * NEWS: add a NEWS entry. * test/objspace/test_objspace.rb: catch up this fix. * test/ruby/test_file_exhaustive.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: fix coderange for non-endianness stringnobu2014-12-153-2/+23
| | | | | | | | * string.c (rb_enc_str_coderange): dummy wchar, non-endianness encoding string cannot be ascii only. [ruby-core:66835] [Bug #10598] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* comment out for x86 extended precisionnaruse2014-12-151-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* VCS::SVN#url was buggy and recent commits exposed itnaruse2014-12-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: reuse downloaded filesnobu2014-12-151-1/+8
| | | | | | | * tool/make-snapshot (package): reuse already downloaded files if existing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: use srcdirnobu2014-12-152-2/+4
| | | | | | * tool/make-snapshot: use srcdir as checked out working directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: abstractnobu2014-12-152-19/+112
| | | | | | * tool/vcs.rb: abstract VCS interfaces from make-snapshot. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: non-string pathnobu2014-12-151-3/+5
| | | | | | | * tool/vcs.rb (VCS#get_revisions, VCS::SVN.get_revisions): allow path to be other than a string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-12-15svn2014-12-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e