From 10/06/2012 to 10/12/2012


06:01 PM Revision 37174: file.c: GC guard
* file.c (realpath_rec): prevent link from GC while link_names refers
the content.
nobu (Nobuyoshi Nakada)
04:38 PM Revision 37171: * test/ruby/test_regexp.rb
(TestRegexp#test_raw_hyphen_and_type_char_after_range): added new
test. ref [ruby-core:47115] [Backport #6853]
usa (Usaku NAKAMURA)
04:03 PM Revision 37170: * 2012-10-13
04:03 PM Revision 37169: use tty(1) to check if /dev/tty is usable or not
naruse (Yui NARUSE)
01:30 PM Revision 37168: win32.h: set floating point precision for pow()
* include/ruby/win32.h (rb_w32_pow): set floating point precision
for mingw-w64 x86 pow(). This improves the precis...
01:30 PM Revision 37167: test_cgi.rb: skip a test on Windows
* test/webrick/test_cgi.rb (TestWEBrickCGI#test_cgi): skip a test
depending on locale on Windows. ENV[] doesn't wor...
11:41 AM Revision 37166: * process.c (posix_sh_cmds): the command name of colon is ":".
akr (Akira Tanaka)
09:18 AM Revision 37163: file.c: poisoned NUL
* file.c (rb_get_path_check): path name must not contain NUL bytes. nobu (Nobuyoshi Nakada)
08:19 AM Revision 37157: Fix wrong condition of skipping test_ioctl_linux
naruse (Yui NARUSE)
07:07 AM Revision 37154: * tool/merger.rb: now can merge revision(s) without --ticket again.
usa (Usaku NAKAMURA)
05:10 AM Revision 37153: mkmf.rb: use configured libdir value
* lib/mkmf.rb (dir_config, init_mkmf): use configured libdir value as
default library path. [ruby-core:43726] [Bug...
nobu (Nobuyoshi Nakada)


08:26 PM Revision 37146: * 2012-10-12
08:26 PM Revision 37145: * lib/timeout.rb (timeout):
Remove paragraph on wrong implementation detail.
[ruby-core:47739] [Bug #7088]
zzak (Zachary Scott)
02:09 PM Revision 37143: string.c: GC guard
* string.c (rb_str_sub{seq,pos,str}, rb_str_each_{line,codepoint}):
prevent String copies from GC. [ruby-core:4788...
nobu (Nobuyoshi Nakada)
06:50 AM Revision 37142: test_string.rb: missing test
* test/ruby/test_string.rb (test_each_codepoint): missing test. nobu (Nobuyoshi Nakada)
06:50 AM Revision 37141: test_string.rb: suppress warnings
* test/ruby/test_string.rb (test_match_method): use unique objects in
TestString and TestString2.
* test/ruby/test...
nobu (Nobuyoshi Nakada)
06:50 AM Revision 37140: test_string.rb: highlighting
* test/ruby/test_string.rb (test_LSHIFT, test_succ): get rid of
ruby-mode.el confusion.
nobu (Nobuyoshi Nakada)
12:50 AM Revision 37137: Suppress warning: 'iseqval' may be used uninitialized in this function
naruse (Yui NARUSE)


10:43 PM Revision 37136: * iseq.c (insn_operand_intern): cast op to rb_call_info_t* before
compare with iseq->callinfo_entries whose type is rb_call_info_t*. naruse (Yui NARUSE)
06:38 PM Revision 37135: * bootstraptest/test_block.rb: add tests for block with super.
ko1 (Koichi Sasada)
05:55 PM Revision 37134: * vm_dump.c: fix debug prints to catch up recent changes
such as VM data structures. ko1 (Koichi Sasada)
05:52 PM Revision 37133: * 2012-10-11
05:52 PM Revision 37132: * iseq.c (insn_operand_intern): add support disasm TS_CALLINFO
operands. ko1 (Koichi Sasada)
12:38 PM Revision 37131: Rename variabls
* uid always stores uid
* user stores username or nil
naruse (Yui NARUSE)
08:08 AM Revision 37130: Test both username and uid
* system(, uid: ) takes username or uid
* ENV["USER"] may be nil (sudo or jail)
naruse (Yui NARUSE)
06:14 AM Revision 37129: * 2012-10-10
06:14 AM Revision 37128: * test/ruby/test_process.rb (TestProcess#test_execopts_gid): skip on
windows because the platform does not have method.
patched by Jon Forums in [ruby-core:47878] [Bug #7...
usa (Usaku NAKAMURA)


02:18 PM Revision 37127: envutil.rb: assert_file and assert_file_not
* test/ruby/envutil.rb (assert_file, assert_file_not): more
descriptive assertions for File predicates.
nobu (Nobuyoshi Nakada)
09:01 AM Revision 37126: array.c: use rb_random_ulong_limited
* array.c (rb_ary_sample): use rb_random_ulong_limited, since
precision of long may be larger than double.
nobu (Nobuyoshi Nakada)
08:59 AM Revision 37125: random.c: rb_random_ulong_limited
* random.c (rb_random_ulong_limited): new function to return a random
value from 0 upto limit as unsigned long, sim...
nobu (Nobuyoshi Nakada)
08:13 AM Revision 37124: process.c: uid gid exec options
* process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and
:gid options. [ruby-core:47414] [Feature #6975]
nobu (Nobuyoshi Nakada)
08:05 AM Revision 37123: * ChangeLog: fix typo.
nobu (Nobuyoshi Nakada)
05:37 AM Revision 37122: * iseq.c (iseq_free): fix memory leak.
rb_iseq_t::callinfo_entries should be freed. ko1 (Koichi Sasada)
05:33 AM Revision 37121: * vm_core.h (rb_call_info_t): add new type `rb_call_inf_t'.
This data structure contains information including inline method
cache. After that, `struct iseq_inline_cache_entry...
ko1 (Koichi Sasada)


04:40 PM Revision 37120: * 2012-10-09
04:40 PM Revision 37119: * ext/zlib/zlib.c (zstream_run_func): don't call inflate() when
z->stream.avail_in == 0. it return Z_BUF_ERROR.
but deflate() could be called with z->stream->avail_in == 0 because...
nagachika (Tomoyuki Chikanaga)
02:56 PM Revision 37118: * eval.c (rb_mod_refinements): new method Module#refinements.
* test/ruby/test_refinement.rb: add new tests for the above changes. shugo (Shugo Maeda)
02:02 PM Revision 37117: * eval.c, gc.c, iseq.c, node.h, vm_insnhelper.c, vm_insnhelper.h,
vm_method.c: rename omod and overlaid modules to refinements.
* eval.c (hidden_identity_hash_new): renamed from iden...
shugo (Shugo Maeda)


05:14 PM Revision 37116: fix typos
05:10 PM Revision 37115: * 2012-10-08
05:10 PM Revision 37114: fix ML ref


08:03 PM Revision 37113: * lib/abbrev.rb: Documentation examples for Abbrev.
[ruby-dev:47442] [Bug #6985] zzak (Zachary Scott)
07:51 PM Revision 37112: * thread.c (rb_thread_aref):
Grammar in Thread documentation.
Patch by Steve Klabnik [ruby-dev:47799] [Bug #7099]
zzak (Zachary Scott)
07:48 PM Revision 37111: * string.c (rb_str_match):
Clarify behavior for captured strings and local variable assignment
Patch by Marcus Stollsteimer [ruby-dev:47668] [...
zzak (Zachary Scott)
07:38 PM Revision 37110: * 2012-10-07
07:38 PM Revision 37109: * string.c (rb_str_match):
Clarify behavior for captured strings and local variable assignment
Patch by Marcus Stollsteimer [ruby-dev:47668] [...
zzak (Zachary Scott)
02:26 PM Revision 37108: * test/openssl/test_config.rb (OpenSSL#test_constants): skip only when
DEFAULT_CONFIG_FILE does not exist. nobu (Nobuyoshi Nakada)
02:22 PM Revision 37107: reapply r37098
UTF-16 and UTF-32 are also treated as unicode since r37101. nobu (Nobuyoshi Nakada)
09:36 AM Revision 37106: * vm_opts.h (OPT_GLOBAL_METHOD_CACHE): new build option to
enable/disable global method caching. [ruby-dev:46203] [Bug #7111]
* vm_method.c (rb_method_entry_get_with_omod): do...
shugo (Shugo Maeda)
07:32 AM Revision 37105: * vm_method.c (search_method): check omod only once for performance.
shugo (Shugo Maeda)
03:04 AM Revision 37104: Revert r37098
This reverts
* encoding.c (rb_enc_unicode_p): oniguruma provides Unicode flag.
because UTF-16 and UTF-32 is also trea...
naruse (Yui NARUSE)
12:50 AM Revision 37103: gc.c: use markable_object_p
* gc.c (gc_mark_children): use markable_object_p() and reduce
duplicated code.
nobu (Nobuyoshi Nakada)
12:48 AM Revision 37102: test_objspace.rb: refine
* test/objspace/test_objspace.rb (test_reachable_objects_from): use
proper assertions, and show messages than comme...
nobu (Nobuyoshi Nakada)
12:42 AM Revision 37101: encoding.c: unicode_p
* enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): endian-less wide
UTF encodings are dummy but Unicode.
* encodin...
nobu (Nobuyoshi Nakada)

Also available in: Atom