From 12/11/2012 to 12/17/2012


10:08 PM Revision 38432: fix ChangeLog comment
ko1 (Koichi Sasada)
10:04 PM Revision 38431: * method.h: remove `VM_METHOD_TYPE_CFUNC_FRAMELESS' method type.
This method type is for optimized CFUNC such as Fixnum#+ and so on.
This feature is half-baked and no way to use th...
ko1 (Koichi Sasada)
08:28 PM Revision 38430: * vm_trace.c (fill_id_and_klass): TracePoint#defined_class returns
singleton class. `set_trace_func' passed attached class (which is
attached/modified by singleton class) by 6th bloc...
ko1 (Koichi Sasada)
06:04 PM Revision 38429: * ext/psych/lib/psych/visitors/to_ruby.rb: speed up node mapping so
common cases are evaluated first. Thanks Kevin Menard! tenderlove
05:44 PM Revision 38428: * lib/optparse.rb: Remove 'developer documentation' section from rdoc
Patch by Marcus Stollsteimer [ruby-core:50526][Bug #7504] zzak (Zachary Scott)
05:37 PM Revision 38427: typo
zzak (Zachary Scott)
05:37 PM Revision 38426: * 2012-12-18
05:36 PM Revision 38425: * lib/matrix.rb (#dup): typo in example [ruby-core:50946][Bug #7582]
zzak (Zachary Scott)
12:48 PM Revision 38424: Use EnvUtil.rubybin instead of Gem.ruby
[ruby-core:50943] [Bug #7581] naruse (Yui NARUSE)
09:49 AM Revision 38423: * class.c (rewrite_cref_stack, clone_method): rewrite a method's cref
stack when cloning into a new class to allow lexical const lookup to
work as expected [ruby-core:47834] [Bug #7107]...
charliesome (Charlie Somerville)
05:04 AM Revision 38422: * io.c (io_flush_buffer_sync2): avoid to return 0. because
rb_thread_call_without_gvl2 uses 0 internally.
* io.c (io_flush_buffer_async2): adapt the above.
kosaki (Motohiro KOSAKI)
03:05 AM Revision 38421: * doc/syntax/methods.rdoc: Added a description of singleton methods.
drbrain (Eric Hodel)
02:36 AM Revision 38420: * doc/.document: Added doc/syntax
drbrain (Eric Hodel)
02:26 AM Revision 38419: * doc/syntax.rdoc: Added syntax guide table of contents
* doc/syntax/exceptions.rdoc: Syntax guide for exceptions
* doc/syntax/literals.rdoc: Syntax guide for literals
* d...
drbrain (Eric Hodel)


11:07 PM Revision 38418: * lib/rdoc.rb: Updated VERSION.
* lib/rdoc/markup/attribute_manager.rb: Removed useless empty check.
* lib/rdoc/markup/to_markdown.rb: Support li...
drbrain (Eric Hodel)
11:00 PM Revision 38417: * 2012-12-17
11:00 PM Revision 38416: * lib/rubygems.rb: Updated VERSION
* test/rubygems/test_gem_installer.rb: Fixed ambiguous first argument
* test/rubygems/test_gem_rdoc.rb: ...
drbrain (Eric Hodel)


05:10 PM Revision 38415: * signal.c (rb_sigaltstack_size): cast sysconf() return value
explicitly. Fix compile error on Mac OS X. kosaki (Motohiro KOSAKI)
03:46 PM Revision 38414: * cont.c (rb_fiber_start): don't enqueue Qnil to async_errinfo_queue.
rb_vm_make_jump_tag_but_local_jump() could return Qnil (ex. when
finished by Thread.exit). [ruby-dev:45218] [Bug #5...
nagachika (Tomoyuki Chikanaga)
03:04 PM Revision 38413: * ext/fiddle/pointer.c (rb_fiddle_ptr2cptr): fix error message forgotten to be changed from DL to Fiddle.
ngoto (Naohisa Goto)
03:00 PM Revision 38412: * 2012-12-16
03:00 PM Revision 38411: fix a typo
02:20 PM Revision 38410: * signal.c (default_handler): remove rb_register_sigaltstack()
call. sigaltstack was already registered when creating threads. kosaki (Motohiro KOSAKI)
02:20 PM Revision 38409: * signal.c (rb_sigaltstack_size): new. calculate stack size for
sigsegv handler. enlarge value when x86 or x86_64 on Linux.
Linux has very small MINSIGSTKSZ size (2048 bytes) and
kosaki (Motohiro KOSAKI)
09:25 AM Revision 38408: * rational.c (f_round_common): should check overflow.
tadf (tadayoshi funaba)
09:01 AM Revision 38407: * ratioanl.c (float_rationalize): reduced.
tadf (tadayoshi funaba)
07:29 AM Revision 38406: test_gem_remote_fetcher.rb: restore environment variables
* test/rubygems/test_gem_remote_fetcher.rb (setup, teardown): always
restore environment variables fo http proxy, t...
nobu (Nobuyoshi Nakada)
07:18 AM Revision 38405: fix a typo
06:10 AM Revision 38404: * proc.c (rb_binding_new_with_cfp): allocate the object after envirionment check.
nobu (Nobuyoshi Nakada)
06:10 AM Revision 38403: * parse.y (yycompile0): adjust indent.
nobu (Nobuyoshi Nakada)
05:40 AM Revision 38402: fix typo
kosaki (Motohiro KOSAKI)
05:40 AM Revision 38401: * io.c (finish_writeconv): uses rb_write_internal2 if
fptr->write_lock have. kosaki (Motohiro KOSAKI)
05:40 AM Revision 38400: * thread.c (rb_mutex_owned_p): remove static.
* io.c (io_flush_buffer): don't hold mutex if already have.
Now recursive lock may occur when following scenario.
kosaki (Motohiro KOSAKI)
05:40 AM Revision 38399: * io.c (io_flush_buffer): uses io_flush_buffer_async2 instead of
* io.c (io_flush_buffer_async2): new helper function for
io_flush_buffer. It uses rb_thread_...
kosaki (Motohiro KOSAKI)
05:39 AM Revision 38398: * io.c (internal_write_func2): new helper function for rb_write_internal2().
* io.c (rb_write_internal2): new function. it uses
rb_thread_call_without_gvl2() instaed of rb_thread_io_blocking_r...
kosaki (Motohiro KOSAKI)
05:39 AM Revision 38397: * io.c (rb_io_wait_writable): add to call rb_thread_wait_fd()
likes rb_io_wait_readable. kosaki (Motohiro KOSAKI)
05:39 AM Revision 38396: * io.c (rb_io_wait_writable): don't call rb_thread_fd_writable()
when EINTR. EINTR mean signal interrupt was happen. We don't
need any wait.
kosaki (Motohiro KOSAKI)
05:39 AM Revision 38395: * thread.c (rb_thread_wait_fd_rw): remove silly rb_thread_alone()
check. kosaki (Motohiro KOSAKI)
01:39 AM Revision 38394: * (NULLCMD): check in loop.
nobu (Nobuyoshi Nakada)
01:39 AM Revision 38393: * (GNUmakefile): remove -jN option from submake.
nobu (Nobuyoshi Nakada)
01:39 AM Revision 38392: * ChangeLog: fix typo.
nobu (Nobuyoshi Nakada)
01:22 AM Revision 38391: thread.c: revert r38382 but deprecate rb_thread_polling()
* thread.c (rb_thread_polling): revert but deprecate.
* include/ruby/intern.h (rb_thread_polling): deprecate.
nobu (Nobuyoshi Nakada)


11:40 PM Revision 38390: * test/rubygems/test_gem_ext_cmake_builder.rb(test_self_build):
get rid of false positive. tarui (Masaya Tarui)
11:14 PM Revision 38389: * properties.
nobu (Nobuyoshi Nakada)
11:11 PM Revision 38388: * test/ruby/test_thread.rb (test_uninitialized, test_backtrace,
test_thread_timer_and_interrupt, test_thread_join_in_trap,
test_thread_join_current, test_thread_join_main_thread,
kosaki (Motohiro KOSAKI)
11:11 PM Revision 38387: * test/ruby/test_thread.rb (TestThread::Thread::new.): remove
th.abort_on_exception change. Test template shouldn't change
global flag. It prevent to test a normal case.
kosaki (Motohiro KOSAKI)
09:18 PM Revision 38386: * (HAVE_GCC_ATOMIC_BUILTINS): Set -march=i486 to enable
__sync_val_compare_and_swap. Patch by KOSAKI Motohiro.
[ruby-trunk - Bug #7485]
drbrain (Eric Hodel)
07:25 PM Revision 38385: * include/ruby/intern.h: remove rb_thread_polling() declaration.
kosaki (Motohiro KOSAKI)
06:59 PM Revision 38384: vm_trace.c: suppress warning
* vm_trace.c (exec_hooks): suppress unused-variable warning by
nobu (Nobuyoshi Nakada)
06:47 PM Revision 38383: * ext/.document: add fiddle/pointer.c, fiddle/handle.c, and fiddle/win32/lib as documentation.
ngoto (Naohisa Goto)
06:08 PM Revision 38382: * file.c (rb_file_flock): use rb_thread_wait_for() instead of
rb_thread_polling(). When getting EAGAIN, we need to wait a
while even if no multi threading.
* thread.c (sleep_for...
kosaki (Motohiro KOSAKI)
03:12 PM Revision 38381: * 2012-12-15
03:11 PM Revision 38380: * signal.c (rb_f_kill): remove rb_thread_polling() because this
has no good effect and makes meaningless 100ms delay. 1)
when sending signal to another process, waiting has just s...
kosaki (Motohiro KOSAKI)
08:11 AM Revision 38379: parse.y: fix line number
* parse.y (parser_params): parser_tokline to track the line number at
which token started. [ruby-dev:46737] [Bug #...
nobu (Nobuyoshi Nakada)
08:11 AM Revision 38378: parse.y: fix line number
* parse.y (parser_params): parser_tokline to track the line number at
which token started. [ruby-dev:46737] [Bug #...
nobu (Nobuyoshi Nakada)
08:04 AM Revision 38377: * vm_insnhelper.c (vm_call_super_method): remove volatile introduced
in r38365.
* vm_insnhelper.c (vm_call_method): use __forceinline to prevent
VC to make vm_call_general and vm_call...
shugo (Shugo Maeda)
06:09 AM Revision 38376: * ChangeLog: fix typo.
nobu (Nobuyoshi Nakada)
05:59 AM Revision 38375: envutil.rb: using caller_locations
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_separately):
take file and line by using caller_locations if ...
nobu (Nobuyoshi Nakada)
05:58 AM Revision 38374: envutil.rb: count assertions
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_separately):
count assertions in separated tests.
nobu (Nobuyoshi Nakada)
05:16 AM Revision 38373: * lib/rdoc/rubygems_hook.rb: Fixed generation of documentation.
Disabled rdoc generation by default to match RubyGems defaults.
Reduced diff with RubyGems::RDoc.
* test/rdoc/test_...
drbrain (Eric Hodel)
05:09 AM Revision 38372: * lib/rubygems/commands/rdoc_command.rb: When overwriting
documentation, remove existing documentation first.
* lib/rubygems/server.rb: Fixed documentation links.
* test/rub...
drbrain (Eric Hodel)
01:38 AM Revision 38371: * vm_trace.c (exec_hooks): add volatile to avoid segv.
On test-all with -j, it may crash in TH_POP_TAG.
Detailed mechanism is not known but this fixes it.
naruse (Yui NARUSE)
01:38 AM Revision 38370: Use assert_separately to speed up slow tests
These speed will slow down when there are many objects like test-all. naruse (Yui NARUSE)
01:38 AM Revision 38369: * test/ruby/envutil.rb (EnvUtil::Unit::Assertionsassert_separately):
added to execute given test source on separate process,
catch its resulted exception and raise it on main process.
naruse (Yui NARUSE)


10:45 PM Revision 38368: * 2012-12-14
10:45 PM Revision 38367: * ext/psych/lib/psych/visitors/yaml_tree.rb: quote strings that begin
with non-word characters. Thanks Alex Tambellini!
* test/psych/test_yaml.rb: appropriate test case
02:32 PM Revision 38366: * object.c (Init_Object): no needs to override with same method.
nobu (Nobuyoshi Nakada)
02:18 PM Revision 38365: * vm_insnhelper.c (vm_call_super_method): a workaround for the
failure of TestRefinement#test_refine_recursion in Windows.
See [ruby-core:50871] for details.
shugo (Shugo Maeda)
02:11 PM Revision 38364: * object.c (Init_Object): use rb_mod_init_copy for Class#initialize_copy
* class.c (rb_class_init_copy): rename to class_init_copy_check, performs type
checks on arguments to prevent rein...
charliesome (Charlie Somerville)
09:41 AM Revision 38363: * ChangeLog: fix typo.
shugo (Shugo Maeda)
07:58 AM Revision 38362: * lib/rdoc/class_module.rb: Fixed duplicate comments for classes and
modules from C.
* test/rdoc/test_rdoc_class_module.rb: Test for the above.
* lib/rdoc/parser/c.rb: Reload C variab...
drbrain (Eric Hodel)
06:16 AM Revision 38361: Use different port from test/xmlrpc/test_cookie.rb
naruse (Yui NARUSE)
05:25 AM Revision 38360: commit typo: remove file from r38358
zzak (Zachary Scott)
05:22 AM Revision 38358: * lib/irb*: merge doc from doc/irb/ird.rd and improve overall
documentation of IRB
* doc/irb/irb.rd: remove stale documentation
zzak (Zachary Scott)
05:12 AM Revision 38357: * marshal.c (r_entry0): don't taint classes and modules because
Marshal.load just return the dumped classes and modules.
[Bug #7325] [ruby-core:49198]
* test/ruby/test_marshal.rb...
shugo (Shugo Maeda)
05:11 AM Revision 38356: * test/ruby/test_require.rb (TestRequire#test_loaded_features_encoding):
need to check compatibility, not equality of encodings. usa (Usaku NAKAMURA)
05:02 AM Revision 38355: * file.c (rb_file_join): check encoding compatibility before joining
strings. usa (Usaku NAKAMURA)
04:06 AM Revision 38354: method transplanting
* proc.c (umethod_bind): allow another form of method transplanting
from a module via UnboundMethod. [ruby-core:34...
nobu (Nobuyoshi Nakada)
03:50 AM Revision 38353: * method.h (END_OF_ENUMERATION): placeholder to put last comma.
nobu (Nobuyoshi Nakada)
03:38 AM Revision 38352: * properties.
nobu (Nobuyoshi Nakada)
03:09 AM Revision 38351: * include/ruby/ruby.h (RB_UNUSED_VAR): new macro to suppress
warnings for unused variables.
* ext/bigdecimal/bigdecimal.c (ENTER): use RB_UNUSED_VAR() to
suppress annoying war...
shugo (Shugo Maeda)
02:28 AM Revision 38350: * 2012-12-13
02:27 AM Revision 38349: * method.h: remove "VM_METHOD_TYPE__MAX" from rb_method_type_t.
rb_method_type_t is not a number and "_MAX" causes misunderstanding.
* proc.c (rb_method_entry_arity): ditto.
* vm_ev...
ko1 (Koichi Sasada)


12:40 PM Revision 38348: tmpdir.rb: not expand tilde
* lib/tmpdir.rb (Dir::Tmpname#create): deal with a prefix name which
starts with tilde as a plain name, not expandi...
nobu (Nobuyoshi Nakada)
10:56 AM Revision 38347: * properties.
nobu (Nobuyoshi Nakada)
10:51 AM Revision 38346: * ext/json: merge JSON 1.7.5.
fix tests and other fixes. naruse (Yui NARUSE)
10:06 AM Revision 38345: Suppress warning: too long path
naruse (Yui NARUSE)
09:35 AM Revision 38344: * class.c (rb_prepend_module): move refined methods from the origin
of a class to the class, because refinements should have priority
over prepended modules.
* test/ruby/test_refinem...
shugo (Shugo Maeda)
09:27 AM Revision 38343: time.c: st_update
* time.c (zone_str): lookup or insert by using st_update() at once. nobu (Nobuyoshi Nakada)
07:36 AM Revision 38342: * add -fno-omit-frame-pointer if libexecinfo is used.
At least on FreeBSD ruby will crash on getting C backtrace
when it is compiled with other than -O0.
* vm_dump.c: e...
naruse (Yui NARUSE)
07:08 AM Revision 38341: test_rdoc_rdoc.rb: use File::NULL
* test/rdoc/test_rdoc_rdoc.rb (TestRDocRDoc#test_normalized_file_list_non_file_directory):
use File::NULL for porta...
nobu (Nobuyoshi Nakada)
07:07 AM Revision 38340: method.h: NOEX_SAFE_SHIFT_OFFSET
* method.h (rb_method_flag_t): name a magic number for NOEX_SAFE and
* method....
nobu (Nobuyoshi Nakada)
07:06 AM Revision 38339: proc.c: move misplaced case
* proc.c (rb_method_entry_arity): move misplaced case added at r38236. nobu (Nobuyoshi Nakada)
05:16 AM Revision 38338: * lib/rdoc/class_module.rb: Added RDoc::ClassModule#documented? which
checks comment_location. Hide RDoc::ClassModule#comment=.
* test/rdoc/test_rdoc_class_module.rb: Test for above.
drbrain (Eric Hodel)
04:40 AM Revision 38337: vm_insnhelper.c: no warnings for non-object
* vm_insnhelper.c (vm_getivar): no uninitialized instance variables
warnings for non-object if attr method.
nobu (Nobuyoshi Nakada)
04:39 AM Revision 38336: vm_insnhelper.c: common code
* vm_insnhelper.c (vm_getivar, vm_setivar): unify common code
irrelevant to the condition.
nobu (Nobuyoshi Nakada)
03:12 AM Revision 38335: Specify rlimits_core to prevent making core file
Stable fix for r38041. naruse (Yui NARUSE)
12:42 AM Revision 38334: Experimental fix for r38041
naruse (Yui NARUSE)


09:44 PM Revision 38333: * iseq.c (rb_iseq_parameters): fix limit for optional arguments.
* test/ruby/test_keyword.rb: tests for above.
* vm_core.h (struct rb_iseq_struct): update documentation
with keywor...
Eregon (Benoit Daloze)
09:17 PM Revision 38332: Experimental: don't use $.*s of fprintf
naruse (Yui NARUSE)
06:45 PM Revision 38331: vm.c: pass exceptions while handling an exception
* vm.c (vm_exec): pass exceptions while handling an exception.
* vm_trace.c (rb_threadptr_exec_event_hooks): propagat...
nobu (Nobuyoshi Nakada)
06:09 PM Revision 38330: test.rb: show messages in one line
* sample/test.rb (Progress#initialize): add --verbose option and show
messages in one line unless --verbose is given.
nobu (Nobuyoshi Nakada)
05:13 PM Revision 38329: Experimentally recommit of r38041: specify smaller max length
* vm_dump.c (rb_vm_bugreport): get rid of calling methods in sigsegv
handler. based on a patch by charliesome (Cha...
naruse (Yui NARUSE)
04:48 PM Revision 38328: * eval.c (rb_using_refinement): make the method table of an iclass
for a refinement that of the refinement, not that of the origin of
the refinement, which is set by rb_include_class...
shugo (Shugo Maeda)
04:18 PM Revision 38327: * tool/make-snapshot: add --disable-rubygem to both MINIRUBY and RUBY.
On making miniprelude.c, it seems use MINIRUBY. this fixes #7541
but rubygems also needs to be fixed for older rubies.
naruse (Yui NARUSE)
03:44 PM Revision 38326: * test/dl/test_func.rb (test_name_with_block, test_bind, test_qsort1): call unbind to release the callback closure because maximum number of callbacks is limited to DL::MAX_CALLBACK (== 5) with pure DL without Fiddle.
ngoto (Naohisa Goto)
03:24 PM Revision 38325: * 2012-12-12
03:24 PM Revision 38324: * ext/dl/lib/dl/func.rb (DL::Function#unbind, #bound?): suppress NoMethodError when Fiddle is available. [ruby-core:50756] [Bug #7543]
* test/dl/test_func.rb (test_bound*, test_unbind*): tests for the above. ngoto (Naohisa Goto)
12:38 PM Revision 38323: fix a typo
10:41 AM Revision 38322: * ext/fiddle/function.c ( new keyword argument :name to set the name attribute.
* ext/fiddle/lib/fiddle/import.rb (import_function, bind_function): set function name by using the :name keyword argu... ngoto (Naohisa Goto)
09:31 AM Revision 38316: fix typos for r38298
07:57 AM Revision 38312: * Added --pages-dir to rdoc creation. Now doc/ items show
up at top-level.
* .document: Moved doc/* entries to doc/.document
* doc/.document: ditto
drbrain (Eric Hodel)
07:44 AM Revision 38311: * lib/rdoc/options.rb: Added --page-dir option for moving pages in
doc/ to the top-level.
* lib/rdoc/rdoc.rb: ditto.
* test/rdoc/test_rdoc_options.rb: Test for the above.
* test/rdoc...
drbrain (Eric Hodel)
06:25 AM Revision 38310: * ext/pathname/lib/pathname.rb: Hide private methods from RDoc.
drbrain (Eric Hodel)
06:13 AM Revision 38309: * tool/make-snapshot (BASERUBY): add --disable-gem to avoid load gems.
[Bug #7541] [ruby-core:50736] naruse (Yui NARUSE)
06:13 AM Revision 38308: Revert r38301
"* ($(MINIPRELUDE_C)): -I may break make dist."
This didn't solve the issue.
naruse (Yui NARUSE)
03:37 AM Revision 38307: probes_helper.h: RUBY_DTRACE_HOOK
* probes_helper.h (RUBY_DTRACE_HOOK): surround with do..while.
* vm.c (vm_exec): supply semicolon.
nobu (Nobuyoshi Nakada)
03:37 AM Revision 38306: test_settracefunc.rb: envutil
* test/ruby/test_settracefunc.rb: EnvUtil is required for
assert_normal_exit when running solely.
nobu (Nobuyoshi Nakada)
03:02 AM Revision 38305: * ext/dl/win32/extconf.rb: Fix typo
by Santiago Pastorino <> fix GH-221
naruse (Yui NARUSE)
02:58 AM Revision 38304: Experimentally revert r38041
"vm_dump.c: no methods in segv handler"
It may cause segv:
naruse (Yui NARUSE)
02:38 AM Revision 38303: * ($(MINIPRELUDE_C)): -I may break make dist.
patched by Vit Ondruch [Bug #7541] [ruby-core:50736] naruse (Yui NARUSE)
02:32 AM Revision 38302: Revert r38296 and r38301
naruse (Yui NARUSE)

Also available in: Atom