Project

General

Profile

Activity

From 08/07/2017 to 08/13/2017

08/13/2017

10:52 PM Feature #13805: Make refinement scoping to be like that of constants
jeremyevans0 (Jeremy Evans) wrote:
> You probably want to read the very long issue that introduced refinements (#408...
wardrop (Tom Wardrop)
09:45 PM Bug #13811 (Closed): Ruby 2.4.1 fails to compile inside qemu armhf - signal 11 (Segmentation fault)
I'm using this Dockerfile to compile: https://github.com/docker-library/ruby/blob/ecbfdeb2b71e155222b1d3df0a33685247f... hackeron (Roman Gaufman)
02:48 PM Bug #13810 (Closed): Inconsistency between Date and Time.strftime("%v")
This seems odd. Each function matches its documentation, but the document and implementation of `Date.strftime("%v")`... osteele (Oliver Steele)
01:43 PM Bug #13809 (Closed): Unused variable warning does not occur when a method with the same name was called
Applied in changeset trunk|r59585.
----------
parse.y: set used flag in gettable
* parse.y (dvar_defined_ref, dvar_...
nobu (Nobuyoshi Nakada)
12:42 PM Bug #13809 (Closed): Unused variable warning does not occur when a method with the same name was called
## problem
~~~ ruby
a = 1
a()
~~~
`a` is unused, but `ruby -cw` does not add warning for this code.
~...
pocke (Masataka Kuwabara)
01:43 PM Revision 45270d20 (git): script.rb: skip empty directories
* spec/mspec/lib/mspec/utils/script.rb (entries): skip empty
directories so that at least one file would run.
Merg...
nobu (Nobuyoshi Nakada)
01:34 PM Revision 29b114a1 (git): parse.y: set used flag in gettable
* parse.y (dvar_defined_ref, dvar_defined): rename macros. only
gettable uses the former. assignable should not s...
nobu (Nobuyoshi Nakada)
12:14 PM Revision 2bbc3052 (git): REXML: Fix a bug that unexpected methods can be called as a XPath function
[HackerOne:249295]
Reported by Andrea Jegher. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59584 b2...
Sutou Kouhei
07:53 AM Revision 374c70c6 (git): stringio.c: suppress a warning [ci skip]
* ext/stringio/stringio.c (strio_read): suppress an
implicit-fallthrough warning.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
07:31 AM Revision e022015c (git): stringio.c: encoding at empty chomped result
* ext/stringio/stringio.c (strio_gets): should return string with
the external encoding, at empty chomped result .
...
nobu (Nobuyoshi Nakada)
07:21 AM Revision 24d03b22 (git): stringio.c: encoding at empty result
* ext/stringio/stringio.c (strio_gets): should return string with
the external encoding, at empty result.
git-svn-...
nobu (Nobuyoshi Nakada)
12:15 AM Feature #13780: String#each_grapheme
naruse (Yui NARUSE) wrote:
> ```diff
> + if (!unicode_p) {
> + return rb_str_enumerate_codepoints(str, wantarra...
nobu (Nobuyoshi Nakada)

08/12/2017

05:41 PM Revision c5f66a37 (git): * 2017-08-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:41 PM Revision e389bf89 (git): Suppress warning: shadowing outer local variable - klass
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:40 PM Feature #13780: String#each_grapheme
```diff
diff --git a/NEWS b/NEWS
index 4bfca9240c..1e66e94879 100644
--- a/NEWS
+++ b/NEWS
@@ -94,6 +94,7 @@ wit...
naruse (Yui NARUSE)
04:03 PM Feature #13795: Hash#select return type does not match Hash#find_all
> In the worst case, ruby 3.x may accept backwards-incompatible changes so either way
> I think you can continue to ...
davidarnold (David Arnold)
04:00 PM Feature #13795: Hash#select return type does not match Hash#find_all
> > Also, as a side note, it seems that Hash#select and #reject really are the only two methods that behave this way... davidarnold (David Arnold)
02:53 PM Feature #13795: Hash#select return type does not match Hash#find_all
Changing the behavior of Hash#select/reject broke a lot of files, some in [very strange ways](https://travis-ci.org/r... adp90 (Alexander Patrick)
11:11 AM Feature #13795: Hash#select return type does not match Hash#find_all
On 2017/08/11 01:12, [email protected] wrote:

> Also, as a side note, it seems that Hash#select and #rejec...
duerst (Martin Dürst)
06:30 AM Feature #13795: Hash#select return type does not match Hash#find_all
> Ruby has been not backwards-compatible in several releases, so I don't see that as
> a reason per se to not entert...
shevegen (Robert A. Heiler)
10:32 AM Feature #13807: A method to filter the receiver against some condition
It seems useless without method chain, i.e., variable `a` is too simple as an example.
That is, this is a variant ...
nobu (Nobuyoshi Nakada)
10:05 AM Feature #13807: A method to filter the receiver against some condition
I don't see any improvement. The new way that would be possible with the `verify` method is longer and more complicat... duerst (Martin Dürst)
04:01 AM Feature #13807: A method to filter the receiver against some condition
I have no particular pro or con opinion about your proposal, but I just
want to say that the last variant is not ver...
shevegen (Robert A. Heiler)
05:42 AM Bug #13808 (Closed): lib/ipaddr.gemspec includes `git ls-files -z`
`git ls-files -z` in gemspec may occur error.
see https://bugs.ruby-lang.org/issues/13423 and/or https://bugs.ruby...
znz (Kazuhiro NISHIYAMA)
05:41 AM Bug #13802 (Rejected): break inside loop is not working as expected
nobu (Nobuyoshi Nakada)
03:58 AM Bug #13802: break inside loop is not working as expected
Yes, works as the code specifies, not a bug, so misfiled.
I anyone wants to test via copy/paste into IRB, here is ...
shevegen (Robert A. Heiler)
03:53 AM Feature #13805: Make refinement scoping to be like that of constants
I do not think that issue #4085 necessarily has to be the "one and only one true refinement", in
particular if we k...
shevegen (Robert A. Heiler)
01:47 AM Bug #13806 (Closed): StringIO encoding conversion
Applied in changeset trunk|r59578.
----------
stringio.c: encoding at EOF
* ext/stringio/stringio.c (strio_read): s...
nobu (Nobuyoshi Nakada)
01:47 AM Revision 6ee82564 (git): stringio.c: encoding at EOF
* ext/stringio/stringio.c (strio_read): should return string with
the external encoding, at EOF too.
[ruby-core:8...
nobu (Nobuyoshi Nakada)
01:34 AM Revision 201d0e7e (git): * 2017-08-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:34 AM Revision 555d477d (git): test_stringio.rb: more assertions
* test/stringio/test_stringio.rb (test_read): add assertions
of return value of read with a buffer string.
git-svn...
nobu (Nobuyoshi Nakada)

08/11/2017

11:02 PM Bug #13806: StringIO encoding conversion
naruse (Yui NARUSE) wrote:

> The 4th line's comment, 'reads "foo"' is wrong; it returns ''.
> Therefore though i...
lloeki (Loic Nageleisen)
04:11 PM Bug #13806: StringIO encoding conversion
> s = StringIO.new("foo", "w+") # => #<StringIO:0x007f879e81f268>
> s.internal_encoding ...
naruse (Yui NARUSE)
01:12 PM Bug #13806 (Closed): StringIO encoding conversion
StringIO's doc page says:
> Pseudo I/O on String object.
>
> Commonly used to simulate `$stdio` or `$stderr`
...
lloeki (Loic Nageleisen)
08:38 PM Feature #13807 (Closed): A method to filter the receiver against some condition
I frequently see code that uses some value if that value satisfies a certain condition, and something else otherwise.... sawa (Tsuyoshi Sawada)
02:07 PM Bug #13799: ENV.dup returns a plain Object
Understood. But what about removing 'dup' and 'clone' from ENV altogether ?
The fact that ENV is an object with si...
sylvain.joyeux (Sylvain Joyeux)
02:36 AM Bug #13799 (Rejected): ENV.dup returns a plain Object
You have to use `clone` to copy singleton methods.
http://ruby-doc.org/core-2.4.1/Object.html#method-i-dup-label-on+...
nobu (Nobuyoshi Nakada)
01:20 PM Bug #13802: break inside loop is not working as expected
The code is working as expected.
There are many ways to provide your preferred output. One way is to place the `b...
MSP-Greg (Greg L)
01:08 PM Feature #13795: Hash#select return type does not match Hash#find_all
I made a pull request: https://github.com/ruby/ruby/pull/1674 adp90 (Alexander Patrick)
05:42 AM Feature #13805: Make refinement scoping to be like that of constants
You probably want to read the very long issue that introduced refinements (#4085), which contains the reasoning. jeremyevans0 (Jeremy Evans)
04:58 AM Feature #13805 (Open): Make refinement scoping to be like that of constants
Refinements are currently lexically scoped, which makes their use burdensome when one wants to apply a refinement to ... wardrop (Tom Wardrop)
04:21 AM Feature #13801: Implement case equality test for Set#===
Created pull request: https://github.com/ruby/ruby/pull/1673 davidarnold (David Arnold)
02:44 AM Revision 47db9cb4 (git): enum.c: make constant argument static
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:19 AM Bug #13800 (Rejected): Possible regression of Object#method in Ruby 2.3+ for aliases
It's intentional.
See https://bugs.ruby-lang.org/issues/7613#change-35118
nobu (Nobuyoshi Nakada)
02:05 AM Bug #13798 (Closed): Strange "invalid subexp call" warning happens inside of comment
Applied in changeset trunk|r59574.
----------
re.c: options for sub-regexp
* re.c (rb_reg_to_s): needs embedded opt...
nobu (Nobuyoshi Nakada)
02:05 AM Revision d96eba12 (git): re.c: options for sub-regexp
* re.c (rb_reg_to_s): needs embedded options to check syntax of
sub-regexp. [ruby-core:82328] [Bug #13798]
git-sv...
nobu (Nobuyoshi Nakada)
01:53 AM Bug #13797: Using .push on an 2d array class-instance variable causes the whole array to be overwritten with the .push value; is this a bug?
nobu (Nobuyoshi Nakada) wrote:
> ```ruby
> @data_array = [[]] * totalSize
> ```
Sorry, this doesn't fix it. Us...
nobu (Nobuyoshi Nakada)
01:27 AM Revision 890ae326 (git): * 2017-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:27 AM Revision 03a2862b (git): separate hash literal and keyword arguments
* compile.c (compile_array_keyword_arg): separate keyword splat
inside hash literal from argument list.
* parse.y ...
nobu (Nobuyoshi Nakada)

08/10/2017

11:11 PM Feature #13803: Add Socket::Ifaddr.vhid on supported platforms
There was a copy/paste error in my transcript. It should've read
~~~
$ sudo ifconfig epair create
$ sudo ifconf...
asomers (Alan Somers)
08:36 PM Feature #13803 (Closed): Add Socket::Ifaddr.vhid on supported platforms
VHIDs are used in the failover process for interfaces using the CARP protocol. This patch adds support for getting t... asomers (Alan Somers)
09:41 PM Misc #13804 (Open): Protected methods cannot be overridden
In Ruby, the main reason you would use protected instead of private is because you want different instances of the sa... davidarnold (David Arnold)
09:25 PM Bug #13799: ENV.dup returns a plain Object
Interesting.
https://ruby-doc.org/core-2.4.1/ENV.html does not mention #dup so perhaps this comes
from Hash or so...
shevegen (Robert A. Heiler)
05:01 PM Bug #13799: ENV.dup returns a plain Object
Fair enough.
In this case, I would ideally expect #dup to not exist at all (since the result is not what #dup is e...
sylvain.joyeux (Sylvain Joyeux)
02:42 PM Bug #13799: ENV.dup returns a plain Object
the Problem:
ENV is an Hash-like Object with having singleton methods to look like an Hash, but isn't one
dup does ...
Hanmac (Hans Mackowiak)
02:13 PM Bug #13799 (Rejected): ENV.dup returns a plain Object
I was doing ENV.dup to get a copy of the environment that can be modified without affecting ENV. However, ENV.dup ret... sylvain.joyeux (Sylvain Joyeux)
09:19 PM Feature #13789: Dir - methods
I am having difficulties understanding your proposal.
If I understand it correctly, you propose to add one or more...
shevegen (Robert A. Heiler)
08:35 PM Bug #13802 (Rejected): break inside loop is not working as expected
Reproduce process:
1. Create a file (<filename>.rb)
2. Add the below code
3. Run with syntax - ruby <filename>.rb
...
lingarajg (Lingaraj Gowdar)
08:23 PM Feature #13801 (Closed): Implement case equality test for Set#===
In keeping with other class semantics, Set should implement an inclusion / membership test for #===.
For example w...
davidarnold (David Arnold)
05:27 PM Bug #13800 (Rejected): Possible regression of Object#method in Ruby 2.3+ for aliases
The behavior of `Object#method` changed in 2.3 when using it to compare aliases. The change is best illustrated below... jmanian (Jeff Manian)
04:12 PM Feature #13795: Hash#select return type does not match Hash#find_all
I did some research to explore the idea that *more* Enumerable classes should implement #select (and even #collect, #... davidarnold (David Arnold)
06:31 AM Feature #13795: Hash#select return type does not match Hash#find_all
davidarnold (David Arnold) wrote:
> If there is a convention where every class that includes Enumerable has to have ...
adp90 (Alexander Patrick)
02:46 PM Revision 28c02b9e (git): Fix types of function argument
* doc/extension.ja.rdoc: Fix types of rb_ary_aref argument
* doc/extension.rdoc: ditto
git-svn-id: svn+ssh://ci.rub...
yui-knk (Kaneko Yuichiro)
01:47 PM Bug #13798 (Closed): Strange "invalid subexp call" warning happens inside of comment
Attached script renders "invalid subexp call" warning.
```
zsh % ruby warn.rb
warn.rb:4: warning: invalid subexp...
shyouhei (Shyouhei Urabe)
12:57 PM Revision f6e90bb9 (git): fix a typo in comment.
* cont.c (typedef struct rb_context_struct): fix a typo in comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nagachika (Tomoyuki Chikanaga)
12:37 PM Revision 8b8597e2 (git): Import ruby-electric.el version 2.3.1 from upstream
It now supports [enh-ruby-mode](https://github.com/zenspider/enhanced-ruby-mode).
git-svn-id: svn+ssh://ci.ruby-lang...
Akinori MUSHA
11:51 AM Bug #13797 (Rejected): Using .push on an 2d array class-instance variable causes the whole array to be overwritten with the .push value; is this a bug?
You share the same array instance as sub-arrays.
```ruby
def initialize(totalSize)
...
nobu (Nobuyoshi Nakada)
11:39 AM Bug #13797 (Rejected): Using .push on an 2d array class-instance variable causes the whole array to be overwritten with the .push value; is this a bug?
I was building a class to hold results for analysis 'cells' in a model; each 'cell' is a position in an array, with ... gggfx (James Pike)
11:40 AM Revision 1f5bf61c (git): vm_core.h: unreachable VM_UNREACHABLE
* vm_core.h (VM_UNREACHABLE): tell unreachable if possible.
suppress an invalid-noreturn warning at rb_fiber_start....
nobu (Nobuyoshi Nakada)
09:46 AM Bug #13796 (Closed): Please backport r59567 (openssl: import v2.0.5)
This fixes the "no OPENSSL_Applink" issue on mswin builds, a bug in the PEM passphrase callback, and the test failure... rhenium (Kazuki Yamaguchi)
09:23 AM Revision df94c66f (git): openssl: import v2.0.5
Import Ruby/OpenSSL 2.0.5. The full commit history since v2.0.4
(imported at r59081) can be found at:
https:...
rhenium (Kazuki Yamaguchi)
06:26 AM Revision c9bb3cae (git): use VM_UNREACHABLE() instead of rb_bug().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:01 AM Revision 40428467 (git): introduce fiber_restore_thread.
* cont.c (fiber_restore_thread): added (separate from cont_restore_thread).
* cont.c (fiber_setcontext): call fiber_...
ko1 (Koichi Sasada)
05:55 AM Bug #13786 (Closed): Unexpected behavior handling shebang
Applied in changeset trunk|r59564.
----------
ruby.c: ignore non-option in shebang line
* ruby.c (moreswitches): pr...
nobu (Nobuyoshi Nakada)
05:54 AM Revision 157ee2bd (git): ruby.c: ignore non-option in shebang line
* ruby.c (moreswitches): process all words as options only in
an environment variable, but not in a shebang line.
...
nobu (Nobuyoshi Nakada)
04:55 AM Revision 68812791 (git): rename rb_execution_context_t::stack(_size) to vm_stack(_size).
* vm_core.h: Ruby processes run with two stacks, a machine stack and a
VM stack. To make it clear, this fix renames...
ko1 (Koichi Sasada)
04:03 AM Revision 25213719 (git): cont.c: fix up r59557 for !FIBER_USE_NATIVE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:34 AM Revision d3650ccc (git): constify some variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:20 AM Revision 27535987 (git): Define Thread#to_s (as Thread#inspect) and make alias `inspect` as `to_s`.
* thread.c: "Thread#to_s" is not defined without any reason. So this fix
define "Thread#to_s" which returns a strin...
ko1 (Koichi Sasada)
03:09 AM Revision 93fd7e56 (git): remove additional newline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:58 AM Revision 43384ae9 (git): Fiber#to_s (#inspect) return richer information.
* cont.c (fiber_to_s): return with block and status information.
* proc.c (proc_to_s_): removed and introduce rb_blo...
ko1 (Koichi Sasada)
02:33 AM Bug #13791: `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
Verified it has been fixed. Thank you. yahonda (Yasuo Honda)
12:32 AM Bug #13791 (Closed): `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
Applied in changeset trunk|r59554.
----------
vm_args.c: prefer optarg to keyword splat
* vm_args.c (setup_paramete...
nobu (Nobuyoshi Nakada)
01:47 AM Revision 57199f21 (git): refactoring Fiber status.
* cont.c: revisit fiber status.
"FIBER_RUNNING" status represents fiber is resumed or suspended.
This fix separat...
ko1 (Koichi Sasada)
12:50 AM Bug #13793 (Closed): Compatible issue with keyword args behavior
Applied in changeset trunk|r59556.
----------
compile.c: fix KW_SPLAT flag condition
* compile.c (compile_array_key...
nobu (Nobuyoshi Nakada)
12:50 AM Revision 059cf260 (git): compile.c: fix KW_SPLAT flag condition
* compile.c (compile_array_keyword_arg): fix the condition of
KW_SPLAT flag. splat is value node only without key ...
nobu (Nobuyoshi Nakada)
12:32 AM Revision c20fe431 (git): * 2017-08-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:32 AM Revision 4ebe2d4e (git): vm_args.c: prefer optarg to keyword splat
* vm_args.c (setup_parameters_complex): prefer optional argument
to splat keyword arguments for backward compatibil...
nobu (Nobuyoshi Nakada)

08/09/2017

11:56 PM Bug #13794: Infinite loop of sched_yield
>> How about checking owner_process before incrementing?
> I'm afraid this fix doesn't quite match up in my mind. ...
catphish (Charlie Smurthwaite)
11:49 PM Bug #13794: Infinite loop of sched_yield
> Can you also check the value of timer_thread_pipe.owner_process?
I don't have any broken processes available rig...
catphish (Charlie Smurthwaite)
11:41 PM Bug #13794: Infinite loop of sched_yield
Eric Wong wrote:
> https://80x24.org/spew/[email protected]/raw

Also, a disclaimer: I've bee...
normalperson (Eric Wong)
11:41 PM Bug #13794: Infinite loop of sched_yield
[email protected] wrote:
> Bug #13794: Infinite loop of sched_yield
> https://bugs.ruby-lang.org/issues/13794
>...
normalperson (Eric Wong)
05:09 PM Bug #13794: Infinite loop of sched_yield
Thanks for the report. I'll take a look at it in a few hours. normalperson (Eric Wong)
03:21 PM Bug #13794 (Closed): Infinite loop of sched_yield
I have been encountering an issue with processes hanging in an infinite loop of calling sched_yield(). The looping co... catphish (Charlie Smurthwaite)
08:37 PM Feature #13795: Hash#select return type does not match Hash#find_all
> I would like to suggest a third possible option: if Hash#select returning a Hash is useful, why not expand on this ... davidarnold (David Arnold)
06:30 PM Feature #13795: Hash#select return type does not match Hash#find_all
davidarnold (David Arnold) wrote:
> Ruby has been not backwards-compatible in several releases, so I don't see that ...
adp90 (Alexander Patrick)
05:47 PM Feature #13795: Hash#select return type does not match Hash#find_all
> This might make the next version of Ruby not backwards-compatible in some instances. It might be better to leave th... davidarnold (David Arnold)
04:25 PM Feature #13795: Hash#select return type does not match Hash#find_all
This might make the next version of Ruby not backwards-compatible in some instances. It might be better to leave the ... adp90 (Alexander Patrick)
04:08 PM Feature #13795 (Open): Hash#select return type does not match Hash#find_all
Enumerable#select and Enumerable#find_all are aliases. Hash is_a Enumerable, yet only Hash#select was overridden to ... davidarnold (David Arnold)
06:00 PM Bug #13793: Compatible issue with keyword args behavior
Minimal example:
```
def test(options={})
puts options
end
test **{foo: :bar}
```
lugray (Lisa Ugray)
06:09 AM Bug #13793 (Closed): Compatible issue with keyword args behavior
I found breaking changes for keyword args with Ruby 2.5.1
Reproduction instructions:
* git clone [email protected]...
hsbt (Hiroshi SHIBATA)
02:52 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> I decided to update the pull request so that 'filter' and 'filter!' would work like 'select' and 'select!' for Arra... davidarnold (David Arnold)
02:49 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> No, please fix your bug. Your proposal and its title are explicitly to make filter an alias of select.
Not sure ...
davidarnold (David Arnold)
06:51 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
davidarnold (David Arnold) wrote:
> For the purpose of this feature request, I would leave the filter == find_all be...
adp90 (Alexander Patrick)
04:52 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
I think adding `filter` as an alias of `select` is a good idea, because indeed many languages use that name.
As fo...
duerst (Martin Dürst)
03:25 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> On another note, there is a small difference between 'find_all' and 'select', due to 'select' being overridden for ... davidarnold (David Arnold)
02:12 PM Bug #13791: `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
Opened https://github.com/rails/rails/issues/30160 to ask wider information at Rails side. yahonda (Yasuo Honda)
08:15 AM Bug #13791 (Assigned): `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
nobu (Nobuyoshi Nakada)
01:29 PM Bug #13690: next in once causes [BUG]
ruby_2_3 r59553 merged revision(s) 59202. usa (Usaku NAKAMURA)
01:29 PM Revision e55b415c (git): merge revision(s) 59202: [Backport #13690]
compile.c: disallow next in once
* compile.c (iseq_compile_each0): turned dregx context in "once"
...
U.Nakamura
12:30 PM Revision 12474f03 (git): * test/ruby/test_process.rb (test_rlimit_{name,value}): test in UTF-8
encoding. fix test failures introduced at r59531 on some platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br...
U.Nakamura
12:17 PM Revision ecc889b1 (git): merge revision(s) 57634: [Backport #13150]
marshal.c: revert r57631 partially
* marshal.c (rb_marshal_dump_limited): do not free dump_arg, which
...
U.Nakamura
12:14 PM Revision 8bf48ec3 (git): * compile.c (iseq_compile_each): remove unused definition of unused
variable derived from original patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59550 b2dd03c8-...
U.Nakamura
11:04 AM Bug #13788 (Closed): libruby.so cannot be loaded by another program when --enable-load-relative is used
Applied in changeset trunk|r59549.
----------
ruby.c: origarg
* ruby.c (dladdr_path, ruby_set_argv): add guards for...
nobu (Nobuyoshi Nakada)
11:03 AM Revision 8081826b (git): ruby.c: origarg
* ruby.c (dladdr_path, ruby_set_argv): add guards for origarg.
[ruby-core:82272] [Bug #13788]
* ruby.c (proc_optio...
nobu (Nobuyoshi Nakada)
10:45 AM Bug #13380: [PATCH] Remove unused Init_frozen_strings declaration
ruby_2_3 r59548 merged revision(s) 58205. usa (Usaku NAKAMURA)
10:45 AM Revision 81382143 (git): merge revision(s) 58205: [Backport #13380]
Remove unused Init_frozen_strings declaration
Init_frozen_strings definition is removed in r51511.
h...
U.Nakamura
10:44 AM Bug #13369: TracePoint gives incorrect `return_value` after rescuing error when using `return`
ruby_2_3 r59547 merged revision(s) 58262,58263. usa (Usaku NAKAMURA)
10:43 AM Revision fd8fbe37 (git): merge revision(s) 58262,58263: [Backport #13369]
fix TracePoint#return_value with non-local exits
* vm.c: get return_value from imemo_throw_data object (THRO...
U.Nakamura
10:32 AM Bug #13753: Segfault when calling `Random::DEFAULT.rand` in forked child
ruby_2_3 r59546 merged revision(s) 59368. usa (Usaku NAKAMURA)
10:32 AM Revision 86024f70 (git): merge revision(s) 59368: [Backport #13753]
random.c: ensure initialized
* random.c (get_rnd, try_get_rnd): ensure initialized to get rid
of c...
U.Nakamura
10:31 AM Bug #13759: SEGV in StringScanner
ruby_2_3 r59545 merged revision(s) 59384. usa (Usaku NAKAMURA)
10:30 AM Revision 6b330d8f (git): merge revision(s) 59384: [Backport #13759]
strscan.c: fix segfault in aref
* ext/strscan/strscan.c (strscan_aref): fix segfault after
get_byt...
U.Nakamura
10:28 AM Bug #13411: Need to add OPTDIR to rpath earlier in configure
ruby_2_3 r59544 merged revision(s) 58287. usa (Usaku NAKAMURA)
10:28 AM Revision 3825bbfc (git): merge revision(s) 58287: [Backport #13411]
configure.in: rpath with OPTDIR
* configure.in: add rpath flags which is needed for OPTDIR as well
...
U.Nakamura
10:14 AM Bug #13680: break in once causes [BUG]
ruby_2_3 r59543 merged revision(s) 59181. usa (Usaku NAKAMURA)
10:14 AM Revision 1a150fe0 (git): merge revision(s) 59181: [Backport #13680]
vm_insnhelper.c: break in once
* vm_insnhelper.c (vm_throw_start): size of catch table has been
in...
U.Nakamura
10:12 AM Revision 048a82a9 (git): * ChangeLog: for the previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:09 AM Bug #13523: negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
ruby_2_3 r59541 merged revision(s) 58503. usa (Usaku NAKAMURA)
10:09 AM Revision c2a7a82a (git): merge revision(s) 58503: [Backport #13523]
node.h: sign-extend
* node.h (nd_line): should sign-extend. shifting `VALUE` extends
with zero bi...
U.Nakamura
08:57 AM Bug #13766: Ruby 2.3.4 build problem with "-fstack-check"
r57971の単純なバックポートでいければよかったんですが、世の中はそんなに甘くありませんでした :-P usa (Usaku NAKAMURA)
08:56 AM Revision 9ea6f49b (git): * compile.c (iseq_compile_each): the lifetime of new_opt have to be
until this case block is end. this is a part of r57971.
[Backport #13766]
git-svn-id: svn+ssh://ci.ruby-lang.org...
U.Nakamura
08:40 AM Revision c3205d65 (git): [Backport #13150]
this patch contains r54158, r57410, r57631 and r57954.
Prevent GC by volatile [Bug #13150]
test/rub...
U.Nakamura
08:31 AM Bug #13239: Bug with "special exceptions" when they are thrown in context of a rescue clause.
ruby_2_3 r59538 merged revision(s) 57415,57474. usa (Usaku NAKAMURA)
08:31 AM Revision 2132fb9f (git): merge revision(s) 57415,57474: [Backport #13239]
eval.c: copy special exception
* eval.c (setup_exception): make unfrozen copy of special
exception...
U.Nakamura
08:24 AM Bug #13284: IA64 ruby 2.4 miniruby segfault
ruby_2_3 r59537 merged revision(s) 59307. usa (Usaku NAKAMURA)
08:24 AM Revision f6d9f6fd (git): merge revision(s) 59307: [Backport #13284]
a64: fix crash on register stack mark/sweep pass
* thread_pthread.c: move 'register_stack_start' earlier.
...
U.Nakamura
08:19 AM Bug #13429: Net::SMTP has no read timeout when connexion over TLS
ruby_2_3 r59533 merged revision(s) 56576,56623. usa (Usaku NAKAMURA)
08:17 AM Revision 8ed37cd4 (git): * 2017-08-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:17 AM Revision b709f59b (git): Missed `#` in usage
* tool/generate-backport-changelog.rb (usage): missed `#` in usage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
U.Nakamura
08:16 AM Revision 380a1e67 (git): * ChangeLog: forgotten to commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:10 AM Bug #12678: No way to set a timeout for TLS handshake when using Net::SMTP
ruby_2_3 r59533 merged revision(s) 56576,56623. usa (Usaku NAKAMURA)
08:10 AM Revision 87cacf7e (git): merge revision(s) 56576,56623: [Backport #12678] [Backport #13429]
* lib/net/smtp.rb (tlsconnect): support timeout for TLS handshake.
[ruby-core:76893] [Bug #12678]
...
U.Nakamura
08:08 AM Bug #13616: Zlib::GzipReader#pos underflows after calling #ungetbyte or #ungetc at start of file
ruby_2_3 r59532 merged revision(s) 59333,59337. usa (Usaku NAKAMURA)
08:08 AM Revision f4a8004e (git): merge revision(s) 59333,59337: [Backport #13616]
Zlib::GzipReader#pos underflows after calling #ungetbyte or #ungetc at start of file [Bug #13616]
patched by...
U.Nakamura
08:03 AM Bug #13744: Spawn doesn't work with options of symbol keys generated dynamically
ruby_2_3 r59531 merged revision(s) 59322,59325. usa (Usaku NAKAMURA)
08:03 AM Revision 640e708d (git): merge revision(s) 59322,59325: [Backport #13744]
process.c: handle dynamic :rlimit_* symbols in spawn execopts
* process.c (rb_execarg_addopt_rlimit): hoist ...
U.Nakamura
07:56 AM Bug #13739: Backport r59312
ruby_2_3 r59530 merged revision(s) 59312. usa (Usaku NAKAMURA)
07:56 AM Revision 177cb2c1 (git): merge revision(s) 59312: [Backport #13739]
optparse.rb: get rid of eval
* lib/optparse.rb: try Float() and Integer() instead of eval,
which d...
U.Nakamura
02:15 AM Misc #13792 (Closed): Rename spec/rubyspec to spec/ruby
This is consistency issue for ruby/spec.
Other ruby implementations use `spec/ruby` directory name.
* https://...
hsbt (Hiroshi SHIBATA)

08/08/2017

11:57 PM Bug #13791 (Third Party's Issue): `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
caller: https://github.com/rails/rails/blob/master/activerecord/lib/active_record/associations/builder/has_and_belong... shyouhei (Shyouhei Urabe)
03:12 PM Bug #13791 (Closed): `belongs_to': unknown keywords: required, anonymous_class (ArgumentError) since Revision 59519
Since Revision 59519, Rails ActiveRecord unit test fails with this error.
> /home/yahonda/git/rails/activerecord/l...
yahonda (Yasuo Honda)
09:34 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
A potential concern could be language bloat. Having too many aliases for the same methods could be confusing.
I was ...
adp90 (Alexander Patrick)
04:22 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
+1 to "filter". Martin Fowler refers to this method as "filter" in his articles about collection pipelines (https://m... zornme (Matt Zorn)
03:31 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> I understand that it is beneficial for people familiar with other languages that have a "filter" function like this... davidarnold (David Arnold)
03:01 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
I prefer not adding this alias. I understand that it is beneficial for people familiar with other languages that have... mikegee (Michael Gee)
04:32 PM Bug #13788: libruby.so cannot be loaded by another program when --enable-load-relative is used
It appears from the comment on `ruby_sysinit` that programs embedding ruby should NOT be calling it under normal usag... branan (Branan Riley)
01:26 AM Bug #13788 (Feedback): libruby.so cannot be loaded by another program when --enable-load-relative is used
To initialize a library properly is a responsibility of programs which use it, isn't it? nobu (Nobuyoshi Nakada)
03:09 PM Bug #13790 (Closed): rubyspec.org domain seems to be expired
## Summary
Ruby codebase has http links to rubyspec.org, but the domain is likely owned by different person, and t...
ujihisa (Tatsuhiro Ujihisa)
11:33 AM Bug #13720 (Rejected): appveyor.yml nmake arguments - not *nix style
usa (Usaku NAKAMURA)
11:27 AM Bug #13745 (Rejected): How to download latest build package for Windows 32/64?
usa (Usaku NAKAMURA)
10:43 AM Revision ec4af34e (git): dir.c: fix up r59527
* dir.c (glob_helper): fix up r59527, dot files other than current
directory should not be included unless FNM_DOTM...
nobu (Nobuyoshi Nakada)
08:34 AM Bug #13785 (Closed): trunk fails on Travis
Applied in changeset trunk|r59527.
----------
dir.c: fix up r59481 for old kernels
* dir.c (glob_helper): fix up r5...
nobu (Nobuyoshi Nakada)
08:34 AM Revision 9c69e0a8 (git): * 2017-08-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:34 AM Revision 50dc093d (git): dir.c: fix up r59481 for old kernels
* dir.c (glob_helper): fix up r59481 for old kernels, which
provide d_type member but just always set DT_UNKNOWN fo...
nobu (Nobuyoshi Nakada)
08:29 AM Misc #13787: The path to Ruby 3.x - would it be useful to have a separate thread here at the tracker, for discussions and issues and ideas related to ruby 3.x?
Just use this Redmine project.
The most important feature of bug tracker is people can check info at only one plac...
naruse (Yui NARUSE)
06:53 AM Bug #13786: Unexpected behavior handling shebang
Ruby tries to parse options after "ruby" in a shebang line, and assumes there are only options.
So the last "ruby" i...
nobu (Nobuyoshi Nakada)
06:07 AM Bug #13786: Unexpected behavior handling shebang
shevegen (Robert A. Heiler) wrote:
> May I ask, what is the scl program doing with the shebang line?
Ok, lets use...
vo.x (Vit Ondruch)

08/07/2017

09:31 PM Feature #13789 (Rejected): Dir - methods
If having (new) Dir.entries, Dir.chidren, I would also add:
Dir.entries (includes all),
Dir.files Dir.dirs Dir.syml...
opti (Andreas Opti)
09:30 PM Bug #13788 (Closed): libruby.so cannot be loaded by another program when --enable-load-relative is used
--enable-load-relative causes `dladdr_path` in ruby.c to be called. This function assumes that `origarg` is set, but ... branan (Branan Riley)
09:14 PM Bug #13783: Memory allocation / GC does not free unused memory
I didn't manage to compile Ruby v250 (because of other errrors), nice to see that this bug is fixed now.
(I mentione...
opti (Andreas Opti)
09:09 PM Misc #13787 (Rejected): The path to Ruby 3.x - would it be useful to have a separate thread here at the tracker, for discussions and issues and ideas related to ruby 3.x?
Hello everyone but especially so the whole ruby-core team,
This is very long, so if you just want the short gist, ...
shevegen (Robert A. Heiler)
05:54 PM Bug #13786: Unexpected behavior handling shebang
May I ask, what is the scl program doing with the shebang line?
shevegen (Robert A. Heiler)
05:17 PM Bug #13786 (Closed): Unexpected behavior handling shebang
Ruby exhibits unexpected behavior handling this shebang:
~~~
$ cat <<EOF > foo
> #!/usr/bin/scl enable rh-ruby22...
vo.x (Vit Ondruch)
11:15 AM Bug #13785 (Closed): trunk fails on Travis
I noticed that travis-ci (https://travis-ci.org/ruby/ruby/builds) was red after I checked in r59521. I thought about ... duerst (Martin Dürst)
04:15 AM Revision 243d188f (git): enum.c: optimize for integers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:08 AM Revision 73ed79d8 (git): enum.c: prefer rb_funcallv to rb_funcall
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:45 AM Revision c3f47622 (git): * 2017-08-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 AM Revision c1124ff6 (git): enum.c: use predefined IDs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:22 AM Bug #13537 (Closed): ruby crash in rb_gc_mark
:tada: ko1 (Koichi Sasada)
 

Also available in: Atom