aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * vm_exec.h (VM_DEBUG_STACKOVERFLOW): added.ko12013-12-183-0/+16
| | | | | | | | | disable stack overflow check for every stack pushing as default. * vm_exec.c (vm_stack_overflow_for_insn): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_gc.rb: fix syntax errornobu2013-12-181-2/+2
| | | | | | | | * test/ruby/test_gc.rb (TestGc#test_expand_heap): fix syntax error by mismatched paren. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_gc.rb: refine assertionnobu2013-12-181-2/+2
| | | | | | | | * test/ruby/test_gc.rb (test_expand_heap): use assert_in_delta instead of bare assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io.rb: duplicated testnobu2013-12-181-19/+3
| | | | | | | | | * test/ruby/test_io.rb (test_s_write): merge duplicated test. * test/ruby/test_io.rb (test_io_s_write): remove duplicated assertsions git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: [DOC] Fix typoa_matsuda2013-12-181-1/+1
| | | | | | | s/maye be/may be/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems master d8f12e2. This increases thedrbrain2013-12-187-20/+123
| | | | | | | | | speed of `gem install --ignore-dependencies` which helps bundler tests. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-18svn2013-12-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_gc.rb (test_expand_heap): allow +/-1 diff.ko12013-12-182-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb: fix duplicated test name.ktsj2013-12-172-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gitignore: ignored *.old files.hsbt2013-12-171-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/e2mmap.rb: Fix typo in an error messagea_matsuda2013-12-171-1/+1
| | | | | | s/registerd/registered/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/object_tracing.c: Fix typo in a variable namea_matsuda2013-12-171-3/+3
| | | | | | s/registerd/registered/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: revertnobu2013-12-174-4/+13
| | | | | | | | * hash.c (rb_hash_reject): revert to deprecated behavior, with warnings, due to compatibility for HashWithDifferentAccess. [ruby-core:59154] [Bug #9223] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: add warningsnobu2013-12-171-12/+31
| | | | | | * hash.c (rb_hash_reject): warn attributes in detail more. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* misc/ruby-electric.el: Import version 2.1.1.knu2013-12-172-4/+17
| | | | | | | | | | | * ruby-electric-delete-backward-char: Enable support for number prefix. * ruby-electric-curlies: Fix electric operation after an open curly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_trace.c: isolate exceptionsnobu2013-12-173-0/+22
| | | | | | | | * vm_trace.c (rb_postponed_job_flush): isolate exceptions in postponed jobs and restore outer ones. based on a patch by tarui. [ruby-core:58652] [Bug #9168] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: add $CPPFLAGSnobu2013-12-171-1/+1
| | | | | | | * configure.in (RUBY_DTRACE_POSTPROCESS): $CPPFLAGS is also needed to compile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: use $DTRACEnobu2013-12-171-1/+1
| | | | | | | * configure.in (RUBY_DTRACE_POSTPROCESS): use configured $DTRACE instead of dtrace directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: move opt-dir optionnobu2013-12-171-18/+19
| | | | | | | * configure.in (opt-dir): move so that it can affect in configure not only after rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: prototypenobu2013-12-171-1/+1
| | | | | | | * gc.c (gc_finalize_deferred_register): define in prototype style, instead of old K&R style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in, configure.in: cppflagsnobu2013-12-172-1/+2
| | | | | | | * Makefile.in, configure.in (cppflags): allow setting cppflags from the confiugre command line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: build probes with systemtap's dtrace wrappertmm12013-12-172-1/+12
| | | | | | | | | * configure.in (RUBY_DTRACE_POSTPROCESS): Fix compatibility with systemtap on linux. stap requires `dtrace -G` post-processing, but the dtrace compatibility wrapper is very strict about probes.d syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems master 1c5f4b3. Allows rubygemsdrbrain2013-12-164-1/+65
| | | | | | | | | repackagers to disable backward-compatible shared gem directory behavior. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-17svn2013-12-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (RDoc): Update version number so I don't have to change itdrbrain2013-12-162-2/+7
| | | | | | | for the final release. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: typonobu2013-12-161-1/+1
| | | | | | * hash.c (rb_hash_reject): fix typo in macro name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2013-12-161-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: mention about Hash#reject.nobu2013-12-161-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: warnings in rb_hash_rejectnobu2013-12-161-4/+30
| | | | | | | | * hash.c (rb_hash_dup_empty): split from rb_hash_dup. * hash.c (rb_hash_reject): add warnings (currently suppressed). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: refactor loopnobu2013-12-161-9/+3
| | | | | | * hash.c (rb_hash): rewrite with while instead of goto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_process.rb: fix for 32bit platformsnobu2013-12-161-1/+1
| | | | | | | * test/ruby/test_process.rb (test_clock_gettime_unit): results can exceed Fixnum limit, especially on 32bit platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: fix option hashnobu2013-12-162-1/+4
| | | | | | | * class.c (rb_scan_args): if no keywords is given return nil as the option hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io.rb: IO.write testnobu2013-12-161-0/+16
| | | | | | | * test/ruby/test_io.rb (test_s_write): test for IO.write. more conditions will be needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_markable_object_p): should check special_const_pko12013-12-162-1/+6
| | | | | | | | first (by is_markable_object()). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/objspace.c (reachable_object_from_root_i): useko12013-12-162-0/+11
| | | | | | | | | | | compare_by_identity hash to avoid hash modify problem during iteration. [Bug #9252] * ext/objspace/objspace.c (reachable_objects_from_root): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/exyacc.rb: Fix typo in a variable namea_matsuda2013-12-161-12/+12
| | | | | | s/grammer/grammar/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-12-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_verify_internal_consistency): should not useko12013-12-162-1/+11
| | | | | | | | rb_objspace_each_objects() because it call rest_sweep(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_markable_object_p): fix last commit (build error).ko12013-12-162-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_markable_object_p): it should be live objects.ko12013-12-162-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_each_objects): should not clear dont_lazy_sweepko12013-12-162-1/+13
| | | | | | | | flag in nested case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_method_entry_make): fix WB miss.ko12013-12-163-1/+22
| | | | | | | | | | Note that rb_method_entry_t::klass is not constified. We may constify this field. * test/ruby/test_alias.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: [DOC] Fix typoa_matsuda2013-12-161-1/+1
| | | | | | | s/geneartion/generation/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-12-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: use gc_verify_internal_consistency() instead ofko12013-12-162-31/+8
| | | | | | | | | gc_check_before_marks_i() for check consistency on RGENGC_CHECK_MODE >= 2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (make_clock_result): add :second as a unit fornaruse2013-12-163-0/+32
| | | | | | Process.clock_gettime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warning: SAFE=3 does no sandboxingnaruse2013-12-161-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: introduce GC.verify_internal_consistency method to verify GCko12013-12-163-0/+84
| | | | | | | | | internal data structure. Now this method only checks geneartion (old/young) consistency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo: wheb -> whentmm12013-12-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-16svn2013-12-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e