Project

General

Profile

Activity

From 12/05/2017 to 12/11/2017

12/11/2017

11:50 PM Revision 33913f1a (git): NEWS: add changes for Matrix [ci-skip] [doc]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:38 PM Revision f9d8003c (git): parse.y: Fix locations of NODE_ARRAY in NODE_BLOCK_PASS
* parse.y: Fix to only include a range of assocs.
e.g. The locations of the NODE_ARRAY is fixed:
```
m1(str: "bar", &blk)
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,3)-(1,19))
```
* After
```
NODE_AR...
yui-knk (Kaneko Yuichiro)
11:20 PM Revision 1f4ac886 (git): Fix a method name
* test/ruby/test_optimization.rb (test_fixnum_ge):
Fix a method name to suppress method redefinition warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
11:13 PM Revision 2d719aef (git): parse.y: Change locations of NODE_DVAR in NODE_MASGN
* parse.y: Change the last location of NODE_DVAR to
be equal to the first location of NODE_DVAR.
NODE_DVAR of NODE_MASGN (nd_value) is an internal variable,
so it has no length.
e.g. The locations of the NODE_DVAR is changed:
...
yui-knk (Kaneko Yuichiro)
10:07 PM Feature #13583 (Closed): Adding `Hash#transform_keys` method
Nevermind, I just remembered that ActiveSupport also defines `transform_keys!`, so best match its behavior. marcandre (Marc-Andre Lafortune)
09:28 PM Feature #13583 (Open): Adding `Hash#transform_keys` method
I'm not sure I like the current behavior of `transform_keys!`.
Two possibilities: `transform_keys!` is `each_key { delete(old_key), set(new_key) }` (as is currently) or `replace(transform_keys)` (I think I prefer this).
Matz, could...
marcandre (Marc-Andre Lafortune)
10:00 PM Bug #12285: Date.iso8601 does not properly handle partial date strings
I had submitted a patch to an issue that got marked as a 'duplicate' (though it is still "open"). My ticket is not "assigned," so maybe it would help to add the patch here as well. Also, the corresponding pull-request on GitHub is https:... jonwolski (Jon Wolski)
09:59 PM Feature #9108 (Closed): Hash sub-selections
marcandre (Marc-Andre Lafortune)
08:30 PM Revision 568c0a2d (git): remove vm_opt_binop_dispatch().
* vm_insnhelper.c (vm_opt_binop_dispatch): removed because this function
has several issues for micro-benchmark. Write conditions manually.
The worst point is that we can't control value checking order.
For example, we can assume F...
ko1 (Koichi Sasada)
07:39 PM Feature #14151: Make Matrix#[]= public method
Thanks mame for the input.
It's a tough case I think, in particular because matrices can be big and thus expensive to `dup`.
Do you have any extra argument to keep Matrix immutable?
An alternative solution could be a `MutableMat...
marcandre (Marc-Andre Lafortune)
05:12 PM Feature #14151: Make Matrix#[]= public method
`Matrix` should be kept immutable, IMO. I guess what OP wants is [NArray](https://github.com/ruby-numo/narray). mame (Yusuke Endoh)
04:02 PM Feature #14151: Make Matrix#[]= public method
In summary, I'm ok to make `Matrix` mutable. I'm updating your PR. marcandre (Marc-Andre Lafortune)
03:48 PM Feature #14151: Make Matrix#[]= public method
greggzst (Grzegorz Jakubiak) wrote:
> I see your point but Arrays are immutable
Arrays are most definitely mutable. If you freeze it, many methods will no longer work, like `[]=`, `map!`, `compact!`, etc. No method of Matrix will rai...
marcandre (Marc-Andre Lafortune)
12:13 PM Feature #14151: Make Matrix#[]= public method
marcandre (Marc-Andre Lafortune) wrote:
> The method []= as it is written is also dangerous as it doesn't do any type checking. Try calling `m[1..2, 1..2] = 42` for example...
@marcandre I called it using send and it didn't change a ...
greggzst (Grzegorz Jakubiak)
08:27 AM Feature #14151: Make Matrix#[]= public method
marcandre (Marc-Andre Lafortune) wrote:
> The library was originally written such that Matrices are immutable. I can't speak to the exact reason for this choice as I'm not the original author, but I suspect it was to go along with the a...
greggzst (Grzegorz Jakubiak)
07:23 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
Thanks to Usaka & Kubo, all is okay with the ruby-loco MinGW build as of 61121.
Okay to close... Greg
MSP-Greg (Greg L)
04:58 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
MSP-Greg (Greg L) wrote:
> I noticed that RubyGems fails on compile warnings. Does mkmf.rb do the same? The fiddle mkmf.log did have warnings in it (a local build).
mkmf sets `:werror => true` by default, which I think is a mistake...
jeremyevans0 (Jeremy Evans)
04:37 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
Usaka,
> And I do not understand why changes in Ruby affect to build libffi.
I noticed that RubyGems fails on compile warnings. Does mkmf.rb do the same? The fiddle mkmf.log did have warnings in it (a local build).
I was just ...
MSP-Greg (Greg L)
04:11 PM Bug #14165 (Assigned): 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
hmm, `SIZEOF_STRUCT_STAT_ST_INO` is defined in ruby.h, so I expects that it's also defined in MinGW build.
And I do not understand why changes in Ruby affect to build libffi.
Greg, could you check r61119?
usa (Usaku NAKAMURA)
04:06 PM Bug #14165 (Closed): 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
Applied in changeset trunk|r61119.
----------
undef previous definition of `SIZEOF_STRUCT_STAT_ST_INO`
trying to solve build problem of MinGW. see [Bug #14165]
usa (Usaku NAKAMURA)
02:07 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
@kubo,
Thank you for the patch. That does allow MinGW to build. I'll add it to ruby-loco.
Both my system, ruby-loco, and Lars Kanis' RubyInstaller2 use MSYS2/MinGW. The current gcc version in that system is 7.2.0. I've gotten th...
MSP-Greg (Greg L)
12:53 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
How about the attached patch?
It doesn't define SIZEOF_STRUCT_STAT_ST_INO in include/x64-mingw32/ruby/config.h if target_os is mingw32.
Apply the patch and create configure by autoconf.
Sorry, I have not tested it.
kubo (Takehiro Kubo)
03:57 AM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
Did a vc140 build, all okay as far as 61096/61097.
Checked again on the MinGW build, and the issue above exists, but also noticed that the MinGW libffi package is now no longer found, and hence, fiddle is not built. But, it's finding...
MSP-Greg (Greg L)
07:22 PM Feature #13731: inode for Windows on ReFS
Usaka (and Kubo),
Thank you, with 61121 ruby-loco MinGW build is passing. I'll see what happens with a local Win7 build later on.
You're embarrassed? Don't be. How about me, as all I can do re c source issues is say 'something b...
MSP-Greg (Greg L)
05:32 PM Feature #13731: inode for Windows on ReFS
kubo (Takehiro Kubo) wrote:
> stati128_handle() の以下の部分
> ...
おっしゃる通りです。お恥ずかしい。
r61121で修正しました。
usa (Usaku NAKAMURA)
11:26 AM Feature #13731: inode for Windows on ReFS
対応ありがとうございます。ReFSでの動作テストは明日行います。
stati128_handle() の以下の部分
~~~
st->st_ino = *((unsigned __int64 *)&fii);
st->st_inohigh = *((__int64 *)&fii + 1);
~~~
`&ffi` は `&ffi.FileId` の間違いでしょうか?
kubo (Takehiro Kubo)
07:17 PM Revision 975e3a19 (git): do not disable `trace_` prefix insns.
* vm.c: introduce `ruby_vm_event_enabled_flags` which represents which
event flags are enabled before.
* vm_trace.c: do not turn off `trace_` prefix instructions because turn on
overhead is a matter if a program repeats turn on and ...
ko1 (Koichi Sasada)
05:31 PM Revision 9e9498c2 (git): fixed typo
* win32/win32.c (get_ino): forgotten to specify the member. thanks kubo-san.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:07 PM Revision b5d5cce1 (git): vm_exec.h: introduce macros for abstarction.
* vm_exec.h: declare two macros
* START_OF_ORIGINAL_INSN()
* DISPATCH_ORIGINAL_INSN()
instead of inserting label and goto lines.
For OPT_CALL_THREADED_CODE, first macro is empty and second macro
is simply call the original insn...
ko1 (Koichi Sasada)
04:06 PM Revision f623428d (git): undef previous definition of `SIZEOF_STRUCT_STAT_ST_INO`
trying to solve build problem of MinGW. see [Bug #14165]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:47 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I like this change. It's unbelievable.
I thought that I don't like this feature because I was confused Python's backtrace behavior (most recent call last).
I used trunk in a few weeks but I was not confused the current behavior. In...
kou (Kouhei Sutou)
03:30 PM Revision a9aad1f8 (git): * 2017-12-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 PM Revision decd21c3 (git): Update test-unit to 3.2.7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
12:09 PM Revision 189ecfd2 (git): extern rb_time_utc_offset to get utc offset
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:57 AM Bug #14163 (Assigned): Pages of rdoc include files which are not documents
`*.gemspec` are still there. znz (Kazuhiro NISHIYAMA)
01:04 AM Bug #14163 (Closed): Pages of rdoc include files which are not documents
Applied in changeset trunk|r61104.
----------
Ignore to generate documentation for template files of bundler.
[Bug #14163][ruby-core:84141]
hsbt (Hiroshi SHIBATA)
10:17 AM Bug #14166 (Third Party's Issue): vagrant
trying to get laravel installed on slackware14.2 .Virtualbox up & running. Installed vagrant package from slackbuilds.its vagrant-2.0.1-i586-1_SBo.tgz .normally oon a new package i run $packname or $packagename --help as a start. Did th... andybrookestar (andy brookes)
08:37 AM Revision 848e6cfe (git): Bump version to zlib-1.0.0 as default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:18 AM Revision 93880b4a (git): Bump version to scanf-1.0.0 as default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:48 AM Revision 5f208392 (git): Bump version to sdbm-1.0.0 as default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:03 AM Revision 4000f70d (git): Bump version to fcntl-1.0.0 as default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:46 AM Revision 612af3b7 (git): lib/pp.rb: remove alias for suppressing a redefinition warning.
Because there is now the same guard in prelude.rb (alias pp pp).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:56 AM Revision 6b669d88 (git): Bump version to date-1.0.0 as default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:27 AM Revision 2d86fe2a (git): Bump version to cmath-1.0.0 as default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:30 AM Revision 61045e03 (git): bccwin is no longer supported
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:30 AM Revision 4ed018d9 (git): depend on win32.h on Windows
* lib/mkmf.rb (depend_rules): all objs should depend on win32.h on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:19 AM Revision aaf30997 (git): parse.y: Fix locations of NODE_DSTR generated by evstr2dstr_gen
* parse.y (evstr2dstr_gen): Fix to only include a range of node.
e.g. The locations of the NODE_DSTR is fixed:
```
%W[a #{b} c]
```
* Before
```
NODE_DSTR (line: 1, code_range: (1,3)-(1,9))
```
* After
```
NOD...
yui-knk (Kaneko Yuichiro)
01:41 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
samuel@oriontransfer.org wrote:
> I think that the work being done here is great. However I feel that this PR requires far more scrutiny than it's receiving.

Of course, which is why you don't see me pushing for it's
inclusion in 2....
normalperson (Eric Wong)
01:04 AM Revision 9a742110 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:04 AM Revision ef839356 (git): Ignore to generate documentation for template files of bundler.
[Bug #14163][ruby-core:84141]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:28 AM Revision ec073534 (git): parse.y: Remove not used argument
* parse.y (list_append_gen): location is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
12:06 AM Revision 14b6dc4c (git): parse.y: Fix locations of NODE_SCOPE in NODE_MODULE
* parse.y: Fix to only include a range of bodystmt.
e.g. The locations of the NODE_SCOPE is fixed:
```
module M
def m
end
end
```
* Before
```
NODE_SCOPE (line: 4, code_range: (1,0)-(4,3))
```
* After
...
yui-knk (Kaneko Yuichiro)

12/10/2017

11:59 PM Feature #14151 (Feedback): Make Matrix#[]= public method
greggzst (Grzegorz Jakubiak) wrote:
> I don't even understand why this method hasn't been public since the beginning.
The library was originally written such that Matrices are immutable. I can't speak to the exact reason for this cho...
marcandre (Marc-Andre Lafortune)
11:44 PM Revision e038b794 (git): parse.y: Fix the last location of NODE_COLON2
* parse.y: Fix to only include a range from primary_value to tCONSTANT.
e.g. The locations of the NODE_COLON2 is fixed:
```
A::B ||= 1
```
* Before
```
NODE_COLON2 (line: 1, code_range: (1,0)-(1,10))
```
* After
...
yui-knk (Kaneko Yuichiro)
11:28 PM Revision f1728527 (git): mention about [Feature #13726] and [Feature #13731]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:27 PM Revision ad321cde (git): parse.y: Change the first location of NODE_ARRAY in NODE_DSTR (nd_next->nd_next)
* parse.y (list_append_gen): Change the first location to
start with the location of item if new list is generated.
e.g. The locations of the NODE_ARRAY is changed:
```
"#{a}.#{b}"
```
* Before
```
NODE_ARRAY (line: 1...
yui-knk (Kaneko Yuichiro)
11:24 PM Feature #13731: inode for Windows on ReFS
入らないかもと言いましたが、なんとか間に合わせてみました。
しかしReFSでの確認は環境がなくてできてないので、問題があったら教えてください。
usa (Usaku NAKAMURA)
05:27 PM Feature #13731 (Closed): inode for Windows on ReFS
Applied in changeset trunk|r61096.
----------
support 128bit ino on Windows (if available)
* win32/win32.c, include/ruby/win32.h (stati128, rb_{,u,l,ul}stati128): rename
from stati64ns, change the type of st_ino to 64bit and added st...
usa (Usaku NAKAMURA)
10:41 PM Feature #11286 (Closed): [PATCH] Add case equality arity to Enumerable's sequence predicates.
Thank you Matz
D.E. Akers: thanks for the patch! I adapted it for better handling of enumerables yielding multiple arguments, and also changing Hash#any? / Array#any? which have their own versions.
Merged.
marcandre (Marc-Andre Lafortune)
10:36 PM Revision a9770bac (git): Add case equality arity to Enumerable#all?, any?, none? and one?,
and specialized Array#any? and Hash#any?
Based on patch by D.E. Akers [#11286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
10:30 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
I think that the work being done here is great. However I feel that this PR requires far more scrutiny than it's receiving.
It's worth considering that nio4r and friends took several years to stabilise and there is a huge amount of ha...
ioquatix (Samuel Williams)
07:50 PM Bug #14165 (Closed): 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
Last ruby-loco build has warnings & test failures after 61097. Build log (attached) has 329 instances of:
```
include/ruby/win32.h:197:0: warning: "SIZEOF_STRUCT_STAT_ST_INO" redefined
```
Same issue with test failures (attached...
MSP-Greg (Greg L)
07:42 PM Feature #10903 (Closed): [PATCH] Matrix#zip returns a matrix
marcandre (Marc-Andre Lafortune)
07:41 PM Bug #14074 (Closed): TracePoint#new without a block should not raise ThreadError
marcandre (Marc-Andre Lafortune)
05:26 PM Revision 86a794a6 (git): * 2017-12-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:26 PM Revision 91de3d65 (git): support 128bit ino on Windows (if available)
* win32/win32.c, include/ruby/win32.h (stati128, rb_{,u,l,ul}stati128): rename
from stati64ns, change the type of st_ino to 64bit and added st_inohigh.
* dir.c, file.c (stat, lstat): follow above changes.
* file.c (rb_stat_ino): supp...
U.Nakamura
06:47 AM Feature #11925: Struct construction with kwargs
In case that my suggestion of the name is accepted, I wrote a patch for Struct.new(:a, :b, keyword_args: true).
https://github.com/ruby/ruby/pull/1771
k0kubun (Takashi Kokubun)
04:33 AM Bug #14078: Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
@rhenium
Re the beta, thought I'd update with recent OpenSSL::TestSSLSession#test_ctx_server_session_cb results, all using 1.1.0g
1. Passed - MinGW trunk local when building (make test-all -j3)
2. Passed - vc140 trunk local when b...
MSP-Greg (Greg L)
04:22 AM Bug #14162: Invoking binding.irb destructively shifts ARGV
Also, the shifted value becomes $0 (and @CONF[:SCRIPT]).
I guessed they are not intentional and created a patch that skips parsing ARGV for binding.irb https://github.com/ruby/ruby/pull/1770.
k0kubun (Takashi Kokubun)

12/09/2017

06:05 PM Feature #12275: String unescape
I updated patch as v2.patch to satisfy 3 points that mentioned in [note-15](https://bugs.ruby-lang.org/issues/12275#note-15).
(Also https://github.com/ruby/ruby/pull/1765 is updated too.)
I also attached a simple benchmarking script ...
tad (Tadashi Saito)
05:25 PM Feature #14164: [Suggestion] Type system for ruby 3x to be usable for e. g. rubocop or autogenerating crystal code and so forth
Here are some thoughts:
Although Crystal looks very similar syntactically, the semantics are fairly different: no runtime metaprogromming, no eval, no arbitrary precision integers by default and it is a statically-typed language (with g...
Eregon (Benoit Daloze)
03:40 PM Feature #14164 (Open): [Suggestion] Type system for ruby 3x to be usable for e. g. rubocop or autogenerating crystal code and so forth
Hello everyone, especially the ruby core team, nobu and of course matz,
This is an idea for ruby 3.x, but the idea is not ... well, really
finished.
It is more of an idea.
As I am aware that working with "unfinished" ideas is n...
shevegen (Robert A. Heiler)
01:34 PM Bug #14163 (Closed): Pages of rdoc include files which are not documents
https://docs.ruby-lang.org/en/trunk/ includes `*.tt`, `*.gemspec`, Executable, Executable.bundler, Executable.standalone.
But it seems there are not documents nor sources including documents.
znz (Kazuhiro NISHIYAMA)
01:13 PM Revision 4cfc1aa9 (git): parse.y: Fix locations of NODE_ARRAY in NODE_ATTRASGN (nd_args)
* parse.y (arg_append_gen): Fix to only include a range of
node2 if new list is generated.
e.g. The locations of the NODE_ARRAY is fixed:
```
x.default = 5
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,0)-(1,13...
yui-knk (Kaneko Yuichiro)
11:58 AM Revision 84ae8dc9 (git): test_process.rb (test_maxgroups): add assertions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:44 AM Revision 51d863e0 (git): parse.y: Change locations of NODE_BLOCK in NODE_RESBODY (nd_body)
* parse.y: Change to only include a range from exc_var to compstmt.
e.g. The locations of the NODE_BLOCK is changed:
```
begin
:a
rescue E => e
:b
end
```
* Before
```
NODE_BLOCK (line: 3, code_range: (3,0)-...
yui-knk (Kaneko Yuichiro)
03:52 AM Revision 7a79d881 (git): parse.y: Fix locations of NODE_SCOPE in NODE_SCLASS
* parse.y: Fix to only include a range of bodystmt.
e.g. The locations of the NODE_SCOPE is fixed:
```
class << []
def m; end
end
```
* Before
```
NODE_SCOPE (line: 3, code_range: (1,0)-(3,3))
```
* After
...
yui-knk (Kaneko Yuichiro)
03:46 AM Revision dceb897e (git): Dir#chdir keeps GVL if passed block
On further examination, Dir.chdir with a block from multiple
threads is thread-unsafe given our use of the chdir_blocking and
chdir_thread global variables.
This bug was only introduced in r60583 so not part of any stable
release.
Dir....
Eric Wong
03:18 AM Revision 933fabd1 (git): parse.y: Fix locations of NODE_ARRAY in NODE_OPCALL(nd_args)
* parse.y: Fix to only include a range of arg1.
e.g. The locations of the NODE_ARRAY is fixed:
```
1 + 2
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,0)-(1,5))
```
* After
```
NODE_ARRAY (line: 1, code...
yui-knk (Kaneko Yuichiro)
03:03 AM Revision 79aba225 (git): parse.y: Fix locations of NODE_SCOPE in NODE_CLASS
* parse.y: Fix to only include a range of bodystmt.
e.g. The locations of the NODE_SCOPE is fixed:
```
class A
def a; end
end
```
* Before
```
NODE_SCOPE (line: 3, code_range: (1,0)-(3,3))
```
* After
```
...
yui-knk (Kaneko Yuichiro)

12/08/2017

10:51 PM Revision 80e852d8 (git): doc/syntax/refinements.rdoc: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
10:43 PM Revision c66f5601 (git): bignum.c: [DOC] simplify comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
10:43 PM Revision 67d9cd73 (git): NEWS: grammar fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
10:42 PM Revision 9a26a4c1 (git): ext/strscan/strscan.c: [DOC] grammar fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
09:54 PM Bug #4841: WEBrick threading leads to infinite loop
Thank you for your quick response! mame (Yusuke Endoh)
07:21 PM Bug #4841: WEBrick threading leads to infinite loop
mame@ruby-lang.org wrote:
> normal, could you please check this ticket?
>
> ----------------------------------------
> Bug #4841: WEBrick threading leads to infinite loop
> https://bugs.ruby-lang.org/issues/4841#change-68231

Su...
normalperson (Eric Wong)
06:52 PM Bug #4841 (Closed): WEBrick threading leads to infinite loop
Applied in changeset trunk|r61083.
----------
webrick: allow shutdown after StartCallback
We must to ensure the @status ivar is set to :Running before
running StartCallback, otherwise Webrick::Server#stop will not
change the @status to...
Anonymous
12:38 PM Bug #4841: WEBrick threading leads to infinite loop
normal, could you please check this ticket? mame (Yusuke Endoh)
06:51 PM Revision 86ea8dfe (git): * 2017-12-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:51 PM Revision 22474d8f (git): webrick: allow shutdown after StartCallback
We must to ensure the @status ivar is set to :Running before
running StartCallback, otherwise Webrick::Server#stop will not
change the @status to :Shutdown properly.
Note: I have not been able to reproduce the original issue but
underst...
Eric Wong
06:03 PM Feature #14151: Make Matrix#[]= public method
@marcandre can you take a look? Eregon (Benoit Daloze)
12:55 PM Feature #14151: Make Matrix#[]= public method
I created pull request related to this feature/issue. - https://github.com/ruby/ruby/pull/1769 greggzst (Grzegorz Jakubiak)
02:26 PM Bug #14162 (Closed): Invoking binding.irb destructively shifts ARGV
~~~ ruby
$ ruby -v
ruby 2.5.0dev (2017-12-05 trunk 61034) [x86_64-linux]
$ cat script.rb
binding.irb
binding.irb
$ ruby script.rb a b c
From: script.rb @ line 1 :
=> 1: binding.irb
2: binding.irb
irb(main):001:0> p A...
k0kubun (Takashi Kokubun)
02:12 PM Bug #5060: Executables in bin folder conflict with their gem versions.
@hsbt-san, I might be wrong but has this issue been solved by default/bundled gems? mame (Yusuke Endoh)
01:36 PM Feature #4963 (Closed): Refine and Document the Issue Tracking Process
I'm closing this ticket since it is not about ruby's feature. I think it should be discussed at ruby-core mailing list. mame (Yusuke Endoh)
12:31 PM Bug #14161 (Closed): Getting segmentation fault some time while running rspec
While running rspec with Rails 5.1.1
/home/xxx/.rvm/gems/ruby-2.3.3@everyday/gems/mail-2.6.5/lib/mail/elements/content_type_element.rb:9: [BUG] Segmentation fault at 0x00000000000008
[1] 31688 abort (core dumped) rspec (last ...
jaikryonruby@gmail.com (Ravi Shrivastava)
11:19 AM Bug #14160: JSON#generate documentation wrong/misleading
You are right, the statement in the documentation that .generate() only allows "objects
or arrays" is technically not logical. Firstly, in ruby everything is an object, or
at the least, when we include Integers and Symbols, object-like...
shevegen (Robert A. Heiler)
10:12 AM Bug #14160 (Closed): JSON#generate documentation wrong/misleading
https://docs.ruby-lang.org/en/trunk/JSON.html#module-JSON-label-Generating+JSON
That says `JSON.generate` only allows "objects or arrays", that `to_json` allows more, and uses `1.to_json` as an example for that. But I just tried `JSON.g...
StefanPochmann (Stefan Pochmann)
08:50 AM Feature #4787 (Closed): Integer#each_modulo(n)
This was resolved by #12447. mrkn (Kenta Murata)
08:38 AM Revision 6d8f47fd (git): lib/pp.rb: no rdoc of alias to suppress a warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:35 AM Revision bd61ccef (git): test_file_exhaustive.rb: get rid of failures
* test/ruby/test_file_exhaustive.rb (test_utime_symlinkfile):
under some condition, symlink file is also affected by utimes()
on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:17 AM Revision 60771d13 (git): pp.rb: rdoc
* lib/pp.rb (pp): move pp alias before its rdoc, not to prevent
parsing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:13 AM Revision ec74acd1 (git): test_file_exhaustive.rb: test_utime_symlinkfile
* test_file_exhaustive.rb (test_utime_symlinkfile): investigate
failures on some platforms. wait a second to tell if symlink
atime is changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61079 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
06:24 AM Revision d52ef754 (git): test_file_exhaustive.rb: fix arguments order
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:20 AM Revision 23c86d84 (git): win32.c: check error code
* win32/win32.c (w32_io_info): check GetFileInformationByHandleEx
error code to fallback to GetFileInformationByHandle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:51 AM Feature #13883 (Closed): Change from gperf 3.0.4 to gperf 3.1
Applied in changeset trunk|r61076.
----------
support gperf 3.1
* tool/gperf.sed: extracted sed commands to a script. ANSI-C code
produced by gperf 3.1 declares length arguments as `size_t`. it
causes conflict with existing decla...
nobu (Nobuyoshi Nakada)
05:51 AM Revision a4804fbd (git): support gperf 3.1
* tool/gperf.sed: extracted sed commands to a script. ANSI-C code
produced by gperf 3.1 declares length arguments as `size_t`. it
causes conflict with existing declarations, and needs casts for
a local variable and return stateme...
nobu (Nobuyoshi Nakada)
01:27 AM Bug #14159 (Third Party's Issue): [BUG] Segmentation fault at 0x0000000000000000 ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux] - Mailcatcher
moskkitow (Marcelo Cruz) wrote:
> c:0010 p:---- s:0049 e:000048 CFUNC :release_machine
> ...
Hmm, seems it dies inside of eventmachine. Can you contact its authors to see if they have solutions?
shyouhei (Shyouhei Urabe)
12:45 AM Revision f8659dfd (git): parse.y Fix compile error
ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
12:33 AM Revision c6b31b76 (git): parse.y: Fix locations of modifier_rescue
* parse.y: Fix to only include a range from modifier_rescue
to stmt (or arg).
e.g. The locations of the NODE_RESBODY is fixed:
```
a rescue 1
```
* Before
```
NODE_RESBODY (line: 1, code_range: (1,0)-(1,10))
```
...
yui-knk (Kaneko Yuichiro)

12/07/2017

11:36 PM Revision 3bc080ba (git): * 2017-12-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:35 PM Revision f026add3 (git): parse.y: Fix locations of string
* parse.y: Fix to include locations of tSTRING_BEG and tSTRING_END.
e.g. The locations of the NODE_STR is fixed:
```
"a"
```
* Before
```
NODE_STR (line: 1, code_range: (1,1)-(1,2))
```
* After
```
NODE_STR (l...
yui-knk (Kaneko Yuichiro)
09:02 PM Bug #14156: broken bundler install
hsbt (Hiroshi SHIBATA) wrote:
> Can you try it with Ruby 2.2.10?
hi,
I'm sorry, I returned to ubuntu 16.04 and I can no longer replicate the problem.
However, since ruby ​​2.3, the problem does not arise, so i probe with ruby ​​2....
JJ (Jonathan Monsalve)
02:01 AM Bug #14156 (Feedback): broken bundler install
Can you try it with Ruby 2.2.10? hsbt (Hiroshi SHIBATA)
08:51 PM Bug #13997 (Closed): Bundler gem binstub broken
hsbt (Hiroshi SHIBATA) wrote:
> It fixed r60174 maybe. Can you try current HEAD(r60928)?
Hi @hsbt, thanks for looking into this. It's fixed as far as I can tell. I'm going to close it. I did a git bisect and r60171 fixed it. Thank yo...
hone (Terence Lee)
03:59 PM Bug #14159 (Third Party's Issue): [BUG] Segmentation fault at 0x0000000000000000 ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux] - Mailcatcher
Good afternoon,
While trying to access the Mailcatcher service on my project, I found out a bug. I can access the Mailcatcher page without no problem, but after the page is loaded this log shows up on my terminal:
~~~ text
Startin...
moskkitow (Marcelo Cruz)
11:49 AM Bug #4487 (Closed): require_relative fails in an eval'ed file
Now, it works. I'm unsure who changed the behavior... Anyway, closing. mame (Yusuke Endoh)
11:37 AM Feature #13731: inode for Windows on ReFS
2.5 に入らないかもしれないとのこと、了解です。
ついでですが、ReFSボリュームを作ってファイルを2つ作成し、FILE_ID_INFO の128ビットの値と nFileIndexHigh/Low の64ビットの値を取得してみました。
FILE_ID_INFOの値をリトルエンディアン128ビット整数として表記すると、以下の値が取れました。(32ビット毎にアンダースコアを付与)
* 0x00000000_00000001_00000000_000006...
kubo (Takehiro Kubo)
08:08 AM Revision c0217435 (git): Follow up r60970 for bundler's examples.
r60970 break Gemfile.lock format with file protocol after bundle
install/update. I addd hostname to these examples.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:06 AM Bug #9705 (Feedback): Installing ruby 2.1.1 fails while compiling (after: rvm install 2.1.1)
Ruby 2.1 was EOL status. Can you try to build with Ruby 2.3 or 2.4? hsbt (Hiroshi SHIBATA)
07:57 AM Bug #14139 (Rejected): [BUG] Segmentation fault
https://github.com/railsinstaller/railsinstaller-windows/issues/102 is already closed.
And this issue is same as #14047.
hsbt (Hiroshi SHIBATA)
07:44 AM Bug #14072 (Feedback): Ruby interpreter
Can you try with Ruby 2.3.5 ? It's latest old-stable version. hsbt (Hiroshi SHIBATA)
07:18 AM Feature #4264 (Feedback): General type coercion protocol for Ruby
mame (Yusuke Endoh)
06:38 AM Revision 15c97780 (git): parse.y: Fix locations of array
* parse.y (make_array): Set locations of ary to
include locations of start token (tLBRACK, tWORDS_BEG, ...)
and end token (']', tSTRING_END, ...) of array.
e.g. The locations of the NODE_ARRAY is fixed:
```
[1, 2, 3]
```
...
yui-knk (Kaneko Yuichiro)
06:06 AM Feature #14158 (Assigned): Update racc library with changes from upstream
hsbt (Hiroshi SHIBATA)
12:00 AM Feature #14158 (Closed): Update racc library with changes from upstream
The racc parser that is included in mri ruby currently lists version 1.4.5 as the racc version. Tenderlove's upstream of racc has released version 1.4.14 since then and there have been substantial changes in both the ruby and c parser. T... haus (Matthaus Litteken)
04:42 AM Revision 284e3ae1 (git): win32/win32.c: removed a stale comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:32 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Too late for 2.5, but I'll maintain and periodically rebase this
in hope it can be accepted for 2.6. I've updated patches for
Thriber support against latest trunk (r61067)

https://80x24.org/spew/20171207041831.29005-2-e@80x24.org/...
normalperson (Eric Wong)
04:12 AM Revision db2d28b0 (git): parse.y: fix for old compilers
* parse.y (arg_value): initialization of aggregation type with
non-constant values is not allowed in C89.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:03 AM Revision 185133fd (git): win32.c: fallback to old API
* win32/win32.c (w32_io_info, rb_w32_file_identical_p): fallback
to GetFileInformationByHandle if GetFileInformationByHandleEx
failed. it seems not working on network drives.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61067 ...
nobu (Nobuyoshi Nakada)
03:15 AM Bug #14157 (Feedback): You may have encountered a bug in the Ruby interpreter or extension libraries.
shevegen (Robert A. Heiler) wrote:
> I am not sure that this is enough information for the ruby core team to
I'm sure it is not enough information.
> ...
Yes, please provide more information. Otherwise, there's nothing that we can...
duerst (Martin Dürst)
03:00 AM Revision 803d1753 (git): parse.y: Fix locations of dsym
* parse.y: Fix to only include a range from tSTRING_BEG to tLABEL_END.
e.g. The locations of the NODE_LIT is fixed:
```
{ "a": 10 }
```
* Before
```
NODE_LIT (line: 1, code_range: (1,2)-(1,9))
```
* After
```
...
yui-knk (Kaneko Yuichiro)
02:48 AM Revision acf7e52d (git): parse.y: Fix locations of dsym
* parse.y (dsym_node_gen): Always set locations
to include locations of tSYMBEG and tSTRING_END.
e.g. The locations of the NODE_LIT is fixed:
```
:"a"
```
* Before
```
NODE_LIT (line: 1, code_range: (1,2)-(1,3))
```...
yui-knk (Kaneko Yuichiro)
02:36 AM Revision 2c018e96 (git): parse.y: Fix locations of regexp
* parse.y (new_regexp_gen): Always set locations
to include locations of tREGEXP_BEG and tREGEXP_END.
e.g. The locations of the NODE_LIT is fixed:
```
/a/
```
* Before
```
NODE_LIT (line: 1, code_range: (1,1)-(1,2))
...
yui-knk (Kaneko Yuichiro)
02:25 AM Revision d2d4839a (git): parse.y: Fix locations of xstring
* parse.y (new_xstring_gen): Always set locations
to include locations of tXSTRING_BEG and tSTRING_END.
e.g. The locations of the NODE_XSTR is fixed:
```
`a`
```
* Before
```
NODE_XSTR (line: 1, code_range: (1,1)-(1,2...
yui-knk (Kaneko Yuichiro)

12/06/2017

11:56 PM Revision 04594937 (git): remove unnecessary read_timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
10:43 PM Revision cd83444e (git): eval_intern.h: fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
10:40 PM Bug #14157: You may have encountered a bug in the Ruby interpreter or extension libraries.
I am not sure that this is enough information for the ruby core team to
be able to help. Are you able to obtain some kind of stack trace that
led to the error?
shevegen (Robert A. Heiler)
10:33 PM Bug #14157 (Closed): You may have encountered a bug in the Ruby interpreter or extension libraries.
Logged into powershell. navigated to directory to run a newly installed version of Vagrant. Type in code Vagrant Up and get:
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcom...
al3550 (Alfonso Fernandez)
09:51 PM Revision 3f799727 (git): cont.c: update comment for ec refactoring
* cont.c (fiber_switch): update comment (ec.fiber => ec->fiber_ptr)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:58 PM Bug #14156 (Closed): broken bundler install
Ubuntu 17.10 | gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3) | 4.13.0-17-generic #20-Ubuntu x86_64 x86_64 x86_64 GNU/Linux | rvm 1.29.3 (manual) by Michal Papis
jj ~ $ gem install bundler
Fetching: bundler-1.16.0.gem (100%)
Successful...
JJ (Jonathan Monsalve)
05:10 PM Feature #12753: Useful operator to check bit-flag is true or false
In Ruby 2.5, Ripper::Lexer::State is introduced:
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/60945/entry/ext/ripper/lib/ripper/lexer.rb#L49
It is for lex_state of parse.y, and has #& and #| for bit operations ...
aycabta (aycabta .)
03:02 PM Revision 530514fb (git): * 2017-12-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 49dc8664 (git): `Integer#pow(b)` accepts numeric
instead of integer only and returns numeric instead of integer only
same as `Integer#**`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
01:57 PM Feature #11925: Struct construction with kwargs
Similar to one commented by ko1, how about this interface?
~~~ ruby
T = Struct.new(:a, :b, keyword_argument: true)
T.new(a: 1, b: 2)
~~~
As `keyword_argument` is long, another option is:
~~~ ruby
Struct.new(:a, :b, keyword_a...
k0kubun (Takashi Kokubun)
12:36 PM Revision 956cfb97 (git): numeric.c: rb_int_powm rdoc
* numeric.c (Init_Numeric): let rdoc know that rb_int_powm is
defined in bignum.c. [Feature #12508] [Feature #11003]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:38 AM Feature #13726: PATCH: Windows builds - fractional second file times
@larskanis Thank you! I worried needlessly.
kubo (Takehiro Kubo)
11:09 AM Feature #13726: PATCH: Windows builds - fractional second file times
@kubo I had the same concern, but tried the latest [RubyInstaller snapshot](https://ci.appveyor.com/project/larskanis/rubyinstaller2-hbuor/branch/master/job/4gi3xnklucahhep6/artifacts). It proves that get_systemtime() is called somewhere... larskanis (Lars Kanis)
10:01 AM Feature #13726: PATCH: Windows builds - fractional second file times
@usa Thanks for merging the patches.
I'm afraid that `File.mtime(filename).usec` returns always zero just after ruby.exe starts up on Windows 8 or later.
`have_precisetime` is -1 at process startup.
https://github.com/ruby/ruby/bl...
kubo (Takehiro Kubo)
11:36 AM Revision 86f05884 (git): vcs.rb: fix r61054
* tool/vcs.rb (VCS::SVN.get_revisions): cmd_readd_at expects the
whole arguments for IO.popen as the second argument, that is an
array of command and mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61056 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
11:18 AM Revision 951ef1d4 (git): file2lastrev.rb: suppress_not_found
* tool/file2lastrev.rb: exit successfully when command not found,
and if --suppress_not_found is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:18 AM Revision 3234d6a6 (git): vcs.rb: raise NotFoundError when command not found
* tool/vcs.rb (cmd_pipe_at, cmd_read_at, system): moved from GIT
to VCS, and now raise VCS::NotFoundError when command not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:35 AM Revision 9ef078e2 (git): Bump fiddle-1.0.0 for released version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:34 AM Revision 836aaa0c (git): Bump gdbm-2.0.0 for released versionn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:32 AM Revision 2d031181 (git): Bump dbm-1.0.0 for released version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:26 AM Revision e0bed5f3 (git): compile.c (rb_iseq_compile_node): Move the check for imemo_ifunc to top
Applying nd_type to imemo_ifunc object seems harmless fortunately, but
very dirty (to me).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:19 AM Revision 55f93cb6 (git): vm_core.h (RUBY_EVENT_COVERAGE_BRANCH): renamed
This change moves RUBY_EVENT_COVERAGE from include/ruby/ruby.h to
vm_core.h and renames it to RUBY_EVENT_COVERAGE_BRANCH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:19 AM Revision 9be95d2a (git): Remove RUBY_EVENT_SPECIFIED_LINE
Follow up of r61044
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:04 AM Revision c7e4f912 (git): insns.def (tracebranch): renamed from `trace2`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
07:04 AM Revision c3c0c074 (git): thread.c (update_branch_coverage): renamed from `update_coverage`
Now this function only deals with branch events, so this change renames
it and remove complexity that is no longer needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:54 AM Revision ec1d41ba (git): fix last commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:53 AM Revision 104ca9f4 (git): remove unsupported RUBY_EVENT_SPECIFIED_LINE.
* vm_trace.c (get_event_id): remove experimental in past, and not supported
now feature.
* vm_trace.c (tracepoint_inspect): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:39 AM Revision ec02c486 (git): thread.c (update_line_coverage): Use RUBY_EVENT_LINE
This change makes coverage use the general event type RUBY_EVENT_LINE
instead of a special event type RUBY_EVENT_COVERAGE.
Just a refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
05:23 AM Bug #13889 (Closed): FileUtils.rmdir が Errno::ENOTEMPTY を無視している
「しかし存在しない名前を FileUtils.rmdir に指定した時にエラーにならなかったのが Errno::ENOENT が発生するなるようになってしまっている」 については、fileutils はコマンドラインツールの挙動に倣うもので、rmdir(1) が存在しないパスを指定された時にはエラーになるので、r59934 後の挙動のほうが正しいということで閉じてしまいます。
一応挙動が変わるので、Backport 欄は 2.4 は DONTNEED にしておきます。
nagachika (Tomoyuki Chikanaga)
05:22 AM Revision 9fbd48ee (git): prelude.c.tmpl: fix line number
* template/prelude.c.tmpl (Init_prelude): fix line number of
preludes. line of prelude_eval is an int, not a VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:06 AM Feature #11816: Partial safe navigation operator
marcandre (Marc-Andre Lafortune) wrote:
> phluid61 (Matthew Kerwin) wrote:
> ...
Hmm, that's *almost* right, but in my mind it still doesn't quite fit. I think the problem I have is the expectation that modifying one message dispatch ...
phluid61 (Matthew Kerwin)
03:19 AM Revision 3af095f8 (git): eval_intern.h: prevent core dump with clang and make test-all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:16 AM Revision 0e34638f (git): remove `PUSH_TAG`/`EXEC_AG`/`POP_TAG`/`JUMO_TAG`.
* eval_intern.h: remove non-`EC_` prefix *_TAG() macros.
Use `EC_` prefix macros explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:09 AM Revision c1bd83ce (git): parse.y: Fix the first location of heredoc identifier
* parse.y (parser_heredoc_identifier):
Put length of term at the head of rb_strterm_heredoc_struct.term.
* parse.y (rb_parser_set_location_from_strterm_heredoc):
Use length of term to calculate first_loc.column.
e.g. The location...
yui-knk (Kaneko Yuichiro)
01:41 AM Revision b7c17ad1 (git): parse.y: remove redefined typedef
Clang told me that this is C11 feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:44 AM Revision f7899d3c (git): parse.y: Fix locations of HEREDOC
* parse.y (rb_parser_set_location_from_strterm_heredoc):
Set locations based on rb_strterm_heredoc_t.
* parse.y (yylex): Set yylloc based on rb_strterm_heredoc_t
when parsing heredoc.
e.g. The locations of the NODE_DSTR is change...
yui-knk (Kaneko Yuichiro)
12:34 AM Bug #14058 (Third Party's Issue): [bundler] program-suffixを付けるとbundle gem -> rake buildなどが動作しない
確認ありがとうございます。
bundler がコマンドをハードコードしていることが原因なので upstream への報告をお願いします。
hsbt (Hiroshi SHIBATA)

12/05/2017

11:34 PM Revision b034a9d2 (git): * 2017-12-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:34 PM Revision 5abf308a (git): test_syntax.rb: Add a test case for `not()`
* test/ruby/test_syntax.rb (TestSyntax#test_keyword_not_parens):
Currently `not()` is tested by only TestRipper::ParserEvents#test_unary,
so I think it's better to test this syntax directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
yui-knk (Kaneko Yuichiro)
06:23 PM Feature #13050: Readline: expose rl_completion_quote_character variable
This has been open for a year. Is there anything I can do towards getting the patch accepted? georgebrock (George Brocklehurst)
05:00 PM Bug #14058: [bundler] program-suffixを付けるとbundle gem -> rake buildなどが動作しない
I got same error with ruby-2.4.2 and bundler-1.16.0.
~~~
$ bundle gem mygem
:
$ rake2.4 build
rake aborted!
sh: 1: gem: not found
~~~
kimuraw (Wataru Kimura)
04:52 PM Bug #14096: Psych allows invalid single quote escape character
Pull request https://github.com/yaml/libyaml/pull/74 has been created for libyaml, which means this is likely to percolate up to MRI over the coming years.
It might be good to get ahead of it and patch Psych to forbid the single quote...
headius (Charles Nutter)
01:49 PM Revision f24efa28 (git): parse.y: nd_line of new node
* parse.y (nd_set_loc): set nd_line of the newly created node to
the first location.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:46 PM Revision 4fe720eb (git): parse.y: nd_line of call_uni_op
* parse.y (call_uni_op): set nd_line to the unary operator
location, same as non-operator method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:42 PM Revision 2ed12304 (git): parse.y: nd_line of logop
* parse.y (logop): set nd_line to the logical operator location,
same as non-operator method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:38 PM Revision b9e91bfb (git): parse.y: nd_line of match_op
* parse.y (match_op): set nd_line to the match operator location,
same as non-operator method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:30 PM Revision 60bca021 (git): parse.y: nd_line of call_bin_op
* parse.y (call_bin_op): set nd_line to the binary operator
location, same as non-operator method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:08 AM Revision 25d6a7ef (git): Bump version to rdoc-6.0.0.
There is no changes from rdoc-6.0.0.bebta4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:45 AM Revision e5614fbc (git): iseq.c (iseq_load, iseq_data_to_ary): Fix a type error (for clang)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:58 AM Revision f9c614c6 (git): Hide ISeq#load
I disclosed it incorrectly at r61025. Sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
08:56 AM Revision f6556c5c (git): ext/coverage/coverage.c: method coverage has column info. of method def.
This change makes method coverage result have not only first lineno of
method defintion, but also code range (i.e. first lineno, first column,
last lineno, and last column).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61026 b2dd03...
mame (Yusuke Endoh)
08:56 AM Revision a5e02f24 (git): vm_core.h (rb_iseq_locatoin_t): add a field `code_range`
This change makes each ISeq keep NODE's code range. This information is
needed for method coverage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
08:50 AM Revision 2d592329 (git): node.c: FIELD_BLOCK
* node.c (COMPOUND_FIELD, FIELD_BLOCK): moved block outside
arguments like as SIMPLE_FIELD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:44 AM Bug #14075 (Closed): File.dirname("path without dir".taint) returns untainted string
I think it is intended.
`dirname` for a path without directory is ".", and this does not come from the argument string.
nobu (Nobuyoshi Nakada)
07:32 AM Bug #9912: URI#to_s with an empty host formats the string incorrectly
[I wrote this directly to ruby-core because I didn't see the issue, but want to make sure it's in the right place.]
The "postgres:" URI scheme isn't even mentioned in the registry at https://www.iana.org/assignments/uri-schemes/uri-sc...
duerst (Martin Dürst)
07:16 AM Revision 0a6816ec (git): Revamp method coverage to support define_method
Traditionally, method coverage measurement was implemented by inserting
`trace2` instruction to the head of method iseq. So, it just measured
methods defined by `def` keyword.
This commit drastically changes the measuring mechanism of ...
mame (Yusuke Endoh)
05:26 AM Bug #14154: Ruby 2.4 and support for rails 3
See also https://www.ruby-lang.org/en/news/2013/12/21/ruby-version-policy-changes-with-2-1-0/ sorah (Sorah Fukumori)
04:55 AM Bug #14154 (Closed): Ruby 2.4 and support for rails 3
Thanks for your report. 2.4 is not fully compatible with older versions of Ruby, and that's intentional. Please refer to our maintenance policy https://bugs.ruby-lang.org/projects/ruby/wiki/GeneralMaintenancePolicy and the discussion aro... yuki24 (Yuki Nishijima)
04:23 AM Revision aa87ae7a (git): node.c: a simple notation for code range of NODEs
This affects only `--dump=parsetree` and `--dump=parsetree_with_comment`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:19 AM Bug #13757 (Closed): TestBacktrace#test_caller_lev segaults on PPC
Fixed at r61020 hsbt (Hiroshi SHIBATA)
01:10 AM Revision 133b0cf2 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:10 AM Revision b2047f79 (git): vm_core.h: Increase the Fiber stack size on powerpc64
Currently the Fiber stack size is small for powerpc64 and it causes
test/ruby/test_backtrace.rb test to break, since it is using a 8kb stack
size.
It breaks on powerpc64 due to the fact that a frame in the stack is
usually 50% bigger on...
hsbt (Hiroshi SHIBATA)
12:59 AM Revision 65c0f47f (git): Remove unnecessary read_timeout.
http://ci.rvm.jp/results/trunk-asserts-nopara@ruby-sky1/219867
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:52 AM Feature #14153: [PATCH] resurrection of # -*- warn_past_scope: true -*-
@shevegen Yes. You can write multiple magic comments
- at once, like this:
# -*- coding: utf-8; frozen_string_literal: true; warn_indent: true; warn_past_scope: true -*-
- or, line by line like this:
# coding:...
shyouhei (Shyouhei Urabe)
12:09 AM Revision 02b7d4c5 (git): bignum.c: unified int_pow_tmp2
* bignum.c (int_pow_tmp2): unified DLONG and none DLONG code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom