Project

General

Profile

Activity

From 06/09/2011 to 06/15/2011

06/15/2011

11:06 PM Revision ea11cf5d (git): * test/testunit/test_parallel.rb(test_ignore_tzero): Test for r32109.
* test/testunit/tests_for_parallel/test_third.rb: Use another way to
detect that test is running on worker. This fixes sometimes
TestParallel failing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32110 b2dd03c8-39d4-4d8f-98ff-8...
sorah (Sorah Fukumori)
10:27 PM Revision 6e125382 (git): * lib/test/unit.rb(Test::Unit::Runner#_run_parallel): Ignore -j0
because it makes blocking forever by IO.select.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
08:29 PM Feature #3375: --disable-libedit to disable libedit
結局これってどうしましょう naruse (Yui NARUSE)
06:09 PM Revision 72e80779 (git): * test/testunit/test_parallel.rb (TestParallel::TestParallelWorker#
setup): now can run on Windows, probably.
* test/testunit/test_parallel.rb (TestParallel::TestParalle#setup):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:04 PM Revision a8bdd28d (git): * thread.c (do_select): Windows: no need to poll if select(2) is
cancelable.
* thread_win32.c (native_fd_select): new function to make select(2)
cancelable.
* thread_win32.c (rb_w32_check_interrupt): new function for checking
interrupt.
* win32/win32.c (rb_w32_select_with_thread): new function....
U.Nakamura
04:04 PM Revision 3eb1b472 (git): * 2011-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:04 PM Revision 24acc901 (git): * test/openssl/test_config.rb: Commit missing file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
02:57 PM Bug #4886: autoload in instance_eval doesn't work
Kouji Takao wrote:
> 1.8系ではどうなっていたかと思って確認してみました。
> ...
はい、正確には a.rb または a.so (環境依存) ですが。
で、例えば a.rb が読み込みパスのどこかにあり、そこに R=1 とか書かれていた場合 1 が p で表示されます。
1.9.2 でもこの動作です。
現在の 1.9 だとそもそも読もうとすらしてませんね。
naruse (Yui NARUSE)
01:52 PM Bug #4886: autoload in instance_eval doesn't work
=begin
1.8系ではどうなっていたかと思って確認してみました。
以下のようにRを参照したときに"a"をロードしようとして例外が発生するのですね。
$ ruby -v -e 'instance_eval { autoload :R, "a"; p R }'
ruby 1.8.7 (2009-11-09 patchlevel 202) [i686-darwin9.8.0]
-e:1: no such file to load -- a (...
kouji (Kouji Takao)
09:53 AM Bug #4886 (Closed): autoload in instance_eval doesn't work
autoload を instance_eval の中で使うとうまく動きません。
% ./ruby -e'instance_eval{autoload :R,"a";p R}'
-e:1:in `block in <main>': uninitialized constant R (NameError)
from -e:1:in `instance_eval'
from -e:1:in `<main>'
naruse (Yui NARUSE)
02:45 PM Revision e33efe60 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:35 PM Revision 8923ba1e (git): * gc.c: fix a regression by r31690 on AIX because AIX malloc
return NULL if it's passed 0. But some caller don't expect it.
patch by Yutaka Kanemoto.
(vm_malloc_prepare): return calculated size.
(vm_xmalloc): use above result.
(vm_xcalloc): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
kosaki (Motohiro KOSAKI)
02:13 PM Revision 2ebd80d1 (git): * thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used
since r32021.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:30 PM Bug #4790: [rdoc] attempt to clarify IO rdocs
Looks pretty good, but a couple of the vbatts (Vincent Batts)
12:29 PM Bug #4883: sqlite3_adapter.rb:27: [BUG] unknown type 0x22 (0xc given)
Fair enough
john.hinnegan@gmail.com (John Hinnegan)
02:41 AM Bug #4883 (Third Party's Issue): sqlite3_adapter.rb:27: [BUG] unknown type 0x22 (0xc given)
It looks like the problem is that you somehow compiled the sqlite3 gem against ruby 1.8, but are requiring it from ruby 1.9. Uninstalling sqlite3, then reinstalling it with the correct ruby should fix the problem. It looks like you may... tenderlovemaking (Aaron Patterson)
01:25 AM Bug #4883: sqlite3_adapter.rb:27: [BUG] unknown type 0x22 (0xc given)
I had manually added cucumber before. I've corrected that by including cucumber-rails now
New Gem list:
abstract (1.0.0)
actionmailer (3.0.8)
actionpack (3.0.8)
activemodel (3.0.8)
activerecord (3.0.8)
activeresource (3.0.8)
a...
john.hinnegan@gmail.com (John Hinnegan)
12:16 PM Feature #1800: rubygems can replace system executable files
The --prompt option would leave vague, an important aspect of the implementation though, like `gem update` and `gem uninstall`.
It would seem then, let a state of omission should need to be recorded for the gems. So that those executabl...
vbatts (Vincent Batts)
12:04 PM Revision 16cac0b7 (git): * Fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
12:03 PM Revision 562e35bc (git): * test/openssl/tesst_config.rb: execute based on the existence of the
OpenSSL module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
11:22 AM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
http://d.hatena.ne.jp/nagachika/20110613/ruby_trunk_changes_32028_32070 の r32028 の解説を読むと、すでに直っているように読めますが、咳さんの認識はいかがでしょうか?
kosaki (Motohiro KOSAKI)
06:19 AM Bug #4821: Random Segfaults (in start_thread?)
We don't use "therubyracer". Bug in something like webrick. Because we switch webrick to unicorn server, and all works great. Falcon (Ilya Sokolov)
03:36 AM Revision 19853fc4 (git): * test/ruby/test_io.rb (test_copy_stream_socket): wait a child process
before SIGUSR1 handler is removed.
* test/pathname/test_pathname.rb (define_assertion): use line number
for test method names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:28 AM Revision 071b8d76 (git): Run tests only for emacs 23+.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:17 AM Bug #4611: [BUG] Segementation fault reported
I have the same error here with rails 3.1-rc4.
This bug is in WEBrick server, i have installed the Thin server and it works.
> gem install thin
Att
ruanltbg (Ruan Carlos)
01:58 AM Revision c75c838e (git): * file.c (rb_stat_rdev): use DEVT2NUM.
* file.c (rb_stat_rdev_major): ditto.
* file.c (rb_stat_rdev_minor): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:23 AM Bug #4879: test_new(OpenSSL::TestPKeyRSA) fails on Win32
>>
>> What do you think?
>
> I agree with it, such way is suitable than my hack.

OK, great! I'll implement this then soon.

Thanks,
Martin
MartinBosslet (Martin Bosslet)
01:23 AM Bug #4879: test_new(OpenSSL::TestPKeyRSA) fails on Win32
>>
>> What do you think?
>
> I agree with it, such way is suitable than my hack.

OK, great! I'll implement this then soon.

Thanks,
Martin
MartinBosslet (Martin Bosslet)

06/14/2011

11:57 PM Bug #4879: test_new(OpenSSL::TestPKeyRSA) fails on Win32
Martin Bosslet wrote:
> My guess was that some uncleared error caused this
> ...
I agree with it, such way is suitable than my hack.
naruse (Yui NARUSE)
07:27 PM Bug #4879: test_new(OpenSSL::TestPKeyRSA) fails on Win32
Thanks, Yui, for the fix!
My guess was that some uncleared error caused this
when several tests are run in sequence.
I briefly checked and there are still fallback scenarios
in Ruby OpenSSL code where something is first interpret...
MartinBosslet (Martin Bosslet)
10:38 AM Bug #4879 (Closed): test_new(OpenSSL::TestPKeyRSA) fails on Win32
This issue was solved with changeset r32076.
Akio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Clear error messages before process and get errors. [ruby-dev:437...
naruse (Yui NARUSE)
02:56 AM Bug #4879 (Assigned): test_new(OpenSSL::TestPKeyRSA) fails on Win32
Thanks for reporting this! I might have an idea, I'll see what I can find out.
Regards,
Martin
MartinBosslet (Martin Bosslet)
02:24 AM Bug #4879: test_new(OpenSSL::TestPKeyRSA) fails on Win32
This failure also occurs when building trunk@32072 with MinGW GCC v4.5.2 (TDM) and OpenSSL 1.0.0d:
sh-3.1$ make test-all TESTS='openssl fiddle psych'
...
1) Failure:
test_new(OpenSSL::TestPKeyRSA) [c:/Users/Jon/Documents/RubyDev/...
jonforums (Jon Forums)
02:11 AM Bug #4879 (Closed): test_new(OpenSSL::TestPKeyRSA) fails on Win32
こんばんは。
opensslのtest_pkey_rsa.rb:48 がfailします。Visual C++10 を利用しています。
1) Failure:
test_new(OpenSSL::TestPKeyRSA) [C:/Users/arton/Documents/ruby/trunk/test/openssl/test_pkey_rsa.rb:48]:
<[]> expected but was
<["error:0906D06C:PEM ro...
arton (Akio Tajima)
11:29 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> いやあ、5 月末の feature freeze 時点では -2 を返していたはずなんですが、
> 6 月になってから (議論事項が残ったまま) 変わったんですよね。

それは、元々主値を返すようになっていたのに、-2 を返すように間違って変更
されたという結論になったからでしょう。最初に CMath.cbrt を加えたのは俺
で、その後なぜか、-2 が返るように変更されたのです。ですから、これはバグ
が修正されたという理解ですが。
tadf (tadayoshi funaba)
11:29 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> いやあ、5 月末の feature freeze 時点では -2 を返していたはずなんですが、
> 6 月になってから (議論事項が残ったまま) 変わったんですよね。

それは、元々主値を返すようになっていたのに、-2 を返すように間違って変更
されたという結論になったからでしょう。最初に CMath.cbrt を加えたのは俺
で、その後なぜか、-2 が返るように変更されたのです。ですから、これはバグ
が修正されたという理解ですが。
tadf (tadayoshi funaba)
11:23 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
2011年6月14日23:02 Tadayoshi Funaba <tadf@dotrb.org>:
>> 互換性がないという点では同じ話だと思うのですが……。
>
> 主値にならない Math.cbrt を尊重するというのは難しいんじゃないでしょうか。
> どうしてもそれが重要だと思われるなら、この件とは関係がないので、改めて
> 提案を出されるとか。


いやあ、5 月末の feature freeze 時点では -2 を返していた...
mame (Yusuke Endoh)
11:23 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
2011年6月14日23:02 Tadayoshi Funaba <tadf@dotrb.org>:
>> 互換性がないという点では同じ話だと思うのですが……。
>
> 主値にならない Math.cbrt を尊重するというのは難しいんじゃないでしょうか。
> どうしてもそれが重要だと思われるなら、この件とは関係がないので、改めて
> 提案を出されるとか。


いやあ、5 月末の feature freeze 時点では -2 を返していた...
mame (Yusuke Endoh)
11:23 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> 互換性がないという点では同じ話だと思うのですが……。

主値にならない Math.cbrt を尊重するというのは難しいんじゃないでしょうか。
どうしてもそれが重要だと思われるなら、この件とは関係がないので、改めて
提案を出されるとか。
tadf (tadayoshi funaba)
11:23 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> 互換性がないという点では同じ話だと思うのですが……。

主値にならない Math.cbrt を尊重するというのは難しいんじゃないでしょうか。
どうしてもそれが重要だと思われるなら、この件とは関係がないので、改めて
提案を出されるとか。
tadf (tadayoshi funaba)
10:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
2011年6月14日22:17 Tadayoshi Funaba <tadf@dotrb.org>:
>> 定義域を増やすだけにしよう、ということですよね。賛成です。
>> そういう意味で、cbrt(-8) は Math を尊重して -2 を返すべきだと思うのですが、
>> いかがでしょうか。
>
> 値域も拡大されますね。だから、-2 にはならないでしょう。実数を与え、実数
> が返る範中では Math と同じということだと思います。

...
mame (Yusuke Endoh)
10:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
2011年6月14日22:17 Tadayoshi Funaba <tadf@dotrb.org>:
>> 定義域を増やすだけにしよう、ということですよね。賛成です。
>> そういう意味で、cbrt(-8) は Math を尊重して -2 を返すべきだと思うのですが、
>> いかがでしょうか。
>
> 値域も拡大されますね。だから、-2 にはならないでしょう。実数を与え、実数
> が返る範中では Math と同じということだと思います。

...
mame (Yusuke Endoh)
10:29 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
むらたです。


On Tuesday, June 14, 2011 at 8:37 PM, Tadayoshi Funaba wrote:

> > これに相当する事をやっているのが complex.rb なので、
> > Ruby では上記に相当する処理をやりたければ require "complex" することにして、
> > complex.rb の中で適切に関数を定義すれば良いと考えていました。
>
> lib/complex.rb は互...
mrkn (Kenta Murata)
10:29 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
むらたです。


On Tuesday, June 14, 2011 at 8:37 PM, Tadayoshi Funaba wrote:

> > これに相当する事をやっているのが complex.rb なので、
> > Ruby では上記に相当する処理をやりたければ require "complex" することにして、
> > complex.rb の中で適切に関数を定義すれば良いと考えていました。
>
> lib/complex.rb は互...
mrkn (Kenta Murata)
10:23 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> 定義域を増やすだけにしよう、ということですよね。賛成です。
> そういう意味で、cbrt(-8) は Math を尊重して -2 を返すべきだと思うのですが、
> いかがでしょうか。

値域も拡大されますね。だから、-2 にはならないでしょう。実数を与え、実数
が返る範中では Math と同じということだと思います。
tadf (tadayoshi funaba)
10:23 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> 定義域を増やすだけにしよう、ということですよね。賛成です。
> そういう意味で、cbrt(-8) は Math を尊重して -2 を返すべきだと思うのですが、
> いかがでしょうか。

値域も拡大されますね。だから、-2 にはならないでしょう。実数を与え、実数
が返る範中では Math と同じということだと思います。
tadf (tadayoshi funaba)
09:59 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月14日20:37 Tadayoshi Funaba <tadf@dotrb.org>:
>> これに相当する事をやっているのが complex.rb なので、
>> Ruby では上記に相当する処理をやりたければ require "complex" することにして、
>> complex.rb の中で適切に関数を定義すれば良いと考えていました。
>
> lib/complex.rb は互換のために残っているだけで...
mame (Yusuke Endoh)
09:59 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月14日20:37 Tadayoshi Funaba <tadf@dotrb.org>:
>> これに相当する事をやっているのが complex.rb なので、
>> Ruby では上記に相当する処理をやりたければ require "complex" することにして、
>> complex.rb の中で適切に関数を定義すれば良いと考えていました。
>
> lib/complex.rb は互換のために残っているだけで...
mame (Yusuke Endoh)
08:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> これに相当する事をやっているのが complex.rb なので、
> Ruby では上記に相当する処理をやりたければ require "complex" することにして、
> complex.rb の中で適切に関数を定義すれば良いと考えていました。

lib/complex.rb は互換のために残っているだけで推奨されません。

こちらの立場から言えば、CMath は制限を取り除いた、あるいは取り除こうと
している Math の代替版と...
tadf (tadayoshi funaba)
08:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> これに相当する事をやっているのが complex.rb なので、
> Ruby では上記に相当する処理をやりたければ require "complex" することにして、
> complex.rb の中で適切に関数を定義すれば良いと考えていました。

lib/complex.rb は互換のために残っているだけで推奨されません。

こちらの立場から言えば、CMath は制限を取り除いた、あるいは取り除こうと
している Math の代替版と...
tadf (tadayoshi funaba)
01:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
むらたです。

On Tuesday, June 14, 2011 at 12:53 PM, Yukihiro Matsumoto wrote:
> In message "Re: [ruby-dev:43797] Re: [Ruby 1.9 - Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではないか"
> on Tue, 14 Jun 2011 11:57:26 +0900, Kenta ...
mrkn (Kenta Murata)
01:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
むらたです。

On Tuesday, June 14, 2011 at 12:53 PM, Yukihiro Matsumoto wrote:
> In message "Re: [ruby-dev:43797] Re: [Ruby 1.9 - Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではないか"
> on Tue, 14 Jun 2011 11:57:26 +0900, Kenta ...
mrkn (Kenta Murata)
12:59 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
まつもと ゆきひろです

In message "Re: [ruby-dev:43797] Re: [Ruby 1.9 - Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではないか"
on Tue, 14 Jun 2011 11:57:26 +0900, Kenta Murata <muraken@gmail.com> writes:

|Math と CMath が同時に存...
matz (Yukihiro Matsumoto)
12:59 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
まつもと ゆきひろです

In message "Re: [ruby-dev:43797] Re: [Ruby 1.9 - Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではないか"
on Tue, 14 Jun 2011 11:57:26 +0900, Kenta Murata <muraken@gmail.com> writes:

|Math と CMath が同時に存...
matz (Yukihiro Matsumoto)
11:59 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
むらたです。


On Tuesday, June 14, 2011 at 8:45 AM, Tadayoshi Funaba wrote:

> > complex.rb をロードすると Math が CMath 相当に置き換わりますから、
> > Math を置き換える際に frexp, ldexp, hypot を定義することで対応可能かと思います。
> >
> > そういう事ですよね?
>
> そうではありません。CMath 単体で、で...
mrkn (Kenta Murata)
11:59 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
むらたです。


On Tuesday, June 14, 2011 at 8:45 AM, Tadayoshi Funaba wrote:

> > complex.rb をロードすると Math が CMath 相当に置き換わりますから、
> > Math を置き換える際に frexp, ldexp, hypot を定義することで対応可能かと思います。
> >
> > そういう事ですよね?
>
> そうではありません。CMath 単体で、で...
mrkn (Kenta Murata)
08:53 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> complex.rb をロードすると Math が CMath 相当に置き換わりますから、
> Math を置き換える際に frexp, ldexp, hypot を定義することで対応可能かと思います。
>
> そういう事ですよね?

そうではありません。CMath 単体で、です。実際、複素数用の関数を定義して
いるのではなく、複素数にもつかえるように拡張したものを提供しようとして
いますよね。
tadf (tadayoshi funaba)
08:53 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> complex.rb をロードすると Math が CMath 相当に置き換わりますから、
> Math を置き換える際に frexp, ldexp, hypot を定義することで対応可能かと思います。
>
> そういう事ですよね?

そうではありません。CMath 単体で、です。実際、複素数用の関数を定義して
いるのではなく、複素数にもつかえるように拡張したものを提供しようとして
いますよね。
tadf (tadayoshi funaba)
08:23 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
むらたです。


On Tuesday, June 14, 2011 at 12:16 AM, Tadayoshi Funaba wrote:
> もう結論が出てしまったようですが、これは、元々 lib/complex.rb にあった
> ものを独立させたものですが、その意味は、複素数用の関数を提供する事では
> なく、複素数ドメインに対応した Math を提供する、という事だと理解してい
> ました。つまり、実数用としてつかわれる限り、Math とまっ...
mrkn (Kenta Murata)
08:23 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
むらたです。


On Tuesday, June 14, 2011 at 12:16 AM, Tadayoshi Funaba wrote:
> もう結論が出てしまったようですが、これは、元々 lib/complex.rb にあった
> ものを独立させたものですが、その意味は、複素数用の関数を提供する事では
> なく、複素数ドメインに対応した Math を提供する、という事だと理解してい
> ました。つまり、実数用としてつかわれる限り、Math とまっ...
mrkn (Kenta Murata)
12:23 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
もう結論が出てしまったようですが、これは、元々 lib/complex.rb にあった
ものを独立させたものですが、その意味は、複素数用の関数を提供する事では
なく、複素数ドメインに対応した Math を提供する、という事だと理解してい
ました。つまり、実数用としてつかわれる限り、Math とまったく同じであるこ
とが望まれていたと考えます。
tadf (tadayoshi funaba)
12:23 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
もう結論が出てしまったようですが、これは、元々 lib/complex.rb にあった
ものを独立させたものですが、その意味は、複素数用の関数を提供する事では
なく、複素数ドメインに対応した Math を提供する、という事だと理解してい
ました。つまり、実数用としてつかわれる限り、Math とまったく同じであるこ
とが望まれていたと考えます。
tadf (tadayoshi funaba)
10:00 PM Bug #4855 (Closed): rb_context_t::saved_thread::machine_stack_(start|end) should be cleared
This issue was solved with changeset r32084.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ChangeLog: add ML and ticket link. [ruby-dev:43680] [Bug #4...
nagachika (Tomoyuki Chikanaga)
08:48 PM Bug #4883 (Feedback): sqlite3_adapter.rb:27: [BUG] unknown type 0x22 (0xc given)
it seems the ruby loads a gem for 1.8. naruse (Yui NARUSE)
09:27 AM Bug #4883 (Assigned): sqlite3_adapter.rb:27: [BUG] unknown type 0x22 (0xc given)
naruse (Yui NARUSE)
09:08 AM Bug #4883: sqlite3_adapter.rb:27: [BUG] unknown type 0x22 (0xc given)
Something about the Gems not liking each other (maybe Rake)
to work around I:
rvm gemset empty my_gemset
bundle install
# add "gem 'rake', '0.8.7'" to Gemfile
bundle update rake
and now I'm good to go.
john.hinnegan@gmail.com (John Hinnegan)
08:56 AM Bug #4883 (Third Party's Issue): sqlite3_adapter.rb:27: [BUG] unknown type 0x22 (0xc given)
==== DUMP OF OUTPUT ====
/Users/MacbookPro/.rvm/gems/ruby-1.9.2-p180@gramercy_one/gems/activerecord-3.0.8/lib/active_record/connection_adapters/sqlite3_adapter.rb:27: [BUG] unknown type 0x22 (0xc given)
ruby 1.9.2p180 (2011-02-18 revis...
john.hinnegan@gmail.com (John Hinnegan)
08:23 PM Feature #4824: Provide method Kernel#executed?
On Tue, Jun 14, 2011 at 03:23:27PM +0900, Rocky Bernstein wrote:
> On Mon, Jun 13, 2011 at 9:25 AM, Cezary <cezary.baginski@gmail.com> wrote:
>
> > So why not just use the following in such programs:
> >
> > ~~~ruby
> > def ...
Cezary (Cezary Baginski)
08:20 PM Revision dfcc8957 (git): * ext/tk/tcltklib.c (lib_eventloop_core): revert the last change (it's
the part for ruby_1_8), and use rb_thread_check_ints() when RUBY_VM
is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
07:45 PM Revision ef3fb5d1 (git): * benchmark/bm_vm3_thread_*.rb: renamed bm_vm3_thread_*.rb to
benchmark/bm_vm_thread_*.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:30 PM Revision c1bbb616 (git): * benchmark/bm_vm4_thread_pass.rb: rename bm_vm4* to
bm_vm_thread_*. suggested by ko1.
* benchmark/bm_vm4_pipe.rb: ditto.
* benchmark/bm_vm4_alive_check1.rb: ditto.
* benchmark/bm_vm4_pass_flood.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32094 b2dd03c8-39d4-4d8f-98ff-8...
kosaki (Motohiro KOSAKI)
07:26 PM Bug #4885 (Closed): [ext/openssl] Use BIO_reset and ERR_get_error in conjuntion
This is related to the bug in http://redmine.ruby-lang.org/issues/4879.
There are still some places in Ruby OpenSSL C code where just BIO_reset
is used but not ERR_get_error if a fallback from PEM to DER is tried or
the other way ro...
MartinBosslet (Martin Bosslet)
06:54 PM Revision 7f6e8625 (git): * benchmark/bm_vm4_pass_flood.rb: new benchmark for GVL fairness.
* benchmark/bm_vm4_alive_check1.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:53 PM Feature #4328: export rb_thread_call_with_gvl()
SASADA Koichi <ko1@atdot.net> wrote:
> Hi,
>
> (2011/06/14 14:56), Eric Wong wrote:
> > I think the assumptions and requirements for calling this function are
> > reasonable (and best of all, well-documented). The API isn't ...
normalperson (Eric Wong)
05:53 PM Feature #4328: export rb_thread_call_with_gvl()
Hi,

(2011/06/14 14:56), Eric Wong wrote:
> I think the assumptions and requirements for calling this function are
> reasonable (and best of all, well-documented). The API isn't difficult
> to me and the documentation is clea...
ko1 (Koichi Sasada)
02:59 PM Feature #4328: export rb_thread_call_with_gvl()
SASADA Koichi <ko1@atdot.net> wrote:
> Hi,
>
> As you can read in comment, this API is difficult to use. There are
> some assumptions for caller. I'm not sure that these assumptions are
> reasonable or not. This is why we ...
normalperson (Eric Wong)
01:29 PM Feature #4328: export rb_thread_call_with_gvl()
Hi,

As you can read in comment, this API is difficult to use. There are
some assumptions for caller. I'm not sure that these assumptions are
reasonable or not. This is why we don't put into public API.

BTW, the naming "...
ko1 (Koichi Sasada)
04:36 PM Revision 556cd0de (git): add changelog explanation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:31 PM Revision 82e6d95e (git): * thread_pthread.c (gvl_yield): fix live lock issue on 1-2 cpus
system. It's additional fix for r32021.
* thread_pthread.c (gvl_init): add switch_wait_cond.
* thread_pthread.h (typedef struct rb_global_vm_lock_struct): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32091 b2dd03c8-39d4-4d...
kosaki (Motohiro KOSAKI)
04:14 PM Bug #4821: Random Segfaults (in start_thread?)
This does not seem to be the bug that I experience, because I don't use therubyracer. I thought it might be a similar bug in execjs, but even disabling the uglifier gem (so not using execjs anymore) does not solve the bug. corneverbruggen (Corné Verbruggen)
05:41 AM Bug #4821: Random Segfaults (in start_thread?)
I've written up the issue here to explain what's going on, and timing for a comprehensive fix.
http://blog.thefrontside.net/2011/06/13/therubyracer-isnt-threadsafe-yet/
cowboyd (Charles Lowell)
03:49 PM Revision 2e248ad5 (git): * 2011-06-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 PM Revision 179ab892 (git): Skip test_sync when there is no tty or something.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:17 PM Revision 7d6fe4e6 (git): * bootstraptest/runner.rb (show_progress): refine verbose mode.
(exec_test): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:07 PM Revision 92c04380 (git): * bootstraptest/runner.rb (show_progress): extracted from assert_check.
(assert_check): use show_progress.
(assert_normal_exit): ditto.
(assert_finish): ditto.
(flunk): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:52 PM Revision 614ec73f (git): * test/date/test_*.rb: added tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
01:11 PM Revision f2dbf386 (git): * ext/date/date_core.c: renamed some functions.
* ext/date/date_core.c: modified doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
01:00 PM Revision 300c837d (git): * ChangeLog: add ML and ticket link. [ruby-dev:43680] [Bug #4855]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:57 PM Revision 3ec2b843 (git): * cont.c (cont_save_thread): add new utility function.
rb_context_t::saved_thread.machine_stack_start and
machine_stack_end should be cleared immediately after a snapshot of
current thread is stored to saved_thread.
this change aims to get rid of unnecessary GC mark at machine stack.
...
nagachika (Tomoyuki Chikanaga)
10:54 AM Revision 68c3b153 (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:51 AM Revision cb728a29 (git): * test/ruby/test_autoload.rb: remove temporary directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:42 AM Bug #4535 (Closed): [PATCH] fix race in blocking send_io/recv_io
akr (Akira Tanaka)
08:41 AM Bug #4289 (Closed): Timeouts in threads cause SEGV
akr (Akira Tanaka)
08:40 AM Bug #4680 (Closed): [PATCH] io.c: fix busy wait with sendfile()
akr (Akira Tanaka)
08:40 AM Bug #4683 (Closed): [PATCH] io.c: copy_stream execute interrupts and retry
akr (Akira Tanaka)
08:39 AM Bug #4579 (Closed): SecureRandom + OpenSSL may repeat with fork
akr (Akira Tanaka)
08:13 AM Bug #4882 (Closed): Delegator#methods should accept the singleton flag argument
In the new version of delegate.rb
def methods
...
end
does not accept the "also_declared_on_class" argument, which causes failures for libraries that call Object#methods with an argument and therefore excercise this funct...
julik (Julik Tarkhanov)
05:52 AM Bug #4881 (Closed): super() in define_method which returns proc causes SEGV
In working through some corner cases, we ran across (https://gist.github.com/1023643):
class Base
def foo
puts "Base foo"
end
def bar
puts "Base bar"
end
end
class Derived < Base
def bar
self.clas...
enebo (Thomas Enebo)
05:42 AM Bug #4880: documentation updates: Curses is 100% (for real this time)
Err. adding an updated patch, that removes the TODO regarding the constants vbatts (Vincent Batts)
05:35 AM Bug #4880 (Closed): documentation updates: Curses is 100% (for real this time)
Thanks to drbrain for picking up the rdoc bug to document the constants defined using rb_curses_define_const()
Now the following have been documented.
module Curses
# in file curses.c
A_ATTRIBUTES = nil
# in file curse...
vbatts (Vincent Batts)
05:41 AM Bug #4748: documentation updates: Curses and friends are 100% documented
oh for the love. wrong issue updated :(
intended for issue #4880
vbatts (Vincent Batts)
05:41 AM Bug #4748: documentation updates: Curses and friends are 100% documented
oh for the love. wrong issue updated :(
intended for issue #4880
vbatts (Vincent Batts)
05:39 AM Bug #4748: documentation updates: Curses and friends are 100% documented
Err. adding an updated patch, that removes the TODO regarding the constants vbatts (Vincent Batts)
04:10 AM Feature #4877: Unify Variable Expansion within Strings
John Higgins wrote:
> It always happens - you give someone enough rope and they always end up with it wrapped around their neck.....
> ...
Obvious: compatibility
Obvious: there are other suggestions within the comments.
> > * Th...
lazaridis.com (Lazaridis Ilias)
02:38 AM Feature #4877: Unify Variable Expansion within Strings
It always happens - you give someone enough rope and they always end up with it wrapped around their neck.....
Lazaridis Ilias wrote:
> The one thing which should be clear is, that "Unify Variable Expansion within Strings" is somethi...
wishdev (John Higgins)
02:01 AM Feature #4877: Unify Variable Expansion within Strings
Yukihiro Matsumoto wrote:
> Hi,
> ...
I assumed this, and it's just a reason more to give this issue more attention.
> I have already considered the idea long before you proposed.
Is this documented somewhere (thus one can see t...
lazaridis.com (Lazaridis Ilias)
04:09 AM Revision 8fc86b0d (git): * common.mk (sudo-precheck): authenticate at first to sudo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:07 AM Revision 7905fc1e (git): * test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
split for each platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:13 AM Revision b6135f1c (git): * gc.c (rb_gc_set_params): call initial_expand_heap if
initial_heap_min_slots is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
02:13 AM Revision 8c79b8b6 (git): * gc.c: use size_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
01:38 AM Revision bfa6c6b4 (git): Clear error messages before process and get errors. [ruby-dev:43791] [Bug #4879]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:14 AM Feature #4796 (Closed): Coverage should be restartable
Sorry for late action. I've committed my implementation and
your test patch. Thank you!
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:06 AM Revision 51744256 (git): Copy YAML::Store to Syck::Store to keep it from yamler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:48 AM Revision cedc12ce (git): Explictly specify syck.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:37 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
Can reproduce with ruby built from source without rvm.
(this does not seem to be caused by using continuations, this seems to be a more general problem when building with XCode 4.2.0)
Okay, I reinstalled XCode 4.2 and did the follo...
levinalex (Levin Alexander)
12:29 AM Bug #3137: complex.rb changes exceptions of Math
> それであれば, CMathのなかで, Object#real? を定義して, TypeErrorを出す
> ようにしようと思います.

単純に疑問ですが、この方法は良いのでしょうか?

個別に Numeric であるか確認するか、どうしてもこのやり方をするのであれば、
complex.rb でやるとか。complex.rb をつかわなければ、Math は置き換えられ
ませんから。
tadf (tadayoshi funaba)
12:29 AM Bug #3137: complex.rb changes exceptions of Math
> それであれば, CMathのなかで, Object#real? を定義して, TypeErrorを出す
> ようにしようと思います.

単純に疑問ですが、この方法は良いのでしょうか?

個別に Numeric であるか確認するか、どうしてもこのやり方をするのであれば、
complex.rb でやるとか。complex.rb をつかわなければ、Math は置き換えられ
ませんから。
tadf (tadayoshi funaba)
12:25 AM Bug #4559: Proc#== does not match the documented behaviour
I am not satisfied with the current behavior. Two proc objects should
equal either
* when two proc objects are the same (identical) object (as 1.8 does).
* or when two proc objects share same body (as documented).
The 1.9 beha...
matz (Yukihiro Matsumoto)
12:23 AM Bug #4473: Calling return within begin still executes else
Hi,

In message "Re: [ruby-core:37092] Re: [Ruby 1.9 - Bug #4473] Calling return within begin still executes else"
on Mon, 13 Jun 2011 23:04:46 +0900, SASADA Koichi <ko1@atdot.net> writes:

|(2011/06/11 16:21), Nobuyoshi N...
matz (Yukihiro Matsumoto)

06/13/2011

11:59 PM Feature #4877: Unify Variable Expansion within Strings
Hi,

In message "Re: [ruby-core:37079] [Ruby 1.9 - Feature #4877] Unify Variable Expansion within Strings"
on Mon, 13 Jun 2011 19:07:44 +0900, Lazaridis Ilias <ilias@lazaridis.com> writes:
|
|I understand this, but:
| * ...
matz (Yukihiro Matsumoto)
10:21 PM Feature #4877: Unify Variable Expansion within Strings
Florian Gilcher wrote:
> "#test" is used _very_ often, especially in many test suites out there, as it is the notation used for instance methods in Ruby. So changing this would break _a lot of code_, for example: https://github.com/data...
lazaridis.com (Lazaridis Ilias)
09:53 PM Feature #4877: Unify Variable Expansion within Strings
On Mon, Jun 13, 2011 at 11:07 AM, Lazaridis Ilias <ilias@lazaridis.com> wrote:
> Yukihiro Matsumoto wrote:
>> Expanding non-prefixed variables/expressions are too easy to conflict.  For example, you will have problem to print a string...
aprescott (Adam Prescott)
09:44 PM Feature #4877: Unify Variable Expansion within Strings
"#test" is used _very_ often, especially in many test suites out there, as it is the notation used for instance methods in Ruby. So changing this would break _a lot of code_, for example: https://github.com/datamapper/dm-core/blob/master... Skade (Florian Gilcher)
07:07 PM Feature #4877: Unify Variable Expansion within Strings
Yukihiro Matsumoto wrote:
> Expanding non-prefixed variables/expressions are too easy to conflict. For example, you will have problem to print a string like "Foo#bar". It would print "Foonil" or whatever depends on the value of the lo...
lazaridis.com (Lazaridis Ilias)
01:09 PM Feature #4877 (Rejected): Unify Variable Expansion within Strings
Expanding non-prefixed variables/expressions are too easy to conflict. For example, you will have problem to print a string like "Foo#bar". It would print "Foonil" or whatever depends on the value of the local variable bar. For me, th... matz (Yukihiro Matsumoto)
01:04 PM Feature #4877 (Assigned): Unify Variable Expansion within Strings
naruse (Yui NARUSE)
06:39 AM Feature #4877 (Rejected): Unify Variable Expansion within Strings
class VarTester
$g = "global"
@@c = "class"

def f
"function"
end
def initialize
@i = "instance"
l = "local"
puts "#$g #@@c #@i #l #f #{l} #{f}"
end
end
VarTester.new
#=> global class i...
lazaridis.com (Lazaridis Ilias)
11:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
まつもと ゆきひろです

In message "Re: [ruby-dev:43787] [Ruby 1.9 - Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではないか"
on Mon, 13 Jun 2011 23:16:37 +0900, Kenta Murata <muraken@gmail.com> writes:

|Issue #4878 has been r...
matz (Yukihiro Matsumoto)
11:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
まつもと ゆきひろです

In message "Re: [ruby-dev:43787] [Ruby 1.9 - Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではないか"
on Mon, 13 Jun 2011 23:16:37 +0900, Kenta Murata <muraken@gmail.com> writes:

|Issue #4878 has been r...
matz (Yukihiro Matsumoto)
11:16 PM Feature #4878 (Rejected): CMath に frexp, ldexp, hypot の3関数は不要ではないか
現在 CMath は、Math を include して各関数を再定義することで実装されています。
このやり方では、複素数向けの関数としては定義できない frexp, ldexp, hypot の3関数も同時に include されてしまいます。
これらは Math の関数として定義されていれば良いだけですので、CMath からの削除を提案します。
mrkn (Kenta Murata)
11:38 PM Bug #4544 (Closed): Ripperで「:"a \n b \n c"」を正常にパースできない
This issue was solved with changeset r32067.
Kazunori, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (parser_parse_string): flush delayed token. based ...
nobu (Nobuyoshi Nakada)
11:23 PM Bug #4473: Calling return within begin still executes else
(2011/06/11 16:21), Nobuyoshi Nakada wrote:
> I bet that it is a bug in 1.8.

Matz, could you give me a comment, again?

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
11:12 PM Bug #3676 (Closed): CMath.cbrt(-8)の結果が複素数にならない
CMath についてですが、現状で複素数に対応できていないのは以下の3関数です。
gamma
lgamma
erf
erfc
これらのうち、gamma は exp(lgamma) なので良いとして、他の3種類はアルゴリズムを手に入れるところからのスタートなので、1.9.4で対応することを目標に取り組みます。
それから、frexp, ldexp, hypot の3関数は CMath の下に定義する必要は無いと思いますので、別チケットで削除の提案をし...
mrkn (Kenta Murata)
02:00 PM Bug #3676: CMath.cbrt(-8)の結果が複素数にならない
まず CMath.cbrt 単独で、主値を返却するように修正します。
CMath の他の関数についてはバグとして、オプション引数の導入についてはフィーチャーとちえ、個別にチケット化します。
mrkn (Kenta Murata)
11:06 PM Bug #4855 (Assigned): rb_context_t::saved_thread::machine_stack_(start|end) should be cleared
別途メールで芝さんに確認して頂けました。問題なさそうなのでこれでコミットします。 nagachika (Tomoyuki Chikanaga)
10:29 PM Feature #4824: Provide method Kernel#executed?
On Sat, Jun 11, 2011 at 11:20:31AM +0900, Rocky Bernstein wrote:
> On Fri, Jun 10, 2011 at 10:03 AM, Cezary <cezary.baginski@gmail.com> wrote:
> > On Fri, Jun 10, 2011 at 07:20:32AM +0900, Rocky Bernstein wrote:
> >
> > > It has...
Cezary (Cezary Baginski)
06:53 PM Bug #4825 (Closed): BigDecimal#new is broken
I fixed this issue by r32052.
mrkn (Kenta Murata)
05:23 PM Revision d4eae546 (git): * test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
fix for Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:06 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
I think securerandom_opensslfree.diff is too radical for this issue.
It may decrease working platforms.
However concrete advantage/disadvantage between OpenSSL and /dev/urandom is interesting.
(portability, randomness quality, perfo...
akr (Akira Tanaka)
12:23 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
Motohiro KOSAKI <kosaki.motohiro@gmail.com> wrote:
> Eeek. I dislike to remove OpenSSL dependency from SecureRadom. Because
> /dev/urandom is less secure than OpenSSL.

Is that only the case with poor urandom implementations in ...
normalperson (Eric Wong)
11:00 AM Bug #4579: SecureRandom + OpenSSL may repeat with fork
The patch looks good to me.
Thank you.
kosaki (Motohiro KOSAKI)
01:11 AM Bug #4579: SecureRandom + OpenSSL may repeat with fork
Hm.
I don't like pthread_atfork because the hook is run even if we don't need random functions in the child process.
(Remember only async signal safe functions are safe in forked child process)
We should delay modifying PRNG state...
akr (Akira Tanaka)
04:59 PM Feature #4645: Pass existing buffer to getsockopt
I think it is reasonable.
It also makes us possible to specify the buffer size.
Currently the buffer size for getsockopt is fixed. (256 bytes)
However I'd like to see actual good example for this feature.
It is great for the meth...
akr (Akira Tanaka)
04:12 PM Revision 1d147fb2 (git): * test/coverage/test_coverage.rb: add a test for restart. a patch
from Xavier Shay. [ruby-core:36745]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:06 PM Revision 7023a64d (git): * ext/coverage/coverage.c: make it restartable. [ruby-core:36539]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:06 PM Revision 8dddc12a (git): * 2011-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision afd1a64c (git): * thread.c (rb_thread_schedule_rec): call gvl_yield() unconditionally.
* thread_pthread.c: remove HAVE_GVL_YIELD macro.
* thread_win32.c (gvl_yield): new. this fallback logic was moved from
rb_thread_schedule_rec().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32069 b2dd03c8-39d4-4d8f-98ff-823fe69...
kosaki (Motohiro KOSAKI)
02:51 PM Revision 57ed1e9d (git): * ext/io/console/console.c (console_dev): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:38 PM Revision ce90fcdb (git): * parse.y (parser_parse_string): flush delayed token. based on a
patch by Masaya Tarui in [ruby-dev:43762]. Bug #4544
* parse.y (yylex): revert r24557. delayed token at the end of
string should be flushed already by the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32067 b2dd03c...
nobu (Nobuyoshi Nakada)
02:33 PM Revision 73c6b9d4 (git): * ext/io/console/console.c (console_dev): console should be
unbuffered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:28 PM Revision a7b0b52f (git): * ext/io/console/console.c (console_dev): take care of no-ctty
case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:14 PM Revision bcfc22b1 (git): * thread_pthread.c: rewrite GVL completely.
* thread_win32.c: ditto.
* thread_pthread.h: ditto.
* vm_core.h: ditto.
* thread.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:12 PM Revision e504a81f (git): * test/socket/test_unix.rb: don't use Thread.abort_on_exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:11 PM Revision 9778737d (git): * ext/socket/unixsocket.c (unix_send_io): race condition fixed.
(unix_recv_io): ditto.
fixed by Eric Wong. [ruby-core:35574]
* test/socket/test_unix.rb: test added for above problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:06 PM Revision 3254c1bf (git): * ext/io/console/console.c (console_dev): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:05 PM Revision a72f0334 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:42 PM Bug #4536 (Closed): 定数参照について1.8と1.9の違い
matz (Yukihiro Matsumoto)
01:33 PM Bug #4536: 定数参照について1.8と1.9の違い
Koichi Sasada wrote:
> これは閉じてもいいでしょうか.
まつともさんがこれでいいならいいと思います。
というわけでまつもとさんにアサインしました。
shugo (Shugo Maeda)
12:49 PM Revision e3672626 (git): * thread_win32.c (native_cond_signal): remove unnecessary rb_bug().
It's addional fix for r32021. [Bug #4696]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:56 AM Revision 83961430 (git): * test/openssl/test_ec.rb
test/openssl/test_pkey_ec.rb: merge both files into test_pkey_ec.rb.
Removed redundant group instantiation from PKey tests.
* test/openssl/utils.rb: only create TEST_PKEY_EC_P256V1 if EC is
defined.
git-svn-id: svn+ssh://ci.ruby-la...
MartinBosslet (Martin Bosslet)
11:37 AM Feature #4412 (Closed): [ext/openssl] Create Digest by OID
This issue was solved with changeset r32040.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_digest.c: allow Digests to be created by sn,...
Anonymous
11:32 AM Revision 56aca9fc (git): * test/openssl/digest.rb: remove MDC2 from test, it is not available
by default in an OpenSSL installation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
11:25 AM Revision 038ef3f0 (git): * vm_core.h, vm_insnhelper.h: move decl. of
ruby_vm_global_state_version and related macros
from vm_core.h to vm_insnhelper.h.
* vm.c (vm_clear_all_cache): added. This function is called
when ruby_vm_global_state_version overflows.
TODO: vm_clear_all_inline_method_cache() i...
ko1 (Koichi Sasada)
10:48 AM Revision 0f6794cb (git): * lib/cmath.rb: add new methd Object#real?. fix #3137
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e keiju (Keiju Ishitsuka)
10:21 AM Revision 2ba3909c (git): Additional fix for r31933.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:51 AM Revision 5112c6d1 (git): * ext/bigdecimal/bigdecimal.c (is_kind_of_BigDecimal): new function to
examine the whether the object is kind of BigDecimal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
09:51 AM Revision 3bd8b390 (git): * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): use GetVpValueWithPrec
for Float and Rational arguments.
* test/bigdecimal/test_bigdecimal.rb (test_new, test_cmp, test_power):
add and modify tests for the above change.
* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): modify coding style to
match ruby's st...
Kenta Murata
09:36 AM Revision c2e6b0fd (git): * 2011-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:36 AM Revision 58bae71a (git): * lib/securerandom.rb (SecureRandom.random_bytes): modify PRNG state
to prevent random number sequence repeatation at forked child
process which has same pid.
reported by Eric Wong. [ruby-core:35765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:36 AM Revision 427d707b (git): * lib/securerandom.rb (SecureRandom.random_bytes): modify PRNG state
to prevent random number sequence repeatation at forked child
process which has same pid.
reported by Eric Wong. [ruby-core:35765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32050 b2dd03c8-39d4-4d8f-98ff-823fe69...
akr (Akira Tanaka)
08:03 AM Revision df366010 (git): * lib/net/http.rb (Net::HTTP#use_ssl?): require 'openssl' only when
https is needed. fixes r31933.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:41 AM Revision 1afe9dbd (git): Fix: r32043 may raise NameError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:47 AM Feature #4424: [ext/openssl] Allow public/private key creation from arbitrary data
I added the PKey.read functionality as a new (backward-compatible) feature to the PKey module.
Regards,
Martin
MartinBosslet (Martin Bosslet)
05:39 AM Feature #4424 (Closed): [ext/openssl] Allow public/private key creation from arbitrary data
This issue was solved with changeset r32036.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_pkey.c: added PKey.read module function that...
Anonymous
05:36 AM Revision e6bea897 (git): * lib/cmath.rb (CMath.cbrt): returns the principal value of the cube
root of the argument. fix #3676
* test/test_cmath.rb (test_cbrt_returns_principal_value_of_cube_root):
test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
05:22 AM Revision da923d2b (git): * lib/test/unit.rb (Test::Unit::GlobOption#non_options): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
04:09 AM Revision 1c629eff (git): * ext/openssl/ossl_digest.c: fix error for digests that have no oid
(e.g. DSS1).
* test/openssl/test_digest.c: add tests for this.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
03:55 AM Revision 60947ded (git): * lib/yaml.rb: load psych only when syck is not loaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 AM Revision 8318a14c (git): * ext/syck/lib/syck/rubytypes.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 AM Revision 4e8fed8f (git): Specify yamler before runnnig tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 AM Revision 69cb0ca3 (git): * ext/psych/lib/psych/deprecated.rb (Object#to_yaml_properties):
undef to_yaml_properties before redefine it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:37 AM Revision 4247bfd6 (git): * ext/openssl/ossl_digest.c: allow Digests to be created by sn, ln or
oid.
* test/openssl/test_digest.rb: add tests for this.
[Ruby 1.9 - Feature #4412] [ruby-core:35319]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
01:58 AM Revision a27b63d3 (git): * ext/openssl/pkey_dh.c: corrected documentation.
* test/openssl/utils.rb: add test key for DH.
* test/openssl/test_pkey_dh.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
01:57 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
oops sorry, i missed looking old replies... sorah (Sorah Fukumori)
01:56 AM Bug #4651 (Feedback): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
Hi,
thank you for your testing.
Could you test without rvm (compile with your hands!)?
Also, if you can, could you test at the ruby svn trunk?
and Lion is not released, so we can't support well.
please understand that.
thanks.
sorah (Sorah Fukumori)
01:43 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
diffing both config.log files:
the segfaulting ruby (XCode 4.2) is compiled with:
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
i686-apple-darwin10-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. bui...
levinalex (Levin Alexander)
01:25 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
I downgraded to XCode 4.0.2 (4A2002a) and recompiled ruby with rvm. This makes the problem go away. (both for 1.9.2p180 and p274)
$ ruby --version
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
$ ruby cc.rb
cc.rb...
levinalex (Levin Alexander)
01:23 AM Bug #3456: bisarre comma
まつもと ゆきひろです

In message "Re: [ruby-dev:43765] Re: [Ruby 1.9 - Bug #3456] bisarre comma"
on Sun, 12 Jun 2011 15:05:51 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|> 末尾assocの後ろにもカンマを許すパッチ。
|
|手元で確認してみた感じとしては、...
matz (Yukihiro Matsumoto)
01:15 AM Revision 149f35fc (git): * ext/openssl/pkey_dh.c: clarify difference between DH#public_key and
DH#pub_key in documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
01:15 AM Bug #4821: Random Segfaults (in start_thread?)
As of 0.9.0, therubyracer does not support multithreaded webservers. We're working on this, but in the meantime, there are some workarounds here:
https://github.com/cowboyd/therubyracer/issues/79
cowboyd (Charles Lowell)
12:04 AM Bug #4875: Segmentation fault in http.rb
export RUBYOPT='-r openssl'
fixes this
Falcon (Ilya Sokolov)

06/12/2011

11:45 PM Feature #4806 (Closed): A few Issues subjecting the Issue Tracker
naruse (Yui NARUSE)
11:00 PM Feature #4806: A few Issues subjecting the Issue Tracker
You can close this issue, I consider it solved (independent of the 1.9.2 status) lazaridis.com (Lazaridis Ilias)
11:40 PM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
I just ran into this on Snow Leopard after reinstalling rvm [1]. I am using Xcode 4.2 (4C104)
config.log is attached.
$ cat cc.rb
require 'continuation'
x = callcc { |b| b }
x.call
$ which ruby
/Users/levin/.rvm/rubies/ru...
levinalex (Levin Alexander)
11:06 PM Bug #3862: Bugs in the OpenSSL extension on sparc64
Ok, I'll see what I can find out :) MartinBosslet (Martin Bosslet)
06:23 AM Bug #3862: Bugs in the OpenSSL extension on sparc64
On Sun, Jun 12, 2011 at 05:25:35AM +0900, Martin Bosslet wrote:
>
> Issue #3862 has been updated by Martin Bosslet.
>
>
> Hi,
>
> Aaron, I could take this if you like?
> I neither have OpenBSD nor sparc64, but I could analyz...
tenderlovemaking (Aaron Patterson)
05:25 AM Bug #3862: Bugs in the OpenSSL extension on sparc64
Hi,
Aaron, I could take this if you like?
I neither have OpenBSD nor sparc64, but I could analyze
the results and tell whether this is a real bug or what
else might have caused this behavior.
MartinBosslet (Martin Bosslet)
10:48 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
Yes, comment#9 said,
> Yes, I confirmed OpenSSL can't change the current behavior:
> ...
kosaki (Motohiro KOSAKI)
08:07 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
This issue seems a OpenSSL issue.
Does someone reported to OpenSSL project?
akr (Akira Tanaka)
10:45 PM Bug #4554 (Closed): test_set_errors in test_x509store.rb fails on CentOS 5.5
kosaki (Motohiro KOSAKI)
06:43 PM Bug #4554: test_set_errors in test_x509store.rb fails on CentOS 5.5
Sorry, it is already reported as #4122 . yhara (Yutaka HARA)
09:38 PM Bug #4814: minitest 2.2.x and test/unit do not get along
How's it going? naruse (Yui NARUSE)
09:29 PM Bug #4757: Attempt to make Enumerator docs more clear (patch included)
2011/6/12 Yusuke ENDOH <mame@tsg.ne.jp>:

> I can understand "next_values doesn't affect Array#each". So,
> "enumeration sequence by" is not needed, right?

I see.
It makes sense.
--
Tanaka Akira
akr (Akira Tanaka)
08:29 PM Bug #4757: Attempt to make Enumerator docs more clear (patch included)
Hello,

2011/6/12 Tanaka Akira <akr@fsij.org>:
> 2011/5/25 Yusuke Endoh <mame@tsg.ne.jp>:
>
>> - * Note that enumeration sequence by next_values method does not affect other
>> - * non-external enumeration methods, unless underlyi...
mame (Yusuke Endoh)
08:23 PM Bug #4757: Attempt to make Enumerator docs more clear (patch included)
2011/5/25 Yusuke Endoh <mame@tsg.ne.jp>:

> - * Note that enumeration sequence by next_values method does not affect other
> - * non-external enumeration methods, unless underlying iteration
> - * methods itself has side-effect,...
akr (Akira Tanaka)
08:52 PM Revision bec36af2 (git): * NEWS: introduce PKey.read
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
08:39 PM Revision bbb3cfb1 (git): * ext/openssl/ossl_pkey.c: added PKey.read module function that allow
reading arbitrary public/private keys from DER-/PEM-encoded File or
string instances.
* ext/openssl/ossl_pkey_dh.c: improved documentation.
* test/openssl/utils.rb: added EC test key.
* test/openssl/test_pkey_rsa.rb
test/openssl/test...
MartinBosslet (Martin Bosslet)
07:53 PM Bug #4544: Ripperで「:"a \n b \n c"」を正常にパースできない
なかだです。

At Sun, 12 Jun 2011 09:18:46 +0900,
Masaya Tarui wrote in [ruby-dev:43762]:
> このチケットの原因になってる 、yylex でdelayed_tokenをdispatchするコード(parse.y:7855)の直後のreturnを
> r24557([Bug #1071])で削除していますが、
> ripper_dispatch_delayed_tok...
nobu (Nobuyoshi Nakada)
07:53 PM Bug #4544: Ripperで「:"a \n b \n c"」を正常にパースできない
なかだです。

At Sun, 12 Jun 2011 09:18:46 +0900,
Masaya Tarui wrote in [ruby-dev:43762]:
> このチケットの原因になってる 、yylex でdelayed_tokenをdispatchするコード(parse.y:7855)の直後のreturnを
> r24557([Bug #1071])で削除していますが、
> ripper_dispatch_delayed_tok...
nobu (Nobuyoshi Nakada)
09:18 AM Bug #4544: Ripperで「:"a \n b \n c"」を正常にパースできない

ripperのコードを読んでみましたが通常のparse.cとの何が違うか理解するのが難しいですね。
このチケットの原因になってる 、yylex でdelayed_tokenをdispatchするコード(parse.y:7855)の直後のreturnを
r24557([Bug #1071])で削除していますが、
ripper_dispatch_delayed_token(parser, t);
ripper_dispatch_scan_event(pa...
tarui (Masaya Tarui)
07:44 PM Revision 7b614a53 (git): * ext/objspace/objspace.c (total_i): fix to skip no ruby objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:40 PM Bug #4821: Random Segfaults (in start_thread?)
It seems the problem is related to the `therubyracer` gem. If I remove it, no errors occur. I'll lodge bug there. Would be nice if it could be confirmed. dnagir (Dmytrii Nagirniak)
07:09 PM Bug #4821: Random Segfaults (in start_thread?)
It looks like I have the same (or very similar issue) in Rails 3.1.0.rc1-4.
I was trying to run request specs using Capybara from source and sprockets.
Attaching the Gemfile.lock with all the dependencies used and the terminal output.
dnagir (Dmytrii Nagirniak)
05:08 AM Bug #4821: Random Segfaults (in start_thread?)
Hi Aaron,
thanks! I sent you an email with a url.
Corné
corneverbruggen (Corné Verbruggen)
02:23 AM Bug #4821: Random Segfaults (in start_thread?)
On Sat, Jun 11, 2011 at 07:07:31PM +0900, Corné Verbruggen wrote:
>
> Issue #4821 has been updated by Corné Verbruggen.
>
>
> Running rails 3.1.0.rc4 on ruby 1.9.2 on Ubuntu 11.04 64bit, I get segfaults that might point at the s...
tenderlovemaking (Aaron Patterson)
07:08 PM Bug #4864: RubyGems が環境変数 MAKE を見てくれない
translation: http://ruby-dev.route477.net/posts/43696 yhara (Yutaka HARA)
06:53 PM Bug #4765: signal が正しくマスクされておらず main thread でシグナルハンドラが動いている
ささださんと議論した結果、逆にシグナルマスク操作を全部削除してしまって全スレッドでシグナルを受けれるようにしたほうが
よいという結論にしました。改訂版パッチを添付します。
rb_syswait() の件が経緯不明のため、このパッチは1.9.4 送りの方向で考えています。
kosaki (Motohiro KOSAKI)
06:43 PM Bug #4122: test_x509store.rbのtest_set_errorsが失敗する
See also: #4554 yhara (Yutaka HARA)
06:20 PM Revision a7198a3c (git): Ignore exception from Process.kill.
On NetBSD this usually raises Errno::ESRCH.
Of course, the process is already finished and should be ignored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:13 PM Revision e445f1c6 (git): * test/benchmark/test_benchmark.rb (capture_output):
replace '-' as space. On NetBSD, subtract between two Process.times
after and before the short process may return negative value like:
t0=Process.times; yield; t1=Process.times; p t1.utime-t0.utime
git-svn-id: svn+ssh://ci.ruby-lang...
naruse (Yui NARUSE)
05:53 PM Feature #3905 (Closed): rb_clear_cache_by_class() called often during GC for non-blocking I/O
This issue was solved with changeset r32024.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_method.c (rb_clear_cache*): update only vm state version.
* ...
ko1 (Koichi Sasada)
05:43 PM Revision f2c7a874 (git): * test/openssl/test_pkey_dsa.rb: Test for DSA#syssign/sysverify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
05:03 PM Revision 48a399d6 (git): * ext/openssl/ossl_pkey_dh.c: completed documentation.
* ext/openssl/ossl_pkey_dsa.c: corrected examples. Improved parameter
sections.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
04:22 PM Bug #4853 (Closed): ext/tk/extconf.rb fails on Mac OS X
This issue was solved with changeset r32023.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/extconf.rb: fails on Mac OS X [Ruby 1.9 - Bug #4853]
nagai (Hidetoshi Nagai)
03:58 PM Bug #4723 (Closed): check_deadlock_i での transition_for_lockの扱いが thread unsafe
This issue was solved with changeset r32022.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c: remove th->transition_for_lock. It's thread unsaf...
kosaki (Motohiro KOSAKI)
03:55 PM Bug #4696 (Closed): thread.c#lock_func() が spurious wakeup unsafe
This issue was solved with changeset r32021.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c: introduce spurious wakeup safe deadlock check.
...
kosaki (Motohiro KOSAKI)
03:48 PM Revision eac92254 (git): * 2011-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:48 PM Revision d6b4cf46 (git): * ext/openssl/ossl_pkey_dsa.c: completed documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
03:23 PM Bug #3456: bisarre comma
(06/12/2011 03:55 AM), Yukihiro Matsumoto wrote:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:43760] Re: [Ruby 1.9 - Bug #3456] bisarre comma"
> on Sun, 12 Jun 2011 03:33:57 +0900, Yukihiro Matsumoto <matz@ruby-lang.org> wri...
shyouhei (Shyouhei Urabe)
03:59 AM Bug #3456: bisarre comma
まつもと ゆきひろです
In message "Re: [ruby-dev:43760] Re: [Ruby 1.9 - Bug #3456] bisarre comma"
on Sun, 12 Jun 2011 03:33:57 +0900, Yukihiro Matsumoto <matz@ruby-lang.org> writes:
|いや、見落としがあったのは事実で申し訳ない。とりあえずこんな
|パッチを書いて見ました。ちょっと余裕がない...
matz (Yukihiro Matsumoto)
03:53 AM Bug #3456: bisarre comma
まつもと ゆきひろです
In message "Re: [ruby-dev:43759] Re: [Ruby 1.9 - Bug #3456] bisarre comma"
on Sun, 12 Jun 2011 03:14:43 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
|まあこれも実はredmineのログには書いてあったわけですが、
|
|* 卜部は当然yaccとruby ...
matz (Yukihiro Matsumoto)
03:23 AM Bug #3456: bisarre comma
卜部です。

まあこれも実はredmineのログには書いてあったわけですが、

* 卜部は当然yaccとruby -yを読んでから発言しており、現状の解説を求めてい
るわけではない。現状がおかしいと言っている。
* 卜部は括弧がない場合のみ(「行末の,」に言及していますね?)を問題にしてお
り、かつ、括弧がある場合の挙動変更はえんどうさんからrejectされているの
で、現在話題になっているのは括弧なしの場合のみ。

の二点を再...
shyouhei (Shyouhei Urabe)
03:23 AM Bug #3456: bisarre comma
卜部です。

まあこれも実はredmineのログには書いてあったわけですが、

* 卜部は当然yaccとruby -yを読んでから発言しており、現状の解説を求めてい
るわけではない。現状がおかしいと言っている。
* 卜部は括弧がない場合のみ(「行末の,」に言及していますね?)を問題にしてお
り、かつ、括弧がある場合の挙動変更はえんどうさんからrejectされているの
で、現在話題になっているのは括弧なしの場合のみ。

の二点を再...
shyouhei (Shyouhei Urabe)
02:29 AM Bug #3456: bisarre comma
まつもと ゆきひろです
In message "Re: [ruby-dev:43755] Re: [Ruby 1.9 - Bug #3456] bisarre comma"
on Sun, 12 Jun 2011 00:17:05 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
> 俺がこれはバグだと思うのは、括弧のあるなしで意味が変わるというのが凶悪だ
> ...
「演算子(この場合...
matz (Yukihiro Matsumoto)
12:23 AM Bug #3456: bisarre comma
メールにじかに反応したまつもとさんは読んでないと思うのでコメント#5を再掲
すると、
俺がこれはバグだと思うのは、括弧のあるなしで意味が変わるというのが凶悪だ
という思うからです。なぜ
i(j,)
k l
がOKで
i j,
k l
がNGなのか、あきらかに混乱のもとです。さらにいうと
i j, do end
k l
も現状OKです。もはやわけわからん。
この行末に,を許そうと...
shyouhei (Shyouhei Urabe)
02:40 PM Revision c6a506d0 (git): lib/drb/drb.rb (kill_sub_thread): remove the method. [ruby-core:34185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
12:09 PM Revision 1afbc783 (git): * ext/date/date_core.c (d_lite_marshal_load): should give converted value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:38 AM Revision ef9fe821 (git): * ext/date/date_core.c: edited doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:06 AM Bug #1296 (Closed): [trunk/22981] 64-bit issues on trunk in ext/zlib
I no longer see these warnings on gcc 4.2.1 on OS X 10.6. drbrain (Eric Hodel)
09:12 AM Revision d5abe72c (git): * benchmark/bm_vm3_clearmethodcache.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:53 AM Revision 8c09664a (git): * vm_method.c (rb_clear_cache*): update only vm state version.
* vm_method.c (rb_method_entry_get_without_cache, rb_method_entry):
Fill method cache entry with vm state version, and
check current vm state version for method (cache) look up.
This modification speed-up invaridating of global met...
ko1 (Koichi Sasada)
07:22 AM Revision 483efa1f (git): * ext/tk/extconf.rb: fails on Mac OS X [Ruby 1.9 - Bug #4853]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
06:58 AM Revision f0041fa0 (git): * thread.c: remove th->transition_for_lock. It's thread unsafe.
[Bug #4723][ruby-dev:43563]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:55 AM Revision 614fcdf6 (git): * thread.c: introduce spurious wakeup safe deadlock check.
[Bug #4696][ruby-dev:43554]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:38 AM Revision 3c9187a2 (git): * benchmark/bm_vm3_thread_mutex.rb: remove it.
* benchmark/bm_vm3_thread_mutex[1-3].rb: added 3 benchmarks.
1: one thread with one mutex (no contention).
2: two threads with one mutex (contention).
3: 1000 threads with one mutex (huge number of contention)
Abobe removed bench...
ko1 (Koichi Sasada)
04:31 AM Bug #4875 (Closed): Segmentation fault in http.rb
=begin
It appears when i use omniauth in rails app
/Users/Falcon/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/http.rb:678: [BUG] Segmentation fault
ruby 1.9.2p274 (2011-06-06 revision 31932) [x86_64-darwin10.7.0]

-- contr...
Falcon (Ilya Sokolov)
02:53 AM Feature #1269: warning when Kernel#p is used
まつもと ゆきひろです

In message "Re: [ruby-dev:43705] [Ruby 1.9 - Feature #1269] warning when Kernel#p is used"
on Sat, 11 Jun 2011 14:21:18 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|これ,どうしましょう.

pをコンパイル時に特別扱いというの...
matz (Yukihiro Matsumoto)
02:53 AM Feature #1269: warning when Kernel#p is used
まつもと ゆきひろです

In message "Re: [ruby-dev:43705] [Ruby 1.9 - Feature #1269] warning when Kernel#p is used"
on Sat, 11 Jun 2011 14:21:18 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|これ,どうしましょう.

pをコンパイル時に特別扱いというの...
matz (Yukihiro Matsumoto)
02:53 AM Feature #1374: location of already initialized constant
まつもと ゆきひろです

In message "Re: [ruby-dev:43707] [Ruby 1.9 - Feature #1374] location of already initialized constant"
on Sat, 11 Jun 2011 14:27:28 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|Issue #1374 has been up...
matz (Yukihiro Matsumoto)
02:53 AM Feature #1374: location of already initialized constant
まつもと ゆきひろです

In message "Re: [ruby-dev:43707] [Ruby 1.9 - Feature #1374] location of already initialized constant"
on Sat, 11 Jun 2011 14:27:28 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|Issue #1374 has been up...
matz (Yukihiro Matsumoto)
02:41 AM Bug #4874 (Closed): Adding documentation for CSV#raw_encoding method
Another patch to help with the Ruby 1.9.3 documentation challenge czarneckid (David Czarnecki)
02:23 AM Bug #4623: Consistent crash related to action_mailer
On Sat, Jun 11, 2011 at 04:30:37PM +0900, Koichi Sasada wrote:
>
> Issue #4623 has been updated by Koichi Sasada.
>
> Priority changed from High to Normal
>
> Third party issue?
> Anyone can handle this?
> -------------------...
tenderlovemaking (Aaron Patterson)
02:18 AM Revision 60e078c8 (git): * io.c: use select() appropriately for sendfile().
Fixed by Eric Wong. [ruby-core:36150]
(maygvl_copy_stream_wait_readwrite): removed.
(nogvl_copy_stream_sendfile): use nogvl_copy_stream_wait_write and
maygvl_copy_stream_wait_read instead of
maygvl_copy_stream_wait_readwrite.
...
akr (Akira Tanaka)
02:02 AM Bug #4401 (Closed): override :method method breaks Psych
This was fixed in r31075. I'm not sure why redmine didn't automatically close. tenderlovemaking (Aaron Patterson)
01:57 AM Bug #2717 (Closed): Requiring rubygems/specification causes tons of warnings for NoMethodError
This seems to be fixed in ruby trunk:
[aaron@higgins ~]$ ruby -v -rrubygems/specification -e' '
ruby 1.9.3dev (2011-06-06 trunk 31944) [x86_64-darwin10.7.0]
[aaron@higgins ~]$
tenderlovemaking (Aaron Patterson)
01:12 AM Feature #3697: [PATCH] Allow build of dbm extension with Berkeley DB 5.0 series (for 1.9.2_rc2)
Matz, I can handle this issue if you want. I guess you don't have db-5.0 environment. kosaki (Motohiro KOSAKI)
12:23 AM Feature #3697: [PATCH] Allow build of dbm extension with Berkeley DB 5.0 series (for 1.9.2_rc2)
Hi,

In message "Re: [ruby-core:36979] [Ruby 1.9 - Bug #3697] [PATCH] Allow build of dbm extension with Berkeley DB 5.0 series (for 1.9.2_rc2)"
on Sat, 11 Jun 2011 15:14:35 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:
...
matz (Yukihiro Matsumoto)
12:45 AM Bug #4873 (Closed): Adding documentation for Benchmark::Tms#memberwise
First patch to help with the Ruby 1.9.3 documentation challenge. czarneckid (David Czarnecki)
12:32 AM Revision df3e3768 (git): * atomic.h (ATOMIC_OR): _InterlockedOr is not available on migw.
* gc.c (rb_gc_set_params): VM_OBJSPACE is disabled on mignw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:23 AM Bug #1792: Fixnum#& 等が、Rational などを受けつける
まつもと ゆきひろです

In message "Re: [ruby-core:36972] [Ruby 1.9 - Bug #1792] Fixnum#& 等が、Rational などを受けつける"
on Sat, 11 Jun 2011 14:54:43 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|Issue #1792 has been updated by Koich...
matz (Yukihiro Matsumoto)

06/11/2011

11:48 PM Bug #4770 (Closed): [Q] thread->interrupt_flag が適切に排他制御されていないように見える
kosaki (Motohiro KOSAKI)
11:16 PM Bug #3990 (Closed): tests of rexml/rss reports many errors and failures without iconv
#4872 として新しくチケットを作ったので、これはcloseします。 kou (Kouhei Sutou)
05:23 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
 ささだです.

(2011/06/11 15:44), Kouhei Sutou wrote:
> もう、触っちゃダメだということだと思っていたので、1.9.3がリリースした後でやろうと思っていました。
>
> なるせさんが言っている通り、
>
>> > REXML::XMLDecl#encoding が一体何を保持するものなのかって話ですよね、結局のところ。
> のところで思うところがあるのですが、文章でやりとりしていても落とし...
ko1 (Koichi Sasada)
05:23 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
 ささだです.

(2011/06/11 15:44), Kouhei Sutou wrote:
> もう、触っちゃダメだということだと思っていたので、1.9.3がリリースした後でやろうと思っていました。
>
> なるせさんが言っている通り、
>
>> > REXML::XMLDecl#encoding が一体何を保持するものなのかって話ですよね、結局のところ。
> のところで思うところがあるのですが、文章でやりとりしていても落とし...
ko1 (Koichi Sasada)
03:44 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
もう、触っちゃダメだということだと思っていたので、1.9.3がリリースした後でやろうと思っていました。
なるせさんが言っている通り、
> REXML::XMLDecl#encoding が一体何を保持するものなのかって話ですよね、結局のところ。
のところで思うところがあるのですが、文章でやりとりしていても落とし所が見つかる気がしなかったので、Ruby会議の時にでも相談しようかと思っていました。
kou (Kouhei Sutou)
03:24 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
須藤さん
こちら,どうなってますでしょうか.
ko1 (Koichi Sasada)
11:15 PM Feature #4872: REXML::XMLDecl#encodingがStringではなくEncodingを返すようにする
(本文中で #3990 にリンクをはるにはどうしたらよいのでしょうか。。。) kou (Kouhei Sutou)
11:14 PM Feature #4872 (Closed): REXML::XMLDecl#encodingがStringではなくEncodingを返すようにする
経緯は #3990 の後ろの方の流れを参照。
1.9.3がリリースされてからやる。
kou (Kouhei Sutou)
11:08 PM Bug #4417 (Closed): OpenSSL::Buffering#each_byte がブロックに文字をStringで渡している
r32012で取り込みました。ありがとうございました。 nahi (Hiroshi Nakamura)
10:59 PM Bug #3456: bisarre comma
まつもと ゆきひろです

In message "Re: [ruby-dev:43717] [Ruby 1.9 - Bug #3456] bisarre comma"
on Sat, 11 Jun 2011 15:06:24 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|長期的な展望としては,この件はどうなるべきでしょうか.

このままなんじゃない? 配列とかで要素の末...
matz (Yukihiro Matsumoto)
03:06 PM Bug #3456: bisarre comma
長期的な展望としては,この件はどうなるべきでしょうか. ko1 (Koichi Sasada)
10:53 PM Bug #4561: 1.9.2 requires parentheses around argument of method call in an array, where 1.8.7 did not
Hi,

In message "Re: [ruby-core:36994] [Ruby 1.9 - Bug #4561] 1.9.2 requires parentheses around argument of method call in an array, where 1.8.7 did not"
on Sat, 11 Jun 2011 15:58:33 +0900, Koichi Sasada <redmine@ruby-lang.org...
matz (Yukihiro Matsumoto)
03:58 PM Bug #4561: 1.9.2 requires parentheses around argument of method call in an array, where 1.8.7 did not
Matz, could you reply?
ko1 (Koichi Sasada)
10:38 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
Eeek. I dislike to remove OpenSSL dependency from SecureRadom. Because /dev/urandom is less secure than OpenSSL. kosaki (Motohiro KOSAKI)
06:36 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
Attached is the patch which removes OpenSSL dependency. Tanaka-san, aside from how OpenSSL.random_bytes should behave, can you accept this change? nahi (Hiroshi Nakamura)
05:02 PM Bug #4579 (Assigned): SecureRandom + OpenSSL may repeat with fork
ko1 (Koichi Sasada)
10:29 PM Bug #4443: odd evaluation order in a multiple assignment
まつもと ゆきひろです

In message "Re: [ruby-dev:43724] [Ruby 1.9 - Bug #4443] odd evaluation order in a multiple assignment"
on Sat, 11 Jun 2011 15:49:30 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|まつもとさん,こちらいかがでしょうか.
...
matz (Yukihiro Matsumoto)
10:29 PM Bug #4443: odd evaluation order in a multiple assignment
まつもと ゆきひろです

In message "Re: [ruby-dev:43724] [Ruby 1.9 - Bug #4443] odd evaluation order in a multiple assignment"
on Sat, 11 Jun 2011 15:49:30 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

>まつもとさん,こちらいかがでしょうか.
...
matz (Yukihiro Matsumoto)
04:04 PM Bug #4443: odd evaluation order in a multiple assignment
http://redmine.ruby-lang.org/issues/4440
に matz の返事があります。
> 優先順位は高くありませんが、直すべきだと思います。
> ...
確か redmine の更新直後で、インターフェイスの違いにハマってチケット登録に失敗してしまったのでした。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:49 PM Bug #4443: odd evaluation order in a multiple assignment
まつもとさん,こちらいかがでしょうか.
直せと言われたら私なのかなぁ.
ko1 (Koichi Sasada)
10:29 PM Bug #4591: (1.5...2).max #=> 1 (Range#max)
まつもと ゆきひろです

In message "Re: [ruby-dev:43732] [Ruby 1.9 - Bug #4591][Assigned] (1.5...2).max #=> 1 (Range#max)"
on Sat, 11 Jun 2011 17:03:00 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|終端を含まないRangeについて、endがInteg...
matz (Yukihiro Matsumoto)
10:29 PM Bug #4591: (1.5...2).max #=> 1 (Range#max)
まつもと ゆきひろです

In message "Re: [ruby-dev:43732] [Ruby 1.9 - Bug #4591][Assigned] (1.5...2).max #=> 1 (Range#max)"
on Sat, 11 Jun 2011 17:03:00 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|終端を含まないRangeについて、endがInteg...
matz (Yukihiro Matsumoto)
05:02 PM Bug #4591 (Assigned): (1.5...2).max #=> 1 (Range#max)
ko1 (Koichi Sasada)
10:23 PM Bug #595: Fiber ignores ensure clause
RubySpec 的にバグ扱いになってますね。
core/fiber/resume_spec.rb
naruse (Yui NARUSE)
10:23 PM Bug #595: Fiber ignores ensure clause
まつもと ゆきひろです

In message "Re: [ruby-dev:43715] [Ruby 1.9 - Bug #595] Fiber ignores ensure clause"
on Sat, 11 Jun 2011 14:52:03 +0900, Koichi Sasada <redmine@ruby-lang.org> writes:

|未だに考え中ですが,これは 1.9.3 には仕様変更になるので入りませんよね?
...
matz (Yukihiro Matsumoto)
02:52 PM Bug #595: Fiber ignores ensure clause
未だに考え中ですが,これは 1.9.3 には仕様変更になるので入りませんよね? ko1 (Koichi Sasada)
09:03 PM Feature #4871 (Closed): envのコンパクト化
=begin
辻本です。
rb_env_tのenvは以下の構造を持ちますが、env[2](prev env val)は不要ではないでしょうか。
/*
env{
env[0] // special (block or prev env)
env[1] // env object
env[2] // prev env val
};
*/
根拠は次の通りです。
* prev env va...
ktsj (Kazuki Tsujimoto)
07:58 PM Bug #4547 (Closed): RUBY_HEAP_MIN_SLOTS is not reflected
=begin
r32007 のコミットで修正しました。
=end
authorNari (Narihiro Nakamura)
05:04 PM Bug #4547 (Assigned): RUBY_HEAP_MIN_SLOTS is not reflected
ko1 (Koichi Sasada)
07:49 PM Bug #4859 (Rejected): Debug output in 1.8 vs 1.9
Now Array#flatten tries to expand elements by to_ary, that is it's a spec change. nobu (Nobuyoshi Nakada)
07:41 PM Bug #4420 (Closed): OpenSSL::X509::Request#to_der で RequestError ではなく CertificateError が発生する
nahi (Hiroshi Nakamura)
03:45 PM Bug #4420: OpenSSL::X509::Request#to_der で RequestError ではなく CertificateError が発生する
なひさん,こちらいかがでしょうか. ko1 (Koichi Sasada)
07:14 PM Bug #4723: check_deadlock_i での transition_for_lockの扱いが thread unsafe
deadlock checkを入れるときの議論のURLを貼ります
http://markmail.org/message/xxlb4hnai54etixu#query:+page:1+mid:4ekc6xwdubrjno5r+state:results
kosaki (Motohiro KOSAKI)
07:07 PM Bug #4821: Random Segfaults (in start_thread?)
Running rails 3.1.0.rc4 on ruby 1.9.2 on Ubuntu 11.04 64bit, I get segfaults that might point at the same problem. It happens randomly when starting the app. The line at the top of the ouput which ends with "[BUG] Segmentation fault" sho... corneverbruggen (Corné Verbruggen)
06:55 PM Feature #3622 (Closed): Net::HTTP does not wait to send request body with Expect: 100-continue
I close this since I believe r31860 includes the original intent of the patch from Eric. Please reopen this if it doesn't work. nahi (Hiroshi Nakamura)
06:38 PM Bug #4268: FIBER_USE_NATIVE を undef していると GC.stress 下で Enumerable#zip が core
確認したところ r31954 以降で再現しなくなってました。 metanest (Makoto Kishimoto)
04:07 PM Bug #4268 (Closed): FIBER_USE_NATIVE を undef していると GC.stress 下で Enumerable#zip が core
では、再現したらreopenということで kosaki (Motohiro KOSAKI)
04:01 PM Bug #4268: FIBER_USE_NATIVE を undef していると GC.stress 下で Enumerable#zip が core
HEADで再現しませんでした。取り急ぎ metanest (Makoto Kishimoto)
02:46 PM Bug #4268: FIBER_USE_NATIVE を undef していると GC.stress 下で Enumerable#zip が core
こちら,再現しますでしょうか. ko1 (Koichi Sasada)
06:06 PM Bug #4870 (Rejected): forkのテストが非常にまれに失敗する
MacOS Xでmake check すると一度だけ以下のテストが fail しました。
--------------------------------------------------------------------------------------------------------------------
#236 test_fork.rb:30:in `<top (required)>':
begin
if pid...
kosaki (Motohiro KOSAKI)
05:22 PM Bug #1341: pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
Now, following two links are dead. Do anyone know new URLs?
* - http://docs.sun.com/app/docs/doc/806-0630/6j9vkb8ct?a=view
* - http://bugs.opensolaris.org/view_bug.do?bug_id=4038480
kosaki (Motohiro KOSAKI)
04:28 PM Bug #1341: pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
I guess it still reproduces on Solaris.
I have no idea about HP-UX.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:25 PM Bug #1341: pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
Endo-san,
Can we close this issue?
ko1 (Koichi Sasada)
05:14 PM Bug #4543 (Assigned): Ripperで"<<-eos\neos"を正常にパースできない
ko1 (Koichi Sasada)
05:13 PM Bug #4536 (Feedback): 定数参照について1.8と1.9の違い
これは閉じてもいいでしょうか. ko1 (Koichi Sasada)
05:12 PM Feature #4521: NoMethodError#message may take very long to execute
It is not a bug, but a feature request. ko1 (Koichi Sasada)
05:11 PM Bug #4517: ArgumentError when sorting array of objects
Could you show the reproducible code? ko1 (Koichi Sasada)
05:09 PM Bug #4508 (Feedback): Ability class for CanCan for Rails
Can you show the crash log? ko1 (Koichi Sasada)
05:05 PM Bug #4559 (Assigned): Proc#== does not match the documented behaviour
ko1 (Koichi Sasada)
05:01 PM Bug #4577 (Assigned): (int...float).max should not raise an error
ko1 (Koichi Sasada)
04:59 PM Bug #4795 (Rejected): Nested classes don't seem to resolve correctly when another class exists with the same name
As Magnus Holm has explained, it's the spec. nobu (Nobuyoshi Nakada)
04:59 PM Bug #4648 (Assigned): lambda上のclass定義からのreturnでSEGV
ko1 (Koichi Sasada)
04:58 PM Bug #4731 (Assigned): ruby -S irb fails with mingw/msys vanilla builds
ko1 (Koichi Sasada)
04:53 PM Bug #4716 (Assigned): Ripper orders rescue_mod subnodes inconsistently [PATCH]
ko1 (Koichi Sasada)
04:48 PM Bug #4841 (Assigned): WEBrick threading leads to infinite loop
ko1 (Koichi Sasada)
04:43 PM Bug #3924 (Assigned): Performance bug (in require?)
ko1 (Koichi Sasada)
04:33 PM Bug #4630 (Assigned): PROCDEBUG to non-zero values causes segmentation faults in check_env in trunk
ko1 (Koichi Sasada)
04:32 PM Bug #4535 (Assigned): [PATCH] fix race in blocking send_io/recv_io
ko1 (Koichi Sasada)
05:29 AM Bug #4535: [PATCH] fix race in blocking send_io/recv_io
Eric Wong <normalperson@yhbt.net> wrote:
> ----------------------------------------
> Bug #4535: [PATCH] fix race in blocking send_io/recv_io
> http://redmine.ruby-lang.org/issues/4535

Ping? This may become a big issue for s...
normalperson (Eric Wong)
04:32 PM Bug #4161 (Closed): ReXML wants "elements.each" argument to be not frozen
This issue was solved with changeset r31998.
Pavel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ChangeLog: fix ticket number at r31995. fixes #4161 is correct.
kou (Kouhei Sutou)
03:46 PM Bug #4161: ReXML wants "elements.each" argument to be not frozen
I'm sorry. I didn't noticed it. I'll check it soon. kou (Kouhei Sutou)
03:30 PM Bug #4161: ReXML wants "elements.each" argument to be not frozen
Suto-san,
How about it?
ko1 (Koichi Sasada)
04:31 PM Bug #4413 (Feedback): Segmentation fault when using deliver for GMAIL SMTP
ko1 (Koichi Sasada)
04:30 PM Bug #4623: Consistent crash related to action_mailer
Third party issue?
Anyone can handle this?
ko1 (Koichi Sasada)
04:29 PM Bug #4498 (Closed): REXML Pretty formater does use specified 'width' to wrap lines
This issue was solved with changeset r31997.
Michael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/formatters/pretty.rb
(REXML::Formatters::Pretty#...
kou (Kouhei Sutou)
03:54 PM Bug #4498: REXML Pretty formater does use specified 'width' to wrap lines
Suto-san,
What do you think about it?
ko1 (Koichi Sasada)
04:23 PM Feature #4614: [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
Koichi Sasada <redmine@ruby-lang.org> wrote:
> GC eats large stack size if there are nested object (deep nested array
> and so on). I'm not sure but I think this is why we allocate 512KB
> for stack.

Good point. I didn't th...
normalperson (Eric Wong)
04:21 PM Bug #4866 (Closed): Macでmake checkするとIO.copy_streamでSEGV
ko1 (Koichi Sasada)
01:23 PM Bug #4866: Macでmake checkするとIO.copy_streamでSEGV
なかだです。

At Sat, 11 Jun 2011 11:23:32 +0900,
Tanaka Akira wrote in [ruby-dev:43702]:
> > make checkが以下のように異常終了します。
>
> Mac のテスト環境は持っていないので、実際に直るかどうかはわかりませんが、
> とりあえず問題付近にあからさまにおかしいコードがあったので直しておきました.

直ってました。

--
...
nobu (Nobuyoshi Nakada)
01:23 PM Bug #4866: Macでmake checkするとIO.copy_streamでSEGV
なかだです。

At Sat, 11 Jun 2011 11:23:32 +0900,
Tanaka Akira wrote in [ruby-dev:43702]:
> > make checkが以下のように異常終了します。
>
> Mac のテスト環境は持っていないので、実際に直るかどうかはわかりませんが、
> とりあえず問題付近にあからさまにおかしいコードがあったので直しておきました.

直ってました。

--
...
nobu (Nobuyoshi Nakada)
11:29 AM Bug #4866: Macでmake checkするとIO.copy_streamでSEGV
2011/6/10 Motohiro KOSAKI <kosaki.motohiro@gmail.com>:
>
> make checkが以下のように異常終了します。

Mac のテスト環境は持っていないので、実際に直るかどうかはわかりませんが、
とりあえず問題付近にあからさまにおかしいコードがあったので直しておきました.
--
[田中 哲][たなか あきら][Tanaka Akira]
akr (Akira Tanaka)
11:29 AM Bug #4866: Macでmake checkするとIO.copy_streamでSEGV
2011/6/10 Motohiro KOSAKI <kosaki.motohiro@gmail.com>:
>
> make checkが以下のように異常終了します。

Mac のテスト環境は持っていないので、実際に直るかどうかはわかりませんが、
とりあえず問題付近にあからさまにおかしいコードがあったので直しておきました.
--
[田中 哲][たなか あきら][Tanaka Akira]
akr (Akira Tanaka)
04:21 PM Bug #4473: Calling return within begin still executes else
I bet that it is a bug in 1.8. nobu (Nobuyoshi Nakada)
04:20 PM Bug #4558 (Closed): TestSocket#test_closed_read fails after r31230
1) Windows test case failure have already been fixed.
2) "release GVL on close" is now discussing #4570.
So, we can close this ticket.
kosaki (Motohiro KOSAKI)
04:18 PM Bug #4583 (Feedback): trace doesn't work for methods set up by attr_*
ko1 (Koichi Sasada)
04:07 PM Revision 465b0d49 (git): * 2011-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:07 PM Revision 67345bfa (git): * ext/date/date_core.c: edited doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
04:07 PM Bug #4658 (Feedback): Minitest - invalid return code when using MiniTest::Unit.after_tests
ko1 (Koichi Sasada)
03:56 PM Bug #4516 (Rejected): test-all hangs on i386 environment
環境がおかしかったそうです.
ko1 (Koichi Sasada)
03:52 PM Bug #4502: strange Module.new behaviour
This issue have complex problems. I'll fix it 1.9.4 or later.
ko1 (Koichi Sasada)
03:47 PM Bug #4453: Overriding #to_s changes #inspect
Matz, how about it?
ko1 (Koichi Sasada)
03:45 PM Bug #4401: override :method method breaks Psych
Aaron, how about it?
ko1 (Koichi Sasada)
03:43 PM Bug #4318 (Feedback): Legacy bug in net/imap in Ruby 1.9.x
ko1 (Koichi Sasada)
03:37 PM Bug #4301: Off-by-one line number in Psych parse error
How about it? ko1 (Koichi Sasada)
03:29 PM Bug #4122: test_x509store.rbのtest_set_errorsが失敗する
Aaron, how about it?
ko1 (Koichi Sasada)
03:29 PM Bug #4126 (Rejected): Pathname#+ サブクラスの場合
ko1 (Koichi Sasada)
03:26 PM Bug #4037: Net/http keep alive bug
Can we close it?
ko1 (Koichi Sasada)
03:21 PM Bug #3866: Multipart Form Parsing bug
Fujioka-san,
How about it?
ko1 (Koichi Sasada)
03:20 PM Bug #3869: Logger#log does not handle or escape new-line characters.
Nahi-san,
Is it closed?
ko1 (Koichi Sasada)
03:19 PM Bug #3827: ext/readline can't handle cursor keys and cp932 chars
高尾さん
本件,いかがでしょうか.
ko1 (Koichi Sasada)
03:18 PM Bug #3841: RubyVM::InstructionSequence.to_a() and disasm() do not work properly for "for <var> in <list>"
If I have a time, I'll check it.
ko1 (Koichi Sasada)
03:15 PM Bug #3760: help "String.new" (for example) no longer works in irb
Keiju, how about it? ko1 (Koichi Sasada)
03:14 PM Feature #3697: [PATCH] Allow build of dbm extension with Berkeley DB 5.0 series (for 1.9.2_rc2)
Matz, how about it?
Kosaki said this ticket should be a "Feature".
ko1 (Koichi Sasada)
03:12 PM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
これは,咳さん待ちということになるんでしょうか. ko1 (Koichi Sasada)
03:10 PM Bug #3676: CMath.cbrt(-8)の結果が複素数にならない
この件はどうなってますでしょうか.
ko1 (Koichi Sasada)
03:02 PM Bug #3272: BigDecimal#** が実用的な速度ではない
中田さんが早くしろ,と言っています. ko1 (Koichi Sasada)
03:01 PM Bug #3231: Digest Does Not Build
Who should handle this ticket?
ko1 (Koichi Sasada)
02:59 PM Bug #3137: complex.rb changes exceptions of Math
この件,どうしましょうか. ko1 (Koichi Sasada)
02:59 PM Bug #2420 (Closed): super call may use wrong receiver object
This issue has gone away. nobu (Nobuyoshi Nakada)
02:56 PM Bug #2420: super call may use wrong receiver object
wanabe-san,
Should we keep it open or not?
ko1 (Koichi Sasada)
02:58 PM Bug #2717: Requiring rubygems/specification causes tons of warnings for NoMethodError
What's going on? again.
ko1 (Koichi Sasada)
02:54 PM Bug #1792: Fixnum#& 等が、Rational などを受けつける
これはどうしましょうか. ko1 (Koichi Sasada)
02:49 PM Bug #4444: Windowsプラットフォームでtest_parallel.rbがエラー
こちら,いかがでしょうか.
ko1 (Koichi Sasada)
02:48 PM Bug #4419: ext/openssl のコメントが正しくない
なひさん,いかがでしょうか. ko1 (Koichi Sasada)
02:47 PM Bug #4434: make test-all "-j10000" のように大きな並列数を与えると異常終了
この問題はどうなっていますでしょうか.
ko1 (Koichi Sasada)
02:47 PM Revision 29f7ea1b (git): add to bug number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:43 PM Bug #3817: current ruby-openssl impl wrongly utilizes CRYPTO_EX_DATA in X509_STORE
How about it? ko1 (Koichi Sasada)
02:43 PM Bug #3862: Bugs in the OpenSSL extension on sparc64
How about it? ko1 (Koichi Sasada)
02:42 PM Bug #3738 (Closed): Invalid Line Number in Unused Variable Warning
maybe fixed. ko1 (Koichi Sasada)
02:40 PM Bug #3523: win32 exception c0000029 on exit using fibers
Can we close this issue? ko1 (Koichi Sasada)
02:38 PM Bug #3305 (Closed): test_processのMANDATORY_ENVS
発症しなくなっているためcloseします。 tarui (Masaya Tarui)
02:35 PM Bug #2489 (Closed): Segmentation Fault Ruby 1.9.1 p376, AIX 5.3
No feedback. Please reopen if the same issue happens. ko1 (Koichi Sasada)
02:34 PM Bug #2386 (Closed): r25230 causes SEGV arround Marshal
いったん close しますので,再現したら教えて下さい. ko1 (Koichi Sasada)
02:30 PM Bug #1720: [NaN] == [NaN] が true になる
誰に聞けばいいのかわかりませんが,これはどうなりますでしょうか. ko1 (Koichi Sasada)
02:27 PM Feature #1374: location of already initialized constant
まつもとさん? 中田さん?
これ,どうなってますでしょう.
ko1 (Koichi Sasada)
02:27 PM Revision 9d4e471c (git): * vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT,
RUBY_VM_SET_FINALIZER_INTERRUPT): use atomic ops for preventing
interrupt_flag bit lost.
* thread.c (rb_threadptr_execute_interrupts_rec): ditto.
* vm_core.h (typedef struct rb_thread_struct): change type of
interrupt_flag to rb_atom...
kosaki (Motohiro KOSAKI)
02:24 PM Feature #1316: Phasor.rb: Complex number class using polar coordinates
mrkn, what do you think about it?
ko1 (Koichi Sasada)
02:24 PM Revision 8df20d6b (git): * ext/date/date_core.c: edited doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
02:23 PM Bug #1296: [trunk/22981] 64-bit issues on trunk in ext/zlib
Can we close this issue? ko1 (Koichi Sasada)
02:21 PM Feature #1269: warning when Kernel#p is used
これ,どうしましょう. ko1 (Koichi Sasada)
02:17 PM Feature #1031: -U オプションの説明が --help にない
まだ,閉じられていないようです.... ko1 (Koichi Sasada)
02:14 PM Feature #227 (Closed): rb_scan_args() for keyword arguments
違う形で入ったらしいので終了. ko1 (Koichi Sasada)
02:13 PM Feature #120 (Rejected): --enable-gc-malloc-stats
The code CALC_EXACT_MALLOC_SIZE was removed.
Please use other tools such as valgrind (massif).
ko1 (Koichi Sasada)
02:07 PM Revision 47f89c98 (git): * ext/openssl/lib/openssl/buffering.rb (module OpenSSL):
Buffering#each_byte should return String in accordance with IO in
1.9.
* test/openssl/test_buffering.rb (class OpenSSL): add tests for getc
and each_byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32012 b2dd03c8-39d4-4d8f-...
Hiroshi Nakamura
01:42 PM Revision 35c16fe3 (git): * time.c: a correction of doc for strftime (%v).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
01:32 PM Revision aab82243 (git): * ext/date/date_core.c: replaced doc for strftime based on Time's one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
01:10 PM Revision 87eeed51 (git): * ext/date/date_core.c (datetime_s_{iso8601,rfc3339,xmlschema,rfc2822,httpdate}):
do not take argument comp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
12:59 PM Revision 4a400e53 (git): * ext/date/date_core.c: added examples.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:56 PM Bug #4868 (Closed): ActiveSupport::JSON.decode Fails Decoding Date/Time String
Hi,
Tom, thank you for your report.
I think this issue was fixed in trunk by r30957.
And it was already back-ported to ruby_1_9_2 branch by r31769.
Please wait the new 1.9.2 patch level release.
Regards,
nagachika (Tomoyuki Chikanaga)
12:51 PM Bug #4868: ActiveSupport::JSON.decode Fails Decoding Date/Time String
=begin
Same as #4479 ?
=end
sakuro (Sakuro OZAWA)
11:40 AM Bug #4868: ActiveSupport::JSON.decode Fails Decoding Date/Time String
From the error message above it appears that the issue is related to ruby 1.9.2 and psych. The issue does not occur when running rails 3.0.7 and ruby 1.8.7. tboilard (Tom Boilard)
11:02 AM Bug #4868 (Third Party's Issue): ActiveSupport::JSON.decode Fails Decoding Date/Time String
Report it to ActiveSupport.
The bundled JSON module does not provide JSON.decode.
nobu (Nobuyoshi Nakada)
10:39 AM Bug #4868 (Closed): ActiveSupport::JSON.decode Fails Decoding Date/Time String
Issuing the command...
ActiveSupport::JSON.decode('[{"created_at":"2011-06-10T18:09:09-04:00"}]')
using the rails console results in the following error...
Psych::SyntaxError: couldn't parse YAML at line 1 column 30
from /Users...
tboilard (Tom Boilard)
10:51 AM Revision 11c43f7a (git): * gc.c: expand heap if initial_heap_min_slots is bigger than
HEAP_MIN_SLOTS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
10:44 AM Revision f53a117c (git): * ChangeLog (vim): set shiftwidth to 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e eban (Hirofumi WATANABE)
10:39 AM Revision 004bd259 (git): * ext/openssl/ossl_x509req.c: raise RequestError instead of
CertificateError when Request#to_der gets an error from OpenSSL.
Patch from Ippei Obayashi, see #4420. I cannot write a test for
this... Request does not allow to create broken bytes...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Hiroshi Nakamura
10:36 AM Revision a6567f2b (git): * ext/date/date_core.c (Date::(ABBR_)?(MONTH|DAY)NAMES): should be usascii.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:25 AM Revision 4dbc9af8 (git): * ext/date/date_core.c: rewrote doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:23 AM Bug #4853: ext/tk/extconf.rb fails on Mac OS X
なかだです。

At Wed, 08 Jun 2011 07:53:54 +0900 (JST),
Hidetoshi NAGAI wrote:
> > TkConfig_Info['TK_INCLUDE_SPEC']がセットされていないようです。
>
> 以下のパッチではいかがでしょうか?

これでいけました。ありがとうございます。

--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
...
nobu (Nobuyoshi Nakada)
10:23 AM Bug #4853: ext/tk/extconf.rb fails on Mac OS X
なかだです。

At Wed, 08 Jun 2011 07:53:54 +0900 (JST),
Hidetoshi NAGAI wrote:
> > TkConfig_Info['TK_INCLUDE_SPEC']がセットされていないようです。
>
> 以下のパッチではいかがでしょうか?

これでいけました。ありがとうございます。

--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
...
nobu (Nobuyoshi Nakada)
10:04 AM Revision 95e42dc1 (git): * lib/test/unit.rb (Test::Unit::GlobOption#non_options): should run
with 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:07 AM Revision 10bf738b (git): * bootstraptest/runner.rb: should initilize $stress to avoid warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e eban (Hirofumi WATANABE)
09:02 AM Revision 34b19050 (git): * io.c (io_getc): should be 7bit if ascii. fixes #4557
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:52 AM Revision 6f58118e (git): * numeric.c (rb_enc_uint_chr): fix message format. Bug#4869
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:32 AM Revision 0347b17b (git): * ChangeLog: fix ticket number at r31995. fixes #4161 is correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
07:29 AM Revision da672779 (git): * lib/rexml/formatters/pretty.rb
(REXML::Formatters::Pretty#write_text),
test/rexml/test_core.rb
(Tester#test_pretty_format_long_text_finite): don't ignore
'width' parameter in pretty formatter. fixes #4498
Reported by Michael Frasca. Thanks!!!
git-svn-id: svn...
Sutou Kouhei
07:12 AM Revision 962956e8 (git): * test/rexml/test_core.rb
(Tester#test_pretty_format_long_text_finite): remove needless
assert_nothing_raised.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
07:05 AM Revision 80cb3351 (git): * lib/rexml/parsers/xpathparser.rb
(REXML::Parsers::XPathParser#parse),
test/rexml/test_elements.rb
(ElementsTester::test_each_with_frozen_condition):
don't modify original XPath. fixes #4164
Reported by Pavel Shved. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang....
Sutou Kouhei
06:53 AM Revision 8aecece6 (git): * test/rexml/test_elements.rb (ElementsTester): remove needless
prefix from test name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
06:37 AM Revision 0dfbb49a (git): fixed a grammatical error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
05:21 AM Revision 1485f3c1 (git): * vm.c (thread_memsize): don't ignore size of th->local_storage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:23 AM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
SASADA Koichi <ko1@atdot.net> wrote:
> (2011/06/10 13:10), Eric Wong wrote:
> >> For (2), ephemeral class seems good.
> >
> > Your patch for (1) improves (2), too. However, I think cache miss
> > is already a huge problem be...
normalperson (Eric Wong)
01:32 AM Revision ac0ab1f6 (git): * lib/mkmf.rb: should quote arch_hdrdir and libpath for the case
installed prefix contains spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:21 AM Revision fe244c77 (git): * thread_pthread.c (native_cond_timeout): wrap conditinally used label.
* thread_pthread.c (native_sleep): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:17 AM Revision 71fdb43e (git): * thread.c (rb_thread_execute_interrupts): use GetThreadPtr to extract
rb_thread_t from VALUE.
reorted by Motohiro KOSAKI. [ruby-dev:43700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:01 AM Revision 2e29d255 (git): * 2011-06-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:01 AM Revision 1482fcce (git): * ruby.c (ruby_process_options): add missing return type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:22 AM Feature #4867 (Closed): Document more Module callbacks
I've added documentation for the method_added and method_removed callbacks on Module. The patches are available at https://github.com/shyouhei/ruby/pull/5 , don't change any code or test coverage, and should apply cleanly.
bkerley (Bryce Kerley)

06/10/2011

11:35 PM Bug #4866 (Closed): Macでmake checkするとIO.copy_streamでSEGV
make checkが以下のように異常終了します。
.
#245 test_io.rb:99:in `block in <top (required)>':
at_exit { p :foo }

megacontent = "abc" * 12345678
#File.open("megasrc", "w") {|f| f << megacontent }

Thread.n...
kosaki (Motohiro KOSAKI)
11:23 PM Feature #4824: Provide method Kernel#executed?
On Fri, Jun 10, 2011 at 09:35:24PM +0900, Austin Ziegler wrote:
> On Thu, Jun 9, 2011 at 3:49 PM, Cezary Baginski
> <cezary.baginski@gmail.com> wrote:
> > Issue #4824 has been updated by Cezary Baginski.
> >
> > ~~~ruby
> > ...
Cezary (Cezary Baginski)
11:23 PM Feature #4824: Provide method Kernel#executed?
On Fri, Jun 10, 2011 at 07:20:32AM +0900, Rocky Bernstein wrote:
>
> Issue #4824 has been updated by Rocky Bernstein.
>
>
> Cezary Baginski wrote:
> > This may seem like heresy, but isn't really:
> >
> > ~~~ruby
> > __...
Cezary (Cezary Baginski)
09:53 PM Feature #4824: Provide method Kernel#executed?
On Thu, Jun 9, 2011 at 3:49 PM, Cezary Baginski
<cezary.baginski@gmail.com> wrote:
> Issue #4824 has been updated by Cezary Baginski.
> This may seem like heresy, but isn't really:
>
> ~~~ruby
> __FILE__
austin (Austin Ziegler)
09:08 AM Feature #4824: Provide method Kernel#executed?
I'd still prefer a Kernel method - It's about better readability, isn't it? My favourites:
~~~ruby
directly_executed?
standalone?
~~~
If it should be some kind of keyword, I can't see any serious issue against the `__MAIN__` sol...
rbjl (Jan Lelis)
07:20 AM Feature #4824: Provide method Kernel#executed?
Cezary Baginski wrote:
> This may seem like heresy, but isn't really:
> ...
I wrote my thoughts regarding this to ruby-core on June 5-6. See http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/36772. But I realize that doesn't ...
rocky (Rocky Bernstein)
04:49 AM Feature #4824: Provide method Kernel#executed?
This may seem like heresy, but isn't really:
~~~ruby
__FILE__ == $0
~~~
just a hack for letting a file be *both* a script and a "library" at the same time? With the only sane use (I can think of) being adding unit tests?
This ...
Cezary (Cezary Baginski)
02:30 AM Feature #4824: Provide method Kernel#executed?
Lazaridis Ilias wrote:
> Nobuyoshi Nakada wrote:
[...]
> ...
[...]
>
> ...
Correcting myself:
Taking in account that "`self`" refers to the "`main`" object (the global object) and not to the file object (as it should, from my po...
lazaridis.com (Lazaridis Ilias)
11:23 PM Bug #4473: Calling return within begin still executes else
(2011/06/10 22:56), Yukihiro Matsumoto wrote:
> In message "Re: [ruby-core:36926] Re: [Ruby 1.9 - Bug #4473] Calling return within begin still executes else"
> on Fri, 10 Jun 2011 22:36:19 +0900, SASADA Koichi <ko1@atdot.net> wr...
ko1 (Koichi Sasada)
11:03 PM Bug #4473: Calling return within begin still executes else
Yugui-san,
This fix will introduce incompatibility from 1.9.2. Is it acceptable?
ko1 (Koichi Sasada)
10:59 PM Bug #4473: Calling return within begin still executes else
Hi,

In message "Re: [ruby-core:36926] Re: [Ruby 1.9 - Bug #4473] Calling return within begin still executes else"
on Fri, 10 Jun 2011 22:36:19 +0900, SASADA Koichi <ko1@atdot.net> writes:

|I recognize this issue. Matz, ...
matz (Yukihiro Matsumoto)
10:53 PM Bug #4473: Calling return within begin still executes else
Hi,

I recognize this issue. Matz, what do you think about it?

(2011/04/06 21:12), Mayank Kohaley wrote:
>
> Issue #4473 has been updated by Mayank Kohaley.
>
>
> I can see the same issue happening on Windows also...
ko1 (Koichi Sasada)
11:23 PM Bug #4630: PROCDEBUG to non-zero values causes segmentation faults in check_env in trunk
Hi,

(2011/04/29 4:52), Elise Huard wrote:
> PROCDEBUG is meant to show debugging output from the vm.
> However, when it's activated in vm.c
> #define PROCDEBUG 1
> The make process fails in segmentation faults.

Oops. ...
ko1 (Koichi Sasada)
11:05 PM Feature #4538 (Assigned): [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
Assigned.
kosaki (Motohiro KOSAKI)
10:53 PM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
Hi,

Any action on this proposal?

This thread is too long and difficult to understand....



(2011/03/30 3:22), Eric Wong wrote:
>
> Issue #4538 has been reported by Eric Wong.
>
> ----------------------------...
ko1 (Koichi Sasada)
10:55 PM Feature #4614: [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
GC eats large stack size if there are nested object (deep nested array and so on). I'm not sure but I think this is why we allocate 512KB for stack.
Any comments?
I think that Thread.new should accept stack size.
ko1 (Koichi Sasada)
10:54 PM Bug #373: MingwでIO#dupがブロックする
Was this fixed in r20630 ? rogerdpack (Roger Pack)
10:53 PM Bug #4613: define_method lacks trace events
Hi,

I'll check your patch and commit it. Thank you.

(2011/04/26 8:29), Roger Pack wrote:
>
> Issue #4613 has been reported by Roger Pack.
>
> ----------------------------------------
> Bug #4613: define_method lac...
ko1 (Koichi Sasada)
10:53 PM Bug #4583: trace doesn't work for methods set up by attr_*
Hi,

(2011/04/17 11:44), redmine@ruby-lang.org wrote:
> Methods set up with (({attr_accessor})) or alike are not traceable:
>
> class Foo
> attr_writer :bar
> def baz=(value)
> @baz = value
> end
> end
>
...
ko1 (Koichi Sasada)
10:53 PM Feature #4830: Provide Default Variables for Array#each and other iterators
On Fri, Jun 10, 2011 at 2:32 PM, Adam Prescott <adam@aprescott.com> wrote:

> I think the ${1,2,3,...} variables match the gsub(regex, "a $1 replacement
> $2 here $3").
>

Sorry, that wasn't really clear, and the latter code...
aprescott (Adam Prescott)
10:53 PM Feature #4830: Provide Default Variables for Array#each and other iterators
On Fri, Jun 10, 2011 at 1:28 AM, Jan Lelis <mail@janlelis.de> wrote:

> "string".gsub(/com(plex)_reg(ex)/){
> # use $1, $2, ...
> }
>
> To get back to the original problem, I'd prefer: $item (which is -of
> course- not a ...
aprescott (Adam Prescott)
09:28 AM Feature #4830: Provide Default Variables for Array#each and other iterators
There is (almost) a case where it is already possible:
```ruby
"string".gsub(/./){ |e|
# use e
}
```
vs.
```ruby
"string".gsub(/./){
# use $&
}
```
I always (except in code-golfing) end up with the first solution. H...
rbjl (Jan Lelis)
08:38 PM Feature #4865 (Rejected): Documentation of FileUtils is very unclear on how errors are handled
Documentation of FileUtils is very unclear on how errors are handled.
Looking at the documentation at http://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/classes/FileUtils.html on "cp_r" you can see that error handling isn't mentioned at...
x3ro (x3ro _)
07:23 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
(2011/06/10 18:50), Eric Wong wrote:
> One possible issue is the VM state counter overflowing. Maybe we should
> empty the method cache on the rare event of a VM state counter overflow
> to avoid false positives?

Good point....
ko1 (Koichi Sasada)
06:59 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
Hi,

(2011/06/10 13:10), Eric Wong wrote:
>> For (2), ephemeral class seems good.
>
> Your patch for (1) improves (2), too. However, I think cache miss
> is already a huge problem because cache-clearing is called during GC...
ko1 (Koichi Sasada)
06:53 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
Eric Wong <normalperson@yhbt.net> wrote:
> > For (1), I made an alternative patch:
> > http://www.atdot.net/sp/readonly/x8wjml
>
> Awesome! It gives roughly the same performance as my ephemeral class
> patch in my measurem...
normalperson (Eric Wong)
06:53 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
Charles Oliver Nutter <headius@headius.com> wrote:
> On Thu, Jun 9, 2011 at 3:17 AM, Eric Wong <normalperson@yhbt.net> wrote:
> > Nevermind, I misread the first time and got ordering of your question
> > mixed up in my mind.
> >...
normalperson (Eric Wong)
04:53 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
On Thu, Jun 9, 2011 at 3:52 AM, Eric Wong <normalperson@yhbt.net> wrote:
> Since you provided the benchmark code, I reformatted and
> made a version of it for kgio (see below).
>
> Summary: ephemeral-class performance noticeably (an...
headius (Charles Nutter)
04:53 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
On Thu, Jun 9, 2011 at 3:17 AM, Eric Wong <normalperson@yhbt.net> wrote:
> Nevermind, I misread the first time and got ordering of your question
> mixed up in my mind.
>
> Once a class is tagged RCLASS_EPHEMERAL, it's impossible for...
headius (Charles Nutter)
01:23 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
SASADA Koichi <ko1@atdot.net> wrote:
> Clearing method caching cause the following 2 overheads:
>
> (1) Clearing overhead
> (2) Cache misses because of clearing methods
>
> Which is your purpose?

I used oprofile last ...
normalperson (Eric Wong)
10:53 AM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
Hi,

(2011/06/07 2:55), Eric Wong wrote:
> Akira Tanaka <akr@fsij.org> wrote:
>> I don't against for the ephemeral class flag but
>> it needs discussion with ko1 and/or matz.
>
> Can either of them comment please? I woul...
ko1 (Koichi Sasada)
08:23 AM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
Eric Wong <normalperson@yhbt.net> wrote:
> A better idea would be to get a kgio-like API into Ruby itself and
> encourage people to start using that. kgio itself will never take off
> since it's *nix-only and written in C, so it ...
normalperson (Eric Wong)
07:07 PM Bug #4864 (Assigned): RubyGems が環境変数 MAKE を見てくれない
naruse (Yui NARUSE)
06:00 PM Bug #4864 (Closed): RubyGems が環境変数 MAKE を見てくれない
mkmf などでは環境変数 MAKE を見てくれるのですが、RubyGems だけ環境変数 MAKE を見てくれません。
RubyGems でもなぜか小文字の make は見てくれるのですが。。。
Solaris とかで gmake を使いたいときに困るので大文字の MAKE も参照するようにして欲しいです。
diff --git a/lib/rubygems/ext/builder.rb b/lib/rubygems/ext/builder.rb
in...
okkez (okkez _)
04:42 PM Bug #4854 (Closed): Invalid locale_charmap (CP0) when running as Windows Service
This issue was solved with changeset r31985.
Rafal, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* encoding.c (rb_locale_charmap): When ruby process is run as Wi...
naruse (Yui NARUSE)
04:15 PM Bug #4863 (Third Party's Issue): config.charset not found
ext/iconv/charset_alias.rb と ext/iconv/mkwrapper.rb に
http://www.ctan.org/get/macros/texinfo/texinfo/gnulib/lib/config.charset
という URL が書いてありますが、存在しなくなっているようです。
znz (Kazuhiro NISHIYAMA)
02:24 PM Revision 7eed9093 (git): * ext/tk/tcltklib.c (lib_eventloop_core): replace CHECK_INTS with
rb_thread_check_ints(). Because current code can't be compiled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:29 AM Feature #4862 (Rejected): Struct#to_hash
Occasionally, it is necessary to convert a Struct to a Hash (especially when generating JSON from an Array of Structs). A Struct#to_hash method would be very useful in this situation.
class Struct
#
# Returns the H...
postmodern (Hal Brodigan)
07:42 AM Revision c479bde4 (git): * encoding.c (rb_locale_charmap): When ruby process is run as Windows
Service the console codepage is not set, GetConsoleCP returns 0.
So on such environment, use GetACP().
http://blogs.msdn.com/b/michkap/archive/2005/02/08/369197.aspx
patched by Rafal Bigaj [ruby-core:36832] [Bug #4854]
git-svn-id:...
naruse (Yui NARUSE)
06:45 AM Revision 09c86513 (git): Don't break test-all.
Revert "* lib/test/unit/assertions.rb (Test::Unit::Assertions#skip): reason to"
This reverts commit r31982.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:47 AM Revision 5a363fbb (git): * common.mk: restore TESTRUN_SCRIPT to "$(srcdir)/test.rb".
TESTRUN_SCRIPT is used by "make run", "make gdb" and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:23 AM Feature #666: Enumerable::to_hash
Hi,

On 09.06.2011 20:26, Marc-Andre Lafortune wrote:
> You might want to read the thread [ruby-core:33683] on Akira's
> proposal for Enumerable#categorize and my alternative proposal
> Enumerable#associate which would act as ...
mfn (Markus Fischer)
03:26 AM Feature #666: Enumerable::to_hash
Thanks for commenting on this old request.
You might want to read the thread [ruby-core:33683] on Akira's
proposal for Enumerable#categorize and my alternative proposal
Enumerable#associate which would act as a more versatile
Enume...
marcandre (Marc-Andre Lafortune)
04:23 AM Feature #4326: Fiber should respond to call() and []
Hi,

Sorry for late response.

(2011/01/26 16:08), Aaron Patterson wrote:
> Feature #4326: Fiber should respond to call() and []
> http://redmine.ruby-lang.org/issues/show/4326
>
> Author: Aaron Patterson
> Status: Op...
ko1 (Koichi Sasada)
04:23 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
Hi,

Sorry for late response.

I can't find out the conclusion of this problem. Is it solved? Is
there summary of this thread?

(2010/12/18 1:57), Brian Durand wrote:
> Bug #4168: WeakRef is unsafe to use in Ruby 1.9
...
ko1 (Koichi Sasada)
04:04 AM Revision 3bc5b309 (git): * lib/test/unit/assertions.rb (Test::Unit::Assertions#skip): reason to
skip should be explained.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:03 AM Revision c95cbe80 (git): * test/testunit: add skip messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:02 AM Revision be462352 (git): * test/ruby/test_transcode.rb (TestTranscode#test_Big5_Hkscs): fix
indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:01 AM Revision b5d59da9 (git): * test/ruby/test_module.rb (TestModule#remove_rake_mixins): remove all
module related to Rake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:10 AM Bug #4859 (Rejected): Debug output in 1.8 vs 1.9
This code emits warnings in debug mode in 1.9 but does not in 1.8:
$-d = true

class Foo
def method_missing(method, *args, &block)
super
end
end

[[Foo.new]].flatten
In 1.8, there...
tenderlovemaking (Aaron Patterson)
12:52 AM Revision 58b14e78 (git): * encoding.c: Mention that Encoding.compatible? can work with more
than just Strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:35 AM Bug #4858 (Closed): array.drop() doc change in array.c
I made the following change to the array.drop documentation:
* Drops first n elements from <i>ary</i>, and returns rest elements
* in an array.
* Drops first n elements from <i>ary</i>. and returns the rest of the
* element...
caleywoods (Caley Woods)

06/09/2011

11:45 PM Bug #4828 (Closed): crash in test_thread_instance_variable
This issue was solved with changeset r31968.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (rb_objspace_call_finalizer): use rb_typeddata_is_kind...
nagachika (Tomoyuki Chikanaga)
11:03 PM Feature #666: Enumerable::to_hash
Arnau Sanchez wrote:
> I don't know if it's polite to comment in old closed issues, excuse me if it's not.
> ...
[...]
> Hash[(1..3).map { |n| [n, n**2] }]
> ...
I was about to open a new feature request when I found this, unfortuna...
mfn (Markus Fischer)
07:54 PM Feature #4830: Provide Default Variables for Array#each and other iterators
Charles Nutter wrote:
[...]
> FWIW, I have implemented "it" in JRuby previously, just for fun. It's not hard to add, if the powers decide it's a good feature for Ruby.
Some important details:
* the user can choose to use explicit...
lazaridis.com (Lazaridis Ilias)
07:18 PM Bug #4460: Date.commercial date calculations don't match strftime output
repost code
=begin
> Date.new(2011,2,28).strftime('%G-%V-%u')
#=> "2011-09-1"
> Date.new(2011,2,28).next_year(2).strftime('%G-%V-%u')
#=> "2013-09-4"

> Date.commercial(2011,9,1)
#=> #<Date: 2011-02-28 ((2455621j,0s,0n...
tadf (tadayoshi funaba)
07:12 PM Bug #4460 (Rejected): Date.commercial date calculations don't match strftime output
not a bug.
'%U', '%V' and '%W' are available for week number.
you should use %V in this case.
you can also use it with Date.strptime.
> Date.new(2011,2,28).strftime('%G-%V-%u')
#=> "2011-09-1"
> ...
#=> "2013-09-4"
> Date.c...
tadf (tadayoshi funaba)
05:53 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
Charles Oliver Nutter <headius@headius.com> wrote:
> Interested in the overhead of this EAGAIN nonsense, I ran a quick
> benchmark. I include it here for the amusement of all. It demonstrates
> pretty clearly the impact of the ext...
normalperson (Eric Wong)
05:23 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
Charles Oliver Nutter <headius@headius.com> wrote:
> On Wed, Jun 8, 2011 at 4:00 PM, Eric Wong <normalperson@yhbt.net> wrote:
> > Charles Nutter <headius@headius.com> wrote:
> >> What's the effect of the EPHEMERAL flag if someone ...
normalperson (Eric Wong)
02:23 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
On Wed, Jun 8, 2011 at 4:00 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Charles Nutter <headius@headius.com> wrote:
>> What's the effect of the EPHEMERAL flag if someone takes an object
>> with an attached ephemeral class and star...
headius (Charles Nutter)
06:23 AM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
Charles Nutter <headius@headius.com> wrote:
> What's the effect of the EPHEMERAL flag if someone takes an object
> with an attached ephemeral class and starts making singleton changes
> to that object? Do those changes properly fl...
normalperson (Eric Wong)
05:26 PM Revision 132161da (git): * ext/psych/lib/psych.rb: updating version to match released gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
04:08 PM Revision c2f9e1b1 (git): * ext/bigdecimal (BigDecimal_to_i): Integer#** may return flonum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
03:36 PM Revision 14c504b3 (git): * complex.c (string_to_c_internal): uses rb_reg_nth_match;
* rational.c (string_to_r_internal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
03:31 PM Revision 5aee85ce (git): * gc.c: remove an unused declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:25 PM Revision aca87391 (git): * rational.c (string_to_r): Rational#** may return flonum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
03:02 PM Revision 27f4e218 (git): * 2011-06-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 87f025da (git): * io.c: fix IO.copy_stream interrupt handling.
based on the patch by Eric Wong. [ruby-core:36156]
* vm_core.h (rb_thread_call_with_gvl): don't declare here.
* thread.c: include internal.h.
(rb_thread_execute_interrupts): new function.
* internal.h (rb_thread_execute_interrupts)...
akr (Akira Tanaka)
03:02 PM Revision b2e133ab (git): * 2011-06-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 1c960858 (git): reedit previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
02:45 PM Revision 1fdbe0f4 (git): * gc.c (rb_objspace_call_finalizer): use rb_typeddata_is_kind_of() for
type check to get rid of a double free when main Thread has singleton
class. [ruby-core:36741] [Bug #4828]
* thread.c (rb_obj_is_mutex): add a new utility function.
* vm.c (rb_obj_is_thread): ditto.
git-svn-id: svn+ssh://ci.ruby-lang....
nagachika (Tomoyuki Chikanaga)
01:58 PM Revision 50a058b6 (git): * test/ruby/test_thread.rb (TestThread#test_kill_thread_subclass):
add test for Thread.kill with Thread subclass instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:38 PM Revision d7a3261d (git): * test/ruby/test_thread.rb (TestThread#test_kill_wrong_argument):
test for [ruby-core:35086].
partially forward porting r31402 from ruby_1_9_2 branch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:31 AM Revision 8b687950 (git): * lib/date.rb: zone_to_diff in this version is just class method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:46 AM Revision bc69c7ff (git): * 2011-06-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:46 AM Revision 67236523 (git): * lib/date.rb (time_to_day_fraction): accepts flonum without Float#to_r.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:39 AM Revision 30a87f35 (git): * string.c: Fix the ambiguous description of the behavior of
rb_str_aref_m with a range. It returns nil when the beginning of
the range is greater than the end of the string rather than the range.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
08:43 AM Feature #4412 (Assigned): [ext/openssl] Create Digest by OID
MartinBosslet (Martin Bosslet)
08:42 AM Feature #4481 (Assigned): Add client_ca method to OpenSSL::SSLSocket
MartinBosslet (Martin Bosslet)
06:38 AM Feature #4481: Add client_ca method to OpenSSL::SSLSocket
Thanks Ippei for submitting this - I will have a look at it!
Regards,
Martin
MartinBosslet (Martin Bosslet)
06:53 AM Feature #4778: IO#each_chomped
Yeah, probably...or it should be x.chomp!; yield x

My intent was to avoid creating a useless transient object.

- Charlie (mobile)

On Jun 8, 2011, at 10:54, Jos Backus <jos@catnook.com> wrote:

>
> Issue #4778 has been updat...
headius (Charles Nutter)
12:54 AM Feature #4778: IO#each_chomped
Charles, shouldn't
x.chomp!
be
x.chomp
in the above code? x.chomp! can return nil.
josb (Jos Backus)
06:32 AM Feature #4672: [PATCH] openssl: enable SSL_MODE_RELEASE_BUFFERS if available
This patch seems reasonable. I looked at the implementation in OpenSSL (1.0.0d)
and it looks like using SSL_MODE_RELEASE_BUFFERS should not cause any problems.
Hiroshi, what do you think?
Regards,
Martin
(PS: If you agree that...
MartinBosslet (Martin Bosslet)
06:14 AM Feature #4805: Add X509::Name#hash_old for 0.9.X compat
Hi Hiroshi,
sorry for taking some time to answer, I was on vacation last week...
I think your patch is good! But there is one thing I don't like
about OpenSSL itself here - why do they hardcode the digest algorithm
in the first pla...
MartinBosslet (Martin Bosslet)
05:23 AM Bug #3924: Performance bug (in require?)
>> Require performance has been imporved a little at r31875, i think.
>
> nice! It sure has.
>
>> Please compare the proposal with it
>
>                        Mine    1.9.3r31923
> 2000 in load path       0.70 ...
tarui (Masaya Tarui)
02:05 AM Feature #4824: Provide method Kernel#executed?
Markus Fischer wrote:
> Hi,
> ...
[...]
Hijacking issues on an issue-tracking-system is really not the way to go.
Better open a new issue (or a new discussion topic) and place a link to it, if it's somehow related.
lazaridis.com (Lazaridis Ilias)
01:23 AM Feature #4824: Provide method Kernel#executed?
Hi,

I take the courtesy to hijack this because ...

On 08.06.2011 13:31, Rodrigo Rosenfeld Rosas wrote:
> Issue #4824 has been updated by Rodrigo Rosenfeld Rosas.
>
>
> Actually, maybe something like the snippet below...
mfn (Markus Fischer)
01:13 AM Feature #4824: Provide method Kernel#executed?
Nobuyoshi Nakada wrote:
> Hi,
> ...
@C.O. Nutter
I you dislike "digging around in the caller's frame", then you can possibly implement it in a different way.
> `__FILE__.main?`
This is not an OO approach, even I would prefer to...
lazaridis.com (Lazaridis Ilias)
01:58 AM Revision 8cd2bf07 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be read
from YAML files.
* ext/psych/lib/psych/visitors/yaml_tree.rb: Hash subclasses can be
dumped to YAML files.
* test/psych/test_hash.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31961 b2dd03c8-39d4-4d8f-98ff-...
tenderlovemaking (Aaron Patterson)
12:22 AM Revision aaa52bf0 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loaded
from YAML files.
* ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby modules can be
dumped to YAML files.
* test/psych/test_class.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31960 b2dd03c8-39d4-4d8f-98ff-82...
tenderlovemaking (Aaron Patterson)
12:06 AM Revision a8cc42d1 (git): * 2011-06-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:06 AM Revision c641e4b2 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby classes can be loaded
from YAML files.
* ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby classes can be
dumped to YAML files.
* test/psych/test_class.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31958 b2dd03c8-39d4-4d8f-98ff-82...
tenderlovemaking (Aaron Patterson)
 

Also available in: Atom