Project

General

Profile

Activity

From 03/25/2018 to 03/31/2018

03/31/2018

03:51 PM Bug #14655 (Closed): new TestTimeTZ test failures
~~~
$ make test-all TESTS=test/ruby/test_time_tz.rb
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./to...
terceiro (Antonio Terceiro)
03:48 PM Revision abb19b13 (git): * 2018-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:48 PM Revision baabfa3f (git): compile.c: compile_evstr
* compile.c (compile_evstr): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63051...
nobu (Nobuyoshi Nakada)
03:48 PM Revision 6b346a7c (git): compile.c: end_label
* compile.c (compile_if): branch to end_label is not used if
else_seq is not used.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
03:43 PM Feature #14624: #{nil} allocates a fresh empty string each time
https://github.com/nobu/ruby/tree/feature/opt_to_s nobu (Nobuyoshi Nakada)
02:26 PM Bug #10364 (Rejected): Malformed CSV Header Causes NoMethodError
It seems that this has been fixed in master.
If someone knows a script that reproduces this case, you can attach the...
kou (Kouhei Sutou)
02:22 PM Feature #4017 (Rejected): [PATCH] CSV parsing speedup
OK. I close this. kou (Kouhei Sutou)
01:50 PM Revision 4b1fbbe9 (git): merge revision(s) 63048: [Backport #14654]
Resurvey performance of RDoc by frozen_string_literal: true [Bug #14654]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
naruse (Yui NARUSE)
01:48 PM Bug #14654 (Closed): Resurvey performance of RDoc by frozen_string_literal: true
Applied in changeset trunk|r63048.
----------
Resurvey performance of RDoc by frozen_string_literal: true [Bug #14654]
naruse (Yui NARUSE)
01:39 PM Bug #14654 (Closed): Resurvey performance of RDoc by frozen_string_literal: true
I added "frozen_string_literal: true" to RDoc by https://github.com/ruby/rdoc/pull/551. Back then, I reported "It red... aycabta (aycabta .)
01:48 PM Revision d3d40e99 (git): Resurvey performance of RDoc by frozen_string_literal: true [Bug #14654]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:11 AM Revision 36b6f5cc (git): use requrie_relative
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:00 AM Bug #14589 (Rejected): "No implicit conversion of XXX to string" asserion should be handled with an explicit string conversion, and it should be a warning not an assertion
It's not a good idea to hide a failure and continue with a garbage. nobu (Nobuyoshi Nakada)
10:56 AM Bug #14588 (Rejected): math library functions should NOT raise exceptions
Anon92929 (Anon Ymous) wrote:
> NaN should not be an exception. No form of NaN should an exception, it should just b...
nobu (Nobuyoshi Nakada)
10:34 AM Revision 16c0e171 (git): use require_relative
* spec/ruby/core/file/ftype_spec.rb: use require_relative which
resolves symbolic links consistently to git rid of ...
nobu (Nobuyoshi Nakada)
06:05 AM Revision 40e94372 (git): file_types.rb: use the current terminal device
* spec/ruby/core/file/fixtures/file_types.rb (configure_types):
try the current standard input terminal device firs...
nobu (Nobuyoshi Nakada)
02:29 AM Revision d0775a11 (git): test/lib/leakchecker.rb: Add check_verbose
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:16 AM Bug #14634: Queue#push seems to crash after fork
Hello @normalperson,
The customer just sent me another crasher report (segfault). It happens in another location i...
zetaben (Benoit Larroque)
12:40 AM Bug #14060 (Closed): SecurityError with $SAFE=1 when requiring an untainted path
nobu (Nobuyoshi Nakada)

03/30/2018

10:53 PM Feature #14605: Remove `original_iseq` from `rb_iseq_constant_body`
ko1 (Koichi Sasada) wrote:
> > but we don't use the encoded instructions very often, and this patch 1) ensures that ...
tenderlovemaking (Aaron Patterson)
10:00 PM Bug #14060 (Open): SecurityError with $SAFE=1 when requiring an untainted path
This bug is now showing up as a regression in version 2.4.4 (it didn't occur in version 2.4.3):
~~~ ruby
irb(main...
philr3 (Phil Ross)
06:07 PM Bug #14642: Fiber make crash on Windows - webrick/httpproxy.rb ?
I did a vc14 build (`ruby 2.6.0dev (2018-03-31 trunk 63043) [x64-mswin64_140]`), it behaves the same as the MinGW bui... MSP-Greg (Greg L)
03:08 PM Revision a88a03e6 (git): * 2018-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 378c0bcd (git): test_jit.rb: loosen CC check condition
see also: r63037. Probably it was not enough.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63042 b2dd03c8-39d4-...
k0kubun (Takashi Kokubun)
01:48 PM Revision 5dfd225c (git): dir.c: Dir.glob example
* dir.c (dir_s_glob): [DOC] added an example of Dir.glob using
pattern list. [ci skip]
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
01:38 PM Feature #14643: Remove problematic separator '\0' of Dir.glob and Dir.[]
I've missed to set `warned` flag, and rubyspec shows the warning.
```diff
diff --git a/spec/ruby/core/dir/shared/...
nobu (Nobuyoshi Nakada)
01:28 PM Feature #14643: Remove problematic separator '\0' of Dir.glob and Dir.[]
```diff
diff --git a/dir.c b/dir.c
index 6d2bedf557..432db031e9 100644
--- a/dir.c
+++ b/dir.c
@@ -2536,6 +2536,...
nobu (Nobuyoshi Nakada)
11:13 AM Feature #14643: Remove problematic separator '\0' of Dir.glob and Dir.[]
If it is to be removed, and it is decided to remove in ruby3,
perhaps a warning could be shown in next upcoming rele...
shevegen (Robert A. Heiler)
06:52 AM Feature #14625: yield_self accepts an argument, calling to_proc
shevegen,
That's what I meant to say. Thank you.
irohiroki (Hiroki Yoshioka)
06:49 AM Feature #14625: yield_self accepts an argument, calling to_proc
zverok,
Answer 1.
~~~ ruby
.yield_self(method :filter1)
~~~
is shorter than
~~~ ruby
.yield_self(&meth...
irohiroki (Hiroki Yoshioka)
05:15 AM Bug #14553 (Closed): Maybe this is too early for this but i encountered issues when using jit with rails
Applied in changeset trunk|r63040.
----------
compile.c: do not dump unused callinfos
* compile.c (compile_if): rew...
nobu (Nobuyoshi Nakada)
04:49 AM Bug #14553 (Open): Maybe this is too early for this but i encountered issues when using jit with rails
nobu (Nobuyoshi Nakada)
03:27 AM Bug #14553: Maybe this is too early for this but i encountered issues when using jit with rails
Also
```
$ cat t.rb
if false
foo(bar: :baz)
end
$ ruby -e 'RubyVM::InstructionSequence.compile_file("t.rb...
ksss (Yuki Kurihara)
03:22 AM Bug #14553: Maybe this is too early for this but i encountered issues when using jit with rails
Hi.
I also encountered the same problem.
And I was able to create a very short reproduction code.
```
$ cat t.r...
ksss (Yuki Kurihara)
05:15 AM Revision 484cc6b3 (git): compile.c: do not dump unused callinfos
* compile.c (compile_if): rewind callinfo indexes used in
unreachable paths, to get rid of dumping unused callinfos...
nobu (Nobuyoshi Nakada)
04:14 AM Bug #14651: Building 2.5.1p57 with -flto fails on gcc 5.4.0
Seems compiling with correct headers but linking against wrong library.
Does it occur without `-flto` option, and wi...
nobu (Nobuyoshi Nakada)
02:52 AM Revision c4935036 (git): * 2018-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:52 AM Revision 07889292 (git): ruby.1: [DOC] options to exit [ci skip]
* man/ruby.1: `--copyright` and `--version` quit immediately, and
also `--verbose` if no scripts are given.
[ruby...
nobu (Nobuyoshi Nakada)

03/29/2018

11:20 PM Bug #14653 (Closed): Bootsnap gets segmentation fault
# Steps to reproduce
~~~ ruby
$ rbenv install 2.6.0-dev
$ rbenv global 2.6.0-dev
$ gem install bundler
$ git c...
yahonda (Yasuo Honda)
04:08 PM Bug #14652: ruby -e "p ARGV" **/* is reasonably but slow
double quoted string "**/*" is the same
but solved by single quoted string argument '**/*'
sanae (Sanae Artoria)
03:47 PM Bug #14652 (Rejected): ruby -e "p ARGV" **/* is reasonably but slow
~~~ ruby
C:\Users\Administrator>ruby -e "p ARGV" **/*
~~~
Runs slow because it globs all things in it as well ...
sanae (Sanae Artoria)
04:02 PM Feature #14559: ENV.slice
I've re-submitted the patch with correct test order (https://github.com/ruby/ruby/pull/1844). Thanks, Matz, Mame and ... Benoit_Tigeot (Benoit Tigeot)
01:14 AM Feature #14559 (Assigned): ENV.slice
hsbt (Hiroshi SHIBATA)
03:47 PM Bug #14642: Fiber make crash on Windows - webrick/httpproxy.rb ?
Apologies for the previous post, it's not the clearest...
If the above listed tests are disabled, testing the open...
MSP-Greg (Greg L)
01:37 PM Bug #14642: Fiber make crash on Windows - webrick/httpproxy.rb ?
I noticed this with ruby-loco MinGW on 62969. I did some checking last night (-0500), and rechecked this morning usi... MSP-Greg (Greg L)
03:17 AM Bug #14642 (Closed): Fiber make crash on Windows - webrick/httpproxy.rb ?
We found that r62966 causes crash on Windows.
Of course, the patch seems to be no problem, so I guess that this code...
usa (Usaku NAKAMURA)
03:38 PM Bug #14641: Shouldn't Array#map not modify its array?
jeremyevans0 (Jeremy Evans) wrote:
> The array itself is not modified, you are mutating elements of the current arra...
hartator (Julien Khaleghy)
03:06 PM Bug #14633: The behavior of command option `--verbose` is different from its help message
nobu (Nobuyoshi Nakada) wrote:
> The behavior is correct, as ruby(1) says:
> > --verbose Enables verbos...
znz (Kazuhiro NISHIYAMA)
12:37 PM Revision 46b391ff (git): test_jit.rb: loosen debug log check
We couldn't catch log with
https://gist.github.com/ko1/0fdc6a8d4add70cd8648000b16a3da38#file-brlog-trunk_gcc6-2018032...
k0kubun (Takashi Kokubun)
12:15 PM Revision 753aa753 (git): bump up teeny version to 2.4.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@63036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
10:05 AM Revision 2ba6862f (git): merge revision(s) 61470:
Add ruby_2_5 branch to .travis.yml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@63035 b2dd03c8-39d4...
naruse (Yui NARUSE)
06:20 AM Bug #14651 (Feedback): Building 2.5.1p57 with -flto fails on gcc 5.4.0
Seems the check for `rb_sym2str` failed.
Please show ext/bigdecimal/mkmf.log file.
nobu (Nobuyoshi Nakada)
05:09 AM Bug #14651 (Closed): Building 2.5.1p57 with -flto fails on gcc 5.4.0
~~~ bash
cflags='-march=native -flto -pipe' rvm reinstall 2.5.1 --disable-binary
~~~
~~~ bash
gcc -v
Using b...
glebm (Gleb Mazovetskiy)
06:04 AM Bug #14650: Remove problematic separator '\0' of Dir.glob and Dir.[]
中村さん、こんにちは。

おそらく中村さんのではなくて、ブラウザですが、同じバグを10個も作りました。
(https://bugs.ruby-lang.org/issues/14643 から
https://bugs.rub...
duerst (Martin Dürst)
04:52 AM Bug #14650 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
hsbt (Hiroshi SHIBATA)
04:13 AM Bug #14650 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
`Dir.glob` and `Dir.[]` accepts `'\0'` separated string as the parameter,
but this feature is very problematic.
Sho...
usa (Usaku NAKAMURA)
05:56 AM Revision 97e6aaca (git): dir.c: do not assume NUL terminator
* dir.c (rb_push_glob): do not assume string is NUL terminated
always, shared substring may not in the future.
git...
nobu (Nobuyoshi Nakada)
05:41 AM Bug #14639: Array#map and lambda arity regression
That was incredibly quick. Thanks @nobu and @marcandre! :) lenwood (Paul Martensen)
12:05 AM Bug #14639 (Closed): Array#map and lambda arity regression
Applied in changeset trunk|r63030.
----------
array.c: yield blockarg in collect
* array.c (rb_ary_collect): yield ...
nobu (Nobuyoshi Nakada)
04:52 AM Bug #14649 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
hsbt (Hiroshi SHIBATA)
03:58 AM Bug #14649 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
`Dir.glob` and `Dir.[]` accepts `'\0'` separated string as the parameter,
but this feature is very problematic.
Sho...
usa (Usaku NAKAMURA)
04:52 AM Bug #14648 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
hsbt (Hiroshi SHIBATA)
03:54 AM Bug #14648 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
`Dir.glob` and `Dir.[]` accepts `'\0'` separated string as the parameter,
but this feature is very problematic.
Sho...
usa (Usaku NAKAMURA)
04:52 AM Bug #14647 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
hsbt (Hiroshi SHIBATA)
03:53 AM Bug #14647 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
`Dir.glob` and `Dir.[]` accepts `'\0'` separated string as the parameter,
but this feature is very problematic.
Sho...
usa (Usaku NAKAMURA)
04:52 AM Bug #14646 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
hsbt (Hiroshi SHIBATA)
03:52 AM Bug #14646 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
`Dir.glob` and `Dir.[]` accepts `'\0'` separated string as the parameter,
but this feature is very problematic.
Sho...
usa (Usaku NAKAMURA)
04:46 AM Feature #14645 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
hsbt (Hiroshi SHIBATA)
03:52 AM Feature #14645 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
`Dir.glob` and `Dir.[]` accepts `'\0'` separated string as the parameter,
but this feature is very problematic.
Sho...
usa (Usaku NAKAMURA)
04:40 AM Feature #14644 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
hsbt (Hiroshi SHIBATA)
03:52 AM Feature #14644 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
`Dir.glob` and `Dir.[]` accepts `'\0'` separated string as the parameter,
but this feature is very problematic.
Sho...
usa (Usaku NAKAMURA)
04:37 AM Bug #14634: Queue#push seems to crash after fork
> I guess we missed the merge window for 2.5.1
Too bad! next time one then !
>
> Fwiw, I consider doing fork...
zetaben (Benoit Larroque)
03:52 AM Feature #14643 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
`Dir.glob` and `Dir.[]` accepts `'\0'` separated string as the parameter,
but this feature is very problematic.
Sho...
usa (Usaku NAKAMURA)
03:42 AM Revision 9c5d90b5 (git): Use only CMDARG/COND _PUSH/POP for cmdarg/cond management.
From: Ilya Bylich <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63033 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
01:39 AM Bug #14432: Ruby crashes with "[BUG] pthread_mutex_destroy: Device or resource busy (EBUSY)"
This issue is no longer reproduced after upgrading Ruby to v2.5.0, as normalperson predicted. Thanks. gfx (Goro FUJI)
01:33 AM Revision e5a30879 (git): parse.y: remove `p->` from bitstack traces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:05 AM Revision ef44838d (git): * 2018-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:05 AM Revision e42f4ae7 (git): array.c: yield blockarg in collect
* array.c (rb_ary_collect): yield in block argument semantics
always to splat array elements to lambda, for the bac...
nobu (Nobuyoshi Nakada)

03/28/2018

10:01 PM Bug #14641 (Rejected): Shouldn't Array#map not modify its array?
The array itself is not modified, you are mutating elements of the current array during iteration (as String#<< mutat... jeremyevans0 (Jeremy Evans)
09:54 PM Bug #14641 (Rejected): Shouldn't Array#map not modify its array?
Hi,
Thanks for the awesome work you guys have been doing on Ruby for all this years.
I might be missing someth...
hartator (Julien Khaleghy)
09:52 PM Bug #14634: Queue#push seems to crash after fork
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > That seem to have fixed it! Newbie question...
normalperson (Eric Wong)
08:21 AM Bug #14634: Queue#push seems to crash after fork
[email protected] wrote:
> That seem to have fixed it! Newbie question, do you plan to backport it to 2.5.x series a...
normalperson (Eric Wong)
04:45 PM Revision 56765c55 (git): p57
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@63027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:44 PM Revision 74af0a58 (git): * 2018-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@63026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:44 PM Revision 5da448fd (git): revert r62985 (r62966 in trunk)
It breaks test-all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@63025 b2dd03c8-39d4-4d8f-98ff-823f...
naruse (Yui NARUSE)
04:41 PM Feature #14392: Pipe operator
this important feature discussion has been derailed by a bad description/justification
the purpose of the pipe ope...
bughit (bug hit)
04:18 PM Bug #14640 (Assigned): [win32] File.realpath treats a relative path with a drive letter as an absolute path.
When `t` exists in the current directory under the drive C:,
```ruby
File.realpath("c:t") #=> No such file or dir...
nobu (Nobuyoshi Nakada)
02:50 PM Revision bbda1a02 (git): merge revision(s) 62968:
webrick: prevent response splitting and header injection
Original patch by tenderlove (with minor style adju...
U.Nakamura
02:47 PM Revision a4562266 (git): merge revision(s) 62960-62965:
webrick: use IO.copy_stream for multipart response
Use the new Proc response body feature to generate a mult...
U.Nakamura
02:44 PM Revision 19cb3fa9 (git): merge revision(s) 60584,62954-62959,63008:
webrick: support Proc objects as body responses
* lib/webrick/httpresponse.rb (send_body): call send_body_pr...
U.Nakamura
02:38 PM Revision 4cd92d7b (git): merge revision(s) 62992:
pack.c: fix underflow
* pack.c (pack_unpack_internal): get rid of underflow.
https://hackerone.com...
U.Nakamura
02:36 PM Revision 47165eed (git): merge revision(s) 62991,63000:
unixsocket.c: check NUL bytes
* ext/socket/unixsocket.c (rsock_init_unixsock): check NUL bytes.
ht...
U.Nakamura
02:34 PM Revision e9ddf2ba (git): merge revision(s) 62990:
Ignore file separator from tmpfile/tmpdir name.
From: SHIBATA Hiroshi <[email protected]>
git-svn-id: svn+...
U.Nakamura
02:27 PM Revision 143eb22f (git): merge revision(s) 62989:
dir.c: check NUL bytes
* dir.c (GlobPathValue): should be used in rb_push_glob only.
other methods...
U.Nakamura
02:13 PM Revision d32a6d37 (git): merge revision(s) 60584,62954-62959,63008:
webrick: support Proc objects as body responses
* lib/webrick/httpresponse.rb (send_body): call send_body_pr...
U.Nakamura
02:08 PM Bug #14639: Array#map and lambda arity regression
Good checking.
Indeed, #9605 introduced lambda arity relaxation and this announced in the 2.2 NEWS.
Looks like ...
marcandre (Marc-Andre Lafortune)
10:03 AM Bug #14639 (Closed): Array#map and lambda arity regression
From ruby 2.4.1 onward the following script breaks (ArgumentError):
~~~ ruby
print_three = ->(a, b, c) { puts [a,...
lenwood (Paul Martensen)
01:54 PM Revision c461bdc3 (git): merge revision(s) 60584,62954,62955,62956,62957,62958,62959,63008:
webrick: support Proc objects as body responses
* lib/webrick/httpresponse.rb (send_body): call send_body_pr...
nagachika (Tomoyuki Chikanaga)
01:46 PM Revision 1bcd33fe (git): merge revision(s) 63008:
get rid of test error/failure on Windows introduced at r62955
* lib/webrick/httpresponse.rb (send_body_io): ...
naruse (Yui NARUSE)
01:45 PM Revision 543519d0 (git): Revert wrong commit r62976-r62978
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@63010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:43 PM Revision dce9e1b2 (git): merge revision(s) 63000:
unixsocket.c: abstract namespace
* ext/socket/unixsocket.c (unixsock_path_value): fix r62991 for
L...
naruse (Yui NARUSE)
01:27 PM Revision c1718e98 (git): get rid of test error/failure on Windows introduced at r62955
* lib/webrick/httpresponse.rb (send_body_io): use seek if NotImplementedError
is raised in IO.copy_stream with offs...
U.Nakamura
12:54 PM Revision 6cb2d4b9 (git): fix r62970 as r62990
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@63007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:50 PM Revision 84afd795 (git): merge revision(s) 62953-62959:
win32/file.c: relative path with drive letter
* win32/file.c (IS_ABSOLUTE_PATH_P): home directory should not...
naruse (Yui NARUSE)
12:24 PM Revision 32c00d78 (git): merge revision(s) 63000:
unixsocket.c: abstract namespace
* ext/socket/unixsocket.c (unixsock_path_value): fix r62991 for
L...
U.Nakamura
12:23 PM Revision 16b426e9 (git): merge revision(s) 62960,62961,62962,62963,62964,62965:
webrick/httprequest: limit request headers size
We use the same 112 KB limit started (AFAIK) by Mongrel, Thi...
nagachika (Tomoyuki Chikanaga)
12:07 PM Revision f0e1b959 (git): merge revision(s) 62991,63000:
unixsocket.c: check NUL bytes
* ext/socket/unixsocket.c (rsock_init_unixsock): check NUL bytes.
ht...
nagachika (Tomoyuki Chikanaga)
11:49 AM Revision dcd07242 (git): merge revision(s) 62968:
webrick: prevent response splitting and header injection
Original patch by tenderlove (with minor style adju...
nagachika (Tomoyuki Chikanaga)
11:44 AM Revision 70ad5986 (git): merge revision(s) 62992:
pack.c: fix underflow
* pack.c (pack_unpack_internal): get rid of underflow.
https://hackerone.com...
nagachika (Tomoyuki Chikanaga)
11:30 AM Revision b78fa27a (git): unixsocket.c: abstract namespace
* ext/socket/unixsocket.c (unixsock_path_value): fix r62991 for
Linux abstract namespace.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
11:16 AM Revision 0977c1fa (git): merge revision(s) 62989:
dir.c: check NUL bytes
* dir.c (GlobPathValue): should be used in rb_push_glob only.
other methods...
nagachika (Tomoyuki Chikanaga)
10:52 AM Revision 2395bb11 (git): merge revision(s) 62990:
Ignore file separator from tmpfile/tmpdir name.
From: SHIBATA Hiroshi <[email protected]>
git-svn-id: svn+...
nagachika (Tomoyuki Chikanaga)
10:37 AM Revision b9121fe7 (git): merge revision(s) 62992:
pack.c: fix underflow
* pack.c (pack_unpack_internal): get rid of underflow.
https://hackerone.com...
U.Nakamura
10:32 AM Revision 634232aa (git): merge revision(s) 62991:
unixsocket.c: check NUL bytes
* ext/socket/unixsocket.c (rsock_init_unixsock): check NUL bytes.
ht...
U.Nakamura
10:29 AM Revision a606704e (git): merge revision(s) 62990:
Ignore file separator from tmpfile/tmpdir name.
From: SHIBATA Hiroshi <[email protected]>
git-svn-id: svn+...
U.Nakamura
10:24 AM Revision 89133faf (git): merge revision(s) 62989:
dir.c: check NUL bytes
* dir.c (GlobPathValue): should be used in rb_push_glob only.
other methods...
U.Nakamura
10:22 AM Revision 1b91e1ce (git): Use Regexp#match? in time.rb for conditionals
[Fix GH-1852]
From: Bart <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62993 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
10:12 AM Revision d02b7bd8 (git): pack.c: fix underflow
* pack.c (pack_unpack_internal): get rid of underflow.
https://hackerone.com/reports/298246
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
10:08 AM Revision 8794dec6 (git): unixsocket.c: check NUL bytes
* ext/socket/unixsocket.c (rsock_init_unixsock): check NUL bytes.
https://hackerone.com/reports/302997
git-svn-id:...
nobu (Nobuyoshi Nakada)
10:03 AM Revision 10b96900 (git): Ignore file separator from tmpfile/tmpdir name.
From: SHIBATA Hiroshi <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62990 b2dd03c8-39d4-4d8...
hsbt (Hiroshi SHIBATA)
09:58 AM Revision bd5661a3 (git): dir.c: check NUL bytes
* dir.c (GlobPathValue): should be used in rb_push_glob only.
other methods should use FilePathValue.
https://hac...
nobu (Nobuyoshi Nakada)
09:42 AM Feature #14636: `Hash` has a method for accessing the shortest path towards a certain key
nobu (Nobuyoshi Nakada) wrote:
> RudySeidinger (Rudy Seidinger) wrote:
> > In this case, is the shortest path towar...
RudySeidinger (Rudy Seidinger)
09:41 AM Feature #14636: `Hash` has a method for accessing the shortest path towards a certain key
nobu (Nobuyoshi Nakada) wrote:
> RudySeidinger (Rudy Seidinger) wrote:
> > by using recursion, we avoid the overhea...
RudySeidinger (Rudy Seidinger)
02:40 AM Feature #14636: `Hash` has a method for accessing the shortest path towards a certain key
RudySeidinger (Rudy Seidinger) wrote:
> In this case, is the shortest path towards the first key containing the spec...
nobu (Nobuyoshi Nakada)
02:36 AM Feature #14636: `Hash` has a method for accessing the shortest path towards a certain key
RudySeidinger (Rudy Seidinger) wrote:
> by using recursion, we avoid the overhead of having the store a temporary ha...
nobu (Nobuyoshi Nakada)
09:39 AM Revision af30b5b5 (git): merge revision(s) 62953:
webrick: favor .write over << method
This will make the next change to use IO.copy_stream
easier-to-...
nagachika (Tomoyuki Chikanaga)
09:33 AM Revision eb2aca18 (git): merge revision(s) 62968:
webrick: prevent response splitting and header injection
Original patch by tenderlove (with minor style adju...
U.Nakamura
09:26 AM Revision 26f00c67 (git): webrick: prevent response splitting and header injection
Original patch by tenderlove (with minor style adjustments).
* lib/webrick/httpresponse.rb (send_header): call check...
naruse (Yui NARUSE)
09:26 AM Revision d68c089a (git): webrick/httpproxy: stream request and response bodies
Reading entire request or response bodies into memory can lead
to trivial denial-of-service attacks. Introduce Fiber...
naruse (Yui NARUSE)
09:26 AM Revision 59d11962 (git): webrick/httpauth/digestauth: stream req.body
WARNING! WARNING! WARNING! LIKELY BROKEN CHANGE
Pass a proc to WEBrick::HTTPRequest#body to avoid reading a
potenti...
naruse (Yui NARUSE)
09:26 AM Revision a1c9ee2b (git): webrick: add test for Digest auth-int
No changes to the actual code, this is a new test for
a feature for which no tests existed. I don't understand
the D...
naruse (Yui NARUSE)
09:26 AM Revision 18b99e2a (git): webrick/httprequest: use InputBufferSize for chunked requests
While WEBrick::HTTPRequest#body provides a Proc interface
for streaming large request bodies, clients must not force
...
naruse (Yui NARUSE)
09:26 AM Revision 276136af (git): webrick/httprequest: raise correct exception
"BadRequest" alone does not resolve correctly, it is in the
HTTPStatus namespace.
* lib/webrick/httprequest.rb (read...
naruse (Yui NARUSE)
09:26 AM Revision 64aec5c1 (git): webrick/httpservlet/cgihandler: reduce memory use
WEBrick::HTTPRequest#body can be passed a block to process the
body in chunks. Use this feature to avoid building a ...
naruse (Yui NARUSE)
09:26 AM Revision b15f9b62 (git): webrick/httprequest: limit request headers size
We use the same 112 KB limit started (AFAIK) by Mongrel, Thin,
and Puma to prevent malicious users from using up all ...
naruse (Yui NARUSE)
09:26 AM Revision c3e2c261 (git): sdbm: constified
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:26 AM Revision eb60f1b5 (git): sdbm: check offset
* ext/sdbm/_sdbm.c (splpage): check offset range.
https://hackerone.com/reports/271291
git-svn-id: svn+ssh://ci.ru...
naruse (Yui NARUSE)
09:26 AM Revision 7af7b272 (git): sdbm: check offset
* ext/sdbm/_sdbm.c (getpair, getnkey): check offset range.
https://hackerone.com/reports/271096
* ext/sdbm/init.c ...
naruse (Yui NARUSE)
09:26 AM Revision 7357f524 (git): pack.c: fix underflow
* pack.c (pack_unpack_internal): get rid of underflow.
https://hackerone.com/reports/298246
git-svn-id: svn+ssh://...
naruse (Yui NARUSE)
09:26 AM Revision 8db32a2b (git): dir.c: check NUL bytes
* dir.c (GlobPathValue): should be used in rb_push_glob only.
other methods should use FilePathValue.
https://hac...
naruse (Yui NARUSE)
09:26 AM Revision 93081375 (git): unixsocket.c: check NUL bytes
* ext/socket/unixsocket.c (rsock_init_unixsock): check NUL bytes.
https://hackerone.com/reports/302997
git-svn-id:...
naruse (Yui NARUSE)
09:26 AM Revision 1d418535 (git): * 2018-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:26 AM Revision ad739275 (git): Remove directory separators
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:13 AM Revision 694697e3 (git): merge revision(s) 62960-62965:
webrick: use IO.copy_stream for multipart response
Use the new Proc response body feature to generate a mult...
U.Nakamura
08:48 AM Revision 22a4e6ac (git): adjust indents [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:38 AM Revision d9d4a28f (git): webrick: prevent response splitting and header injection
Original patch by tenderlove (with minor style adjustments).
* lib/webrick/httpresponse.rb (send_header): call check...
Eric Wong
08:38 AM Bug #14338 (Closed): IO#write without args seems wrong
Applied in changeset trunk|r62967.
----------
io.c: IO#write without args returns 0
This is consistent with other i...
Anonymous
08:38 AM Feature #14237 (Closed): [PATCH 0/2] webrick: use IO.copy_stream
Applied in changeset trunk|r62954.
----------
webrick/httpresponse: IO.copy_stream for regular files
Remove the red...
Anonymous
08:38 AM Revision 7292569d (git): io.c: IO#write without args returns 0
This is consistent with other implementations of .write
in openssl and stringio.
* io.c (io_write_m): return 0 on ar...
Eric Wong
08:06 AM Revision 706c0289 (git): webrick/httpproxy: stream request and response bodies
Reading entire request or response bodies into memory can lead
to trivial denial-of-service attacks. Introduce Fiber...
Eric Wong
08:06 AM Revision 32e277ac (git): webrick/httpauth/digestauth: stream req.body
WARNING! WARNING! WARNING! LIKELY BROKEN CHANGE
Pass a proc to WEBrick::HTTPRequest#body to avoid reading a
potenti...
Eric Wong
08:06 AM Revision df2ce343 (git): webrick: add test for Digest auth-int
No changes to the actual code, this is a new test for
a feature for which no tests existed. I don't understand
the D...
Eric Wong
08:06 AM Revision 2d41d88c (git): webrick/httprequest: use InputBufferSize for chunked requests
While WEBrick::HTTPRequest#body provides a Proc interface
for streaming large request bodies, clients must not force
...
Eric Wong
08:06 AM Revision 6db6eb57 (git): webrick/httprequest: raise correct exception
"BadRequest" alone does not resolve correctly, it is in the
HTTPStatus namespace.
* lib/webrick/httprequest.rb (read...
Eric Wong
08:06 AM Revision 89450a80 (git): webrick/httpservlet/cgihandler: reduce memory use
WEBrick::HTTPRequest#body can be passed a block to process the
body in chunks. Use this feature to avoid building a ...
Eric Wong
08:06 AM Revision 7e1f2a5a (git): webrick/httprequest: limit request headers size
We use the same 112 KB limit started (AFAIK) by Mongrel, Thin,
and Puma to prevent malicious users from using up all ...
Eric Wong
08:06 AM Revision 4639ac89 (git): webrick: use IO.copy_stream for multipart response
Use the new Proc response body feature to generate a multipart
range response dynamically. We use a flat array to mi...
Eric Wong
08:06 AM Revision d6c0b3d7 (git): webrick/httpresponse: make ChunkedWrapper copy_stream-compatible
The .write method needs to return the number of bytes written
to avoid confusing IO.copy_stream.
* lib/webrick/httpr...
Eric Wong
08:06 AM Revision 6676a217 (git): webrick: quiet warning for multi-part ranges
Content-Length is ignored by WEBrick::HTTPResponse even if we
calculate it, so instead we chunk responses to HTTP/1.1...
Eric Wong
08:06 AM Revision 0478a379 (git): test/webrick/test_filehandler.rb: stricter multipart range test
We need to ensure we generate compatibile output in
the face of future changes
* test/webrick/test_filehandler.rb (t...
Eric Wong
08:05 AM Revision 6360243f (git): webrick: use IO.copy_stream for single range response
This is also compatible with range responses generated
by Rack::File (tested with rack 2.0.3).
* lib/webrick/httpres...
Eric Wong
08:05 AM Revision 2bdcd0bd (git): webrick/httpresponse: IO.copy_stream for regular files
Remove the redundant _send_file method since its functionality
is unnecessary with IO.copy_stream. IO.copy_stream al...
Eric Wong
08:05 AM Revision c44978b9 (git): webrick: favor .write over << method
This will make the next change to use IO.copy_stream
easier-to-read. When we can drop Ruby 2.4 support in a few
year...
Eric Wong
07:41 AM Bug #5304 (Rejected): Array#pack handles objects for eg format 'E' differently than 1.8
Rejected because this had already been meaningless now. mrkn (Kenta Murata)
07:09 AM Bug #14638 (Closed): [win32] File.expand_path("~") treats a relative path with a drive letter as an absolute path
nobu (Nobuyoshi Nakada)
06:55 AM Bug #14638 (Closed): [win32] File.expand_path("~") treats a relative path with a drive letter as an absolute path
```ruby
ENV["HOME"]="c:t"
p File.expand_path("~")==Dir.pwd+"/t"
```
prints `true` since 1.9.3, but it should ra...
nobu (Nobuyoshi Nakada)
07:07 AM Bug #14627 (Closed): class_eval "def foo(N:)\n end" regression
nobu (Nobuyoshi Nakada)
07:02 AM Bug #14627: class_eval "def foo(N:)\n end" regression
I cannot reproduce it on the HEAD of ruby_2_5:
```
$ ruby -ve 'Class.new.class_eval "def foo(a:, N:)\nend"'
ruby...
mrkn (Kenta Murata)
06:52 AM Bug #14627: class_eval "def foo(N:)\n end" regression
I could repro:
```
$ ruby -e 'Class.new.class_eval "def f(a:, N:)\nend"'
-e:1: [BUG] Segmentation fault at 0x000...
mame (Yusuke Endoh)
07:01 AM Revision ebf53485 (git): win32/file.c: relative path with drive letter
* win32/file.c (IS_ABSOLUTE_PATH_P): home directory should not be
a relative path regardless a drive letter. Path...
nobu (Nobuyoshi Nakada)
06:49 AM Revision cbe9a21e (git): backport some changes from openssl gem v2.0.6 and v2.0.7.
[Backport #13935]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62951 b2dd03c8-39d4-4d8f-98ff-823fe...
U.Nakamura
06:24 AM Bug #14604: Backport r62725 to ruby 2.3 to 2.5
ruby_2_3 r62950 merged revision(s) 62725. usa (Usaku NAKAMURA)
06:24 AM Revision 134967e5 (git): merge revision(s) 62725: [Backport #14604]
Fix setting method visibility on method wrapped with prepend
Ignore prepended modules when looking for alrea...
U.Nakamura
06:13 AM Feature #14605: Remove `original_iseq` from `rb_iseq_constant_body`
> but we don't use the encoded instructions very often, and this patch 1) ensures that the decoded instructions get G... ko1 (Koichi Sasada)
06:08 AM Misc #14632: [ANN] git.ruby-lang.org
\o/
Hiroshi for president as well!
\o~
~o/
\o/
shevegen (Robert A. Heiler)
06:03 AM Bug #14571: File descriptor leak in resolv.rb
ruby_2_3 r62949 merged revision(s) 62671. usa (Usaku NAKAMURA)
06:03 AM Revision 84ec88a2 (git): merge revision(s) 62671: [Backport #14571]
resolv.rb: close socket
* lib/resolv.rb (UnconnectedUDP#lazy_initialize): store new
sockets before...
U.Nakamura
05:59 AM Bug #13994: Socket.getnameinfo が NUL終端文字列を期待している
ruby_2_3 r62948 merged revision(s) 60162. usa (Usaku NAKAMURA)
05:59 AM Revision b63b168c (git): merge revision(s) 60162: [Backport #13994]
socket.c: null byte at Socket.getnameinfo
* ext/socket/socket.c (sock_s_getnameinfo): check null byte.
...
U.Nakamura
05:54 AM Bug #14549: abort Date#step
ruby_2_3 r62947 merged revision(s) 62572. usa (Usaku NAKAMURA)
05:54 AM Revision 58cfb065 (git): merge revision(s) 62572: [Backport #14549]
date_core.c: defensive code
* ext/date/date_core.c (f_cmp): check comparison failure.
* ext/date/da...
U.Nakamura
05:51 AM Bug #14388: 不正エンコーディング文字列から切り出した正当なエンコーディング文字列が invalid encoding になる
ruby_2_3 r62946 merged revision(s) 62040. usa (Usaku NAKAMURA)
05:51 AM Revision aaf1f031 (git): merge revision(s) 62040: [Backport #14388]
string.c: clear substring code range
* string.c (str_substr): substring of broken code range string may
...
U.Nakamura
05:48 AM Bug #14453: Crash in w32_cmdvector() if MS Application Verifier is enabled
ruby_2_3 r62945 merged revision(s) 57637. usa (Usaku NAKAMURA)
05:48 AM Revision dc4e42b9 (git): merge revision(s) 57637: [Backport #14453]
win32.c: memcpy instead of strlcpy
* win32/win32.c (cmdglob): memcpy the exact size instead of
str...
U.Nakamura
05:46 AM Bug #14279: Modifying splat argument causes segmentation fault
ruby_2_3 r62944 merged revision(s) 61603. usa (Usaku NAKAMURA)
05:46 AM Revision 0b46bbf7 (git): merge revision(s) 61603: [Backport #14279]
check array for zsuper. [Bug #14279]
* compile.c (iseq_compile_each0): for zsuper (NODE_ZSUPER), we need to ...
U.Nakamura
05:41 AM Bug #14323: net/ftp: fix FrozenError in BufferedSocket
ruby_2_3 r62943 merged revision(s) 61639. usa (Usaku NAKAMURA)
05:41 AM Revision 08987d31 (git): merge revision(s) 61639: [Backport #14323]
net/ftp: fix FrozenError in BufferedSocket
I noticed this bug while working on something else with
R...
U.Nakamura
05:30 AM Bug #13493: `make realclean` removes aclocal.m4 and enc/jis/props.h
ruby_2_3 r62942 merged revision(s) 58438,58440,58451. usa (Usaku NAKAMURA)
05:30 AM Revision f444a7ab (git): merge revision(s) 58438,58440,58451: [Backport #13493]
clean autogenerated files
* enc/depend (clean, clean-srcs): fix path of name2ctype.h, and
remove c...
U.Nakamura
05:17 AM Bug #14269: backport r61562, r61563, r61566, r61568, r61569 (fix SEGV touching uninitialized memory)
ruby_2_3 r62941 merged revision(s) 61562,61563,61566,61568,61569. usa (Usaku NAKAMURA)
05:17 AM Revision 815d4c4e (git): merge revision(s) 61562,61563,61566,61568,61569: [Backport #14269]
fix SEGV touching uninitialized memory
This function can be called from boot_defclass().
No assumpti...
U.Nakamura
04:57 AM Revision bb0acd36 (git): ChangeLog: missed at r62939
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:55 AM Bug #14208: raise error if value contains CR/LF in iniheader of initialize_http_header
ruby_2_3 r62939 merged revision(s) 61359. usa (Usaku NAKAMURA)
04:54 AM Revision 2dee659b (git): merge revision(s) 61359: [Backport #14208]
raise error if value contains CR/LF in iniheader of initialize_http_header
like r59693, initialize_http_head...
U.Nakamura
04:49 AM Bug #14206: Null-byte ignored inside class/module/method bodies
ruby_2_3 r62938 merged revision(s) 61346. usa (Usaku NAKAMURA)
04:49 AM Revision 2d0062bc (git): merge revision(s) 61346: [Backport #14206]
parse.y: end of script at newline
* parse.y (parser_yylex): deal with end of script chars just after
...
U.Nakamura
04:45 AM Bug #13655: external encoding named "-" (doc issue or…?)
ruby_2_3 r62937 merged revision(s) 61278,61281. usa (Usaku NAKAMURA)
04:45 AM Revision b24443d3 (git): merge revision(s) 61278,61281: [Backport #13655]
IO.new doesn't recive "-" as external_encoding [Bug #13655]
[DOC] `IO.new` accepts `external_encoding`
...
U.Nakamura
04:28 AM Bug #14637 (Assigned): Rational#to_f returns a wrong result when denominator is big
I'll commit in a few days unless anyone has objection. mame (Yusuke Endoh)
03:18 AM Revision 1387cbd6 (git): * 2018-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:18 AM Revision 8f2d5e58 (git): fix regexp introduced at recent RDoc update (r62924).
* lib/rdoc/text.rb: should escape `-` character.
Sometimes test fails if `$VERBOSE = 1` with the following warning:...
ko1 (Koichi Sasada)
02:31 AM Feature #7511: short-circuiting logical implication operator
It doesn't short-circuit, the argument is evaluated always regardless the receiver. nobu (Nobuyoshi Nakada)
02:15 AM Feature #14594: Rethink yield_self's name
`then` does seem better but you have to keep in mind you'd be barring this name from all present and future domain sp... bughit (bug hit)

03/27/2018

09:55 PM Bug #14634: Queue#push seems to crash after fork
~~~
$ ./tool/runruby.rb --version
ruby 2.6.0dev (2018-03-27 trunk 62934) [x86_64-linux]
$ ./tool/runruby.rb ~/Age...
zetaben (Benoit Larroque)
09:31 AM Bug #14634: Queue#push seems to crash after fork
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > I just tried compiling & running with r6285...
normalperson (Eric Wong)
09:28 AM Bug #14634 (Closed): Queue#push seems to crash after fork
Applied in changeset trunk|r62934.
----------
thread_sync.c: avoid reaching across stacks of dead threads
rb_ensure...
Anonymous
08:51 AM Bug #14634: Queue#push seems to crash after fork
[email protected] wrote:
> I just tried compiling & running with r62852 on my computer. I still have the same issue:...
normalperson (Eric Wong)
06:49 AM Bug #14634: Queue#push seems to crash after fork
Hello Eric,
I just tried compiling & running with r62852 on my computer. I still have the same issue:
~~~
/versa...
zetaben (Benoit Larroque)
04:21 AM Bug #14634: Queue#push seems to crash after fork
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/14634

This seems identical to [Bug #14578] (sorry, m...
normalperson (Eric Wong)
08:32 PM Feature #7511: short-circuiting logical implication operator
The spirit of ruby is to make programmers happy. So, if logical implication would make programmers happy, we must con... jaredbeck (Jared Beck)
05:56 PM Bug #14495: Enumerator::Lazy#uniq invalid state
Yes, to 2.4 and 2.5 chopraanmol1 (Anmol Chopra)
05:20 PM Bug #5273: Float#round returns the wrong floats for higher precision
mame (Yusuke Endoh) wrote:
> Marc-Andre, let me know if I am wrong.
I agree with everything you wrote :-)
marcandre (Marc-Andre Lafortune)
08:34 AM Bug #5273 (Closed): Float#round returns the wrong floats for higher precision
I think there are two issues in this one ticket: `3.0e-31.round(31) #=> 3.0000000000000003e-31` and `2.5e-22.round(22... mame (Yusuke Endoh)
02:05 PM Feature #14636: `Hash` has a method for accessing the shortest path towards a certain key
This reminds me a bit of guide trees in bioinformatics, where
we try to find the shortest path of substring matches ...
shevegen (Robert A. Heiler)
10:17 AM Feature #14636: `Hash` has a method for accessing the shortest path towards a certain key
Hanmac (Hans Mackowiak) wrote:
> i have some thoughts about it ...
> if you got a structure like this:
>
> ~~~ r...
RudySeidinger (Rudy Seidinger)
09:45 AM Feature #14636: `Hash` has a method for accessing the shortest path towards a certain key
i have some thoughts about it ...
if you got a structure like this:
~~~ ruby
{
:a => {
:name => "abc"
...
Hanmac (Hans Mackowiak)
08:53 AM Feature #14636 (Open): `Hash` has a method for accessing the shortest path towards a certain key
## Abstract
Hashes, as a collection of key-value pairs, are often used to represent trees. Having a way of traversin...
RudySeidinger (Rudy Seidinger)
01:57 PM Bug #14635: Float#round(n) returns a wrong result when n is big
I've found a much simpler solution: when `n` is big, it should first translate the float to a rational, then call `Ra... mame (Yusuke Endoh)
08:19 AM Bug #14635 (Closed): Float#round(n) returns a wrong result when n is big
**First of all, don't confuse that this is a usual floating-point error issue.**
The following looks inconsistent:...
mame (Yusuke Endoh)
01:49 PM Bug #14637 (Closed): Rational#to_f returns a wrong result when denominator is big
For example, `Rational(1, 10**23).to_f` returns a wrong result:
```
$ ruby -e 'p Rational(1, 10**23).to_f'
1.000...
mame (Yusuke Endoh)
09:28 AM Revision a2d63ea2 (git): thread_sync.c: avoid reaching across stacks of dead threads
rb_ensure is insufficient cleanup for fork and we must
reinitialize all waitqueues in the child process.
Unfortunate...
Eric Wong
04:40 AM Misc #14632: [ANN] git.ruby-lang.org
Dne 26.3.2018 v 23:30 Eric Wong napsal(a):
> [email protected] wrote:
>> Have you considered to use Pagure [1] ...
Anonymous
04:17 AM Feature #14624: #{nil} allocates a fresh empty string each time
Closer to the string interpolation optimization part. The problem with `"#{nil}"` is that it allocates two empty stri... bumblingbear (Dillon Welch)
04:05 AM Feature #14624: #{nil} allocates a fresh empty string each time
I'm confused; are you proposing that `nil.to_s` returns the same String object every time, or that string interpolati... phluid61 (Matthew Kerwin)
02:50 AM Feature #14624: #{nil} allocates a fresh empty string each time
That sounds fine to me!
Hanmac (Hans Mackowiak) wrote:
> i have a problem with that, what if someone might do:
>...
bumblingbear (Dillon Welch)
01:09 AM Revision 98e9444b (git): configure.ac: string literal concatenation
* configure.ac: bail out if string literal concatenation is not
available, as it is used everywhere now.
git-svn-i...
nobu (Nobuyoshi Nakada)
12:44 AM Revision e68a8b1e (git): ruby.c: exit by --version
* ruby.c (usage): stated exiting by `--version` option with
nothing done.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)

03/26/2018

11:16 PM Bug #14634 (Closed): Queue#push seems to crash after fork
Hello,
We are providing an [agent that uses dynamic instrumentation](https://blog.sqreen.io/dynamic-instrumentati...
zetaben (Benoit Larroque)
09:43 PM Feature #13581: Syntax sugar for method reference
As a blue sky alternative, why not consider something like this:
~~~ ruby
[1, 2, 3].map(&> {Math.sqrt})
# or p...
pvande (Pieter van de Bruggen)
09:32 PM Misc #14632: [ANN] git.ruby-lang.org
[email protected] wrote:
> Have you considered to use Pagure [1] as git fronted instead of cgit?
>
> [1]: htt...
normalperson (Eric Wong)
09:32 PM Misc #14632: [ANN] git.ruby-lang.org
[email protected] wrote:
> I prepared git.ruby-lang.org. It's official ruby repository of Git.

Thank you!

> ...
normalperson (Eric Wong)
08:33 PM Misc #14632: [ANN] git.ruby-lang.org
Wonderful. Thx for working on this.
Have you considered to use Pagure [1] as git fronted instead of cgit?
[1]: ...
vo.x (Vit Ondruch)
11:47 AM Misc #14632 (Closed): [ANN] git.ruby-lang.org
I prepared git.ruby-lang.org. It's official ruby repository of Git.
https://git.ruby-lang.org/ruby.git/
This re...
hsbt (Hiroshi SHIBATA)
08:48 PM Revision 9245e097 (git): Update to ruby/spec@a585ec3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:48 PM Revision 6c2b5898 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:48 PM Revision e389e2c5 (git): Update to ruby/mspec@8b54bf3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:28 PM Bug #14617: rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
Thx. I hope this gets backported into next stable update. vo.x (Vit Ondruch)
05:58 AM Bug #14617 (Closed): rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
Merged RDoc 6.0.3 at r62924 hsbt (Hiroshi SHIBATA)
08:18 PM Bug #12551: Exception accessing file with long path on windows
I guess if python can do it, ruby will support it as well eventually. :-)
I wish I could help more but my C knowle...
shevegen (Robert A. Heiler)
11:30 AM Bug #12551: Exception accessing file with long path on windows
usa (Usaku NAKAMURA) wrote:
> It's too difficult to get rid of the limitation of `MAX_PATH`,
> because many OS API ...
preetpalS (Preetpal Sohal)
07:41 PM Bug #14495: Enumerator::Lazy#uniq invalid state
Should this be backported? Eregon (Benoit Daloze)
04:25 PM Bug #14633 (Closed): The behavior of command option `--verbose` is different from its help message
Applied in changeset trunk|r62927.
----------
ruby.c: fix --verbose description in usage
* ruby.c (usage): fix the ...
nobu (Nobuyoshi Nakada)
04:05 PM Bug #14633: The behavior of command option `--verbose` is different from its help message
The behavior is correct, as ruby(1) says:
> -v Enables verbose mode. Ruby will print its version...
nobu (Nobuyoshi Nakada)
03:02 PM Bug #14633: The behavior of command option `--verbose` is different from its help message
You are right. It does not print the version number, so I think
something is wrong - either the behaviour, or the do...
shevegen (Robert A. Heiler)
02:20 PM Bug #14633 (Closed): The behavior of command option `--verbose` is different from its help message
According to `ruby --help`, command option `--verbose` is
~~~
-v, --verbose print version number, then turn o...
makimoto (Shimpei Makimoto)
04:25 PM Revision 587d882d (git): * 2018-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:25 PM Revision 2a99d5f9 (git): ruby.c: fix --verbose description in usage
* ruby.c (usage): fix the description of `--verbose` option, which
does not print the version number unlike `-v` op...
nobu (Nobuyoshi Nakada)
12:53 PM Bug #14626: One failing test on trunk 58fbe69a5b and OSX
Benoit_Tigeot (Benoit Tigeot) wrote:
> The failing test appears between ruby version v2_2_9 and v2_3_0 when this t...
MSP-Greg (Greg L)
10:22 AM Bug #14626 (Assigned): One failing test on trunk 58fbe69a5b and OSX
I couldn't reproduce with `make -C build_dir test-all TESTS="rubygems/test_require.rb"`
```
~/D/g/r/ruby (trunk) ...
hsbt (Hiroshi SHIBATA)
07:56 AM Bug #14626: One failing test on trunk 58fbe69a5b and OSX
Thanks a lot for the help.
Localy I have this setup https://github.com/ko1/rubyhackchallenge/blob/master/EN/2_mri_...
Benoit_Tigeot (Benoit Tigeot)
11:43 AM Bug #14631: Add support for long paths in Windows 10 when support is enabled in the OS
Feel free to close this issue. preetpalS (Preetpal Sohal)
04:58 AM Bug #14631 (Closed): Add support for long paths in Windows 10 when support is enabled in the OS
In newer builds of Windows 10, you can remove the limitations on path length (see: https://www.howtogeek.com/266621/h... preetpalS (Preetpal Sohal)
10:18 AM Revision ec74ad7c (git): Fix test error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:56 AM Revision dadb5c39 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:56 AM Revision 98c7058b (git): Merge RDoc 6.0.3 from upstream.
It fixed the several bugs that was found after RDoc 6 releasing.
From: SHIBATA Hiroshi <[email protected]>
git-svn...
hsbt (Hiroshi SHIBATA)
02:08 AM Bug #14556 (Closed): Please fetch Ripper's new features from nobu's patches bag (irb-ripper branch)
Closed at request of original poster. duerst (Martin Dürst)
12:25 AM Revision ee83dc3f (git): bigdecimal.c: fix missing argument
* ext/bigdecimal/bigdecimal.c (rb_rational_num, rb_rational_den):
fix missing argc argument for old ruby.
git-svn-...
nobu (Nobuyoshi Nakada)
12:02 AM Revision a04aa14d (git): * 2018-03-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:02 AM Revision 2e1a3725 (git): Update Complex#infinite? documenation
to state what it really does.
[Fix GH-1848]
From: Christian Bruckmayer <[email protected]>
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:02 AM Revision ba77b725 (git): Update Complex#finite? documentation
to state what it really does.
[Fix GH-1848]
From: Christian Bruckmayer <[email protected]>
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)

03/25/2018

09:47 PM Bug #14556: Please fetch Ripper's new features from nobu's patches bag (irb-ripper branch)
I implemented IRB's new logic with Ripper without these patches. Please close this. aycabta (aycabta .)
09:41 PM Bug #14263: Array Intersection does not seem to use hash
Attached are two patches:
- One which uses hash comparison for both the optimised "small" array branch and the def...
styrmis (Stefan Magnuson)
03:56 PM Feature #14473: Add Range#subrange?
I've attached an updated patch; it includes the renamed (by `s/set/range/`) methods and a performance improvement for... owst (Owen Stephens)
03:54 PM Bug #14630 (Closed): DON'T IGNORE ME!!! Uncaught exception: SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
I'm attempting to connect to a server with verify_mode = OpenSSL::SSL::VERIFY_PEER. It fails with the error:
Uncau...
paul_coppinger (Paul Coppinger)
02:06 PM Revision f28d6165 (git): assertions for r62914
* test/ruby/test_keyword.rb (test_splat_hash): assertion on
mandatory and rest arguments. r62914 is not only for o...
nobu (Nobuyoshi Nakada)
01:11 PM Feature #4513 (Closed): allow whitespace following EOL continuation backslash
Now:
```
$ ruby -e ' \ '
-e:1: syntax error, unexpected escaped space
```
Close this for now.
nobu (Nobuyoshi Nakada)
09:51 AM Bug #14239 (Closed): warn open("|...")
nobu (Nobuyoshi Nakada)
07:32 AM Feature #14594: Rethink yield_self's name
I disagree with the names proposed, but I agree that the current name is too long.
Here are yet other name candida...
sawa (Tsuyoshi Sawada)
07:23 AM Feature #14594: Rethink yield_self's name
`map` is one of the worst names for this feature in my opinion. Generalizaing from cmoel's proposal to use `map` for ... sawa (Tsuyoshi Sawada)
06:11 AM Bug #14604: Backport r62725 to ruby 2.3 to 2.5
ruby_2_4 r62918 merged revision(s) 62725. nagachika (Tomoyuki Chikanaga)
06:11 AM Revision 31d6b6f7 (git): merge revision(s) 62725: [Backport #14604]
Fix setting method visibility on method wrapped with prepend
Ignore prepended modules when looking for alrea...
nagachika (Tomoyuki Chikanaga)
05:54 AM Bug #14577: CPU 100% in custom backtrace method with IO.readlines
ruby_2_4 r62917 merged revision(s) 62673. nagachika (Tomoyuki Chikanaga)
05:54 AM Revision e59be153 (git): merge revision(s) 62673: [Backport #14577]
thread.c: deadlock in backtrace
* thread.c (unblock_function_set): check interrupts just once
duri...
nagachika (Tomoyuki Chikanaga)
05:35 AM Bug #14469: private_constant and deprecate_constant are ignored by autoloading
ruby_2_4 r62916 merged revision(s) 62394,62395. nagachika (Tomoyuki Chikanaga)
05:35 AM Revision 9869b655 (git): merge revision(s) 62394,62395: [Backport #14469]
vm_insnhelper.c: rb_autoloading_value flag
* vm_insnhelper.c (vm_get_ev_const): add flag argument of
...
nagachika (Tomoyuki Chikanaga)
04:20 AM Bug #14571: File descriptor leak in resolv.rb
ruby_2_4 r62915 merged revision(s) 62671. nagachika (Tomoyuki Chikanaga)
04:12 AM Revision ad0b27d0 (git): merge revision(s) 62671: [Backport #14571]
resolv.rb: close socket
* lib/resolv.rb (UnconnectedUDP#lazy_initialize): store new
sockets before...
nagachika (Tomoyuki Chikanaga)
02:22 AM Revision a23eca26 (git): vm_args.c: warn splat to var
* vm_args.c (setup_parameters_complex): [EXPERIMENTAL] warn when
splat keyword arguments is passed as a single ordi...
nobu (Nobuyoshi Nakada)
01:52 AM Revision 0de07300 (git): * 2018-03-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:52 AM Revision 21a63760 (git): extmk.rb: get rid of shadowing outer local variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:40 AM Bug #14338: IO#write without args seems wrong
normalperson (Eric Wong) wrote:
> Opinions? Should we raise or just return 0 when no args are given?
I vote for ...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom