From 10/30/2012 to 11/05/2012


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)


05:54 PM Revision 37392: * 2012-10-31
05:54 PM Revision 37391: * ext/dl/lib/dl/struct.rb: fix strange require order. [ruby-dev:45702]
* ext/dl/lib/dl/value.rb: ditto
* test/dl/test_c_struct_entry.rb: remove strange require order from
* test...
02:58 PM Revision 37390: * eval.c (rb_mod_refine): fix the error message when no block is
given. [ruby-dev:46319] [Bug #7244]
* test/ruby/test_refinement.rb: related test.
shugo (Shugo Maeda)
12:13 PM Revision 37389: fix typos
10:32 AM Revision 37388: * process.c (redirect_dup2): set standard handles when new fd is stdio,
because if there is no allocated console at the moment Windows does
not automatically associate it for child proces...
usa (Usaku NAKAMURA)
12:40 AM Revision 37387: Check if there is no error before reconnect [Bug #4387]
naruse (Yui NARUSE)

Also available in: Atom