Activity
From 05/04/2011 to 05/10/2011
05/10/2011
-
11:37 PM Revision 8c2a5293 (git): * lib/webrick: Add documentation for WEBrick::HTTPAuth
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:09 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- 共通なconvensionを用意すると発散すると書かれていたのにやってしまいましたが、
Enumerator#deferを定義してこのような形にすると良いのではと思いました。
個人的に見栄えはこれが一番しっくりくるなあ、と思います。
[1,2,3].map.defer{|x| x*2 }.each_with_index.map.defer do |x,i|
"#{x}: #{i}"
end.each {|x| puts x }
いかがでし... -
02:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- (05/09/2011 05:21 PM), Akinori MUSHA wrote:
> At Mon, 9 May 2011 16:35:31 +0900,
> Urabe Shyouhei wrote:
>> でまあやはりflat_mapがある以上なんとか_mapがいちばん通りやすいと思うんですけど
>> どうですかね。lazy_mapとか。
>
> ベタ路線なら map_enum がいいと思います。動作を表す語が複数並んで
> い... -
02:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- (05/09/2011 05:21 PM), Akinori MUSHA wrote:
> At Mon, 9 May 2011 16:35:31 +0900,
> Urabe Shyouhei wrote:
>> でまあやはりflat_mapがある以上なんとか_mapがいちばん通りやすいと思うんですけど
>> どうですかね。lazy_mapとか。
>
> ベタ路線なら map_enum がいいと思います。動作を表す語が複数並んで
> い... - 06:07 PM Revision 6626b0a2 (git): * 2011-05-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:07 PM Revision b3073556 (git): * lib/rss.rb: Add documentation. Patch by Steve Klabnik.
- [Ruby 1.9 - Bug #4663]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:23 PM Feature #4657: add option to hide skip messages on unit/test
- > -q, --hide-skipでskipメッセージが表示されなくなります。
skip のメッセージを隠す「だけ」なのに -q という指定は違和感を感じるのですがどうなんでしょうか。
-q ってつけると全部のメッセージが消えるイメージが。 -
03:23 PM Feature #4657: add option to hide skip messages on unit/test
- > -q, --hide-skipでskipメッセージが表示されなくなります。
skip のメッセージを隠す「だけ」なのに -q という指定は違和感を感じるのですがどうなんでしょうか。
-q ってつけると全部のメッセージが消えるイメージが。 -
02:54 PM Feature #4657 (Closed): add option to hide skip messages on unit/test
- r31502 でコミットしました。
-q, --hide-skipでskipメッセージが表示されなくなります。 -
02:03 PM Bug #4663 (Closed): Add initial documentation for RSS
- As part of the Ruby 1.9.3 documentation challenge[1], here's my first shot at adding some documentation to the RSS portion of the standard library. I've just added an overview with two examples, but I plan on fleshing out the rest of RSS...
-
09:29 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
- On Tue, May 10, 2011 at 07:37:13AM +0900, Martin Bosslet wrote:
>
> Issue #4421 has been updated by Martin Bosslet.
>
>
> Hi all,
>
> now that I have SVN access - would it be fine if I assigned the issues that I reported and ... -
09:01 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
- Great :) Thanks for all the help so far!
-
07:59 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
- Welcome to committers!
Yeah you can change the assignee and commit the patch. -
07:37 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
- Hi all,
now that I have SVN access - would it be fine if I assigned the issues that I reported and that are still open to myself?
What about those already assigned?
Regards,
Martin -
08:53 AM Feature #3436: Spawn the timer thread lazily
- I'm repeating what I said in another thread to catch people that have subscribed to this bug.
Suraj Kurapati wrote:
> It seems Mark was the only person to review ((<Ko1's patch|URL:http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ru... -
05:53 AM Revision 64495a2f (git): * lib/test/unit.rb: Add option for hiding skip messages when test
- ends. #4657
* test/testunit/test_hideskip.rb, test/testunit/test4test_hideskip.rb:
test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:19 AM Bug #4662 (Assigned): Date#strftime %v gives allcaps instead of normal caps
- Tell me when the patch is OK. I can pull it.
-
02:55 AM Bug #4662: Date#strftime %v gives allcaps instead of normal caps
- I have submitted a pull request for convenience:
https://github.com/ruby/ruby/pull/18 -
02:53 AM Bug #4662 (Closed): Date#strftime %v gives allcaps instead of normal caps
- Since the big strftime changes of past month strftime gives a capitalised month abbreviation like so:
'%v'=>[' 3-FEB-2001' {:mday=>3,:mon=>2,:year=>2001}]
This is different from before where:
'%v'=>[' 3-Feb-2001',{:md... -
03:03 AM Revision f47ff482 (git): Use UTF-8 for rdoc-coverage and silence progress reporter
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 AM Revision 7f2a943c (git): * common.mk (rdoc): Add rdoc-coverage rule
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:23 AM Bug #4655: String#to_c does not support scientific notation
- > Issue #4655 has been updated by Kenta Murata.
>
> Status changed from Open to Closed
Thanks for accepting my patch! :) I'm a bit of a beginner with C, I
plan on submitting patches to bugs I find every now and then. Please
... -
12:13 AM Revision 071a678a (git): * lib/webrick: Add Documentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/09/2011
-
11:23 PM Feature #4657: add option to hide skip messages on unit/test
- (2011/05/09 20:50), Shota Fukumori (sora_h) wrote:
> 2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
>>
>> 具体的には、なにが起きますでしょうか?
>
> とりあえずchkbuildには修正が必要なようです (... -
11:23 PM Feature #4657: add option to hide skip messages on unit/test
- (2011/05/09 20:50), Shota Fukumori (sora_h) wrote:
> 2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
>>
>> 具体的には、なにが起きますでしょうか?
>
> とりあえずchkbuildには修正が必要なようです (... -
09:23 PM Feature #4657: add option to hide skip messages on unit/test
- 2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
>
> 具体的には、なにが起きますでしょうか?
とりあえずchkbuildには修正が必要なようです (naruseさん曰く)。
他のCIシステムなどはわかりません。
--
Shota Fukumori a.... -
09:23 PM Feature #4657: add option to hide skip messages on unit/test
- 2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
>
> 具体的には、なにが起きますでしょうか?
とりあえずchkbuildには修正が必要なようです (naruseさん曰く)。
他のCIシステムなどはわかりません。
--
Shota Fukumori a.... -
08:23 PM Feature #4657: add option to hide skip messages on unit/test
- 2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> (05/09/2011 06:31 PM), Shota Fukumori wrote:
>> > 最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。
>>
>> 賛成です。個人的にもtest-all結果からはskipをまず消してから読んでいます(という
>> スク... -
08:23 PM Feature #4657: add option to hide skip messages on unit/test
- 2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> (05/09/2011 06:31 PM), Shota Fukumori wrote:
>> > 最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。
>>
>> 賛成です。個人的にもtest-all結果からはskipをまず消してから読んでいます(という
>> スク... -
07:23 PM Feature #4657: add option to hide skip messages on unit/test
- (05/09/2011 06:31 PM), Shota Fukumori wrote:
> 最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。
賛成です。個人的にもtest-all結果からはskipをまず消してから読んでいます(という
スクリプトを書いてしまった程度には邪魔)。 -
07:23 PM Feature #4657: add option to hide skip messages on unit/test
- (05/09/2011 06:31 PM), Shota Fukumori wrote:
> 最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。
賛成です。個人的にもtest-all結果からはskipをまず消してから読んでいます(という
スクリプトを書いてしまった程度には邪魔)。 -
06:31 PM Feature #4657 (Closed): add option to hide skip messages on unit/test
- 最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。
ちなみに、ruby-jaで以下のような流れがありました。
>nurse: そういえば、うささんの今のtest-allのskipって、test-allの最後で表示されたほうが嬉しいの?
> ...
以下のパッチを適用するとtest/unit (test-all)に--hide-skipオプションが追加され、
--hide-skipオプションを付けて... -
11:13 PM Bug #4600: date/date_parse.c errors are breaking MinGW build
- Thank you tadayoshi funaba for fixing this.
I'm was trying to build ruby-trunk and use 1.8.7 as baseruby, that is why ruby -v mention 1.8.7
The issue is now solved.
-
09:05 PM Bug #4600 (Closed): date/date_parse.c errors are breaking MinGW build
- switch hitter does not support 1.8.x.
anyway, closed. -
09:55 PM Bug #4656 (Rejected): Float#to_s can produce too many digits
- Because they are different values.
$ ruby -e 'p 1.323333333333333 == 3970 / 3000.0'
false
$ ruby -e 'p 1.3233333333333333 == 3970 / 3000.0'
true
-
02:54 PM Bug #4656 (Rejected): Float#to_s can produce too many digits
- In trunk, Float#to_s can produce too many digits.
$ ./miniruby -ve 'puts Float::DIG, 3970 / 3000.0'
ruby 1.9.3dev (2011-05-09 trunk 31491) [x86_64-darwin10.7.0]
15
1.3233333333333333
In the above example, Float::DIG is 15, so th... -
08:32 PM Bug #4658: Minitest - invalid return code when using MiniTest::Unit.after_tests
- minitest has an upstream.
Could report same issue to at the following url?
http://rubyforge.org/tracker/?atid=4097&group_id=1040&func=browse -
08:27 PM Bug #4658 (Rejected): Minitest - invalid return code when using MiniTest::Unit.after_tests
- If test fails and MiniTest::Unit.after_tests is used then the program returned code is 0 but it should not be.
Here is my current workaround:
MiniTest::Unit.after_tests do
status = ($! && $!.respond_to?(:status) && $!.status) ||... - 07:22 PM Revision 7e3ec1db (git): * 2011-05-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:22 PM Revision 38b4876b (git): * lib/webrick/log.rb: Hide copyright info from ri
- * lib/webrick/httpstatus.rb: ditto
* lib/webrick/htmlutils.rb: ditto
* lib/webrick/httpversion.rb: ditto
* lib/webrick/version.rb: ditto
* lib/webrick/httpauth/userdb.rb: ditto
* lib/webrick/httpau... -
06:35 PM Bug #4652 (Closed): Improvement for documentation of String#start_with? and end_with?
- This issue was solved with changeset r31493.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c: Improve documentation for String#start_with? and
... -
05:24 PM Bug #4655 (Closed): String#to_c does not support scientific notation
-
10:23 AM Bug #4655: String#to_c does not support scientific notation
- Hi,
In message "Re: [ruby-core:36049] [Ruby 1.9 - Bug #4655] String#to_c does not support scientific notation"
on Mon, 9 May 2011 09:32:35 +0900, Kenta Murata <muraken@gmail.com> writes:
|Issue #4655 has been updated by ... -
09:32 AM Bug #4655: String#to_c does not support scientific notation
- Sorry, I misunderstood that this issue is about Complex, so I assigned this to tadayoshi.
But, correctly, this is about String.
I assign this to matz again.
-
08:56 AM Bug #4655: String#to_c does not support scientific notation
- I've submitted a pull request for this bug:
https://github.com/ruby/ruby/pull/16 -
07:45 AM Bug #4655 (Closed): String#to_c does not support scientific notation
- Specs have been added for this but I did not find an issue for it so I report it here.
Example:
assert_equals('2e3+2e4i'.to_c, Complex(2e3, 2e4)) -
05:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- 卜部です。
(05/09/2011 12:35 AM), Yusuke ENDOH wrote:
>>>> いきなりmapの戻り値の型が変わるのでも私はいいですけど
>>>> ちょっとやりすぎかとも思います。
>>>
>>> 2.0 でなら、これもいいと思います。
>>
>> mathnみたいにrequireすると挙動が上書きされて、いやでもそれは状態がグローバルだ
>> からよくなくてselector namespaceがないと... -
05:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- 卜部です。
(05/09/2011 12:35 AM), Yusuke ENDOH wrote:
>>>> いきなりmapの戻り値の型が変わるのでも私はいいですけど
>>>> ちょっとやりすぎかとも思います。
>>>
>>> 2.0 でなら、これもいいと思います。
>>
>> mathnみたいにrequireすると挙動が上書きされて、いやでもそれは状態がグローバルだ
>> からよくなくてselector namespaceがないと... -
01:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- 遠藤です。
2011年5月9日0:07 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> 遅延評価であるとみなせるのは事実としても遅延評価っていう言い方をしなきゃいけな
> いことはないですよね。
絶対にいけないことはないですが、一般的な言葉があるならなるべく合わせる
べきでしょう。
> 特に私の用途の場合は途中で配列を作らないというだけの話で
> あって、結局全部評価するわけです... -
01:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- 遠藤です。
2011年5月9日0:07 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> 遅延評価であるとみなせるのは事実としても遅延評価っていう言い方をしなきゃいけな
> いことはないですよね。
絶対にいけないことはないですが、一般的な言葉があるならなるべく合わせる
べきでしょう。
> 特に私の用途の場合は途中で配列を作らないというだけの話で
> あって、結局全部評価するわけです... -
12:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- (05/08/2011 11:21 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年5月8日23:01 Shyouhei Urabe <shyouhei@ruby-lang.org>:
>> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
>> るといいとおもうのですがどうでしょうか。
>
> 賛成です。以下のようなコードを書くときいつも気になってました。
>... -
12:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- (05/08/2011 11:21 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年5月8日23:01 Shyouhei Urabe <shyouhei@ruby-lang.org>:
>> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
>> るといいとおもうのですがどうでしょうか。
>
> 賛成です。以下のようなコードを書くときいつも気になってました。
>... - 12:35 PM Revision c980b87d (git): fixed indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:57 AM Revision c1f80caa (git): * test/ruby/test_{complex,rational}.rb: added tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:31 AM Revision 6c81a8e4 (git): * complex.c (string_to_c_internal): a refactoring.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:35 AM Revision 140e1f0b (git): * string.c: Improve documentation for String#start_with? and
- String#end_with?. fixes #4652
patched by Andrew Grimm <andrew.j.grimm at gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:52 AM Revision ca927d60 (git): * complex.c (string_to_c_internal): support scientific notation.
- patched by Tinco Andringa. https://github.com/ruby/ruby/pull/16
[ruby-core:36046][Bug #4655]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:53 AM Revision d3e5a293 (git): * 2011-05-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:53 AM Revision 074818f3 (git): * numeric.c (int_ord): remove K&R style.
- patched by Daehyub Kim. https://github.com/ruby/ruby/pull/17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 AM Feature #4197 (Assigned): Improvement of the benchmark library
-
12:19 AM Feature #4197: Improvement of the benchmark library
- Hello,
I said I would soon make it pass, but I unfortunately did not take the time yet to report the feature, I'm sorry.
However, the code is already there, I just need to split it correctly into commits.
Also, I believe my code should... -
12:11 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
- I just tried reproducing on trunk with '-O0 -ggdb3' but I could not reproduce the error.
I'm not sure if a binary compiled on Snow Leopard crashes on Lion or vice versa. I think the binary I had previously compiled for Snow Leopard wa...
05/08/2011
-
11:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- 遠藤です。
2011年5月8日23:01 Shyouhei Urabe <shyouhei@ruby-lang.org>:
> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
> るといいとおもうのですがどうでしょうか。
賛成です。以下のようなコードを書くときいつも気になってました。
big_ary.map {|x| ... }.max
ただ、map だけでなく、select や... -
11:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
- 遠藤です。
2011年5月8日23:01 Shyouhei Urabe <shyouhei@ruby-lang.org>:
> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
> るといいとおもうのですがどうでしょうか。
賛成です。以下のようなコードを書くときいつも気になってました。
big_ary.map {|x| ... }.max
ただ、map だけでなく、select や... -
11:01 PM Feature #4653 (Assigned): [PATCH 1/1] new method Enumerable#rude_map
-
11:00 PM Feature #4653 (Rejected): [PATCH 1/1] new method Enumerable#rude_map
- From e6dd7bd9b5769bae5d81416da7a2b4003a43ba06 Mon Sep 17 00:00:00 2001
Message-Id: <e6dd7bd9b5769bae5d81416da7a2b4003a43ba06.1304863013.git.shyouhei@ruby-lang.org>
From: URABE, Shyouhei <shyouhei@ruby-lang.org>
Date: Sun, 8 May 2011 2... -
10:57 PM Feature #4197: Improvement of the benchmark library
- =begin
Hi, Benoit.
How about following skipped test?
it 'correctly guess the label width even when not given' do
skip :not_implemented
capture_bench_output(:bm).must_equal BM_OUTPUT
end
=end
-
09:51 PM Bug #4652 (Closed): Improvement for documentation of String#start_with? and end_with?
- =begin
The documentation for (({String#start_with?})) and (({String#end_with?})) has a typo, and the English grammar can be improved. A patch fixing it is attached.
=end
- 01:18 PM Revision 10c4a861 (git): * test/ruby/test_{complex2,complexrational}.rb: use skip.
- * test/date/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 PM Feature #4328: export rb_thread_call_with_gvl()
- I should note that even Rubinius has this function in it's C API.
- 12:03 PM Revision e2ab17e8 (git): never skip
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:01 PM Revision 6b8bc66e (git): fixed
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:56 AM Revision a4ecf14d (git): * test/date/*.rb: NEVER SKIP.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:38 AM Revision 5518dc64 (git): * test/date/*.rb: reverted 31432.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:33 AM Revision dbe8aba7 (git): * test/date/*.rb: reverted 31483.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:15 AM Revision bf92aa8b (git): Revert r31478.
- In CRuby's test-all, skip is for something to be fixed.
When some external library is missing, it should silently return;
don't flood the test result with meaningless messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31483 b2d... -
10:46 AM Revision 19f52b87 (git): * thread_pthread.c (native_cond_timedwait): add to care EINTR.
- * thread_pthread.c (thread_timer): remove EINTR check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:08 AM Revision 09993337 (git): * lib/time.rb (xmlschema): avoid passing any negative numbers.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:41 AM Revision 1348dd26 (git): * ext/date/date_{parse,strptime}.c: introduced some macros.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:09 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
- OK, then could you show the crash log from the short code on the trunk compiled with '-O0 -ggdb3'?
And,
* does a binary compiled on Snow Leopard crash on Lion?
* does a binary compiled on Lion crash on Snow Leopard? -
09:03 AM Bug #4651 (Open): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
-
08:52 AM Revision 1816a4a6 (git): revert r31474. we cann't call xmalloc under FGLOCK.
- Thansk, nagachika-san.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:18 AM Revision 847b4614 (git): * test/date/*.rb: use skip /w messages.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:06 AM Revision d54240d3 (git): * ext/date/lib/date/format.rb (_httpdate): omitted to call zone_to_diff.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:58 AM Revision ca5401e4 (git): * ext/date/date_core.c (date_s_test_*): use macros.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:27 AM Revision 23f22858 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 AM Revision c878761f (git): * thread_pthread.c (add_signal_thread_list): use xmalloc instead
- of malloc.
* thread_pthread.c (remove_signal_thread_list): use xfree instead
of free.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 AM Revision a3fd4cf5 (git): * thread_pthread.c: cleanup signal_thread_list related ifdef.
- 1) we don't have to use #ifdef FOO-PLATFORM directly 2) About
half #ifdef didn't care symbian properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/07/2011
-
10:47 PM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
- =begin
* Yes,
* yes,
* and yes.
=end
-
05:03 PM Bug #4651 (Feedback): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
- =begin
Does it reproduce
* with just those 2 lines?
* with `configure optflags=-O0 debugflags=-ggdb3'?
* with trunk?
=end
-
02:38 PM Bug #4651 (Closed): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
- =begin
The following code crashes with a Bus Error on Ruby 1.9.2-p136 and 1.9.2-p180 built for x86_64-darwin11.0.0 (Lion). The same code works on both of those versions of Ruby built for x86_64-darwin10.0.0 (Snow Leopard).
(({require... -
08:21 PM Revision f23fa4b0 (git): * test/io/wait/test_io_wait.rb: Linux socketpair(2) only support
- AF_UNIX, but windows socketpair doesn't support it. we can't
avoid platform check. sigh!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:23 PM Feature #4647: [PATCH] io/wait: add IO#wait_writable method
- Eric Wong <normalperson@yhbt.net> wrote:
> Issue #4647 has been reported by Eric Wong.
Oops, this is a duplicate of #4646 I screwed up using my web browser. - 03:17 PM Revision c9da3d68 (git): * 2011-05-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 PM Revision 16846eb9 (git): * test/io/wait/test_io_wait.rb: use Socket.pair instaed of pipe.
- Windows can only treat a socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:57 PM Revision 70e92016 (git): * test/io/wait/test_io_wait.rb: skip tests if the platform is
- mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 PM Revision 21fcb1c3 (git): * test/ruby/test_io.rb (TestIO#test_readpartial_lock),
- (TestIO#test_read_lock): get rid of GVL fairness problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 PM Revision 76734388 (git): * thread.c (rb_fd_zero): remove redundant zero fill.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:40 PM Revision 9468e945 (git): * thread.c (rb_fd_init): remove volatile qualifier.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:36 PM Revision 156ccab7 (git): * thread.c (rb_fd_init_copy): new internal api. It provide efficient
- copy constructor semantics.
* thread.c (do_select): use rb_fd_init_copy().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:22 PM Revision ddcd5c29 (git): r31460 is wrong fix. fix it again.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:47 AM Revision 68417aa5 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:28 AM Revision 1bd2c78b (git): * thread_pthread.c (USE_MONOTONIC_COND): check the availability
- more strictly.
* thread_pthread.h (rb_thread_cond_t): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:22 AM Revision 562a1a79 (git): remove debugging code
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:20 AM Revision fa319c57 (git): fix incorrect native_cond_signal call when deadlock was detected.
- * thread.c (lock_func): timedwait don't touch cond_waiting and
cond_notifid variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:17 AM Revision 94e4d61b (git): fix win32 native_cond_timedwait() makes SIGSEGV.
- * thread_win32.h (rb_thread_cond_struct): add prev field instead of last.
(ie cond_event_entry is now using double linked list instead of single)
* thread_win32.c (cond_event_entry): add prev field.
* thread_win32.c (__cond_timedwait)... -
03:43 AM Revision 471fb33b (git): fix mutex deadlock test hang-up.
- * thread_win32.c (abs_timespec_to_timeout_ms): fix 1000x calculation
mistake. (ie fix hang-up native_cond_timedwait())
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:24 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- > Issue #4531 has been updated by Eric Wong.
>
> File 0001-rb_wait_for_single_fd-use-ppoll-instead-of-poll.patch added
>
> I've uploaded a new patch to use ppoll() instead of poll()
>
> Also pullable from git://bogomips.org/... -
12:24 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- > Eric Wong <normalperson@yhbt.net> wrote:
>> Instead the io/wait extension should be expanded to be able to check for
>> writability, too. Â Maybe by adding a new method:
>>
>> Â Â Â IO#wait_writable(timeout -
12:02 AM Feature #4531 (Closed): [PATCH 0/7] use poll() instead of select() in certain cases
05/06/2011
-
10:05 PM Bug #4650 (Rejected): sub/gsub with named group captures discards numbered group captures
-
10:04 PM Bug #4650: sub/gsub with named group captures discards numbered group captures
- It's spec.
Cited from doc/re.rdoc:
*Note*: A regexp can't use named backreferences and numbered
backreferences simultaneously.
-
05:33 PM Bug #4650 (Rejected): sub/gsub with named group captures discards numbered group captures
- puts "ab".sub(/(?<g>.)(.)/, "0=\\0 1=\\1 2=\\2 g=\\k<g>") # outputs "0=ab 1= 2= g=a"
Expected: "0=ab 1=b 2= g=a"
(or maybe "0=ab 1= 2=b g=a"? Though I think it's the former)
-
06:17 PM Revision 7ac6b706 (git): sleep_cond use monotonic time if possible.
- * thread_pthread.c (native_thread_init): change sleep_cond
attribute to monotonic.
* thread_pthread.c (native_sleep): use native_cond_timeout().
* thread_pthread.c (native_cond_timeout): add overflow care.
* thread_win32.c (native_con... -
06:14 PM Revision 2d7a5f65 (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:50 PM Revision 604a1e2e (git): fix win32 compile error.
- * thread_win32.c (RB_CONDATTR_CLOCK_MONOTONIC): define
RB_CONDATTR_CLOCK_MONOTONIC always.
* thread_pthread.c (RB_CONDATTR_CLOCK_MONOTONIC): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31455 b2dd03c8-39d4-4d8f-98ff-823f... -
05:39 PM Revision b2ea836a (git): mutex: deadlock check timeout use monotonic time.
- * thread_pthread.c (native_cond_timeout): new internal api.
it calculate a proper time for argument of native_cond_timedwait().
* thread_win32.c (native_cond_timeout): ditto.
* thread_pthread.c (thread_timer): use native_cond_timeout(... -
04:56 PM Revision 54b50fbb (git): * thread_pthread.c (get_ts): add monotonic clock capability.
- * thread_pthread.c (rb_thread_create_timer_thread): use monotonic
clock if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:47 PM Revision 17707b2d (git): * 2011-05-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:47 PM Revision a1cfaf4b (git): * thread_pthread.h (rb_thread_cond_t): add clockid field. it's
- no longer an alias of pthread_cond_t.
* thread_pthread.c: adapt new rb_thread_cond_t type.
* thread.c (mutex_alloc): ditto.
* thread_win32.c (native_cond_initialize): ditto.
* configure.in: add check for pthread_cond_attr_setclock() and
... -
03:55 PM Bug #4594: Don't depend on extension automagic
- Nathan McSween wrote:
> Extensions in ruby are built automatically by what is found at compile time, this is bad as dependencies won't be tracked w.r.t package managers (yum, etc).
If package managers want to manage ruby's bundled ex... -
03:34 PM Bug #4639 (Feedback): net http segmentation fault in ruby 1.9.2-head/1.9.2-p180
- Can you show a reproducible code?
-
03:19 PM Bug #4571 (Closed): YAML.load given an ISO8601 timestamp creates an incorrect value for usec
- This issue was solved with changeset r31441.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
YAML.load time correctly parse usecs smaller than 1 fixes #4571
... -
08:23 AM Bug #4571: YAML.load given an ISO8601 timestamp creates an incorrect value for usec
- On Thu, May 05, 2011 at 11:31:14AM +0900, Shyouhei Urabe wrote:
>
> Issue #4571 has been updated by Shyouhei Urabe.
>
>
> Hi Aaron, how do you feel the patch?
>
> I can pull it when you are OK.
It seems good to me. Please... -
02:58 PM Revision 4a9883e9 (git): * thread.c (rb_wait_for_single_fd): use ppoll() instead of poll()
- if possible. based on a patch from Eric Wong. [ruby-core:36003].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 PM Revision 066eecf5 (git): * configure.in: remove nanosleep check. we no longer use it.
- r20124 removed last usage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 PM Revision 31ae13c9 (git): set properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:36 PM Revision 54aa0b12 (git): * ext/syck/rubyext.c (mktime_do): extra digits are not used.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:44 AM Revision 957ec6fc (git): * ext/syck/rubyext.c (mktime_do): remove unused variable offset.
- * ext/syck/syck.h: use #ifdef instead of #if DEBUG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:38 AM Revision 1f6a7c18 (git): * ext/date/date_core.c (DAY_IN_NANOSECONDS): refix: 31438.
- check with LONG_MAX and cast as long; without this the calculation
will be done as int and overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:19 AM Revision 534388dd (git): * 2011-05-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:19 AM Revision e3a69233 (git): * ext/syck/rubyext.c (mktime_do): avoid buffer overrun, by
- silently ignoring lesser significant digits. Required buffer
length can be computable so you might at first think of
allocating enough memory space on the fly using alloca(). That
is a wrong idea because when using alloca there i... -
06:19 AM Revision be237a9d (git): ChangeLog for it
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:19 AM Revision dbbfac20 (git): YAML.load time correctly parse usecs smaller than 1 fixes #4571
- Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:53 AM Feature #4649: Adding parallel constructors to Ruby 2.0
- You're right Joel. Maybe the syntax I'm requesting to be included in standard Ruby should be something like:
concurrently do
task {...}
...
end
But, although the implementation is simple, having a standard idiom for that com... -
02:17 AM Feature #4649: Adding parallel constructors to Ruby 2.0
- IMO this is not really about parallel computation, but about syntax and scope, and it can be solved without changing ruby.
One solution that seems fairly idiomatic to me is:
def get_response_from_service_a; "a response"; end
def g...
05/05/2011
-
09:19 PM Feature #4649 (Rejected): Adding parallel constructors to Ruby 2.0
- I was not sure if this was RubySpec or Feature type.
My request is to create some new syntax for easing the write of concurrent code with Ruby. The syntax could be something like this:
parallels do
task "get response from servic... -
03:32 PM Bug #4606 (Closed): Regression of __method__ on 1.9
- This issue was solved with changeset r31436.
Ryan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (frame_func_id): __method__ return different name from
... -
02:09 PM Revision 25d04078 (git): * test/ruby/test_io.rb (TestIO#test_O_CLOEXEC): fix false positive
- detection.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 PM Bug #4648 (Closed): lambda上のclass定義からのreturnでSEGV
- =begin
辻本といいます。
以下のコードでSEGVします。
$ ./miniruby -e '->{class A; return; end}.()'
-e:1: [BUG] Segmentation fault
returnの処理(vm_throw)は以下のようになっていますが:
(1) return先の走査中にclass定義用のフレームにあたったらその外側のフレームのlfpを利用して走査処理を続ける。(Bug #1018)
(2... -
01:26 PM Revision b5d612e0 (git): * thread_pthread.c (native_mutex_reinitialize_atfork): removed
- unused macro.
* thread_win32.c (native_mutex_reinitialize_atfork): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:09 PM Revision 66fc78d2 (git): * ext/date/date_core.c (DAY_IN_NANOSECONDS): long long int is not
- available on all platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:31 AM Bug #4571: YAML.load given an ISO8601 timestamp creates an incorrect value for usec
- Hi Aaron, how do you feel the patch?
I can pull it when you are OK. -
10:15 AM Bug #4571: YAML.load given an ISO8601 timestamp creates an incorrect value for usec
- I have submitted a pull request for this bug:
https://github.com/ruby/ruby/pull/15 -
08:39 AM Revision 6410a4ae (git): * eval.c (frame_func_id): store result of method_entry_of_iseq() to
- cfp->me because method_entry_of_iseq() might become expensive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 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
Btw, this was pushed this out to my git ... -
07:30 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- Eric Wong <normalperson@yhbt.net> wrote:
> Instead the io/wait extension should be expanded to be able to check for
> writability, too. Maybe by adding a new method:
>
> IO#wait_writable(timeout = 0)
Should've been:
... -
06:53 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- also adding benchmarks for IO#wait since those are improved by poll/ppoll
-
06:36 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- I've uploaded a new patch to use ppoll() instead of poll()
Also pullable from git://bogomips.org/ruby rb_wait_for_single_fd-ppoll
-
07:26 AM Feature #4647 (Closed): [PATCH] io/wait: add IO#wait_writable method
- This is easier to use than IO.select for a single IO object
and is immune to the limitations/innefficiency of select()
on platforms where poll/ppoll is available.
-
07:25 AM Feature #4646 (Closed): [PATCH] io/wait: add IO#wait_writable method
- This is easier to use than IO.select for a single IO object
and is immune to the limitations/innefficiency of select()
on platforms where poll/ppoll is available.
-
06:32 AM Revision 5358a5c0 (git): * eval.c (frame_func_id): __method__ return different name from
- methods defined by Module#define_method with a same block.
[ruby-core:35386] fixes #4606
* eval (method_entry_of_iseq): new helper function. search control
frame stack for a method entry which has given iseq.
* test/ruby/test... -
02:04 AM Bug #4608: Ctrl-c to interrupt script causes hang and 100% cpu's core load
- I filed a similar bug on Rail's lighthouse a few days ago too. I've found Natty in fact to be pretty bad in some areas regarding stablity, I really hope the Ubuntu team clean up the various issues soon (So anyone reading this, I suggest ...
05/04/2011
- 11:08 PM Revision 09c2f412 (git): * 2011-05-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:07 PM Revision d3802d71 (git): fix capture to avoid doing a sub on the useconds when parsing dates
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:29 PM Feature #1291 (Closed): O_CLOEXEC flag missing for Kernel::open
- r31430
-
06:46 PM Bug #3804 (Feedback): ruby crashed while running spork
- could you paste log by CrashReporter on OSX(Darwin)?
It's located in ~/Library/Logs/CrashReporter/ruby-*.log
See Also: http://redmine.ruby-lang.org/projects/ruby/wiki/HowToReport -
06:11 PM Feature #4645 (Feedback): Pass existing buffer to getsockopt
- There are cases when you need to pass a pre-initialized buffer to
getsockopt, but ruby currently doesn't support this.
For an example, see the API used by iptables to manipulate the firewall
rulesets (below). You have to set the tab... -
05:23 PM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- Hi
2011/5/4 Eric Wong <normalperson@yhbt.net>:
> KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
>> diff --git a/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
>> b/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
>> ind... -
02:23 PM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> diff --git a/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
> b/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
> index d406724..6efd1af 100644
> --- a/ext/-test-/wait_... -
01:23 PM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- diff --git a/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
b/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
index d406724..6efd1af 100644
--- a/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
+++ b/ext/-test-/wait_fo... -
11:45 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- 3 more safety patches + tests based on your comments in this thread:
1) rb_wait_for_single_fd: explain return value for poll() users
2) rb_wait_for_single_fd: have poll()-using impl set EBADF
3) rb_wait_for_single_fd: check for inva... -
11:23 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- Motohiro KOSAKI <kosaki.motohiro@gmail.com> wrote:
> I've commited following five patches.
>
> 0001-rb_wait_for_single_fd-initial-implementation.patch
> 0002-io-wait-switch-to-rb_wait_for_single_fd.patch
> 0003-ext-socket-ini... -
10:23 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- +int
+rb_wait_for_single_fd(int fd, int events, struct timeval *tv)
+{
+ struct pollfd fds;
+ int result, lerrno;
+ double start;
+ int timeout = tv ? tv->tv_sec * 1000 + (tv->tv_usec + 500) / 1000 : -1;
no ... -
10:16 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- I've commited following five patches.
0001-rb_wait_for_single_fd-initial-implementation.patch
0002-io-wait-switch-to-rb_wait_for_single_fd.patch
0003-ext-socket-init.c-simplify-wait_connectable-using-rb.patch
0004-readline-use-rb_w... -
09:29 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- -----------------------------------------------------------------------
int
rb_wait_for_single_fd(int fd, int events, struct timeval *tv)
{
(snip)
BLOCKING_REGION({
result = poll(&fds, 1, timeout);
if (result ... -
08:30 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- Your patch improve single fd case. but slightly decrease multiple fd case.
The most important usecase of IO.select is web server application (ie multiple fd case).
It's no good trade-off.
name before ruby 1.9.3dev (2011-05-03 tr... -
08:23 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- > My patches don't touch the rb_thread_fd_select() code. Â thread.c:2393
> is in rb_fd_copy(), not rb_thread_fd_select(), and is the following:
>
> Â memcpy(dst->fdset, src, size);
>
> Shouldn't that be:
>
> Â memcpy(dst->fdset... -
12:23 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- Motohiro KOSAKI <kosaki.motohiro@gmail.com> wrote:
> Issue #4531 has been updated by Motohiro KOSAKI.
>
> Please do NOT send untested patch. :-/
>
> % ./ruby-single-wait benchmark/bm_io_select3.rb
> max fd: 100000 (results... -
02:29 PM Bug #4643 (Third Party's Issue): While running rake db:migrate
- It seems mysql gem's issue.
-
01:24 PM Bug #4643 (Third Party's Issue): While running rake db:migrate
- rake aborted!
Mysql::Error: query: not connected: SHOW TABLES
(See full trace by running task with --trace)
C:/Ruby192/bin/rake: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
-- control frame ----------
c:... -
02:29 PM Bug #4642 (Third Party's Issue): While running ralk db:migrate
- It seems mysql gem's issue.
-
01:21 PM Bug #4642 (Third Party's Issue): While running ralk db:migrate
- rake aborted!
Mysql::Error: query: not connected: SHOW TABLES
(See full trace by running task with --trace)
C:/Ruby192/bin/rake: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
-- control frame ----------
c:... -
01:14 PM Revision f5b0f04d (git): * benchmark/bm_vm4_pipe.rb: Reduced iterations. Too slow benchmark
- is bad.
* benchmark/bm_vm4_thread_pass.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:10 PM Revision 674a33ed (git): * test/date/test_date_base.rb: don't use no message skip().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:13 PM Revision 512624b6 (git): * benchmark/bm_io_select2.rb: reduce number of using file
- descriptors. because gdb need some fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:29 AM Revision be62297f (git): * io.c (Init_IO): Added File::CLOEXEC constant. [ruby-core:22893] [Feature #1291]
- * test/ruby/test_io.rb (TestIO#test_o_cloexec): test for File::CLOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:02 AM Revision c06da473 (git): * thread.c (rb_wait_for_single_fd): Fix wrong return value.
- * test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
(TestWaitForSingleFD#test_wait_for_closed_pipe): test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:50 AM Revision 2a989121 (git): * ext/-test-/wait_for_single_fd: New. for testing
- rb_wait_for_single_fd() internal function.
The patch was written by Eric Wong. [ruby-core:35991]
* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31428 b2dd03c8-39... -
06:26 AM Revision 8a98c57f (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 AM Revision 951b0901 (git): * thread.c (rb_wait_for_single_fd): Added POLLNVAL check.
- based on a patch from Eric Wong at [ruby-core:35991].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:54 AM Revision d7fa4d83 (git): * io.c (rb_f_select): remove useless ifdef.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:44 AM Revision 9851b0ce (git): * ext/socket/init.c (wait_connectable): fix error handling code.
- RB_WAITFD_OUT is turned on even though an error occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:13 AM Revision 4da4cb04 (git): * ext/readline/readline.c (readline_event): use rb_wait_for_single_fd().
- The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:12 AM Revision 82b2e801 (git): * ext/socket/init.c (wait_connectable): use rb_wait_for_single_fd().
- The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531]
* ext/socket/init.c (try_wait_connectable, wait_connectable_ensure):
removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:09 AM Revision cd796c60 (git): * ext/io/wait/wait.c (io_wait): use rb_wait_for_single_fd().
- The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:07 AM Revision 249fe0e7 (git): * thread.c (rb_wait_for_single_fd): new. poll(2) based backend for rb_wait_for_single_fd().
- Now only Linux uses it.
The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:59 AM Revision 9be37ca7 (git): * thread.c (rb_wait_for_single_fd): new.
- * thread.c (select_single): select(2) based backend for rb_wait_for_single_fd().
* io.c (make_writeconv): use rb_wait_for_single_fd() instaed of
rb_thread_fd_select().
* io.c (rb_io_wait_readable): ditto.
* thread.c (rb_thread_wait_fd...