From 10/28/2012 to 11/03/2012


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)


06:08 PM Revision 37386: rbconfig/obsolete.rb: Config
* lib/rbconfig/obsolete.rb (Config): re-introduce warnings for a
lame-duck. [ruby-core:46836] [Bug #6809]
nobu (Nobuyoshi Nakada)
05:22 PM Revision 37385: * 2012-10-30
05:22 PM Revision 37384: * thread.c: added Thread#thread_variable_(get|set),
Thread#thread_variable?, and Thread#thread_variables for operating
on variables that are local to threads. [ruby-co...
09:31 AM Revision 37383: load.c: adjust style
* load.c (loaded_feature_path): adjust style. nobu (Nobuyoshi Nakada)
09:23 AM Revision 37382: stringio.c: close separatedly
* ext/stringio/stringio.c (strio_close): close separatedly per each
instances, as well as IO.
nobu (Nobuyoshi Nakada)
08:52 AM Revision 37381: Use assert_normal_exit to split process
naruse (Yui NARUSE)
03:19 AM Revision 37380: gc.c: PRIuSIZE
* gc.c (gc_profile_dump_on): use PRIuSIZE instead of 'zu'. nobu (Nobuyoshi Nakada)
01:25 AM Revision 37379: * properties.
nobu (Nobuyoshi Nakada)
01:23 AM Revision 37378: * ext/psych/lib/psych/handlers/recorder.rb: added a class for
recording YAML parse and emit events.
* ext/psych/lib/psych/handler.rb: adding a list of events so that
handler cl...


09:20 PM Revision 37377: Update Changelog
marcandre (Marc-Andre Lafortune)
09:20 PM Revision 37376: * lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Sawyer
[ruby-core:42779] [Feature #6056] marcandre (Marc-Andre Lafortune)
09:19 PM Revision 37375: * lib/ostruct.rb: Also accept {Open}Struct as argument to new
[ruby-core:47476] [Feature #7007] marcandre (Marc-Andre Lafortune)
09:19 PM Revision 37374: * lib/ostruct.rb: Simplify code
marcandre (Marc-Andre Lafortune)
09:19 PM Revision 37373: * lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hash
[ruby-core:42651] [Bug #6029] marcandre (Marc-Andre Lafortune)
09:18 PM Revision 37372: * lib/ostruct.rb (each_pair): Add #each_pair [#1400]
marcandre (Marc-Andre Lafortune)
09:18 PM Revision 37371: * lib/ostruct.rb: Protect new_ostruct_member [ruby-core:42779] [#6056]
marcandre (Marc-Andre Lafortune)
09:18 PM Revision 37370: * lib/ostruct.rb: Remove rdoc details on marshal_{load|dump} and fix rdoc
[ruby-core:42557] [ruby-core:42780] marcandre (Marc-Andre Lafortune)
06:21 PM Revision 37369: * 2012-10-29
06:21 PM Revision 37368: * lib/matrix.rb: Fix determinant_e [ruby-dev:46305] [Bug #7228]
marcandre (Marc-Andre Lafortune)
02:54 PM Revision 37367: * test/rexml/test_document.rb: Remove needless indent.
kou (Kouhei Sutou)
02:53 PM Revision 37366: * test/rexml/test_document.rb: Add tests for parsing XML encoded
by UTF-8 with BOM. kou (Kouhei Sutou)
02:52 PM Revision 37365: * lib/rexml/source.rb: Move encoding detection code to base class.
* lib/rexml/encoding.rb: Remove needless encoding detection code. kou (Kouhei Sutou)
12:52 PM Revision 37364: * ChangeLog: add ML and ticket ref for r37343.
nagachika (Tomoyuki Chikanaga)
12:42 PM Revision 37363: * lib/rexml/parsers/baseparser.rb: Fix a bug that UTF-8 is used
for UTF-16XX encoded XML that doesn't have encoding="UTF-16" in
XML declration.
* test/rexml/test_document.rb: Add ...
kou (Kouhei Sutou)
12:39 PM Revision 37362: * test/rexml/test_document.rb: Group tests that they parse
UTF-16XX encoded XML that has encoding="UTF-16" in XML declaration. kou (Kouhei Sutou)
12:31 PM Revision 37361: * lib/rexml/source.rb (REXML::IOSource#initialize): Reduce
@line_break initialize code. It should be done only in #encoding=.
* lib/rexml/parsers/baseparser.rb: Don't set UTF-1...
kou (Kouhei Sutou)
12:19 PM Revision 37360: * test/rexml/test_document.rb: Add tests for parsing XML encoded
by UTF-16 with BOM. kou (Kouhei Sutou)
11:20 AM Revision 37359: Revert r37358
* lib/rexml/source.rb (REXML::IOSource#initialize): Use
encode("UTF-16XX") instead of UTF-16XX encoded byte string ...
kou (Kouhei Sutou)
10:57 AM Revision 37358: * lib/rexml/source.rb (REXML::IOSource#initialize): Use
encode("UTF-16XX") instead of UTF-16XX encoded byte string by
kou (Kouhei Sutou)
10:16 AM Revision 37357: * ext/date/date_parse.c (iso8601_{ext,bas}_time): should not match
empty string.
- この行以下は無視されます --
M ChangeLog
M ext/date/date_parse.c
M test/date/test_date_parse.rb
tadf (tadayoshi funaba)
09:53 AM Revision 37356: * ext/date/date_parse.c (date__parse): revised the tight parser.
tadf (tadayoshi funaba)
06:43 AM Revision 37355: * lib/rexml/document.rb (REXML::Document#write): Add :encoding option
to support custom XML encoding.
[Feature #4872] (work in progress)
* test/rexml/test_document.rb: Add tests for the...
kou (Kouhei Sutou)
06:01 AM Revision 37354: * lib/rexml/document.rb (REXML::Document#write): Remove needless
indent in document. kou (Kouhei Sutou)
05:59 AM Revision 37353: * lib/rexml/document.rb (REXML::Document#write): Accept options
Hash as argument.
* test/rexml/test_document.rb: Add tests for the above change.
kou (Kouhei Sutou)
05:10 AM Revision 37352: * lib/rexml/document.rb (REXML::Document#write): Fix wrong usage
in document. kou (Kouhei Sutou)
05:05 AM Revision 37351: * lib/rexml/document.rb (REXML::Document#write): Fix wrong method
names in document. kou (Kouhei Sutou)
01:13 AM Revision 37350: * ext/psych/lib/psych/visitors/yaml_tree.rb: `tree` should return the
same thing on every call.
* test/psych/visitors/test_yaml_tree.rb: related test.
01:06 AM Revision 37349: * ext/psych/lib/psych/visitors/yaml_tree.rb: YAML Tree object should
be able to take an emitter object as it's output.
* test/psych/visitors/test_yaml_tree.rb: related test.
12:03 AM Revision 37348: * bignum.c (bignew_1): Bignum instances are frozen.
Feature #3222
* include/ruby/ruby.h: Fixnum instances are also frozen.
* class.c (singleton_class_of): check Bignum b...
ko1 (Koichi Sasada)

Also available in: Atom