Project

General

Profile

Activity

From 06/11/2010 to 06/17/2010

06/17/2010

11:37 PM Bug #3443 (Closed): requireが遅くなる
=begin
This issue was solved with changeset r28351.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
06:10 AM Bug #3443: requireが遅くなる
=begin
三浦です

パッチありがとうございます。効果を確認しました。

> チケット #3443 が更新されました。 (by Yusuke Endoh)
>
> カテゴリ coreにセット
> 担当者 Yusuke Endohにセット
>
> 遠藤です。
>
> prepare_iseq_build の中で expand_path するのは確かに遅そうなので、
> rb_iseq_new を呼ぶ側でそれぞれ expand_path するよ...
Anonymous
11:36 PM Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty
=begin
Eric,

May I commit my patch?

--
Yusuke Endoh <[email protected]>
=end
mame (Yusuke Endoh)
10:29 PM Feature #3447: argument delegation
遠藤です。
2010年6月17日6:31 Yukihiro Matsumoto <[email protected]>:
> > 1. ブロックを引き継がせたいだけ (引数は変えたい) ときに不便
> ...
なるほど。「通常の引数とブロック引数をまとめて delegate したい」
と感じたことがあまりなかったので、動機を勘違いしていました。
`lib/` を粗っぽく探してみたら、24 箇所ほど見つかりました (メールの
最後に貼りつけてあり...
mame (Yusuke Endoh)
07:06 PM Feature #3447: argument delegation
まつもと ゆきひろです
In message "Re: [ruby-dev:41641] Re: [Feature:trunk] argument delegation"
on Thu, 17 Jun 2010 17:05:10 +0900, Shugo Maeda <[email protected]> writes:
> 私の経験では、`initialize`をオーバーライドするときに`super()`と書かないと
> ...
うーん、私...
matz (Yukihiro Matsumoto)
05:05 PM Feature #3447: argument delegation
前田です。
2010年6月17日14:53 Yukihiro Matsumoto <[email protected]>:
> > argument delegationについてはまだ態度を決めかねているのですが、
> ...
強いていえば前者ですが、ルールが少なくなることそのものがうれしい
のではなくて、通常のメソッド呼出しだと`()`を付けなくてもよいのに、
`super`のときだけ引数がないのに`()`を付けないといけないのが(見た目
的に)気持...
shugo (Shugo Maeda)
03:42 PM Feature #3447: argument delegation
 ささだです.
(2010/06/17 15:17), Yukihiro Matsumoto wrote::
> > 意味的にも,個人的には 1.9 の仕様が好きなのですが.
> ...
 書き換える自由があるので,そっちのほうがいいかなぁ,と.
---
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
03:17 PM Feature #3447: argument delegation
まつもと ゆきひろです
In message "Re: [ruby-dev:41636] Re: [Feature:trunk] argument delegation"
on Thu, 17 Jun 2010 15:03:33 +0900, SASADA Koichi <[email protected]> writes:
>  実装じゃなくてパフォーマンスを理由にお願いしました.引数領域のコピー
> ...
そういえばそうだったような。
>  ...
matz (Yukihiro Matsumoto)
03:15 PM Feature #3447: argument delegation
まつもと ゆきひろです
In message "Re: [ruby-dev:41631] Re: [Feature:trunk] argument delegation"
on Thu, 17 Jun 2010 12:05:22 +0900, Tanaka Akira <[email protected]> writes:
> そういう流れで今回のを見ると、あり得る方向だと思うわけですが、
> ...
「ひとつを変える」という意味がいまいち読み取れなかった...
matz (Yukihiro Matsumoto)
03:03 PM Feature #3447: argument delegation
(2010/06/17 14:53), Yukihiro Matsumoto wrote::
> 「`super`と同じ動作」というのが基本だと思います。本当は、通常
> ...
 実装じゃなくてパフォーマンスを理由にお願いしました.引数領域のコピー
を,スタックフレーム積むごとに行うのは嫌です(嫌なのは俺だけかも).
# `zsuper` があったときだけ,というのも `eval` があるから結局ダメ.
 意味的にも,個人的には 1.9 の仕様が好...
ko1 (Koichi Sasada)
02:53 PM Feature #3447: argument delegation
まつもと ゆきひろです
In message "Re: [ruby-dev:41634] Re: [Feature:trunk] argument delegation"
on Thu, 17 Jun 2010 13:58:53 +0900, Shugo Maeda <[email protected]> writes:
> argument delegationについてはまだ態度を決めかねているのですが、
> ...
うーん、`super`...
matz (Yukihiro Matsumoto)
01:59 PM Feature #3447: argument delegation
前田です。
argument delegationについてはまだ態度を決めかねているのですが、
`super(...)`が導入されたら、(警告を出すなどの移行ステップを経て)
括弧なし`super`は`super()`と同じ意味にしてしまってはどうでしょうか。
2010年6月17日6:31 Yukihiro Matsumoto <[email protected]>:
> 2. これは`super`でもそうですよね。昔、`super`は引数の変数に代...
shugo (Shugo Maeda)
12:05 PM Feature #3447: argument delegation
2010年6月17日6:31 Yukihiro Matsumoto <[email protected]>:
> > 1. ブロックを引き継がせたいだけ (引数は変えたい) ときに不便
> ...
今回の話にはなぜか触れられていないんですが、
この機能の背景のひとつにはキーワード引数があるように思えます。
キーワード引数を加えたときに、キーワード引数が
普通の引数でもブロック引数でもないものとすると、
すべての引数を引き渡すのに 3つそれぞれに...
akr (Akira Tanaka)
11:09 AM Feature #3447: argument delegation
まつもと ゆきひろです
In message "Re: [ruby-dev:41629] Re: [Feature:trunk] argument delegation"
on Thu, 17 Jun 2010 10:45:11 +0900, SASADA Koichi <[email protected]> writes:
https://bugs.ruby-lang.org/issues/3447#
>  それは置いといて,これ,そんなに使うんでしょうか...
matz (Yukihiro Matsumoto)
10:45 AM Feature #3447: argument delegation
 ささだです.
(2010/06/17 6:31), Yukihiro Matsumoto wrote::
> > argument delegation は、
> ...
 「実装上の制約」はそのとおりで,言語デザインとしてあるべきではないと思
います.
(実装が簡単かどうかは別の話ですけど)
 それは置いといて,これ,そんなに使うんでしょうか.あまり使わない機能
に,新しい記号を入れるのは抵抗があります.とくに,`foo(...)` と...
ko1 (Koichi Sasada)
06:31 AM Feature #3447: argument delegation
まつもと ゆきひろです
In message "Re: [ruby-dev:41625] Re: [Feature:trunk] argument delegation"
on Thu, 17 Jun 2010 03:36:56 +0900, Yusuke ENDOH <[email protected]> writes:
> argument delegation は、
> ...
1. については、ブロックを引き継がせたい時には、明示的にブロッ
...
matz (Yukihiro Matsumoto)
03:37 AM Feature #3447: argument delegation
遠藤です。
2010年6月16日18:57 Nobuyoshi Nakada <[email protected]>:
> http://www.rubyist.net/~matz/20100615.html#p01 を実装してみました。
argument delegation は、
- ブロックを引き継がせたいだけ (引数は変えたい) ときに不便
- 引数の変数へうっかり代入して、間違った引数が渡る事件が多発しそう
- `define_met...
mame (Yusuke Endoh)
09:15 PM Bug #3231: Digest Does Not Build
=begin
Thanks for the info. Can you or anyone please check if the clause 2 is new in VC++ 2010?
If that's the case, isn't there any compatibility option we can use to restore the old behavior?

I still hope this is a bug which wi...
knu (Akinori MUSHA)
04:12 AM Bug #3231: Digest Does Not Build
=begin
Hi,

2010/6/15 Akinori MUSHA <[email protected]>:
> Thanks so much for the detailed explanation. ?Can I ask you something? ?Does VC++ search directories in random order, or does it work under any specific rules that cha...
mame (Yusuke Endoh)
06:47 PM Bug #3444 (Closed): 実行スクリプトのパスに全角が含まれていると No such file or directory
=begin
This issue was solved with changeset r28349.
Masashi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
usa (Usaku NAKAMURA)
04:58 PM Revision d35f8ea8 (git): * object.c: Object#public_methods, private_methods, etc. returns
method ids that belong to the class or the singleton class(es) of
the object. [ruby-dev:41613]
* class.c: on the other hand, Module#public_instance_methods, etc.
returns method ids that belong to the module itself (even if the
mo...
mame (Yusuke Endoh)
04:35 PM Revision 9f9dad2c (git): * enc/Makefile.in (realclean): has been missing. necessary
for make realclean-enc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:26 PM Revision 191ad1b1 (git): * 2010-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision ab408009 (git): * lib/webrick/httpservlet/filehandler.rb
(prevent_directory_traversal): apply filesystem encoding to path
only during calling File.expand_path. [ruby-dev:41423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:16 PM Revision 7ee351aa (git): * 2010-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:16 PM Revision 9665094e (git): * configure.in (RMDIRS): reverts r27011 because it causes bothersome
messages on make clean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:33 PM Bug #3448: broken iconv library
=begin
It seems glibc iconv's bug; Mac OS X, FreeBSD and so on use GNU libiconv.
=end
naruse (Yui NARUSE)
01:08 PM Bug #3448 (Rejected): broken iconv library
=begin
Texts longer than ~8160 characters can create problems with iconv on some distributions:

require 'iconv'
Iconv.conv("iso-8859-1//ignore", "utf-8", "\305\253" + "a"*8159).size #=> 8159
Iconv.conv("iso-8859-1//ignor...
marcandre (Marc-Andre Lafortune)
03:19 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On 16/06/10 at 11:48 +0900, mathew wrote:
> However, I haven't seen a FSF statement as to whether distributing GPL2 code that links with GPL3 code is a violation.

I don't think it requires an FSF statement. It's obvious: if y...
lucas (Lucas Nussbaum)
04:25 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
Hi,

2010/6/16 mathew <[email protected]>:
> However, I haven't seen a FSF statement as to whether distributing GPL2 code that links with GPL3 code is a violation.

http://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility

...
mame (Yusuke Endoh)
02:32 PM Revision 2db57251 (git): * load.c (rb_load_internal): remove call to rb_realpath_internal
within rb_load_internal which caused big performance degradation.
Instead, call rb_realpath_internal in the caller of
rb_load_internal. [ruby-dev:41502] [ruby-dev:41610]
* vm.c (rb_vm_call_cfunc): ditto.
* eval_intern.h (rb_vm_cal...
mame (Yusuke Endoh)
01:31 PM Bug #3345: webrick test failure on Windows(?)
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:41632] Re: [Bug #3345] webrick test failure on Windows(?)"
on Jun.17,2010 12:39:06, <[email protected]> wrote:
> >> 担当者 Usaku NAKAMURAにセット
> >
> > え、なんで?
> > 報告したら担当しないといけないの?
>
...
usa (Usaku NAKAMURA)
12:39 PM Bug #3345: webrick test failure on Windows(?)
=begin
遠藤です。

2010年6月16日9:45 U.Nakamura <[email protected]>:
>> 担当者 Usaku NAKAMURAにセット
>
> え、なんで?
> 報告したら担当しないといけないの?

報告者だからではなく、windows のプラットフォームメンテナということで
担当者にさせてもらいました。メンテナがいないライブラリの、プラット
フォーム特有の問題はプラットフォームメンテナに見てもらうしか...
mame (Yusuke Endoh)
09:55 AM Revision e557b882 (git): merge from trunk (r28349)
* file.c (rb_str_encode_ospath): when the encoding of the parameter
is ASCII-8BIT, should recognize as filesystem encoding, and convert
to UTF-8 on Windows.
* file.c (realpath_rec): should convert to ospath encoding before
calling...
U.Nakamura
09:46 AM Revision 4df965f4 (git): * file.c (rb_str_encode_ospath): when the encoding of the parameter
is ASCII-8BIT, should recognize as filesystem encoding, and convert
to UTF-8 on Windows.
* file.c (realpath_rec): should convert to ospath encoding before
calling lstat().
* file.c (rb_realpath_internal): resolved string should tak...
U.Nakamura
09:24 AM Revision 6fefc895 (git): * ext/digest/sha2/lib/sha2.rb: revert r28347. It's my mistake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
08:39 AM Revision c07c5e1e (git): * ext/digest/sha2/lib/sha2.rb: Darwin uses ".bundle", but not ".so", for the filename extension part of native libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
08:39 AM Revision 6e8c346a (git): * 2010-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:39 AM Revision 2f2da243 (git): * ext/digest/sha2/extconf.rb: remove a check for uint64_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
06:11 AM Revision f4d7a34c (git): typo and spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:04 AM Revision 3a12a046 (git): * 2010-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:04 AM Revision 86d72ac7 (git): Revert "* parse.y (warn_unused_var): warn unused variables."
This reverts commit r28339 and r28340
because they prevents test-all on boron.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

06/16/2010

07:11 PM Feature #3447: argument delegation
まつもと ゆきひろです
In message "Re: [ruby-dev:41623] [Feature:trunk] argument delegation"
on Wed, 16 Jun 2010 18:57:40 +0900, Nobuyoshi Nakada <[email protected]> writes:
> http://www.rubyist.net/~matz/20100615.html#p01 を実装してみました。
...
matz (Yukihiro Matsumoto)
06:57 PM Feature #3447 (Closed): argument delegation
なかだです。
http://www.rubyist.net/~matz/20100615.html#p01 を実装してみました。
`foo(...)`でブロックまでコミ、`foo(..)`はブロック抜きにしてあります。
```
diff --git i/compile.c w/compile.c
index 4621cd9..d769c56 100644
--- i/compile.c
+++ w/compile.c
@@ -2729,7 +27...
nobu (Nobuyoshi Nakada)
06:27 PM Feature #3446 (Closed): unused variable warning
=begin
This issue was solved with changeset r28339.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:00 PM Feature #3446: unused variable warning
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:41620] [Feature:trunk] unused variable warning"
on Wed, 16 Jun 2010 17:44:02 +0900, Nobuyoshi Nakada <[email protected]> writes:

|http://d.hatena.ne.jp/kwatch/20100616/1276650107 ...
matz (Yukihiro Matsumoto)
05:44 PM Feature #3446 (Closed): unused variable warning
=begin
なかだです。

http://d.hatena.ne.jp/kwatch/20100616/1276650107 にある、未使用
変数に対する警告を実装してみました。


diff --git i/parse.y w/parse.y
index ebe9fef..8dbbacf 100644
--- i/parse.y
+++ w/parse.y
@@ -99,6 +99,7 @@ struct vtable {
struct ...
nobu (Nobuyoshi Nakada)
02:44 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
2010/6/16 Monty Williams <[email protected]>:
> On 6/15/10 7:48 PM, mathew wrote:
>> Having said all of that... I'd welcome Ruby being released under GPL v3.
>> If that cannot be done, or is not deemed desirable by Matz, then t...
naruse (Yui NARUSE)
11:48 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On Jun 14, 2010, at 22:48, Yusuke ENDOH wrote:
> I think you are right in your perspective.
> But the problem is, "can the core team distribute Ruby?"
>
> We actually distribute Ruby with readline binding.
> A user may link...
meta (mathew murphy)
09:45 AM Bug #3345: webrick test failure on Windows(?)
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:41615] [Bug #3345] webrick test failure on Windows(?)"
on Jun.16,2010 03:13:55, <[email protected]> wrote:
> 担当者 Usaku NAKAMURAにセット

え、なんで?
報告したら担当しないといけないの?


> > というわけで、...
usa (Usaku NAKAMURA)
03:13 AM Bug #3345: webrick test failure on Windows(?)
=begin
遠藤です。

> というわけで、以下のパッチでいちおう直るんですが、話としては他の
> プラットフォームでも発生してしかるべき問題のような気がするのに、
> どうも私しか踏んでないっぽいのはなぜでしょう?


File.expand_path("/webrick.cgi/\xA4\xDB\xA4\xB2/\xA4\xDB\xA4\xB2".force_encoding("ASCII-8BIT"))

のようなことが実行...
mame (Yusuke Endoh)
09:38 AM Revision 5a55408b (git): * ext/digest: Work around a build problem with VC++ 2010, likely
due to a bug of its cl.exe. [Bug #3231]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
09:35 AM Revision 4ac263ce (git): * parse.y: ripper needs warn_unused_var(), too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:20 AM Revision cf79bdc6 (git): * parse.y (warn_unused_var): warn unused variables.
[ruby-dev:41620]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:21 AM Revision 953f511b (git): * test/ruby/test_{regexp,rubyoptions}.rb: trivial change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:01 AM Revision c9915e5b (git): merge revision(s) 23485:
* lib/pathname.rb (Pathname#sub): suppress a warning.
[ruby-dev:38488]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:57 AM Revision 836271c2 (git): merge revision(s) 26344,27367:
* lib/net/http.rb (Net::HTTPHeader#{content_range,range_length}):
use inclusive range same as the header representation.
* test/webrick/utils.rb (TestWEBrick#start_server): add log for
test_filehandler.rb
gi...
shyouhei (Shyouhei Urabe)
06:45 AM Revision 465ce57d (git): * 2010-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:45 AM Revision b2161ffa (git): merge from trunk (r28333)
* error.c (rb_bug): existance of _set_abort_behavior() depends on
runtime version, not compiler version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:41 AM Revision de26eaba (git): * error.c (rb_bug): existance of _set_abort_behavior() depends on
runtime version, not compiler version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:22 AM Bug #3350: Protected methods & documentation
=begin
Hi,

> > Should I change the doc to reflect the current behavior, as per the patch below?

No objection. Please commit it.

--
Yusuke Endoh <[email protected]>
=end
mame (Yusuke Endoh)
02:08 AM Bug #3445: 1.9.2-preview3 で Object#extend すると public_methods(false) からメソッド名が消える
=begin
遠藤です。

元々は特異クラスのメソッドは引数が false でも列挙されていたのですが、
#2993 のために特異クラスのメソッドが列挙されなくなったことが原因です。

Module#public_instance_methods(false): 特異クラスのメソッドを列挙しない
Object#public_methods(false): 特異クラスのメソッドを列挙をする

とするパッチを書いてみました。ややこし...
mame (Yusuke Endoh)
02:00 AM Bug #3445 (Closed): 1.9.2-preview3 で Object#extend すると public_methods(false) からメソッド名が消える
=begin
[ruby-dev:41553] が redmine ML 連携の不調でチケット化されなかった
ようなので、手動で登録します。

-----

近永と申します。

1.9.2-preview3 および trunk にて、以下のように Object#extend すると
public_methods(false) で返すメソッドリストから元々あったメソッドが消えます。
これは仕様変更でしょうか? 1.9.1 および 1....
mame (Yusuke Endoh)

06/15/2010

11:19 PM Bug #3443: requireが遅くなる
=begin
遠藤です。

prepare_iseq_build の中で expand_path するのは確かに遅そうなので、
rb_iseq_new を呼ぶ側でそれぞれ expand_path するようなパッチを書いて
みました。
三浦さんから効果が確認してもらったらコミットしようと思います。


diff --git a/eval_intern.h b/eval_intern.h
index 909b10a..549953a 1...
mame (Yusuke Endoh)
11:16 PM Bug #3443 (Closed): requireが遅くなる
=begin
[ruby-dev:41502] をチケット化します。

-----

三浦と申します。

1年ぶりくらいに最新バージョンのRubyでyarv2llvmを動かしてみたら、
すごく時間がかかるようになっていたので調べてみました。
環境は以下の通りです。
  CPU AMD Athlon(tm)X2 Dual-Core QL-60 1.90 GHz

 RAM 4GBytes

OS ...
mame (Yusuke Endoh)
11:18 PM Bug #3444 (Closed): 実行スクリプトのパスに全角が含まれていると No such file or directory
=begin
実行スクリプトのパスに全角が含まれていると No such file or directory となり実行できません。

C:\ruby\192>dir /B
192.rb

C:\ruby\192>ruby -v 192.rb
ruby 1.9.2dev (2010-05-31) [i386-mingw32]
192.rb: No such file or directory - C:/ruby/192 (Errno::EN...
mojamoja_mixi (Masashi Suzuki)
10:40 PM Bug #3124: SocketError on SnowLeopard (during make test-all)
=begin
I filed this problem of apple's ruby-1.8.7 as ID:7548770 to http://bugreport.apple.com/ at 2010-01-16.
The status the report is still "OPEN".
=end
kimuraw (Wataru Kimura)
04:43 PM Revision 3ccd6c0a (git): * ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded.
On Debian/lenny, which is a "supported" platform, ffi.h is installed
in /usr/include/i486-linux-gnu/. This causes build error when using
gcc whose target is not i486-linux-gnu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2833...
mame (Yusuke Endoh)
03:08 PM Revision 06ecaa49 (git): * 2010-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 29b22ba2 (git): * test/ruby/test_io.rb (safe_4): does not use Timeout because
Timeout.timeout uses Thread#kill which raises SecurityError when
$SAFE == 4. based on a patch from Tomoyuki Chikanaga.
[ruby-dev:41484]
* test/ruby/test_io.rb (test_print_separators): use pipe (test helper
method) instead of IO.p...
mame (Yusuke Endoh)
12:48 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
Hi,

2010/6/15 mathew <[email protected]>:
> The GNU Public License is *not* an EULA. You do not have to agree to
> it in order to download and use GPL-licensed software. As David Jones
> points out at <http://drj11.wordpress.c...
mame (Yusuke Endoh)
01:25 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On Tue, Jun 8, 2010 at 09:12, Yusuke ENDOH <[email protected]> wrote:
>
> Though I think "or GPLv3" is much better if matz allows,
> I'll commit the following patch unless there is objection:

[...]
>
> +DO NOT LINK Ruby WITH...
meta (mathew murphy)
12:45 PM Bug #3231: Digest Does Not Build
=begin
Thanks so much for the detailed explanation. Can I ask you something? Does VC++ search directories in random order, or does it work under any specific rules that changed in VC++ 2010?

In Unix, there is a spec in SUS that t...
knu (Akinori MUSHA)
09:19 AM Bug #3231: Digest Does Not Build
=begin
In building process, both ext/digest/extconf.h and ext/digest/md5/extconf.h exist.
If you specify -I.. in ext/digest/md5 and #include <extconf.h>, compiler cannot
decide to include whether ext/digest/extconf.h or ext/digest/m...
usa (Usaku NAKAMURA)
12:13 PM Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter
=begin
I am on Snow Leopard (10.6.3) with:

sqlite3 3.6.12

ruby 1.9.2dev (2010-05-31 revision 28117) [x86_64-darwin10.3.0]

Rails 3.0.0.beta4 (in bundler)

=end
joemsak (Joe Sak)
12:48 AM Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter
=begin

=end
tenderlovemaking (Aaron Patterson)
08:16 AM Revision 6e10636d (git): * ext/fiddle/extconf.rb: De Morgan's laws.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e eban (Hirofumi WATANABE)
06:05 AM Feature #3436: Spawn the timer thread lazily
=begin
Unfortunately, that timer thread is also somehow involved with the select statement that lurks at the bottom of ruby's io system like tiamat in the deepest pit of hell. If you get rid of the timer thread, you break io. I don't ex...
coatl (caleb clausen)
04:48 AM Revision 77f0c306 (git): Refix test_regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:14 AM Revision 423b4d81 (git): * ext/fiddle/extconf.rb: use pkg_config to find ffi.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e eban (Hirofumi WATANABE)
01:50 AM Revision 895b0d4c (git): Refix for test_dup_warn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:47 AM Revision b665838e (git): * 2010-06-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:47 AM Revision c0ec23d1 (git): * bignum.c (rb_big2dbl), test/ruby/test_bignum.rb (test_to_f): A negative Bignum out of Float range should be converted to -Infinity. [ruby-core:30492] [Bug #3362]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
12:09 AM Revision a1a529e6 (git): * Makefile.in (clean-enc): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

06/14/2010

10:47 PM Bug #3433 (Closed): Error that occurs by BasicSocket#sendmsg
=begin
This issue was solved with changeset r28320.
Masaya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
akr (Akira Tanaka)
09:55 AM Bug #3433: Error that occurs by BasicSocket#sendmsg
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:41602] Re: [Bug #3433] Error that occurs by BasicSocket#sendmsg"
on Jun.13,2010 23:39:48, <[email protected]> wrote:
> > r24199と関連するのですが、sendmsgが実装されていない場合に発生するエラーとして、
> > こちらの環境ではNotI...
usa (Usaku NAKAMURA)
07:12 AM Bug #3433: Error that occurs by BasicSocket#sendmsg
=begin
>
>> これで、
>> test_udp_server(TestSocket)
>> test_sendmsg_nonblock_error(TestSocketNonblock)
>> がErrorになっています。
>
> テストで rescue する例外に Errno::ENOSYS を加えると解決しますか?

解決というと曖昧なのでYes/Noで答えられませんが、
現象だけでいうとErrorのかわりにSkipになります。

...
tarui (Masaya Tarui)
09:00 PM Bug #3231: Digest Does Not Build
=begin

=end
knu (Akinori MUSHA)
08:15 PM Bug #3231: Digest Does Not Build
=begin
I think I misread the patch.
Digest submodules should be able to include digest.h without having to use a relative path form, while that's not the case for defs.h.

Let me think awhile about what the real problem is here.
...
knu (Akinori MUSHA)
06:58 PM Bug #3231: Digest Does Not Build
=begin
I'll handle this.

This fix is okay for me because defs.h is intended to be for internal use inside ext/digest/.
=end
knu (Akinori MUSHA)
10:09 AM Bug #3231 (Assigned): Digest Does Not Build
=begin
This patch shows only concept to fix.
The maintainer should think how to do now. It's not my task.
=end
usa (Usaku NAKAMURA)
05:57 PM Bug #3370 (Closed): test failure of drb
=begin
This issue was solved with changeset r28316.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
seki (Masatoshi Seki)
05:32 PM Revision 1d408c93 (git): * Makefile.in, common.mk (clean-ext, clean-enc): clean up cleaning
targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:46 PM Revision 9e38ffc3 (git): * 2010-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:46 PM Revision 3a4231cd (git): * test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYS
for Windows.
* test/socket/test_nonblock.rb (test_sendmsg_nonblock_error): ditto.
[ruby-dev:41597] reported by Masaya Tarui.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:46 PM Revision b7fe55b3 (git): * test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYS
for Windows.
* test/socket/test_nonblock.rb (test_sendmsg_nonblock_error): ditto.
[ruby-dev:41597] reported by Masaya Tarui.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:36 AM Revision 0556fa02 (git): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
09:34 AM Revision 21bcae09 (git): * 2010-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:34 AM Revision 36c13a6d (git): raise DRbConnError instead of ArgumentError if too many arguments.
[ruby-dev:41481]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masatoshi SEKI
08:52 AM Revision b54b86d8 (git): raise DRbConnError instead of ArgumentError if too many arguments.
[ruby-dev:41481]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masatoshi SEKI

06/13/2010

11:40 PM Bug #3433: Error that occurs by BasicSocket#sendmsg
=begin
2010年6月13日3:06 Masaya Tarui <[email protected]>:
>
> r24199と関連するのですが、sendmsgが実装されていない場合に発生するエラーとして、
> こちらの環境ではNotImplementedErrorではなくErrno::ENOSYSが発生します。

Windows 上の ruby における sendmsg の実装をよく分かっていないのですが、
コンパイルした環境から他の環境に...
akr (Akira Tanaka)
07:45 AM Bug #3433: Error that occurs by BasicSocket#sendmsg
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:41597] [Bug #3433] Error that occurs by BasicSocket#sendmsg"
on Sun, 13 Jun 2010 03:06:34 +0900, Masaya Tarui <[email protected]> writes:

|r24199と関連するのですが、sendmsgが実装されていない場合に発生...
matz (Yukihiro Matsumoto)
03:01 AM Bug #3433 (Closed): Error that occurs by BasicSocket#sendmsg
=begin
r24199と関連するのですが、sendmsgが実装されていない場合に発生するエラーとして、
こちらの環境ではNotImplementedErrorではなくErrno::ENOSYSが発生します。


ドキュメントにはエラーについて書いていないのですが、どちらが正解かまた両方ありえるのか、
どうなんでしょうか?

これで、
test_udp_server(TestSocket)
test_sendmsg_nonbloc...
tarui (Masaya Tarui)
08:31 PM Feature #3436 (Closed): Spawn the timer thread lazily
=begin
As discussed in http://redmine.ruby-lang.org/issues/show/1820, Ruby 1.9.1
always spawns a timer thread which is required to handle scheduling of Ruby
threads. Rubinius did the same and I suggested to only spawn the thread if...
mxey (Maximilian Gass)
07:06 PM Revision 7eec027f (git): * ext/fiddle/closure.c (dealloc): refix workaround r28300.
don't use ffi_closure_alloc, ffi_prep_closure_loc and
ffi_closure_free on MACOSX and __linux__.
[ruby-dev:41483] [ruby-dev:41214]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:53 PM Revision 065b574b (git): * 2010-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:53 PM Revision ca2402f5 (git): retry to fix test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:29 PM Bug #3434 (Closed): Specs for coercion?
=begin
What are the official specs of coercion for mathematical classes?

I will take Matrix as an example, but my questions are meant to be for the general case.

My understanding is that for a `obj.coerce(obj_2)` should retu...
marcandre (Marc-Andre Lafortune)
06:47 AM Revision d1dd7275 (git): * test/ruby/test_rubyoptions.rb: add a simple test for __END__ and
DATA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
05:01 AM Revision 58f77917 (git): try to fix test for boron.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:27 AM Bug #2224 (Closed): lib/delegate: operator delegation
=begin
This issue was solved with changeset r28309.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
marcandre (Marc-Andre Lafortune)
02:17 AM Bug #3432 (Closed): bad conversion from UTF8-MAC
=begin
This issue was solved with changeset r28307.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
01:47 AM Bug #3371: test-all aborted on amd64 lenny
r28300 の変更で Abort はしなくなりましたが、ext/fiddle/closure.c:dealloc だけではなく ext/fiddle/closure.c:allocate も変更する必要があるのではないでしょうか?
znz (Kazuhiro NISHIYAMA)
12:37 AM Bug #3371 (Closed): test-all aborted on amd64 lenny
This issue was solved with changeset r28300.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
naruse (Yui NARUSE)

06/12/2010

10:47 PM Bug #3432 (Assigned): bad conversion from UTF8-MAC
=begin

=end
nobu (Nobuyoshi Nakada)
07:54 PM Bug #3432 (Closed): bad conversion from UTF8-MAC
=begin
Ruby does not convert well from UTF8-MAC to UTF-8

The attached script shows it is the only encoding to behave that way and which is compatible 'é' or 'è' in UTF-8.

The results is:
UTF8-MAC Backward conversion: not the...
Eregon (Benoit Daloze)
07:28 PM Revision 4e968660 (git): Backport revision 28309:
* lib/delegate.rb: Delegate !=, eql? and hash [ruby-core:26139]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
07:25 PM Revision 0486db01 (git): * lib/delegate.rb: Delegate !=, eql? and hash [ruby-core:26139]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:18 PM Revision 1b5c41b4 (git): merge revision(s) 28307:
* enc/trans/utf8_mac.trans (buf_apply): fix for patterns
whose result is 2 bytes. [ruby-core:30751]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:13 PM Revision 78f5b54f (git): * enc/trans/utf8_mac.trans (buf_apply): fix for patterns
whose result is 2 bytes. [ruby-core:30751]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:41 PM Revision b27ec368 (git): merge revision(s) 28305:
* time.c (rb_localtime_r2): fix mixed declarations and code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:40 PM Revision 051af243 (git): * time.c (rb_localtime_r2): fix mixed declarations and code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:37 PM Revision 03efb12a (git): merge revision(s) 28302:
* ext/dl/lib/dl.rb: don't require when already loaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:37 PM Revision 6fcf972c (git): merge revision(s) 28300:
* ext/fiddle/closure.c (dealloc): workaround fix for libffi's
ffi_closure_free. [ruby-dev:41483] [ruby-dev:41214]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:28 PM Revision 75033ea1 (git): * ext/dl/lib/dl.rb: don't require when already loaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:28 PM Revision 2be63247 (git): * 2010-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:28 PM Revision 54221610 (git): * ext/fiddle/closure.c (dealloc): workaround fix for libffi's
ffi_closure_free. [ruby-dev:41483] [ruby-dev:41214]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:42 PM Bug #3123: uninitialized constant Object::C (NameError)
=begin
whiteleaf と申します。

> むしろ Object:: がついた方が
> 初学者には親切なのでは、という気もするのですが。

親切だと思えるのはトップレベルで定義した場合 Object に定義される
と知っているからだと思います。
Ruby を使う上では知っておくべき情報だとは思いますが、初学者にとって
は混乱のもとな気もします。

私も重大な問題ではないとは思いますが。
=end
whiteleaf (whiteleaf _)
02:12 PM Bug #3123: uninitialized constant Object::C (NameError)
=begin
遠藤です。

2010年6月12日11:28 Tadashi Saito <[email protected]>:
>> > いつの間にかトップレベルでの uninitialized constant で Object:: が付くようになってしまっています。
>>
>> 確かにバグだと思いますが明らかに重大でないことと、直そうとすると
>> 意外と面倒っぽく、revert するのはそっちの方が大変更になるので、
>> 1.9...
mame (Yusuke Endoh)
09:27 AM Bug #3123 (Closed): uninitialized constant Object::C (NameError)
=begin
This issue was solved with changeset r28293.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
02:24 PM Bug #3231 (Open): Digest Does Not Build
=begin
Hi, Usaku

Could you please commit your patch?

--
Yusuke Endoh <[email protected]>
=end
mame (Yusuke Endoh)
07:56 AM Revision d65d2384 (git): * test/ruby/test_module.rb (test_attr_inherited_visibility): see [ruby-core:30638].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:04 AM Bug #3430 (Closed): ENV 'MAKE' is not considered in the gem test.
=begin
nmake install test-all
とした場合に、テストで環境変数を考慮していないため、

test_self_build_has_makefile(TestGemExtConfigureBuilder)
test_class_build(TestGemExtExtConfBuilder)
test_class_build(TestGemExtExtConfBuilder)

Expected "nmake", n...
tarui (Masaya Tarui)
04:06 AM Revision 99058e83 (git): * test/ruby/test_module.rb (test_uninitialized_toplevel_constant): test for [ruby-dev:40951].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:03 AM Feature #3427: instances of Dir class can't be compared
=begin
Oh, I see. Dir is actually a directory handle. I was thinking it was just a wrapper around the directory name; more akin to a Pathname than a File.

I agree, that makes == for Dir instances much less likely to be needed.
=end
coatl (caleb clausen)
02:12 AM Feature #3427: instances of Dir class can't be compared
=begin
Hi,

2010/6/11 caleb clausen <[email protected]>:
> Dir#== and friends seem to be absent.

In principle, absent method is not a bug.
I move this ticket to 1.9.x feature.

File#== is also absent, but I think it...
mame (Yusuke Endoh)
03:59 AM Bug #3371: test-all aborted on amd64 lenny
This is because of libffi's bug.
It seems fixed in 3.0.5.
> 3.0.5 Apr-3-08
> ...
http://d.hatena.ne.jp/moriyoshi/20080322/1206220188
So we need some workaround.
naruse (Yui NARUSE)
03:49 AM Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty
=begin
Ruby 1.8's ri never prints _any_ escape sequences... at least, I know that's true in 1.8.6.
=end
coatl (caleb clausen)
02:10 AM Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty
=begin
ruby 1.8.x don't have this issue. in other word, this is regression.
=end
kosaki (Motohiro KOSAKI)
01:50 AM Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty
=begin
Hi,

2010/6/11 caleb clausen <[email protected]>:
> ri should only use ansi escape sequences if explicitly asked for or if stdout is known to be a tty. Otherwise, ugliness will occur when piping ri's output to something...
mame (Yusuke Endoh)
02:58 AM Revision c0ea75f9 (git): * test/ruby/test_method.rb (test_public_methods_with_extended): test for [ruby-dev:41553].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:07 AM Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter
=begin
I will certainly report back to you on my version of sqlite3 and whether an upgrade helps

Thanks for the quick responses, all. Sorry if this is a waste of time
=end
joemsak (Joe Sak)
01:54 AM Bug #3419 (Feedback): 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter
=begin
Possibly third party's issue. Downgraded to Low-priority.
Please inform us if you find anything indicating ruby core's bug.
Thanks.

--
Yusuke Endoh <[email protected]>
=end
mame (Yusuke Endoh)
02:00 AM Feature #3426: exec doesn't allow command lines which begin with an env variable assignment
=begin
See #3321. At least, this won't be fixed in 1.9.2.

But many people seem to hope this spec to be changed and I can
understand them. Let's discuss towards 1.9.x.
I move this ticket to 1.9.x feature tracker.

--
Yu...
mame (Yusuke Endoh)
01:06 AM Bug #3385: ext/dbm: accept various version of db
=begin
> Berkeley DB は API の互換性とかにちゃんと気を使っている立派な
> プロジェクトなんですかね。OpenSSL とか Ruby とか見てるとどうも
> 疑い深くなってしまいます。
Berkley DBとしては4.6と4.7で非互換があって、/usr/pkgsrc/databased/db46 とかが存在します。

あくまでも「dbm互換の部分」だけに限れば、dbm自体がそんなに非互換が出てくるところは考えにくく、
...
taca (Takahiro Kambe)
12:45 AM Bug #3385 (Closed): ext/dbm: accept various version of db
=begin
遠藤です。

> > 実際にそれぞれのバージョンでビルドして、test/dbm/ がパスすることを
> > 確認して頂いたということでしょうか。
> テストまではしていません。ただ、dbmの互換ライブラリとして各バージョンのBerkeley DBを使う分に、
> それほど問題が出てくるとも思えません。

Berkeley DB は API の互換性とかにちゃんと気を使っている立派な
プロジェクトなんですかね。OpenSSL...
mame (Yusuke Endoh)
01:05 AM Revision 622fb1ca (git): * io.c (rb_f_syscall): should check argument string taint before
invoking system calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
01:04 AM Revision 7d9714b4 (git): * 2010-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:04 AM Revision ebee5276 (git): * io.c (rb_f_syscall): should check argument string taint before
invoking system calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
12:20 AM Revision ff025270 (git): * variable.c (uninitialized_constant): process through
rb_class_real() to remove "Object::" from error message.
[ruby-dev:40951]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)

06/11/2010

11:47 PM Bug #3123: uninitialized constant Object::C (NameError)
=begin
遠藤です。

> いつの間にかトップレベルでの uninitialized constant で Object:: が付くようになってしまっています。

確かにバグだと思いますが明らかに重大でないことと、直そうとすると
意外と面倒っぽく、revert するのはそっちの方が大変更になるので、
1.9.2 では WONTFIX とします。
1.9.3 以降で元の挙動に戻ることはありえます。

--
Yusuke En...
mame (Yusuke Endoh)
11:45 PM Feature #3429: Integer#**(large) warns "in a**b, b may be too big" and return Infinity
=begin
On 11 June 2010 15:58, Yusuke Endoh <[email protected]> wrote:
| I agree that it is not good behavior, but it is definitely intended
| and traditional behavior.  Not a bug.

For a mathematician, and even if he takes care ...
Eregon (Benoit Daloze)
10:58 PM Feature #3429: Integer#**(large) warns "in a**b, b may be too big" and return Infinity
=begin
Hi,

I agree that it is not good behavior, but it is definitely intended
and traditional behavior. Not a bug.

1.9.2 should not be changed. Let's discuss towards 1.9.3.
I move to 1.9.x feature request.

--
Yu...
mame (Yusuke Endoh)
10:37 PM Feature #3429: Integer#**(large) warns "in a**b, b may be too big" and return Infinity
=begin
"And Integer**Integer should always return an Integer (Infinity is a Float)"
=> I meant Integer**(positive Integer) of course
=end
Eregon (Benoit Daloze)
10:36 PM Feature #3429 (Closed): Integer#**(large) warns "in a**b, b may be too big" and return Infinity
=begin
Hi,

Trying to do
int**some_large_number can result in
"warning: in a**b, b may be too big"
#=> Infinity
By example,
2**7830457

It is not good behavior, as we can make a workaround and it works perfectly:
# ...
Eregon (Benoit Daloze)
11:07 PM Bug #3384 (Closed): ext/openssl: avoid to use cast
=begin
This issue was solved with changeset r28282.
Takahiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
11:04 PM Bug #3384: ext/openssl: avoid to use cast
=begin
http://cvs.openssl.org/fileview?f=openssl/crypto/stack/safestack.h&v=1.14
で入ったAPIのようなので、単に古いまま残っているだけのようですね。
なのでtrunkには取込みます。
=end
naruse (Yui NARUSE)
10:48 PM Bug #3384: ext/openssl: avoid to use cast
=begin
> cast を使用していると問題があるでしょうか。
そう言われてしまうと身も蓋もありません。本来のOpenSSLが提供しているAPIを避けて、キャストを使い続けるのはどうなんだろうと思った次第です。将来のOpenSSLのリリースに向けた移植性という面では確実に不利ではないでしょうか?

> 今は下手にいじりたくないなと思います。
1.9.2のリリースまでに修正して欲しいとも思ってはいません。
=end
taca (Takahiro Kambe)
11:03 PM Revision fbfd5fdc (git): * ext/openssl/extconf.rb: __VA_ARGS__ is already checked in configure.
* ext/openssl/extconf.rb: use try_static_assert for version check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:53 PM Bug #3385: ext/dbm: accept various version of db
=begin
> 確認ですが、バージョン 3 から 5 を認識させるようになったのですよね。
そうです。

> 実際にそれぞれのバージョンでビルドして、test/dbm/ がパスすることを
> 確認して頂いたということでしょうか。
テストまではしていません。ただ、dbmの互換ライブラリとして各バージョンのBerkeley DBを使う分に、
それほど問題が出てくるとも思えません。

> そういうことであれば、神戸さんを信じて取り込もうと思...
taca (Takahiro Kambe)
10:47 PM Bug #1085 (Closed): Got the error message, after run 'gem install --test'.
=begin
This issue was solved with changeset r28279.
Kouji, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
10:35 PM Revision 987c782a (git): configure.in: Backport #1710 [ruby-core:24104]; backport of r20573 to clean up handling of LIBPATHFLAG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
10:30 PM Bug #3428 (Closed): ri outputs ansi escape sequences even when stdout is not a tty
=begin
ri should only use ansi escape sequences if explicitly asked for or if stdout is known to be a tty. Otherwise, ugliness will occur when piping ri's output to something else. For instance, here are the first few lines displayed wh...
coatl (caleb clausen)
10:16 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin

=end
naruse (Yui NARUSE)
10:16 PM Bug #3140 (Open): gem activation has changed between 1.8 and 1.9
=begin

=end
naruse (Yui NARUSE)
09:47 PM Revision c09d54a4 (git): * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):
fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
09:47 PM Revision e1a52d82 (git): * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):
fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
09:36 PM Bug #2611: Hang while executing END blocks with redirected stderr
=begin
I don't know my patch is good solution, But I think that it is not harmful.
I will commit the patch this weekend, unless any objection.
Anyone, Any comment?
=end
wanabe (_ wanabe)
09:34 PM Revision 5815bb44 (git): * 2010-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:34 PM Revision c4f3a04c (git): * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):
'size' is a accumulated transferred size in bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
09:34 PM Revision c7c14d41 (git): * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):
'size' is a accumulated transferred size in bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
08:10 PM Feature #3427 (Rejected): instances of Dir class can't be compared
=begin
Dir#== and friends seem to be absent.

$ install/bin/ruby -e 'p Dir.new(".")==Dir.new(".")'
false
=end
coatl (caleb clausen)
08:07 PM Feature #3426 (Rejected): exec doesn't allow command lines which begin with an env variable assignment
=begin
The documentation for exec states: "If single string is given as the command, it is taken as a command line that is subject to shell expansion before being executed." However, command lines that begin with environment variable a...
coatl (caleb clausen)
05:40 PM Bug #3420: Module#method calling <=> causes SystemStackError
=begin
Please let me ask, why as from 1.9.2:


Sat Oct 24 13:38:45 2009 Yukihiro Matsumoto

* object.c (rb_obj_cmp): defines Object#<=>. [ruby-core:24063]

Before that all ruby implementations did:

ruby-1.8.7-p249 >
Brok...
boof (Florian Aßmann)
09:24 AM Bug #3420: Module#method calling <=> causes SystemStackError
=begin
Hi,

In message "Re: [ruby-core:30727] [Bug #3420] Module#method calling <=> causes SystemStackError"
on Fri, 11 Jun 2010 08:30:26 +0900, Florian Aßmann <[email protected]> writes:

|Ok, but then imho the Exception i...
matz (Yukihiro Matsumoto)
08:30 AM Bug #3420: Module#method calling <=> causes SystemStackError
=begin
Ok, but then imho the Exception is inappropriate and most people don't expect a SystemStackError when they found a method implementation missing. For most people it isn't obvious (see commit message in the ref link) why including...
boof (Florian Aßmann)
04:14 PM Revision 2acc30ee (git): add sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:47 PM Revision 5e483566 (git): * ChangeLog: add an acknowledge.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:40 PM Revision ae18daf6 (git): * 2010-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision 8af5f01a (git): * ext/dbm/extconf.rb: accept Berkley DB version 3, 4 and 5.
[ruby-dev:41531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:26 PM Revision 8ce47e7a (git): * time.c (init_leap_second_info): check the result of
gmtime_with_leapsecond.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:26 PM Revision 8c7786bf (git): * time.c (init_leap_second_info): check the result of
gmtime_with_leapsecond.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:06 PM Revision 78e3dfd9 (git): * ext/openssl/ossl_ssl.c (ossl_sslctx_get_ciphers):
use sk_SSL_CIPHER_num and sk_SSL_CIPHER_value instead of cast.
patched by Takahiro Kambe [ruby-dev:41530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:02 PM Revision a260025a (git): merges r28279 from trunk into ruby_1_9_2.
---
* lib/rubygems/install_update_options.rb
(Gem::InstallUpdateOptions#add_install_update_options): deprecate
--test option which has not worked. [ruby-core:21714]
* test/rubygems/test_gem_command_manager.rb: ditto.
git-svn-id: ...
mame (Yusuke Endoh)
02:00 PM Revision b04fa7b8 (git): * include/ruby/missing.h (isnan): fix compilation error on OpenBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:42 PM Revision 48c5afeb (git): * lib/rubygems/install_update_options.rb
(Gem::InstallUpdateOptions#add_install_update_options): deprecate
--test option which has not worked. [ruby-core:21714]
* test/rubygems/test_gem_command_manager.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28279 b2dd...
mame (Yusuke Endoh)
01:38 PM Revision 87a9a150 (git): * README: add a note about linking a library whose license is not
compatible with Ruby License. [ruby-core:30662]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:21 AM Revision 27a0ad31 (git): merges r28187 and r28189 from trunk into ruby_1_9_2.
--
* array.c (rb_ary_product): clear uninitialized elements in temporary
array.
--
* test/ruby/test_array.rb (test_product): test for r28187.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28277 b2dd03c8-39d4-4d8f-98f...
yugui (Yuki Sonoda)
04:21 AM Revision 24d86dc0 (git): merges r28174 from trunk into ruby_1_9_2.
--
add an assertion message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:21 AM Revision 33e861ba (git): merges r28158 from trunk into ruby_1_9_2.
--
Clarification of what '*' matches. Patch by John Wells <john.wells at greatworx.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:21 AM Revision 234358fa (git): merges r28157 from trunk into ruby_1_9_2.
--
* test/dl/test_cfunc.rb: test for r28156
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:20 AM Revision 40a47b1a (git): merges r28146 from trunk into ruby_1_9_2.
--
* insns.def (concatarray): removed unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:20 AM Revision 3cc8da5f (git): merges r28136 from trunk into ruby_1_9_2.
--
* test/ruby/test_path.rb (test_path): workaround for drive
letter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:20 AM Revision 2de959db (git): merges r28129 from trunk into ruby_1_9_2.
--
* ext/dl/lib/dl/cparser.rb (parse_ctype): add backwards compatibility
by supporting "uint" types in the c parser. [ruby-core:29750]
* test/dl/test_cparser.rb: adding a test for "uint" changes.
git-svn-id: svn+ssh://ci.ruby-lang.org...
yugui (Yuki Sonoda)
04:20 AM Revision aa473577 (git): merges r28123 from trunk into ruby_1_9_2.
--
* compile.c (iseq_compile_each): should consider block on stack,
if block argument is passed. [ruby-core:30534]
* parse.c (arg_concat_gen): should append to nd_head, not to
nd_iter for NODE_BLOCK_PASS.
git-svn-id: svn+ssh://ci....
yugui (Yuki Sonoda)
04:16 AM Bug #3423 (Closed): Inconsistent behaviour of Module#const_get with included modules
=begin
module Foo
A = 1
end

class Object
include Foo
end

class Bar
include Foo
end

Object.const_get(:A, false) # => works fine
Bar.const_get(:A, false) # => raises error

Un...
judofyr (Magnus Holm)
04:11 AM Bug #3422 (Closed): Object.const_get(:A, false) can access BasicObject::A
=begin
From the documentation of Module#const_get(sym, inherit=true):

If the constant is not defined or is defined by the ancestors and inherit is false, NameError will be raised.

Yet, this works fine:

BasicObject::A...
judofyr (Magnus Holm)
04:04 AM Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter
=begin
Hello,

Can you tell us which version of SQLite3 you're linking with?

Seems you're using an old OSX version (10.3) which might have problems with the set of features sqlite3-ruby 1.3.0 uses, specially in statement releas...
luislavena (Luis Lavena)
03:50 AM Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter
=begin
I am using sqlite3-ruby 1.3.0

$ bundle show sqlite3-ruby
/Users/hubble/.rvm/gems/ruby-1.8.7-head/gems/sqlite3-ruby-1.3.0

I have confirmed that my app works with Rails beta4 and Ruby 1.8.7, by the way
=end
joemsak (Joe Sak)
12:33 AM Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter
=begin
What your version of sqlite3-ruby?
sqlite3-ruby 1.3.0 is required for Ruby 1.9
=end
naruse (Yui NARUSE)
 

Also available in: Atom