Activity
From 02/25/2010 to 03/03/2010
03/03/2010
-
11:27 PM Bug #2830 (Closed): Some methods raise ArgumentError instead of TypeError
- =begin
This issue was solved with changeset r26805.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
09:01 PM Bug #2830: Some methods raise ArgumentError instead of TypeError
- =begin
Hi,
(2010/03/03 20:18), Yusuke ENDOH wrote:
> 2010/3/3 Yukihiro Matsumoto <matz@ruby-lang.org>:
>> |Some methods of Ruby 1.9 expect integers/reals and call internally nurat_int_value/nurat_int_check. These functions raise an... -
08:18 PM Bug #2830: Some methods raise ArgumentError instead of TypeError
- =begin
Hi,
2010/3/3 Yukihiro Matsumoto <matz@ruby-lang.org>:
> |Some methods of Ruby 1.9 expect integers/reals and call internally nurat_int_value/nurat_int_check. These functions raise an ArgumentError when the argument is not an I... -
04:49 PM Bug #2830: Some methods raise ArgumentError instead of TypeError
- Hi,
In message "Re: [ruby-core:28395] [Bug #2830] Some methods raise ArgumentError instead of TypeError"
on Tue, 2 Mar 2010 13:45:11 +0900, Marc-Andre Lafortune <redmine@ruby-lang.org> writes:
|Some methods of Ruby 1.9 e... -
11:17 PM Feature #2480: request to add GC::Profiler.time method
- =begin
I wrote a patch.
If it is OK, I'll commit later.
=end
-
10:28 PM Bug #1893: Recursive Enumerable#join is surprising
- =begin
Hi,
2010/3/3 Benoit Daloze <eregontp@gmail.com>:
>> | I guess adding Enumerator#to_ary is a right solution.
>>
>> I don't think so, supplying to_ary means that object can be considered
>> as an array, which is not always t... -
09:48 PM Bug #1893: Recursive Enumerable#join is surprising
- =begin
>
> | I guess adding Enumerator#to_ary is a right solution.
>
> I don't think so, supplying to_ary means that object can be considered
> as an array, which is not always the case.
>
> ... -
07:17 PM Bug #1893: Recursive Enumerable#join is surprising
- =begin
Hi,
2010/3/3 Yukihiro Matsumoto <matz@ruby-lang.org>:
> |I guess adding Enumerator#to_ary is a right solution.
>
> I don't think so, supplying to_ary means that object can be considered
> as an array, which is not always t... -
05:14 PM Bug #1893: Recursive Enumerable#join is surprising
- =begin
Hi,
In message "Re: [ruby-core:28422] [Bug #1893] Recursive Enumerable#join is surprising"
on Wed, 3 Mar 2010 00:57:26 +0900, Yusuke Endoh <redmine@ruby-lang.org> writes:
|I guess adding Enumerator#to_ary is a right so... -
04:35 PM Bug #1893: Recursive Enumerable#join is surprising
- =begin
On 3 March 2010 06:42, Jeremy Kemper <redmine@ruby-lang.org> wrote:
> Issue #1893 has been updated by Jeremy Kemper.
>
>
> Hi Yusuke,
>
> Agreed that Enumerator#to_ary would resolve this.
>
> Plus, I think it's better b... -
02:42 PM Bug #1893: Recursive Enumerable#join is surprising
- =begin
Hi Yusuke,
Agreed that Enumerator#to_ary would resolve this.
Plus, I think it's better behavior: recursive join should use implicit (to_ary) not explicit (to_a) coercion. We wish to join array-like objects, not convert ... -
12:57 AM Bug #1893: Recursive Enumerable#join is surprising
- =begin
Hi Jeremy,
> >> Bar = Struct.new(:a, :b)
> => Bar
> >> bars = [Bar.new('1', '2'), Bar.new('3', '4')]
> => [#<struct Bar a="1", b="2">, #<struct Bar a="3", b="4">]
> >> bars * '--'
> => "1--2--3--4"
>
> Surpris... -
09:53 PM Feature #2835 (Closed): String#encodeに置換文字列のみを与えたら未定義向けとみなす
- =begin
Ruby 1.9 もおおむね完成してからそろそろ 3 年が経つのですが、
気付いた事として、String#encode(to, from, opt) の opt に :replace を指定した時は、
ほとんどの場合 :undef => :replace も指定するという事があります。
よくよく考えれば、不正なバイト列を続行したいという事は少ないし、推奨されず、
ゆえに置換文字列を指定する場合はたいてい未定義文字を置き換えたい場合な... -
06:12 PM Bug #1582: IO.new Raises Other Errors between 1.8 and 1.9
- =begin
いまいです。
From: KOSAKI Motohiro <kosaki.motohiro_at_jp.fujitsu.com>
Date: Wed, 3 Mar 2010 13:23:29 +0900
>> 今のところ、メソッドシグネチャで引数にデフォルト値がある場合は書いてお
>> く、というルール[1]があるようなので、説明文だけ追加[2]しました。内容が
>> あっているか見ていただけるとありがたいです。
>>
>> 1... -
12:52 PM Bug #1582: IO.new Raises Other Errors between 1.8 and 1.9
- =begin
いまいです。
From: Nobuhiro IMAI <nov_at_yo.rim.or.jp>
Date: Sat, 27 Feb 2010 13:01:30 +0900
>> 上記URLはいちおう1.9.1用のはずなんですが、誰が修正担当なんでしょう??
>> あのURLを見るのが間違い? ruby-lang.org からリンクが貼ってあるから、ほとんどの人は
>> そこから誘導されていると思いますが
>
> 私にはどう修正し... -
05:36 PM Revision 9a026aec (git): * test/ruby/test_env.rb (TestEnv#test_select_bang): add tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:33 PM Revision 43ad8929 (git): * test/ruby/test_hash.rb (TestHash#test_keep_if): fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:24 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
成瀬です。
2010年3月3日14:45 takeru sasaki <sasaki.takeru@gmail.com>:
> Railsのjpmobileというプラグイン
> http://jpmobile-rails.org/
> で絵文字を変換しています。
jpmobile の設楽さんはこの件の貢献者の一人ですね。
>> 以下のような fallback つきのコンバータを標準で提供しておけば、
>> 個々のニーズについては... -
02:46 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
佐々木と申します。
Railsのjpmobileというプラグイン
http://jpmobile-rails.org/
で絵文字を変換しています。
> 以下のような fallback つきのコンバータを標準で提供しておけば、
> 個々のニーズについては fallback 変換表を gem で配布してもらうだけ
> 済むかもしれません。
もっと深い「個々のニーズ」を考えると絵文字同士の変換表をカスタマイズしたい場合があります。
... -
01:34 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
成瀬です。
2010年3月3日12:43 Yusuke ENDOH <mame@tsg.ne.jp>:
> パッチを試したところ、make all が 9 分半から 12 分になりました。
>
> 大差ないといえばそうですが、節操なく機能を盛り込みまくればどんどん
> 遅くなり、パッケージも肥大化します。git bisect のようなことも大変に
> なり、多くの人に定期ビルドしてもらうための障害にもなりそうです。
エンコーディング... -
01:20 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
成瀬です
2010年3月3日10:53 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
> # だって、絵文字を使うのは日本人だけで、日本のPCのIMEで晴れのマークとか
> # 普通には入力できないですよね
Microsoft Office IME 2007 では「晴れ」でUnicode の U+2600 と U+263C を入力できますね。
> これはOKだと思います。ただ、携... -
12:44 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
遠藤です。
パッチを試したところ、make all が 9 分半から 12 分になりました。
大差ないといえばそうですが、節操なく機能を盛り込みまくればどんどん
遅くなり、パッケージも肥大化します。git bisect のようなことも大変に
なり、多くの人に定期ビルドしてもらうための障害にもなりそうです。
標準添付ライブラリを減らしたいという方針にも反すると思います。
絵文字変換はどのくらいの人が必要としている機能なんでしょうか。... -
12:35 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
むらたです。
On 2010/03/02, at 23:42, Yui NARUSE wrote:
> * Shift_JIS-* は SJIS-* にすべき
> http://home.m05.itscom.net/numa/cde/sjis-euc/sjis-euc.html
>
> * x-emoji.c にそれぞれの encoding の出典へのリンクが欲しいです
> http://github.com/ruby/rub... -
10:39 AM Feature #2833: 絵文字エンコーディングの提案
- =begin
> 以下のような fallback つきのコンバータを標準で提供しておけば、
> 個々のニーズについては fallback 変換表を gem で配布してもらうだけ
> 済むかもしれません。
String#encode(to, from, opt) の opt[:replace] に Hash を与えられるようにして、
そこに、変換元 encoding の文字 => 変換先の文字、という未定義文字の fallback 変換表を与えられ... -
10:00 AM Feature #2833: 絵文字エンコーディングの提案
- =begin
むらたです。
On 2010/03/03, at 8:48, KOSAKI Motohiro wrote:
>> - Shift_JIS-DoCoMo
>> - Shift_JIS-KDDI
>> - ISO-2022-JP-KDDI
>> - Shift_JIS-SoftBank
>
> この4つは直感的に理解出来るとして
>
>> - UTF8-Google
>
> これは普通のUTF-8とは違うもの?
違い... -
07:28 AM Feature #2833: 絵文字エンコーディングの提案
- =begin
むらたです。
On 2010/03/03, at 4:15, Yukihiro Matsumoto wrote:
> |fallback ありの場合は、例えば DoCoMo だけで定義されている "\u{E6AD}" (ふくろの絵文字)
> |を KDDI や SoftBank 用のエンコーディングへ変換するときに、
> |代わりの絵文字で代替させたり "[ふくろ]" のようなテキストで置き換えたりします。
>
> fallback... -
04:16 AM Feature #2833: 絵文字エンコーディングの提案
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:40533] Re: [Feature #2833] 絵文字エンコーディングの提案"
on Wed, 3 Mar 2010 02:23:06 +0900, Kenta Murata <muraken@gmail.com> writes:
|> このfallbackあり/なしの変換についてもう少し解説していただけ
|> ませんか?
|
|現在の実装では... -
02:56 AM Feature #2833: 絵文字エンコーディングの提案
- =begin
むらたです。
テストケースに不備がありました。申し訳ありません。
On 2010/03/03, at 2:23, Kenta Murata wrote:
> # 使用例としてのテストケース
> class TestFallback < Test::Unit::TestCase
> def setup
> @utf8_docomo = utf8_docomo("\u{E6AD}")
> @utf8_fallbacke... -
02:24 AM Feature #2833: 絵文字エンコーディングの提案
- =begin
むらたです。
On 2010/03/02, at 23:12, Yukihiro Matsumoto wrote:
> |絵文字に対応したエンコーディングを実装しました。
> |これらを 1.9.2 のリリース前に trunk にマージすることを提案します。
> |redmine のチケットにパッチを添付しました。
> |
> |このパッチは以下のエンコーディングを実装しています。
>
> エンコーディングを追加することに反対し... -
04:27 PM Feature #2832 (Closed): Vector#each and Enumerable
- =begin
This issue was solved with changeset r26801.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
03:14 PM Revision 373ed885 (git): fix rdoc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:12 PM Revision 27942ec2 (git): * 2010-03-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:11 PM Revision 5521b78f (git): * tool/transcode-tblgen.rb (HEX2): extracted from regexps.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:37 PM Feature #2515 (Closed): Array#select!
- =begin
This issue was solved with changeset r26800.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
12:49 PM Feature #2515: Array#select!
- =begin
Hi,
2010/3/3 Yukihiro Matsumoto <matz@ruby-lang.org>:
> |I would suggest that this feature request be extended to also introduce Array#keep_if.
>
> The biggest reason (for me at least) was lack of counterpart of
> delete_i... -
04:24 AM Feature #2515: Array#select!
- =begin
Hi,
In message "Re: [ruby-core:28398] [Feature #2515] Array#select!"
on Tue, 2 Mar 2010 14:39:39 +0900, Marc-Andre Lafortune <redmine@ruby-lang.org> writes:
|I feel the name select! is as appropriate as map! , collect!... -
04:23 AM Feature #2515: Array#select!
- =begin
I will also sign up as being in favor of adding this feature, perhaps with a different name, tho select! makes the most sense to me.
=end
-
04:05 AM Feature #2515: Array#select!
- =begin
On Wed, 3 Mar 2010, Yusuke Endoh wrote:
> Hi,
>
> 2010/3/2 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> > I feel the name select! is as appropriate as map! , collect! and reject!
>
> Some feel appropriate, and some i... -
03:55 AM Feature #2515: Array#select!
- =begin
Oh I see your argument now--that select! is too confusing of a name...
For me, though, it makes sense (given some background ruby knowledge), ex:
>> a = [1,2,3]
>> a.select!{|b| b == 1}
>> a
=> [1]
This makes... -
01:16 AM Feature #2515: Array#select!
- =begin
Hi,
2010/3/2 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> I feel the name select! is as appropriate as map! , collect! and reject!
Some feel appropriate, and some inappropriate.
Seems like "he said she said" scen... -
02:20 PM Bug #1983: Struct doesn't define instance methods for valid method names
- =begin
Thanks Yusuke. It's a reasonable restriction, considering my only motivation is to use Struct to make stubs for testing other code.
=end
- 02:18 PM Revision 215b8092 (git): * complex.c (nucomp_real_check): raise TypeError instead of ArgumentError
- when argument is not a real as expected [ruby-core:28395]
* rational.c (nurat_int_check): ditto (for integers)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:07 PM Revision b81e0457 (git): * lib/matrix.rb (Vector#each): Return self and optimization [ruby-core:28405]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:02 PM Feature #2759: Regexp /g and /G options
- =begin
That's one out of many, and the shortest I could find.
My other samples still fail... here's a quick paste from when I try to convert the Markdown bundle: http://pastie.org/851062
=end
-
09:44 AM Revision 871e9d17 (git): * hash.c (rb_hash_select_bang): add #select! and keep_if to Hash.
- * hash.c (env_select_bang): ..and to ENV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:21 AM Revision 800dda6c (git): * lib/matrix.rb (Vector#each2, collect2): small refactoring.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:19 AM Revision 2cfb894d (git): * lib/matrix.rb (Vector#each): make Vector enumerable.
- [ruby-core:28405]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:35 AM Revision 006a8ba7 (git): * array.c (rb_ary_select_bang): select! removes all elements for
- which block returns false. [ruby-core:27286]
* array.c (rb_ary_keep_if): #keep_if, new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:10 AM Feature #2635 (Rejected): Unbundle rdoc
- =begin
=end
-
01:09 AM Bug #2721 (Third Party's Issue): OpenSSL::Random.random_bytes(1) is very slow the first time on Windows
- =begin
=end
-
01:09 AM Bug #2721 (Rejected): OpenSSL::Random.random_bytes(1) is very slow the first time on Windows
- =begin
=end
-
01:08 AM Bug #2768 (Third Party's Issue): SEGV when using OpenSSL::Cipher (AES) in certain way
- =begin
Following is gdb backtrace and valgrind result; it seems OpenSSL's Issue.
% gdb --args ./ruby -e 'require "openssl";OpenSSL::Cipher::AES128.new("ECB").update "testtesttesttest"'
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Fre... -
12:57 AM Bug #2766 (Assigned): Cannot use CSV under windows 7
- =begin
=end
03/02/2010
-
11:42 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
* Shift_JIS-* は SJIS-* にすべき
http://home.m05.itscom.net/numa/cde/sjis-euc/sjis-euc.html
* x-emoji.c にそれぞれの encoding の出典へのリンクが欲しいです
http://github.com/ruby/ruby/blob/trunk/enc/shift_jis.c みたいな感じで
他はよいと思います。
まつもとさ... -
11:30 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
成瀬さんに github で変更点を閲覧できる方法を教えてもらいました。
http://github.com/mrkn/ruby/compare/trunk...emoji
=end
-
11:12 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:40528] [Feature #2833] 絵文字エンコーディングの提案"
on Tue, 2 Mar 2010 23:00:31 +0900, Kenta Murata <redmine@ruby-lang.org> writes:
|絵文字に対応したエンコーディングを実装しました。
|これらを 1.9.2 のリリース前に trunk にマージするこ... -
11:10 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
添付ファイルを圧縮しました。
=end
-
11:09 PM Feature #2833: 絵文字エンコーディングの提案
- =begin
=end
-
11:00 PM Feature #2833 (Closed): 絵文字エンコーディングの提案
- =begin
絵文字に対応したエンコーディングを実装しました。
これらを 1.9.2 のリリース前に trunk にマージすることを提案します。
redmine のチケットにパッチを添付しました。
このパッチは以下のエンコーディングを実装しています。
- UTF8-Google
- UTF8-DoCoMo
- Shift_JIS-DoCoMo
- UTF8-KDDI
- Shift_JIS-KDDI
- ISO-2022-JP... -
10:42 PM Bug #1983 (Rejected): Struct doesn't define instance methods for valid method names
- =begin
Hi Jeremy,
> By why not generate the reader and skip the setter, then?
In [ruby-core:4404], matz decided to prohibit such a field name once.
And in [ruby-core:4577], he relaxed the restriction:
> having field nam... -
09:27 PM Bug #1666 (Closed): Confusion in documentation for lines vs each_line, etc...
- =begin
This issue was solved with changeset r26797.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
09:07 PM Bug #1666: Confusion in documentation for lines vs each_line, etc...
- =begin
Hi,
> Currently, IO#lines is defined as "to_enum(:each_line, *args)" and thus will ignore a block if one is given.
> On the other hand, String#lines and String#each_line are aliases, and thus will both execute the block, i... -
09:19 PM Revision 35345f1c (git): * win32/win32.c (signbig): defined.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:49 PM Revision d20440ab (git): * win32/Makefile.sub, symbian/setup (config.h): pack.c requires
- SIZEOF_INT*_T now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:44 PM Feature #2759: Regexp /g and /G options
- =begin
r26796 allows your example to pass.
It fixes a bug of Oniguruma: captured groups in anchors (look-ahead, look-behind, and so on) are not removed
and unintended invalid backref error occur.
You hit this.
Thank you fo... -
06:47 PM Feature #2759 (Closed): Regexp /g and /G options
- =begin
This issue was solved with changeset r26796.
Michael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
03:11 AM Feature #2759: Regexp /g and /G options
- =begin
It's not correct, I simply shortened a longer expression.
The original is:
(?x)\G
(?= ([ ]{4}|\t)
| [#]{1,6}\s*+
| [ ]{,3}(?<marker>[-*_])([ ]{,2}\k<marker>){2,}[ \t]*+$
)
=end
-
08:34 PM Bug #1893: Recursive Enumerable#join is surprising
- =begin
This is because:
* Enumerable#join is recursive
* If an element is String, add it
* If an element is Array, add elem.join
* If others, add obj.to_a.join or obj.to_s
When an element is Enumerator, it classed as "other... -
07:45 PM Feature #2515: Array#select!
- =begin
I got tripped up by redmine there: I thought that was going off list,
but while the name of the addressee was there, the address was the
redmine one, which I didn't notice. I'd argue that is a misfeature.
I think the case f... -
06:54 PM Feature #2515: Array#select!
- =begin
I agree with Marc-Andre, and also with his suggestion of keep_if.
I have sometimes wished for each of these methods, and it seems logical and reasonable that they should exist.
As for the names, I have reviewed the prev... -
02:39 PM Feature #2515: Array#select!
- =begin
I would suggest that this feature request be extended to also introduce Array#keep_if.
Indeed, Enumerable#reject has two corresponding in-place Array methods: Array#delete_if and Array#reject!
I feel that Enumerable#sel... -
12:22 PM Feature #2515: Array#select!
- =begin
Hi, Roger
Hugh Sasse wrote:
> On Tue, 2 Mar 2010, Roger Pack wrote:
> > It would be more convenient and less surprising to have a select!
>
> You can use the "surprising" argument 4 or more times if you like, but
>... -
05:04 AM Feature #2515: Array#select!
- =begin
On Tue, 2 Mar 2010, Roger Pack wrote:
> Issue #2515 has been updated by Roger Pack.
[...]
> Currently we are forced to use reject! which is surprising...
[...]
> But it surprisingly doesn't exist (reject h... -
04:34 AM Feature #2515 (Open): Array#select!
- =begin
Hmm.
I personally have had uses for select! in the past, as others have as well.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/27316
http://www.ruby-forum.com/topic/200640#875371
Currently we are for... -
06:04 PM Feature #2832 (Closed): Vector#each and Enumerable
- =begin
Vector should implement #each and include Enumerable, since it is so Array-like.
Enumerable methods that return an array should probably be specialized to return a Vector (e.g. map, first, ...)
See also [ruby-core:2840... -
05:49 PM Bug #2495: Matrix: Vector#each2 should check its argument
- =begin
Hi,
In message "Re: [ruby-core:28401] Re: [Bug #2495] Matrix: Vector#each2 should check its argument"
on Tue, 2 Mar 2010 17:29:46 +0900, Yukihiro Matsumoto <matz@ruby-lang.org> writes:
||I'd like to point out an altern... -
05:30 PM Bug #2495: Matrix: Vector#each2 should check its argument
- =begin
Hi,
In message "Re: [ruby-core:28399] [Bug #2495] Matrix: Vector#each2 should check its argument"
on Tue, 2 Mar 2010 16:52:31 +0900, Marc-Andre Lafortune <redmine@ruby-lang.org> writes:
|On Mon, Feb 1, 2010 at 10:44 PM... -
04:52 PM Bug #2495: Matrix: Vector#each2 should check its argument
- =begin
Hi,
On Mon, Feb 1, 2010 at 10:44 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> Matz or Keiju, will you give us your opinion?
Ist Keiju is even registered on the ruby-core mailing list?
I'd like to point out an... -
05:10 PM Feature #2831 (Closed): Matrix: each, all?, none?, each_with_index, ....
- =begin
There is Matrix#collect, but it would be useful to have Matrix#each and include Enumerable.
All methods that return anything else than an array are completely natural: Matrix#all?, Matrix#any?, Matrix#count, Matrix#none?, et... -
02:25 PM Bug #2189 (Closed): Math.atanh(1) & Math.atanh(-1) should not raise an error
- =begin
Resolved with r26785.
=end
-
01:45 PM Bug #2830 (Closed): Some methods raise ArgumentError instead of TypeError
- =begin
Some methods of Ruby 1.9 expect integers/reals and call internally nurat_int_value/nurat_int_check. These functions raise an ArgumentError when the argument is not an Integer, instead of a TypeError.
Thus:
42.gcd(:foo) ... -
01:38 PM Bug #2829 (Closed): Missing documentation for Exception subclasses.
- =begin
I noticed that the documentation for Exception subclasses are either that of Exception itself, or just plain non-sensical because they are actually missing (see ZeroDivisionError, FiberError, ...)
It would be preferable if t... -
12:40 PM Feature #1102: Prepend Module
- =begin
Hi,
This ticket was also discussed in the thread from [ruby-core:25208].
Module#prepend may be very significant feature not only to implementation
but also to Ruby's OO model itself.
Don't consider it just conven... -
10:49 AM Feature #1102: Prepend Module
- =begin
+1 for Module#prepend
=end
-
04:47 AM Feature #1102: Prepend Module
- =begin
+1 for Module#prepend
=end
-
12:19 PM Revision a0ff5cae (git): * io.c (rb_io_lines, rb_io_bytes, rb_io_chars, rb_io_codepoints):
- change to alias to each_*, in similar way to ARGF and String.
[ruby-core:23948]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:40 AM Revision 76a5c00b (git): * regcomp.c (noname_disable_map): add NT_ANCHOR case.
- Without this change, captured groups in anchors (look-ahead,
look-behind, and so on) are not removed and
unintended invalid backref error occur. [ruby-core:28235]
* regcomp.c (renumber_by_map): ditto.
git-svn-id: svn+ssh://ci.ruby-... - 05:48 AM Revision 1c0dfeef (git): * test/dl/test_closure.rb: forget to revert at r26764.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:29 AM Revision 9c45868b (git): * file.c (rb_find_file_ext_safe, rb_find_file_safe): skip argument
- checks in file_expand_path().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:55 AM Revision b25434f6 (git): * test/ruby/test_math.rb: Fix lgamma test
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:27 AM Bug #2184: Blocks strange behavior
- =begin
Hi,
> 1.9.1:
> z = lambda {|x,y| x <=> y}
> [3,2,1].max(&z) # => ArgumentError: wrong number of arguments (1 for 2)
>
> But it works in 1.9:
> z = lambda {|x| x[0] <=> x[1]}
> [3,2,1].max(&z) # => 3
Since... -
12:32 AM Bug #1760: Methods Expecting Paths Should Prefer #to_path Over #to_str
- =begin
Hi,
> Methods that expect paths usually call #to_path on their argument. They may also try #to_str. When an argument responds to both of these methods, I suggest that #to_path is preferred as it is the more specific, thus mo...
03/01/2010
-
11:57 PM Bug #1843: Symbol#inspect raises exception
- =begin
Hi,
Brian Candler wrote:
> However Symbol#inspect raises an exception if it was made from a string with an invalid encoding.
Shyouhei Urabe wrote:
> My impression is that such symbols should be forbidden to exist.
... -
11:10 PM Bug #2776 (Rejected): can't return from lambda with outer block
- =begin
仕様であるようですので Reject させていただきます。
教えていただいてありがとうございました。
=end
-
11:10 PM Bug #1469 (Rejected): Different behavior of class variables in 1.9.0 and 1.9.1p129
- =begin
Hi,
> For 1.9.0: ruby -v reports "ruby 1.9.0 (2006-06-08) [x86_64-linux]"
This is the development version of 1.9.0 that had never been released
yet. The release version 1.9.0-0 (2007-12-26) behaves the same way of
... -
10:23 PM Feature #2759: Regexp /g and /G options
- =begin
Is this example really correct?
> Oniguruma::ORegexp.new('(?=([ ]{4}|\t)(?<marker>[-]([ ]{,2})\k<marker>))')
This can't match.
=end
- 09:55 PM Revision 4f19ce83 (git): * 2010-03-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:54 PM Revision db37773e (git): * include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2.
- * re.c (make_regexp): use onig_new() instead of onig_alloc_init().
* re.c (rb_reg_to_s): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:28 PM Revision e1c33162 (git): * ext/pty/pty.c (pty_open): refine the path for master IO.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:11 AM Revision f1413378 (git): * ext/zlib/zlib.c (zstream_expand_buffer_into): remove compare different type values warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:45 AM Revision cf2c9d7d (git): * 2010-03-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:45 AM Revision e2e46beb (git): * configure.in (mingw): do not detect snprintf/vsnprintf.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:07 AM Bug #2827 (Closed): ri hangs during gem installation which results in a crash - =begin
$ ruby -v
ruby 1.9.2dev (2010-02-26 trunk 26763) [powerpc-darwin9.8.0]
$ gem update
Updating installed gems
Updating bundler
Due to a rubygems bug, you must uninstall older versions of the bundler gem for 0.9 to work... -
01:21 AM Feature #839: Add code on each line of a backtrace output to the screen
- =begin
Hi,
Matz, what do you think about this ticket and #1906?
There is a patch nobu has written (though I have not tested):
http://redmine.ruby-lang.org/issues/show/839#note-1
But it might take some time to make stabl...
02/28/2010
-
09:48 PM Feature #2080: Proc#to_source, Method#to_source
- =begin
遠藤です。
> 私も便利だと思うんですが、ちょっと便利すぎだし、仕様の検討も、凄く自由
> 度のあるわりに議論が十分ではないので 1.9.3 を目指して議論するといいと思
> うんですが、どうでしょうか(つまり、2ヶ月で収束するとは思えません)。
1.9.2 には入らない、ということで、Target version を変更します。
1.9.2 will not include this feature.
Thi... -
09:39 PM Feature #2480 (Assigned): request to add GC::Profiler.time method
- =begin
=end
-
08:55 PM Feature #2480 (Open): request to add GC::Profiler.time method
- =begin
Hi,
> What I would like is to be able to add garbage time to profiling information [i.e. "within this method, of the total time that was used, GC took 42ms")
If anyone (nari?) writes a patch, it can be accepted and c... -
08:50 PM Feature #2480 (Assigned): request to add GC::Profiler.time method
- =begin
=end
-
09:32 PM Feature #971 (Rejected): Reinstate RubyVM::InstructionSequence::load
- =begin
=end
-
09:24 PM Feature #2515 (Rejected): Array#select!
- =begin
Hi,
The feature was discussed in the thread from [ruby-core:27242].
In the thread, many English speaking people disagree this. So I close
this ticket as "rejected".
If you still want this feature, please reopen wit... -
06:17 PM Feature #1081: add File::write() convenience method
- =begin
Hi,
> Please add a File::write() convenience method to the core Ruby API.
I have written a patch. The API is similar to File.read except string:
File.write(path, string[, offset]) #=> length written
... -
12:32 PM Revision 1a5a2bae (git): * ext/pty/pty.c (get_device_once): raise on error when fail is
- non-zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:32 PM Revision deaba556 (git): * ext/pty/pty.c (get_device_once): raise on error when fail is
- non-zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:57 AM Feature #2022 (Closed): Patch for openssl-1.0
- =begin
This issue was solved with changeset r26781.
Jeroen, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
10:50 AM Bug #6: sprintf() of %f on Windows(MSVCRT)
- =begin
遠藤です。
2010年2月27日22:40 _ wanabe <redmine@ruby-lang.org>:
> こんな感じでどうでしょうか。
> configure.in は触ったことがないのでこれで良いのかよくわからないのですが
> 問題なさそうでしたらこれでコミットしたいと思います。
mingw で直ることを確認しました。
$ ./ruby test/ruby/test_float.rb
Loaded suite tes... - 10:08 AM Revision 5073155a (git): * math.c (rb_eMathDomainError): new exception class for representing mathematical domain error instead of Errno::EDOM.
- * math.c (domain_check, infinity_check): removed, no longer needed.
* math.c (math_atan2, math_acos, math_asin, math_acosh, math_atanh, math_log, math_log2, math_log10, math_sqrt, math_gamma, math_lgamma): mathematical domain errors are ... -
08:54 AM Feature #2824 (Closed): Backtrace from Singleton Classes is Unclear
- =begin
The backtrace from singleton classes needs a space between 'singleton' and 'class'.
$ ruby -e 'class << self; x; end'
-e:1:in `singletonclass': undefined local variable or method `x' for #<Class:#<Object:0x83efde8>> (Name... -
06:12 AM Revision 82a828a3 (git): * lib/open3.rb (Open3#popen3): ignore trap and at_exit also when
- exec failed. [ruby-dev:30181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:11 AM Revision 7d51a12d (git): * lib/open3.rb (Open3#popen3): use Thread.detach instead of
- double-fork, so that the exit status can be obtained.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:08 AM Revision 58e8688f (git): * pack.c (pack_pack): use union to avoid pointer cast.
- (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:34 AM Bug #2822 (Closed): Russian characters are missing from word characters types in Regexp
- =begin
=end
-
03:18 AM Bug #2822: Russian characters are missing from word characters types in Regexp
- =begin
$ ri Regexp
/\w/ - A word character ([a-zA-Z0-9_])
/[[:word:]]/ - A character in one of the following Unicode
general categories Letter, Mark, Number,
Connector_Punctuation<i/i>
/\p{Word}/ - A ... -
02:56 AM Revision 48e861dd (git): * openssl/ossl.c (OSSL_IMPL_SK2ARY): for OpenSSL 1.0.
- patched by Jeroen van Meeuwen at [ruby-core:25210]
fixed by Nobuyoshi Nakada [ruby-core:25238],
Hongli Lai [ruby-core:27417],
and Motohiro KOSAKI [ruby-core:28063]
* ext/openssl/ossl_ssl.c (ossl_ssl_method_tab),
(ossl_ssl_cipher... -
02:47 AM Revision 663a7488 (git): * test/openssl/{test_x509cert.rb,openssl,test_x509crl.rb,
- test_x509req.rb}:
fix false positive tests because of OpenSSL spec change.
patched by originally Hongli Lai [ruby-core:27417],
and fixed by Motohiro KOSAKI [ruby-core:28063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26780 ... -
02:40 AM Revision bd7326c3 (git): * test/openssl/{test_x509cert.rb,openssl,test_x509req.rb}:
- remove false positive tests because of OpenSSL spec change.
patched by Motohiro KOSAKI [ruby-core:28063]
see also [ruby-dev:40077]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:32 AM Revision 334244eb (git): * pack.c (pack_pack): generalized integer packer implemented.
- (pack_unpack): generalized integer unpacker implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 AM Revision f828d530 (git): update rdoc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/27/2010
-
11:20 PM Bug #2822 (Closed): Russian characters are missing from word characters types in Regexp
- =begin
"Hello".match(/[\w]*/)
=> #<MatchData "Hello">
"Привет".match(/[\w]*/)
=> #<MatchData "">
"Привет".match(/[А-Яа-яЁё\w]*/)
=> #<MatchData "Привет">
Non word character type \W behaves similar.
=end
-
10:40 PM Bug #6: sprintf() of %f on Windows(MSVCRT)
- =begin
こんな感じでどうでしょうか。
configure.in は触ったことがないのでこれで良いのかよくわからないのですが
問題なさそうでしたらこれでコミットしたいと思います。
=end
-
10:00 PM Revision 95fd5f33 (git): * pack.c (swap32): use __builtin_bswap32 on gcc 4.3.0 or later.
- (swap64): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:39 PM Revision 81b7329d (git): * 2010-02-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 PM Revision 68691ab2 (git): * pack.c: use integer types with explicit size.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:35 PM Bug #2821: Dir.[] returns unmatched path
- =begin
こんにちは、なかむら(う)です。
In message "[ruby-dev:40518] Re: [Bug:trunk] Dir.[] returns unmatched path"
on Feb.27,2010 13:17:21, <mame@tsg.ne.jp> wrote:
> > ところで、ruby -v(というかリビジョン)は?
>
> あ、すみません。
>
> $ ./ruby -v t.rb
> ruby ... -
01:17 PM Bug #2821: Dir.[] returns unmatched path
- =begin
遠藤です。
2010年2月27日13:07 U.Nakamura <usa@garbagecollect.jp>:
>> glob のパターンにマッチしていないと思うのですが、どうでしょうか。
>
> とりあえず、
>
> ruby 1.9.2dev (2010-02-27 trunk 26772) [i386-mswin32]
>
> では再現しません(ext/bigdecimal/extconf.rbを正しく拾ってきます)。
... -
01:07 PM Bug #2821: Dir.[] returns unmatched path
- =begin
こんにちは、なかむら(う)です。
In message "[ruby-dev:40514] [Bug:trunk] Dir.[] returns unmatched path"
on Feb.27,2010 12:45:47, <mame@tsg.ne.jp> wrote:
> mingw で sample/test.rb が失敗します。調べてみると、以下の Dir.[] の
> 呼び出し結果がおかしいような気がします。
>
>... -
12:46 PM Bug #2821 (Closed): Dir.[] returns unmatched path
- =begin
遠藤です。
mingw で sample/test.rb が失敗します。調べてみると、以下の Dir.[] の
呼び出し結果がおかしいような気がします。
$ cat t.rb
p Dir["C:/Ruby/ruby/{lib,sample,ext,test}/**/*.rb"].sort.first
$ ./ruby t.rb
"C:/Ruby/ruby/"
glob のパターンにマッチしていないと思うのです... -
01:11 PM Bug #2796: IO behaviors on mingw
- =begin
こんにちは、なかむら(う)です。
In message "[ruby-dev:40508] Re: [Bug:trunk] IO behaviors on mingw"
on Feb.27,2010 01:43:30, <akr@fsij.org> wrote:
> 私はテスト環境を持っていないので以下の記述は単なる推測であり、
> 確実な話ではないと考えて読んでください。
1) 2) 5) については田中さんのおっしゃるとおり... -
01:13 AM Bug #2796 (Closed): IO behaviors on mingw
- =begin
akr さん
遠藤です。
以下のように、IO に関して Linux と mingw で挙動が違います。
それぞれ仕様でしょうか、バグでしょうか。
1) $ ./ruby -e 'f = File.open("foo", "w"); IO.for_fd(f.fileno, "r")'
linux: EINVAL
mingw: 何も言わない (gets したら EBADF)
参考: http://redmine.ruby-lang.... -
01:01 PM Bug #1582: IO.new Raises Other Errors between 1.8 and 1.9
- =begin
いまいです。
From: KOSAKI Motohiro <kosaki.motohiro_at_gmail.com>
Date: Sat, 27 Feb 2010 12:07:11 +0900
>>> http://doc.okkez.net/static/191/class/IO.html をみると
>>>
>>> new(fd, mode = "r") -> IO
>>
>> 1.9のrdocではmodeのデフォルト値について... -
12:07 PM Bug #1582: IO.new Raises Other Errors between 1.8 and 1.9
- =begin
2010年2月27日9:43 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> なかだです。
>
> At Sat, 27 Feb 2010 01:45:54 +0900,
> Motohiro KOSAKI wrote in [ruby-dev:40509]:
>> すいません、regressionは言い過ぎというか間違っていて修正不十分ぐらいが適当でした。
>> まず、Linuxでは以下の結果になります。
... -
09:43 AM Bug #1582: IO.new Raises Other Errors between 1.8 and 1.9
- =begin
なかだです。
At Sat, 27 Feb 2010 01:45:54 +0900,
Motohiro KOSAKI wrote in [ruby-dev:40509]:
> すいません、regressionは言い過ぎというか間違っていて修正不十分ぐらいが適当でした。
> まず、Linuxでは以下の結果になります。
>
> % ./ruby -e 'f1 = File.open("foo.txt", "w"); f1.puts "fo... -
01:45 AM Bug #1582: IO.new Raises Other Errors between 1.8 and 1.9
- =begin
すいません、regressionは言い過ぎというか間違っていて修正不十分ぐらいが適当でした。
まず、Linuxでは以下の結果になります。
% ./ruby -e 'f1 = File.open("foo.txt", "w"); f1.puts "foo"; f2 = IO.new(f1.fileno); p f2.gets'
-e:1:in `gets': not opened for reading (IOError)
... -
01:28 AM Bug #1582 (Open): IO.new Raises Other Errors between 1.8 and 1.9
- =begin
遠藤です。
なかださんの修正に regression があるみたいです。
いまから kosaki さんが詳細を書いてくれます。
--
Yusuke Endoh <mame@tsg.ne.jp>
=end
-
06:56 AM Revision a971778b (git): * pack.c: check assuption on QUAD_SIZE and SIZEOF_LONG.
- * bignum.c: check assuption on SIZEOF_LONG and SIZEOF_BDIGITS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 AM Bug #2795: readpartial after ungetc fails with text mode
- =begin
2010年2月27日0:10 Tanaka Akira <akr@fsij.org>:
> 2010年2月26日20:19 Yusuke ENDOH <mame@tsg.ne.jp>:
>
>> IO#readpartial と ungetc の rdoc をぱっと見ても "buffer" の種類が
>> 複数あるとは読み取れなかったのですが、どこかに書いてあることですか?
>
> readpartial というよりは、バイト単位のサイズを指...
02/26/2010
-
10:32 PM Bug #6: sprintf() of %f on Windows(MSVCRT)
- =begin
遠藤です。
古いチケットですが reopen します。
> test_to_s(TestFloat) [(snip)/test/ruby/test_float.rb:126]:
> <"1.0e+14"> expected but was
> <"1.0e+014">.
mingw32 で今でも再現するようです。
mingw では直ってなかったのか regression なのかは知りません。
... -
10:07 PM Bug #2795: readpartial after ungetc fails with text mode
- =begin
2010年2月26日20:19 Yusuke ENDOH <mame@tsg.ne.jp>:
> 遠藤です。
>
> 2010年2月26日19:42 Tanaka Akira <akr@fsij.org>:
>> 2010年2月26日19:34 Yusuke ENDOH <mame@tsg.ne.jp>:
>>
>>> 1. text mode だと ungetc が rbuf でなく cbuf に記録する
>>> 2. readpar... -
08:20 PM Bug #2795: readpartial after ungetc fails with text mode
- =begin
遠藤です。
2010年2月26日19:42 Tanaka Akira <akr@fsij.org>:
> 2010年2月26日19:34 Yusuke ENDOH <mame@tsg.ne.jp>:
>
>> 1. text mode だと ungetc が rbuf でなく cbuf に記録する
>> 2. readpartial は rbuf しか見ない
>>
>> readpartial が cbuf も見るべきなんですかね。... -
07:34 PM Bug #2795 (Closed): readpartial after ungetc fails with text mode
- =begin
遠藤です。
以下のようにすると、"a" が出力されることを期待するのですが、
EOFError になります。
$ echo -n a > foo.txt && ./ruby -e '
open("foo.txt", "r+t") do |f|
f.ungetc(f.getc)
p f.readpartial(2)
end
'
-e:4:in `readpartial': ... - 06:51 PM Revision daaa605b (git): * 2010-02-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:51 PM Revision 8c902476 (git): * pack.c: fix q and Q for big endian environments which have no
- 8 bytes integer type.
(pack_pack): use rb_big_pack.
(pack_unpack): use rb_big_unpack.
* include/ruby/intern.h (rb_big_pack): declared.
(rb_big_unpack): ditto.
* bignum.c (rb_big_pack): new function.
(rb_big_unpack): ditto.
g... -
12:41 PM Revision 069d271e (git): * bignum.c: fix rb_quad_pack and rb_quad_unpack for environments
- which don't have 8bytes integer type. This still depends on little
endian.
(rb_quad_pack): use quad_buf_complement. don't raise for large
values.
(rb_quad_unpack): use quad_buf_complement.
(quad_buf_complement): new function ... -
12:30 PM Revision d5a16d80 (git): * configure.in (RSHIFT): add parenthesis to supress warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:06 PM Revision 785f4172 (git): * ext/socket/raddrinfo.c, ext/socket/udpsocket.c: avoid illegal cast
- from void-returning function to VALUE-returning one. It causes SEGV
on RubySpec with mingw32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:09 AM Revision 07298aba (git): * pack.c (QUAD_SIZE): it should be always 8.
- * bignum.c (rb_quad_pack): use LONG_LONG version only if
SIZEOF_LONG_LONG == QUAD_SIZE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:49 AM Revision d191b742 (git): * pack.c (swap64): fix for VC6.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:17 AM Revision aec58680 (git): * pack.c (pack_pack, pack_unpack): suppressed warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:54 AM Feature #1082: add Object#singleton_class method
- =begin
I think the idea that some objects don't have a singleton class is an internal detail that is, as yet, not part of Ruby's semantics. I don't think we should add it to Ruby's semantics.
=end
-
12:08 AM Feature #1082: add Object#singleton_class method
- =begin
Hi,
2010/2/23 Shugo Maeda <shugo@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.
--
Shugo Maeda
Attach... -
03:29 AM Bug #2253 (Closed): should Class.new(Class) raise TypeError?
- =begin
Fixed in r25449.
=end
02/25/2010
-
10:49 PM Revision 59e4e93e (git): * ext/dl: revert dl with libffi because it can't run on mswin now.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:33 PM Feature #2152: Split functionality of Float#inspect and Float#to_s
- =begin
Sorry to answer so late.
I think the change of Array#to_s is not comparable here. Many people did use the fact that Array#to_s did what Array#join does now.
But here it's very different: Float are almost not used for their ... - 05:27 PM Revision 9d818a22 (git): * 2010-02-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:27 PM Revision b1196bb3 (git): rdoc update.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:00 PM Revision e599c936 (git): * pack.c: consider DYNAMIC_ENDIAN. refactored.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:26 AM Revision c9424177 (git): * rational.c (nurat_expt): use Float#** when Rational ** Float.
- This fixes Rational(3,1)**3.0=>26.99999999999999 on FreeBSD.
* complex.c (rb_fexpt): removed.
Note that this function is not static but is private.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26760 b2dd03c8-39d4-4d8f-98ff-823fe... -
02:19 AM Bug #2789 (Closed): segfault in DL callbacks with mingw32
- =begin
Attempting to use a callback with DL in mingw32 causes segmentation fault.
(I apologize if I'm in the wrong place - I could not find any bug tracker or any sort of community for DL itself, and since it is included with ruby, ... -
12:08 AM Bug #2774: add explicit constraints for WONTFIX IO bug
- =begin
Hi,
2010/2/24 Tanaka Akira <akr@fsij.org>:
>> These behaviors are caused by bug of core's wrong buffering handing.
>
> I think it is difficult to fix.
>
*snip*
>
> I think we should live with this behavior because
> bu...