aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* gc.c: fix build with RGENGC_ESTIMATE_OLDMALLOC=0tmm12013-12-162-1/+16
| | | | | | | | * gc.c (gc_info_decode): Fix build errors wheb compiled with RGENGC_ESTIMATE_OLDMALLOC=0 * gc.c (objspace_malloc_increase): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_logger.rb: fix system dependent testnobu2013-12-151-1/+1
| | | | | | | * test/logger/test_logger.rb (test_shifting_size_not_rotate_too_much): useless test on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_dir.rb: fix system dependent testnobu2013-12-151-1/+6
| | | | | | | * test/ruby/test_dir.rb (test_symlinks_not_resolved): fix system dependent test which has no meanings unless symlink is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/objspace.c (reachable_object_from_root_i):ko12013-12-152-1/+14
| | | | | | | | | | | | | reachable objects should not include categories and category_objects because it is noisy information. In fact, objects created after calling ObjectSpace.reachable_objects_from_root should not be included as a returning hash objects. Currently, mswin64 platform has a problem because of this behaviour. Should we trace new objects? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shell/filter.rb: [DOC] Fix typoa_matsuda2013-12-151-1/+1
| | | | | | | s/exection/execution/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/basic_specification.rb (class Gem): Revert r44213, itdrbrain2013-12-152-6/+1
| | | | | | | causes SystemStackError for bundler git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: reduce waitnobu2013-12-141-2/+2
| | | | | | | * test/ruby/envutil.rb (EnvUtil.diagnostic_reports): reduce watching interval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_process.rb: handshakenobu2013-12-141-7/+18
| | | | | | * test/ruby/test_process.rb: handshake by pipe instead of sleep. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Update to RDoc master 263a9e5. This improves thedrbrain2013-12-144-5/+16
| | | | | | | accessibility of the search box. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_thread.rb: timing issuesnobu2013-12-142-46/+67
| | | | | | | * test/ruby/test_thread.rb: get rid of timing issues and reduce sleep times. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_thread.rb: assert_operator for comparisonnobu2013-12-141-1/+1
| | | | | | | * test/ruby/test_thread.rb (test_priority): use assert_operator for comparison instead of assert_send. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_fiber.rb: remove corenobu2013-12-141-1/+4
| | | | | | | * test/ruby/test_fiber.rb (TestFiber#invoke_rec): remove core dump files by stack overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/basic_specification.rb: Update to RubyGems masterdrbrain2013-12-142-1/+6
| | | | | | | 9c718fe. Removes code duplication. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-15svn2013-12-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e