From 08/02/2013 to 08/08/2013


04:27 PM Revision 42453: suppress warning introduced by r42439 [ruby-dev:47040]
naruse (Yui NARUSE)
03:15 PM Revision 42452: install arch
* (do-install-arch): install architecture dependent files
all, including libraries.
nobu (Nobuyoshi Nakada)
03:10 PM Revision 42451: * 2013-08-09
03:10 PM Revision 42450: enumerator.c: fix non-single argument
* enumerator.c (lazy_zip_func): fix non-single argument. fix
out-of-bound access and pack multiple yielded values....
nobu (Nobuyoshi Nakada)
02:01 PM Revision 42449: object.c: Module#singleton_class?
* object.c (rb_mod_singleton_p): new method Module#singleton_class? to
return whether the receiver is a singleton c...
nobu (Nobuyoshi Nakada)
01:09 PM Revision 42448: fix typos
12:59 PM Revision 42447: * time.c (time_overflow_p): Avoid signed integer overflow.
(rb_time_new): Fix overflow condition. akr (Akira Tanaka)
12:34 PM Revision 42446: Fix the previous commit.
akr (Akira Tanaka)
12:13 PM Revision 42445: * time.c (time_overflow_p): Avoid signed integer overflow.
akr (Akira Tanaka)
11:00 AM Revision 42444: * thread.c (rb_threadptr_pending_interrupt_check_mask):
use RARRAY_RAWPTR() instead of RARRAY_PTR() because
there is no new reference.
ko1 (Koichi Sasada)
10:58 AM Revision 42443: * string.c (rb_str_format_m): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference. ko1 (Koichi Sasada)
10:56 AM Revision 42442: * include/ruby/ruby.h: define USE_RGENGC_LOGGING_WB_UNPROTECT.
ko1 (Koichi Sasada)
07:50 AM Revision 42441: * include/ruby/ruby.h: add old macro name `RUBY_EVENT_SWITCH'.
This macro name is obsolete because it is renamed to
RUBY_INTERNAL_EVENT_SWITCH, but it has compatibility problem
ko1 (Koichi Sasada)
06:42 AM Revision 42439: * test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'
instead of `p' to get rid of a side effect.
Kernel#p without any argument seems to do nothing, but flushes stdout.
usa (Usaku NAKAMURA)
05:56 AM Revision 42438: * properties.
nobu (Nobuyoshi Nakada)
05:56 AM Revision 42437: * NEWS: add description of incompatibility introduced by r42396.
[ruby-core:56329] [Bug #8722] shugo (Shugo Maeda)
05:54 AM Revision 42436: * (mini): portable target to build miniruby
* (bisect): run git-bisect with miniruby
* (bisect-ruby): run git-bisect with ruby
* tool/bisec...
naruse (Yui NARUSE)
05:48 AM Revision 42435: proc.c: constifiy
* proc.c (rb_proc_call_with_block): constifiy argv. nobu (Nobuyoshi Nakada)
05:35 AM Revision 42434: test_range.rb: remove invalid assertions
* test/ruby/test_range.rb: remove invalid assertions for [Bug #8739]. nobu (Nobuyoshi Nakada)
03:14 AM Revision 42433: * test/webrick/test_httpresponse.rb (test_send_body_*_chunked): these
expectations assumes that the IOs are binmode. fixed test failures
introduced at r42427 on Windows.
usa (Usaku NAKAMURA)
02:16 AM Revision 42432: Follow r42431
Follow tests to revert r42400. [Bug #8739] naruse (Yui NARUSE)
01:27 AM Revision 42431: range.c: revert r42400
* range.c (range_last): revert r42400. [Bug #8739] nobu (Nobuyoshi Nakada)
01:26 AM Revision 42430: file.c: rb_str_normalize_ospath
* file.c (rb_str_normalize_ospath): extract and move from dir.c. nobu (Nobuyoshi Nakada)


09:00 PM Revision 42429: * test/openssl/test_ssl.rb: Fix test for CVE-2013-4073.
Patch by Antonio Terceiro. [Bug #8750] [ruby-core:56437] charliesome (Charlie Somerville)
06:38 PM Revision 42428: * 2013-08-08
06:38 PM Revision 42427: * lib/webrick/httpresponse.rb: Allow #body to be an IO-like object
that responds to #readpartial and #read.
[ruby-trunk - Feature #8155]
* NEWS: NEWS for above
* test/webrick/test_h...
drbrain (Eric Hodel)
02:12 PM Revision 42426: Add Process.argv0.
* ruby.c (Process.argv0): New method to return the original value
of $0. [Feature #8696]
knu (Akinori MUSHA)
02:12 PM Revision 42425: Add Process.setproctitle().
* ruby.c (Process.setproctitle): New method to change the title of
the running process that is shown in ps(1). [Fea...
knu (Akinori MUSHA)
11:08 AM Revision 42424: * bignum.c (rb_big_odd_p): Check the bignum length.
(rb_big_even_p): Ditto. akr (Akira Tanaka)
10:31 AM Revision 42423: * bignum.c (dbl2big): A condition simplified.
akr (Akira Tanaka)
07:40 AM Revision 42422: * ChangeLog: missed ticket number.
usa (Usaku NAKAMURA)
07:39 AM Revision 42421: * test/webrick/test_cgi.rb (TestWEBrickCGI#{start_cgi_server,test_cgi}):
mswin is not only mswin32 but also mswin64. [Bug #8746] usa (Usaku NAKAMURA)
07:19 AM Revision 42420: * cont.c (rb_fiber_start): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference.
* proc.c (curry): ditto.
* proc.c (rb_proc_call): remove line break.
ko1 (Koichi Sasada)
04:20 AM Revision 42419: * random.c (random_load): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference. ko1 (Koichi Sasada)
03:59 AM Revision 42418: * thread.c (thread_start_func_2): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference. ko1 (Koichi Sasada)
12:02 AM Revision 42417: * string.c: [DOC] Description of rb_str_equal [Fixes GH-375]
Based on a patch by @markijbema
zzak (Zachary Scott)


11:32 PM Revision 42416: * ext/openssl/ossl_hmac.c: [DOC] Documentation for OpenSSL::HMAC
based on a patch by @repah documenting-ruby/ruby#14
zzak (Zachary Scott)
10:46 PM Revision 42415: * lib/rss/utils.rb: [DOC] RSS::Utils by Steve Klabnik [Bug #8745]
zzak (Zachary Scott)
10:43 PM Revision 42414: * 2013-08-07
10:43 PM Revision 42413: * bignum.c (nlz16): Removed.
(nlz32): Ditto.
(nlz64): Ditto.
(nlz128): Ditto.
(nlz_int): New function.
(nlz_long): New function.
akr (Akira Tanaka)
01:46 PM Revision 42412: Typo from r42411
zzak (Zachary Scott)
01:39 PM Revision 42411: * time.c: [DOC] Typo in Time overview by @sparr [Fixes GH-374] zzak (Zachary Scott)
01:36 PM Revision 42410: * lib/rss/1.0.rb: [DOC] Document RSS110 by Steve Klabnik [Bug #8740]
zzak (Zachary Scott)
01:19 PM Revision 42409: * ext/readline/readline.c (readline_s_delete_text): remove
checking "$SAFE == 4".
* ext/readline/readline.c: fix rdoc, remove "Raises SecurityError"
and add "Raises NotImple...
kouji (Kouji Takao)
01:07 PM Revision 42408: * ext/readline/readline.c, test/readline/test_readline.rb: fix
indent. kouji (Kouji Takao)
12:59 PM Revision 42407: range.c: return nil for empty range
* range.c (range_last): return nil for empty range, or in the case the
predecessor is smaller than the begin. [Bug...
nobu (Nobuyoshi Nakada)
12:56 PM Revision 42406: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
12:52 PM Revision 42405: * ext/readline/readline.c (readline_s_set_point, Init_readline):
add Readline.point=(pos). Patched by naruse. [ruby-dev:47535]
[Feature #8675]
kouji (Kouji Takao)
12:38 PM Revision 42404: json/add/range.rb: use Range#end
* ext/json/lib/json/add/range.rb (Range#as_json): use Range#end
instead of Range#last which can be affected by Rang...
nobu (Nobuyoshi Nakada)
12:38 PM Revision 42403: net/http/header.rb: remove a hack
* lib/net/http/header.rb (Net::HTTPHeader#set_range): remove a hack
for the bug fixed at [Bug #8739].
nobu (Nobuyoshi Nakada)
12:24 PM Revision 42402: * ext/readline/readline.c (Init_readline, readline_s_set_output)
(clear_rl_outstream, readline_s_set_input, clear_rl_instream)
(readline_readline): fix causing SEGV if closed IO obje...
kouji (Kouji Takao)
08:59 AM Revision 42401: * vm_insnhelper.c (vm_push_frame): change type of stack_max to size_t.
ko1 (Koichi Sasada)
08:42 AM Revision 42400: range.c: consider exclusive
* range.c (range_last): exclude the last number of the exclusive range
if the end is Numeric. [ruby-dev:47587] [Bu...
nobu (Nobuyoshi Nakada)
08:42 AM Revision 42399: win32.c: fix conversion
* win32/win32.c (rb_w32_conv_from_wchar): converted string to CP_UTF8
should have UTF-8 encoding. otherwise no con...
nobu (Nobuyoshi Nakada)
08:33 AM Revision 42398: * vm_insnhelper.c (vm_push_frame): fix stack overflow check codes.
Stack overflow check should be done *after* pushing a stack frame.
However, some stack overflow checking codes chec...
ko1 (Koichi Sasada)
08:02 AM Revision 42397: win32.c: conversion from WCHAR
* win32/win32.c (rb_w32_conv_from_wchar): use WideCharToMultiByte(),
as like as mbstr_to_wstr(), in the first step ...
nobu (Nobuyoshi Nakada)
07:15 AM Revision 42396: * vm_eval.c (eval_string_with_cref): copy cref to limit the scope of
refienements in the eval string. [ruby-core:56329] [Bug #8722]
* test/ruby/test_refinement.rb: related test.
shugo (Shugo Maeda)
07:04 AM Revision 42395: string.c: fix typo
* string.c (rb_str_ellipsize): [DOC] fix typo, "encoding" instead of
"encoded" which is probably a slip of the auto...
nobu (Nobuyoshi Nakada)
05:12 AM Revision 42394: win32.c: supprss warning
* win32/win32.c (rb_w32_system_tmpdir): supprss a sign-compare
nobu (Nobuyoshi Nakada)
03:33 AM Revision 42393: [DOC] refine a call seq.
akr (Akira Tanaka)
03:26 AM Revision 42392: * bignum.c (rb_big_realloc): Use VALGRIND_MAKE_MEM_UNDEFINED to
declare undefined memory area.
(bignew_1): Ditto.
* internal.h (VALGRIND_MAKE_MEM_DEFINED): Moved from gc.c
akr (Akira Tanaka)


04:42 PM Revision 42391: * process.c: [DOC] Document caveats of command form of Process.spawn
with regard to the shell and OS. Patched by Steve Klabnik [Bug #8550] zzak (Zachary Scott)
04:29 PM Revision 42390: * lib/rss/0.9.rb: [DOC] Typo in example [Bug #8732]
zzak (Zachary Scott)
04:25 PM Revision 42389: * 2013-08-06
04:25 PM Revision 42388: * lib/rss/2.0.rb: [DOC] Document RSS::Rss by Steve Klabnik #8740
* lib/rss/atom.rb: [DOC] Typo in rdoc by Steve Klabnik zzak (Zachary Scott)
02:50 PM Revision 42387: * bignum.c: Rename local variables.
akr (Akira Tanaka)
01:25 PM Revision 42386: * vm_trace.c: [DOC] Fix TracePoint return values in examples
Based on a patch by @sho-h [Fixes GH-373]
zzak (Zachary Scott)
08:38 AM Revision 42385: win32.c: conversion to WCHAR
* win32/win32.c (rb_w32_write_console): use MultiByteToWideChar() for
the last step of conversion to WCHAR, to get ...
nobu (Nobuyoshi Nakada)
08:33 AM Revision 42384: win32.c: fix wrong trimming
* win32/win32.c (wstr_to_mbstr, mbstr_to_wstr): fix wrong trimming.
WideCharToMultiByte() and MultiByteToWideChar()...
nobu (Nobuyoshi Nakada)
08:32 AM Revision 42383: test_econv.rb: assert_separately
* test/ruby/test_econv.rb (test_default_external): use
assert_separately for clearer messages.
nobu (Nobuyoshi Nakada)
05:02 AM Revision 42382: fix typos
02:51 AM Revision 42381: * include/ruby/encoding.h: document which user flags are used by
ENCODING_MASK for better greppability charliesome (Charlie Somerville)
01:02 AM Revision 42380: * object.c (rb_class_inherited_p): allow iclasses to be tested for
inheritance. [Bug #8686] [ruby-core:56174]
* test/ruby/test_method.rb: add test
charliesome (Charlie Somerville)


09:15 PM Revision 42379: * enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle
Patch by @kachick [Fixes GH-372]
zzak (Zachary Scott)
06:58 PM Revision 42378: * lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732]
zzak (Zachary Scott)
06:37 PM Revision 42377: * 2013-08-05
06:37 PM Revision 42376: * lib/rexml/attribute.rb: [DOC] Update example for #namespace
Patch by Ippei Obayashi [Bug #8685] [ruby-core:56173] zzak (Zachary Scott)
12:24 PM Revision 42374: * array.c (rb_ary_zip): performance implement by using
ALLOCA_N() to allocate tmp buffer. glass
01:31 AM Revision 42372: * ext/tk/extconf.rb: Don't add "-ltk -ltcl" for MacOSX frameworks, because they may link improper libraries.
nagai (Hidetoshi Nagai)


10:15 PM Revision 42367: * README.EXT, README.EXT.ja: Mention rb_integer_pack and
rb_integer_unpack. akr (Akira Tanaka)
09:53 PM Revision 42366: * ext/stringio/stringio.c (strio_substr): Trivial fix for invalid
pointer when len = 0 and pos outside of string. Bug #8728. headius (Charles Nutter)
04:58 PM Revision 42365: * bignum.c (BARY_TRUNC): New macro.
(bary_cmp): Use BARY_TRUNC.
(bary_mul_toom3): Ditto.
(bary_divmod): Ditto.
(abs2twocomp): Ditto.
akr (Akira Tanaka)
04:01 PM Revision 42364: * bignum.c (big2str_karatsuba): Don't allocate new temporary buffer
if the buffer is enough for current invocation. akr (Akira Tanaka)
03:41 PM Revision 42363: bignum.c: suppress warnings
* bignum.c (power_cache_get_power): declare as inline before call to
suppress warnings from gcc 4.2.
nobu (Nobuyoshi Nakada)
03:26 PM Revision 42362: * 2013-08-04
03:26 PM Revision 42361: * bignum.c (bary2bdigitdbl): New function.
(bdigitdbl2bary): Ditto.
(bary_mul_single): Use bdigitdbl2bary.
(power_cache_get_power): Ditto.
(bary_divmod): ...
akr (Akira Tanaka)
02:20 PM Revision 42360: * bignum.c: The branch condition of selecting multiplication
algorighms should check smaller argument because Karatsuba and Toom3
is effective only if both arguments are big.
akr (Akira Tanaka)
01:27 PM Revision 42356: * bignum.c (big2str_orig): Receive the number to stringize as
BDIGIT array and size.
(big2str_karatsuba): Receive the number to stringize as BDIGIT array
and size. Use an tem...
akr (Akira Tanaka)
12:23 PM Revision 42354: Add missing require
naruse (Yui NARUSE)
07:57 AM Revision 42352: Fix test failure to follow r42347 ref #3753
naruse (Yui NARUSE)
04:32 AM Revision 42351: * bignum.c (MAX_BASE36_POWER_TABLE_ENTRIES): Renamed from
(base36_power_cache): Renamed from big2str_power_cache.
(base36_numdigits_cache): Rena...
akr (Akira Tanaka)
01:33 AM Revision 42350: parse.y: no reduction with 1
* parse.y (parser_set_integer_literal): use rb_rational_raw1() for
integral rational because no reduction is needed...
nobu (Nobuyoshi Nakada)
12:46 AM Revision 42349: etc.c: encodings
* ext/etc/etc.c (setup_passwd, setup_group): set proper encodings to
string members.
nobu (Nobuyoshi Nakada)
12:31 AM Revision 42348: struct.c: rb_struct_define_under
* struct.c (rb_struct_define_under): new function to define Struct
under the given namespace, not under Struct. [F...
nobu (Nobuyoshi Nakada)


09:57 PM Revision 42347: * parse.y (value_expr_gen): now NODE_DEFN and NODE_DEFS are not void
value expressions. get rid of wrong warning with -w, and make to
pass tests with chkbuild. ref. [Feature #3753]
usa (Usaku NAKAMURA)
09:50 PM Revision 42346: ChangeLog: fix typo
* ChangeLog: fix typo in r42335, "Appry" -> "Apply". nobu (Nobuyoshi Nakada)
07:24 PM Revision 42345: * doc/syntax/refinements.rdoc: Remove mention of instance_eval and
module_eval from scope section per:
drbrain (Eric Hodel)
05:24 PM Revision 42344: * bignum.c (big2str_orig): Refactored.
akr (Akira Tanaka)
04:42 PM Revision 42343: * bignum.c (big2str_orig): Rename a local variable.
akr (Akira Tanaka)
04:22 PM Revision 42342: * bignum.c (bigadd_core): Removed.
(bigadd): Use bary_add instead of bigadd_core. akr (Akira Tanaka)
03:55 PM Revision 42341: * bignum.c (rb_big2str1): Simplify power_level calculation.
akr (Akira Tanaka)
03:36 PM Revision 42340: * array.c (rb_ary_zip): use rb_ary_new2() to create buffer
if rb_block_arity() > 1. glass
03:13 PM Revision 42339: * 2013-08-03
03:13 PM Revision 42338: * NEWS: Add the description that IO#seek supports SEEK_DATA
and SEEK_HOLE. glass
02:58 PM Revision 42337: * vm.c (m_core_define_method, m_core_define_singleton_method): now
the value of def-expr is the Symbol of the name of the method, not
ref. [ruby-dev:42151] [Feature #3753]
* ...
usa (Usaku NAKAMURA)
02:56 PM Revision 42336: * array.c (rb_ary_zip): performance improvement by avoiding
array creation if rb_block_arity() > 1. glass
02:53 PM Revision 42335: * bignum.c (power_cache_get_power): Appry bigtrunc to the result of
(big2str_karatsuba): Fix number of leading zero characters.
akr (Akira Tanaka)
02:48 PM Revision 42334: parse.y: calculate powers of ten
* parse.y (parser_yylex): calculate denominator directly as powers of
ten, not parsing string.
nobu (Nobuyoshi Nakada)
02:24 PM Revision 42333: parse.y: ripper for new literals
* parse.y (ripper_validate_object): ripper support for new literals,
nobu (Nobuyoshi Nakada)
02:14 PM Revision 42332: parse.y: parse precisely
* parse.y (parser_number_literal_suffix): return bit set of found
* parse.y (parser_set_number_literal, p...
nobu (Nobuyoshi Nakada)
02:14 PM Revision 42331: parse.y: simplify numerics
* parse.y (simple_numeric): integrate numeric literals and simplify
numeric rules.
nobu (Nobuyoshi Nakada)
02:13 PM Revision 42330: eventids2.c: new literals
* ext/ripper/eventids2.c (ripper_init_eventids2): ripper support for
new literals, tRATIONAL and tIMAGINARY.
nobu (Nobuyoshi Nakada)
02:10 PM Revision 42329: bignum.c: suppress a warning
* bignum.c (rb_cstr_to_inum): remove set but unused variable. nobu (Nobuyoshi Nakada)
09:36 AM Revision 42325: * bignum.c (big2str_karatsuba): Reduce power_level more than one at
recursion, if possible.
(rb_big2str1): Follow the above change.
akr (Akira Tanaka)
03:28 AM Revision 42324: * bignum.c (bary_mul): Swap x and y for bary_mul1 if x is longer than y.
[ruby-dev:47565] [Bug #8719] Reported by Narihiro Nakamura. akr (Akira Tanaka)
01:40 AM Revision 42323: * parse.y (negate_lit): add T_RATIONAL and T_COMPLEX to the switch
statement, and call rb_bug() if an unknown type is passed to
negate_lit(). [ruby-core:56316] [Bug #8717]
* bootstr...
charliesome (Charlie Somerville)
01:15 AM Revision 42322: nmake doesn't out put targets
naruse (Yui NARUSE)
01:15 AM Revision 42321: Fix test failure on Windows because of an extra warning
naruse (Yui NARUSE)
12:14 AM Revision 42320: * doc/syntax/refinements.rdoc: Improve description of where you may
activate refinements. drbrain (Eric Hodel)

Also available in: Atom