Project

General

Profile

Activity

From 06/05/2011 to 06/11/2011

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)

06/08/2011

11:58 PM Bug #4855 (Closed): rb_context_t::saved_thread::machine_stack_(start|end) should be cleared
近永と申します。英語で説明するのが難しいのでruby-devで失礼します。
#4827 の調査の途上で再現スクリプトを valgrind つきで実行すると以下のように
不正な領域を machine stack として mark しようとしているようなメッセージが出ました。
(ただし FIBER_USE_NATIVE=0 にした場合です)。
==27771== Invalid read of size 4
==27771== at 0x809AC1...
nagachika (Tomoyuki Chikanaga)
11:53 PM Feature #4824: Provide method Kernel#executed?
Em 08-06-2011 11:28, Nobuyoshi Nakada escreveu:
> Hi,
>
> At Wed, 8 Jun 2011 16:44:55 +0900,
> Charles Oliver Nutter wrote in [ruby-core:36833]:
>> I might be more inclined to a keyword or pseudo constant along the
>> lines ...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:29 PM Feature #4824: Provide method Kernel#executed?
Hi,

At Wed, 8 Jun 2011 16:44:55 +0900,
Charles Oliver Nutter wrote in [ruby-core:36833]:
> I might be more inclined to a keyword or pseudo constant along the
> lines of `__FILE__`, like `__MAIN__` that produces true iff `__FI...
nobu (Nobuyoshi Nakada)
09:23 PM Feature #4824: Provide method Kernel#executed?
Em 08-06-2011 08:50, Bill Kelly escreveu:
> Why would one expect `__MAIN__` to be any more or less of a
> constant than `__FILE__` or `__LINE__` or `__method__` ?
>
> Seems to me its behavior would be consistent with the others....
rosenfeld (Rodrigo Rosenfeld Rosas)
08:53 PM Feature #4824: Provide method Kernel#executed?
Hi,

Rodrigo Rosenfeld Rosas wrote:
>
> I like the idea too. I just think that Ruby is very simple to start with
> because it is very consistent and with a few rules. Someone would expect
> `__MAIN__` to be a constant, wh...
spatulasnout (B Kelly)
08:31 PM Feature #4824: Provide method Kernel#executed?
Actually, maybe something like the snippet below would be ideal:
~~~ruby
if defined?(__MAIN__) ...
~~~
This means `__MAIN__` is still a constant, but one defined by the interpreter in some conditional way that is injected only in...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:29 PM Feature #4824: Provide method Kernel#executed?
Em 08-06-2011 06:13, Ryan Davis escreveu:
> On Jun 8, 2011, at 00:44 , Charles Oliver Nutter wrote:
>
>> I might be more inclined to a keyword or pseudo constant along the
>> lines of `__FILE__`, like `__MAIN__` that produces tr...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:23 PM Feature #4824: Provide method Kernel#executed?
On Jun 8, 2011, at 00:44 , Charles Oliver Nutter wrote:

> I might be more inclined to a keyword or pseudo constant along the
> lines of `__FILE__`, like `__MAIN__` that produces true iff `__FILE__
> $0`. Something we can static...
zenspider (Ryan Davis)
04:53 PM Feature #4824: Provide method Kernel#executed?
On Mon, Jun 6, 2011 at 7:09 AM, Rodrigo Rosenfeld Rosas
<rr.rosas@gmail.com> wrote:
>
> Issue #4824 has been updated by Rodrigo Rosenfeld Rosas.
>
>
> Ruby allows a question mark in method names exactly for avoiding writing ...
headius (Charles Nutter)
11:29 PM Bug #4828: crash in test_thread_instance_variable
Hi,

At Wed, 8 Jun 2011 23:11:29 +0900,
Tomoyuki Chikanaga wrote in [ruby-core:36849]:
> But I'm hesitating to close this ticket. Is this patch fixes root problem of this issue?
> I suspect it is just a makeshift fix.

At ...
nobu (Nobuyoshi Nakada)
11:25 PM Bug #4828: crash in test_thread_instance_variable
wow, the patch fixes warnings on valgrind ruby -e'class << Thread.current; end' naruse (Yui NARUSE)
11:11 PM Bug #4828: crash in test_thread_instance_variable
I refined my patch to use rb_typeddata_is_kind_of() to check Thread and Mutex object,
because rb_obj_is_kind_of() might raise exception and use of rb_typeddata_is_kind_of() seems more efficient.
I'll check in it later.
But I'm hesit...
nagachika (Tomoyuki Chikanaga)
10:09 PM Bug #4827 (Closed): meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
Thank you for your checking.
I committed it at r31954.
nagachika (Tomoyuki Chikanaga)
09:23 PM Feature #4840: Allow returning from require
One real use case I see would be avoiding global state (like CommonJS). However, if an already required file return `nil`, this is not possible.
rkh (Konstantin Haase)
08:59 PM Feature #4840: Allow returning from require
On 08/06/11 01:33, Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: [ruby-core:36811] Re: [Ruby 1.9 - Feature #4840][Open] Allow returning from require"
> on Tue, 7 Jun 2011 19:10:15 +0900, Yusuke ENDOH <mame@tsg.ne.jp> ...
regularfry (Alex Young)
06:29 PM Feature #4840: Allow returning from require
On Wed, Jun 8, 2011 at 4:22 AM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
> How about raising a specific exception that is rescued by #require instead?
>
> ~~~ruby
> class AbortRequire < StandardError; end
...
> raise Abo...
headius (Charles Nutter)
06:23 PM Feature #4840: Allow returning from require
On Jun 7, 2011, at 17:33 , Yukihiro Matsumoto wrote:

> Hi,
>
> In message "Re: [ruby-core:36811] Re: [Ruby 1.9 - Feature #4840][Open] Allow returning from require"
> on Tue, 7 Jun 2011 19:10:15 +0900, Yusuke ENDOH <mame@t...
zenspider (Ryan Davis)
05:53 PM Feature #4840: Allow returning from require
On Wed, Jun 8, 2011 at 8:38 AM, Charles Oliver Nutter
<headius@headius.com>wrote:

> exit_script if defined? GitoriousConfig
>

This could be confusing, if you happen to view the entire program as a
script. You might think...
aprescott (Adam Prescott)
04:53 PM Feature #4840: Allow returning from require
On Tue, Jun 7, 2011 at 7:33 PM, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
> Ah, I understand the request.  But returning from outside of a method
> makes me so weird.

I agree with both the feature and the fact that return ...
headius (Charles Nutter)
09:53 AM Feature #4840: Allow returning from require
Hi,

In message "Re: [ruby-core:36811] Re: [Ruby 1.9 - Feature #4840][Open] Allow returning from require"
on Tue, 7 Jun 2011 19:10:15 +0900, Yusuke ENDOH <mame@tsg.ne.jp> writes:

>Agreed.

Ah, I understand the request....
matz (Yukihiro Matsumoto)
09:19 PM Feature #4025: Add Assertion class to Core
Pretty sure Assertion has to be subclass of Exception, because the way test runners work is to use #rescue to catch Assertion failure and other exceptions. Test framework developers can still subclass it for their own specific purposes, ... trans (Thomas Sawyer)
05:08 PM Feature #4778: IO#each_chomped
Trivial Ruby impl...
class IO
def each_chomped
each {|x| yield x.chomp!}
end
end
Of course if you don't mind the whole file being read into memory:
io.each.map(&:chomp).each { ...
Might be a way to pipeline that w...
headius (Charles Nutter)
05:01 PM Feature #4830: Provide Default Variables for Array#each and other iterators
I've gone back and forth on whether I like this feature in Groovy. For simple iterations or chained iterations, it definitely shortens things up:
some_array.map { foo(it) }.select { bar(it) }.each { baz(it) }
versus
some_array.m...
headius (Charles Nutter)
04:51 PM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
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 flush cache?
If this flag only helps cases where you're ...
headius (Charles Nutter)
04:38 PM Bug #4854 (Closed): Invalid locale_charmap (CP0) when running as Windows Service
When ruby process is run as Windows Service the console codepage is not set, GetConsoleCP returns 0.
As a result function rb_locale_charmap refers to not existing codepage: CP0.
It has a dramatic performance drawback on the system when...
rafal.bigaj (Rafal Bigaj)
12:57 PM Revision c84bb5df (git): * ChangeLog: fix some typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:52 PM Revision 5cf9a75c (git): * ChangeLog: add ticket link
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:50 PM Revision 3621b2de (git): * 2011-06-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:50 PM Revision 6d9e64d3 (git): * cont.c (root_fiber_alloc): set root fiber's status RUNNING.
in cont_mark() only RUNNING fiber's machine stack is marked.
root fiber's status should be RUNNING at the beginning regardless of
FIBER_USE_NATIVE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31954 b2dd03c8-39d4-4d8f-98ff-823f...
nagachika (Tomoyuki Chikanaga)
07:59 AM Bug #4853: ext/tk/extconf.rb fails on Mac OS X
永井@知能.九工大です.

From: Nobuyoshi Nakada <nobu@ruby-lang.org>
Subject: [ruby-dev:43656] [Ruby 1.9 - Bug #4853] ext/tk/extconf.rb fails on Mac OS X
Date: Wed, 8 Jun 2011 05:44:00 +0900
Message-ID: <redmine.journal-17583.20110608054...
nagai (Hidetoshi Nagai)
07:59 AM Bug #4853: ext/tk/extconf.rb fails on Mac OS X
永井@知能.九工大です.

From: Nobuyoshi Nakada <nobu@ruby-lang.org>
Subject: [ruby-dev:43656] [Ruby 1.9 - Bug #4853] ext/tk/extconf.rb fails on Mac OS X
Date: Wed, 8 Jun 2011 05:44:00 +0900
Message-ID: <redmine.journal-17583.20110608054...
nagai (Hidetoshi Nagai)
05:40 AM Bug #4853 (Closed): ext/tk/extconf.rb fails on Mac OS X
=begin
trunkのext/tk/extconf.rbがDarwin 9.8で通りません。r31894でも
r31947でも同じです。
configuring tk
check functions.........
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh a...
nobu (Nobuyoshi Nakada)
12:19 AM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Yukihiro Matsumoto wrote:
> Hi,
> ...
I understand.
But the central point should be: the OO model (consistency) breaks essentially.
I feel uncomfortable to ask a 3rd time, thus I assume that for now there is no workaround availab...
lazaridis.com (Lazaridis Ilias)

06/07/2011

11:53 PM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Hi,

In message "Re: [ruby-core:36822] [Ruby 1.9 - Feature #4845] Provide Class#cb_object_instantiated_from_literal(object)"
on Tue, 7 Jun 2011 23:32:31 +0900, Lazaridis Ilias <ilias@lazaridis.com> writes:

|Yukihiro Matsu...
matz (Yukihiro Matsumoto)
11:32 PM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Yukihiro Matsumoto wrote:
> Besides that, I strongly discourage to intercept literal creation, since it would change the semantics of the fundamental object model.
Discouraging and disabling are two different things.
The fundament...
lazaridis.com (Lazaridis Ilias)
10:53 PM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Hi,

In message "Re: [ruby-core:36809] [Ruby 1.9 - Feature #4845] Provide Class#cb_object_instantiated_from_literal(object)"
on Tue, 7 Jun 2011 18:42:34 +0900, Lazaridis Ilias <ilias@lazaridis.com> writes:

|Nobuyoshi Naka...
matz (Yukihiro Matsumoto)
10:50 PM Feature #4845 (Rejected): Provide Class#cb_object_instantiated_from_literal(object)
Besides that, I strongly discourage to intercept literal creation, since it would change the semantics of the fundamental object model.
matz.
matz (Yukihiro Matsumoto)
06:42 PM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Nobuyoshi Nakada wrote:
> > * minimal overhead if not used (C-level if *ptr available, call)
> ...
I admit I don't know your current implementation.
Can you please point me to the relevant source code?
And please rethink the "pri...
lazaridis.com (Lazaridis Ilias)
06:02 PM Feature #4845 (Assigned): Provide Class#cb_object_instantiated_from_literal(object)
> * minimal overhead if not used (C-level if *ptr available, call)
Not true.
nobu (Nobuyoshi Nakada)
03:01 AM Feature #4845 (Rejected): Provide Class#cb_object_instantiated_from_literal(object)
(assuming that this is not a bug, but a speed tradeoff / known issue)
class String
alias_method :orig_initialize, :initialize
def initialize(val)
orig_initialize "OBSERVED: " + val
end
def my_method_test
print ...
lazaridis.com (Lazaridis Ilias)
11:41 PM Bug #4827: meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
nagachika's patch works great. Thanks!
This patch should be committed.
sorah (Sorah Fukumori)
11:29 PM Bug #4827: meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
Hi,
I think the following tiny patch will fix this problem.
Please check it out.
diff --git a/cont.c b/cont.c
index 72e1117..770cfeb 100644
--- a/cont.c
+++ b/cont.c
@@ -1148,8 +1148,8 @@ root_fiber_alloc(rb_thread_t *th)
#i...
nagachika (Tomoyuki Chikanaga)
12:37 AM Bug #4827: meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
Hi,
I've created small script which can reproduce "crash in rb_method_entry_get_without_cache()".
script:
GC.stress = true
a = [0].map {|i| Fiber.new{Fiber.yield}.resume }
p a # => [BUG] Segmentation fault
result:
ruby 1.9.3...
nagachika (Tomoyuki Chikanaga)
11:19 PM Bug #4844: RVM crash while running resque worker pool
Hi,
I've attached pool.rb which you can correlate the stacktrace with.
emakris (Ernie Makrkis)
03:38 AM Bug #4844: RVM crash while running resque worker pool
Can you show the reproducible code? naruse (Yui NARUSE)
02:33 AM Bug #4844 (Closed): RVM crash while running resque worker pool
I can manage to make this crash happen regularly when running resque-pool on fast running jobs
/mnt/backupify-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/agnostics.rb:7: [BUG] Segm...
emakris (Ernie Makrkis)
08:53 PM Feature #4840: Allow returning from require
Hello,

2011/6/7 Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>:
> This patch is so small, that it seems strange that it affects only
> requires... Won't it have side effects? Notice that I didn't test it yet.

I'm not sure.
...
mame (Yusuke Endoh)
08:23 PM Feature #4840: Allow returning from require
Em 07-06-2011 05:14, Haase, Konstantin escreveu:
> How will that work with require? Remember it will only load the file once. Return false otherwise? (Which would be kinda compatible with the current behavior and using raise/throw). O...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:23 PM Feature #4840: Allow returning from require
Em 07-06-2011 07:10, Yusuke ENDOH escreveu:
> Hello,
>
> ...
>
> Agreed. It would be also useful to write platform-specific code:
>
> ~~~ruby
> require "test/unit"
>
> return unless /mswin|cygwin|mingw|bccwin/...
rosenfeld (Rodrigo Rosenfeld Rosas)
07:23 PM Feature #4840: Allow returning from require
Hello,

2011/6/6 Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>:
> I have a situation where there is some code in Gitorious like:
>
> unless defined? GitoriousConfig
>  # tons of lines here
> end
>
> And I would it to look like
...
mame (Yusuke Endoh)
05:23 PM Feature #4840: Allow returning from require
How will that work with require? Remember it will only load the file once. Return false otherwise? (Which would be kinda compatible with the current behavior and using raise/throw). Or should those values be cached? If you want to use r... rkh (Konstantin Haase)
07:23 AM Feature #4840: Allow returning from require
On 07/06/2011, at 12:18 AM, Michael Edgar wrote:
> On Jun 6, 2011, at 10:11 AM, Rodrigo Rosenfeld Rosas wrote:
>> It would be great to allow return from a required file or some
>> other keyword (break, etc or a new one)
>
> ...
cjheath (Clifford Heath)
12:23 AM Feature #4840: Allow returning from require
I think using "return" is quite natural in this case, as long as we
can use it in module/class-definitions too.

// Magnus Holm

On Mon, Jun 6, 2011 at 16:18, Michael Edgar <adgar@carboni.ca> wrote:
> On Jun 6, 2011, at 10:1...
judofyr (Magnus Holm)
08:52 PM Bug #4843 (Closed): typo in doc/irb/irb.rd* (and doc/ChangeLog-YARV)
This issue was solved with changeset r31953.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* doc/irb/irb.rd: fix typo. patch by Nobuhiro IMAI.
[Bug #4...
kosaki (Motohiro KOSAKI)
01:42 AM Bug #4843 (Closed): typo in doc/irb/irb.rd* (and doc/ChangeLog-YARV)
http://redmine.ruby-lang.org/issues/4837 を処理していて気づいたのですが、
doc/irb/irb.rd* に source を souce としているタイポあります。
ついでに doc/ChangeLog-YARV にも見つけたので、まとめてパッチにしました。
no6v (Nobuhiro IMAI)
08:15 PM Bug #4451 (Rejected): Date#step does not raise ArgumentError for 0 step
tadf (tadayoshi funaba)
08:12 PM Bug #4776 (Rejected): DateTime.new! has been disabled
not a bug.
it's for only internal use.
he must have known it.
i once talked to the authour of tzinfo about Rational.new!.
anyway now DateTime.new! is not reasonable at all.
it does not depend on the current internal structure.
...
tadf (tadayoshi funaba)
02:37 AM Bug #4776: DateTime.new! has been disabled
Hello? :( tenderlovemaking (Aaron Patterson)
07:56 PM Bug #4848 (Rejected): DateTime.jd raises 'invalid fraction' when called with more than one argument
i've never seen such a nonsense patch.
this is not a bug.
you cannot specify both fraction and hour.
DateTime.new(2001,2,28.5,12) should mean 2001-03-31??
we have to be cautious about such a abuse.
tadf (tadayoshi funaba)
06:09 AM Bug #4848: DateTime.jd raises 'invalid fraction' when called with more than one argument
=begin
The second example has gone partially missing above (because RedMine doesn't appear to be escaping the < and >). It should have read:
>> DateTime.jd(Rational(39014323, 16))
#<DateTime: 1963-12-31T04:30:00+00:00 ((2438395j,1...
philr (Phil  )
06:01 AM Bug #4848 (Rejected): DateTime.jd raises 'invalid fraction' when called with more than one argument
Since trunk revision 31862, the DateTime.jd function raises an ArgumentError with message 'invalid fraction' when it is called with more than one argument. For example,
>> DateTime.jd(Rational(39014323, 16), 0)
ArgumentError: invalid...
philr (Phil  )
01:37 PM Bug #4835 (Closed): Compilation failure of ext/tk with recent ActiveTcl
This issue was solved with changeset r31947.
Yuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/extconf.rb: use $defs not $CPPFLAGS to get rid of
comm...
nobu (Nobuyoshi Nakada)
06:23 AM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
永井@知能.九工大です.

From: Nobuyoshi Nakada <nobu@ruby-lang.org>
Subject: [ruby-dev:43637] Re: [Ruby 1.9 - Bug #4835] Compilation failure of ext/tk with recent ActiveTcl
Date: Mon, 6 Jun 2011 19:03:09 +0900
Message-ID: <4deca5da.610c...
nagai (Hidetoshi Nagai)
06:23 AM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
永井@知能.九工大です.

From: Nobuyoshi Nakada <nobu@ruby-lang.org>
Subject: [ruby-dev:43637] Re: [Ruby 1.9 - Bug #4835] Compilation failure of ext/tk with recent ActiveTcl
Date: Mon, 6 Jun 2011 19:03:09 +0900
Message-ID: <4deca5da.610c...
nagai (Hidetoshi Nagai)
12:29 PM Bug #4803: RCLASS_SUPER won't compile for C extensions as of revision 31627
Hi,

At Mon, 6 Jun 2011 23:47:57 +0900,
Roger Pack wrote in [ruby-core:36791]:
> > rb_class_superclass() since 1.4.0.
>
> Appears it has become public with 1.9.3?

Sure, it had been static, sorry.

So you can use it...
nobu (Nobuyoshi Nakada)
11:52 AM Revision 58aa09cb (git): * doc/irb/irb.rd: fix typo. patch by Nobuhiro IMAI.
[Bug #4843] [ruby-dev:43639]
* doc/irb/irb.rd.ja: ditto.
* doc/ChangeLog-YARV: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:56 AM Revision 733be259 (git): * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): IO#tty? of
Windows has been fixed at r29969.
* test/rubygems/test_gem_stream_ui.rb: now can run tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:38 AM Revision 04b81ae7 (git): * test/rubygems/test_gem.rb (TestGem#{test_self_user_home_userprofile,
test_self_user_home_user_drive_and_path}): should simply ignore
meaningless tests instead of skipping them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:16 AM Revision 01fd0228 (git): * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
should show some messages when skippning tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:47 AM Feature #4849 (Closed): io/wait should have a way to avoid FIONREAD
I would like an API method for io/wait which bypasses FIONREAD. Some IO
objects I work with (e.g. Linux eventfd[1]) to not support FIONREAD.
I can implement any proposed API for io/wait, but I don't know what it should
be. Perhaps...
normalperson (Eric Wong)
05:00 AM Revision b59179c8 (git): * ext/date/date_core.c (date_s_today, datetime_s_now): check the
result of localtime_r().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:50 AM Revision 8137c555 (git): * time.c (rb_gmtime_r2): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:37 AM Revision 5b3bf854 (git): * ext/tk/extconf.rb: use $defs not $CPPFLAGS to get rid of
command line escape issues on Windows. fixed #4835.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:36 AM Bug #4847 (Closed): Documentation Error for Hash#reject
The documentation for Hash#reject fails to note that, when called without a block, an enumerator is returned.
A small patch correcting this is attached.
adgar (Michael Edgar)
03:35 AM Bug #4846 (Closed): Permission denied - /tmp/nonexisting
This issue was solved with changeset r31945.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/ruby/test_io.rb (TestIO#test_s_{,bin}write): do not cr...
znz (Kazuhiro NISHIYAMA)
03:32 AM Bug #4846 (Closed): Permission denied - /tmp/nonexisting
=begin
なぜか chkbuild が所有者になっている /tmp/nonexisting というファイルが存在していて、
test_s_binwrite(TestIO) と test_s_write(TestIO) が以下の Failure になります。
[Errno::EINVAL] exception expected, not
Class: <Errno::EACCES>
Message: <"Permission denied - /t...
znz (Kazuhiro NISHIYAMA)
02:59 AM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
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 would really like to see
this performance regression fixe...
normalperson (Eric Wong)

06/06/2011

11:39 PM Bug #4821: Random Segfaults (in start_thread?)
It seems in garbage collection; marking or freeing some invalid objet causes segv.
But the murderer is not clear.
naruse (Yui NARUSE)
11:30 PM Bug #4821: Random Segfaults (in start_thread?)
There is another segfault:
OSX Crash Reporter:
Process: ruby [56504]
Path: ~/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
Identifier: ruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Pr...
b2630639 (Ivan Bortko)
11:24 PM Bug #4841 (Closed): WEBrick threading leads to infinite loop
In a multi-threaded environment, the callback in WEBrick web server does not appear to work properly. If shutdown is called right after start, the server can entire an infinite loop and need to be killed using Ctrl-C.
Reproducible on ...
peakxu (Peak Xu)
11:11 PM Feature #4840 (Closed): Allow returning from require
I have a situation where there is some code in Gitorious like:
~~~ruby
unless defined? GitoriousConfig
# tons of lines here
end
~~~
And I would it to look like
~~~ruby
return if defined? GitoriousConfig
#tons of lines ...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:09 PM Feature #4824: Provide method Kernel#executed?
Ruby allows a question mark in method names exactly for avoiding writing methods beggining with "`is_`" like in Java. I don't mind two word methods, but I don't want the first word to be a "`is`" when it is finished with a question mark.... rosenfeld (Rodrigo Rosenfeld Rosas)
08:50 PM Feature #4824: Provide method Kernel#executed?
Clifford Heath wrote:
[...] - omitting, to focus on essence
> > And at this point, the "dispute" is about the method name.
> ...
The status of this issue (#4824) is "agreed providing a method" (= provide an OO construct) and more a...
lazaridis.com (Lazaridis Ilias)
03:23 PM Feature #4824: Provide method Kernel#executed?
On 06/06/2011, at 3:51 PM, Lazaridis Ilias wrote:
> So maybe all rarely used methods should be written in long
> descriptive statements, to overcome non-semantic-hiding and become
> more productive?

I thought you prided y...
cjheath (Clifford Heath)
02:51 PM Feature #4824: Provide method Kernel#executed?
Clifford Heath wrote:
[...]
> > But "`if __FILE__ == $PROGRAM_NAME`" is quite long.
[...]
> ...
[...]
So maybe all rarely used methods should be written in long descriptive statements, to overcome non-semantic-hiding and become...
lazaridis.com (Lazaridis Ilias)
06:53 AM Feature #4824: Provide method Kernel#executed?
On 05/06/2011, at 11:29 PM, Benoit Daloze wrote:
> Clifford Heath wrote:
>> That is, the problem is that it's not obvious to a newcomer that
>> `__FILE__` means
>> the current source-code file, or that `$0` means the name of t...
cjheath (Clifford Heath)
08:15 PM Feature #4830: Provide Default Variables for Array#each and other iterators
I'm not saying we should copy Groovy syntax or ideas. I'm just showing that this is already done in Groovy.
At first I liked the idea of not needing to define an internal variable, but as I started to use it, I run into trouble where ...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:32 PM Feature #4830: Provide Default Variables for Array#each and other iterators
[please, if possible, delete the non-relevant quoted message in your reply. You can still do this via http://redmine.ruby-lang.org/issues/4830]
Rodrigo Rosenfeld Rosas wrote:
> Sorry, forgot to say that for hashes this becomes:
> .....
lazaridis.com (Lazaridis Ilias)
03:59 AM Feature #4830: Provide Default Variables for Array#each and other iterators
ignore... can't remove this comment - ammended with the above rosenfeld (Rodrigo Rosenfeld Rosas)
03:59 AM Feature #4830: Provide Default Variables for Array#each and other iterators
I would just like to point it out that in Groovy, one can write either:

[1, 2].each{ println it }

or

[1, 2].each{ number -> println number }

[key_name: 'value', another_key: 'another_value'].each{ println "${it.key}: ${it.v...
rosenfeld (Rodrigo Rosenfeld Rosas)
03:53 AM Feature #4830: Provide Default Variables for Array#each and other iterators
On Mon, Jun 06, 2011 at 01:07:05AM +0900, Lazaridis Ilias wrote:
>
> Issue #4830 has been updated by Lazaridis Ilias.
>
>
> Nobuyoshi Nakada wrote:
> > At Sun, 5 Jun 2011 17:23:26 +0900,
> > Lazaridis Ilias wrote in [rub...
Cezary (Cezary Baginski)
01:06 AM Feature #4830: Provide Default Variables for Array#each and other iterators
Nobuyoshi Nakada wrote:
> Hi,
> ...
I don't know the underlying implementation, so I suggested simply from a users view.
If the arrays gets "value" instead of "item", it would be fine, of course.
lazaridis.com (Lazaridis Ilias)
12:23 AM Feature #4830: Provide Default Variables for Array#each and other iterators
Hi,

At Sun, 5 Jun 2011 17:23:26 +0900,
Lazaridis Ilias wrote in [ruby-core:36750]:
> for arrays: use "item" by default
> for hashes: use "key" and "value" by default

Why different names?

There is no way to tell what...
nobu (Nobuyoshi Nakada)
12:20 AM Feature #4830 (Assigned): Provide Default Variables for Array#each and other iterators
nobu (Nobuyoshi Nakada)
07:23 PM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
なかだです。

At Mon, 6 Jun 2011 18:35:11 +0900,
Hidetoshi NAGAI wrote in [ruby-dev:43636]:
> I don't have Visual C++.
> Does it properly recognize '-D"uintptr_t=unsigned int"'?

$CPPFLAGSではなく$defsを使ってみてください。


diff --git...
nobu (Nobuyoshi Nakada)
07:23 PM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
なかだです。

At Mon, 6 Jun 2011 18:35:11 +0900,
Hidetoshi NAGAI wrote in [ruby-dev:43636]:
> I don't have Visual C++.
> Does it properly recognize '-D"uintptr_t=unsigned int"'?

$CPPFLAGSではなく$defsを使ってみてください。


diff --git...
nobu (Nobuyoshi Nakada)
06:53 PM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
From: Yuki Sonoda <yugui@yugui.jp>
Subject: [ruby-dev:43635] [Ruby 1.9 - Bug #4835] Compilation failure of ext/tk with recent ActiveTcl
Date: Mon, 6 Jun 2011 14:44:47 +0900
Message-ID: <redmine.journal-17531.20110606144436@ruby-la...
nagai (Hidetoshi Nagai)
06:53 PM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
From: Yuki Sonoda <yugui@yugui.jp>
Subject: [ruby-dev:43635] [Ruby 1.9 - Bug #4835] Compilation failure of ext/tk with recent ActiveTcl
Date: Mon, 6 Jun 2011 14:44:47 +0900
Message-ID: <redmine.journal-17531.20110606144436@ruby-la...
nagai (Hidetoshi Nagai)
02:44 PM Bug #4835 (Closed): Compilation failure of ext/tk with recent ActiveTcl
Recent version of ActiveTcl contains "-Duintptr_t=unsigned\ int" in TCL_DEFS. But this escape by backslash is not recognized correctly by cl.exe. So compilation of ext/tk with Visual C++ fails. yugui (Yuki Sonoda)
06:35 PM Revision 81894831 (git): * 2011-06-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:35 PM Revision e301f4c1 (git): * test/ruby/test_io.rb (TestIO#test_s_{,bin}write): do not create a file
under /tmp. [Bug #4846]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
02:06 PM Revision 4d85a0df (git): * cont.c: use #if FIBER_USE_NATIVE instead of #ifdef.
you can suppress use of setcontext for Fiber with compile option
-DFIBER_USE_NATIVE=0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:00 PM Revision dc62f1b6 (git): * test/date/test_switch_hitter.rb: added a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:41 PM Revision 0ac1621a (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:38 PM Revision 86768527 (git): * ext/date/date_core.c: added notes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:31 PM Revision 961143f6 (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:05 PM Revision 2cdd0a87 (git): * ext/date/date_core.c: flattened format to strftimev.
* ext/date/date_core.c (date_strftime_internal): taints run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
11:34 AM Bug #4834 (Closed): Adding documentation for prettyprint library
Adding documentation for the current_group and fill_breakable attribute methods in the prettyprint library. Documentation attached as a patch. ysiadf (Ysiad Ferreiras)
10:44 AM Bug #4833 (Closed): Documentation improvement for WEBRick submodules
I've added documentation to the WEBrick::Log, WEBrick::BasicLog and WEBrick::HTTPStatus modules.
Patchs included.
ouranos (Olivier Brisse)
10:21 AM Bug #4826 (Closed): Date fails RubySpec
なるほど、46f643b17d と 0396550b で RubySpec 側を直しました。
ありがとうございました。
naruse (Yui NARUSE)
09:53 AM Bug #4803: RCLASS_SUPER won't compile for C extensions as of revision 31627
Hi,

At Sat, 4 Jun 2011 01:33:38 +0900,
Roger Pack wrote in [ruby-core:36721]:
> just ran into this, as well
>
> https://gist.github.com/1006162
>
> If there's a work around do let us know :)

rb_class_superclass()...
nobu (Nobuyoshi Nakada)
06:11 AM Revision 5574d874 (git): * include/ruby/{defines,missing}.h (rb_infinity, rb_nan): move from
defines.h to missing.h. (couldn't use RUBY_EXTERN there.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:38 AM Revision f4e499de (git): * test/rdoc/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#
{test_include_file,test_include_file_encoding_incompatible}): no
need to write such workaround. don't hide the bug of ruby (and the
bug is already fixed).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31937 b2dd03c8-39d4-4d8f-...
U.Nakamura
05:12 AM Revision 3c9e6c7a (git): * ext/date/date_core.c (valid_jd_sub): need to convert from VALUE to
double.
* ext/date/date_core.c (offset_to_sec): get rid of a compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:09 AM Revision f0bd1c21 (git): * include/ruby/defines.h (rb_inifinity, rb_nan): export for Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:47 AM Revision 55ddfcee (git): * lib/test/unit.rb(Test::Unit::Runner#puke):
Add overriding from MiniTest::Unit#puke. This reverts minitest's fix
that skip messages are hidden when not verbose mode (-v option).
To hide skip messages, use --hide-skip option instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
sorah (Sorah Fukumori)
01:53 AM Revision 80651eda (git): * lib/net/http.rb: don't use autoload.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:46 AM Revision 005a7bb5 (git): merges a part of r31717 from trunk into ruby_1_9_2.
--
* ext/tk/lib/tk/extconf.rb: search directories for 64bit library (e.g.
* /usr/lib64), and bug fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:41 AM Revision 55ea66cb (git): * 2011-06-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:41 AM Revision 6c56c40b (git): * ext/psych/parser.c (parse): release event objects to plug memory
leak. Thanks Mark J. Titorenko!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:41 AM Bug #4828: crash in test_thread_instance_variable
hi,
following patch suppress the error.
diff --git a/gc.c b/gc.c
index 28fa233..3499b02 100644
--- a/gc.c
+++ b/gc.c
@@ -3005,7 +3005,7 @@ rb_objspace_call_finalizer(rb_objspace_t *objspace)
while (p < pend) {
if (BUI...
nagachika (Tomoyuki Chikanaga)
12:33 AM Feature #4831 (Closed): Integer#prime_factors
Hello,
lib/prime provides Integer#prime_division, but I always forget the name.
I think that #prime_factors is more suitable. I'd like to hear opinions
of English natives. What do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)

06/05/2011

11:23 PM Bug #4777: Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
Hello,

2011/6/5 Motohiro KOSAKI <kosaki.motohiro@gmail.com>:
> And, more importantly, this fixing patch was already backported to 2.6.38.4.
> Thus, the issue is really Ubuntu specific, unfortunately.

The patch was backport...
mame (Yusuke Endoh)
10:45 PM Bug #4777: Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
OK, I and Endoh-san investigated more. I bet the guilty linux regression is below.
Ruby's timer thread is using pthread_cond_timedwait() and it is using futex_wait() internally.
And, more importantly, this fixing patch was already b...
kosaki (Motohiro KOSAKI)
11:03 PM Bug #4608 (Third Party's Issue): Ctrl-c to interrupt script causes hang and 100% cpu's core load
I think this is the same issue with Bug #4777.
kosaki (Motohiro KOSAKI)
10:38 PM Revision 9c36cb39 (git): * test/drb/ut_array.rb: uses 'druby://localhost:0' instead of nil
as well as test/drb/ut_drb.rb. This fixes the same problem as
[ruby-dev:23078].
* test/drb/ut_array_drbssl.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:37 PM Revision 3c1a077f (git): merges a part of r31717 and a part of r31742.
Fixes a problem in Tk.mainloop.
--
* ext/tk/lib/tk.rb: hang-up at exit before calling Tk.mainloop.
--
* ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) on
some environment (reported on [ruby-talk:381444]).
git-svn-id: s...
yugui (Yuki Sonoda)
10:29 PM Feature #4824: Provide method Kernel#executed?
Clifford Heath wrote:
> That is, the problem is that it's not obvious to a newcomer that __FILE__ means
> ...
`$PROGRAM_NAME` is an alias for `$0`.
But "`if __FILE__ == $PROGRAM_NAME`" is quite long.
Eregon (Benoit Daloze)
04:29 PM Feature #4824: Provide method Kernel#executed?
On 05/06/2011, at 4:01 PM, Lazaridis Ilias wrote:
> The clarity of the method name should be rated in it's OO context,
> like this:

I dispute the need for a method. That just forces someone to the
documentation
to know ...
cjheath (Clifford Heath)
03:01 PM Feature #4824: Provide method Kernel#executed?
Some notes subjecting the naming:
The clarity of the method name should be rated in it's OO context, like this:
~~~ruby
if self.executed? # or .started? .launched?, which means *not* .included? .required? .loaded?
# do main cod...
lazaridis.com (Lazaridis Ilias)
03:53 AM Feature #4824: Provide method Kernel#executed?
Some other suggestions:

~~~ruby
if main?
if first_script?
if main_script?
if run_script?
~~~

-Stephen
sdsykes (Stephen Sykes)
08:04 PM Feature #4830: Provide Default Variables for Array#each and other iterators
[please, if possible, delete the non-relevant quoted message in your reply.]
Magnus Holm wrote:
> What happens in this case?
> ...
Possibly the same as with
item = 1
[1, 2, 3].each { |item| print item }
The outer loca...
lazaridis.com (Lazaridis Ilias)
07:23 PM Feature #4830: Provide Default Variables for Array#each and other iterators
What happens in this case?
```ruby
item = 1
[1, 2, 3].each { print item }
```
// Magnus Holm
judofyr (Magnus Holm)
05:23 PM Feature #4830 (Rejected): Provide Default Variables for Array#each and other iterators
for arrays: use "item" by default
for hashes: use "key" and "value" by default
names = ["Jane", "Michele", "Isabella"]
names.each { |name| print name, "\n" }
names.each { print item, "\n" }
contact = {name:"Jane", phone:"12345...
lazaridis.com (Lazaridis Ilias)
07:23 PM Feature #4822: String#capitalize improvements
Anurag Priyam wrote:
> > Hmm, how about this?
> ...
As my example, this can't be perfect.
Such function should be provided by third party, like gems.
naruse (Yui NARUSE)
06:29 PM Feature #4822: String#capitalize improvements
> Hmm, how about this?
> str.gsub(/\w.*?[.!?](?:\s+|\z)/){|c|c.capitalize}

This solves my problem better than what I was doing. Thanks. Do you
think that other's could also benefit from such an extension to
`capitalize`, or i...
yeban (Anurag Priyam)
07:17 PM Feature #4774 (Closed): User Friendly Handling of "Encoding::ConverterNotFoundError"
naruse (Yui NARUSE)
06:15 PM Feature #4774: User Friendly Handling of "Encoding::ConverterNotFoundError"
Yui NARUSE wrote:
> Lazaridis Ilias wrote:
> ...
[...]
> > I start to understand that you want to tell me this:
> ...
I understand.
If it's so, then there is no need to do something more.
You can close/reject this issue (I ca...
lazaridis.com (Lazaridis Ilias)
03:45 PM Bug #4828: crash in test_thread_instance_variable
git bisect has been finished.
I hope every developers confirm test-all result *brefore* commit.
d22130922e7842226d38d59680e4bbb48a28a5f0 is the first bad commit
commit d22130922e7842226d38d59680e4bbb48a28a5f0
Author: ryan <ryan@b...
kosaki (Motohiro KOSAKI)
03:16 PM Bug #4828: crash in test_thread_instance_variable
Hm, Linux crash too. kosaki (Motohiro KOSAKI)
02:51 PM Bug #4828: crash in test_thread_instance_variable
Hm,
I've spent my time for printf() debugging. and I've found thread_free() is called twice, 1) from run_final() 2) from ruby_vm_destruct().
It seems silly.
kosaki (Motohiro KOSAKI)
01:52 PM Bug #4828 (Closed): crash in test_thread_instance_variable
"make test-all" on MacOS X makes following failure. It is very frequently happen.
1) Failure:
test_thread_instance_variable(TestThread) [/Users/kosaki/ruby/test/ruby/test_thread.rb:583]:
[ruby-core:35192].
<[]> expected but was
...
kosaki (Motohiro KOSAKI)
03:23 PM Bug #3924: Performance bug (in require?)
On 1/06/11 8:17 AM, Masaya Tarui wrote:
>
> Issue #3924 has been updated by Masaya Tarui.
>
>
>
> Hello,
>
> Require performance has been imporved a little at r31875, i think.
nice! It sure has.

> Please compare t...
xaviershay (Xavier Shay)
03:15 PM Feature #4796: Coverage should be restartable
I tried this patch and it works as expected. Here is a patch for the test case, slightly cleaned up:
diff --git a/test/coverage/test_coverage.rb b/test/coverage/test_coverage.rb
index ace49d3..56966b1 100644
--- a/test/coverage/test...
xaviershay (Xavier Shay)
02:35 PM Revision ecaf7975 (git): * eval.c: remove rb_thread_stop_timer_thread function declaration.
Instead, include vm_core.h.
* process.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:21 PM Bug #4829 (Closed): test_thread.rb reposet "malloc: *** pointer being freed was not allocated" on Mac OS X
#4828 と全く同一でしたので duplicate として閉じます。 nagachika (Tomoyuki Chikanaga)
01:58 PM Bug #4829 (Closed): test_thread.rb reposet "malloc: *** pointer being freed was not allocated" on Mac OS X
r31885 以降の trunk で make test-all TESTS="-vq ruby/test_thread.rb" を実行すると以下のように
free に不正なポインタを渡したというメッセージが出て Failure になります。
1) Failure:
test_thread_instance_variable(TestThread) [/Users/nagachika/opt/ruby-trunk/src/ruby/test/ruby/te...
nagachika (Tomoyuki Chikanaga)
01:37 PM Bug #4827: meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
crash in rb_method_entry_get_without_cache() is more frequently happen.
--------------------------------------------
Process: ruby-193 [8880]
Path: /Users/kosaki/ruby/ruby-193
Identifier: ruby-193
Version: ...
kosaki (Motohiro KOSAKI)
05:11 AM Bug #4827 (Closed): meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
TestFiber#test_term = 0.00 s = .
TestFiber#test_throw = 0.00 s = .
TestFiber#test_tls = 0.00 s = .
/Users/kosaki/ruby/lib/test/unit/parallel.rb:133: [BUG] Segmentation fault
ruby 1.9.3dev (2011-06-04 trunk 31919) [x86_64-darwin10.7.4...
kosaki (Motohiro KOSAKI)
12:48 PM Revision 4010bc1e (git): * thread_pthread.c (thread_timer): add to care a spurious wakeup.
When native_cond_timedwait() return 0 by spurious wakeup, we
don't have to neither 1) call timer_thread_function and 2)
exit the timer thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31926 b2dd03c8-39d4-4d8f-98ff-823fe69...
kosaki (Motohiro KOSAKI)
08:53 AM Revision 64097bd7 (git): * ext/date/date_core.c (m_real_cwyear): new. derived from m_cwyear.
* ext/date/date_strftime.c: trivial changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
08:23 AM Revision f6554c20 (git): * ext/tk/config_list.in: add new options for tcltklib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
06:53 AM Bug #4826: Date fails RubySpec
6-12)

改暦日は現実的な範囲で。改暦日の範囲が限定されています。範囲外の日を指
定すると警告の上で無視するようになりました。

13)

テストとして少しおかしい、このテストに書いてある
BigDecimal::FloatDomainError は意味不明です。

ここで与えられている BigDecimal は、以前のコードでは浮動小数点数に感染
して無限大になるので、振舞いは Float#floor のもの。

...
tadf (tadayoshi funaba)
05:53 AM Feature #4801: Shorthand Hash Syntax for Strings
On Sat, Jun 04, 2011 at 02:17:28AM +0900, Piotr Szotkowski wrote:
> // Apologies for the delayed reply – it takes
> // a bit to digest such a detailed response! :)

Oh, don't apologize - my fault for being way too elaborate and ...
Cezary (Cezary Baginski)
01:13 AM Revision a975bf24 (git): * ext/date/date_tmx.h: now does not place decoded data. allows to
access indirectly via functions on demand.
* ext/date/date_strftime.c: ditto.
* ext/date/date_core.c: ditto.
* ext/date/date_core.c ({d|dt}_lite_to_s): use strftime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
Tadayoshi Funaba
 

Also available in: Atom