Project

General

Profile

Activity

From 08/04/2017 to 08/10/2017

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)

08/06/2017

10:23 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> > However the usual industry terms for these are map, filter, and reduce.
>
> I do not know whether these are "i...
davidarnold (David Arnold)
05:28 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
> However the usual industry terms for these are map, filter, and reduce.
I do not know whether these are "industr...
shevegen (Robert A. Heiler)
05:22 AM Revision 33202507 (git): * 2017-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:22 AM Revision 7c077f7c (git): add some more assertions to test_ill_formed_utf_8_replace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
03:10 AM Bug #13647: Some weird behaviour with keyword arguments
Just an idea to keep the original argument, if something left.
https://github.com/nobu/ruby/tree/bug/13647-non-has...
nobu (Nobuyoshi Nakada)
03:06 AM Bug #13647: Some weird behaviour with keyword arguments
After the previous developers' meeting, Matz said an idea to restrict it to only `T_HASH` and not to call `to_hash` m... nobu (Nobuyoshi Nakada)

08/05/2017

07:54 PM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
I made a pull request: https://github.com/ruby/ruby/pull/1672. adp90 (Alexander Patrick)
03:18 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
+1. I don't always agree with new aliases but for this one. I actually wanted Enumerable#filter several times before. shyouhei (Shyouhei Urabe)
04:21 PM Bug #13537: ruby crash in rb_gc_mark
I see r59063 went into ruby_2_4 yesterday.
I've been running the Pry rspec suite repeatedly with
ruby 2.5.0de...
djellemah (John Anderson)
10:50 AM Feature #13780: String#each_grapheme
shan (Shannon Skipper) wrote:
> shevegen (Robert A. Heiler) wrote:
> > My only concern is about the name "grapheme"...
naruse (Yui NARUSE)
07:00 AM Bug #13775: Ruby hangs when calling scope and belongs_to many times (with mongomapper)
ruby_2_4 r59520 merged revision(s) 59457. nagachika (Tomoyuki Chikanaga)
07:00 AM Revision 5013a509 (git): merge revision(s) 59457: [Backport #13775]
should not copy promoted flags.
* include/ruby/ruby.h (rb_clone_setup): should not copy some flags
...
nagachika (Tomoyuki Chikanaga)
06:58 AM Bug #10856 (Closed): Splat with empty keyword args gives unexpected results
Applied in changeset trunk|r59519.
----------
splat keyword hash
* compile.c (compile_array_keyword_arg): set keywo...
nobu (Nobuyoshi Nakada)
06:58 AM Misc #11131 (Closed): Unexpected splatting of empty kwargs
Applied in changeset trunk|r59519.
----------
splat keyword hash
* compile.c (compile_array_keyword_arg): set keywo...
nobu (Nobuyoshi Nakada)
06:58 AM Bug #13717 (Closed): Calling lambda with keyword arguments inconsistent behavior
Applied in changeset trunk|r59519.
----------
splat keyword hash
* compile.c (compile_array_keyword_arg): set keywo...
nobu (Nobuyoshi Nakada)
06:58 AM Revision 26aed9c5 (git): splat keyword hash
* compile.c (compile_array_keyword_arg): set keyword splat flag if
explicitly splatted. [ruby-core:68124] [Bug #10...
nobu (Nobuyoshi Nakada)
06:51 AM Revision d11dfab5 (git): vm_core.h: vm_call_flag_bits
* vm_core.h (vm_call_flag_bits): define VM_CALL flags by using
enum constants.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
06:46 AM Bug #13753: Segfault when calling `Random::DEFAULT.rand` in forked child
ruby_2_4 r59517 merged revision(s) 59368. nagachika (Tomoyuki Chikanaga)
06:46 AM Revision 23390a82 (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...
nagachika (Tomoyuki Chikanaga)
06:35 AM Bug #13772: Memory leak recycling stacks for threads in 2.4.1
ruby_2_4 r59516 merged revision(s) 59462,59474. nagachika (Tomoyuki Chikanaga)
06:35 AM Revision 01cfae3b (git): merge revision(s) 59462,59474: [Backport #13772]
release VM stack properly.
* cont.c: r55766 change the handling method of Fiber's VM stack.
Resume...
nagachika (Tomoyuki Chikanaga)
03:24 AM Bug #13669: Enumerable#uniq is ignoring second and following block arguments
ruby_2_4 r59515 merged revision(s) 59128. nagachika (Tomoyuki Chikanaga)
03:24 AM Revision 90645fd4 (git): merge revision(s) 59128: [Backport #13669]
Fix Enumerable#uniq with non single yield arguments
* enum.c (uniq_func, uniq_iter): need packed value as th...
nagachika (Tomoyuki Chikanaga)
02:43 AM Bug #13578: Another iseq_set_sequence: adjust bug
ruby_2_4 r59514 merged revision(s) 58810,58894. nagachika (Tomoyuki Chikanaga)
02:43 AM Revision 5cf36324 (git): merge revision(s) 58810,58894: [Backport #13578]
compile.c: fix catch-table labels optimization
* compile.c (remove_unreachable_chunk): do not eliminate chun...
nagachika (Tomoyuki Chikanaga)
02:22 AM Bug #13540: can't set length of shared string (RuntimeError) when interpolating __FILE__ in a heredoc
ruby_2_4 r59513 merged revision(s) 58561. nagachika (Tomoyuki Chikanaga)
02:22 AM Revision f177c73e (git): merge revision(s) 58561: [Backport #13540]
parse.y: make shared string modifiable
* parse.y (dedent_string): ensure that the string is modifiable,
...
nagachika (Tomoyuki Chikanaga)
01:56 AM Bug #13380: [PATCH] Remove unused Init_frozen_strings declaration
ruby_2_4 r59512 merged revision(s) 58205. nagachika (Tomoyuki Chikanaga)
01:56 AM Revision 11d5ad0b (git): merge revision(s) 58205: [Backport #13380]
Remove unused Init_frozen_strings declaration
Init_frozen_strings definition is removed in r51511.
h...
nagachika (Tomoyuki Chikanaga)
01:53 AM Bug #13539: uninitialized class variable @@accept_charset in #<Class:CGI> when calling CGI.unescape
ruby_2_4 r59511 merged revision(s) 57501,58576. nagachika (Tomoyuki Chikanaga)
01:53 AM Revision b2c7e974 (git): merge revision(s) 57501,58576: [Backport #13539]
escape.c: check argument
* ext/cgi/escape/escape.c (optimized_unescape): check
accept_charset enco...
nagachika (Tomoyuki Chikanaga)
01:45 AM Bug #13528: Calling #denominator on a whole number floating point number causes segfault with mathn loaded.
ruby_2_4 r59510 merged revision(s) 58523. nagachika (Tomoyuki Chikanaga)
01:45 AM Revision 61277d47 (git): merge revision(s) 58523: [Backport #13528]
rational.c: canonicalization case
* rational.c (float_numerator, float_denominator): fix for
canon...
nagachika (Tomoyuki Chikanaga)

08/04/2017

05:21 PM Bug #13781: Should the safe navigation operator invoke `nil?`
> is there an actual use case? I very much doubt there is one
This is what some filed issues appear to be - a most...
shevegen (Robert A. Heiler)
04:59 AM Bug #13781: Should the safe navigation operator invoke `nil?`
Short answer is "no".
Longer answer is:
- is there an actual use case? I very much doubt there is one
- BasicObj...
marcandre (Marc-Andre Lafortune)
03:18 AM Bug #13781 (Closed): Should the safe navigation operator invoke `nil?`
In the following example:
~~~
class Later < BasicObject
def initialize(&block)
raise ::ArgumentError, "Block...
ioquatix (Samuel Williams)
05:05 PM Revision 206596c8 (git): * 2017-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:05 PM Revision 60c253e2 (git): * man/ruby.1: Move paragraph which is related to -S, not -s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
04:20 PM Feature #13784 (Closed): Add Enumerable#filter as an alias of Enumerable#select
Ruby has a full set of functional tools in the Enumerable module under the "-ect" methods (viz. collect, select, inje... davidarnold (David Arnold)
04:13 PM Bug #13755: Null pointer dereference in hash_table_index()
ruby_2_4 r59507 merged revision(s) 59374. nagachika (Tomoyuki Chikanaga)
04:13 PM Revision f7bd8a08 (git): merge revision(s) 59374: [Backport #13755]
compile.c: restore stack at return
* compile.c (iseq_compile_each0): restore the stack depth after
...
nagachika (Tomoyuki Chikanaga)
03:55 PM Bug #13759: SEGV in StringScanner
ruby_2_4 r59506 merged revision(s) 59384. nagachika (Tomoyuki Chikanaga)
03:55 PM Revision 2badceae (git): merge revision(s) 59384: [Backport #13759]
strscan.c: fix segfault in aref
* ext/strscan/strscan.c (strscan_aref): fix segfault after
get_byt...
nagachika (Tomoyuki Chikanaga)
03:29 PM Bug #13599: Float#ceil(n) doesn't work for small floats
ruby_2_4 r59505 merged revision(s) 58913. nagachika (Tomoyuki Chikanaga)
03:29 PM Revision 2072eccd (git): merge revision(s) 58913: [Backport #13599]
numeric.c: fix for small number
* numeric.c (flo_floor, flo_ceil): should not return zero for small
...
nagachika (Tomoyuki Chikanaga)
03:06 PM Bug #13605: GC bug calling `ObjectSpace.each_object`
ruby_2_4 r59503 merged revision(s) 59063. nagachika (Tomoyuki Chikanaga)
03:06 PM Revision 00992ff8 (git): * 2017-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 8343847b (git): merge revision(s) 59063: [Backport #13605]
* proc.c (get_local_variable_ptr): return found env ptr. Returned env
will be used by write barrier at `bin...
nagachika (Tomoyuki Chikanaga)
02:57 PM Revision 41e1670a (git): use stable sort.
* lib/rubygems/resolver.rb (sort_dependencies): use stable sort.
TestGemRequestSetLockfile#test_to_s_gem_dependency...
ko1 (Koichi Sasada)
02:39 PM Bug #13411: Need to add OPTDIR to rpath earlier in configure
ruby_2_4 r59501 merged revision(s) 58287. nagachika (Tomoyuki Chikanaga)
02:39 PM Revision b7f7b0a2 (git): merge revision(s) 58287: [Backport #13411]
configure.in: rpath with OPTDIR
* configure.in: add rpath flags which is needed for OPTDIR as well
...
nagachika (Tomoyuki Chikanaga)
02:31 PM Bug #13391: wrong number of arguments error for Hash#map when lambda given
ruby_2_4 r59500 merged revision(s) 59357,59358. nagachika (Tomoyuki Chikanaga)
02:31 PM Revision 56847290 (git): merge revision(s) 59357,59358: [Backport #13391] [Backport #13404]
proc.c: rb_block_min_max_arity
* proc.c (rb_block_min_max_arity): new function to get arity range
...
nagachika (Tomoyuki Chikanaga)
01:57 PM Feature #13780 (Assigned): String#each_grapheme
Accepted.
I'll introduce this in Ruby 2.5.
naruse (Yui NARUSE)
12:10 PM Bug #13783 (Feedback): Memory allocation / GC does not free unused memory
Hmm, I don't know exactly why so this might not fork for you but at least on my machine, the situation seems fixed in... shyouhei (Shyouhei Urabe)
10:30 AM Bug #13783 (Closed): Memory allocation / GC does not free unused memory
100.times {x=[]; 1000000.times {|i| x.push [i,i*3]} }
100.times should use (more or less) the same memory as 3.times...
opti (Andreas Opti)
12:00 PM Revision 92c52f08 (git): Fix `NameError: uninitialized constant Net`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:59 AM Revision 01eb8d77 (git): Use `register_scanner` instead of `regist_scanner`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:59 AM Revision 3b1987fb (git): Add deprecated warning to ERB::Compiler::SimpleScanner2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:55 AM Bug #13782 (Closed): Backport r57733: kwrest arg name in --dump=parsetree
Please backport r57733.
kwrest arg name

* compile.c (iseq_set_arguments_keywords): make keyword res...
nobu (Nobuyoshi Nakada)
04:39 AM Revision 2b770b46 (git): string.c: improve String#scan
* string.c (rb_str_rstrip_bang): improve the performance in 50%
for a string pattern, and in 10% for a regexp patte...
nobu (Nobuyoshi Nakada)
04:25 AM Revision 8ba320a4 (git): * 2017-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:25 AM Revision c751bad5 (git): benchmarks for String#scan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom