Project

General

Profile

Revision:

Revisions

# Date Author Comment
6b7f56d2 06/25/2025 10:58 PM jhawthorn (John Hawthorn)

Never use flags on T_NODE

Previously, any time we used FL_TEST or variations we would need to add
an additional test that it wasn't a T_NODE. I think that was only needed
historically and we can avoid generating that extra code.

3c66eb33 06/25/2025 10:43 PM Luke Gruber

Change def->method_serial to be atomic

rb_method_definition_create can be called across different ractors at the same time, so def->method_serial should be atomic.

328e3029 06/25/2025 09:11 PM Luke Gruber

Get String#crypt working with multi-ractor in cases where !HAVE_CRYPT_R

In commit 12f7ba5ed4a, ractor safety was added to String#crypt, however
in certain cases it can cause a deadlock. When we lock a native mutex,
we cannot allocate ruby objects because they might trigger GC which...

a1996b32 06/25/2025 05:13 PM rhenium (Kazuki Yamaguchi)

[ruby/openssl] pkey: use EVP_PKEY_new_raw_{private,public}_key_ex() if available

Algorithms implemented only in OpenSSL 3 providers may not have a
corresponding NID. The *_ex() variants have been added in OpenSSL 3.0
to handle such algorithms, by taking algorithm names as a string....

0c6075bd 06/25/2025 05:13 PM rhenium (Kazuki Yamaguchi)

[ruby/openssl] pkey: handle EVP_PKEY_KEYMGMT return by EVP_PKEY_id()

For algorithms implemented solely in an OpenSSL 3 provider, without an
associated EVP_PKEY_METHOD, EVP_PKEY_id() returns a special value
EVP_PKEY_KEYMGMT.

Let OpenSSL::PKey::PKey#oid raise an exception as necessary....

ca0a315f 06/25/2025 05:13 PM rhenium (Kazuki Yamaguchi)

[ruby/openssl] ossl.h: include <openssl/provider.h> in ossl.h

Move the #include from ossl_provider.c to ossl.h. As OpenSSL 3 provider
functions will be used in multiple source files, having it in the
common header file is convenient.

https://github.com/ruby/openssl/commit/f831bb66bc

aed7a95f 06/25/2025 05:04 PM peterzhu2118 (Peter Zhu)

Move RUBY_ATOMIC_VALUE_LOAD to ruby_atomic.h

Deduplicates RUBY_ATOMIC_VALUE_LOAD by moving it to ruby_atomic.h.

ec071c84 06/25/2025 02:51 PM burdettelamar (Burdette Lamar)

[DOC] Tweaks for String#byterindex (#13485)

077dbb8d 06/25/2025 01:41 PM deivid (David Rodríguez)

[rubygems/rubygems] Remove unnecessary loading of fileutils from path specs

These specs load artifice before Bundler boots because of their global
rubygems source. Artifice in turn loads rack, rack-test, and
tmpdir which in turn load fileutils.

Because of this, a missing require of fileutils in RubyGems would...

c17d381d 06/25/2025 01:41 PM deivid (David Rodríguez)

[rubygems/rubygems] Remove message long gone from the code base from expectations

https://github.com/rubygems/rubygems/commit/2eaada3508

fb2f89d8 06/25/2025 01:41 PM MSP-Greg (Greg L)

[rubygems/rubygems] Add missing require "fileutils" in lib/rubygems/installer.rb

https://github.com/rubygems/rubygems/commit/9a9d0e423e

9e43e123 06/25/2025 12:41 PM nobu (Nobuyoshi Nakada)

Override files of bundled gem specs

Use the actual files unpacked from the gem. The recent rdoc.gemspec
uses different code than expected by rbinstall.rb, which resulted in
the result list not being overwritten and the template files not being
installed.

36323958 06/25/2025 11:06 AM jhawthorn (John Hawthorn)

Fix missing WB going to too_complex on class/geniv

We were creating a new fields object, and then inserting into it without
a write barrier.

OpenSSL::TestSSL#test_tlsext_hostname
WBCHECK ERROR: Missed write barrier detected!
  Parent object: 0x7ce8b3a390c0 (wb_protected: true)...
5df38256 06/25/2025 06:22 AM hsbt (Hiroshi SHIBATA)

Specified --vcpkg-root with scoop directory

0343fcdb 06/25/2025 06:22 AM hsbt (Hiroshi SHIBATA)

Replaced built-in binary cache of vcpkg to actions/cache

%VCPKG_BINARY_SOURCES%: warning: The 'x-gha' binary caching backend has been removed. Consider using a NuGet-based binary caching provider instead, see extended documentation at https://learn.microsoft.com/vcpkg/users/binarycaching?WT.mc_id=vcpkg_inproduct_cli....
bb2c2664 06/25/2025 06:22 AM hsbt (Hiroshi SHIBATA)

Added rake test to allow failures

84a90636 06/25/2025 06:22 AM nobu (Nobuyoshi Nakada)

Win: Suppress false warnings from Visual C 17.14.1

https://developercommunity.visualstudio.com/t/warning-C5287:-operands-are-different-e/10877942?

It is not able to silence "operands are different enum types"
warnings, even using an explicit cast, as the message says.

de512b7a 06/25/2025 06:22 AM hsbt (Hiroshi SHIBATA)

We don't need to specify winsdk version

a205407e165e4570b8b6d6e4b7a019b51962ecba fixed that workaround

bd7d210d 06/25/2025 05:33 AM nobu (Nobuyoshi Nakada)

Win: Suppress false warnings from Visual C 17.14.1

https://developercommunity.visualstudio.com/t/warning-C5287:-operands-are-different-e/10877942?

It is not able to silence "operands are different enum types"
warnings, even using an explicit cast, as the message says.

8eadf30c 06/25/2025 04:28 AM hsbt (Hiroshi SHIBATA)

Removed unnecessary winsdk version

051e5f54 06/25/2025 04:28 AM nobu (Nobuyoshi Nakada)

[Bug #21255] Win32: Do not export __declspec(selectany) symbols

x64-vcruntime140-ruby350.def : error LNK2001: unresolved external symbol Avx2WmemEnabledWeakValue
8f44d482 06/25/2025 03:20 AM hsbt (Hiroshi SHIBATA)

windows-2025 runner updated Visual Studio from broken version

2ed48626 06/25/2025 03:02 AM jhawthorn (John Hawthorn)

Remove unnecessary union

1e436f22 06/25/2025 03:02 AM jhawthorn (John Hawthorn)

Fix missing write barrier in rb_vm_rewrite_cref

Found by wbcheck

443ed45a 06/25/2025 03:02 AM jhawthorn (John Hawthorn)

Refactor rewrite_cref

8b59ba89 06/25/2025 02:50 AM hsbt (Hiroshi SHIBATA)

Try to use windows-2025 runner for test-bundled-gems

d2ed304f 06/25/2025 02:50 AM hsbt (Hiroshi SHIBATA)

Try to use the latest version of winsdk in windows-2025 runner

309b1aaf 06/25/2025 02:50 AM nobu (Nobuyoshi Nakada)

[Bug #21255] Win32: Do not export __declspec(selectany) symbols

x64-vcruntime140-ruby350.def : error LNK2001: unresolved external symbol Avx2WmemEnabledWeakValue
3c8be029 06/25/2025 02:50 AM hsbt (Hiroshi SHIBATA)

Try to use the latest version of Visual Studio in windows-2025 runner.

7c3bbfcd 06/25/2025 12:21 AM jeremyevans (Jeremy Evans)

Include Set subclass name in Set#inspect output

Fixes [Bug #21377]

Co-authored-by: zzak

3a9c091c 06/25/2025 12:21 AM jeremyevans (Jeremy Evans)

Simplify Set#inspect output

As Set is now a core collection class, it should have special inspect
output. Ideally, inspect output should be suitable to eval, similar
to array and hash (assuming the elements are also suitable to eval):

set = Set[1, 2, 3]...

3b602c95 06/24/2025 08:41 PM Eregon (Benoit Daloze)

[ruby/timeout] Gracefully handle a call to ensure_timeout_thread_created in a signal handler

40441882 06/24/2025 08:08 PM jhawthorn (John Hawthorn)

Fix load catch table write barrier

I tried fixing this in 521b2fcba4e96898bfd237c79f17f19530b7a030, but
re-running wbcheck with the stricter WBCHECK_VERIFY_AFTER_WB, revealed
that this write barrier was fired too early, before the object was
actually written to the parent....

fcf2c3b4 06/24/2025 08:08 PM jhawthorn (John Hawthorn)

Fix write barriers in rb_hash_add_new_element

The write barriers must be run after the st_update callback returns,
as the objects are not on the object until then and there may be
allocation when there is a new object inserted.

This is hard to reproduce, and I haven't seen an actual crash due to it,...

c351c3d0 06/24/2025 04:28 PM burdettelamar (Burdette Lamar)

[DOC] Tweaks for String#bytes

b2849876 06/24/2025 03:19 PM byroot (Jean Boussier)

Cleanup and document shape_id_t layout

5bcc639b 06/24/2025 02:10 PM byroot (Jean Boussier)

Disallow forking from non-main ractor

[Bug #17516]

fork(2) only leave the calling thread alive in the child.
Because of this forking from the non-main ractor can easily
leave the VM in a corrupted state.

It may be possible in the future to carefully allow forking from non-main...

45a2c95d 06/24/2025 10:29 AM byroot (Jean Boussier)

Reduce exposure of FL_FREEZE

The FL_FREEZE flag is redundant with SHAPE_ID_FL_FROZEN, so
ideally it should be eliminated in favor of the later.

Doing so would eliminate the risk of desync between the two, but
also solve the problem of the frozen status being global in namespace...

da10b956 06/24/2025 09:50 AM nobu (Nobuyoshi Nakada)

Generate HTML documentation even if only NEWS.md is updated

cf6b4e72 06/24/2025 09:33 AM git[bot]

Update default gems list at 62aa4a6010c293ea58cfec59f316f0 [ci skip]

62aa4a60 06/24/2025 09:32 AM hsbt (Hiroshi SHIBATA)

[ruby/resolv] v0.6.1

https://github.com/ruby/resolv/commit/6b57765f8d

152cf102 06/24/2025 09:30 AM nobu (Nobuyoshi Nakada)

Remove trailing spaces

21f3ffed 06/24/2025 09:26 AM hsbt (Hiroshi SHIBATA)

tmpdir.rb is not extension

ac02bf2b 06/24/2025 09:19 AM nobu (Nobuyoshi Nakada)

[ruby/json] Remove trailing spaces [ci skip]

https://github.com/ruby/json/commit/6c41162522

ba68343d 06/24/2025 05:55 AM Samuel Williams

Allow wakeup mutex to be used in trap context. (#13684)

e036d4da 06/24/2025 04:40 AM hsbt (Hiroshi SHIBATA)

Removed Set entry

Fixup 061d36476fbeec9aebaf2e9058b0ac01be3d0dd0

7a5e46cf 06/24/2025 03:10 AM hsbt (Hiroshi SHIBATA)

Revert accidentally commit with 96a0c2065a95d076978de41e8bfacbd19858d0bb

93fc29c6 06/24/2025 03:10 AM byroot (Jean Boussier)

[ruby/json] Deprecate duplicate keys in object

There are few legitimate use cases for duplicate keys, and can
in some case be exploited.

Rather to always silently accept them, we should emit a warning,
and in the future require to explictly allow them.
...

b310e7b3 06/24/2025 03:10 AM byroot (Jean Boussier)

[ruby/json] Add missing parser options documentation

https://github.com/ruby/json/commit/eed753ffde

7a297ad2 06/24/2025 03:10 AM deivid (David Rodríguez)

[rubygems/rubygems] Fix Bundler.original_env['GEM_HOME'] when Bundler is trampolined

https://github.com/rubygems/rubygems/commit/4c450eb05e

(1-50/109081) Per page: 50, 100, 200, 500

Also available in: Atom