Project

General

Profile

Activity

From 11/01/2015 to 11/07/2015

11/07/2015

11:10 PM Revision 1dd547fe (git): * vm_trace.c (exec_hooks_precheck): check need_clean everytime
to clean-up unused hooks.
* vm_trace.c (list->need_clean): use as boolean value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:17 PM Feature #11665 (Open): Support nested functions for better code organization
The wisdom of using local variables has been internalized in all of us from the beginning of our software careers. If we need a variable referring to data that is used only in a single method, we create a local variable for it.
Yet i...
keithrbennett (Keith Bennett)
08:17 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
I was about to report this feature request but was happy to find that it was already there...but disappointed that it's been here so long. I'm using Ruby but not Rails and have been needing this functionality a lot lately.
Unless I'm ...
keithrbennett (Keith Bennett)
07:53 PM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
I like the 'dig' method approach for these reasons:
* it does not require any fanciness or magic that could confuse novice Rubyists
* it does not require any change to the interpreter
* the name 'dig' is concise and intention-reveal...
keithrbennett (Keith Bennett)
04:58 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
The problem with `hash.fetch_in(:order, :shipping_info, :country, 'Not
found')` is that `'Not found'` is a (possibly) valid key. You would need to
implement this with a kwarg.
```ruby
class Hash
def fetch_in(*keys, **kwargs, &bl...
austin (Austin Ziegler)
07:41 PM Bug #11417: Wrong description for `limit` parameter for IO#gets
Ary hello!
The problem in UTF-8 encoding. For example japanese characters are represented by 3 bytes:
~~~
StringIO.new("こんにちは").gets(1) # => "こ"
StringIO.new("こんにちは").gets(2) # => "こ"
StringIO.new("こんにちは").gets(3) # => "こ"
Stri...
davydov_anton (Anton Davydov)
06:48 PM Revision d7924abf (git): common.mk: update dependency
* common.mk: update dependency of string.o to id.h for r52479.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:49 PM Revision ce8ec0c9 (git): * 2015-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:48 PM Revision 52e1c3b0 (git): * lib/net/http.rb (Net::HTTP#initialize):
default value of Net::HTTP#open_timeout is now 60 (was nil).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:51 PM Bug #11603: Count trace_running for internal event
Great! Thanks a lot, Koichi!
We need backports to 2.1 and 2.2 if possible.
deivid (David Rodríguez)
12:55 AM Bug #11603 (Closed): Count trace_running for internal event
Applied in changeset r52476.
----------
* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
maintain trace_running counter on internal events.
This patch is made by Takashi Kokubun <takashikkbn@gmail.com>.
[Bug #11603] https://git...
ko1 (Koichi Sasada)
04:38 AM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
It creates a memoized function of the symbol name containing the value.

On Thu, Nov 5, 2015 at 12:23 AM, <nobu@ruby-lang.org> wrote:

> Issue #11656 has been updated by Nobuyoshi Nakada.
>
> File bug-11656.log added
> Descriptio...
austin (Austin Ziegler)
03:59 AM Bug #11659: Strange behavior setting previously-undefined local variables with a statement modifier
That's not a typo. :-) I wanted to intentionally compare and contrast between a scenario where the same variable was being checked and set (#2) and a scenario where two different variables are in play (#4).
I understand about the par...
mwpastore (Mike Pastore)
03:18 AM Revision f9806460 (git): string.c: use predefined IDs for minor bloat reduction
* string.c (id_to_s): remove redundant variable
(rb_obj_as_string): trade id_to_s for idTo_s
(rb_str_equal): replace rb_intern(...) with pre-defined ID
(rb_str_cmp_m): ditto
(rb_str_match): ditto
(str_upto_each): ditto
(rb_st...
Eric Wong
02:40 AM Revision d79891c2 (git): thread.c (rb_cThreadShield): make static
Nothing outside of thread.c accesses this variable, so avoid
cluttering up the global namespace with it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
02:32 AM Feature #11537: Introduce "Safe navigation operator"
I have weak objection because `foo&.bar` seems check nil *and* false.
Maybe this is because I read this expression as "foo and foo.bar", which expression checks also false.
ko1 (Koichi Sasada)
12:49 AM Feature #11537: Introduce "Safe navigation operator"
Rodrigo Rosenfeld Rosas wrote:
> Did you mean `.?` and `&.` would be implemented in the same way?
Yes.
> ...
It will raise a `NoMethodError`.
nobu (Nobuyoshi Nakada)
12:55 AM Revision 0587f301 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 AM Revision 2d4bc584 (git): * vm_trace.c (rb_threadptr_exec_event_hooks_orig):
maintain trace_running counter on internal events.
This patch is made by Takashi Kokubun <takashikkbn@gmail.com>.
[Bug #11603] https://github.com/ruby/ruby/pull/1059
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52476 b2dd03...
ko1 (Koichi Sasada)
12:25 AM Revision 9d0012b0 (git): console.c: check unused args
* ext/io/console/console.c (console_set_winsize): unused arguments
also should be nil or integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

11/06/2015

11:47 PM Revision 9853cb05 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:35 PM Revision 92861a11 (git): * include/ruby/ruby.h (RSTRUCT_PTR): need a close parenthese.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:06 PM Feature #11537: Introduce "Safe navigation operator"
Yukihiro Matsumoto wrote:
> But behavior of `&.` should be kept, i.e. it should skip `nil` but recognize `false`.
I'm not sure I understood exactly what you meant by this.
Did you mean `.?` and `&.` would be implemented in the sam...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:16 AM Feature #11537 (Open): Introduce "Safe navigation operator"
Yukihiro Matsumoto wrote:
> I think about this for a while, and thinking of introducing `&.` instead of `.?`, because:
It sounds nice because &. is more friendly to syntax highlighting of my favorite editor,
but le me play devil's a...
shugo (Shugo Maeda)
02:21 AM Feature #11537: Introduce "Safe navigation operator"
Binary operators implicitly continue the next line, without a backslash.
e.g.,
~~~ruby
foo +
1
~~~
is same as `foo + 1`.
If `\` were become a binary operator, there is an ambiguity.
~~~ruby
foo \
1
~~~
is `foo(1)`...
nobu (Nobuyoshi Nakada)
01:50 AM Feature #11537: Introduce "Safe navigation operator"
Eric Wong wrote:
> tom.enebo@gmail.com wrote:
> ...
well it is but that is not really an issue since it only will acknowledge '\' if right before end of line (lexer just says spaceSeen and loops back up to top of lexer for its next tok...
enebo (Thomas Enebo)
01:25 AM Feature #11537: Introduce "Safe navigation operator"
I think about this for a while, and thinking of introducing `&.` instead of `.?`, because:
* `.?` is similar to `?.` in Swift and other languages, but is different anyway.
* Since `?` is a valid suffix of method names in Ruby, we alr...
matz (Yukihiro Matsumoto)
05:07 PM Revision 7ceb0f9e (git): * dir.c (dir_fileno, dirfd): support of Dir#fileno on Solaris 10.
Solaris 10 does not have dirfd, but the file descriptor of a
directory is stored in the d_fd or dd_fd member in the DIR struct.
Note that Solaris 11 has dirfd(3C).
* configure.in: checks for DIR.d_fd and DIR.dd_fd on Solaris 10.
...
ngoto (Naohisa Goto)
04:19 PM Revision e48bf65d (git): Revert r52469
"* lib/cmath.rb: methods which has suffix '!' are now deprecated."
It breaks rubyspec:
http://rubyci.s3.amazonaws.com/ubuntu1510/ruby-trunk/log/20151106T153002Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52471 b2dd03...
naruse (Yui NARUSE)
03:39 PM Feature #10974: [PATCH] Remove methods which has suffix `!`(sin!, cos!…) from CMath
i know this ticket got closed by the change of gogo,
but i want to ask (maybe in a different ticket later)
if its would be ok to have a deprecate_methods function like the deprecate_constant method in core?
#11588 might be similar t...
Hanmac (Hans Mackowiak)
03:13 PM Revision 10ef802d (git): * 2015-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 PM Revision 74ae4ae2 (git): * lib/cmath.rb: methods which has suffix '!' are now deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kazuki Tanaka
02:01 PM Revision 0765fcf8 (git): * array.c: clarifies Array#reject! documentation.
[fix GH-894][ci skip] Patch by @GxSplinter
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kazuki Tanaka
11:19 AM Revision 6fe4187e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:18 AM Revision de8c6931 (git): * test/runner.rb: extracted test helper.
* test/lib/zombie_hunter.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:19 AM Bug #11644 (Closed): Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
Applied in changeset r52465.
----------
* include/ruby/ruby.h (rb_array_const_ptr, rb_struct_const_ptr):
Suppress pointer type mismatch warnings occurred with old version
of Fujitsu C Compiler (fcc) on Solaris 10. The warnings cause...
ngoto (Naohisa Goto)
09:19 AM Revision fcf63d1e (git): * include/ruby/ruby.h (rb_array_const_ptr, rb_struct_const_ptr):
Suppress pointer type mismatch warnings occurred with old version
of Fujitsu C Compiler (fcc) on Solaris 10. The warnings cause
failure of TestMkmf::TestConvertible. [Bug #11644] [ruby-dev:49326]
* include/ruby/ruby.h (FIX_CONST_VALU...
ngoto (Naohisa Goto)
05:09 AM Revision a2dbb9d6 (git): rbinstall.rb: compress man pages.
* tool/rbinstall.rb (man): get rid of prompt from compress
program.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:42 AM Revision ae907243 (git): rbinstall.rb: compress man pages.
* tool/rbinstall.rb (man): compress mdoc-style man pages, without
Mdoc2Man.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:58 AM Bug #11658: Segmentation fault with activeadmin test suite
shibata.hiroshi@gmail.com wrote:
> >Maybe this three-line patch fixes the deadlock recursion problem:
>
> >http://80x24.org/spew/20151105213303.19743-1-e%4080x24.org/raw
>
> I confirmed r52461 with this patch at activeadmin-1.0.0...
normalperson (Eric Wong)
03:20 AM Bug #11658: Segmentation fault with activeadmin test suite
>Maybe this three-line patch fixes the deadlock recursion problem:
> ...
I confirmed to works r52461 with this patch at activeadmin-1.0.0.pre2 tests.
hsbt (Hiroshi SHIBATA)
03:54 AM Feature #11664 (Closed): [PATCH] introduce rb_autoload_value to replace rb_autoload
`rb_autoload_value` may be safer by preventing premature GC. It
can also be more efficient by passing a pre-frozen string that
can be deduped using `rb_fstring`. Common autoload callers (e.g.
rubygems, rdoc) already use string liter...
normalperson (Eric Wong)
03:39 AM Revision 837babd5 (git): change DOTQ
* defs/id.def (token_ops), parse.y (parser_yylex): change DOTQ
from ".?" to "&.". [ruby-core:71363] [Feature #11537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Bug #11412: The default filename encoding causes errors on Windows
Matthew Simoneau wrote:
> I'd like to see this issue reopened.
> ...
Of course the change is discussing but it is still pending because of compatibility.
It can be changed at Ruby 3.0.
naruse (Yui NARUSE)
12:01 AM Bug #11663 (Closed): Segfault when using multiple keywords if the first keyword is invalid
Applied in changeset r52461.
----------
parse.y: fix segv after invalid keyword argument
* parse.y (kwd_append): fix segv after invalid keyword argument,
preceding keyword list is NULL when syntax error is there.
[ruby-core:71356] ...
nobu (Nobuyoshi Nakada)
12:01 AM Revision dfa75017 (git): parse.y: fix segv after invalid keyword argument
* parse.y (kwd_append): fix segv after invalid keyword argument,
preceding keyword list is NULL when syntax error is there.
[ruby-core:71356] [Bug #11663]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52461 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)

11/05/2015

11:48 PM Feature #11537: Introduce "Safe navigation operator"
tom.enebo@gmail.com wrote:
> How about '\'? We can pay homage to Windows file delimeter?
>
> a\b\c
>
> I just scanned lexer and I cannot think of a reason off the top of my head why not...what does \ mean? who knows...what for ...
normalperson (Eric Wong)
11:01 PM Feature #11537: Introduce "Safe navigation operator"
How about '\'? We can pay homage to Windows file delimeter?
a\b\c
I just scanned lexer and I cannot think of a reason off the top of my head why not...what does \ mean? who knows...what for .? mean? I don't know that either. Th...
enebo (Thomas Enebo)
10:28 PM Bug #11658: Segmentation fault with activeadmin test suite
shibata.hiroshi@gmail.com wrote:
> Can you install `nodejs` via apt?

Sorry, I'm willing to audit all that code before I run it.
I cannot afford to develop any expectation of being able to
run/debug JS in any way; likewise for X11/...
normalperson (Eric Wong)
08:44 AM Bug #11658 (Assigned): Segmentation fault with activeadmin test suite
Can you install `nodejs` via apt?
I got another error related with r52332 at ubuntu 14.04
```
$ sudo apt install nodejs
$ cd activeadmin
$ bundle exec rake spec
(snip)
/data/dev/activeadmin/lib/active_admin/resource/action_ite...
hsbt (Hiroshi SHIBATA)
07:28 AM Bug #11658: Segmentation fault with activeadmin test suite
It's still asking for a JS runtime:

/lib/ruby/gems/2.3.0/gems/execjs-2.4.0/lib/execjs/runtimes.rb:45:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes

...
normalperson (Eric Wong)
07:00 AM Bug #11658: Segmentation fault with activeadmin test suite
> Anyway to reproduce this without loading a JS engine?
Yes, I can reproduce with `ruby -Ilib:spec -e "require 'rails_helper'"` in activeadmin directory.
hsbt (Hiroshi SHIBATA)
06:38 AM Bug #11658: Segmentation fault with activeadmin test suite
Anyway to reproduce this without loading a JS engine?
I haven't touched anything Rails-related in years because of JS.
normalperson (Eric Wong)
03:46 AM Bug #11658 (Closed): Segmentation fault with activeadmin test suite
I detect causes of SEGV with Ruby 2.3.0 HEAD and activeadmin-1.0.0.pre2 after r52332.
Please try following instructions with ruby of r52332.
```sh
$ gem install bundler
$ git clone --branch v1.0.0.pre2 https://github.com/activead...
hsbt (Hiroshi SHIBATA)
10:09 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
I've come to realize that it might not be entirely clear what is being proposed. In essence, all of the following examples feel very "Ruby" and should, in my opinion, Just Work.
```ruby
[1, 3.14, 2ri].all?(Numeric) # => true
if sh...
0x0dea (D.E. Akers)
09:53 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
This seems quite nice. Any downsides? shan (Shannon Skipper)
10:06 PM Revision 9a0802a3 (git): * 2015-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:05 PM Revision 7d0a3681 (git): test/ruby/test_autoload: hoist out ruby_impl_require
Having "require" implemented in Ruby is the common case nowadays
with RubyGems, so ensure it is easy-to-reuse the same logic for
future tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:23 PM Bug #11663 (Closed): Segfault when using multiple keywords if the first keyword is invalid
When loading a method with an invalid keyword (such as one that ends in a question mark), a syntax error occurs as is expected. However, when loading a method with multiple keywords, if the first keyword is invalid then a segmentation fa... smacgahan (Sean MacGahan)
09:13 PM Bug #11662 (Closed): Hash#delete causes segmentation fault at 0x00000000001ec8
I have seen this bug happen several times, but only when the system is under heavy load. I have to apologize that don't have any means of easily reproducing it. I saw the same bug appear (segmentation fault at same line 296) on ruby 2.... mstate (Mike State)
08:48 PM Bug #11661 (Closed): sprintf causes a KeyError instead of using a default value for hash substitution
When using a format string that substitutes hash values (or using the `%` operator on a string), instead of using the Hash's default value if a key is not present, it causes a KeyError.
As an end-user, to get around this, my hash need...
eddyluten (Eddy Luten)
08:36 PM Feature #11660 (Open): a falsy value (similar to js undefined) that facilitates forwarding of default arguments
I'll call it "missing" here. Consider the following scenario:
```ruby
def foo(default1 = some_expression)
end
def bar(default1 = some_expression)
foo default1
end
def foobar(default1 = some_expression)
bar default1
en...
bughit (bug hit)
04:13 PM Bug #11603: Count trace_running for internal event
Byebug 7.0.0 including https://github.com/deivid-rodriguez/byebug/pull/160 is released to rubygems.org the day before yesterday.
Since byebug gem is installed by Rails' default Gemfile, I guess many users may have chance to cause this S...
k0kubun (Takashi Kokubun)
06:59 AM Bug #11659: Strange behavior setting previously-undefined local variables with a statement modifier

~~~
var2 = 'default' if defined?(var1).nil?; var2
~~~
because you got a typo for var2, see the var1 inside.
~~~
var4 = 'default' if defined?(var4).nil?; var4
~~~
the problem there is that var got defined from the parse...
Hanmac (Hans Mackowiak)
06:43 AM Bug #11659 (Rejected): Strange behavior setting previously-undefined local variables with a statement modifier
Consider a previously-undefined local variable `var1`:
~~~
irb(main):001:0> if defined?(var1).nil?; var1 = 'default'; end; var1
=> "default"
~~~
Consider previously-undefined local variables `var1` and `var2`:
~~~
irb(main):...
mwpastore (Mike Pastore)
05:23 AM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
What does `let` do? nobu (Nobuyoshi Nakada)
04:04 AM Revision 72b785e0 (git): id.def: token_ops
* defs/id.def (token_ops): gather associations between IDs,
operators, and parser tokens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:08 AM Feature #8976: file-scope freeze_string directive
> Shugo Maeda wrote:
>
>> It's not just for compatibility.
>>
>> The original problem was that a new String object has to be allocated by a string literal
>> for each evaluation. So I don't understand the reason why a dynamic stri...
kosaki (Motohiro KOSAKI)
03:02 AM Bug #11657 (Closed): Abort Trap 6 when running a test suite
An internal Ruby gem I develop for my company has a test suite that works fine on Ruby 2.1.x but crashes on **2.2.3 and 2.3.0-dev** with:
~~~
[BUG] Stack consistency error (sp: 273, bp: 271)
~~~
I've tried this on both OS X (10.1...
adh1003 (Andrew Hodgkinson)
02:39 AM Bug #11655: Can't refine Object.const_missing
Nobu? Given the behavior observed above, I must maintain that this is a bug worth reopening. If I am mistaken in that conclusion, could you please take a moment to clarify your assertion that the Refinements spec prohibits implicit invoc... 0x0dea (D.E. Akers)
01:24 AM Revision fcd15352 (git): parse.y: CALL_Q_P
* parse.y (CALL_Q_P): extract common condition for safe-call
token.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:17 AM Revision 612978ed (git): ext: use RARRAY_ASET
* ext/socket/socket.c (make_addrinfo): use RARRAY_ASET for
write-barrier.
* ext/tk/tcltklib.c ({call,eval,invoke}_queue_handler): ditto.
* ext/tk/tkutil/tkutil.c (ary2list, ary2list2): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
01:15 AM Revision d2e48a3f (git): tk: RARRAY_AREF
* ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c (RARRAY_AREF): add
fallback definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:09 AM Revision 4d21e6aa (git): * 2015-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:09 AM Revision 57e2877e (git): ext: use RARRAY_AREF
* ext/**/*.c: prefer RARRAY_AREF to indexing RARRAY_CONST_PTR.
pointed out by hanmac.
https://github.com/ruby/ruby/commit/3553a86#commitcomment-14187670
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52453 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)

11/04/2015

06:23 PM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
Daniel Greenberg wrote:
> Attached file here because it is hard to read above.
```ruby
describe '#hash' do
let(:attr_vals) { subject.attr_values.to_s }
before { expect(Digest::MD5).to receive(:hexdigest).with(attr_vals...
dgreenbe77 (Daniel Greenberg)
06:11 PM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
Attached file here because it is hard to read above. dgreenbe77 (Daniel Greenberg)
06:07 PM Bug #11656 (Closed): ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
/Users/dgreenbe77/Development/frederick_gem/lib/frederick/models/model.rb
./spec/lib/frederick/models/model_spec.rb
dgreenbe77 (Daniel Greenberg)
02:11 PM Bug #11655: Can't refine Object.const_missing
Nobuyoshi Nakada wrote:
> It's a spec.
> ...
How does that square with the behavior observed below?
```ruby
using Module.new {
refine Object do
def method_missing(*)
42
end
end
}
p foo # => 42
```
0x0dea (D.E. Akers)
01:43 PM Bug #11655 (Rejected): Can't refine Object.const_missing
It's a spec.
Refinements targets only explicit invocations.
nobu (Nobuyoshi Nakada)
12:32 PM Bug #11655 (Rejected): Can't refine Object.const_missing
```ruby
TracePoint.new(:c_call) { |tp|
if tp.method_id == :const_missing
puts "top-level const_missing is #{tp.self}'s"
end
}.enable { Foo rescue 1 }
# => top-level const_missing is Object's
module M
refine Object.sin...
0x0dea (D.E. Akers)
01:40 PM Bug #11654: Segmentation fault
Seems related to GC, but uncertain.
And the latest 2.2 is 2.2.3.
nobu (Nobuyoshi Nakada)
10:19 AM Bug #11654 (Closed): Segmentation fault
I encountered a segmentation fault in a default job running in the background.
Unfortunately, I can not share the running code and the error is not reproducible so far. However all it does is basically sending out emails.
It might al...
marc.hbnr (Marc Hbnr)
12:34 PM Revision a015a013 (git): revive deleted entry [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:12 AM Feature #8976: file-scope freeze_string directive
Shugo Maeda wrote:
> It's not just for compatibility.
> ...
It is not a big problem.
We can reduce extra object allocation with "foo#{exp}bar".dup using an optimization similar for "foo".freeze.
I think the pragma and option name...
akr (Akira Tanaka)
07:45 AM Feature #8976: file-scope freeze_string directive
Koichi Sasada wrote:
> akr: how about dynamic strings “foo#{bar}baz”?
> ...
It's not just for compatibility.
The original problem was that a new String object has to be allocated by a string literal
for each evaluation. So I don't...
shugo (Shugo Maeda)
08:33 AM Revision 86875c2b (git): * lib/debug.rb: Add documentation for #thread_list_all.
[Misc #11580][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:50 AM Revision 0047ab96 (git): tkutil.c: rb_ary_cat
* ext/tk/tkutil/tkutil.c (rb_ary_cat): fallback definition.
rb_ary_cat() is available since 2.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:50 AM Revision 8df1863d (git): tkutil.c: strndup
* ext/tk/tkutil/tkutil.c (strndup): fallback definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:27 AM Revision 3553a86e (git): ext: use RARRAY_CONST_PTR
* ext/bigdecimal/bigdecimal.c: use RARRAY_CONST_PTR just fore
reference instead of RARRAY_PTR, to keep the array WB-protected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:18 AM Revision 52912db4 (git): ext: adjust index type
* ext: use long for index instead of int and RARRAY_LENINT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:59 AM Revision c8803b10 (git): variable.c: suppress a warning
* variable.c (autoload_reset): initialize formally to suppress a
warning from container_off_var() by Visual C.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:46 AM Revision b381e3ca (git): * class.c: fix documentation for rb_define_class{_id}_under.
[fix GH-991][ci skip] Patch by @kachick
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:40 AM Revision 825c891b (git): * method.h: fix typo. Patch by @davydovanton
[fix GH-1076][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:39 AM Revision b6807ba3 (git): * hash.c: use correct grammer. Patch by @tveastman
[fix GH-1079][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:01 AM Feature #11653: Add to_proc on Hash
You can write it as:
~~~ruby
[:e, :a, :b, :f, :c, :d].map(&my_hash.method(:[]))
~~~
nobu (Nobuyoshi Nakada)
05:24 AM Feature #11653: Add to_proc on Hash
I think this is an excellent idea. I hope this can make it into Ruby 2.3. duerst (Martin Dürst)
02:59 AM Feature #11653 (Closed): Add to_proc on Hash
Procs can be called the same way a hash is with `[]`. But a Hash is not mappable as a Proc.
~~~ruby
my_hash = ->key{{
a: 1, b: 2, c: 3, d: 4, e: 5, f: 6
}[key]}
my_hash[:a]
# => 1
[:e, :a, :b, :f, ...
danielpclark (Daniel P. Clark)
03:48 AM Bug #10984: Hash#contain? to check whether hash contains other hash
What if

```ruby
{b: 1} === {a: 2, b: 1}
```

then

```ruby
h = {a: 2, b: 1}
case h
when {b: 1}
puts "got it"
end
```
😁😃😄😈
funny_falcon (Yura Sokolov)
03:13 AM Revision c457e91a (git): * lib/drb/drb.rb: add debug information for mswin CI. this change will be reverted later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:38 AM Revision f6043758 (git): process.c: fix rdoc of Process.getsid [ci skip]
* process.c (proc_getsid): [DOC] Fix double word 'for' and typo.
[Fix GH-1080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:33 AM Revision 96831c00 (git): test_gdbm.rb: sync after reorganize
* test/gdbm/test_gdbm.rb (test_reorganize): sync after reorganize
to ensure that the db file get packed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:32 AM Revision ecbbd236 (git): fake.rb: fix builddir
* tool/fake.rb (prehook): consider the case building under the
source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:31 AM Revision 7995eb43 (git): mkmf/base.rb: capture output
* test/mkmf/base.rb (TestMkmf::Base::Capture#write): capture
output inside mkmf method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:31 AM Revision 051127ab (git): mkmf.rb: revert r52431
* lib/mkmf.rb: it's an issue of test/mkmf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:44 AM Feature #11537: Introduce "Safe navigation operator"
Thomas, that reminds me of old UUCP addresses (grin).
But ,as Nobu pointed out, it can be parsed as `u(!profile(!thumbnails(!large)))` unfortunately.
Matz.
matz (Yukihiro Matsumoto)
12:32 AM Feature #11537: Introduce "Safe navigation operator"
Thomas Sawyer wrote:
> `..` wouldn't work. But that reminds me. Was `!` ever considered?
> ...
No, it's a unary operator.
nobu (Nobuyoshi Nakada)
12:07 AM Feature #11537: Introduce "Safe navigation operator"
Philip Claren wrote:
> Thomas Sawyer wrote:
> ...
Is allowing false necessary/useful? On the other hand, if it is, then might a nil-only ternary operator be useful too (regardless of this issue)?
trans (Thomas Sawyer)
12:01 AM Feature #11537: Introduce "Safe navigation operator"
Laurentiu Macovei wrote:
> The same discussion happens to be on TypeScript and ES6 worlds.
> ...
`..` wouldn't work. But that reminds me. Was `!` ever considered?
u!profile!thumbnails!large
trans (Thomas Sawyer)
12:03 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
Yukihiro Matsumoto wrote:
> I prefer method way to (already reverted) `params.?[:order].?[:shipping_info].?[:country]`.
> ...
clojure has get-in for their maps, how about fetch_in with replacement like fetch
hash.fetch_in(:order, :s...
dsisnero (Dominic Sisneros)

11/03/2015

11:38 PM Bug #10984: Hash#contain? to check whether hash contains other hash
Responding to feedback from Akira Tanaka and Nobuyoshi Nakada at [DevelopersMeeting20150514Japan](https://docs.google.com/document/u/1/d/1kEsXwy0X046Z0RqsvWv6O-gJ-tLY91Mc0vDHYZoJE1M/pub)
> akr: “contain” is too general. “subhash”?
...
olivierlacan (Olivier Lacan)
11:33 PM Feature #10123: Named capture groups don't set local vars when matched using ~
Josh Cheek wrote:
> Broken when using `~`:
> ...
Similarly, these do not set the local variable.
~~~
$ echo ' josh' | ruby -ne '/(?<initial>\w)/ !~ $_ or puts initial'
$ echo ' josh' | ruby -ne '$_[/(?<initial>\w)/] and puts initi...
josh.cheek (Josh Cheek)
10:34 PM Bug #10996: Inline if statements should hoist variables.
Yukihiro Matsumoto wrote:
> The fundamental rule is that local variables are defined by the first assignment. For consistency, I will not bend this rule for if modifiers.
> ...
That's why it seems like this should be turned on, since i...
josh.cheek (Josh Cheek)
09:17 PM Revision 9801be68 (git): * 2015-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:17 PM Feature #11647 (Closed): [PATCH] include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
Applied in changeset r52435.
----------
include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
This is an implementation detail and should not be exposed to
C extension users. We may change this to id_table soon; and
id_table sh...
Anonymous
03:48 AM Feature #11647 (Closed): [PATCH] include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
This is an implementation detail and should not be exposed to
C extension users. We may change this to id_table soon; and
id_table should not be exposed as a public API.
It is highly unlikely any existing C extensions require this;...
normalperson (Eric Wong)
09:16 PM Revision 2f418fb3 (git): include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
This is an implementation detail and should not be exposed to
C extension users. We may change this to id_table soon; and
id_table should not be exposed as a public API.
It is highly unlikely any existing C extensions require this;
so ...
Eric Wong
05:47 PM Bug #11412: The default filename encoding causes errors on Windows
I'd like to see this issue reopened.
The solution of specifying UTF-8 explicitly works, but this should be the default for Ruby on Windows. Two reasons:
1) This is a serious usability issue. It took me half an hour to work this out...
simoneau (Matthew Simoneau)
05:03 PM Bug #11652 (Closed): Bug after running 'next' during binding.pry in a rails project
```
[1] pry(#<WarehouseRowReader::#country>)> next
test/services/importers/warehouse_row_reader_test.rb:13: [BUG] Segmentation fault at 0x00000000000000
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
```
diegodesouza (DIego De Souza)
01:28 PM Bug #11644: Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
コマンドラインは正常だったので、やはりWarningが出たのが原因のようです。
以下のようにキャストするとFailureは出なくなりました。
(三項演算子のどちらか片方だけのキャストではダメでした。)
しかし、古いバージョンのコンパイラのバグっぽい挙動のために、全環境でキャストを入れるのは、
将来の型変更時のミス等を隠蔽するため有害な気がするので、
#ifdef 等で環境・コンパイラを限定してキャストするのがよいかと思っています。
~~~
--- ...
ngoto (Naohisa Goto)
07:57 AM Bug #11644: Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
Naohisa Goto wrote:
> あるいは、コンパイラへのオプションが mkmf.rb 内部で削られて、32ビットモードでコンパイルしている可能性はあるかもしれません。
> ...
出してたはずと思ったら出てませんでした。
r52431で試してみてください。
nobu (Nobuyoshi Nakada)
05:02 AM Bug #11644: Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
> それにVALUEがunsigned longとは違うということはIL32P64コンパイラでしょうか。
いいえ、LP64 です。
コンパイラは `const VALUE *` と `const unsigned long *` が incompatible と主張していますが、そんなことはないはずなので、この点に関しては、コンパイラのバグかもしれません。
あるいは、コンパイラへのオプションが mkmf.rb 内部で削られて、32ビットモードでコンパイ...
ngoto (Naohisa Goto)
01:24 PM Revision 3a67ca1e (git): test_gdbm.rb: teardown
* test/gdbm/test_gdbm.rb (teardown): show hidden files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:42 PM Feature #11650: Add custom error message arg to Timeout.timeout
Sounds reasonable. nobu (Nobuyoshi Nakada)
10:27 AM Feature #11650 (Closed): Add custom error message arg to Timeout.timeout
Now Timeout.timeout can accept custom error message:
~~~ruby
Timeout.timeout(30, CustomException, “custom_message”)
~~~
This option might be useful for networking:
~~~ruby
# net/smtp.rb#do_start
Timeout.timeout(30, Net::Open...
kirs (Kir Shatrov)
12:15 PM Revision e0d6328f (git): test_timeout.rb: exact messages
* test/test_timeout.rb (test_rescue_exit, test_custom_exception):
assert with exact messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:18 AM Revision ce58200f (git): test_gdbm.rb: teardown
* test/gdbm/test_gdbm.rb (teardown): show tmpdir contents if
failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:17 AM Misc #11649 (Closed): [Refactor] Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`
See also https://github.com/ruby/ruby/pull/1078.
Same as `rb_print_inaccessible`, change `rb_print_undef` to use `rb_method_visibility_t`.
Please let me merge this patch.
yui-knk (Kaneko Yuichiro)
07:52 AM Revision 6d57a526 (git): mkmf.rb: log messages
* lib/mkmf.rb (xsystem, xpopen, egrep_cpp, pkg_config): log
messages to the log file too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:44 AM Bug #11648 (Closed): Undocumented features of String#oct
String#oct will adjust the base of the stringy number being converted to 2 (if prefixed with 0B), 8 (also the default, if prefixed with 0O), 10 (if prefixed with 0D), or 16 (if prefixed with 0X). Much to my surprise this behavior is not ... mwpastore (Mike Pastore)
07:06 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
dam i begun to like that "params.?[:order]" bad that it got reverted :/
i think the problem is that it might parse "?[" as a char or something?
Hanmac (Hans Mackowiak)
06:21 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
I prefer method way to (already reverted) `params.?[:order].?[:shipping_info].?[:country]`.
I am not sure `dig` is the best name for it. It's short, concise thought.
Any other idea, anyone?
Matz.
matz (Yukihiro Matsumoto)
06:56 AM Bug #11598: Ruby crash when I run calabash-android
Where I can find more log information when it occurred? I can only find the error info on dos screen. Attachment is the ruby lib I have installed
clintming@qq.com (clint ming)
03:38 AM Bug #11384: multi-threaded autoload sometimes fails
shugo@ruby-lang.org wrote:
> It's still running beyond 49,000 times on my notebook, which sleeps at night.
> I'll inform you if any error occurs.

Actually, I've managed to reproduce around 47,000 times.
So my patch (r52332) seems ...
normalperson (Eric Wong)
12:27 AM Revision a3ee54f8 (git): parse.y: revert lbracket
* parse.y (lbracket): remove .? before aref. [Feature #11537]
revert r52422 and r52424
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

11/02/2015

11:28 PM Bug #11644 (Feedback): Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
r52055のinclude/ruby/ruby.h:2003は
~~~c
RARRAY(a)->as.ary : RARRAY(a)->as.heap.ptr;
~~~
でどちらも`const VALUE *`のはずですが…。
それに`VALUE`が`unsigned long`とは違うということはIL32P64コンパイラでしょうか。
nobu (Nobuyoshi Nakada)
11:36 AM Bug #11644 (Closed): Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
r52055以降、Solaris 10 上の古いfcc (Fujitsu C Compiler) にてコンパイルすると、
make test-all にて
TestMkmf::TestConvertible#test_typeof_builtin
TestMkmf::TestConvertible#test_typeof_typedef
がfailureになります。
長いのでFailure部分のログはファイル(r52055-failure.log)にて添付...
ngoto (Naohisa Goto)
11:17 PM Feature #9696: More Flexible Refinement Syntax
Another alternative is to slightly abuse the fact that refinements are also modules:
~~~
module Refinement
Behaviour = refine Target do
def new_method
'facets-supplied-behaviour'
end
end
end
~~~
To use as ...
lazyatom (James Adam)
11:13 PM Feature #9696: More Flexible Refinement Syntax
It *might* be possible to support both monkey-patching and refinements with a combination of modules, using prepend and refine:
~~~
class Target
end
# actual code
module Behaviour
def new_method
'facets-supplied behaviou...
lazyatom (James Adam)
11:08 PM Revision b907c6e9 (git): keywords: make name singed
* defs/keywords (kwtable::name): turn into singed int, as gperf
fills invalid slots with -1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:18 PM Revision b147b5a3 (git): id_table: const correctness for _size and _memsize
This allows us to swap in rb_id_table_memsize for st_memsize
(which takes a "const st_table *") more easily.
It also makes sense to do the same for rb_id_table_size,
too; as the table cannot be altered when accessing size.
* id_table.h...
Eric Wong
09:50 PM Revision ca86c3ab (git): variable.c: remove casts for rb_class_ivar_set callers
Casting any arguments of rb_class_ivar_set to st_data_t is wrong
as the function does not take any st_data_t parameters anymore.
There's no functional change, as ID, VALUE, and st_data_t are
all the same type, but this reduces confusion ...
Eric Wong
09:26 PM Revision 5aef9e1d (git): variable.c (rb_global_tbl): convert to id_table
Mainly this is to reduce casting a tiny amount; and
probably nothing depends on the order of globals.
Likely no measurable memory usage improvement as globals
are not common, but maybe some weird code out there benefits.
git-svn-id: svn...
Eric Wong
08:36 PM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
Matthew Kerwin wrote:
> How about:
> ...
Thanks Matthew, I'll be honest, I hadn't thought of that. There is a certain appeal in avoiding adding a new method on Hash. On the other hand, by adding a new method we can more easily and more...
gkop (Gabe Kopley)
04:07 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
How about:
params.?[:order].?[shipping_info].?[country]
phluid61 (Matthew Kerwin)
02:04 AM Feature #11643 (Closed): A new method on Hash to grab values out of nested hashes, failing gracefully
(I posted this to the mailing list last year [0] and received no response, but am inspired to file an issue here based on the positive reception to https://bugs.ruby-lang.org/issues/11537 )
This comes up sometimes in Rails programming...
gkop (Gabe Kopley)
05:10 PM Bug #11645 (Closed): Since r52422, failed to compile parse.y on Solaris 10 with Oracle Solaris Studio 12.3
Applied in changeset r52424.
----------
* parse.y (NO_QCALL): fix type mismatch of operands that causes
compile error with Oracle Solaris Studio on Solaris.
[Bug #11645] [ruby-dev:49327]
ngoto (Naohisa Goto)
04:07 PM Bug #11645 (Closed): Since r52422, failed to compile parse.y on Solaris 10 with Oracle Solaris Studio 12.3
Solaris 10 にて、 Oracle Solaris Studio 12.3 にて、parse.y (から生成された parse.c)のコンパイルに失敗します。
~~~
ruby --disable=gems ./tool/id2token.rb --path-separator=.:./ --vpath=.ext/include/sparc64-solaris2.10/ruby:./include/ruby:./missing id.h parse.y ...
ngoto (Naohisa Goto)
05:10 PM Revision 295135be (git): * 2015-11-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:10 PM Revision 71c972c0 (git): * parse.y (NO_QCALL): fix type mismatch of operands that causes
compile error with Oracle Solaris Studio on Solaris.
[Bug #11645] [ruby-dev:49327]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
11:10 AM Revision e802ec51 (git): * 2015-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:07 AM Revision dbf73f6f (git): parse.y: lbracket
* parse.y (lbracket): support .? before aref. [Feature #11537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:58 AM Feature #8976 (Open): file-scope freeze_string directive
Quoted from
log: https://docs.google.com/document/d/1axnQv1A2SdRExw--_RzXXJAPrRyvN7MCIB0WrKcZaSE/pub
of https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20151021Japan
```
Decide whether -*- should be required for fro...
ko1 (Koichi Sasada)
09:56 AM Bug #11452 (Third Party's Issue): Stability issues with glibc-2.22
The glibc-new-condvar.patch which was causing the issues was dropped from Fedora [1], so this should be resolved for now, unless this will get reintroduced into upstream.
[1] http://pkgs.fedoraproject.org/cgit/glibc.git/commit/?id...
vo.x (Vit Ondruch)
01:57 AM Misc #11584 (Closed): Kernel::loop silently catching StopIteration, should be documented
r52218 added documentation about Kernel#loop and StopIteration. nagachika (Tomoyuki Chikanaga)

11/01/2015

08:17 AM Revision 840e6b63 (git): * id_table.c (mix_id_table_insert): do not touch list during
list->hash transition because GC can run during transition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:50 AM Revision 9f37449f (git): ruby-runner.c.in: trivial optimization
* template/ruby-runner.c.in (main): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:13 AM Revision 513d8b34 (git): iseq.c (iseq_memsize): account for rb_call_cache entries
Add some comments to clarify the allocated field used for the
allocations while we're at it.
TODO: figure out a better way of testing/maintaining this...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52419 b2dd03c8-39d4-4d8f-98ff-8...
Eric Wong
12:44 AM Bug #11642 (Rejected): Thread List Example - Wrong Output
Just depends on the time the second thread needs. nobu (Nobuyoshi Nakada)
12:12 AM Revision 7484d07c (git): parse.y: invalid symbol
* parse.y (parser_yylex): ':' separated by a comment and a newline
is not valid as symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom