summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-20* include/ruby/ruby.h: rename OBJ_WRITE and OBJ_WRITTEN intoko1
RB_OBJ_WRITE and RB_OBJ_WRITTEN. * array.c, class.c, compile.c, hash.c, internal.h, iseq.c, proc.c, process.c, re.c, string.c, variable.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_insnhelper.h, vm_method.c: catch up this change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-20* include/ruby/ruby.h: add a comment for WB interfaces.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-20configure.in: use RUBY_APPEND_OPTIONSnobu
* configure.in: DLDFLAGS is defined in --with-opt-dir handler, so ${DLDFLAGS=} does not work now. use RUBY_APPEND_OPTIONS instead. [ruby-dev:47855] [Bug #9256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-20configure.in: remove options from commentsnobu
* configure.in (RUBY_APPEND_OPTION, RUBY_APPEND_OPTIONS), (RUBY_PREPEND_OPTION, RUBY_PREPEND_OPTIONS): remove option lists, which can be multiple lines, from generated comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-20* configure.in (AC_ARG_WITH): use withval directly.naruse
fix failure on FreeBSD. http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20131217T070301Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-20ruby.h: swap iv_index_tbl and super for struct RClasstmm1
* include/ruby/ruby.h (struct RClass): add super, remove iv_index_tbl. since RCLASS_SUPER() is commonly used inside while loops, we move it back inside struct RClass to improve cache hits. this provides a small improvement (1%) in hotspots like rb_obj_is_kind_of() * internal.h (struct rb_classext_struct): remove super, add iv_index_table * internal.h (RCLASS_SUPER): update for new location * internal.h (RCLASS_SET_SUPER): ditto * internal.h (RCLASS_IV_INDEX_TBL): ditto * object.c (rb_class_get_superclass): ditto * include/ruby/backward/classext.h (RCLASS_SUPER): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-20Fix typo in testsa_matsuda
* test/ruby/test_proc.rb: s/overriden/overridden/ * test/ruby/test_refinement.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19vm_dump.c: improve wording of apple crashlog messagestmm1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19* 2013-12-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19* lib/rubygems: Update to RubyGems master 03d6ae7. Changes include:drbrain
* Fixed typos. * Relaxed Gem.ruby test for ruby packagers that do not use `ruby`. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19* lib/rexml/entity.rb: [DOC] Fix typoa_matsuda
s/matchs/matches/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19fix typonaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19* gc.c (heap_get_freeobj): improve hot path performance.ko1
* gc.c (heap_get_freeobj_from_next_freepage): replace with heap_get_freepage(). It returns freeobj instead of freepage. This is not on hot path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19* lib/rubygems: Update to RubyGems master af60443. Changes include:drbrain
* Improved speed of `gem install --ignore-dependencies`. * Open read-write for exclusive flock. [ruby-trunk - Bug #9257] * Remove specification before install to prevent infinite loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19vm_insnhelper.c: optimize for looptmm1
* vm_insnhelper.c (vm_call_iseq_setup_normal): simple for loop condition optimization. this area shows up as a hotspot in VM profiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19* gc.c (newobj_of): don't need to RBASIC_SET_CLASS() which includes WBko1
here because created obj is always YOUNG/INFANT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-19* benchmark/gc/gcbench.rb: check GC::OPTS availabilityko1
for not MRI 2.1.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18gc.c: remove redundant freelist assignmenttmm1
* gc.c (heap_get_freeobj): remove redundant assignment. heap->freelist is set after the while() loop already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18* test/runner.rb: fix commit miss on r44278.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18* 2013-12-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18* gc.c (garbage_collect_body): lazy_sweep setting should workko1
without USE_RGENGC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18* gc.c (gc_profile_dump_major_reason): fix this function because major_reasonko1
can be OR of multiple reasons. * gc.c (gc_profile_dump_on): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18* gc.c (gc_profile_record_get): should return an empty arrayko1
when profiling is active. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18* gc.c (gc_profile_clear, gc_profile_enable): remove rest_sweep().ko1
* gc.c: check objspace->profile.current_record before inserting profiling record by new macro gc_prof_enabled(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18* vm_exec.h (VM_DEBUG_STACKOVERFLOW): added.ko1
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
2013-12-18test_gc.rb: fix syntax errornobu
* 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
2013-12-18test_gc.rb: refine assertionnobu
* 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
2013-12-18test_io.rb: duplicated testnobu
* 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
2013-12-18* lib/test/unit/assertions.rb: [DOC] Fix typoa_matsuda
s/maye be/may be/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18* lib/rubygems: Update to RubyGems master d8f12e2. This increases thedrbrain
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-18* 2013-12-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-18* test/ruby/test_gc.rb (test_expand_heap): allow +/-1 diff.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-17* test/ruby/test_io.rb: fix duplicated test name.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-17 * .gitignore: ignored *.old files.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-17* lib/e2mmap.rb: Fix typo in an error messagea_matsuda
s/registerd/registered/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-17* ext/objspace/object_tracing.c: Fix typo in a variable namea_matsuda
s/registerd/registered/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-17hash.c: revertnobu
* 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
2013-12-17hash.c: add warningsnobu
* 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
2013-12-17misc/ruby-electric.el: Import version 2.1.1.knu
* 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
2013-12-17vm_trace.c: isolate exceptionsnobu
* 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
2013-12-17configure.in: add $CPPFLAGSnobu
* 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
2013-12-17configure.in: use $DTRACEnobu
* 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
2013-12-17configure.in: move opt-dir optionnobu
* 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
2013-12-17gc.c: prototypenobu
* 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
2013-12-17Makefile.in, configure.in: cppflagsnobu
* 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
2013-12-17configure.in: build probes with systemtap's dtrace wrappertmm1
* 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
2013-12-16* lib/rubygems: Update to RubyGems master 1c5f4b3. Allows rubygemsdrbrain
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-16* 2013-12-17svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-16* NEWS (RDoc): Update version number so I don't have to change itdrbrain
for the final release. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-16hash.c: typonobu
* 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