Project

General

Profile

Activity

From 11/25/2021 to 12/01/2021

12/01/2021

11:50 PM Revision e387458d (git): Ignore to generate the documentation from vendored libraries
hsbt (Hiroshi SHIBATA)
11:06 PM Bug #17836: JIT fails to create a precompiled header with Clang
ruby_3_0 69272c74a3f675373fc6c6f32b685620da8a85ee merged revision(s) 9f8a50723f8a84b3e4755b418570148f422d1b28. nagachika (Tomoyuki Chikanaga)
11:05 PM Revision 69272c74 (git): merge revision(s) 9f8a50723f8a84b3e4755b418570148f422d1b28: [Backport #17836]
Specify -c to emit pch with clang (#4423)
[Bug #17836]
---
mjit_worker.c | 1 +
1 f...
nagachika (Tomoyuki Chikanaga)
11:04 PM Bug #13392 (Closed): TracePoint return event location is incorrect for methods defined with define_method
Applied in changeset commit:git|9121e57a5f50bc91bae48b3b91edb283bf96cb6b.
----------
Rework tracing for blocks runni...
alanwu (Alan Wu)
11:03 PM Revision 5c5974db (git): merge revision(s) 44d67128a827c65d1a3867c5d8fd190d10aa1dd2:
test/openssl/test_cipher: skip AES-CCM tests on OpenSSL <= 1.1.1b
AES CCM mode in OpenSSL <= 1.1.1b was over...
nagachika (Tomoyuki Chikanaga)
10:59 PM Feature #18376: Version comparison API
RubyGems could adopt this API and slowly phase out its own version. vo.x (Vit Ondruch)
09:24 PM Feature #18376: Version comparison API
Yeah, I still think it's completely overkill, and people will be confused because we will have two different things t... deivid (David Rodríguez)
08:36 PM Feature #18376: Version comparison API
Note that for default gems (which ffi is on jruby/truffleruby) it's also not possible to use RubyGems, so I think the... Eregon (Benoit Daloze)
05:55 PM Feature #18376: Version comparison API
My opinion is that the right place for this functionality is RubyGems and that adding/duplicating it as builtin funct... deivid (David Rodríguez)
05:47 PM Feature #18376: Version comparison API
Eregon (Benoit Daloze) wrote in #note-1:
> One issue I could imagine is different version conventions and how to com...
vo.x (Vit Ondruch)
05:08 PM Feature #18376: Version comparison API
I think this could be useful.
I've seen several cases like this, notably I remember https://github.com/ffi/ffi/blob/...
Eregon (Benoit Daloze)
04:56 PM Feature #18376 (Open): Version comparison API
Is there a chance to have version comparison API? For example if `Gem::Version` was extracted into `::Version`. This ... vo.x (Vit Ondruch)
10:42 PM Revision 9121e57a (git): Rework tracing for blocks running as methods
The main impetus for this change is to fix [Bug #13392]. Previously, we
fired the "return" TracePoint event after pop...
alanwu (Alan Wu)
09:44 PM Bug #18377: Integer#times has different behavior depending on the size of the integer
Eregon (Benoit Daloze) wrote in #note-1:
> The inconsistency for bignums is indeed surprising, I think that is worth...
jeremyevans0 (Jeremy Evans)
08:42 PM Bug #18377: Integer#times has different behavior depending on the size of the integer
I think this should remain unspecified, or explicitly mention both behavior (respecting +, < or not) are valid.
For ...
Eregon (Benoit Daloze)
05:05 PM Bug #18377 (Closed): Integer#times has different behavior depending on the size of the integer
If we redefine `+` or `>`, `Integer#times` adheres to this redefinition for big integers but not for small integers.
...
jemmai (Jemma Issroff)
09:41 PM Bug #18375 (Rejected): Timeout.timeout(sec, klass: MyExceptionClass) can not retry correctly.
I don't think this is a bug, and I don't think timeout can work with your proposed code. There's no way the block-le... jeremyevans0 (Jeremy Evans)
12:28 PM Bug #18375 (Rejected): Timeout.timeout(sec, klass: MyExceptionClass) can not retry correctly.
Following is a example for describe this issue.
```rb
class DelayError < Exception
end
Timeout.timeout(2, Del...
zw963 (Wei Zheng)
09:07 PM Bug #18260 (Closed): YJIT uses insecure mmap protections
Fixed by commit:157095b3a44d8b0130a532a0b7be3f5ac197111c jeremyevans0 (Jeremy Evans)
08:46 PM Revision 3b2b28d0 (git): Revert "Force disable yjit on OpenBSD"
This reverts commit 119626da947bf6492ef7a27abf3bf12de5d0d95a. tenderlovemaking (Aaron Patterson)
08:45 PM Revision 4079f0da (git): Check that cb / ocb exist before marking executable
If YJIT isn't enabled, or hasn't finished booting, cb / ocb could be
null. This commit just checks to make sure they...
tenderlovemaking (Aaron Patterson)
08:45 PM Revision 157095b3 (git): Mark JIT code as writeable / executable depending on the situation
Some platforms don't want memory to be marked as writeable and
executable at the same time. When we write to the code...
tenderlovemaking (Aaron Patterson)
07:43 PM Revision 94ee88b3 (git): [rubygems/rubygems] Provide distinguished name which will be correctly parsed.
It seems that since ruby openssl 2.1.0 [[1]], the distinguished name
submitted to `OpenSSL::X509::Name.parse` is not ...
Vít Ondruch
05:25 PM Revision eb7ec00d (git): * 2021-12-02 [ci skip]
git[bot]
05:25 PM Revision d0772632 (git): YJIT: Fail gracefully while OOM for new entry points
Previously, YJIT crashes with rb_bug() when asked to compile new methods
while out of executable memory.
To handle t...
alanwu (Alan Wu)
02:24 PM Misc #18371: Release branches (release information in general)
> when the first preview is shipped
Do you mean when the first RC is shipped?
Previews can be early in the dev cy...
Eregon (Benoit Daloze)
11:57 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
I have downgraded RBS to 1.6.2, but the same issue suffers (not surprisingly) debug:
~~~
Building native extensio...
vo.x (Vit Ondruch)
11:11 AM Bug #18373 (Closed): Bundled gem (RBS, debug) extensions are not properly built
Trying to build Ruby 3.1.0 preview1 (or the current snapshot), I observe the following issue during installation of b... vo.x (Vit Ondruch)
11:43 AM Bug #18374 (Closed): make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
The build log contains plenty of messages such as:
~~~
... snip ...
make: Circular spec/ruby/optional/capi/ext...
vo.x (Vit Ondruch)
09:54 AM Bug #18353 (Closed): Czech keyboard input encoding on czech Windows
Applied in changeset commit:git|37cd35aea8afa35476640e454eaf2c53150dc014.
----------
[win32] Transcode input from co...
nobu (Nobuyoshi Nakada)
09:54 AM Revision a84dc9d8 (git): [win32] skip example about STDIN encodings
nobu (Nobuyoshi Nakada)
09:54 AM Revision 37cd35ae (git): [win32] Transcode input from console [Bug #18353]
On Windows, as the input from console is encoded in the active
code page, convert the input to the internal encoding.
nobu (Nobuyoshi Nakada)
08:16 AM Feature #18367: Stop the interpreter from escaping error messages
Dan0042 (Daniel DeLorme) wrote in #note-7:
> I'm not sure it makes sense to allow ANSI escapes that can _only_ resul...
mame (Yusuke Endoh)
05:59 AM Bug #18372 (Closed): Need to backport 43a3c88187dcd54ba008834a865e50eb28a78de9
To get rid of compile warning of (newer) VC++ usa (Usaku NAKAMURA)
02:00 AM Revision 0b53a889 (git): Merge rubygems master fd676ac464491afaa0baf5435cb11b3f86229cbd
hsbt (Hiroshi SHIBATA)
12:53 AM Revision 9f4bdeb4 (git): Removed vcr files. They are needless for this repo
hsbt (Hiroshi SHIBATA)

11/30/2021

11:33 PM Misc #18371: Release branches (release information in general)
In recent years, we released the final version of new release from master branch directly. Because creating the relea... hsbt (Hiroshi SHIBATA)
10:52 PM Misc #18371 (Assigned): Release branches (release information in general)
Hi,
I was trying to learn about Ruby's release process. I noticed that we don't create a release branch until the...
tenderlovemaking (Aaron Patterson)
10:15 PM Revision 3eac05c7 (git): * 2021-12-01 [ci skip]
git[bot]
10:15 PM Revision b68217ff (git): [rubygems/rubygems] Update bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
https://github.com/rubygems/rubygems/commit/8836fe157b
Co-authored-by: David Rodríguez <[email protected]>
olleolleolle (Olle Jonsson)
10:15 PM Revision 46a24f7e (git): [rubygems/rubygems] Update main.yml.tt
https://github.com/rubygems/rubygems/commit/3260173c59 olleolleolle (Olle Jonsson)
10:15 PM Revision a7fd6394 (git): [rubygems/rubygems] newgem tmpl: ruby as "2.7" in GH Actions matrix
https://github.com/rubygems/rubygems/commit/f5bead5634 olleolleolle (Olle Jonsson)
10:15 PM Revision 42efb8c1 (git): [rubygems/rubygems] newgem templ: Avoid Float 3.0 -> "3" in GH Action
This change avoids a YAML Float-to-String conversion, which turns a 3.0 into a "3". That can make names of builds les... olleolleolle (Olle Jonsson)
07:07 PM Feature #18367: Stop the interpreter from escaping error messages
How is this supposed to interact with the default highlighting?
-e:1:in `<main>': **\e[31mRed\e[0m error (_Runtim...
Dan0042 (Daniel DeLorme)
09:14 AM Feature #18367: Stop the interpreter from escaping error messages
Eregon (Benoit Daloze) wrote in #note-2:
> To clarify, does this affect only `full_message` and the default exceptio...
mame (Yusuke Endoh)
09:12 AM Feature #18367: Stop the interpreter from escaping error messages
Thanks, I have created a PR: https://github.com/ruby/ruby/pull/5195 mame (Yusuke Endoh)
06:11 AM Feature #18367: Stop the interpreter from escaping error messages
+1 matz (Yukihiro Matsumoto)
03:47 PM Misc #18346: DevelopersMeeting20211209Japan
- [Feature #18364] Add `GC.stat_pool` for Variable Width Allocation (peterzhu2118)
- This feature will allow acces...
peterzhu2118 (Peter Zhu)
02:37 PM Misc #18346: DevelopersMeeting20211209Japan
* [Feature #18370] Call Exception#full_message to print exceptions reaching the top-level (eregon)
* Improve consi...
Eregon (Benoit Daloze)
02:36 PM Feature #18370 (Closed): Call Exception#full_message to print exceptions reaching the top-level
Extracted from https://bugs.ruby-lang.org/issues/18296#note-6.
I think this a clear gain to improve consistency in...
Eregon (Benoit Daloze)
02:28 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
Maybe the feature would be to be possible to have arguments after a block, e.g.
```ruby
def detect(&block, value)...
dorianmariefr (Dorian Marié)
02:21 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
I think that is too specific to be a part of Ruby core. I don't think this feature would be accepted.
I think you ca...
sawa (Tsuyoshi Sawada)
01:55 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
Dan0042 (Daniel DeLorme) wrote in #note-3:
> So you try not to use `_1` ... just out of curiosity, would you use thi...
dorianmariefr (Dorian Marié)
01:53 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
So you try not to use `_1` ... just out of curiosity, would you use this?
`collection.detect{ .attribute == value }`
Dan0042 (Daniel DeLorme)
12:40 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
Could also be `users.detect(&:name, "Dorian")` dorianmariefr (Dorian Marié)
12:40 PM Feature #18369 (Open): users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
Hi,
I was thinking I often do things like `collection.detect { |item| item.attribute == value }` and a shorthand l...
dorianmariefr (Dorian Marié)
11:54 AM Revision 7fd88da9 (git): [rubygems/rubygems] Fix race condition when reading & writing gemspecs concurrently
When bundler parallel installer installs gems concurrently, one can get
confusing warnings like the following:
```
"...
deivid (David Rodríguez)
11:54 AM Revision d7f6cb0f (git): [rubygems/rubygems] Revert "Remove spec file before building"
This reverts commit af604436d8141c34cb2e1e645b9b0d47bfd55a55.
The issue that led to introducing it was never reprodu...
deivid (David Rodríguez)
11:54 AM Revision 2b1f0487 (git): [rubygems/rubygems] Run hooks tests on gemspecs not already installed
The current `setup_base_installer` ends up using the `quick_gem` helper,
which leaves the created specification insta...
deivid (David Rodríguez)
11:46 AM Feature #5778 (Closed): Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
webrick is removed from ruby repo since Ruby 3.0.
The canonical repo is here: https://github.com/ruby/webrick/
hsbt (Hiroshi SHIBATA)
11:44 AM Feature #8601 (Closed): Win32API.rb long life plan
Win32API.rb was removed from Ruby repo since Ruby 3.0 release.
The canonical repo is here: https://github.com/ruby...
hsbt (Hiroshi SHIBATA)
11:03 AM Misc #18335 (Rejected): openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
By default, Ruby's configure script automatically sets `-ggdb3` or `-g` to `debugflags` after checking if the compile... ngoto (Naohisa Goto)
08:01 AM Bug #18355 (Assigned): require("pathname") within rack application chnages behaviors of Pathname methods, such as absolute?(), when there are two versions of 'pathname' gem installed.
hsbt (Hiroshi SHIBATA)
07:39 AM Bug #18034: Segmentation fault fiddle with `--enable-bundled-libffi` and macOS
@kou Thanks. I submitted https://github.com/ruby/fiddle/pull/98 hsbt (Hiroshi SHIBATA)
07:39 AM Revision e59f3054 (git): Delete #if line during checking madvise() on Solaris
The madvise() declaration should always be compiled on Solaris
to check whether the declaration is good on the enviro...
ngoto (Naohisa Goto)
07:32 AM Bug #18170: Exception#inspect should not include newlines
I have updated my PR to follow the approved semantics. https://github.com/ruby/ruby/pull/4857 mame (Yusuke Endoh)
07:25 AM Feature #14383 (Closed): Making prime_division in prime.rb Ruby 3 ready.
prime.rb removed from ruby repo for Ruby 3.1. We should move this to https://github.com/ruby/prime . hsbt (Hiroshi SHIBATA)
06:27 AM Misc #10757 (Rejected): Vagrant environment for MRI contributors
I understood that vagrant is useful software. But We have no strong reason to use it instead of other container tools... hsbt (Hiroshi SHIBATA)
06:17 AM Feature #12084: `Class#instance`
ufuk (Ufuk Kayserilioglu) wrote in #note-4:
> ```ruby
> Array.attached_object # => nil
> "foo".attached_object # => n...
sawa (Tsuyoshi Sawada)
06:05 AM Feature #18366: Enumerator#return_eval
mame (Yusuke Endoh) wrote in #note-8:
> `a.lazy.map(&:length).max`
Thank you. That seems to do the work.
I hav...
sawa (Tsuyoshi Sawada)
04:27 AM Feature #18366: Enumerator#return_eval
`a.lazy.map(&:length).max` mame (Yusuke Endoh)
02:53 AM Feature #18366 (Rejected): Enumerator#return_eval
* There's no real-world use case shown
* the term `eval` is not sufficient (unless it works as `eval`)
* `return` i...
matz (Yukihiro Matsumoto)
05:44 AM Misc #16980 (Assigned): Improve documentation on JSON#parse and JSON#parse!
hsbt (Hiroshi SHIBATA)
05:38 AM Bug #17882 (Assigned): bootstraptest/test_ractor.rb:224 segfaults on Cygwin
hsbt (Hiroshi SHIBATA)
05:37 AM Bug #18024 (Assigned): Ractor crashes when connections are closed in multiple Ractors
hsbt (Hiroshi SHIBATA)
05:26 AM Bug #17587 (Assigned): Segmentation fault with ractors and unix signals
hsbt (Hiroshi SHIBATA)
05:26 AM Bug #17516 (Assigned): forking in a ractor causes Ruby to crash
hsbt (Hiroshi SHIBATA)
05:20 AM Bug #17196 (Assigned): Segmentation Fault with Socket#close in Ractors
hsbt (Hiroshi SHIBATA)
05:16 AM Revision 438220f0 (git): Let pretty_inspect work once at first
For older pp.rb which did not need io/console, and dealing with
`LoadError`.
nobu (Nobuyoshi Nakada)
04:59 AM Feature #14973 (Closed): Proposal of percent literal to expand Hash
https://bugs.ruby-lang.org/issues/14579 was accepted and added for Ruby 3.1.
We don't need to `%` literal now.
hsbt (Hiroshi SHIBATA)
04:50 AM Feature #15353 (Closed): Support client certificates with TLS 1.3 and OpenSSL 1.1.1
This feature was merged at https://github.com/ruby/openssl/pull/239 hsbt (Hiroshi SHIBATA)
04:49 AM Revision dc46529b (git): [ruby/error_highlight] Ignore all syscall errors
At least, Error::ENOTSUP may be raised on some extreme environments
https://github.com/ruby/error_highlight/commit/2...
mame (Yusuke Endoh)
04:46 AM Revision 3288f0d0 (git): lib/pp.rb (width_for): Ignore all syscall errors
According to nobu, Errno::EBAD is raised on Windows. mame (Yusuke Endoh)
04:42 AM Bug #13671 (Assigned): Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
mame (Yusuke Endoh)
04:41 AM Feature #9673 (Closed): pieをconfigureからdisableしたい
hsbt (Hiroshi SHIBATA)
04:28 AM Feature #7400 (Closed): Incorporate OpenSSL tests from JRuby.
We continue to discuss this at https://github.com/ruby/openssl/issues/20 hsbt (Hiroshi SHIBATA)
04:17 AM Revision 20065eab (git): lib/pp.rb (width_for): ignore Errno::EINVAL
The error is raised on Solaris
http://rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20211130T030003Z.fail.htm...
mame (Yusuke Endoh)
04:15 AM Revision d400c44a (git): Load io/console earlier
Something goes wrong at loading libraries inside `mu_pp` in the
test overriding `Class.inherited`.
nobu (Nobuyoshi Nakada)
04:14 AM Feature #12913 (Open): A way to configure the default maximum width of pp
I have committed the change for 1. mame (Yusuke Endoh)
02:44 AM Feature #12913 (Closed): A way to configure the default maximum width of pp
Applied in changeset commit:git|eac347fdb04023e1a365d84a8c163263cc7a5904.
----------
lib/pp.rb (PP.pp): Use io/conso...
mame (Yusuke Endoh)
03:40 AM Revision d20a120b (git): Recent systems prohibit symlink for relative loading
nobu (Nobuyoshi Nakada)
03:40 AM Revision 316caf6b (git): Enable load-relative on Solaris
nobu (Nobuyoshi Nakada)
02:43 AM Revision eac347fd (git): lib/pp.rb (PP.pp): Use io/console's winsize by default
[Feature #12913] mame (Yusuke Endoh)
02:12 AM Revision f379748e (git): Cache wheather madvise declaration is needed on Solaris
nobu (Nobuyoshi Nakada)
12:10 AM Revision 12fbdf4d (git): Fix conflicting declaration on Solaris
SunC
```
"cont.c", line 24: identifier redeclared: madvise
current : function(pointer to char, unsigned int, ...
nobu (Nobuyoshi Nakada)

11/29/2021

11:49 PM Revision ac8647be (git): Fix `GC.total_time` example
The result may increase actually or not, since GC can finish
shorter than the timer granularity.
nobu (Nobuyoshi Nakada)
09:29 PM Feature #12084: `Class#instance`
Agreed that `instance` is a bad name for this concept and we should not be basing the name on the `Singleton` class, ... ufuk (Ufuk Kayserilioglu)
06:29 PM Feature #12084: `Class#instance`
`#instance` seems a too generic name for such a rarely-needed meta-programming feature, I think `#singleton_instance`... Eregon (Benoit Daloze)
06:25 PM Feature #18351: Support anonymous rest and keyword rest argument forwarding
Same comment as on https://github.com/ruby/ruby/pull/4961 (I'll copy for convenience):
This could be problematic, ...
Eregon (Benoit Daloze)
04:59 PM Misc #18346: DevelopersMeeting20211209Japan
* [Feature #18351] Support anonymous rest and keyword rest argument forwarding (jeremyevans0)
* I think this is a ...
jeremyevans0 (Jeremy Evans)
04:29 PM Revision af59d355 (git): [rubygems/rubygems] Fix escape of filenames in `bundle doctor`
https://github.com/rubygems/rubygems/commit/3ede1435ea ooooooo-q
03:30 PM Feature #18368 (Closed): Range#step semantics for non-Numeric ranges
I am sorry if the question had already been discussed, can't find the relevant topic.
"Intuitively", this looks (f...
zverok (Victor Shepelev)
03:27 PM Revision a60aba18 (git): * 2021-11-30 [ci skip]
git[bot]
03:07 PM Revision f8f2885b (git): Revert "test/socket/test_socket.rb: skip on Solaris"
This reverts commit 27fb9d272daaae89089dfb61849ebe8e7aa6c833.
The test failure on Solaris 10 is due to incomplete IP...
ngoto (Naohisa Goto)
03:03 PM Revision 8287d2f2 (git): Workaround for implicit declaration of function 'madvise' on Solaris
On Solaris, madvise(3C) is NOT defined for SUS (XPG4v2) or later,
but MADV_* macros are defined when __EXTENSIONS__ i...
ngoto (Naohisa Goto)
02:50 PM Revision 67a1e225 (git): Update to ruby/spec@7f22a0b
Eregon (Benoit Daloze)
02:50 PM Revision e6d93a27 (git): Update to ruby/mspec@098b320
Eregon (Benoit Daloze)
02:40 PM Revision f8ead3a7 (git): [ci skip] Update documentation for GC.stat
peterzhu2118 (Peter Zhu)
02:38 PM Revision 659c864a (git): [rubygems/rubygems] Deprecate typo name
https://github.com/rubygems/rubygems/commit/62d54cbf08 nobu (Nobuyoshi Nakada)
02:07 PM Revision 95a6212a (git): Simplify platform check for Windows-UCRT
RUBY_PLATFORM can be used since commit 576b2e64cdc5ea42ad345dd3c1c215e006c06fca . Lars Kanis
02:05 PM Feature #18367: Stop the interpreter from escaping error messages
:+1:
BTW, this is already the behavior in both JRuby and TruffleRuby :)
To clarify, does this affect only `full_m...
Eregon (Benoit Daloze)
09:46 AM Feature #18367: Stop the interpreter from escaping error messages
+1
A very minor thing: "a control character(s)" is wrong. It should be either "a control character", "control char...
sawa (Tsuyoshi Sawada)
06:29 AM Feature #18367 (Closed): Stop the interpreter from escaping error messages
## Proposal
At the present time, the Ruby interpreter escapes some characters (*1) in error messages when an uncau...
mame (Yusuke Endoh)
02:00 PM Feature #18366: Enumerator#return_eval
I would advise against making Enumerable methods more complex with additional arguments, it'll only make them slower ... Eregon (Benoit Daloze)
11:48 AM Feature #18366: Enumerator#return_eval
Just a thought, but another option to achieve the aims of this proposal might be to add `return_eval: true` kwargs fo... shan (Shannon Skipper)
05:39 AM Feature #18366: Enumerator#return_eval
baweaver (Brandon Weaver) wrote in #note-2:
> It seems the common usecase you have isolated is similar to the idea of...
sawa (Tsuyoshi Sawada)
04:46 AM Feature #18366: Enumerator#return_eval
Interesting. It seems the common usecase you have isolated is similar to the idea of composing some function with the... baweaver (Brandon Weaver)
04:04 AM Feature #18366 (Rejected): Enumerator#return_eval
Some `Enumerable` methods return one or more of the receiver's elements according to the return value of a block it t... sawa (Tsuyoshi Sawada)
02:00 PM Revision 4acc7563 (git): Consider environment variable case-insensitiveness
nobu (Nobuyoshi Nakada)
09:57 AM Revision 1db06618 (git): * 2021-11-29 [ci skip]
git[bot]
09:50 AM Revision e19b6564 (git): [ruby/readline] Suppress constant redefinition warning
When already set by `use_lib_reline` in test/readline/helper.rb of
readline-ext.
https://github.com/ruby/readline/co...
nobu (Nobuyoshi Nakada)
09:48 AM Feature #18364: Add GC.stat_pool for Variable Width Allocation
> I think it is good it only contains Symbols to Integer, and there is probably code relying on that.
Yes, `size_...
byroot (Jean Boussier)

11/28/2021

10:39 PM Misc #18352: What is the Hash#grep expected?
Should we have `grep_{keys,values}`? matheusrich (Matheus Richard)
07:16 PM Bug #18365 (Third Party's Issue): Error with pods that says I may have encountered issue with ruby interpreter
jeremyevans0 (Jeremy Evans)
06:56 PM Bug #18365: Error with pods that says I may have encountered issue with ruby interpreter
https://bugs.ruby-lang.org/search?utf8=%E2%9C%93&scope=&issues=1&q=pod+mac xtkoba (Tee KOBAYASHI)
04:37 AM Bug #18365 (Third Party's Issue): Error with pods that says I may have encountered issue with ruby interpreter
running pod install that gives me a possible ruby interpreter error
I've attached the file and really have no idea...
[email protected] (Hyden Polikoff)
01:09 PM Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
I've changed the subject to "--enable-dtrace" requires CFLAGS="-g"
To be honest, what I tested so far is : with g...
stes (David Stes)
08:45 AM Revision 4a09b7de (git): Suppress address-of-packed-member warning by gcc
nobu (Nobuyoshi Nakada)
08:10 AM Revision ca7de49a (git): [ruby/ostruct] [DOC] Fix code markups [ci skip]
Backquotes are not special characters in RDoc.
https://github.com/ruby/ostruct/commit/a901df26b9
nobu (Nobuyoshi Nakada)

11/27/2021

08:02 PM Feature #18364: Add GC.stat_pool for Variable Width Allocation
I like the idea of having a no argument case that returns stats for all pools.
In the ticket description, I named ...
peterzhu2118 (Peter Zhu)
07:52 PM Feature #18364: Add GC.stat_pool for Variable Width Allocation
I would avoid extending `GC.stat`, I think it is good it only contains `Symbols` to `Integer`, and there is probably ... Eregon (Benoit Daloze)
07:45 PM Feature #18364: Add GC.stat_pool for Variable Width Allocation
Thanks for the TruffleRuby and JRuby info @eregon! Maybe we could extend `GC.stat` to include size pool info in an ar... peterzhu2118 (Peter Zhu)
06:56 PM Feature #18364: Add GC.stat_pool for Variable Width Allocation
There is something maybe related in TruffleRuby and JRuby, where we have per-heap information.
Maybe it would make s...
Eregon (Benoit Daloze)
07:07 PM Revision 0e5e2e35 (git): * 2021-11-28 [ci skip]
git[bot]
07:07 PM Revision eac7c635 (git): Enhanced RDoc for numeric.c (#5184)
Adds remarks about literals and Kernel methods to Float and Integer. burdettelamar (Burdette Lamar)
09:40 AM Revision f53f6d92 (git): [ruby/cgi] Exclude unused files from built package
https://github.com/ruby/cgi/commit/e840b6c368 nobu (Nobuyoshi Nakada)
06:46 AM Misc #18362 (Third Party's Issue): mswin builds & vs2022
It's a known bug of VS2022.
https://developercommunity.visualstudio.com/t/With-__assume-isnan-after-isinf/1515649
nobu (Nobuyoshi Nakada)
05:44 AM Revision 45034e9d (git): [ruby/cgi] Set extconf.rb to extensions
Fix https://github.com/ruby/cgi/pull/11
https://github.com/ruby/cgi/commit/60d8f5e7d9
nobu (Nobuyoshi Nakada)
04:35 AM Misc #12124 (Closed): Use Automake
nobu (Nobuyoshi Nakada)

11/26/2021

11:00 PM Revision b5b6ab41 (git): YJIT: Add ability to exit to interpreter from stubs
Previously, YJIT assumed that it's always possible to generate a new
basic block when servicing a stub in branch_stub...
alanwu (Alan Wu)
08:34 PM Bug #18347 (Closed): Newly introduced assertion failure for cc->cme_ != NULL
This should be addressed by ca21eed6ebbceca68daa7b2a88e69a58b8d56806. Feel free to reopen if that's not the case. alanwu (Alan Wu)
08:31 PM Revision 59439446 (git): [rubygems/rubygems] Fix missing locked specs when depended on other platform
https://github.com/rubygems/rubygems/commit/0396e899db deivid (David Rodríguez)
07:14 PM Feature #16038: Provide a public WeakMap that compares by equality rather than by identity
For the deduplication use-case as in the description, `WeakValuesMap` is possible too:
```ruby
REGISTRY = WeakValuesM...
Eregon (Benoit Daloze)
02:50 PM Feature #16038: Provide a public WeakMap that compares by equality rather than by identity
> It doesn't seem like it would allow the deduplication described above.
The subject was enlarged a bit over time...
byroot (Jean Boussier)
02:44 PM Feature #16038: Provide a public WeakMap that compares by equality rather than by identity
What is the use case for WeakKeysMap? It doesn't seem like it would allow the deduplication described above. Assuming... Dan0042 (Daniel DeLorme)
08:47 AM Feature #16038: Provide a public WeakMap that compares by equality rather than by identity
> They could be top-level, or nested under ObjectSpace, I don't really mind either.
They could also be under `Weak...
byroot (Jean Boussier)
06:27 PM Revision 9537e655 (git): * 2021-11-27 [ci skip]
git[bot]
06:27 PM Revision 7cfacbca (git): Improve performance of embedded string allocation
Non-VWA embedded string allocation had a performance regression. This
commit improves performance of non-VWA embedded...
peterzhu2118 (Peter Zhu)
04:54 PM Bug #18250: Anonymous variables seem to break `Ractor.make_shareable`
Sorry I meant `334b69e5042f47f89c8780c1d7efa32d70c84786` (https://github.com/ruby/ruby/commit/334b69e5042f47f89c8780c... byroot (Jean Boussier)
04:46 PM Bug #18250: Anonymous variables seem to break `Ractor.make_shareable`
I tried to backport these 5 commits and it does solve the problem in normal builds. However with `cppflags=-DRUBY_DEB... byroot (Jean Boussier)
01:32 PM Revision dff8d122 (git): mkmf: take `PKG_CONFIG_PATH` from `dir_config` library path
So that version dependent pkg-config files can override files in
the default locations.
nobu (Nobuyoshi Nakada)
01:32 PM Revision 21a29844 (git): mkmf: deal with environment variables in MakeMakefile#xpopen
nobu (Nobuyoshi Nakada)
01:32 PM Revision 1c3d6d6c (git): mkmf: MakeMakefile#xpopen may be passed an option hash
nobu (Nobuyoshi Nakada)
11:49 AM Revision 1c4cf434 (git): [MSWin] Replace -Zi in DEBUGFLAGS with -Z7 to suppress warnings
nobu (Nobuyoshi Nakada)
11:12 AM Revision 29877d94 (git): Fix a function name in an error message
znz (Kazuhiro NISHIYAMA)
11:12 AM Revision 04951a12 (git): Remove unused function `size_pool_for_size`
```
compiling ../gc.c
../gc.c:2444:1: warning: unused function 'size_pool_for_size' [-Wunused-function]
size_pool_for...
znz (Kazuhiro NISHIYAMA)
08:57 AM Revision 0a1b3b3a (git): Try test_interrupt_in_other_thread
Seems working now probably because of system library updates. nobu (Nobuyoshi Nakada)
08:47 AM Bug #18034: Segmentation fault fiddle with `--enable-bundled-libffi` and macOS
It may be true because Fiddle has patches only for Windows.
I'm OK that we declares that `--enable-bundled-libffi`...
kou (Kouhei Sutou)
06:12 AM Bug #18034 (Assigned): Segmentation fault fiddle with `--enable-bundled-libffi` and macOS
I heard "this option for only windows environment" from @nobu.
I'm not sure what's supported platform with this op...
hsbt (Hiroshi SHIBATA)
08:24 AM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
Not sure if I was previously lucky on Fedora, but trying to update to Ruby 3.0.3, from 10 builds I have made 8 failed... vo.x (Vit Ondruch)
06:31 AM Feature #5378 (Closed): Prime.each is slow
prime.rb was extracted to https://github.com/ruby/prime as the bundled gems.
If you still have the motivation of t...
hsbt (Hiroshi SHIBATA)
06:01 AM Feature #18004: Add Async to the stdlib
I'm against this. We don't want to add the new dependency for stdlib. hsbt (Hiroshi SHIBATA)
05:55 AM Feature #12119 (Closed): next_prime for lib/prime.rb
prime.rb was extracted to https://github.com/ruby/prime as the bundled gems now.
hsbt (Hiroshi SHIBATA)
02:39 AM Revision 7f7c3a0a (git): initialize allocated memory by VWA for assertions
When `RGENGC_CHECK_MODE` is enable, `obj_memsize_of` is called
in `newobj_init` and it expect the memory is zero-clea...
ko1 (Koichi Sasada)
02:32 AM Revision 65867835 (git): Move win32ole.gemspec to the proper place
nobu (Nobuyoshi Nakada)
01:56 AM Revision e984c2a9 (git): fix to choose correct callcache
It should retun general `cc`, not for overloaded (mandatory only)
method call cache.
This issue is reported by @shug...
ko1 (Koichi Sasada)

11/25/2021

11:50 PM Revision f3320f16 (git): [rubygems/rubygems] Fix `bundle info` sometimes claiming that bundler has been deleted
https://github.com/rubygems/rubygems/commit/fe1a31db31 deivid (David Rodríguez)
11:10 PM Revision b6f543d4 (git): YJIT: Introduce jit_putobject (#5179)
* YJIT: Introduce jit_putobject
This extracts the logic previously inside gen_putobject to a more
reusable helper me...
jhawthorn (John Hawthorn)
07:56 PM Revision de9a1e4a (git): YJIT: Implement new struct accessors (#5161)
* YJIT: Implement optimized_method_struct_aref
* YJIT: Implement struct_aref without method call
Struct member read...
jhawthorn (John Hawthorn)
07:14 PM Revision e469ebd7 (git): Correct indentation error in numeric.c (#5178)
burdettelamar (Burdette Lamar)
04:36 PM Feature #16038: Provide a public WeakMap that compares by equality rather than by identity
Regarding comparing keys, I think eql?/hash comparison is more intuitive (consistent with `{}`) and more useful than ... Eregon (Benoit Daloze)
04:30 PM Feature #16038: Provide a public WeakMap that compares by equality rather than by identity
This came up again in https://github.com/rails/rails/pull/43723.
I think adding `WeakKeysMap` and `WeakValuesMap` ...
Eregon (Benoit Daloze)
04:32 PM Misc #18346: DevelopersMeeting20211209Japan
* [Feature #16038] Provide a public WeakMap that compares by equality rather than by identity (eregon)
* This is n...
Eregon (Benoit Daloze)
04:01 PM Revision b0bbcaed (git): Revert "Add GC.stat_size_pool to get stats for a size pool"
This reverts commit 6157619bb68e4307cdf065cb73d5bfcec30d042d.
We'll wait for comments in the open ticket: https://bu...
peterzhu2118 (Peter Zhu)
03:58 PM Feature #18364 (Closed): Add GC.stat_pool for Variable Width Allocation
# GitHub PR: https://github.com/ruby/ruby/pull/5177
We're proposing an API to get statistics for size pools for Va...
peterzhu2118 (Peter Zhu)
03:33 PM Revision 6157619b (git): Add GC.stat_size_pool to get stats for a size pool
GC.stat_size_pool will return stats for a particular size pool. This is
used for the Variable Width Allocation feature.
peterzhu2118 (Peter Zhu)
03:16 PM Revision 09ef048b (git): * 2021-11-26 [ci skip]
git[bot]
02:53 PM Revision c8da3b95 (git): Add win32ole to sync_default_gems.rb
nobu (Nobuyoshi Nakada)
02:53 PM Revision 270c4850 (git): [ruby/win32ole] Scale timeout in win32ole
https://github.com/ruby/win32ole/commit/7e04d0eb3e nobu (Nobuyoshi Nakada)
02:53 PM Revision ae959397 (git): [ruby/win32ole] Fix typos [ci skip]
https://github.com/ruby/win32ole/commit/8d46bd0c93 nobu (Nobuyoshi Nakada)
02:53 PM Revision 24f8f20c (git): [ruby/win32ole] LICENSE
https://github.com/ruby/win32ole/commit/62fd78078b hsbt (Hiroshi SHIBATA)
12:34 PM Revision 98501769 (git): Split skipped tests step
nobu (Nobuyoshi Nakada)
11:55 AM Bug #18363: `make clean` should consistently handle generated files otherwise it can break the build.
Thanks @nobu. ioquatix (Samuel Williams)
11:24 AM Bug #18363 (Closed): `make clean` should consistently handle generated files otherwise it can break the build.
Applied in changeset commit:git|d896746d692ee1f11ee22f1ee2ef0b8f79ecfe10.
----------
Keep the generated source files...
nobu (Nobuyoshi Nakada)
06:33 AM Bug #18363 (Closed): `make clean` should consistently handle generated files otherwise it can break the build.
Running `make clean` will cause `ext/ripper/ripper.c` to be regenerated but not `parse.c` and this causes problems if... ioquatix (Samuel Williams)
11:49 AM Feature #13751 (Rejected): Suppert SSHFP resource records in rubysl-resolv
Unfortunately, rubysl org is not found status now. hsbt (Hiroshi SHIBATA)
11:41 AM Feature #10510 (Closed): Remove REXML instead of patching it
rexml is the bundled gems since Ruby 3.0. hsbt (Hiroshi SHIBATA)
10:16 AM Revision d896746d (git): Keep the generated source files when clean [Bug #18363]
nobu (Nobuyoshi Nakada)
10:13 AM Revision 51404eec (git): Ignore pkg-config installation failure due to unmet dependencies
nobu (Nobuyoshi Nakada)
10:13 AM Revision a1eaeb8e (git): Stop duplicated runs
nobu (Nobuyoshi Nakada)
08:33 AM Bug #18250: Anonymous variables seem to break `Ractor.make_shareable`
@nagachika sounds about right to me. Thank you! byroot (Jean Boussier)
01:19 AM Bug #18250: Anonymous variables seem to break `Ractor.make_shareable`
I think these commits are related. Please tell me if I overlook something.
334b69e5042f47f89c8780c1d7efa32d70c8478...
nagachika (Tomoyuki Chikanaga)
07:32 AM Misc #12641 (Third Party's Issue): JSON documentation incomplete
Please submit a patch/pull-request to https://github.com/flori/json/ hsbt (Hiroshi SHIBATA)
07:31 AM Feature #12673 (Closed): Performance improvement to Prime.prime? in prime.rb
prime.rb is extracted to https://github.com/ruby/prime as the bundled gems.
hsbt (Hiroshi SHIBATA)
07:02 AM Misc #18361 (Closed): Propose John Hawthorn (@jhawthorn) as a core committer
k0kubun (Takashi Kokubun)
06:49 AM Misc #18361: Propose John Hawthorn (@jhawthorn) as a core committer
@jhawthorn
I finished preparing your account on ruby-lang.org.
hsbt (Hiroshi SHIBATA)
06:44 AM Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
On Solaris 10 (sparc64-sun-solaris2.10), gcc 7.5 with gcc-ar works fine with dtrace.
So, the problem may be Illumos ...
ngoto (Naohisa Goto)
04:57 AM Revision ca21eed6 (git): fix assertion on `gc_cc_cme()`
`cc->cme_` can be NULL when it is not initialized yet.
It can be observed on `GC.stress == true` running.
ko1 (Koichi Sasada)
02:10 AM Revision aceb75f6 (git): Skip tests if only document files changed on Cirrus-CI [ci skip]
nobu (Nobuyoshi Nakada)
02:01 AM Revision b5aa1613 (git): test/ruby/test_iseq.rb: Avoid pollution of method namespace
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20211125T003004Z.log.html.gz
```
[ 4780/21204] TestISeq#test_su...
mame (Yusuke Endoh)
01:23 AM Revision 8bde6616 (git): update YJIT docs to reference RubyVM::YJIT instead of just YJIT
[ci skip] Adam Hess
12:41 AM Misc #18362 (Third Party's Issue): mswin builds & vs2022
With VS2022, I believe `_MSC_VER` is 1930, so I added the following patch so a VS2019 build might compile extension g... MSP-Greg (Greg L)
12:40 AM Feature #17845 (Closed): Windows Ruby - ucrt build?
jeremyevans0 (Jeremy Evans)
12:21 AM Feature #17845: Windows Ruby - ucrt build?
This can be closed. MSP-Greg (Greg L)
 

Also available in: Atom