From 10/25/2013 to 10/31/2013


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)


09:37 PM Revision 43423: * gc.c (gc_before_heap_sweep): Restructure code to mean clearly.
heap->freelist is connected to end of list. tarui (Masaya Tarui)
07:09 PM Revision 43422: * 2013-10-26
07:09 PM Revision 43421: * gc.c (gc_before_heap_sweep): fix freelist management.
After rb_gc_force_recycle() for a object blonging to heap->freelist,
`heap->using_page->freelist' is not null.
ko1 (Koichi Sasada)
06:57 AM Revision 43420: range.c: fix int and VALUE
* range.c (SET_EXCL): set boolean always.
* range.c (range_init): fix int flag and boolean VALUE.
nobu (Nobuyoshi Nakada)
05:18 AM Revision 43419: range.c: setter macros
* range.c (RANGE_SET_{BEG,END,EXCL}): add setter macros which wrap
RSTRUCT_SET() and index.
nobu (Nobuyoshi Nakada)

Also available in: Atom