Project

General

Profile

Activity

From 12/12/2024 to 12/18/2024

12/18/2024

11:45 PM Revision efc26d20 (git): Added the latest versions of irb, json and rdoc to NEWS
hsbt (Hiroshi SHIBATA)
11:45 PM Revision 91efe7b6 (git): [ruby/json] Release 2.9.1
https://github.com/ruby/json/commit/f745ec145e byroot (Jean Boussier)
11:45 PM Revision 979b19b7 (git): [ruby/json] Add support for Solaris 10 which lacks strnlen()
Check for existence of strnlen() and use alternative code if it is missing.
https://github.com/ruby/json/commit/48d4bbc3a0
ngoto (Naohisa Goto)
11:45 PM Revision bba66f94 (git): [ruby/rdoc] Bump version to v6.10.0
https://github.com/ruby/rdoc/commit/2b79892ab4 Stan Lo
11:45 PM Revision a920808c (git): [ruby/rdoc] Auto-hide navigation on link click
(https://github.com/ruby/rdoc/pull/1238)
Hide navigation sidebar when clicking anchor links on mobile devices.
Previously, anchor links would change the page but the navigation
sidebar would block the view.
https://github.com/ruby/rdoc...
James Reid-Smith
11:45 PM Revision 35ff04ce (git): [ruby/irb] Bump version to v1.14.3
(https://github.com/ruby/irb/pull/1050)
https://github.com/ruby/irb/commit/49050f9bf3
st0012 (Stan Lo)
11:42 PM Bug #20966 (Rejected): Unary plus String warns about freezing
`+"\x1f\x8b".force_encoding("BINARY")` is parsed as
`+( "\x1f\x8b".force_encoding("BINARY") )` and the warning is coming from `force_encoding`.
Try `(+"\x1f\x8b").force_encoding("BINARY")` or `"\x1f\x8b".+@().force_encoding("BINARY")`.
...
alanwu (Alan Wu)
11:29 PM Bug #20966: Unary plus String warns about freezing
I think you are being tripped up by the low precedence of the unary operator, which is applied after the whole chain of calls are made. Try parenthesizing the unary plus and the string. ufuk (Ufuk Kayserilioglu)
11:20 PM Bug #20966: Unary plus String warns about freezing
My code:
```
header = +"\x1f\x8b".force_encoding("BINARY")
```
Rubocop says "Use unary plus to get an unfrozen string literal."
But Ruby 3.4rc1 says:
```
profiling_test.rb:49: warning: literal string will be frozen in ...
getajobmike (Mike Perham)
11:17 PM Bug #20966 (Rejected): Unary plus String warns about freezing
```
/Users/mperham/src/sidekiq/test/profiling_test.rb:49: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
```
getajobmike (Mike Perham)
09:52 PM Revision c194b261 (git): debug v1.10.0
ko1 (Koichi Sasada)
07:58 PM Bug #20965 (Closed): `it` vs `binding.local_variables`
`it` is not available in the list of `binding.local_varaibles`, **unlike** numbered parameters:
```ruby
p(proc { binding.local_variables }.call) # []
p(proc { |x| binding.local_variables }.call) # [:x]
p(proc { _1; binding.local_...
zverok (Victor Shepelev)
07:38 PM Revision 173ae93e (git): Document 'it' and update numbered parameters docs (#12375)
zverok (Victor Shepelev)
05:35 PM Bug #20964 (Third Party's Issue): Oracle Developer Studio 12.5 on Solaris failed to compile "prism/extension.c", line 499: internal compiler error: Wasted space
Changed to Third Party's Issue
I'm hoping someone who have support contract of Oracle Developer Studio will contact Oracle support to solve this compile error.
ngoto (Naohisa Goto)
05:27 PM Bug #20964 (Third Party's Issue): Oracle Developer Studio 12.5 on Solaris failed to compile "prism/extension.c", line 499: internal compiler error: Wasted space
Oracle Developer Studio 12.5 and 12.6 on Solaris 10 failed to compile prism/extension.c with the following error:
```
cc -errtags=yes -xO4 -xtarget=sparc64xplus -m64 -xatomic=gcc -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_S...
ngoto (Naohisa Goto)
05:28 PM Feature #20885: String#gsub?
Ah, you mean it doesn't return strictly true/false? That's a good point, although there are precedents like `Numeric#nonzero?`
But I'm not so attached to the name "gsub?" itself, it just happened to be the one that made the most sense...
Dan0042 (Daniel DeLorme)
06:11 AM Feature #20885: String#gsub?
I am not positive for adding `gsub?`. It's not a predicate, after all.
Matz.
matz (Yukihiro Matsumoto)
05:08 PM Bug #20962 (Closed): Change in behaviour in 3.4.0rc1 of `Hash#inspect`
Applied in changeset commit:git|477c505ac0d4d23a860ffafbb487f7598aa89ca3.
----------
[DOC] Fix output examples containing old Hash#inspect format
The inspect format was intentionally changed as an outcome of
[Bug #20433] [ruby-core:118...
tompng (tomoya ishida)
01:52 PM Bug #20962: Change in behaviour in 3.4.0rc1 of `Hash#inspect`
pull request https://github.com/ruby/ruby/pull/12384 tompng (tomoya ishida)
10:15 AM Bug #20962 (Closed): Change in behaviour in 3.4.0rc1 of `Hash#inspect`
The output from `Hash#inspect` in v3.4.0rc1 does not match the documentation and is different from v3.3.6. aharan (Aidan Haran)
05:08 PM Bug #20963 (Closed): compile error due to lack of MAYBE_UNUSED macro e.g. Oracle Developer Studio 12.x on Solaris 10
Applied in changeset commit:git|528ec7060464d30359e593055df6b53362cd1060.
----------
use RBIMPL_ATTR_MAYBE_UNUSED
The macro MAYBE_UNUSED, prepared by ./configure, may not be defined in
some environments such as Oracle Developer Studio ...
ngoto (Naohisa Goto)
02:31 PM Bug #20963 (Closed): compile error due to lack of MAYBE_UNUSED macro e.g. Oracle Developer Studio 12.x on Solaris 10
On Solaris 10, by using Oracle Developer Studio 12.5, strange compile error occurred.
```
cc -errtags=yes -xO4 -xtarget=sparc64xplus -m64 -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -...
ngoto (Naohisa Goto)
05:08 PM Revision 477c505a (git): [DOC] Fix output examples containing old Hash#inspect format
The inspect format was intentionally changed as an outcome of
[Bug #20433] [ruby-core:118668], but some documentation update
was missing, as [Bug #20962] pointed out. Update some output
examples that clearly use Hash#inspect.
tompng (tomoya ishida)
02:37 PM Revision 528ec706 (git): use RBIMPL_ATTR_MAYBE_UNUSED
The macro MAYBE_UNUSED, prepared by ./configure, may not be defined in
some environments such as Oracle Developer Studio 12.5 on Solaris 10.
This fixes [Bug #20963]
ngoto (Naohisa Goto)
12:49 PM Revision d07aa670 (git): Get rid of duplicate modifier for MSVC
nobu (Nobuyoshi Nakada)
09:36 AM Bug #20699: On Windows, the `__dir__` keyword is garbled in paths containing Japanese characters, and `require_relative` fails as well
I verified that this issue is still present on current master. On codepage 850 the output looks like so:
```
C:\Users\kanis\ruby\テスト_test>ruby.exe test.rb
"C:/Users/kanis/ruby/???_test"
#<Encoding:CP850>
"C:/Users/kanis/ruby/???_tes...
larskanis (Lars Kanis)
08:14 AM Revision 8417d09f (git): Removed unnecessary sentence for stdlib
hsbt (Hiroshi SHIBATA)
08:07 AM Misc #20774: Remove remaining locale dependent code from Windows port
From the issue description above:
> ```
> ...
The inconsistency in win32-registry is solved in the meantime on ruby master branch by https://github.com/ruby/win32-registry/commit/f5ea80d985dd374c8f1e92d4ddc41b9fb5526257 .
larskanis (Lars Kanis)
08:02 AM Revision a5562c13 (git): Fix the end of "dlext & soext" section [ci skip]
nobu (Nobuyoshi Nakada)
07:58 AM Bug #20943: Constant defined in `Data.define` block
TBH, for bigger `Struct`/`Data`-based classes I typically prefer a regular inheritance instead of using class definition block—both for just aestetics (“it looks like a class definition”) and to avoid behavioral differences like constant... zverok (Victor Shepelev)
06:19 AM Bug #20943: Constant defined in `Data.define` block
Blocks do not introduce new scope even with `instance_eval` nor `class_eval` (along with `Data.define` etc. with blocks). Changing this behavior might cause serious compatibility problems.
If someone is willing to survey and estimate ho...
matz (Yukihiro Matsumoto)
07:50 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
One thing pointed out in the last developer meeting was that future MMTK might want to break "asprintf return values can be reclaimable using ruby_xfree" assumption at process startup, by choosing different memory management schemes. shyouhei (Shyouhei Urabe)
07:48 AM Revision 48801c33 (git): Revert "Update default gems list at 647449fc91c9d37752b09ac5f0a785 [ci skip]"
This reverts commit 5caf8bf1ea785969088f9fd54d7d752443ed940e. hsbt (Hiroshi SHIBATA)
07:48 AM Revision f9101fd6 (git): Revert "Update bundled gems list at 5caf8bf1ea785969088f9fd54d7d75 [ci skip]"
This reverts commit 50282a540a33bdad9aec528dfd97b15ae12acb80. hsbt (Hiroshi SHIBATA)
07:45 AM Revision dd1208af (git): Extract auto-update workflow for default gems on NEWS.md
We should stop it until final release of Ruby. hsbt (Hiroshi SHIBATA)
06:49 AM Revision 50282a54 (git): Update bundled gems list at 5caf8bf1ea785969088f9fd54d7d75 [ci skip]
git[bot]
06:13 AM Feature #20925: Allow boolean operators at beginning of line to continue previous line
+1. Although it might take time to implement since we have duplicated parser implementations at the moment.
Matz.
matz (Yukihiro Matsumoto)
05:42 AM Revision 5caf8bf1 (git): Update default gems list at 647449fc91c9d37752b09ac5f0a785 [ci skip]
git[bot]
05:41 AM Revision 647449fc (git): Update description for default and bundled gems
hsbt (Hiroshi SHIBATA)
05:41 AM Revision 96ae73e7 (git): Restore rake-13.2.0 and added bundled versions of Ruby 3.3
hsbt (Hiroshi SHIBATA)
05:41 AM Revision d80b466a (git): Added version histories of updated default gems for Ruby 3.4
hsbt (Hiroshi SHIBATA)
03:25 AM Bug #20961: MMTk build on macOS missing librubygc.mmtk.bundle
Thank you for trying this feature out. I think you're confused about how the configuration works, and that's our bad, we never documented anything.
The `--with-modular-gc` flag is used to specify a directory that the built GC library ...
peterzhu2118 (Peter Zhu)
03:20 AM Bug #20961: MMTk build on macOS missing librubygc.mmtk.bundle
> IIRC, this option requires an absolute path.
No, if you pass a relative path it will convert it to an absolute path based on your current directory.
> ...
It's allowed because eventually we want to install GC implementations like...
peterzhu2118 (Peter Zhu)
01:07 AM Bug #20961: MMTk build on macOS missing librubygc.mmtk.bundle
I’m curious why this option is allowed to refer outside `$(prefix)`. (and probably `$(DESTDIR)` too?) nobu (Nobuyoshi Nakada)
12:40 AM Bug #20961: MMTk build on macOS missing librubygc.mmtk.bundle
shan (Shannon Skipper) wrote:
> ``` shell
> ...
IIRC, this option requires an absolute path.
nobu (Nobuyoshi Nakada)
02:50 AM Revision 6336431a (git): [DOC] rb_id2name(): Note truncation danger (+minor copyediting)
Thanks, nobu! alanwu (Alan Wu)
02:22 AM Revision 827acccc (git): Skip to sync lib/irb/.document
hsbt (Hiroshi SHIBATA)
02:12 AM Revision 57f6329b (git): Check RUBY_THREAD_TIMESLICE value
nobu (Nobuyoshi Nakada)
02:10 AM Revision c07fb791 (git): Avoid file descriptor leak
`extra_fd` was leaked if `fd_set_cloexec` fails -- I can't think of any
chance of that happening here, but just in case.
Coverity Scan found this issue.
mame (Yusuke Endoh)
02:00 AM Revision 25602421 (git): [DOC] Fix the block parameter name in Array#zip
kyanagi (Kouhei Yanagita)
01:28 AM Revision a80e8592 (git): Update default gems list at 3edbf6cfc5dba4da62ac23af5f0ebb [ci skip]
git[bot]
01:27 AM Revision 3edbf6cf (git): [ruby/psych] Bump up v5.2.2
https://github.com/ruby/psych/commit/746e1ad24d hsbt (Hiroshi SHIBATA)
01:06 AM Revision 46b8fc4c (git): Update default gems list at b3abdd4cf45f370d763f6782db46c8 [ci skip]
git[bot]
01:05 AM Revision b3abdd4c (git): Bump Rubygems version to 3.6.1
deivid (David Rodríguez)
01:05 AM Revision 64b8e2da (git): Bump Bundler version to 2.6.1
deivid (David Rodríguez)
01:05 AM Revision 559e9fe9 (git): Bump vendored securerandom to 0.4.1
deivid (David Rodríguez)
01:05 AM Revision b9ad8fa5 (git): Bump vendored timeout to 0.4.3
deivid (David Rodríguez)
12:48 AM Revision 498d6eb1 (git): Wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork` (#12366)
Wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork`
Referencing PR #10864,
wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork`
to avoid fork safety issues.
`do_fast_fallback_getaddrinfo` internally uses geta...
Misaki Shioi

12/17/2024

11:51 PM Bug #20943: Constant defined in `Data.define` block
byroot (Jean Boussier) wrote in #note-2:
> Which is a bit wasteful as you define two classes instead of one, but not a big deal.
I agree the extra class being created is minor, but I'm slightly more bothered by the anonymous class ...
shan (Shannon Skipper)
11:48 PM Revision 98bf912d (git): [DOC] Added references of github releases for bundled gems (#12365)
* Added references of github releases for bundled gems
* Removed bundled version of 3.3.0 and maintenance releases
* Added history of racc, mutex_m, bigdecimal, drb, syslog and csv
* Added test-unit, rss, net-ftp, prime and nkf.
* Ad...
hsbt (Hiroshi SHIBATA)
11:21 PM Bug #20961 (Closed): MMTk build on macOS missing librubygc.mmtk.bundle
Hi! I'm excited about the new modular GC feature. I just wanted to report that when I build Ruby 3.4.0-rc1 with MMTk on latest macOS 15.2 I seem to be encountering a linking issue. Whether I `cargo build --release` or `ruby extconf.rb &&... shan (Shannon Skipper)
09:48 PM Revision fef8ecc7 (git): [ruby/rdoc] Enable cross reference in code
(https://github.com/ruby/rdoc/pull/1240)
Some people like to mark up method names in MarkDown style block
quotes, like this: ruby/ruby#12333.
Currently, no links are created in the code in the RDoc, but such
words most likely refer to m...
nobu (Nobuyoshi Nakada)
09:32 PM Revision 375fec7c (git): [DOC] Add note to rb_id2name about GC compaction
peterzhu2118 (Peter Zhu)
09:23 PM Revision 1254850a (git): [ruby/rdoc] Update tests for ruby/rdoc#1247
(https://github.com/ruby/rdoc/pull/1248)
https://github.com/ruby/rdoc/commit/94b9858000
st0012 (Stan Lo)
09:13 PM Misc #20774: Remove remaining locale dependent code from Windows port
@YO4 This is a good idea! I opened a PR: https://github.com/ruby/ruby/pull/12377
larskanis (Lars Kanis)
12:19 PM Misc #20774: Remove remaining locale dependent code from Windows port
[github PR#11799](https://github.com/ruby/ruby/pull/11799/commits) currently has two patches:
* Windows: Change command line interface to UTF-8
* Windows: Use Unicode aware function to retrieve console inputs
Could the former be spl...
YO4 (Yoshinao Muramatsu)
08:56 PM Revision 408f5368 (git): [ruby/rdoc] `aligns` may include `:center`
(https://github.com/ruby/rdoc/pull/1247)
https://github.com/ruby/rdoc/commit/cbbf04d6f8
soutaro (Soutaro Matsumoto)
08:16 PM Feature #20960 (Third Party's Issue): Support building OpenSSL for Ruby with AWS-LC
Hello,
I’m an engineer at AWS working on [AWS-LC](https://github.com/aws/aws-lc), AWS’s open-source cryptographic library maintained for AWS and their customers. AWS-LC supports CPU-specific performance optimizations for AWS Graviton ...
sachiang (Samuel Chiang)
06:01 PM Revision 9715131c (git): [DOC] Fix example in Numeric#to_int
burdettelamar (Burdette Lamar)
05:32 PM Revision 6bf7a176 (git): YJIT: Load registers on JIT entry to reuse blocks (#12355)
k0kubun (Takashi Kokubun)
05:28 PM Revision 0b2f0342 (git): [rubygems/rubygems] Fix missing `Gem::Uri.redact` on some Ruby 3.1 versions
Our CI did not catch this because it was testing with Ruby 3.1 patch
levels that include a RubyGems version that already has
`Gem::Uri.redact`.
We should make sure the system-rubygems workflow always tests against
the oldest supportted ...
deivid (David Rodríguez)
04:10 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
> But anyway, I was talking specifically about your Bundler example; I didn't see the point of -C in that specific example. Bundler executes right from the start; there's no opportunity for "user code" to change to a different directory,... deivid (David Rodríguez)
04:03 PM Revision 707c6420 (git): Don't reference update frames with VM_FRAME_MAGIC_DUMMY
Frames with VM_FRAME_MAGIC_DUMMY pushed by rb_vm_push_frame_fname have
allocated iseq, so we should not reference update it.
peterzhu2118 (Peter Zhu)
04:03 PM Revision 429b867d (git): Fix autoload_table_compact
The keys are IDs, so we cannot update references on them. peterzhu2118 (Peter Zhu)
04:03 PM Revision 9733304d (git): Assert Ruby object in rb_gc_location
rb_gc_location doesn't check that the object is actually a Ruby object
and only checks if the object looks like a T_MOVED. This may have unexpected
outcomes if the object is not a Ruby object (e.g. a piece of malloc memory
may be corrupt...
peterzhu2118 (Peter Zhu)
03:55 PM Bug #20956 (Closed): Nested alternation pattern matching bug in 3.4.0-rc1
Applied in changeset commit:git|86cf18e01e8be1db6194b7cb27357150998d9056.
----------
[PRISM] Recurse use_deconstructed_cache in Alternation Nodes
This fixes the behavioural difference between Prism and parse.y when
evaluating the follo...
eightbitraptor (Matt V-H)
03:55 PM Revision 50a67820 (git): [DOC] Change arg names from n to count (#12288)
burdettelamar (Burdette Lamar)
03:42 PM Feature #20959 (Assigned): Add a way to get codepage of console.
# Abstract
Add a way to retrieve code pages of console.
On Windows, Encoding.find("locale") returns the console codepage.
To prepare for future changes, specify ```console``` instead of ```locale``` to get the encoding when a consol...
YO4 (Yoshinao Muramatsu)
03:13 PM Revision 86cf18e0 (git): [PRISM] Recurse use_deconstructed_cache in Alternation Nodes
This fixes the behavioural difference between Prism and parse.y when
evaluating the following code
```ruby
1 in [1 | [1]]
```
Fixes [Bug #20956]
eightbitraptor (Matt V-H)
01:17 PM Feature #20205: Enable `frozen_string_literal` by default
I think to be more accurate your script would probably want to check for string literals that will or will not be frozen. kddnewton (Kevin Newton)
08:45 AM Feature #20205: Enable `frozen_string_literal` by default
Note that you don't necessarily need to set `# frozen_string_literal: true` to be compatible.
Lots of code is compatible without the comment just by the virtue of not mutating literals, and some other code is compatible because it set...
byroot (Jean Boussier)
04:14 AM Feature #20205: Enable `frozen_string_literal` by default
I checked the usage of `# frozen-string-literal: true` among the public gems. (@ko1 gave me this idea)
```
Number of gems that have `# frozen-string-literal: true` in all .rb files
among all public gems: 14254 / 175170 (8.14%)...
mame (Yusuke Endoh)
12:32 PM Bug #20958 (Open): fix ENV.keys encoding on windows
[github PR#12368](https://github.com/ruby/ruby/pull/12368)
ENV.keys elements contain UTF-8 byte sequences with locale encoding on Windows.
```
> ruby -v -e "p ENV.keys.last; p ENV.keys.last.encoding; p ENV.keys.last.dup.force_encoding...
YO4 (Yoshinao Muramatsu)
11:25 AM Revision c25dd4ee (git): Win32: Add coroutine for mswin on arm64
nobu (Nobuyoshi Nakada)
11:25 AM Revision e4a4dea2 (git): Win32: Fix the macro for arm64 on mswin
Visual C defines `_M_`-prefixed macros for the target architectures. nobu (Nobuyoshi Nakada)
11:25 AM Revision 5a7a1a4a (git): Win32: Fix `rbimpl_size_mul_overflow` on arm64
`_umul128` is specific to x86_64 platform, see higher words by
`__umulh` on arm64.
nobu (Nobuyoshi Nakada)
11:25 AM Revision 36c36d04 (git): Win32: Allow arm64 platform
nobu (Nobuyoshi Nakada)
09:28 AM Revision 31785523 (git): Update default gems list at a652d8b6807a9b81a4fe9bad519840 [ci skip]
git[bot]
09:28 AM Revision a652d8b6 (git): Launchable: Start recording test-spec in compilers.yaml (#12364)
ono-max (Naoto Ono)
06:56 AM Revision f53399b9 (git): Update bundled gems list at c5c88def57b580b4e7ec259dc21469 [ci skip]
git[bot]
06:55 AM Revision c5c88def (git): Update bundled_gems
hsbt (Hiroshi SHIBATA)
06:48 AM Revision 14b95030 (git): Update default gems list at fc38023d4e4f44ce1d4d7c1e792166 [ci skip]
git[bot]
06:48 AM Revision ce72d144 (git): [ruby/win32ole] Bump up v1.9.1
https://github.com/ruby/win32ole/commit/3e9b3b02e9 hsbt (Hiroshi SHIBATA)
06:47 AM Revision fc38023d (git): [ruby/tmpdir] Bump up v0.3.1
https://github.com/ruby/tmpdir/commit/0245079c24 hsbt (Hiroshi SHIBATA)
05:13 AM Revision 20ce09e0 (git): Move Refinement#refined_class changes to Compatibility issues section
hsbt (Hiroshi SHIBATA)
04:31 AM Revision ef09d2df (git): Added JSON entry
hsbt (Hiroshi SHIBATA)
03:35 AM Revision 9a529024 (git): Added YJIT entries from draft of release announcement
hsbt (Hiroshi SHIBATA)
03:25 AM Revision 9f0b84ee (git): Added changes of RubyGems-3.6.x and Bundler-2.6.x to NEWS.md
hsbt (Hiroshi SHIBATA)
02:58 AM Revision c7a63874 (git): Fix constant documents (#12357)
Delete duplicated `Document-const:` directives
Those directives are attached to `rb_define_const` and `rb_file_const` where we don’t need them because the functions are supported by RDoc.
soutaro (Soutaro Matsumoto)
01:10 AM Revision b6973e4f (git): [Bug #20951] [DOC] UTC offset in `utc_to_local`
nobu (Nobuyoshi Nakada)
12:46 AM Revision 187b8fdb (git): Fix coroutine implementaion on Windows-Arm64
When setjmp/longjmp/exceptions are used on Windows it's necessary to store+restore additional information from the TEB.
I didn't find any official documentation about the values to be saved, but found the corresponding boost/context impl...
larskanis (Lars Kanis)
12:44 AM Revision 11e120df (git): Update default gems list at 047a87bd7a8d24afa36cc6533868dc [ci skip]
git[bot]
12:39 AM Revision 047a87bd (git): Bump Rubygems version to 3.6.0
deivid (David Rodríguez)
12:38 AM Revision 11910b26 (git): Bump Bundler version to 2.6.0
deivid (David Rodríguez)
12:32 AM Revision 535f0746 (git): Fix indent rule by rubygems/bundler cops
hsbt (Hiroshi SHIBATA)
12:22 AM Revision d42fcda0 (git): Bump vendored resolv to 0.6.0
deivid (David Rodríguez)
12:03 AM Bug #20955: Subtle differences with Proc#parameters for anonymous parameters
Thanks. When I mentioned "consistency" I was mostly concerned about getting a parameters array from `Proc#parameters` that I could use to construct an equivalent method signature but this won't be a problem with normal method signatures ... bkuhlmann (Brooke Kuhlmann)

12/16/2024

11:43 PM Revision 2eee7a52 (git): Export __asan_default_options for GCC
Unlike Clang 15, GCC 11 seems require default symbol visibility. alanwu (Alan Wu)
10:28 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
I am in favor of including -C in the argv API along with every other flag that was passed at the command line. The purpose of getting the list of arguments is not solely for relaunching, it is also to be able to reprocess that list and a... headius (Charles Nutter)
09:21 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
deivid (David Rodríguez) wrote in #note-50:
> What if "user code" changed to a different directory before we restart, then `-C` will have a different effect if it's relative.
That's why I don't want `-C` in ruby_args at all. What if ...
Dan0042 (Daniel DeLorme)
08:36 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
But to be honest, I get your point about hearing from realworld use cases of `-C`. I've never seen it used. deivid (David Rodríguez)
08:32 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
> I don't follow the logic here. You would re-run the original command in the original directory, just so that it can change back to the directory specified by -C. What for? Why not just stay in the CWD if you're going to wind up back th... deivid (David Rodríguez)
07:41 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
deivid (David Rodríguez) wrote in #note-48:
> In the case of Bundler, we would use this feature when we detect that a different version of Bundler is running than the one in the `Gemfile.lock` file. In that case, we would do some enviro...
Dan0042 (Daniel DeLorme)
06:47 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
I agree with @Eregon and I believe ideally we would store `-C` in `ruby_args` but also provide a way to access the original working directory. That way people can choose where to re-run the original command.
In the case of Bundler, we...
deivid (David Rodríguez)
10:11 PM Revision 2102fe32 (git): Detect ASAN when using older GCC versions
Newer GCCs have __has_feature and older ones have
__SANITIZE_ADDRESS__[1]. Relevant since ASAN with GCC 11 on the popular
Ubuntu Jammy failed to build previously.
[1]: https://gcc.gnu.org/onlinedocs/gcc-4.8.0/cpp/Common-Predefined-Macro...
alanwu (Alan Wu)
09:53 PM Revision 0a99daa3 (git): Update bundled gems list as of 2024-12-16
git[bot]
09:44 PM Revision b72e8ab8 (git): Add back summary table for pack/unpack directives (#12349)
* Add back summary table for pack/unpack directives
* This concise summary is very helpful e.g. to find the right Integer
directive, and is much better at getting an overview than very long text.
* From https://github.com/ruby/ruby/pul...
Eregon (Benoit Daloze)
09:43 PM Bug #20956: Nested alternation pattern matching bug in 3.4.0-rc1
This does appear to be an issue in `prism_compile.c`
Golfed down to
```ruby
1 in [1 | [1]]
```
The instructions generated by Prism and parse.y are pretty significantly different, and appears to be related to nesting an `Alter...
eightbitraptor (Matt V-H)
09:41 PM Revision 09dc6352 (git): Bundle repl_type_completor 0.1.9
tompng (tomoya ishida)
09:00 PM Revision 5ff1c479 (git): Sync net-http commits
https://github.com/ruby/net-http/commit/9bcf818fd009eafb11107c7457aa56d533d16d94
https://github.com/ruby/net-http/commit/5e34e74261f40f4f10c93d7700761c437117f494
Stan Lo
07:55 PM Revision cf711863 (git): Exclude irb from documentation generation
- IRB has its own documentation in the project readme and https://ruby.github.io/irb/ already.
- As a tool, its internal implementation details are not relevant to the user.
- Excluding it from the documentation generation reduces the si...
Stan Lo
07:51 PM Revision 29d3ea1e (git): [rubygems/rubygems] Fix `bundle lock --add-checksums` when gems are already installed
https://github.com/rubygems/rubygems/commit/a087c452ad deivid (David Rodríguez)
07:42 PM Bug #20955: Subtle differences with Proc#parameters for anonymous parameters
> but this behavior would be nice (again, thinking in terms of consistency):
```ruby
proc { |_1| }.parameters # _1 is reserved for numbered parameter (SyntaxError)
proc { |it| }.parameters # it is a reserved block parameter (Synta...
zverok (Victor Shepelev)
05:13 PM Bug #20955: Subtle differences with Proc#parameters for anonymous parameters
@zverok Makes sense...but this behavior would be nice (again, thinking in terms of consistency):
``` ruby
proc { |_1| }.parameters # _1 is reserved for numbered parameter (SyntaxError)
proc { |it| }.parameters # it is a reserved b...
bkuhlmann (Brooke Kuhlmann)
03:24 PM Bug #20955: Subtle differences with Proc#parameters for anonymous parameters
@bkuhlmann The only possible reason is not to confuse with this:
```ruby
proc { |it| }.parameters # the parameter is literally named "it"
```
I am not sure it matters much, but maybe in somebody’s metaprogramming... I don’t remembe...
zverok (Victor Shepelev)
03:18 PM Bug #20955: Subtle differences with Proc#parameters for anonymous parameters
Good catch. I would expect the following behavor:
```
proc { it }.parameters #=> [[:opt, :it]]
lambda { it }.parameters #=> [[:req, :it]]
```
This would be consistent with existing behavior as shown with the `x` and `_1` va...
bkuhlmann (Brooke Kuhlmann)
07:35 PM Revision a6fd6cb7 (git): [ruby/rdoc] Print warnings for rdoc-ref links that can't be resolved
(https://github.com/ruby/rdoc/pull/1241)
https://github.com/ruby/rdoc/commit/4a5206ae56
st0012 (Stan Lo)
06:32 PM Revision 80b8feb9 (git): Don't directly use rb_gc_impl_location in gc.c
Use the wrapper gc_location_internal instead that checks for special
constants.
peterzhu2118 (Peter Zhu)
06:32 PM Revision d28368d2 (git): Move special constant check in rb_gc_location to gc.c
peterzhu2118 (Peter Zhu)
06:09 PM Revision d0968b1b (git): [rubygems/rubygems] Fix `gem info` tagging some non default gems as default
https://github.com/rubygems/rubygems/commit/7585825c57 deivid (David Rodríguez)
06:09 PM Revision c4d35040 (git): [rubygems/rubygems] Improve indentation of a `gem info` test
https://github.com/rubygems/rubygems/commit/b0a092dac3 deivid (David Rodríguez)
05:24 PM Revision 516a6cd1 (git): Check whether object is valid in allocation_info_tracer_compact
When reference updating ObjectSpace.trace_object_allocations, we need to
check whether the object is valid or not because it does not mark the
object so the object may be dead. This can cause a segmentation fault
if the object is on a fr...
peterzhu2118 (Peter Zhu)
05:11 PM Revision 960f971a (git): Update default gems list at 9b3831e90831b8410040f4c064abfc [ci skip]
git[bot]
05:10 PM Revision 9b3831e9 (git): [ruby/reline] Bump version to 0.6.0
(https://github.com/ruby/reline/pull/795)
https://github.com/ruby/reline/commit/e0850cd5ba
ima1zumi (Mari Imaizumi)
03:52 PM Revision b0ca6a69 (git): Update default gems list at db78ab5ed278e0e3e73fe9142d1541 [ci skip]
git[bot]
03:51 PM Bug #20785 (Closed): Should `a in b, and c` `a in b, or c` `a in b, rescue c` be syntax ok?
Applied in changeset commit:git|f6e0a037aa21bd90830cecc397c16918890d76a2.
----------
[ruby/prism] [Bug #20785] Allow `, and` and `, or` after patterns
Partially: https://bugs.ruby-lang.org/issues/20785
https://github.com/ruby/prism/c...
ydah (Yudai Takada)
03:51 PM Revision db78ab5e (git): [ruby/prism] Update src/prism.c
https://github.com/ruby/prism/commit/544df5835f kddnewton (Kevin Newton)
03:51 PM Revision f6e0a037 (git): [ruby/prism] [Bug #20785] Allow `, and` and `, or` after patterns
Partially: https://bugs.ruby-lang.org/issues/20785
https://github.com/ruby/prism/commit/71c9102d02
ydah (Yudai Takada)
03:51 PM Revision 0dc35f0d (git): [ruby/prism] Ignore newlines in labelled lambda arguments
https://github.com/ruby/prism/commit/4ce6bcf182 Haldun Bayhantopcu
03:51 PM Revision a2123757 (git): [ruby/prism] Fix 3112 - disallow commas after block arg
Prism was already disallowing arguments after block args, but in
parse.y, any comma after a block arg is a syntax error. This moves the
error handling into `PM_TOKEN_UAMPERSAND` where we can check if the
current type is `PM_TOKEN_COMMA`t...
eileencodes (Eileen Uchitelle)
03:51 PM Revision 8eaa976c (git): [ruby/prism] Fix up regression in ruby parser translation
https://github.com/ruby/prism/commit/b283a72c88 kddnewton (Kevin Newton)
03:51 PM Revision 2ab1b07b (git): [ruby/prism] Simplify srange_find in parser compiler
https://github.com/ruby/prism/commit/34efacc618 kddnewton (Kevin Newton)
03:51 PM Revision cc967a47 (git): [ruby/prism] Add do keyword tracking for While/Until
https://github.com/ruby/prism/commit/9686897290 kddnewton (Kevin Newton)
03:51 PM Revision 737d6741 (git): [ruby/prism] Bump to v1.2.0
https://github.com/ruby/prism/commit/817a8e39d9 kddnewton (Kevin Newton)
03:51 PM Revision 4931220c (git): [ruby/prism] Bump to v1.1.0
https://github.com/ruby/prism/commit/f80026883d kddnewton (Kevin Newton)
03:12 PM Revision 15765eac (git): Fix ObjectSpace.trace_object_allocations for compaction
We need to reinsert into the ST table when an object moves because it is
a numtable that hashes on the object address, so when an object moves we
need to reinsert it rather than just updating the key.
peterzhu2118 (Peter Zhu)
03:12 PM Revision b0385305 (git): Fix compaction check for ObjectSpace.trace_object_allocations
We should be checking for key for moved objects rather than the value
because the key is a Ruby object and the value is malloc'd memory.
peterzhu2118 (Peter Zhu)
03:00 PM Revision 39d0ebb6 (git): [ruby/prism] Blocks & kwargs are not valid in index assignments
Ruby feature: https://bugs.ruby-lang.org/issues/20952
https://github.com/ruby/prism/commit/e612df5f36
eightbitraptor (Matt V-H)
02:55 PM Revision a46fe5c8 (git): [ruby/rdoc] Fix to parse `rb_define_global_const`
https://github.com/ruby/ruby/pull/12357
https://github.com/ruby/rdoc/commit/458ecbb7f7
nobu (Nobuyoshi Nakada)
01:53 PM Revision 4428c51f (git): [ruby/reline] Change quoted_insert and bracketed_paste to a single
key input
(https://github.com/ruby/reline/pull/792)
https://github.com/ruby/reline/commit/8f331edb07
tompng (tomoya ishida)
12:50 PM Revision 3c9f3c3e (git): Update default gems list at 9e7e938ed9feffeefd08c88f446bbd [ci skip]
git[bot]
12:49 PM Revision 9e7e938e (git): [ruby/rdoc] Bump version to v6.9.1
https://github.com/ruby/rdoc/commit/7cd125e2f0 Stan Lo
11:54 AM Revision 946c823d (git): Freeze `Random::Formatter::ALPHANUMERIC` and its elements
nobu (Nobuyoshi Nakada)
11:52 AM Feature #20953: Array#fetch_values vs #values_at protocols
> Do we have a lot of those, and what’s the reasoning/use cases behind this?
Things like `#dig`, so that you can traverse a tree of mixed Hash/Array with some sort of "path" argument.
Either way, I see pros and cons to both behavi...
byroot (Jean Boussier)
09:23 AM Feature #20953: Array#fetch_values vs #values_at protocols
> `Array#fetch_values` is modeled after `Hash#fetch_values`, not `Array#values_at`.
But in Hash, `#values_at` and `#fetch_values` have exactly the same protocol (they accept the list of keys), and can be substituted by each other.
...
zverok (Victor Shepelev)
11:32 AM Revision 784bd9c4 (git): [ruby/rdoc] Add attribute :force to RDoc::RubygemsHook just like
RDoc::RubyGemsHook
(https://github.com/ruby/rdoc/pull/1244)
Rubygems creates an instance of RDoc::RubygemsHook, sets `doc.force = overwrite`, then calls `doc.generate` the document.
RDoc::RubygemsHook needs attribute `:force` just like ...
tompng (tomoya ishida)
10:28 AM Revision a3991599 (git): [ruby/tmpdir] Move private constants under `Dir::Tmpname` module
Including `TMPDIR_CANDIDATES` extracted from `Dir.tmpdir` invariant.
https://github.com/ruby/tmpdir/commit/d219ee273f
nobu (Nobuyoshi Nakada)
10:13 AM Revision 0769a48a (git): [ruby/tmpdir] Tell if the block is given by block argument
https://github.com/ruby/tmpdir/commit/6e97a96d3b nobu (Nobuyoshi Nakada)
09:41 AM Feature #20893 (Closed): random/formatter.rb: Separate from securerandom
I removed `Random::Formatter` from `SecureRandom` gem at version 0.4.x.
* https://github.com/ruby/securerandom/releases/tag/v0.4.0
* https://github.com/ruby/securerandom/releases/tag/v0.4.1
hsbt (Hiroshi SHIBATA)
09:40 AM Revision bf0f3239 (git): [ruby/tmpdir] Fix for path-like objects
Fix https://github.com/ruby/tmpdir/pull/37
https://github.com/ruby/tmpdir/commit/a8ceafae7d
nobu (Nobuyoshi Nakada)
07:57 AM Revision eef4e8a2 (git): [DOC] Add Warning[:strict_unused_block] to NEWS
kyanagi (Kouhei Yanagita)
07:38 AM Bug #20954 (Closed): Ractor.main? returns 0 on the main ractor
Applied in changeset commit:git|5d97c14fec90b96f82d13299f578d16ee9996b3f.
----------
FIx Ractor.main? to return `true` not `0`
[Bug #20954]
byroot (Jean Boussier)
07:37 AM Revision 5d97c14f (git): FIx Ractor.main? to return `true` not `0`
[Bug #20954] byroot (Jean Boussier)
07:27 AM Revision 923f8318 (git): Suppress -Wsuggest-attribute=format
k0kubun (Takashi Kokubun)
05:44 AM Revision 7c2660b3 (git): Update default gems list at 89d3b724885b5e443fa33eb8269d32 [ci skip]
git[bot]
05:43 AM Revision 89d3b724 (git): [ruby/securerandom] Bump up v0.4.1
https://github.com/ruby/securerandom/commit/65fb8ddcc3 hsbt (Hiroshi SHIBATA)
05:35 AM Revision 7923e420 (git): [ruby/securerandom] Only define compatible method in < Ruby 3.3
https://github.com/ruby/securerandom/commit/2c8cdfba7b hsbt (Hiroshi SHIBATA)
05:35 AM Revision 3a4433dd (git): [ruby/securerandom] Restore SecureRandom.alphanumeric same as Random::Formatter.alphanumeric of Ruby 3.3/3.4
Fixes https://github.com/ruby/securerandom/pull/35
https://github.com/ruby/securerandom/commit/fbb36e36cc
hsbt (Hiroshi SHIBATA)
04:01 AM Revision 5e838197 (git): [ruby/psych] Don't autolink Exception in psych module docs
https://docs.ruby-lang.org/en/master/Psych.html#module-Psych-label-Exception+handling
https://github.com/ruby/psych/commit/c53c298222
zzak (zzak _)
03:54 AM Revision 7a0f70e3 (git): Update default gems list at 2f315667eb11c80793912e944abfa8 [ci skip]
git[bot]
03:53 AM Revision 2f315667 (git): [ruby/timeout] Bump up v0.4.3
https://github.com/ruby/timeout/commit/607d8c6fbe hsbt (Hiroshi SHIBATA)
03:32 AM Revision fdd7b369 (git): Update default gems list at 379128dcbf19c0777333b8c1a86bf5 [ci skip]
git[bot]
03:31 AM Revision 379128dc (git): [ruby/digest] Bump up v3.2.0
https://github.com/ruby/digest/commit/26c757fe9a hsbt (Hiroshi SHIBATA)
02:05 AM Bug #20957 (Open): RangeError on Array#values_at with negative ranges
```
[0, 1, 2, 3].values_at(10) #=> [nil]
[0, 1, 2, 3].values_at(10..10) #=> [nil]
[0, 1, 2, 3].values_at(-10) #=> [nil]
[0, 1, 2, 3].values_at(-10..-10) #=> 'Array#values_at': -10..-10 out of range (RangeError)
```
I...
kyanagi (Kouhei Yanagita)
01:23 AM Revision 2aaed7d2 (git): Update default gems list at 939c92e8dc9bd86442957b620a517b [ci skip]
git[bot]
01:22 AM Revision 939c92e8 (git): Lock released version of fiddle-1.1.6
hsbt (Hiroshi SHIBATA)
01:22 AM Revision 7c260bd4 (git): [ruby/fiddle] ffi_backend: convert numeric function args to pointers
(https://github.com/ruby/fiddle/pull/162)
This allows for passing integers as pointer arguments to functions when
using the FFI backend. This is a workaround until we can get JRuby's FFI
implementation to allow for it directly (see also...
Dani Smith
01:11 AM Revision cce7cffb (git): Update default gems list at 41e24c2f3e9a5ff29cccbfe92ecf4d [ci skip]
git[bot]
01:10 AM Revision 41e24c2f (git): [ruby/strscan] [DOC] Add syntax highlighting to MarkDown code blocks
(https://github.com/ruby/strscan/pull/126)
Split off from https://github.com/ruby/ruby/pull/12322
https://github.com/ruby/strscan/commit/9bee37e0f5
Alexander Momchilov
01:10 AM Revision 219c2eee (git): [ruby/strscan] Bump version
https://github.com/ruby/strscan/commit/fd140b8582 Sutou Kouhei
01:07 AM Revision 9389a27e (git): [DOC] Fix broken parameter display and see links for Socket
nvh0412 (Hoa Nguyen)
12:34 AM Revision a0db65df (git): Rollback repl_type_completor-0.1.7 because the test of 0.1.8 is failing with Ruby master
https://github.com/ruby/ruby/actions/runs/12343218221/job/34443981066?pr=12351#step:14:456 hsbt (Hiroshi SHIBATA)
12:34 AM Revision f2739fd2 (git): Update bundled_gems
hsbt (Hiroshi SHIBATA)

12/15/2024

11:33 PM Bug #20954: Ractor.main? returns 0 on the main ractor
https://github.com/ruby/ruby/pull/12352 byroot (Jean Boussier)
06:18 PM Bug #20954 (Closed): Ractor.main? returns 0 on the main ractor
Very minor (as the value is still truthy) but slightly confusing.
```ruby
Ractor.main? #=> 0
```
```
$ ruby -v
ruby 3.4.0dev (2024-12-15T13:36:38Z master 366fd9642f) +PRISM [x86_64-linux]
```
zverok (Victor Shepelev)
11:29 PM Feature #20953: Array#fetch_values vs #values_at protocols
`Array#fetch_values` is modeled after `Hash#fetch_values`, not `Array#values_at`.
Since Array "keys" can only possibly be integers, it makes sense for a method that is specific to Array to cast the arguments this way.
But for the m...
byroot (Jean Boussier)
04:32 PM Feature #20953 (Assigned): Array#fetch_values vs #values_at protocols
I believe that the user might expect `#fetch_values` to be a stricter version of `#values_at`, confirming to the same protocol for arguments.
But the current implementation for `#fetch_values` is simpler:
```ruby
[1, 2, 3, 4, 5].va...
zverok (Victor Shepelev)
10:37 PM Bug #20956: Nested alternation pattern matching bug in 3.4.0-rc1
This would appear to be a bug in prism, or prism-adjacent code?
```console
$ ruby -e 'pp ([["foo"]] in [/\Afoo\b/i | [/\Afoo\z/i, *]])'
false
$ ruby --parser=parse.y -e 'pp ([["foo"]] in [/\Afoo\b/i | [/\Afoo\z/i, *]])'
true
```
nevans (Nicholas Evans)
10:30 PM Bug #20956 (Closed): Nested alternation pattern matching bug in 3.4.0-rc1
I think I've found a pattern matching bug in ruby 3.4.0-rc1.
```ruby
[123, ["foo"]] in [_, /\Afoo\b/i | [/\Afoo\z/i, *]]
```
I also tested this in ruby 2.7.8, with:
```ruby
case [123, ["foo"]]; in [_, /\Afoo\b/i | [/\Afoo\z/i, *]...
nevans (Nicholas Evans)
07:53 PM Revision 1ac28224 (git): [DOC] Adjust argument unpacking docs and document **nil (#12228)
[DOC] Rewrite argument unpacking docs and document **nil zverok (Victor Shepelev)
07:53 PM Bug #20955 (Closed): Subtle differences with Proc#parameters for anonymous parameters
```ruby
p proc { |x| }.parameters #=> [[:opt, :x]]
p lambda { |x| }.parameters #=> [[:req, :x]]
p proc { _1 }.parameters #=> [[:opt, :_1]]
p lambda { _1 }.parameters #=> [[:req, :_1]]
p proc { it }.parameters #=> [[:opt, ni...
zverok (Victor Shepelev)
06:46 PM Revision 16b84b72 (git): [rubygems/rubygems] Fix broken link to license file
https://github.com/rubygems/rubygems/commit/76cb4aad70 Stan Lo
01:36 PM Revision 366fd964 (git): [ruby/rdoc] Hide hamburger on desktop
(https://github.com/ruby/rdoc/pull/1237)
* Clean up the duplicate definitions and unnecessary print styling
* Hides the navigation toggle when there's enough room to always display the navigation
* Update lib/rdoc/generator/template/d...
James Reid-Smith
01:24 PM Revision f9dc41b6 (git): [ruby/rdoc] Fix iPad Pro navigation not shown
(https://github.com/ruby/rdoc/pull/1236)
Found this issue when I was debugging the navigation toggle. I noticed
it first in the chrome dev tools, but it was also reproducible on
an iPad Pro.
Symptom:
- On iPad Pro, the navigation secti...
James Reid-Smith
01:04 PM Bug #20951: Confusing handling of timezone object's `#utc_to_local` results
Thank you!
I've spotted the difference in the examples above. In my example the `utc_to_local`'s argument is converted to UTC (`time = Time.now.utc`) and in your example it's in the `"Europe/Kiev"` timezone.
I made assumption that t...
andrykonchin (Andrew Konchin)
08:02 AM Bug #20951: Confusing handling of timezone object's `#utc_to_local` results
Moved to Bug to back port the documentation update. nobu (Nobuyoshi Nakada)
11:50 AM Revision 2c57b87c (git): [ruby/reline] Refactor Reline::Unicode ed_ vi_ em_ methods
(https://github.com/ruby/reline/pull/720)
* Refactor Reline::Unicode vi_ ed_ em_ methods
* Make Reline::Unicode's vi_ ed_ em_ method encoding safe
https://github.com/ruby/reline/commit/cdd7288978
tompng (tomoya ishida)
09:33 AM Bug #20924: IO#readline ignores the limit argument when the encoding is UTF-32LE and the limit would split a character
ruby_3_2 commit:3110d5c8abf8f710de42989fbc35870287a12f75 merged revision(s) commit:e90b447655dd39ad1eb645cdaae450efd605db00. nagachika (Tomoyuki Chikanaga)
08:15 AM Bug #20940 (Closed): Colored syntax error from prism
Applied in changeset commit:git|5c372969ad65a5b5a329cc591daac7030a2eccc5.
----------
[Bug #20940] [PRISM] Support NO_COLOR
Also use bold/faint SGR when possible.
nobu (Nobuyoshi Nakada)
08:15 AM Revision 5c372969 (git): [Bug #20940] [PRISM] Support NO_COLOR
Also use bold/faint SGR when possible. nobu (Nobuyoshi Nakada)
07:57 AM Revision 96645819 (git): [Bug #20951] [DOC] About UTC offset calculation after `utc_to_local`
nobu (Nobuyoshi Nakada)
07:56 AM Revision a2e41004 (git): [DOC] Sort the NEWS entries alphabetically
nobu (Nobuyoshi Nakada)
07:55 AM Bug #20927 (Closed): `{ **{ } }` behaves differently when `shareable_constant_value: experimental_everything`
Applied in changeset commit:git|e06b3b5ad1f6453ebebc5d9a54d82e3bb2ab116f.
----------
[Bug #20927] Fix compile_shareable_literal_constant for hash with keyword splat
Compilation of NODE_HASH in compile_shareable_literal_constant does no...
tompng (tomoya ishida)
07:55 AM Revision e06b3b5a (git): [Bug #20927] Fix compile_shareable_literal_constant for hash with keyword splat
Compilation of NODE_HASH in compile_shareable_literal_constant does not support hash that contains keyword splat.
If there is a keyword splat, fallback to default case.
tompng (tomoya ishida)
07:18 AM Revision 3110d5c8 (git): merge revision(s) e90b447655dd39ad1eb645cdaae450efd605db00: [Backport #20924]
[Bug #20924] Fix reading with delimiter in wide character encodings nagachika (Tomoyuki Chikanaga)
07:15 AM Bug #20921: Use-after-free in constant cache
ruby_3_2 commit:d78e1a413333bae4e70e662ac7eceb378b2a5369 merged revision(s) commit:f65a6c090c229de1665af49f2e51fc1d6397ab72. nagachika (Tomoyuki Chikanaga)
07:14 AM Bug #20915: Segfault with `TracePoint#parameters` and aliased C method
ruby_3_2 commit:303a83d35c485db626c57415b344fdd4a8d0d5e5 merged revision(s) commit:660b995365f719fa59ed6f2809bb1527e6470d14. nagachika (Tomoyuki Chikanaga)
07:14 AM Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
Thank you for your notice. The changeset was backpoeted into ruby_3_2 too. nagachika (Tomoyuki Chikanaga)
07:13 AM Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
ruby_3_2 commit:59254caff0f39c87370d0c11793e3aae5c38d6e1 merged revision(s) commit:055613fd868a8c94e43893f8c58a00cdd2a81f6d. nagachika (Tomoyuki Chikanaga)
06:36 AM Revision 730731cc (git): Fix links to syntax/literals.rdoc
Stan Lo
06:36 AM Revision e9926afb (git): Fix broken links to `Socket.tcp_fast_fallback=`
Since it's a singleton method, it should be referenced as `Socket.tcp_fast_fallback=`,
not `Socket#tcp_fast_fallback=`.
Stan Lo
06:31 AM Revision 59254caf (git): merge revision(s) 055613fd868a8c94e43893f8c58a00cdd2a81f6d: [Backport #20447]
Fix pointer incompatiblity
Since the subsecond part is discarded, WIDEVAL to VALUE conversion is
needed.
nagachika (Tomoyuki Chikanaga)
06:30 AM Revision e08e168a (git): Add date to doc/.document
Otherwise, dozens of links to date/calendars.rdoc will still be broken
after https://github.com/ruby/date/pull/113
Stan Lo
06:28 AM Revision 303a83d3 (git): merge revision(s) 660b995365f719fa59ed6f2809bb1527e6470d14: [Backport #20915]
[Bug #20915] Fix SEGV with `TracePoint#parameters` and aliased C method
The following snippet results with a SEGV:
```ruby
C = Class.new do
alias_method :new_to_s, :to_s
end
TracePoint...
nagachika (Tomoyuki Chikanaga)
06:26 AM Revision d78e1a41 (git): merge revision(s) f65a6c090c229de1665af49f2e51fc1d6397ab72: [Backport #20921]
Fix use-after-free in constant cache
[Bug #20921]
When we create a cache entry for a constant, the following sequence of
events could happen:
- vm_track_constant_cache is called to insert a constant cac...
nagachika (Tomoyuki Chikanaga)
06:20 AM Revision 6d00dee3 (git): [ruby/date] Fix broken rdoc-ref to the calendar page
https://github.com/ruby/date/commit/cb52e64be1 Stan Lo
12:51 AM Revision 9486f46a (git): Update NEWS.md for `Socket.tcp` and `TCPSocket.new` (#12347)
Misaki Shioi

12/14/2024

11:39 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
I'm in favor of not storing `-C` in ruby_args. In general, `-C` is mutually exclusive with the program doing its own `Dir.chdir`. Either the program changes its working directory to "x", or if it doesn't then you'd use `-C x` as a workar... Dan0042 (Daniel DeLorme)
10:40 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
nobu (Nobuyoshi Nakada) wrote in #note-45:
> Removed or renamed.
> ...
But current directory might have changed e.g. by `Dir.chdir`, so using `Dir.pwd` (explicitly or implicitly) is no good, it's the same as ARGV vs "original ARGV".
F...
Eregon (Benoit Daloze)
10:48 PM Bug #20948: Constant references incorrectly cached in `module (expr)::Foo`
There used to be a similar bug a while ago and IIRC some specs were added, @ko1 maybe you remember it and could link that ticket here?
I think it was constants inside `class << expr` though, not inside `module expr::Foo`.
(FWIW, it's a...
Eregon (Benoit Daloze)
07:37 PM Revision 593b90a6 (git): [ruby/irb] Fix broken rdoc-ref caused by a typo
(https://github.com/ruby/irb/pull/1049)
https://github.com/ruby/irb/commit/cdc88fe87f
st0012 (Stan Lo)
12:12 PM Revision 792275e5 (git): [ruby/rdoc] Fix dead links in the markup reference page
(https://github.com/ruby/rdoc/pull/1242)
https://github.com/ruby/rdoc/commit/d1cb9dc3c4
st0012 (Stan Lo)
09:42 AM Bug #20951 (Feedback): Confusing handling of timezone object's `#utc_to_local` results
andrykonchin (Andrew Konchin) wrote:
> I am looking into the timezone object feature (that is supported by various Time class methods) now and I am confused by the current implementation. Specifically, how a time-like object **that is n...
nobu (Nobuyoshi Nakada)
09:01 AM Revision 70f5c62a (git): Extract `NUM2WV` macro
nobu (Nobuyoshi Nakada)
06:52 AM Feature #20935 (Closed): API for Globally Enabling/Disabling Happy Eyeballs Version 2 in the Socket Class
New environment variables added in this PR https://github.com/ruby/ruby/pull/12257 . shioimm (Misaki Shioi)
06:51 AM Revision 9f924e2f (git): Improve APIs for Globally Enabling/Disabling fast_fallback in Socket (#12257)
This change includes the following updates:
- Added an environment variable `RUBY_TCP_NO_FAST_FALLBACK` to control enabling/disabling fast_fallback
- Updated documentation and man pages
- Revised the implementation of Socket.tcp_fast_fal...
Misaki Shioi
05:29 AM Feature #20882 (Rejected): Provide Boolean(...)
I don't think it works well in the Ruby ecosystem. Rejected (as previous proposals).
Matz.
matz (Yukihiro Matsumoto)
01:19 AM Revision 77016a7b (git): [DOC] Fix grammar errors, typos, and improve readability of string.rb
Because this file's comments have one extra space after the `#` sign,
almost every line is updated. IMO, it's better to address this issue
in one go.
Co-authored-by: Jeremy Evans <[email protected]>
st0012 (Stan Lo)

12/13/2024

11:09 PM Revision 211857f4 (git): Fix incorrect rdoc-ref links in array.rb
Stan Lo
10:02 PM Bug #20952 (Closed): A weird error message for []= with keyword arguments
Applied in changeset commit:git|b37777c36f6cb27d55f4fe44a95b3c970fbf9848.
----------
[PRISM] Blocks are also a syntax error in array assignment
Actually close [Bug #20952]
eightbitraptor (Matt V-H)
09:24 PM Bug #20952 (Open): A weird error message for []= with keyword arguments
Re-Opening this in light of @jeremyevans0 comment about blocks
I merged the PR that addresses the kwargs issue at the same time as that comment was made.
eightbitraptor (Matt V-H)
09:23 PM Bug #20952 (Closed): A weird error message for []= with keyword arguments
Applied in changeset commit:git|e1946657205fb14583dd3020d60c5236a11fdd9b.
----------
[PRISM] using []= to set kwargs is a syntax error
Fixes [Bug #20952]
eightbitraptor (Matt V-H)
08:53 PM Bug #20952: A weird error message for []= with keyword arguments
Same is true for block arguments:
```
$ ruby34 -c -e "matrix[5, &block] = 8"
Syntax OK
$ ruby34 --parser=parse.y -c -e "matrix[5, &block] = 8"
-e:1: block arg given in index assignment
matrix[5, &block] = 8
ruby34: compile ...
jeremyevans0 (Jeremy Evans)
08:01 PM Bug #20952: A weird error message for []= with keyword arguments
This is a bug in prism. The expected behavior is parse.y's behavior of raising a syntax error:
```
$ ruby34 -c -e "matrix[5, axis: :y] = 8"
Syntax OK
$ ruby34 --parser=parse.y -c -e "matrix[5, axis: :y] = 8"
-...
jeremyevans0 (Jeremy Evans)
07:47 PM Bug #20952 (Closed): A weird error message for []= with keyword arguments
Trying to document the new deprecation of `#[]=` with keyword arguments, I wrote this sample code:
```ruby
class MyMatrix
# ...some implementation
def []=(*args, **kwargs)
p(args:, kwargs:)
# ...some implementation
...
zverok (Victor Shepelev)
10:02 PM Revision b37777c3 (git): [PRISM] Blocks are also a syntax error in array assignment
Actually close [Bug #20952] eightbitraptor (Matt V-H)
09:57 PM Bug #20638 (Closed): Threads not collected by GC under RUBY_MN_THREADS=1
Applied in changeset commit:git|1cf32b2d7f2bb0dafce6108ecfc496491b19ad8a.
----------
Fix threads stuck as zombie under M:N
In this case thread_sched_switch0 never returns, so we would never
end up setting finished to true.
Fixes [Bug ...
jhawthorn (John Hawthorn)
09:57 PM Revision 1cf32b2d (git): Fix threads stuck as zombie under M:N
In this case thread_sched_switch0 never returns, so we would never
end up setting finished to true.
Fixes [Bug #20638]
jhawthorn (John Hawthorn)
09:22 PM Revision e1946657 (git): [PRISM] using []= to set kwargs is a syntax error
Fixes [Bug #20952] eightbitraptor (Matt V-H)
07:25 PM Revision 880a90cf (git): [DOC] [Feature #20205] Document the new power of String#+@
alanwu (Alan Wu)
07:25 PM Revision c3b06792 (git): [DOC] NEWS: Mention String#+@ change with chilled string
From experience, a not insignificant number of people run into this when
trying upgrade. Also it's good to bring up `+@` because it's relevant in
general to the topic.
[Feature #20205]
alanwu (Alan Wu)
07:21 PM Revision ba304ec0 (git): [DOC] NEWS: Drop code quotes to get RDoc crossref
But leave constants alone because of
https://github.com/ruby/rdoc/issues/1011
alanwu (Alan Wu)
07:21 PM Revision 5ed1dac2 (git): [DOC] Have RDoc pick up Fiber::Scheduler#blocking_operation_wait
... and list it. alanwu (Alan Wu)
06:27 PM Revision 89c8d648 (git): [DOC] Improve array.rb documentation (#12340)
* Fix grammar errors, typos, and improve readability of array.rb
* [DOC] Remove an extra space
---------
Co-authored-by: Takashi Kokubun <[email protected]>
Alex Rocha
06:25 PM Revision a5f3a013 (git): [DOC] Fix incorrect `Array#fetch_values` examples (#12337)
[DOC] Fix incorrect Array#fetch_values examples kyanagi (Kouhei Yanagita)
05:14 PM Bug #20951 (Closed): Confusing handling of timezone object's `#utc_to_local` results
I am looking into the timezone object feature (that is supported by various Time class methods) now and I am confused by the current implementation. Specifically, how a time-like object **that is not inherited from the Time class** is ha... andrykonchin (Andrew Konchin)
05:08 PM Revision 562b9fc5 (git): [ruby/irb] Avoid generating documentation pages for internal
components
(https://github.com/ruby/irb/pull/1047)
https://github.com/ruby/irb/commit/f57025a35e
st0012 (Stan Lo)
04:14 PM Revision 682d2a0c (git): Update default gems list at 598c6cfe80242e4392338881f46bf7 [ci skip]
git[bot]
04:13 PM Revision 598c6cfe (git): [ruby/rdoc] Bump version to v6.9.0
https://github.com/ruby/rdoc/commit/dba9474732 Stan Lo
03:58 PM Bug #20939: When using the parse.y parser, it occurs argument stack underflow (-1) if there is processing after the shareable_constant_value: experimental_everything comment and `C = { **{ k: v } }`
I think the cause is same as https://bugs.ruby-lang.org/issues/20927 tompng (tomoya ishida)
03:51 PM Bug #20927: `{ **{ } }` behaves differently when `shareable_constant_value: experimental_everything`
Pull request: https://github.com/ruby/ruby/pull/12338 tompng (tomoya ishida)
03:41 PM Revision f3a11760 (git): YJIT: Speculate block arg for `c_func_method(&nil)` calls (#12326)
A good amount of call sites always pass nil as block argument, but the
nil doesn't show up in the context. Put a runtime guard for those
cases to handle it. Particular relevant for the `ruby-lsp` benchmark in
`yjit-bench`. Up to a 2% spe...
alanwu (Alan Wu)
03:10 PM Bug #20950 (Closed): Use-after-free in ep in Proc#dup for ifunc procs
Applied in changeset commit:git|92dd9734a967c20e628c8f77c5ce700058dcd58c.
----------
Fix use-after-free in ep in Proc#dup for ifunc procs
[Bug #20950]
ifunc proc has the ep allocated in the cfunc_proc_t which is the data of
the TypedD...
peterzhu2118 (Peter Zhu)
03:10 PM Revision 92dd9734 (git): Fix use-after-free in ep in Proc#dup for ifunc procs
[Bug #20950]
ifunc proc has the ep allocated in the cfunc_proc_t which is the data of
the TypedData object. If an ifunc proc is duplicated, the ep points to
the ep of the source object. If the source object is freed, then the ep
of the ...
peterzhu2118 (Peter Zhu)
02:23 PM Revision 6cde41bc (git): [rubygems/rubygems] Fix restarting with locked version when $PROGRAM_NAME has been changed
Use Process.argv0 instead of $PROGRAM_NAME because $PROGRAM_NAME is
liable to be changed but Process.argv0 is not.
https://github.com/rubygems/rubygems/commit/43b747dc9e
Camden Narzt
11:14 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
> I think I understood what you meant. From what I remember, compaction should exclude objects pinned by rb_gc_mark() or referenced from the machine stack.
You are correct.
> ...
I don't think many of these could really be eluded, ...
byroot (Jean Boussier)
11:01 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
byroot (Jean Boussier) wrote in #note-19:
> First that a lot more complicated than just working with a raw malloced buffer, you need some pretty good knowledge of Ruby inner workings not to make a mistake. For example, you could save so...
rhenium (Kazuki Yamaguchi)
10:19 AM Revision 3cb79d40 (git): Bundle typeprof 0.30.0
mame (Yusuke Endoh)
09:27 AM Revision c3a1f240 (git): Add a note about `Symbol#to_s` returning a chilled string in NEWS
byroot (Jean Boussier)
09:27 AM Revision 4702143a (git): Update NEWS.md with Time#xmlschema, Array#fetch_values and String#append_as_bytes
byroot (Jean Boussier)
08:05 AM Revision e09c2343 (git): followup 0bdb38ba6be208064a514c12a9b80328645689f8
(forgot to amend...) ko1 (Koichi Sasada)
07:13 AM Revision 1d3091b4 (git): Launchable: Refactor entrypoint.sh (#12314)
* Use `launchable record session` command to split test sessions based on test suites.
* Use BTESTS env instead of RUBY_TESTOPTS for passing CLI option to `make btest`.
* Group Launchable logs
* Add several flavors to identify the relati...
ono-max (Naoto Ono)
06:39 AM Revision e91b25ec (git): Fixed compatibility error with setup command and rdoc plugin on rubygems
hsbt (Hiroshi SHIBATA)
05:42 AM Revision 654404a9 (git): Removed unnecessary plugin file in ruby/ruby repository
hsbt (Hiroshi SHIBATA)
05:35 AM Revision 7e3c2925 (git): Make it loose coupling between RubyGems and RDoc (#1171)
* Make it loose coupling between RubyGems and RDoc
\### Problems
There are following problems because of tight coupling between RubyGems and RDoc.
1. If there are braking changes in RDoc, RubyGems is also broken.
2. When we maintain R...
mterada1228
04:49 AM Revision 86f00c99 (git): [DOC] Update `rb_strlen_lit`
It is not "in bytes" for wide char literal. nobu (Nobuyoshi Nakada)
03:25 AM Revision f55d78e0 (git): Bump github/codeql-action from 3.27.7 to 3.27.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.7 to 3.27.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md...
dependabot[bot]
02:59 AM Revision 1fd2437b (git): [DOC] Move the comma outside the `<tt>` tag
nobu (Nobuyoshi Nakada)
02:29 AM Revision 71bebcf6 (git): Bump vendored uri to 1.0.2
deivid (David Rodríguez)
02:29 AM Revision 57f222c1 (git): Bump vendored net-http to 0.6.0
deivid (David Rodríguez)
02:24 AM Revision cd460d5d (git): Bump vendored securerandom to 0.4.0
deivid (David Rodríguez)
02:20 AM Revision 3a328677 (git): [rubygems/rubygems] Add note about why we don't use `Open3`
https://github.com/rubygems/rubygems/commit/72316ed2fa deivid (David Rodríguez)
02:20 AM Revision 4fe134fa (git): [rubygems/rubygems] No need for `--quiet` since we hide output by default
https://github.com/rubygems/rubygems/commit/77133a23f5 deivid (David Rodríguez)
02:20 AM Revision 706cabb1 (git): [rubygems/rubygems] Don't print a bunch of blank lines when setting up dependencies
https://github.com/rubygems/rubygems/commit/48fd2d0514 deivid (David Rodríguez)
02:15 AM Misc #20947: Propose ydah (Yudai Takada) as a Ruby committer
I'm very honored to be accepted as a committer. Thank you so much! ydah (Yudai Takada)
01:55 AM Revision 8cc47c90 (git): Improve "Building Ruby" docs (#12320)
* Clarify “Building Ruby” docs
* Fix test examples to work from `build` dir
* Clarify “Testing Ruby” examples with real examples
All the commands should run correctly by default, without the user needing to modify them. This builds co...
Alexander Momchilov
01:54 AM Revision f0f9e2f5 (git): [ruby/resolv] Allow setting default Resolv::DNS config in Resolv.new
If a positional argument is provided, the use_ipv6 keyword
option is ignored:
```ruby
Resolv.new([Resolv::DNS.new], use_ipv6: false)
```
Issue a warning in this case.
Currently, you have to pass a positional hash argument to set
the D...
jeremyevans (Jeremy Evans)
01:49 AM Revision 0ea5c13b (git): [DOC] Improve formatting in Markdown files (#12322)
* Fix WASM bullet/code indentation
* Use `console` code highlighting where appropriate
… which handles the prefix `$` correctly.
* Migrate feature proposal template to MarkDown
* Set language on code blocks
Alexander Momchilov
01:14 AM Revision beff3e12 (git): Update default gems list at 43faf09bb9ca325ca042ba725a923f [ci skip]
git[bot]
01:13 AM Revision 43faf09b (git): [ruby/resolv] Bump up v0.6.0
https://github.com/ruby/resolv/commit/cb4b335034 hsbt (Hiroshi SHIBATA)
01:08 AM Revision 8781d37f (git): Update default gems list at 573c18212886cc95a47ed16b740099 [ci skip]
git[bot]
01:05 AM Revision 573c1821 (git): Lock released version of stringio-3.1.2
hsbt (Hiroshi SHIBATA)
01:05 AM Revision 5e05642c (git): [ruby/logger] Bump up v1.6.3
https://github.com/ruby/logger/commit/97bce95f49 hsbt (Hiroshi SHIBATA)
12:54 AM Revision 57825bf3 (git): bootstraptest: On -j failure, show total test count
It used to always try to divide by zero like:
FAIL 1/0 tests failed
alanwu (Alan Wu)
12:51 AM Revision ea2fba92 (git): Update default gems list at f5850c0cf762717892a76ed9630316 [ci skip]
git[bot]
12:50 AM Revision f5850c0c (git): [ruby/shellwords] Bump up v0.2.2
https://github.com/ruby/shellwords/commit/55ab74d37a hsbt (Hiroshi SHIBATA)
12:34 AM Revision 55e32971 (git): Update default gems list at 5a9008516a4cf9e3006b402fad966e [ci skip]
git[bot]
12:34 AM Feature #20861 (Closed): Add an environment variable for tuning the default thread quantum
Applied in changeset commit:git|fffef9aa5d89b6cca3dc634f5278b1fc67fb3d08.
----------
Add an environment variable for controlling the default Thread quantum
This commit adds an environment variable `RUBY_THREAD_TIMESLICE` for
specifying...
tenderlovemaking (Aaron Patterson)
12:33 AM Revision 5a900851 (git): [ruby/zlib] Bump up v3.2.1
https://github.com/ruby/zlib/commit/d2e29b23c8 hsbt (Hiroshi SHIBATA)
12:04 AM Revision fffef9aa (git): Add an environment variable for controlling the default Thread quantum
This commit adds an environment variable `RUBY_THREAD_TIMESLICE` for
specifying the default thread quantum in milliseconds. You can adjust
this variable to tune throughput, which is especially useful on
multithreaded systems that are mi...
tenderlovemaking (Aaron Patterson)

12/12/2024

11:52 PM Revision e7ee7d43 (git): YJIT: Allow then-unknown `static_mut_refs` on older Rusts [ci skip]
alanwu (Alan Wu)
11:28 PM Bug #20918 (Closed): Prism error indicates line number of `-e` that does not exist
Applied in changeset commit:git|e11c86f43e045462f4c0e2eaa2ddb4fdb6927ea7.
----------
Fix error messages so we don't output an extra line
Before this commit, when a file ended with a newline, the syntax error
message would show an extra...
tenderlovemaking (Aaron Patterson)
06:44 PM Bug #20918: Prism error indicates line number of `-e` that does not exist
mame (Yusuke Endoh) wrote in #note-6:
> @tenderlovemaking Thank you for fixing the issue, but it still shows line 2 in the code snippet.
> ...
Strange. Thank you, I'll try to figure it out!
tenderlovemaking (Aaron Patterson)
10:55 AM Bug #20918 (Assigned): Prism error indicates line number of `-e` that does not exist
@tenderlovemaking Thank you for fixing the issue, but it still shows line 2 in the code snippet.
```
$ ruby -e "foo("
-e: -e:1: syntax error found (SyntaxError)
> 1 | foo(
| ^ unexpected end-of-input; expected a `)` to clo...
mame (Yusuke Endoh)
11:28 PM Revision e11c86f4 (git): Fix error messages so we don't output an extra line
Before this commit, when a file ended with a newline, the syntax error
message would show an extra line after the file.
For example, the error message would look like this:
```
[aaron@tc-lan-adapter ~/g/ruby (master)]$ echo "foo(" > te...
tenderlovemaking (Aaron Patterson)
09:44 PM Revision 5e8c9b4b (git): [DOC] Fix grammar errors, typos, and improve readability of trace_point.rb (#12150)
Stan Lo
09:43 PM Feature #20875 (Closed): Atomic initialization for Ractor local storage
Applied in changeset commit:git|0bdb38ba6be208064a514c12a9b80328645689f8.
----------
`Ractor.set_if_absent(key)`
to initialize ractor local storage in thread-safety.
[Feature #20875]
ko1 (Koichi Sasada)
09:17 PM Feature #20875: Atomic initialization for Ractor local storage
store is from `Hash#store`. ko1 (Koichi Sasada)
09:02 PM Feature #20875: Atomic initialization for Ractor local storage
"store_if_absent" is fairly verbose; I should point out that "add" is a common name for this operation. For example there's Set#add, and the memcached ADD command. Dan0042 (Daniel DeLorme)
07:58 PM Feature #20875: Atomic initialization for Ractor local storage
quote from https://github.com/ruby/dev-meeting-log/blob/master/2024/DevMeeting-2024-12-12.md
* ko1: `compute_if_absent` terminology is introduced.
* matz: `compute` is not known in Ruby world. `Ractor.store_if_absent(key){ init_block...
ko1 (Koichi Sasada)
07:17 AM Feature #20875: Atomic initialization for Ractor local storage
Ah, it assigs from `Ractor.map`. ko1 (Koichi Sasada)
04:26 AM Feature #20875: Atomic initialization for Ractor local storage
> Then each Ractor could have such a map/hash and this could be solved like `Ractor[:mtx] ||= Ractor.map.compute_if_absent(:mtx) { Mutex.new }`.
`Ractor[:mtx] ||= ` is needed?
ko1 (Koichi Sasada)
09:43 PM Revision ff8570b0 (git): Fix LoadError's linking issue
Original issue: https://github.com/ruby/rdoc/issues/1128
The problem is caused by the `# :stopdoc:` directive in `bundled_gems.rb`,
which's scope covers the redefinition of `LoadError`.
Since the goal of `# :stopdoc:` is to hide the do...
Stan Lo
09:22 PM Revision 0bdb38ba (git): `Ractor.set_if_absent(key)`
to initialize ractor local storage in thread-safety.
[Feature #20875]
ko1 (Koichi Sasada)
07:14 PM Bug #20950 (Closed): Use-after-free in ep in Proc#dup for ifunc procs
GitHub PR: https://github.com/ruby/ruby/pull/12319
ifunc proc has the ep allocated in the data of the TypedData object. If an ifunc proc is duplicated, the ep points to the ep of the source object. If the source object is freed, then ...
peterzhu2118 (Peter Zhu)
07:07 PM Revision 79d90e73 (git): Call rb_bug_without_die when ASAN error reported
This will give us the Ruby stack trace when an ASAN error is reported. peterzhu2118 (Peter Zhu)
07:07 PM Revision 2da70aac (git): Don't output memory map in crash report for ASAN
ASAN maps a large amount of memory, which makes the memory map section
massive.
peterzhu2118 (Peter Zhu)
07:07 PM Revision ca2d19d4 (git): Implement rb_bug_without_die
peterzhu2118 (Peter Zhu)
05:29 PM Bug #20659 (Closed): Speed regression of `parse.y` parser after numeric nodes were introduced
I believe this was fixed by commit:c93d07ed7448f332379cf21b4b7b649b057e5671. alanwu (Alan Wu)
05:26 PM Revision c0caf1cc (git): [ruby/irb] Load history when starting a direct debug session
(https://github.com/ruby/irb/pull/1046)
* Load history when starting a direct debug session
When starting a debug session directly with RUBY_DEBUG_IRB_CONSOLE=1 and
`require 'debug'; debugger`, IRB's history wasn't loaded. This commit ...
James Reid-Smith
05:07 PM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
> No, ruby_xfree is not a simple delegator to system free, depending on environment and configuration.
I see, I didn't know about that compilation flag, thanks for letting me know that.
One solution I see (but that I'm not very fon...
byroot (Jean Boussier)
11:46 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
Done: https://github.com/byroot/json/pull/1
It's basically twice as slow on almost all benchmarks. My implementation is rather naive, I'm sure a bit of performance can be reclaimed by using various tricks, but it's risky as you have t...
byroot (Jean Boussier)
10:47 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
> We would like you to try to use String objects as buffers instead of memory pointer.
Yes, I was planning to try to convert JSON's `fbuffer` to use RString to show the impact. I'll update here once I have a working implementation.
byroot (Jean Boussier)
10:45 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
Discussed at the dev meeting.
> Yes, that's why I'm wondering if this requirement should be relaxed to “MUST be freeable by ruby_xfree”, which I believe would be true for asprintf.
No, `ruby_xfree` is not a simple delegator to syst...
mame (Yusuke Endoh)
08:18 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
> It is same as rb_str_cat(buf, &c, 1).
Yes and:
- You can't always use `rb_str_cat`, sometimes you have to pass a pointer to an existing API.
- `rb_str_cat` does all the checks I mentioned and even more.
> ...
I'm proposin...
byroot (Jean Boussier)
07:15 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
byroot (Jean Boussier) wrote in #note-19:
> > why not allocate a managing String from the beginning?
> ...
It is same as `rb_str_cat(buf, &c, 1)`.
> First that a lot more complicated than just working with a raw malloced buffer, you...
nobu (Nobuyoshi Nakada)
04:51 PM Feature #20818: Allow passing a block to Hash#store (to update current value)
This is related to my `Hash#exchange_value` proposal, so I'll link that here. https://bugs.ruby-lang.org/issues/20300
I guess the difference is whether you already know the replacement you want to use instead, or if you'd like to comp...
AMomchilov (Alexander Momchilov)
04:40 PM Revision 300be2b1 (git): [ruby/reline] Undo and redo should restore indentation
(https://github.com/ruby/reline/pull/793)
* Undo and redo should restore indentation
Undo and redo should not perform auto indentation. It should not change the indentation. Instead, it should restore previous indentation.
* Rename iv...
tompng (tomoya ishida)
02:39 PM Revision 776ec521 (git): [ruby/win32ole] Deprecate old constants in toplevel
https://github.com/ruby/win32ole/commit/eaa1507262 nobu (Nobuyoshi Nakada)
02:16 PM Revision 20b62ac0 (git): [ruby/win32ole] [DOC] Hide old constants for the backward compatibility from RDoc
https://github.com/ruby/win32ole/commit/99e1ea403f nobu (Nobuyoshi Nakada)
02:16 PM Revision ca427e63 (git): [ruby/win32ole] [DOC] Fix a markup for code
https://github.com/ruby/win32ole/commit/542d39372c nobu (Nobuyoshi Nakada)
02:01 PM Bug #20932 (Closed): Socket fast_fallback segfaults when fds are > FD_SETSIZE
I believe this issue has been resolved with this PR: https://github.com/ruby/ruby/pull/12292.
If you have any concerns, please let me know.
Thank you again for reporting it.
shioimm (Misaki Shioi)
01:58 PM Revision 54964526 (git): increase diff.renameLimit
naruse (Yui NARUSE)
01:15 PM Revision a0f59a59 (git): Update default gems list at 911879e01f061c9ea2d3ca4eb6d73d [ci skip]
git[bot]
01:14 PM Revision 911879e0 (git): [ruby/irb] Bump version to v1.14.2
(https://github.com/ruby/irb/pull/1045)
https://github.com/ruby/irb/commit/dd31884657
st0012 (Stan Lo)
12:46 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
Eregon (Benoit Daloze) wrote in #note-44:
> Are you thinking if the directory is removed? In that case there is no way to rerun the command faithfully, so an error like Errno::ENOENT is fine.
Removed or renamed.
It can rerun fine by...
nobu (Nobuyoshi Nakada)
11:35 AM Misc #20949 (Closed): DevMeeting-2025-01-09
# The next dev meeting
**Date: 2025/01/09 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/tree/master/2025
- Dev meeting *IS NOT* a decision-making place. All decisions should be done at the bug tracker.
- Dev me...
mame (Yusuke Endoh)
11:34 AM Misc #20879 (Closed): DevMeeting-2024-12-12
mame (Yusuke Endoh)
11:33 AM Feature #20884: reserve "Ruby" toplevel module for Ruby language
Discussed at the dev meeting.
@matz decided that Ruby 3.4 warns when ::Ruby is defined.
```
$ ./miniruby -we 'Ruby = 1'
-e:1: warning: ::Ruby is reserved for Ruby 3.5
```
If there are no major problems, it is likely that `mod...
mame (Yusuke Endoh)
09:38 AM Feature #20884 (Open): reserve "Ruby" toplevel module for Ruby language
hsbt (Hiroshi SHIBATA)
09:33 AM Feature #20884 (Closed): reserve "Ruby" toplevel module for Ruby language
Applied in changeset commit:git|197a3efc751f43956fc9ad30d688b4bfa3f7fbdb.
----------
[Feature #20884] News of toplevel "Ruby" name reservation
nobu (Nobuyoshi Nakada)
09:11 AM Feature #20884 (Open): reserve "Ruby" toplevel module for Ruby language
hsbt (Hiroshi SHIBATA)
08:45 AM Feature #20884 (Closed): reserve "Ruby" toplevel module for Ruby language
Applied in changeset commit:git|4d86f3bf6d1fe7bf7d4b25fc42f7aba9f401bbb4.
----------
[Feature #20884] Reserve "Ruby" toplevel name
nobu (Nobuyoshi Nakada)
07:19 AM Feature #20884: reserve "Ruby" toplevel module for Ruby language
It's OK for me to reserve `Ruby` constant (module) for the future. It should only contain portable information among implementations.
Matz.
matz (Yukihiro Matsumoto)
11:22 AM Bug #20948 (Assigned): Constant references incorrectly cached in `module (expr)::Foo`
```ruby
module M1
module Foo
X = 1
end
end
module M2
module Foo
X = 2
end
end
[M1, M2].each do
module it::Foo
p X #=> expected: prints "1" then "2"; actual: prints "1" twice
end
end
````
To ...
mame (Yusuke Endoh)
11:17 AM Feature #20922 (Rejected): Should not we omit parentheses in assert calls?
Discussed at the dev meeting.
@matz said he was not going to remove this warning.
Several ideas to prevent a warning were raised.
Parenthesizing only the first argument prevents the warning. This solution works today, and usabl...
mame (Yusuke Endoh)
11:06 AM Bug #20817 (Rejected): Ruby 3.4.0dev emits `warning: possibly useless use of + in void context` while Ruby 3.3.5 does not
Discussed at the dev meeting. This incompatibility that a subtle warning is printed when code is a syntax error should be considered minor and acceptable.
If the frequency or volume of the warning is high, or if it is difficult to sup...
mame (Yusuke Endoh)
10:49 AM Feature #20935: API for Globally Enabling/Disabling Happy Eyeballs Version 2 in the Socket Class
@matz approved the new API, and also wanted a configuration to stop happy eyeballs by an environment variable: `RUBY_TCP_NO_FAST_FALLBACK=1`. mame (Yusuke Endoh)
10:47 AM Bug #20930: Different semantics for nested `it` and `_1`
Discussed at the dev meeting, and matz confirmed that the current master's behavior is good. mame (Yusuke Endoh)
10:26 AM Bug #20940: Colored syntax error from prism
Personal opinion on terminal coloring (or any escape sequences). Colors should be completely optional as information because colors are not subject to copy and paste in today's standard environment. I don't think Prism currently violates... mame (Yusuke Endoh)
07:17 AM Bug #20940: Colored syntax error from prism
I personally prefer coloring error output, but for some reason, users may want to stop coloring. It should honor `NO_COLOR` environment variable to stop coloring.
Matz.
matz (Yukihiro Matsumoto)
09:30 AM Revision 197a3efc (git): [Feature #20884] News of toplevel "Ruby" name reservation
nobu (Nobuyoshi Nakada)
09:29 AM Misc #20947 (Assigned): Propose ydah (Yudai Takada) as a Ruby committer
I will do your account setup after releasing Ruby 3.4.0. Because I'm busy to release work until that.
Sorry to delay that.
hsbt (Hiroshi SHIBATA)
06:29 AM Misc #20947: Propose ydah (Yudai Takada) as a Ruby committer
It's OK for me.
Matz.
matz (Yukihiro Matsumoto)
05:19 AM Misc #20947 (Closed): Propose ydah (Yudai Takada) as a Ruby committer
I’d like to propose ydah (https://bugs.ruby-lang.org/users/52290) as a Ruby committer.
He has contributed to parse.y.
His contribution includes applying Lrama’s new feature to parse.y (https://github.com/ruby/ruby/pull/10050), fixing...
yui-knk (Kaneko Yuichiro)
09:27 AM Misc #20946 (Assigned): Proposing tomoya ishida (@tompng) as a Ruby committer
I will do your account setup after releasing Ruby 3.4.0. Because I'm busy to release work until that.
Sorry to delay that.
hsbt (Hiroshi SHIBATA)
06:23 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
I am very honored to be accepted as a committer. Thank you! tompng (tomoya ishida)
04:03 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
Accepted.
Matz.
matz (Yukihiro Matsumoto)
03:41 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
+1 mrkn (Kenta Murata)
03:03 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
+1
I thought he was already a committer, until told with him last week.
nobu (Nobuyoshi Nakada)
02:49 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
+1 kou (Kouhei Sutou)
02:31 AM Misc #20946 (Closed): Proposing tomoya ishida (@tompng) as a Ruby committer
I'd like to propose tomoya ishida (@tompng) as a Ruby committer.
* As a maintainer of IRB / Reline since 2023, he has been continuously improving the REPL's stability and performance. Also, he authored type-based completion mechanism ...
matsuda (Akira Matsuda)
08:45 AM Revision 4d86f3bf (git): [Feature #20884] Reserve "Ruby" toplevel name
nobu (Nobuyoshi Nakada)
08:45 AM Revision 267ecf5f (git): Add `rb_warn_reserved_name_at`
nobu (Nobuyoshi Nakada)
07:32 AM Revision 46e8a26c (git): Launchable: Start recording test-spec results (#12302)
ono-max (Naoto Ono)
07:21 AM Feature #20861: Add an environment variable for tuning the default thread quantum
I vote for the environment variable `RUBY_THREAD_TIMESLICE`. The term **quantum** is unfamiliar to me.
Matz.
matz (Yukihiro Matsumoto)
07:15 AM Revision 3fda6e92 (git): Update default gems list at 78ca87f8a8c79f0af1b7c6a0d819fa [ci skip]
git[bot]
07:14 AM Revision 78ca87f8 (git): Lock released version of strscan-3.1.1
hsbt (Hiroshi SHIBATA)
06:49 AM Misc #20913: Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
I was the Ruby Central person who was at RubyConf. Stan and I talked about what could help make it so English docs could be as good as the Japanese docs. Stan made a good suggestion, imho, that maybe having extra editors, ones who could ... martinemde (Martin Emde)
06:38 AM Misc #20913 (Closed): Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
We continue to discuss this on https://github.com/ruby/www.ruby-lang.org/. I'm closing this. hsbt (Hiroshi SHIBATA)
06:34 AM Misc #20913: Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
I added write grant of `ruby/www.ruby-lang.org` to jeremyevans and BurdetteLamar.
>During RubyConf in Chicago this month, a few members from Ruby Central and I discussed with them the idea of improving the website, and they both expre...
hsbt (Hiroshi SHIBATA)
05:35 AM Misc #20913: Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
I am OK if they are willing to accept.
Matz.
matz (Yukihiro Matsumoto)
06:49 AM Bug #20858 (Rejected): multiple parallel assignments are inconsistent
The `a,b = c,(d=3,4)` is the natural combination of the current rules. Changing this could make syntax even more complex.
I don't want to change the syntax here.
Matz.
matz (Yukihiro Matsumoto)
06:10 AM Revision 6a1aaf36 (git): Separated load path for test-bundler tasks for Windows
hsbt (Hiroshi SHIBATA)
05:43 AM Revision 52be46ab (git): * append newline at EOF. [ci skip]
git[bot]
05:43 AM Revision 58f3cdad (git): tmp/test-pipes is no longer needed
hsbt (Hiroshi SHIBATA)
05:43 AM Revision f43e04ce (git): Hide pending results of turbo_tests
hsbt (Hiroshi SHIBATA)
05:43 AM Revision 5d5525e3 (git): Use directory structure and GEM_HOME for ruby-core repository
hsbt (Hiroshi SHIBATA)
05:43 AM Revision 1967ae20 (git): Use patched version of turbo_tests
hsbt (Hiroshi SHIBATA)
05:43 AM Revision 91f6c370 (git): Use turbo_tests instead of parallel_tests
hsbt (Hiroshi SHIBATA)
01:10 AM Revision 29caae99 (git): [ruby/prism] Use isinf on non-mingw windows
https://github.com/ruby/prism/commit/2f903d7865 kddnewton (Kevin Newton)
12:58 AM Revision 36f49eb2 (git): Fix compilation with MALLOC_ALLOCATED_SIZE
Previously compilation failed with -DMALLOC_ALLOCATED_SIZE=1
Co-authored-by: Matthew Draper <[email protected]>
jhawthorn (John Hawthorn)
12:42 AM Revision 9181e8bc (git): [ruby/prism] Decode %r like % strings
%r regular expressions need to be decoded like strings. This commit
fixes %r decoding so it works like strings.
https://github.com/ruby/prism/commit/85bfd9c0cd
tenderlovemaking (Aaron Patterson)
12:42 AM Revision 0a1fa994 (git): [ruby/prism] Same numbered param cannot be used in child blocks
Raise an exception when the same numbered param is used inside a child
block. For example, the following code should be a syntax error:
```ruby
-> { _1 + -> { _1 } }
```
Fixes https://github.com/ruby/prism/pull/3291
https://github.co...
tenderlovemaking (Aaron Patterson)
12:30 AM Revision 54f8e6fb (git): Use malloc for prism string source
Prism will later free this string via free rather than xfree, so we need
to use malloc rather than xmalloc.
Co-authored-by: Aaron Patterson <[email protected]>
Co-authored-by: Matthew Draper <[email protected]>
jhawthorn (John Hawthorn)
 

Also available in: Atom