summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-16[ruby/securerandom] Only define compatible method in < Ruby 3.3Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/2c8cdfba7b
2024-12-16[ruby/securerandom] Restore SecureRandom.alphanumeric same as ↵Hiroshi SHIBATA
Random::Formatter.alphanumeric of Ruby 3.3/3.4 Fixes https://github.com/ruby/securerandom/pull/35 https://github.com/ruby/securerandom/commit/fbb36e36cc
2024-12-16[ruby/psych] Don't autolink Exception in psych module docszzak
https://docs.ruby-lang.org/en/master/Psych.html#module-Psych-label-Exception+handling https://github.com/ruby/psych/commit/c53c298222
2024-12-16Update default gems list at 2f315667eb11c80793912e944abfa8 [ci skip]git
2024-12-16[ruby/timeout] Bump up v0.4.3Hiroshi SHIBATA
https://github.com/ruby/timeout/commit/607d8c6fbe
2024-12-16Update default gems list at 379128dcbf19c0777333b8c1a86bf5 [ci skip]git
2024-12-16[ruby/digest] Bump up v3.2.0Hiroshi SHIBATA
https://github.com/ruby/digest/commit/26c757fe9a
2024-12-16Update default gems list at 939c92e8dc9bd86442957b620a517b [ci skip]git
2024-12-16Lock released version of fiddle-1.1.6Hiroshi SHIBATA
2024-12-16[ruby/fiddle] ffi_backend: convert numeric function args to pointersDani Smith
(https://github.com/ruby/fiddle/pull/162) This allows for passing integers as pointer arguments to functions when using the FFI backend. This is a workaround until we can get JRuby's FFI implementation to allow for it directly (see also https://github.com/jruby/jruby/pull/8423) --------- https://github.com/ruby/fiddle/commit/e2f0952e9b Co-authored-by: Benoit Daloze <eregontp@gmail.com>
2024-12-16Update default gems list at 41e24c2f3e9a5ff29cccbfe92ecf4d [ci skip]git
2024-12-16[ruby/strscan] [DOC] Add syntax highlighting to MarkDown code blocksAlexander Momchilov
(https://github.com/ruby/strscan/pull/126) Split off from https://github.com/ruby/ruby/pull/12322 https://github.com/ruby/strscan/commit/9bee37e0f5
2024-12-16[ruby/strscan] Bump versionSutou Kouhei
https://github.com/ruby/strscan/commit/fd140b8582
2024-12-16[DOC] Fix broken parameter display and see links for Socketnvh0412
Notes: Merged: https://github.com/ruby/ruby/pull/12350
2024-12-16Rollback repl_type_completor-0.1.7 because the test of 0.1.8 is failing with ↵Hiroshi SHIBATA
Ruby master https://github.com/ruby/ruby/actions/runs/12343218221/job/34443981066?pr=12351#step:14:456 Notes: Merged: https://github.com/ruby/ruby/pull/12351
2024-12-16Update bundled_gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12351
2024-12-15[DOC] Adjust argument unpacking docs and document **nil (#12228)Victor Shepelev
[DOC] Rewrite argument unpacking docs and document **nil Notes: Merged-By: zverok <zverok.offline@gmail.com>
2024-12-15[rubygems/rubygems] Fix broken link to license fileStan Lo
https://github.com/rubygems/rubygems/commit/76cb4aad70
2024-12-15[ruby/rdoc] Hide hamburger on desktopJames Reid-Smith
(https://github.com/ruby/rdoc/pull/1237) * Clean up the duplicate definitions and unnecessary print styling * Hides the navigation toggle when there's enough room to always display the navigation * Update lib/rdoc/generator/template/darkfish/css/rdoc.css --------- https://github.com/ruby/rdoc/commit/c6193bf1e2 Co-authored-by: Stan Lo <stan001212@gmail.com>
2024-12-15[ruby/rdoc] Fix iPad Pro navigation not shownJames Reid-Smith
(https://github.com/ruby/rdoc/pull/1236) Found this issue when I was debugging the navigation toggle. I noticed it first in the chrome dev tools, but it was also reproducible on an iPad Pro. Symptom: - On iPad Pro, the navigation section is hidden but there's enough space to show it. Making the user have to click the hamburger button to show it but it's not necessary to hide the navigation section. - On desktop, the navigation section is shown. - On mobile, the navigation section is hidden until the hamburger button is clicked. Fix: - The javascript code was matching 1024px instead of 1023px. The media sections of the css was altering the layout on 1024px. So ipad got the full desktop layout but the navigation section was hidden. https://github.com/ruby/rdoc/commit/1794e59755
2024-12-15[ruby/reline] Refactor Reline::Unicode ed_ vi_ em_ methodstomoya ishida
(https://github.com/ruby/reline/pull/720) * Refactor Reline::Unicode vi_ ed_ em_ methods * Make Reline::Unicode's vi_ ed_ em_ method encoding safe https://github.com/ruby/reline/commit/cdd7288978
2024-12-15[Bug #20940] [PRISM] Support NO_COLORNobuyoshi Nakada
Also use bold/faint SGR when possible. Notes: Merged: https://github.com/ruby/ruby/pull/12329
2024-12-15[Bug #20951] [DOC] About UTC offset calculation after `utc_to_local`Nobuyoshi Nakada
2024-12-15[DOC] Sort the NEWS entries alphabeticallyNobuyoshi Nakada
2024-12-15[Bug #20927] Fix compile_shareable_literal_constant for hash with keyword splattompng
Compilation of NODE_HASH in compile_shareable_literal_constant does not support hash that contains keyword splat. If there is a keyword splat, fallback to default case. Notes: Merged: https://github.com/ruby/ruby/pull/12338
2024-12-15Fix links to syntax/literals.rdocStan Lo
Notes: Merged: https://github.com/ruby/ruby/pull/12348
2024-12-15Fix broken links to `Socket.tcp_fast_fallback=`Stan Lo
Since it's a singleton method, it should be referenced as `Socket.tcp_fast_fallback=`, not `Socket#tcp_fast_fallback=`. Notes: Merged: https://github.com/ruby/ruby/pull/12348
2024-12-15Add date to doc/.documentStan Lo
Otherwise, dozens of links to date/calendars.rdoc will still be broken after https://github.com/ruby/date/pull/113 Notes: Merged: https://github.com/ruby/ruby/pull/12346
2024-12-15[ruby/date] Fix broken rdoc-ref to the calendar pageStan Lo
https://github.com/ruby/date/commit/cb52e64be1
2024-12-15Update NEWS.md for `Socket.tcp` and `TCPSocket.new` (#12347)Misaki Shioi
Notes: Merged-By: shioimm <shioi.mm@gmail.com>
2024-12-14[ruby/irb] Fix broken rdoc-ref caused by a typoStan Lo
(https://github.com/ruby/irb/pull/1049) https://github.com/ruby/irb/commit/cdc88fe87f
2024-12-14[ruby/rdoc] Fix dead links in the markup reference pageStan Lo
(https://github.com/ruby/rdoc/pull/1242) https://github.com/ruby/rdoc/commit/d1cb9dc3c4
2024-12-14Extract `NUM2WV` macroNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12345
2024-12-14Improve APIs for Globally Enabling/Disabling fast_fallback in Socket (#12257)Misaki Shioi
This change includes the following updates: - Added an environment variable `RUBY_TCP_NO_FAST_FALLBACK` to control enabling/disabling fast_fallback - Updated documentation and man pages - Revised the implementation of Socket.tcp_fast_fallback= and Socket.tcp_fast_fallback, which previously performed dynamic name resolution of constants and variables. As a result, the following performance improvements were achieved: (Case of 1000 executions of `TCPSocket.new` to the local host) Rehearsal ----------------------------------------- before 0.031462 0.147946 0.179408 ( 0.249279) after 0.031164 0.146839 0.178003 ( 0.346935) -------------------------------- total: 0.178003sec user system total real before 0.027584 0.138712 0.166296 ( 0.233356) after 0.025953 0.127608 0.153561 ( 0.237971) Notes: Merged-By: shioimm <shioi.mm@gmail.com>
2024-12-14[DOC] Fix grammar errors, typos, and improve readability of string.rbStan Lo
Because this file's comments have one extra space after the `#` sign, almost every line is updated. IMO, it's better to address this issue in one go. Co-authored-by: Jeremy Evans <code@jeremyevans.net> Notes: Merged: https://github.com/ruby/ruby/pull/12151 Merged-By: jeremyevans <code@jeremyevans.net>
2024-12-13Fix incorrect rdoc-ref links in array.rbStan Lo
Notes: Merged: https://github.com/ruby/ruby/pull/12344
2024-12-13[PRISM] Blocks are also a syntax error in array assignmentMatt Valentine-House
Actually close [Bug #20952] Notes: Merged: https://github.com/ruby/ruby/pull/12343
2024-12-13Fix threads stuck as zombie under M:NJohn Hawthorn
In this case thread_sched_switch0 never returns, so we would never end up setting finished to true. Fixes [Bug #20638] Notes: Merged: https://github.com/ruby/ruby/pull/12080
2024-12-13[PRISM] using []= to set kwargs is a syntax errorMatt Valentine-House
Fixes [Bug #20952] Notes: Merged: https://github.com/ruby/ruby/pull/12342
2024-12-13[DOC] [Feature #20205] Document the new power of String#+@Alan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/12341
2024-12-13[DOC] NEWS: Mention String#+@ change with chilled stringAlan Wu
From experience, a not insignificant number of people run into this when trying upgrade. Also it's good to bring up `+@` because it's relevant in general to the topic. [Feature #20205] Notes: Merged: https://github.com/ruby/ruby/pull/12341
2024-12-13[DOC] NEWS: Drop code quotes to get RDoc crossrefAlan Wu
But leave constants alone because of https://github.com/ruby/rdoc/issues/1011
2024-12-13[DOC] Have RDoc pick up Fiber::Scheduler#blocking_operation_waitAlan Wu
... and list it.
2024-12-13[DOC] Improve array.rb documentation (#12340)Alex Rocha
* Fix grammar errors, typos, and improve readability of array.rb * [DOC] Remove an extra space --------- Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2024-12-13[DOC] Fix incorrect `Array#fetch_values` examples (#12337)Kouhei Yanagita
[DOC] Fix incorrect Array#fetch_values examples Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2024-12-13[ruby/irb] Avoid generating documentation pages for internalStan Lo
components (https://github.com/ruby/irb/pull/1047) https://github.com/ruby/irb/commit/f57025a35e
2024-12-13Update default gems list at 598c6cfe80242e4392338881f46bf7 [ci skip]git
2024-12-13[ruby/rdoc] Bump version to v6.9.0Stan Lo
https://github.com/ruby/rdoc/commit/dba9474732
2024-12-13YJIT: Speculate block arg for `c_func_method(&nil)` calls (#12326)Alan Wu
A good amount of call sites always pass nil as block argument, but the nil doesn't show up in the context. Put a runtime guard for those cases to handle it. Particular relevant for the `ruby-lsp` benchmark in `yjit-bench`. Up to a 2% speedup across headline benchmarks. Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org> Co-authored-by: Kevin Menard <kevin@nirvdrum.com> Co-authored-by: Randy Stauner <randy.stauner@shopify.com> Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-12-13Fix use-after-free in ep in Proc#dup for ifunc procsPeter Zhu
[Bug #20950] ifunc proc has the ep allocated in the cfunc_proc_t which is the data of the TypedData object. If an ifunc proc is duplicated, the ep points to the ep of the source object. If the source object is freed, then the ep of the duplicated object now points to a freed memory region. If we try to use the ep we could crash. For example, the following script crashes: p = { a: 1 }.to_proc 100.times do p = p.dup GC.start p.call rescue ArgumentError end This commit changes ifunc proc to also duplicate the ep when it is duplicated. Notes: Merged: https://github.com/ruby/ruby/pull/12319