Project

General

Profile

Activity

From 03/19/2018 to 03/25/2018

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)

03/24/2018

04:36 PM Bug #14629: Option Parser bug
nobu (Nobuyoshi Nakada) wrote:
> It is a spec, the long option name completion, so that users do not have to type th...
xz0r (xz0r xz0r)
04:05 PM Bug #14629 (Rejected): Option Parser bug
It is a spec, the long option name completion, so that users do not have to type the whole option name. nobu (Nobuyoshi Nakada)
03:35 PM Bug #14629 (Rejected): Option Parser bug
Reproduce process:
Case 1:
$ruby testarg.rb --fail-if-changed
"fail if change arg provided"
Case 2:
$ruby te...
xz0r (xz0r xz0r)
04:02 PM Bug #14403: Crash and coredump (Stack consistency error) on ruby 2.5.0
ruby_2_5 r62911 merged revision(s) 61587,61617,61618. naruse (Yui NARUSE)
04:00 PM Bug #14273: Stack Consistency Error from return in loop
ruby_2_5 r62911 merged revision(s) 61587,61617,61618. naruse (Yui NARUSE)
03:24 PM Bug #14273: Stack Consistency Error from return in loop
Added r61587 to associated revisions. nobu (Nobuyoshi Nakada)
04:00 PM Revision 2d414cb1 (git): merge revision(s) 61587,61617,61618: [Backport #14273]
compile.c: next label
* compile.c (compile_next): label for jump to the end of block is
removable....
naruse (Yui NARUSE)
03:27 PM Bug #14626: One failing test on trunk 58fbe69a5b and OSX
> but do I need to run
Most build systems do perform `configure`, `make`, and `make install` before testing.
If...
MSP-Greg (Greg L)
02:28 PM Revision 2936d4b3 (git): configure.ac: named blocks
* configure.ac: turned section block comments into named blocks.
http://c16e.com/1603281120/
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
01:58 PM Bug #14345: http_proxy setting should respect both parent domain and subdomain
I think this will be discussed at the next ruby developer meeting
in April 2018 so stay tuned for updates to it (le...
shevegen (Robert A. Heiler)
11:43 AM Bug #14584: Squigly heredoc with interpolation that has a string literal withe spaces gets incorrect value
ruby_2_5 r62909 merged revision(s) 62723,62724. naruse (Yui NARUSE)
11:43 AM Revision 2bedc514 (git): merge revision(s) 62723,62724: [Backport #14584]
parse.y: reduce duplicate code
parse.y: fix interpolated string literal dedent
* parse.y (heredoc_d...
naruse (Yui NARUSE)
11:15 AM Revision 4a145f6e (git): compile.c: split add_insn_info
* compile.c (add_insn_info, add_adjust_info): split for each
list->type, to remove unnecessary repeated conditions ...
nobu (Nobuyoshi Nakada)
11:04 AM Revision b19a14ec (git): * 2018-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:04 AM Revision afa1d508 (git): compile.c: suppress missing-noreturn
* compile.c (add_insn_info): move return statement to suppress
missing-noreturn warning.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
10:57 AM Bug #14324: Should Exception#full_message include escape sequences?
ruby_2_5 r62905 merged revision(s) 62548,62894. naruse (Yui NARUSE)
10:57 AM Revision ed9c67c9 (git): merge revision(s) 62548,62894: [Backport #14324]
eval_error.c: rb_error_write flags
* eval_error.c (rb_error_write): add highlight and reverse mode
...
naruse (Yui NARUSE)
10:54 AM Bug #14628 (Closed): Misplaced colon causes segmentation fault
Thank you, that bug has been fixed already in the repository, and the next release will work fine.
nobu (Nobuyoshi Nakada)
08:16 AM Bug #14628: Misplaced colon causes segmentation fault
Indeed, good find.
I believe the ruby parser is correct when it thinks it is a
constant, since it obviously is a ...
shevegen (Robert A. Heiler)
07:24 AM Bug #14628 (Closed): Misplaced colon causes segmentation fault
The following program with a misplaced colon causes a segmentation fault when you try to run it in Ruby 2.5.0p0 on bo... DavidEGrayson (David Grayson)
10:30 AM Bug #14627 (Feedback): class_eval "def foo(N:)\n end" regression
nobu (Nobuyoshi Nakada)
10:30 AM Bug #14627: class_eval "def foo(N:)\n end" regression
I can't reproduce it.
```
$ ruby -v -e 'Class.new.class_eval "def foo(N:)\n end"'
ruby 2.5.0p0 (2017-12-25 revis...
nobu (Nobuyoshi Nakada)

03/23/2018

08:16 PM Feature #14594: Rethink yield_self's name
> Why not use `map`
```ruby
paragraphs
.map { something }
.reject { something }
.yield_self { |ps| exter...
zverok (Victor Shepelev)
08:08 PM Feature #14594: Rethink yield_self's name
I also agree `yield_self` isn't the best name but I'm also skeptical of `then`. Why not use `map`, which we already h... cmoel (Christopher Moeller)
07:48 PM Feature #14625: yield_self accepts an argument, calling to_proc
I can't answer all questions zverok posed but in regards to:
```ruby
.yield_self(method :filter2)
```
versus
...
shevegen (Robert A. Heiler)
08:41 AM Feature #14625: yield_self accepts an argument, calling to_proc

Question 1. How is this (proposed):
```ruby
result = collection
.yield_self(method :filter1)
.yield_self(...
zverok (Victor Shepelev)
08:04 AM Feature #14625 (Open): yield_self accepts an argument, calling to_proc
Currently, yield_self doesn't accept any argument other than a block.
But there are situations where I would like ...
irohiroki (Hiroki Yoshioka)
05:01 PM Bug #14627 (Closed): class_eval "def foo(N:)\n end" regression
Ruby crashes with a segfault in case of `class_eval` defining method with a keyword starts with a capital letter. It ... ViugiNick (Nickolay Viuginov)
12:43 PM Bug #13994: Socket.getnameinfo が NUL終端文字列を期待している
ruby_2_4 r62904 merged revision(s) 60162. nagachika (Tomoyuki Chikanaga)
12:42 PM Revision 206a7980 (git): merge revision(s) 60162: [Backport #13994]
socket.c: null byte at Socket.getnameinfo
* ext/socket/socket.c (sock_s_getnameinfo): check null byte.
...
nagachika (Tomoyuki Chikanaga)
12:04 PM Bug #14557: rubyコマンド引数にファイルを渡す際, プロセス置換を使用するとエラー
ruby_2_4 r62903 merged revision(s) 62607. nagachika (Tomoyuki Chikanaga)
12:03 PM Revision f40c6377 (git): merge revision(s) 62607: [Backport #14557]
file.c: realpath on special symlink
* file.c (realpath_rec): fallback to symlink path when it is
a...
nagachika (Tomoyuki Chikanaga)
09:22 AM Feature #14624: #{nil} allocates a fresh empty string each time
i have a problem with that, what if someone might do:
~~~ ruby
x = obj.to_s
x << obj2.to_s
~~~
then it might...
Hanmac (Hans Mackowiak)
03:49 AM Feature #14624 (Open): #{nil} allocates a fresh empty string each time
This causes a bunch of unnecessary string allocations in the following scenario: `"#{'rails' unless boolean_condition... bumblingbear (Dillon Welch)
09:12 AM Bug #14626: One failing test on trunk 58fbe69a5b and OSX
I will follow this guide http://engineering.appfolio.com/appfolio-engineering/2016/6/7/git-bisect-to-find-a-ruby-regr... Benoit_Tigeot (Benoit Tigeot)
08:45 AM Bug #14626 (Closed): One failing test on trunk 58fbe69a5b and OSX
I'm using ruby/trunk on 58fbe69a5b. When I run *make test-all TESTS='rubygems/test_require.rb'*
~~~ text
Run opti...
Benoit_Tigeot (Benoit Tigeot)
06:21 AM Bug #14596: Ruby master is broken with bootsnap
https://github.com/Shopify/bootsnap/issues/145 sharevari (Yuri S.)
06:18 AM Bug #14596: Ruby master is broken with bootsnap
https://github.com/ruby/ruby/commit/f3fbf1dfadea80646c68719d439da699d527b0dc
```bash
$ rails s
/Users/fudoshiki/...
sharevari (Yuri S.)
01:09 AM Revision f3fbf1df (git): parse.y: k_else in bodystmt
* parse.y (bodystmt): expand opt_else to show the error message at
the right place.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
12:40 AM Revision 140512d2 (git): parse.y: else without rescue
* parse.y (bodystmt): [EXPERIMENTAL] make `else` without `rescue`
a syntax error. [DevelopersMeeting20180315Japan]...
nobu (Nobuyoshi Nakada)

03/22/2018

09:03 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
This seems to be the number one time-wasters in my project (metasploit-framework), where nobody can agree if we shoul... busterb (Brent Cook)
04:44 PM Bug #13239: Bug with "special exceptions" when they are thrown in context of a rescue clause.
Obviously, 2.2 changes are soon to be stopped.
Recently in Puma, Travis was changed from 2.2.8 to 2.2.9, and in co...
MSP-Greg (Greg L)
04:05 PM Revision 631272ff (git): * 2018-03-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 PM Revision e852f9d6 (git): test_exception.rb: assertions with Exception.to_tty?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:01 PM Revision 9d091c85 (git): sample/timeout.rb: Remove unnecessary increment [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:20 AM Revision 234a3045 (git): set UTF-8 if given URI string is ASCII
Now URI is normally UTF-8, and US-ASCII URI string is considered as
escaped a UTF-8 string.
https://github.com/rails/...
naruse (Yui NARUSE)
11:18 AM Bug #14363: each_grapheme_cluster.size returns the wrong size
ruby_2_5 r62896 merged revision(s) 62892,62893. naruse (Yui NARUSE)
06:59 AM Bug #14363 (Closed): each_grapheme_cluster.size returns the wrong size
Applied in changeset trunk|r62892.
----------
fix each_grapheme_cluster's size [Bug #14363]
From: Hugo Peixoto...
naruse (Yui NARUSE)
11:18 AM Revision c40df5a7 (git): merge revision(s) 62892,62893: [Backport #14363]
fix each_grapheme_cluster's size [Bug #14363]
From: Hugo Peixoto <[email protected]>
Factor ou...
naruse (Yui NARUSE)
10:02 AM Revision 06e42980 (git): teenyup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:26 AM Bug #14324 (Closed): Should Exception#full_message include escape sequences?
Applied in changeset trunk|r62894.
----------
error.c: full_message options
* error.c (exc_full_message): add highl...
nobu (Nobuyoshi Nakada)
08:26 AM Revision b9881083 (git): error.c: full_message options
* error.c (exc_full_message): add highlight: and reverse: keyword
options. [Bug #14324]
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
07:58 AM Revision 42f1b589 (git): Factor out get_reg_grapheme_cluster
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:58 AM Revision 41b2ef46 (git): fix each_grapheme_cluster's size [Bug #14363]
From: Hugo Peixoto <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62892 b2dd03c8-39d4-4d...
naruse (Yui NARUSE)
07:58 AM Revision 6e0f5b84 (git): Revert "each_grapheme_cluster shouldn't return size [Bug #14363]"
This reverts commit r62887.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62891 b2dd03c8-39d4-4d8f-98ff-823fe69b...
naruse (Yui NARUSE)
07:00 AM Bug #14380: Expected transform_keys! to work just as transform_keys, but it doesn't
ruby_2_5 r62889 merged revision(s) 62042,62044. naruse (Yui NARUSE)
07:00 AM Revision 9e11d394 (git): * 2018-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:00 AM Revision 54717626 (git): merge revision(s) 62042,62044: [Backport #14380]
hash.c: support key swapping in Hash#transform_keys!
* hash.c (rb_hash_transform_keys_bang): support key swa...
naruse (Yui NARUSE)
06:59 AM Revision 613decd0 (git): each_grapheme_cluster shouldn't return size [Bug #14363]
From: Stefan Schüßler <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62888 b2dd03c8-39...
naruse (Yui NARUSE)
06:47 AM Revision 721b55d7 (git): parse.y: reorder in the place
* parse.y (new_args_tail): reorder required and optional keyword
argument variable IDs in the place.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
06:38 AM Revision 889afb8b (git): merge revision(s) 57081:
Removed the obstacle to running test-all with VC14.
* test/fiddle/test_import.rb (LIBC.fprintf): VC14's `fpr...
U.Nakamura
03:33 AM Revision c2fdfb05 (git): merge https://github.com/ruby/openssl/commit/3af2635f117f8da563d180bc1c58702aecb16e0c
patched by Kazuki Yamaguchi <[email protected]>
bio: prevent possible GC issue in ossl_obj2bio()
Prevent the...
U.Nakamura
02:28 AM Revision 85ddcb93 (git): merge revision(s) 54737,54740,55792: [Backport #14623]
Support MSVC14 and 15 [Bug #11118]
Search _pioinfo which is not exported after MSVC14.
[Bug #12014] ...
U.Nakamura
01:29 AM Bug #14623 (Closed): backport r54737, r54740 and r55792
バックポート管理用チケットです。 usa (Usaku NAKAMURA)
12:40 AM Misc #14622: Improve documentation for 'string '.split to also mention trailing spaces being ignored
Thanks :-) rosenfeld (Rodrigo Rosenfeld Rosas)

03/21/2018

04:46 PM Misc #14622 (Closed): Improve documentation for 'string '.split to also mention trailing spaces being ignored
nobu (Nobuyoshi Nakada)
02:09 PM Misc #14622 (Closed): Improve documentation for 'string '.split to also mention trailing spaces being ignored
The current documentation only talks about leading spaces being ignored when a single space is used as an argument. I... rosenfeld (Rodrigo Rosenfeld Rosas)
04:44 PM Bug #14616: Segmentation fault in net/http/response
The trace is great. Please also try to make a minimal ruby example to reproduce it.
What made you suspect the memo...
dcorking (David Corking)
04:17 PM Bug #14363: each_grapheme_cluster.size returns the wrong size
Calculating the enumerator size here requires iterating through the whole text and do grapheme detection on all bytes... hugopeixoto (Hugo Peixoto)
04:17 PM Bug #14549: abort Date#step
ruby_2_4 r62883 merged revision(s) 62572. nagachika (Tomoyuki Chikanaga)
04:17 PM Revision 29fa5cc8 (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...
nagachika (Tomoyuki Chikanaga)
04:10 PM Feature #14197: `Enumerable#{select,reject}` accept a pattern argument
The point is that the phrase "hard to remember" in the OP is bit weak when we already have methods with the proposed ... matz (Yukihiro Matsumoto)
03:49 PM Feature #14197: `Enumerable#{select,reject}` accept a pattern argument
This issue is also related https://bugs.ruby-lang.org/issues/9602
One interesting point there is the case where a ...
xavriley (Xavier Riley)
04:03 PM Revision b6e2c528 (git): Docs and tests on URI.hierarchical?, URI.absolute?
Improve code coverage and clarify meaning of hierarchical based on RFC
text.
[Fix GH-1846]
From: Xavier Riley <xavr...
nobu (Nobuyoshi Nakada)
04:02 PM Revision 7506fde3 (git): Improve documentation for 'text '.split
The documentation didn't mention trailing spaces and the
example only demonstrated the case with leading spaces.
[Fix...
nobu (Nobuyoshi Nakada)
03:58 PM Bug #14368: backport r61862 (Fix SEGV of `/#{"\u3042"}#{'い'}/` in non UTF-8)
ruby_2_4 r62880 merged revision(s) 61862. nagachika (Tomoyuki Chikanaga)
03:57 PM Revision 31ccc99d (git): merge revision(s) 61862: [Backport #14368]
parse.y (new_regexp): Fix SEGV of `/#{"\u3042"}#{'{U+3044}'}/` in non UTF-8
Mixing other encoding string lit...
nagachika (Tomoyuki Chikanaga)
03:46 PM Revision eb02dd3c (git): * 2018-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:46 PM Revision 365338d9 (git): Remove outdated proc.c binding comment.
Passing a proc as the second argument to eval is no longer supported.
[Fix GH-1843]
From: Tieg Zaharia <tieg.zaharia...
nobu (Nobuyoshi Nakada)
03:27 PM Bug #14420: [BUG] Unnormalized Fixnum value on Rational#hash.to_s
ruby_2_4 r62877 merged revision(s) 62107. nagachika (Tomoyuki Chikanaga)
03:27 PM Revision bb9a770c (git): merge revision(s) 62107: [Backport #14420]
force fixable
* complex.c (nucomp_hash): force hash values fixable.
[ruby-core:85224] [Bug #14420]...
nagachika (Tomoyuki Chikanaga)
03:04 PM Bug #14388: 不正エンコーディング文字列から切り出した正当なエンコーディング文字列が invalid encoding になる
ruby_2_4 r62875 merged revision(s) 62040. nagachika (Tomoyuki Chikanaga)
03:04 PM Revision 49e950c8 (git): * 2018-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision 681d1e79 (git): merge revision(s) 62040: [Backport #14388]
string.c: clear substring code range
* string.c (str_substr): substring of broken code range string may
...
nagachika (Tomoyuki Chikanaga)
03:01 PM Bug #14573: rb_ary_or doesn't check objects hash when the array contains less than SMALL_ARRAY_LEN
Related to https://bugs.ruby-lang.org/issues/14263. We have posted a note there about our investigation and the incon... lewispb (Lewis Buckley)
02:51 PM Bug #11948: Segfault on blank line in IRB
I was unable to reproduce this with alpine 3.7 in docker, with ruby 2.4.3p205:
```
$ docker run --rm -ti alpine...
hugopeixoto (Hugo Peixoto)
02:29 PM Bug #14612: IPv6 address inconsistency (downcase vs. upcase)
shevegen (Robert A. Heiler) wrote:
> Is there a standard that mandates or prefers either variant?
RFC 5952 recomm...
hugopeixoto (Hugo Peixoto)
02:26 PM Bug #14263: Array Intersection does not seem to use hash
We (myself and [Lewis Buckley](https://github.com/lewispb)) investigated this issue as part of the Ruby Hack Day at C... styrmis (Stefan Magnuson)
02:26 PM Bug #14453: Crash in w32_cmdvector() if MS Application Verifier is enabled
ruby_2_4 r62874 merged revision(s) 57637. nagachika (Tomoyuki Chikanaga)
02:26 PM Revision 05292160 (git): merge revision(s) 57637: [Backport #14453]
win32.c: memcpy instead of strlcpy
* win32/win32.c (cmdglob): memcpy the exact size instead of
str...
nagachika (Tomoyuki Chikanaga)
12:40 PM Bug #14621 (Closed): Extra whitespace in squiggly heredoc with escaped newline
Applied in changeset trunk|r62873.
----------
parse.y: terminator at continued line
* parse.y (here_document): a co...
nobu (Nobuyoshi Nakada)
11:22 AM Bug #14621 (Open): Extra whitespace in squiggly heredoc with escaped newline
nobu (Nobuyoshi Nakada)
11:22 AM Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
r62872 has a bug.
```ruby
<<-TEXT
\
TEXT
```
should raise a syntax error, "`can't find string "TEXT" anywhe...
nobu (Nobuyoshi Nakada)
10:32 AM Bug #14621 (Closed): Extra whitespace in squiggly heredoc with escaped newline
Applied in changeset trunk|r62872.
----------
parse.y: unindent continued line
* parse.y (tokadd_string): stop at c...
nobu (Nobuyoshi Nakada)
06:43 AM Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
Tested in ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux] - same result. printercu (Max Melentiev)
06:38 AM Bug #14621 (Closed): Extra whitespace in squiggly heredoc with escaped newline
~~~ruby
puts <<~TXT.inspect
1 \
2
TXT
~~~
Expected:
~~~
"1 2\n"
~~~
Got:
~~~
"1 2\n"
~~~
printercu (Max Melentiev)
12:40 PM Revision 58fbe69a (git): parse.y: terminator at continued line
* parse.y (here_document): a continuing line is not the
terminator. [ruby-core:86283] [Bug #14621]
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
10:32 AM Revision 491f523a (git): parse.y: unindent continued line
* parse.y (tokadd_string): stop at continued line in dedented here
documents, to dedent for each lines before remov...
nobu (Nobuyoshi Nakada)
10:06 AM Revision bc7e5fcb (git): test_iseq.rb: disable load_from_binary
* test/ruby/test_iseq.rb (test_to_binary_with_objects): disable
load_from_binary right now, r62851 seems having a t...
nobu (Nobuyoshi Nakada)
04:00 AM Feature #14618: Add display width method to String for CLI
My e-mail to the mailing list [ruby-core] is not synced with Redmine.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/r...
aycabta (aycabta .)
02:20 AM Revision 53865346 (git): * 2018-03-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:20 AM Revision c700bb1a (git): iseq.c: constfied validate_get_insn_info [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/20/2018

06:07 PM Bug #14279: Modifying splat argument causes segmentation fault
ruby_2_4 r62868 merged revision(s) 61603. nagachika (Tomoyuki Chikanaga)
06:07 PM Revision 1e189822 (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 ...
nagachika (Tomoyuki Chikanaga)
05:55 PM Bug #14323: net/ftp: fix FrozenError in BufferedSocket
ruby_2_4 r62867 merged revision(s) 61639. nagachika (Tomoyuki Chikanaga)
05:55 PM Revision b1612ced (git): merge revision(s) 61639: [Backport #14323]
net/ftp: fix FrozenError in BufferedSocket
I noticed this bug while working on something else with
R...
nagachika (Tomoyuki Chikanaga)
05:30 PM Feature #13383: [PATCH] Module#source_location
What is the status of this proposal? I think this feature would be very nice for debugging. If being able to show all... schneems (Richard Schneeman)
04:21 PM Bug #14421: super_method segfaults when called on a re-bound Method
ruby_2_4 r62866 merged revision(s) 62115. nagachika (Tomoyuki Chikanaga)
04:21 PM Revision f634fc1f (git): merge revision(s) 62115: [Backport #14421]
proc: fix super_method segfault after bind
* proc.c: handle undefined iclass
[ruby-core:85231] [Bu...
nagachika (Tomoyuki Chikanaga)
03:53 PM Bug #13973: super_method fails on some UnboundMethods
ruby_2_4 r62865 merged revision(s) 58245,60127. nagachika (Tomoyuki Chikanaga)
03:53 PM Revision 9e7b5784 (git): merge revision(s) 58245,60127: [Backport #13973]
Refactored using Method#owner.
proc.c: super_method of included method
* proc.c (method_super_meth...
nagachika (Tomoyuki Chikanaga)
03:41 PM Bug #14380: Expected transform_keys! to work just as transform_keys, but it doesn't
> change will also be applied in ActiveSupport
Where did you get that information?
This change silently breaks ...
rafaelfranca (Rafael França)
02:18 PM Bug #14380 (Closed): Expected transform_keys! to work just as transform_keys, but it doesn't
Considered a bug and the behavior change will also be applied in ActiveSupport. naruse (Yui NARUSE)
03:33 PM Bug #14619: method(m) is not invoking respond_to_missing?
It has been backported to 2.2 and released already.
As we don't release branch-from-branch, "patch for 2.2.2" doesn'...
nobu (Nobuyoshi Nakada)
03:28 PM Bug #14619: method(m) is not invoking respond_to_missing?
Thanks nobu, indeed, I just wanted to make sure this is seen for a possible p9? patch for 2.2.2, feel free to close i... dblock (Daniel Doubrovkine)
08:44 AM Bug #14619 (Rejected): method(m) is not invoking respond_to_missing?
It works in ruby 2.2.9. nobu (Nobuyoshi Nakada)
02:54 PM Bug #14620 (Closed): Incorrect assignment causes segfault
Already fixed bug. nobu (Nobuyoshi Nakada)
02:52 PM Bug #14620: Incorrect assignment causes segfault
Actually just the last line is enough to cause the fault. headius (Charles Nutter)
01:01 PM Bug #14620 (Closed): Incorrect assignment causes segfault
The following code when executed on Ruby 2.5 causes a segfault on my machine (macOS High Sierra). This has been repro... samaaron (Sam Aaron)
02:37 PM Bug #14273: Stack Consistency Error from return in loop
Ah okay sorry, thanks! jacobevelyn (Jacob Evelyn)
09:55 AM Bug #14273 (Closed): Stack Consistency Error from return in loop
Backporting is managed with "Backport" field.
Status: Closed is expected one.
naruse (Yui NARUSE)
02:18 PM Bug #14270: backport r61564, r61565, r61571 (fix SEGV touching uninitialized memory)
ruby_2_4 r62864 merged revision(s) 61564,61565,61571. nagachika (Tomoyuki Chikanaga)
02:18 PM Revision ab2e7357 (git): merge revision(s) 61564,61565,61571: [Backport #14270]
fix SEGV touching uninitialized memory
This function can be called from Init_VM().
No assumption can...
nagachika (Tomoyuki Chikanaga)
01:52 PM Bug #14231: __uint128_t check in hash.c is broken, use
ruby_2_4 r62863 merged revision(s) 61471,61472. nagachika (Tomoyuki Chikanaga)
01:52 PM Revision c0848eed (git): merge revision(s) 61471,61472: [Backport #14231]
Use UINT128_T support flag from configure
Current check for __uint128_t in hash.c is not valid, since it ign...
nagachika (Tomoyuki Chikanaga)
01:50 PM Bug #14218: Addition of negative Object#hash values can overflow
ruby_2_4 r62849 merged revision(s) 61413. nagachika (Tomoyuki Chikanaga)
01:38 PM Bug #13493: `make realclean` removes aclocal.m4 and enc/jis/props.h
ruby_2_4 r62862 merged revision(s) 58438,58439,58451. nagachika (Tomoyuki Chikanaga)
01:38 PM Revision 01fcd07b (git): merge revision(s) 58438,58439,58451: [Backport #13493]
clean autogenerated files
* enc/depend (clean, clean-srcs): fix path of name2ctype.h, and
remove c...
nagachika (Tomoyuki Chikanaga)
01:30 PM Revision b4b3de3e (git): node.c: predicates for special NODEs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:53 AM Bug #14604: Backport r62725 to ruby 2.3 to 2.5
ruby_2_5 r62860 merged revision(s) 62725. naruse (Yui NARUSE)
09:52 AM Revision f4aea910 (git): merge revision(s) 62725: [Backport #14604]
Fix setting method visibility on method wrapped with prepend
Ignore prepended modules when looking for alrea...
naruse (Yui NARUSE)
09:39 AM Bug #14613: [Docs] Backport r62734 to ruby 2.5
ruby_2_5 r62859 merged revision(s) 62734. naruse (Yui NARUSE)
09:39 AM Revision 42fdd940 (git): merge revision(s) 62734: [Backport #14613]
Add missing class FrozenError to Exception subclasses list documentation
[Fix GH-1818]
From: Miguel...
naruse (Yui NARUSE)
09:37 AM Bug #14357: thread_safe tests suite segfaults
ruby_2_5 r62858 merged revision(s) 62396. naruse (Yui NARUSE)
09:37 AM Revision ba81ac79 (git): merge revision(s) 62396: [Backport #14357]
st.c: retry operations if rebuilt
Calling the .eql? and .hash methods during a Hash operation can
re...
naruse (Yui NARUSE)
09:09 AM Feature #14245 (Closed): Add File.read etc.
Applied in changeset trunk|r62857.
----------
io.c: Methods of File should not invoke external commands
For securit...
shugo (Shugo Maeda)
09:09 AM Revision 798316ea (git): io.c: Methods of File should not invoke external commands
For security reasons, File.read, File.binread, File.write, File.binwrite,
File.foreach, and File.readlines should not...
shugo (Shugo Maeda)
08:36 AM Revision ce848356 (git): compile.c: fix ibf_load_code
* compile.c (ibf_load_iseq_each): manage iseq_size to point loaded
objects in iseq_encoded. now marking iseq scans...
nobu (Nobuyoshi Nakada)
05:36 AM Revision 9852802c (git): * test/ruby/test_vm_dump.rb: try to fix test failures on darwin introduced at
r62810. ruby_2_3 does not output "[IMPORTANT]" message.
see [Backport #13566]
git-svn-id: svn+ssh://ci.ruby-lang...
U.Nakamura
02:09 AM Bug #14577: CPU 100% in custom backtrace method with IO.readlines
ruby_2_5 r62854 merged revision(s) 62673. naruse (Yui NARUSE)
02:09 AM Revision e02e7379 (git): merge revision(s) 62673: [Backport #14577]
thread.c: deadlock in backtrace
* thread.c (unblock_function_set): check interrupts just once
duri...
naruse (Yui NARUSE)
02:08 AM Bug #14578: Forking a child process inside of a mutex crashes the ruby interpreter
ruby_2_5 r62852 merged revision(s) 62668. naruse (Yui NARUSE)
02:08 AM Revision c28d3d02 (git): * 2018-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:08 AM Revision 59a6ed8c (git): merge revision(s) 62668: [Backport #14578]
thread.c: reset waitq of keeping mutexes in child
We must not maintain references to threads in the parent p...
naruse (Yui NARUSE)
01:57 AM Bug #14617 (Assigned): rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
hsbt (Hiroshi SHIBATA)

03/19/2018

11:55 PM Feature #14618: Add display width method to String for CLI
Martin Dürst is doing some unicode stuff; perhaps he can chime in
when he has some time.
shevegen (Robert A. Heiler)
09:02 PM Feature #14618: Add display width method to String for CLI
Dne 19.3.2018 v 20:00 [email protected] napsal(a):
>
> ## Use-case
>
> I'm developing Readline compatible librar...
Anonymous
07:00 PM Feature #14618 (Open): Add display width method to String for CLI
## Abstract
Unicode has display width data of characters, "Narrow" or "Wide".
For example, "A" is "Narrow", "💎" (...
aycabta (aycabta .)
10:13 PM Bug #14619: method(m) is not invoking respond_to_missing?
Possibly a regression from a fix that was made for https://bugs.ruby-lang.org/issues/10985? dblock (Daniel Doubrovkine)
09:54 PM Bug #14619 (Rejected): method(m) is not invoking respond_to_missing?
~~~ ruby
class VariantHash < Hash
def respond_to_missing?(method_name, *args)
true
end
def method_mi...
dblock (Daniel Doubrovkine)
08:30 PM Bug #14273 (Open): Stack Consistency Error from return in loop
jacobevelyn (Jacob Evelyn)
06:21 PM Revision 9e26858e (git): Reverting r62775, this should fix i686 builds
We need to mark default values for kwarg methods. This also fixes
Bootsnap. IBF iseq loading needed to mark iseqs a...
tenderlovemaking (Aaron Patterson)
06:16 PM Bug #14269: backport r61562, r61563, r61566, r61568, r61569 (fix SEGV touching uninitialized memory)
ruby_2_4 r62850 merged revision(s) 61562,61563,61566,61568,61569. nagachika (Tomoyuki Chikanaga)
06:16 PM Revision 4b0b1d7a (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...
nagachika (Tomoyuki Chikanaga)
05:30 PM Revision 58b2297d (git): merge revision(s) 61413: [Backport #14218]
force hash values fixable
* include/ruby/ruby.h (RB_ST2FIX): force fixable on LLP64 environment.
* ...
nagachika (Tomoyuki Chikanaga)
05:13 PM Bug #14208: raise error if value contains CR/LF in iniheader of initialize_http_header
ruby_2_4 r62848 merged revision(s) 61359. nagachika (Tomoyuki Chikanaga)
05:13 PM Revision 6423e5b4 (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...
nagachika (Tomoyuki Chikanaga)
04:59 PM Bug #14206: Null-byte ignored inside class/module/method bodies
ruby_2_4 r62847 merged revision(s) 61346. nagachika (Tomoyuki Chikanaga)
04:59 PM Revision fe2165c8 (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
...
nagachika (Tomoyuki Chikanaga)
04:27 PM Bug #13655: external encoding named "-" (doc issue or…?)
ruby_2_4 r62846 merged revision(s) 61278,61281. nagachika (Tomoyuki Chikanaga)
04:27 PM Revision cc163957 (git): merge revision(s) 61278,61281: [Backport #13655]
IO.new doesn't recive "-" as external_encoding [Bug #13655]
[DOC] `IO.new` accepts `external_encoding`
...
nagachika (Tomoyuki Chikanaga)
04:23 PM Bug #13935: Backport openssl v2.0.7
Update openssl to 2.0.7 in ruby_2_4 branch at r62845. nagachika (Tomoyuki Chikanaga)
03:14 PM Bug #13935: Backport openssl v2.0.7
Update openssl 2.0.6 in ruby_2_4 branch at r62842.
I made a mistake in my commit message...
nagachika (Tomoyuki Chikanaga)
04:22 PM Revision 3e00a2d7 (git): Update openssl to 2.0.7. [Bug #13935]
The patch is provided by Kazuki Yamaguchi.
From: Kazuki Yamaguchi <[email protected]>
Date: Mon, 25 Sep 2017 01:32:02 +0900
S...
nagachika (Tomoyuki Chikanaga)
03:40 PM Revision c9dee850 (git): * 2018-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision de87b969 (git): * win32/README.win32: `make up` is only necessary when building from SVN source.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:11 PM Revision b503ff8b (git): Update rubygems to 2.0.6. [Bug #13935]
The patch is provided by Kazuki Yamaguchi.
From: Kazuki Yamaguchi <[email protected]>
Date: Mon, 25 Sep 2017 01:32:02 +0900
S...
nagachika (Tomoyuki Chikanaga)
02:12 PM Revision 69161305 (git): parse.y: NUL-terminate ruby_sourcefile
* parse.y (yycompile): in some cases (warning, error, dtrace,...),
ruby_sourcefile is expected to be NUL-terminated...
nobu (Nobuyoshi Nakada)
01:04 PM Revision 68f37472 (git): note that patch is required and need to run make up before make
* win32/README.win32: patch(1) is required, and running `make up` before
`make` is also required.
git-svn...
U.Nakamura
12:56 PM Bug #14617: rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
> I was made aware of this issue via this bug [1] report, but it has been already reported [2] and fixed [3] upstream... aycabta (aycabta .)
12:54 PM Bug #14617: rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
This bug is fixed. RDoc 6.0.2 was released two days ago. Please use it. aycabta (aycabta .)
11:42 AM Bug #14617: rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
~~~
$ rdoc -v
6.0.1
~~~
vo.x (Vit Ondruch)
11:39 AM Bug #14617 (Closed): rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)
RDoc might fail when comment is inside code, such as:
~~~ruby
def meth
variable # comment
.chain
end
~~...
vo.x (Vit Ondruch)
12:40 PM Revision 7e199e41 (git): parse.y: push `do` token info
* parse.y (k_rescue, k_ensure): revert r62838.
* parse.y (k_do, k_do_LAMBDA, k_do_block): push token infos of
`do`...
nobu (Nobuyoshi Nakada)
11:32 AM Bug #14616 (Closed): Segmentation fault in net/http/response
I'm seeing a memory leak in my production application, which is culminating an a segmentation fault from within net/h... mattrayner (Matthew Rayner)
08:37 AM Revision 5399951b (git): parse.y: ignore do indentations
* parse.y (k_rescue, k_ensure): ignore indentations of `do`, it
is not at the beginning of line usually.
git-svn-i...
nobu (Nobuyoshi Nakada)
08:27 AM Bug #14481: Backport request for RubyGems 2.7.6
ruby_2_5 r62837 merged revision(s) 62244,62246,62301,62302,62303,62422,62436,62452. naruse (Yui NARUSE)
08:27 AM Revision 90df7a08 (git): merge revision(s) 62244,62246,62301,62302,62303,62422,62436,62452: [Backport #14481]
Merge RubyGems-2.7.5 from upstream.
Please see its details: http://blog.rubygems.org/2018/02/06/2.7.5-rele...
naruse (Yui NARUSE)
08:21 AM Revision d34bc779 (git): parse.y: mismatched indentations at middle
* parse.y (k_rescue, k_ensure, k_when, k_else, k_elsif): warn
mismatched indentations at keywords in middle of bloc...
nobu (Nobuyoshi Nakada)
08:15 AM Revision 6d6880ff (git): Merge r62197 to ease next merge
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:15 AM Revision 332938df (git): merge revision(s) 61501,61758: [Backport #14481]
fix concurrent test.
* test/rubygems/test_require.rb (test_concurrent_require):
Synchronizations s...
naruse (Yui NARUSE)
04:08 AM Bug #14611 (Closed): Exotic method parameters bug
Applied in changeset trunk|r62833.
----------
compile.c: arg var index
* compile.c (iseq_set_arguments): determine ...
nobu (Nobuyoshi Nakada)
04:08 AM Revision 9720136d (git): compile.c: arg var index
* compile.c (iseq_set_arguments): determine argument variable
indexes by the order, not by just IDs. arguments beg...
nobu (Nobuyoshi Nakada)
03:16 AM Revision 62182eb0 (git): parse.y: fix duplicate kwrest
* parse.y (f_kwrest): add the variable name as an argument, as
well as an internal variable.
* parse.y (new_args_t...
nobu (Nobuyoshi Nakada)
12:35 AM Bug #14604 (Closed): Backport r62725 to ruby 2.3 to 2.5
hsbt (Hiroshi SHIBATA)
12:34 AM Bug #14613 (Closed): [Docs] Backport r62734 to ruby 2.5
hsbt (Hiroshi SHIBATA)
12:32 AM Revision c6e50e51 (git): iseq.c: append local var index to name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:32 AM Revision affd2b76 (git): * 2018-03-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:32 AM Revision a6534541 (git): iseq.c: mark kwrest arg
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom