aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* proc.c: make method by define_method publicnobu2013-12-241-0/+10
| | | | | | | | | | | * proc.c (rb_mod_define_method): consider visibility only if self in the caller is same as the receiver, otherwise make public as well as old behavior. [ruby-core:57747] [Bug #9005] [ruby-core:58497] [Bug #9141] * vm.c (rb_vm_cref_in_context): return ruby level cref if self is same. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: add a refer to URL.ko12013-12-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: add a document about RGenGC.ko12013-12-241-0/+8
| | | | | | | | | | Reviewed by havenwood. [misc #8962] * README.EXT.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RARRAY_ASET): try to avoid compiler warning.ko12013-12-241-0/+5
| | | | | | | | [Bug #9287] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (setup): should not callusa2013-12-231-0/+6
| | | | | | | | Process.groups for Windows. get rid of many errors introduced by r44364. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_fileutils.rb: tests for chownnobu2013-12-231-0/+9
| | | | | | | | | | * test/fileutils/fileasserts.rb (assert_ownership_group): new assertion for group ownership. * test/fileutils/test_fileutils.rb (test_chown{,_verbose,_noop}): based on the patch by vajrasky (Vajrasky Kok) at [ruby-core:59281]. [Feature #9286] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: reduce warningnobu2013-12-231-0/+5
| | | | | | | * hash.c (HAS_EXTRA_STATES): warn extra states only when something differ. [ruby-core:59254] [Bug #9275] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Have to_h raise on elements that are not key-value pairs [#9239]marcandre2013-12-231-0/+7
| | | | | | * enum.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc: [DOC] Added example for underscorezzak2013-12-221-0/+8
| | | | | | | | | | conventions in method names. Also added doc to clarify encoding character set support for Ruby programs and elaborated on defining predicate and bang methods. Based on a patch by @gaurish [Fixes GH-477] https://github.com/ruby/ruby/pull/477 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/ChangeLog-1.9.3: [DOC] Fix typos by @dvsureshzzak2013-12-221-0/+8
| | | | | | | | | | [Fixes GH-485] https://github.com/ruby/ruby/pull/485 * ext/openssl/ossl_config.c: ditto * lib/rss/utils.rb, lib/time.rb: ditto * test/ruby/envutil.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss from r44346zzak2013-12-221-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_ext_builder.rb: Fix warning due to ambiguousdrbrain2013-12-221-0/+5
| | | | | | | expression. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/commands/install_command.rb: Restore gem installdrbrain2013-12-221-0/+7
| | | | | | | | | --ignore-dependencies for remote gems * test/rubygems/test_gem_commands_install_command.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: Set RDoc to release version.drbrain2013-12-221-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb: Set RubyGems to release version.drbrain2013-12-221-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb (module Gem): Fix comment fordrbrain2013-12-221-0/+5
| | | | | | | Gem::load_path_insert_index. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_gc_set_params): don't show obsolete warnings forko12013-12-211-0/+7
| | | | | | | | | | RUBY_FREE_MIN/RUBY_HEAP_MIN_SLOTS if RUBY_GC_HEAP_FREE_SLOTS/RUBY_GC_HEAP_INIT_SLOTS are given. [Bug #9276] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: destination path onlynobu2013-12-211-0/+6
| | | | | | | | * file.c: remove unnecessary the source path from EEXIST error messages and show the destination path only. [ruby-core:59202] [Feature #9263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* resolv.rb: no encodingsnobu2013-12-211-0/+7
| | | | | | | | * lib/resolv.rb (Resolv::Hosts#lazy_initialize): should not consider encodings in hosts file. [ruby-core:59239] [Bug #9273] * lib/resolv.rb (Resolv::Config.parse_resolv_conf): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: replace RUBY_PATCHLEVEL_STR in version.h tousa2013-12-201-0/+5
| | | | | | | show users that this ruby is a preview/rc version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (fake.rb): fixed wrong RUBY_PLATFORM, to correctlyusa2013-12-201-0/+6
| | | | | | | | install win32.h. [ruby-core:58801][Bug #9199] reported by arton. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c: check definition ofko12013-12-201-0/+5
| | | | | | | | GLOBAL_METHOD_CACHE_SIZE and GLOBAL_METHOD_CACHE_MASK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: rename OBJ_WRITE and OBJ_WRITTEN intoko12013-12-201-0/+10
| | | | | | | | | | | | 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
* * include/ruby/ruby.h: add a comment for WB interfaces.ko12013-12-201-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: use RUBY_APPEND_OPTIONSnobu2013-12-201-0/+6
| | | | | | | | * 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
* * configure.in (AC_ARG_WITH): use withval directly.naruse2013-12-201-0/+6
| | | | | | | 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
* ruby.h: swap iv_index_tbl and super for struct RClasstmm12013-12-201-0/+14
| | | | | | | | | | | | | | | | * 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
* * lib/rubygems: Update to RubyGems master 03d6ae7. Changes include:drbrain2013-12-191-0/+10
| | | | | | | | | | | * 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
* * gc.c (heap_get_freeobj): improve hot path performance.ko12013-12-191-0/+8
| | | | | | | | | | * 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
* * lib/rubygems: Update to RubyGems master af60443. Changes include:drbrain2013-12-191-0/+10
| | | | | | | | | | | * 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
* vm_insnhelper.c: optimize for looptmm12013-12-191-0/+6
| | | | | | | | * 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
* * gc.c (newobj_of): don't need to RBASIC_SET_CLASS() which includes WBko12013-12-191-0/+5
| | | | | | | | 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
* * benchmark/gc/gcbench.rb: check GC::OPTS availabilityko12013-12-191-0/+5
| | | | | | | | for not MRI 2.1.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: remove redundant freelist assignmenttmm12013-12-181-0/+5
| | | | | | | * 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
* * test/runner.rb: fix commit miss on r44278.ko12013-12-181-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect_body): lazy_sweep setting should workko12013-12-181-0/+5
| | | | | | | | without USE_RGENGC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_profile_dump_major_reason): fix this function because major_reasonko12013-12-181-0/+7
| | | | | | | | | 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
* * gc.c (gc_profile_record_get): should return an empty arrayko12013-12-181-0/+5
| | | | | | | | when profiling is active. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_profile_clear, gc_profile_enable): remove rest_sweep().ko12013-12-181-0/+7
| | | | | | | | | * 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
* * vm_exec.h (VM_DEBUG_STACKOVERFLOW): added.ko12013-12-181-0/+7
| | | | | | | | | 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
* * lib/rubygems: Update to RubyGems master d8f12e2. This increases thedrbrain2013-12-181-0/+7
| | | | | | | | | 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
* * test/ruby/test_gc.rb (test_expand_heap): allow +/-1 diff.ko12013-12-181-0/+4
| | | | 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-171-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: revertnobu2013-12-171-0/+6
| | | | | | | | * 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
* misc/ruby-electric.el: Import version 2.1.1.knu2013-12-171-0/+11
| | | | | | | | | | | * 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-171-0/+6
| | | | | | | | * 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: build probes with systemtap's dtrace wrappertmm12013-12-171-0/+7
| | | | | | | | | * 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-161-0/+7
| | | | | | | | | 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
* * NEWS (RDoc): Update version number so I don't have to change itdrbrain2013-12-161-0/+5
| | | | | | | for the final release. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e