ruby-changes:32348
From: kazu <ko1@a...>
Date: Thu, 26 Dec 2013 01:05:27 +0900 (JST)
Subject: [ruby-changes:32348] kazu:r44427 (trunk): old ChangeLog and NEWS move to doc
kazu 2013-12-26 01:05:13 +0900 (Thu, 26 Dec 2013) New Revision: 44427 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44427 Log: old ChangeLog and NEWS move to doc * doc/NEWS-2.1.0: moved from NEWS * doc/ChangeLog-2.1.0: moved ChangeLog older than created ruby_2_0_0 branch * NEWS: NEWS for 2.2.0 that describes changes since 2.1.0 * ChangeLog: ChangeLog since created v2_1_0_rc1 tag (branch point of ruby_2_1 branch) Added files: trunk/doc/ChangeLog-2.1.0 trunk/doc/NEWS-2.1.0 Modified files: trunk/ChangeLog trunk/NEWS Index: doc/ChangeLog-2.1.0 =================================================================== --- doc/ChangeLog-2.1.0 (revision 0) +++ doc/ChangeLog-2.1.0 (revision 44427) @@ -0,0 +1,18060 @@ https://github.com/ruby/ruby/blob/trunk/doc/ChangeLog-2.1.0#L1 +Fri Dec 20 17:52:50 2013 Koichi Sasada <ko1@a...> + + * vm_method.c: check definition of + GLOBAL_METHOD_CACHE_SIZE and GLOBAL_METHOD_CACHE_MASK. + +Fri Dec 20 17:03:10 2013 Koichi Sasada <ko1@a...> + + * include/ruby/ruby.h: rename OBJ_WRITE and OBJ_WRITTEN into + 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. + +Fri Dec 20 16:01:35 2013 Koichi Sasada <ko1@a...> + + * include/ruby/ruby.h: add a comment for WB interfaces. + +Fri Dec 20 16:00:52 2013 Nobuyoshi Nakada <nobu@r...> + + * 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] + +Fri Dec 20 14:19:12 2013 NARUSE, Yui <naruse@r...> + + * configure.in (AC_ARG_WITH): use withval directly. + fix failure on FreeBSD. + http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20131217T070301Z.diff.html.gz + +Fri Dec 20 14:00:01 2013 Aman Gupta <ruby@t...> + + * 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 + +Fri Dec 20 07:07:35 2013 Eric Hodel <drbrain@s...> + + * lib/rubygems: Update to RubyGems master 03d6ae7. Changes include: + + * Fixed typos. + + * Relaxed Gem.ruby test for ruby packagers that do not use `ruby`. + + * test/rubygems: ditto. + +Thu Dec 19 14:03:04 2013 Koichi Sasada <ko1@a...> + + * gc.c (heap_get_freeobj): improve hot path performance. + + * 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. + +Thu Dec 19 12:05:17 2013 Eric Hodel <drbrain@s...> + + * lib/rubygems: Update to RubyGems master af60443. Changes include: + + * 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. + +Thu Dec 19 11:23:49 2013 Aman Gupta <ruby@t...> + + * vm_insnhelper.c (vm_call_iseq_setup_normal): simple for loop + condition optimization. this area shows up as a hotspot in VM + profiles. + +Thu Dec 19 10:50:13 2013 Koichi Sasada <ko1@a...> + + * gc.c (newobj_of): don't need to RBASIC_SET_CLASS() which includes WB + here because created obj is always YOUNG/INFANT. + +Thu Dec 19 10:48:37 2013 Koichi Sasada <ko1@a...> + + * benchmark/gc/gcbench.rb: check GC::OPTS availability + for not MRI 2.1.0. + +Thu Dec 19 03:10:30 2013 Aman Gupta <ruby@t...> + + * gc.c (heap_get_freeobj): remove redundant assignment. heap->freelist + is set after the while() loop already. + +Thu Dec 19 01:54:30 2013 Koichi Sasada <ko1@a...> + + * test/runner.rb: fix commit miss on r44278. + +Thu Dec 19 00:26:11 2013 Koichi Sasada <ko1@a...> + + * gc.c (garbage_collect_body): lazy_sweep setting should work + without USE_RGENGC. + +Wed Dec 18 23:31:04 2013 Koichi Sasada <ko1@a...> + + * gc.c (gc_profile_dump_major_reason): fix this function because major_reason + can be OR of multiple reasons. + + * gc.c (gc_profile_dump_on): ditto. + +Wed Dec 18 17:03:00 2013 Koichi Sasada <ko1@a...> + + * gc.c (gc_profile_record_get): should return an empty array + when profiling is active. + +Wed Dec 18 16:49:40 2013 Koichi Sasada <ko1@a...> + + * gc.c (gc_profile_clear, gc_profile_enable): remove rest_sweep(). + + * gc.c: check objspace->profile.current_record before inserting + profiling record by new macro gc_prof_enabled(). + +Wed Dec 18 14:32:06 2013 Koichi Sasada <ko1@a...> + + * vm_exec.h (VM_DEBUG_STACKOVERFLOW): added. + disable stack overflow check for every stack pushing as default. + + * vm_exec.c (vm_stack_overflow_for_insn): ditto. + +Wed Dec 18 10:00:22 2013 Eric Hodel <drbrain@s...> + + * lib/rubygems: Update to RubyGems master d8f12e2. This increases the + speed of `gem install --ignore-dependencies` which helps bundler + tests. + * test/rubygems: ditto. + +Wed Dec 18 09:00:17 2013 Koichi Sasada <ko1@a...> + + * test/ruby/test_gc.rb (test_expand_heap): allow +/-1 diff. + +Tue Dec 17 23:44:15 2013 Kazuki Tsujimoto <kazuki@c...> + + * test/ruby/test_io.rb: fix duplicated test name. + +Tue Dec 17 20:15:00 2013 Nobuyoshi Nakada <nobu@r...> + + * hash.c (rb_hash_reject): revert to deprecated behavior, with + warnings, due to compatibility for HashWithDifferentAccess. + [ruby-core:59154] [Bug #9223] + +Tue Dec 17 17:30:56 2013 Akinori MUSHA <knu@i...> + + * misc/ruby-electric.el: Import version 2.1.1 from + https://github.com/knu/ruby-electric.el. + + * ruby-electric-delete-backward-char: Enable support for number + prefix. + + * ruby-electric-curlies: Fix electric operation after an open + curly. + +Tue Dec 17 16:19:09 2013 Nobuyoshi Nakada <nobu@r...> + + * 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] + +Tue Dec 17 10:48:04 2013 Aman Gupta <ruby@t...> + + * 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. + +Tue Dec 17 05:18:17 2013 Eric Hodel <drbrain@s...> + + * lib/rubygems: Update to RubyGems master 1c5f4b3. Allows rubygems + repackagers to disable backward-compatible shared gem directory + behavior. + * test/rubygems: ditto. + +Tue Dec 17 05:14:35 2013 Eric Hodel <drbrain@s...> + + * NEWS (RDoc): Update version number so I don't have to change it + for the final release. + +Mon Dec 16 19:19:19 2013 Koichi Sasada <ko1@a...> + + * gc.c (rb_objspace_markable_object_p): should check special_const_p + first (by is_markable_object()). + +Mon Dec 16 19:12:54 2013 Koichi Sasada <ko1@a...> + + * ext/objspace/objspace.c (reachable_object_from_root_i): use + compare_by_identity hash to avoid hash modify problem + during iteration. + [Bug #9252] + + * ext/objspace/objspace.c (reachable_objects_from_root): ditto. + +Mon Dec 16 18:16:28 2013 Koichi Sasada <ko1@a...> + + * gc.c (gc_verify_internal_consistency): should not use + rb_objspace_each_objects() because it call rest_sweep(). + +Mon Dec 16 18:07:30 2013 Koichi Sasada <ko1@a...> + + * gc.c (rb_objspace_markable_object_p): fix last commit (build error). + +Mon Dec 16 18:04:28 2013 Koichi Sasada <ko1@a...> + + * gc.c (rb_objspace_markable_object_p): it should be live objects. + +Mon Dec 16 18:00:51 2013 Koichi Sasada <ko1@a...> + + * gc.c (rb_objspace_each_objects): should not clear dont_lazy_sweep + flag in nested case. + +Mon Dec 16 16:40:35 2013 Koichi Sasada <ko1@a...> + + * vm_method.c (rb_method_entry_make): fix WB miss. + Note that rb_method_entry_t::klass is not constified. + We may constify this field. + + * test/ruby/test_alias.rb: add a test. + +Mon Dec 16 14:14:22 2013 Koichi Sasada <ko1@a...> + + * gc.c: use gc_verify_internal_consistency() instead of + gc_check_before_marks_i() for check consistency + on RGENGC_CHECK_MODE >= 2. + +Mon Dec 16 14:01:48 2013 NARUSE, Yui <naruse@r...> + + * process.c (make_clock_result): add :second as a unit for + Process.clock_gettime. + +Mon Dec 16 13:10:54 2013 Koichi Sasada <ko1@a...> + + * gc.c: introduce GC.verify_internal_consistency method to verify GC + internal data structure. + + Now this method only checks generation (old/young) consistency. + +Mon Dec 16 11:49:26 2013 Aman Gupta <ruby@t...> + + * gc.c (gc_info_decode): Fix build errors when compiled with + RGENGC_ESTIMATE_OLDMALLOC=0 + * gc.c (objspace_malloc_increase): ditto + +Sun Dec 15 13:38:29 2013 Koichi Sasada <ko1@a...> + + * ext/objspace/objspace.c (reachable_object_from_root_i): + 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 behavior. Should we trace new objects? + +Sun Dec 15 07:09:28 2013 Eric Hodel <drbrain@s...> + + * lib/rdoc: Update to RDoc master 263a9e5. This improves the + accessibility of the search box. + +Sat Dec 14 17:39:00 2013 Nobuyoshi Nakada <nobu@r...> + + * vm_insnhelper.c (vm_callee_setup_arg_complex): count post + arguments as mandatory arguments. [ruby-core:57706] [Bug #8993] + + * vm_insnhelper.c (vm_yield_setup_block_args): ditto. + +Sat Dec 14 16:26:46 2013 Nobuyoshi Nakada <nobu@r...> + + * configure.in (rubylibprefix): replace exec_prefix as well as + bindir and libdir. a patch by kimuraw (Wataru Kimura) at + [ruby-dev:47852]. [Bug #9160] + +Sat Dec 14 14:42:53 2013 Nobuyoshi Nakada <nobu@r...> + + * lib/logger.rb (lock_shift_log): no need to rotate the log file + if it has been rotated by another process. based on the patch + by no6v (Nobuhiro IMAI) in [ruby-core:58620]. [Bug #9133] + +Sat Dec 14 13:01:45 2013 Nobuyoshi Nakada <nobu@r...> + + * proc.c (mnew_from_me): method by respond_to_missing? should be + owned by the original class. + +Sat Dec 14 11:55:31 2013 Nobuyoshi Nakada <nobu@r...> + + * lib/scanf.rb (IO#scanf): fix mistaken use of rescue modifier. + a patch by Mon_Ouie at [ruby-core:52813]. [Bug #7940] + +Sat Dec 14 11:44:52 2013 Nobuyoshi Nakada <nobu@r...> + + * util.c (ruby_qsort): fix potential stack overflow on a large + machine. based on the patch by Conrad Irwin <conrad.irwin AT + gmail.com> at [ruby-core:51816]. [Bug #7772] + +Sat Dec 14 11:25:56 2013 Nobuyoshi Nakada <nobu@r...> + + * object.c (rb_mod_const_defined): support nested class path as + well as const_get. [Feature #7414] + +Sat Dec 14 01:31:52 2013 Nobuyoshi Nakada <nobu@r...> + + * eval.c (rb_rescue2): reuse tags pushed for body proc to protect + rescue proc too. + +Sat Dec 14 01:15:51 2013 Masaya Tarui <tarui@r...> + + * gc.c (wmap_final_func): Bugfix. Should update *value to new pointer. + +Sat Dec 14 01:05:46 2013 Tanaka Akira <akr@f...> + + * ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because + it may be set before the body. + Reported by ko1 and mrkn. [ruby-core:59088] [Bug #9247] + + * lib/cgi/core.rb: Ditto. + + * lib/drb/ssl.rb: Ditto. + +Sat Dec 14 00:34:31 2013 Naohisa Goto <ngotogenome@g...> + + * internal.h (ruby_sized_xrealloc2): fix typo introduced in r44117, + which cause compile error on Solaris. + +Sat Dec 14 00:22:16 2013 Nobuyoshi Nakada <nobu@r...> + + * thread.c: (exec_recursive): use rb_catch_protect() instead of + rb_catch_obj() and PUSH_TAG(), and reduce pushing tags and + machine stack usage. + +Sat Dec 14 00:18:08 2013 Nobuyoshi Nakada <nobu@r...> + + * proc.c (mnew_from_me): achieve the original defined_class from + prepended iclass, to fix inherited owner. + + * proc.c (method_owner): return the defined class, but not the + class which the method object is created from. + +Fri Dec 13 22:29:21 2013 Nobuyoshi Nakada <nobu@r...> + + * proc.c (method_owner): return the class where alias is defined, not + the class original method is defined. + + * vm_method.c (rb_method_entry_make, rb_alias): store the originally + defined class in me. [Bug #7993] [Bug #7842] [Bug #9236] + + * vm_method.c (rb_method_entry_get_without_cache): cache included + module but not iclass. + +Fri Dec 13 16:27:17 2013 Aman Gupta <ruby@t...> + + * gc.c (gc_info_decode): Use :major_by=>:nofree as fallback reason + when other trigger conditions are present. + +Fri Dec 13 13:25:30 2013 Koichi Sasada <ko1@a...> + + * error.c: add Exception#backtrace_locations. + Now, there are no setter and independent from Exception#backtrace. + [Feature #8960] + + * eval.c (setup_exception): set backtrace locations for `bt_location' + special attribute. + + * vm_backtrace.c (rb_backtrace_to_location_ary): added. + + * internal.h: ditto. + + * test/ruby/test_backtrace.rb: add a test for + Exception#backtrace_locations. + +Fri Dec 13 12:01:07 2013 Koichi Sasada <ko1@a...> + + * gc.c (garbage_collect_body): use rb_bug() and explicit error message + instead of using assert(). + [Bug #9222] + +Fri Dec 13 11:52:41 2013 Koichi Sasada <ko1@a...> + + * array.c: fix comment to remove the word "shady". + + * variable.c: ditto. + +Fri Dec 13 11:33:55 2013 Koichi Sasada <ko1@a...> + + * gc.c: rename *shady* func/macros. + * RVALUE_RAW_SHADY() -> RVALUE_WB_PROTECTED_RAW() + * RVALUE_SHADY() -> RVALUE_RAW_SHADY() + * rgengc_check_shady() -> rgengc_check_relation(). + And fix some messages using "shady" to "non-WB-protected". + +Fri Dec 13 10:04:23 2013 Eric Hodel <drbrain@s...> + + * lib/rubygems/request_set/lockfile.rb: Import RubyGems master a8d0669 + with a 1.8.7 compatibility fix. + * test/rubygems/test_gem_request_set_lockfile.rb: ditto. + +Fri Dec 13 09:50:49 2013 Eric Hodel <drbrain@s...> + + * lib/rubygems: Update to RubyGems master ddac51f. Changes: + + * Allow override for the shared gem installation directory for + rubygems packagers. + + * Lock gem cache files for read and write to improve thread safety. + + * Use io/console when available. + + * Minor cleanup. + + * test/rubygems: ditto. + +Fri Dec 13 08:15:31 2013 Aman Gupta <ruby@t...> + + * class.c (include_modules_at): use RCLASS_M_TBL_WRAPPER for + equality checks. this avoids an unnecessary deference inside a tight + loop, fixing a performance regression from r43973. + * object.c (rb_obj_is_kind_of): ditto. + * object.c (rb_class_inherited_p): ditto. + +Wed Dec 13 02:00:00 2013 Kenta Murata <mrkn@m...> + + * ext/bigdecimal/bigdecimal.c (VpSetPTR): fix for limitation of the resulting + precision. + [ruby-core:50269] [Bug #7458] + + * test/bigdecimal/test_bigdecimal.rb (test_limit): add tests for the above + change. + +Wed Dec 13 01:56:00 2013 Kenta Murata <mrkn@m...> + + * ext/bigdecimal/bigdecimal.c (VpAddAbs): put out a conditional branch from + the inside of while-loop. + + * ext/bigdecimal/bigdecimal.c (VpSubAbs): ditto. + +Wed Dec 13 01:53:00 2013 Kenta Murata <mrkn@m...> + + * ext/bigdecimal/bigdecimal.c (VPrint): be a static function, support another + dump formats, and add more information of the given bigdecimal. + + * ext/bigdecimal/bigdecimal.h: ditto. + +Wed Dec 11 16:45:58 2013 Koichi Sasada <ko1@a...> + + * eval.c (rb_raise_jump): call c_return hook immediately after + popping `raise' frame. + Patches by deivid (David Rodriguez). [Bug #8886] + + * test/ruby/test_settracefunc.rb: catch up this fix. + +Wed Dec 11 16:01:26 2013 Nobuyoshi Nakada <nobu@r...> + + * hash.c (rb_hash_reject): return a plain hash, without copying + the class, default value, instance variables, and taintedness. + they had been copied just by accident. + [ruby-core:59045] [Bug #9223] + +Wed Dec 11 15:36:15 2013 Aman Gupta <ruby@t...> + + * compile.c (iseq_specialized_instruction): emit opt_aset instruction + to optimize Hash#[]= and Array#[]= when called with Fixnum argument. + [Bug #9227] [ruby-core:58956] + +Wed Dec 11 04:54:03 2013 Eric Hodel <drbrain@s...> + + * lib/rubygems: Update to RubyGems master ec8ed22. Notable changes + include: + + * Renamed extension_install_dir to extension_dir (backwards + compatible). + + * Fixed creation of gem.deps.rb.lock file from + TestGemRequestSet#test_install_from_gemdeps_install_dir + + * Fixed a typo and some documentation. + + * test/rubygems: ditto. + +Wed Dec 11 03:18:08 2013 Marc-Andre Lafortune <ruby-core@m...> + + * insns.def: Fix optimization bug of Float#/ [Bug #9238] + +Tue Dec 10 23:58:30 2013 Nobuyoshi Nakada <nobu@r...> + + * ext/date/date_strptime.c (date__strptime_internal): unset + case-insensitive flag for [:alpha:], which already implies both + cases, to get rid of backtrack explosion. [ruby-core:58984] + [Bug #9221] + +Tue Dec 10 23:44:42 2013 Nobuyoshi Nakada <nobu@r...> + + * array.c (rb_ary_hash): add salt to differentiate false and empty + array. [ruby-core:58993] [Bug #9231] + + * hash.c (rb_any_hash, rb_hash_hash): ditto. + +Tue Dec 10 18:16:09 2013 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * man/ruby.1: [DOC] Use www.ruby-toolbox.com instead of RAA. + +Tue Dec 10 17:21:30 2013 Nobuyoshi Nakada <nobu@r...> + + * gc.c (wmap_finalize, wmap_aset_update): use simple malloced array + instead of T_ARRAY, to reduce GC pressure. + +Tue Dec 10 15:56:48 2013 Aman Gupta <ruby@t...> + + * gc.c (reflist_add): revert changes from r44109. it is unnecessary + after r44113 + * gc.c (allrefs_i): fix whitespace + * gc.c (allrefs_roots_i): fix whitespace + +Tue Dec 10 15:46:03 2013 Koichi Sasada <ko1@a...> + + * gc.c (allrefs_add): push obj only if allrefs table doesn't have + obj. + + * gc.c (allrefs_roots_i): ditto. + +Tue Dec 10 15:28:10 2013 Koichi Sasada <ko1@a...> + + * gc.c (RGENGC_CHECK_MODE): separate checkers to different modes. + * 2: enable generational bits check (for debugging) + * 3: enable livness check + * 4: show all references + +Tue Dec 10 15:15:37 2013 Koichi Sasada <ko1@a...> + + * gc.c (gc_marks_check): disable GC during checking and + restore malloc_increase info. + +Tue Dec 10 14:41:53 2013 Aman Gupta <ruby@t...> + + * gc.c (reflist_add): return 0 if reference already exists + * gc.c (allrefs_add): return 1 on newly added references + * gc.c (allrefs_i): follow references to construct complete object + graph. before this patch, RGENGC_CHECK could fail to verify some WB + miss issues. [Bug #9226] [ruby-core:58959] + +Tue Dec 10 11:20:56 2013 Aman Gupta <ruby@t...> + + * ext/objspace/objspace_dump.c (dump_object): include fstring flag on + strings. include gc flags (old, remembered, wb_protected) on all objects. + * ext/objspace/objspace_dump.c (Init_objspace_dump): initialize lazy + IDs before first use. + * gc.c (rb_obj_gc_flags): new function to retrieve object flags + * internal.h (RB_OBJ_GC_FLAGS_MAX): maximum flags allowed for one obj + * test/objspace/test_objspace.rb (test_dump_flags): test for above + * test/objspace/test_objspace.rb (test_trace_object_allocations): + resolve name before dump (for rb_class_path_cached) + +Tue Dec 10 07:48:29 2013 Aman Gupta <ruby@t...> + + * vm_method.c (rb_clear_method_cache_by_class): fire + ruby::method-cache-clear probe on global or klass-level method cache + clear [Bug #9190] + * probes.d (provider ruby): new dtrace probe + * doc/dtrace_probes.rdoc: docs for new probe + (... truncated) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/