summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-12Add `rb_warn_reserved_name_at`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12315
2024-12-12Launchable: Start recording test-spec results (#12302)Naoto Ono
Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-12Update default gems list at 78ca87f8a8c79f0af1b7c6a0d819fa [ci skip]git
2024-12-12Lock released version of strscan-3.1.1Hiroshi SHIBATA
2024-12-12Separated load path for test-bundler tasks for WindowsHiroshi SHIBATA
2024-12-12* append newline at EOF. [ci skip]git
2024-12-12tmp/test-pipes is no longer neededHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12250
2024-12-12Hide pending results of turbo_testsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12250
2024-12-12Use directory structure and GEM_HOME for ruby-core repositoryHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12250
2024-12-12Use patched version of turbo_testsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12250
2024-12-12Use turbo_tests instead of parallel_testsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12250
2024-12-12[ruby/prism] Use isinf on non-mingw windowsv3_4_0_rc1Kevin Newton
https://github.com/ruby/prism/commit/2f903d7865
2024-12-11Fix compilation with MALLOC_ALLOCATED_SIZEJohn Hawthorn
Previously compilation failed with -DMALLOC_ALLOCATED_SIZE=1 Co-authored-by: Matthew Draper <matthew@trebex.net> Notes: Merged: https://github.com/ruby/ruby/pull/12313
2024-12-12[ruby/prism] Decode %r like % stringsAaron Patterson
%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
2024-12-12[ruby/prism] Same numbered param cannot be used in child blocksAaron Patterson
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.com/ruby/prism/commit/d4fc441838
2024-12-11Use malloc for prism string sourceJohn Hawthorn
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 <tenderlove@ruby-lang.org> Co-authored-by: Matthew Draper <matthew@trebex.net> Notes: Merged: https://github.com/ruby/ruby/pull/12312
2024-12-11Use ruby_strdup/xfree in fast_fallbackJohn Hawthorn
Any memory allocated with xmalloc needs to be matched with xfree rather than plain free. Ruby unfortunately redefines strdup to be ruby_strdup, which uses xmalloc so needs to be xfreed. Previously these were mismatched. This commit changes the copy to be an explicit ruby_strdup (to avoid confusion) and the free to be xfree. Notes: Merged: https://github.com/ruby/ruby/pull/12311
2024-12-11[ruby/prism] Fix percent delimiter strings with crlfseileencodes
parse.y treats CRLF as a LF and basically "normalizes" them before parsing. That means a string like `%\nfoo\r\n` is actually treated as `%\nfoo\n` for the purposes of parsing. This happens on both the opening side of the percent string as well as on the closing side. So for example `%\r\nfoo\n` must be treated as `%\nfoo\n`. To handle this in Prism, when we start a % string, we check if it starts with `\r\n`, and then consider the terminator to actually be `\n`. Then we check if there are `\r\n` as we lex the string and treat those as `\n`, but only in the case the start was a `\n`. Fixes: #3230 [Bug #20938] https://github.com/ruby/prism/commit/e573ceaad6 Co-authored-by: John Hawthorn <jhawthorn@github.com> Co-authored-by: eileencodes <eileencodes@gmail.com> Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-12-11YJIT: Fix unread field lint in release buildsAlan Wu
``` warning: fields `blue_begin` and `blue_end` are never read ``` Notes: Merged: https://github.com/ruby/ruby/pull/12310
2024-12-11YJIT: Disable static_mut_refs for nowAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/12310
2024-12-11YJIT: Use the correct size constantAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/12310
2024-12-11[ruby/prism] Bump typechecking depsKevin Newton
https://github.com/ruby/prism/commit/230c8b8a48
2024-12-11[rubygems/rubygems] Normalize CLI flag documentation and make sure all flags ↵David Rodríguez
are documented https://github.com/rubygems/rubygems/commit/20a834818b
2024-12-11[rubygems/rubygems] Add documentation for changelog flags in `bundle gem`Adam Leach
The --changelog and --no-changelog flags are missing from docs, this adds them in a way that matches other flags https://github.com/rubygems/rubygems/commit/92f77678fe
2024-12-11[rubygems/rubygems] Add missing `--pre` flag to `bundle update --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/21335a7378
2024-12-11[rubygems/rubygems] Add missing `--outdated` flag to `bundle show --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/2864e54ce3
2024-12-11[rubygems/rubygems] Add missing flags documentation to `bundle outdated --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/ad3b654bf3
2024-12-11[rubygems/rubygems] Add several missing flags to `bundle lock --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/4070da1264
2024-12-11[rubygems/rubygems] Add missing flag documentation to `bundle inject --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/2a01773cdb
2024-12-11[rubygems/rubygems] Add missing `--version` flag to `bundle info --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/5022b49e31
2024-12-11[rubygems/rubygems] Add several missing flags to `bundle gem --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/aaf6398870
2024-12-11[rubygems/rubygems] Add missing `--gemfile` flag to exec, lock, and update ↵David Rodríguez
command's help https://github.com/rubygems/rubygems/commit/418dfbf373
2024-12-11[rubygems/rubygems] Normalize whitespace in option lists in man pagesDavid Rodríguez
https://github.com/rubygems/rubygems/commit/33ff4f8f2f
2024-12-11[rubygems/rubygems] Add missing flag documentation to `bundle cache --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/b760a882a1
2024-12-11[rubygems/rubygems] Add missing `--all-platforms` flag to `bundle binstubs ↵David Rodríguez
--help` https://github.com/rubygems/rubygems/commit/440b7b8282
2024-12-11[rubygems/rubygems] Add missing `--glob` flag to `bundle add --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/1e4dc0a703
2024-12-11[rubygems/rubygems] Add missing `--target-rbconfig` flag to `bundle install ↵David Rodríguez
--help` https://github.com/rubygems/rubygems/commit/54dbcdc656
2024-12-11[rubygems/rubygems] Clarify `--target-rbconfig` option bannerDavid Rodríguez
https://github.com/rubygems/rubygems/commit/6625998ca6
2024-12-11[rubygems/rubygems] Add missing banners to `bundle exec` CLI flagsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c6f62b2eed
2024-12-11[rubygems/rubygems] Style CLI options consistentlyDavid Rodríguez
In one liners, no whitespace for alignment. https://github.com/rubygems/rubygems/commit/413339a9ca
2024-12-11[rubygems/rubygems] Avoid UTF-32 and UTF-16 strings with trailing bytes in ↵Josef Haider
truffleruby https://github.com/rubygems/rubygems/commit/5f8249471f
2024-12-11[rubygems/rubygems] Add missing man pages for `bundle env` and `bundle ↵David Rodríguez
licenses` commands https://github.com/rubygems/rubygems/commit/6e1a515d58
2024-12-11[rubygems/rubygems] Bring man pages up to dateDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8288cfd3e0
2024-12-11[rubygems/rubygems] Align all header lines with titles for consistencyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/83fd1c6718
2024-12-11[ruby/irb] Page the output in irb:rdbg sessions tooStan Lo
(https://github.com/ruby/irb/pull/1043) IRB started to page its evaluation output and it became a useful feature for users. However, in `irb:rdbg` sessions, the output is not paged so the sudden change in behavior is surprising and inconvenient. This commit makes `irb:rdbg` sessions page the output of the debugger too. https://github.com/ruby/irb/commit/8241ec9a0c
2024-12-11Use `rb_thread_fd_select` instead of select(2) (#12292)Misaki Shioi
* Use `rb_thread_fd_select` instead of select(2) For fixing https://bugs.ruby-lang.org/issues/20932 . `TCPSocket.new`, which internally uses select(2) for HEv2, can cause SEGV if the number of file descriptors exceeds `FD_SETSIZE`. This change avoids that issue by replacing select(2) with `rb_thread_fd_select`, which is provided as part of Ruby's internal API. --- This includes the following changes. * rb_thread_fd_select does not need common pipe Notes: Merged-By: shioimm <shioi.mm@gmail.com>
2024-12-11Update default gems list at 824642e883cf43ed6bf053b37ed7ee [ci skip]git
2024-12-11[ruby/digest] Bump up v3.2.0.pre0, preparing to stable releaseHiroshi SHIBATA
https://github.com/ruby/digest/commit/d19c84fd68
2024-12-11[Bug #20941] Bail out when recursing no memoryNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12307
2024-12-11Fixed upstream path of ruby/resolvHiroshi SHIBATA