96336 Commits
Author SHA1 Message Date
NARUSE, Yui 553f1675f3 v4.0.0 v4.0.0 2025-12-25 12:20:40 +09:00
Nobuyoshi Nakada d375bcc965 [DOC] Escape capitalized word "data" not to be linked unexpectedly 2025-12-25 11:56:41 +09:00
Nobuyoshi Nakada b908306f99 [DOC] Reword "Regular Expression" to "Matched Data"
`$~` and its accessors are related to regular expressions, but are not
themselves.
2025-12-25 11:49:32 +09:00
Hiroshi SHIBATA 84edb8456e Revert "Rollback to minitest-5.27.0"
This reverts commit 8d097bc472.
2025-12-25 11:47:08 +09:00
Godfrey ChanandTakashi Kokubun 3c4cda10eb [DOC] Add back Rust 1.85.0 requirement to NEWS.md (#15728)
* [DOC] Add back Rust 1.85.0 requirement to NEWS.md

Addresses k0kubun's review in https://github.com/ruby/ruby/pull/15711#issuecomment-3690541074

NEWS.md serves both CRuby developers as well as end-users. As the
release date closes in, it probably gets seen by more users than
core developers (on the blog for example).

Most users probably don't build Ruby by hand, and instead that is
abstracted through tools like ruby-install or a package manager.
For some users these tools may install pre-built binaries where
they exist, in which case the Rust requirement doesn't apply. In
other instances, the tools merely automate the build, in which case
the correct rustc version is required to enable support.

It is also a little confusing to talk about "enabling support for
the JIT during the build" vs "enabling the JIT at runtime".

This copy attempts to balance all of the above and hopefully gets
the correct points across all intended audiences.

* Apply suggestion from k0kubun

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>

---------

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2025-12-25 09:06:50 +09:00
Max Bernstein 3e82da7232 ZJIT: Don't mark control-flow opcodes as invalidating locals (#15694)
jump, branchif, etc don't invalidate locals in the JIT; they might in the interpreter because they can execute arbitrary code, but the JIT side exits before that happens.
2025-12-24 22:37:25 +00:00
Hiroshi SHIBATA 8d097bc472 Rollback to minitest-5.27.0
Test of 6.0.0 is not working with 4.0.0 stable version.

https://github.com/ruby/actions/actions/runs/20488398805/job/58875672023#step:20:362

```
  rake aborted!
  NoMethodError: undefined method 'cov_filter=' for #<Hoe:0x00007fdb550fc840> (NoMethodError)

    self.cov_filter = %w[ tmp ]
        ^^^^^^^^^^^^^
  /home/runner/work/actions/actions/ruby-4.0.0/gems/src/minitest/Rakefile:20:in 'block in <top (required)>'
  /home/runner/work/actions/actions/ruby-4.0.0/.bundle/gems/hoe-3.20.0/lib/hoe.rb:394:in 'BasicObject#instance_eval'
  /home/runner/work/actions/actions/ruby-4.0.0/.bundle/gems/hoe-3.20.0/lib/hoe.rb:394:in 'Hoe.spec'
  /home/runner/work/actions/actions/ruby-4.0.0/gems/src/minitest/Rakefile:11:in '<top (required)>'
  /home/runner/work/actions/actions/ruby-4.0.0/.bundle/gems/rake-13.3.1/exe/rake:27:in '<top (required)>'
  (See full trace by running task with --trace)
```
2025-12-25 06:52:46 +09:00
Hiroshi SHIBATA 26a1a522b7 Revert "Rollback to test-unit 3.7.3"
This reverts commit c17307ac22.
2025-12-25 05:47:34 +09:00
Soutaro Matsumoto 8caea03213 rbs_skip_tests_windows 2025-12-25 05:46:44 +09:00
Soutaro Matsumoto b92bc96541 Skip test to avoid NoMemoryError 2025-12-25 05:46:44 +09:00
Soutaro Matsumoto d0193e9240 Bundle test-unit 3.7.5 2025-12-25 05:46:44 +09:00
Stan Lo 96d876534e Bump RDoc to 7.0.3 2025-12-25 05:45:16 +09:00
NARUSE, Yui 479f8682c8 Remove extra help 2025-12-24 23:52:45 +09:00
NARUSE, Yui 29ffc5d624 Reapply "Extract ruby_api_version_name"
This reverts commit ba2f697219.

Box already used ruby_api_version_name.
2025-12-24 23:07:35 +09:00
NARUSE, Yui 285e22edc5 Revert "Add link to Ruby options doc in help text"
This reverts commit 31ff07ed1e.

* Don't add a test which only runs on production release
  * https://github.com/ruby/actions/actions/runs/20486784889/job/58870959976
* Don't add a new line to `ruby --help`
  * https://github.com/ruby/ruby/pull/14142#issuecomment-3689829564
2025-12-24 22:55:44 +09:00
NARUSE, Yui ba2f697219 Revert "Extract ruby_api_version_name"
This reverts commit 9b576cd625.
2025-12-24 22:55:44 +09:00
Nobuyoshi Nakada 8de2622c12 Fix a fragile test
`Dir.mktmpdir` concatenates a random base-36 number separated by "-",
so may generate pathnames containing "-j2".
2025-12-24 22:11:58 +09:00
Yusuke Endoh f00abcfdc3 Prevent "warning: assigned but unused variable - it" 2025-12-24 21:29:00 +09:00
Yusuke Endoh 17e4f28c27 Remove unintentional return 2025-12-24 21:29:00 +09:00
Yusuke Endoh 2d0d95305c ext/-test-/scheduler/scheduler.c: explicitly ignore the result of write
```
scheduler.c:44:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   44 |     write(blocking_state->notify_descriptor, "x", 1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2025-12-24 21:09:33 +09:00
Nobuyoshi Nakada df1c9a06ac Win32: Remove an unused function
Since 50e5c542cc, `constat_reset` is no
longer used.
2025-12-24 19:49:07 +09:00
Hiroshi SHIBATA c17307ac22 Rollback to test-unit 3.7.3
3.7.5 is not working with rbs-3.10.0

https://github.com/ruby/ruby/actions/runs/20480628393/job/58853288287#step:22:353

```
  D:/a/ruby/ruby/src/.bundle/gems/test-unit-3.7.5/lib/test/unit/testcase.rb:641:in 'block (2 levels) in Test::Unit::TestCase#run': failed to allocate memory (NoMemoryError)
```
2025-12-24 19:44:54 +09:00
Hiroshi SHIBATA 6e20e92d0a Disable auto-update of bundled gems 2025-12-24 19:44:54 +09:00
Hiroshi SHIBATA aaed4ccc64 Restore gem updates that are accidentally deleted 2025-12-24 17:32:39 +09:00
Hiroshi SHIBATA ca67e72bcd Added release histories of default/bundled gems from Ruby 3.4.8 2025-12-24 17:26:10 +09:00
Hiroshi SHIBATA 1c07158203 Update to test-unit 3.7.5 at NEWS.md 2025-12-24 16:10:41 +09:00
Hiroshi SHIBATA 422ff27370 Added https://github.com/ruby/net-http/issues/205 to NEWS.md 2025-12-24 16:10:00 +09:00
git 04a6462201 Update bundled gems list as of 2025-12-24 2025-12-24 06:55:30 +00:00
Godfrey Chan 88d6c5aaa8 [DOC] Update ZJIT status in NEWS.md
As for Ruby v4.0.0-preview3, ZJIT support is enabled by default on
supported platforms. The previous phrasing is not relevant for most
users. Replaced with brief instructions for enabling the JIT itself.
2025-12-24 15:43:40 +09:00
Satoshi Tagomori f7b48456eb Box: show the fully qualified URL of the Ruby::Box doc 2025-12-24 15:10:25 +09:00
Nobuyoshi Nakada 352de161ff Remove an extra dot from RUBY_API_VERSION_STR 2025-12-24 14:41:02 +09:00
yui-knk fc19ce0a01 Lrama v0.7.1 2025-12-24 13:10:51 +08:00
Nobuyoshi Nakada 44693ee329 Fix a possible memory leak in dtoa
Fix GH-15061
2025-12-24 14:05:41 +09:00
Hiroshi SHIBATA 6af9b8d59a Minor update at stdlib section 2025-12-24 13:59:08 +09:00
Hiroshi SHIBATA 7d2815d907 Add flag for prevent to update NEWS.md for release day. 2025-12-24 13:48:35 +09:00
Peter Zhu 342d25785c [DOC] Fix backticks in Coverage.peek_result 2025-12-23 22:30:54 -05:00
Hiroshi SHIBATA 202028aea1 Update the latest results of test-bundled-gems 2025-12-24 12:24:50 +09:00
Burdette Lamar ab683d56bc [DOC] Cross-links between Japanese and English pages (#15705)
* [DOC] Cross-links between Japanese and English pages
2025-12-23 20:46:57 -06:00
zverok 9154d72a3e Improve CGI.escape* docs 2025-12-24 11:21:11 +09:00
TOMITA Masahiro 10a68210b4 [DOC] Fix IO::Buffer document 2025-12-24 11:14:29 +09:00
aguspe 6e2bf5df4e [Tests] Assert Module#set_temporary_name returns self
The return value of Module#set_temporary_name was changed
to return `self`, but the existing tests
did not verify this.
2025-12-24 11:03:20 +09:00
YO4 ceea8060e4 Properly handle test cases terminated by signals in test-bundled-gems
Process::Status#exitstatus turn into nil when child process is signeled.
When exit_code was unchanged, test-bundled-gems.rb returned 0 and make was unable to detect the failure. Fix this.
2025-12-24 10:59:56 +09:00
Nobuyoshi Nakada 688c1f6c5e [DOC] Reword "Pattern Matching" to "Regular Expression"
In ruby, since 3.1 at least, the words "Pattern Matching" should refer
the syntax.
2025-12-24 10:46:58 +09:00
Steve e2a58c45b1 [DOC] Fix minor typo in signals.rdoc 2025-12-24 10:39:49 +09:00
Samuel Williams 30d9782c5c Tidy up fiber scheduler tests. 2025-12-24 14:10:09 +13:00
Samuel Williams 2df72c0c1a Fix flaky test. 2025-12-24 14:10:09 +13:00
Victor Shepelev 01d1cbbbec [DOC] Enhance Fiber::Scheduler docs (#15708) 2025-12-24 00:53:08 +00:00
Peter Zhu e2cf92eddc Move special const check to gc.c for rb_gc_impl_object_moved_p 2025-12-23 13:54:08 -05:00
Victor Shepelev d7d1109099 Describe base code layout rules (#15696)
* Describe base code layout rules

* Enhance optional keyword explanation

* Change the logical operators description
2025-12-23 19:09:41 +02:00
Peter Zhu d517e04806 [DOC] Combine docs for Method#call aliases
RDoc does not parse the documentation for the Method#call aliases, so we
should combine the aliases into one documentation.
2025-12-23 09:00:04 -05:00