Project

General

Profile

Revision:

Revisions

# Date Author Comment
f17405b6 09/11/2025 03:55 PM Earlopain (Earlopain _)

[ruby/prism] Reject some cases with return and command calls

The same also applies to break/next.

https://bugs.ruby-lang.org/issues/21540

https://github.com/ruby/prism/commit/3a38b192e3

e39fd456 09/11/2025 03:00 PM mame (Yusuke Endoh)

[ruby/prism] Use pm_arguments_end for function call

Previously, the location of CallNode was incorrect when it accepts a
block parameter:

$ ruby -rprism -e 'pp Prism.parse("foo(&blk)").value.statements.body[0]']
@ CallNode (location: (1,0)-(1,8))  # <=== It should be (1,0)-(1,9)...
17039c56 09/11/2025 02:17 PM peterzhu2118 (Peter Zhu)

Don't include klass in RZombie

klass is not used, so we can shrink RZombie down to 32 bytes.

aa173bce 09/11/2025 12:20 PM nobu (Nobuyoshi Nakada)

Run CAPI check separately

7ab8e16b 09/11/2025 12:20 PM nobu (Nobuyoshi Nakada)

Check CAPI ext binary compatibility

b6275324 09/11/2025 12:14 PM peterzhu2118 (Peter Zhu)

Fix out-of-bounds read in rb_location_ary_to_backtrace

rb_location_ary_to_backtrace was not checking the length of the array before
reading the first element. It can be reproduced by the following script:

begin
  raise
rescue
  $@ = []
end...
f164e1c0 09/11/2025 12:14 PM peterzhu2118 (Peter Zhu)

Fix out-of-bounds read in require when $LOADED_FEATURES is modified

The following script causes an out-of-bounds read on the $LOADED_FEATURES
array when it is modified by another thread:

require "tempfile"
PATH = Tempfile.create(["test", ".rb"]).path...
21d76b42 09/11/2025 12:14 PM peterzhu2118 (Peter Zhu)

Fix out-of-bounds read in Method#inspect for unnamed parameters

For parameters without names, accessing the name in array index 1 would
be an out-of-bounds read.

5a946a5b 09/11/2025 12:14 PM peterzhu2118 (Peter Zhu)

Change order of RARRAY_AREF and ARY_SET_LEN in rb_ary_pop

We should access the last element first before we shrink the length of the
array.

729d602e 09/11/2025 12:14 PM peterzhu2118 (Peter Zhu)

Assert that RARRAY_AREF is within bounds

We should assert that i is within bounds to prevent buffer overflows.

0dc1cd40 09/11/2025 02:54 AM hsbt (Hiroshi SHIBATA)

Handle uninitialized constant JSON::GenericObject at ruby/ruby.

  1) Error:
JSONGenericObjectTest#test_from_hash:
Test::Unit::ProxyError: uninitialized constant JSON::GenericObject
    /Users/hsbt/Documents/github.com/ruby/ruby/.ext/common/json/common.rb:1006:in 'JSON.const_missing'...
5e7e6c58 09/11/2025 02:54 AM hsbt (Hiroshi SHIBATA)

Revert "test_gem_command_manager.rb.

This reverts commit 8aa885c460aeb70878538eebdd155c6318989fd2 and
cd07c3cbae7e287350d713ead237aeef27cc2b9e.

e4a93944 09/11/2025 02:54 AM etienne (Étienne Barrié)

[ruby/json] Improve test coverage

Test SubArrayWrapper#[] and SubOpenStruct#[]

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

Co-authored-by: Jean Boussier

72888b75 09/11/2025 02:54 AM etienne (Étienne Barrié)

[ruby/json] Stop checking for OpenStruct#[] and #[]=

https://github.com/ruby/json/commit/3232e8df41

Co-authored-by: Jean Boussier

0438b77c 09/11/2025 02:54 AM etienne (Étienne Barrié)

[ruby/json] Stop checking for String#@-

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

Co-authored-by: Jean Boussier

b19b4b7b 09/11/2025 02:54 AM etienne (Étienne Barrié)

[ruby/json] Change invalid encoding test to use assert_raise

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

Co-authored-by: Jean Boussier

3097a7bd 09/11/2025 02:54 AM etienne (Étienne Barrié)

[ruby/json] Fix deprecation warning backtrace

The gem root was including the test/ directory, so lines from tests were
skipped, and the deprecation warnings were shown as coming from the test
framework.

https://github.com/ruby/json/commit/2ec31a7363

Co-authored-by: Jean Boussier

fa5bebbc 09/11/2025 02:54 AM etienne (Étienne Barrié)

[ruby/json] Fix JSON::GenericObject tests

https://github.com/ruby/json/commit/7a2a24d663

Co-authored-by: Jean Boussier

30da3b51 09/11/2025 02:54 AM etienne (Étienne Barrié)

[ruby/json] Don't call json_create if json_creatable? returns false

Fix https://github.com/ruby/json/commit/f411ddf1ceaf

https://github.com/ruby/json/commit/1397bf8cc9

Co-authored-by: Jean Boussier

bfd1b30d 09/11/2025 02:54 AM etienne (Étienne Barrié)

[ruby/json] Enable test coverage when simplecov is available

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

Co-authored-by: Jean Boussier

d0c7f9ad 09/11/2025 02:54 AM hsbt (Hiroshi SHIBATA)

[rubygems/rubygems] Added document for Gem::Uninstaller
(https://github.com/rubygems/rubygems/pull/8904)

  • Added document for Gem::Uninstaller

  • Apply suggestion from @deivid-rodriguez

Co-authored-by: David Rodríguez ...

4febdbc4 09/11/2025 02:54 AM David Rodríguez

[rubygems/rubygems] Remove spec originally meant to test remembering CLI flags

https://github.com/rubygems/rubygems/commit/4919e5ca53

ecd1284b 09/11/2025 02:54 AM David Rodríguez

[rubygems/rubygems] Complete remembered options removal

https://github.com/rubygems/rubygems/commit/573ffad3ea

881b5855 09/11/2025 02:54 AM David Rodríguez

[rubygems/rubygems] Introduce a way to ensure that removed flags get their docs removed, too

https://github.com/rubygems/rubygems/commit/a727b50697

c218c66a 09/11/2025 02:54 AM David Rodríguez

[rubygems/rubygems] Remove deprecated usages of bundle install --deployment during specs

https://github.com/rubygems/rubygems/commit/c903afbc3f

3486f4d9 09/11/2025 02:54 AM David Rodríguez

[rubygems/rubygems] Fix grammar in remembered options removal message

https://github.com/rubygems/rubygems/commit/825e29a9ec

ce19fb50 09/11/2025 02:54 AM David Rodríguez

[rubygems/rubygems] Add missing part in bundle cache --path removal message

https://github.com/rubygems/rubygems/commit/f5bf473b34

4eb13c61 09/11/2025 02:54 AM David Rodríguez

[rubygems/rubygems] Remove implementation of deployment, capistrano and vlad entrypoints

Now they only raise an error.

https://github.com/rubygems/rubygems/commit/6e7c8db151

b4334f83 09/11/2025 02:54 AM David Rodríguez

[rubygems/rubygems] Completely remove Bundle.*clean* and Bundler.environment helpers

https://github.com/rubygems/rubygems/commit/e1b8bdcede

9cd1ac40 09/10/2025 10:35 PM alanwu (Alan Wu)

YJIT: Print more disassembly in release builds

These #[cfg(feature = "disasm")] were unnecessary and we can provide
the information like ruby source location regardless of the availability
of capstone.

c866b902 09/10/2025 10:35 PM alanwu (Alan Wu)

YJIT: Remove dead code: asm_comment! checks --yjit-dump-disasm

8d05669b 09/10/2025 10:21 PM alanwu (Alan Wu)

YJIT: Print more disassembly in release builds

These #[cfg(feature = "disasm")] were unnecessary and we can provide
the information like ruby source location regardless of the availability
of capstone.

1b9fc426 09/10/2025 10:21 PM alanwu (Alan Wu)

YJIT: Remove dead code: asm_comment! checks --yjit-dump-disasm

bd4de124 09/10/2025 09:18 PM k0kubun (Takashi Kokubun)

Explicitly declare VM instruction dependencies (#14509)

instead of mutating RubyVM::Instructions and letting the order of
require impact its behavior.

Now that we have both RubyVM::TraceInstruction and
RubyVM::ZJITInstruction, it feels too much of a tight coupling to rely...

9401f4e7 09/10/2025 09:11 PM Stan Lo

Skip vm_cc_invalidate's cc->klass assertion for multi-ractor for now

It's failing more frequently on CI in Ractor tests lately. To make allow
other PRs to land more smoothly, we can skip the assertion for now.

0cec8739 09/10/2025 09:04 PM k0kubun (Takashi Kokubun)

Rename VM instruction classes to singular names (#14507)

23c60e18 09/10/2025 08:37 PM Stan Lo

YJIT: Tiny refactors (#14505)

Addressed some suggestions from clippy that made sense to me.

399e2abc 09/10/2025 08:25 PM jhawthorn (John Hawthorn)

Allow concurrent_set to be collected in minor GC

When testing we've found that the concurrent_set objects used for
fstrings can grow quite large, and because they reach oldgen quickly end
up not being collected.

This commit is a bit of a hack but aims to improve that by moving the...

95936276 09/10/2025 08:18 PM Stan Lo

ZJIT: Revert self_val removal and rename it to recv (#14504)

  • Revert "ZJIT: Removed unused self_val from Send"

This reverts commit 13c2f8d5c2b41ec78344ae60f9b5ec1564029418.

  • Revert "ZJIT: Removed unused self_val from InvokeSuper"

This reverts commit 877b625922e0f8de4e7ad801dd0306e69b34d263....

0dbaf7e9 09/10/2025 05:58 PM k0kubun (Takashi Kokubun)

YJIT: Rename make yjit-smoke-test to make yjit-check (#14502)

3e4af886 09/10/2025 05:41 PM Stan Lo

ZJIT: Set ZJIT_RB_BUG to help debugging CI issues (#14500)

8712ac7b 09/10/2025 05:37 PM peterzhu2118 (Peter Zhu)

Fix tempfile leaking in TestRequire

The test introduced in 928fea3 is leaking files because the Tempfile is
not cleaned when the process exits. We see this in the output:

Children under /var/folders/51/_yzlsvf96v9729jtj8_mcp7w0000gn/T/rubytest.7lbdlp:...
13c2f8d5 09/10/2025 05:26 PM Stan Lo

ZJIT: Removed unused self_val from Send

877b6259 09/10/2025 05:26 PM Stan Lo

ZJIT: Removed unused self_val from InvokeSuper

33cd9700 09/10/2025 03:57 PM Stan Lo

[DOC] ZJIT: Add a section for stats (#14497)

d82e9f9a 09/10/2025 03:56 PM Stan Lo

ZJIT: Support invokeblock insn (#14496)

ZJIT: Support invokeblock insn

Basically like other send-ish insns, except that it doesn't pop the receiver.

3364d79b 09/10/2025 03:54 PM k0kubun (Takashi Kokubun)

YJIT: Stop sharing rb_vm_invokesuper among different instructions (#14492)

c0e01a27 09/10/2025 03:54 PM k0kubun (Takashi Kokubun)

ZJIT: Compile ISEQs with forwardable parameters (#14491)

928fea3b 09/10/2025 09:41 AM peterzhu2118 (Peter Zhu)

Fix crash when $LOADED_FEATURES is modified during require

[Bug #21567]

When we require an object that is not a string, it will attempt to convert
it to a string by calling to_str on it. If we modify the $LOADED_FEATURES
array while it calls to_str, Ruby can crash because it can end up inserting...

624538ba 09/10/2025 07:45 AM nobu (Nobuyoshi Nakada)

dtoa.c: Check integer underflow

Reported at https://hackerone.com/reports/3288162

This underflow does not occur in Ruby because:

  • This function is static and not accessible other than from ruby
    internal.

  • Ruby uses mode 0 when calling this function directly....

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

Also available in: Atom