Project

General

Profile

Activity

From 12/02/2024 to 12/08/2024

12/08/2024

11:14 PM Revision 895f2c21 (git): [ruby/rdoc] lint: Remove unreachable code
(https://github.com/ruby/rdoc/pull/1137)
This is an attempt to utilize RuboCop further.
RuboCop was added in https://github.com/ruby/rdoc/commit/9262fdd43a3a
but only a few rules have been enabled.
I believe we can utilize RuboCop more ...
okuramasafumi (Masafumi OKURA)
10:43 AM Revision dd43af3b (git): [ruby/rdoc] Use distinct styles for note lists and label lists
(https://github.com/ruby/rdoc/pull/1209)
* Use the original `label` description list style
As a default for all description lists, the original "label" style is
more readable.
This is slightly different from the original `label` dl th...
nicholas a. evans
09:03 AM Misc #20879: DevMeeting-2024-12-12
- [Feature #20935] API for Globally Enabling/Disabling Happy Eyeballs Version 2 in the Socket Class
- I would like to discuss the appropriateness of the API for enabling/disabling HEv2 in the `Socket` class.
shioimm (Misaki Shioi)
09:01 AM Feature #20935 (Closed): API for Globally Enabling/Disabling Happy Eyeballs Version 2 in the Socket Class
When introducing Happy Eyeballs Version 2 to `Socket.tcp` (https://bugs.ruby-lang.org/issues/20108), it was pointed out that there should be a way to disable this feature (https://bugs.ruby-lang.org/issues/20108#note-7).
To address th...
shioimm (Misaki Shioi)
06:55 AM Misc #16124 (Rejected): Let the transient heap belong to objspace
transient heap was removed. ko1 (Koichi Sasada)
06:51 AM Feature #20875: Atomic initialization for Ractor local storage
Matz said that `Ractor.local_storage_once(key){ init_block }` can be acceptable if returning the assigned value is out-of-scope, even if it returns assigned value.
other ideas:
* `Ractor.local_storage_fetch(key){}` from `Hash#fetch...
ko1 (Koichi Sasada)
04:37 AM Bug #20934: `UnboundMethod#bind_call` may cause "double free or corruption" with Ractor
Thanks for your comment. It looks like a race condition between `rb_method_definition_release()` and `method_definition_addref()`.
Applying the following patch suppressed the problem.
```patch
diff --git a/vm_method.c b/vm_method.c
...
wanabe (_ wanabe)

12/07/2024

02:54 PM Bug #20934: `UnboundMethod#bind_call` may cause "double free or corruption" with Ractor
Nice find! The repro script tips off ASAN too:
```text
../build-dev/ractor-issue.rb:7: warning: Ractor is experimental, and the behavior may change in future versions of Ruby! Also there are many implementation issues.
=============...
alanwu (Alan Wu)
09:58 AM Bug #20934 (Closed): `UnboundMethod#bind_call` may cause "double free or corruption" with Ractor
When I call `UnboundMethod#bind_call` on both main Ractor and child Ractor, probable errors can be encountered.
Here is an issue reproduce script `ractor_issue.rb`.
```
def foo
10000.times do
Object.instance_method(:object_id)...
wanabe (_ wanabe)
10:02 AM Revision bd831bcc (git): [Bug #20929] Win32: Use `wcsftime`
`_strftime_l` is not available on msvcrt that is still used by 32bit
mingw compiler.
nobu (Nobuyoshi Nakada)
08:47 AM Bug #20933: Unexpected IO::Buffer::MaskError in IO::Buffer#xor!
I just gave your branch a quick test and can confirm it fixes this issue. Thank you! agitter (Alexander Gitter)
08:15 AM Revision c9bbf7e3 (git): [ruby/openssl] ssl: do not clear existing SSL options in SSLContext#set_params
Apply SSL options set in DEFAULT_PARAMS without clearing existing
options.
It currently clears options in order to avoid setting one of the
options included in OpenSSL::SSL::OP_ALL unless explicitly specified,
namely OpenSSL::SSL::OP_DO...
rhenium (Kazuki Yamaguchi)
08:15 AM Revision 510c1907 (git): [ruby/openssl] ssl: do not enable OpenSSL::SSL::OP_ALL by default
Respect the SSL options set by default by SSL_CTX() and by the
system-wide OpenSSL configuration file.
OpenSSL::SSL::SSLContext#initialize currently adds OpenSSL::SSL::OP_ALL
on top of the default SSL options. Let's stop doing it.
Open...
rhenium (Kazuki Yamaguchi)
08:15 AM Revision 33196b7a (git): [ruby/openssl] ssl: improve documentation of SSLContext#options=
https://github.com/ruby/openssl/commit/9120fcde6a rhenium (Kazuki Yamaguchi)
07:55 AM Revision 09d516b6 (git): [ruby/openssl] Call Init_ossl_*() functions in alphabetical order
It was originally sorted in alphabetical order, but it has been broken
over time. Let's fix it.
https://github.com/ruby/openssl/commit/974c67f38f
rhenium (Kazuki Yamaguchi)
07:55 AM Revision 1df63d94 (git): [ruby/openssl] Mark variables and functions as static whenever possible
https://github.com/ruby/openssl/commit/85d6b7f192 rhenium (Kazuki Yamaguchi)
07:55 AM Revision cbe7bfd9 (git): [ruby/openssl] ts: fix exception class raised when getting an OID name
get_asn1obj() is used by several methods in OpenSSL::Timestamp to get
the string representation of an OID. On an error, such as memory
allocation failure, it can raise OpenSSL::X509::AttributeError. It
should be OpenSSL::Timestamp::Times...
rhenium (Kazuki Yamaguchi)
07:55 AM Revision f8e9302e (git): [ruby/openssl] ts: avoid using OpenSSL::PKCS7's internals
Internals of OpenSSL::PKCS7 should be kept within ossl_pkcs7.c.
Add a new ossl_pkcs7_new() function for duplicating and wrapping an
OpenSSL PKCS7 object in OpenSSL::PKCS7. This follows the convention
used by other ossl_*_new() functions...
rhenium (Kazuki Yamaguchi)
07:55 AM Revision 870cce97 (git): [ruby/openssl] x509store: fix exception class in OpenSSL::X509::StoreContext#verify
Follow-up commit https://github.com/ruby/openssl/commit/0789643d7333 (openssl: clear OpenSSL error
queue before return to Ruby, 2016-05-18). It should raise
OpenSSL::X509::StoreError instead of OpenSSL::X509::CertificateError.
https://g...
rhenium (Kazuki Yamaguchi)
07:55 AM Revision 3656c1db (git): [ruby/openssl] ns_spki: fix exception class in OpenSSL::Netscape::SPKI#to_der
It should raise OpenSSL::Netscape::SPKIError instead of
OpenSSL::X509::CertificateError.
No test cases covered this because it only occurs in exceptional
cases, such as memory allocation failure.
https://github.com/ruby/openssl/commit/...
rhenium (Kazuki Yamaguchi)
07:55 AM Revision b207b956 (git): [ruby/openssl] pkey/ec: fix exception class in OpenSSL::PKey::EC.new
Fix a copy-and-paste error introduced in commit https://github.com/ruby/openssl/commit/74f6c6175688 (pkey:
allocate EVP_PKEY on #initialize, 2021-04-12).
It should raise OpenSSL::PKey::ECError instead of
OpenSSL::PKey::DSAError.
https:...
rhenium (Kazuki Yamaguchi)
07:52 AM Revision 54448857 (git): [ruby/openssl] make configs shareable when frozen
https://github.com/ruby/openssl/commit/654cb22e21 chucke (Tiago Cardoso)
07:52 AM Revision 9cae90f9 (git): [ruby/openssl] freeze OpenSSL::Config::DEFAULT_CONFIG_FILE
https://github.com/ruby/openssl/commit/3cc1825435 chucke (Tiago Cardoso)
07:52 AM Revision 2a006fe5 (git): [ruby/openssl] make config frozen on initialize
https://github.com/ruby/openssl/commit/50599513cf chucke (Tiago Cardoso)
07:37 AM Revision 06fc13a1 (git): [ruby/openssl] ssl: handle callback exceptions in SSLSocket#sysread and #syswrite
Check the ID_callback_state ivar after SSL_read() or SSL_write()
returns, similar to what ossl_start_ssl() does.
Previously, callbacks that can raise a Ruby exception were only called
from ossl_start_ssl(). This has changed in OpenSSL 1...
rhenium (Kazuki Yamaguchi)
07:36 AM Revision 19acb3af (git): [ruby/openssl] ssl: fix potential exception in servername_cb
ssl_servername_cb() is a callback function called from OpenSSL and Ruby
exceptions must not be raised from it. Allocate the Array within
rb_protect().
https://github.com/ruby/openssl/commit/3a2bf74d35
rhenium (Kazuki Yamaguchi)
05:34 AM Feature #18930: Officially deprecate class variables
I'm still against deprecating, either soft or hard, but I believe the errors could be improved.
```ruby
class A
def self.foo
p @@foo ||= rand
end
end
class B < A
p @@foo = 2
end
B.foo
```
In this code, the `@@foo` variable...
Dan0042 (Daniel DeLorme)
02:26 AM Feature #18930: Officially deprecate class variables
Can we formally document that class instance variables are soft deprecated or not recommended for use? In the Ruby community we often see new folk struggle greatly with them and have to recommend against their use over and over. shan (Shannon Skipper)
03:48 AM Bug #20932 (Assigned): Socket fast_fallback segfaults when fds are > FD_SETSIZE
I really appreciate your report.
I am considering using poll(2) or `rb_thread_fd_select` instead of select(2) for this issue.
(Since this feature currently lacks an implementation for Windows, choosing the former shouldn't pose a major...
shioimm (Misaki Shioi)

12/06/2024

08:11 PM Bug #20933: Unexpected IO::Buffer::MaskError in IO::Buffer#xor!
Thank you for this bug report. I have a fix here: https://github.com/ruby/ruby/pull/12284 peterzhu2118 (Peter Zhu)
03:05 PM Bug #20933 (Closed): Unexpected IO::Buffer::MaskError in IO::Buffer#xor!
The following script raises `Mask overlaps source buffer! (IO::Buffer::MaskError)` most of the time when running it on my Ubuntu 24.04 machine.
"Most of the time" means this sometimes (20% - 30%) works without issue.
```ruby
a = IO::B...
agitter (Alexander Gitter)
06:51 PM Revision 8ad6860f (git): [DOC] New homepage for docs.ruby-lang.org/en (#12227)
Stan Lo
06:14 PM Bug #20930: Different semantics for nested `it` and `_1`
I think it's OK for `it` to always use the innermost block, but it should be a conscious choice and ideally documented (maybe even part of `NEWS`).
If we go there, I do think we should use the same semantics for `_1`, `_2`, etc for cons...
Eregon (Benoit Daloze)
05:27 PM Revision 97e93af5 (git): .gdbinit: Fix reference to undefined rb_thread_t field [ci skip]
alanwu (Alan Wu)
05:25 PM Revision 8502a549 (git): YJIT: small fix to stats formatting. (#12282)
Avoid division by zero and NaN%, e.g.
num_throw_break: 0 ( NaN%)
num_throw_retry: 0 ( NaN%)
num_throw_return: 0 ( NaN%)
maximecb (Maxime Chevalier-Boisvert)
04:22 PM Bug #20920: When loading a file, __FILE__ gets relative paths expanded only when they start with "./"
This is very related to #16978
And all this started with introduction of `require_relative` and it is a mess since then. IMHO, the path expansion is evil. It prevents usage of symlinks, it is troublesome with modifications of `$LOAD_P...
vo.x (Vit Ondruch)
02:27 PM Bug #20920: When loading a file, __FILE__ gets relative paths expanded only when they start with "./"
It's interesting that this highlights the only case where `load` searches in a different path than `require`
if path is absolute
load/require absolute path --> __FILE__ is absolute
elsif path starts with "." or ".."
load/re...
Dan0042 (Daniel DeLorme)
03:22 PM Revision c45503f9 (git): Add rb_gc_impl_active_gc_name to gc/gc_impl.h
peterzhu2118 (Peter Zhu)
03:19 PM Revision 48443c02 (git): [rubygems/rubygems] Skip unresolved deps warning on `Gem::Specification.reset` on benign cases
If `Gem::Specification.reset` is used, but there are still unresolved
dependencies, RubyGems prints a warning. There are though, certain cases
where the situation will not cause any issues.
One such case is when the unresolved dependenc...
deivid (David Rodríguez)
03:19 PM Revision ba91ff5f (git): [rubygems/rubygems] Make sure unresolved deps are properly cleared by `Gem::Specification.reset`
https://github.com/rubygems/rubygems/commit/3976326a7b deivid (David Rodríguez)
12:47 PM Revision 78614ee9 (git): CI: Clean up intermediate files more
nobu (Nobuyoshi Nakada)
12:12 PM Revision 3901df70 (git): [DOC] Move `GC.config` news
To "Core classes updates" from "Language changes". nobu (Nobuyoshi Nakada)
12:12 PM Revision 0fac583d (git): [DOC] Fix a typo
nobu (Nobuyoshi Nakada)
12:12 PM Revision efaea5a6 (git): [DOC] Adjust the link to `Kernel` method
RDoc displays instance methods defined in `Kernel` as in `Object`.
This behavior may be somewhat questionable now, but for now it is what
it is.
nobu (Nobuyoshi Nakada)
12:12 PM Revision bf49ff95 (git): [DOC] Fix class and method links
Make existing (including newly added) classes, modules and methods
linkable. Oppositely enclose removed names in backticks.
nobu (Nobuyoshi Nakada)
11:01 AM Revision 69fb4a5f (git): typeprof-757303fe8de0cf5e5583b4a76f8abbbd55c44776 is working with Windows
hsbt (Hiroshi SHIBATA)
10:40 AM Revision cb8625e8 (git): [Bug #20929] NEWS for `Time#zone` encoding change on Windows
nobu (Nobuyoshi Nakada)
10:20 AM Bug #20690: URI.encode_www_form_component method escapes tilde when it's not supposed to
While `URI.encode_www_form_component` might not deal with what RFC3986 defines as "Percent-Encoding", `URI.encode_uri_component` does (I think?) and that exhibits the same behavior:
```
3.3.4 :006 > URI.encode_uri_component("ruby~tes...
mentalizer (Jakob Skjerning)
10:19 AM Bug #20929: TestTime have an assertion different from current implementation.
Thank you for your response.
Regarding Time#zone encoding, I am experimenting with it in my branch https://github.com/YO4/ruby/tree/tzname_utf8.
I found this issue in my research for that.
At present, the change to utf-8 causes th...
YO4 (Yoshinao Muramatsu)
09:59 AM Bug #20929 (Closed): TestTime have an assertion different from current implementation.
Applied in changeset commit:git|78762b52185aa80ee55c0d49b495aceed863dce2.
----------
[Bug #20929] Fix `assert_zone_encoding`
The default internal encoding is not taken into account to encode
timezone name.
nobu (Nobuyoshi Nakada)
09:59 AM Revision 1c15f641 (git): [Bug #20929] Win32: Encode timezone name in UTF-8
nobu (Nobuyoshi Nakada)
09:59 AM Revision 78762b52 (git): [Bug #20929] Fix `assert_zone_encoding`
The default internal encoding is not taken into account to encode
timezone name.
nobu (Nobuyoshi Nakada)
09:48 AM Revision 58b4e249 (git): [MMTk/CI] Skip Ractor btests with MMTk
currently these are flaky, so until we can make them more robust, we'll
skip them for MMTk CI
eightbitraptor (Matt V-H)
09:48 AM Revision 7caf2ffe (git): Remove the GC build check in Ubuntu.yml
eightbitraptor (Matt V-H)
09:48 AM Revision ffb26a53 (git): Add Modular GC (default, MMTk) builds to CI
eightbitraptor (Matt V-H)
07:09 AM Revision 5f653219 (git): [ruby/reline] Combine MAPPINGS(single byte input to symbol) with
key_bindings(escape sequence to symbol)
(https://github.com/ruby/reline/pull/715)
https://github.com/ruby/reline/commit/6a7e249374
tompng (tomoya ishida)
05:51 AM Bug #20888: 4c270200db breaks TestGemRemoteFetcherLocalSSLServer tests or so
Sorry for the late response.
I believe the issue you reported has been resolved by the following change, so please have a look.
https://github.com/ruby/ruby/pull/12153
Currently, this feature is once again enabled by default on the mas...
shioimm (Misaki Shioi)
03:32 AM Bug #20926 (Closed): shareable_constant_value: experimental_everything crashes with parse.y
Applied in changeset commit:git|6ccaa37eb365afd6b01359e63dac85aef35987a5.
----------
[Bug #20926] Fix a crashes with `shareable_constant_value: experimental_everything` using parse.y's parser
https://bugs.ruby-lang.org/issues/20926
ydah (Yudai Takada)
01:33 AM Bug #20926: shareable_constant_value: experimental_everything crashes with parse.y
https://github.com/ruby/ruby/pull/12275 ydah (Yudai Takada)
03:32 AM Revision 6ccaa37e (git): [Bug #20926] Fix a crashes with `shareable_constant_value: experimental_everything` using parse.y's parser
https://bugs.ruby-lang.org/issues/20926 ydah (Yudai Takada)
03:04 AM Revision af2fc89f (git): Bump actions/cache in /.github/actions/setup/directories
Bumps [actions/cache](https://github.com/actions/cache) from 4.1.2 to 4.2.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.co...
dependabot[bot]
02:41 AM Revision 892c4628 (git): [DOC] Sort links [ci skip]
znz (Kazuhiro NISHIYAMA)
01:37 AM Bug #20928: Current 3.4-dev cannot be built with jemalloc activated in macOS
I added build job for `--with-jemalloc` with macOS to GitHub Actions at https://github.com/ruby/ruby/pull/12273 hsbt (Hiroshi SHIBATA)
01:31 AM Revision 81c24b3c (git): We need to specify --with-opt-dir for jemalloc installation path
hsbt (Hiroshi SHIBATA)
01:31 AM Revision 0b5d6c80 (git): Added -with-gmp build to macOS
hsbt (Hiroshi SHIBATA)
01:31 AM Revision bc214d10 (git): Added jemalloc build to GitHub Actions
hsbt (Hiroshi SHIBATA)

12/05/2024

10:51 PM Revision b021f6f8 (git): Use symbol.h in vm.c to get macro for faster ID to sym (#12272)
The macro provided by symbol.h uses STATIC_ID2SYM
when it can which speeds up methods that declare keyword args.
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Co-authored-by: Takashi Kokubun (k0kubun) <takashikkbn@gmail.com>
C...
Randy Stauner
09:59 PM Bug #20932 (Closed): Socket fast_fallback segfaults when fds are > FD_SETSIZE
When `Socket.tcp_fast_fallback = true` and a socket ends up with an FD over FD_SETSIZE (typically 1024), it results in a buffer overflow and crashes when running FD_SET before select.
It may be necessary to update ulimits to be above ...
jhawthorn (John Hawthorn)
09:21 PM Revision eedb30d3 (git): Use rb_gc_enable/rb_gc_disable_no_rest instead of ruby_disable_gc
We should use the rb_gc_enable/rb_gc_disable_no_rest APIs instead of
directly setting the ruby_disable_gc variable.
peterzhu2118 (Peter Zhu)
08:12 PM Revision d4fb9661 (git): [ruby/mmtk] Add MMTk test exclusions for Ruby CI
https://github.com/ruby/mmtk/commit/f62e5803f1 eightbitraptor (Matt V-H)
07:12 PM Revision 7ccad5b9 (git): darray.h does not depend on internal/bits.h
darray.h no longer depends on internal/bits.h, so we can remove it. peterzhu2118 (Peter Zhu)
07:00 PM Revision 305318ed (git): [rubygems/rubygems] Apply suggestions from code review
https://github.com/rubygems/rubygems/commit/7c634ecd72 segiddins (Samuel Giddins)
07:00 PM Revision 7daf85bd (git): [rubygems/rubygems] Stop storing executable names in ivars
Removes usage of these classes as ACE gadgets
See https://nastystereo.com/security/ruby-3.4-deserialization.html
Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/89ad04db86
segiddins (Samuel Giddins)
06:42 PM Bug #20918 (Closed): Prism error indicates line number of `-e` that does not exist
Applied in changeset commit:git|6877c38866b4213f5aa476223d21a4f4b5364247.
----------
[ruby/prism] Fix error messages for unterminated ( and {
If we hit an EOF token, and the character before the EOF is a newline,
we should make EOF tok...
tenderlovemaking (Aaron Patterson)
06:42 PM Revision 6877c388 (git): [ruby/prism] Fix error messages for unterminated ( and {
If we hit an EOF token, and the character before the EOF is a newline,
we should make EOF token start at the previous newline. That way any
errors reported will occur on that line.
For example "foo(\n" should report an error on line 1 ...
tenderlovemaking (Aaron Patterson)
05:44 PM Bug #20930: Different semantics for nested `it` and `_1`
> I think _1 semantics are slightly better, at least _1 behaves like a normal local variable declared in the outer block then.
Yeah but `_1` isn't declared in the outer block (or anywhere), so `_1` doesn't necessarily need to behave l...
k0kubun (Takashi Kokubun)
12:13 AM Bug #20930: Different semantics for nested `it` and `_1`
Good catch. I see two problems.
One is an incompatibility with Prism's handling of `_1`. I think it should be handled as an error like parse.y. Especially when parsed with the 3.3 version's syntax, there is no other choice but an error:...
mame (Yusuke Endoh)
04:28 PM Revision d8dbc2dc (git): [ruby/mmtk] Support setting the mmtk thread count with MMTK_THREADS
https://github.com/ruby/mmtk/commit/e4d6b56824 eightbitraptor (Matt V-H)
03:33 PM Revision ce1ad1b8 (git): Standardize on the name "modular GC"
We have name fragmentation for this feature, including "shared GC",
"modular GC", and "external GC". This commit standardizes the feature
name to "modular GC" and the implementation to "GC library".
peterzhu2118 (Peter Zhu)
02:38 PM Bug #20904: 3.4.0-preview2: Building miniruby.exe fails for mswin32
nobu (Nobuyoshi Nakada) wrote in #note-4:
> Weird.
> ...
Yes. Reproduced locally.
```
C:\usr\src\x86\ruby-3.4.0-preview2>nmake process.i
Microsoft (R) Program Maintenance Utility Version 14.42.34433.0
Copyright (C) Microsoft Co...
jun66j5 (Jun Omae)
12:31 PM Revision 26ab20fe (git): [ruby/rdoc] Workaround JRuby's jar-dependencies error and test
failures on CI
(https://github.com/ruby/rdoc/pull/1225)
* Workaround JRuby's jar-dependencies error on CI
* Skip problematic encoding test for JRuby
https://github.com/ruby/rdoc/commit/3f9897d64c
st0012 (Stan Lo)
11:36 AM Revision 2ecd2fe0 (git): [ruby/rdoc] Deprecate `main` and `title` directives
(https://github.com/ruby/rdoc/pull/1218)
* Deprecate :main: directive
* Deprecate :title: direcive
* Update documentation
* Remove :main: directive's usage
* Update test cases
* Add '.rdoc_options' to suggested alternatives
https:...
st0012 (Stan Lo)
09:25 AM Bug #20929: TestTime have an assertion different from current implementation.
> Maybe we should use the W API and encode it in UTF-8 ranter than the locale.
agreed.
usa (Usaku NAKAMURA)
08:58 AM Revision 866f1a1f (git): Launchable: Stop recording tests temporarily (#12268)
There is a system trouble in Launchable, so I'm going to stop recording tests temporarily in compilers.yaml ono-max (Naoto Ono)
08:17 AM Revision 4336f413 (git): Update default gems list at 811bc15c75ff12c1a89ecac0af7d09 [ci skip]
git[bot]
08:16 AM Revision 5335b140 (git): array.c: Remove unused `rb_ary_verify` function
byroot (Jean Boussier)
08:16 AM Revision 811bc15c (git): [ruby/json] Release 2.9.0
https://github.com/ruby/json/commit/e1f6456499 byroot (Jean Boussier)
08:16 AM Revision 1510d72b (git): [ruby/json] Fix generate(script_safe: true) to not confuse unrelated characters
Fix: https://github.com/ruby/json/issues/715
The first byte check was missing.
https://github.com/ruby/json/commit/93a7f8717d
byroot (Jean Boussier)
05:59 AM Revision 4b850ea0 (git): Update bundled gems list at 0ef4a7d745f51751c12468d9452ede [ci skip]
git[bot]
05:59 AM Revision 0ef4a7d7 (git): Bundle RBS 3.7 (#12265)
soutaro (Soutaro Matsumoto)

12/04/2024

11:15 PM Bug #20931: Using `in` as an expression requires extra parentheses
As for the limitation of `in`, there is a more easy-to-understand explanation. Consider `foo(a in 1, 2, 3)`. This is very ambiguous because there are three possible interpretations: `foo((a in 1), 2, 3)`, `foo((a in 1, 2), 3)`, and `foo(... mame (Yusuke Endoh)
11:04 PM Bug #20931: Using `in` as an expression requires extra parentheses
That works for me - thanks for the explanation. stephenprater (Stephen Prater)
10:46 PM Bug #20931 (Rejected): Using `in` as an expression requires extra parentheses
I'm closing this since I'm pretty sure this isn't a bug. An imperfect explanation follows. Feel free to jump in if anyone has a better explanation.
To understand the precedence, note that `in` has a symbolic friend `=>`, and much like h...
alanwu (Alan Wu)
09:36 PM Bug #20931 (Rejected): Using `in` as an expression requires extra parentheses
TBH - I'm not sure if this is a bug or not - but it certainly surprising behavior and I'd at least like to understand it.
Given a hash t - that can be pattern matched: `t = {a: 1, b:1 }`
``` ruby
r = t in {a: 1, c:1 } # returns `f...
stephenprater (Stephen Prater)
09:46 PM Revision bf225feb (git): Fix an off by one in `rb_ary_resize`
When setting len to X we only need to grow the array
if len is bigger than capa. If they're equal we don't need to
increase capacity.
byroot (Jean Boussier)
09:34 PM Revision 1c4dbb13 (git): YJIT: Generate specialized code for Symbol for objtostring (#12247)
* YJIT: Generate specialized code for Symbol for objtostring
Co-authored-by: John Hawthorn <john@hawthorn.email>
* Update yjit/src/codegen.rs
---------
Co-authored-by: John Hawthorn <john@hawthorn.email>
Co-authored-by: Maxime Cheval...
Maximillian Polhill
09:26 PM Revision c0e12bf8 (git): Fix typos in public headers [ci skip]
alanwu (Alan Wu)
09:26 PM Bug #20930: Different semantics for nested `it` and `_1`
With `--parser=parse.y`:
```
$ ruby --parser=parse.y -ve '[1].each { p it; [5].each { p it } }'
ruby 3.4.0dev (2024-12-04T19:29:24Z master 3c91a1e5fd) [x86_64-linux]
1
5
$ ruby --parser=parse.y -ve '[1].each { p _1; [5].each { p _1...
Eregon (Benoit Daloze)
09:18 PM Bug #20930 (Rejected): Different semantics for nested `it` and `_1`
With --parser=parse.y:
```
$ ruby --parser=parse.y -ve '[1].each { p it; [5].each { p it } }'
ruby 3.4.0dev (2024-12-04T19:29:24Z master 3c91a1e5fd) [x86_64-linux]
1
5
$ ruby --parser=parse.y -ve '[1].each { p _1; [5].each { p _1...
Eregon (Benoit Daloze)
09:24 PM Revision 4b4d52ef (git): YJIT: track time since initialization (#12263)
maximecb (Maxime Chevalier-Boisvert)
07:29 PM Revision 3c91a1e5 (git): Fix ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS for MSAN
There's no case for when RUBY_MSAN_ENABLED, so the macro ends up doing
nothing when it should instead have __attribute__((__no_sanitize__("memory"))).
peterzhu2118 (Peter Zhu)
05:31 PM Revision 5898abd0 (git): [ruby/prism] Add document CapturePatternNode fields
Partially: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/1ffd693f9b
ydah (Yudai Takada)
05:22 PM Revision 8a228f29 (git): [ruby/prism] Add document CaseMatchNode fields
Partially: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/a78da01ef6
ydah (Yudai Takada)
05:22 PM Revision f88ebb4a (git): [ruby/prism] Add document CaseNode fields
Partially: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/2f473b0713
ydah (Yudai Takada)
05:21 PM Revision 932897af (git): [ruby/prism] Add document ClassVariableAndWriteNode fields
Partially: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/7be164e0b7
ydah (Yudai Takada)
04:15 PM Bug #20918: Prism error indicates line number of `-e` that does not exist
kddnewton (Kevin Newton) wrote in #note-3:
> I looked into this this morning, it looks like ruby.c is automatically concatenating a \n onto the -e script here: https://github.com/ruby/ruby/blob/f43585b02c3634ab9a4e54049b08e04ab1a640fd/r...
tenderlovemaking (Aaron Patterson)
02:58 PM Bug #20918: Prism error indicates line number of `-e` that does not exist
I looked into this this morning, it looks like ruby.c is automatically concatenating a \n onto the -e script here: https://github.com/ruby/ruby/blob/f43585b02c3634ab9a4e54049b08e04ab1a640fd/ruby.c#L1303. Is this desired behavior? kddnewton (Kevin Newton)
04:09 PM Feature #20875: Atomic initialization for Ractor local storage
ko1 (Koichi Sasada) wrote in #note-7:
> On `x[y()] ||= z()`, `z()` can change the context and it violates atomicity.
Hmm, I don't think so? Of course for the regular `||=` that would be the case, but in something like `x.assign_if_un...
Dan0042 (Daniel DeLorme)
01:49 AM Feature #20875: Atomic initialization for Ractor local storage
Dan0042 (Daniel DeLorme) wrote in #note-6:
> Would it be possible to make `Ractor[:mtx] ||= Mutex.new` behave in an atomic way?
On `x[y()] ||= z()`, `z()` can change the context and it violates atomicity.
ko1 (Koichi Sasada)
03:25 PM Revision 62b51d9a (git): Use BUILDING_SHARED_GC instead of RB_AMALGAMATED_DEFAULT_GC
We can use the BUILDING_SHARED_GC flag to check if we're building gc_impl.h
as a shared GC or building the default GC.
peterzhu2118 (Peter Zhu)
12:33 PM Revision f43585b0 (git): Update default gems list at 834d68238cfb4ffd701c65820c6d22 [ci skip]
git[bot]
12:32 PM Revision 834d6823 (git): [ruby/did_you_mean] Bump version to 2.0.0
https://github.com/ruby/did_you_mean/commit/1cce337962 Yuki Nishijima
12:07 PM Revision ef5dfcef (git): [ruby/did_you_mean] Removed deprecated constants for Ruby 3.4
https://github.com/ruby/did_you_mean/commit/e11bf81438 hsbt (Hiroshi SHIBATA)
08:50 AM Bug #20928 (Closed): Current 3.4-dev cannot be built with jemalloc activated in macOS
Applied in changeset commit:git|86c01b6aa0833e1bddda6ba8315c9d414aef0f76.
----------
[Bug #20928] Fix build when `malloc_usable_size` is available
Copy from gc/default/default.c and revert the part of 51bd81651794.
nobu (Nobuyoshi Nakada)
08:49 AM Revision 86c01b6a (git): [Bug #20928] Fix build when `malloc_usable_size` is available
Copy from gc/default/default.c and revert the part of 51bd81651794. nobu (Nobuyoshi Nakada)
08:35 AM Revision 4d460944 (git): [rubygems/rubygems] Rework `Bundler.which` tests
Refactor to use real test cases rather than mock.
Add relative path tests wich `Dir.chdir`.
https://github.com/rubygems/rubygems/commit/ed556a0a53
sodacris (Jua-Shun Wong)
08:35 AM Revision 55f2917c (git): [rubygems/rubygems] allow `bat` files to be created alongside with script files on Windows
https://github.com/rubygems/rubygems/commit/ed5b847f03 sodacris (Jua-Shun Wong)
08:34 AM Revision e18fb128 (git): [rubygems/rubygems] add relative path support for `bundle exec`
https://github.com/rubygems/rubygems/commit/c982085f86 sodacris (Jua-Shun Wong)
08:12 AM Revision d2c55e33 (git): Remove meaningless NULL checks
The functions dereference `*dead_entry` without a NULL check mame (Yusuke Endoh)
07:48 AM Revision 3b278180 (git): [ruby/shellwords] NUL char cannot be in shell words
https://github.com/ruby/shellwords/commit/2c7ae1b76c nobu (Nobuyoshi Nakada)
07:45 AM Revision edd3977b (git): [ruby/logger] Enable log file rotation on Windows
Since ruby 2.3, a file opened with `File::SHARE_DELETE` and
`File::BINARY` can be renamed or removed.
https://github.com/ruby/logger/commit/7b6146fee6
nobu (Nobuyoshi Nakada)
07:45 AM Revision ed47b6b3 (git): [ruby/logger] Extract `Logger::LogDevice#handle_write_errors`
https://github.com/ruby/logger/commit/f904ad2f7c nobu (Nobuyoshi Nakada)
07:17 AM Bug #20929: TestTime have an assertion different from current implementation.
Indeed, that assertion is incorrect.
But the locale is not the correct/expected encoding always on Windows.
For instance, in Japanese edition, `tm_zone` is always CP932.
```
> chcp.com 932
現在のコード ページ: 932
> ...
#<Encoding:Windows-31...
nobu (Nobuyoshi Nakada)
07:02 AM Revision c516669f (git): Update bundled gems list as of 2024-12-04
git[bot]
05:34 AM Revision f76a4cda (git): Added Bug #19266, Bug #20795 and net-http changes about removing deprecated constants to NEWS
hsbt (Hiroshi SHIBATA)
04:59 AM Revision c0454abd (git): Remove meaningless comma expression
Coverity Scan alerts `for(i, j=0;...)` as a misuse of comma expression. mame (Yusuke Endoh)
04:26 AM Feature #13512 (Rejected): System Threads
maybe out of date ko1 (Koichi Sasada)
04:22 AM Feature #13388 (Rejected): gc.c: Add GC.get_parameters and .set_parameters
Try with `GC.config` ko1 (Koichi Sasada)
04:09 AM Revision 56576b6c (git): Removed needless RSpec option
hsbt (Hiroshi SHIBATA)
04:09 AM Revision b532662d (git): Use same RSPECOPTS for test-bundler and test-bundler-parallel
hsbt (Hiroshi SHIBATA)
04:09 AM Revision 239c3079 (git): Simplify test-bundler-parallel
Get rid of repeated exec XRUBY recursively. nobu (Nobuyoshi Nakada)
03:15 AM Revision 59f7a5d3 (git): Remove meaningless NULL checks
In this context, `th` must not be NULL mame (Yusuke Endoh)
03:06 AM Revision 200f93b0 (git): Bump github/codeql-action from 3.27.5 to 3.27.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.5 to 3.27.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md...
dependabot[bot]
03:04 AM Feature #19261 (Rejected): `Data#members` is not important
out of date ko1 (Koichi Sasada)
02:57 AM Misc #16895 (Closed): Request for cooperation: Try your applications/libraries with master branch and debug options
https://github.com/ruby/setup-ruby has `debug` target. ko1 (Koichi Sasada)
02:56 AM Feature #14609 (Rejected): Let `Kernel#p` without an argument print the receiver
out of date ko1 (Koichi Sasada)
02:54 AM Misc #11783 (Closed): Do you have any idea if you have a budgets?
out of date ko1 (Koichi Sasada)
02:54 AM Feature #11670 (Rejected): Show warning to make nested def obsolete
out of date ko1 (Koichi Sasada)
02:51 AM Misc #11295 (Closed): Request for comments about error messages
out of date ko1 (Koichi Sasada)
02:49 AM Feature #10038 (Rejected): Extend ObjectSpace.dump to expose buffer addresses for String and Array
too old. ko1 (Koichi Sasada)
01:35 AM Revision a0eb541e (git): [ruby/psych] Do not depend on the evaluation order of C arguments
The evaluation order of C arguments is unspecified.
`RSTRING_LEN(value)` would fail if the conversion to a String by
`StringValuePtr(value)` is not done yet.
Coverity Scan found this issue.
https://github.com/ruby/psych/commit/d1e6bf323a
mame (Yusuke Endoh)

12/03/2024

09:55 PM Revision e539342f (git): [ruby/irb] Don't show 'Maybe IRB bug!' in show_source and ls command
(https://github.com/ruby/irb/pull/1039)
https://github.com/ruby/irb/commit/9eb14a3a0b
tompng (tomoya ishida)
09:16 PM Revision 3a906637 (git): Move external_gc_loaded_p to gc_functions
peterzhu2118 (Peter Zhu)
08:43 PM Revision 6adc69c4 (git): Do not depend on the evaluation order of C arguments
The evaluation order of C arguments is unspecified.
`RSTRING_LEN(str)` would fails if the conversion to a String by
`StringValuePtr` is not done yet.
Coverity Scan found this issue.
mame (Yusuke Endoh)
07:30 PM Revision 5d156007 (git): [ruby/prism] Add document CallOperatorWriteNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/f1f8776973
ydah (Yudai Takada)
07:29 PM Revision 917f348a (git): [ruby/prism] Add document CallOrWriteNode fields
Partially: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/3c01cc7c77
ydah (Yudai Takada)
07:29 PM Revision 0f921cf4 (git): [ruby/prism] Add document CallTargetNode fields
Partially: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/649ef29c29
ydah (Yudai Takada)
06:44 PM Revision 8fd65cd8 (git): [DOC] Rename "GC module" to "GC library" in NEWS.md
peterzhu2118 (Peter Zhu)
06:03 PM Revision e20904d7 (git): Fix use of getaddrinfo_shared->lock
In some locations we were using shared->lock and in others
&shared->lock, and we were leaking the allocated memory.
jhawthorn (John Hawthorn)
03:33 PM Bug #20929 (Open): TestTime have an assertion different from current implementation.
test/ruby/test_time.rb have following assersion function.
```ruby
def assert_zone_encoding(time)
zone = time.zone
assert_predicate(zone, :valid_encoding?)
if zone.ascii_only?
assert_equal(Encoding::US_ASCII, zon...
YO4 (Yoshinao Muramatsu)
12:43 PM Revision 757303fe (git): Use the edge version of typeprof
It should work on Windows, hopefully mame (Yusuke Endoh)
09:24 AM Bug #20928 (Closed): Current 3.4-dev cannot be built with jemalloc activated in macOS
Today I found that the current 3.4-dev is unable to build with jemalloc activated, while 3.3.4 or any lower versions can be build as usual with or w/o jemalloc activated.
* macOS Sequoia: 15.1.1 (M3 Chip)
* env (FYI: `--with-opt-di...
hachi8833 (Shozo Hatta)
08:43 AM Revision b4481a6b (git): Fixed wrong instruction with mswin build
hsbt (Hiroshi SHIBATA)
06:51 AM Bug #20795 (Closed): Timeout method doesn't check for negative time values
I merged https://github.com/ruby/timeout/pull/51 now. Thank you. hsbt (Hiroshi SHIBATA)
06:49 AM Bug #20795: Timeout method doesn't check for negative time values
We discussed this with Matz at last developer meeting.
He said "Let's raise an `ArgumentError` against negative value".
hsbt (Hiroshi SHIBATA)
06:49 AM Revision f6b62d00 (git): [ruby/timeout] removed the non numeric check
https://github.com/ruby/timeout/commit/7d2af46a00
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
Cosmic Oppai
06:49 AM Revision 7dc7aab4 (git): [ruby/timeout] updated doc string
https://github.com/ruby/timeout/commit/4be6423de4
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
Cosmic Oppai
06:49 AM Revision e97225b1 (git): [ruby/timeout] updated tests
https://github.com/ruby/timeout/commit/c6d121aa18 CosmicOppai
06:49 AM Revision b156efc2 (git): [ruby/timeout] updated doc and kept the nil compatiability
https://github.com/ruby/timeout/commit/f992632cf3 CosmicOppai
06:49 AM Revision e7dd185e (git): [ruby/timeout] refactor the change to raise for nil and type-errror and added tests
https://github.com/ruby/timeout/commit/ffc8d7c003 CosmicOppai
06:49 AM Revision 0839eae2 (git): [ruby/timeout] refactor the change to keep the compatability with nil and type-errror and added tests
https://github.com/ruby/timeout/commit/e8a7dbdb87 CosmicOppai
06:49 AM Revision 0f2cd39e (git): [ruby/timeout] refactor the change to keep the compatability with nil and type-errror and added tests
https://github.com/ruby/timeout/commit/8342544979 CosmicOppai
06:49 AM Revision 203a0234 (git): [ruby/timeout] added the check for negative sec
https://github.com/ruby/timeout/commit/8e57887eee CosmicOppai
06:02 AM Revision de50236c (git): Enable Launchable integration in compilers.yml (#12136)
ono-max (Naoto Ono)
05:24 AM Revision f1b576e1 (git): Update bundled_gems
soutaro (Soutaro Matsumoto)
05:06 AM Revision f713b870 (git): Update default gems list at ddf0080fd3d82e84aec48894d4e27f [ci skip]
git[bot]
05:05 AM Revision ddf0080f (git): [ruby/io-console] Bump up 0.8.0
https://github.com/ruby/io-console/commit/467508a0c6 hsbt (Hiroshi SHIBATA)
04:59 AM Revision 80a5db55 (git): [ruby/etc] Use same license files with ruby/ruby
https://github.com/ruby/etc/commit/8d585ea0c9 hsbt (Hiroshi SHIBATA)
04:56 AM Revision bbcb094e (git): Socket#connect may be raise ECONNREFUSED
On my environment with `sudo ufw default reject outgoing`,
outgoing packets are filtered without allow rules.
znz (Kazuhiro NISHIYAMA)
04:53 AM Revision 9297a4cb (git): Update default gems list at e34163d7fe8d416f9952d775eb743b [ci skip]
git[bot]
04:52 AM Revision e34163d7 (git): [ruby/pp] Bump up 0.6.2
https://github.com/ruby/pp/commit/979f9d972d hsbt (Hiroshi SHIBATA)
04:39 AM Revision e16f3ad6 (git): Update default gems list at 9bd1e6ee04ed8f0cc88da3366534e0 [ci skip]
git[bot]
04:38 AM Revision 9bd1e6ee (git): [ruby/io-nonblock] Bump up 0.3.1
https://github.com/ruby/io-nonblock/commit/16727a8ab3 hsbt (Hiroshi SHIBATA)
03:12 AM Revision 8b987ed9 (git): Update default gems list at 043f26edee38fb52fe43e208a7ad57 [ci skip]
git[bot]
03:11 AM Revision 043f26ed (git): [ruby/error_highlight] Bump version
https://github.com/ruby/error_highlight/commit/a8e9eb7f2f mame (Yusuke Endoh)
02:32 AM Bug #20918 (Assigned): Prism error indicates line number of `-e` that does not exist
hsbt (Hiroshi SHIBATA)
02:32 AM Bug #20916 (Assigned): Prism compiler should support ** in Ractor constant
hsbt (Hiroshi SHIBATA)
12:50 AM Bug #20916: Prism compiler should support ** in Ractor constant
After reading the instruction sequences, I realized that Ruby 3.3 has an odd behavior with `shareable_constant_value: experimental_everything`. I filed an issue about it here: https://bugs.ruby-lang.org/issues/20927
I personally thin...
tenderlovemaking (Aaron Patterson)
12:44 AM Bug #20916: Prism compiler should support ** in Ractor constant
I created a bug for the parse.y version here: https://bugs.ruby-lang.org/issues/20926
The example @mame provides works on Ruby 3.3. I think it's supposed to emit instructions like this:
```
$ ruby -v --dump=insns test.rb
ruby 3....
tenderlovemaking (Aaron Patterson)
02:32 AM Feature #20893 (Assigned): random/formatter.rb: Separate from securerandom
hsbt (Hiroshi SHIBATA)
02:32 AM Misc #20575 (Assigned): Syntax Moratorium til 3.4
hsbt (Hiroshi SHIBATA)
02:09 AM Revision 326a6cbf (git): * 2024-12-03 [ci skip]
git[bot]
02:09 AM Revision 62c113c4 (git): Lock json-schema-5.1.0 for using pure ruby version
hsbt (Hiroshi SHIBATA)
02:08 AM Revision 732ee20a (git): Bump up actions/checkout-4.2.2
hsbt (Hiroshi SHIBATA)
02:08 AM Revision 7ff601ae (git): Lock json-schema-5.1.0 for using pure ruby version
hsbt (Hiroshi SHIBATA)
02:04 AM Revision 1ae2b16d (git): Lock json-schema-5.1.0 for using pure ruby version
hsbt (Hiroshi SHIBATA)
01:59 AM Revision d85e8b53 (git): Reapply "[ruby/rdoc] fix: C variables should never show up in Ancestors tree"
This reverts commit 0fe82ae087130d7f360cc0607be93995cedbdb16. hsbt (Hiroshi SHIBATA)
01:10 AM Bug #20904: 3.4.0-preview2: Building miniruby.exe fails for mswin32
kddnewton (Kevin Newton) wrote in #note-7:
> The Prism portion should be fixed by https://github.com/ruby/prism/pull/3270.
Does Prism support older than VS 2015 that is the minimum version for ruby 3.4?
VS 2015 at least supports the...
nobu (Nobuyoshi Nakada)
12:53 AM Revision 59d23174 (git): Added missing header file for _finite
hsbt (Hiroshi SHIBATA)
12:53 AM Revision 4e382c28 (git): Lock json-schema-5.1.0
hsbt (Hiroshi SHIBATA)
12:48 AM Bug #20927 (Closed): `{ **{ } }` behaves differently when `shareable_constant_value: experimental_everything`
These two programs produce different results
```ruby
# shareable_constant_value: experimental_everything
C = { **{ } }
p C
```
```ruby
C = { **{ } }
p C
```
The first one prints this:
```
$ ruby test.rb
{nil=>{...
tenderlovemaking (Aaron Patterson)
12:42 AM Bug #20926 (Closed): shareable_constant_value: experimental_everything crashes with parse.y
This program crashes with parse.y as the parser:
```
./miniruby --dump=insns --parser=parse.y -v -e'# shareable_constant_value: experimental_everything
C = { **{ } }'
```
Backtrace from ...
tenderlovemaking (Aaron Patterson)

12/02/2024

10:08 PM Revision af5c34fb (git): [ruby/rdoc] Prefer String#ord to #codepoints[0]
(https://github.com/ruby/rdoc/pull/1220)
https://github.com/ruby/rdoc/commit/09d7f35420
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
mdalessio (Mike Dalessio)
10:07 PM Revision 4cce246d (git): [ruby/rdoc] ClassModule#superclass= accepts a ClassModule as an
argument
(https://github.com/ruby/rdoc/pull/1222)
It is necessary for ClassModule's instance variable @superclass to
always be a String (or nil) so that the class can be saved with
`#marshal_dump` and loaded with `#marshal_load`.
Howev...
mdalessio (Mike Dalessio)
08:28 PM Revision d588a1c8 (git): Correct order of listed methods
burdettelamar (Burdette Lamar)
08:19 PM Revision c8dd0479 (git): [ruby/prism] _finitef is unavailable on Windows x86
Instead cast it inline to a double on Windows.
https://github.com/ruby/prism/commit/9064d872aa
kddnewton (Kevin Newton)
07:48 PM Revision 05346b19 (git): [DOC] Fix capitalization in NEWS.md
peterzhu2118 (Peter Zhu)
07:48 PM Bug #20916: Prism compiler should support ** in Ractor constant
I'm fine supporting this, but I'm not sure what the behavior should be since the current compiler just segfaults. What is the behavior if the value being splatted isn't an empty hash? kddnewton (Kevin Newton)
07:44 PM Bug #20917: redo/next in nested begin block causes wrong order of execution
Agreed this is a bug. For additional context, this is the same on parse.y and prism. kddnewton (Kevin Newton)
07:42 PM Bug #20904: 3.4.0-preview2: Building miniruby.exe fails for mswin32
The Prism portion should be fixed by https://github.com/ruby/prism/pull/3270. kddnewton (Kevin Newton)
06:42 PM Revision fd217d47 (git): [ruby/prism] Reject invalid operator after match predicate or after match required
Partially fixes: #3171
https://github.com/ruby/prism/commit/d0d9699c27
ydah (Yudai Takada)
06:41 PM Revision 2ba59872 (git): [ruby/prism] Reject invalid dot method call after match predicate or after match required
Partially fixes: https://github.com/ruby/prism/issues/3171
https://github.com/ruby/prism/commit/5c33fa5a1a
ydah (Yudai Takada)
06:39 PM Revision aa77bfd1 (git): [ruby/prism] Reject extra comma in array after keyword argument
Fixes: https://github.com/ruby/prism/issues/3109
https://github.com/ruby/prism/commit/9ed989c30d
ydah (Yudai Takada)
06:38 PM Revision 90404ca4 (git): Fix example of array pattern that results in a SyntaxError
```
❯ ruby --parser=prism --dump=parsetree -e "foo in *1"
ruby: -e:1: syntax error found (SyntaxError)
> 1 | foo in *1
| ^ unexpected integer, expecting end-of-input
2 |
```
ydah (Yudai Takada)
06:37 PM Revision b1f992e0 (git): [ruby/prism] Add document BeginNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/b8f40988ab
ydah (Yudai Takada)
06:36 PM Revision 76aa9fd1 (git): [ruby/prism] Add document ArrayPatternNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/396c6d4340
ydah (Yudai Takada)
06:36 PM Revision 4574ac5f (git): [ruby/prism] Add document AliasMethodNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/27f13fabc6
ydah (Yudai Takada)
06:35 PM Revision d53cf5e6 (git): [ruby/prism] Add document ArgumentsNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/1388ca389e
ydah (Yudai Takada)
06:35 PM Revision 06dcadd1 (git): [ruby/prism] Add document BlockArgumentNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/b1c2f323f9
ydah (Yudai Takada)
06:35 PM Revision 80897f97 (git): [ruby/prism] Add document BlockLocalVariableNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/8353be1dfe
ydah (Yudai Takada)
06:34 PM Revision efb3f84c (git): [ruby/prism] Add document BlockNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/9c0ef71449
ydah (Yudai Takada)
06:34 PM Revision 02fa822e (git): [ruby/prism] Add document BlockParameterNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/480897eccf
ydah (Yudai Takada)
06:33 PM Revision c7e1cb04 (git): [ruby/prism] Add document BlockParametersNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/75d1bde6cc
ydah (Yudai Takada)
06:33 PM Revision 20206da7 (git): [ruby/prism] Add document CallAndWriteNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/d1570f2e06
ydah (Yudai Takada)
06:32 PM Revision 3c2646eb (git): [ruby/prism] Add document CallNode fields
Partially fixes: https://github.com/ruby/prism/issues/2123
https://github.com/ruby/prism/commit/145ae8f993
ydah (Yudai Takada)
04:44 PM Revision 36aeb12a (git): [ruby/reline] Implement buffered output to Reline::ANSI
(https://github.com/ruby/reline/pull/790)
Minimize the call of STDOUT.write
This will improve rendering performance especially when there is a busy thread `Thread.new{loop{}}`
https://github.com/ruby/reline/commit/a6fe45f5ba
tompng (tomoya ishida)
04:15 PM Feature #20875: Atomic initialization for Ractor local storage
Would it be possible to make `Ractor[:mtx] ||= Mutex.new` behave in an atomic way? Like maybe add a special `[]||=` method which is automatically called such that `Ractor[:mtx] ||= Mutex.new` becomes equivalent to `Ractor[:mtx] || Racto... Dan0042 (Daniel DeLorme)
04:06 PM Revision 44ef172d (git): [rubygems/rubygems] [DOC] Fix missing single quote
https://github.com/rubygems/rubygems/commit/722d4c6926 nobu (Nobuyoshi Nakada)
12:47 PM Revision 8f57204c (git): Avoid test failures on hosts that only support IPv4 (#12213)
To verify the behavior of HEv2, some tests were prepared. But unexpected failures occur in certain environments.
This happens in environments where "localhost" resolves only to an IPv4 address during tests that verify connections to IPv6...
Misaki Shioi
08:43 AM Revision c6b8a52f (git): Update default gems list at 2b895a7ad53d025e91566c4f51eac3 [ci skip]
git[bot]
08:42 AM Revision 2b895a7a (git): [ruby/net-http] Bump up 0.6.0
https://github.com/ruby/net-http/commit/6475fa68ba hsbt (Hiroshi SHIBATA)
08:04 AM Revision 9a005ad5 (git): Update default gems list at 157fe74795b151413150b0f79b9b8b [ci skip]
git[bot]
08:03 AM Revision 157fe747 (git): [ruby/logger] Bump up 1.6.2
https://github.com/ruby/logger/commit/2d07f086f8 hsbt (Hiroshi SHIBATA)
08:03 AM Revision 8ec58a91 (git): [ruby/io-console] Add IO#ttyname that returns the tty name or nil
https://github.com/ruby/io-console/commit/fdad351501 nobu (Nobuyoshi Nakada)
07:52 AM Revision 10900701 (git): Update default gems list at 229592f175eab0a42071bdd237107b [ci skip]
git[bot]
07:51 AM Revision 229592f1 (git): [ruby/date] Bump up 3.4.1
https://github.com/ruby/date/commit/a3295ad262 hsbt (Hiroshi SHIBATA)
07:45 AM Revision 10b16705 (git): Update default gems list at ff52431ee5a9bdefa8240e69ea4220 [ci skip]
git[bot]
07:45 AM Revision ff52431e (git): [ruby/securerandom] Bump up 0.4.0
https://github.com/ruby/securerandom/commit/53f97f3151 hsbt (Hiroshi SHIBATA)
06:32 AM Revision 165e34ed (git): Disabled test_s_random_bytes_is_fork_safe again
hsbt (Hiroshi SHIBATA)
06:32 AM Revision 587bd583 (git): [ruby/securerandom] Enabled test_s_random_bytes_is_fork_safe with Apple Silicon and expand running times
https://github.com/ruby/securerandom/commit/40ddef8a83 hsbt (Hiroshi SHIBATA)
06:32 AM Revision 983ae63f (git): [ruby/securerandom] Random::Formatter is only provided from Ruby 3.1
https://github.com/ruby/securerandom/commit/90c7e390f5 hsbt (Hiroshi SHIBATA)
06:32 AM Revision 94f8bc95 (git): [ruby/securerandom] Enabled test_s_random_bytes_is_fork_safe on GitHub Actions
https://github.com/ruby/securerandom/commit/bb1c078e9f hsbt (Hiroshi SHIBATA)
06:32 AM Revision eb0442a5 (git): [ruby/securerandom] Removed unnecessary module for SecureRandom tests
https://github.com/ruby/securerandom/commit/da7d324c7d hsbt (Hiroshi SHIBATA)
05:00 AM Revision 9948a8c8 (git): [ruby/io-console] Freeze the version string
https://github.com/ruby/io-console/commit/aa79919f79 nobu (Nobuyoshi Nakada)
03:37 AM Revision decc0299 (git): [ruby/io-console] Check if `rb_syserr_fail_str` is available
Truffle ruby seems to lack it.
https://github.com/ruby/io-console/commit/839c1e80eb
nobu (Nobuyoshi Nakada)
01:50 AM Revision 9b603666 (git): Removed trailing spaces
hsbt (Hiroshi SHIBATA)
01:50 AM Revision 0eca6c30 (git): Update strscan structure for strscan/strscan.rb
hsbt (Hiroshi SHIBATA)
01:50 AM Revision 9a7f050e (git): [ruby/strscan] test: don't omit "(...)" for method calls that have at least one argument
https://github.com/ruby/strscan/commit/dddae9c99a Sutou Kouhei
01:50 AM Revision 636d57bd (git): [ruby/strscan] Micro optimize encoding checks
(https://github.com/ruby/strscan/pull/117)
Profiling shows a lot of time spent in various encoding check functions.
I'm working on optimizing them on the Ruby side, but if we assume most
strings are one of the simple 3 encodings, we can...
byroot (Jean Boussier)
01:50 AM Revision 79cc3d26 (git): StringScanner#scan_integer support base 16 integers (#116)
Followup: https://github.com/ruby/strscan/pull/115
`scan_integer` is now implemented in Ruby as to efficiently handle
keyword arguments without allocating a Hash. Given the goal of
`scan_integer` is to more effciently parse integers wit...
byroot (Jean Boussier)
01:50 AM Revision 5514485e (git): [ruby/strscan] Prevent a warning "ambiguous first argument" during a
test
(https://github.com/ruby/strscan/pull/118)
https://rubyci.s3.amazonaws.com/debian11/ruby-master/log/20241128T153002Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20241128T153002Z/ruby/test/strscan/test_stringscanner.rb:908: wa...
mame (Yusuke Endoh)
01:32 AM Revision 8f2575a1 (git): Typofix
hsbt (Hiroshi SHIBATA)
12:39 AM Revision 0fe82ae0 (git): Revert "[ruby/rdoc] fix: C variables should never show up in Ancestors tree"
This reverts commit 2923f42ed7622f6310c63aab4c0abf05402f9a04.
https://github.com/ruby/actions/actions/runs/12108034481/job/33755653615#step:23:1031
```
/home/runner/work/actions/actions/snapshot-master/lib/rdoc/code_object.rb:322:in 'R...
hsbt (Hiroshi SHIBATA)
12:07 AM Revision 1df52e09 (git): yasmdata.rb is no longer generated for years [ci skip]
nobu (Nobuyoshi Nakada)
 

Also available in: Atom