[#42672] [Ruby 1.9-Bug#4110][Open] ホスト名の先頭が数字であるとき、WEBrickのテストでErrorが出る — Kouhei Yanagita <redmine@...>
Bug #4110: =E3=83=9B=E3=82=B9=E3=83=88=E5=90=8D=E3=81=AE=E5=85=88=E9=A0=AD=
[#42684] [Ruby 1.9-Bug#4120][Assigned] 2 failures on test/mkmf/test_convertible.rb — Usaku NAKAMURA <redmine@...>
Bug #4120: 2 failures on test/mkmf/test_convertible.rb
なかだです。
こんにちは、なかむら(う)です。
[#42692] [Feature: trunk] String#encode(:fallback) should accept default handler — SASADA Koichi <ko1@...>
ささだです.
[#42701] 1.9.x release and trunk branch policy — Yusuke ENDOH <mame@...>
まつもとさん、Yugui さん
[#42730] [Ruby 1.9-Bug#4143][Open] warning: "SUPPORT_JOKE" is not defined — Kazuhiro NISHIYAMA <redmine@...>
Bug #4143: warning: "SUPPORT_JOKE" is not defined
チケット #4143 が更新されました。 (by Kazuhiro NISHIYAMA)
2010年12月10日22:38 Kazuhiro NISHIYAMA <redmine@ruby-lang.org>:
(2010/12/10 23:49), KOSAKI Motohiro wrote:
[#42735] [Ruby 1.9-Feature#4147][Open] Array#sample で重みを指定したい — Yoji Ojima <redmine@...>
Feature #4147: Array#sample で重みを指定したい
チケット #4147 が更新されました。 (by Shyouhei Urabe)
> じゃあ反対ないので実装はともかく、この仕様は基本入れる方向で考えましょう。反対の人は意思表示お早めに。
Yuguiです。
2010年12月19日21:15 Yugui <yugui@yugui.jp>:
チケット #4147 が更新されました。 (by Yoji Ojima)
遠藤です。
チケット #4147 が更新されました。 (by Yoji Ojima)
[#42758] [Ruby 1.9-Bug#4157][Open] test_pty で、たまに出る Failure — Makoto Kishimoto <redmine@...>
Bug #4157: test_pty で、たまに出る Failure
[#42763] [Ruby 1.9-Bug#4159][Open] test_block_variables(TestRipper::ParserEvents) が失敗する — Kouhei Yanagita <redmine@...>
Bug #4159: test_block_variables(TestRipper::ParserEvents) が失敗する
[#42778] BasicObject#object_id — keiju@... (Keiju ISHITSUKA)
けいじゅ@いしつかです.
[#42782] [Ruby 1.9-Feature#4165][Open] win32ビルドでbaserubyを設定しなかったときのエラーが非常に不親切 — Motohiro KOSAKI <redmine@...>
Feature #4165: win32=E3=83=93=E3=83=AB=E3=83=89=E3=81=A7baseruby=E3=82=92=
[#42832] [Ruby 1.9-Bug#4178][Open] test/rubygems/gemutilities.rb で、よくわからない ArgumentError — Makoto Kishimoto <redmine@...>
Bug #4178: test/rubygems/gemutilities.rb で、よくわからない ArgumentError
[#42869] [feature:trunk] option for Socket#sendmsg — Nobuyoshi Nakada <nobu@...>
なかだです。
2010年12月23日21:01 Nobuyoshi Nakada <nobu@ruby-lang.org>:
[#42887] [Ruby 1.9-Feature#4204][Open] IO#advise should raise error for unknown symbol — Tomoyuki Chikanaga <redmine@...>
Feature #4204: IO#advise should raise error for unknown symbol
[#42893] [Ruby 1.8-Bug#4206][Open] failed to set ext option for win32/configure.bat — Akio Tajima <redmine@...>
Bug #4206: failed to set ext option for win32/configure.bat
[#42894] [Ruby 1.8-Feature#4207][Open] これから「1.8.8」の話をしよう -- 1.8がこの先生きのこるには — Shyouhei Urabe <redmine@...>
Feature #4207: これから「1.8.8」の話をしよう -- 1.8がこの先生きのこるには
むらたです。
むらたです。
2011/1/5 Kenta Murata <muraken@gmail.com>:
こんにちは、なかむら(う)です。
チケット #4207 が更新されました。 (by Shyouhei Urabe)
チケット #4207 が更新されました。 (by Akinori MUSHA)
[ruby-dev:42788] Re: [ruby-changes:18220] Ruby:r30241 (trunk): * compile.c (setup_args, iseq_compile_each): optimize AMPER LAMBDA
ささだです.
下記のパッチって foo(&->{...}) を foo{...} とするもの?
(2010/12/18 10:07), nobu wrote:
> nobu 2010-12-18 10:07:12 +0900 (Sat, 18 Dec 2010)
>
> New Revision: 30241
>
> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30241
>
> Log:
> * compile.c (setup_args, iseq_compile_each): optimize AMPER LAMBDA
> combination as block.
>
> Modified files:
> trunk/ChangeLog
> trunk/compile.c
> trunk/version.h
>
> Index: ChangeLog
> ===================================================================
> --- ChangeLog (revision 30240)
> +++ ChangeLog (revision 30241)
> @@ -1,3 +1,8 @@
> +Sat Dec 18 10:07:04 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
> +
> + * compile.c (setup_args, iseq_compile_each): optimize AMPER LAMBDA
> + combination as block.
> +
> Fri Dec 17 22:07:16 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
>
> * gc.c (Init_GC): move #__id__ and #object_id to BasicObject.
> Index: compile.c
> ===================================================================
> --- compile.c (revision 30240)
> +++ compile.c (revision 30241)
> @@ -2886,7 +2886,7 @@
> }
>
> static VALUE
> -setup_args(rb_iseq_t *iseq, LINK_ANCHOR *args, NODE *argn, VALUE *flag)
> +setup_args(rb_iseq_t *iseq, LINK_ANCHOR *args, NODE *argn, VALUE *flag, VALUE *block)
> {
> VALUE argc = INT2FIX(0);
> int nsplat = 0;
> @@ -2896,8 +2896,14 @@
> INIT_ANCHOR(arg_block);
> INIT_ANCHOR(args_splat);
> if (argn && nd_type(argn) == NODE_BLOCK_PASS) {
> - COMPILE(arg_block, "block", argn->nd_body);
> - *flag |= VM_CALL_ARGS_BLOCKARG_BIT;
> + if (block && nd_type(argn->nd_body) == NODE_LAMBDA) {
> + NODE *lambda = argn->nd_body;
> + *block = NEW_CHILD_ISEQVAL(lambda->nd_body, make_name_for_block(iseq), ISEQ_TYPE_BLOCK, nd_line(lambda));
> + }
> + else {
> + COMPILE(arg_block, "block", argn->nd_body);
> + *flag |= VM_CALL_ARGS_BLOCKARG_BIT;
> + }
> argn = argn->nd_head;
> }
>
> @@ -3809,7 +3815,7 @@
> boff = 1;
> default:
> INIT_ANCHOR(args);
> - argc = setup_args(iseq, args, node->nd_args->nd_head, &flag);
> + argc = setup_args(iseq, args, node->nd_args->nd_head, &flag, NULL);
> ADD_SEQ(ret, args);
> }
> ADD_INSN1(ret, nd_line(node), dupn, FIXNUM_INC(argc, 1 + boff));
> @@ -4125,7 +4131,7 @@
>
> /* args */
> if (nd_type(node) != NODE_VCALL) {
> - argc = setup_args(iseq, args, node->nd_args, &flag);
> + argc = setup_args(iseq, args, node->nd_args, &flag, &parent_block);
> }
> else {
> argc = INT2FIX(0);
> @@ -4163,7 +4169,7 @@
> INIT_ANCHOR(args);
> iseq->compile_data->current_block = Qfalse;
> if (nd_type(node) == NODE_SUPER) {
> - argc = setup_args(iseq, args, node->nd_args, &flag);
> + argc = setup_args(iseq, args, node->nd_args, &flag, &parent_block);
> }
> else {
> /* NODE_ZSUPER */
> @@ -4336,7 +4342,7 @@
> }
>
> if (node->nd_head) {
> - argc = setup_args(iseq, args, node->nd_head, &flag);
> + argc = setup_args(iseq, args, node->nd_head, &flag, NULL);
> }
> else {
> argc = INT2FIX(0);
> @@ -4948,7 +4954,7 @@
>
> INIT_ANCHOR(recv);
> INIT_ANCHOR(args);
> - argc = setup_args(iseq, args, node->nd_args, &flag);
> + argc = setup_args(iseq, args, node->nd_args, &flag, NULL);
>
> if (node->nd_recv == (NODE *) 1) {
> flag |= VM_CALL_FCALL_BIT;
> Index: version.h
> ===================================================================
> --- version.h (revision 30240)
> +++ version.h (revision 30241)
> @@ -1,11 +1,11 @@
> #define RUBY_VERSION "1.9.3"
> -#define RUBY_RELEASE_DATE "2010-12-17"
> +#define RUBY_RELEASE_DATE "2010-12-18"
> #define RUBY_PATCHLEVEL -1
> #define RUBY_BRANCH_NAME "trunk"
>
> #define RUBY_RELEASE_YEAR 2010
> #define RUBY_RELEASE_MONTH 12
> -#define RUBY_RELEASE_DAY 17
> +#define RUBY_RELEASE_DAY 18
>
> #include "ruby/version.h"
>
>
> --
> ML: ruby-changes@quickml.atdot.net
> Info: http://www.atdot.net/~ko1/quickml/
--
// SASADA Koichi at atdot dot net