Project

General

Profile

Activity

From 06/15/2012 to 06/21/2012

06/21/2012

08:56 PM Revision fb120181 (git): * 2012-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:56 PM Revision 62df750a (git): * eval.c (ruby_cleanup): Fixed typo. Patch by Trever Dawe.
Fixes #131 (github). [ruby-trunk - Bug #6619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36170 b2dd03c8-39d...
drbrain (Eric Hodel)
07:53 PM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
2012/6/21 phasis68 (Heesob Park) <[email protected]>:
>
> Issue #6616 has been updated by phasis68 (Heesob Park)....
akr (Akira Tanaka)
07:32 PM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
I think r36161 is not related with this issue.
After applying r36161, this issue is not fixed.
C:\work\snapshot>m...
phasis68 (Heesob Park)
07:23 PM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
2012/6/21 Tanaka Akira <[email protected]>:
> 2012/6/21 luislavena (Luis Lavena) <[email protected]>:
>
>> Bug #...
akr (Akira Tanaka)
01:53 PM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
2012/6/21 luislavena (Luis Lavena) <[email protected]>:

> Bug #6616: MinGW: cannot build extensions or run t...
akr (Akira Tanaka)
11:21 AM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
Here is a simple code for the cause of this issue.
C:\work>ruby -ve "system('dir')"
ruby 2.0.0dev (2012-06-21 tru...
phasis68 (Heesob Park)
09:55 AM Bug #6616 (Assigned): MinGW: cannot build extensions or run tests due changes in exec_arg?
luislavena (Luis Lavena)
09:55 AM Bug #6616 (Closed): MinGW: cannot build extensions or run tests due changes in exec_arg?
Hello,
Originally reported in [ruby-core:45727] due Redmine being down.
Latest trunk revision (r36154) is faili...
luislavena (Luis Lavena)
07:42 PM Feature #6609: Toplevel as self extended module
> What is a "partial Object class proxy"? It does not seem to exist. The top-level object (rb_vm_top_self) is an inst... trans (Thomas Sawyer)
03:56 PM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
This second patch moves the entire run loop outside the GVL, but messes with the internals of String to expand z->buf... drbrain (Eric Hodel)
11:53 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
"drbrain (Eric Hodel)" <[email protected]> wrote:
> I don't see a way to safely interrupt deflate() or inflate(...
normalperson (Eric Wong)
09:20 AM Feature #6615 (Closed): Release GVL in zlib when calling inflate() or deflate()
This patch switches from zstream_run from using rb_thread_schedule() to rb_thread_blocking_region().
I don't see a...
drbrain (Eric Hodel)
02:41 PM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
> I think we need to delete the CFunc code. The problem with that class
> is we cannot tell the return type, so i...
vo.x (Vit Ondruch)
01:53 AM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
On Thu, Jun 14, 2012 at 09:54:41PM +0900, vo.x (Vit Ondruch) wrote:
>
> Issue #6592 has been updated by vo.x (Vit...
Anonymous
02:34 PM Bug #5060 (Assigned): Executables in bin folder conflict with their gem versions.
Sorry, I'm reopening, but the issue is still present.
When you install Ruby, it carries initial version of /usr/bi...
vo.x (Vit Ondruch)
01:46 PM Revision c7a68e8d (git): needless RB_GC_GUARD removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:46 PM Revision 13ffa4c6 (git): remove garbage line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:18 PM Revision ed8040a6 (git): * process.c (rb_execarg_addopt): take a VALUE argument instead of
struct rb_execarg.
(rb_exec_arg_addopt): follow the rb_execarg_addopt change.
(check_exec_options_i): ditto.
* i...
akr (Akira Tanaka)
11:36 AM Revision 511e25b2 (git): * process.c (rb_exec_fillarg): take a VALUE argument instead of
struct rb_execarg.
(rb_check_exec_options): ditto.
(check_exec_options_i): ditto.
git-svn-id: svn+ssh://ci.rub...
akr (Akira Tanaka)
11:15 AM Feature #6617 (Closed): Net::HTTP: Bind to a specific local IP/port
Despite having several solutions floating around the net, this feature is currently not present in Net::HTTP. I searc... mksm (Ricardo Amorim)
10:48 AM Revision 1b2c2316 (git): * process.c (rb_exec_async_signal_safe): use rb_execarg_run_options
instead of rb_run_exec_options_err.
(rb_spawn_process): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
akr (Akira Tanaka)
10:03 AM Bug #6614: GC doesn't collect objects bound to (collectable) proc
=begin
A correction.
Your code uses (({print})) but not (({printf})), so the arguments cannot be optimized out, even...
nobu (Nobuyoshi Nakada)
09:33 AM Bug #6614 (Rejected): GC doesn't collect objects bound to (collectable) proc
=begin
Finalizers will run ((*AFTER*)) the target object has been destroyed and collected, so finalizers ((*MUST NOT*...
nobu (Nobuyoshi Nakada)
08:24 AM Bug #6614 (Rejected): GC doesn't collect objects bound to (collectable) proc
Hello all.
Previously discussed here: http://www.ruby-forum.com/topic/4402823
I would expect the following code t...
rogerdpack (Roger Pack)
10:03 AM Revision 0a431f69 (git): * process.c (rb_exec_fillarg): take a VALUE argument instead of
struct rb_execarg.
(rb_execarg_init): follow the rb_exec_fillarg change.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
akr (Akira Tanaka)
10:01 AM Revision 129cad73 (git): remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:39 AM Revision 46e23dc0 (git): * process.c (rb_execarg_init): take a VALUE argument instead of
struct rb_execarg.
(rb_execarg_new): follow the rb_execarg_init change.
(rb_exec_arg_init): ditto.
* internal.h ...
akr (Akira Tanaka)
08:20 AM Revision 64ae33a1 (git): parse.y: fix GC problem of keyword rest argument
* parse.y (new_args_tail_gen): fix GC problem of keyword rest
argument. the wrapped struct should be bound to the ...
nobu (Nobuyoshi Nakada)
07:54 AM Feature #6613 (Assigned): VT_RECORD, IRecordInfo Support in WIN32OLE
WIN32OLE has no support for VT_RECORD VARIANTS. Python and Perl use the
functions GetRecordInfoFromTypeInfo and Get...
dsisnero (Dominic Sisneros)
06:23 AM Feature #6611: Comments requested on implementation of set_parse_func
Bump.

Please comment on <https://bugs.ruby-lang.org/issues/6611>.
I need to finish this implementation, and the ...
cjheath (Clifford Heath)
05:08 AM Revision b8b67c0b (git): process.c: fix type
* process.c (rb_spawn_internal): fix type of a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@361...
nobu (Nobuyoshi Nakada)
04:46 AM Revision 21e1939d (git): merge revision(s) 35625: [Backport #6618]
* thread.c (rb_threadptr_execute_interrupts_common):
test_signal_requiring of test/ruby/test_signal.rb fail...
naruse (Yui NARUSE)
01:53 AM Bug #6531: Increase Racc runtime versions
On Sat, Jun 02, 2012 at 10:42:45PM +0900, zzak (Zachary Scott) wrote:
>
> Issue #6531 has been reported by zzak (...
Anonymous

06/20/2012

10:25 PM Revision 0cfee328 (git): * error.c (err_append): rename err_append() to compile_err_append()
and move definition body. err_append() is used only by compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
ko1 (Koichi Sasada)
09:25 PM Revision d73d3a74 (git): * process.c (rb_execarg_fixup): take a VALUE argument instead of
struct rb_execarg.
* internal.h (rb_execarg_fixup): follow the definition change.
* io.c (pipe_open): follow rb_exe...
akr (Akira Tanaka)
04:36 PM Bug #6576 (Closed): shared library references _environ macosx Lion
This issue was solved with changeset r36151.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
04:35 PM Bug #6576: shared library references _environ macosx Lion
Does /usr/local/bin/ruby fail too?
What does `otool -L /usr/local/bin/ruby` show?
nobu (Nobuyoshi Nakada)
03:43 PM Feature #6612: Add streaming inflate and deflate to Zlib
Oops, I uploaded the wrong patch. drbrain (Eric Hodel)
03:35 PM Feature #6612 (Closed): Add streaming inflate and deflate to Zlib
=begin
Currently there is no way to control the inflate output size of a deflate stream from ruby. For example, 50M...
drbrain (Eric Hodel)
03:27 PM Revision 06feb7b0 (git): * 2012-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 PM Revision 4abc869c (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:27 PM Revision 5309af97 (git): * internal.h (struct rb_execarg): add umask_given and umask_mask
fields.
* process.c (STATIC_ASSERT): removed.
(rb_execarg_addopt): follow the rb_execarg change.
(rb_execarg_run...
akr (Akira Tanaka)
11:46 AM Revision b60713de (git): * internal.h (struct rb_execarg) moved and renamed from
struct rb_exec_arg in intern.h.
* include/ruby/intern.h (struct rb_exec_arg): refer Data object which
contains str...
akr (Akira Tanaka)
10:31 AM Revision 826f98e6 (git): * internal.h (rb_execarg_new): declared.
(rb_execarg_get): ditto.
* process.c (mark_exec_arg): new function.
(free_exec_arg): ditto.
(memsize_exec_arg): ...
akr (Akira Tanaka)
07:46 AM Feature #6611 (Assigned): Comments requested on implementation of set_parse_func
Folk,

I've implemented Twister, a new mutation testing tool to replace Heckle.
It relies on a new hook into t...
cjheath (Clifford Heath)
07:36 AM Revision 2741a598 (git): setproctitle.c: _NSGetEnviron
* missing/setproctitle.c (environ): use (*_NSGetEnviron()) instead of
environ on Darwin for namespace cleanness, sa...
nobu (Nobuyoshi Nakada)
07:23 AM Feature #5663: Combined map/select method
Em 19-06-2012 17:32, Roger Pack escreveu:
>> How about `#map_some` as the name?
> #map_if ?

I loved this on...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:31 AM Revision 50aab6d4 (git): numeric.c: optimize
* numeric.c (positive_int_p, negative_int_p): optimize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36150 b2dd...
nobu (Nobuyoshi Nakada)
06:31 AM Revision f96afe18 (git): * numeric.c (positive_int_p, negative_int_p): extracted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:10 AM Bug #6606: default_external encoding and STDOUT and UTF-8
kosaki (Motohiro KOSAKI) wrote:
> 2012/6/19 naruse (Yui NARUSE) <[email protected]>:
> >
> > Issue #6606 has bee...
naruse (Yui NARUSE)
04:23 AM Bug #6606: default_external encoding and STDOUT and UTF-8
2012/6/19 naruse (Yui NARUSE) <[email protected]>:
>
> Issue #6606 has been updated by naruse (Yui NARUSE).
>
...
kosaki (Motohiro KOSAKI)
05:57 AM Feature #6609: Toplevel as self extended module
trans (Thomas Sawyer) wrote:
> As promised sometime back here is my proposal that Toplevel object become a self-exte...
drbrain (Eric Hodel)
03:59 AM Bug #6610 (Closed): Fix Benchmark.benchmark output with an empty caption
Hello,
I noticed Benchmark.benchmark output with an empty caption has an extra space.
This is due to my change in...
Eregon (Benoit Daloze)
02:33 AM Revision 5a24475a (git): process.c: fixnum umask
* process.c (rb_execarg_addopt): always make Fixnum, and ignore higher
bits in too large umask value.
git-svn-id:...
nobu (Nobuyoshi Nakada)
02:24 AM Revision 5fe80658 (git): lib/test/unit.rb: workers sudden-death
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): deal with
sudden-death of workers.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)

06/19/2012

09:58 PM Feature #6609 (Closed): Toplevel as self extended module
As promised sometime back here is my proposal that Toplevel object become a self-extended module instead of the curre... trans (Thomas Sawyer)
09:50 PM Revision 51c44ab1 (git): * time.c (init_leap_second_info): fix non-ANSI function declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:50 PM Revision 6d69c3b0 (git): * ruby.c (rb_f_sub): use ansi style declaration.
* ruby.c (rb_f_gsub): ditto.
* ruby.c (rb_f_chomp): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36145 b...
kosaki (Motohiro KOSAKI)
09:49 PM Revision a57cbd7b (git): * random.c (rb_random_int32): get rid of "warning: constant 0x100000000
is so big it is long" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36144 b2dd03c8-39d4-4d8f-98ff-823fe...
kosaki (Motohiro KOSAKI)
09:49 PM Revision 90217772 (git): * dir.c (dir_initialize): get rid of "unused return: argc = rb_scan_args()"
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:24 PM Revision 7339e678 (git): * include/ruby/missing.h: include math.h before checking INFINITY
and NAN. Otherwise, strange macro redefinition will occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36142 b...
kosaki (Motohiro KOSAKI)
09:24 PM Revision 3307d65d (git): * 2012-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:24 PM Revision 2fe6bd9a (git): * array.c (ary_reverse): use ansi style declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:08 PM Feature #6594: Integrated Functor
@prijutme4ty Your link appears to be broken, but I am glad to see your interest on HOM. I would need to know more abo... trans (Thomas Sawyer)
08:02 PM Bug #6608 (Rejected): File.join behavior
Hello,
I would like to know if the current behavior of File.join is intended, and what should be its specification...
Eregon (Benoit Daloze)
06:42 PM Bug #6606: default_external encoding and STDOUT and UTF-8
shyouhei (Shyouhei Urabe) wrote:
> なぜ、そうなっているかを聞いていいですか?
>
> STDOUTは他のIOオブジェクトと違って最初から勝手に開かれているので、最初からエンコーディングを指定...
naruse (Yui NARUSE)
05:09 PM Bug #6606: default_external encoding and STDOUT and UTF-8
なぜ、そうなっているかを聞いていいですか?
STDOUTは他のIOオブジェクトと違って最初から勝手に開かれているので、最初からエンコーディングを指定して開ける方法が(-Eでなくてもよいので)提供されていた方がよいかとおもいます。
shyouhei (Shyouhei Urabe)
04:57 PM Bug #6606 (Rejected): default_external encoding and STDOUT and UTF-8
現在の仕様通りです。
$stdoutのexternal encoding に明示的に EUC-JP を設定すると変換されるようになります。
naruse (Yui NARUSE)
04:21 PM Bug #6606 (Rejected): default_external encoding and STDOUT and UTF-8
=begin
微妙なので意図どおりに動いているなら申し訳ない、以下のように -Eを指定してもUTF-8文字列がUTF-8のままで出力されてくるのは「そういうもの」ですか?
LANG=C ruby -Eeuc-jp -e'pu...
shyouhei (Shyouhei Urabe)
03:42 PM Bug #6603: FileUtils::touchで更新時刻,アクセス時刻がミリ秒単位で記録されない(FreeBSD/amd64)
ありがとうございます。
send-prしてみます。
skoba (Shinji KOBAYASHI)
10:08 AM Bug #6603 (Third Party's Issue): FileUtils::touchで更新時刻,アクセス時刻がミリ秒単位で記録されない(FreeBSD/amd64)
Ruby の File.utime(nil, nil, path) は utimes(path, NULL) を呼んでいるだけなので、
FreeBSD の utimes(2) の問題です。
以下を実行すると、現在秒までしか設定され...
naruse (Yui NARUSE)
01:58 PM Revision 17e97a9b (git): * object.c: Fix typo in rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:07 PM Bug #6262 (Closed): [readline] reverse-i-search with multibyte chars
naruse (Yui NARUSE)
12:29 PM Bug #6262: [readline] reverse-i-search with multibyte chars
=begin
r36123 でこちらの挙動も直っているように思います。
# encoding: UTF-8
require "readline"

RUBY_DESCRIPTION # => "ruby 2.0...
no6v (Nobuhiro IMAI)
12:22 PM Bug #6604 (Closed): trunkでtest-all が完走しない (-j 使用時のみ)
make test-all TESTS="-j8 -v -q" すると、LinuxでもMacでも以下のエラーが出て完走しません
TestGemCommandsHelpCommand#test_gem_no_args_show...
kosaki (Motohiro KOSAKI)
12:05 PM Feature #5785 (Closed): Readline に pre_input_hook, insert_text, redisplay を追加
This issue was solved with changeset r36131.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby ...
naruse (Yui NARUSE)
12:00 PM Bug #5423 (Closed): readlineの入力待機中に端末のウィンドウサイズ変更すると入力内容が乱れる
This issue was solved with changeset r36130.
Takuto, thank you for reporting this issue.
Your contribution to Ruby is...
naruse (Yui NARUSE)
11:58 AM Bug #6601 (Closed): [readline] Alt-* commands do not work in reverse-i-search
This issue was solved with changeset r36127.
Tay, thank you for reporting this issue.
Your contribution to Ruby is gr...
naruse (Yui NARUSE)
09:01 AM Bug #6601 (Assigned): [readline] Alt-* commands do not work in reverse-i-search
=begin
This breaks compilation on OS X 10.7 with editline:
compiling readline.c
readline.c:177:22: error: use of...
drbrain (Eric Hodel)
09:43 AM Revision c50f91f3 (git): [Bug #6607]
* include/ruby/backward/rubysig.h: fix visibility. [Bug #6607]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36...
nobu (Nobuyoshi Nakada)
09:22 AM Revision bdfd26b7 (git): lib/test/unit/parallel.rb: new method to report to the parent
* lib/test/unit/parallel.rb (Test::Unit::Worker#_report): extract
method to report to the parent process
git-svn-i...
nobu (Nobuyoshi Nakada)
09:21 AM Revision ab9560c9 (git): ext/readline/extconf.rb: no global names
* ext/readline/extconf.rb (readline): get rid of polluting global
namespace.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
09:14 AM Revision a60fe909 (git): fix async-signal-safe comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:51 AM Revision 52b497d8 (git): process.c: no method calls in async-signal-safe
* process.c (rb_execarg_run_options): do not call any methods in the
async-signal-safe function. mask has been che...
nobu (Nobuyoshi Nakada)
06:30 AM Revision 6696fd0c (git): Skip on non UTF-8 locale.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:15 AM Revision 9c6ae17a (git): Add test for [Bug #6262]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:05 AM Revision 2418f9cc (git): Skip Readline 4.3. [Feature #5785]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:00 AM Revision 5f883990 (git): * ext/readline/readline.c (Init_readline): don't set 0 to
rl_catch_signals and rl_catch_sigwinch. [Bug #5423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36130 b2dd03c8...
naruse (Yui NARUSE)
02:58 AM Revision 44058a73 (git): * 2012-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:58 AM Revision e47c4e38 (git): * ext/readline/readline.c (readline_s_get_special_prefixes): suppress
warning: unitinialized instance variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36128 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
02:58 AM Revision d998ba1c (git): * ext/readline/readline.c (readline_getc): fix editline compatibility
broken by r36123. [Bug #6601]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36127 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)

06/18/2012

11:53 PM Feature #6596: New method `Array#indexes`
Em 17-06-2012 13:47, trans (Thomas Sawyer) escreveu:
> Yea, I would have written is completely different myself (e...
rosenfeld (Rodrigo Rosenfeld Rosas)
07:23 PM Feature #6596: New method `Array#indexes`
On 18/06/12 04:25, knu (Akinori MUSHA) wrote:
>
> Issue #6596 has been updated by knu (Akinori MUSHA).
>
>
...
regularfry (Alex Young)
12:25 PM Feature #6596: New method `Array#indexes`
=begin
You are changing the subject. This issue is about Array#indexes, and if you talk about generalization, you s...
knu (Akinori MUSHA)
05:28 AM Feature #6596: New method `Array#indexes`
I don't see any reason it can't return an Enumerator.
My last example doesn't iterate over it.
#select_indexes ...
trans (Thomas Sawyer)
04:07 AM Feature #6596: New method `Array#indexes`
Since we introduced Enumerator (and Enumerable::Lazy recently) we are skeptic about adding a new method returning a c... knu (Akinori MUSHA)
01:47 AM Feature #6596: New method `Array#indexes`
Yea, I would have written is completely different myself (even from yours). All I did was search GitHub for #each_wit... trans (Thomas Sawyer)
11:51 PM Bug #6603 (Third Party's Issue): FileUtils::touchで更新時刻,アクセス時刻がミリ秒単位で記録されない(FreeBSD/amd64)
ファイルの作成時刻・更新時刻がミリ秒単位で反映されるかどうかは処理系に依存しているとのことですが,
下記のように,touchを利用してファイルを作成した場合はミリ秒単位で記録されるますが,さらにtouchを
利用して更新時刻を記録...
skoba (Shinji KOBAYASHI)
09:53 PM Feature #6602: Tail call optimization: enable by default?
(2012/06/18 20:29), trans (Thomas Sawyer) wrote:
> However, in the the case of tail-recursion, it could be ok since...
ko1 (Koichi Sasada)
08:29 PM Feature #6602: Tail call optimization: enable by default?
I'd rather have the backtrace information and depend on Moore's law for "enhancements".
However, in the the case o...
trans (Thomas Sawyer)
06:05 PM Feature #6602 (Feedback): Tail call optimization: enable by default?
Hi,
Some hours ago, Matz proposed turning on "tail call optimization" by default from Ruby 2.0.
What do you thi...
ko1 (Koichi Sasada)
10:43 AM Bug #6601 (Closed): [readline] Alt-* commands do not work in reverse-i-search
This issue was solved with changeset r36123.
Tay, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
10:08 AM Feature #6594: Integrated Functor
I agree that high-order messaging can be very useful. But functor concept and usage is rather complex that makes it h... prijutme4ty (Ilya Vorontsov)
09:53 AM Revision d761c9b1 (git): merge revision(s) 32605:32610:
* backport r32609 from trunk.
* ext/openssl/ossl_hmac.c: Revert checking return type of
HMAC_Init_e...
shyouhei (Shyouhei Urabe)
09:13 AM Revision bcc4c408 (git): unreachable
* ext/-test-/exception/enc_raise.c (enc_raise): unreachable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36125...
nobu (Nobuyoshi Nakada)
08:10 AM Revision 3137b081 (git): rb_str_subpos
* string.c (rb_str_subpos): split from rb_str_substr. returns
adjusted position for substring.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
01:43 AM Revision e2ad92a0 (git): ext/readline/readline.c: [Bug #6601]
* ext/readline/readline.c (readline_getc): deal with ESC just followed
by ASCII as meta prefix in incremental searc...
nobu (Nobuyoshi Nakada)

06/17/2012

11:02 PM Feature #6596: New method `Array#indexes`
=begin
Assuming the return value has no meanings.
@table.any? do |row|
if cindex = row.index(nil)
row[ci...
nobu (Nobuyoshi Nakada)
10:39 PM Feature #6596: New method `Array#indexes`
=begin
https://github.com/apillet/invaders/blob/ab32d1704e20cfffe472458b04c16ce82353dabe/classes/enemy_grid.rb
...
trans (Thomas Sawyer)
11:24 AM Feature #6596: New method `Array#indexes`
@trans That's what it does, not a use case. I am questioning you how it is useful to get an array of indices. knu (Akinori MUSHA)
06:27 AM Feature #6596: New method `Array#indexes`
=begin
@knu I think you have already pointed out the usecase. Wherever someone is using #each_with_index which conta...
trans (Thomas Sawyer)
06:46 PM Bug #6601 (Assigned): [readline] Alt-* commands do not work in reverse-i-search
nobu (Nobuyoshi Nakada)
05:26 PM Bug #6601: [readline] Alt-* commands do not work in reverse-i-search
Oops, forgot to enter a proper title/subject. Can someone with sufficient privileges update it to
[readline] Alt...
rctay (Tay Ray Chuan)
05:23 PM Bug #6601 (Closed): [readline] Alt-* commands do not work in reverse-i-search
=begin
= Steps to reproduce
Below are the steps to reproduce from an (({irb})) session. ^ is used to denote the cur...
rctay (Tay Ray Chuan)
04:38 PM Bug #6600 (Closed): Should Module#constants retain insertion order?
No. nobu (Nobuyoshi Nakada)
01:09 PM Bug #6600 (Closed): Should Module#constants retain insertion order?
=begin
This is pointed out in ((<URL:http://bugs.jruby.org/6733>)).
Should (({Module#constants})) maintain the or...
hasari (Hiro Asari)
03:38 PM Revision 90e812e8 (git): * 2012-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 PM Revision 7690aab8 (git): test/readline/test_readline.rb: fix argument order
* test/readline/test_readline.rb (TestReadline#test_pre_input_hook)
(TestReadline#test_insert_text): fix argument o...
nobu (Nobuyoshi Nakada)
01:23 PM Revision 406a9fc5 (git): documentation for Dir.exist?
* dir.c (rb_file_directory_p): move documentation for Dir.exist? from
file.c so that the proper description will be...
nobu (Nobuyoshi Nakada)
07:21 AM Revision cdeff42c (git): thread_win32.h: rb_thread_lock_t for USE_WIN32_MUTEX
* thread_win32.h (rb_thread_lock_t): make a union for USE_WIN32_MUTEX.
this internal is used only in thread_win32.c...
nobu (Nobuyoshi Nakada)
07:20 AM Revision 3c566456 (git): thread_win32.c: USE_WIN32_MUTEX
* thread_win32.c (native_mutex_lock, native_mutex_destroy): fix for
USE_WIN32_MUTEX.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
07:20 AM Revision dc320f43 (git): * 2012-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:20 AM Revision 34b6d066 (git): thread_win32.c: reserved pattern name
* thread_win32.c (native_cond_timedwait_ms): rename reserved pattern
name. user defined symbols should not start w...
nobu (Nobuyoshi Nakada)
12:06 AM Feature #6594: Integrated Functor
@trans I wasn't claiming that it wasn't possible for those interested on the feature to find real-case examples about... rosenfeld (Rodrigo Rosenfeld Rosas)

06/16/2012

04:42 PM Feature #6596 (Feedback): New method `Array#indexes`
You haven't shown any real use case yet.
I don't deny that the functionality alone would be a good shortcut itself j...
knu (Akinori MUSHA)
03:28 AM Feature #6596: New method `Array#indexes`
@kyu Try doing the equivalent of #indexes without it. Not that it's especially hard, but you have to stop and work ou... trans (Thomas Sawyer)
12:09 AM Feature #6596: New method `Array#indexes`
Hello Knu,
Array#rindex return the last occurrence of the parameter. Array#indexes return all of the indexes.
>...
robin850 (Robin Dupret)
03:05 PM Bug #6547 (Rejected): DateTime.new does not call #initialize
i believe this is not a bug.
it's expensive/slow to call initialize.
on DateTime, new is one of various constractor...
tadf (tadayoshi funaba)
10:25 AM Revision 7cc92034 (git): * ext/date/date_core.c: define date_sg_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:49 AM Revision f5b033cd (git): * ext/date/date_tmx.h: offset in struct tmx_funcs is now int.
* ext/date/date_strftime.c: ditto.
* ext/date/date_core.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
Tadayoshi Funaba
09:31 AM Revision 07784c78 (git): eval.c: move running
* eval.c (ruby_setup): set running state in the normal case before
popping a tag.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
07:25 AM Feature #6594: Integrated Functor
@resenfeld Well, I thought the examples I provided were pretty good ones. The links I provided also give some example... trans (Thomas Sawyer)
07:12 AM Bug #6598 (Closed): tool/runruby.rb の File.realpath
This issue was solved with changeset r36107.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
12:54 AM Bug #6598 (Closed): tool/runruby.rb の File.realpath
File.realpath が定義されていないときに定義している File.realpath がホームディレクトリを返すだけで File.realpath の代わりになっていません。 znz (Kazuhiro NISHIYAMA)
04:23 AM Revision c1740d89 (git): test: reduce unnecessary output
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): no empty lines
if no warnigs.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
04:23 AM Revision c05042c9 (git): test: reduce unnecessary output
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): print retrying
message only if retrying.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
04:23 AM Revision de7eb55f (git): test: reduce unnecessary output
* lib/test/unit.rb (Test::Unit::Runner#del_status_line): update
@status_line_size and return true value.
* lib/tes...
nobu (Nobuyoshi Nakada)
12:51 AM Bug #6597 (Closed): README.EXT と README.EXT.ja の内容が違う
r35977 で README.EXT だけ変更されているので README.EXT.ja も更新が必要だと思います。 znz (Kazuhiro NISHIYAMA)

06/15/2012

10:46 PM Revision 04a7aabf (git): lib/test/unit.rb: format workers results in the parent
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): format workers
results in the parent.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
10:46 PM Revision ff49900a (git): lib/test/unit.rb: format workers results in the parent
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): format workers
results in the parent.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
10:13 PM Feature #6594: Integrated Functor
@trans it really helps attaching an useful example from a real world situation where functors would make it easier to... rosenfeld (Rodrigo Rosenfeld Rosas)
05:14 PM Feature #6594: Integrated Functor
@matz Nay. I guess my attempt at a brief synopsis was not a good idea.
Understanding Functor class would probably he...
trans (Thomas Sawyer)
04:18 PM Feature #6594: Integrated Functor
trans (Thomas Sawyer) wrote:
> @shyouhei Fixed? How is there a "ruby's bug"?
@trans You wrote "creation of an int...
shyouhei (Shyouhei Urabe)
03:45 PM Feature #6594: Integrated Functor
If I understand correctly, if I define
~~~ruby
def f => op, arg
end
~~~
then
~~~ruby
f + a
~~~
shoul...
matz (Yukihiro Matsumoto)
03:19 PM Feature #6594: Integrated Functor
@shyouhei Fixed? How is there a "ruby's bug"? trans (Thomas Sawyer)
01:31 PM Feature #6594: Integrated Functor
-1.
trans (Thomas Sawyer) wrote:
> Doing this without that integration requires the creation of an intermediate o...
shyouhei (Shyouhei Urabe)
09:02 AM Feature #6594 (Assigned): Integrated Functor
I know the developers meeting is coming up so I'd like to get a few ideas I've had sitting in the wings out in the ai... trans (Thomas Sawyer)
10:12 PM Revision 3f6e8aef (git): [Bug #6598]
* tool/runruby.rb (File.realpath): return real path of expanded path.
[Bug #6598]
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
10:12 PM Revision 3fb38c61 (git): bootstraptest: ignore -j
* bootstraptest/runner.rb (main): ignore -j option for compatibility
with test/unit.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
10:11 PM Revision 7ed81c28 (git): lib/test/unit: refactoring puke
* lib/test/unit.rb (Test::Unit::Runner#puke): modify only result and
drop useless reports, not override entirely.
*...
nobu (Nobuyoshi Nakada)
09:46 PM Feature #6596: New method `Array#indexes`
> a = [1, 2, 3, 1]
> a.indexes(1)
> Return : [0, 3]
Is there any proof that such a new functionality has a certa...
knu (Akinori MUSHA)
06:05 PM Feature #6596 (Assigned): New method `Array#indexes`
I submitted a pull request on Github that provides a new method `Array#indexes`. It departs from `Array#index` in suc... robin850 (Robin Dupret)
07:57 PM Feature #6555: New comparison operators
=begin
A friend told me that D language provides 14 comparisons operators for Floating point comparisons : ((<URL:ht...
jEFF (Jean-François Berroyer)
07:11 PM Bug #6595 (Closed): no skipped information on test-all when -j is specified
This issue was solved with changeset r36098.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
02:29 PM Bug #6595 (Closed): no skipped information on test-all when -j is specified
test-all時に-jオプションを指定した場合、skipするテストがあってもレポートされません。
そんな前からではなかったと思うのですが……。
usa (Usaku NAKAMURA)
04:30 PM Revision 1eeaab8a (git): * 2012-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:29 PM Revision eac26463 (git): * ext/psych/lib/psych.rb: bumping psych to 1.3.3
* ext/psych/psych.gemspec: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36103 b2dd03c8-39d4-4d8f-98ff-823...
tenderlovemaking (Aaron Patterson)
01:09 PM Revision 7889d3be (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:01 PM Revision 064b70b6 (git): * vm_backtrace.c (backtrace_collect): rename from backtreace_collect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:01 PM Revision 7193f4ae (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:26 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
normalperson (Eric Wong) wrote:
> "naruse (Yui NARUSE)" <[email protected]> wrote:
> > How about adding a new attr...
naruse (Yui NARUSE)
08:23 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
"naruse (Yui NARUSE)" <[email protected]> wrote:
> How about adding a new attribute which limits the size of readi...
normalperson (Eric Wong)
05:45 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
How about adding a new attribute which limits the size of reading body? naruse (Yui NARUSE)
10:22 AM Revision 745c23b2 (git): * vm_core.h: remove VM_FRAME_MAGIC_FINISH (finish frame type).
Before this commit:
`finish frame' was place holder which indicates that VM loop
needs to return function.
If a...
ko1 (Koichi Sasada)
10:11 AM Revision 0dc5b8ce (git): Revert r35576 "lib/test/unit.rb: refactoring puke"
* lib/test/unit.rb (Test::Unit::Runner#puke): always add skipped
results to the report for parallel test. [Bug #65...
nobu (Nobuyoshi Nakada)
05:30 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)

vo.x (Vit Ondruch) wrote:
> naruse (Yui NARUSE) wrote:
> > nobu (Nobuyoshi Nakada) wrote:
> > % ruby -rjson -e...
naruse (Yui NARUSE)
02:37 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
If autoload is still going to be around for awhile, can we at least get it modified to call Kernel#require? As I've s... trans (Thomas Sawyer)
01:38 AM Revision 19b4b7de (git): test: TEST_COLORS
* bootstraptest/runner.rb (main): fixed typo.
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): ditto.
* sample/t...
nobu (Nobuyoshi Nakada)
12:56 AM Revision fa6a2e03 (git): test: skipped color
* lib/test/unit.rb (Test::Unit::Runner#failed): use different color
for Skipped.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
12:56 AM Revision 0243943a (git): test: TEST_COLORS
* bootstraptest/runner.rb (main): customize colors by dircolors-like
style environment variable TEST_COLORS.
* lib...
nobu (Nobuyoshi Nakada)
12:56 AM Revision 65672e63 (git): test: unknown --color argument
* bootstraptest/runner.rb (main): warn unknown --color argument.
* sample/test.rb: ditto.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
12:56 AM Revision a8ddde3b (git): test: help message
* bootstraptest/runner.rb (main): add --color option to the help
message.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
12:03 AM Revision 88fa84a5 (git): * nacl/pepper_main.c: Removed an unnecessary and errorneous inclusion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
 

Also available in: Atom