From 10/26/2013 to 11/01/2013


10:15 PM Revision 43512: * 2013-11-02
10:14 PM Revision 43511: * lib/logger.rb: Inter-process locking for log rotation
Current implementation fails log rotation on multi process env.
by sonots <>
naruse (Yui NARUSE)
02:27 PM Revision 43510: fix typo
tarui (Masaya Tarui)
02:24 PM Revision 43509: gc.c: mark live objects only
* gc.c (wmap_mark_map): mark live objects only, but delete zombies.
[ruby-dev:47787] [Bug #9069]
nobu (Nobuyoshi Nakada)
01:47 PM Revision 43508: * gc.c (struct heap_page, gc_page_sweep, gc_sweep): Refactoring for
performance. Add before_sweep condition to heap_page structure.
* gc.c (rb_gc_force_recycle): Use before_sweep memb...
tarui (Masaya Tarui)
01:46 PM Revision 43507: test_m17n.rb: fix encoding
* test/ruby/test_m17n.rb (test_scrub): fix expected encoding, for
non-UTF-8 environment.
nobu (Nobuyoshi Nakada)
01:22 PM Revision 43506: * gc.c (make_deferred): Refactoring. Collect codes which should be
* gc.c (make_io_deferred, obj_free, rb_objspace_call_finalizer,
gc_page_sweep): Correspond to the above.
tarui (Masaya Tarui)
12:49 PM Revision 43505: * gc.c (typedef struct rb_objspace): Refactoring. Move some members
into profile member.
* gc.c (newobj_of): Correspond to the above.
* gc.c (finalize_list): Ditto.
* gc.c (objspa...
tarui (Masaya Tarui)
12:12 PM Revision 43504: transcode.c: fix segv in String.encode!
* transcode.c (str_transcode0): fix segv in String.encode!. now
rb_str_scrub() can return nil.
nobu (Nobuyoshi Nakada)
11:53 AM Revision 43503: string.c: fix typo
* string.c (rb_str_scrub): fix typo, should yield invalid byte
sequence to be scrubbed. reported by znz at IRC.
nobu (Nobuyoshi Nakada)
08:25 AM Revision 43502: gc.c: zombie is not alive
* gc.c (is_live_object): finalizer may not run because of lazy-sweep.
[ruby-dev:47786] [Bug #9069]
nobu (Nobuyoshi Nakada)
08:00 AM Revision 43501: test_m17n.rb: nil replacement
* test/ruby/test_m17n.rb (test_scrub, test_scrub_bang): now explicit
nil is allowed as replacement.
nobu (Nobuyoshi Nakada)
07:55 AM Revision 43500: string.c: export rb_str_scrub
* string.c (rb_str_scrub): export with fixed length arguments, and
allow nil as replacement string instead of omitt...
nobu (Nobuyoshi Nakada)
07:37 AM Revision 43499: load.c: suppress warning
* load.c (rb_load_internal): split to suppress false "clobbered"
warning by gcc 4.4.5.
nobu (Nobuyoshi Nakada)
07:37 AM Revision 43498: load.c: use local variable
* load.c (rb_load_internal): use local variable th instead of
GET_THREAD() for each time.
nobu (Nobuyoshi Nakada)


09:27 PM Revision 43497: * thread.c (rb_mutex_struct): reduce rb_mutex_t size by 8 bytes
on 64bit platform. Patch by Eric Wong. [Feature #9068][ruby-core:58114] kosaki (Motohiro KOSAKI)
04:09 PM Revision 43496: * 2013-11-01
04:09 PM Revision 43495: * benchmark/gc/gcbench.rb: print HWM (high water mark) if possible.
ko1 (Koichi Sasada)
12:50 PM Revision 43480: * lib/rexml/parsers/streamparser.rb: Add dependency file require.
[Bug #9062] [ruby-dev:47779]
Reported by Ippei Obayashi. Thanks!!!
kou (Kouhei Sutou)
05:26 AM Revision 43479: * vm_method.c (rb_method_entry_make): fix to pass an ISeq value.
OBJ_WRITTEN() accepts only VALUE. ko1 (Koichi Sasada)
04:13 AM Revision 43478: * 2013-10-31
04:13 AM Revision 43477: Record dependency on Emacs 24.3 and update commentary.
knu (Akinori MUSHA)


12:04 PM Revision 43476: fix typos
10:11 AM Revision 43475: misc/ruby-additional.el: Remove functions implemented in Emacs 24.3.
* misc/ruby-additional.el (ruby-brace-to-do-end)
(ruby-do-end-to-brace, ruby-toggle-block): Remove functions that
knu (Akinori MUSHA)
03:44 AM Revision 43474: Makefile.sub: add missing config variables
* win32/Makefile.sub (config.status): add missing variables,
nobu (Nobuyoshi Nakada)
03:22 AM Revision 43473: * time.c (v2w): Normalize a rational value to an integer if possible.
[ruby-core:58070] [Bug #9059] reported by Isaac Schwabacher. akr (Akira Tanaka)
03:11 AM Revision 43472: * array.c (rb_ary_uniq_bang): use rb_ary_modify_check() instead of
rb_ary_modify() because the array will be unshared soon. glass


06:25 PM Revision 43471: * ext/psych/lib/psych/visitors/yaml_tree.rb: make less garbage when
testing if a string is binary. tenderlove
06:10 PM Revision 43470: * 2013-10-30
06:10 PM Revision 43469: * ext/psych/lib/psych/visitors/yaml_tree.rb: string subclasses should
not be considered to be binary. Fixes Psych / GH 166
* test/psych/...
02:08 PM Revision 43468: * array.c (rb_ary_zip): some refactoring.
01:14 PM Revision 43467: * array.c (rb_ary_uniq_bang): use st_foreach() instead of for loop.
11:16 AM Revision 43466: * add RUBY_TYPED_FREE_IMMEDIATELY to data types which only use
safe functions during garbage collection such as xfree().
On default, T_DATA objects are freed at same points as fi...
ko1 (Koichi Sasada)
10:49 AM Revision 43465: * include/ruby/ruby.h: fix typo (FL_WB_PROTECT -> FL_WB_PROTECTED).
ko1 (Koichi Sasada)
09:47 AM Revision 43464: * vm_trace.c (tp_free): remvoed because empty free function.
Use RUBY_TYPED_NEVER_FREE instead. ko1 (Koichi Sasada)
09:42 AM Revision 43463: * include/ruby/ruby.h: introduce new flags for T_TYPEDDATA.
* RUBY_TYPED_FREE_IMMEDIATELY: free the data given by DATA_PTR()
with dfree function immediately. Otherwise (def...
ko1 (Koichi Sasada)
07:49 AM Revision 43462: * gc.c (vm_malloc_increase): decrease it more carefully.
ko1 (Koichi Sasada)
07:25 AM Revision 43461: * gc.c (heap_page_resurrect): return a page in tomb heap even if
freelist is NULL. ko1 (Koichi Sasada)
06:46 AM Revision 43460: ruby_atomic.h: ATOMIC_SIZE_CAS
* ruby_atomic.h (ATOMIC_SIZE_CAS): new macro, compare and swap size_t. nobu (Nobuyoshi Nakada)
05:31 AM Revision 43459: fix typos
03:09 AM Revision 43458: * ext/readline/readline.c (readline_getc): Consider
NULL as input. akr (Akira Tanaka)
02:11 AM Revision 43457: * gc.c (gc_profile_total_time): fix off-by-one error in GC::Profiler.total_time.
* test/ruby/test_gc.rb (class TestGc): test for above. tmm1 (Aman Gupta)
12:52 AM Revision 43456: * 2013-10-29
12:52 AM Revision 43455: * insns.def, vm.c, vm_insnhelper.c, vm_insnhelper.h, vm_method.c: split
ruby_vm_global_state_version into two separate counters - one for the
global method state and one for the global co...
charliesome (Charlie Somerville)


02:26 PM Revision 43454: * test/readline/test_readline.rb (teardown): Clear Readline.input and
Readline.output. akr (Akira Tanaka)
12:38 PM Revision 43453: * properties.
nobu (Nobuyoshi Nakada)
12:36 PM Revision 43452: * ext/-test-/file/depend, ext/-test-/postponed_job/depend,
ext/-test-/tracepoint/depend: New files for dependencies. akr (Akira Tanaka)
06:32 AM Revision 43451: openssl: work around of dependency
* ext/openssl/depend (ossl.o): work around of dependency of
thread_native.h, which depends on headers by THREAD_MOD...
nobu (Nobuyoshi Nakada)
06:32 AM Revision 43450: * goruby.c (init_golf): append suffix.
nobu (Nobuyoshi Nakada)
05:57 AM Revision 43449: load.c: share feature names
* load.c (ruby_init_ext): share feature names between frame name and
provided features.
nobu (Nobuyoshi Nakada)
05:45 AM Revision 43448: * misc/ruby-electric.el: Import ruby-electric.el 2.1 from
* Hitting the newline-and-indent key within a comment fires
knu (Akinori MUSHA)
04:17 AM Revision 43447: error.c: remove NameError#to_s
* error.c (name_err_to_s): remove no longer needed overriding, since
r30455 which made exc_to_s almost same. Fixes...
nobu (Nobuyoshi Nakada)
04:11 AM Revision 43446: test_exception.rb: missing test
* test/ruby/test_exception.rb (test_to_s): missing test for r30455. nobu (Nobuyoshi Nakada)
03:43 AM Revision 43445: *, ext/objspace/depend, ext/coverage/depend,
ext/-test-/debug/depend, ext/date/depend: Update dependencies. akr (Akira Tanaka)
12:31 AM Revision 43444: * vm.c: vm_clear_all_cache is not necessary now we use a 64 bit counter
for global state version.
* vm_insnhelper.h: ruby_vm_global_state_version overflow is unnecessary
charliesome (Charlie Somerville)


10:48 PM Revision 43443: * vm_backtrace.c (rb_profile_frame_classpath): do not use rb_inspect
directly, since it might have a custom implementation or show ivars. tmm1 (Aman Gupta)
07:17 PM Revision 43442: * vm_backtrace.c (rb_profile_frame_classpath): handle singleton
methods defined directly on an object. tmm1 (Aman Gupta)
03:52 PM Revision 43441: * 2013-10-28
03:52 PM Revision 43440: struct.c: fix warning message
* struct.c (new_struct): fix warning message, class name and encoding. nobu (Nobuyoshi Nakada)
12:04 PM Revision 43439: * ext/readline/readline.c: Include ruby/thread.h for
(readline_rl_instream, readline_rl_outstream): Record FILE
structures allocated by t...
akr (Akira Tanaka)
01:38 AM Revision 43438: process.c: Process::Tms
* process.c (Init_process): rename Struct::Tms as Process::Tms. keep
the former defined for the backward compatibi...
nobu (Nobuyoshi Nakada)
01:36 AM Revision 43437: * 2013-10-27
01:36 AM Revision 43436: envutil.rb: fix disabling gems in assert_separately
* test/ruby/envutil.rb (assert_separately): fix the position of
--disable=gems option.
nobu (Nobuyoshi Nakada)


10:42 AM Revision 43434: * gc.c: catch up recent changes to compile on GC_DEBUG,
RGENGC_CHECK_MODE. ktsj (Kazuki Tsujimoto)
10:08 AM Revision 43433: range.c: modify check
* range.c (range_initialize_copy): disallow to modify after
nobu (Nobuyoshi Nakada)
10:07 AM Revision 43432: envutil.rb: disable gems in child process
* test/ruby/envutil.rb (assert_separately): disable gems by default to
get rid of loading test-unit gem, which does...
nobu (Nobuyoshi Nakada)
10:07 AM Revision 43431: signal.c: adjust indent
* signal.c (ruby_atomic_compare_and_swap): adjust indent. nobu (Nobuyoshi Nakada)
08:49 AM Revision 43430: * lib/open-uri.rb (meta_add_field): : Re-implemented.
[ruby-core:58017] [Bug #9051] patch by Eamonn Webster. akr (Akira Tanaka)
05:35 AM Revision 43428: * gc.c (gc_profile_dump_on): use "Page" terminology.
ko1 (Koichi Sasada)
04:31 AM Revision 43427: * gc.c (gc_sweep, gc_heap_lazy_sweep): fix measurement code.
We only need one sweep time measurement without lazy sweep. ko1 (Koichi Sasada)
03:04 AM Revision 43426: * addr2line.c: Include ELF header after system headers (especially
sys/types.h) to avoid compilation failure,
"usr/include/sh3/elf_machdep.h:4:2: error: #error Define _BYTE_ORDER!",
akr (Akira Tanaka)
02:46 AM Revision 43425: * gc.c: tuning parameters.
* gc.c (GC_MALLOC_LIMIT): change default value to 16MB.
* gc.c (GC_MALLOC_LIMIT_GROWTH_FACTOR): change default value ...
ko1 (Koichi Sasada)
02:34 AM Revision 43424: * gc.c (vm_malloc_increase): do gc_rest_sweep() before GC.
gc_rest_sweep() can reduce malloc_increase, so try it before GC.
Otherwise, malloc_increase can be less than malloc...
ko1 (Koichi Sasada)

Also available in: Atom