From 12/05/2012 to 12/11/2012


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)


04:57 PM Revision 38301: More debug print for r38296
naruse (Yui NARUSE)
04:53 PM Revision 38300: * lib/matrix: alias {row|column}_size to {row|column}_count and use the latter.
[Bug #7369] [ruby-core:49409] marcandre (Marc-Andre Lafortune)
04:05 PM Revision 38299: * 2012-12-11
04:05 PM Revision 38298: * fix the behavior when a module is included into a refinement.
This change is a little tricky, so it might be better to prohibit
module inclusion to refinements.
* include/ruby/...
shugo (Shugo Maeda)
01:02 PM Revision 38297: * vm_method.c (rb_method_entry_without_refinements): use
rb_resolve_refined_method() to search superclasses if
me->def->orig_me is 0. This change fixes make test-all
shugo (Shugo Maeda)
09:27 AM Revision 38296: Add debug print to debug make dist error on rubyci FreeBSD
naruse (Yui NARUSE)
09:03 AM Revision 38295: * properties.
nobu (Nobuyoshi Nakada)
09:01 AM Revision 38294: * ext/fiddle/win32/*: library ports from DL to Fiddle.
* ext/dl/win32/extconf.rb: check fiddle. often case dl compiled prior
to fiddle, so this change is no meaning. in...
usa (Usaku NAKAMURA)
06:23 AM Revision 38293: vm_trace.c: exceptions in event hooks
* vm_trace.c (rb_threadptr_exec_event_hooks): exceptions in event
hooks should not propagate outside.
nobu (Nobuyoshi Nakada)
06:11 AM Revision 38292: compile.c, vm_insnhelper.c: flip-flop without hidden string key
* compile.c (iseq_compile_each): count flip-flop state in local iseq
not in each iseqs, so that the keys can be oth...
nobu (Nobuyoshi Nakada)
05:05 AM Revision 38291: * (LIBRUBY_SO): sign also.
nobu (Nobuyoshi Nakada)
04:32 AM Revision 38290: * enc/depend (link_so): prefix $(Q) for each commands.
nobu (Nobuyoshi Nakada)
04:18 AM Revision 38289:, mkmf.rb: sign extensions
* (codesign): check identifier at link time, not
configure time.
* lib/mkmf.rb (LINK_SO): sign extens...
nobu (Nobuyoshi Nakada)
04:18 AM Revision 38288: mkconfig.rb: newlines
* tool/mkconfig.rb: restore embedded newlines. nobu (Nobuyoshi Nakada)
02:50 AM Revision 38287: KNOWNBUGS.rb: exceptions in event hooks
* KNOWNBUGS.rb: add tests for exceptions in event hooks, which were
discarded in 1.8 but passed through in 1.9.
nobu (Nobuyoshi Nakada)
02:50 AM Revision 38286: test_gem_rdoc.rb: shut up skipping warnings
* test/rubygems/test_gem_rdoc.rb (TestGemRDoc): skip method
definitions for older rdoc and shut up obsolete warnings.
nobu (Nobuyoshi Nakada)
02:06 AM Revision 38285: * lib/irb/magic-file.rb: set a encoding, which is detected from
the file to read, to the internal encoding.
[Bug #4281][ruby-dev:43036]
12:42 AM Revision 38284: * properties.
nobu (Nobuyoshi Nakada)
12:40 AM Revision 38283: * lib/rubygems/ext/cmake_builder.rb: Added a builder for cmake.
* lib/rubygems/ext.rb: ditto.
* lib/rubygems/installer.rb: ditto.
* test/rubygems/test_gem_ext_cmake_builder.rb: T...
drbrain (Eric Hodel)
12:13 AM Revision 38282: * 2012-12-10
12:13 AM Revision 38281: * lib/rubygems/package.rb: Omit directories when packaging gems like
RubyGems 1.8.x
* test/rubygems/test_gem_package.rb: Test for above.
drbrain (Eric Hodel)


02:34 PM Revision 38280: envutil.rb: kill child
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): kill the child process
nobu (Nobuyoshi Nakada)
08:48 AM Revision 38279: * vm_insnhelper.c (vm_call_opt_send): Kernel#send should not use
* proc.c (mnew): Kernel#method, Kernel#public_method,
Module#instance_method, and Module#public_insta...
shugo (Shugo Maeda)


09:19 PM Revision 38278: * 2012-12-09
09:19 PM Revision 38277: * lib/rdoc/markdown/entities.rb: Added documentation.
* lib/rdoc/parser/ruby.rb: Updated style
* lib/rdoc/ruby_lex.rb: Parse characters up to \u{FFFFF}
* test/rdoc/test...
drbrain (Eric Hodel)
01:41 PM Revision 38276: * eval.c (rb_mod_refine): don't override Module#include. It's
unnecessary now because refinements are activated only in refine
shugo (Shugo Maeda)
01:35 PM Revision 38275: * eval.c: remove Module#refinements.
* test/ruby/test_refinement.rb: remove tests for Module#refinements. shugo (Shugo Maeda)
01:35 PM Revision 38274: * eval.c (top_using): raise a RuntimeError if using is called in a
module definition or a method definition.
* test/ruby/test_refinement.rb: related test.
shugo (Shugo Maeda)
07:06 AM Revision 38273: Improve rdoc for Ripper, based on a patch by Oscar Del Ben [github:219]
marcandre (Marc-Andre Lafortune)
06:01 AM Revision 38272: * lib/rubygems/commands/cleanup_command.rb: Skip default gems when
cleaning up.
* test/rubygems/test_gem_commands_cleanup_command.rb: Test for above.
* lib/rubygems/commands/query_co...
drbrain (Eric Hodel)
03:36 AM Revision 38271: * vm_insnhelper.c (vm_search_normal_superclass): super in a
refinement always uses the refined class as its superclass.
* test/ruby/test_refinement.rb: related test.
shugo (Shugo Maeda)
03:06 AM Revision 38270: * eval.c (rb_mod_refine): raise an ArgumentError if a given
block is of a Proc object.
* vm_insnhelper.c (vm_call_method): store refined methods in inline
cache to improve pe...
shugo (Shugo Maeda)
02:37 AM Revision 38269: * eval.c (rb_mod_refine), vm_eval.c (rb_yield_refine_block):
Module#refine activates all refinements defined in that module
only in a given block.
* string.c (sym_to_proc, sym...
shugo (Shugo Maeda)
12:26 AM Revision 38268: * ext/openssl/ossl_x509name.c: Completed documentation for
OpenSSL::X509::Name. drbrain (Eric Hodel)
12:24 AM Revision 38267: ChangeLog: fix indent
* ChangeLog: fix indent. revert r38265 partially. nobu (Nobuyoshi Nakada)
12:18 AM Revision 38266: * ext/objspace/objspace.c (iow_size): return size of internal object
for ObjectSpace.memsize_of().
* test/objspace/test_objspace.rb: add a test.
ko1 (Koichi Sasada)


05:42 PM Revision 38265: * lib/csv.rb: A fix for row comparison by Stephen Wattam. [Bug #7528]
JEG2 (James Gray)
04:27 PM Revision 38264: unit.rb: no need to check all reports
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): no need to
check all reports.
nobu (Nobuyoshi Nakada)
03:49 PM Revision 38263: * 2012-12-08
03:49 PM Revision 38262: * vm_eval.c (yield_under, eval_under): do not activate refinements
of the receiver in module_eval and instance_eval.
* eval.c (ruby_Init_refinement): undef Class#refine.
* eval.c (ru...
shugo (Shugo Maeda)
02:44 PM Revision 38261: * ext/refinement/refinement.c: include ruby/ruby.h instead of the
declaration of rb_warn(). shugo (Shugo Maeda)
10:36 AM Revision 38260: Revert r38216 and r38221. Release manager mark this feature as "next minor".
kosaki (Motohiro KOSAKI)
07:10 AM Revision 38259: Remove file from r38201
zzak (Zachary Scott)
07:08 AM Revision 38258: * doc/etc.rd: Removed stale documentation file
* ext/etc/etc.c: Merged documentation from doc/etc.rd and updated
rdoc, added documentation for Etc::Passwd and Et...
zzak (Zachary Scott)
07:03 AM Revision 38257: * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): no need to
retry skipped test. this fix makes 40% faster the whole test-all
with -j5 on Windows.
usa (Usaku NAKAMURA)
05:22 AM Revision 38256: * lib/rdoc/markup/to_joined_paragraph.rb: Completed documentation
* lib/rdoc/parser/c.rb: ditto
* lib/rdoc/parser/changelog.rb: ditto
* lib/rdoc/servlet.rb: ditto
* lib/rdoc/store....
drbrain (Eric Hodel)
05:04 AM Revision 38255: timeout.rb: replace deferred exception after async_interrupt_timing
* lib/timeout.rb (Timeout#timeout): since async_interrupt_timing
re-raises a deferred exception, replace the timeou...
nobu (Nobuyoshi Nakada)
05:02 AM Revision 38254: * test/ruby/test_refinement.rb: suppress warning.
nobu (Nobuyoshi Nakada)
05:02 AM Revision 38253: test: remove or replace trailing spaces
nobu (Nobuyoshi Nakada)
04:39 AM Revision 38252: * ext/fiddle/closure.c ( fix typo in documentation
ngoto (Naohisa Goto)
04:35 AM Revision 38251: * ext/fiddle/function.c ( fix typo in documentation
ngoto (Naohisa Goto)
04:21 AM Revision 38250: Commit ChangeLog from r38249
zzak (Zachary Scott)
04:08 AM Revision 38249: * doc/forwardable.rd: Remove stale documentation file
* lib/forwardable.rb: Merge documentation from doc/forwardable.rd zzak (Zachary Scott)
02:58 AM Revision 38248: Use more portable value for ENV['TZ']
naruse (Yui NARUSE)
02:55 AM Revision 38247: * time.c (time_mdump): dump timezone string to private instance variable
on marshaling.
* time.c (time_mload): load timezone string from private instance
variable named 'zone'.
naruse (Yui NARUSE)
02:55 AM Revision 38246: Add freebsd to force_tz_test
naruse (Yui NARUSE)
02:55 AM Revision 38245: Canada/Newfoundland was renamed to America/St_Johns
naruse (Yui NARUSE)
02:55 AM Revision 38244: Add declaration of rb_warn
naruse (Yui NARUSE)


04:21 PM Revision 38243: * ext/fiddle/lib/fiddle/function.rb (Fiddle::Function#name): new
attribute needed to switch Win32::Registry from DL to Fiddle.
* ext/fiddle/lib/fiddle/import.rb (import_function, bi...
ngoto (Naohisa Goto)
03:12 PM Revision 38242: * 2012-12-07
03:12 PM Revision 38241: * test/ruby/test_refinement.rb: fix some tests to use neither
Module#using nor Module#module_eval. shugo (Shugo Maeda)
02:33 PM Revision 38240: * properties.
nobu (Nobuyoshi Nakada)
02:31 PM Revision 38239: * eval.c (ruby_Init_refinement): a new function to enable
Refinements with a warning "Refinements are experimental...".
* ext/refinement/refinement.c, ext/refinement/extconf....
shugo (Shugo Maeda)
02:30 PM Revision 38238: * ext/dl/lib/dl/func.rb (CALL_TYPE_TO_ABI, FiddleClosureCFunc): exclude private constants and methods from rdoc
ngoto (Naohisa Goto)
02:27 PM Revision 38237: * ext/fiddle/lib/fiddle/import.rb (CALL_TYPE_TO_ABI): exclude private constant from RDoc
ngoto (Naohisa Goto)
01:08 PM Revision 38236: * revised r37993 to avoid SEGV/ILL in tests. In r37993, a method
entry with VM_METHOD_TYPE_REFINED holds only the original method
definition, so ci->me is set to a method entry all...
shugo (Shugo Maeda)
08:29 AM Revision 38235: parse.y: flush string content
* parse.y (parser_here_document): flush string content between new
line and :string_embexpr. [ruby-core:48703] [Bu...
nobu (Nobuyoshi Nakada)
08:25 AM Revision 38234: test_scanner_events.rb: ruby-mode highlight by heredoc
* test/ripper/test_scanner_events.rb (TestRipper::ScannerEvents): get
rid of make ruby-mode highlight confused by h...
nobu (Nobuyoshi Nakada)
08:25 AM Revision 38233: memory_status.rb: EnvUtil
* test/ruby/memory_status.rb (Memory): suppress_warning is in EnvUtil.
[ruby-core:50599] [Bug #7523]
nobu (Nobuyoshi Nakada)
07:35 AM Revision 38232: * test/rake/helper.rb: Load envutil correctly. Removed useless rescue
for signal propagation tests
* lib/rake/file_utils.rb: Prefer the built ruby.
* test/rake/test_rake_functional.rb: ...
drbrain (Eric Hodel)
06:20 AM Revision 38231: * lib/rdoc/context.rb: Don't warn for duplicate methods while loading.
* test/rdoc/test_rdoc_context.rb: Test for above. drbrain (Eric Hodel)
05:26 AM Revision 38230: * lib/rubygems/command_manager.rb: Removed string concatenation
syntax. [Bug #6265]
* lib/rubygems/commands/install_command.rb: ditto
* lib/rubygems/commands/uninstall_command.rb:...
drbrain (Eric Hodel)
05:13 AM Revision 38229: * lib/rubygems/package.rb: Set rubygems_version before validation.
Fixes issue with bundler.
* test/rubygems/test_gem_package.rb: Test for above.
* lib/rubygems/remote_fetcher.rb: O...
drbrain (Eric Hodel)
04:57 AM Revision 38228: Fix typo
zzak (Zachary Scott)
03:13 AM Revision 38227: * vm_trace.c: TracePoint#enable should not cause an error
when it is already enabled. TracePoint#disable is too.
[ruby-core:50561] [ruby-trunk - Bug #7513]
* test/ruby/test_...
ko1 (Koichi Sasada)


10:20 PM Revision 38226: * lib/rdoc*: Improved display of ChangeLog files as HTML.
* test/rdoc*: Test for above. drbrain (Eric Hodel)
07:37 PM Revision 38225: * thread.c (rb_uninterruptible): helper function for providing
temporary async_interrupt_timing(Object => :defer)
* io.c (rb_f_p): use rb_uninterruptible.
* io.c (rb_f_p_internal)...
kosaki (Motohiro KOSAKI)
07:37 PM Revision 38224: * io.c (io_binwrite): check interrupt before io issue.
* test/ruby/test_thread.rb (test_async_interrupt_and_io):
test for the above.
kosaki (Motohiro KOSAKI)
04:10 PM Revision 38223: vm_eval.c: public_send does not consider how it is called
* vm_eval.c (rb_method_call_status): use Qundef as no self instead of
the current self.
* vm_eval.c (send_internal)...
nobu (Nobuyoshi Nakada)
04:07 PM Revision 38222: test_object.rb: test for public_send
* test/ruby/test_object.rb (TestObject#test_public_send): add test for
nobu (Nobuyoshi Nakada)
03:53 PM Revision 38221: * lib/timeout.rb (Timeout#timeout): specify a exception
more strictly at async_interrupt_timing. tarui (Masaya Tarui)
03:48 PM Revision 38220: adjust style and fix typo and indent
03:34 PM Revision 38219: Suppress warnings
naruse (Yui NARUSE)
03:12 PM Revision 38218: Use underscore-begging name for dummy variables to suppress warning
naruse (Yui NARUSE)
03:04 PM Revision 38217: * 2012-12-06
03:04 PM Revision 38216: * lib/timeout.rb (Timeout#timeout): set
async_interrupt_timeing(:on_blocking) by default.
[Bug #7503] [ruby-core:50524]
* test/test_timeout.rb (#test_time...
kosaki (Motohiro KOSAKI)
02:56 PM Revision 38215: add a contributor name
02:53 PM Revision 38214: * gc.c (getrusage_time): uses clock_gettime() with
CLOCK_PROCESS_CPUTIME_ID when available, which provides a 1ns
precision on linux. [ruby-core:50495] [Bug #7500]
01:46 PM Revision 38213: vm.c: save blockprocval
* vm.c (rb_vm_make_proc): save the proc made from the given block so
that it will not get collected. [ruby-core:50...
nobu (Nobuyoshi Nakada)
01:35 PM Revision 38212: fix typos and remove trailing spaces
01:24 PM Revision 38211: * ext/dl/lib/dl/func.rb (DL::Function#bind): When Fiddle is used,
@ptr should be updated. This fixes SEGV raised in DL::Function#call
after calling DL::Function#bind. [Bug #7516] [r...
ngoto (Naohisa Goto)
09:54 AM Revision 38210: * thread.c (rb_thread_s_async_interrupt_timing): have to check ints before jumpping out.
* test/ruby/test_thread.rb (test_async_interrupt_with_return): add test
rescue has to catch a queued async excepti...
tarui (Masaya Tarui)
07:56 AM Revision 38209: * test/ruby/memory_status.rb: suppress warning.
A patch from NAKAMURA Usaku. ko1 (Koichi Sasada)
07:07 AM Revision 38208: * lib/rdoc/parser/changelog.rb: Parse more ChangeLog file variations.
* test/rdoc/test_rdoc_parser_changelog.rb: Test for above. drbrain (Eric Hodel)
06:30 AM Revision 38207: * test/mkmf/test_have_func.rb: tests for have_func.
nobu (Nobuyoshi Nakada)
06:30 AM Revision 38206: test_have_library.rb: assert_have_library
* test/mkmf/test_have_library.rb (assert_have_library): extract. nobu (Nobuyoshi Nakada)
06:30 AM Revision 38205: test_have_macro.rb: TestHaveMacro
* test/mkmf/test_have_macro.rb (TestMkmf::TestHaveMacro): rename. nobu (Nobuyoshi Nakada)
04:08 AM Revision 38204: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
03:59 AM Revision 38203: * test/mkmf/test_have_library.rb: tests for have_library.
nobu (Nobuyoshi Nakada)
03:20 AM Revision 38202: * ext/dl/lib/dl/func.rb (DL::Function#initialize, DL::Function#bind):
ABI should be set by using CFunc#calltype even when Fiddle is used.
When Fiddle is used and a block is given, name ...
ngoto (Naohisa Goto)
02:55 AM Revision 38201: * doc/shell.rd, doc/shell.rd.ja: Removed stale doc files
* lib/shell.rb, lib/shell/*: Merge and updates docs from doc/shell.rd* zzak (Zachary Scott)
02:43 AM Revision 38200: * test/ruby/test_settracefunc.rb: disable trace.
ko1 (Koichi Sasada)
02:37 AM Revision 38199: mkmf.rb: different strings from conflict markers
* lib/mkmf.rb (MakeMakefile#macro_defined?): use clearly different
strings from conflict markers.
nobu (Nobuyoshi Nakada)
02:00 AM Revision 38198: tabify and fix typos
01:23 AM Revision 38197: * ChangeLog: remove conflict marker.
nobu (Nobuyoshi Nakada)

Also available in: Atom