Project

General

Profile

Activity

From 10/17/2008 to 10/23/2008

10/23/2008

09:27 PM Feature #679: Integer#to_s(:step=>3, :sep=>",") が欲しい
=begin
成瀬です。

> 最初の例は "12,345,678" のではないでしょうか。
>
> これではインド風の表記が不可能ではないでしょうか
> ("1,23,45,678", ようするに一番右には三つ、その左は二つずつ)。

POSIX C の仕様を真似て、
12345678.to_s(:step=>[3, 2, 0], :sep=>",") #=> "1,23,45,678"
とか
12345678.to_s(:step=>...
naruse (Yui NARUSE)
04:33 PM Feature #679: Integer#to_s(:step=>3, :sep=>",") が欲しい
=begin
最初の例は "12,345,678" のではないでしょうか。

これではインド風の表記が不可能ではないでしょうか ("1,23,45,678", ようするに一番右には三つ、その左は二つずつ)。

Integer だけではなく、他の数はどうでしょうか。
=end
duerst (Martin Dürst)
02:56 PM Feature #679 (Rejected): Integer#to_s(:step=>3, :sep=>",") が欲しい
=begin
これはIntegerをStringに変換するときに
12345678.to_s(:step=>3,:sep=>",") #=> "1,2345,678"
12345678.to_s(:step=>4,:sep=>"'") #=> "1234'5678"
となるものです。
こちらはいかがでしょう?
=end
xibbar (Takeyuki FUJIOKA)
07:54 PM Bug #650: Marshal.load raises RegexpError
=begin
けいじゅ@いしつかです.

In [ruby-dev :36882 ] the message: "[ruby-dev:36882] Re: [Bug #650]
Marshal.load raises RegexpError ", on Oct/23 17:39(JST) Yukihiro
Matsumoto writes:

>まつもと ゆきひろです
>
>例外は実行を中断しちゃうんで、「とりあえずの変換結果」ではか
>なり情報が失...
keiju (Keiju Ishitsuka)
05:41 PM Bug #650: Marshal.load raises RegexpError
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36872] Re: [Bug #650] Marshal.load raises RegexpError"
on Thu, 23 Oct 2008 03:26:00 +0900, keiju@ishitsuka.com (石塚圭樹) writes:

|例外オブジェクトのアクセサで取りあえずの変換結果が取り出せるイメージで
|した.

例外は実行を中断...
matz (Yukihiro Matsumoto)
03:27 AM Bug #650: Marshal.load raises RegexpError
=begin
けいじゅ@いしつかです.

In [ruby-dev :36871 ] the message: "[ruby-dev:36871] Re: [Bug #650]
Marshal.load raises RegexpError ", on Oct/23 02:07(JST) Urabe Shyouhei
writes:

>卜部です。
>
>ちょと混乱してきました。石塚さんがおっしゃっておられる「例外」ってのはな
>んなんでしょう。
...
keiju (Keiju Ishitsuka)
02:09 AM Bug #650: Marshal.load raises RegexpError
=begin
卜部です。

ちょと混乱してきました。石塚さんがおっしゃっておられる「例外」ってのはな
んなんでしょう。
私の中ではRubyのException(つまりrb_raise()でトリガするあれ)のつもりだっ
たので、例外を発生させたところで処理が中断する前提でお話をしていたのです
が、「変換に失敗したものだけが例外になってもらった方が」のくだりで指して
おられる「例外」は、どうもそれとは違うようで。


石塚圭樹 さんは書きました:
>...
shyouhei (Shyouhei Urabe)
05:20 PM Bug #409 (Closed): Can't modify frozen ... の型
=begin

=end
matz (Yukihiro Matsumoto)
03:26 PM Bug #678: Socket.getservbyport should convert the port param to network byte order
=begin
Hi,

In message "Re: [ruby-core:19460] Re: [Bug #678] Socket.getservbyport should convert the port param to network byte order"
on Thu, 23 Oct 2008 14:33:39 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|I think ...
matz (Yukihiro Matsumoto)
02:35 PM Bug #678: Socket.getservbyport should convert the port param to network byte order
=begin
Hi,

At Thu, 23 Oct 2008 07:54:55 +0900,
Dave Thomas wrote in [ruby-core:19454]:
> getservbyname returns the port number in native byte order
> (so "telnet" returns 23).
>
> But if you pass 23 back to getserverbyport, it ...
nobu (Nobuyoshi Nakada)
08:17 AM Bug #678 (Closed): Socket.getservbyport should convert the port param to network byte order
=begin
Applied in changeset r19893.
=end
matz (Yukihiro Matsumoto)
07:56 AM Bug #678 (Closed): Socket.getservbyport should convert the port param to network byte order
=begin
getservbyname returns the port number in native byte order (so "telnet" returns 23).

But if you pass 23 back to getserverbyport, it fails, because it doesn't covert the param to network byte order before calling getservbypor...
pragdave (Dave Thomas)
01:08 PM Revision 6e1ed146 (git): * distruby.rb: removed. "make dist" uses tool/make-snapshot for the 1.9
series. distruby.rb has been no longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:30 AM Revision 06151d4a (git): * class.c (rb_class_instance_methods): rdoc fixed. [ruby-core:19458]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
07:46 AM Bug #664 (Closed): ruby 1.9 (trunk rev 19846) segfaults
=begin

=end
matz (Yukihiro Matsumoto)
05:43 AM Bug #664: ruby 1.9 (trunk rev 19846) segfaults
=begin
I couldn't trigger a segfault in revision 19889.
=end
stefan (Stefan Lang)
07:21 AM Revision 04e30e31 (git): * lib/irb/init.rb (IRB.load_modules): catch LoadError explicitly.
a patch from Daniel Berger <Daniel.Berger at qwest.com> in
[ruby-core:19451]. fix [ruby-core:19450]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
07:16 AM Revision 409293eb (git): * ext/socket/socket.c (sock_s_getservbyport): check if the port range.
[ruby-core:19460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:53 AM Revision 5a8db29b (git): * string.c (rb_str_dump): use \u{ff} escape for UTF-8 encoding
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
05:08 AM Revision 472156c2 (git): * ext/socket/socket.c (sock_s_getservbyname): unuse unnecessary
object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:18 AM Revision a5ea0e8c (git): * ext/socket/socket.c (sock_s_getservbyport): the port should be
converted before the proto so that the #to_int of the former cannot
alter the latter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:27 AM Revision 538d87cf (git): * ext/socket/socket.c (sock_s_getservbyport): cast to get rid of
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

10/22/2008

11:12 PM Revision c1bb485c (git): * ext/socket/socket.c (sock_s_getservbyport): port should be
network byte order. a patch from Dave Thomas in [ruby-core:19454].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:58 PM Bug #650: Marshal.load raises RegexpError
=begin
けいじゅ@いしつかです.

In [ruby-dev :36865 ] the message: "[ruby-dev:36865] Re: [Bug #650]
Marshal.load raises RegexpError ", on Oct/22 20:31(JST) Urabe Shyouhei
writes:

>卜部です。

>いや、まず例外が起きるなら現状と何ら変わりませんがな。

パラメータを指定するなら, 例外の捕捉...
keiju (Keiju Ishitsuka)
08:33 PM Bug #650: Marshal.load raises RegexpError
=begin
卜部です。

石塚圭樹 さんは書きました:
> 例えば, 配列の一要素が復元できなかった場合など, 複数のオブジェクトを再
> 生したとき,
>
>
>>> obj = Marshal.load src, invalid: :replace
>>> obj == Marshal::Invalid and raise "invalid data"
>>>
>
> このやり方では, 実際にどのオブジェクトの再...
shyouhei (Shyouhei Urabe)
07:35 PM Bug #650: Marshal.load raises RegexpError
=begin
けいじゅ@いしつかです.

In [ruby-dev :36863 ] the message: "[ruby-dev:36863] Re: [Bug #650]
Marshal.load raises RegexpError ", on Oct/22 17:37(JST) Yukihiro
Matsumoto writes:

>まつもと ゆきひろです

>ふむ。この線で対応しようかなと思うのですが、まだもう少しつめ
>きれていない気...
keiju (Keiju Ishitsuka)
05:38 PM Bug #650: Marshal.load raises RegexpError
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36836] Re: [Bug #650] Marshal.load raises RegexpError"
on Tue, 21 Oct 2008 16:30:57 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|ユーザーアプリケーション側は変換に失敗したかどうかを==で判定するとおもわ
|...
matz (Yukihiro Matsumoto)
10:57 PM Bug #676 (Rejected): 引数の有無によるIO#readの挙動の違い
=begin

=end
matz (Yukihiro Matsumoto)
10:23 PM Bug #676: 引数の有無によるIO#readの挙動の違い
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36866] [Bug #676] 引数の有無によるIO#readの挙動の違い"
on Wed, 22 Oct 2008 22:10:17 +0900, _ wanabe <redmine@ruby-lang.org> writes:

|IO#read に引数を渡すかどうかで、挙動が異なる場合があるようです。

これは仕様です。readに引数を与えた場合...
matz (Yukihiro Matsumoto)
10:11 PM Bug #676 (Rejected): 引数の有無によるIO#readの挙動の違い
=begin
IO#read に引数を渡すかどうかで、挙動が異なる場合があるようです。
たとえば mingw 上では以下のようになりました。

$ ruby -ve '
[[], [1000]].each do |argv|
r, w = IO.pipe
w.print "\n"
w.close
p r.read(*argv)
end
'
ruby 1.9.0 (2008-10-22 revision 198...
wanabe (_ wanabe)
05:37 PM Bug #672 (Closed): rb_io_flush in pipe_open
=begin
Applied in changeset r19888.
=end
matz (Yukihiro Matsumoto)
05:22 PM Bug #675 (Closed): Failure: test_delete_with_block(TestSDBM)
=begin
closed by r19885.
=end
matz (Yukihiro Matsumoto)
03:38 AM Bug #675 (Closed): Failure: test_delete_with_block(TestSDBM)
=begin
1) Failure:
test_delete_with_block(TestSDBM) [.../trunk/test/sdbm/test_sdbm.rb:375]:
<"called block"> expected but was
<"no called block">.
も調べてみました。

ext/sdbm/init.cのfsdbm_deleteで
ExportStringValue(keystr);
で...
znz (Kazuhiro NISHIYAMA)
04:53 PM Revision 38c7a687 (git): * string.c (rb_str_conv_enc_opts): new function to convert with
specifying ecflags and ecopts.
* ext/zlib/zlib.c (gzfile_newstr): specify ecflags and ecopts for
conversion using above function.
* ext/zlib/zlib.c (gzfile_newstr): use own rb_econv_t for dummy
encoding to handling stateful encodin...
matz (Yukihiro Matsumoto)
04:24 PM Revision 41de0174 (git): * lib/mkmf.rb (create_tmpsrc): get rid of side effects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:24 PM Revision b6807f83 (git): * lib/mkmf.rb (create_tmpsrc): get rid of side effects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:16 PM Bug #669 (Closed): nil を引数にして Iconv.new を呼ぶとSEGV
=begin

=end
nobu (Nobuyoshi Nakada)
03:12 PM Revision 8a0d53ac (git): * cont.c: separate data structure between rb_fiber_t and
rb_context_t (rb_fiber_t includes rb_context_t).
rb_fiber_t has double linked list of fibers in same threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:57 PM Bug #674 (Closed): Failure: test_aset(TestSDBM)
=begin
Applied in changeset r19885.
=end
matz (Yukihiro Matsumoto)
12:14 PM Bug #674: Failure: test_aset(TestSDBM)
=begin
なかだです。

At Wed, 22 Oct 2008 03:16:57 +0900,
Kazuhiro NISHIYAMA wrote in [ruby-dev:36854]:
> ext/sdbm/init.cのfsdbm_fetchの
> return rb_external_str_new(value.dptr, value.dsize);
> でvalue = {dptr = "barbarfoo", dsize = 0}と...
nobu (Nobuyoshi Nakada)
03:18 AM Bug #674 (Closed): Failure: test_aset(TestSDBM)
=begin
1) Failure:
test_aset(TestSDBM) [.../trunk/test/sdbm/test_sdbm.rb:174]:
<""> expected but was
<"barbarfoo">.
について調べてみました。

ext/sdbm/init.cのfsdbm_fetchの
return rb_external_str_new(value.dptr, value.dsize);
でval...
znz (Kazuhiro NISHIYAMA)
01:23 PM Revision d1c4aefa (git): * Described -E external:internal and -U.
* formatted some texts.
* added BUGS and SEE ALSO sections.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:27 AM Revision a9a23756 (git): * io.c (pipe_open): remove unnecessary flush before fork.
a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>
in [ruby-dev:36840].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
07:28 AM Revision 5c0515f2 (git): * vm_insnhelper.c (vm_yield_setup_args): should not drop arguments
corresponding to default paramters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:03 AM Revision e8a71e64 (git): * parse.y (f_larglist): should not allow semicolon separated local
variable declarations if formal argument list is not surrounded
by parentheses, mostly because semicolon outside of parentheses
appears to terminate the expression.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19886 b2dd03c8-39...
matz (Yukihiro Matsumoto)
05:55 AM Revision 4a3f2a7b (git): * string.c (rb_external_str_new_with_enc): no implicit strlen call.
[ruby-dev:36854]
* string.c (rb_external_str_new_cstr): new function to create
string from external NUL terminated C string.
* string.c (rb_locale_str_new_cstr): ditto.
* ext/readline/readline.c: now use rb_locale_str_new_cstr().
*...
matz (Yukihiro Matsumoto)
04:27 AM Revision 1d38a821 (git): * re.c (unescape_escaped_nonascii): back out the last change on
the function. [ruby-dev:36818]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)

10/21/2008

10:10 PM Revision 81525af4 (git): * ext/zlib/zlib.c (rb_gzreader_ungetc): should be able to unget
Fixnum.
* ext/stringio/stringio.c (strio_ungetc): should convert unget
string.
* ext/stringio/stringio.c (strio_ungetbyte): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
08:59 PM Revision 34d1e9bb (git): * include/ruby/vm.h: write a comment.
* common.mk: remove vm.h from any rules.
vm.h is not needed on this version.
* vm_core.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:46 PM Revision bf52a3c0 (git): update ChangeLog for last check in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:45 PM Revision 3337185e (git): * parse.y (arg_concat_gen): concat target node should be NODE_ARRAY.
[ruby-core:19413]
* bootstraptest/test_method.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:24 PM Bug #650: Marshal.load raises RegexpError
=begin
西山和広です。

At Tue, 21 Oct 2008 16:30:57 +0900,
Urabe Shyouhei wrote:
>
> ユーザーアプリケーション側は変換に失敗したかどうかを==で判定するとおもわ
> れるので、nilみたいなものよりも普通のObject.newのほうがいいんじゃないで
> しょうか。
>
> # rb_define_const(rb_mMarshal, "Invalid", rb_obj_a...
znz (Kazuhiro NISHIYAMA)
04:32 PM Bug #650: Marshal.load raises RegexpError
=begin
卜部です。

Yukihiro Matsumoto さんは書きました:
> |じゃあ妥協案ですけど、Marshal.loadに invalid: :replace とか受け取れるよ
> |うにしません?
>
> 基本的にはいいアイディアだと思います。この場合、APIは
>
> Marshal.load(src, invalid: :replace)
>
> とかにするんですかね。その場合、再生に失敗したオブジェクトは
> なにに...
shyouhei (Shyouhei Urabe)
03:31 PM Bug #650: Marshal.load raises RegexpError
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36830] Re: [Bug #650] Marshal.load raises RegexpError"
on Tue, 21 Oct 2008 12:37:17 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|もとの正規表現にバグがあるのは認めますが、それに巻き込まれてでかいPStore
...
matz (Yukihiro Matsumoto)
12:38 PM Bug #650: Marshal.load raises RegexpError
=begin
もとの正規表現にバグがあるのは認めますが、それに巻き込まれてでかいPStore
のデータがまるごと読めなくて困ってるんですってば。

じゃあ妥協案ですけど、Marshal.loadに invalid: :replace とか受け取れるよ
うにしません?

Yukihiro Matsumoto さんは書きました:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:36794] Re: [Bug #65...
shyouhei (Shyouhei Urabe)
10:41 AM Bug #650: Marshal.load raises RegexpError
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36794] Re: [Bug #650] Marshal.load raises RegexpError"
on Mon, 20 Oct 2008 01:50:06 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|「1.8から来た正規表現に\uが含まれていたら1.9ではuのこととして扱う」でい...
matz (Yukihiro Matsumoto)
06:12 PM Bug #672 (Closed): rb_io_flush in pipe_open
=begin
直後のrb_forkの中で
#define prefork() ( \
rb_io_flush(rb_stdout), \
rb_io_flush(rb_stderr) \
)
prefork();
としているので、pipe_openのrb_io_flushは不要なのではないでしょうか?

Index: io.c
============...
znz (Kazuhiro NISHIYAMA)
04:08 PM Bug #671 (Closed): TestSignal#test_exit_actionでEINTRのメッセージが出る
=begin
TestSignal#test_exit_actionの子プロセス側で
Thread.start { Thread.pass }
のスレッドが何らかの理由で終了してしまうとselectシステムコールで待たずに
readシステムコールで待つようになってしまって、以下のようになります。

Thread.start { Thread.pass }
の後にsleep 0.01などを入れると確実に再現します。

% ruby-tru...
znz (Kazuhiro NISHIYAMA)
03:52 PM Revision fa127bbb (git): * string.c (rb_external_str_new_with_enc): wrong condition to
calculate strlen().
* ext/readline/readline.c: add encoding support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:34 PM Revision aaac962c (git): * 2008-10-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:34 PM Revision 4d084753 (git): Fixed test failures [ruby-dev:36837].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
03:32 PM Revision 73e221a1 (git): * 2008-10-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision 87fa1cdf (git): Fixed test failures [ruby-dev:36837].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
02:14 PM Revision 16549e33 (git): * ext/stringio/stringio.c (strio_write): should convert writing
string to the encoding of the buffer.
* hash.c (rb_any_hash): typo fixed.
* ext/zlib/zlib.c (rb_gzwriter_write): oops, IO string conversion
need to be done by to_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19874 b2dd03c8-39...
matz (Yukihiro Matsumoto)
01:57 PM Revision c5377c2b (git): * io.c (open_key_args): should adjust argc, argv in struct
foreach_arg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
12:56 PM Revision 42a65500 (git): * ext/zlib/zlib.c (rb_gzwriter_write): conversion should be done
using to_str, not to_s.
* ext/zlib/zlib.c (rb_gzwriter_write): need proper conversion
according to gz encoding.
* ext/zlib/zlib.c (rb_gzreader_ungetc): convert string encoding
before unget.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
matz (Yukihiro Matsumoto)
12:33 PM Revision ac466de7 (git): * lib/test/unit.rb (assert_nothing_raised): raise with backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:13 AM Revision 04f67418 (git): * lib/test/unit.rb (assert_nothing_raised): set backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:18 AM Revision b6ef272d (git): * ext/zlib/zlib.c: remove obsolete prototype macros.
* ext/zlib/zlib.c (struct gzfile): add encoding field to gzfile
structure.
* ext/zlib/zlib.c (rb_gzreader_getc): now works on characters.
* ext/zlib/zlib.c (rb_gzreader_getbyte): new method to retrieve
single byte.
* ext/zlib/zlib...
matz (Yukihiro Matsumoto)
08:57 AM Bug #658 (Closed): スクリプトエンコーディングがUTF-8のとき /[\xfe]/ でSEGV
=begin
Applied in changeset r19864.
=end
nobu (Nobuyoshi Nakada)
07:56 AM Bug #658 (Open): スクリプトエンコーディングがUTF-8のとき /[\xfe]/ でSEGV
=begin

=end
matz (Yukihiro Matsumoto)
07:47 AM Bug #658 (Closed): スクリプトエンコーディングがUTF-8のとき /[\xfe]/ でSEGV
=begin
Applied in changeset r19863.
=end
nobu (Nobuyoshi Nakada)
07:06 AM Bug #669 (Closed): nil を引数にして Iconv.new を呼ぶとSEGV
=begin
次の例のように Iconv.new や Iconv.open などの第一、又は第二引
数に nil を指定して呼ぶと、rubyが落ちます。nil の他にはシンボ
ルや true などで落ちました。パッチファイルを添付します。

例:

% ./ruby1.9 -riconv -e "Iconv.new(nil, 'UTF-8')"
-e:1: [BUG] Segmentation fault
ruby 1.9.0 (200...
hiroshi (Hiroshi MORIYAMA)
04:31 AM Revision d423b884 (git): * io.c, include/ruby/intern.h (rb_io_ascii8bit_binmode): externed.
* ext/socket/socket.c (init_sock): use rb_io_ascii8bit_binmode()
instead of rb_io_binmode().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
04:19 AM Revision 89dfcd82 (git): * mdoc2man.rb: moved into tools/.
* instruby.rb: followed the change of mdoc2man.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:34 AM Revision 5225f2c1 (git): * ext/iconv/iconv.c (strip_glibc_option, map_charset): check if
encoding is a string. based on the patch by Hiroshi Moriyama at
[ruby-dev:36811].
* test/iconv/test_basic.rb (test_invalid_arguments): added tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19866 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
01:40 AM Revision 4442095d (git): * io.c (rb_file_open_internal): should initialize fmode before using.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/20/2008

11:56 PM Revision 05a157ed (git): * regparse.c (parse_char_class): CCV_SB is only for single
byte. [ruby-dev:36786]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:52 PM Bug #668 (Closed): BigDecimal#to_r がありません
=begin
BigDecimal#to_r がありません。

main@190-20081020> BigDecimal('3').to_i
#=> 3
main@190-20081020> BigDecimal('3').to_f
#=> 3.0
main@190-20081020> BigDecimal('3').to_r
NoMethodError: undefined method `to_r' for #<BigDecimal:...
tadf (tadayoshi funaba)
11:31 PM Bug #667 (Closed): yaml が Complex、Rational をうまくあつかえていない
=begin
組み込みに対応できていません。

main@187-20080811> Rational(1,2).to_yaml
#=> "--- !ruby/object:Rational \ndenominator: 2\nnumerator: 1\n"
main@187-20080811> YAML.load(Rational(1,2).to_yaml)
#=> Rational(1, 2)

main@190-20081020> R...
tadf (tadayoshi funaba)
10:45 PM Revision 5e7203ea (git): * regparse.c (parse_char_class): CCV_SB is only for single
byte. [ruby-dev:36786]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:57 PM Revision e50a5bce (git): * io.c (rb_io_extract_modeenc): plain rb/wb should set ASCII-8BIT
to the external_encoding.
* io.c (rb_file_open_internal): ditto.
* io.c (NEED_WRITECONV): no conversion when the external_encoding
is ASCII-8BIT.
* io.c (do_writeconv): skip ASCII-8BIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
matz (Yukihiro Matsumoto)
03:53 PM Revision b5e583f7 (git): * 2008-10-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:53 PM Revision 7d48eab2 (git): * io.c (rb_io_ascii8bit_binmode): renamed from rb_io_binmode.
(rb_io_binmode): don't change encoding conversion.
(rb_io_binmode_m): call rb_io_ascii8bit_binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:25 PM Feature #666 (Rejected): Enumerable::to_hash
=begin
There are many ways to obtain an array from enumerables (to_a, map, ...).
There is no natural way to obtain a hash from an enumerable (except for Hash[some_array]).
There is a Hash::to_a but no Array::to_hash.
Here is what...
marcandre (Marc-Andre Lafortune)
02:16 PM Revision e46482f3 (git): fix test of multipart
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
12:29 PM Revision 225d2af6 (git): * lib/cgi/core.rb (read_multipart): file's encoding is ascii-8bit
from file field of multipart form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
11:21 AM Revision 71b832dd (git): * ext/zlib/zlib.c (Init_zlib): add getbyte as an alias to getc.
[ruby-dev:36801]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
11:18 AM Revision b348ed33 (git): * error.c (exc_equal): should not compare recursively.
[ruby-dev:36796]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
08:05 AM Revision 6259c87d (git): * include/ruby/ruby.h (ExportStringValue): new macro to convert
string in internal encoding to external to export.
* string.c (rb_str_export): new function to do conversion to
external encoding.
* ext/sdbm/init.c: encoding conversion support.
* ext/dbm/dbm.c: ditto.
git-svn-id: svn+ssh://ci.rub...
matz (Yukihiro Matsumoto)
07:15 AM Revision 52b3e3b9 (git): * string.c (rb_locale_str_new): new function to convert string
from locale to internal encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:25 AM Bug #650: Marshal.load raises RegexpError
=begin
成瀬です。

On Sun, 19 Oct 2008 02:13:16 +0900, Urabe Shyouhei
<shyouhei@ruby-lang.org> wrote:

> 卜部です。
>
> Yukihiro Matsumoto さんは書きました:
>> (1) 杓子定規に考えて、メジャーバージョンをあげる(1.8と1.9が
>> 通信できなくなる、うれしくない)
>>
>> (2) ささいな違いなの...
naruse (Yui NARUSE)
01:51 AM Bug #650: Marshal.load raises RegexpError
=begin
Yukihiro Matsumoto さんは書きました:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:36785] Re: [Bug #650] Marshal.load raises RegexpError"
> on Sun, 19 Oct 2008 02:13:16 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
>
> |...
shyouhei (Shyouhei Urabe)
12:13 AM Bug #650: Marshal.load raises RegexpError
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36785] Re: [Bug #650] Marshal.load raises RegexpError"
on Sun, 19 Oct 2008 02:13:16 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|Yukihiro Matsumoto さんは書きました:
|> (1) 杓子...
matz (Yukihiro Matsumoto)
12:48 AM Revision d4e0abce (git): * test/runner.rb: search srcdir/test/arg at first to find test/ruby
directory when "ruby" is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

10/19/2008

11:34 PM Bug #664 (Closed): ruby 1.9 (trunk rev 19846) segfaults
=begin
My build passes "make test".

I'm trying to port Rant to Ruby 1.9 and it segfaults
most of the time.

One possible way to produce a segfault:

$ svn checkout http://rant.rubyforge.org/svn/
$ ruby19 run_rant -n...
stefan (Stefan Lang)
11:22 PM Revision 27fdb778 (git): * ext/tk/lib/tk.rb: support Encoding.default_internal.
* ext/tk/tcltklib.c: ditto.
* ext/tk/extconf.rb: improve the strategy for searching Tcl/Tk headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
06:27 PM Revision 4ee47dcc (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:59 PM Revision 8bb663bd (git): * 2008-10-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:59 PM Revision 8fe3d028 (git): * lib/test/unit.rb (Test::Unit.setup_argv): call given block for
filtering files.
* test/runner.rb: search srcdir/test/arg, srcdir/arg.
* bin/testrb: show usage if no files given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:19 PM Revision 295c75cb (git): * tool/generic_erb.rb: sends the result to stdout if no output option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:12 PM Revision de85d6e9 (git): * common.mk (srcs): removed ID_H_TARGET.
* tool/generic_erb.rb: always overwrites if no if-change option.
* template/id.h.tmpl: shows which token differs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:15 AM Revision b014f1bc (git): * enc/trans/single_byte.trans: adding WINDOWS-wwww encodings
(wwww = 874/1250/1251/1253/1254/1255/1256/1257)
(contributed by Yoshihiro Kambayashi)
* enc/trans/windows-wwww-tbl.rb: 8 new files
(contributed by Yoshihiro Kambayashi)
* test/ruby/test_transcode.rb: added test_windows_wwww
(cont...
duerst (Martin Dürst)
07:47 AM Bug #659 (Closed): Math.lgamma not defined in -rcomplex
=begin
Applied in changeset r19845.
=end
Anonymous
04:33 AM Bug #659 (Closed): Math.lgamma not defined in -rcomplex
=begin
complexをrequireすることで::Mathの特異メソッドがいくつか消えます。

% ruby -rcomplex -ve'p Math.lgamma(1)'
ruby 1.9.0 (2008-10-19 revision 17576) [x86_64-linux]
-e:1:in `<main>': undefined method `lgamma' for CMath:Module (NoMethodError)

...
shyouhei (Shyouhei Urabe)
04:42 AM Bug #651 (Closed): Regexp.new returns strange regexp object
=begin

=end
shyouhei (Shyouhei Urabe)
04:21 AM Bug #658 (Closed): スクリプトエンコーディングがUTF-8のとき /[\xfe]/ でSEGV
=begin
リビジョン19812以降、スクリプトエンコーディングがUTF-8のときに
`\xfe' または `\xff' が正規表現の文字クラスに含まれていると、rubyが
落ちます:

% ./ruby1.9 <<EOS
# Encoding: UTF-8
/[\xfe]/
EOS
./ruby1.9: [BUG] Segmentation fault
ruby 1.9.0 (2008-10-19 revision 19843)...
hiroshi (Hiroshi MORIYAMA)
02:14 AM Bug #650: Marshal.load raises RegexpError
=begin
卜部です。

Yukihiro Matsumoto さんは書きました:
> (1) 杓子定規に考えて、メジャーバージョンをあげる(1.8と1.9が
> 通信できなくなる、うれしくない)
>
> (2) ささいな違いなので気にしない
>
> (3) 1.8で正規化する(すでに書き込んだデータは救済できないし、
> 副作用もある)
>
> (4) 1.9側に1.8正規表現かどうか判別して1.9正規表現に変換す...
shyouhei (Shyouhei Urabe)
12:19 AM Bug #650: Marshal.load raises RegexpError
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36773] Re: [Bug #650] Marshal.load raises RegexpError"
on Sat, 18 Oct 2008 07:05:07 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|> |> 厳密に言うとmarshalに上位互換性がないのでmarshalのメジャ...
matz (Yukihiro Matsumoto)
02:03 AM Bug #657 (Closed): Thread.new { fork }
=begin
% uname -a
Darwin tiamat.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
% ./ruby --version
ruby 1.9.0 (2008-10-19 revision 19843) [i386-darwin9.5.0]

% ./ru...
quix (James M. Lawrence)

10/18/2008

10:43 PM Revision 81b1fef5 (git): * lib/cmath.rb (log2,cbrt,frexp,ldexp,hypot,erf,erfc,gamma,lgamma):
should be also privided as module function. [ruby-dev:36787]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
10:30 PM Revision c2091e37 (git): * keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changed
input files for code generators into defs/ directory.
* Makefile.in (lex.c): followed keywords and lex.c.src.
* common.mk (parser.o): followed keywords.
(INSNS): followed opt_*.def
* tools/instruction.rb: followed opt_*.def.
git-sv...
yugui (Yuki Sonoda)
07:47 PM Bug #601 (Closed): an instance of Bignum can have singleton methods
=begin
Applied in changeset r19835.
=end
matz (Yukihiro Matsumoto)
07:12 PM Bug #601: an instance of Bignum can have singleton methods
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36569] [Bug #601] an instance of Bignum can have singleton methods"
on Thu, 25 Sep 2008 22:10:30 +0900, Yuki Sonoda <redmine@ruby-lang.org> writes:

|Bignumのインスタンスが特異メソッドを持てるようです。
...
matz (Yukihiro Matsumoto)
07:37 PM Feature #652 (Closed): tempfileにエンコーディングを指定できない
=begin
Applied in changeset r19833.
=end
matz (Yukihiro Matsumoto)
07:33 PM Feature #652: tempfileにエンコーディングを指定できない
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36756] [Feature #652] tempfileにエンコーディングを指定できない"
on Fri, 17 Oct 2008 00:25:32 +0900, Takeyuki Fujioka <redmine@ruby-lang.org> writes:

|tempfileにエンコーディングを指定する方法が欲しいです。
|現状はデフォルトのenc...
matz (Yukihiro Matsumoto)
03:48 PM Bug #650: Marshal.load raises RegexpError
=begin
卜部です。

Tanaka Akira さんは書きました:
> syntax と semantics のどちらを保存するかというと、semantics
> のほうがいいんじゃないですかね。
>
> 今は以下のように、マッチするものが変化するわけで、それが変化
> しないようになるほうがまだマシなんじゃないでしょうか。
>

semanticsのほうが保存されてたほうがいいのには納得しましたが、寝不足の頭
で考えたところによると...
shyouhei (Shyouhei Urabe)
07:06 AM Bug #650: Marshal.load raises RegexpError
=begin
卜部です。

Yukihiro Matsumoto さんは書きました:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:36771] Re: [Bug #650] Marshal.load raises RegexpError"
> on Sat, 18 Oct 2008 01:05:25 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes...
shyouhei (Shyouhei Urabe)
02:04 AM Bug #650: Marshal.load raises RegexpError
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36771] Re: [Bug #650] Marshal.load raises RegexpError"
on Sat, 18 Oct 2008 01:05:25 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|> 厳密に言うとmarshalに上位互換性がないのでmarshalのメジャーバー...
matz (Yukihiro Matsumoto)
01:06 AM Bug #650: Marshal.load raises RegexpError
=begin
卜部です。

Yukihiro Matsumoto さんは書きました:
> 1.9では正規表現に\uが増えたからですね。
>
> 厳密に言うとmarshalに上位互換性がないのでmarshalのメジャーバー
> ジョンを変化させるべきなのかもしれませんが、メリットよりもデ
> メリットの方が大きいのでそれはしない方向を考えてます。
>

ちなみにどういうデメリットですか?

> で、1.8の方のregexpに手を入れて「\u...
shyouhei (Shyouhei Urabe)
03:30 PM Revision b7be78d7 (git): * test/csv/*: Renamed tc_* files to test_* to fit in within Ruby's
testing process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
James Edward Gray II
03:18 PM Revision 54e2cb81 (git): add test for {SimpleDelegator, DelegateClass}#class .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
03:16 PM Revision b177ff64 (git): * 2008-10-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:15 PM Revision 5cf4f78a (git): * lib/test/unit.rb (assert_nothing_thrown): don't intern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:30 PM Revision 679d83e6 (git): add test for encoding option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
01:02 PM Revision 45e68487 (git): ChangeLog: moved entries back and corrected date
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
11:49 AM Revision d3546e79 (git): * parse.y (opt_block_arg): allow trailing comma after usual
arguments. not after block argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:46 AM Revision 957f69d2 (git): ChangeLog: move entries to proper place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
10:39 AM Revision 8705e362 (git): * numeric.c (num_sadded): remove newly defined singleton method
that should not exist after exception handling. [ruby-dev:36569]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:36 AM Revision 3f0ec888 (git): * string.c (rb_external_str_new): a new function to convert from
external encoding to internal encoding. if something went
wrong, it returns a string with the external encoding.
* string.c (rb_external_str_new_with_enc): same as above besides
you can specify the source encoding.
* ruby.c (ruby_...
matz (Yukihiro Matsumoto)
10:32 AM Revision 88aa8632 (git): * lib/tempfile.rb (Tempfile#initialize): now Tempfile.new takes
keyword arguments to open(). [ruby-dev:36756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:29 AM Revision fcce99c5 (git): * re.c (rb_reg_initialize_m): specify ARG_ENCODING_NONE instead of
ARG_ENCODING_FIXED for Regexp.new("", nil, "n"). [ruby-dev:36761]
* test/ruby/test_regexp.rb (TestRegexp#test_initialize): test
updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
08:10 AM Revision 7adbfbb7 (git): * tool/transcode-tblgen.rb: added set_valid_byte_pattern
to reduce coupling between table generation script and
specific encodings.
* enc/trans/single_byte.trans: using set_valid_byte_pattern
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
07:41 AM Revision da1ffe49 (git): * transcode.c: in transcode_search_path, elimintated a warning
on cygwin about pathlen potentially not being initialized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
05:07 AM Revision de55ffd0 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:41 AM Revision 6fa35227 (git): * lib/test/unit.rb (assert_nothing_thrown): implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

10/17/2008

11:46 PM Bug #650: Marshal.load raises RegexpError
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36750] [Bug #650] Marshal.load raises RegexpError"
on Wed, 15 Oct 2008 22:59:59 +0900, Shyouhei Urabe <redmine@ruby-lang.org> writes:

|以下のように、以前のバージョンのRubyで正しくdumpしたはずの文字列をtrunkでlo...
matz (Yukihiro Matsumoto)
08:31 PM Bug #651: Regexp.new returns strange regexp object
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36761] Re: [Bug #651] Regexp.new returns strange regexp object"
on Fri, 17 Oct 2008 11:44:01 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|そうですか?
|
|% ruby1.9 -ve 'p( /...
matz (Yukihiro Matsumoto)
11:45 AM Bug #651 (Open): Regexp.new returns strange regexp object
=begin

=end
shyouhei (Shyouhei Urabe)
11:44 AM Bug #651: Regexp.new returns strange regexp object
=begin
卜部です。

Yukihiro Matsumoto さんは書きました:
> |> * 'u'対応を復活させる
> |>
> |> というものもありえますが。
> |>
> |uとかeはともかくnが欲しいことはあるんじゃないですかねえ。
>
> あ、nはあいかわらず有効です。無視されるようになったのはn以外
> のeとかsとかuとかです。
>
そうですか?

% ruby1.9 -ve 'p( //n == Re...
shyouhei (Shyouhei Urabe)
07:47 AM Bug #651 (Closed): Regexp.new returns strange regexp object
=begin
Applied in changeset r19813.
=end
matz (Yukihiro Matsumoto)
07:37 AM Bug #651: Regexp.new returns strange regexp object
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36755] Re: [Bug #651] Regexp.new returns strange regexp object"
on Thu, 16 Oct 2008 14:18:48 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|> が、不親切なのは確かなので、
|>
|> * -v...
matz (Yukihiro Matsumoto)
04:38 PM Revision c2fab593 (git): * common.mk: use added options for generic_erb.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e eban (Hirofumi WATANABE)
04:14 PM Bug #655 (Closed): Query part lost when using Net::HTTP.post_form function
=begin
when posting data by following code:

require 'net/http'
require 'uri'

response = Net::HTTP.post_form URI.parse('http://localhost/api.asp?Action=Check'), {'name'=>'value'}
puts response.body

query part ("Action...
klesh (Klesh Wong)
03:51 PM Revision 9dd20d02 (git): * 2008-10-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:51 PM Revision b29f3640 (git): * array.c: don't recycle shared-array while sort!.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)
01:09 PM Revision 331cd4ee (git): * array.c: recycle shared-array when it isn't referenced.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)
11:56 AM Revision 26b3c7a0 (git): * id.h: reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:46 AM Revision b025ce46 (git): * common.mk (ID_H_TARGET): phony target to update id.h.
* tool/ifchange, win32/ifchange.bat: --timestamp option added.
* tool/generic_erb.rb: --timestamp, --output and --if-change options
added.
* template/id.h.tmpl: moved from id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@198...
nobu (Nobuyoshi Nakada)
10:42 AM Revision 6e738bf2 (git): * array.c (ary_resize_capa): renamed RESIZE_CAPA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
09:17 AM Revision 6b02097f (git): * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_sqrt_bigdecimal):
test updated. a patch from TAKANO Mitsuhiro <takano32 at jus.or.jp> in
[ruby-dev:36736].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:15 AM Revision 93e4ba92 (git): * configure.in (uncommon.mk): ignores failures at loading.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:13 AM Revision 5ef37965 (git): * transcode.c (str_transcode0): String#encode without argument now
behave as if :undef => :replace, :invalid => :replace specified.
* transcode.c (rb_econv_prepare_opts): should preserve options in
any case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:07 AM Revision 7de38fad (git): * test/rubygems/gemutilities.rb (RubyGemTestCase#build_rake_in):
get rid of interference with other tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:07 AM Bug #617: rubygems depend on test/unit/ui/console/testrunner
=begin
On Oct 13, 2008, at 06:09 AM, Yugui (Yuki Sonoda) wrote:
> Eric Hodel wrote:
>> Is it also ok if I check in some windows RubyGems fixes at the same
>> time?
>
> What are the fixes?


Most important:
RubyGems now works ...
drbrain (Eric Hodel)
04:04 AM Bug #653: `rake gem' emits a warning
=begin
On Oct 16, 2008, at 10:09 AM, Jim Weirich wrote:
> On Oct 16, 2008, at 11:47 AM, Yusuke ENDOH wrote:
>> rake seems to call Gem.manage_gems which is deprecated at
>> lib/rake/gempackagetask.rb.
>>
>>
>> $ sow19 foo
>> (snip...
drbrain (Eric Hodel)
12:48 AM Bug #653 (Closed): `rake gem' emits a warning
=begin
Hi,

rake seems to call Gem.manage_gems which is deprecated at
lib/rake/gempackagetask.rb.


$ sow19 foo
(snip)
$ cd fo/
$ rake19
(in /tmp/foo)
<internal:0:Warning: Gem::manage_gems is deprecated and will be...
mame (Yusuke Endoh)
02:50 AM Revision 5545c5aa (git): * ext/socket/socket.c (init_sock): sockets should be binmode.
* test/socket/test_tcp.rb (test_encoding): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
01:30 AM Revision 68222eb4 (git): * tool/insns2vm.rb: remove -Kn option in shebang line because it's
inconsistent with -Ks commandline option in common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:27 AM Bug #625 (Closed): rb_io_fread does not work
=begin
Applied in changeset r19805.
=end
mame (Yusuke Endoh)
12:25 AM Feature #652 (Closed): tempfileにエンコーディングを指定できない
=begin
tempfileにエンコーディングを指定する方法が欲しいです。
現状はデフォルトのencodingで開いてしまい、
ユーザーにascii-8bitの状態でtempfileを渡してあげるようなことができません。
=end
xibbar (Takeyuki FUJIOKA)
 

Also available in: Atom