Project

General

Profile

Activity

From 10/09/2019 to 10/15/2019

10/15/2019

09:21 PM Feature #16255 (Closed): Make `monitor.rb` built-in
# Abstract
`monitor.rb` introduces `MonitorMixin` module and `Monitor` class.
Now, `rubygems.rb` requires `monito...
ko1 (Koichi Sasada)
08:44 PM Misc #16232: DevelopersMeeting20191017Japan
* [Feature #16131] Remove $SAFE, taint and trust (jeremyevans)
* Does anyone have time to review the patch (extens...
jeremyevans0 (Jeremy Evans)
11:26 AM Misc #16232: DevelopersMeeting20191017Japan
* [Feature #15822] Add `Hash#except`
* The method is really useful, even with ActiveSupport-less codebases I const...
zverok (Victor Shepelev)
10:55 AM Misc #16232: DevelopersMeeting20191017Japan
* [Bug #16143] BOM UTF-8 is not removed after rewind (kou)
* Can we commit this? I've reviewed. I think that this ...
kou (Kouhei Sutou)
08:27 PM Bug #16251: Evaluation in binding differs from ruby execution
Local variables are "hoisted" to the beginning of the method/block in Ruby (and start with value `nil`).
With that i...
Eregon (Benoit Daloze)
01:48 PM Bug #16251: Evaluation in binding differs from ruby execution
I have no idea whether this is a spec or undefined behavior, but the current implementation is actually intentional.
...
mame (Yusuke Endoh)
01:19 PM Bug #16251 (Closed): Evaluation in binding differs from ruby execution
In specific situation, I found that result of string evaluation in Binding returns different from ruby execution resu... teslur (Tetsushi FUKABORI)
08:16 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
I sent a PR: https://github.com/ruby/ruby/pull/2559 adding a native arm64 environment on Travis.
I also tried to a...
jaruga (Jun Aruga)
08:01 PM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
This sounds great.
We have very a similar mechanism in TruffleRuby, inherited from Rubinius, which is called "prim...
Eregon (Benoit Daloze)
06:57 PM Feature #16254 (Closed): MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
# Abstract
MRI defines most of built-in classes in C with C-APIs like `rb_define_method()`.
However, there are se...
ko1 (Koichi Sasada)
07:46 PM Revision 6081ddd6 (git): Dup hash with keyword flag when converted to keywords
When ruby2_keywords is used on a method, keywords passed to the method
are flagged. When the hash is passed as the l...
jeremyevans (Jeremy Evans)
06:42 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > Internally, there are not really performance...
jeremyevans0 (Jeremy Evans)
07:13 AM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
jeremyevans0 (Jeremy Evans) wrote:
Thank you for your detailed reply.
> Internally, there are not really perfor...
Eregon (Benoit Daloze)
05:55 PM Revision 259601ab (git): Support backspace in incremental search
aycabta (aycabta .)
05:20 PM Feature #16253: Shorthand "forward everything" syntax
Hmm. I have not decided whether I like the proposal or not; I guess I am mostly
neutral, but with a slight tendency ...
shevegen (Robert A. Heiler)
03:53 PM Feature #16253: Shorthand "forward everything" syntax
`...` has been proposed a few times as well, I'm not sure if there is a ticket for it:
```ruby
def foo(...)
...
Eregon (Benoit Daloze)
03:38 PM Feature #16253 (Closed): Shorthand "forward everything" syntax
What about using this:
```ruby
def foo(*)
@bar.foo(*)
```
to mean this:
```ruby
def foo(*a, **o,...
Dan0042 (Daniel DeLorme)
05:08 PM Revision a5245c16 (git): C-r is incremental history search in vi insert mode
aycabta (aycabta .)
04:42 PM Feature #14784 (Closed): Comparable#clamp with a range
Applied in changeset commit:git|929d5fd3b99c1413f737ff16cf0680698036e60f.
----------
Comparable#clamp with a range [...
nobu (Nobuyoshi Nakada)
04:42 PM Revision 1c50ce2c (git): * 2019-10-16 [ci skip]
git[bot]
04:42 PM Revision 929d5fd3 (git): Comparable#clamp with a range [Feature #14784]
nobu (Nobuyoshi Nakada)
04:28 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > It certainly could. I believe the idea of r...
jeremyevans0 (Jeremy Evans)
03:49 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
jeremyevans0 (Jeremy Evans) wrote:
> It certainly could. I believe the idea of removing it after Ruby 2.6 is EOL is...
Eregon (Benoit Daloze)
03:16 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
Eregon (Benoit Daloze) wrote:
> @jeremyevans0 That is not future proof and will break as soon as `ruby2_keywords` is...
jeremyevans0 (Jeremy Evans)
07:23 AM Misc #16157: What is the correct and *portable* way to do generic delegation?
At the end of my comment in https://bugs.ruby-lang.org/issues/16188#note-5 I discussed why I believe `ruby2_keywords`... Eregon (Benoit Daloze)
05:37 AM Misc #16157 (Open): What is the correct and *portable* way to do generic delegation?
Eregon (Benoit Daloze)
05:37 AM Misc #16157: What is the correct and *portable* way to do generic delegation?
@jeremyevans0 That is not future proof and will break as soon as `ruby2_keywords` is removed.
I don't think we wan...
Eregon (Benoit Daloze)
03:12 PM Feature #16252 (Open): Hash#partition should return hashes
Hash#partition is implemented by Enumerable so it just returns two arrays of arrays
```ruby
{1=>2,3=>4}.partition...
Dan0042 (Daniel DeLorme)
02:47 PM Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1
Try using a different `--prefix` for the 32bit and 64bit versions, and please report whether that fixes the issues. jeremyevans0 (Jeremy Evans)
12:17 PM Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1
64bit
-----
./configure \
--host=powerpc-ibm-aix6.1.0.0 --target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-ai...
Reshma (Reshma Kumar)
12:16 AM Bug #16179 (Feedback): ruby binaries generate "already initialized constant" warnings on AIX 6.1
Here's the results of `$:` extracted from the uploaded .docx log:
```
/opt/freeware/lib64/ruby/gems/2.6.0/gems/di...
jeremyevans0 (Jeremy Evans)
02:45 PM Bug #15977 (Closed): Unobvious result value from #next_rotate_time and #previous_period_end methods of Logger::Period module
jeremyevans0 (Jeremy Evans)
01:17 AM Bug #15977: Unobvious result value from #next_rotate_time and #previous_period_end methods of Logger::Period module
I've submitted a pull request that raises ArgumentError for invalid shift_age values: https://github.com/ruby/logger/... jeremyevans0 (Jeremy Evans)
02:34 PM Bug #15608: What should be the correct output for Method#inspect with singleton methods?
Eregon (Benoit Daloze) wrote:
> What tests does it break, could you copy the output?
I didn't keep the output. F...
jeremyevans0 (Jeremy Evans)
05:21 AM Bug #15608: What should be the correct output for Method#inspect with singleton methods?
Thanks for the patch.
What tests does it break, could you copy the output?
The tests might be wrong too.
Eregon (Benoit Daloze)
02:45 AM Bug #15608: What should be the correct output for Method#inspect with singleton methods?
Attached is a patch that fixes this issue. @wanabe was correct that we need to use `data->iclass` if available. Howe... jeremyevans0 (Jeremy Evans)
02:29 PM Revision 375cf129 (git): test/csv/write/test_general.rb: suppress warnings
of "setting Encoding.default_internal". mame (Yusuke Endoh)
02:16 PM Revision c01df7e5 (git): Fixed the key to delete [Bug #16250]
https://github.com/ruby/ruby/commit/f94202fcc228d0348ca050a7b18a8f8a538a7305#commitcomment-35505076
Co-Authored-By: ...
nobu (Nobuyoshi Nakada)
01:38 PM Revision 81176095 (git): [DOC] fixed a variable name [ci skip]
replaced "anObject" with "obj". also marked up with simple `_`s
instead of `<i>`.
nobu (Nobuyoshi Nakada)
11:57 AM Revision e0e93a19 (git): [rubygems/rubygems] Bump version to 3.1.0.pre2
https://github.com/rubygems/rubygems/commit/a7a673ce22 hsbt (Hiroshi SHIBATA)
11:56 AM Revision 51a31b86 (git): [rubygems/rubygems] Also bump test variable
https://github.com/rubygems/rubygems/commit/97e9768612 hsbt (Hiroshi SHIBATA)
11:18 AM Revision d2982bea (git): Remove duplicated `.` [ci skip]
znz (Kazuhiro NISHIYAMA)
10:41 AM Revision f94202fc (git): Use compare_by_identity hash [Bug #16250]
nobu (Nobuyoshi Nakada)
09:53 AM Revision b7079e53 (git): Try to avoid random failure
https://rubyci.org/logs/rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20191015T070011Z.fail.html.gz
```
1...
znz (Kazuhiro NISHIYAMA)
04:58 AM Revision c800967a (git): Simplify circular reference check of IRB::Color
k0kubun (Takashi Kokubun)
04:28 AM Bug #16250: IRB can't print recursive Arrays or Hashes
Great catch, thanks!
> By the way, I had to create a new account to report this bug. I already tried to reset my p...
k0kubun (Takashi Kokubun)
04:25 AM Bug #16250 (Closed): IRB can't print recursive Arrays or Hashes
Applied in changeset commit:git|96617ad1d57a13e9a282fb663ea73e4801519389.
----------
IRB colorize: take into account...
asterite (Ary Borenszweig)
04:25 AM Revision 96617ad1 (git): IRB colorize: take into account recursive arrays and hashes (#2555)
[Bug #16250] asterite (Ary Borenszweig)
12:55 AM Bug #16002 (Closed): File.writable?('/tmp/file') returns true even if it's not writable on Linux 4.19+
Applied in changeset commit:git|978276a7d9249535f855088f866551b6557f321f.
----------
Update documentation for File#{...
jeremyevans (Jeremy Evans)
12:55 AM Revision ddd42d8e (git): * 2019-10-15 [ci skip]
git[bot]
12:43 AM Revision 978276a7 (git): Update documentation for File#{readable,writable,executable}{,_real}? [ci skip]
Some OS-level security features cause these methods to not return
expected results. For example fs.protected_regular...
jeremyevans (Jeremy Evans)

10/14/2019

09:05 PM Bug #16250: IRB can't print recursive Arrays or Hashes
Fix here: https://github.com/ruby/ruby/pull/2555 the-asterite (Ary Borenszweig)
08:40 PM Bug #16250: IRB can't print recursive Arrays or Hashes
By the way, I had to create a new account to report this bug. I already tried to reset my password for account `aster... the-asterite (Ary Borenszweig)
08:39 PM Bug #16250 (Closed): IRB can't print recursive Arrays or Hashes
This is on Ruby 2.7.0dev but I'm almost sure it happens on master because this code has no check for recursion: https... the-asterite (Ary Borenszweig)
06:10 PM Misc #16157 (Closed): What is the correct and *portable* way to do generic delegation?
`pass_keywords` was renamed to `ruby2_keywords`. The correct and portable way to handle generic delegation is now:
...
jeremyevans0 (Jeremy Evans)
01:56 PM Revision c3a62603 (git): add require "monitor"
Masatoshi SEKI
11:30 AM Revision 8488d5b5 (git): Automatically close fds on fork (and GC). The connection pools are maintained at thread scope.
Masatoshi SEKI
10:54 AM Revision a4cf11c1 (git): [flori/json] fix test as reported in #343
https://github.com/flori/json/commit/565c72ba9e flori (Florian Frank)
10:54 AM Revision 308bbb4e (git): [flori/json] Add ascii_only option to JSON::Ext::Generator::State.new.
https://github.com/flori/json/commit/0e99a9aac5 Sho Hashimoto
10:54 AM Revision 98a9445d (git): [flori/json] Add shortcut converting to String
In where to convert Hash key to String for json, this patch will add shortcut for String/Symbol in Hash key.
```
$ r...
watson1978 (Shizuo Fujita)
10:54 AM Revision a2f9c38a (git): [flori/json] Convert Hash object using rb_hash_foreach()
To convert Hash convert, this part was using following pseudo code
```
obj.keys.each do |key|
value = obj[key]
....
watson1978 (Shizuo Fujita)
10:54 AM Revision 2003755a (git): [flori/json] Fixed unexpected illegal/malformed utf-8 error
flori/json@c34d01ff6a18dac04a90b2e0f820cdb1d5c7e1b2 does not
consider US-ASCII compatible but non-UTF-8 encodings, an...
nobu (Nobuyoshi Nakada)
10:54 AM Revision d7fa7e2c (git): [flori/json] Convert string encoding to UTF-8 only when needed
## Before
```
$ ruby bench_json_generate.rb
Warming up --------------------------------------
json ...
watson1978 (Shizuo Fujita)
10:54 AM Revision 40724d7d (git): [flori/json] Convert String encoding using `rb_str_encode()`
`rb_funcall` might be slightly heavy to call the Ruby method.
This patch will convert String encoding using `rb_str_e...
watson1978 (Shizuo Fujita)
10:54 AM Revision 641136c4 (git): [flori/json] Does not check whether illegal utf-8 if string has ascii only.
## Before
```
$ ruby bench_json_generate.rb
Warming up --------------------------------------
json ...
watson1978 (Shizuo Fujita)
10:54 AM Revision d9e50fcb (git): [flori/json] Pass args all #to_json in json/add/*.
https://github.com/flori/json/commit/36a7ef6790 Sho Hashimoto
10:54 AM Revision 7376d70c (git): [flori/json] Only attempt to resize strings not other objects
https://github.com/flori/json/commit/167ada8da7 flori (Florian Frank)
08:30 AM Revision ede1a3dc (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
06:42 AM Revision 0195966b (git): Suppress warnings for Thread.exclusive
nobu (Nobuyoshi Nakada)
06:10 AM Revision 3e763883 (git): Fixed overflow at onig_region_set
To get rid of a bug of `onig_region_set` which takes `int`s
instead of `OnigPosition`s, set elements of `beg` and `en...
nobu (Nobuyoshi Nakada)
05:22 AM Feature #16029: Expose fstring related APIs to C-extensions
I was thinking something like?
```
VALUE
rb_fstring_lookup(char *ptr, rb_encoding *enc)
{
st_data_t fstrin...
sam.saffron (Sam Saffron)
05:20 AM Bug #2718 (Closed): DRb mixing up function return values between PIDs after fork()
Applied in changeset commit:git|d0ed935d5bf8c3fce9800742a36e44fb7f63dda4.
----------
Fix some DRb issues (#2552)
* ...
jeremyevans (Jeremy Evans)
05:20 AM Bug #14471 (Closed): DRb mixing up function return values between PIDs after fork()
Applied in changeset commit:git|d0ed935d5bf8c3fce9800742a36e44fb7f63dda4.
----------
Fix some DRb issues (#2552)
* ...
jeremyevans (Jeremy Evans)
05:20 AM Bug #2339 (Closed): DRb leaves connections half-open
Applied in changeset commit:git|d0ed935d5bf8c3fce9800742a36e44fb7f63dda4.
----------
Fix some DRb issues (#2552)
* ...
jeremyevans (Jeremy Evans)
05:20 AM Bug #7833 (Closed): DRb has problems with BasicObject
Applied in changeset commit:git|d0ed935d5bf8c3fce9800742a36e44fb7f63dda4.
----------
Fix some DRb issues (#2552)
* ...
jeremyevans (Jeremy Evans)
05:20 AM Revision d0ed935d (git): Fix some DRb issues (#2552)
* Handle BasicObject in drb
Also fix a bug in rescue clause of any_to_s because sprintf
does not handle the %l modif...
jeremyevans (Jeremy Evans)
03:40 AM Revision 95c420c4 (git): Import StringScanner 1.0.3 (#2553)
Sutou Kouhei
02:31 AM Revision 6fa34923 (git): Eliminate the possibility to leave freed ISeq
in active_units
Hoping to fix:
http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2311375
k0kubun (Takashi Kokubun)
02:02 AM Feature #16146: Array .difference allow custom comparison
jonathanhefner (Jonathan Hefner) wrote:
> Dan0042 (Daniel DeLorme) wrote:
> > What you're asking for is a O(n²) ope...
duerst (Martin Dürst)

10/13/2019

09:15 PM Revision 183b4215 (git): Delay the free until we stop referring to a unit
`if (unit->iseq)` might have referred to a freed unit. Therefore this
commit delays its free.
k0kubun (Takashi Kokubun)
05:26 PM Bug #5808 (Closed): "a = []; a << a; puts JSON.dump(a)" aborted
The crash reported here was definitely a bug, but it was fixed in Ruby 2.1. It still generates a SystemStackError. I... jeremyevans0 (Jeremy Evans)
05:19 PM Bug #9555 (Closed): Ruby 2.0.0 compilation fails to compile on cygwin. (curses.so)
jeremyevans0 (Jeremy Evans)
05:19 PM Bug #9588 (Closed): program name variables tainted
As tainting will be removed from Ruby 2.7, this can be closed. jeremyevans0 (Jeremy Evans)
05:17 PM Bug #10441 (Rejected): Wrong required argument count reported for **kwargs method ArgumentErrors
jxf (John Feminella) wrote:
> When collecting excess keyword arguments, Ruby's ArgumentError message doesn't count t...
jeremyevans0 (Jeremy Evans)
05:12 PM Bug #10898 (Closed): Cannot compile Ruby 2.2.0 with configure error: something wrong with LDFLAGS=""
jeremyevans0 (Jeremy Evans)
05:09 PM Bug #12545 (Closed): Ruby 2.3.1 compilation error [Windows]
jeremyevans0 (Jeremy Evans)
05:05 PM Bug #13535 (Closed): Installing Ruby2.4.1 on Solaris 10
jeremyevans0 (Jeremy Evans)
05:05 PM Revision 673f3842 (git): * 2019-10-14 [ci skip]
git[bot]
05:03 PM Bug #14626 (Closed): One failing test on trunk 58fbe69a5b and OSX
jeremyevans0 (Jeremy Evans)
04:59 PM Revision 26fae9aa (git): Remove the quick stop path after convert_unit_to_func
Now I'm not exactly sure why I needed to check `stop_worker_p` after
`mjit_copy_cache_from_main_thread` of `convert_u...
k0kubun (Takashi Kokubun)
04:54 PM Bug #15646 (Closed): method_defined? inside method_added behaves differently for `initialize`
jeremyevans0 (Jeremy Evans)
04:47 PM Bug #13584 (Third Party's Issue): Crash in logging (os_log) on MBP
jeremyevans0 (Jeremy Evans)
04:47 PM Bug #15796 (Third Party's Issue): Ramdon console crashes
jeremyevans0 (Jeremy Evans)
04:46 PM Bug #15623 (Third Party's Issue): Ruby 2.6.1 Segmentation Fault in on Phusion Passenger server boot in dev
jeremyevans0 (Jeremy Evans)
04:46 PM Bug #15669 (Third Party's Issue): This issue was marked as resolved in 2.5.5 release note but I'm still experiencing it
jeremyevans0 (Jeremy Evans)
04:46 PM Bug #15763 (Third Party's Issue): Segmentation fault in timeout.rb / sleep
jeremyevans0 (Jeremy Evans)
04:46 PM Bug #15749 (Third Party's Issue): Rails Sever Crashing
jeremyevans0 (Jeremy Evans)
04:46 PM Bug #13646 (Third Party's Issue): Segmentation fault with postgresql_adapter in Rails
jeremyevans0 (Jeremy Evans)
01:34 PM Bug #15490: socket.rb - recurring segmentation faults
I got a similar issue.
I uploaded a reproducible code and a crash report.
https://gist.github.com/abicky/1263fd5c...
a_bicky (Takeshi Arabiki)
12:48 AM Revision 6a1809e2 (git): Enhance doc for ENV.delete
burdettelamar (Burdette Lamar)
12:00 AM Bug #16242: Refinements method call to failed
Its greated!!
Thanks jeremy :)
I will read pull request.
osyo (manga osyo)

10/12/2019

11:51 PM Bug #13446: refinements with prepend for module has strange behavior
Fixing this first requires fixing #16242, which allows including a module that uses prepend and is refined. However,... jeremyevans0 (Jeremy Evans)
11:47 PM Bug #16242: Refinements method call to failed
This issue is specific to modules that are refined and use prepend. The reason it does not work:
1. Refining a mod...
jeremyevans0 (Jeremy Evans)
03:54 PM Revision 6ee2fb50 (git): * 2019-10-13 [ci skip]
git[bot]
03:51 PM Revision a5ecf7e0 (git): dir.c (join_path_from_pattern): check NULL from malloc
Coverity Scan points out that all the return values of GLOB_ALLOC_N are
NULL-checked except this call.
mame (Yusuke Endoh)
03:49 PM Revision 90b9900d (git): io.c (rb_update_max_fd): fail with a negative file descripter
Coverity Scan points out that ext/socket/unixsocket.c may pass -1 to
rb_update_max_fd. I'm unsure whether it can hap...
mame (Yusuke Endoh)
01:44 PM Revision ebc2198d (git): re.c (match_set_string): add a check for memory allocation
Found by Coverity Scan mame (Yusuke Endoh)
01:09 PM Revision 7ebf9da7 (git): Also moved fallback definition of __has_attribute
nobu (Nobuyoshi Nakada)
12:14 PM Revision cb14c4a5 (git): missing/setproctitle.c: remove nonsense NULL check
If fmt is NULL, ptitle is uninitialized and used.
SETPROCTITLE(3bsd) says "If fmt is NULL, the process title is resto...
mame (Yusuke Endoh)
11:39 AM Feature #16249: Dir#empty? and File#empty?
Personally I think I have wanted/needed this in the past. It has not been
that important to me to suggest it myself,...
shevegen (Robert A. Heiler)
10:59 AM Feature #16249: Dir#empty? and File#empty?
```c
return rb_dir_s_empty_p(rb_cDir, rb_str_dup(dirp->path));
```
This checks a directory named the current...
nobu (Nobuyoshi Nakada)
09:48 AM Feature #16249 (Open): Dir#empty? and File#empty?
I don't think it is a super-valuable addition (as nobody complained about it, or I can't find similar proposals), but... zverok (Victor Shepelev)
09:47 AM Revision f4055647 (git): Suppress deprecation warnings of MD5 from Xcode 11.1
nobu (Nobuyoshi Nakada)
09:14 AM Revision 04333da7 (git): Suppress "clobbered" warnings by gcc 9.2.0
nobu (Nobuyoshi Nakada)
08:47 AM Revision 710bc003 (git): Moved RB_METHOD_DEFINITION_DECL to intern.h
This macro is used here before defined in ruby.h. nobu (Nobuyoshi Nakada)
08:39 AM Feature #15923: New independent string without memcpy
I've implemented string bindings using growing ruby string. It was a bit tricky - I had to use `rb_protect`. I will l... puchuu (Andrew Aladjev)
05:58 AM Revision 6333020f (git): atime may not updated unless strictatime is set on macOS Catalina
Cited from mount(8):
```
strictatime
Always update the file access time when reading from a
file. Wi...
nobu (Nobuyoshi Nakada)
05:03 AM Revision 92df7d98 (git): Import CSV 3.1.2 (#2547)
Sutou Kouhei
04:25 AM Revision d6e68bb2 (git): Use `warn` with `uplevel:` instead of `caller`
znz (Kazuhiro NISHIYAMA)
03:07 AM Revision f6a666a1 (git): * 2019-10-12 [ci skip]
git[bot]
03:07 AM Revision 412cd567 (git): Import REXML 3.2.3 (#2548)
Sutou Kouhei

10/11/2019

05:26 PM Misc #16232: DevelopersMeeting20191017Japan
* [Feature #13683] Add strict Enumerable#single
* Matz didn't like the `single` name but we have a proposal for `#...
rafaelfranca (Rafael França)
03:53 PM Bug #16189 (Closed): Some rubygems tests failed when run across 0:00 UTC
This appears to be fixed by commit:6f522455bf801acefcd2ade0b2e4a2fef3cb70a4. jeremyevans0 (Jeremy Evans)
12:43 PM Revision c8666637 (git): io.c (NUM2IOCTLREQ): Accept a value more than INT_MAX
ioctl accepts int as request arguments on some platforms, but some
requests are more than INT_MAX, e.g., RNDGETENTCNT...
mame (Yusuke Endoh)
12:39 PM Revision 9e4a53fe (git): test/ruby/test_rubyoptions.rb (test_encoding): skipped on Android
On Android, nl_langinfo() always returns UTF-8 even when LANG is C. mame (Yusuke Endoh)
12:13 PM Revision f3c4e620 (git): test/test_syslog.rb (test_log): skipped on Android
On Android 28, LOG_PERROR is defined, but not implemented yet.
This change skips Syslog#log explicitly.
mame (Yusuke Endoh)
07:32 AM Bug #16133: 2.5 --> 2.6: backwards incompatible change in MalformedCSVError
This is already closed.
"Third Party's Issue" is one of the close statuses.
kou (Kouhei Sutou)
07:26 AM Bug #16133: 2.5 --> 2.6: backwards incompatible change in MalformedCSVError
may close with `Won't resolve` probably, coz of this:
https://github.com/ruby/csv/issues/104
mifrill (Aleksey Strizhak)
04:50 AM Revision d6c80876 (git): Use `bind_call` instead of `bind` and `call`
znz (Kazuhiro NISHIYAMA)
04:48 AM Revision ddfb306e (git): win32.c: Remove unused calls to StartSockets (#2312)
NtSocketsInitialized behavior changed in e33b1690, requiring
a call to rb_w32_sysinit for starting Windows Sockets.
...
gabuscus (Gabriel Nagy)
02:34 AM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
Could this take argument as well? I'd be keen for something in the spirit of `Enumerable#grep` but where an (optiona... inopinatus (Joshua GOODALL)
02:20 AM Revision 7cc1cd3d (git): Module#define_method: Add UnboundMethod to expected classes
ksss (Yuki Kurihara)
02:16 AM Revision 9c24ce55 (git): Reduce the minimum string buffer size from 127 to 63 bytes
methodmissing (Lourens Naudé)
02:15 AM Revision 0ca4f749 (git): Right size the numtable in insn_make_insn_table to VM_INSTRUCTION_SIZE
methodmissing (Lourens Naudé)
12:33 AM Revision 87958520 (git): set real path to __FILE__ and __dir__ in Binding#irb
When reading Binding#irb, the file of the calling source is reflected in __FILE__ and __dir__. takkanm (三村 益隆)

10/10/2019

10:58 PM Bug #15979 (Rejected): URI.parse does not validate components
This is not a bug, and not related to validation. The reason for the behavior is that `URI.parse` uses an RFC 3986 p... jeremyevans0 (Jeremy Evans)
09:59 PM Bug #16143: BOM UTF-8 is not removed after rewind
I've reviewed the pull request. I found a problem. kou (Kouhei Sutou)
09:10 PM Bug #16092 (Closed): [doc] precedence of modifier-rescue
Applied in changeset commit:git|29c1e9a0d4c855781853f0ad41b0125f42cf504d.
----------
Document the difference between...
jeremyevans (Jeremy Evans)
08:45 PM Revision 29c1e9a0 (git): Document the difference between expressions and statements [ci skip]
In the grammar, all expressions are statements, but not all
statements are expressions. Some parts of the grammar ac...
jeremyevans (Jeremy Evans)
08:15 PM Bug #16127 (Closed): Delegates to BasicObject do not work
Applied in changeset commit:git|2322c94dd65c0247b103e2f91411e37458e1466d.
----------
Support delegates for BasicObje...
jeremyevans (Jeremy Evans)
08:15 PM Revision ddb0267e (git): * 2019-10-11 [ci skip]
git[bot]
08:15 PM Revision 2322c94d (git): Support delegates for BasicObject
For BasicObject, bind the Kernel respond_to? instance method to the
object and call it instead of calling the method ...
jeremyevans (Jeremy Evans)
02:39 PM Bug #16135: Segmentation fault in Ruby 2.6.1
Is there any update on this ? satishdewangan (Satish Dwangan)
02:22 PM Revision 41719096 (git): mjit_worker.c: Add `-lm` to the C compiler in MJIT on Android
To avoid:
cannot locate symbol "modf" referenced by .../_ruby_mjit_XXX.so"
mame (Yusuke Endoh)
02:21 PM Revision f845e1bc (git): ext/syslog/extconf.rb: add -llog for Android
Otherwise, requiring syslog results in:
cannot locate symbol "__android_log_print" referenced by "syslog.so"
mame (Yusuke Endoh)
02:18 PM Revision a886d5cb (git): test/ruby/test_file_exhaustive.rb: check the owner of the root directory
The root directory may be owned by the current user, for example, in
chroot environment.
mame (Yusuke Endoh)
12:02 PM Revision c144d721 (git): Skip very time consuming test [Bug #16196]
nobu (Nobuyoshi Nakada)
10:59 AM Revision 9c0cd5c5 (git): Prefer rb_gc_register_mark_object
* ext/openssl/ossl_asn1.c (Init_ossl_asn1): prefer
`rb_gc_register_mark_object`, which is better for constant
obj...
nobu (Nobuyoshi Nakada)
10:59 AM Revision 0131fab7 (git): Slimed down test runtime by stressing openssl.so only [Bug #16196]
nobu (Nobuyoshi Nakada)
09:15 AM Revision 3f413896 (git): forgot to delete unused #incude line
shyouhei (Shyouhei Urabe)
08:49 AM Revision 2d393bf1 (git): guard rb_fatal against non-GVL call
Suggested by ko1. rb_fatal requires GVL so just in case one lacks,
print that information and let the process die. ...
shyouhei (Shyouhei Urabe)
08:10 AM Revision f1ce4897 (git): make rb_raise a GVL-only function again
Requested by ko1 that ability of calling rb_raise from anywhere
outside of GVL is "too much". Give up that part, mov...
shyouhei (Shyouhei Urabe)
08:10 AM Revision d96f04d7 (git): add "[FATAL]" marker on abort
Indicate that the situation is fatal. shyouhei (Shyouhei Urabe)
07:48 AM Revision 0b26f56a (git): Remove unreachable step level `[ci skip]`
znz (Kazuhiro NISHIYAMA)
07:25 AM Bug #16196 (Closed): `RUBY_DEBUG=gc_stress ruby -ropenssl` dumps core
Applied in changeset commit:git|203b7fa1ae8cc40d41c38d684f70b3fea7fae813.
----------
Guard static variable first
* ...
nobu (Nobuyoshi Nakada)
06:44 AM Bug #16196: `RUBY_DEBUG=gc_stress ruby -ropenssl` dumps core
I still observe this behaviour. Can someone confirm? shyouhei (Shyouhei Urabe)
07:25 AM Revision 203b7fa1 (git): Guard static variable first
* ext/openssl/ossl_asn1.c (Init_ossl_asn1): register the static
variable to grab an internal object, before creatin...
nobu (Nobuyoshi Nakada)
06:09 AM Bug #15794: Can not start Puma with Rails after bundle install
dohaibac (Bac Do) wrote:
> I resolved my issue, it due to some versions of my gems. I updated my gem to the latest v...
dportalesr (Daniel Portales)
05:51 AM Revision 6f522455 (git): [rubygems/rubygems] Do not compare with unreliable Gem::Specification::TODAY
https://gist.github.com/ko1/a88834d744a0682711dab53fd9015a04#file-brlog-trunk-nopara-20191005-235153-L393-L472
https...
nobu (Nobuyoshi Nakada)
05:51 AM Revision dc2b3019 (git): [rubygems/rubygems] Restrict possible date range
https://github.com/rubygems/rubygems/commit/1bd77f53df nobu (Nobuyoshi Nakada)
05:51 AM Revision 717b72a8 (git): [rubygems/rubygems] Optimize Gem::Package::TarReader#each
https://github.com/rubygems/rubygems/commit/1de8f39ac4 byroot (Jean Boussier)
05:21 AM Revision 495ebd6e (git): Now error.o needs thread.h
nobu (Nobuyoshi Nakada)
05:11 AM Bug #16248 (Closed): Unclear semantics of the "numbered parameter is already used" error
Applied in changeset commit:git|c2065c64cb198d5b53a5ecdf9638d064f6fec2e2.
----------
Fixed numbered parameter check
...
nobu (Nobuyoshi Nakada)
12:42 AM Bug #16248 (Closed): Unclear semantics of the "numbered parameter is already used" error
Numbered parameters now have an underscore as a prefix:
``` ruby
->{ _1 }.call(1)
=> 1
```
And it's not allow...
ibylich (Ilya Bylich)
05:07 AM Revision c2065c64 (git): Fixed numbered parameter check
* parse.y (struct local_vars): moved numbered parameter NODEs for
nesting check to separate per local variable scop...
nobu (Nobuyoshi Nakada)
05:07 AM Revision a23b6390 (git): negative_size_allocation_error never returns
nobu (Nobuyoshi Nakada)
03:07 AM Revision 9c3153e0 (git): allow rb_raise from outside of GVL
Now that allocation routines like ALLOC_N() can raise exceptions
on integer overflows. This is a problem when the ca...
shyouhei (Shyouhei Urabe)

10/09/2019

11:53 PM Revision 25100c46 (git): lhs of pattern matching expression of should have a value
nobu (Nobuyoshi Nakada)
04:08 PM Revision 42edb056 (git): extracted declare_under
nobu (Nobuyoshi Nakada)
03:59 PM Revision 8dc5fe6e (git): Simplify rb_define_module_id
alanwu (Alan Wu)
03:14 PM Revision ecf6c040 (git): * 2019-10-10 [ci skip]
git[bot]
03:13 PM Revision 9b919885 (git): fix memory corruption in old GCC
This typo introduced memory corruption when __builtin_add_overflow
is not available but uint128_t is. GCC before 5 a...
shyouhei (Shyouhei Urabe)
02:46 PM Revision bb71a128 (git): Prefer st_is_member over st_lookup with 0
The st_is_member DEFINE has simpler semantics, for more readable code. Empact (Ben Woosley)
02:39 PM Revision 29e6782f (git): Share ruby_sighandler_t definition
nobu (Nobuyoshi Nakada)
02:22 PM Revision 891cbd66 (git): signal.c: save the original sighandlers for fatal signals
On Android, a signal handler that is not SIG_DFL is set by default for
SIGSEGV. Ruby's install_sighandler inserts Ru...
mame (Yusuke Endoh)
02:02 PM Revision dd477df4 (git): error.c (rb_bug_for_fatal_signal): renamed from rb_bug_context
Just refactoring.
The name "rb_bug_context" is completely unclear for me.
(Can you see that "context" means "machine...
mame (Yusuke Endoh)
01:57 PM Revision b9cf58d2 (git): signal.c (ruby_abort): move the definition for refactoring
The three functions for fatal signals, sigbus, sigsegv, and sigill, are
a family. The definition of ruby_abort had i...
mame (Yusuke Endoh)
11:16 AM Feature #16246: require with an optional block that is evaluated when requiring fails
:)
I kind of like the idea (ok ok a bit of self-patting by me, so ...).
I think my primary objective was more m...
shevegen (Robert A. Heiler)
05:54 AM Feature #16246 (Open): require with an optional block that is evaluated when requiring fails
I have some code like this:
```ruby
begin
require "foo"
rescue LoadError
puts "You need to install foo in ...
sawa (Tsuyoshi Sawada)
11:00 AM Feature #16245: Add interfaces to count and measure size all IMEMO objects
I like this API more, however `RubyVM` has been under discussion in https://bugs.ruby-lang.org/issues/15752 regarding... methodmissing (Lourens Naudé)
10:49 AM Feature #16245: Add interfaces to count and measure size all IMEMO objects
To be honest I think the best spot for this is `RubyVM.stat`
perhaps:
```
RubyVM.stat
{
:global_method_st...
sam.saffron (Sam Saffron)
10:52 AM Misc #16232: DevelopersMeeting20191017Japan
[Feature #16245] Add interfaces to count and measure size all IMEMO objects (Sam Saffron)
- Would love to see this...
sam.saffron (Sam Saffron)
08:46 AM Revision 6f11c3b3 (git): Check '[ci skip]' at job level
znz (Kazuhiro NISHIYAMA)
08:21 AM Bug #16008: Ripper hshptn node drops information
It works in this case, but not generic.
My WIP patch is https://github.com/nobu/ruby/tree/ripper.value
nobu (Nobuyoshi Nakada)
06:52 AM Feature #16244: Add a Time#before? and Time#after? method
I think the answer to the question 'which is clearer, more obvious, etc.' cannot be answered objectively. Sawa's exam... keithrbennett (Keith Bennett)
05:03 AM Revision d0e30fc9 (git): vm_eval.c (rb_adjust_argv_kw_splat): avoid memcpy with zero length
A method call is often with `argc = 1` and `argv = &v` where v is a
VALUE, and some functions shift the arguments by ...
mame (Yusuke Endoh)
03:41 AM Revision b439ee1b (git): Remove uselsess shebang
as the file is not executable anyway. pvalena (Pavel Valena)
03:25 AM Revision 12d05537 (git): Update required_ruby_version to 2.4.0
aycabta (aycabta .)
03:25 AM Revision 2d001003 (git): Improve performance of Array#sum with float elements (#1555)
The declaration of local variable in loop, it will initialize local variable for each run of the loop with clang gene... watson1978 (Shizuo Fujita)
03:12 AM Revision a14cc07f (git): avoid returning NULL from xrealloc
This changeset is to kill future possibility of bugs similar to
CVE-2019-11932. The vulnerability occurs when reall...
shyouhei (Shyouhei Urabe)
03:12 AM Revision 7e0ae169 (git): avoid overflow in integer multiplication
This changeset basically replaces `ruby_xmalloc(x * y)` into
`ruby_xmalloc2(x, y)`. Some convenient functions are al...
shyouhei (Shyouhei Urabe)
03:12 AM Revision a220410b (git): annotate malloc-ish functions
Make them gcc friendly. Note that realloc canot be __malloc__
attributed, according to the GCC manual.
shyouhei (Shyouhei Urabe)
03:12 AM Revision 2f3b4029 (git): fix arity mismatch
Seems nobody has actually used this macro. Such an obvious typo. shyouhei (Shyouhei Urabe)
12:08 AM Revision 59cfa2d1 (git): * 2019-10-09 [ci skip]
git[bot]
12:08 AM Revision e078352a (git): lldb_cruby.py: fixed inspecting string [ci skip]
Show the size of String.
To see the whole contents even after NUL char:
```
(lldb) rp str
(const char [5]) $1 = "x"...
nobu (Nobuyoshi Nakada)
12:08 AM Revision 98131f14 (git): lldb_cruby.py: fixed embedded string ptr [ci skip]
Use GetLocation to get the address of embedded array. nobu (Nobuyoshi Nakada)
 

Also available in: Atom