Project

General

Profile

Activity

From 05/03/2011 to 05/09/2011

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 <[email protected]>:
...
naruse (Yui NARUSE)
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 <[email protected]>:
...
naruse (Yui NARUSE)
09:23 PM Feature #4657: add option to hide skip messages on unit/test
2011/5/9 KOSAKI Motohiro <[email protected]>:
>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
...
sorah (Sorah Fukumori)
09:23 PM Feature #4657: add option to hide skip messages on unit/test
2011/5/9 KOSAKI Motohiro <[email protected]>:
>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
...
sorah (Sorah Fukumori)
08:23 PM Feature #4657: add option to hide skip messages on unit/test
2011/5/9 KOSAKI Motohiro <[email protected]>:
>> (05/09/2011 06:31 PM), Shota Fukumori wrote:
>> > ...
sorah (Sorah Fukumori)
08:23 PM Feature #4657: add option to hide skip messages on unit/test
2011/5/9 KOSAKI Motohiro <[email protected]>:
>> (05/09/2011 06:31 PM), Shota Fukumori wrote:
>> > ...
sorah (Sorah Fukumori)
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のメッセージ表示を抑制するオプションを追加してはどうでしょう。

賛成です。...
shyouhei (Shyouhei Urabe)
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のメッセージ表示を抑制するオプションを追加してはどうでしょう。

賛成です。...
shyouhei (Shyouhei Urabe)
06:31 PM Feature #4657 (Closed): add option to hide skip messages on unit/test
最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。
ちなみに、ruby-jaで以下のような流れがありました。
>nurse: そういえば、うささんの今のtest-a...
sorah (Sorah Fukumori)
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 ...
luislavena (Luis Lavena)
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.
tadf (tadayoshi funaba)
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.3...
nobu (Nobuyoshi Nakada)
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...
mrkn (Kenta Murata)
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=4...
sorah (Sorah Fukumori)
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.
Her...
rupert (Robert Pankowecki)
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 svn[bot]
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: di...
drbrain (Eric Hodel)
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...
naruse (Yui NARUSE)
05:24 PM Bug #4655 (Closed): String#to_c does not support scientific notation
mrkn (Kenta Murata)
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"
...
matz (Yukihiro Matsumoto)
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 ab...
mrkn (Kenta Murata)
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
d-snp (Tinco Andringa)
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('...
d-snp (Tinco Andringa)
05:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
卜部です。

(05/09/2011 12:35 AM), Yusuke ENDOH wrote:
>>>> いきなりmapの戻り値の型が変わるのでも私はいいですけど
>>>> ちょっとやりすぎかとも思います。
...
shyouhei (Shyouhei Urabe)
05:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
卜部です。

(05/09/2011 12:35 AM), Yusuke ENDOH wrote:
>>>> いきなりmapの戻り値の型が変わるのでも私はいいですけど
>>>> ちょっとやりすぎかとも思います。
...
shyouhei (Shyouhei Urabe)
01:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月9日0:07 Urabe Shyouhei <[email protected]>:
> 遅延評価であるとみなせるのは事実としても遅延評価っていう言い方をしなきゃいけな
> いこ...
mame (Yusuke Endoh)
01:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月9日0:07 Urabe Shyouhei <[email protected]>:
> 遅延評価であるとみなせるのは事実としても遅延評価っていう言い方をしなきゃいけな
> いこ...
mame (Yusuke Endoh)
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 <[email protected]>...
shyouhei (Shyouhei Urabe)
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 <[email protected]>...
shyouhei (Shyouhei Urabe)
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 Tadayoshi Funaba
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 Tadayoshi Funaba
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 Tadayoshi Funaba
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-...
naruse (Yui NARUSE)
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:/...
Kenta Murata
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 svn[bot]
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...
naruse (Yui NARUSE)
12:23 AM Feature #4197 (Assigned): Improvement of the benchmark library
naruse (Yui NARUSE)
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 so...
Eregon (Benoit Daloze)
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 ...
sferik (Erik Michaels-Ober)

05/08/2011

11:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月8日23:01 Shyouhei Urabe <[email protected]>:
> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
...
mame (Yusuke Endoh)
11:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月8日23:01 Shyouhei Urabe <[email protected]>:
> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
...
mame (Yusuke Endoh)
11:01 PM Feature #4653 (Assigned): [PATCH 1/1] new method Enumerable#rude_map
shyouhei (Shyouhei Urabe)
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: <e6dd7bd9b5769bae5d81416da7a2b400...
shyouhei (Shyouhei Urabe)
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...
naruse (Yui NARUSE)
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...
agrimm (Andrew Grimm)
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
Tadayoshi Funaba
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. normalperson (Eric Wong)
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 Tadayoshi Funaba
12:01 PM Revision 6b8bc66e (git): fixed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
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 Tadayoshi Funaba
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 Tadayoshi Funaba
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 Tadayoshi Funaba
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 ret...
naruse (Yui NARUSE)
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 b2d...
kosaki (Motohiro KOSAKI)
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 Tadayoshi Funaba
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 Tadayoshi Funaba
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 ...
nobu (Nobuyoshi Nakada)
09:03 AM Bug #4651 (Open): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
nobu (Nobuyoshi Nakada)
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
kosaki (Motohiro KOSAKI)
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 Tadayoshi Funaba
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 Tadayoshi Funaba
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 Tadayoshi Funaba
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 znz (Kazuhiro NISHIYAMA)
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.r...
kosaki (Motohiro KOSAKI)
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-...
kosaki (Motohiro KOSAKI)

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
sferik (Erik Michaels-Ober)
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 tru...
nobu (Nobuyoshi Nakada)
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 (...
sferik (Erik Michaels-Ober)
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://c...
kosaki (Motohiro KOSAKI)
03:23 PM Feature #4647: [PATCH] io/wait: add IO#wait_writable method
Eric Wong <[email protected]> wrote:
> Issue #4647 has been reported by Eric Wong.

Oops, this is a duplic...
normalperson (Eric Wong)
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 svn[bot]
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-8...
kosaki (Motohiro KOSAKI)
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
kosaki (Motohiro KOSAKI)
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 b2...
nobu (Nobuyoshi Nakada)
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 kosaki (Motohiro KOSAKI)
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 kosaki (Motohiro KOSAKI)
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/...
kosaki (Motohiro KOSAKI)
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 kosaki (Motohiro KOSAKI)
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 znz (Kazuhiro NISHIYAMA)
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...
nobu (Nobuyoshi Nakada)
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 kosaki (Motohiro KOSAKI)
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....
kosaki (Motohiro KOSAKI)
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 ...
kosaki (Motohiro KOSAKI)
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...
kosaki (Motohiro KOSAKI)
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...
kosaki (Motohiro KOSAKI)
12:24 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
> Eric Wong <[email protected]> wrote:
>> Instead the io/wait extension should be expanded to be able to check ...
kosaki (Motohiro KOSAKI)
12:02 AM Feature #4531 (Closed): [PATCH 0/7] use poll() instead of select() in certain cases
kosaki (Motohiro KOSAKI)

05/06/2011

10:05 PM Bug #4650 (Rejected): sub/gsub with named group captures discards numbered group captures
nobu (Nobuyoshi Nakada)
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
backrefere...
nobu (Nobuyoshi Nakada)
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"
...
Phlogistique (Noé Rubinstein)
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...
kosaki (Motohiro KOSAKI)
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 akr (Akira Tanaka)
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_C...
kosaki (Motohiro KOSAKI)
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_...
kosaki (Motohiro KOSAKI)
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.ru...
kosaki (Motohiro KOSAKI)
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 svn[bot]
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): ...
kosaki (Motohiro KOSAKI)
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 ...
naruse (Yui NARUSE)
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? naruse (Yui NARUSE)
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 ...
shyouhei (Shyouhei Urabe)
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 Urab...
tenderlovemaking (Aaron Patterson)
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...
kosaki (Motohiro KOSAKI)
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-823fe69...
kosaki (Motohiro KOSAKI)
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 nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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...
naruse (Yui NARUSE)
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: s...
naruse (Yui NARUSE)
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 svn[bot]
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 ...
shyouhei (Shyouhei Urabe)
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 shyouhei (Shyouhei Urabe)
06:19 AM Revision dbbfac20 (git): YAML.load time correctly parse usecs smaller than 1 fixes #4571
Signed-off-by: URABE, Shyouhei <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31441 b2...
shyouhei (Shyouhei Urabe)
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:
concu...
rosenfeld (Rodrigo Rosenfeld Rosas)
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 ... vjoel (Joel VanderWerf)

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 ...
rosenfeld (Rodrigo Rosenfeld Rosas)
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 g...
nagachika (Tomoyuki Chikanaga)
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
kosaki (Motohiro KOSAKI)
02:02 PM Bug #4648 (Closed): lambda上のclass定義からのreturnでSEGV
=begin
辻本といいます。
以下のコードでSEGVします。
$ ./miniruby -e '->{class A; return; end}.()'
-e:1: [BUG] Segmentation faul...
ktsj (Kazuki Tsujimoto)
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/r...
kosaki (Motohiro KOSAKI)
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-823fe69b...
nobu (Nobuyoshi Nakada)
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.
shyouhei (Shyouhei Urabe)
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
d-snp (Tinco Andringa)
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@314...
nagachika (Tomoyuki Chikanaga)
08:23 AM Bug #4535: [PATCH] fix race in blocking send_io/recv_io
Eric Wong <[email protected]> wrote:
> ----------------------------------------
> Bug #4535: [PATCH] fix rac...
normalperson (Eric Wong)
07:30 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
Eric Wong <[email protected]> wrote:
> Instead the io/wait extension should be expanded to be able to check fo...
normalperson (Eric Wong)
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 normalperson (Eric Wong)
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_...
normalperson (Eric Wong)
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...
normalperson (Eric Wong)
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...
normalperson (Eric Wong)
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_o...
nagachika (Tomoyuki Chikanaga)
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 area... MiiJaySung (Jason Earl)

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 svn[bot]
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 tenderlovemaking (Aaron Patterson)
08:29 PM Feature #1291 (Closed): O_CLOEXEC flag missing for Kernel::open
r31430
kosaki (Motohiro KOSAKI)
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
Se...
sorah (Sorah Fukumori)
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 thi...
candlerb (Brian Candler)
05:23 PM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
Hi

2011/5/4 Eric Wong <[email protected]>:
> KOSAKI Motohiro <[email protected]> wrote:
>> diff --g...
kosaki (Motohiro KOSAKI)
02:23 PM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
KOSAKI Motohiro <[email protected]> wrote:
> diff --git a/ext/-test-/wait_for_single_fd/wait_for_single_fd...
normalperson (Eric Wong)
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...
kosaki (Motohiro KOSAKI)
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 valu...
normalperson (Eric Wong)
11:23 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
Motohiro KOSAKI <[email protected]> wrote:
> I've commited following five patches.
>
> 0001-rb_wait_f...
normalperson (Eric Wong)
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 resu...
kosaki (Motohiro KOSAKI)
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...
kosaki (Motohiro KOSAKI)
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 event...
kosaki (Motohiro KOSAKI)
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 i...
kosaki (Motohiro KOSAKI)
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_sel...
kosaki (Motohiro KOSAKI)
12:23 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
Motohiro KOSAKI <[email protected]> wrote:
> Issue #4531 has been updated by Motohiro KOSAKI.
>
> Ple...
normalperson (Eric Wong)
02:29 PM Bug #4643 (Third Party's Issue): While running rake db:migrate
It seems mysql gem's issue. naruse (Yui NARUSE)
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:/R...
ehshopon (Ehteshamul Haque)
02:29 PM Bug #4642 (Third Party's Issue): While running ralk db:migrate
It seems mysql gem's issue. naruse (Yui NARUSE)
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:/R...
ehshopon (Ehteshamul Haque)
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...
kosaki (Motohiro KOSAKI)
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 kosaki (Motohiro KOSAKI)
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...
kosaki (Motohiro KOSAKI)
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/rub...
kosaki (Motohiro KOSAKI)
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 ...
kosaki (Motohiro KOSAKI)
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...
kosaki (Motohiro KOSAKI)
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 znz (Kazuhiro NISHIYAMA)
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 b2dd...
kosaki (Motohiro KOSAKI)
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 kosaki (Motohiro KOSAKI)
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 b2d...
kosaki (Motohiro KOSAKI)
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@3...
kosaki (Motohiro KOSAKI)
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_conne...
kosaki (Motohiro KOSAKI)
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@3...
kosaki (Motohiro KOSAKI)
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.r...
kosaki (Motohiro KOSAKI)
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_wai...
kosaki (Motohiro KOSAKI)

05/03/2011

11:06 PM Revision d47073de (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: fix time dumping so that
Syck can load UTC times that Psych dumps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31418 b2dd03c8-39d4-4d8f...
tenderlovemaking (Aaron Patterson)
10:43 PM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
Please do NOT send untested patch. :-/
% ./ruby-single-wait benchmark/bm_io_select3.rb
max fd: 100000 (result...
kosaki (Motohiro KOSAKI)
07:45 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
I've updated the series with your suggestions and rebased against trunk r31412 and uploaded a new
mbox with the 6 fo...
normalperson (Eric Wong)
10:37 PM Revision fb584746 (git): * 2011-05-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:37 PM Revision f081eca1 (git): * thread.c (rb_fd_copy): fix wrong argument.This issue was pointed
out by Eric Wong. [ruby-core:35982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31416 b2dd03c8-39d4-4d8f-98f...
kosaki (Motohiro KOSAKI)
09:52 PM Bug #4304 (Rejected): Win32上でfiber大量生成テストが失敗
再現できる人が現れないのでrejectしますね kosaki (Motohiro KOSAKI)
09:50 PM Bug #4387 (Rejected): test_socket_connect_nonblock(TestSocketAddrinfo) がまれに失敗する
進展する気がしないので、いったんrejectしますね。 kosaki (Motohiro KOSAKI)
08:35 PM Feature #2190: FileUtils::chmod - allow symbolic mode
I slightly change the testcase at r31415. because FreeBSD don't change sticky bit.
Thx.
kosaki (Motohiro KOSAKI)
07:32 PM Bug #3804: ruby crashed while running spork
also happened to me:
ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
/Users/eumir/.r...
corroded (Eumir Gaspar)
07:00 PM Bug #4393: windows commands starting with "@" should run at all
Note: ruby 1.8 makes different result. because we changed system() spec at ruby-1.9.
>> system("@ls.exe")
=> false
kosaki (Motohiro KOSAKI)
11:31 AM Revision 50522eb3 (git): * test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode):
Skip sticky bit test if the platform is FreeBSD. It doesn't allow to
change sticky bit if a target is regular file....
kosaki (Motohiro KOSAKI)
09:31 AM Revision 7ad29955 (git): * test/date/test_date.rb (TestDate#test_coerce):
test for [ruby-core:35127].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31414 b2dd03c8-39d4-4d8f-98ff-823fe69b...
yugui (Yuki Sonoda)
05:29 AM Bug #4618: Encoding::ConverterNotFoundErrors on trunk (Windows mingw)
Thank you Nobu.
All looks good on Win7 32-bit using tdm-gcc 4.5.2 and upgraded to OpenSSL 1.0.0d:
sh-3.1$ ruby ...
jonforums (Jon Forums)
05:26 AM Bug #4640: trunk thread.c build failure (Windows mingw)
Thank you Nobu.
The build completes OK on Arch and tdm-gcc 4.5.2 (Win7 32-bit) but "make test" appears to hang/sti...
jonforums (Jon Forums)
03:57 AM Bug #4640 (Closed): trunk thread.c build failure (Windows mingw)
This issue was solved with changeset r31408.
Jon, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
04:45 AM Revision 227609ea (git): fix typos and remove some whitespaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom