Project

General

Profile

Activity

From 06/13/2011 to 06/19/2011

06/19/2011

10:35 PM Feature #4906 (Closed): rb_w32_add_socket / rb_w32_remove_socket
It is currently not possible to use an externally created
SOCKET on Windows with ruby 1.9. This bug is described in
detail here ( http://www.ruby-forum.com/topic/869239 ). In
the meantime, a small pair of functions would allow gem
a...
ghazel (Greg Hazel)
11:53 AM Feature #4903 (Closed): Documentation for lib/test/unit/assertions.rb
Documentation for the assertions in lib/test/unit/assertions.rb jsc (Justin Collins)
04:32 AM Revision ee809936 (git): * NEWS: Introduce --hide-skip on test/unit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
01:23 AM Feature #4824: Provide method Kernel#executed?
On Wed, Jun 15, 2011 at 4:24 PM, Gregory Brown
<[email protected]> wrote:
> Lastly, I think `__MAIN__` is reasonable if a method is not to be used,
> though it feels a bit too magic for me.

I'll repeat what others hav...
headius (Charles Nutter)
01:12 AM Revision 4c438fd0 (git): * lib/test/unit/parallel.rb: Override Test::Unit::TestCase#on_parallel_worker?
only when $0 == __FILE__.
* lib/test/unit/parallel.rb: Run Test::Unit::Worker.run only when
$0 == __FILE__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
12:42 AM Bug #4902 (Closed): IO#each counts lineno
The docs for IO#lineno state that:
lineno counts the number of times gets is called, rather than the number of newlines encountered.
However, IO#each also increases the lineno variable. Running this piece of code on a text file will ...
bt (Bernd Homuth)

06/18/2011

03:00 PM Revision 12efda14 (git): * 2011-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 6effaa9a (git): * io.c (fill_cbuf): finish reading at EOF, and the readconv has
been cleared by another thread while io_fillbuf() is waiting at
select(). a patch in [ruby-core:37197] by Hiroshi Shirosaki
<h.shirosaki AT gmail.com>. fixed #3840
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32169 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
12:39 PM Revision e623ceb9 (git): * thread_pthread.c: remove GVL_DEBUG
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:32 PM Revision ef86308a (git): * vm.c, vm_core.h (rb_vm_stack_to_heap): remove const.
It makes compilations warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:05 PM Bug #4803 (Closed): RCLASS_SUPER won't compile for C extensions as of revision 31627
This issue was solved with changeset r32162.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* include/ruby/backward/classext.h: for evil gems. fixed #4803
nobu (Nobuyoshi Nakada)
09:56 AM Revision 43681041 (git): * vm.c, vm_core.h (rb_vm_stack_to_heap): fix "const" place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:53 AM Bug #4895: ruby crashes reproducibly on very simple rails project (rails v3.1.0rc4)
>  -- C level backtrace information -------------------------------------------
>  /home/thomas/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_vm_bugreport+0x72) [0xb76e5ac2]
>  /home/thomas/.rvm/rubies/ruby-1.9.2-p180/lib/libru...
kosaki (Motohiro KOSAKI)
09:33 AM Bug #4895 (Third Party's Issue): ruby crashes reproducibly on very simple rails project (rails v3.1.0rc4)
kosaki (Motohiro KOSAKI)
04:11 AM Bug #4895 (Third Party's Issue): ruby crashes reproducibly on very simple rails project (rails v3.1.0rc4)
=begin
((%rails server%)) crashes reproducable on my system, on a very simple rails v3.1.0rc4 project (attached). The project is only one scaffold plus two validations.
This is on a Debian squeeze system; ruby was installed via rvm.
...
tbleher (Thomas Bleher)
08:33 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
See http://tauday.com/
Edit: particularly http://tauday.com/tau-manifesto
sbaird (Simon Baird)
08:28 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Direct link to the gist containing my patch:
https://gist.github.com/1029552
Edit: mention this is a patch (pluid61's patch is better though)
sbaird (Simon Baird)
08:26 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Sorry for the too long title. Don't know how to edit. Suggested title:
Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi
sbaird (Simon Baird)
07:46 AM Feature #4897 (Rejected): Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Firstly please read the Tau Manifesto at http://tauday.com/ . It's quite long but essential to understanding why this is a good idea.
Here is a patch on trunk that implements this:
http://simonbaird.blogspot.com/2011/06/tau-in-ruby.h...
sbaird (Simon Baird)
08:26 AM Revision 5ed8c08a (git): * eval.c, hash.c, load.c, proc.c, range.c, thread.c, time.c: don't
declare internal functions.
* internal.h, vm_core.h: declare internal functions.
* array.c: include internal.h.
* common.mk: update dependency for array.o.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32165 b2dd03c8-39d4-4d8f...
akr (Akira Tanaka)
06:41 AM Feature #4896 (Closed): Add newpad() support to Curses
The ruby curses library lacks support for scrolling regions via newpad(). This patch adds support for newpad() as a subclass of Curses::Window.
May I apply it?
drbrain (Eric Hodel)
04:41 AM Revision bc46292c (git): * internal.h: declarations declared in include/ruby/*.h removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:49 AM Revision 7da3ea81 (git): * method.h, internal.h iseq.h: declare internal functions.
* compile.c, eval.c, iseq.c, object.c, parse.y, proc.c, process.c,
thread.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_method.c: don't
declare internal functions.
Note that rb_method_entry_eq() is defined in vm_method.c but
there was...
akr (Akira Tanaka)
03:05 AM Revision 19f38667 (git): * include/ruby/backward/classext.h: for evil gems. fixed #4803
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:32 AM Revision 3b59f6c5 (git): forgot to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:12 AM Revision 8a533011 (git): * common.mk: update dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:10 AM Revision 8192693c (git): * io.c: supress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:54 AM Revision afd7e466 (git): * internal.h: declare more internal functions.
* iseq.h (rb_method_get_iseq): declared.
* compile.c, eval.c, eval_error.c, iseq.c, parse.y, proc.c, range.c,
ruby.c, time.c, util.c, vm.c: don't declare internal functions.
* eval.c, parse.y, thread_pthread.c: non-existing function ...
akr (Akira Tanaka)
01:12 AM Feature #4893: Literal Instantiation breaks Object Model
Yukihiro Matsumoto wrote:
> Your request has been too vague for me.
> ...
I don't think so:
"Object Model" as in
* Design and implementation of a programming language's OO behaviour (classes, object, inheritance, mixin, meth...
lazaridis.com (Lazaridis Ilias)
01:12 AM Feature #4893: Literal Instantiation breaks Object Model
deleted by myself, duplicate post lazaridis.com (Lazaridis Ilias)
12:23 AM Bug #3137: complex.rb changes exceptions of Math
> グローバルなメソッドを定義し, かつ名前が悪いってことです?

俺も Object とか Numeric にごっそりメソッドを確保しておこうかなあ、他所
で取られる前に。
tadf (tadayoshi funaba)
12:23 AM Bug #3137: complex.rb changes exceptions of Math
> グローバルなメソッドを定義し, かつ名前が悪いってことです?

俺も Object とか Numeric にごっそりメソッドを確保しておこうかなあ、他所
で取られる前に。
tadf (tadayoshi funaba)

06/17/2011

11:15 PM Revision c6575865 (git): * common.mk: dependencies updated.
* tool/update-deps: new file to assist update dependencies in
common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:43 PM Revision e7996eb3 (git): * internal.h: declare internal functions here.
* node.h: declare NODE dependent internal functions here.
* iseq.h: declare rb_iseq_t dependent internal functions here.
* vm_core.h: declare rb_thread_t dependent internal functions here.
* bignum.c, class.c, compile.c, complex.c, co...
akr (Akira Tanaka)
10:34 PM Revision aba879a3 (git): * test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
dispose temporary file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:34 PM Revision 610b2f96 (git): * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): use
in-process signal to get rid of limitation of Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:33 PM Revision 0d5ed3d2 (git): * suppress compile warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:33 PM Revision 7191ea10 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:59 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月17日16:33 石塚圭樹 <[email protected]>:
> CMath.cbrt(-8) == CMath.cbrt(Complex(-8,0))
>
> となる, 自然な実装(正則(連続)になる複素関数)は 主値を取るメソッド:
>
> def cbrt(z)
> Complex(z) ** (1.0/3)
> end
>
> 以外ないので, これで納得してもらえま...
mame (Yusuke Endoh)
05:59 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月17日16:33 石塚圭樹 <[email protected]>:
> CMath.cbrt(-8) == CMath.cbrt(Complex(-8,0))
>
> となる, 自然な実装(正則(連続)になる複素関数)は 主値を取るメソッド:
>
> def cbrt(z)
> Complex(z) ** (1.0/3)
> end
>
> 以外ないので, これで納得してもらえま...
mame (Yusuke Endoh)
05:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月17日1:58 Tadayoshi Funaba <[email protected]>:
> 完全な互換性がないからこそ取り敢えず暖簾分けしたわけで、遠藤さんの理屈
> は通らないですよ。

なるほど。「CMath が Math と互換でない」ということなら、あまり喜ばしい
話だとは思いませんが納得はできます。


> あと、一応意見は言いましたが、俺は、lib/cmath.rb のメンテナでもないし、
...
mame (Yusuke Endoh)
05:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月17日1:58 Tadayoshi Funaba <[email protected]>:
> 完全な互換性がないからこそ取り敢えず暖簾分けしたわけで、遠藤さんの理屈
> は通らないですよ。

なるほど。「CMath が Math と互換でない」ということなら、あまり喜ばしい
話だとは思いませんが納得はできます。


> あと、一応意見は言いましたが、俺は、lib/cmath.rb のメンテナでもないし、
...
mame (Yusuke Endoh)
04:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
けいじゅ@いしつかです.

In [ruby-dev:43840] the message: "[ruby-dev:43840] Re: [Ruby 1.9 -
Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではな
いか", on Jun/17 15:37(JST) Yusuke ENDOH writes:

>遠藤です。

>> def cbrt(z)
>> ...
keiju (Keiju Ishitsuka)
04:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
けいじゅ@いしつかです.

In [ruby-dev:43840] the message: "[ruby-dev:43840] Re: [Ruby 1.9 -
Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではな
いか", on Jun/17 15:37(JST) Yusuke ENDOH writes:

>遠藤です。

>> def cbrt(z)
>> ...
keiju (Keiju Ishitsuka)
03:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月17日14:19 石塚圭樹 <[email protected]>:
> 遠藤さんの言っているのは以下の実装ですよね?
>
> def cbrt(z)
> if z.real?
> cbrt!(z)
> else
> Complex(z) ** (1.0/3)
> end
> end
>
> これだと, CMath.cbrt(-8) と CMa...
mame (Yusuke Endoh)
03:53 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月17日14:19 石塚圭樹 <[email protected]>:
> 遠藤さんの言っているのは以下の実装ですよね?
>
> def cbrt(z)
> if z.real?
> cbrt!(z)
> else
> Complex(z) ** (1.0/3)
> end
> end
>
> これだと, CMath.cbrt(-8) と CMa...
mame (Yusuke Endoh)
02:23 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
けいじゅ@いしつかです.

In [ruby-dev:43832] the message: "[ruby-dev:43832] Re: [Ruby 1.9 -
Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではな
いか", on Jun/17 01:10(JST) Yusuke ENDOH writes:

>遠藤です。

>-2 を返すように変更するのは議論してからに...
keiju (Keiju Ishitsuka)
02:23 PM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
けいじゅ@いしつかです.

In [ruby-dev:43832] the message: "[ruby-dev:43832] Re: [Ruby 1.9 -
Feature #4878][Open] CMath に frexp, ldexp, hypot の3関数は不要ではな
いか", on Jun/17 01:10(JST) Yusuke ENDOH writes:

>遠藤です。

>-2 を返すように変更するのは議論してからに...
keiju (Keiju Ishitsuka)
02:23 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> -2 を返すように変更するのは議論してからにすべきだったとは思っていますが、
> 「間違っていた」とはあまり思っていません。
> ふなばさんもおっしゃるように CMath が Math との互換性を考えているなら、
> -2 を返す以外の選択肢があるようには思えないのです。
> あと、[ruby-dev:42007] のまつもとさんの議題提出に対して議論されたよう
> にも見えません。

かなり誤解しているようなんで言っておきますが、俺...
tadf (tadayoshi funaba)
02:23 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
> -2 を返すように変更するのは議論してからにすべきだったとは思っていますが、
> 「間違っていた」とはあまり思っていません。
> ふなばさんもおっしゃるように CMath が Math との互換性を考えているなら、
> -2 を返す以外の選択肢があるようには思えないのです。
> あと、[ruby-dev:42007] のまつもとさんの議題提出に対して議論されたよう
> にも見えません。

かなり誤解しているようなんで言っておきますが、俺...
tadf (tadayoshi funaba)
01:23 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月14日23:27 Tadayoshi Funaba <[email protected]>:
>> いやあ、5 月末の feature freeze 時点では -2 を返していたはずなんですが、
>> 6 月になってから (議論事項が残ったまま) 変わったんですよね。
>
> それは、元々主値を返すようになっていたのに、-2 を返すように間違って変更
> されたという結論になったからでしょう。最初に CMath.cbr...
mame (Yusuke Endoh)
01:23 AM Feature #4878: CMath に frexp, ldexp, hypot の3関数は不要ではないか
遠藤です。

2011年6月14日23:27 Tadayoshi Funaba <[email protected]>:
>> いやあ、5 月末の feature freeze 時点では -2 を返していたはずなんですが、
>> 6 月になってから (議論事項が残ったまま) 変わったんですよね。
>
> それは、元々主値を返すようになっていたのに、-2 を返すように間違って変更
> されたという結論になったからでしょう。最初に CMath.cbr...
mame (Yusuke Endoh)
05:38 PM Revision b7a693da (git): * ext/bigdecimal/bigdecimal.c (VpNewRbClass): fix type of the 2nd
argument.
* ext/bigdecimal/bigdecimal.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
05:38 PM Revision f107d1e7 (git): * ext/bigdecimal/bigdecimal.c (BigMath_s_exp): move BigMath.exp from
bigdecimal/math.rb.
* ext/bigdecimal/lib/bigdecimal/math.rb: ditto.
* test/bigdecimal/test_bigdecimal.rb: move test for BigMath.exp from
test/bigdecimal/test_bigmath.rb.
* test/bigdecimal/test_bigmath.rb: ditto.
git-svn-id: svn+ssh://...
Kenta Murata
03:22 PM Revision a4891098 (git): * 2011-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:22 PM Revision 64f6ddb3 (git): * ext/date/date_core.c: do not define wnum[01].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
02:53 PM Revision 94b65c9d (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:29 PM Bug #3137: complex.rb changes exceptions of Math
けいじゅ@いしつかです.

In [ruby-dev:43790] the message: "[ruby-dev:43790] Re: [Ruby 1.9 - Bug
#3137] complex.rb changes exceptions of Math", on Jun/14 00:25(JST)
Tadayoshi Funaba writes:

>> それであれば, CMathのなかで, Object#real? を定義して, Typ...
keiju (Keiju Ishitsuka)
02:29 PM Bug #3137: complex.rb changes exceptions of Math
けいじゅ@いしつかです.

In [ruby-dev:43790] the message: "[ruby-dev:43790] Re: [Ruby 1.9 - Bug
#3137] complex.rb changes exceptions of Math", on Jun/14 00:25(JST)
Tadayoshi Funaba writes:

>> それであれば, CMathのなかで, Object#real? を定義して, Typ...
keiju (Keiju Ishitsuka)
12:01 PM Feature #4890: Enumerable#lazy
I think it should be an embedded feature of Enumerable.
I wish it is accepted for Ruby 1.9.3.
mrkn (Kenta Murata)
10:50 AM Feature #227: rb_scan_args() for keyword arguments
キーワードに対応した値を取り出す部分はまだ入っていないです。
私の案とまつもとさんの案があって、どうしようかというところで止まっています。
本当に今Rubyに割ける時間がないのでポインタなしのコメントだけですみませんが、一応。
knu (Akinori MUSHA)
10:18 AM Revision 021f1665 (git): * compile.c (iseq_compile_each): fix return value of obj[a,*b]=c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:48 AM Bug #4561: 1.9.2 requires parentheses around argument of method call in an array, where 1.8.7 did not
Yukihiro Matsumoto wrote:
> It's an intentional syntax change in 1.9.
I have run into the same issue today and wasn't sure if it was a bug or intentional. Nice to find both this issue and your recent response.
Out of curiosity, what i...
Anonymous
09:25 AM Bug #4880 (Closed): documentation updates: Curses is 100% (for real this time)
This issue was solved with changeset r32144.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/curses/curses.c: Document curses constants. Patch by V...
drbrain (Eric Hodel)
09:15 AM Feature #4867: Document more Module callbacks
Thanks for the patch. In the future can you attach the patch to a ticket instead of having both a ticket and a pull request? It ensures that the patch does not get committed twice by accident. drbrain (Eric Hodel)
09:11 AM Feature #4867 (Closed): Document more Module callbacks
This issue was solved with changeset r32143.
Bryce, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c: Document Module#method_added and #method_removed.
...
drbrain (Eric Hodel)
08:50 AM Bug #4790 (Closed): [rdoc] attempt to clarify IO rdocs
This issue was solved with changeset r32142.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c: Improve documentation of IO and File open and new.
P...
drbrain (Eric Hodel)
08:49 AM Bug #4790: [rdoc] attempt to clarify IO rdocs
I removed some of the code elements from the documentation to improve cross-references between the various methods. drbrain (Eric Hodel)
06:35 AM Bug #4790: [rdoc] attempt to clarify IO rdocs
Uploading new version of the patch with better terminated HTML strings.
Thanks!
-roger-
rogerdpack (Roger Pack)
08:00 AM Bug #4757: Attempt to make Enumerator docs more clear (patch included)
So should the final paragraph in #next_values be:
Note that +next_values+ does not affect other non-external enumeration methods unless the underlying iteration methods itself has a side effect, e.g. IO#each_line
drbrain (Eric Hodel)
07:54 AM Bug #4874 (Closed): Adding documentation for CSV#raw_encoding method
This issue was solved with changeset r32141.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/csv.rb: Document #raw_encoding. Patch by David Czarnecki...
drbrain (Eric Hodel)
07:47 AM Bug #4873 (Closed): Adding documentation for Benchmark::Tms#memberwise
This issue was solved with changeset r32140.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/benchmark.rb: Document Benchmark::Tms#memberwise. Patch ...
drbrain (Eric Hodel)
07:40 AM Feature #4893 (Rejected): Literal Instantiation breaks Object Model
Your request has been too vague for me. Your definition of terms such as "object model" seems different from others. Probably the code will tell what you want. I will reopen this issue when a patch is posted
matz (Yukihiro Matsumoto)
04:00 AM Feature #4893: Literal Instantiation breaks Object Model
Konstantin Haase wrote:
> On Jun 16, 2011, at 18:42 , Lazaridis Ilias wrote:
> ...
"How has that 'uninitialized object' been allocated?" would be the question.
String#allocate (either called directly or via String#new)
http://www...
lazaridis.com (Lazaridis Ilias)
02:32 AM Feature #4893: Literal Instantiation breaks Object Model
Shyouhei Urabe wrote:
> Post a patch to fix it.
Maybe I'll do so.
lazaridis.com (Lazaridis Ilias)
02:23 AM Feature #4893: Literal Instantiation breaks Object Model
> You should reread the description, experiment a little, and take some time to respond.

I'm not even sure what you want to accomplish with this issue. You
provide some code that you think should behave differently, but you
don...
judofyr (Magnus Holm)
02:00 AM Feature #4893 (Feedback): Literal Instantiation breaks Object Model
Post a patch to fix it. shyouhei (Shyouhei Urabe)
01:53 AM Feature #4893: Literal Instantiation breaks Object Model
On Jun 16, 2011, at 18:42 , Lazaridis Ilias wrote:
> You should reread the description, experiment a little, and take some time to respond.

To rephrase what Magnus said:
Where does the object passed to initialize come from? How has...
rkh (Konstantin Haase)
01:45 AM Feature #4893: Literal Instantiation breaks Object Model
Yui NARUSE wrote:
> It's a limitation of current Ruby, not a bug at least.
From my point of view, it's a defect/bug, but I wan't argue.
If you think that's an "limitation" (instead of a bug), then there *is* an issue (and thus you...
lazaridis.com (Lazaridis Ilias)
01:42 AM Feature #4893: Literal Instantiation breaks Object Model
Magnus Holm wrote:
> How exactly do you expect this to work? If the string literal is supposed to
[...] - (off context)
You should reread the description, experiment a little, and take some time to respond.
And please, if possibl...
lazaridis.com (Lazaridis Ilias)
01:23 AM Feature #4893: Literal Instantiation breaks Object Model
How exactly do you expect this to work? If the string literal is supposed to
be created with String.new(), what do we pass to String.new()? If we pass a
simple string (that is, a string which hasn't gone through String.new()),
the...
judofyr (Magnus Holm)
01:13 AM Feature #4893 (Rejected): Literal Instantiation breaks Object Model
It's a limitation of current Ruby, not a bug at least. naruse (Yui NARUSE)
12:45 AM Feature #4893 (Rejected): Literal Instantiation breaks Object Model
#String2.rb
class String
def initialize(val)
self.replace(val)
puts object_id
end
def my_method_test
'has method <my_method_test>'
end
end
# command line
$ irb
irb(main):001:0> original = Str...
lazaridis.com (Lazaridis Ilias)
07:40 AM Bug #4834: Adding documentation for prettyprint library
The documentation for #fill_breakable did not match the behavior. I altered the documentation to better match the behavior, but I'm not sure if it is quite right.
@akr, can you clarify?
drbrain (Eric Hodel)
07:23 AM Bug #4858 (Closed): array.drop() doc change in array.c
This issue was solved with changeset r32138.
Caley, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_drop): Improve documentation. Patch by Caley...
drbrain (Eric Hodel)
06:12 AM Bug #4833 (Closed): Documentation improvement for WEBRick submodules
This issue was solved with changeset r32137.
Olivier, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/webrick/log.rb: Improve documentation of BasicLog and L...
drbrain (Eric Hodel)
04:10 AM Revision becd7896 (git): * ext/curses/curses.c: Clean up documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
12:25 AM Revision 630ba53d (git): * ext/curses/curses.c: Document curses constants. Patch by Vincent
Batts. [Ruby 1.9 - Bug #4880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:11 AM Revision ca25e796 (git): * object.c: Document Module#method_added and #method_removed.
Patch by Bryce Kerley. [Ruby 1.9 - Feature #4867]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)

06/16/2011

11:50 PM Revision 2adddf4c (git): * io.c: Improve documentation of IO and File open and new.
Patch by Roger Pack. [Ruby 1.9 - Bug #4790]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:29 PM Feature #4871: envのコンパクト化
辻本です。

検討ありがとうございます。

From: SASADA Koichi <[email protected]>
Date: Thu, 16 Jun 2011 18:38:33 +0900

>  この辺は構造が入り組んでいるので,とりあえず 1.9.3 はここは触らない,
> と刺せて下さい.それで,GC.stress で動かして,無事だったらその後入れる,
> というのはどうでしょうか.というか,この辺の再確認が必要かも.
...
ktsj (Kazuki Tsujimoto)
11:29 PM Feature #4871: envのコンパクト化
辻本です。

検討ありがとうございます。

From: SASADA Koichi <[email protected]>
Date: Thu, 16 Jun 2011 18:38:33 +0900

>  この辺は構造が入り組んでいるので,とりあえず 1.9.3 はここは触らない,
> と刺せて下さい.それで,GC.stress で動かして,無事だったらその後入れる,
> というのはどうでしょうか.というか,この辺の再確認が必要かも.
...
ktsj (Kazuki Tsujimoto)
06:53 PM Feature #4871: envのコンパクト化
 ささだです.

 返事が遅くなって済みません.

(2011/06/11 21:03), Kazuki Tsujimoto wrote:
> rb_env_tのenvは以下の構造を持ちますが、env[2](prev env val)は不要ではないでしょうか。
>
> /*
> env{
> env[0] // special (block or prev env)
> env[1] // env ...
ko1 (Koichi Sasada)
06:53 PM Feature #4871: envのコンパクト化
 ささだです.

 返事が遅くなって済みません.

(2011/06/11 21:03), Kazuki Tsujimoto wrote:
> rb_env_tのenvは以下の構造を持ちますが、env[2](prev env val)は不要ではないでしょうか。
>
> /*
> env{
> env[0] // special (block or prev env)
> env[1] // env ...
ko1 (Koichi Sasada)
10:54 PM Revision 517c3385 (git): * lib/csv.rb: Document #raw_encoding. Patch by David Czarnecki.
[Ruby 1.9 - Bug #4874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:53 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
> Hmm, OK.  Go ahead.

OK.

And I found that Tanaka-san already fixed it at ruby_1_8 as well as
trunk. :) I'll push it to ruby_1_8_7 with tests.

Regards,
// NaHi
nahi (Hiroshi Nakamura)
09:42 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
Hmm, OK. Go ahead. shyouhei (Shyouhei Urabe)
08:23 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
On Mon, Jun 13, 2011 at 17:07, Akira Tanaka <[email protected]> wrote:
> I think securerandom_opensslfree.diff is too radical for this issue.
> It may decrease working platforms.

Agreed. Your fix is nice. We should have been aware o...
nahi (Hiroshi Nakamura)
08:05 PM Bug #4579: SecureRandom + OpenSSL may repeat with fork
Attached is the patch for 1.8.7. Urabe-san, can I apply it to ruby_1_8_7? nahi (Hiroshi Nakamura)
10:47 PM Revision 105a9e03 (git): * lib/benchmark.rb: Document Benchmark::Tms#memberwise. Patch by
David Czarnecki. [Ruby 1.9 - Bug #4873]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:38 PM Revision 463df2ce (git): * lib/prettyprint.rb: Improve documentation. Patch by Ysiad
Ferreiras. [#4834]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:23 PM Revision 8bfb41ba (git): * array.c (rb_ary_drop): Improve documentation. Patch by Caley Woods.
[Ruby 1.9 - Bug #4858]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:39 PM Feature #4891: Vector#normalize
Bug じゃなくて Feature にするつもりでした。
Bug から Feature へ後から変更することはできないんでしょうか?
mrkn (Kenta Murata)
09:37 PM Feature #4891 (Closed): Vector#normalize
知人からベクトルを正規化するメソッドが無いよと言われました。
いままで誰も気付かなかった (もしくは気付いても放っておいた) のですが、
存在してて当然のメソッドのような気がするので追加の提案をします。
パッチはこれです。
https://gist.github.com/1029140
mrkn (Kenta Murata)
09:12 PM Revision be391173 (git): * lib/webrick/log.rb: Improve documentation of BasicLog and Log.
Patch by Olivier Brisse. [Ruby 1.9 - Bug #4833]
* lib/webrick/httpstatus.rb: Improve documentation of
WEBrick::HTTPStatus. Patch by Olivier Brisse.
[Ruby 1.9 - Bug #4833]
git-svn-id: svn+ssh://ci.ruby-lan...
drbrain (Eric Hodel)
07:52 PM Revision 772a2811 (git): * thread_pthread.c, thread_pthread.h: remove unused variables.
(native_thread_data_t::gvl_cond, native_thread_data_t::gvl_next)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:46 PM Revision f45d127a (git): * time.c (rb_time_new): prevent overflow by "* 1000".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:23 PM Feature #4890 (Closed): Enumerable#lazy
=begin
= Example
Print first 100 primes which are in form of n^2+1
require 'prime'
INFINITY = 1.0 / 0
p (1..INFINITY).lazy.map{|n| n**2+1}.select{|m| m.prime?}.take(100)
(Example taken from enumerable_lz; thanks @anti...
yhara (Yutaka HARA)
06:09 PM Revision 98d45ef1 (git): * benchmark/bm_vm4_thread_create_join.rb,
benchmark/bm_vm4_thread_mutex[1-3].rb: renamed to
bm_thread_* (fix last rename).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:28 PM Revision b3e68b1d (git): * 2011-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:28 PM Revision 1ac74a11 (git): * thread_pthread.c (native_thread_create): fix debug message.
(add last newline)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:18 PM Bug #4794 (Closed): Improving documenation for const_missing
This issue was solved with changeset r32120.
Anuj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* variable.c (const_missing): Add simple example of const_missin...
drbrain (Eric Hodel)
03:09 PM Bug #4823 (Closed): [doc] monitor
This issue was solved with changeset r32119.
Sandor, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/monitor.rb: Improve documentation. Patch by Sandor Szuc...
drbrain (Eric Hodel)
02:55 PM Bug #4819 (Closed): Documentation improvement for WEBrick::Utils
This issue was solved with changeset r32118.
Olivier, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/webrick/utils.rb: Document WEBrick::Utils. Patch by Oli...
drbrain (Eric Hodel)
02:42 PM Revision 3c232847 (git): * thread.c (rb_thread_schedule_rec): fix {UN,}LIKELY macro misuse.
* gc.c (rb_newobj): ditto.
* vm_insnhelper.c (vm_method_search): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:37 PM Bug #4685 (Closed): WEBrick::HTTPServlet::ERBHandler should allow ERB documents to set content_type
This issue was solved with changeset r32117.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/webrick/httpservlet/erbhandler.rb: Allow the ERB document ...
drbrain (Eric Hodel)
02:24 PM Bug #4791 (Closed): Doc: Clarification on allowed timeout values
This issue was solved with changeset r32116.
Alf, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/timeout.rb: Clarify timeout duration types. Patch by Alf Mi...
drbrain (Eric Hodel)
02:23 PM Revision e80b506e (git): fix revision off by one reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:22 PM Revision 24d7cecd (git): * 2011-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@32129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:22 PM Revision eaf6ad66 (git): backport r32050 by akr
* lib/securerandom.rb (SecureRandom.random_bytes): modify PRNG state
to prevent random number sequence repeatation at forked
child process which has same pid.
reported by Eric Wong. [ruby-core:35765]
backport r32124 by nahi
* te...
Hiroshi Nakamura
02:21 PM Revision e290d7d9 (git): add a mail reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:12 PM Revision 65ecadfa (git): * ChangeLog: fix ticket link
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
01:56 PM Revision 7bbdb88e (git): * 2011-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:56 PM Revision 9cb6f5d1 (git): * test/test_securerandom.rb: Add testcase. This testcase does NOT aim
to test cryptographically strongness and randomness. It includes
the test for PID recycle issue of OpenSSL described in #4579 but
it's disabled by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32124 b2dd03...
Hiroshi Nakamura
11:41 AM Bug #4509 (Closed): Net::IMAP::ResponseParseError: unexpected token CRLF (expected NUMBER)
This issue was solved with changeset r32114.
Mark, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (search_response): parses SEARCH responses from...
shugo (Shugo Maeda)
11:24 AM Revision 288c18cd (git): * test/testunit/test_parallel.rb: Fix Regexp for test.
* test/testunit/tests_for_parallel/test_third.rb: Use
Test::Unit::TestCase#on_parallel_worker? for detecting worker.
* lib/test/unit/testcase.rb(Test::Unit::TestCase#on_parallel_worker?):
New Method Test::Unit::TestCase#on_parallel_...
sorah (Sorah Fukumori)
10:32 AM Revision a15dfa6b (git): * test/test_securerandom.rb: Add testcase. This testcase does NOT aim
to test cryptographically strongness and randomness. It includes
the test for PID recycle issue of OpenSSL described in #4579 but
it's disabled by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32122 b2dd03c8-39d4-4d8f...
Hiroshi Nakamura
09:23 AM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
近永と申します。

失礼しました、チケットは閉じておきました。

> そういえば
>
> ruby 1.9.3dev (2011-06-12 trunk 32027) [x86_64-darwin10.7.0]
>
> ころのRubyではdRuby+forkするスクリプトを書いてたら、終了時に
> 暴走することが多かったです。
再現させられなかったので不確かですが、r32064 で kosaki さんが
GVL の変更をして...
nagachika (Tomoyuki Chikanaga)
09:14 AM Bug #3674 (Closed): dRuby サーバプロセスを停止する時に時間がかかることがある
kill_sub_thread はなくなったので閉じます。 nagachika (Tomoyuki Chikanaga)
09:09 AM Bug #4889 (Closed): methods defined using define_singleton_method in Array.each loop report wrong __method__
Hi, Ryan
Thank you for your report.
It is similar to #4606 and already fixed by r31436 in trunk and back ported to
ruby_1_9_2 branch by r31830.
Please wait coming release, or you can try with 1.9.2-head :)
Regards,
nagachika (Tomoyuki Chikanaga)
06:32 AM Bug #4889 (Closed): methods defined using define_singleton_method in Array.each loop report wrong __method__
--CODE--
class A
[:foo,:bar].each do |a|
define_singleton_method(a) do
puts __method__
end
end
nil
end
A.foo
A.bar
exit
--EXPECTED-RESULT--
foo
bar
--ACTUAL-RESULT--
bar
bar
yaauie (Ryan Biesemeyer)
08:56 AM Revision 513e0ee5 (git): * test/ruby/test_io.rb (TestIO#test_copy_stream_socket): fix
test hanging up issue. Patch by CHIKANAGA Tomoyuki.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:29 AM Feature #4824: Provide method Kernel#executed?
On Sat, Jun 4, 2011 at 10:17 AM, Yukihiro Matsumoto <[email protected]> wrote:
>
> Issue #4824 has been updated by Yukihiro Matsumoto.
>
>
> I agree providing a method to tell whether it is loaded as a library or is executed as a ...
sandal (Gregory Brown)
06:17 AM Revision 52607877 (git): * variable.c (const_missing): Add simple example of const_missing.
Patch by Anuj Dutta. [Ruby 1.9 - Bug #4794]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:09 AM Revision 14d0f7aa (git): * lib/monitor.rb: Improve documentation. Patch by Sandor Szucs.
[Ruby 1.9 - Bug #4823]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:55 AM Revision 09b830c4 (git): * lib/webrick/utils.rb: Document WEBrick::Utils. Patch by Olivier
Brisse. [Ruby 1.9 - Bug #4819]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:37 AM Revision 35bb5343 (git): * lib/webrick/httpservlet/erbhandler.rb: Allow the ERB document to
alter the content-type of the response. [Ruby 1.9 - Bug #4685]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:24 AM Revision dbf9baed (git): * lib/timeout.rb: Clarify timeout duration types. Patch by Alf Mikula.
[Ruby 1.9 - Bug #4791]
* lib/net/http.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:23 AM Feature #4328: export rb_thread_call_with_gvl()
On Jun 14, 2011, at 2:44 AM, Eric Wong wrote:
> SASADA Koichi <[email protected]> wrote:
>> The meaning of "with_gvl" in rb_thread_call_with_gvl() is "acquire GVL
>> and call passed function". However, above two functions use then na...
drbrain (Eric Hodel)
04:59 AM Revision b7528b5e (git): * lib/rdoc.rb: Import RDoc 3.7 release candidate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
03:44 AM Bug #4721 (Closed): Segfault near rb_thread_check, probably a timing issue.
tarui (Masaya Tarui)
02:41 AM Revision 97ac172d (git): * lib/net/imap.rb (search_response): parses SEARCH responses from
the Yahoo IMAP server correctly. patched by Mark Nadig. [Bug #4509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:12 AM Revision 68544456 (git): * fix for build on solaris 10.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:10 AM Revision ef38cb7a (git): * enc/depend: show srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:08 AM Revision bc46dfd2 (git): * test/io/console/test_io_console.rb (TestIO_Console#test_sync):
fix for daemon process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:02 AM Bug #3934 (Rejected): ChangeLog-1.9.3
ブランチが切られてからバックポートされているものもあるなど、doc/ChangeLog-1.9.3
を単純に ruby-1.9.2-p0 の ChangeLog と同じ状態にすれば良いわけではなさそうなので、諦めました。
というわけで Rejected にしますので、誰か他にやりたい人がいれば reopen して修正してください。
znz (Kazuhiro NISHIYAMA)

06/15/2011

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

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

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

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

Thanks,
Martin
MartinBosslet (Martin Bosslet)

06/14/2011

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

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

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


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


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

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

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

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

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


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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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


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

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

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

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


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


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

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

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

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

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

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

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

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

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

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

06/13/2011

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

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

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

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

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

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

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

Matz, could you give me a comment, again?

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

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

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

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

Also available in: Atom