summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2024-12-11[ruby/fiddle] dlopen: add support for INPUT(-lXXX)Sutou Kouhei
GitHub: fix https://github.com/ruby/fiddle/pull/166 Arch Linux's libncurses.so uses this style. https://github.com/ruby/fiddle/commit/77d3dc934f
2024-12-11[ruby/fiddle] Implement `Fiddle::Pointer.read` and `.write` on theLars Kanis
FFI backend (https://github.com/ruby/fiddle/pull/165) https://github.com/ruby/fiddle/commit/0bd963d3b8
2024-12-11[ruby/fiddle] Fix the glob pattern to include `/usr/lib`Nobuyoshi Nakada
(https://github.com/ruby/fiddle/pull/164) Fix up #161. https://github.com/ruby/fiddle/commit/481651e836
2024-12-11Bump github/codeql-action from 3.27.6 to 3.27.7dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.6 to 3.27.7. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/aa578102511db1f4524ed59b8cc2bae4f6e88195...babb554ede22fd5605947329c4d04d8e7a0b8155) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/12306
2024-12-10YJIT: add MPLR talk link. Encourage users to use --yjit-mem-size (#12305)Maxime Chevalier-Boisvert
* Add MPLR talk. Encourage users to use --yjit-mem-size. * Improve text Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-12-10Improve NEWS.md for modular GC [DOC]Peter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/12281
2024-12-11Use `rb_str_conv_enc` for simplicityNobuyoshi Nakada
2024-12-10[Bug #20924] Fix reading with delimiter in wide character encodingsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12304
2024-12-10[Bug #20936] Fix #size for Range#reverse_eachKouhei Yanagita
Notes: Merged: https://github.com/ruby/ruby/pull/12301
2024-12-10Fix formatting of spec/ruby/optional/capi/ext/hash_spec.cAndrew Konchin
Notes: Merged: https://github.com/ruby/ruby/pull/12297
2024-12-10Update to ruby/spec@9f10222Andrew Konchin
Notes: Merged: https://github.com/ruby/ruby/pull/12297
2024-12-10Update to ruby/mspec@c600b8fAndrew Konchin
Notes: Merged: https://github.com/ruby/ruby/pull/12297
2024-12-10[ruby/reline] Fix line wrapped cursor positiontomoya ishida
(https://github.com/ruby/reline/pull/791) Cursor position calculation was wrong when the input line contains "\1" or CSI escape sequence. https://github.com/ruby/reline/commit/a1943daaf4
2024-12-10[ruby/resolv] Securerandom should be always availableDavid Rodríguez
https://github.com/ruby/resolv/commit/324c355eb7
2024-12-10[ruby/resolv] Build the extension library only when CRuby (FixNobuyoshi Nakada
https://github.com/ruby/resolv/pull/69) On JRuby no C compiler is available and this call results in a runtime error. https://github.com/ruby/resolv/commit/33105bc504
2024-12-10Update bundled gems list at 19b684637f1f8c6442e3d09ac0a6d5 [ci skip]git
2024-12-10Update bundled_gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12303