Project

General

Profile

Activity

From 10/09/2010 to 10/15/2010

10/15/2010

11:39 PM Revision 92a7cf04 (git): * dln.c (dln_strerror): get English message first, instead of
system default. see [ruby-dev:42358].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:39 PM Revision d2623b22 (git): * ChangeLog: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:02 PM Feature #3939 (Assigned): Language of error message as English by default on Windows
=begin
I've changed win32ole.c now.
Nakamura-san, how about dln.c?

=end
suke (Masaki Suketa)
10:57 PM Feature #3939 (Closed): Language of error message as English by default on Windows
=begin
This issue was solved with changeset r29507.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
suke (Masaki Suketa)
09:08 PM Bug #3940: Lazy sweep and ObjectSpace.each_object
=begin
 ささだです。

(2010/10/15 12:40), 石塚圭樹 wrote:
> ところで, 添付のようなエラーが出てSEGVしちゃうんですけど, 原因が何か分
> かります?
>
> 何をやっているかというと, 親プロセスから子プロセスをforkしていて, 子側
> がSEGVしています.
>
> 親側では, threadとかmutexを使っていて色々と非同期処理をしています.
> fork後, 子側でそのthreadがGC...
ko1 (Koichi Sasada)
08:40 PM Bug #3940: Lazy sweep and ObjectSpace.each_object
=begin
けいじゅ@いしつかです.

In [ruby-dev:42396] the message: "[ruby-dev:42396] Re: [BUG: trunk]
Lazy sweep and ObjectSpace.each_object", on Oct/15 17:26(JST) SASADA
Koichi writes:

> ささだです。

>> ちょっとお聞きしたいんですけど, この問題って, どの辺りのバージョンから
>>...
keiju (Keiju Ishitsuka)
05:27 PM Bug #3940: Lazy sweep and ObjectSpace.each_object
=begin
 ささだです。

(2010/10/15 9:16), 石塚圭樹 wrote:
>> > Lazy sweep 中に ObjectSpace.each_object(相当)を行うと、SEGV するの
>> >で、下記のようなパッチを作成しました。
> ちょっとお聞きしたいんですけど, この問題って, どの辺りのバージョンから
> 入っています?
>
> それと, 1.9.2での話なんですが, finalizerを指定している場合プロセス...
ko1 (Koichi Sasada)
05:17 PM Bug #3940: Lazy sweep and ObjectSpace.each_object
=begin
けいじゅ@いしつかです.

In [ruby-dev:42369] the message: "[ruby-dev:42369] [BUG: trunk] Lazy
sweep and ObjectSpace.each_object", on Oct/13 14:13(JST) SASADA Koichi
writes:

> ささだです。
>
> Lazy sweep 中に ObjectSpace.each_object(相当)を行うと...
keiju (Keiju Ishitsuka)
07:09 PM Feature #3947: Array#packのにエンディアン指定修飾子</>を追加
=begin
2010年10月15日18:43 Tanaka Akira <akr@fsij.org>:
> 2010年10月15日16:35 NARUSE, Yui <naruse@airemix.jp>:
>
>>> なお、私としては、l! などを個々に記述して、対応する C の型を
>>> それぞれに書いたのは、そちらのほうがわかりやすいだろうという思いがありました。
>>
>> <, > を追加すると組み合わせが増えるので別に書いた方がわかりやすい...
naruse (Yui NARUSE)
06:43 PM Feature #3947: Array#packのにエンディアン指定修飾子</>を追加
=begin
2010年10月15日16:35 NARUSE, Yui <naruse@airemix.jp>:

>> なお、私としては、l! などを個々に記述して、対応する C の型を
>> それぞれに書いたのは、そちらのほうがわかりやすいだろうという思いがありました。
>
> <, > を追加すると組み合わせが増えるので別に書いた方がわかりやすいと思ったので変えました。
>
>> あと、i, I の記述が消えていますね。
>
> が、i, I ...
akr (Akira Tanaka)
04:35 PM Feature #3947: Array#packのにエンディアン指定修飾子</>を追加
=begin
2010年10月15日8:01 Tanaka Akira <akr@fsij.org>:
> 2010年10月14日21:36 Yui NARUSE <redmine@ruby-lang.org>:
>>
>> なお、signed とか型の大きさ可搬性絡みは、1.9 になるときに Perl を参考にしつつ
>> もっぱら rdoc の整備という形で再定義されたと理解しています、
>> という話を後で英語でも書きます。
>
> 私が整理したの...
naruse (Yui NARUSE)
08:02 AM Feature #3947: Array#packのにエンディアン指定修飾子</>を追加
=begin
2010年10月14日21:36 Yui NARUSE <redmine@ruby-lang.org>:
>
> なお、signed とか型の大きさ可搬性絡みは、1.9 になるときに Perl を参考にしつつ
> もっぱら rdoc の整備という形で再定義されたと理解しています、
> という話を後で英語でも書きます。

私が整理したのはもっと後だったと思いますが。

なお、私としては、l! などを個々に記述して、対応する C の型を
そ...
akr (Akira Tanaka)
05:15 PM Bug #3949 (Closed): Can predefined classes be removed?
=begin
According to rdoc, Module#remove_const cannot remove predefined classes:

> Predefined classes and singleton objects (such as true) cannot be
> removed.

But actually we can remove them.
$ ruby-1.8.0 -ve 'Object.send(...
yugui (Yuki Sonoda)
05:09 PM Feature #1628: GC.stat
=begin
 ささだです。

(2010/10/15 8:58), Tanaka Akira wrote:
> 2010年10月15日16:32 SASADA Koichi <ko1@atdot.net>:
>
>>> |に、GC.internal_statistic_information という感じで追加するのはどうでしょ
>>> |うか。
>>>
>>> うーん、いくらなんでもそんな名前は嫌です。GC.statでいいじゃ
>>> ん。そこに...
ko1 (Koichi Sasada)
04:58 PM Feature #1628: GC.stat
=begin
2010年10月15日16:32 SASADA Koichi <ko1@atdot.net>:

>> |に、GC.internal_statistic_information という感じで追加するのはどうでしょ
>> |うか。
>>
>> うーん、いくらなんでもそんな名前は嫌です。GC.statでいいじゃ
>> ん。そこに反対したことはありません。
>
>  反対してたのは田中さんなんで...。

GC.stat に反対した覚えはあ...
akr (Akira Tanaka)
04:32 PM Feature #1628: GC.stat
=begin
 ささだです。

(2010/10/15 2:00), Yukihiro Matsumoto wrote:
> | この件、キーの名前をどうするかでちゅうぶらりんになっていました。実装の
> |詳細に踏み込んだ、処理系開発者しか見ないメソッドという意味を強調するため
> |に、GC.internal_statistic_information という感じで追加するのはどうでしょ
> |うか。
>
> うーん、いくらなんでもそんな名前は嫌...
ko1 (Koichi Sasada)
10:01 AM Feature #1628: GC.stat
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42385] Re: [Feature: trunk] GC.stat"
on Fri, 15 Oct 2010 02:00:43 +0900, SASADA Koichi <ko1@atdot.net> writes:

| この件、キーの名前をどうするかでちゅうぶらりんになっていました。実装の
|詳細に踏み込んだ、処理系開発者しか見ないメソッドという意味...
matz (Yukihiro Matsumoto)
02:00 AM Feature #1628: GC.stat
=begin
 ささだです。

(2009/06/14 7:57), SASADA Koichi wrote:
>  現在の GC 関連の状態を表示するためのメソッド GC.stat を追加するのはど
> うでしょうか.
>
> {:count=>1, # これまで GC が起こった回数
> :elapsed_time=>0.004, # これまで GC にかかったユーザ時間
> :heap_us...
ko1 (Koichi Sasada)
04:47 PM Bug #3948 (Closed): Unexpected RangeErorr of pack and unpack with specified byte-order modifier
=begin
This issue was solved with changeset r29501.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
10:41 AM Bug #3948 (Closed): Unexpected RangeErorr of pack and unpack with specified byte-order modifier
=begin
After applying Revision 29496, I can use < > modifier for pack and unpack.
But it fails to work when the modifier occurs more than once.

C:\>ruby -e 'p "1234".unpack("SS")'
[12849, 13363]

C:\>ruby -e 'p "1234".unpac...
phasis68 (Heesob Park)
04:27 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
=begin
2010年10月15日9:28 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> (2010/10/14 21:07), Tanaka Akira wrote:
>> >> さて、q/Q は 64bit signed/unsigned int なのですが、機種依存の long long (厳密には LONG_LONG) の
>> >> サイズが必要な場合、現状 Ruby レベルから取る手段が一...
naruse (Yui NARUSE)
03:10 PM Revision 22a957a0 (git): * 2010-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 26166151 (git): * hash.c (rb_hash_aref): skip calling "default" method
if it is not neede for speed-up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:56 PM Revision efddc4b6 (git): * .gitignore: ignore doc/capi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:36 PM Revision ba8dc58e (git): * file.c (NUM2DEVT, DEVT2NUM, PRI_DEVT_PREFIX): fallback to
unsigned int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:11 PM Revision e8e2ea48 (git): * iseq.c (insn_operand_intern): fix format specifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:55 PM Revision 12dc1ffd (git): * ext/win32ole/win32ole.c (ole_hresult2msg): get English message first,
instead of system default. [ruby-core:32765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
01:47 PM Revision 8a4966d1 (git): * include/ruby/ruby.h (VALUE): prefer long over uintptr_t,
FIX2LONG expects VALUE to be long at least.
* include/ruby/ruby.h (FIX2LONG): parenthesize the argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:30 AM Revision a45936d4 (git): * configure.in (dev_t): use RUBY_REPLACE_TYPE.
* file.c (rb_stat_inspect): use PRI_DEVT_PREFIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:31 AM Revision 8a0cd16d (git): Revert "* sprintf.c (rb_str_format): fix: sprintf with hex format and"
This reverts commit a160986d90cf90a86e01d60eddb04ffe0e584c36.
Revert wrong commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:28 AM Revision 6a443e2e (git): * pack.c (pack_pack): simplify comparison of explicit_endian
as pointed by nobu.
* pack.c (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:28 AM Revision a160986d (git): * sprintf.c (rb_str_format): fix: sprintf with hex format and
precision includes wrong dots.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:42 AM Revision ccaf61d5 (git): * pack.c (pack_pack): fix more than one modifiers appear in the
format string. [ruby-core:32793]
* pack.c (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:35 AM Revision dfd139b8 (git): * 2010-10-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:35 AM Revision 0751cca1 (git): Add missing i, I description.
And desribe each combination of a directive and modifiers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:13 AM Feature #3491: Pack missing directives for signed types with specified byte-order
=begin
Sorry for late response.

Your point is right and it'a new feature.
I add it and it will be available in Ruby 1.9.3.
=end
naruse (Yui NARUSE)
01:10 AM Feature #3436: Spawn the timer thread lazily
=begin
Hi,

(2010/10/14 16:45), Mark Somerville wrote:
>> ex) How to wake up the thread?
>>
>> check_signal();
>> <- receive signal at this timing
>> select(..., infinitely);
>
> Would this occur if rb_signal_buf...
ko1 (Koichi Sasada)
12:46 AM Feature #3436: Spawn the timer thread lazily
=begin
Hi Koichi,

On Wed, Oct 13, 2010 at 11:40:52PM +0900, SASADA Koichi wrote:
> It is tough for me to describe the behavior in English.

OK.

> ex) How to wake up the thread?
>
> check_signal();
> <- receive sig...
Spakman (Mark Somerville)

10/14/2010

10:17 PM Feature #3491 (Closed): Pack missing directives for signed types with specified byte-order
=begin
This issue was solved with changeset r29496.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
10:17 PM Feature #3947 (Closed): Array#packのにエンディアン指定修飾子</>を追加
=begin
This issue was solved with changeset r29496.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
09:36 PM Feature #3947: Array#packのにエンディアン指定修飾子</>を追加
=begin
たしかに #3491 と重複しているようなしていないような。
見落としていました、ありがとうございます。

なお、signed とか型の大きさ可搬性絡みは、1.9 になるときに Perl を参考にしつつ
もっぱら rdoc の整備という形で再定義されたと理解しています、
という話を後で英語でも書きます。
=end
naruse (Yui NARUSE)
09:29 PM Feature #3947: Array#packのにエンディアン指定修飾子</>を追加
=begin
2010年10月14日15:46 Yui NARUSE <redmine@ruby-lang.org>:
> Feature #3947: Array#packのにエンディアン指定修飾子</>を追加
> http://redmine.ruby-lang.org/issues/show/3947
>
> 起票者: Yui NARUSE
> ステータス: Open, 優先度: Normal
> Target version: 1.9.3
>
...
akr (Akira Tanaka)
06:08 PM Feature #3947: Array#packのにエンディアン指定修飾子</>を追加
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42376] [Ruby 1.9-Feature#3947][Open] Array#packのにエンディアン指定修飾子</>を追加"
on Thu, 14 Oct 2010 15:46:44 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

|さて、pack のようにバイト列を扱う場合、しばしば問題になる...
matz (Yukihiro Matsumoto)
03:46 PM Feature #3947 (Closed): Array#packのにエンディアン指定修飾子</>を追加
=begin
Ruby の伏魔殿 Array#pack ですが、機種依存な部分をいじる際にはしばしば強力かつ唯一の手段になる事があります。
具体的には RubySpec 書く時とか。

さて、pack のようにバイト列を扱う場合、しばしば問題になるのがエンディアンです。
ここで、Ruby の Array#pack は 16bit/32bit 固定の整数に対してはエンディアン固定の
n/N/v/V 指定子を用意していますが、short/int/lon...
naruse (Yui NARUSE)
09:29 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
=begin
(2010/10/14 21:07), Tanaka Akira wrote:
>> さて、q/Q は 64bit signed/unsigned int なのですが、機種依存の long long (厳密には LONG_LONG) の
>> サイズが必要な場合、現状 Ruby レベルから取る手段が一切ありません。
>> すでに s/S/i/I/l/L (16bit/32bit/32bit) は、! をつけることでその機種の short/int/l...
naruse (Yui NARUSE)
09:07 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
=begin
2010年10月14日15:36 Yui NARUSE <redmine@ruby-lang.org>:
> Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
> http://redmine.ruby-lang.org/issues/show/3946
>
> 起票者: Yui NARUSE
> ステータス: Open, 優先度: Normal
> Target version: 1.9.3
>...
akr (Akira Tanaka)
03:36 PM Feature #3946 (Closed): Array#packのqQ指定子に機種依存サイズフラグ!を追加
=begin
Ruby の伏魔殿 Array#pack ですが、機種依存な部分をいじる際にはしばしば強力かつ唯一の手段になる事があります。
具体的には RubySpec 書く時とか。

さて、q/Q は 64bit signed/unsigned int なのですが、機種依存の long long (厳密には LONG_LONG) のサイズが必要な場合、
現状 Ruby レベルから取る手段が一切ありません。
すでに s/S/i/I/l/L (16...
naruse (Yui NARUSE)
08:57 PM Bug #3907 (Closed): WIN32OLE_TYPELIB Can't load while envvar in the pathname .
=begin
This issue was solved with changeset r29495.
Akio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
suke (Masaki Suketa)
12:23 AM Bug #3907: WIN32OLE_TYPELIB Can't load while envvar in the pathname .
=begin
artonです。

すみません。前のメールでは間違えてCLSIDのほうを見ていましたが
(inprocsvr32とか書いている)、TypeLibのほうも、REG_EXPAND_SZを使ってい
るので問題ないです。

--
arton <artonx@yahoo.co.jp>

--------------------------------------
Learn more about breast cancer - Pink Ri...
arton (Akio Tajima)
12:15 AM Bug #3907: WIN32OLE_TYPELIB Can't load while envvar in the pathname .
=begin
artonです。

> これ、"Disk Management Snap-In Object Library" だったら、
> Windows 7 でも REG_EXPAND_SZ を使ってますか?
> というか Windows 7 にもそんなのがありますか?
Windows7にもありました。
InProcServer32は、REG_EXPAND_SZを使って %SystemRoot%...となっているので、
XPでもそうなっているのであれ...
arton (Akio Tajima)
07:13 PM Bug #3940: Lazy sweep and ObjectSpace.each_object
=begin
 ささだです。

(2010/10/14 2:34), Yukihiro Matsumoto wrote:
> | 解決策として、中田さんに ObjectSpace.each_object に相当する関数
> |rb_objspace_each_objects を実行する前に sweep を完全に終了させる、という
> |方法を教えてもらいました。
>
> オブジェクトがsweep対象かどうかはわかるはずなんだから、sweep
> され...
ko1 (Koichi Sasada)
10:34 AM Bug #3940: Lazy sweep and ObjectSpace.each_object
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42369] [BUG: trunk] Lazy sweep and ObjectSpace.each_object"
on Wed, 13 Oct 2010 14:13:46 +0900, SASADA Koichi <ko1@atdot.net> writes:

| 解決策として、中田さんに ObjectSpace.each_object に相当する関数...
matz (Yukihiro Matsumoto)
02:23 PM Revision 22c791e1 (git): test/win32ole/test_folderitem2_invokeverb.rb: refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
01:19 PM Revision 559fd3e4 (git): * insns.def, iseq.c, vm_insnhelper.c: rename variable name
(ip -> iseq).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:12 PM Revision 5825359d (git): * pack.c (pack_pack): support endian modifiers: < and >.
[ruby-dev:42376] Feature #3491
* pack.c (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:56 AM Revision b1085aba (git): * ext/win32ole/win32ole.c (reg_get_val): expand environment in
the pathname. [Bug #3907]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
04:27 AM Bug #3945 (Closed): Numeric#step with infinity unit
=begin
This issue was solved with changeset r29490.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
04:15 AM Bug #3945 (Closed): Numeric#step with infinity unit
=begin
Numeric#step with infinity unit doesn't works well:

> 1.step(0, Float::INFINITY) {|x| p x }
1.0
=> 1
1.step(0, -Float::INFINITY) {|x| p x }
=> 1

Expected result is:

> 1.step(0, Float::INFINITY) {|x| p x }
...
naruse (Yui NARUSE)
01:51 AM Feature #3944 (Rejected): Add Fiber#root? method
Since the root fiber is treated differently than other Fibers (e.g. you can't yield from the root), code which can optionally use fibers for high-performance IO (in my case, the Mysql2 driver) needs `Fiber#root?` to know when it can use... mperham (Mike Perham)
12:09 AM Revision 694826d7 (git): Refix for r29493; it is unsigned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

10/13/2010

11:48 PM Bug #3907: WIN32OLE_TYPELIB Can't load while envvar in the pathname .
=begin
助田です。

On Tue, Oct 05, 2010 at 11:16:07PM +0900, Akio Tajima wrote:
>
> ただし、ADO 2.0はWindows7ではREG_EXPAND_SZを使っていますが、
> Windows XPでは使っていないためテストとしてはいまいちです。
>

反応鈍くてすいません。

パッチのご提供ありがとうございます。
これ、"Disk Management Snap-In...
suke (Masaki Suketa)
11:41 PM Feature #3436: Spawn the timer thread lazily
=begin
(2010/10/13 15:18), Mark Somerville wrote:
> How can I move this patch forward? Are there any objections to it being
> merged? If so, I'd love to try to fix them.

Yes, I have. Two reasons.


(1) You missed signal problem...
ko1 (Koichi Sasada)
11:18 PM Feature #3436: Spawn the timer thread lazily
=begin
On Sun, Oct 10, 2010 at 02:21:41AM +0900, Mark Somerville wrote:
> On Sun, Oct 10, 2010 at 01:27:53AM +0900, Mark Somerville wrote:
> > I've attached a slightly improved patch which fixes a rare case when the
> > timer thread ...
Spakman (Mark Somerville)
11:09 PM Revision 51427700 (git): * file.c (DEVT2NUM): added. Size of dev_t is depend on the
environment even if POSIX defines dev_t as unsigned integer.
For example, OpenVMS, 64bit Solaris 9, and NetBSD 6 defines
dev_t as 64bit unsigned integer.
* file.c (rb_stat_dev): use DEVT2NUM.
* file.c (rb_stat_dev_major): dev_t is ...
naruse (Yui NARUSE)
10:47 PM Bug #3909 (Closed): CGI.unescape("あ%E3%81%82")で例外
=begin
This issue was solved with changeset r29484.
Takeyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
xibbar (Takeyuki FUJIOKA)
10:22 PM Revision 7735e635 (git): * array.c (rb_ary_and, rb_ary_or), class.c (rb_mod_init_copy),
gc.c (undefine_final), time.c (time_mload): get rid of
type-punning casts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:00 PM Bug #3931: Timezone offset changing during addition
=begin
1989-04-02 is the first Sunday in April, which is the transition to daylight savings time in the US in that year.

I see your 1.9.2 behavior in my 1.8.7p72 and 1.9.1p243, so it doesn't look like a change in behavior to me.
...
dkelley (Daniel Kelley)
07:17 PM Revision 421076be (git): * 2010-10-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:17 PM Revision ded94d1c (git): * numeric.c (ruby_float_step): fix Numeric#step with infinity unit
doesn't works well. [ruby-core:32779]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:51 PM Bug #3941 (Closed): Segmentation fault ruby 1.9.2p0 [x86_64-linux]
=begin
Greetings

I'm using The latest ruby 1.9.2 via rvm. on my ubuntu 10.04 64bit AMD machine.
In my rails project. I have a rake tasks that scrapes some web pages using curl based libraries. It randomly fails with the followi...
modsaid (mahmoud said)
02:27 PM Bug #3940 (Assigned): Lazy sweep and ObjectSpace.each_object
=begin

=end
usa (Usaku NAKAMURA)
02:14 PM Bug #3940 (Closed): Lazy sweep and ObjectSpace.each_object
=begin
 ささだです。

 Lazy sweep 中に ObjectSpace.each_object(相当)を行うと、SEGV するの
で、下記のようなパッチを作成しました。

# 32bit 環境の test-all で、最近 sdbm で SEGV してたのは多分これが問題。
# ObjectSpace.each_object を使っているので。


 推測ですが、下記のような原因ではないかと思います。

(1)...
ko1 (Koichi Sasada)
02:16 PM Revision b238a3f3 (git): * tool/enc-unicode.rb: get rid of lots of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:08 PM Revision e0a7c207 (git): * vm_dump.c (dump_thread): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:07 PM Revision e69bba13 (git): * iseq.c (insn_operand_intern, rb_iseq_disasm): fix format specifiers.
* vm.c (thread_free): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:53 PM Revision 9d0c732f (git): * numeric.c (check_uint): get rid of overflow on LLP64 platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:51 PM Revision dc647aea (git): * insns.def (opt_case_dispatch): use st_data_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:39 PM Revision fc6d58cc (git): * lib/cgi/util.rb (CGI::unescape): bugfix to unescape the multibyte
string. Thanks nobu and tDiary dev members. [Bug #3909]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
12:13 PM Revision 74dcda0d (git): * numeric.c (int_chr): raise error when the value is negative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:12 PM Feature #3939 (Assigned): Language of error message as English by default on Windows
=begin
I've changed thread_win32.c now.

Suketa-san, if you want to follow these experimental changes, do it.
If not, reject this ticket.
=end
usa (Usaku NAKAMURA)
11:23 AM Feature #3939 (Closed): Language of error message as English by default on Windows
=begin
After r29450, the default system error message is English on Windows.

I wish the other modules using FormatMessage also be modified in order to get default English error message.

The remaining codes are dlc.c, thread_wi...
phasis68 (Heesob Park)
10:28 AM Revision 7724d136 (git): * vm.c (ruby_vm_destruct): This function type was wrong; correct to the prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
05:58 AM Revision e79fbf3d (git): * numeric.c (rb_num_to_uint): fix 32bit logic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:56 AM Revision a01e6283 (git): * numeric.c (rb_num_to_uint): added to check the range of arguments.
Mainly for negative value with NUM2UINT on 32bit environment.
* string.c (rb_str_concat): use rb_num_to_uint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:36 AM Revision acd98555 (git): move a non-combinational test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:10 AM Revision c94c6a1a (git): * thread_win32.c (w32_error): get English message first, instead
of system default. see [ruby-core:32765].
[experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:04 AM Revision 8022385b (git): * debug.c (ruby_set_debug_option): define always for binary
compatibility with debug env enabled binary.
* signal.c (ruby_enable_coredump): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:52 AM Revision 5ba5d4c8 (git): * include/ruby/ruby.h (ruby_executable_node): missing prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:45 AM Bug #3937 (Rejected): LC_ALL=zh_CN cause WIN32OLERuntimeError when require 'win32ole'
=begin
zh_CN.gbk and zh_CN.utf8 work fine, but zh_CN not.


C:\>ruby -v
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

C:\>set LC_ALL=zh_CN.gbk

C:\>ruby -e "require 'win32ole';puts 'ok'"
ok

C:\>set LC_ALL=zh_CN

C...
oCameLo (oCameLo oTnTh)
12:27 AM Revision 82ff894c (git): Fix style for ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

10/12/2010

09:04 PM Revision 769f5fc4 (git): Clean warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:54 PM Revision 0ba69794 (git): Fix test; escape a backslash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:23 PM Revision e7413bc6 (git): * missing/strchr.c: add strlen's prototype.
* missing/strtrr.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:56 PM Bug #3931: Timezone offset changing during addition
=begin
Are you sure? This is new behavior in 1.9.2. I've tested with 1.8.7 & 1.9.1 and this doesn't occur.
=end
ebryn (Erik Bryn)
07:05 PM Bug #3931 (Rejected): Timezone offset changing during addition
=begin
It's Daylight Saving Time.
=end
nobu (Nobuyoshi Nakada)
02:04 PM Bug #3931 (Rejected): Timezone offset changing during addition
=begin
Here's the original code that I found this bug with:
ruby-1.9.2-p0 > t = Time.local(1900, nil, nil, nil, nil, nil)
=> 1900-01-01 00:00:00 -0800
ruby-1.9.2-p0 > t + 5_630_617_200
=> 2078-06-05 05:20:00 -0700

After...
ebryn (Erik Bryn)
06:58 PM Bug #3934 (Rejected): ChangeLog-1.9.3
=begin
#3932 を調べていて気づいたのですが、trunk/ChangeLog の末尾に

> For the changes before 1.9.3, see doc/ChangeLog-1.9.3

と書いてありますが、 1.9.2(-p0) に入っていない変更も doc/ChangeLog-1.9.3 に移動しているのは意図的でしょうか?
=end
znz (Kazuhiro NISHIYAMA)
06:37 PM Bug #3933 (Closed): TestIO_M17N#test_ungetc_intがエラーになる
=begin
This issue was solved with changeset r29454.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
05:48 PM Bug #3933 (Closed): TestIO_M17N#test_ungetc_intがエラーになる
=begin
前田です。

手元の環境で、TestIO_M17N#test_ungetc_intがエラーになるようです。

$ ruby-trunk -v test/ruby/test_io_m17n.rb -n /ungetc_int/
ruby 1.9.3dev (2010-10-12 trunk 29450) [i686-linux]
test/ruby/test_io_m17n.rb:1451: warning: assigned bu...
shugo (Shugo Maeda)
04:17 PM Bug #3923 (Closed): bad error messages for Winsock (on Win32)
=begin
r29449 で修正されました(なぜか自動closeされない)
=end
usa (Usaku NAKAMURA)
03:58 PM Bug #3923: bad error messages for Winsock (on Win32)
=begin
逆変換する範囲を、VC10のみ、かつ、追加されたerrnoに絞るようにして
パッチを入れてみました。
要するにVC10のバカヤロウがerrno追加したくせにsyserror()で対応しない
のが悪いのです。ぷんぷん。
(別に規格に反してるとかいうわけじゃないのが余計に腹立たしい)
=end
usa (Usaku NAKAMURA)
01:12 PM Bug #3923: bad error messages for Winsock (on Win32)
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:42361] Re: [Ruby 1.9-Bug#3923] bad error messages for Winsock (on Win32)"
on Oct.12,2010 12:46:48, <artonx@yahoo.co.jp> wrote:
> encodingの話と合わせて、errnoの変換ついでにmessageもRuby
> 持ち(BSDの実...
usa (Usaku NAKAMURA)
12:57 PM Bug #3923 (Assigned): bad error messages for Winsock (on Win32)
=begin

=end
usa (Usaku NAKAMURA)
12:46 PM Bug #3923: bad error messages for Winsock (on Win32)
=begin
> お約束ですが、パッチはunified
> diff形式で出してくれると助かります。
すみません。

> それはさておき、これたぶんVC10だけですよね。
> 正直なところ、この対処法はかなり気に入らないんですが、
どうしようかなあ。

encodingの話と合わせて、errnoの変換ついでにmessageもRuby
持ち(BSDの実装あたりからメッセージを拝借)にしたらどう
でしょうか。


----------------...
arton (Akio Tajima)
10:10 AM Bug #3923: bad error messages for Winsock (on Win32)
=begin
お約束ですが、パッチはunified diff形式で出してくれると助かります。

それはさておき、これたぶんVC10だけですよね。
正直なところ、この対処法はかなり気に入らないんですが、どうしようかなあ。
=end
usa (Usaku NAKAMURA)
03:27 PM Feature #3418 (Closed): IO#putc Clobbers Multi-byte Characters
=begin
This issue was solved with changeset r29447.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
03:21 PM Revision 2d4e8b4e (git): * ext/syck/rubyext.c (struct mktime_arg): constified.
* ext/syck/rubyext.c (mktime_do, mktime_r, rb_syck_mktime): fix
function signatures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:18 PM Revision 537d7ff1 (git): * st.c (MurmurMagic): get rid of literal overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:10 PM Revision a176b065 (git): * io.c (rb_io_ctl), parse.y (LVAR_USED): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:03 PM Revision cea3919a (git): * configure.in (RUBY_CHECK_PRINTF_PREFIX): check for printf format
specifier if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:58 PM Revision 150b4efa (git): * win32/win32.c (rb_w32_open_osfhandle, rb_w32_wopen, rb_w32_pipe):
use uintptr_t instead of long for win64.
* win32/win32.c (socketpair_internal): suppress warnings.
* win32/win32.c (ftruncate): use HANDLE instead of long for win64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29467 b2dd03c8-39d...
nobu (Nobuyoshi Nakada)
02:55 PM Revision 85d1cba8 (git): * vsnprintf.c (BSD_vfprintf): fix cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:54 PM Revision 2f0b8e27 (git): * numeric.c (rb_num2fix): result of rb_num2long is SIGNED_VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:54 PM Revision b736c9b5 (git): * ext/socket/init.c (rsock_init_sock): conditionally used variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:53 PM Revision abd94c33 (git): * dln.c (rb_w32_check_imported): suppress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:47 PM Revision d410639a (git): * compile.c (iseq_build_body), error.c (set_syserr, get_syserr),
(syserr_initialize), gc.c (define_final, rb_gc_copy_finalizer),
(run_final), hash.c (rb_hash_aref, rb_hash_lookup2),
(rb_hash_fetch_m, rb_hash_clear, rb_hash_aset, eql_i),
iseq.c (iseq_load, iseq_data_to_ary), marshal.c (r_symlink)...
nobu (Nobuyoshi Nakada)
02:35 PM Revision 17c48beb (git): * compile.c (iseq_build_body), insns.def (getglobal, setglobal),
iseq.c (iseq_load, iseq_data_to_ary), util.c (valid_filename):
use VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:09 PM Revision 3c24bea4 (git): * gc.c (obj_free, rb_objspace_call_finalizer): fix truncating
cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 PM Revision 0172f318 (git): * gc.c (mark_current_machine_context): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:41 PM Revision f5bcc56b (git): * compile.c (iseq_compile_each): fix truncating cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:18 PM Revision 4fe1e7c6 (git): * cont.c (fiber_setcontext): missing variable definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:39 PM Revision 681e5513 (git): * error.c (exc_to_s): use OBJ_INFECT.
* error.c (name_err_to_s): ditto.
* error.c (name_err_mesg_to_str): ditto.
* error.c (syserr_initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:09 AM Revision 628c802e (git): * error.c (syserr_initialize): taint message if mesg is given
and it is tainted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:30 AM Revision b487f788 (git): * io.c (rb_io_ungetc): always see Bignum. On 32bit valid value
may be a Bignum. On 64bit for errors. [ruby-dev:42366]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:25 AM Revision 1e223065 (git): * string.c (rb_str_concat): use unsigned int for GB18030.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:56 AM Revision 2d8612e9 (git): * numeric (check_uint): the mask must refer to VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:50 AM Revision 23225723 (git): * numeric (check_uint): set MSB for negative value.
* numeric (rb_num2uint): return value's type of rb_num2ulong
is VALUE.
* numeric (int_chr): variable i can't be negative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:35 AM Bug #3929 (Third Party's Issue): Pluralize mistake on radius
=begin
Rails is not Ruby.
=end
nobu (Nobuyoshi Nakada)
07:54 AM Bug #3929 (Third Party's Issue): Pluralize mistake on radius
=begin
pluralize( 2, "radius")
=> "2 radius"
-----------------------
radius is a word likely to be encountered during website entry. More so than octopus.
The correct plural (of course) is radii.
=end
cabu (cab jones)
07:05 AM Revision fb44f02a (git): * win32/win32.c (rb_w32_strerror): get English message first, instead
of system default. see [ruby-dev:42358].
[experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:54 AM Revision cba4cda7 (git): * win32/win32.c (rb_w32_strerror): unmap some range of errno for
workaround of VC10's strerror() and sys_nerr problem.
based on a patch from Akio Tajima, [ruby-dev:42355].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:37 AM Revision 7587eb70 (git): * io.c (rb_io_ungetc): use unsigned int for GB18030.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:18 AM Revision 0a8f047a (git): * io.c (rb_io_putc): support multibyte characters.
[ruby-core:30697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:18 AM Revision e960fffd (git): * numeric.c (rb_enc_uint_chr): split from int_chr.
* numeric.c (int_chr): use rb_enc_uint_chr.
* include/ruby/encoding.h (rb_enc_uint_chr): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:14 AM Revision 6913b273 (git): * numeric.c (int_chr): a codepoint of Ruby M17N must be 32bit
unsigned int; GB18030 uses MSB. Also note that OnigCodePoint
is defined as uisigned int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:22 AM Revision 243831cd (git): * vm_dump.c (dump_thread): foolish mistake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:02 AM Bug #3928: getaddrinfo: Name or service not known
=begin
I have launched the script with strace and found the problem.

socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = -1 EMFILE (Too many open files)
=end
SMiX (Andrey Kouznetsov)
01:59 AM Bug #3928: getaddrinfo: Name or service not known
=begin
I wanted to write TCPSocket.new of course.
=end
SMiX (Andrey Kouznetsov)
01:53 AM Bug #3928 (Rejected): getaddrinfo: Name or service not known
=begin
Hello. I am having strange error when I am creating lots of TCPSocket objects.
Here is a snippet:


require 'socket'
i = 0
while true do
socket = TCPSocket "google.com", 80
i += 1
puts i
end

On ~ 90...
SMiX (Andrey Kouznetsov)
01:39 AM Revision 83906099 (git): * configure.in (RUBY_MINGW32): canonicalize only on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/11/2010

11:55 PM Bug #3677: unable to run certain gem binaries' in windows 7
=begin
Hello,

A patch has been provided in #3805:

http://redmine.ruby-lang.org/issues/show/3805

Also has been applied in r29200
=end
luislavena (Luis Lavena)
11:17 PM Bug #3927 (Third Party's Issue): Ruby can't interprete rmagick library
=begin
When I use ruby 1.9.2 with RVM and rmagick gem 2.13.1 with rails 3.0.0, I receive this super-error on my project. Follow the backtrace.


Completed 200 OK in 43ms (Views: 41.3ms)
/Users/weldyss/.rvm/gems/ruby-1.9.2-p0@fo...
weldyss (Weldys Santos)
09:18 PM Bug #3920 (Rejected): WEBrick::HTTPServlet::ProcHandler が動かない
=begin

=end
znz (Kazuhiro NISHIYAMA)
02:17 PM Bug #3926 (Closed): Errno#message encoding is right ?
=begin
This issue was solved with changeset r29438.
Akio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
01:10 PM Bug #3926 (Closed): Errno#message encoding is right ?
=begin
Errno::*#messageは、strerrで取ってきたメッセージなので、encodingは、localeに合わせたものを設定すべきと思うのですがどうでしょうか?

irb(main):001:0> Errno::EINVAL.new.message
=> "Invalid argument"
irb(main):002:0> Errno::EINVAL.new.message.encoding
=> #<Encoding:ASC...
arton (Akio Tajima)
11:23 AM Revision 3f34ecc5 (git): * lib/net/http.rb (HTTP.get): specify ASCII-8BIT as the result
encoding of Zlib::GzipReader.
http://hibari.2ch.net/test/read.cgi/tech/1281473294/271
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:34 AM Revision 57a9cb4c (git): * 2010-10-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:34 AM Revision 329467bb (git): * parse.y (opt_block_arg): Allow a trailing comma at the end of
an argument list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
08:43 AM Revision c1b24588 (git): * error.c (syserr_initialize): use mesg's encoding when locale
encoding is US-ASCII. If locale encoding is not US-ASCII,
assume err has non ASCII characters. [ruby-dev:42358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:37 AM Bug #3925 (Closed): setting Tempfile/StringIO to $std* before startup causes [BUG] Segmentation fault
=begin
This issue was solved with changeset r29435.
Akio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
04:03 AM Bug #3925 (Closed): setting Tempfile/StringIO to $std* before startup causes [BUG] Segmentation fault
=begin
$stdout, in, errにTempfileやStringIOをセットするライブラリを-rで読み込むと[BUG]となります。
例)
#d.rb
require 'stringio'
$stdout = StringIO.new
#---------------------------------
を作って

$ruby -r./d -e 'puts "hello"'
-e: [BUG] Segmentation ...
arton (Akio Tajima)
05:15 AM Revision 44691b90 (git): * error.c (syserr_initialize): set the encoding of Errno::*#message
as locale. [ruby-dev:42358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

10/10/2010

09:54 PM Revision 47cb5a93 (git): * ext/stringio/stringio.c (strio_set_encoding):
StringIO#set_encoding can get 2nd argument and optional hash
for API compatibility to IO. [ruby-dev:42356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:29 PM Revision 6221ba10 (git): * 2010-10-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:29 PM Revision e1646652 (git): * io.c (rb_io_set_encoding): use rb_funcall2 when the io is not
a T_FILE. [ruby-dev:42356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:45 AM Revision 72ef2198 (git): * lib/set.rb (Set#replace): Apply a bit of optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
08:15 AM Bug #3924 (Closed): Performance bug (in require?)
=begin
Running irb < /dev/null in 1.9.2 causes 3016 calls to lstat64.

For instance, there is a sequence of 28 repetitions each of lstat calls to all 6 non-empty path prefixes of /opt/local/lib/ruby1.9/1.9.1/irb.rb -- a total of 17...
cabo (Carsten Bormann)
04:31 AM Feature #3922: Syntax awkwardness
=begin
Ok, first i was surprised by the fact that it is possible to embed
multiple statements inside a parenthesised expression:
[code]
(4; 1) #=> 1
### OR:
(4
1) #=> 1
[/code]
But ok, maybe this is needed somewhere (do you have...
Ragmaanir (Ragmaanir Anon)
12:54 AM Feature #3922 (Feedback): Syntax awkwardness
=begin

=end
matz (Yukihiro Matsumoto)
12:20 AM Feature #3922: Syntax awkwardness
=begin
Hi,

In message "Re: [ruby-core:32731] [Ruby 1.9-Bug#3922][Open] Syntax awkwardness"
on Sat, 9 Oct 2010 22:39:10 +0900, Lasse Fabisch <redmine@ruby-lang.org> writes:

|[code]
|1 + (2; 1) #=> 2
|puts(1; 2) #=> syntax er...
matz (Yukihiro Matsumoto)
02:21 AM Feature #3436: Spawn the timer thread lazily
=begin
On Sun, Oct 10, 2010 at 01:27:53AM +0900, Mark Somerville wrote:
> I've attached a slightly improved patch which fixes a rare case when the
> timer thread may not be stopped correctly after the last thread has
> exited.

Oop...
Spakman (Mark Somerville)
01:28 AM Feature #3436: Spawn the timer thread lazily
=begin
On Fri, Oct 08, 2010 at 11:12:47PM +0900, Nobuyoshi Nakada wrote:
> Updated patch with new test.

The new test is much better, thanks a lot.

On Fri, Oct 08, 2010 at 11:36:13PM +0900, SASADA Koichi wrote:
> (2010/10/08 15:1...
Spakman (Mark Somerville)
01:31 AM Bug #3923 (Closed): bad error messages for Winsock (on Win32)
=begin
Winsock関係のErrnoのメッセージが異常です。
例)Errno::EWOULDBLOCK -> 既にパスが置き換えられているドライブ上のディレクトリにドライブを接続しようとしました。
この場合、正しくは「ブロック不可のソケット操作をすぐに完了できませんでした。」です。
理由)WinSock固有のエラーコードをerrnoに変換したまま、strerrorを呼び出しているため。
パッチとテストを添付します。
=end
arton (Akio Tajima)
01:25 AM Feature #3917: [proposal] called_from() which is much faster than caller()
=begin
桑田です。日本語が文字化けしてたようで申し訳ないです。


2010/10/8 SASADA Koichi <ko1@atdot.net>:
>  ささだです。
>
> 基本的に賛成なんですが、alternative なアイデアということで。
>
>
> (1) caller の拡張案
>
> (a) 配列の要素数を指定するオプショナル引数を加える
>
> caller(n, m) => n 個上の caller から、...
kwatch (makoto kuwata)
01:20 AM Revision 3ec721b9 (git): * configure.in (RUBY_MINGW32): canonicalize as like mswin version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:58 AM Feature #3845: "in" infix operator
=begin
Hi,

2010/10/9 "Martin J. Dürst" <duerst@it.aoyama.ac.jp>:
> [a, b, c] includes x, not the other way round. Of course, you can change the
> verb to passive voice (includ*ed*) and make the former object (x) a
> grammatical su...
mame (Yusuke Endoh)

10/09/2010

10:38 PM Feature #3922 (Rejected): Syntax awkwardness
=begin
[code]
1 + (2; 1) #=> 2
puts(1; 2) #=> syntax error
puts((1; 2)) # like: puts 2
puts (3)*2 #=> 6
puts(3)*2 #=> nil-error
puts (1; 2) #=> syntax error
puts (1; 2)*3 #=> syntax error
puts ((1; 2))*3 # like: puts 6
...
Ragmaanir (Ragmaanir Anon)
09:02 PM Feature #3845: "in" infix operator
=begin
Hello Yusuke,

On 2010/10/08 21:29, Yusuke ENDOH wrote:
> Hi,
>
> 2010/10/8 "Martin J. Dürst"<duerst@it.aoyama.ac.jp>:
>> I would understand that if it were [a, b, c].included? x
>> But it's include?, so the order seems ju...
duerst (Martin Dürst)
08:33 PM Revision ff6ce776 (git): * vm_core.h (rb_signal_buff_size, rb_signal_exec): moved
declarations from thread.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:12 AM Feature #3901: WIN32OLE_VARIANT.new method lacks consistency
=begin

artonです。

> で、IDispatch
> のラッパーにした方が良い理由が何かありますか?
> どちらかというと TypeError
> が、元々、私が意図した動作だったような気
> がしています。
意図はそうだと思いますが、IDispatchを与える(作る)方法と
してWIN32OLE_VARIANTはちょうど良い位置にあるからです。
もっとも、ユースケースは思いつかないのでどちらもTypeError
でも異論はないです...
arton (Akio Tajima)
09:52 AM Feature #3901: WIN32OLE_VARIANT.new method lacks consistency
=begin
助田です。

On Sun, Oct 03, 2010 at 09:44:38PM +0900, Akio Tajima wrote:

> WIN32OLE_VARIANT.new(Kernel)はTypeError: can not convert WIN32OLE_VARIANT from type Moduleとなります。
> WIN32OLE_VARIANT.new([Kernel])は、KernelにIDispatchをラップしたW...
suke (Masaki Suketa)
07:54 AM Revision 0ac2f951 (git): * configure.in (RSHIFT): quote to get rid of argument expansion
for autoconf 2.68.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:14 AM Revision fd17a909 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:13 AM Bug #3847: URI.join does not join multiple paths
=begin
Hmm, so you say add more exmaple like following?

# p URI.join('http://example.com', '/foo', 'bar', '../baz')
# # => #<URI::HTTP:0x801a92af0 URL:http://example.com/foo/baz>
=end
naruse (Yui NARUSE)
01:25 AM Bug #3847: URI.join does not join multiple paths
=begin
It seems that the expected behavior of a join method like this would be to concatenate any number of strings into a full url. Basically this should operate in near identical fashion as Array#join with url escaping and protocol va...
bramswenson (Bram Swenson)
02:00 AM Revision 549b0c53 (git): * thread.c (thread_reset_event_flags, exec_event_hooks): ignore
hooks marked as removed.
* thread.c (thread_exec_event_hooks): remove hooks to be removed.
* thread.c (rb_threadptr_remove_event_hook, rb_remove_event_hook):
defer removing hooks if running the hooks. [ruby-dev:42350]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
01:51 AM Revision c3032fa7 (git): * thread.c (rb_threadptr_exec_event_hooks): suppress each event
hooks separately.
* thread.c (thread_suppress_tracing): split from
ruby_suppress_tracing, accepting thread pointer and event mask.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom