Project

General

Profile

Activity

From 11/09/2009 to 11/15/2009

11/15/2009

11:57 PM Revision 8c3f13f9 (git): fix previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:17 PM Bug #2371: [BUG] thread_free: locking _mutex must be NULL
=begin
Thanks for the very quick response!

> The following patch should fix the issue.  Could you try?

Sure.

> diff --git a/thread.c b/thread.c
> index ba717bd..5ea1982 100644
> --- a/thread.c
> +++ b/thread.c
> @@ -380,6 +...
orem (Chris Schlaeger)
08:51 PM Bug #2371: [BUG] thread_free: locking _mutex must be NULL
=begin
Hi --

2009/11/15 Chris Schlaeger <redmine@ruby-lang.org>:
> Here is how to reproduce the problem:
>
> 1. Download the taskjuggler gem: http://www.taskjuggler.org/tj3/taskjuggler-0.0.3.gem and install it
> 2. change to the ...
mame (Yusuke Endoh)
05:26 PM Bug #2371 (Closed): [BUG] thread_free: locking _mutex must be NULL
=begin
During the development of a project management application I encountered the following problem. Every 10th run or so, the ruby interpreter crashes with the error message in the subject. I've attached a full backtrace in the log f...
orem (Chris Schlaeger)
11:11 PM Revision d8a754cc (git): * io.c (read_all): don't call io_shift_cbuf until bufffering enough or
econv_finished. [ruby-dev:39696]
* io.c (more_char): don't call clear_readconv to read buffer after
econv_finished.
* io.c (appendline, rb_io_each_codepoint): clear readconv when done.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
wanabe (_ wanabe)
10:49 PM Revision e579955b (git): * 2009-11-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:49 PM Revision 45cf42a5 (git): Fixed rdoc errors. Made heredoc more obvious
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
09:50 PM Feature #2372: read_all() with buffering
=begin
遠藤です。

2009年11月15日21:21 _ wanabe <redmine@ruby-lang.org>:
> io.c の read_all() で、変換が必要な場合の処理が少し重いようだったので
> バッファに少し溜めてから io_shift_cbuf() を呼び出すようにするパッチを書きました。
> 溜めるバイト数は io_shift_cbuf() 中にあった式を参考にしています。

パッチの内容は理解していませんが


...
mame (Yusuke Endoh)
09:21 PM Feature #2372 (Closed): read_all() with buffering
=begin
io.c の read_all() で、変換が必要な場合の処理が少し重いようだったので
バッファに少し溜めてから io_shift_cbuf() を呼び出すようにするパッチを書きました。
溜めるバイト数は io_shift_cbuf() 中にあった式を参考にしています。

ベンチマークスクリプトとその結果を併せて添付します。
bm_io_file_read.rb を参考に、エンコーディングやモードを複数試すようにしています。
Wi...
wanabe (_ wanabe)
09:48 PM Bug #2363: Syck needs more tests
=begin
You can add tests.
=end
naruse (Yui NARUSE)
05:58 PM Revision 5f221c31 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:14 PM Revision e88009f4 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:11 PM Revision 453890a9 (git): tests refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:11 PM Bug #2370 (Closed): Forked process generates spurious signal errors
=begin
The attached test program demonstrates the problem. About 25% percent of the time the forked-off program terminates with a signal error.

For best results the first parameter of the doRun() call should be set to a value sligh...
orem (Chris Schlaeger)
04:59 PM Revision 9ea0bed1 (git): * include/ruby/ruby.h (rb_classext_t): annotate @internal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:37 PM Revision 1aba3f9d (git): * encoding.c (rb_filesystem_encindex): use default external encoding
instead of locale encoding in Unix.
* ruby.c (process_options): delay inifilesystem encoding
initialization after default external encoding initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25782 b2dd03c8-39d4-4d8f-9...
akr (Akira Tanaka)
04:24 PM Revision 43bd807c (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:10 PM Revision f5936bc8 (git): * 2009-11-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 31c0e338 (git): * thread.c (thread_cleanup_func): delete locking_mutex when thread
object become dummy because of fork. [ruby-core:26744]
[ruby-core:26745]
* bootstraptest/test_thread.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:11 PM Bug #2369 (Rejected): ENV's strange behavior on WinXP
=begin
Windows XP SP2 環境の Mingw で、環境変数に最大文字数に近い長さの値か
または最大文字数を超えた長さの値を設定しようとした場合の挙動がおかしいようです。
確認用のスクリプトを添付します。

スクリプトのコメントに書きましたとおり、
32767 文字よりやや短い値をセットすると値が正しく取り出せません。
GetEnvironmentVariableAで確認すると正しく取り出せているようです。

また、32...
wanabe (_ wanabe)
03:50 AM Feature #2366: private constant
=begin
遠藤です。

> なるほど、良いアイディアだと思います。採用するタイミングは
> Yuguiさんに訊いてみないといけませんが、いずれ採用したいと思い
> ます。

ありがとうございます。

ささださんと話して、もうちょっとちゃんとした実装を作りました。
結構巨大な変更になったので、3 段階のパッチに分けました。


1. const_tbl.patch:
クラスの持つ定数やクラス変数やその他をごちゃ...
mame (Yusuke Endoh)

11/14/2009

05:39 PM Feature #2366: private constant
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39685] [Feature #2366] private constant"
on Sat, 14 Nov 2009 14:30:32 +0900, Yusuke Endoh <redmine@ruby-lang.org> writes:

|今の Ruby には、クラスが公開 API かどうかを伝える手段がドキュメント
|しかありません。そのため、ER...
matz (Yukihiro Matsumoto)
02:30 PM Feature #2366 (Closed): private constant
=begin
遠藤です。

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

これを防ぐためには、匿名クラスを用いて定義すれば大分隠蔽できますが、
記述が相当煩雑になってしまいます。また、そのようにしてしまうと、
「非公開というのは承知の上...
mame (Yusuke Endoh)
04:47 PM Bug #2353 (Closed): hash.c:setenv causes crashes in Solaris
=begin
This issue was solved with changeset r25766.
Christian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
12:56 PM Revision 4a761c32 (git): * class.c (rb_mod_init_copy): fix memory leak of Class#dup.
[ruby-dev:39687]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
10:35 AM Bug #2365 (Closed): Matrix: poor handling of coercion errors [patch]
=begin
rubydev -r matrix -e 'p Matrix.I(2) - nil'
/usr/local/rubydev/lib/ruby/1.9.1/matrix.rb:533:in `-': undefined method `coerce' for nil:NilClass (NoMethodError)
from -e:1:in `<main>'

Expected:
some_where_in_the/matrix.rb...
marcandre (Marc-Andre Lafortune)
09:29 AM Bug #2363 (Closed): Syck needs more tests
=begin
Here are some tests for serializing strings and dealing with "to_yaml_properties"
=end
tenderlovemaking (Aaron Patterson)
08:09 AM Revision 5e15f021 (git): * configure.in (--with-opt-dir): ignore and suppress a warning.
[ruby-dev:39684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:09 AM Revision 85ca612b (git): * configure.in (--with-opt-dir): ignore and suppress a warning.
[ruby-dev:39684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:43 AM Revision a06fd216 (git): * hash.c (ruby_setenv): get rid of crash in Solaris 8 and 10.
[ruby-core:26668]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:43 AM Revision de13a30d (git): * hash.c (ruby_setenv): get rid of crash in Solaris 8 and 10.
[ruby-core:26668]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:01 AM Feature #707: Documentation for Enumerator chaining
=begin
> Is this also possible in 1.8?

Sure. Block-form Enumerator is surprisingly straightforward to implement, see
http://github.com/trans/facets/blob/master/lib/more/facets/enumerator.rb

But since 1.9 has it already, I th...
candlerb (Brian Candler)
03:04 AM Feature #707: Documentation for Enumerator chaining
=begin
Is this also possible in 1.8?

http://www.ruby-forum.com/topic/198804#new
http://github.com/trans/facets/blob/master/lib/core/facets/denumerable.rb

Brian do you think you could write the tutorial on chaining started he...
rogerdpack (Roger Pack)
12:17 AM Revision c07e7d16 (git): * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): Fix comparisons [ruby-core:26646]
* test/bigdecimal/test_bigdecimal.rb (class): Fix and improve tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune

11/13/2009

07:11 PM Revision d71eab14 (git): * ext/tk/lib/tk/variable.rb (TkVariable::coerce): fix bug on a numeric value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
07:11 PM Revision 8d877392 (git): * ext/tk/lib/tk/variable.rb (TkVariable::coerce): fix bug on a numeric value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
06:36 PM Revision 9a875d3a (git): * 2009-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:36 PM Revision cbad6bc3 (git): * ext/tk/lib/tk/variable.rb: TkVariable#*(other) and /(other) have a
bug on handling of the "other" value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
06:36 PM Revision 7ca30eb5 (git): * 2009-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:36 PM Revision a9354159 (git): * ext/tk/lib/tk/variable.rb: TkVariable#*(other) and /(other) have a
bug on handling of the "other" value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
12:19 PM Revision f22a307d (git): * ext/zlib/zlib.c (rb_zlib_adler32): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
09:42 AM Feature #2060: DLをCからRubyに変換する事を勧めます
=begin
遠藤です。

2009年9月9日12:57 Tanaka Akira <akr@fsij.org>:
> このテストを取り入れた後、test-all が SEGV するようになっています。
>
> http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20090908T095209.log.txt.gz
>
> test/dl/test_cptr.rb だけでも再現するようです...
mame (Yusuke Endoh)
04:08 AM Feature #2060 (Closed): DLをCからRubyに変換する事を勧めます
=begin
Developer権限を与えてくださってありがとうございます。
では、先にお伝えした通り、早速closeします。
=end
tenderlovemaking (Aaron Patterson)
03:46 AM Feature #2060: DLをCからRubyに変換する事を勧めます
=begin
AaronさんにRedmineのDeveloper権限を与えておきました。
これでticketをcloseしたりrejectしたりできます。
=end
naruse (Yui NARUSE)
03:21 AM Feature #2060: DLをCからRubyに変換する事を勧めます
=begin
こんにちは。私は10月24日以降、正式にDLのmaintainerに認可され、私に変更の権限が与えられましたので、よろしくお願いします。

それと、この件に関しては、私としては、DL ticketを打ち切りにした方が良いと思います。
=end
tenderlovemaking (Aaron Patterson)
07:22 AM Revision 9ba317f1 (git): * thread.c (thread_start_func_2): see first_func, not first_proc,
to decide which to use.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:19 AM Revision 9a9cc650 (git): * test/dl/test_cptr.rb (**): using ruby_xfree instead of libc's free
* test/dl/test_func.rb (test_strdod): strtod needs a char ** argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
06:11 AM Bug #1311: YAML::dump creates strings YAML::load cannot parse
=begin

Caleb's revisions are the way to go.

( test_yaml2.patch & syck_scan_scalar2.patch )

Harmlessly beneficial - no compatibility issues - emits YAML to the spec.


daz
=end
daz (Dave B)
02:57 AM Feature #2340: Removing YAML/Syck
=begin
Ola Bini wrote:
> And as you might know, you will find that Syck is _very_ incompatible
> towards YAML in many, many places - and there are lots of production
> apps that rely on those behaviors.

If you have tests for curre...
naruse (Yui NARUSE)
02:09 AM Revision 29f98273 (git): * gc.c (vm_xrealloc): use the given object space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:00 AM Bug #1341: pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
=begin
This also happens when running "make test" in solaris but not "env RUBYLIB=./lib ./ruby test/ruby/test_thread.rb"
-----------------------------------------------------------------------------
test_thread.rb ....bootstraptest....
docwhat (Christian Höltje)
12:49 AM Bug #1148 (Closed): CGI::prettyの正規表現の改良
=begin

=end
xibbar (Takeyuki FUJIOKA)

11/12/2009

11:54 PM Bug #2341 (Closed): CGIMultipartTest#_read のモードをバイナリモードに
=begin

=end
xibbar (Takeyuki FUJIOKA)
10:41 PM Revision 17ccd5d0 (git): * ext/dl/cptr.c (rb_dlptr_s_to_ptr): when wrapping a pointer it should
keep a reference to the object it's wrapping
* test/dl/test_func.rb use standard test methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
10:13 PM Bug #2356: Enumerator.new {|y| y << 1 << 2 << 3 }
=begin
遠藤です。

2009年11月12日21:55 Akinori MUSHA <knu@idaemons.org>:
>> そういう場合どこに doc を書くべきかなんですが、[ruby-dev:39672] のように
>> すればよさそうです。
>
>  遠藤さんは匿名クラス化を提案されていますが、 :nodoc: あるいは
> 「このクラスは実装都合だから依存禁止」と書くのでは甘いですかね。
> SEGV等の危険ではなく互換性の仮定を避...
mame (Yusuke Endoh)
09:33 PM Bug #2356: Enumerator.new {|y| y << 1 << 2 << 3 }
=begin
遠藤です。

2009年11月12日21:17 NARUSE, Yui <naruse@airemix.jp>:
>> 2009年11月12日0:38 Akinori MUSHA <knu@idaemons.org>:
>>>>> それはそれとして、ドキュメントは必要でしょうねぇ。
>>>> Enumerator::Yielder と Enumerator::Generator は全部 nodoc だったので、
>>>> あわせて適当に書いて...
mame (Yusuke Endoh)
09:28 PM Bug #2356: Enumerator.new {|y| y << 1 << 2 << 3 }
=begin
遠藤です。

2009年11月12日21:11 Akinori MUSHA <knu@idaemons.org>:
> つまり、ユーザが y.instance_of?(Yielder) などとしだすともう特異
> オブジェクトを返すように変えることはAPI変更になってしまいますが、
> y.is_a?(Yieldable) と y.respond_to?(:yield) (および :<<)しか仮定
> させないことで、 extend Yiel...
mame (Yusuke Endoh)
09:18 PM Bug #2356: Enumerator.new {|y| y << 1 << 2 << 3 }
=begin
Yusuke ENDOH wrote:
> 遠藤です。
>
> 2009年11月12日0:38 Akinori MUSHA <knu@idaemons.org>:
>>>> それはそれとして、ドキュメントは必要でしょうねぇ。
>>> Enumerator::Yielder と Enumerator::Generator は全部 nodoc だったので、
>>> あわせて適当に書いてみました。これもコミットしようと思います。
>>  Yie...
naruse (Yui NARUSE)
01:37 AM Bug #2356 (Closed): Enumerator.new {|y| y << 1 << 2 << 3 }
=begin
This issue was solved with changeset r25721.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
01:24 AM Bug #2356: Enumerator.new {|y| y << 1 << 2 << 3 }
=begin
遠藤です。

2009年11月12日0:38 Akinori MUSHA <knu@idaemons.org>:
>> > それはそれとして、ドキュメントは必要でしょうねぇ。
>>
>> Enumerator::Yielder と Enumerator::Generator は全部 nodoc だったので、
>> あわせて適当に書いてみました。これもコミットしようと思います。
>
>  Yielder/Generator という組合せによ...
mame (Yusuke Endoh)
08:54 PM Feature #2360 (Rejected): hide the internal of anonymous Enumerator
=begin
遠藤です。

[ruby-dev:39665] より引用。

2009年11月12日0:38 Akinori MUSHA <knu@idaemons.org>:
>  Yielder/Generator という組合せによる実装は実験的なもので、特に
> 後者は外部に公開する必要がないので敢えて伏せていました。公開仕様に
> すると制約になるので、需要が生じるまでは非公開の方がいいのではない
> でしょうか。

とい...
mame (Yusuke Endoh)
06:04 PM Bug #2137 (Assigned): Dir.glob does not support unicode on Windows
=begin

=end
usa (Usaku NAKAMURA)
06:02 PM Bug #1972: Changing ENV['TZ'] of a running process should change behavior of Time
=begin
fixed (1) at r25715.
Any ideas for (2)?
=end
usa (Usaku NAKAMURA)
04:01 PM Revision f1851a02 (git): * 2009-11-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:01 PM Revision dcad53d3 (git): merges r24482, r25061, r25124, r25126, r25552 from trunk into ruby_1_9_1.
These patches are for AIX compilation issues. This commit is allowed by
branch master (yugui). Thanks!
* ext/socket/extconf.rb : Compilation failure on AIX.
ss_len (a member of struct sockaddr_storage) has preceding __,
but ss_famil...
Yutaka Kanemoto
03:48 PM Revision d109e9a6 (git): * 2009-11-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:48 PM Revision 5de99652 (git): * lib/cgi/util.rb (CGI::pretty): fix the overflow bug
if stripped string.[ruby-dev:37975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
02:53 PM Revision f97d8eec (git): * test/cgi/test_cgi_multipart.rb (_read):
performance improvement in windows.[ruby-dev:39650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
02:39 PM Revision 331c3c57 (git): * 2009-11-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:39 PM Revision 0ef183ec (git): * lib/cgi.rb: fix command-line option of
non-interactive terminal. [ruby-core:23016]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
02:19 PM Revision 64486dfd (git): * lib/cgi/core.rb (read_from_cmdline): this code is better.
[ruby-core:25991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
02:03 PM Revision bed9e8e2 (git): * lib/net/telnet.rb: don't use simple delegate.
because SimpleDelegate behavior changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
10:50 AM Feature #2340: Removing YAML/Syck
=begin
2009/11/12 5:47, Charles Oliver Nutter wrote:
> On Sat, Nov 7, 2009 at 2:52 PM, Aaron Patterson
> <aaron@tenderlovemaking.com> wrote:
>> Yes, it definitely needs more documentation. It passes *most* of the
>> current Syck t...
naruse (Yui NARUSE)
05:47 AM Feature #2340: Removing YAML/Syck
=begin
On Sat, Nov 7, 2009 at 2:52 PM, Aaron Patterson
<aaron@tenderlovemaking.com> wrote:
> Yes, it definitely needs more documentation.  It passes *most* of the
> current Syck tests, although syck supports some syntax that isn't
>...
headius (Charles Nutter)
10:27 AM Bug #2320 (Closed): patch to trunk .document to include more readme's etc.
=begin
This issue was solved with changeset r25724.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
09:31 AM Bug #2320: patch to trunk .document to include more readme's etc.
=begin
Hello,

In message "[ruby-core:26688] [Bug #2320] patch to trunk .document to include more readme's etc."
on Nov.12,2009 00:58:17, <redmine@ruby-lang.org> wrote:
> I think so too. Those files have reason to bundle even if...
usa (Usaku NAKAMURA)
12:58 AM Bug #2320: patch to trunk .document to include more readme's etc.
=begin
I think so too. Those files have reason to bundle even if they are not in rdoc.
=end
naruse (Yui NARUSE)
12:21 AM Bug #2320: patch to trunk .document to include more readme's etc.
=begin
I considered ChangeLog still useful to end users in terms of documentation (same with licensing information). Thoughts?
-r
=end
rogerdpack (Roger Pack)
06:47 AM Bug #2357 (Closed): make install fails due recent Tempfile modifications
=begin
This issue was solved with changeset r25723.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:44 AM Bug #2359: test_threads.rb:test_list
=begin
I forgot to add that this test works in Linux 32 and 64.
=end
docwhat (Christian Höltje)
06:42 AM Bug #2359 (Closed): test_threads.rb:test_list
=begin
In test/ruby/test_threads.rb:
test_list errors or hangs on Sparc64 Solaris.

I think the problem is that when using native threads, loop{} starves the other threads. I can "fix" running the internal eval'd code by changin...
docwhat (Christian Höltje)
06:00 AM Bug #1169: Thread#priority still doesn't work
=begin
Data point: This fails about 99% of the time in Solaris on sparc64.
=end
docwhat (Christian Höltje)
05:33 AM Revision 9e0f3e0d (git): * thread_win32.c (thread_errno): CreateThread does not set errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:00 AM Revision a7d63dfd (git): * thread_pthread.c: removed last comma of enum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:57 AM Revision 1d418303 (git): * thread.c (thread_create_core): moved failure handling from
native_thread_core().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:31 AM Revision a360a8ce (git): * thread_pthread.c (native_thread_create): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:23 AM Bug #2353: hash.c:setenv causes crashes in Solaris
=begin
I'm not sure the reclaiming is actually working. I ran some tests and it at least appears that it may not be reclaiming much or any. I'm not entirely sure how to test that.

I think I would recommend using the original styl...
docwhat (Christian Höltje)
12:57 AM Bug #2353: hash.c:setenv causes crashes in Solaris
=begin
It works. I've tested it with my simplistic test case on both "Solaris 8" and "Solaris 10 using the Solaris 8 binary".

It makes me nervous to try to reclaim the memory, but I can't find any fault in the code.

I'm attac...
docwhat (Christian Höltje)
01:26 AM Revision 5e5b4c08 (git): * .document: remove documents not in rdoc format until
rdoc supports non rdoc files. [ruby-core:26459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:18 AM Feature #1498 (Rejected): rubygems tests fail on zlib dependency if you compile ruby without zlib headers
=begin
You can use pure ruby zlib these days, so ok to reject [I'll go ahead and do so].
-r
=end
rogerdpack (Roger Pack)

11/11/2009

11:59 PM Bug #2356: Enumerator.new {|y| y << 1 << 2 << 3 }
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39663] Re: [Bug:trunk] Enumerator.new {|y| y << 1 << 2 << 3 }"
on Wed, 11 Nov 2009 23:50:47 +0900, Yusuke ENDOH <mame@tsg.ne.jp> writes:

|書いていて気がついたんですが、Generator#each は self ではなく...
matz (Yukihiro Matsumoto)
11:51 PM Bug #2356: Enumerator.new {|y| y << 1 << 2 << 3 }
=begin
遠藤です。

2009年11月11日22:54 Tanaka Akira <akr@fsij.org>:
> In article <e0b1e5700911110537u2aacf835pc0aea13d89a92cef@mail.gmail.com>,
> Yusuke ENDOH <mame@tsg.ne.jp> writes:
>
>> 今 Yielder#<< は Yielder#yield の alias になっていますが、yi...
mame (Yusuke Endoh)
10:37 PM Bug #2356 (Closed): Enumerator.new {|y| y << 1 << 2 << 3 }
=begin
遠藤です。

Enumerator.new の中で yielder << 1 << 2 << 3 と書けません。


# OK
generator = Enumerator.new do |yielder|
yielder << 1
yielder << 2
yielder << 3
end
generator.each {|x| p x } #=> 1, 2, 3


# NG
...
mame (Yusuke Endoh)
11:40 PM Bug #2355 (Assigned): Please update rubygems!
=begin
We suffered from both not updated gems and many test-all fails after huge merge.
(and degrades by reverting Ruby 1.9 local changes)

So I agree with this.
=end
naruse (Yui NARUSE)
07:48 PM Bug #2355 (Closed): Please update rubygems!
=begin
On the trunk:


$ gem19 install gemcutter
ERROR: Error installing gemcutter:
gemcutter requires RubyGems version >= 1.3.5


Some standard libraries including rubygems are developed in maintainer's
...
mame (Yusuke Endoh)
11:22 PM Bug #825 (Assigned): Gem::Installer#generate_windows_script の引数の順番が他と一致しない
He says:
`Gem::Installer#generate_windows_script` has different argument's order from `Gem::Installer#generate_bin_script`, `Gem::Installer#generate_bin_symlink`.
So `generate_windows_script` should change its argument order.
naruse (Yui NARUSE)
11:19 PM Bug #1080 (Rejected): SSL error when running the program "gem"
=begin

=end
naruse (Yui NARUSE)
11:19 PM Bug #1335 (Rejected): RubyGems 1.3.1 gem method will load all gems beginning with the given name
=begin

=end
naruse (Yui NARUSE)
11:18 PM Feature #1498: rubygems tests fail on zlib dependency if you compile ruby without zlib headers
=begin
Can I reject this?
This problem has "Who is the maintainer of new feature" problem.

Anyway, if ruby bundle zlib implementation it should be C implementation.
=end
naruse (Yui NARUSE)
11:07 PM Bug #2357 (Closed): make install fails due recent Tempfile modifications
=begin
Hello,

Changes introduced in revision 25720 broke the install process of trunk:

luislavena (Luis Lavena)
09:42 PM Revision 55179696 (git): * lib/tempfile.rb (Tempfile#initialize): option hash may not be
given. [ruby-core:26681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:29 PM Bug #2066 (Assigned): Merge Latest RDoc/Ri
=begin
When update it?
We can't know that rdoc can run on ruby-trunk or not unless merge.
=end
naruse (Yui NARUSE)
04:32 PM Revision 9a751c21 (git): * 2009-11-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:32 PM Revision 61ec6238 (git): * enumerator.c (yielder_yield_push): Yielder#<< should return self.
[ruby-dev:39660]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:09 PM Bug #2353: hash.c:setenv causes crashes in Solaris
=begin
Hi,

At Wed, 11 Nov 2009 11:32:37 +0900,
Christian Höltje wrote in [ruby-core:26675]:
> Because new variables are allocated by ALLOC_N() but the
> unsetenv code cannot de-allocate the memory: we don't know if
> it is initia...
nobu (Nobuyoshi Nakada)
11:32 AM Bug #2353: hash.c:setenv causes crashes in Solaris
=begin
Because new variables are allocated by ALLOC_N() but the unsetenv code cannot de-allocate the memory: we don't know if it is initially allocated memory by the kernel (which I think is stack memory and absolutely cannot be free()d...
docwhat (Christian Höltje)
08:49 AM Bug #2353: hash.c:setenv causes crashes in Solaris
=begin
Hi,

At Wed, 11 Nov 2009 04:50:33 +0900,
Christian Höltje wrote in [ruby-core:26668]:
> The environ manipulations that are done in the fall-back code
> in hash.c (the code that runs if !WIN32 and !HAVE_SETENV)
> causes cras...
nobu (Nobuyoshi Nakada)
04:54 AM Bug #2353: hash.c:setenv causes crashes in Solaris
=begin
I didn't think of this, but the patch can also apply to 1.8.7. The line numbers may differ, but the code is the same.

I'm not sure where the 1.8.7 branch is in git or how to submit to that. I'd be happy to submit that to S...
docwhat (Christian Höltje)
04:50 AM Bug #2353 (Closed): hash.c:setenv causes crashes in Solaris
=begin
Hi!

I submitted this as a pull request for shyouhei's ruby git repo, via github.
I want to document this here too.

The environ manipulations that are done in the fall-back code in hash.c (the code that runs if !WIN32 ...
docwhat (Christian Höltje)
11:59 AM Bug #1972: Changing ENV['TZ'] of a running process should change behavior of Time
=begin
(*** this message is a mere memo. ***)

(1) ruby_setenv() doesn't changes CRT environment workarea.
tzset() sees it, so ENV["TZ"] has no meaning in this case.

(2) localtimexv() doesn't call tzset(). (see its commen...
usa (Usaku NAKAMURA)
10:17 AM Revision d9eae800 (git): * lib/tempfile.rb (Tempfile#initialize): merge mode option.
* lib/tmpdir.rb (Dir::Tmpname#create): splat options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:06 AM Bug #2320 (Open): patch to trunk .document to include more readme's etc.
=begin
Why you added no-rdoc-format files such as ChangeLog?
=end
usa (Usaku NAKAMURA)
09:22 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Hi,

At Tue, 10 Nov 2009 00:21:45 +0900,
Florian Gilcher wrote in [ruby-core:26654]:
> thanks for the patch, I applied it with a minor addition
> (also matching on HAVE_RB_EXEC_RECURSIVE in pp functions to
> use the "old" b...
nobu (Nobuyoshi Nakada)
08:37 AM Bug #2354 (Closed): Undefined BLOCKING_REGION definitions when compiling under MinGW
=begin
This issue was solved with changeset r25713.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
akr (Akira Tanaka)
08:27 AM Bug #2354 (Closed): Undefined BLOCKING_REGION definitions when compiling under MinGW
=begin
miniruby.exe fails to compile due missing defition of BLOCKING_REGION, which is a macro translated to blocking_region_begin, which is only present in thread.c, but neither exported or shared with thread_win32.c

luislavena (Luis Lavena)
03:54 AM Revision 3f5fbc6c (git): * hash.c (ruby_setenv): use ruby_strdup().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:53 AM Revision 30de9f68 (git): * hash.c (ruby_setenv): use ruby_strdup().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:20 AM Revision dc9112dd (git): * hash.c (ruby_setenv): also set CRT workarea. ref [ruby-core:25010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:53 AM Feature #578: add method to disassemble Proc objects
=begin
The fact that we can get backtraces from the VM easily almost makes me wonder if the following API is possible:

Thread#backtrace_with_bindings
=>
[[file, line, method, [[:arg1_name, current_value], [:arg2_name, current_v...
rogerdpack (Roger Pack)
12:40 AM Feature #839: Add code on each line of a backtrace output to the screen
=begin
I still like this patch (applied to caller and/or Exception#backtrace).

Who needs to approve it...?

Thanks.
-r

Related previous requests:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/4822
ht...
rogerdpack (Roger Pack)
12:36 AM Revision 914b36e3 (git): * marshal.c (w_object, r_object0): use RHASH_IFNONE but not ifnone
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:10 AM Feature #2152: Split functionality of Float#inspect and Float#to_s
=begin
If no feedback on this then I suppose I shall go ahead and write up a patch for it.
Thanks!
-r
=end
rogerdpack (Roger Pack)

11/10/2009

11:34 PM Revision 6ebdf245 (git): * thread.c (blocking_region_begin): define before BLOCKING_REGION.
reported by Luis Lavena. [ruby-core:26670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:23 PM Revision 145f07fa (git): * util.c (ruby_strtod): use dval() consistently.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:51 PM Revision f0e0b778 (git): * test/dl/test_func.rb (test_strtod): strtod test should not rely on
memory layout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
10:51 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I would like to say that without applying this patch, my ruby interpreter, embedded in a pthread, would cause a segmentation fault as soon as GC was invoked. I would like to see this applied to 1.9.1 as well as http://redm...
romanbsd (Roman Shterenzon)
05:18 PM Revision b2a34a1e (git): * 2009-11-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:18 PM Revision c33d5a80 (git): * test/matrix/test_matrix.rb (TestMatrix#test_rank):
added a test method for r24969.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
05:11 PM Revision 9ca07357 (git): merges r24969 from trunk into ruby_1_9_1, and adds a test for the fix.
--
* lib/matrix.rb (Matrix#rank): Two bug fixes. One made
Matrix[[0,0],[0,0],[1,0]].rank raise a NoMethodError while the other
one had Matrix[[0,1],[0,0],[1,0]].rank raise a TypeError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra...
yugui (Yuki Sonoda)
05:09 PM Revision cc502757 (git): * 2009-11-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:09 PM Revision e8a0cb6e (git): merges r24961 from trunk into ruby_1_9_1.
--
* lib/matrix.rb (Matrix#/): Fix obvious bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:52 AM Feature #2347: Math::INFINITY
=begin
Hi,

2009/11/10 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> I'm quite ignorant about the differences between compilers and implementations (and I wouldn't mind remaining this way! ;-)
>
> The fact is, Ruby _already_ gene...
shugo (Shugo Maeda)
10:17 AM Feature #2347: Math::INFINITY
=begin
I'm quite ignorant about the differences between compilers and implementations (and I wouldn't mind remaining this way! ;-)

The fact is, Ruby _already_ generates infinities. Line 2471 of numeric.c:

#define infinite_valu...
marcandre (Marc-Andre Lafortune)
10:18 AM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
Hi,

2009/11/9 Yukihiro Matsumoto <matz@ruby-lang.org>:
> Forgive my ignorance but what is a pole error in practical UNIX
> programing sense. On my Linux box, atanh document only describes EDOM
> to be raised. Does th...
marcandre (Marc-Andre Lafortune)
12:21 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin
Hi,

thanks for the patch, I applied it with a minor addition (also matching on HAVE_RB_EXEC_RECURSIVE in pp functions to use the "old" behaviour instead).

I expect that the compiler problems are only because of the flag...
Skade (Florian Gilcher)
12:01 AM Revision 561fbde4 (git): * process.c (rb_f_exec): fixed rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

11/09/2009

11:41 PM Feature #2351 (Rejected): system() hardlinked to /bin/sh
=begin
I encountered this problem while using a feature of the very powerful zsh(ell).

In zsh one can use regular expressions in shell commands, like accessing files in
different locations with one command:

cat -la /mnt/se...
Comradin (Marcus Franke)
11:23 PM Revision ade7714d (git): * process.c (rb_f_exec, rb_f_system, rb_f_spawn): mentioned about
the shell to be used when the command line is single string.
See [ruby-core:26652]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:01 PM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
For completeness, I'll note that IEE Std. 754 (2008) recommends (pp. 42-43) that atanh(x) signals a "divideByZero" exception when x == 1; and a "invalid operation" exception when x > 1. Both forms raise the "underflow" flag. Late...
runpaint (Run Paint Run Run)
05:39 PM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
Hi,

In message "Re: [ruby-core:26465] [Bug #2189] Math.atanh(1) & Math.atanh(-1) should not raise an error"
on Sun, 1 Nov 2009 12:54:45 +0900, Marc-Andre Lafortune <redmine@ruby-lang.org> writes:

|> So we follow SUSv3,...
matz (Yukihiro Matsumoto)
02:14 AM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
Hi,

On Sun, Nov 1, 2009 at 12:13 AM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> How about Math.log_with_pole_check()?

Since there are more functions than #log which can return +/- infinity, it would be better to have one ...
marcandre (Marc-Andre Lafortune)
06:03 PM Bug #2346 (Rejected): Array(nil) fails after redefining NilClass.method_missing to throw NoMethodError
=begin

=end
matz (Yukihiro Matsumoto)
06:01 PM Bug #2346: Array(nil) fails after redefining NilClass.method_missing to throw NoMethodError
=begin
Hi,

In message "Re: [ruby-core:26628] [Bug #2346] Array(nil) fails after redefining NilClass.method_missing to throw NoMethodError"
on Mon, 9 Nov 2009 01:56:47 +0900, Romulo Ceccon <redmine@ruby-lang.org> writes:

|Give...
matz (Yukihiro Matsumoto)
01:56 AM Bug #2346 (Rejected): Array(nil) fails after redefining NilClass.method_missing to throw NoMethodError
=begin
Given the following script:

print "Array(nil) => ", Array(nil).inspect, "\n"
print "Array.try_convert(nil) => ", Array.try_convert(nil).inspect, "\n"
class NilClass
private
def method_missing(method, *a...
romuloceccon (Rômulo Ceccon)
12:34 PM Feature #2347: Math::INFINITY
=begin
Hi,

In message "Re: [ruby-core:26644] Re: [Feature #2347] Math::INFINITY"
on Mon, 9 Nov 2009 12:17:41 +0900, Shugo Maeda <shugo@ruby-lang.org> writes:

|I don't remember the reason why Float::INFINITY was rejected, but ...
matz (Yukihiro Matsumoto)
12:18 PM Feature #2347: Math::INFINITY
=begin
Hi,

2009/11/9 Yugui <yugui@yugui.jp>:
>> Could we have Math::INFINITY which would make code using it cleaner?
>
> As my understand, Ruby has not had Math::INFINITY because C does not have it.
> Introducing infinity might d...
shugo (Shugo Maeda)
12:14 PM Feature #2347: Math::INFINITY
=begin
Hello,

In message "[ruby-core:26632] [Feature #2347] Math::INFINITY"
on Nov.09,2009 04:53:15, <redmine@ruby-lang.org> wrote:
> + rb_define_const(rb_mMath, "INFINITY", DBL2NUM(1.0/0.0));

FYI, some strict compilers d...
usa (Usaku NAKAMURA)
12:00 PM Feature #2347: Math::INFINITY
=begin
2009/11/9 Tanaka Akira <akr@fsij.org>:
>> Here are a problem. Is there an environment which satisfies the
>> conditions but does not have infinity?
>
> NetBSD on VAX, I guess.

VAX!

OK. I understand. I'm against for intr...
yugui (Yuki Sonoda)
11:21 AM Feature #2347: Math::INFINITY
=begin
2009/11/9 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> It is easy to get an infinity in Ruby (ex: 1.0/0) but that may not be obvious to everyone.
>
> Could we have Math::INFINITY which would make code using it cleaner?

A...
yugui (Yuki Sonoda)
04:53 AM Feature #2347 (Closed): Math::INFINITY
=begin
It is easy to get an infinity in Ruby (ex: 1.0/0) but that may not be obvious to everyone.

Could we have Math::INFINITY which would make code using it cleaner?

Thanks


diff --git a/math.c b/math.c
index 51caf35...
marcandre (Marc-Andre Lafortune)
12:12 PM Feature #2348: RBTree Should be Added to the Standard Library
Hi,
At Mon, 9 Nov 2009 06:41:57 +0900,
James Gray wrote in [ruby-core:26635]:
> RBTree has now been fixed to run on Ruby 1.9:
> ...
It can't compile with non-gcc, or with gcc and $DEBUG.
```diff
diff --git a/extconf.rb b/extconf.rb
ind...
nobu (Nobuyoshi Nakada)
07:38 AM Feature #2348: RBTree Should be Added to the Standard Library
=begin

On Nov 8, 2009, at 6:11 PM, James Gray wrote:

> Feature #2348: RBTree Should be Added to the Standard Library
> http://redmine.ruby-lang.org/issues/show/2348
>
> Author: James Gray
> Status: Open, Priority: Normal
> Cat...
Skade (Florian Gilcher)
06:41 AM Feature #2348 (Rejected): RBTree Should be Added to the Standard Library
=begin
The merits of this library have been discussed on Ruby core, with the strengths best summarized by this post:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/26602

RBTree has now been fixed to run on Ruby 1...
JEG2 (James Gray)
11:18 AM Revision d6f5da84 (git): * thread.c (rb_gc_save_machine_context): don't save the stack pointer
in this function.
(RB_GC_SAVE_MACHINE_CONTEXT): call rb_gc_save_machine_context and
save the stack pointer at caller side.
(rb_thread_schedule_rec): use RB_GC_SAVE_MACHINE_CONTEXT instead of
rb_gc_save_machine_context.
(blockin...
akr (Akira Tanaka)
06:50 AM Revision aaee331c (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_IsInfinite): rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:50 AM Revision 54b5ac56 (git): * string.c (rb_str_each_line): rdoc fix
* ext/bigdecimal/bigdecimal.c (#infinite?, #nonzero?): rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
02:38 AM Revision c7c3ed45 (git): * Makefile.in (clean-ext): get rid of failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:28 AM Revision 68eb9194 (git): * configure.in (warnflags): add -Wno-long-long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:28 AM Revision e8e477f2 (git): * configure.in (warnflags): add -Wno-long-long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:04 AM Bug #2344 (Closed): Invalid read by ./ruby -v
=begin

=end
naruse (Yui NARUSE)
 

Also available in: Atom