Project

General

Profile

Activity

From 03/18/2010 to 03/24/2010

03/24/2010

11:57 PM Feature #2012 (Closed): Set event_flags on thread creation if hook exists
=begin
This issue was solved with changeset r27033.
Mark, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
11:35 PM Feature #2969: String#to_f が -h.hhh±pd を解釈できるように
=begin
> to_i がデフォルトで prefix を見ないのは、0377 のような、
> 0 詰めした数値文字列を、8 進数表記として解釈してしまうのを
> 問題視したからだと思っています。
>
> 今回の to_f は to_i と異なり、このような意図に反した解釈をしやすい
> パターンが無いので、やはり事情が異なると思います。

そうなのかもしれないけど、浮動小数点数にも16進数表記がある、という時点
でもう基本的条件は同じになったと考...
tadf (tadayoshi funaba)
02:56 AM Feature #2969: String#to_f が -h.hhh±pd を解釈できるように
=begin
成瀬です。

(2010/03/23 21:23), Tadayoshi Funaba wrote:
>> String#to_f は従来から指数表記を許していたので、
>> String#hex などと使い分けている String#to_i 事情が違うと理解しています。
>
> 指数表現があることは関係あるんですかね。
>
> to_i では 0x をデファオルトでは数値として見ない、そして to_i はオプショ
> ンを受け付け...
naruse (Yui NARUSE)
11:22 PM Bug #3007 (Rejected): subtle inconsistency of Class#to_s
=begin
遠藤です。

特異クラスの文脈で定義されたクラスの to_s の結果が、Class.new で
作られたかどうかによって変わります。

o = Object.new
class << o
class C; end
D = Class.new
p [C, D] #=> [#<Class:0x825657c>::C, #<Class:0x82564f0>]
end

実害は...
mame (Yusuke Endoh)
11:11 PM Bug #616 (Closed): instance_eval and Module#to_s
=begin
遠藤です。

2008年12月29日12:38 SASADA Koichi <ko1@atdot.net>:
> Shyouhei Urabe wrote::
>> Bug #616: instance_eval and Module#to_s
>> http://redmine.ruby-lang.org/issues/show/616
>>
>> 起票者: Shyouhei Urabe
>> ステータス: Open, ...
mame (Yusuke Endoh)
10:16 PM Feature #2013: [PATCH] a = *b calls b.*@
=begin
On Sun, Aug 30, 2009 at 2:53 PM, Jeremy Evans <redmine@ruby-lang.org> wrote:
> I think this makes for more consistent behavior, and hopefully it isn't just a foolish consistency.  I brought up this idea as a question in Shugo Ma...
yugui (Yuki Sonoda)
10:04 PM Bug #866 (Rejected): gem(1) gemrc(5)
=begin
問い合わせたもののJim weirichから返事がないままで、本人に会ったときも確認するのを忘れて、そのままです。

既に作成したgem(1), gemrc(5)のman pageが古くなってるので、gem自体のソース埋め込みドキュメントから再作成するのが適当でしょう。よってrejectします。
=end
yugui (Yuki Sonoda)
09:24 PM Bug #3005 (Closed): Ruby core dump - [BUG] rb_sys_fail() - errno == 0
=begin
My ruby script is generating cores, this is the dump:

--
sv.rb:268: [BUG] rb_sys_fail() - errno == 0
ruby 1.9.1p376 (2009-12-07 revision 26041) [ia64-hpux11.31]

-- control frame ----------
c:0005 p:---- s:0016 b:0...
syepes (Sebastian YEPES)
08:44 PM Revision da8a31bc (git): * configure.in (ruby_version): needs runnable CPP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:42 PM Revision 2ca76494 (git): * tool/make-snapshot (package): take a breath for HP-UX make
[ruby-core:28938].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:38 PM Revision d0cd67ef (git): * tool/make-snapshot (Dir.mktmpdir): for 1.8.6 backward compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:36 PM Revision 058b9db4 (git): * tool/make-snapshot (package): $: no longer contains ".", in trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:52 PM Revision bc2088b5 (git): * ext/iconv/charset_alias.rb: update of URL. [ruby-dev:38360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:52 PM Revision 487a2678 (git): * ext/iconv/charset_alias.rb: update of URL. [ruby-dev:38360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:29 PM Feature #1961: Kernel#__dir__
=begin
This is nice but would not be backward compatible with code that
depends on __FILE__ actually being a string (any code that splits on /
or builds a path with + "../" for example. Maybe a subclass of String?
Is there a do...
headius (Charles Nutter)
07:03 AM Feature #1961: Kernel#__dir__
=begin
> (1) add a toplevel constant __DIR__
> pros: looks like __FILE__
> cons: adding new keyword
>
> (2) add Kernel#__DIR__
> pros: no new keyword
> cons: it should have a lower-case name (like 1.9's __method__),
> beca...
Eregon (Benoit Daloze)
03:34 AM Feature #1961: Kernel#__dir__
=begin
On 23.03.10 19:10, Roger Pack wrote:
> My personal preference would be __DIR__
...which suggests that the method is a magic constant like __FILE__.
While funny, I don't think it's a good idea.

For example, BasicObject would...
murphy (Kornelius Kalnbach)
03:10 AM Feature #1961: Kernel#__dir__
=begin
My personal preference would be __DIR__

Here's a example patch that seems to work, if it's helpful at all.

Index: prelude.rb
===================================================================
--- prelude.rb (revis...
rogerdpack (Roger Pack)
05:35 PM Bug #2992: File operations leak file handles in Windows XP
=begin

=end
yugui (Yuki Sonoda)
05:32 PM Bug #2992: File operations leak file handles in Windows XP
=begin

=end
yugui (Yuki Sonoda)
11:41 AM Bug #2992: File operations leak file handles in Windows XP
=begin
After some inspection, I found this leakage is not file handle but event handle.
When ReadFile fails with EOF, it returns without closing event handle.

Here is a patch for trunck verion ruby 1.9.2dev (2010-03-24 trunk 2702...
phasis68 (Heesob Park)
05:08 PM Bug #2995: TestHash#test_recursive_check fails
=begin
なかだです。

At Tue, 23 Mar 2010 19:15:10 +0900,
Shugo Maeda wrote in [ruby-dev:40735]:
> 以下の変更(r26961)で、TestHash#test_recursive_checkが失敗するようになっている
> のですが、この変更は意図的でしょうか。

一応意図的ですが、検討不足でした。

> また、test_recursive_checkにあるように
> ...
nobu (Nobuyoshi Nakada)
02:47 PM Revision 96ecfe9a (git): * thread.c (thread_create_core): let new thread inherit RUBY_EVENT_VM
of event_flags. [ruby-core:25191]
* thread.c (rb_threadptr_exec_event_hooks): delete RUBY_EVENT_VM if
all event_hooks are removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:37 PM Bug #2998 (Closed): gets fails in mingw
=begin
This issue was solved with changeset r27029.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
05:36 AM Bug #2998: gets fails in mingw
=begin
Hi Luis, Roger,

I just built MRI on Windows/mingw, from the very latest trunk, and
also starting to see this issue:

D:/work/jruby-dev/rubyinstaller.git/sandbox/ruby19_mingw\bin\ruby -ve 'gets'
ruby 1.9.2dev (2010-03-24 tr...
vvs (Vladimir Sizikov)
04:33 AM Bug #2998: gets fails in mingw
=begin
Can you try STDIN.gets?
=end
luislavena (Luis Lavena)
04:29 AM Bug #2998 (Closed): gets fails in mingw
=begin
C:\usr\local\bin>ruby -ve 'gets'
ruby 1.9.2dev (2010-03-24 trunk 27027) [i386-mingw32]
-e:1:in `gets': Not enough space - <STDIN> (Errno::ENOMEM)
from -e:1:in `gets'
from -e:1:in `<main>'
=end
rogerdpack (Roger Pack)
02:01 PM Revision 30a4825a (git): * configure.in: revert the previous commit, which seemed to break make
install. The files of standard libraries are directly installed to
$(PREFIX)/lib/ruby instead of $(PREFIX)/lib/ruby/1.9.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
09:44 AM Feature #2981 (Assigned): Array#repeated_(permutation|combination)
=begin

=end
naruse (Yui NARUSE)
09:43 AM Bug #2997 (Assigned): Patch for ext/tk/extconf.rb X11 build failure on NetBSD 5
=begin

=end
naruse (Yui NARUSE)
03:40 AM Bug #2997 (Closed): Patch for ext/tk/extconf.rb X11 build failure on NetBSD 5
=begin
[submitted directly to the ruby-core list, but I understand this is the preferred path]

I'm attempting to make ruby 1.9.1 build more easily/cleanly on NetBSD 5,
and ran into a problem inside ext/tk. Provided is a patch th...
skandragon (Michael Graff)
09:16 AM Revision b7257e27 (git): * configure.in (LDSHARED, CPP): keep $(CC). [ruby-core:28912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:16 AM Revision 91e6d017 (git): * configure.in (LDSHARED, CPP): keep $(CC). [ruby-core:28912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:21 AM Feature #3001 (Feedback): Ruby stdlib: Benchmark::Tms #memberwise drops labels
=begin
http://ruby-doc.org/stdlib/libdoc/benchmark/rdoc/classes/Benchmark/Tms.html#M000016-source

The implementation of Benchmark::Tms#memberwise only passes the computed time values when creating a new instance, e.g.:

...
DrErnie (Ernest Prabhakar)
06:08 AM Revision e3888976 (git): * vm_method.c (rb_add_method): prototype of rb_vm_get_sourceline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:34 AM Revision cb2f56aa (git): * win32/win32.c (rb_w32_read): limit read size to 16KB if the file
seems to be console. [ruby-core:28902]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:02 AM Bug #2319 (Closed): gethostbyname fails in windows
=begin
Seems to be working now.
=end
rogerdpack (Roger Pack)
01:25 AM Revision 152934a3 (git): * file.c (file_expand_path): set length of string before calling
rb_enc_check because rb_enc_check scans its content.
This prevents warnings by valgrind.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:03 AM Feature #1981 (Closed): [PATCH] CSV Parsing Speedup
=begin
Thanks for all the help Tim. We're all caught up now with all of your patches applied.
=end
JEG2 (James Gray)

03/23/2010

11:57 PM Feature #2710: Kernel#load loads a relative path
=begin
The same question here using ruby 1.9.2dev (2010-03-09 trunk 26858) [i686-linux], any update?
=end
dolzenko (Evgeniy Dolzhenko)
09:43 PM Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination
=begin
遠藤です。

2010年3月23日11:28 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> Kenta Murata さんは書きました:
>
>>> やるとしたら、length は「Enumerator 生成時での長さを返す」と揃えるのが
>>> いいのではないでしょうか。
>>
>> 良いと思います。

いやあ、気分は良くないですよね。自分で言っといて。


> おおもとの前提条件である...
mame (Yusuke Endoh)
11:28 AM Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination
=begin
Kenta Murata さんは書きました:

>> やるとしたら、length は「Enumerator 生成時での長さを返す」と揃えるのが
>> いいのではないでしょうか。
>
> 良いと思います。

いや、どうなんでしょうねえ。おおもとの前提条件である

> Array#permutation と Array#combination が生成する enumerator
> は要素数が確定できますが、

に疑問が投げかけられて...
shyouhei (Shyouhei Urabe)
09:23 PM Feature #2969: String#to_f が -h.hhh±pd を解釈できるように
=begin
> String#to_f は従来から指数表記を許していたので、
> String#hex などと使い分けている String#to_i 事情が違うと理解しています。

指数表現があることは関係あるんですかね。

to_i では 0x をデファオルトでは数値として見ない、そして to_i はオプショ
ンを受け付けるということ。もしこれがあまり意味のないことだったら、to_f
というより to_i の仕様に疑問が生じます。hex は関係なく、...
tadf (tadayoshi funaba)
05:27 AM Feature #2969: String#to_f が -h.hhh±pd を解釈できるように
=begin
成瀬です。

(2010/03/22 22:08), Tadayoshi Funaba wrote:
> 質問ですが、この形式は入力だけでなく、なんらかの方法で出力でも利用でき
> るのでしょうか。

sprintf フォーマットに %a と %A を追加する提案を予定しています。
(つまり、String#% にも追加される)

ただ、現状 missing/vsnprintf.c が %a %A に対応しておらず、
実装に時間がかかり...
naruse (Yui NARUSE)
07:15 PM Bug #2995 (Closed): TestHash#test_recursive_check fails
=begin
前田です。

以下の変更(r26961)で、TestHash#test_recursive_checkが失敗するようになっている
のですが、この変更は意図的でしょうか。

Wed Mar 17 16:25:53 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>

* hash.c (rb_hash_aset): allow recursive key. [ruby-co...
shugo (Shugo Maeda)
06:47 PM Feature #1082 (Closed): add Object#singleton_class method
=begin
This issue was solved with changeset r27022.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
shugo (Shugo Maeda)
06:41 PM Feature #1082: add Object#singleton_class method
=begin
Hi,

2010/3/22 Yukihiro Matsumoto <matz@ruby-lang.org>:
> |> Does Matz still hate "just a short form"?
> |
> |I don't think so.
> |Do you accept the patch, Matz?
>
> I accept.

I have committed it to the SVN trunk. Tha...
shugo (Shugo Maeda)
05:29 PM Revision 064c36a0 (git): * 2010-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:29 PM Revision e4bd450d (git): Giving proper credit for the new parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e James Edward Gray II
04:16 PM Feature #1981: [PATCH] CSV Parsing Speedup
=begin
Patch attached.

Thanks,
Tim Elliott
=end
ender672 (Timothy Elliott)
02:59 PM Revision 1bd11289 (git): * lib/csv.rb: Incorporating the fixes from the recent
FasterCSV releases: 1.5.2 and 1.5.3. [ruby-core:25038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
James Edward Gray II
02:00 PM Revision 0471422b (git): enable Object#inspect doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:59 PM Revision ab284526 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:38 AM Revision a3e10f38 (git): * object.c (rb_obj_singleton_class): new method
Kernel#singleton_class. [ruby-core:21702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
08:07 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Yusuke ENDOH wrote:

>> Hash doesn't provide fast search for partial string key.
>
> You mean prefix search, right?
> And, can partial *array* key be handled?

Ah, yes. Thanks, I did mean prefix.

And indeed, based on ...
spatulasnout (B Kelly)
07:53 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Jumping in with JRuby perspective..

I suppose this would be easiest for us to implement by wrapping the
built-in TreeMap from Java:

http://java.sun.com/j2se/1.5.0/docs/api/java/util/TreeMap.html

I have not looked over R...
headius (Charles Nutter)
07:50 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Bill Kelly wrote:
> Tanaka Akira wrote:
>> 2010/3/22 Bill Kelly <billk@cts.com>:
>>
>>> Hash doesn't provide fast search for partial string key.
>> RBTree doesn't provide it.
>> Because RBTree uses <=> for comparing element...
spatulasnout (B Kelly)
07:31 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Tanaka Akira wrote:
> 2010/3/22 Bill Kelly <billk@cts.com>:
>
>> Hash doesn't provide fast search for partial string key.
>
> RBTree doesn't provide it.
> Because RBTree uses <=> for comparing elements.
> The result of <...
spatulasnout (B Kelly)
01:04 AM Feature #2166 (Rejected): Add CreationError
=begin

=end
mame (Yusuke Endoh)

03/22/2010

11:37 PM Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination
=begin
むらたです。

On 2010/03/22, at 12:42, Yusuke ENDOH wrote:

> 2010年3月14日13:05 _ wanabe <redmine@ruby-lang.org>:
>> Enumerator#length は、一般に定義されていた方がなにかと便利な気がします。
>> また、同じクラスのオブジェクトが NoMethodError を起こしたり起こさなかったりするのは
>> 少し分かりにくいので、...
mrkn (Kenta Murata)
12:42 PM Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination
=begin
遠藤です。

2010年3月14日13:05 _ wanabe <redmine@ruby-lang.org>:
> Enumerator#length は、一般に定義されていた方がなにかと便利な気がします。
> また、同じクラスのオブジェクトが NoMethodError を起こしたり起こさなかったりするのは
> 少し分かりにくいので、なるべくなら避けた方がいいように思います。
> 長さが定義できないものについては、RuntimeError...
mame (Yusuke Endoh)
10:09 PM Feature #2969: String#to_f が -h.hhh±pd を解釈できるように
=begin
質問ですが、この形式は入力だけでなく、なんらかの方法で出力でも利用でき
るのでしょうか。

あと、これを浮動小数点数において16進数を受けつけるようにした、と解釈す
ると、たとえば、Integer では、

Integer('0xff') #=> 255
'0xff'.to_i #=> 0

という違いがあるようです。

Float('0xff.0p+0') #=> 255.0
'0xff.0p+0'.to_f #=>...
tadf (tadayoshi funaba)
08:47 PM Feature #2084 (Closed): Method#source_location and Methods Created with `attr`
=begin
This issue was solved with changeset r27016.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
wanabe (_ wanabe)
02:18 PM Feature #2084: Method#source_location and Methods Created with `attr`
=begin
> If you are reluctant to commit it without explicit approval, I'll
> commit it on my own responsibility.

Many thanks for your concern.
I'll apply it soon.
=end
wanabe (_ wanabe)
01:26 PM Feature #2084: Method#source_location and Methods Created with `attr`
=begin
Hi,

> Matz or Yugui, could you approve this?

Yugui has agreed with this feature on IRC.
But she said she had no responsibility for Method#source_location.
(I had misunderstood that she had committed it)

Well, b...
mame (Yusuke Endoh)
08:18 PM Revision 094d03c5 (git): * test/yaml/test_hash.rb (test_ref_append): adding a test for idref
append nodes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:06 PM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Hi,

Thank you for your detailed reply!


2010/3/22 Bill Kelly <billk@cts.com>:
> Hash is not maintained in key-sorted order.
>
> Hash does not offer upper_bound(key) or lower_bound(key)
> or bound(key1, key2) in O(log N...
mame (Yusuke Endoh)
07:06 PM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Yusuke ENDOH wrote:
> 2010/3/22 Bill Kelly <billk@cts.com>:
>> RBTree and MultiRBTree provide functionality which, with its
>> worst-case O(log N) search, insert, and delete complexity for
>> a sorted pair associative contain...
spatulasnout (B Kelly)
11:27 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Hi,

2010/3/22 Bill Kelly <billk@cts.com>:
> RBTree and MultiRBTree provide functionality which, with its
> worst-case O(log N) search, insert, and delete complexity for
> a sorted pair associative container can't be readily...
mame (Yusuke Endoh)
10:59 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Hi,

Yusuke ENDOH wrote:
>
> Is there case where we want to use RBTree directly, instead of set.rb?

I'm sorry if I've misunderstood - but it would not have occurred
to me to use 'set' to access RBTree's functionality.

...
spatulasnout (B Kelly)
09:40 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Hi,

2010/3/22 James Gray <redmine@ruby-lang.org>:
> Is there any chance we could get this incorporated before the 1.9.2 feature freeze?


This ticket is not simple since this feature seems to be against "Large
Class Princ...
mame (Yusuke Endoh)
05:16 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
This ticket doesn't have:
* Who maintain it
* Sufficient reason to bundle

If someone maintain it, the problem is, Is this worth to bundle?
So you should persuade, like:

* Gauche have RBTree http://practical-scheme...
naruse (Yui NARUSE)
04:26 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Is there any chance we could get this incorporated before the 1.9.2 feature freeze?
=end
JEG2 (James Gray)
07:34 PM Feature #973: EncDet again
=begin
2010/3/22 Yusuke Endoh <redmine@ruby-lang.org>:
>> 言い換えると、このライブラリの用途は様々な場面で必要である一方、実装が意外と難しいので、
>> 適切なライブラリを標準添付で提供しなければならないと思っています。
>> たとえ名前で合意がつかなかったとしても、yuguiさん判断で名前を決定し、添付するべきであろうと。
>
> とのことなので、入れた方がいいんじゃないかなと思っていました。

...
yugui (Yuki Sonoda)
12:11 PM Feature #973: EncDet again
=begin
遠藤です。

2010年3月20日16:00 Yugui <yugui@yugui.jp>:
> 2010/3/20 Yusuke ENDOH <mame@tsg.ne.jp>:
>> 再度いいますが、3 月末までに合意できないと自動的に流れますので、
>> 導入を狙っている人たちはがんばってください。
>
> 議論の過程でもうちょっと実例が集まることを期待したんですが、結局3例のままですよね。
> ならば流してもうちょっ...
mame (Yusuke Endoh)
04:15 PM Revision 0899c59b (git): * 2010-03-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:15 PM Revision a4fa54a1 (git): * ext/socket: use rsock_ prefix for internal initialization functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:11 PM Feature #1880: Hash#flatten Doesn't Operate Recursively for Hash Values
=begin
Hi,

> Hash#flatten claims to flatten recursively if given an argument specifying the depth. This works as expected for Array values, but has no bearing on Hash values.


I wonder why recursive Hash#flatten is needed :...
mame (Yusuke Endoh)
12:00 PM Feature #1599: ruby test_foo.rb --help do not show help message
=begin
Hi,

> I execute below command.
> I think it shows help messages, but execute tests only.
>
> $ ruby test_foo.rb --help
>
> For convenience, I want it to show help messages.


Ryan, what do you think about thi...
mame (Yusuke Endoh)
11:44 AM Revision 91533255 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)
11:44 AM Revision c46f7139 (git): * proc.c (rb_method_location): return attr's location if it is setup.
[Feature #2084]
* NEWS: follow above.
* vm_method.c (rb_add_method): save attr's location.
* gc.c (mark_method_entry): mark attr's location.
* method.h (rb_method_definition_t): add member to save attr's location.
* vm_eval.c (vm_ca...
wanabe (_ wanabe)
11:00 AM Feature #2013: [PATCH] a = *b calls b.*@
=begin
Hi,

> This makes the * operator operate more similarly to the + and - operators.

Interesting. It may be useful to simplify the semantics of multiple
assignment which is considered as one of most complex part of Ruby....
mame (Yusuke Endoh)
10:33 AM Revision dcd49e3b (git): * 2010-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:33 AM Revision 95c269a1 (git): * lib/date.rb (Date#>>): fixed. [ruby-core:28011]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:32 AM Revision 5d8f6950 (git): * lib/date.rb (Date#>>): fixed. [ruby-core:28011]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:20 AM Feature #1103: Ruby used for webrick cgi should be configurable
=begin
Hi,

> The ruby used for cgi in webrick is not configurable.
>
> This patch allows the ruby binary to be configurable so that ruby does not need to be installed to use webrick cgi.
>
> This also fixes webrick tests.
...
mame (Yusuke Endoh)
09:45 AM Revision 65248459 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:44 AM Feature #440 (Closed): Better introspection for methods (declaring class, arity)
=begin
Hi,

> Tools relying on introspection would benefit from having access to information such as:
> 1) where was a given method declared, and
> 2) how many arguments does a method accept.

I think the requests has alread...
mame (Yusuke Endoh)
09:37 AM Feature #1082: add Object#singleton_class method
=begin
Hi,

In message "Re: [ruby-core:28731] Re: [Feature #1082] add Object#singleton_class method"
on Thu, 18 Mar 2010 15:22:23 +0900, Shugo Maeda <shugo@ruby-lang.org> writes:

|> Does Matz still hate "just a short form"?
...
matz (Yukihiro Matsumoto)
09:01 AM Revision 0edceaa7 (git): * configure.in (RMDIRS): use rmdir -p if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:38 AM Revision cce8bbb7 (git): * Makefile.in ({dist,real}clean-ext): fix for removing ext
directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:23 AM Feature #1981: [PATCH] CSV Parsing Speedup
=begin
Thanks Timothy, but this patch doesn't include your latest fix from the FasterCSV side, to restore the strict parser behavior. This tests is currently failing:

def test_non_regex_edge_cases
# An early version of the...
JEG2 (James Gray)
03:33 AM Revision 1561d3fb (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:24 AM Revision 1a40be09 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:48 AM Revision 062780c8 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:06 AM Revision 0647517b (git): * ext/socket/.document: extracted from ext/.document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:02 AM Feature #2981: Array#repeated_(permutation|combination)
=begin
Hi matz,

2010/3/18 KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>:
> New methods Array#repeated_(permutation|combination).
>
> Like Array#(permutation|combination), these methods make
> repeated permutation or combination.

...
mame (Yusuke Endoh)

03/21/2010

07:57 PM Feature #2250 (Closed): IO::for_fd() objects' finalization dangerously closes underlying fds
=begin
This issue was solved with changeset r26999.
Mike, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:07 PM Bug #2742 (Closed): IO#read/gets can be very slow in doze
=begin
This issue was solved with changeset r26997.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
03:51 PM Revision c9e4e440 (git): * ext/socket/rubysocket.h (rsock_revlookup_flag): declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:03 PM Revision e98ffd97 (git): * symbian/setup (config.h): RUBY_EXEC_PREFIX defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
03:02 PM Revision 5befc5d5 (git): * 2010-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision f0c0d98d (git): * symbian/setup (config.h): RUBY_EXEC_PREFIX defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
12:36 PM Revision 83c2f60b (git): * lib/uri/common.rb (URI.encode_www_form_component):
convert strings of HTML5 ASCII incompatible encoding
to UTF-8.
* lib/uri/common.rb (URI.encode_www_form_component):
"\x83\x41" of Shift_JIS should be encoded as "%83A".
This follows real implementations.
* lib/uri/common.rb (URI....
naruse (Yui NARUSE)
12:10 PM Revision 66390013 (git): * lib/resolv-replace.rb: specify super class for rdoc.
* lib/ipaddr.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:52 AM Revision ed2dd5e3 (git): * io.c (rb_io_initialize): add autoclose argument to control close
at finalization. [ruby-core:26222]
* io.c (rb_io_autoclose_p, rb_io_set_autoclose): new methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:50 AM Revision daa73987 (git): * ext/socket: make sources rdoc friendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:04 AM Feature #2983 (Third Party's Issue): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin

=end
nobu (Nobuyoshi Nakada)
07:09 AM Feature #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
At least, to avoid divergence, I don't think we should make discussions in many places.

=end
nobu (Nobuyoshi Nakada)
09:04 AM Feature #2032 (Third Party's Issue): Change the license to "GPLv2+ or Ruby's original".
=begin

=end
nobu (Nobuyoshi Nakada)
09:04 AM Feature #2982 (Third Party's Issue): Ruby tries to link with both openssl and readline
=begin

=end
nobu (Nobuyoshi Nakada)
08:49 AM Feature #2982 (Open): Ruby tries to link with both openssl and readline
=begin

=end
nobu (Nobuyoshi Nakada)
05:38 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
On 2010-03-21 05:25:01 +0900, Michal Suchanek wrote:
> On 20 March 2010 20:50, Ryan Davis <ryand-ruby@zenspider.com> wrote:
> >
> > On Mar 19, 2010, at 15:42 , caleb clausen wrote:
> >
> >> How much effort would be needed to...
darix (Marcus Rückert)
05:25 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
On 20 March 2010 20:50, Ryan Davis <ryand-ruby@zenspider.com> wrote:
>
> On Mar 19, 2010, at 15:42 , caleb clausen wrote:
>
>> How much effort would be needed to internationalize libedit?
>
> Apparently this has already bee...
hramrach (Michal Suchanek)
04:51 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin

On Mar 19, 2010, at 15:42 , caleb clausen wrote:

> How much effort would be needed to internationalize libedit?

Apparently this has already been done, but not released yet. Aaron found recent commits in their repo that lo...
zenspider (Ryan Davis)
08:57 AM Revision cce4892c (git): * io.c (IO_RBUF_CAPA_FOR): use large buffer as cbuf if readconv is
needed for performance improvement. based on a patch by Roger Pack
in [ruby-core:28163]. [ruby-core:28162]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:15 AM Revision 8e63c340 (git): * tool/transcode-tblgen.rb: reuse hash object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:34 AM Bug #2992 (Closed): File operations leak file handles in Windows XP
=begin
Various operations on files leak file handles in Windows XP. In the two attached scripts, Task Manager will report ~30 open file handles for the ruby process at the first gets, then ~230 at the second gets.

This has only bee...
phiggins (Pete Higgins)
03:38 AM Revision 49d99372 (git): * tool/transcode-tblgen.rb (transcode_compile_tree): make
valid_encoding mandatory unless from_encoding is registered in
ValidEncoding.
(transcode_tbl_only): ditto.
(transcode_tblgen): ditto.
(ValidEncoding): new function.
* enc/trans/escape.trans: specify valid_encoding.
* enc/trans/...
akr (Akira Tanaka)
12:43 AM Revision f623979f (git): * io.c (IO_[CRW]BUF_CAPA_MIN): replaced magic numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:24 AM Revision 9a836831 (git): * 2010-03-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:24 AM Revision 82488cf2 (git): * object.c (rb_obj_hash): use LONG2FIX to avoid Bignum allocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:14 AM Feature #1358 (Rejected): net/http has no TRACK method - here's a patch
=begin
TRACK is only in IIS and source of vulnerability.
We can't add such method.

http://www.kb.cert.org/vuls/id/288308
http://www.symantec.com/business/security_response/attacksignatures/detail.jsp?asid=20419
=end
naruse (Yui NARUSE)

03/20/2010

11:12 PM Feature #2340: Removing YAML/Syck
=begin
(2010/03/19 4:24), Charles Oliver Nutter wrote:
> We would also like to know when this is official, since we're going to
> have to rewrite YAML support again.

It's decided by Yugui.
1.9.2 feature will be freezed in this mon...
naruse (Yui NARUSE)
08:48 PM Feature #2340: Removing YAML/Syck
=begin
(2010/03/20 6:33), Aaron Patterson wrote:
> On Thu, Mar 18, 2010 at 10:50:18PM +0900, Yui NARUSE wrote:
>> Issue #2340 has been updated by Yui NARUSE.
>>
>> Target version set to 1.9.x
>>
>> How about this status, Aaron?
>...
naruse (Yui NARUSE)
08:11 PM Bug #2629: ConditionVariable#wait(mutex, timeout) should return whether the condition was signalled, not the waited time
=begin
I guess you are right.
=end
hongli (Hongli Lai)
03:20 AM Bug #2629: ConditionVariable#wait(mutex, timeout) should return whether the condition was signalled, not the waited time
=begin
Hi,

2010/3/17 Yusuke Endoh <redmine@ruby-lang.org>:
> I could be wrong because I'm not familiar with multi-thread programming,
> but I doubt that it is potentially dangerous to depend on the reason of
> wait termination. C...
mame (Yusuke Endoh)
07:11 PM Feature #2032 (Assigned): Change the license to "GPLv2+ or Ruby's original".
=begin

=end
naruse (Yui NARUSE)
08:35 AM Feature #2032 (Closed): Change the license to "GPLv2+ or Ruby's original".
=begin
I close this ticket because it is duplication.
Also, note that libedit has been supported already,
libreadline will be disabled by --enable-libedit configure option.
=end
nobu (Nobuyoshi Nakada)
05:06 AM Feature #2032 (Assigned): Change the license to "GPLv2+ or Ruby's original".
=begin

=end
naruse (Yui NARUSE)
07:11 PM Feature #2983 (Open): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
Don't close duplicated tickets, all of them are closed if you close one of them > nobu
=end
naruse (Yui NARUSE)
08:35 AM Feature #2983 (Closed): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
I close this ticket because it is duplication.
Also, note that libedit has been supported already,
libreadline will be disabled by --enable-libedit configure option.
=end
nobu (Nobuyoshi Nakada)
05:58 AM Feature #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
Yes, but current its UTF-8 support is broken.
Moreover it is only UTF-8.

I heard they are working on supporting M17N, so it is good when that is done.
=end
naruse (Yui NARUSE)
05:35 AM Feature #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
libedit might be finally getting multibyte encodings - http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/?sortby=date - there appears to be a commit to add UTF-8 support
=end
wishdev (John Higgins)
05:06 AM Feature #2983 (Open): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
GPL3 problem is not resolved; this ticket is mistakenly closed because this is duplicated ticket with #2982.
=end
naruse (Yui NARUSE)
04:53 AM Feature #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
I'm surprised this was closed without discussion. How do you recommend we (Debian) solve that?
=end
lucas (Lucas Nussbaum)
04:01 PM Feature #973: EncDet again
=begin
2010/3/20 Yusuke ENDOH <mame@tsg.ne.jp>:
> 再度いいますが、3 月末までに合意できないと自動的に流れますので、
> 導入を狙っている人たちはがんばってください。

議論の過程でもうちょっと実例が集まることを期待したんですが、結局3例のままですよね。
ならば流してもうちょっと慎重に検討しても良いのではないでしょうか。まずはredmineにfeatureとして登録されたことで将来的に検討される可能性が残った...
yugui (Yuki Sonoda)
12:55 AM Feature #973: EncDet again
=begin
遠藤です。

2010年3月18日7:05 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> At Wed, 17 Mar 2010 22:46:43 +0900,
> Yusuke Endoh wrote in [ruby-dev:40687]:
>> ? 2) File.open 方式で決定する
>
>> #2 の選択肢は実現可能性が検証されていない気がするので、「パッチを
>> 書いてみたら実は難しい...
mame (Yusuke Endoh)
03:09 PM Bug #2976: cucumberでSEGV
=begin
#2529 #2786 がすでに出ていますね…
=end
sakuro (Sakuro OZAWA)
01:52 PM Revision d0fa628d (git): * string.c (rb_str_sum): use UCHAR_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:40 PM Feature #2065: An ancestors iterator
=begin
Well, what can I say? When you put it that way I'm sure this can all seem quite trivial in the grand scheme. Truth is most bottlenecks, including this one, are not so bad... just wait a second. Ruby will be fine with or withou...
bahuvrihi (Simon Chiang)
01:50 AM Feature #2065: An ancestors iterator
=begin
2010/3/20 Nikolai Weibull <now@bitwi.se>:
> On Fri, Mar 19, 2010 at 17:40, Nikolai Weibull <now@bitwi.se> wrote:
>> On Fri, Mar 19, 2010 at 16:45, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
>>> I'd like to make up for my stupid sugg...
mame (Yusuke Endoh)
01:42 AM Feature #2065: An ancestors iterator
=begin
On Fri, Mar 19, 2010 at 17:40, Nikolai Weibull <now@bitwi.se> wrote:
> On Fri, Mar 19, 2010 at 16:45, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
>> I'd like to make up for my stupid suggestion by giving a patch :-)
>> I can commit t...
now (Nikolai Weibull)
01:40 AM Feature #2065: An ancestors iterator
=begin
On Fri, Mar 19, 2010 at 16:45, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> I'd like to make up for my stupid suggestion by giving a patch :-)
> I can commit this if matz approves.

If I understood everything so far, we’re talking ...
now (Nikolai Weibull)
12:45 AM Feature #2065: An ancestors iterator
=begin
Hi,

2010/3/20 Simon Chiang <redmine@ruby-lang.org>:
> So to clarify... ?How much any piece of code of a bottleneck depends on how frequently the code gets run, and that is application-specific. ?In my own application, it IS e...
mame (Yusuke Endoh)
12:17 AM Feature #2065: An ancestors iterator
=begin
So to clarify... How much any piece of code of a bottleneck depends on how frequently the code gets run, and that is application-specific. In my own application, it IS enough of a bottleneck for me to make this request because ...
bahuvrihi (Simon Chiang)
10:18 AM Revision 750c9916 (git): * tool/transcode-tblgen.rb (ActionMap.unambiguous_action): use
Array#delete.
(ActionMap.merge2): defined.
(ActionMap::PostMemo): removed.
(transcode_compile_tree): use ActionMap.merge2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:48 AM Feature #1800: rubygems can replace system executable files
=begin
Marcus, by this idea, what happens when a gem is being newly installed, not updated and there is a file that the gem is to overwrite?
I think we cannot track gem's wrappers' checksums since the sh-bang line may differ envs to en...
sakuro (Sakuro OZAWA)
12:22 AM Feature #1800: rubygems can replace system executable files
=begin
Hi,

2010/3/20 Marcus Ruckert <redmine@ruby-lang.org>:
> Eric and myself discussed this on irc and came to the conclusion that rubygems would need to track binaries installed by gems with path and their checksum.
> When it up...
mame (Yusuke Endoh)
12:09 AM Feature #1800: rubygems can replace system executable files
=begin
Eric and myself discussed this on irc and came to the conclusion that rubygems would need to track binaries installed by gems with path and their checksum.
When it updates a gem it would only overwrite the binary if the checksu...
darix (Marcus Rückert)
09:47 AM Revision b7ed43e9 (git): * test/dl/test_handle.rb: skip some tests on mswin/mingw.
because RTLD_DEFAULT and RTLD_NEXT don't work well on windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
07:42 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
Unfortunately, I have no good suggestion as to how to get out of this mess. However, I want to make everyone aware that the problem is broader than is generally known. In addition to the readline extension, ruby ships with a gdbm...
coatl (caleb clausen)
05:54 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
Linked exeption is useless because:
* for openssl you can use Ruby's
* for both openssl and readline, readline's GPL2 infect Ruby
=end
naruse (Yui NARUSE)
05:32 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
I will see if that point of view works for the archive maintainers...
=end
lucas (Lucas Nussbaum)
05:29 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
When you want to link openssl, you use Ruby's.
When you want to link readline, you use GPL.
=end
naruse (Yui NARUSE)
05:08 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
But if we ship ruby under the terms of the ruby license, we are no longer allowed to link it to readline.
=end
lucas (Lucas Nussbaum)
05:04 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
You can link openssl and Ruby's Licensed Ruby.
=end
naruse (Yui NARUSE)
04:51 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
Why was this bug marked as closed?

Anyway. I asked the Debian people responsible for reviewing packages before their acceptance in the Debian archive. See http://lists.debian.org/debian-legal/2010/03/msg00037.html for the re...
lucas (Lucas Nussbaum)
05:17 AM Revision 4b6a7a46 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:27 AM Revision 9ce419a4 (git): * array.c (rb_ary_uniq_bang): the array is already unique if the
length is zero or one.
(rb_ary_uniq): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:36 AM Feature #1981: [PATCH] CSV Parsing Speedup
=begin
I updated the patch to against trunk. Attaching to this ticket update.

I took care to make it pass all tests, including the m17n tests in test/csv/test_encodings.rb . I have not tested it against m17n CSV files outside of th...
ender672 (Timothy Elliott)
12:32 AM Feature #1981: [PATCH] CSV Parsing Speedup
=begin
Timothy, is it possible for you to redo this patch against the current trunk, so I can look at what it would take to get it applied?

You mention that it is faster which is great. Are you also pretty confident that it mainta...
JEG2 (James Gray)
03:30 AM Revision 3657e155 (git): * lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 AM Revision c9dd4823 (git): * lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:07 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
Hi,

> How about overloading MatchData#values_at ?

Why do you attempt to reuse existing method? :-/
I think it is better to introduce new method like MatchData#all_values.


> >> 'haystack'.match(/(?<h>ay).+(?<h>...
mame (Yusuke Endoh)
02:32 AM Revision 772cc7a4 (git): * tool/transcode-tblgen.rb (each_firstbyte_range): tuned for less
method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:22 AM Feature #1047: request: getters, setters for the GC
=begin
Hi,

2010/3/20 Roger Pack <redmine@ruby-lang.org>:
> A little contrived still, but on my box, the things that help it improve are (believe it or not)
>
> -#define HEAP_MIN_SLOTS 10000
> +#define HEAP_MIN_SLOTS 100000
>
> ...
mame (Yusuke Endoh)
01:45 AM Feature #1047 (Assigned): request: getters, setters for the GC
=begin
Attaching demo file.
A little contrived still, but on my box, the things that help it improve are (believe it or not)

-#define HEAP_MIN_SLOTS 10000
+#define HEAP_MIN_SLOTS 100000

12.3s normal gc.c

to 10.4s

...
rogerdpack (Roger Pack)

03/19/2010

11:55 PM Feature #1800: rubygems can replace system executable files
=begin
Hi,

Eric Hodel has a duty to reply the ticket.

IMO, agreed with Run Paint. RubyGems should at least prompt.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
11:48 PM Feature #1082: add Object#singleton_class method
=begin
On Fri, Mar 19, 2010 at 7:20 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> I think that there is no one who disagree with signleton_class
> as "a short form of class << obj; self; end", except matz :-)
>
> And, I thought matz wa...
yugui (Yuki Sonoda)
07:22 PM Feature #1082: add Object#singleton_class method
=begin
Hi,

2010/3/19 Yugui <yugui@yugui.jp>:
> On Thu, Mar 18, 2010 at 3:22 PM, Shugo Maeda <shugo@ruby-lang.org> wrote:
>> I'm not sure whether it should be included in Ruby 1.9.2 or not.
>> What do you think of it, Yugui?
>
> ...
shugo (Shugo Maeda)
07:20 PM Feature #1082: add Object#singleton_class method
=begin
Hi,

2010/3/19 Yugui <yugui@yugui.jp>:
> On Thu, Mar 18, 2010 at 3:22 PM, Shugo Maeda <shugo@ruby-lang.org> wrote:
>> I'm not sure whether it should be included in Ruby 1.9.2 or not.
>> What do you think of it, Yugui?
>
> ...
mame (Yusuke Endoh)
07:01 PM Feature #1082: add Object#singleton_class method
=begin
On Thu, Mar 18, 2010 at 3:22 PM, Shugo Maeda <shugo@ruby-lang.org> wrote:
> I'm not sure whether it should be included in Ruby 1.9.2 or not.
> What do you think of it, Yugui?

You do not seem to have reached an agreement. We ...
yugui (Yuki Sonoda)
11:44 PM Feature #1374: location of already initialized constant
=begin
遠藤です。

このパッチは rb_classext_t をいじるので、private constant とともに
1.9.3 を目指しましょう。

ということで target を 1.9.x にします。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
11:31 PM Feature #1358: net/http has no TRACK method - here's a patch
=begin

=end
mame (Yusuke Endoh)
09:58 PM Feature #2166: Add CreationError
=begin
Hi, Hongli Lai --

Could you elaborate the background of introducing Tempfile::CreationError?
I'm not against the suggestion, but I cannot guess the rationale.

This ticket has been already left untouched in a half year...
mame (Yusuke Endoh)
09:02 PM Bug #1311: YAML::dump creates strings YAML::load cannot parse
=begin
Here's an other test case for a similar issue.

require 'yaml'

> c = File.read("yaml-error.txt")
> YAML.load(YAML.dump(c))
'rgumentError: syntax error on line 34, col 0: `--
from /Users/weppos/.rvm/ruby-1.8.7-p248/lib/r...
weppos (Simone Carletti)
08:56 PM Feature #2323: "Z".."Z".succが空
=begin

=end
mame (Yusuke Endoh)
07:02 PM Feature #1316: Phasor.rb: Complex number class using polar coordinates
=begin

=end
mame (Yusuke Endoh)
07:00 PM Feature #2117 (Closed): Binding to a class, a method from the class's superclass's metaclass, fails
=begin
Hi,

2009/9/24 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> Hi!
> ? Yes, I hesitated before making the change but my reasoning was:
> - past behavior contradicted the doc & intuition (at least mine! ;-)
> - no appa...
mame (Yusuke Endoh)
06:30 PM Feature #2250: IO::for_fd() objects' finalization dangerously closes underlying fds
=begin
Hi,

2010/3/19 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> Mike didn't seem to agree it. If he compromises with it, I'll
> commit it soon.

Regardless of whether he agrees or not :-), the feature or substitute is
actually nee...
mame (Yusuke Endoh)
02:29 PM Feature #2250: IO::for_fd() objects' finalization dangerously closes underlying fds
=begin
Hi,

At Thu, 18 Mar 2010 23:21:00 +0900,
Yusuke Endoh wrote in [ruby-core:28750]:
> > This is a patch to add :autoclose option to IO.for_fd and
> > IO.new.
>
> There seems to be no objection. Why don't you commit the pat...
nobu (Nobuyoshi Nakada)
04:39 PM Revision 7fde2619 (git): * test/dl/test_cfunc.rb (test_to_s): a result of sprintf("%x", ptr)
may contain 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
04:20 PM Revision 7e2fa5ad (git): * ext/dl/lib/dl/pack.rb (DL#pack): allow LLP64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)
04:18 PM Revision e40c43a1 (git): * test/dl/test_dl2.rb (DL::TestDL#ptr2num): add for LLP64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)
04:16 PM Revision faee1b6f (git): * 2010-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:16 PM Revision c28b2b9b (git): * test/dl/test_dl2.rb: require 'dl/func' to refer DL::Function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)
01:46 PM Feature #1047: request: getters, setters for the GC
=begin
On Thu, Mar 18, 2010 at 7:16 AM, Yusuke Endoh <redmine@ruby-lang.org> wrote:
> - The name `malloc_limit' is very arguable because it is too specific
>  to implementation-detail of MRI.

I really hope we would not start to see...
headius (Charles Nutter)
01:41 PM Feature #2000 (Closed): Change the license to "GPLv2+ or Ruby's original".
=begin

=end
nobu (Nobuyoshi Nakada)
01:41 PM Feature #2982 (Closed): Ruby tries to link with both openssl and readline
=begin

=end
nobu (Nobuyoshi Nakada)
12:25 AM Feature #2982: Ruby tries to link with both openssl and readline
=begin
Right, sorry. What I meant is that third-party developers might need to worry if they distribute libraries/gems linked with OpenSSL. Now, of course, it depends on your definition of linking.

Now, IANAL, and neither are you A...
lucas (Lucas Nussbaum)
01:41 PM Feature #2032 (Closed): Change the license to "GPLv2+ or Ruby's original".
=begin

=end
nobu (Nobuyoshi Nakada)
01:41 PM Feature #2983 (Closed): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin

=end
nobu (Nobuyoshi Nakada)
12:54 PM Revision b5388e85 (git): update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:41 PM Feature #2065: An ancestors iterator
=begin
Hi Simon,

2010/3/19 Simon Chiang <redmine@ruby-lang.org>:
> This is for 100k iterations, so no it's not a bottleneck but likewise that's not why I make this request. I make the request because it would be significantly faster...
mame (Yusuke Endoh)
05:37 AM Feature #2065: An ancestors iterator
=begin
Ok, I attached a benchmark that is designed to measure the time required for generating the ancestors array. It does so by comparing 'klass.ancestors.each' vs caching 'klass.ancestor' and iterating 'cache.each' (ie in the second ...
bahuvrihi (Simon Chiang)
01:28 AM Feature #2065 (Feedback): An ancestors iterator
=begin
Hi,

> It would be nice if there were a method that iterates ancestors without generating the ancestors array:
>
> SomeClass.each_ancestor do |ancestor|
> # ...
> end
>
> This could improve the performance...
mame (Yusuke Endoh)
08:12 AM Revision 0eb42786 (git): * ruby.h (RSTRING_*, RARRAY_*, RREGEXP_*, RSTRUCT_*, RBIGNUM_*):
ensure non-lvalue for compatibility with 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:24 AM Feature #2340: Removing YAML/Syck
=begin
We would also like to know when this is official, since we're going to
have to rewrite YAML support again.

On Thu, Mar 18, 2010 at 8:50 AM, Yui NARUSE <redmine@ruby-lang.org> wrote:
> Issue #2340 has been updated by Yui NARU...
headius (Charles Nutter)
02:13 AM Feature #2084: Method#source_location and Methods Created with `attr`
=begin
Hi,

> I wrote a patch. How about this?


+1, and I confirmed it passes make check and RubySpec.

Matz or Yugui, could you approve this?

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
01:00 AM Feature #2691 (Rejected): RCR: allow {select, collect, map} to accept symbol argument
=begin
Hi,

This ticket got four -1s, and there is no rebuttal.
So I close this ticket.


FYI, matz stated the rationale (in Japanese). [ruby-dev:32692]
He thought that "inject with Symbol" directly expressed the
intent...
mame (Yusuke Endoh)
12:20 AM Feature #2586 (Rejected): openssl: Load root certificates on Windows
=begin
Hi,

I think this ticket was already rejected in effect.
Naruse seems to be satisfied with the decision.

So I close the ticket.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
12:17 AM Feature #2565: adding hooks for better tracing
=begin
Hi Yugui,

2010/1/6 Yugui <yugui@yugui.jp>:
> I made a commit that embeded dtrace probes into Ruby so that you can
> profile a Ruby application at runtime. (r26235)
>
*snip*
>
> Here is a patch to add the hooks I and ko1 ...
mame (Yusuke Endoh)
12:08 AM Feature #2984: string split with capitalize
=begin
Oh, I'm sorry...you want String#titleize: http://railsapi.com/doc/rails-v2.3.5/classes/ActiveSupport/Inflector.html#M002755
=end
murphy (Kornelius Kalnbach)
12:04 AM Feature #2984: string split with capitalize
=begin
It has: http://www.ruby-doc.org/core/classes/String.html#M000799
=end
murphy (Kornelius Kalnbach)

03/18/2010

11:58 PM Bug #2976: cucumberでSEGV
=begin
別環境でも、と思い、Ubuntu 8.04 gcc 4.2.3 (atom) で動かしてみたところ(r26974)、
100回やって100回とも問題なく動作しました。OSX 10.6では状況変わらず。
=end
sakuro (Sakuro OZAWA)
02:28 PM Bug #2976 (Assigned): cucumberでSEGV
=begin
[ruby-dev:40679] からのスレッドでした。
[ruby-dev:40452] との関係性が指摘されていますが、過去には動いていたようなので、中田さんコメントお願いできますか
=end
naruse (Yui NARUSE)
12:12 AM Bug #2976 (Closed): cucumberでSEGV
=begin
一度-devに投げましたが改めてRedmineへ。

cucumberを実行するとpolyglot-0.3.0/lib/polyglot.rb の中で高確率でSEGVになります。

$ gem install cucumber
$ mkdir features
$ cucumber

r23000 から HEAD の間で bisect っぽいことをしてみたところ、

r24687 は問題なし。
r24688-2...
sakuro (Sakuro OZAWA)
11:45 PM Feature #2360 (Rejected): hide the internal of anonymous Enumerator
=begin
遠藤です。

> - Enumerator::Generator を匿名クラスにする (ARGF のように)
> - Generator.new や Yielder.new を禁止する
> - Enumerator#inspect で Generator の存在は隠す
>
> とするパッチを書いてみました。どうでしょう。


[ruby-dev:39685] で提案している private constant で解決する...
mame (Yusuke Endoh)
11:45 PM Feature #2982: Ruby tries to link with both openssl and readline
=begin
On Thu, Mar 18, 2010 at 5:37 AM, Lucas Nussbaum
<lucas@lucas-nussbaum.net> wrote:
> On 18/03/10 at 18:23 +0900, Yukihiro Matsumoto wrote:
>> In message "Re: [ruby-core:28735] [Bug #2982] Ruby tries to link with both openssl an...
austin (Austin Ziegler)
06:37 PM Feature #2982: Ruby tries to link with both openssl and readline
=begin
On 18/03/10 at 18:23 +0900, Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: [ruby-core:28735] [Bug #2982] Ruby tries to link with both openssl and readline"
> on Thu, 18 Mar 2010 17:01:38 +0900, Lucas Nussbaum <redmi...
lucas (Lucas Nussbaum)
06:23 PM Feature #2982: Ruby tries to link with both openssl and readline
=begin
Hi,

In message "Re: [ruby-core:28735] [Bug #2982] Ruby tries to link with both openssl and readline"
on Thu, 18 Mar 2010 17:01:38 +0900, Lucas Nussbaum <redmine@ruby-lang.org> writes:

|Ruby currently tries to link with...
matz (Yukihiro Matsumoto)
05:01 PM Feature #2982 (Third Party's Issue): Ruby tries to link with both openssl and readline
=begin
Hi,

Ruby currently tries to link with both OpenSSL (which is under the SSL license), and Readline (GPL).
This is not allowed. For more information, see for example http://people.gnome.org/~markmc/openssl-and-the-gpl.html a...
lucas (Lucas Nussbaum)
11:32 PM Feature #2321 (Rejected): [PATCH] Array Module sum and mean features
=begin
Hi,

> I have created a new patch for the Array Module of Ruby. The patch adds two complementary features: A sum function, that sums the elements in an array if they are numbers; and a mean (or average) function that finds th...
mame (Yusuke Endoh)
11:25 PM Feature #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
libedit doesn't support multibyte encodings.
=end
naruse (Yui NARUSE)
05:11 PM Feature #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
See [ruby-core:25272] and Feature request #2032:

http://redmine.ruby-lang.org/issues/show/2032
=end
luislavena (Luis Lavena)
05:04 PM Feature #2983 (Third Party's Issue): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
=begin
Hi,

The readline library was relicensed under GPLv3. Since Ruby is GPLv2 only, it is not allowed to link to readline.

Most distributions currently ship both the (old) GPLv2 readline version, and the new GPLv3 readline. ...
lucas (Lucas Nussbaum)
11:21 PM Feature #2984: string split with capitalize
=begin
try string.gsub(/\w+/){$&.capitalize}

You still want another method?
=end
naruse (Yui NARUSE)
08:31 PM Feature #2984 (Rejected): string split with capitalize
=begin
It would be awesome if string had a method to perform this action:

string.split(' ').each{ |s| s.capitalize! }.to_s
=end
pedromfs (Pedro Santos)
11:20 PM Feature #2250: IO::for_fd() objects' finalization dangerously closes underlying fds
=begin
Hi nobu,

> This is a patch to add :autoclose option to IO.for_fd and
> IO.new.

There seems to be no objection. Why don't you commit the patch?


> Hmm, there is no one-liner function, indeed.

I agree with ...
mame (Yusuke Endoh)
11:11 PM Revision 4f74adc5 (git): add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:50 PM Feature #2340: Removing YAML/Syck
=begin
How about this status, Aaron?

I'm ok that importing Psych is 1.9.3.
We, howerver, want to warn current Syck user about APIs which won't be available on Psych.

So please add warnings to current Syck implementation abou...
naruse (Yui NARUSE)
10:29 PM Feature #1596 (Closed): GC.time
=begin
遠藤です。

>  今まで何回 GC をやったか調べるための GC.count というのがあるのですが,
> これまでの GC にかかった時間を返す GC.time というメソッドを追加するのは
> どうでしょうか.

#2480 で GC::Profiler.total_time が導入されたので、close します。

せっかくなので何回か使ってみた経験を書いておきますと、生きている
オブジェクトが大量にある (=...
mame (Yusuke Endoh)
10:21 PM Feature #1193: Justified Error Messages
=begin
Hi,

> One nice thing about Test::Unit output is that failures are justified making string comparisons easier.

You may want to take a look at the thread from [ruby-core:18905].

Anyway, Ryan has a duty to reply this ...
mame (Yusuke Endoh)
09:54 PM Feature #1047: request: getters, setters for the GC
=begin
On 18.03.10 13:16, Yusuke Endoh wrote:
> My personal opinions:
>
> - Though I think a few rough "modes" is acceptable (e.g., -server and
> -clients of Java), such a specific parameter tuning is not Ruby way.
But it may be...
murphy (Kornelius Kalnbach)
09:16 PM Feature #1047 (Feedback): request: getters, setters for the GC
=begin
Hi,

> I've attached a patch adding getters and setters for HEAP_MIN_SLOTS and GC_MALLOC_LIMIT.


My personal opinions:

- Though I think a few rough "modes" is acceptable (e.g., -server and
-clients of Java), s...
mame (Yusuke Endoh)
08:53 PM Feature #1832: irb -w
=begin
On 18.03.10 12:22, Yusuke Endoh wrote:
>> It would be nice if either irb had a -w flag
>
> Maybe reasonable because irb has a -d flag already.
yes, please. half the time I start irb, I run into this inconsistency.

[murphy...
murphy (Kornelius Kalnbach)
08:18 PM Feature #1832: irb -w
=begin
Hi,

> It would be nice if either irb had a -w flag

Maybe reasonable because irb has a -d flag already.


diff --git a/lib/irb/init.rb b/lib/irb/init.rb
old mode 100644
new mode 100755
index f51fd1c..d428850
...
mame (Yusuke Endoh)
08:35 PM Revision 642305da (git): * 2010-03-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:35 PM Revision 053d89ca (git): * string.c (rb_str_sum): don't call method for each byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:48 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin

=end
naruse (Yui NARUSE)
04:24 PM Feature #2981: Array#repeated_(permutation|combination)
=begin
(from [ruby-dev:40601] )

Try to login with too short passwords.

("a".."z").to_a.repeated_permutation(5).find {|s| login(s.join) }

====

Check ruby parser with doubtful strings.

%w(( ) $ ` ' | & =).repeated_permutati...
metanest (Makoto Kishimoto)
03:40 PM Feature #2981: Array#repeated_(permutation|combination)
=begin
An example of number puzzle.

['+', '-', '*', '/', ''].repeated_permutation(8).each{|a, b, c, d, e, f, g, h|
s = "1#{a}2#{b}3#{c}4#{d}5#{e}6#{f}7#{g}8#{h}9"
n = eval s
if n == 100 then
p s
end
}
=end
metanest (Makoto Kishimoto)
03:32 PM Feature #2981: Array#repeated_(permutation|combination)
=begin
Sorry, the patch of [ruby-core:28724] has bug.

This is fixed version.

Index: array.c
===================================================================
--- array.c (revision 26970)
+++ array.c (working copy)
@@ -4047,7...
metanest (Makoto Kishimoto)
02:57 PM Feature #2981: Array#repeated_(permutation|combination)
=begin
A bit more: use cases are shown in Japanese ML (and I think they're OK), so please just translate them for non-Japanese speakers.
=end
shyouhei (Shyouhei Urabe)
02:18 PM Feature #2981: Array#repeated_(permutation|combination)
=begin
Show use case.
=end
naruse (Yui NARUSE)
12:11 PM Feature #2981 (Closed): Array#repeated_(permutation|combination)
=begin
New methods Array#repeated_(permutation|combination).

Like Array#(permutation|combination), these methods make
repeated permutation or combination.

Attachment: repeated_patch.txt
=end
metanest (Makoto Kishimoto)
03:22 PM Feature #1082: add Object#singleton_class method
=begin
Hi,

2010/3/17 Yusuke Endoh <redmine@ruby-lang.org>:
>> > Then, how about to introduce singleton_class as just a short form of
>> > class <<obj; self; end at first?
>>
>> I have attached a patch with a test.
>
>
> Any up...
shugo (Shugo Maeda)
12:24 PM Revision bd5e925c (git): * Makefile.in (miniruby): link $(NORMALMAINOBJ).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:53 AM Revision f9d64323 (git): * tool/transcode-tblgen.rb: scan singleton mappings sequentially.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:06 AM Feature #973: EncDet again
=begin
なかだです。

At Wed, 17 Mar 2010 22:46:43 +0900,
Yusuke Endoh wrote in [ruby-dev:40687]:
> 2) File.open 方式で決定する

> #2 の選択肢は実現可能性が検証されていない気がするので、「パッチを
> 書いてみたら実は難しいことがわかった → 1.9.2 見送り」という危険が
> あるかもしれません。

別に難しくはありません。

$ ...
nobu (Nobuyoshi Nakada)
06:37 AM Bug #2978 (Closed): TMP_RUBY_PREFIX sets incorrect values in gem prelude for ruby installed in $HOME
=begin
This issue was solved with changeset r26970.
Nikolai, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
04:47 AM Bug #2978: TMP_RUBY_PREFIX sets incorrect values in gem prelude for ruby installed in $HOME
=begin
actually, the bug seems to be reintroduced (by merge conflict?) in r26895, while r26885 already had the fix:

Date: Fri Mar 12 04:56:34 2010 +0000

* tool/compile_prelude.rb: TMP_RUBY_PREFIX should replace rubylibpr...
nlugovoi (Nikolai Lugovoi)
01:58 AM Bug #2978 (Closed): TMP_RUBY_PREFIX sets incorrect values in gem prelude for ruby installed in $HOME
=begin
For ruby (r26961), built and installed with configure --prefix=$HOME, I see odd values in Gem::ConfigMap that do not allow to load installed rubygems, see sample irb session:


irb(main):001:0> Gem::ConfigMap
=> {:EXEEXT=...
nlugovoi (Nikolai Lugovoi)
04:52 AM Revision c50494d6 (git): * io.c, eval.c, process.c: add linux to r26371's condition.
patched by Motohiro KOSAKI [ruby-core:28151]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:12 AM Feature #2542: URI lib should be updated to RFC 3986
Hi,
> I'll suggest to bundle Addressable and obsolete current URI lib,
> ...
This ticket seems to need much work.
I guess we can't make the deadline of spec freezing.
So I change the target to 1.9.x.
If you want 1.9.2 to include t...
mame (Yusuke Endoh)
02:00 AM Feature #2740: Extend const_missing to pass in the nesting
Hi,

Matz, do you accept Yehuda's suggestion?

Current status:

- Three persons (nobu, murphy and I) have approved.
- There is no objection.
- There is a patch written by nobu and murphy, though it has a
little bug. ...
mame (Yusuke Endoh)
01:27 AM Feature #2969 (Closed): String#to_f が -h.hhh±pd を解釈できるように
=begin
This issue was solved with changeset r26965.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
12:05 AM Revision e0250f59 (git): Add NEWS and fix ChangeLog.
* new methods:
* URI.encode_www_form
* URI.decode_www_form
* URI.encode_www_form_component
* URI.decode_www_form_component
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
 

Also available in: Atom