Project

General

Profile

Activity

From 12/09/2017 to 12/15/2017

12/15/2017

10:59 PM Bug #14191 (Assigned): Coverage decreased between 2.4.3 and 2.5.0rc1
Thank you for the report!
I found that #14104 changed TracePoint's lineno, which broke coverage.so. I'll fix it with ko1.
mame (Yusuke Endoh)
06:52 PM Bug #14191 (Closed): Coverage decreased between 2.4.3 and 2.5.0rc1
Just ran the test suite on my Rails app on the new rc and noticed that the coverage dropped by a full 3%. After some investigation discovered a lot of lines aren't being reported as covered anymore even though they clearly are. Here are ... kddnewton (Kevin Newton)
10:28 PM Misc #14190: What are the semantics of $SAFE?
I'm not familiar with $SAFE, but the scope seems finer:
```
$ ruby -e 'f = proc { $SAFE = 1; p [:in_proc, $SAFE] }; f.call; p [:out_of_proc, $SAFE]'
[:in_proc, 1]
[:out_of_proc, 0]
```
mame (Yusuke Endoh)
04:29 PM Misc #14190 (Open): What are the semantics of $SAFE?
$SAFE is documented in many places as thread-local, but it seems more than that.
For example:
# a.rb
$SAFE=1
p $SAFE
require "#{Dir.pwd.untaint}/b.rb"
# b.rb
p [:in_b, $SAFE]
gives:
$ ruby -r....
Eregon (Benoit Daloze)
09:55 PM Revision d02f2996 (git): NEWS: update for WEBrick Proc body responses
Better late than never :x [Feature #855]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:49 PM Revision 3ed8d398 (git): NEWS: updates about trivial GVL release changes
No tickets, but all pretty trivial changes which avoids
stalls on slow/non-responsive filesytems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:15 PM Revision 4eac6eb3 (git): lib/erb: Update doc [ci-skip] [doc]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:10 PM Bug #14189: Webrick 1.4.0. release requires unreleased ruby version 2.5.0dev
shevegen@gmail.com wrote:
> Good catch.
>
> I guess the japanese hackers all happily use ruby 2.5.x already. :)

/me is not Japanese, but yes, I mainly use 2.5.x

> 2.4.3 was recently released. Guess it is a stable variant on t...
normalperson (Eric Wong)
06:44 PM Bug #14189: Webrick 1.4.0. release requires unreleased ruby version 2.5.0dev
Good catch.
I guess the japanese hackers all happily use ruby 2.5.x already. :)
2.4.3 was recently released. Guess it is a stable variant on the
2.4.x branch.
Webrick at https://rubygems.org/gems/webrick has the ">= 2.5.0dev"
...
shevegen (Robert A. Heiler)
12:20 PM Bug #14189 (Closed): Webrick 1.4.0. release requires unreleased ruby version 2.5.0dev
Hi Team!
We have just encountered a blocking bug in the Webrick gem version 1.4.0.
The gemspec is requiring an as yet unreleased version of ruby:
Gem::InstallError: webrick requires Ruby version >= 2.5.0dev.
An error occurred whi...
tb@panorama9.com (Thomas Balsløv)
06:48 PM Bug #14188: With install Ruby 2.4.3 and Passenger 5.1.12 ALL sites will fail to open
I have difficulty opening the zip files on my linux box.
It tells me:
warning [/Depot/jjjj/passenger-log.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been c...
shevegen (Robert A. Heiler)
10:01 AM Bug #14188 (Third Party's Issue): With install Ruby 2.4.3 and Passenger 5.1.12 ALL sites will fail to open
With install Ruby 2.4.3 and Passenger 5.1.12 ALL sites will fail to open
https://github.com/phusion/passenger/issues/2010
Answer:
**Hi, this doesn't look like an issue with Passenger, but instead with Ruby, see the error message...
Sega100500 (Сергей Е)
05:44 PM Revision 30ed82e7 (git): Update to ruby/spec@595645f
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
05:44 PM Revision f941bdf2 (git): * 2017-12-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:44 PM Revision 60e21a9e (git): Update to ruby/mspec@19d929e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
03:00 PM Feature #4840: Allow returning from require
It works for me. How did you test?
```
$ cat t.rb
p 1
return
p 2
$ ruby -v t.rb
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
t.rb:3: warning: statement not reached
1
$ /tmp/local/bin/ruby -v t.rb
ruby 2.5.0rc1 ...
mame (Yusuke Endoh)
02:21 PM Feature #4840: Allow returning from require
Could someone please explain me what is the current status of this feature? I thought I would be able to return from the top-level when requiring a file, but it still seems to be an invalid syntax to this day. Am I missing something? rosenfeld (Rodrigo Rosenfeld Rosas)
02:42 PM Revision 7c4306e6 (git): gperf.sed: static declarations
* tool/gperf.sed: comment out arguments part only, to keep the
following declarations static. [Feature #13883]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:32 PM Feature #14187: `make test` and `make check` to run all test suites
mame (Yusuke Endoh) wrote:
> I think when a casual user build and install ruby, s/he will expect `make test` or `make check` to run all recommended test suites because many other projects uses them as the semantics.
Eregon (Benoit Da...
MSP-Greg (Greg L)
12:54 PM Feature #14187: `make test` and `make check` to run all test suites
This looks good to me.
I think we should still have a way to run each of the 3 groups individually: "basic tests", test-all and test-spec.
I often run test/ and spec/ individually while working on MRI.
Specifically, I think test-all s...
Eregon (Benoit Daloze)
05:13 AM Feature #14187: `make test` and `make check` to run all test suites
Yes, I (mswin-build) will be critically affected by this change.
But I'll be able to fix it.
If you really believe that this is necessary, I'll not oppose.
My only hope is that the timing of the change is appropriate.
For example, ...
usa (Usaku NAKAMURA)
02:51 AM Feature #14187 (Closed): `make test` and `make check` to run all test suites
Currently, MRI has many test suites: "`bootstraptest/`", "`KNOWNBUGS.rb`", "`basictest/`", "`test/`", and "`spec/`". And, the target name design of `make` is really complicated:
* `make test` runs the first three suites
* `make test...
mame (Yusuke Endoh)
01:11 PM Feature #14143: Thread.report_on_exception should be true by default
ko1 (Koichi Sasada) wrote:
> I reconsider about this line and
> ...
Ideally, I think referring to the documentation of Thread::report_on_exception directly would be the most helpful, so something like:
#<Thread:0x000055c6660d0b1...
Eregon (Benoit Daloze)
02:55 AM Feature #14143: Thread.report_on_exception should be true by default
(bikeshed)
Eregon (Benoit Daloze) wrote:
> #<Thread:0x000055c6660d0b10@report.rb:3 run> terminated with exception (report_on_exception is true):
I reconsider about this line and
`#<Thread:0x000055c6660d0b10@report.rb:3 run> termi...
ko1 (Koichi Sasada)
12:29 PM Feature #14177: PATCH: File::Stat#dev on Windows
> I'm curious why/how do you use rdev/ino on Windows.
I don't have actual plan to use rdev/ino. Just curious about it.
> ...
If I don't misread it, does it means that rdev/ino read in a process
may be different from that in anothe...
kubo (Takehiro Kubo)
11:52 AM Revision a9419fbd (git): [DOC] `IO.new` accepts `external_encoding`
Revert part of r61278 [Bug #13655]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
11:52 AM Revision 81971887 (git): Fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:43 AM Revision 4b798a39 (git): initialize should be outside
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:45 AM Bug #14023 (Assigned): SyntaxError on array argument and block
This seems regression caused by Bug #13547
```
% RBENV_VERSION=2.3.5 ruby -c -e 'a [] {}'
Syntax OK
% RBENV_VERSION=2.3.5 ruby -c -e '1.upto 2 {|i|p i}'
-e:1: syntax error, unexpected '{', expecting end-of-input
1.upto 2 {|i|p i}...
naruse (Yui NARUSE)
08:26 AM Bug #13655 (Closed): external encoding named "-" (doc issue or…?)
Applied in changeset trunk|r61278.
----------
IO.new doesn't recive "-" as external_encoding [Bug #13655]
naruse (Yui NARUSE)
08:26 AM Revision 9fa7722b (git): IO.new doesn't recive "-" as external_encoding [Bug #13655]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:22 AM Feature #2567: Net::HTTP does not handle encoding correctly
chucke (Tiago Cardoso) wrote:
> Bitten by this as well. I'd go the route proposed earlier:
> ...
HTML's encoding is definition is bit different from usual encoding converters as described at WHATWG Encoding Standard.
https://encoding....
naruse (Yui NARUSE)
08:19 AM Revision 42c4ca63 (git): openssl: suppress report_on_exception warning
Import a commit from upstream:
33a67ac96492 test/utils: disable Thread's report_on_exception in start_server
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
rhenium (Kazuki Yamaguchi)
08:12 AM Bug #14181: hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
nobu@ruby-lang.org wrote:
> normalperson (Eric Wong) wrote:
> > I guess the sleep_wait_for_interrupt path when !forever has the
> > same problem and might sleep too long..
>
> How about this patch?

That might be correct, but ...
normalperson (Eric Wong)
07:40 AM Bug #14181: hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
normalperson (Eric Wong) wrote:
> I guess the sleep_wait_for_interrupt path when !forever has the
> ...
How about this patch?
```diff
diff --git i/thread.c w/thread.c
index cc62ea3905..138c26cb09 100644
--- i/thread.c
+++ w/thr...
nobu (Nobuyoshi Nakada)
07:27 AM Bug #14181 (Closed): hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
Applied in changeset trunk|r61274.
----------
thread.c: fix deadlock
* thread.c (thread_join_sleep): the target thread may exit during
`RUBY_VM_CHECK_INTS_BLOCKING`, but `sleep_forever` does not
consider the condition change to wai...
nobu (Nobuyoshi Nakada)
07:22 AM Bug #14181: hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
nobu@ruby-lang.org wrote:
> It seems the signal trap causes thread switching then `Process.waitpid` exits.
> That means the target thread status can change during `RUBY_VM_CHECK_INTS_BLOCKING`, but `sleep_forever` doesn't consider the...
normalperson (Eric Wong)
04:31 AM Bug #14181: hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
It seems the signal trap causes thread switching then `Process.waitpid` exits.
That means the target thread status can change during `RUBY_VM_CHECK_INTS_BLOCKING`, but `sleep_forever` doesn't consider the condition to wait at that momen...
nobu (Nobuyoshi Nakada)
07:58 AM Revision a32e3fee (git): check icc version inside condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:58 AM Revision 41b76e98 (git): suppress icc warnings
* subscript out of range
* enumerated type mixed with another type
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:27 AM Revision f5183827 (git): thread.c: fix deadlock
* thread.c (thread_join_sleep): the target thread may exit during
`RUBY_VM_CHECK_INTS_BLOCKING`, but `sleep_forever` does not
consider the condition change to wait.
[ruby-core:84248] [Bug #14181]
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
05:55 AM Revision 57b0489c (git): node.c: show variable type for NODE_*ASGN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
05:55 AM Revision 64187074 (git): node.c (NODE_HASH): remove wrong default case
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
05:55 AM Revision d11fbf43 (git): node.c: add more comment to NODE_CASE2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
05:55 AM Revision 30930ba0 (git): node.c: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:22 AM Revision e13d347d (git): add `removetag` command
* tool/merger.rb (remove_tag): add `removetag` command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:07 AM Revision 20c3237d (git): thread.c: debug messages
* thread.c (terminate_all): fix funtion name in debug messages.
* thread.c (terminate_all, thread_join_sleep, thread_join): show
the status of the target thread in debug messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@612...
nobu (Nobuyoshi Nakada)
03:04 AM Revision 3b10f702 (git): check the existence of specified tag
* tool/merger.rb (tag): check the existence of specified tag before tagging to
get rid of careless mistakes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

12/14/2017

08:02 PM Feature #13173 (Closed): Gemify webrick
Applied in changeset trunk|r61266.
----------
webrick 1.4.0 release
* lib/webrick/version.rb: change VERSION to 1.4.0
* lib/webrick/webrick.gemspec: require_relative for version,
update date and contact info
[Feature #13173]
Anonymous
08:02 PM Revision 9cbb3bd1 (git): webrick 1.4.0 release
* lib/webrick/version.rb: change VERSION to 1.4.0
* lib/webrick/webrick.gemspec: require_relative for version,
update date and contact info
[Feature #13173]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61266 b2dd03c8-39d4-4d8f-...
Eric Wong
07:32 PM Feature #6286: Add Exception#format method
Isn't this a duplicate of #14141? Eregon (Benoit Daloze)
03:51 PM Feature #6286: Add Exception#format method
I would still love to see this accepted. vo.x (Vit Ondruch)
07:26 PM Revision 0b81d101 (git): Add [Feature #14143] to NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
06:49 PM Revision 8dbc8caa (git): * version.h: Bump version to 2.3.7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@61264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:33 PM Revision b7747df1 (git): particular_werror_flags=no on ICC
fix r61261
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:58 PM Feature #11256: anonymous block forwarding
Eregon (Benoit Daloze) wrote:
>
> ...
ko1 convinced matz to accept this and he provided his reasons, simplicity of notation, not requiring an otherwise pointless variable. Which makes sense to me.
Also keep in mind that lazy proc ...
bughit (bug hit)
10:09 AM Feature #11256: anonymous block forwarding
Just my opinion, but I think the shortcut syntax is going to cause more confusion than it would help.
`&` as argument without a `&` as a parameter looks very weird to me (it's like `it` in other languages, I would strongly advise agains...
Eregon (Benoit Daloze)
05:52 AM Feature #11256: anonymous block forwarding
According to ko1, Matz said that the details of the spec is not mature yet, so this ticket is postponed to 2.6.
A patch that allow `def foo; bar(&); end`:
```diff
diff --git a/compile.c b/compile.c
index 1b7158979a..79fde2f1a9 10...
mame (Yusuke Endoh)
04:54 PM Misc #14173 (Closed): 2017-12-14 61242 all good with MinGW
Great!
I released Ruby 2.5.0-rc1 with those fixes! [ruby-core:84271]
naruse (Yui NARUSE)
02:39 PM Misc #14173: 2017-12-14 61242 all good with MinGW
Since Appveyor mswin build is rather backed up, MinGW results below:
```
0 Total Failures/Errors Build No 245 Job Id vqgsjbu2ik757ekn
ruby 2.5.0dev (2017-12-14 trunk 61242) [x64-mingw32]
2017-12-14 ...
MSP-Greg (Greg L)
04:47 PM Revision 677dcecc (git): * 2017-12-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:47 PM Revision dd25f505 (git): ICC doesn't support -Werror= but ignore
It cause warnings when ruby remove error= on compiling ext/*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:35 PM Bug #14186 (Closed): cannot build ruby with tarball on noruby environment
r61055 breaks build naruse (Yui NARUSE)
03:08 PM Revision 02b8978f (git): * test/net/ftp/test_ftp.rb (process_port_or_eprt): merge a part of
r56973 to pass the test introduced at previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@61255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:56 PM Revision e1808b52 (git): forgotten to update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@61252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:55 PM Revision 3ec034c5 (git): * test/net/ftp/test_ftp.rb (process_port_or_eprt): merge a part of
r56973 to pass the test introduced at previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@61251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:04 PM Feature #5313: Please drop IRB's version in favour of Ruby version
This is still issue. Gemifying IRB might help with that ... vo.x (Vit Ondruch)
02:02 PM Bug #7541 (Closed): Can't use Ruby 2.0.0 as as BASERUBY
This is not relevant anymore and was probably resolved already. vo.x (Vit Ondruch)
01:55 PM Bug #14185: Backport r61242
ruby_2_3 r61248 merged revision(s) 61242. usa (Usaku NAKAMURA)
01:51 PM Bug #14185: Backport r61242
ruby_2_4 r61245 merged revision(s) 61242. nagachika (Tomoyuki Chikanaga)
01:42 PM Bug #14185 (Closed): Backport r61242
Backport 管理用チケットです。 nagachika (Tomoyuki Chikanaga)
01:55 PM Revision 1cfe43fd (git): merge revision(s) 61242: [Backport #14185]
Fix a command injection vulnerability in Net::FTP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@61248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:53 PM Revision 0207c68e (git): merge revision(s) 61242: [Backport #14185]
Fix a command injection vulnerability in Net::FTP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@61246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:51 PM Revision 95645f55 (git): merge revision(s) 61242: [Backport #14185]
Fix a command injection vulnerability in Net::FTP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@61245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:50 PM Revision fc824f2a (git): merge revision(s) 60149: [Backport #14003]
Merge rubygems-2.6.14 changes.
It fixed http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@61244 b2dd03c8-39d4-4d8f-98ff-823fe69b...
U.Nakamura
01:41 PM Revision 6d3f72e5 (git): Fix a command injection vulnerability in Net::FTP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
01:37 PM Bug #13758: TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
This is the glibc maintainer response [1]:
> […]
> ...
It would be nice if this was fixed in Ruby.
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1500863#c5
vo.x (Vit Ondruch)
01:36 PM Bug #14184: Backport r61197 (webrick: compile RE correctly for beginning and end match)
ruby_2_3 r61241 merged revision(s) 61197. usa (Usaku NAKAMURA)
01:14 PM Bug #14184: Backport r61197 (webrick: compile RE correctly for beginning and end match)
ruby_2_4 r61238 merged revision(s) 61197. nagachika (Tomoyuki Chikanaga)
01:05 PM Bug #14184 (Closed): Backport r61197 (webrick: compile RE correctly for beginning and end match)
バックポート管理用チケットです。
nagachika (Tomoyuki Chikanaga)
01:36 PM Revision ccbe964c (git): merge revision(s) 61197: [Backport #14184]
webrick: compile RE correctly for beginning and end match
Using ^ and $ in regexps means we can accidentally get fooled
by "%0a" in HTTP request paths being decoded to newline
characters. Use \A and \z to match ...
U.Nakamura
01:34 PM Bug #14005: [PATCH] webrick: do not hang acceptor on slow TLS connections
ruby_2_3 r61240 merged revision(s) 60172,60189,60208,60210,60211. usa (Usaku NAKAMURA)
01:31 PM Bug #14005: [PATCH] webrick: do not hang acceptor on slow TLS connections
ruby_2_4 r61239 merged revision(s) 60123,60172,60189,60208,60210,60211. nagachika (Tomoyuki Chikanaga)
01:33 PM Revision 1beda297 (git): merge revision(s) 60172,60189,60208,60210,60211: [Backport #14005]
webrick: do not hang acceptor on slow TLS connections
OpenSSL::SSL::SSLSocket#accept may block indefinitely on clients
which negotiate the TCP connection, but fail (or are slow) to
negotiate the subsequent TLS ha...
U.Nakamura
01:33 PM Bug #13155 (Closed): Segfault testing Pry
This seems to be fixed by Ruby 2.4.2, because there was no build failure since this version is available in Fedora. So it was probably the same issue as #13605 pointed out by wanabe. vo.x (Vit Ondruch)
01:31 PM Revision 2e728d51 (git): merge revision(s) 60123,60172,60189,60208,60210,60211: [Backport #14005]
webrick: avoid unnecessary IO#sync= call
Sockets and pipes are always created with FMODE_SYNC flag
already set (otherwise many things would be broken).
* lib/webrick/server.rb (accept_client): remove unnecessary...
nagachika (Tomoyuki Chikanaga)
01:14 PM Revision 096db35a (git): merge revision(s) 61197: [Backport #14184]
webrick: compile RE correctly for beginning and end match
Using ^ and $ in regexps means we can accidentally get fooled
by "%0a" in HTTP request paths being decoded to newline
characters. Use \A and \z to match ...
nagachika (Tomoyuki Chikanaga)
01:10 PM Feature #14143: Thread.report_on_exception should be true by default
Documentation updated and improved in r61216.
The main Thread now also has report_on_exception=true for consistency with r61237 (it is not used though).
I think this feature is ready for 2.5.
Eregon (Benoit Daloze)
01:08 PM Revision 2e315baf (git): The main Thread should have report_on_exception=true for consistency
* Adapt test and add specs.
* See [Feature #14143] [ruby-core:84227]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
11:19 AM Revision 13ea7a87 (git): NEWS: add entry for openssl
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e rhenium (Kazuki Yamaguchi)
11:19 AM Revision ed2b4d0a (git): openssl: import v2.1.0
Import Ruby/OpenSSL 2.1.0. Commits since v2.1.0.beta2 can be found at:
https://github.com/ruby/openssl/compare/v2.1.0.beta2...v2.1.0
----------------------------------------------------------------
Kazuki Yamaguchi (8):
t...
rhenium (Kazuki Yamaguchi)
10:38 AM Revision e9935d9c (git): NaCl support is dropped at r60374
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:25 AM Revision df15754b (git): numeric.c: [DOC] grammar fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
10:25 AM Revision 4a8aa278 (git): struct.c: [DOC] improve docs for Struct.new
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
10:24 AM Revision 09004db4 (git): process.c: [DOC] fix grammar and double negative
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
10:23 AM Revision d31e8476 (git): NEWS: grammar fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
10:21 AM Revision b5e0b65e (git): enum.c: improve docs for Enumerable#{any?,all?,none?,one?}
* enum.c: [DOC] reword docs for Enumerable#{any?,all?,none?,one?}
to not mention the receiver (`enum') from call-seq, because it
does not appear in the call-seq of the rendered HTML docs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
stomar (Marcus Stollsteimer)
08:52 AM Feature #12275: String unescape
I committed this under the approval of @naruse . https://github.com/ruby/ruby/pull/1765#pullrequestreview-83409358
Thanks a lot.
tad (Tadashi Saito)
08:47 AM Feature #12275 (Closed): String unescape
Applied in changeset trunk|r61228.
----------
Implement String#undump to unescape String#dump-ed string
[Feature #12275] [close GH-1765]
Anonymous
08:47 AM Revision bbec11d3 (git): Implement String#undump to unescape String#dump-ed string
[Feature #12275] [close GH-1765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tad (Tadashi Saito)
08:27 AM Feature #14183: "Real" keyword argument
For a method definition like:
~~~
def foo(hsh={})
end
~~~
Will either of the following continue to work?:
~~~
foo(key: val)
foo(:key => val)
~~~
One performance issue with keyword arguments is that keyword splats alloca...
jeremyevans0 (Jeremy Evans)
06:59 AM Feature #14183 (Closed): "Real" keyword argument
In RubyWorld Conference 2017 and RubyConf 2017, Matz officially said that Ruby 3.0 will have "real" keyword arguments. AFAIK there is no ticket about it, so I'm creating this (based on my understanding).
In Ruby 2, the keyword argume...
mame (Yusuke Endoh)
08:22 AM Revision 4abc1a24 (git): node.h: add nd_last_loc and nd_set_last_loc
Just refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
08:08 AM Bug #14181: hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
cody@cutrer.us wrote:
> pid = Process.spawn('sleep 1')

Btw, much faster to reproduce the problem with either
script using "true" instead of "sleep 1"

(And I'm falling asleep and unable to continue working on this tonight :<)
normalperson (Eric Wong)
07:11 AM Bug #14181: hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
Thanks. It seems the culprit is Timeout using Thread#join.
Our deadlock checking code might be buggy...

I write similar process management code all the time without
Timeout and never have this problem, so I'll investigate
(but no...
normalperson (Eric Wong)
04:50 AM Bug #14181 (Closed): hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
I'm not exactly sure what's going on here, but the end result is basically a thread is getting killed unexpectedly during a waitpid call, when SIGCHLD is being handled. In a more complex scenario, we end up hanging because Thread#join is... ccutrer (Cody Cutrer)
06:38 AM Revision 9178645d (git): Thread.current.report_on_exception = false
* test/win32ole/test_win32ole.rb: set report_on_exception = false in threads
which are expected to be throw some exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:30 AM Revision 84bade6a (git): Use string instead of regexp
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:05 AM Bug #14180: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared
There would be old Makefile, remove it and retry. nobu (Nobuyoshi Nakada)
05:10 AM Bug #14180 (Open): error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared
I am up to date at r61221 and have restarted with `./configure`, but part of the errors continue, as follows:
```
compiling bigdecimal.c
bigdecimal.c: In function ‘BigDecimal_version’:
bigdecimal.c:150:3: error: #error RUBY_BIGDECI...
duerst (Martin Dürst)
04:40 AM Bug #14180 (Closed): error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared
Applied in changeset trunk|r61221.
----------
bigdecimal: dependency
* ext/bigdecimal/extconf.rb: extconf.h depends on the gemspec
file. [ruby-core:84247] [Bug #14180]
nobu (Nobuyoshi Nakada)
04:19 AM Bug #14180 (Closed): error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared
When compiling the newest checkout, I get the error messages in the attached file.
The first few lines of the error messages are as follows:
```
compiling bigdecimal.c
bigdecimal.c: In function ‘BigDecimal_version’:
bigdecimal.c...
duerst (Martin Dürst)
06:02 AM Revision ad12b5c2 (git): node.[ch], parse.y, compile.c: rename nd_column to nd_first_column
nd_set_column -> nd_first_set_column
nd_lineno -> nd_first_lineno
nd_set_lineno -> nd_first_set_lineno
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
05:56 AM Feature #14177: PATCH: File::Stat#dev on Windows
at least, not in 2.5 usa (Usaku NAKAMURA)
03:54 AM Feature #14177: PATCH: File::Stat#dev on Windows
I'm curious why/how do you use rdev/ino on Windows.
They are not guaranteed as stable across processes.
nobu (Nobuyoshi Nakada)
05:54 AM Revision bf9c947d (git): parse.y: suppress "unused variable" warning of ripper.y
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
05:26 AM Feature #13199: Gemify strscan
I requested to remove `strscan` name from a reserved list of rubygems.org at 2weeks ago. But I didn't get it response. hsbt (Hiroshi SHIBATA)
05:15 AM Bug #14182 (Closed): Backport r55265
https://github.com/ruby/ruby/pull/1640 hsbt (Hiroshi SHIBATA)
05:13 AM Revision 626ca9ff (git): prelude.rb: remove duplicate rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:40 AM Revision 54b89699 (git): bigdecimal: dependency
* ext/bigdecimal/extconf.rb: extconf.h depends on the gemspec
file. [ruby-core:84247] [Bug #14180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Bug #14179 (Closed): Forwardable Segmentation fault ruby 2.2.8p477 (2017-09-14 revision 59906)
Hello,
Delegating `backtrace` causes a segmentation fault on ruby 2.2.8.
Seems to be related to this change: https://github.com/ruby/ruby/commit/a14ba6e3d58d6f63f47c0549f60306c4989478ba
Looking at that change, seems like the `$@...
dadah89 (Igor Justino)
02:29 AM Revision 98b6b9e1 (git): * gems/bundled_gems: Upgrade the did_you_mean gem to 1.2.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yuki Nishijima
02:21 AM Revision 1d4e97cb (git): Added `test-bundler` and `test-bundled-gems` to `make help` entries`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:11 AM Bug #8352 (Closed): URI squeezes a sequence of slashes in merging paths when it shouldn't
Applied in changeset trunk|r61218.
----------
Allow empty path components in a URI [Bug #8352]
* generic.rb (URI::Generic#merge, URI::Generic#route_to): Fix a bug
where a sequence of slashes in the path part gets collapsed to a
sin...
knu (Akinori MUSHA)
01:11 AM Revision b53ec390 (git): Allow empty path components in a URI [Bug #8352]
* generic.rb (URI::Generic#merge, URI::Generic#route_to): Fix a bug
where a sequence of slashes in the path part gets collapsed to a
single slash. According to the relevant RFCs and WHATWG URL
Standard, empty path components are s...
Akinori MUSHA

12/13/2017

11:21 PM Feature #14177 (Open): PATCH: File::Stat#dev on Windows
Two files are identical when pairs of File::Stat#dev and File::Stat#ino
are same on unix. However when a volume (disk partition) is mounted on
a directory they may not identical even when the pairs are same on Windows
because File::St...
kubo (Takehiro Kubo)
08:44 PM Feature #12275: String unescape
Thanks to shyouhei, mame, and especially naruse, I was able to brush up the patch.
v3.patch is attached. Improvements are diverse.
Spec change:
* use RuntimeError instead of ArgumentError for invalid formed (self) string
* no ...
tad (Tadashi Saito)
06:33 PM Bug #14176: Unclear error message when calling method with keyword arguments
Note that Ruby 2.5 improves this since #13196 if `options` has only symbol keys:
asd(42, {a:1}) # => ArgumentError: unknown keyword: a
I agree the message could still be improved as you suggest.
marcandre (Marc-Andre Lafortune)
05:21 PM Bug #14176 (Closed): Unclear error message when calling method with keyword arguments
I (wrongly) created a method with the following signature:
def asd(first, options: {}); end
(notice that options is a keyword argument)
I called the method this way:
asd(arg, options)
And got the following misleading error...
vfonic (Viktor Fonic)
04:16 PM Bug #14175 (Closed): TestResolvMDNS#test_mdns_each_address fails
I observe the following test error on Fedora builders:
~~~
1) Error:
TestResolvMDNS#test_mdns_each_address:
Errno::EPERM: Operation not permitted - sendto(2) for "224.0.0.251" port 5353
/builddir/build/BUILD/ruby-2.5.0-r6116...
vo.x (Vit Ondruch)
04:07 PM Revision f5090e2f (git): iseq.c: dump type of branchiftype on disasm
This makes easier to debug scripts related to r59950.
* before
$ ./ruby --dump=insns -e '"#{a}"'
== disasm: #<ISeq:<main>@-e>============================================
0000 putobject "" ...
k0kubun (Takashi Kokubun)
03:59 PM Revision 186732f4 (git): Document how to deal with output created by Thread.report_on_exception.
* Improve and clarify the documentation of Thread.report_on_exception
and related methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
03:47 PM Bug #14172: Cannot create snapshot
hsbt (Hiroshi SHIBATA) wrote:
> nalsh was reverted it at https://github.com/ruby/ruby/commit/4b4f7c428c86deb7fa8743173e695122d00e66b1
Thx!

> ...
Yep it works with r61214
> Note: `tool/make-snapshot` is our central toolchain fo...
vo.x (Vit Ondruch)
08:48 AM Bug #14172 (Closed): Cannot create snapshot
Hi Vit. Thanks always.
I confirmed to `make-snapshot` was broken.
https://github.com/ruby/ruby/commit/3234d6a6cba4e013cea778664ce4a8b372905ea1 is a reason for broken status.
nalsh was reverted it at https://github.com/ruby/ruby...
hsbt (Hiroshi SHIBATA)
03:36 PM Revision 3874e0d1 (git): NEWS: bigdecimal 1.3.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
03:28 PM Revision 06d36a1a (git): * 2017-12-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:28 PM Revision 61e58f7d (git): bigdecimal: version 1.3.3
Import bigdecimal version 1.3.3. The full commit log is here:
https://github.com/ruby/bigdecimal/compare/v1.3.2...v1.3.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:26 PM Bug #13848 (Assigned): BigDecimal.new('200.') raises an exception
I'm working this bug at https://github.com/ruby/bigdecimal/pull/87 mrkn (Kenta Murata)
03:24 PM Bug #13880: `BigDecimal(string)` should raise on invalid values in `string`
https://github.com/ruby/bigdecimal/issues/79 mrkn (Kenta Murata)
03:23 PM Bug #13880 (Assigned): `BigDecimal(string)` should raise on invalid values in `string`
mrkn (Kenta Murata)
02:08 PM Revision e712ad9c (git): [DOC] Fix exception class [ci skip]
ref https://github.com/rurema/doctree/pull/816
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
12:06 PM Revision 692e00f3 (git): vcs.rb: raise NotFoundError when command not found
* tool/vcs.rb (VCS#get_revisions): raise VCS::NotFoundError when
command not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:22 AM Revision e44a6f2f (git): Travis: the workaround needs sudo: required to work
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
11:13 AM Revision 6d9b55ec (git): Use the older Travis CI image
* The new one produces many warnings like:
warning: Insecure world writable dir /usr/local/clang-5.0.0/bin in PATH, mode 040777
* Workaround from https://blog.travis-ci.com/2017-12-12-new-trusty-images-q4-launch
git-svn-id: svn+ssh://...
Eregon (Benoit Daloze)
10:55 AM Revision f7fd4cb6 (git): NEWS: typo [DOC] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
10:43 AM Revision c0b6041e (git): test/ruby/test_env.rb: suppress a warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:41 AM Bug #14174 (Closed): TestProcess#test_maxgroups failures
Applied in changeset trunk|r61206.
----------
test_process.rb: fix error when empty groups
* test/ruby/test_process.rb (test_maxgroups): set one element at
least get rid of ZeroDivisionError when no process groups.
[ruby-core:84224...
nobu (Nobuyoshi Nakada)
10:40 AM Revision 15908611 (git): test_process.rb: fix error when empty groups
* test/ruby/test_process.rb (test_maxgroups): set one element at
least get rid of ZeroDivisionError when no process groups.
[ruby-core:84224] [Bug #14174]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61206 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
10:26 AM Feature #14170 (Closed): Add allbits?, anybits and nobits? to Ripper::Lexer::State
Applied in changeset trunk|r61205.
----------
Ripper::Lexer bit predicates
* ext/ripper/lib/ripper/lexer.rb (Ripper::Lexer): added allbits?,
anybits? and nobits? methods, as well as Integer. a patch by
aycabta. [Feature #14170]
nobu (Nobuyoshi Nakada)
10:26 AM Revision 32a4b080 (git): Ripper::Lexer bit predicates
* ext/ripper/lib/ripper/lexer.rb (Ripper::Lexer): added allbits?,
anybits? and nobits? methods, as well as Integer. a patch by
aycabta. [Feature #14170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61205 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
10:16 AM Revision b81ac515 (git): process.c: adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:45 AM Revision cd284f10 (git): Avoid extra output in test_thread_interrupt_for_killed_thread
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
09:13 AM Feature #14097: Add union and difference to Array
> I'm not in favor of adding methods to the core classes simply because they are useful in certain cases. If we added every method to the core classes that was useful in specific cases, we'd eventually have thousands of methods in each c... ana06 (Ana Maria Martinez Gomez)
08:38 AM Revision 4b4f7c42 (git): Revert r61054
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:47 AM Feature #13508: How remove/refactor code related mathn library.
I gave up to apply at Ruby 2.5. I try this next year. hsbt (Hiroshi SHIBATA)
05:52 AM Revision b9426859 (git): Bump version to etc-1.0.0 as default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
05:24 AM Revision 283bb70f (git): Bump version to csv-1.0.0 as default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:12 AM Feature #13984: BigDecimal should be immutable/frozen and return itself on #dup
The corresponding issue in GitHub: https://github.com/ruby/bigdecimal/issues/84 mrkn (Kenta Murata)
02:45 AM Feature #13984: BigDecimal should be immutable/frozen and return itself on #dup
I decided to make a BigDecimal is frozen and remove dup-support.
But it introduces incompatibilities, so during Ruby 2.5 period, I'll make them deprecated and issue warning messages.
mrkn (Kenta Murata)
02:43 AM Revision 1c6a0d10 (git): Modify git clone command
The previous git clone command is not work, the protocol in URL should be https
[fix GH-1772]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:38 AM Feature #14112 (Rejected): Follow style conventions for Ruby code
hsbt (Hiroshi SHIBATA)
01:55 AM Bug #5060: Executables in bin folder conflict with their gem versions.
I understood this issue. I try to resolve current specification at Ruby 2.6. hsbt (Hiroshi SHIBATA)
01:10 AM Revision 564dd286 (git): parse.y: Revert r61196
* parse.y: Because top_stmts is generated from none (not "/* none */"),
@0 is not set by YYLLOC_DEFAULT. So @0 is a meaningless location.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
12:38 AM Revision aac91cb7 (git): webrick: compile RE correctly for beginning and end match
Using ^ and $ in regexps means we can accidentally get fooled
by "%0a" in HTTP request paths being decoded to newline
characters. Use \A and \z to match beginning and end-of-string
respectively, instead.
Thanks to mame and hsbt for rep...
Eric Wong

12/12/2017

11:48 PM Revision 47f1d842 (git): parse.y: Fix the locations of an empty script
* parse.y: Fix the locations of NODE_BEGIN in
an empty script.
```
ruby --dump=p -e ''
```
* Before
```
NODE_BEGIN (line: 1, code_range: (1,1)-(1,1))
```
* After
```
NODE_BEGIN (line: 1, code_range: (1,0)-(1,0)...
yui-knk (Kaneko Yuichiro)
11:41 PM Revision d5874f0f (git): Capture the values of globals in EnvUtil to restore to the original
* Avoids the thread-safety issues mentioned in r61192,
when thread concurrently modify default Encodings or $VERBOSE.
Their state will always be the original one once the test finishes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Eregon (Benoit Daloze)
11:41 PM Revision cf4d4c32 (git): Revert r61192 and r61193
* More general fix coming.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
11:41 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
Thank you, matz.
I'll try this change after 2.5 is released.
mame (Yusuke Endoh)
09:05 AM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
I am sorry I missed this issue for a long time.
I agree with the rationale behind the proposal. I am slightly concerned about incompatibility.
So we need to experiment to measure how big the compatibility issue after changing the beh...
matz (Yukihiro Matsumoto)
10:37 PM Revision f356bd81 (git): Use EnvUtil.with_default_external in tests needing it
* Reverts part of r54522.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
09:51 PM Revision c32ce5fc (git): Do not change Encoding.default_internal in assert_raise_with_message
* It is not thread-safe: if two threads call it concurrently,
the default_internal Encoding might not be restored, which causes
many problems. The same applies for $VERBOSE, which might also not be
restored to its original value bu...
Eregon (Benoit Daloze)
09:32 PM Revision c895b54f (git): Check that global encodings are not changed in test-all
* Check that Encoding.default_internal and Encoding.default_external
are the same before and after every test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
08:09 PM Revision 3f2305f1 (git): Remove useless assertion in TestThread#test_handle_interrupt_blocking
* It was originally th.join(0.2), but th.join never returns nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
07:48 PM Revision 7cb010e3 (git): Handle exception explicitly in TestBignum#test_interrupt_during_to_s
* Otherwise it produces a warning with Thread.report_on_exception=true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
06:51 PM Feature #14143: Thread.report_on_exception should be true by default
I committed the change in r61182 and adapted test-all to fix warnings in r61188.
The tests look improved by this change, and few tests need report_on_exception = false.
I noticed oddly the main thread returns false for Thread#report_...
Eregon (Benoit Daloze)
06:43 PM Feature #14143 (Closed): Thread.report_on_exception should be true by default
Applied in changeset trunk|r61183.
----------
Set Thread.report_on_exception=true by default to report exceptions in Threads
* [Feature #14143] [ruby-core:83979]
* vm.c (vm_init2): Set Thread.report_on_exception to true.
* thread.c (th...
Eregon (Benoit Daloze)
02:07 PM Feature #14143: Thread.report_on_exception should be true by default
The current patch and progress is available at https://github.com/ruby/ruby/compare/trunk...eregon:thread_report_on_exception_by_default
Only the first commit (also attached as patch) is needed to "make exam"
We found a bug in DRb wi...
Eregon (Benoit Daloze)
01:56 PM Feature #14143: Thread.report_on_exception should be true by default
We discussed with @ko1 and @usa to add a hint to the warning produced by Thread.report_on_exception.
I am thinking to go with @usa's suggestion. The hint is between "()":
```
#<Thread:0x000055c6660d0b10@report.rb:3 run> terminated w...
Eregon (Benoit Daloze)
10:27 AM Feature #14143: Thread.report_on_exception should be true by default
matz (Yukihiro Matsumoto) wrote:
> OK, it will be merged to 2.5RC1. If something (bad) happens, we will revert it.
Thank you!
I will provide a patch as soon as possible.
Eregon (Benoit Daloze)
05:58 AM Feature #14143: Thread.report_on_exception should be true by default
Hi,
OK, it will be merged to 2.5RC1. If something (bad) happens, we will revert it.
Matz.
matz (Yukihiro Matsumoto)
06:44 PM Revision 15689ed7 (git): Fix test-all tests to avoid creating report_on_exception warnings
* The warnings are shown by Thread.report_on_exception defaulting to
true. [Feature #14143] [ruby-core:83979]
* Improves tests by narrowing down the scope where an exception
is expected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Eregon (Benoit Daloze)
06:44 PM Revision 967eab83 (git): Remove extra assert_nil in Rinda tests
* They are never executed since thread_join() raises.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
06:44 PM Revision 6671a826 (git): Fix tests which fail with extra stderr output when a Thread dies
* [Feature #14143] [ruby-core:83979].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
06:44 PM Revision 2dfbc64f (git): Rescue expected Interrupt in TupleSpaceTestModule#test_take_bug_8215
* test/rinda/test_rinda.rb (test_take_bug_8215): add rescue for
expected exception, which removes the warning by
Thread.report_on_exception [Feature #14143].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61185 b2dd03c8-39d4-4d8f...
Eregon (Benoit Daloze)
06:44 PM Bug #14171 (Closed): can't alloc thread (ThreadError) in DRbServer#main_loop
Applied in changeset trunk|r61184.
----------
Avoid creating a Thread for shutting down a DRbServer
* lib/drb/drb.rb: avoid creating a Thread and call the shutdown logic
directly. Do not try to kill or join the current Thread.
Thre...
Eregon (Benoit Daloze)
01:28 PM Bug #14171 (Closed): can't alloc thread (ThreadError) in DRbServer#main_loop
The bug can be reproduced by adding `Thread.report_on_exception = true` at the top of lib/drb/drb.rb.
```
DRbTests::TestBug4409#test_bug4409#<Thread:0x000055597db83478@ruby/lib/drb/drb.rb:1657 aborting> terminated with exception:
Tr...
Eregon (Benoit Daloze)
06:43 PM Revision ca1c3d41 (git): Avoid creating a Thread for shutting down a DRbServer
* lib/drb/drb.rb: avoid creating a Thread and call the shutdown logic
directly. Do not try to kill or join the current Thread.
Thread.new { stop_service } caused "can't alloc thread (ThreadError)",
which is shown with Thread.report...
Eregon (Benoit Daloze)
06:43 PM Revision 5a3c024d (git): Set Thread.report_on_exception=true by default to report exceptions in Threads
* [Feature #14143] [ruby-core:83979]
* vm.c (vm_init2): Set Thread.report_on_exception to true.
* thread.c (thread_start_func_2): Add indication the message is caused
by report_on_exception = true.
* spec/ruby: Specify the new behavior...
Eregon (Benoit Daloze)
04:05 PM Feature #11256: anonymous block forwarding
nobu (Nobuyoshi Nakada) wrote:
> Just to be clear, does it require both of the definition and the use, instead of only the latter?
> ...
`def foo(&)` is more self documenting so should be legal syntax, but should not be required becaus...
bughit (bug hit)
10:04 AM Feature #11256: anonymous block forwarding
Current patch.
```diff
diff --git a/parse.y b/parse.y
index 1026d5c896..2a98016002 100644
--- a/parse.y
+++ b/parse.y
@@ -347,6 +347,8 @@ static int parser_yyerror(struct parser_params*, const char*);

#define lambda_beginnin...
nobu (Nobuyoshi Nakada)
09:45 AM Feature #11256: anonymous block forwarding
Just to be clear, does it require both of the definition and the use, instead of only the latter?
I mean this is allowed:
```ruby
def foo(&)
bar(&)
end
```
but these are not:
```ruby
def foo()
bar(&)
end
def foo...
nobu (Nobuyoshi Nakada)
08:34 AM Feature #11256: anonymous block forwarding
Accepted.
Matz.
matz (Yukihiro Matsumoto)
04:00 PM Feature #14169: PATCH: File.lstat(filename).ino on Windows.
merged. thx! usa (Usaku NAKAMURA)
03:03 PM Feature #14169 (Closed): PATCH: File.lstat(filename).ino on Windows.
Applied in changeset trunk|r61180.
----------
set ino at `File.lstat` on Windows
* win32/win32.c (winnt_stat): support symbolic link and others.
* win32/win32.c (w32_stati128, wstati128, name_for_stat, rb_w32_{,ul}stati128,
wutimens...
usa (Usaku NAKAMURA)
12:22 PM Feature #14169 (Closed): PATCH: File.lstat(filename).ino on Windows.
On Unix, the return values of File.stat(filename) and File.lstat(filename)
are same when the file isn't a symbolic link. However they are different
on Windows. File.lstat(filename).ino is always zero. The attached patch
fixes File.lst...
kubo (Takehiro Kubo)
03:36 PM Bug #14174 (Closed): TestProcess#test_maxgroups failures
I observe following test error on Fedora Rawhide:
~~~
1) Failure:
TestProcess#test_maxgroups [/builddir/build/BUILD/ruby-2.5.0-r61169/test/ruby/test_process.rb:1521]:
[ArgumentError] exception expected, not.
Class: <ZeroDivision...
vo.x (Vit Ondruch)
03:24 PM Feature #14112: Follow style conventions for Ruby code
ok, it is strange for me to read a documentation with different sintaxis, but it seems that it wouldn't be easy to agree on an style and that a lot of people don't have a problem with this. So, the discussion won't take us anywhere, let'... ana06 (Ana Maria Martinez Gomez)
03:12 PM Revision 2406207c (git): struct.c: don't explain implementation details
of keyword_init option. [DOC] [ci skip]
It's implemented to take Hash, but it's just implementation detail and
it's intended to behave in the same way as keyword arguments (for
:keyword_init option too).
Also I unified coding style of ...
k0kubun (Takashi Kokubun)
03:08 PM Misc #14173 (Closed): 2017-12-14 61242 all good with MinGW
To all that are working into the evening, Appveyor is a bit backed up, I just ran a manual build of ruby-loco, and all tests passed. Next scheduled run is at 1:00 JST.
Thank you, Greg
feel free to close whenever...
```
0 Total ...
MSP-Greg (Greg L)
03:03 PM Revision 8411f58e (git): struct.c: show `keyword_init: true` on inspect
for debugging if it's specified for the Struct class.
This follows up r61137.
We don't provide a method to check it because I don't think of any use
case, but showing this to inspect would be helpful for debugging if
someone is debuggin...
k0kubun (Takashi Kokubun)
03:02 PM Revision 1dcdb868 (git): set ino at `File.lstat` on Windows
* win32/win32.c (winnt_stat): support symbolic link and others.
* win32/win32.c (w32_stati128, wstati128, name_for_stat, rb_w32_{,ul}stati128,
wutimensat): follow above change.
[Feature #14169]
From: Takehiro Kubo kubo@jiubao.org...
U.Nakamura
03:01 PM Revision c9154899 (git): Add more example of `Enumerable#one?` [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:01 PM Revision 9982bfd1 (git): pattern and modulo are not keyword argument [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:01 PM Revision 4ea549e8 (git): Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:01 PM Revision eccdc515 (git): atime,mtime,ctime of File::Stat are instance methods
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:01 PM Revision 38054f99 (git): Remove unnecessary `:`
Before:
`.../irb/init.rb:280: warning: :LoadError: cannot load such file -- hoge`
After:
`.../irb/init.rb:280: warning: LoadError: cannot load such file -- hoge`
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61175 b2dd...
znz (Kazuhiro NISHIYAMA)
03:01 PM Revision e03ea9c5 (git): Use printf instead of puts and sprintf
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:01 PM Revision 01c051f1 (git): * 2017-12-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision b9253be5 (git): [DOC] Process.last_status may return nil
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
02:54 PM Bug #5060: Executables in bin folder conflict with their gem versions.
No, this is still not resolved (testing with r61169). Only Rake (which is "bundled" gem) appears to have RubyGems generated stub which won't conflict unless RubyGems change the algorithm. The remaining executables (namely bundle, bundler... vo.x (Vit Ondruch)
02:47 PM Revision f6a1ad41 (git): parse.y: Change the last location of none
* parse.y: Change the last location of none to be
equal to the first location of none.
Sometimes none has length (`parser->tokp` does not
match `lex_p` when none is generated).
This leads to invalid code_ranges.
e.g. The locat...
yui-knk (Kaneko Yuichiro)
02:28 PM Feature #14022: String#surround
@matz
Basically, in **my** practice (I can't speak for everyone of course) chaining is almost always a better way to construct value than operators, or interpolation, or something. Mostly because it follows "natural" flow of data, and...
zverok (Victor Shepelev)
02:12 PM Feature #14022: String#surround
I see `ary.join.surround("<",">")` to be no better than `"<#{ary.join}>"` or `"<"+ary.join+">"`.
If the wrapped expression is long, you can `format("<%s>", long_expression)`. I am not sure why you are so eager to chain method calls here...
matz (Yukihiro Matsumoto)
02:22 PM Bug #14172: Cannot create snapshot
It seems that "-srcdir=." helps to workaround the issue. But I am wondering if this command is supported, since it is apparently untested? Should I use some different approach to create the snapshot tarball? vo.x (Vit Ondruch)
01:59 PM Bug #14172 (Closed): Cannot create snapshot
~~~
$ tool/make-snapshot -packages=xz tmp
Exporting trunk@61166
/builddir/ruby/tool/vcs.rb:317:in `realpath': no implicit conversion of URI::HTTP into String (TypeError)
from /builddir/ruby/tool/vcs.rb:317:in `export'
from tool/ma...
vo.x (Vit Ondruch)
02:21 PM Revision 3d6d6151 (git): parse.y: Set locations of nd_body in NODE_ITER explicitly
* parse.y: Same as r61168, but for brace_block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
02:11 PM Bug #13962 (Assigned): Change http://unicode.org to https
This commit break mswinci environment. https://rubyci.org/logs/mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20171212T111756Z.fail.html.gz
I reverted at r61169
hsbt (Hiroshi SHIBATA)
09:01 AM Bug #13962 (Closed): Change http://unicode.org to https
duerst (Martin Dürst)
02:10 PM Revision 774f650b (git): Revert "switch from http to https for Unicode data file downloads"
This reverts commit 90de118a75921a08497b41de2950971073b3c924.
The environment of mswinci couldn't handle https download.
(It's certificates problem, We should upgrade its environment)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
hsbt (Hiroshi SHIBATA)
02:10 PM Revision 46e8a8ae (git): parse.y: Set locations of nd_body in NODE_ITER explicitly
* parse.y: Currently the location of do_body is set
by new_do_body. Sometimes the last part of do_body is
none, because bodystmt ends with opt_ensure.
Token keyword_end has been looked ahead when a tokenizer
generates none, so th...
yui-knk (Kaneko Yuichiro)
01:56 PM Revision 89c7e6de (git): irb/test_init.rb: add test to ensure $0
is not changed.
At first `ARGV.unshift('something')` was suggested for r61149,
but it wasn't sufficient because it modifies $0.
Not only to preserve ARGV, but also r61149 intends to preserve $0.
This test prevents future breakage of th...
k0kubun (Takashi Kokubun)
01:47 PM Revision 64bb2b1c (git): test_struct.rb: rename constants to clarify
the intention. Follows up r61137.
They were forgotten to be renamed when :keyword_args is renamed to
:keyword_init.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:19 PM Revision bf232141 (git): ext/coverage/coverage.c: Add test cases
* ext/coverage/coverage.c (test_method_coverage_for_define_method):
Add test cases for method coverages which test do-end block
define_method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
01:07 PM Revision 1711b54b (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:07 PM Revision 6d325952 (git): NEWS: polish
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
12:52 PM Feature #14170: Add allbits?, anybits and nobits? to Ripper::Lexer::State
If this request is added, I'll add supporting it at upstream:
https://github.com/ruby/rdoc
The corresponding file:
https://github.com/ruby/rdoc/blob/b477af836237a7e2750238b01a3c05d842c28227/lib/rdoc/parser/ripper_state_lex.rb
The RDo...
aycabta (aycabta .)
12:30 PM Feature #14170 (Closed): Add allbits?, anybits and nobits? to Ripper::Lexer::State
@nobu added Ripper::Lexer::State at @60665
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/60665/diff/ext/ripper/lib/ripper/lexer.rb
and I think it's necessary for RDoc, I commented it at ruby-core:84111.
http://bl...
aycabta (aycabta .)
12:40 PM Revision 6c49079e (git): ignore lines (to catch up r61155).
* spec/ruby/library/net/ftp/return_code_spec.rb: check message body only.
* spec/ruby/library/net/http/http/set_debug_output_spec.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
12:28 PM Feature #14168 (Closed): C call to raise FrozenError
tagomoris (Satoshi Tagomori)
12:25 PM Feature #14168: C call to raise FrozenError
Naruse told me about rb_check_frozen(), and it completely works as I expected.
Please close this ticket.
tagomoris (Satoshi TAGOMORI) wrote:
> Currently we need to check the object is frozen or not by `isFrozen` and raise error (Run...
tagomoris (Satoshi Tagomori)
12:16 PM Feature #14168 (Closed): C call to raise FrozenError
Currently we need to check the object is frozen or not by `isFrozen` and raise error (RuntimeError or FrozenError) under its own responsibility.
Providing such c function makes us to write much safer code/extensions.
```c
/* now */
...
tagomoris (Satoshi Tagomori)
12:17 PM Revision d18fb887 (git): error.c(rb_error_write): Remove ec_ from its name
It's unrelated to rb_execution_context_t during writing the patch
r61154
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
12:12 PM Feature #14142 (Closed): Add Method#===
Applied in changeset trunk|r61158.
----------
Add Method#=== that invokes #call
Patch by osyo via [Feature #14142]
Anonymous
08:25 AM Feature #14142: Add Method#===
LGTM.
Matz.
matz (Yukihiro Matsumoto)
12:12 PM Revision 29e1f56e (git): NEWS for Method#===
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
12:12 PM Revision 3baa1d23 (git): Unneeded assertion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
12:12 PM Revision 476a539f (git): Add Method#=== that invokes #call
Patch by osyo via [Feature #14142]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
12:10 PM Feature #12882 (Closed): Add caller/file/line information to internal Kernel#warn calls
Applied in changeset trunk|r61156.
----------
NEWS entry for [Feature #12882]
shyouhei (Shyouhei Urabe)
12:44 AM Feature #12882: Add caller/file/line information to internal Kernel#warn calls
The previously posted patch still applies and the tests still pass with it. I would like to get this committed before 2.5.0, as it makes the change for `Kernel#warn` to call `Warning.warn` (#12944) much more useful. jeremyevans0 (Jeremy Evans)
12:10 PM Revision 2ce0847e (git): hotfix implicit-function-declaration
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
12:10 PM Revision 9fa87ebe (git): NEWS entry for [Feature #12882]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
11:58 AM Feature #13731: inode for Windows on ReFS
確認ありがとうございました。警告も消しておきました。 usa (Usaku NAKAMURA)
11:16 AM Feature #13731: inode for Windows on ReFS
ReFS と NTFS 上での `File.stat(filename).ino` の値と、GetFileInformationByHandleEx()を使って得た FILE_ID_128 の値が一致することを確認しました。コンパイル時の以下の warning 以外は問題なしです。
~~~
compiling win32/win32.c
win32/win32.c: In function 'get_ino':
win32/win32.c:5445:11: ...
kubo (Takehiro Kubo)
11:56 AM Revision f2a91397 (git): Add uplevel keyword to Kernel#warn and use it
If uplevel keyword is given, the warning message is prepended
with caller file and line information and the string "warning: ".
The use of the uplevel keyword makes Kernel#warn format output
similar to how rb_warn formats output.
This p...
shyouhei (Shyouhei Urabe)
11:47 AM Feature #14141 (Closed): Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
Applied in changeset trunk|r61154.
----------
error.c(exc_full_message): Exception#full_message
Add a method to retrieve a String expression of an exception,
formatted in the same way that Ruby prints an uncaught exception out.
[Featu...
sorah (Sorah Fukumori)
07:42 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
Hi,
`full_message` is approved.
Matz.
matz (Yukihiro Matsumoto)
07:28 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
In [DeveloperMeeting20171212Japan]. We concluded to add `Exception#formatted` in the proposed patch, as `#full_message` in Ruby 2.5
Several considerations are pointed out:
- Q. Does the method interact with `$stderr.tty?` ?
- Ye...
sorah (Sorah Fukumori)
07:10 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
How about Exception#long_message or full_message ? akr (Akira Tanaka)
11:47 AM Revision 0d771889 (git): error.c(exc_full_message): Exception#full_message
Add a method to retrieve a String expression of an exception,
formatted in the same way that Ruby prints an uncaught exception out.
[Feature #14141]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61154 b2dd03c8-39d4-4d8f-98ff-823fe6...
sorah (Sorah Fukumori)
11:43 AM Revision 838f23ae (git): remove unused variable
thanks kubo-san. c.f. [ruby-dev:50345]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:33 AM Feature #13224 (Closed): Add FrozenError as a subclass of RuntimeError
Applied in changeset trunk|r61152.
----------
NEWS entry for FrozenError [Feature #13224]
shyouhei (Shyouhei Urabe)
12:49 AM Feature #13224: Add FrozenError as a subclass of RuntimeError
Sorry, I missed this patch. Applied just now. shyouhei (Shyouhei Urabe)
12:26 AM Feature #13224: Add FrozenError as a subclass of RuntimeError
Only two weeks until the release of 2.5.0, and this hasn't been merged yet. I've tested and the patch still applies and the tests still pass. jeremyevans0 (Jeremy Evans)
11:33 AM Revision 27c7d498 (git): NEWS entry for FrozenError [Feature #13224]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
11:32 AM Revision 4fe2ca38 (git): irb/init.rb: make sure ARGV refers to toplevel one
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
11:26 AM Feature #13173: Gemify webrick
Note: You can build webrick gem with `gem build lib/webrick/webrick.gemspec` on root directory of ruby repository. hsbt (Hiroshi SHIBATA)
11:25 AM Feature #13173 (Assigned): Gemify webrick
Hi, Eric.
I added owner grant of webrick gem to you.
https://rubygems.org/gems/webrick
Can you release v1.4.0 or v2.0.0 from current trunk revision before Ruby 2.5 release day(Dec 25)?
hsbt (Hiroshi SHIBATA)
11:25 AM Bug #14162 (Closed): Invoking binding.irb destructively shifts ARGV
Applied in changeset trunk|r61149.
----------
irb.rb: preserve ARGV on binding.irb
This is not perfectly good solution (at least we don't want to have ARGV
as default value of `argv` argument), but unfortunately IRB.setup and
IRB.parse...
k0kubun (Takashi Kokubun)
11:25 AM Revision 660d2d99 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:25 AM Revision da1ba137 (git): irb.rb: preserve ARGV on binding.irb
This is not perfectly good solution (at least we don't want to have ARGV
as default value of `argv` argument), but unfortunately IRB.setup and
IRB.parse_opts are public methods and we can't make breaking change to
those methods.
We may ...
k0kubun (Takashi Kokubun)
11:11 AM Feature #13248 (Closed): Gemify gdbm
Released at r61052 hsbt (Hiroshi SHIBATA)
11:00 AM Feature #5455: $SAFE should be removed
We should warn to use `$SAFE = 1` at Ruby 2.6 for Ruby 3.0. hsbt (Hiroshi SHIBATA)
10:58 AM Feature #13197 (Closed): Gemify fileutils
Applied in changeset trunk|r61148.
----------
Bump version to fileutils-1.0.1.
Update source code url metadata on rubygems.org.
[Feature #13197][ruby-core:79455]
hsbt (Hiroshi SHIBATA)
10:57 AM Revision 8d1d4e31 (git): Bump version to fileutils-1.0.1.
Update source code url metadata on rubygems.org.
[Feature #13197][ruby-core:79455]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
10:17 AM Feature #14151: Make Matrix#[]= public method
Intuitively I agree all numeric *values* should be immutable.
I'm less sure about "collections" of such numeric values, like Matrix or Vector (not just a fixed number of Integer/Float components like Rational/Complex).
All built-in c...
Eregon (Benoit Daloze)
02:08 AM Feature #14151: Make Matrix#[]= public method
It is difficult for me to explain that all numeric objects are (basically) immutable because it looks obvious to me... "The Ruby Programming Language" by David Flanagan, Yukihiro Matsumoto, says:
> All numeric objects are immutable; ...
mame (Yusuke Endoh)
09:12 AM Feature #12753 (Closed): Useful operator to check bit-flag is true or false
Applied in changeset trunk|r61147.
----------
Integer#allbits?, Integer#anybits?, Integer#nobits? [Feature #12753]
naruse (Yui NARUSE)
09:12 AM Revision 0da34dbb (git): Integer#allbits?, Integer#anybits?, Integer#nobits? [Feature #12753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:01 AM Revision 91df3e9b (git): Bump version to fileutils-1.0.0 as default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:00 AM Feature #14043 (Closed): Introduce Process.last_status as an alias for $?
Applied in changeset trunk|r61143.
----------
process.c: add Process.last_status
* process.c (proc_s_last_status): add Process.last_status
[ruby-core:83514] [Feature #14043]
* test/ruby/test_process.rb (test_last_status): add a test...
mrkn (Kenta Murata)
08:17 AM Feature #14043: Introduce Process.last_status as an alias for $?
LGTM.
Matz.
matz (Yukihiro Matsumoto)
09:00 AM Revision 90de118a (git): switch from http to https for Unicode data file downloads
(patch from MSP-Greg (Greg L), this closes issue #13962)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
09:00 AM Revision 8adf1103 (git): NEWS: mention Process.last_status
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
09:00 AM Revision 8624cec9 (git): process.c: add Process.last_status
* process.c (proc_s_last_status): add Process.last_status
[ruby-core:83514] [Feature #14043]
* test/ruby/test_process.rb (test_last_status): add a test case for
Process.last_status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
Kenta Murata
08:59 AM Feature #14052: Introduce SecureRandom.with_chars
I'd vote for `SecureRandom.random_chars(len=16, candidate_chars)`. knu (Akinori MUSHA)
08:49 AM Feature #14052: Introduce SecureRandom.with_chars
This function is called "sampling with replacement" in mathematics and statistics. mrkn (Kenta Murata)
08:47 AM Feature #14052: Introduce SecureRandom.with_chars
I don't like the name `with_chars`. It doesn't describe the intention and the behavior of the method.
Matz.
matz (Yukihiro Matsumoto)
08:54 AM Revision 79c2e6ec (git): parse.y: Fix the locations of NODE_ITER (cmd_brace_block)
* parse.y: Update the locations of NODE_ITER
when nd_iter is determined.
```
a (1) {|i|}
```
* Before
```
NODE_ITER (line: 1, code_range: (1,6)-(1,10))
```
* After
```
NODE_ITER (line: 1, code_range: (1,0)-(1,1...
yui-knk (Kaneko Yuichiro)
08:44 AM Misc #13974 (Closed): Make sure Unicode files are only downloaded once, not repeatedly, for continuous integration
hsbt (Hiroshi SHIBATA) wrote:
> I confirmed that we didn't download unicode files on Travis CI.
Thanks for checking. So I'm closing this issue.
duerst (Martin Dürst)
08:40 AM Feature #4288 (Closed): Allow invoking arbitrary method names with foo."something" syntax
I thought I have closed this issue long ago. Use `send`.
Matz.
matz (Yukihiro Matsumoto)
08:35 AM Feature #14129: Feature Request: sockets - add support for recvmmsg
Is it possible to implement recvmmsg using other (popular) system calls? akr (Akira Tanaka)
08:35 AM Revision a6a1d7ab (git): mention support of emoji-related Unicode character properties in NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
08:34 AM Bug #14163 (Closed): Pages of rdoc include files which are not documents
I ignored them at r61140 hsbt (Hiroshi SHIBATA)
08:34 AM Revision 47506881 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:34 AM Revision 84db29ce (git): Ignore gemspec under the lib directory for documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:31 AM Feature #6707 (Rejected): Remove checks for Ruby 1.9 in trunk
This feature already applied other changes like r47095. hsbt (Hiroshi SHIBATA)
08:27 AM Revision ed682479 (git): NEWS: add entry for r61137
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
08:16 AM Feature #11925: Struct construction with kwargs
As Matz approved, I committed only keyword_init option which is equivalent to "Point.create(x: 1, y: 2)" in original suggestion. If you still want "Point.create!" version which raises ArgumentError (keyword_init initializes unspecified f... k0kubun (Takashi Kokubun)
08:12 AM Feature #11925 (Closed): Struct construction with kwargs
Applied in changeset trunk|r61137.
----------
struct.c: add keyword_init option to Struct.new
to initialize struct with keyword arguments.
[Feature #11925] [close GH-1771]
k0kubun (Takashi Kokubun)
08:06 AM Feature #11925: Struct construction with kwargs
knu (Akinori MUSHA) wrote:
> What if `Struct.new([:a, :b])` created a class with the desired constructor?
If you'd compare the two possible constructors:
```ruby
Struct.new(:a, :b)
Struct.new([:a, :b])
```
There is nothing in ...
herwin (Herwin W)
07:54 AM Feature #11925: Struct construction with kwargs
I vote for the keyword argument (e.g. `keyword_init:`) to `Struct#new`.
Matz.
matz (Yukihiro Matsumoto)
07:42 AM Feature #11925: Struct construction with kwargs
What if `Struct.new([:a, :b])` created a class with the desired constructor? knu (Akinori MUSHA)
08:12 AM Feature #13272 (Closed): Keyword argument to instantiate a subclass of Struct
Applied in changeset trunk|r61137.
----------
struct.c: add keyword_init option to Struct.new
to initialize struct with keyword arguments.
[Feature #11925] [close GH-1771]
k0kubun (Takashi Kokubun)
08:12 AM Revision 02015974 (git): struct.c: add keyword_init option to Struct.new
to initialize struct with keyword arguments.
[Feature #11925] [close GH-1771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
08:09 AM Feature #13847 (Assigned): Gem activated problem for default gems
hsbt (Hiroshi SHIBATA)
06:22 AM Bug #14015: Enumerable & Hash yielding arity
Hi,
I admit inconsistency exists. The behavior has changed time to time.
I will make the compromise to minimize the confusion. But we need some time.
Matz.
matz (Yukihiro Matsumoto)
06:15 AM Revision a679472c (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:15 AM Revision 0d862f34 (git): * remove trailing spaces, append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:15 AM Revision a1a20cfa (git): Merge 1-16-stable branch of bundler.
It's rc version for bundler-1.16.1. I'm going to update it version
after official release from bundler team.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
05:46 AM Bug #8352: URI squeezes a sequence of slashes in merging paths when it shouldn't
Naruse-san, could you review the attached patch? knu (Akinori MUSHA)
05:42 AM Bug #14165 (Closed): 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
Thank you for checking, Greg! usa (Usaku NAKAMURA)
05:39 AM Bug #14167 (Closed): Segmentation fault with Vagrant 2.0.1
Please look at the attached logfile for details. Philip (Philip Kirchhoff)
01:13 AM Revision f1c33950 (git): parse.y: Fix locations of NODE_ARRAY of mlhs_head
* parse.y: Fix to only include a range of mlhs_item
(exclude ',' form range).
e.g. The locations of the NODE_ARRAY is fixed:
```
(a,) = 1,2
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,1)-(1,3))
```
* Aft...
yui-knk (Kaneko Yuichiro)
12:56 AM Revision a1061f55 (git): catch up r61131.
* spec/ruby/core/kernel/autoload_spec.rb: should use FrozenError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
12:46 AM Revision b57915ed (git): Add FrozenError as a subclass of RuntimeError
FrozenError will be used instead of RuntimeError for exceptions
raised when there is an attempt to modify a frozen object. The
reason for this change is to differentiate exceptions related
to frozen objects from generic exceptions such a...
shyouhei (Shyouhei Urabe)
12:28 AM Revision 0b31ce00 (git): parse.y: Fix locations of NODE_ARRAY in NODE_CALL(:=~)
* parse.y (match_op_gen): Fix to only include a range of node2.
e.g. The locations of the NODE_ARRAY is fixed:
```
re =~ s1
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,0)-(1,8))
```
* After
```
NODE_A...
yui-knk (Kaneko Yuichiro)
12:20 AM Revision 9b1d8ab7 (git): ext/coverage/coverage.c: remove COVERAGE_EXPERIMENTAL_MODE
A NEWS entry is also added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:12 AM Revision e44f2b7d (git): parse.y: Fix locations of NODE_ARRAY of opt_call_args
* parse.y: Fix to only include a range of assocs
(exclude ',' form range).
e.g. The locations of the NODE_ARRAY is fixed:
```
m1(str: "bar",)
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,3)-(1,14))
```
* ...
yui-knk (Kaneko Yuichiro)

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)
 

Also available in: Atom