89535 Commits

Author SHA1 Message Date
Hiroshi SHIBATA
945fdf6091 Relax regexp for Ruby 3.5 2024-12-25 20:10:18 +09:00
Hiroshi SHIBATA
a0460af920 Check ArgumentError and Warnings with Ruby 3.3 and 3.4 2024-12-25 20:10:18 +09:00
Hiroshi SHIBATA
9967eccc54 Removed Process::Status#& and Process::Status#>> 2024-12-25 20:10:18 +09:00
Nobuyoshi Nakada
8f11d6cbe2 Show docs of constants under Ruby 2024-12-25 19:12:31 +09:00
Nobuyoshi Nakada
b923a59b8e fake.rb: Override constants in Ruby module 2024-12-25 19:12:31 +09:00
Nobuyoshi Nakada
e5e4db1748 [Feature #20884] Define toplevel "Ruby" module with constants 2024-12-25 19:12:31 +09:00
Hiroshi SHIBATA
7f738bb5d7
Restore Ruby 3.4 NEWS.md again 2024-12-25 18:18:26 +09:00
Yukihiro "Matz" Matsumoto
2f064b3b4b
Development of 3.5.0 started. 2024-12-25 18:15:17 +09:00
Yukihiro "Matz" Matsumoto
873f6ca382
[DOC] Flush NEWS.md 2024-12-25 18:15:16 +09:00
Hiroshi SHIBATA
b9e2162433
Truncate old updates of Ruby 3.4
We should stop auto-update workflow until stdgems.org update.
2024-12-25 17:45:34 +09:00
git
fa863f896a Update default gems list at b5825a1f5cfa380e118eeef9392909 [ci skip] 2024-12-25 08:26:11 +00:00
Hiroshi SHIBATA
b5825a1f5c
Restore Ruby 3.4 NEWS.md 2024-12-25 17:25:11 +09:00
git
ca17104f59 Update default gems list at b12237646907c15ec87750ec9c29f2 [ci skip] 2024-12-25 08:22:21 +00:00
Hiroshi SHIBATA
b122376469
Make NEWS.md empty for Ruby 3.5 development 2024-12-25 17:21:29 +09:00
git
c953e88142 Update default gems list at d88c066f42f981f477b7a9ab1e77b9 [ci skip] 2024-12-25 08:07:41 +00:00
NARUSE, Yui
d88c066f42 Add fail safe to check uncommitted changes 2024-12-25 16:55:27 +09:00
Nobuyoshi Nakada
ddf62c4c20
[DOC] Put empty lines 2024-12-25 13:53:36 +09:00
Takashi Kokubun
f450108330 [DOC] Fix indentation for rdoc v3_4_0 2024-12-24 20:50:41 -08:00
Takashi Kokubun
663f833bac [DOC] Mention method argument optimization 2024-12-24 20:49:52 -08:00
Takashi Kokubun
e25b350fc5 [DOC] Fix the broken format of RubyVM::YJIT.enable docs 2024-12-24 20:42:06 -08:00
Takashi Kokubun
7245d3e356 [DOC] Mention --yjit-perf=codegen in NEWS 2024-12-24 20:36:12 -08:00
Takashi Kokubun
828e913cf7 [DOC] Use the same indentation depth as adjacent sections 2024-12-24 20:31:02 -08:00
ydah
1b0e362692 [DOC] Fix typo in NEWS.md regarding thread-safety 2024-12-25 13:22:15 +09:00
Nobuyoshi Nakada
bf878b5494
[DOC] Ractor::RemoteError 2024-12-25 13:16:28 +09:00
Nobuyoshi Nakada
2acbf45d36
[DOC] Monitor 2024-12-25 13:16:14 +09:00
Nobuyoshi Nakada
871124c3ea
[DOC] Stop document Ripper::Lexer
`:nodoc:` seems not working for inner classes.
2024-12-25 13:07:22 +09:00
Nobuyoshi Nakada
970513f677
Sort undocumented entry list [ci skip] 2024-12-25 12:04:32 +09:00
Nobuyoshi Nakada
e8aca1aafc
[DOC] Fix indentation
RDoc markdown parser requires exact 4 spaces or tab as indentation.
2024-12-25 12:00:00 +09:00
Nobuyoshi Nakada
f72b94bdb6
[DOC] Fix duplicate entries
A tentative workaround for duplicate entries in "Class and Module
Index".
2024-12-25 11:37:37 +09:00
Nobuyoshi Nakada
51d3f6459b
[DOC] Hide Fiber::Pool
It is experimental yet and is disabled currently.
2024-12-25 11:25:03 +09:00
Nobuyoshi Nakada
92f850ae84
[DOC] Hide Ractor::Selector
It is not enabled by default currently.
2024-12-25 11:13:07 +09:00
Takashi Kokubun
36e9028f93 [DOC] Clarified YJIT stats changes 2024-12-24 18:00:06 -08:00
Takashi Kokubun
4e4b87d324 [DOC] Categorize YJIT new features 2024-12-24 17:48:49 -08:00
Nobuyoshi Nakada
e46314edd1
[DOC] Monitor 2024-12-25 10:30:40 +09:00
Kazuhiro NISHIYAMA
c194357c08
[DOC] Sort links [ci skip] 2024-12-25 08:56:08 +09:00
Hiroshi SHIBATA
8aac08498b
Update bundler version on NEWS.md 2024-12-25 08:46:15 +09:00
Alan Wu
468b7af67e [DOC] RegExp: The Graph property includes some control characters
The behavior of this is a carry-over from Oniguruma:
  5eaee9f5f8/doc/RE (L246)

The previous phrasing was inaccurate since it's fair to construe e.g.
Zero Width Joiner as a control character.

Reported-by: https://github.com/ruby/ruby/pull/12294
2024-12-24 15:40:57 -05:00
tomoya ishida
372e19bbb5
[DOC] Add IRB's new completion section to NEWS.md
* Fix link and copyedit blurb

Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
2024-12-24 19:29:42 +00:00
Stan Lo
645d604766 Fix missing/broken links in NEWS.md 2024-12-24 14:02:00 -05:00
Victor Shepelev
58460b4dbd
[DOC] Adjust documentation related to backtraces (#12420) 2024-12-24 20:49:55 +02:00
Misaki Shioi
3be1baab82
Introduce a timeout to prevent rb_thread_fd_select from hanging with write(2) failure (#12457)
Rarely, there are cases where a write(2) call from a child thread
to notify the main thread of the completion of name resolution fails.
If this happens while the main thread is waiting in `rb_thread_fd_select`,
rb_thread_fd_select may not notice that the name resolution has completed and end up hanging.

This issue becomes a problem when there are no sockets currently being connected,
no addresses ready for immediate connection attempts,
and name resolution has already completed for one address family
while the main thread is waiting for the name resolution of the other address family.
(If name resolution is not completed for either address family,
the chances of write(2) failing in both child threads are likely low.)

To avoid this issue, a timeout is introduced to rb_thread_fd_select under the above conditions.
This way, even if the issue occurs,
the completion of name resolution should still be detected
in the subsequent `if (!resolution_store.is_all_finished) ...` block.
2024-12-25 03:06:02 +09:00
Peter Zhu
07e89bde46 Fix MEMMOVE in rb_darray_insert
Ruby's MEMMOVE takes in the element data type for the third argument, not
the size of the element. What this did was do sizeof(sizeof( ... )) which
always returned sizeof(size_t).
2024-12-24 09:40:12 -05:00
Nobuyoshi Nakada
13e6fe9bbc
[DOC] Hide RubyVM::Shape that is for debug from RDoc totally 2024-12-24 21:31:52 +09:00
Nobuyoshi Nakada
94df8a0cae Postpone spec of eszett with ignore case in look behind 2024-12-24 17:50:01 +09:00
Soutaro Matsumoto
737ca6b83d
Bundle rbs-3.8.0 (#12453) 2024-12-24 08:10:43 +00:00
Nobuyoshi Nakada
1b0c46daed
[Bug #20979] [DOC] Add a proviso to +comment option 2024-12-24 13:27:05 +09:00
Nobuyoshi Nakada
fb82f3a632 Win32: Defer change of timezone name encoding after 3.4
This change will be merged into 3.5 along with other encoding, command
line, environment variables, etc.

Revert following commits:

- bd831bcca534955533d9135d8c2f22d7ae5b9aa8
  [Bug #20929] Win32: Use `wcsftime`

- 1c15f641cc2bb88fa88123a11036ed58fbf9aa6d
  [Bug #20929] Win32: Encode timezone name in UTF-8

- 78762b52185aa80ee55c0d49b495aceed863dce2
  [Bug #20929] Fix `assert_zone_encoding`
2024-12-24 13:25:55 +09:00
David Rodríguez
42026ec3da Fix bundled gems warning for sub feature locations 2024-12-24 12:07:54 +09:00
lukeg
0d81177c20 Fix calls to require_internal in multi-ractor mode
After a ractor is started (multi-ractor mode), any calls to
require_internal will hang the process due to deadlock. For example,
loading a new encoding will deadlock after a ractor starts.

Fixes [Bug #19562]
2024-12-24 11:40:00 +09:00
Luke Gruber
38af38edcb Fix ractor move of unshareable frozen objects
These objects didn't retain their frozen status after the move

Bug [#19408]
2024-12-24 11:38:44 +09:00