From 10/31/2012 to 11/06/2012


10:52 PM Revision 37531: enum.c: prefix
* enum.c (rb_enum_cycle_size): prefix with rb. nobu (Nobuyoshi Nakada)
10:50 PM Revision 37530: adjust style
nobu (Nobuyoshi Nakada)
10:00 PM Revision 37529: Fix typos in comments
07:40 PM Revision 37528: Remove FIXME skip on Windows test
* test/ruby/test_file_exhaustive.rb: Remove FIXME skip on Windows
specific test because the test in question was al...
luislavena (Luis Lavena)
06:50 PM Revision 37527: Recognize zlibwapi as linking library
* ext/zlib/extconf.rb: Recognize zlibwapi as linking library.
Patch by Daniel Berger.
[ruby-core:44979] [Feature...
luislavena (Luis Lavena)
05:17 PM Revision 37526: * NEWS: Update for lazy size evaluation [Feature #6636]
marcandre (Marc-Andre Lafortune)
05:16 PM Revision 37525: * enumerator.c: Support for lazy.cycle.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:16 PM Revision 37524: * enumerator.c: Add support for lazy.drop.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:16 PM Revision 37523: * enumerator.c: Support for lazy.take.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:16 PM Revision 37522: * enumerator.c: Support for lazy.{map|flat_map|...}.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:15 PM Revision 37521: * enumerator.c: Support for lazy.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:15 PM Revision 37520: * string.c: Support for String#{each_byte,each_char,each_codepoint}.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:15 PM Revision 37519: * numeric.c (int_dotimes): Support for Integer#times.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:15 PM Revision 37518: * numeric.c (int_upto, int_downto): Support for Integer#{down|up}to.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:15 PM Revision 37517: * range.c: Support for range.step.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:14 PM Revision 37516: * range.c: Support for Range#size and Range#each.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:14 PM Revision 37515: * numeric.c (num_step): Support for Numeric#step.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:14 PM Revision 37514: * numeric.c: Extract ruby_float_step_size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:14 PM Revision 37513: * struct.c: Support for Struct's enumerators #size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:13 PM Revision 37512: * hash.c: Support for enumerators created by ENV:
each, each_value, ...
[Feature #6636]
marcandre (Marc-Andre Lafortune)
05:13 PM Revision 37511: * hash.c: Support for enumerators created by Hash:
delete_if, reject!, ...
[Feature #6636]
marcandre (Marc-Andre Lafortune)
05:13 PM Revision 37510: * enum.c (enum_cycle): Support for Enumerable#cycle.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:13 PM Revision 37509: * enum.c (enum_each_cons): Support for Enumerable#each_cons.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:12 PM Revision 37508: * enum.c (enum_each_slice): Support for Enumerable#each_slice.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:12 PM Revision 37507: * enum.c: Support for enumerators created by Enumerable with forwarding:
find_all, reject, ...
[Feature #6636]
marcandre (Marc-Andre Lafortune)
05:12 PM Revision 37506: * vm_eval.c (rb_f_loop): Support for loop.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:12 PM Revision 37505: * array.c (rb_ary_cycle): Support for Array#cycle.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:11 PM Revision 37504: * array.c (rb_ary_repeated_combination): Support for repeated_combination.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:11 PM Revision 37503: * array.c (rb_ary_repeated_permutation): Support for repeated_permutation.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:11 PM Revision 37502: * array.c (rb_ary_combination): Support for Array#combination.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:11 PM Revision 37501: * array.c (rb_ary_permutation): Support for Array#permutation.size
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:10 PM Revision 37500: * array.c: Support for Enumerator#size in trivial cases:
each, each_index, reverse_each, sort_by, collect,
collect!, select, select!, keep_if, reject, reject!, delete_if
marcandre (Marc-Andre Lafortune)
05:10 PM Revision 37499: * enumerator.c: Support #size for enumerators created from enumerators
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:10 PM Revision 37498: * enumerator.c (obj_to_enum): Have #to_enum accept a block
[Feature #6636] marcandre (Marc-Andre Lafortune)
05:10 PM Revision 37497: * enumerator: New method #size; constructor accepts size
[Feature #6636]
* include/ruby/intern.h: RETURN_SIZED_ENUMERATOR for support of
sized enumerators
marcandre (Marc-Andre Lafortune)
05:09 PM Revision 37496: * 2012-11-07
05:09 PM Revision 37495: * enumerator.c (enumerator_initialize): Warn when using deprecated form
[Feature #6636] marcandre (Marc-Andre Lafortune)
11:42 AM Revision 37494: * object.c (rb_mod_const_get): Fix constant missing exception class
and message to maintain backwards compatibility. Constant search
should start at Object when constant starts with '...
09:46 AM Revision 37493: * ChangeLog: add link to redmine and ruby-core
08:06 AM Revision 37492: * lib/tempfile.rb: fix confusing inspect.
previous Tempfile#inspect says it is a File, but actually
it is not a File.
t ="foo") #=> #<File...
07:30 AM Revision 37491: * atomic.h: add #include <sys/atomic.h> for the workaround of
header file name conflict of atomic.h with /usr/include/atomic.h
on Solaris 10. [ruby-dev:46414] [Bug #7287]
ngoto (Naohisa Goto)
05:43 AM Revision 37490: * test/win32ole/test_win32ole.rb: follow other test files.
usa (Usaku NAKAMURA)
05:39 AM Revision 37489: * test/win32ole/test_win32ole.rb: now source encoding is UTF-8, so
binary strings in old scripts are dangerous. usa (Usaku NAKAMURA)
05:31 AM Revision 37488: * properties.
nobu (Nobuyoshi Nakada)
05:30 AM Revision 37487: * lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line):
don't use /n in universal regexp. [ruby-dev:46394] [Bug #7278] naruse (Yui NARUSE)
12:50 AM Revision 37486: * string.c (rb_str_b): Add String#b, returning a copied string
whose encoding is ASCII-8BIT. [ruby-dev:45992] [Feature #6767] naruse (Yui NARUSE)
12:49 AM Revision 37485: * ruby.c (load_file_internal): set default source encoding as
UTF-8 instead of US-ASCII. [ruby-core:46021] [Feature #6679]
* parse.y (parser_initialize): set default parser encod...
naruse (Yui NARUSE)


08:55 PM Revision 37484: * test/ruby/test_require.rb
04:43 PM Revision 37483: * thread_pthread.c (rb_reserved_fd_p): fix typo in macro check
that prevented the ifdef ever being true.
[Bug #7281] [ruby-core:48940]
kosaki (Motohiro KOSAKI)
03:27 PM Revision 37482: Fix compatibility of cached expanded load path
* file.c (rb_get_path_check_to_string): extract from
rb_get_path_check(). We change the spec not to call to_path of...
03:27 PM Revision 37481: Cache the expanded load path
* load.c (rb_get_expanded_load_path): cache the expanded load
path. This saves 4KB of allocation and some stats fo...
03:27 PM Revision 37480: Index $LOADED_FEATURES so that require isn't so slow
* load.c (rb_feature_p, rb_provide_feature): index $LOADED_FEATURES
so that require isn't so slow.
* load.c (rb_pr...
03:24 PM Revision 37479: * 2012-11-06
03:24 PM Revision 37478: Expose whether two arrays are shared
* array.c (rb_ary_shared_with_p): new function.
Expose whether two arrays are shared (read-only, C only).
* includ...
03:24 PM Revision 37477: Clarify and explain loaded_feature_path and rb_feature_p
* load.c (loaded_feature_path): clarify and briefly comment
function. These clarifications have no effect on the b...
02:00 PM Revision 37476: * ext/dl/win32/lib/Win32API.rb (Win32API#call): use 64bit pointer for x64
Windows. This would fix
TestSecureRandom#test_s_random_bytes_without_openssl error.
[ruby-core:47451] [Bug #6990]
02:00 PM Revision 37475: * cygwin/ ( link *.res.o.
EXTOBJES is defined in *.res.o setting should be below
[ruby-core:48858] [Bug #7277]
02:46 AM Revision 37474: * thread_pthread.c (native_thread_init, native_thread_destroy):
removed HAVE_PTHREAD_CONDATTR_INIT check because this silly
#ifdef makes use-uninitialized-var issue and (2) native...
kosaki (Motohiro KOSAKI)
02:34 AM Revision 37473: * lib/cgi/core.rb: check if Tempfile is defined before use it.
* lib/cgi/core.rb: remove tempfiles only if tempfiles exist naruse (Yui NARUSE)
01:19 AM Revision 37472: * lib/uri/http.rb ( Fix example
Patch by Carina C. Zona
[Fixes #209 Github]
zzak (Zachary Scott)
12:57 AM Revision 37471: Mon Nov 5 09:55:05 2012 Takeyuki FUJIOKA <>
* lib/cgi/core.rb: remove tempfile more early. xibbar (Takeyuki FUJIOKA)
12:57 AM Revision 37470: Mon Nov 5 09:50:28 2012 Takeyuki FUJIOKA <>
* NEWS: add a news about html5 tagmaker
and rename CGI#header to CGI#http_header
xibbar (Takeyuki FUJIOKA)


09:14 PM Revision 37469: * 2012-11-05
09:14 PM Revision 37468: Don't redefine methods
If HTML5 element methods are already defined, don't redefine them. naruse (Yui NARUSE)
12:37 PM Revision 37467: * ChangeLog: Remove garbages.
kou (Kouhei Sutou)
11:48 AM Revision 37466: Sun Nov 4 20:41:28 2012 Takeyuki FUJIOKA <>
* lib/cgi.rb, lib/cgi/*/rb: rename CGI#header to
add and update HTML5 tag generater. [Bug ...
xibbar (Takeyuki FUJIOKA)
02:56 AM Revision 37465: * lib/fileutils.rb (module FileUtils): repatch [ruby-core:39622]
[Feature #5337]. improve performance of FileUtils.compare_stream.
[ruby-core:47545] [Feature #7028]
02:44 AM Revision 37464: * array.c (recursive_equal): fix to return true when self and other
are resized to same size and the current index become out of
* test/ruby/test_array.rb: add a test for the ...
01:19 AM Revision 37463: dir.c: FNM_EXTGLOB
* dir.c (file_s_fnmatch): match with expanding braces if FNM_EXTGLOB
is set. [ruby-core:40037] [Feature #5422]
nobu (Nobuyoshi Nakada)


07:51 PM Revision 37462: * 2012-11-04
07:51 PM Revision 37461: * ChangeLog: fix ML link for r37444 and r37447.
nagachika (Tomoyuki Chikanaga)
02:39 PM Revision 37460: * complex.c: modified doc.
* rational.c: ditto. tadf (tadayoshi funaba)
01:39 PM Revision 37459: * ext/date/date_core.c: modified doc.
tadf (tadayoshi funaba)
09:41 AM Revision 37458: * vm.c (rb_vm_rewrite_ep_in_errinfo, vm_rewrite_ep_in_errinfo):
merge code and remove `rb_vm_rewrite_ep_in_errinfo'. ktsj (Kazuki Tsujimoto)
09:18 AM Revision 37457: * vm.c, proc.c: avoid unnecessary `rb_vm_rewrite_ep_in_errinfo'
calls. ktsj (Kazuki Tsujimoto)
09:14 AM Revision 37456: * ChangeLog: fix.
ktsj (Kazuki Tsujimoto)
08:56 AM Revision 37455: * bin/testrb: Use only Test::Unit::AutoRunner in test-unit gem
compatible API to be available by both test/unit bundled in Ruby
and test-unit gem.
* lib/test/unit.rb (Test::Unit:...
kou (Kouhei Sutou)
05:59 AM Revision 37454: * ext/date/date_parse.c (parse_eu): should capture apostrophe too.
tadf (tadayoshi funaba)
05:47 AM Revision 37453: * ext/date/date_parse.c (date__parse): revised the tight parser.
tadf (tadayoshi funaba)
05:44 AM Revision 37452: * lib/rexml/xmldecl.rb (REXML::XMLDecl#content): Add missing \A
and \z. kou (Kouhei Sutou)
05:43 AM Revision 37451: * lib/rexml/output.rb (REXML::Output#initialize): Use normalized
encoding name. kou (Kouhei Sutou)
05:42 AM Revision 37450: * lib/rexml/output.rb (REXML::Output): Don't output BOM in middle
of the output string.
* test/rexml/test_document.rb: Add a test for the above change.
kou (Kouhei Sutou)
05:11 AM Revision 37449: * NEWS: Add an item about REXML::Document#write.
kou (Kouhei Sutou)
04:58 AM Revision 37448: * test/rexml/test_document.rb: Fix tests that expect encoding name
isn't normalized. kou (Kouhei Sutou)
04:47 AM Revision 37447: * dir.c (Dir#glob):
Documentation for pattern section, backslash subsection
Patch by Eric Bouchut
[ruby-core#48528] [Bug #7230]
zzak (Zachary Scott)
04:46 AM Revision 37446: Revert r37439 and r37441
* lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encoding
module because XMLDecl doesn't conver...
kou (Kouhei Sutou)
04:40 AM Revision 37445: fix typos
04:28 AM Revision 37444: * io.c (IO#new):
Documentation for IO#open modes and formatting
[ruby-core#48052] [Bug #7179]
zzak (Zachary Scott)
04:27 AM Revision 37443: * io.c (IO#new):
Documentation for IO#open modes and formatting
[ruby-core#48052] [Bug #7179]
zzak (Zachary Scott)
04:03 AM Revision 37442: * test/rexml/test_encoding.rb (EncodingTester#test_in_different_out):
Fix a test that expects encoding in XML declaration is changed by
Output's encoding. It is dropped feature.
kou (Kouhei Sutou)
03:55 AM Revision 37441: * test/rexml/test_core.rb (Tester#test_ticket_88): Follow the
change that encoding name in XML declaration isn't normalized. kou (Kouhei Sutou)
03:53 AM Revision 37440: * lib/rexml/document.rb (REXML::Document#write): Document encoding
option. Now different encoding between XML file's encoding and
XML declaration's encodiong is support.
[Feature #...
kou (Kouhei Sutou)
03:41 AM Revision 37439: * lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encoding
module because XMLDecl doesn't convert encoding. This causes
removing XML encoding name normalization (encoding.upc...
kou (Kouhei Sutou)
03:21 AM Revision 37438: * array.c (recursive_equal): fix not to make invalid pointers when
self and other are resized to same size in #== of their elements.
[ruby-dev:46373] [Feature #6177]
03:06 AM Revision 37437: * test/rexml/test_xml_declaration.rb (TestXmlDeclaration#test_*):
Remove needless prefix from test names. kou (Kouhei Sutou)
03:05 AM Revision 37436: * test/rexml/test_xml_declaration_parent_child.rb: Rename to ...
* test/rexml/test_xml_declaration.rb: ... this. kou (Kouhei Sutou)
02:45 AM Revision 37435: * hash.c (rb_hash_delete): Correct grammar
Patch by Glenn Oppegard
[Fixes #208 Github]
zzak (Zachary Scott)
02:35 AM Revision 37434: * NEWS: add a news about GC::Profiler.raw_data.
02:35 AM Revision 37433: * NEWS: add a news about rb_newobj_of() and NEWOBJ_OF().
01:37 AM Revision 37432: * eval.c (f_current_dirname): add the new method for Kernel.
This method almotst same as File.dirname(__FILE__). One
different behavior is it returns nil when __FILE__ returns ...
12:09 AM Revision 37431: * test/ruby/test_refinement.rb (test_new_method_by_send,
test_new_method_by_method_object): add tests for Kernel#send and
Kernel#method with refinements.
* test/ruby/test_...
shugo (Shugo Maeda)


07:14 PM Revision 37430: vm.c: rewrite all catch points
* vm.c (rb_vm_rewrite_ep_in_errinfo): rewrite all catch points in
errinfo, not only the topmost frame. based on th...
nobu (Nobuyoshi Nakada)
03:28 PM Revision 37429: * 2012-11-03
03:28 PM Revision 37428: * ChangeLog: add explanation about how performace is improved in r37420.
11:11 AM Revision 37427: mkmf.rb: timestamp_file
* lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like
configure variables.
nobu (Nobuyoshi Nakada)
11:02 AM Revision 37426: mkmf.rb: timestamp_file
* lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a
special character of NMAKE and BSD make. [Bug...
nobu (Nobuyoshi Nakada)
08:56 AM Revision 37425: * lib/test/unit.rb (_run_parallel): Delete status line before showing
results. Patch by Hiroshi Shirosaki. [Bug #6897] [ruby-core:47250]
* lib/test/unit.rb (_run_parallel): Fix strange r...
sorah (Sorah Fukumori)
08:53 AM Revision 37424: * object.c (rb_mod_to_s): Module#{to_s,inspect}, when invoked on
a refinement, returns a string in the format #<refinement:C@M>,
where C is a refined class and M is a module at whi...
shugo (Shugo Maeda)
08:00 AM Revision 37423: * vm_dump.c (rb_vm_bugreport): Because of many log directories,
making directory lists readable. sorah (Sorah Fukumori)
07:52 AM Revision 37422: * vm_dump.c (rb_vm_bugreport): add ~/Library/Logs/DiagnosticReports
in the locations list of crash reports. mrkn (Kenta Murata)
07:16 AM Revision 37421: * ChangeLog: added a missed space
07:04 AM Revision 37420: * array.c (recursive_equal): performance improvement.
[ruby-dev:45412] [Feature #6177] glass
05:48 AM Revision 37419: * 2012-11-02
05:48 AM Revision 37418: * string.c (sym_to_proc, sym_call): A Proc created by Symbol#to_proc
should close over the current refinements.
[ruby-dev:46345] [Bug #7261]
* vm_eval.c (rb_call0, rb_search_method_en...
shugo (Shugo Maeda)


11:24 PM Revision 37417: proc.c: main.define_method
* proc.c (top_define_method): new method, main.define_method.
[ruby-core:45715] [Feature #6609]
nobu (Nobuyoshi Nakada)
11:23 PM Revision 37416: eval.c: fix message
* eval.c (top_include): fix a warning message, main is not a class or
nobu (Nobuyoshi Nakada)
07:48 PM Revision 37415: suppress warning: 'val' may be used uninitialized in this function
naruse (Yui NARUSE)
07:41 PM Revision 37414: mkmf.rb: timestamp_file
* lib/mkmf.rb (MakeMakefile#timestamp_file): use ! instead of %, a GNU
make special character.
nobu (Nobuyoshi Nakada)
07:40 PM Revision 37413: test_process.rb: use never existing file
* test/ruby/test_process.rb (test_execopts_preserve_env_on_exec_failure):
use never existing file in the current te...
nobu (Nobuyoshi Nakada)
07:24 PM Revision 37412: * tool/merger.rb: add feature to tag preview/rc.
naruse (Yui NARUSE)
06:24 PM Revision 37410: lib/mkmf.rb: fix for if config["libdir"] is nil.
naruse (Yui NARUSE)
06:22 PM Revision 37409: * tool/make-snapshot: fix wrong regexp for releasing preview.
patched by mame. naruse (Yui NARUSE)
01:29 PM Revision 37408: * NEWS: add a news about objspace,
ObjectSpace.reachable_objects_from. ko1 (Koichi Sasada)
01:04 PM Revision 37407: * ext/bigdecimal/bigdecimal.c (BigDecimal_new),
Fix exception message of BigDecimal constructor with a Float.
mrkn (Kenta Murata)
01:03 PM Revision 37406: * ext/bigdecimal/bigdecimal.c (BigDecimal_add),
need to specify precision for converting Rational and Float.
mrkn (Kenta Murata)
12:46 PM Revision 37405: * test/ruby/test_process.rb: Revert r37404. My ubuntu box has
actually the directory named "/nonexistent"... Sorry. mame (Yusuke Endoh)
12:33 PM Revision 37404: * test/ruby/test_process.rb: Process.exec raised EACCES on Linux
3.5.0-17-generic. This is a temporal fix to rescue that exception.
Needs kosaki's review.
mame (Yusuke Endoh)
12:20 PM Revision 37403: iseq.c: fix r37397
* iseq.c (set_relation): parent_iseq need to be set regardless iseq
type. fix r37397.
nobu (Nobuyoshi Nakada)
10:47 AM Revision 37402: thread_pthread.c: RUBY_STACK_MIN
* thread_pthread.c (RUBY_STACK_MIN): may not a compile time constant.
fix r37079. [ruby-dev:46322] [Bug #7247]
nobu (Nobuyoshi Nakada)
07:48 AM Revision 37401: * NEWS: add note for Module#refine, Module#refinements,
Module#using, and Kernel#using. shugo (Shugo Maeda)
05:45 AM Revision 37400: * ChangeLog: fix indentation.
shugo (Shugo Maeda)
05:45 AM Revision 37399: * eval.c (rb_using_module): using should be used indirectly.
[ruby-dev:46326] [Feature #7251] shugo (Shugo Maeda)
04:17 AM Revision 37398: * 2012-11-01
04:17 AM Revision 37397: iseq.c: simplify
* iseq.c (set_relation): simplify and merge same conditions. nobu (Nobuyoshi Nakada)


09:22 AM Revision 37396: * gc.c (gc_profile_record): don't define unused variables when
09:22 AM Revision 37395: * gc.c (gc_prof_mark_timer_stop): count is not initialized.
12:29 AM Revision 37394: * thread.c (rb_thread_call_without_gvl2): Note that ubf() may or may
not be called with the GVL. Hinted that rb_thread_call_with_gvl()
can be used to access ruby functionality. [ruby...
drbrain (Eric Hodel)
12:07 AM Revision 37393: * thread.c (rb_thread_call_without_gvl2): Update documentation to
natural English.
* thread.c (rb_thread_call_with_gvl): ditto.
drbrain (Eric Hodel)

Also available in: Atom