Project

General

Profile

Activity

From 01/27/2010 to 02/02/2010

02/02/2010

10:18 PM Bug #2681: some behavior changes of lib/csv.rb between 1.8 and 1.9
=begin
Hi,

On Tue, Feb 2, 2010 at 1:17 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> 2010/2/1 James Edward Gray II <james@graysoftinc.com>:
>> I say that meaning that CSV has a lot of tests in Ruby itself.  Does RubySpec not make an e...
vvs (Vladimir Sizikov)
09:17 PM Bug #2681: some behavior changes of lib/csv.rb between 1.8 and 1.9
=begin
Hi,

2010/2/1 James Edward Gray II <james@graysoftinc.com>:
>> I have changed csv of rubyspec, though there is still no spec of
>> CSV.parse_line.
>> It would be helphul if you could take a look at csv of rubyspec in
>> you...
mame (Yusuke Endoh)
06:25 PM Feature #2706 (Closed): optional reverse_lookup argument for IPSocket#{addr,peeraddr} and Socket.getaddrinfo
=begin
Hi,

I propose adding an optional argument to enable/disable reverse
lookup.


Index: ext/socket/ipsocket.c
===================================================================
--- ext/socket/ipsocket.c (revision 26539)
...
nobu (Nobuyoshi Nakada)
06:23 PM Bug #2688: rubyspec: Net::HTTPHeader#content_range returns a Range object that represents the 'Content-Range' header entry FAILED
=begin
なかだです。

At Sat, 30 Jan 2010 01:10:11 +0900,
Yusuke ENDOH wrote in [ruby-dev:40244]:
> class C
> include Net::HTTPHeader
> def initialize
> initialize_http_header({})
> end
> end
> c = C.new
> c["Content-Range...
nobu (Nobuyoshi Nakada)
06:17 PM Feature #1811 (Closed): Default BasicSocket.do_not_reverse_lookup to true
=begin
This issue was solved with changeset r26541.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
03:14 PM Revision b378bda4 (git): * 2010-02-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision f7d5887f (git): unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:10 PM Bug #2704: CGI::rfc1123_date causes NameError
=begin

=end
xibbar (Takeyuki FUJIOKA)
01:31 PM Bug #2704 (Closed): CGI::rfc1123_date causes NameError
=begin
cgi/util.rb に定義されている CGI::rfc1123_date が cgi/core.rb に定義されている CGI::RFC822_DAYS に依存しているにもかかわらず、 cgi/util.rb では cgi/core.rb を require していないため、次のようなエラーが発生します。

$ ruby -rcgi/util -e 'CGI::rfc1123_date Time.now'
/usr/local/ruby-...
takai (Naoto Takai)
01:58 PM Revision 48d402db (git): use require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:45 PM Bug #2495: Matrix: Vector#each2 should check its argument
=begin
Hi,

2010/2/2 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> Finally, I feel it would be superior to raise a TypeError instead of a NoMethodError in a case where duck typing fails, in a similar fashion to "$stdout = nil" whic...
mame (Yusuke Endoh)
04:38 AM Bug #2495 (Open): Matrix: Vector#each2 should check its argument
=begin
Hi

On Sun, Jan 31, 2010 at 10:12 AM, Yusuke Endoh <redmine@ruby-lang.org> wrote:
> According to [ruby-dev:40237] and [ruby-dev:40267], it is the fate of
> duck typing and compatibility.

Thank you for relaying this d...
marcandre (Marc-Andre Lafortune)
09:15 AM Revision 4dfd7100 (git): * ext/socket/socket.c: turn on do_not_reverse_lookup by default,
which has been reverted in r9880 probably unintentionally,
according to matz. [ruby-core:24530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:54 AM Revision 970e90dd (git): * enum.c (enum_each_entry): new method #each_entry to pack values
from yield into an array.
* lib/set.rb (Set#merge): use Enumerable#each_entry to implement
Set compatible to 1.8 behavior. [ruby-core:27985]
* lib/set.rb: replace is_a?(Enumerable) with respond_to?(:each)
for duck typing.
* lib/s...
matz (Yukihiro Matsumoto)
02:49 AM Bug #1392: Object#extend leaks memory on Ruby 1.9.1
=begin
Thanks for fixing this. Seems to now not leak for this version.

ruby 1.9.2dev (2010-02-01 trunk 26538) [i386-mingw32]
=end
rogerdpack (Roger Pack)
02:19 AM Bug #2690: IO#select unable to select for < 0.015s
=begin
I'd be happy to create a patch to use QueryPerformanceCounter if that would be preferable.
-r
=end
rogerdpack (Roger Pack)
02:14 AM Revision bafb881c (git): * lib/delegate.rb (Delegator#marshal_dump): exclude
delegator-specific instance variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:13 AM Bug #2581 (Assigned): require_relative depends on current directory
=begin

=end
naruse (Yui NARUSE)
01:12 AM Bug #2685 (Closed): Wrong call sequence example for RDoc of method flo_minus in numeric.c
=begin
maerged at r26537; thanks!
=end
naruse (Yui NARUSE)
12:55 AM Bug #2651: Matrix#compare_by_row_vectors does not receive array of Vector
=begin

=end
naruse (Yui NARUSE)
12:54 AM Bug #2652: three bugs of Matrix::Scalar
=begin

=end
naruse (Yui NARUSE)
12:54 AM Feature #2674: RubyVM::InstructionSequence to accept IOs
=begin

=end
naruse (Yui NARUSE)
12:53 AM Bug #2696: rubyspec: StringIO#ungetc when passed [char] pads with \000 when the current position is after the end ERROR
=begin

=end
naruse (Yui NARUSE)
12:53 AM Bug #2700: various behavior when reopening File twice
=begin

=end
naruse (Yui NARUSE)

02/01/2010

09:44 PM Feature #2687: rubyspec: Vector.each2 given one argument returns self when given a block FAILED
=begin
遠藤です。

2010年2月1日18:42 石塚圭樹 <keiju@ishitsuka.com>:
>>rubyspec が、Vector#each2 が self を返すことを期待しています。
>>納得できなくもない期待なので、応えてしまっていいでしょうか。
>
> 他のeach系が rubyspec でそうなっているなら, それでいいと思います.


ありがとうございます。

rubyspec もまだ網羅的でないせいか、他の e...
mame (Yusuke Endoh)
09:37 PM Feature #2687 (Closed): rubyspec: Vector.each2 given one argument returns self when given a block FAILED
=begin
This issue was solved with changeset r26538.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
06:42 PM Feature #2687: rubyspec: Vector.each2 given one argument returns self when given a block FAILED
=begin
けいじゅ@いしつかです.

In [ruby-dev:40241] the message: "[ruby-dev:40241] [Feature:trunk]
rubyspec: Vector.each2 given one argument returns self when given a
block FAILED", on Jan/29 22:32(JST) Yusuke ENDOH writes:

>いしつかさん
>遠藤です。
...
keiju (Keiju Ishitsuka)
09:38 PM Bug #2681: some behavior changes of lib/csv.rb between 1.8 and 1.9
=begin
Hi again,

On Mon, Feb 1, 2010 at 21:35, NAKAMURA, Hiroshi <nakahiro@gmail.com> wrote:
> I don't have any changes fastercsv made. Rubyspec should follow fastercsv.

I mean, I don't have any comment to the changes fastercsv m...
nahi (Hiroshi Nakamura)
09:35 PM Bug #2681: some behavior changes of lib/csv.rb between 1.8 and 1.9
=begin
Hi jeg2,

On Fri, Jan 29, 2010 at 02:13, James Edward Gray II
<james@graysoftinc.com> wrote:
>> 3) CSV.parse
>>
>> $ ruby18 -rcsv -ve 'p CSV.parse "\nfoo"'
>> [[nil], ["foo"]]
>>
>> $ ruby19 -rcsv -ve 'p CSV.parse "\nfoo...
nahi (Hiroshi Nakamura)
08:21 PM Bug #1954: line number 0?
=begin
この現象について調べて見ました。すみません、うまく纏められず長い説明になります。

まずはじめに、シグナルを処理するスレッドは 1.8 ではカレント、1.9 ではメインと異なっています。
このため、> start ではなく join になっている の部分は仕様変更によるものと考えられます。
(行番号は 6 のほうが親切な気もしますが、とりあえず本チケットとは無関係と考えます)

それから一番の問題である行番号が 0 になる現象につ...
wanabe (_ wanabe)
06:44 PM Bug #2652: three bugs of Matrix::Scalar
=begin
けいじゅ@いしつかです.

In [ruby-dev:40270] the message: "[ruby-dev:40270] Re: [Bug:trunk]
three bugs of Matrix::Scalar", on Jan/31 18:15(JST) Yusuke ENDOH
writes:

>遠藤です。
>
>いしつかさんもまつもとさんも反対ということで、勝手に reject させて
>頂きました。
>
>http...
keiju (Keiju Ishitsuka)
06:41 PM Bug #2652: three bugs of Matrix::Scalar
=begin
けいじゅ@いしつかです.

In [ruby-dev:40240] the message: "[ruby-dev:40240] Re: [Bug:trunk]
three bugs of Matrix::Scalar", on Jan/29 21:44(JST) Yusuke ENDOH
writes:

>遠藤です。
>何度もすみません。

>>> def test_compare_by_row_vectors
>>> a...
keiju (Keiju Ishitsuka)
12:27 PM Revision 9f714e35 (git): * lib/matrix.rb (Vector#each2): returns a self. [ruby-dev:40241]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
11:28 AM Feature #2666 (Assigned): ext/curses: improved structure for view2
=begin

=end
shugo (Shugo Maeda)
11:23 AM Bug #2683 (Assigned): IMAP hangs when receiving an unexpected "BYE" during login
=begin

=end
shugo (Shugo Maeda)
11:16 AM Feature #2693 (Assigned): unfriendly exception when command executed for Net::FTP which is not connected
=begin

=end
shugo (Shugo Maeda)
10:18 AM Bug #2700 (Assigned): various behavior when reopening File twice
=begin
このチケットが参考になると思います。
http://redmine.ruby-lang.org/issues/show/2516
=end
ujihisa (Tatsuhiro Ujihisa)
01:57 AM Bug #2700 (Rejected): various behavior when reopening File twice
=begin
遠藤です。

下記のように、読みかけの File インスタンスを使って 2 回 reopen した
ときの挙動が、バージョンによってまちまちです。


$ cat foo.txt
1
2
3

$ cat bar.txt
a
b
c

$ cat t.rb
f1 = File.new("foo.txt")
f2 = File.new("bar.txt")
f1.reopen(f2...
mame (Yusuke Endoh)
09:32 AM Feature #2691: RCR: allow {select, collect, map} to accept symbol argument
=begin
On Sun, Jan 31, 2010 at 5:28 PM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
>
> On Jan 30, 2010, at 00:10 , Yugui wrote:
>
>> This reply registers the suggestion by Roger to the redmine.
>>
>> and -1 because a method name...
RickDeNatale (Rick DeNatale)
07:28 AM Feature #2691: RCR: allow {select, collect, map} to accept symbol argument
=begin

On Jan 30, 2010, at 00:10 , Yugui wrote:

> This reply registers the suggestion by Roger to the redmine.
>
> and -1 because a method name is not a method itself.
> Symbol#to_proc is the limit I can accept.

I completely...
zenspider (Ryan Davis)
08:09 AM Revision b8acb1cc (git): * numeric.c (flo_minus): RDoc update. a patch from red stun
in [ruby-core:27951]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
07:43 AM Revision f81cdb36 (git): * eval.c (rb_mod_define_method): return original block but not
bound block. [ruby-core:26984]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:40 AM Revision 4c976684 (git): * eval.c (proc_invoke): reverted r25975. [ruby-dev:39931]
[ruby-dev:40059]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:32 AM Revision a7055a6b (git): * test/ruby/test_super.rb (TestSuper#test_define_method): modified
expected result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:15 AM Bug #2697 (Rejected): rubyspec: StringIO#ungetc when passed [char] tries to convert the passed length to an Integer using #to_int ERROR
=begin
IO#ungetc も同様の挙動なので、仕様変更でしょう。
=end
naruse (Yui NARUSE)
01:26 AM Bug #2699: "foo" + :bar should be rejected
=begin
遠藤です。

2010年2月1日0:56 Yugui <yugui@yugui.jp>:
> 2010/1/31 Yusuke ENDOH <mame@tsg.ne.jp>:
>> 1.9.1 にも p129 くらいからバックポートされてしまっているようなので、
>> revert する必要があると思います > Yugui さん
>
> 間違いではありますが、深刻に古いプログラムを壊すものではないと思います。
> むしろrevertすると...
mame (Yusuke Endoh)
12:56 AM Bug #2699: "foo" + :bar should be rejected
=begin
2010/1/31 Yusuke ENDOH <mame@tsg.ne.jp>:
> 1.9.1 にも p129 くらいからバックポートされてしまっているようなので、
> revert する必要があると思います > Yugui さん

間違いではありますが、深刻に古いプログラムを壊すものではないと思います。
むしろrevertすると現行のプログラムを壊す虞があるのでrevertしません。

--
Yuki Sonoda (Yugui)
...
yugui (Yuki Sonoda)

01/31/2010

10:51 PM Revision f71a0eb2 (git): * 2010-02-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:51 PM Revision 36f70bd4 (git): * ext/tk/tkutil/tkutil.c: fix SEGV on TkUtil::CallbackSubst._setup_subst_table.
* ext/tk/lib/tk.rb: [POTENTIAL INCOMPATIBLE] return NoMethodError
for TkWindow#to_ary and to_str.
* ext/tk/lib/tkextlib/tcllib/plotchart.rb: wrong arguments.
* ext/tk/sampel/tkballoonhelp.rb: fail to support TkEntry widgets.
git-svn-...
nagai (Hidetoshi Nagai)
10:50 PM Revision 317fea44 (git): * 2010-02-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:50 PM Revision 023a3452 (git): * ext/tk/tkutil/tkutil.c: fix SEGV on TkUtil::CallbackSubst._setup_subst_table.
* ext/tk/lib/tk.rb: [ruby1.9] fix freeze at exit.
* ext/tk/lib/tk.rb: [POTENTIAL INCOMPATIBLE] return NoMethodError
for TkWindow#to_ary and to_str.
* ext/tk/lib/tkextlib/tcllib/plotchart.rb: wrong arguments.
* ext/tk/sampel/tkballoonhe...
nagai (Hidetoshi Nagai)
09:47 PM Bug #2699 (Closed): "foo" + :bar should be rejected
=begin
This issue was solved with changeset r26525.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
09:43 PM Bug #2699 (Closed): "foo" + :bar should be rejected
=begin
なかださん
遠藤です。

現在、"foo" + :bar ができてしまいます。


$ ./ruby -ve 'p "foo" + :bar'
ruby 1.9.2dev (2010-01-31 trunk 26518) [i686-linux]
"foobar"


r22606 でどさくさにコミットされているのですが、何かの間違いですよね。
ここだけ revert しようと思います。

1.9.1 にも p129 くらいか...
mame (Yusuke Endoh)
07:41 PM Bug #2681: some behavior changes of lib/csv.rb between 1.8 and 1.9
=begin
Hi,

2010/1/31 James Edward Gray II <james@graysoftinc.com>:
> On Jan 28, 2010, at 11:13 AM, James Edward Gray II wrote:
>
>> On Jan 28, 2010, at 10:51 AM, Yusuke ENDOH wrote:
>>
>>> 4) CSV.parse_line
>>>
>>> $ ruby18 -r...
mame (Yusuke Endoh)
07:33 PM Bug #2697 (Rejected): rubyspec: StringIO#ungetc when passed [char] tries to convert the passed length to an Integer using #to_int ERROR
=begin
stringio のメンテナのなかださん、もしくは成瀬さん
遠藤です。

to_int を実装したオブジェクトを StringIO#ungetc に与えた時の挙動が
1.8 と 1.9 で違います。


# 1.8 では普通に受け入れる
$ ruby18 -rstringio -e '
o = Object.new
def o.to_int; ?A.ord; end
StringIO.new.ungetc(o)...
mame (Yusuke Endoh)
07:22 PM Bug #2696 (Closed): rubyspec: StringIO#ungetc when passed [char] pads with \000 when the current position is after the end ERROR
=begin
stringio のメンテナのなかださん、もしくはまつもとさん
遠藤です。

stringio に関して、バッファ終端より先に pos を合わせた状態で
StringIO#ungetc を呼んだ時の挙動が 1.8 と 1.9 で違います。


# 1.8 では間が \0 で埋められる
$ ruby18 -rstringio -e '
io = StringIO.new("1234")
io.pos = 15
i...
mame (Yusuke Endoh)
06:20 PM Bug #2688: rubyspec: Net::HTTPHeader#content_range returns a Range object that represents the 'Content-Range' header entry FAILED
=begin

=end
mame (Yusuke Endoh)
06:16 PM Bug #2652: three bugs of Matrix::Scalar
=begin
遠藤です。

2010年1月31日0:51 Yukihiro Matsumoto <matz@ruby-lang.org>:
>
> | Integer#[], Integer#size
> |
> |の名前を変えた方がよいんじゃない? って言いたいところですが...
> |どう見ても他のクラスの[], sizeと振る舞いが違いますしねぇ, duck type 的
> |にもイマイチな気がします.
>
> これらはduck typi...
mame (Yusuke Endoh)
12:51 AM Bug #2652: three bugs of Matrix::Scalar
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40237] Re: [Bug:trunk] three bugs of Matrix::Scalar"
on Fri, 29 Jan 2010 19:24:35 +0900, keiju@ishitsuka.com (石塚圭樹) writes:

| Integer#[], Integer#size
|
|の名前を変えた方がよいんじゃない? って言いた...
matz (Yukihiro Matsumoto)
06:12 PM Bug #2495 (Rejected): Matrix: Vector#each2 should check its argument
=begin
According to [ruby-dev:40237] and [ruby-dev:40267], it is the fate of
duck typing and compatibility.


[ruby-dev:40237] by Keiju (the author of lib/matrix.rb):

- Integer#[] and #size have wrong names from the aspect ...
mame (Yusuke Endoh)
02:24 PM Revision 8d33d0a5 (git): * io.c (rb_io_each_codepoint): use cbuf when needs readconv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)
02:08 PM Revision ddf72817 (git): * test/ruby/test_dir.rb: use string instead of symbol as file name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:44 PM Revision f26bb913 (git): * fix the previous previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:42 PM Revision d4f75667 (git): * string.c (rb_string_value): fix the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:37 PM Bug #1392 (Closed): Object#extend leaks memory on Ruby 1.9.1
=begin
This issue was solved with changeset r26515.
Muhammad, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
wanabe (_ wanabe)
01:25 PM Bug #2695 (Closed): Supported Platforms
=begin
http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatforms の Supported ですが、Debian GNU/Linux 4.0 on IA32 はセキュリティサポートももうすぐ終わるので、5.0 にあげた方が良いのではないでしょうか?

* http://www.jp.debian.org/News/2010/20100121
=end
znz (Kazuhiro NISHIYAMA)
12:46 PM Revision 21523e3a (git): * string.c (rb_string_value): make no exception for Symbol.
[ruby-dev:40274]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:41 PM Revision 3a9ce187 (git): * vm_insnhelper.c (vm_throw): fixed infinite loop. [ruby-core:27969]
(re-commit of r26522 since forgot to add a change, sorry)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:36 PM Revision 323d23c4 (git): * lib/rexml/text.rb (REXML::Text#initialize): do Text.check only when
parent is specified, since Text.check may need doctype. partially
revert r26518.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:11 PM Revision a497f3a5 (git): * vm_insnhelper.c (vm_throw): fixed infinite loop. [ruby-core:27969]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
09:03 AM Revision 8458c385 (git): update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:41 AM Revision d7844516 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:39 AM Revision 29d994d3 (git): update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:02 AM Bug #2641: Seg fault running miniruby during ruby build on Haiku
=begin
Still working on the SegFault issues, there was some previous work for Ruby on Haiku done below by augiedoggie here: http://ports.haiku-files.org/wiki/dev-lang/ruby/1.9.1/1

I applied his patches (that weren't included in my ...
kallisti5 (Alexander von Gluck)
06:55 AM Revision a9770c80 (git): * lib/rexml/text.rb (REXML::Text#initialize): fix typo and a bug that
seems to be caused by refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:55 AM Revision 8129a8df (git): * lib/rexml/parent.rb (REXML::Parent#delete): return the deleted node
because the rdoc of REXML::Element#delete_element says it returns
"the element that was removed."
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
05:34 AM Revision ae0b6068 (git): * A bug fix for deleting blank Table rows from Andy Hartford.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e James Edward Gray II
04:33 AM Revision bcbfa7a9 (git): * gc.c (obj_free): free rb_classext_t of eigenclass. [Bug #1392]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)
04:03 AM Revision 4916ce46 (git): * 2010-01-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:03 AM Revision 6425b4ba (git): * lib/rexml/document.rb (REXML::Document#add): fix duplicate XMLDecls
and bad DocTypes in REXML::Document. (Bug #19058) [ruby-core:27979]
based on the patch by Federico Builes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)

01/30/2010

10:58 PM Feature #2691: RCR: allow {select, collect, map} to accept symbol argument
=begin
Hi,

2010/1/30 Yugui <yugui@yugui.jp>:
> This reply registers the suggestion by Roger to the redmine.
>
> and -1 because a method name is not a method itself.
> Symbol#to_proc is the limit I can accept.

While I agree wit...
mame (Yusuke Endoh)
05:10 PM Feature #2691 (Rejected): RCR: allow {select, collect, map} to accept symbol argument
=begin
This reply registers the suggestion by Roger to the redmine.

and -1 because a method name is not a method itself.
Symbol#to_proc is the limit I can accept.

On Sat, Jan 30, 2010 at 10:14 AM, Roger Pack <rogerdpack2@gma...
yugui (Yuki Sonoda)
10:45 PM Feature #2366: private constant
=begin
遠藤です。

2010年1月30日21:39 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>:
> なぜ現在のRubyの状況ではProcの方がよいのですか?
> 私は1.9.xでそう変更すべきでしょうか?
>
> ERBはeRubyのスクリプトからRubyのスクリプトへの変換を担当します。
> ERB#srcこそが本来やりたかったものです。

作っていると曖昧になりがちですが、「ERB の言語を実行す...
mame (Yusuke Endoh)
08:03 PM Feature #2366: private constant
=begin
遠藤です。

2010年1月30日7:20 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>:
>>>> 普通に見えるものは何でも spec にされてしまう例として、以下のような spec
>>>> があります。(private constant には関係ないですが……)
>>>>
>>>> http://github.com/rubyspec/rubyspec/blob/master/library/erb...
mame (Yusuke Endoh)
07:50 PM Feature #2366: private constant
=begin
遠藤です。

2010年1月30日14:34 Yugui (Yuki Sonoda) <yugui@yugui.jp>:
> On 1/28/10 8:55 PM, Yusuke ENDOH wrote:
>> Yugui さんの返事はメールでは来ていませんが、IRC で
>>
>> - 1.9.2 では rb_classext_t の定義に /** internal */ と付ける (処置済み)
>> - 1.9.3 以降でこの変更を入れ...
mame (Yusuke Endoh)
02:35 PM Feature #2366: private constant
=begin
On 1/28/10 8:55 PM, Yusuke ENDOH wrote:
> Yugui さんの返事はメールでは来ていませんが、IRC で
>
> - 1.9.2 では rb_classext_t の定義に /** internal */ と付ける (処置済み)
> - 1.9.3 以降でこの変更を入れる
>
> という判断をもらっています。
>
>
> ですが、最近 rubyspec に目を通していて、この機能は早く入れ...
yugui (Yuki Sonoda)
04:47 AM Feature #2366: private constant
=begin
成瀬です。

(2010/01/30 3:57), Masatoshi SEKI wrote:
>> 元の提案 [ruby-dev:39685] に書きましたが、「非公開というのは承知の上で
>> 敢えて使いたい」という要求を封じるものではありません。使うのに一手間
>> かかるようになるだけです。一手間かけることで、自分が自分の足を撃とうと
>> していることを自覚してもらおうという狙いです。
>
> うーん。そうするとそう宣言しなか...
naruse (Yui NARUSE)
09:13 PM Bug #2662: BigDecimal#ceil, etc. should not return Integer
=begin
2010/1/30 Yusuke ENDOH <mame@tsg.ne.jp>:
> お返事ありがとうございます。
> つまり、いずれ 1.9.1 にバックポートされるということですね。
> それなら 1.9 からの仕様変更ということで rubyspec を更新しようと思います。

仕様のミスは原則的に1.9.1にはバックポートしないことに決めたので、しません。
ただ、これは1.9.1という実装のバグと扱って良いと思います。また、1.9.2か...
yugui (Yuki Sonoda)
08:12 PM Bug #2662: BigDecimal#ceil, etc. should not return Integer
=begin
遠藤です。

2010年1月30日14:02 Yugui (Yuki Sonoda) <yugui@yugui.jp>:
> On 1/28/10 8:24 PM, Yusuke ENDOH wrote:
>>> ということで、リバートの必要はなく、
> (snip)
>>> あえていうならば、現在
>>> BigDecimal#to_iがInfやNaNに対してnilを返しているのを例外にす
>>> るという変更を加えるべきなんじゃないか...
mame (Yusuke Endoh)
02:02 PM Bug #2662: BigDecimal#ceil, etc. should not return Integer
=begin
On 1/28/10 8:24 PM, Yusuke ENDOH wrote:
>> ということで、リバートの必要はなく、
(snip)
>> あえていうならば、現在
>> BigDecimal#to_iがInfやNaNに対してnilを返しているのを例外にす
>> るという変更を加えるべきなんじゃないかと思います。
>
> Yugui さん、判断をお願いします。

両方とも、まつもとさんに賛同します。

--
Yugui <y...
yugui (Yuki Sonoda)
08:36 PM Bug #2658: rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR
=begin
遠藤です。

2010年1月30日13:52 Yugui (Yuki Sonoda) <yugui@yugui.jp>:
> On 1/27/10 6:29 PM, Yukihiro Matsumoto wrote:
>> |挙動は現状のままにするとして、
>> |
>> |1. この挙動は 1.9.2 からの仕様変更 (1.9.1 はそのまま)
>> |2. この挙動は 1.9 からの仕様変更 (1.9.1 にもバックポートする)
>>...
mame (Yusuke Endoh)
01:53 PM Bug #2658: rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR
=begin
On 1/27/10 6:29 PM, Yukihiro Matsumoto wrote:
> |挙動は現状のままにするとして、
> |
> |1. この挙動は 1.9.2 からの仕様変更 (1.9.1 はそのまま)
> |2. この挙動は 1.9 からの仕様変更 (1.9.1 にもバックポートする)
> |3. この挙動は 1.8/1.9 の仕様 (1.8.x にもバックポートする)
> |
> |のどれとすべきでしょうか。rubyspe...
yugui (Yuki Sonoda)
08:12 PM Feature #2693 (Closed): unfriendly exception when command executed for Net::FTP which is not connected
=begin
#2291はr25518により修正されましたが、他のコマンドは依然としてソケットを開いていることを確認していません。
このため、@sock.writeによりNoMethodErrorが発生します。

require 'net/ftp'
f = Net::FTP.new
f.quit #=> NoMethodError

何か他のNet::FTP以下に定義された例外を投げる方が親切だと思います。
=end
yugui (Yuki Sonoda)
08:05 PM Bug #2319: gethostbyname fails in windows
=begin
Easily reproducible on Windows 7 with latest 1.9.2 dev builds (with *MINGW*):

D:\work\jruby-dev>pik ruby -rsocket -e "p Socket.gethostbyname('localhost')"
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

["Oxford...
vvs (Vladimir Sizikov)
10:35 AM Bug #2319: gethostbyname fails in windows
=begin
Hi,

At Sat, 30 Jan 2010 10:21:58 +0900,
Roger Pack wrote in [ruby-core:27962]:
> XP Pro, ws2_32.dll => 5.1.2600.5512 (gcc 3.4.5)

It's 6.0.6001.18000 on Vista.

I'll try it on XP, if possible, later.

--
Nobu Nakada
...
nobu (Nobuyoshi Nakada)
10:21 AM Bug #2319: gethostbyname fails in windows
=begin
XP Pro, ws2_32.dll => 5.1.2600.5512 (gcc 3.4.5)
=end
rogerdpack (Roger Pack)
10:12 AM Bug #2319 (Feedback): gethostbyname fails in windows
=begin
I can't reproduce it on Windows Vista at all.
What's your platform, and the version of winsock2?
=end
nobu (Nobuyoshi Nakada)
06:40 PM Bug #1392: Object#extend leaks memory on Ruby 1.9.1
=begin
Thanks for the quick patch. It certainly seems to do the trick.
=end
MiiJaySung (Jason Earl)
12:54 PM Revision 3cce74dc (git): merges r25605 from trunk into ruby_1_9_1.
--
* test/dl/test_dl2.rb (**) testing malloc and realloc
* ext/dl/dl.c (**) adding documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:54 PM Revision 0777c729 (git): merges r25579 and r25581 from trunk into ruby_1_9_1.
--
* lib/net/http.rb (Net::HTTPResponse#each_response_header):
accept multiline message header of HTTP response. see #1796.
cf. RFC 2616 '4.2 Message Header'.
* test/net/http/test_httpresponse.rb: ad...
yugui (Yuki Sonoda)
12:54 PM Revision a2339bc0 (git): merges r25526,r25527,r25528,r25529,r25530 and r25555 from trunk into ruby_1_9_1.
--
* encoding.c (get_filesystem_encoding):
add Encoding.filesystem_encoding [ruby-dev:39546]
also see [ruby-core:25959]
--
* gem_prelude.rb (Gem.set_home):
force_encoding(Encoding.filesystem_encoding)
[ruby-dev:39546]
* gem_prel...
yugui (Yuki Sonoda)
12:54 PM Revision 4de39cd3 (git): merges r25510 from trunk into ruby_1_9_1.
--
* lib/net/ftp.rb (getbinaryfile, list): call to_s to convert
a Pathname instance into a string. [ruby-core:26237]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:53 PM Revision 1e8b18df (git): merges r25499 from trunk into ruby_1_9_1.
--
* parse.y (ripper_filename): add Ripper#filename. [ruby-dev:37856] * test/ripper/test_filter.rb: add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:53 PM Revision 8c1c1500 (git): merges r25498 from trunk into ruby_1_9_1.
--
* gc.c (garbage_collect_with_gvl): do not garbage_collect when
dont_gc flag turned on. [ruby-core:26327]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:53 PM Revision cae43211 (git): merges r25494 from trunk into ruby_1_9_1.
adds a test case for the change
--
* vm.c (invoke_block_from_c): return Qnil when its iseq is
SPECIAL CONST. [ruby-core:26335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:53 PM Revision 4b8d9cff (git): merges r25485 from trunk into ruby_1_9_1.
--
* io.c (io_fwrite): adjust stdio file position after direct write on
BSDish platforms. [ruby-core:26300]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:52 PM Revision 4d5af950 (git): merges tests from trunk@25460 into ruby_1_9_1.
--
* ext/dl/handle.c (rb_dlhandle_sym) refactoring rb_secure(2)
* test/dl/test_handle.rb (**) testing sym behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:52 PM Revision 0347be3e (git): merges r25448 from trunk into ruby_1_9_1.
--
* ext/ext/dl/handle.c (rb_dlhandle_initialize) added rb_secure(2)
[ruby-core:25762]
* ext/dl/dl.c (rb_dl_dlopen) removed rb_secure(2)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26503 b2dd03c8-39d4-4d8f-98ff-823...
yugui (Yuki Sonoda)
12:52 PM Revision ac503968 (git): merges r25446 and r25466 from trunk into ruby_1_9_1.
--
* io.c (io_cntl): update max file descriptor by the result of
fcntl(F_DUPFD).
--
* io.c (io_cntl): F_DUPFD is platform dependent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26502 b2dd03c8-39d4-4d8f-98ff-823fe69...
yugui (Yuki Sonoda)
12:52 PM Revision d7d96cdf (git): merges r25440 from trunk into ruby_1_9_1.
--
* lib/pathname.rb (Pathname::SAME_PATHS): FNM_SYSCASE is always
non-nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:51 PM Revision e2a553e4 (git): merges r25435 from trunk into ruby_1_9_1.
--
* test/ruby/envutil.rb (assert_in_out_err): test_stdout and
test_stderr should be an array.
* test/ruby/test_rubyoptions.rb (test_notfound): test_stdin of
assert_in_out_err should be a string.
git-svn-id: svn+ssh://ci.ruby-lang....
yugui (Yuki Sonoda)
12:51 PM Revision 495670d2 (git): merges r25426 from trunk into ruby_1_9_1.
--
* test/scanf/test_scanfio.rb (TestScanfIO): needs to inherit
TestCase.
* test/scanf/test_scanfio.rb (TestScanfIO#test_io): fixed a typo.
close test data file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26499...
yugui (Yuki Sonoda)
12:51 PM Revision ac2d608e (git): merges r25418 from trunk into ruby_1_9_1.
--
* added monitor.rb test. see #2240 the bug on ruby_1_8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:51 PM Revision 687fd3a1 (git): merges r25408 from trunk into ruby_1_9_1.
--
* include/ruby/win32.h (finite, scalb): inline'ed non-standard
identifier macros. [ruby-core:2234]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:51 PM Revision 4edd2a52 (git): merges r25402,r25404,r25405,r25406 and r25407 from trunk into ruby_1_9_1.
--
* parse.y (parser_here_document): dispatch delayed heredoc
contents. based on a patch from Andy Keep in [ruby-core:24855].
--
* parse.y (mlhs_basic): fixed handling splat in middle of mlhs. a
patch from Andy Keep in [ruby-core:2...
yugui (Yuki Sonoda)
12:50 PM Revision be40bdba (git): * vm_method.c (rb_alias): treats an alias as if it is a newly defined
method so that oklass in a method cache refers the class on which the
aliasing occured.
[ruby-core:26074] (#2202).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:50 PM Revision d274933b (git): * .gdbinit: follows r24470.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
12:50 PM Revision 647b968d (git): merges r25394 from trunk into ruby_1_9_1.
--
* lib/rexml/element.rb (text=): false should be converted to string.
A patch by Teruo Oshida [ruby-dev:38351]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:49 PM Revision c98a51f6 (git): merges r25392 from trunk into ruby_1_9_1.
--
Retry until the signal is trapped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:49 PM Revision 3ac7927e (git): merges r25388 from trunk into ruby_1_9_1.
--
* test/test_prime.rb
(TestPrime#test_eratosthenes_works_fine_after_timeout):
test for [ruby-dev:39465].
* lib/prime.rb (Prime::EratosthenesSieve):
fixed [ruby-dev:39465].
suppressed memory reallocation.
constantified some ...
yugui (Yuki Sonoda)
12:49 PM Revision caa2bb47 (git): merges r25377 from trunk into ruby_1_9_1.
--
* st.c (unpack_entries): save table->bins and never change the table
during unpacking. Because st_insert() may cause GC and refer the
table, i.e. st_foreach(). [Bug #2196]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub...
yugui (Yuki Sonoda)
12:48 PM Revision 8c9edc00 (git): merges r25371 from trunk into ruby_1_9_1.
--
* bootstraptest/test_gc.rb: added tests based on [ruby-dev:39484]
from wanabe <s.wanabe AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:48 PM Revision 829efc17 (git): merges r25360 from trunk into ruby_1_9_1.
--
* test/ruby/test_object.rb (test_remove_method): test for Bug#2202.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:48 PM Revision 965258fa (git): merges r25343 from trunk into ruby_1_9_1.
--
* ext/iconv/iconv.c (iconv_create): cannot retry with given block.
[ruby-dev:39487]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:47 PM Revision 4fe744b1 (git): merges r25336 and r25339 from trunk into ruby_1_9_1.
--
* ext/socket/init.c (rsock_init_sock): validate file descriptor.
--
* ext/socket/init.c (rsock_init_sock): mswin doesn't have S_IFSOCK
flag in st_mode of struct stat. so, use rb_w32_issocket() function
instead of S_ISSOCK macro.
...
yugui (Yuki Sonoda)
12:47 PM Revision 7e0875aa (git): merges r25334 from trunk into ruby_1_9_1.
--
* string.c (rb_check_string_type): rdoc fix [ruby-core:26084]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:47 PM Revision b8755b04 (git): merges r25320 from trunk into ruby_1_9_1.
--
* ext/tk/variable.rb: bug fix. additional trace definition changes the
option of first trace definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:47 PM Revision 2bdd8561 (git): merges r25318 from trunk into ruby_1_9_1.
--
* parse.y (parser_magic_comment): fixed normalization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:46 PM Revision 5b928320 (git): merges r25313 from trunk into ruby_1_9_1.
--
* lib/net/ftp.rb (login): use "anonymous@" as a default password.
[ruby-dev:39451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:46 PM Revision 2298cb6c (git): merges r25300 from trunk into ruby_1_9_1.
--
* ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justin
Collins in [ruby-core:26050].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:46 PM Revision 25d896ea (git): merges r25297 from trunk into ruby_1_9_1.
and another fix for [ruby-core:26047].
--
* lib/irb/context.rb (IRB::Context#irb_name): removed duplicated
attr_reader. [ruby-core:26047]
* lib/irb/ruby-lex.rb (RubyLex#lex_int2): removed duplicated
character class range.
--
* lib/...
yugui (Yuki Sonoda)
12:45 PM Revision f73a2e8e (git): merges r25294 from trunk into ruby_1_9_1.
--
* include/ruby/ruby.h (RB_GC_GUARD_PTR): workaround for gcc
optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:45 PM Revision 82c6f54b (git): merges r25290 from trunk into ruby_1_9_1.
--
* file.c (path_check_0): prevent from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:45 PM Revision 58f7f54c (git): merges r25267 from trunk into ruby_1_9_1.
--
* ext/curses/curses.c: Many functions of module Curses could cause a
crash if the ncurses library was not properly initialized.
Fix pointed out by Alexander Beisig [ruby-core:22592]
Functions fixed: attroff, attron, attrset, bkg...
yugui (Yuki Sonoda)
12:45 PM Revision 1ca6da8d (git): merges r25266 from trunk into ruby_1_9_1.
--
* compile.c (ADD_TRACE): fire coverage event in ensure clause.
[ruby-dev:39303]
* iseq.h, iseq.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:44 PM Revision 3efa5181 (git): merges r25263 from trunk into ruby_1_9_1.
--
* lib/net/telnet.rb (cmd): Pass FailEOF options: patch by Brian Candler [ruby-core:22723]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:44 PM Revision 3e23ba59 (git): merges r25245 from trunk into ruby_1_9_1.
and fixes a mistake in the test case.
--
* lib/delegate.rb (Delegator::public_api): take snapshot of
public method at the beginning time.
* lib/delegate.rb (SimpleDelegator#initialize): use
Delegator.public_api since public_method m...
yugui (Yuki Sonoda)
12:42 PM Revision c8f9b4d5 (git): * 2010-01-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:42 PM Revision 02b4b54a (git): merges r25243 from trunk into ruby_1_9_1.
--
* struct.c (rb_struct_select): Struct#select should return
enumerator when no block given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:54 AM Bug #2330: Non systematic segmentation fault with autoload rubyspec
=begin
Hi,

At Sat, 30 Jan 2010 06:58:25 +0900,
Marc-Andre Lafortune wrote in [ruby-core:27959]:
> 1) The minimal test case
> I wonder why I didn't copy-paste my actual original code. In any case,
> the bug happens if the instance...
nobu (Nobuyoshi Nakada)
07:56 AM Revision 1b1b5c2b (git): * vm.c (rb_vm_invoke_proc): removed unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:31 AM Bug #2690 (Closed): IO#select unable to select for < 0.015s
=begin
In my investigation related to the previous "cannot select for < 0.10s on windows" but, here is the current situation (in windows).

This code, run with 1.9.2 trunk:

require 'benchmark'
a = TCPSocket.new('google.com', ...
rogerdpack (Roger Pack)
01:17 AM Bug #2689 (Closed): rdoc gem on 1.9.2 fails for interactive(-i) ri
=begin
Sorry if this has been already signaled, I didn't see.

So, doing a simple 'ri Fixnum':
~ $> export RI='--no-pager -i'
~ $> ri Fixnum
# Without the gem, all is good
# But with rdoc gem:
~ $> gem install rdoc
Succe...
Eregon (Benoit Daloze)
01:10 AM Bug #2688 (Closed): rubyspec: Net::HTTPHeader#content_range returns a Range object that represents the 'Content-Range' header entry FAILED
=begin
なかださん
遠藤です。


class C
include Net::HTTPHeader
def initialize
initialize_http_header({})
end
end
c = C.new
c["Content-Range"] = "bytes 0-499/1234"
p c.content_range


の出力が、r26344 の前は 0..500 ...
mame (Yusuke Endoh)

01/29/2010

11:21 PM Feature #2366: private constant
=begin
遠藤です。

2010年1月29日20:30 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>:
>>
>>>>> 今の Ruby には、クラスが公開 API かどうかを伝える手段がドキュメント
>>>>> しかありません。そのため、ERB::Compiler など、ライブラリの中の公開
>>>>> でない (と思われる) inner class を外から自由に参照できてしまいます。
>
> すみません。...
mame (Yusuke Endoh)
07:18 PM Feature #2366: private constant
=begin

=end
mame (Yusuke Endoh)
10:44 PM Bug #2679 (Open): rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR
=begin
$ ./ruby -rdelegate -e '
a = [42, :hello].freeze
d = SimpleDelegator.new(a)
d.dup[0] += 1
'
-e:4:in `<main>': can't modify frozen array (RuntimeError)


忘れられないように reopen しておきます。

--
Yusuke Endoh <mame@tsg.n...
mame (Yusuke Endoh)
08:40 AM Bug #2679: rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR
=begin
遠藤です。

2010年1月29日1:49 Yukihiro Matsumoto <matz@ruby-lang.org>:
> ||lib/delegator.rb の clone の定義を見ると
> ||
> || def clone
> || new = super
> || new.__setobj__(__getobj__.clone)
> || new
> || end
> ||
> ||となってい...
mame (Yusuke Endoh)
01:57 AM Bug #2679 (Closed): rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR
=begin
This issue was solved with changeset r26462.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
01:49 AM Bug #2679: rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40222] Re: [Bug:trunk] rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR"
on Fri, 29 Jan 2010 01:36:27 +0900, Yukihiro Matsumoto <matz@ruby-lang.org> writes:

||li...
matz (Yukihiro Matsumoto)
01:36 AM Bug #2679: rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40221] [Bug:trunk] rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR"
on Fri, 29 Jan 2010 01:18:07 +0900, Yusuke ENDOH <mame@tsg.ne.jp> writes:

|freeze した SimpleD...
matz (Yukihiro Matsumoto)
01:18 AM Bug #2679 (Closed): rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR
=begin
まつもとさん、または lib/delegator.rb についてわかる誰か
遠藤です。

freeze した SimpleDelegator を clone できません。


$ ./ruby -rdelegate -e '
a = [42, :hello]
d = SimpleDelegator.new(a)
d.freeze
d.clone
'
/home/mame/work/ruby-trunk-lo...
mame (Yusuke Endoh)
10:32 PM Feature #2687 (Closed): rubyspec: Vector.each2 given one argument returns self when given a block FAILED
=begin
いしつかさん
遠藤です。

rubyspec が、Vector#each2 が self を返すことを期待しています。
納得できなくもない期待なので、応えてしまっていいでしょうか。

現在は size.times の帰り値がそのまま戻っています。


diff --git a/lib/matrix.rb b/lib/matrix.rb
index e6f5fe1..d452bf4 100644
--- a/lib/matrix.rb...
mame (Yusuke Endoh)
10:01 PM Bug #2667: Segmentation fault error
=begin
After I opened this ticket I did a 'make install' again and it worked. It also worked all day yesterday (2 days), this morning, I got the segmentation fault again

$ irb
<internal:gem_prelude>: compile/should not be reached...
ajaym (Adam Jay)
09:44 PM Bug #2652: three bugs of Matrix::Scalar
=begin
遠藤です。
何度もすみません。

2010年1月29日19:54 Yusuke ENDOH <mame@tsg.ne.jp>:
> 2010年1月29日19:24 石塚圭樹 <keiju@ishitsuka.com>:
>>>見てみたのですが、現在の実装では、compare_by_row_vectors は比較で
>>>使われていない (というか、どこでも使われていない) 気がします。
>>>なので、比較では compare_by_row_...
mame (Yusuke Endoh)
07:54 PM Bug #2652: three bugs of Matrix::Scalar
=begin
遠藤です。

2010年1月29日19:24 石塚圭樹 <keiju@ishitsuka.com>:
>>見てみたのですが、現在の実装では、compare_by_row_vectors は比較で
>>使われていない (というか、どこでも使われていない) 気がします。
>>なので、比較では compare_by_row_vectors のテストにはならなそうです。
>
> ん?
>
> def test_compare_by_row_v...
mame (Yusuke Endoh)
07:24 PM Bug #2652: three bugs of Matrix::Scalar
=begin
けいじゅ@いしつかです.

In [ruby-dev:40236] the message: "[ruby-dev:40236] Re: [Bug:trunk]
three bugs of Matrix::Scalar", on Jan/29 17:33(JST) Yusuke ENDOH
writes:

>遠藤です。

>見てみたのですが、現在の実装では、compare_by_row_vectors は比較で
>使われていない (と...
keiju (Keiju Ishitsuka)
05:33 PM Bug #2652: three bugs of Matrix::Scalar
=begin
遠藤です。

2010年1月29日13:44 石塚圭樹 <keiju@ishitsuka.com>:
> それでは, Matrix同士の比較にしてもらえますか?

見てみたのですが、現在の実装では、compare_by_row_vectors は比較で
使われていない (というか、どこでも使われていない) 気がします。
なので、比較では compare_by_row_vectors のテストにはならなそうです。


あと、このチケット...
mame (Yusuke Endoh)
01:44 PM Bug #2652: three bugs of Matrix::Scalar
=begin
けいじゅ@いしつかです.

In [ruby-dev:40231] the message: "[ruby-dev:40231] Re: [Bug:trunk]
three bugs of Matrix::Scalar", on Jan/29 08:37(JST) Yusuke ENDOH
writes:

>遠藤です。

>> そういうことであれば、当面「内部実装である」と明記して、テス
>> ト対象外にした方がよいのではないかと思い...
keiju (Keiju Ishitsuka)
08:38 AM Bug #2652: three bugs of Matrix::Scalar
=begin
遠藤です。

2010年1月29日7:36 Yukihiro Matsumoto <matz@ruby-lang.org>:
> |うーん. 歴史的には, 前者用途で == とかの内部のサブルーチン的な用途が
> |主で, Matirix同士の比較しか考えていませんでした.
> |
> |それから, == とかが別実装になったんですが, 他にも用途があるかなと思っ
> |て別途独立させたのですが...
> |
> |ただ, 正直言って...
mame (Yusuke Endoh)
07:36 AM Bug #2652: three bugs of Matrix::Scalar
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40229] Re: [Bug:trunk] three bugs of Matrix::Scalar"
on Fri, 29 Jan 2010 04:56:48 +0900, keiju@ishitsuka.com (石塚圭樹) writes:

|うーん. 歴史的には, 前者用途で == とかの内部のサブルーチン的な用途が
|主で, Matirix同士...
matz (Yukihiro Matsumoto)
04:57 AM Bug #2652: three bugs of Matrix::Scalar
=begin
けいじゅ@いしつかです.

In [ruby-dev:40224] the message: "[ruby-dev:40224] Re: [Bug:trunk]
three bugs of Matrix::Scalar", on Jan/29 01:49(JST) Yukihiro Matsumoto
writes:

>まつもと ゆきひろです

>|もともと, Matrix#compare_by_row_vectors って Matri...
keiju (Keiju Ishitsuka)
01:50 AM Bug #2652: three bugs of Matrix::Scalar
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40191] Re: [Bug:trunk] three bugs of Matrix::Scalar"
on Wed, 27 Jan 2010 23:35:01 +0900, keiju@ishitsuka.com (石塚圭樹) writes:

|>+ def test_compare_by_row_vectors
|>+ assert(@m1....
matz (Yukihiro Matsumoto)
09:14 PM Bug #2686 (Closed): Socket::gethostbyname => SEGFAULT
=begin
C:\>ruby19_mingw\bin\irb
irb(main):001:0> require 'socket'
=> true
irb(main):002:0> host = Socket::gethostname
=> "LP-VOn"
irb(main):003:0> Socket::gethostbyname(host)
(irb):3: [BUG] Segmentation fault
ruby 1.9.2dev...
vo.x (Vit Ondruch)
08:35 PM Bug #2685 (Closed): Wrong call sequence example for RDoc of method flo_minus in numeric.c
=begin
Seems a copy paste issue.
The attached patch itself says it all,

Index: numeric.c
===================================================================
--- numeric.c (revision 26468)
+++ numeric.c (working copy)
...
redstun (red stun)
07:20 PM Bug #2658: rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR
=begin

=end
mame (Yusuke Endoh)
07:19 PM Bug #2662: BigDecimal#ceil, etc. should not return Integer
=begin

=end
mame (Yusuke Endoh)
07:15 PM Bug #2577: Ruby 1.9.2 Preview 1 Aborts when script/generate is used
=begin
It's a duplicate of #2051.

Line 124 of lib/active_model/validations.rb is
alias :read_attribute_for_validation :send

(http://github.com/rails/rails/blob/master/activemodel/lib/active_model/validations.rb#L124)
=end
libc (Eugene Pimenov)
05:44 PM Bug #1392 (Open): Object#extend leaks memory on Ruby 1.9.1
=begin
I wrote a patch for this issue.
Unless any objections, I will commit later.
=end
wanabe (_ wanabe)
02:46 PM Revision 147a09f8 (git): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:27 PM Bug #2669 (Closed): mkmf find_executable doesn't find .bat files
=begin
This issue was solved with changeset r26468.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
03:20 AM Bug #2669: mkmf find_executable doesn't find .bat files
=begin
Composing my email crossed with yours. Yes, I think
that rubyforge ticket you link to would cover it.
A quick prod of dln.c suggests it is dln_find_1
we are talking about.

Is there a way to expose this mechanism to mkm...
hgs (Hugh Sasse)
03:13 AM Bug #2669: mkmf find_executable doesn't find .bat files
=begin
On Thu, Jan 28, 2010 at 6:02 PM, Hugh Sasse <hgs@dmu.ac.uk> wrote:
> On Fri, 29 Jan 2010, Luis Lavena wrote:
>
>> Issue #2669 has been updated by Luis Lavena.
>>
>>
>> Neither cygwin or MSYS (which is based in cygwin) likes...
luislavena (Luis Lavena)
03:02 AM Bug #2669: mkmf find_executable doesn't find .bat files
=begin
On Fri, 29 Jan 2010, Luis Lavena wrote:

> Issue #2669 has been updated by Luis Lavena.
>
>
> Neither cygwin or MSYS (which is based in cygwin) likes batch files, that is one of the reasons is not marked as executable.
> ...
hgs (Hugh Sasse)
03:00 AM Bug #2669: mkmf find_executable doesn't find .bat files
=begin
On Thu, Jan 28, 2010 at 5:33 PM, Roger Pack <rogerdpack2@gmail.com> wrote:
>
> Which ticket is it?
>

Found it:

http://rubyforge.org/tracker/?func=detail&aid=19733&group_id=426&atid=1698

--
Luis Lavena
AREA 17
-
P...
luislavena (Luis Lavena)
02:41 AM Bug #2669: mkmf find_executable doesn't find .bat files
=begin
On Thu, Jan 28, 2010 at 5:33 PM, Roger Pack <rogerdpack2@gmail.com> wrote:
>
> Which ticket is it?

I don't remember, let me search my sent items and will comment again.
--
Luis Lavena
AREA 17
-
Perfection in design is ...
luislavena (Luis Lavena)
02:16 AM Bug #2669: mkmf find_executable doesn't find .bat files
=begin
Neither cygwin or MSYS (which is based in cygwin) likes batch files, that is one of the reasons is not marked as executable.

A few patch levels ago for 1.8.6 and 1.9.1, Ruby didn't consider batch levels priority over extensi...
luislavena (Luis Lavena)
01:53 PM Revision bc7ae41e (git): * lib/getoptlong.rb (set_options): ensure that the type of argument is
Array, restoring this check that was deleted at r10239. This caused
rubyspec error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:07 PM Bug #2684 (Closed): .def file is missing
=begin
This issue was solved with changeset r26467.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
12:46 PM Bug #2684 (Closed): .def file is missing
=begin
[ruby-core:27919]
EXPORT_PREFIX in rbconfig.rb is empty so DEFFILE is too.
=end
nobu (Nobuyoshi Nakada)
10:57 AM Bug #2683: IMAP hangs when receiving an unexpected "BYE" during login
=begin

=end
bpot (Bob Potter)
10:57 AM Bug #2683 (Closed): IMAP hangs when receiving an unexpected "BYE" during login
=begin
The main imap thread will hang if the receiving thread receives an unexpected "BYE" message during login. IMAP#receive_responses (lines 1054-7) sets the exception correctly but fails to break out of the main reading loop because...
bpot (Bob Potter)
05:21 AM Revision 9433d94c (git): * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): should be
space-separated. [ruby-core:27912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:59 AM Revision e8e41b21 (git): * configure.in (mingw): needs $(DEFFILE) for extension libraries.
[ruby-core:27946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:22 AM Revision 896d7682 (git): * lib/mkmf.rb (create_makefile): use puts instead of print.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:37 AM Bug #2226: case 文の式が省略され when 節に配列展開があるときの挙動
=begin
まつもとさん(あるいはささださん?)
このチケットについて、よろしければ意見をお聞きしたいのですがどうでしょうか。
(バグではない、バグだがパッチが正しくない、コミットしてよい、など)
催促するようで申し訳ありません。
=end
wanabe (_ wanabe)
02:26 AM Bug #2681 (Rejected): some behavior changes of lib/csv.rb between 1.8 and 1.9
=begin
Thank you for so quick response!
I'll work tomorrow.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
01:51 AM Bug #2681 (Rejected): some behavior changes of lib/csv.rb between 1.8 and 1.9
=begin
Hi jeg2, or anyone who knows the implementation of FasterCSV,

I'm now checking for ruby trunk to pass rubyspec. Are these behavior
changes of lib/csv.rb intended or bug?


1) CSV.generate

$ ruby18 -rcsv -e 'w ...
mame (Yusuke Endoh)
02:09 AM Revision a0248a2b (git): * lib/mkmf.rb (try_do): log no source when no developement env.
* lib/mkmf.rb (create_makefile): srcprefix always needs $(srcdir).
* lib/mkmf.rb (create_makefile): yield configuration if a block is
given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:52 AM Bug #2680 (Rejected): some behavior changes of lib/csv.rb between 1.8 and 1.9
=begin
すみません、ruby-core 宛てに送るメールを間違えて ruby-dev に送りました。
こっちは閉じておきます。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
01:50 AM Bug #2680 (Rejected): some behavior changes of lib/csv.rb between 1.8 and 1.9
=begin
Hi jeg2, or anyone who knows the implementation of FasterCSV,

I'm now checking for ruby trunk to pass rubyspec. Are these behavior
changes of lib/csv.rb intended or bug?


1) CSV.generate

$ ruby18 -rcsv -e 'w...
mame (Yusuke Endoh)
01:00 AM Bug #2676: behavior change of some methods of Date between 1.8 and 1.9
=begin
> 確認ですが、1.8 だと 1582-10-04 以前の commercial date は扱えない
> (1581 年以前も含めて) ということでいいでしょうか。

というより、グレゴリオ暦でしかつかえないようにしていました。切り替えを
含む年でも、あくまでグレゴリオ暦で勘定した場合のみを考えるということで。

Date.commercial(2,1,1,Date::GREGORIAN).to_s #=> "0001-12-31"

...
tadf (tadayoshi funaba)
12:15 AM Bug #2676 (Rejected): behavior change of some methods of Date between 1.8 and 1.9
=begin
遠藤です。

お返事ありがとうございます。

2010年1月28日22:50 Tadayoshi Funaba <tadf@dotrb.org>:
>> 1) Date.valid_commercial? の返す値の真偽が変わった?
>> $ ruby18 -rdate -e 'p Date.valid_commercial?(1582, 41, 4)'
>> nil
>>
>> $ ruby19 -rdate -e ...
mame (Yusuke Endoh)
12:56 AM Revision 6899b6ff (git): * enc/trans/utf8_mac.trans (buf_shift_char): don't see uninitialised
value. [ruby-dev:40233]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:50 AM Revision 796931aa (git): * common.mk (help): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:21 AM Bug #2668 (Rejected): Is CGI::HtmlExtension public or not?
=begin
> これは[nil]を返す方がおかしいだろうと思いました。
> 要素がないんだから[]を返した方が嬉しいはずです。
>
> というわけで、仕様変更です。

了解しました。ありがとうございました。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
12:16 AM Bug #2677 (Rejected): rubyspec: Date#parse can handle YYDDD as year and day number FAILED
=begin
> > 以下の Date.parse に関する挙動の違いは 1.9 からの仕様変更でしょうか。
> はい。

了解しました。
すばやいお返事ありがとうございました。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)

01/28/2010

11:29 PM Bug #2677: rubyspec: Date#parse can handle YYDDD as year and day number FAILED
=begin
> 以下の Date.parse に関する挙動の違いは 1.9 からの仕様変更でしょうか。

はい。
=end
tadf (tadayoshi funaba)
10:43 PM Bug #2677 (Rejected): rubyspec: Date#parse can handle YYDDD as year and day number FAILED
=begin
ふなばさん (または akr さん?)
遠藤です。

以下の Date.parse に関する挙動の違いは 1.9 からの仕様変更でしょうか。

ML や議論のログや ChangeLog を見ればわかりそうなものですが、手間が
かかるのと理解できる自信がないのとで、聞いてしまいます。すみません。


ruby18 はすべて ruby 1.8.8dev (2010-01-26 revision 26430) [i686-l...
mame (Yusuke Endoh)
10:58 PM Bug #2675 (Rejected): rubyspec: Date#valid_civil? should be able to handle negative months and days FAILED
=begin
> したがって、1582年-3月-18日は、1.8 では存在するが、1.9 では存在しないと
> いうことになります。

説明ありがとうございます!わかりました。
聞かないと到底わかりそうになかったです。

このチケットは reject しつつ、以下のようなパッチを rubyspec に
送ろうと思います。


diff --git a/library/date/civil_spec.rb b/library/da...
mame (Yusuke Endoh)
10:33 PM Bug #2675: rubyspec: Date#valid_civil? should be able to handle negative months and days FAILED
=begin
> まず確認ですが、valid_civil? が jd or nil を返すという仕様から
> true or false を返すようになったのは 1.9 から (というか Date2
> から?) の仕様変更ですよね。

はい。

> その点を修正した上で、rubyspec が以下の挙動の変化を検出しました。

晦日からの数えかたの変更です。1.8 では以下のようになっていて、飛んだと
ころにも日を割り当てられているかのように数えてい...
tadf (tadayoshi funaba)
09:51 PM Bug #2675 (Rejected): rubyspec: Date#valid_civil? should be able to handle negative months and days FAILED
=begin
ふなばさん
遠藤です。

まず確認ですが、valid_civil? が jd or nil を返すという仕様から
true or false を返すようになったのは 1.9 から (というか Date2
から?) の仕様変更ですよね。

その点を修正した上で、rubyspec が以下の挙動の変化を検出しました。


$ ruby18 -v -rdate -e 'p Date.valid_civil?(1582, -...
mame (Yusuke Endoh)
10:50 PM Bug #2676: behavior change of some methods of Date between 1.8 and 1.9
=begin
> 1) Date.valid_commercial? の返す値の真偽が変わった?
> $ ruby18 -rdate -e 'p Date.valid_commercial?(1582, 41, 4)'
> nil
>
> $ ruby19 -rdate -e 'p Date.valid_commercial?(1582, 41, 4)'
> true

はい。

> 2) Date.ordinal の範囲が変わった?
> $ r...
tadf (tadayoshi funaba)
10:20 PM Bug #2676 (Rejected): behavior change of some methods of Date between 1.8 and 1.9
=begin
ふなばさん
遠藤です。

rubyspec が Date に関する動作の違いを見つけまくってくれるんですが、
Date の知識がなくてバグかどうか判断できません。
すみませんが以下の動作の違いをチェックしていただけますでしょうか。


ruby18 はすべて ruby 1.8.8dev (2010-01-26 revision 26430) [i686-linux] で、
ruby19 はすべて ruby 1.9.2d...
mame (Yusuke Endoh)
10:11 PM Bug #2669: mkmf find_executable doesn't find .bat files
=begin
Under cygwin, I have lots of .bat files which are not executable (according to ls -l). Indeed, under Ruby 1.8, my rdoc.bat is not:

hgs@Q2P14HGS /bin
12:58:47$ ls -ld rdoc.bat
-rw-r--r-- 1 hgs None 141 Apr 27 2009 rdoc....
hgs (Hugh Sasse)
10:07 AM Bug #2669 (Assigned): mkmf find_executable doesn't find .bat files
=begin
memo:
problem of File.executable?
## I do not have the opinion now.
=end
usa (Usaku NAKAMURA)
07:50 AM Bug #2669 (Closed): mkmf find_executable doesn't find .bat files
=begin
Dunno if this was discussed already...

>> require 'mkmf'
=> true
>> find_executable('rdebug')
checking for rdebug... no
=> nil
>> find_executable('rdebug.bat')
checking for rdebug.bat... yes
=> "E:\\installs\\r...
rogerdpack (Roger Pack)
08:55 PM Feature #2366: private constant
=begin
遠藤です。

>>> 今の Ruby には、クラスが公開 API かどうかを伝える手段がドキュメント
>>> しかありません。そのため、ERB::Compiler など、ライブラリの中の公開
>>> でない (と思われる) inner class を外から自由に参照できてしまいます。

>> なるほど、良いアイディアだと思います。採用するタイミングは
>> Yuguiさんに訊いてみないといけませんが、いずれ採用したいと思い
>> ます。Y...
mame (Yusuke Endoh)
08:24 PM Bug #2662: BigDecimal#ceil, etc. should not return Integer
=begin
遠藤です。

2010年1月28日11:34 Yukihiro Matsumoto <matz@ruby-lang.org>:
> | # 巨大な BigDecimal は ceil が取れない
> | $ ./ruby -rbigdecimal -e 'p BigDecimal("1E100000").ceil'
> | (巨大な Bignum を確保しようとして固まる...)
> |
> | # Infinity が混ざるときは...
mame (Yusuke Endoh)
11:35 AM Bug #2662: BigDecimal#ceil, etc. should not return Integer
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40168] [Bug #2662] BigDecimal#ceil, etc. should not return Integer"
on Wed, 27 Jan 2010 02:42:38 +0900, Yusuke Endoh <redmine@ruby-lang.org> writes:

|r20584 と r20616 で BigDecimal#c...
matz (Yukihiro Matsumoto)
07:41 PM Feature #2674 (Assigned): RubyVM::InstructionSequence to accept IOs
=begin

=end
shyouhei (Shyouhei Urabe)
07:36 PM Feature #2674 (Closed): RubyVM::InstructionSequence to accept IOs
=begin
RipperはRipper#initializeでIOを受け付けますが、ISeqはそうはなっていません。
非対称なのでISeqもIOを受け付けるようにするのはどうでしょうか。

Signed-off-by: Urabe, Shyuohei <shyouhei@ruby-lang.org>
---
iseq.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion...
shyouhei (Shyouhei Urabe)
07:19 PM Bug #2611: Hang while executing END blocks with redirected stderr
=begin
I reproduced it on Ubuntu 9.10 by adding "sleep 0.01" at the first line of C#write.

blocking_region_begin() can't stop with th->raised_flag and th->interrupt_flag,
so raised_flag should be clear before entering blocking-re...
wanabe (_ wanabe)
05:46 PM Bug #1392: Object#extend leaks memory on Ruby 1.9.1
=begin
My trunk build is: ruby 1.9.2dev (2010-01-27 trunk 26434) [x86_64-linux]

Your clone code above doesn't leak either for me.

However both of these simplified scenarios leak:

./ruby -e 'loop { Class.new.__send__ :include, ...
MiiJaySung (Jason Earl)
04:47 PM Revision d9e84f23 (git): * lib/delegate.rb (Delegator#initialize_copy): use initialize_copy
instead of overriding clone/dup. [ruby-dev:40221]
it now always clones the target, it might cause incompatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
04:34 PM Revision d1499525 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): update RDoc to
denote that #to_i raises FloatDomainError for Inf and NaN.
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): fast #to_i using
BigDecimal_split().
* bignum.c (conv_digit): use faster ISDIGIT() assuming ASCII.
git-svn-id: svn+ssh://ci....
matz (Yukihiro Matsumoto)
03:19 PM Revision a715d95a (git): * 2010-01-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 266ee3bc (git): * lib/cgi.rb: set autoload to CGI::HtmlExtension. [ruby-dev:40194]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:15 PM Bug #2330: Non systematic segmentation fault with autoload rubyspec
=begin

=end
marcandre (Marc-Andre Lafortune)
12:44 PM Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination
=begin
むらたです。

permutation size の計算式を間違えてました。
修正したパッチを再度添付します。

On 2010/01/28, at 11:59, Kenta Murata wrote:

> Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination
> http://redmine.ru...
mrkn (Kenta Murata)
11:59 AM Feature #2673 (Closed): the length for an enumerator generated by Array#permutation and Array#combination
=begin
Array#permutation と Array#combination が生成する enumerator は要素数が確定できますが、
Enumerator#length が存在しないため、to_a で配列化しなければ長さを取得できません。

この欠点を解消するため、Array#permutation と Array#combination が生成する enumerator に対して
length メソッドを特異メソッドとして追加する...
mrkn (Kenta Murata)
11:57 AM Feature #2012: Set event_flags on thread creation if hook exists
=begin
This patch seems to fix the threading difficulties for ruby-prof as well.

Koichi could you take a look at it sometime?

-r
=end
rogerdpack (Roger Pack)
10:50 AM Bug #2667: Segmentation fault error
=begin
it looks you failed installation process.
please try again from extract tarball.

Anyway, is it ok that install bin-dir is /usr/bin?
=end
naruse (Yui NARUSE)
06:08 AM Bug #2558: r24591 causes Segfault
=begin
trunk: ruby 1.9.2dev (2010-01-28 trunk 26454) [x86_64-linux]

alex@neon trunk % ./ruby ~/file.rb >| /dev/null
*** glibc detected *** ./ruby: free(): corrupted unsorted chunks: 0x000000000080daa0 ***
======= Backtrace: ===...
a3li (Alex Legler)
02:10 AM Bug #2664 (Closed): Failure: test_segv_test(TestRubyOptions)
=begin
r26447 でコミットしました。
=end
znz (Kazuhiro NISHIYAMA)
12:50 AM Revision 62f8c207 (git): * regcomp.c (onig_compile): initialize ScanEnv.
mainly to initialize env->warnings_flag [ruby-dev:40196]
* regparse.c (scan_env_clear): clear warnings_flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:41 AM Bug #2495: Matrix: Vector#each2 should check its argument
=begin
Hi,

2009/12/19 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> Bug #2495: Matrix: Vector#each2 should check its argument
> http://redmine.ruby-lang.org/issues/show/2495
>
> Author: Marc-Andre Lafortune
> Status: Open, Pri...
mame (Yusuke Endoh)

01/27/2010

11:45 PM Bug #2668 (Rejected): Is CGI::HtmlExtension public or not?
=begin
xibbar さん
遠藤です。

CGI::HtmlExtension には昔から :nodoc: が付いていないようなので、公開
API だとしたら cgi.rb で autoload を設定しておいたほうがいいと思います。
どう思いますか?


diff --git a/lib/cgi.rb b/lib/cgi.rb
index 6355a92..5ef23f1 100644
--- a/lib/cgi.rb
...
mame (Yusuke Endoh)
11:37 PM Feature #2650 (Closed): Vector#/
=begin
This issue was solved with changeset r26448.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
keiju (Keiju Ishitsuka)
05:35 PM Feature #2650: Vector#/
=begin
けいじゅ@いしつかです.

In [ruby-dev:40151] the message: "[ruby-dev:40151] [Feature:trunk]
Vector#/", on Jan/26 00:24(JST) Yusuke ENDOH writes:

>遠藤です。
>
>Matrix#/ や Vector#* があるので Vector#/ もあっていいと思います。

まあ, あってもよいと思います. が,
定義が,...
keiju (Keiju Ishitsuka)
11:37 PM Bug #2649 (Closed): Vector can't be coerced into Vector
=begin
This issue was solved with changeset r26448.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
keiju (Keiju Ishitsuka)
05:29 PM Bug #2649: Vector can't be coerced into Vector
=begin
けいじゅ@いしつかです.

In [ruby-dev:40150] the message: "[ruby-dev:40150] [Bug:trunk] Vector can't be coerced into Vector", on Jan/26 00:22(JST)
Yusuke ENDOH writes:

>遠藤です。
>
>Vector に Vector をかけると Vector can't be coerced into V...
keiju (Keiju Ishitsuka)
11:35 PM Bug #2652: three bugs of Matrix::Scalar
=begin
けいじゅ@いしつかです.

In [ruby-dev:40189] the message: "[ruby-dev:40189] Re: [Bug:trunk]
three bugs of Matrix::Scalar", on Jan/27 22:51(JST) Yusuke ENDOH
writes:

>遠藤です。

>いいと思いました。

はい.

>ひとつだけ気になったこと。ErrOperationNotImplemen...
keiju (Keiju Ishitsuka)
10:51 PM Bug #2652: three bugs of Matrix::Scalar
=begin
遠藤です。

2010年1月27日19:50 石塚圭樹 <keiju@ishitsuka.com>:
> 一連のメイルをまとめると以下のパッチではいかがでしょう?


いいと思いました。

ひとつだけ気になったこと。ErrOperationNotImplement よりは
ErrOperationNotImplemented の方がよくないでしょうか。

これがコミットされたら、以下のテストをコミットしたいと思います。


d...
mame (Yusuke Endoh)
07:50 PM Bug #2652: three bugs of Matrix::Scalar
=begin
けいじゅ@いしつかです.

In [ruby-dev:40153] the message: "[ruby-dev:40153] [Bug:trunk] three
bugs of Matrix::Scalar", on Jan/26 00:32(JST) Yusuke ENDOH writes:

>連投すみません。
>[ruby-dev:40149] と全く同じ内容ですが、subject に [Bug:trunk] を
>つけ忘れたので...
keiju (Keiju Ishitsuka)
11:14 PM Bug #2662: BigDecimal#ceil, etc. should not return Integer
=begin
> 0 が一個足りませんでした。1E100000 はうちだと 8 秒ですね。1E1000000
> だとどうでしょう。
> しかし、Rational で動くなら、何かを直せばなんとかなりそうですね。

Rational 経由だと 0 ひとつ増えてもそこそこの速度で返るようですね。

関係あるかわからないけど、BigDecimal#** が結構遅かった記憶があります。
あと、

BigDecimal('3') ** BigDecimal(...
tadf (tadayoshi funaba)
10:03 PM Bug #2662: BigDecimal#ceil, etc. should not return Integer
=begin
2010年1月27日19:12 Tadayoshi Funaba <tadf@dotrb.org>:
>> # 巨大な BigDecimal は ceil が取れない
>> $ ./ruby -rbigdecimal -e 'p BigDecimal("1E100000").ceil'
>> (巨大な Bignum を確保しようとして固まる...)
>
> 僕のところでは固まるということはないですね。Rational と比べるとちょ...
mame (Yusuke Endoh)
07:12 PM Bug #2662: BigDecimal#ceil, etc. should not return Integer
=begin
ちょっと試してみました。

> r20584 と r20616 で BigDecimal#ceil 、truncate 、floor 、round 、div の
> 戻り値を Integer にする変更がありますが、これだと巨大な BigDecimal を
> 扱えなく、または扱いが面倒になります。
>
>
> # 巨大な BigDecimal は ceil が取れない
> $ ./ruby -rbigdecimal -e '...
tadf (tadayoshi funaba)
02:42 AM Bug #2662 (Rejected): BigDecimal#ceil, etc. should not return Integer
=begin
まつもとさん
遠藤です。

r20584 と r20616 で BigDecimal#ceil 、truncate 、floor 、round 、div の
戻り値を Integer にする変更がありますが、これだと巨大な BigDecimal を
扱えなく、または扱いが面倒になります。


# 巨大な BigDecimal は ceil が取れない
$ ./ruby -rbigdecimal -e 'p Bi...
mame (Yusuke Endoh)
11:06 PM Bug #2667: Segmentation fault error
=begin
Sorry, should have also included OS info

CentOS release 5.4 (Final)
2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
=end
ajaym (Adam Jay)
11:02 PM Bug #2667 (Rejected): Segmentation fault error
=begin
I just downloaded and compiled from source ruby-1.9.1-p376 yesterday. No special settings other then I did the following ./configure --bindir=/usr/bin

It worked fine yesterday, I also compiled rubygems-1.3.5 and installed a...
ajaym (Adam Jay)
10:40 PM Bug #2664: Failure: test_segv_test(TestRubyOptions)
=begin
(2010/01/27 21:56), Kazuhiro NISHIYAMA wrote::
>> |出たり出なかったりする原因は rb_vm_bugreport の i が初期化されていないからのように見えます。
>> |
>> |テストも含めて以下のような修正でどうでしょうか?
>>
>> iを初期化するのはともかく、-の個数の変更はなんか意味があるん
>> ですか?
>>
>
> -- Ruby level backtrace ...
ko1 (Koichi Sasada)
09:57 PM Bug #2664: Failure: test_segv_test(TestRubyOptions)
=begin
西山和広です。

At Wed, 27 Jan 2010 18:44:14 +0900,
Yukihiro Matsumoto wrote:
>
> |出たり出なかったりする原因は rb_vm_bugreport の i が初期化されていないからのように見えます。
> |
> |テストも含めて以下のような修正でどうでしょうか?
>
> iを初期化するのはともかく、-の個数の変更はなんか意味があるん
> ですか?
>

--...
znz (Kazuhiro NISHIYAMA)
06:44 PM Bug #2664: Failure: test_segv_test(TestRubyOptions)
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40169] [Bug #2664] Failure: test_segv_test(TestRubyOptions)"
on Wed, 27 Jan 2010 08:44:48 +0900, Kazuhiro NISHIYAMA <redmine@ruby-lang.org> writes:

|出たり出なかったりする原因は rb_vm_bugreport ...
matz (Yukihiro Matsumoto)
08:44 AM Bug #2664 (Closed): Failure: test_segv_test(TestRubyOptions)
=begin
環境によって「-- Ruby level backtrace information-----------------------------------------」が出たり出なかったりして、出る環境では test/ruby/test_rubyoptions.rb の test_segv_test が Failure になります。

% ruby-trunk -e 'Process.kill :SEGV, $$' 2>&1 | head
-...
znz (Kazuhiro NISHIYAMA)
09:42 PM Feature #2666 (Closed): ext/curses: improved structure for view2
=begin
Looking at bits of stdlib that ruby-doc.org considers insufficiently commented, I explored
ext/curses, and found some scroll methods in view2.rb. Examining this, it is an example program of how to use curses. However, it uses...
hgs (Hugh Sasse)
07:01 PM Revision fdbf2bb4 (git): Backport #2009 [ruby-core:25173]; (rb_io_fptr_finalize): free fptr to avoid memory leaks.
My brain got stuck in a bad pattern, and I kept adding new items under the first record for the day. They are all broken out into their own entries like they should be, now, with timestamps pulled from the SVN log.
git-svn-id: svn+ssh:...
wyhaines (Kirk Haines)
06:29 PM Bug #2658: rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40164] Re: [Bug #2658] rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR"
on Tu...
matz (Yukihiro Matsumoto)
02:36 AM Bug #2658: rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR
=begin
まつもと ゆきひろです

In message "Re: [Bug #2658] rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR"
on Tue, 26 Jan 2010 20:39:56...
matz (Yukihiro Matsumoto)
06:27 PM Bug #2636: Incorrect UTF-16 string length
=begin
On 2010/01/25 16:37, Vincent Isambart wrote:
>> What needs to be fixed here is the data, nothing else:
>>
>> irb(main):001:> s = "\xDC\x0B\xD8\x40".force_encoding 'UTF-16BE'
>> => "\xDC\x{BD8}\x40"
>> irb(main):002:> s.va...
duerst (Martin Dürst)
06:18 PM Revision 8bebedc5 (git): * 2010-01-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:18 PM Revision e2f5883e (git): Backport #1916 [ruby-core:24838]; (rb_sysopen): workaround for MSVCRT's bug. Should fix the original bug report which was: File.open crashes when flags File::RDONLY | File::APPEND are passed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
04:59 PM Bug #1813: Threading seg fault (1.9.1-p129 Linux/Mac)
=begin
Seems like a stack overflow.
=end
nobu (Nobuyoshi Nakada)
04:43 PM Bug #1813 (Open): Threading seg fault (1.9.1-p129 Linux/Mac)
=begin
reproduced on both Ubuntu 8.04 x86_64 and FreeBSD 8.0 x86_64.
=end
naruse (Yui NARUSE)
04:14 PM Bug #1813 (Feedback): Threading seg fault (1.9.1-p129 Linux/Mac)
=begin

=end
naruse (Yui NARUSE)
09:56 AM Bug #1813: Threading seg fault (1.9.1-p129 Linux/Mac)
=begin
seems to work fine for me with 1.9.1/1.9.2
Is it still a problem?
=end
rogerdpack (Roger Pack)
04:59 PM Revision 15ae29a7 (git): * 2010-01-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:59 PM Revision d42641db (git): add ML ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:53 PM Bug #2558 (Open): r24591 causes Segfault
=begin
Can't reproduce at r26358, but Now can reproduce on ruby 1.9.2dev (2010-01-27 trunk 26434) [x86_64-freebsd8.0]
=end
naruse (Yui NARUSE)
09:43 AM Bug #2558: r24591 causes Segfault
=begin
do you get this with trunk?
=end
rogerdpack (Roger Pack)
04:15 PM Bug #2611 (Assigned): Hang while executing END blocks with redirected stderr
=begin

=end
naruse (Yui NARUSE)
09:59 AM Bug #2611: Hang while executing END blocks with redirected stderr
=begin
was able to reproduce this for 1.9.1p376 mingw, 1.9.2 mingw (not on linux, though--works fine there).
=end
rogerdpack (Roger Pack)
02:58 PM Revision 96d07f51 (git): Backport #1875 [ruby-core:24735]; (RMATCH_REGS): added for compatibility.
(RFLOAT_VALUE, RSTRING_END, RREGEXP_SRC_*, RBIGNUM_*): backported macros for compatiblity from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wyhaines (Kirk Haines)
02:36 PM Revision e341e9b0 (git): Backport #1818 [ruby-core:24561]; (argf_eof): go to the next file if called after ARGF.close or ARGF.skip.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
02:34 PM Revision 5f7f5098 (git): * test/matrix/test_matrix.rb, test/matrix/test_vector.rb: add some
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:33 PM Bug #2641: Seg fault running miniruby during ruby build on Haiku
=begin
The gdb backtrace says, Haiku's pthread_cond_timedwait returns 3704403, but the value is not ETIMEDOUT nor EINTR.

-- Ruby accepts only 0, EINTR, ETIMEDOUT
http://redmine.ruby-lang.org/repositories/entry/ruby-19/thread_pthr...
naruse (Yui NARUSE)
08:35 AM Bug #2641: Seg fault running miniruby during ruby build on Haiku
=begin
trying to use an older binary version of 1.8 for BeOS to compile 1.9 on Haiku.

(compiling ruby requires ruby which is kind of silly but whatever)

It seems like miniruby is locking up accessing BUFSIZ...

adding the ...
kallisti5 (Alexander von Gluck)
07:20 AM Bug #2641: Seg fault running miniruby during ruby build on Haiku
=begin
are you really using 1.8.4? What about trunk?

-r
=end
rogerdpack (Roger Pack)
05:26 AM Bug #2641: Seg fault running miniruby during ruby build on Haiku
=begin
a quick note.. still not sure if it is a Haiku or Ruby issue. Here is a gdb backtrace of the seg fault...

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public...
kallisti5 (Alexander von Gluck)
02:30 PM Revision 0aafb0b4 (git): * lib/thread.rb (ConditionVariable#wait, signal, broadcast): return
self (for 1.8 compatibility).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:28 PM Revision afc9fce0 (git): * lib/matrix.rb: add exception Matrix::ErrOperationNotImplemented
[ruby-dev:40149].
* lib/matrix.rb: change message of exception
Matrix::ErrOperationNotDefined [ruby-dev:40150], [ruby-dev:40176].
* lib/matrix.rb: add method Vector#/ [ruby-dev:40151].
* lib/matrix.rb(Matrix::Scalar#+,-,/): delete ...
keiju (Keiju Ishitsuka)
02:25 PM Revision 606f59bb (git): * vm_dump.c (bugreport_backtrace): trivial change.
* vm_dump.c (rb_vm_bugreport): uninitialized local variable i.
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_segv_test):
follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26447 b2dd03c8-39d4-4d8f-98ff-823...
znz (Kazuhiro NISHIYAMA)
02:25 PM Revision 9c8f53c1 (git): * test/ruby/test_exception.rb
(TestException#test_thread_signal_location):
change test method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
02:25 PM Revision ea379a7f (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:49 PM Revision a817c0b0 (git): * lib/matrix.rb (determinant): fix name error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:29 PM Revision 69eb602b (git): * vm_eval.c (rb_backtrace): "circular require" warning was output to
stdout except the first line. All line is output to stderr now.
[ruby-dev:40147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:19 PM Revision 74eb575c (git): Backport #1806 [ruby-core:24506]; (REXML::Text.normalize): call to_s for input.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
12:04 PM Revision bf4a6a05 (git): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:18 AM Bug #1392: Object#extend leaks memory on Ruby 1.9.1
=begin
yeah I can confirm this

loop do
Module.new.clone
end

leaks with 1.9.1p376

but doesn't seem to leak for me with trunk. What script are you using exactly?

-r
=end
rogerdpack (Roger Pack)
07:14 AM Bug #1392: Object#extend leaks memory on Ruby 1.9.1
=begin
And just to confirm, using an indefinite loop like Roger points out makes my Ruby process grow continuously. After about 6-8 minutes my Ruby process had grown to 12% of memory usage and showed no sign of going down.
=end
MiiJaySung (Jason Earl)
06:58 AM Bug #1392: Object#extend leaks memory on Ruby 1.9.1
=begin
I've just tried the code above with Ruby 1.9.2 Preview 1 and the current trunk.

I can confirm that this doing

./ruby leak_test.rb LEAK

on the above versions appears to leak memory as ps aux / top reports a 0.8% m...
MiiJaySung (Jason Earl)
05:25 AM Revision c0497c5b (git): * eval.c (thread_init): used only for setitimer or threaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:23 AM Revision 185aca62 (git): * ext/dl/dl.c (c_parray): get rid of a deprecated function.
* ext/dl/handle.c (rb_dlhandle_sym): conditionally used variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:11 AM Revision be37924f (git): * 2010-01-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:11 AM Revision f0caeb92 (git): * io.c, eval.c, process.c: add __APPLE__ to r26371's condition.
patched by Wataru Kimura [ruby-dev:40145]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:31 AM Bug #2661 (Closed): Bignum <= BigDecimal("NaN") raises an Exception
=begin
遠藤です。

Bignum と BigDecimal("NaN") を <= などで比較すると例外があがります。


$ ./ruby -rbigdecimal -ve 'p 2**100 <= BigDecimal("NaN")'
ruby 1.9.2dev (2010-01-27 trunk 26434) [i686-linux]
-e:1:in `<=': comparison of Bignum with ...
mame (Yusuke Endoh)
 

Also available in: Atom