Project

General

Profile

Activity

From 05/07/2015 to 05/13/2015

05/13/2015

10:22 PM Bug #11152 (Closed): Resolv::DNS should use Search Domains provided in /etc/resolv.conf by default
For some reason Resolv::DNS does not use search domains. Many downstream projects rely on Resolv, and this appears br... IronYuppie (David Aronchick)
10:19 PM Feature #11151: Numeric#positive? and Numeric#negative?
On 14/05/2015, [email protected] <[email protected]> wrote:
> Issue #11151 has been updated by Rafael F...
phluid61 (Matthew Kerwin)
09:37 PM Feature #11151: Numeric#positive? and Numeric#negative?
Right. Thank you for the explanation.
So maybe just to `Fixnum` and `Float`?
rafaelfranca (Rafael França)
07:07 PM Feature #11151: Numeric#positive? and Numeric#negative?
In #5113, matz said
* We can use `> 0` and `< 0` for the purpose.
* Complex is Numeric, but we cannot define posi...
usa (Usaku NAKAMURA)
06:37 PM Feature #11151 (Closed): Numeric#positive? and Numeric#negative?
We just added [`Interger#positive?` and `Interger#negative?` to Active Support](https://github.com/rails/rails/commit... rafaelfranca (Rafael França)
10:17 PM Feature #5480: remove GServer from stdlib
For those that absolutely need to use GServer, it's also available on rubygems.
* https://rubygems.org/gems/gserve...
postmodern (Hal Brodigan)
10:01 PM Revision f51a964d (git): * 2015-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:01 PM Revision 6fefba37 (git): variable.c: no intermediate IDs
* variable.c (rb_set_class_path_string, rb_set_class_path): get
rid of creating intermediate IDs.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
08:18 PM Feature #11146: [PATCH] variable.c: initialize generic_iv_tbl at start
[email protected] wrote:
> Probably, due to `@gem_prelude_index` of `$LOAD_PATH` elements?

That's one, but I th...
normalperson (Eric Wong)
03:27 AM Feature #11146: [PATCH] variable.c: initialize generic_iv_tbl at start
Probably, due to `@gem_prelude_index` of `$LOAD_PATH` elements? nobu (Nobuyoshi Nakada)
06:12 PM Feature #7793: New methods on Hash
I'm biased here since we already implemented part of Option #5 on Ruby on Rails but I prefer its explicitness over co... rafaelfranca (Rafael França)
05:57 PM Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
Aaron Patterson wrote:
> @Benoit yes, for performance, and to avoid catching load errors. If my plan is successful,...
Eregon (Benoit Daloze)
02:41 PM Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
@nobu I was thinking the same, but this was the smallest patch that would accomplish what I need
@Benoit yes, for ...
tenderlovemaking (Aaron Patterson)
11:14 AM Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
Why is that exception problematic?
For performance (the cost of the search is already large I suppose)
or to only c...
Eregon (Benoit Daloze)
04:21 AM Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
Although I had an idea to separate `require` into "search" and "load", this may be simpler. nobu (Nobuyoshi Nakada)
04:00 PM Bug #11107: Syntax error is raised by "p ->() do a(1) do end end", but not by "p ->() do a 1 do end end"
Backported into `ruby_2_2` branch at r50487. nagachika (Tomoyuki Chikanaga)
04:00 PM Revision 3dd4b241 (git): merge revision(s) 50402: [Backport #11107]
* parse.y (lambda): push and reset cmdarg_stack in lambda body.
[ruby-core:69017] [Bug #11107]
git-svn-id...
nagachika (Tomoyuki Chikanaga)
03:48 PM Bug #11111: Backport incompatible libruby check
r50410, r50412, r50413, r50414, r50415 and r50416 were backported into `ruby_2_2` at r50486. nagachika (Tomoyuki Chikanaga)
03:47 PM Revision aca15746 (git): merge revision(s) 50410,50412,50413,50414,50415,50416: [Backport #11111]
dln.c: use EXPORT_PREFIX
* configure.in (EXPORT_PREFIX): define exported symbol prefix
string in config.h....
nagachika (Tomoyuki Chikanaga)
03:33 PM Bug #11021: FileUtils.mv displays the wrong destination when Errno::EEXIST is raised
Backported into `ruby_2_1` branch at r50485. nagachika (Tomoyuki Chikanaga)
03:32 PM Revision a1f41caf (git): merge revision(s) 50141: [Backport #11021]
* lib/fileutils.rb (FileUtils#mv): show the exact target path in
the error message instead of the destinati...
nagachika (Tomoyuki Chikanaga)
03:28 PM Bug #11030: Ruby 2.2.1 fails to compile with hardened GCC
Backported into `ruby_2_2` branch at r50484. nagachika (Tomoyuki Chikanaga)
03:28 PM Revision 0224bb03 (git): merge revision(s) 50316: [Backport #11030]
* thread_pthread.c (reserve_stack): keep sp safe zone to get rid
of crash by -fstack-check. [ruby-core:687...
nagachika (Tomoyuki Chikanaga)
03:04 PM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
Hans Mackowiak wrote:
> my problem i got with that new syntax is what does it do when i have blocks inside of blocks...
rbjl (Jan Lelis)
06:34 AM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
my problem i got with that new syntax is what does it do when i have blocks inside of blocks, specially with differen... Hanmac (Hans Mackowiak)
08:25 AM Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
再入チェックを入れてパフォーマンスを比較した結果、改善が見られなかったのでrevertしました。
再入チェック付の最適化:
ruby-dev bm_enum_to_a_sized.rb 19.46s user 1.29s s...
Glass_saga (Masaki Matsushita)
08:19 AM Bug #11130 (Closed): Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
Applied in changeset r50483.
----------
* enum.c (enum_to_a): revert r50457.
it requires recursion check.
then, ...
Anonymous
08:19 AM Feature #9118 (Closed): In Enumerable#to_a, use size to set array capa when possible
Applied in changeset r50483.
----------
* enum.c (enum_to_a): revert r50457.
it requires recursion check.
then, ...
Anonymous
08:18 AM Revision d77f4934 (git): * enum.c (enum_to_a): revert r50457.
it requires recursion check.
then, it doesn't make performance improvement.
[Bug #11130] [Feature #9118]
git-svn...
Glass_saga (Masaki Matsushita)
05:33 AM Revision 0cddf1b4 (git): merge revision(s) 49095: [Backport #11144]
* lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality.
(Resolv::DNS::Name#initialize): Normali...
U.Nakamura
03:21 AM Bug #11143 (Rejected): it should always be possible to return from an if
Why do you need such assignment? nobu (Nobuyoshi Nakada)
03:04 AM Revision 0579576d (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:13 AM Revision 60730d91 (git): parse.y: refine message for gvar w/o identitirs
* parse.y (parse_gvar): separate message for gvar without
non-space characters from message for invalid identitirs....
nobu (Nobuyoshi Nakada)
02:11 AM Revision 5b80ca1d (git): * 2015-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:10 AM Revision c3cc91f1 (git): test_parse.rb: fix variable name
* test/ruby/test_parse.rb (test_dstr_disallowed_variable): fix
duplicate variable name to be tested.
git-svn-id: s...
nobu (Nobuyoshi Nakada)

05/12/2015

11:32 PM Bug #11149 (Rejected): URI.parse keeps '?' for query and '#' for fragment even if they are empty
~~~
p = URI.parse('http://example.com/path?query#fragment')
p.query = ''
p.fragment = ''
puts p.to_s
~~~
will...
davispuh (Dāvis Mosāns)
10:48 PM Feature #11148 (Open): Add a way to require files, but not raise an exception when the file isn't found
Hi,
I'm trying to make is so that RubyGems doesn't need to put directories on $LOAD_PATH (which is why I submitted...
tenderlovemaking (Aaron Patterson)
10:21 PM Bug #11147 (Closed): [SEGFAULT] While looping gets
$ pod install
Analyzing dependencies
/Users/ssoffes/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1...
segiddins (Samuel Giddins)
09:08 PM Feature #11146 (Closed): [PATCH] variable.c: initialize generic_iv_tbl at start
Even miniruby creates one generic ivar (plain "ruby" creates 9),
so there's no point in lazily allocating the table ...
normalperson (Eric Wong)
08:48 PM Feature #11145 (Closed): [PATCH] socket: avoid redundant fcntl with MSG_DONTWAIT
MSG_DONTWAIT is enough to force non-blocking I/O under Linux,
so avoid changing the state of a socket. This will al...
normalperson (Eric Wong)
06:41 PM Bug #10871: Sclass thread unsafe due to CREF sharing
I also would very much like a backport of this, as it effectively makes certain bits of "idiomatic" ruby inherently (... glittershark (Griffin Smith)
05:42 PM Bug #11143 (Closed): it should always be possible to return from an if
```
irb(main):001:0> def foo; a = if true then return end end
SyntaxError: (irb):1: void value expression
```
i...
bughit (bug hit)
05:28 PM Feature #11083: Gemify net-telnet
SHIBATA Hiroshi <[email protected]> wrote:
> Eric Wong <[email protected]> wrote:
> > Is it OK to ema...
normalperson (Eric Wong)
11:58 AM Feature #11083: Gemify net-telnet
> How are users who refuse to use proprietary websites or refuse the
> terms-of-service expected to contribute to t...
hsbt (Hiroshi SHIBATA)
04:09 PM Bug #11142 (Assigned): Command line argument parser on windows handles double quotes inconsistently.
I believe the issue is with https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L1671 through 1673.
C:\Users\ksu...
ksubrama (Kartik Cating-Subramanian)
03:32 PM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
Nobuyoshi Nakada wrote:
> What about `@1`?
I liked this one at first glance, but it might confuse people, because...
rbjl (Jan Lelis)
03:08 PM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
It gets a bit more line-noisy, but why not a couple of sigils? Maybe:
```ruby
x.method { @[1] - @[2] }
```
--...
austin (Austin Ziegler)
02:20 PM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
Arnold Roa wrote:
> On method definition we can use `*args` for multiple arguments, so what about `*1`, `*2`, `*3`?
...
nobu (Nobuyoshi Nakada)
01:53 PM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
Yukihiro Matsumoto wrote:
> We cannot use `$1` etc. as they are already taken for `Regexp` match.
> Short hand nota...
neohunter (Arnold Roa)
03:19 AM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
What about `@1`? nobu (Nobuyoshi Nakada)
01:31 AM Feature #11141 (Rejected): new syntax suggestion for abbreviate definition on block parameters in order
We cannot use `$1` etc. as they are already taken for `Regexp` match.
Short hand notation for block parameter itself...
matz (Yukihiro Matsumoto)
12:45 AM Feature #11141 (Rejected): new syntax suggestion for abbreviate definition on block parameters in order
One of the most commons things I do in Ruby are small block definitions:
~~~ruby
x.each{|a| a}
~~~
One useful...
neohunter (Arnold Roa)
02:57 PM Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
Masaki Matsushita wrote:
> Enumerable#countは、実際にイテレーションを回してみて回った数を数える実装となっています。
> pull request ( https://github.com...
usa (Usaku NAKAMURA)
02:33 PM Bug #11130 (Assigned): Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
議論は #9118 にあります。
そこでも指摘していますが、この最適化は def size; to_a.size; end という手抜きな size 実装で無限再帰になります(そういう実装はいくつも実在します)。再入チェックを入...
mame (Yusuke Endoh)
02:15 PM Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
Enumerable#countは、実際にイテレーションを回してみて回った数を数える実装となっています。
pull request ( https://github.com/ruby/ruby/pull/444 )の狙いはEnume...
Glass_saga (Masaki Matsushita)
01:41 PM Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
そもそも、本件、githubのpull request以外のどこかで議論はあったのでしょうか?
sizeという、多義性のある(と実際に確認された)メソッドに依拠するのはそもそも危険なのでは、という気がしないでもないのですが、leng...
usa (Usaku NAKAMURA)
01:29 PM Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
互換性を壊すのは私の本意ではないので、以前と同じ挙動になるよう修正しました。
ご迷惑をおかけしました。
Glass_saga (Masaki Matsushita)
01:25 PM Bug #11130 (Closed): Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
Applied in changeset r50477.
----------
* enum.c (enum_to_a): fix incompatibility introduced in r50457.
[Bug #1113...
Anonymous
10:10 AM Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
最適化のヒントとして使えるなら使うというのを超えて、ドキュメントなしに互換性を壊してしまったらバグではないでしょうか。
sizeがINFINITYを返すときも、eachを呼ぶことなくRangeErrorが発生します。(そのようなコー...
knu (Akinori MUSHA)
01:24 PM Revision 95f54fb0 (git): * enum.c (enum_to_a): fix incompatibility introduced in r50457.
[Bug #11130]
* test/ruby/test_enum.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50477 b2dd...
Glass_saga (Masaki Matsushita)
08:11 AM Revision 87944f8e (git): * method.h: remove unused declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:22 AM Revision 4ce15bf4 (git): vm_dump.c: statement for crash report log
* vm_dump.c (preface_dump): move the statement to include crash
report log file from REPORTBUG_MSG in error.c.
git...
nobu (Nobuyoshi Nakada)
07:15 AM Revision dd4cf6bb (git): * ext/tk/extconf.rb: support Tcl/Tk8.6.
* ext/tk/tcltklib.c, ext/tk/lib/tk.rb: get rid of SEGV with Tcl/Tk8.6.
[Backport #10401]
git-svn-id: svn+ssh://ci...
U.Nakamura
06:50 AM Revision 7f2c079e (git): * 2015-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:50 AM Revision 21861716 (git): vm_dump.c: highlight preface
* vm_dump.c (preface_dump): highlight very important but very
ofhen ignored message like a Xmas tree.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
06:49 AM Revision 92430a03 (git): vm_dump.c: preface_dump
* vm_dump.c (preface_dump): move platform specific preface.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50471 ...
nobu (Nobuyoshi Nakada)
05:08 AM Feature #11136: [PATCH] webrick: avoid fcntl module
On 2015/05/12 12:57, Eric Wong wrote:
> [email protected] wrote:
>> After requiring 'io/nonblock', no needs to se...
nobu (Nobuyoshi Nakada)
03:58 AM Feature #11136: [PATCH] webrick: avoid fcntl module
[email protected] wrote:
> After requiring 'io/nonblock', no needs to see if `nonblock=` method is available.

D...
normalperson (Eric Wong)
03:02 AM Feature #11136: [PATCH] webrick: avoid fcntl module
After requiring 'io/nonblock', no needs to see if `nonblock=` method is available.
And `IO#close_on_exec=` is older ...
nobu (Nobuyoshi Nakada)
03:11 AM Feature #11140: Allow rubygems' `require` to handle `autoload` calls
It sounds reasonable as `-r` option also calls `Kernel#require` method now. nobu (Nobuyoshi Nakada)
12:46 AM Feature #11140: Allow rubygems' `require` to handle `autoload` calls
Considering #5653, should we be making any changes to autoload to make it easier to use, if the intention is to remov... jeremyevans0 (Jeremy Evans)
12:24 AM Feature #11140 (Closed): Allow rubygems' `require` to handle `autoload` calls
Right now, rubygems can't handle calls to `autoload` because `autoload` will directly call `rb_require_safe` rather t... tenderlovemaking (Aaron Patterson)
12:58 AM Feature #11139: [PATCH] socket: support accept `sock_nonblock: (true|false)'
[email protected] wrote:
> How about just :block ?
>
> a.accept(block: false)
> a.accept_nonblock(bloc...
normalperson (Eric Wong)
12:25 AM Feature #11139: [PATCH] socket: support accept `sock_nonblock: (true|false)'
How about just :block ?
a.accept(block: false)
a.accept_nonblock(block: true)
djberg96 (Daniel Berger)
12:14 AM Feature #11139 (Feedback): [PATCH] socket: support accept `sock_nonblock: (true|false)'
An application wanting to do non-blocking accept may want to
create a blocking accepted socket, allow it with a kwar...
normalperson (Eric Wong)
12:12 AM Feature #10932: Enabling allocation tracing as early as possible
> How about objspace/allocation_tracer.rb?
I think that is fine.
> Should not include.
Any reason why not? ...
tenderlovemaking (Aaron Patterson)
12:10 AM Feature #11138 (Closed): [PATCH] ext/socket/init.c: use SOCK_NONBLOCK if available
[PATCH 1/2] ext/socket/init.c: use SOCK_NONBLOCK if available
This saves a system call by allowing us to use SOCK_...
normalperson (Eric Wong)

05/11/2015

09:43 PM Feature #11137: [PATCH] webrick: remove redundant close-on-exec setting
Same for drb.
If no response, I'll commit this along with patch in #11136 in a week unless
there's some reason to...
normalperson (Eric Wong)
09:39 PM Feature #11137 (Closed): [PATCH] webrick: remove redundant close-on-exec setting
* lib/webrick/server.rb: avoid redundant fcntl call
Sockets are close-on-exec by default since Ruby 2.0, so it
is...
normalperson (Eric Wong)
09:38 PM Feature #11136 (Closed): [PATCH] webrick: avoid fcntl module
lib/webrick/utils.rb: simplify by avoiding fcntl
IO#nonblock= and IO#close_on_exec= methods are simpler-to-use
an...
normalperson (Eric Wong)
03:02 PM Bug #11135 (Third Party's Issue): [BUG] Segmentation fault at 0x000000000000b0
The following happens whenever I try to install *any* gem (I usually use the http source due to SSL restrictions at w... mmlumba (Marian Lumba)
02:40 PM Bug #11134 (Closed): resolution of "localhost" in windows server 2012 (ipv6 over ipv4)
I've just installed ruby 2.2 on Windows Server 2012 and i'm seeing this strange behaviour:
The server:
~~~
req...
Anonymous
12:43 PM Bug #11132: String#sub and character sequence \' in replacement string
It's a spec, but seems there is no docs about it.
This is a documentation issue.
nobu (Nobuyoshi Nakada)
08:48 AM Bug #11132 (Closed): String#sub and character sequence \' in replacement string
Hi,
I don't know if this is intentional but substitution of `\'` and `` \` `` in the replacement string was rather...
gettalong (Thomas Leitner)
11:50 AM Misc #11079: missing LICENCE
取り込まれる元の "RubyPKI" を savannah.nongnu.org で見つけました。
http://savannah.nongnu.org/projects/rubypki
LICENCE ファイルが確かにあ...
wanabe (_ wanabe)
11:37 AM Bug #11133 (Closed): Wrong Hyperlink representation in man page
There was pointed out recently, that Ruby's man pages are not represented correctly in gnome-terminal [1]. But as per... vo.x (Vit Ondruch)
07:20 AM Bug #10856 (Open): Splat with empty keyword args gives unexpected results
nobu (Nobuyoshi Nakada)
02:15 AM Revision 297344e1 (git): * ChangeLog: typo(?)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:12 AM Bug #11111: Backport incompatible libruby check
ruby_2_1 r50469 merged revision(s) 50416. usa (Usaku NAKAMURA)
02:12 AM Revision 14c7be2e (git): merge revision(s) 50416: [Backport #11111]
dln.c: fix EXTERNAL_PREFIX
* configure.in (EXPORT_PREFIX): revert r50410.
* dln.c (EXTERNAL_PREFIX)...
U.Nakamura
02:02 AM Bug #11107: Syntax error is raised by "p ->() do a(1) do end end", but not by "p ->() do a 1 do end end"
ruby_2_1 r50468 merged revision(s) 50402. usa (Usaku NAKAMURA)
02:01 AM Revision 4a680e81 (git): merge revision(s) 50402: [Backport #11107]
* parse.y (lambda): push and reset cmdarg_stack in lambda body.
[ruby-core:69017] [Bug #11107]
git-svn-id...
U.Nakamura
01:58 AM Revision e5959fee (git): * gems/bundled_gems: Update minite-5.6.1 and power_assert-0.2.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:41 AM Revision 3f29f520 (git): ruby.h: suppress warnings
* include/ruby/ruby.h (Data_Make_Struct, TypedData_Make_Struct):
make statement-expression to get rid of strict-ali...
nobu (Nobuyoshi Nakada)

05/10/2015

06:01 PM Misc #11131 (Closed): Unexpected splatting of empty kwargs
~~~ruby
def foo(); :ok end
foo(*[]) #=> :ok
foo(**{}) #=> ArgumentError: wrong number of arguments (1 for 0)
foo(...
zimbatm (zimba tm)
03:43 PM Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
実際のケースはgtk3 gemという中のコードで複数の子ウィジェットを持つウィジェットオブジェクトで発生しました。このGTK+のウィジェットではeachで子ウィジェットを繰り返し、sizeでは[width, height]という配列を... kou (Kouhei Sutou)
03:35 PM Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
そもそもsizeがnilでも整数でもない値を返すのはどうにもバグっぽいので、新しい挙動でバグが発見されたと考えそうな気がしますが、sizeに手を付けずこの挙動を維持してほしい(後方互換性の維持以外の)理由ってのがあれば教えてください。... matz (Yukihiro Matsumoto)
01:48 PM Bug #11130 (Assigned): Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
usa (Usaku NAKAMURA)
01:36 PM Bug #11130 (Closed): Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
須藤です。
~~~diff
+ if (NIL_P(size) || size == Qundef) {
+ ary = rb_ary_new();
+ }
+ else {
+ ary = rb_a...
kou (Kouhei Sutou)
03:20 PM Revision a1ee941e (git): * 2015-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:20 PM Revision 482bf195 (git): ruby.h: fix possible memory leak
* include/ruby/ruby.h (Data_Make_Struct, TypedData_Make_Struct):
allocate wrapper data object before allocating DAT...
nobu (Nobuyoshi Nakada)
12:34 PM Revision 3875df97 (git): proc.c, vm.c: fix possible memory leak
* proc.c (proc_binding): fix possible memory leak of rb_env_t when
TypedData_Wrap_Struct failed.
* vm.c (vm_make_e...
nobu (Nobuyoshi Nakada)
12:32 PM Revision f5299e93 (git): gc.c: never call dmark for NULL
* gc.c (gc_mark_children): call dmark function for non-NULL
pointers only, so that DATA_PTR can be NULL safely now....
nobu (Nobuyoshi Nakada)
07:29 AM Revision 280d4c37 (git): * proc.c (proc_binding): fix segmentation fault on marking phase.
envptr of newenvval should not be NULL.
You can reproduce by
make test-all TESTS='--gc-stress -n test_to_proc_b...
ktsj (Kazuki Tsujimoto)
03:43 AM Feature #10900 (Closed): GzipReader does not define `#external_encoding`
Applied in changeset r50460.
----------
* ext/zlib/zlib.c (rb_gzreader_external_encoding):
define GzipReader#exter...
Anonymous
03:43 AM Revision d88957ab (git): * ext/zlib/zlib.c (rb_gzreader_external_encoding):
define GzipReader#external_encoding.
[Bug #10900]
* test/zlib/test_zlib.rb: test for above.
git-svn-id: svn+ssh:/...
Glass_saga (Masaki Matsushita)
03:01 AM Revision 0c14c3ab (git): * ext/win32ole/win32ole_variant.c: fix typo "indicies".
the patch is from davydovanton <antondavydov.o at gmail.com>.
[fix GH-892]
* lib/rubygems/indexer.rb: ditto.
* te...
Glass_saga (Masaki Matsushita)
02:58 AM Bug #11088: On Exception too expensive inspect is called on recursive object graph with 3000 elements in it, swallows memory and ultimately doesn't deliver exception
I don't think this should be rejected completely, Nobu. As I mentioned in
my analysis, it appears that NoMethodErro...
austin (Austin Ziegler)
02:48 AM Bug #11088 (Rejected): On Exception too expensive inspect is called on recursive object graph with 3000 elements in it, swallows memory and ultimately doesn't deliver exception
Your objects are consist of very large networks with complex recursive references.
Even with omission of the recursi...
nobu (Nobuyoshi Nakada)
02:45 AM Bug #11088: On Exception too expensive inspect is called on recursive object graph with 3000 elements in it, swallows memory and ultimately doesn't deliver exception
The data structure in question is large and has some slightly pathological recursiveness. There are 3,204 objects mar... austin (Austin Ziegler)
02:49 AM Bug #10988 (Closed): [PATCH] Raise ArgumentError when string passed to String#crypt contains null
Applied in changeset r50458.
----------
* string.c (rb_str_crypt): Raise ArgumentError when
string passed to Strin...
Anonymous
02:49 AM Revision f64ac5d4 (git): * string.c (rb_str_crypt): Raise ArgumentError when
string passed to String#crypt contains null.
the patch is from jrusnack <jrusnack at redhat.com>.
[Bug #10988] [f...
Glass_saga (Masaki Matsushita)
02:25 AM Revision d9081801 (git): * enum.c (enum_to_a): Use size to set array capa when possible.
the patch is from HonoreDB <aweiner at mdsol.com>.
[fix GH-444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
Glass_saga (Masaki Matsushita)
02:19 AM Revision 2ce35ac8 (git): Revert "temp".
It's my fault.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
02:12 AM Revision 615a868b (git): Revert "capa"
It's my fault.
This reverts commit 5e17fc6bc7cb8b0e58b05fa9ebf2c47ec73ecbb3.
git-svn-id: svn+ssh://ci.ruby-lang.org...
Glass_saga (Masaki Matsushita)
02:10 AM Revision 7f49c1dd (git): Revert "temp"
This reverts commit 3482910fc4ca8515b38f56bdd9fa0db7002413ad.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5045...
Glass_saga (Masaki Matsushita)
02:06 AM Revision fe123a8b (git): * 2015-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:06 AM Revision e9075024 (git): capa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
02:06 AM Revision 1bb3818b (git): temp
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)

05/09/2015

07:02 AM Bug #11088: On Exception too expensive inspect is called on recursive object graph with 3000 elements in it, swallows memory and ultimately doesn't deliver exception
Hi Jurgen,
I executed bug_hunt.rb and I was able to reproduce this issue. But when I tried a simple test (attached...
shishir127 (Shishir Joshi)
04:53 AM Bug #11071: Stack consistency error while using RSpec and Timecop
Possibly shortest code.
~~~ruby
def doit
yield nil
end
doit(&proc {doit {}}.method(:call))
~~~
But it ...
nobu (Nobuyoshi Nakada)
12:40 AM Feature #6647: Exceptions raised in threads should be logged
Eric Wong wrote:
> I have an actual patch which is only 2 lines, but there's some test
> failures and MANY warning...
headius (Charles Nutter)

05/08/2015

10:31 PM Revision 933e586e (git): * 2015-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:31 PM Bug #11123 (Closed): [PATCH] bsock_recmvsg_internal needs GC guard for control buffer
Applied in changeset r50449.
----------
ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard
The control buffer ...
Anonymous
10:31 PM Revision c3d826bb (git): ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard
The control buffer may be used throughout the function, so
prevent the string from being lost to GC.
* ext/socket/an...
Eric Wong
09:48 PM Feature #6647: Exceptions raised in threads should be logged
I have an actual patch which is only 2 lines, but there's some test
failures and MANY warnings I don't feel motivat...
normalperson (Eric Wong)
05:26 PM Feature #6647: Exceptions raised in threads should be logged
Not sure if a +1 would do anything, but I like the idea of
`Thread#report_on_exception` defaults to true.
For qui...
godfat (Lin Jen-Shin)
09:00 PM Bug #11120: Unexpected behavior when mixing Module#prepend with method aliasing
I gave some more thought to this but I can't really find a way to improve the migration path from aliases to prepend ... pabloh (Pablo Herrero)
01:57 PM Revision fb684ba4 (git): test_matrix.rb: Refactor on Matrix#determinant
* test/matrix/test_matrix.rb (test_determinant): refactor test on
Matrix#determinant, by merging with test_det for ...
nobu (Nobuyoshi Nakada)
08:22 AM Revision 59666358 (git): extconf.rb: no nmake style VPATH
* ext/io/console/extconf.rb: only nmake needs remove style VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
08:05 AM Revision d75ba7dc (git): depend: no nmake style VPATH
* ext/io/console/depend: remove nmake style VPATH, for normal makes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
07:02 AM Feature #11105: ES6-like hash literals
Shugo Maeda wrote:
> ```
> lexington:ruby$ cat x.rb
> a = 1
> @a = 2
> $a = 3
> p({a, @a, $a})
> lexington:rub...
nobu (Nobuyoshi Nakada)
06:48 AM Revision 77da7216 (git): Revert "support ES6-like hash literals."
This reverts commit 0d3797f8b62394f5634f4b2b529d28cb46bebf8a.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5044...
shugo (Shugo Maeda)
06:46 AM Bug #11128 (Closed): IMAP parsing issue wih body_ext_mpart
Applied in changeset r50444.
----------
* lib/net/imap.rb (body_ext_mpart): should work even if body-fld-dsp
is om...
shugo (Shugo Maeda)
06:16 AM Bug #11128 (Assigned): IMAP parsing issue wih body_ext_mpart
hsbt (Hiroshi SHIBATA)
06:15 AM Bug #11128: IMAP parsing issue wih body_ext_mpart
patch is here https://github.com/ruby/ruby/pull/895 hsbt (Hiroshi SHIBATA)
06:46 AM Revision f954f0d8 (git): * lib/net/imap.rb (body_ext_mpart): should work even if body-fld-dsp
is omitted. [ruby-core:69093] [Bug #11128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50444 b2dd03c8-39d4-4d...
shugo (Shugo Maeda)
06:46 AM Revision a64ec79c (git): support ES6-like hash literals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
06:43 AM Bug #11121 (Feedback): openssl ext does not handle EWOULDBLOCK
Is there this issue on Ruby 2.1 or 2.2? Ruby 1.9.3 is EOL. hsbt (Hiroshi SHIBATA)
06:16 AM Bug #11126 (Assigned): CSV field converters doesn't attempt to convert nil value.
hsbt (Hiroshi SHIBATA)
06:06 AM Revision f266d21f (git): * doc/syntax/control_expressions.rdoc: fix a missing "a"
[fix GH-888][ci skip] Patch by @riffraff
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50442 b2dd03c8-39d4-4d8f-...
hsbt (Hiroshi SHIBATA)
03:11 AM Revision db336692 (git): * 2015-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 AM Revision bd872a54 (git): vm_eval.c: resolve refined method entry
* vm_eval.c (rb_method_call_status): resolve refined method entry
to check if undefined. [ruby-core:69064] [Bug #1...
nobu (Nobuyoshi Nakada)
02:18 AM Feature #9725: Do not inspect NameError target object unless verbose
Yukihiro Matsumoto wrote:
> I am interested why referencing the target object could cause problem. The target object...
headius (Charles Nutter)
02:15 AM Feature #9725: Do not inspect NameError target object unless verbose
Yukihiro Matsumoto wrote:
> I am interested why referencing the target object could cause problem. The target object...
headius (Charles Nutter)
02:05 AM Feature #11129: block-level hash destructuring only works for the last argument
I'd rename this bug to something like "block-level hash destructuring only works for the last argument" if Redmine le... seanlinsley (Sean Linsley)
01:54 AM Feature #11129 (Open): block-level hash destructuring only works for the last argument
```ruby
[{a: 2}].each_with_index{ |a:, index| }
SyntaxError: unexpected tIDENTIFIER
[{a: 2}].each_with_index{ |(...
seanlinsley (Sean Linsley)

05/07/2015

10:33 PM Bug #11128 (Closed): IMAP parsing issue wih body_ext_mpart
ResponseParser raises an error given a valid (RFC 3501) "body_ext_mpart" of the format "body-fld-param SP body-fld-ds... morsela (Mor Sela)
09:10 PM Bug #11127 (Third Party's Issue): Symbol#== allocates at least one string, possibly two
Nevermind. headius (Charles Nutter)
09:02 PM Bug #11127: Symbol#== allocates at least one string, possibly two
Oops, I may be mistaken...I see on trunk that Symbol does define #==. This may just be JRuby being a bit behind the t... headius (Charles Nutter)
09:00 PM Bug #11127 (Third Party's Issue): Symbol#== allocates at least one string, possibly two
Symbol#== is implemented by Comparable, which uses Symbol#<=>, which coerces the symbol to a String so it can use Str... headius (Charles Nutter)
04:05 PM Bug #11040: Mutex can be locked by multiple threads, causing Monitor to sometimes hang
So now that I added a patch for `lib/monitor.rb` I guess this should be assigned to Shugo Maeda (shugo) per https://b... jvdp (Jaap van der Plas)
02:22 PM Bug #11126 (Closed): CSV field converters doesn't attempt to convert nil value.
following code behaves differently between ruby 2.2.2/trunk and 2.1.5.
```ruby
require 'csv'
converter = lambda ...
hanachin (Seiei Miyagi)
01:28 PM Revision daed9129 (git): * proc.c: [DOC] fix Binding#local_variable_set example. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sho Hashimoto
01:13 PM Bug #11125 (Rejected): Unable to build trunk on Windows
見間違えで、ビルドはできるようになっていたので撤回します。すみません。 usa (Usaku NAKAMURA)
07:56 AM Bug #11125 (Rejected): Unable to build trunk on Windows
r50437でgperfがない限りビルドできなくされてしまっていますが、
この変更に強く反対します。
usa (Usaku NAKAMURA)
07:52 AM Bug #11118: Unable to build Ruby with Visual Studio 2015 RC
FYI, naruse-san has already surveyed it, and some parts of its result have been committed into trunk.
See also: ht...
usa (Usaku NAKAMURA)
07:09 AM Revision 8869cdf5 (git): checksum.rb: check the target
* tool/checksum.rb (Checksum#update?): check if the target exists
too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
06:35 AM Revision 19e0fa01 (git): win32_vk.inc: renamed
* ext/io/console/win32_vk.inc: renamed not to be included in HDRS
by mkmf.rb and regenerated unexpectedly.
git-svn...
nobu (Nobuyoshi Nakada)
02:39 AM Revision c4324e31 (git): * Makefile.in (rbconfig.rb): add rule to make.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:48 AM Feature #10718: IO#close should not raise IOError on closed IO objects.
Eric Wong <[email protected]> wrote:
> Thank you for proposing this. I think this will simplify working with
...
normalperson (Eric Wong)
01:04 AM Bug #11080: [PERF] bm_so_concatenate.rb regression
Thank you for your work Nobu! tgxworld (Guo Xiang Tan)
 

Also available in: Atom