summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-17Workaround for VC 19.42.34433Nobuyoshi Nakada
Suddenly it began to add `_ucrt_int_to_float` by the recent version.
2024-11-16mkexports.rb: Revert removed flip-flopNobuyoshi Nakada
This reverts commit 63ae1e3cb5d302e5229143c00152328166d26780.
2024-11-16[ruby/io-nonblock] mark extension as ractor safeHoneyryderChuck
https://github.com/ruby/io-nonblock/commit/ba445b37d5
2024-11-15Update default gems list at 2a0f8d62b6f958b4df8fd806e4fea7 [ci skip]git
2024-11-15[ruby/syntax_suggest] v2.0.2Schneems
https://github.com/ruby/syntax_suggest/commit/e99b5ba287
2024-11-15[ruby/syntax_suggest] Explain why class existsSchneems
https://github.com/ruby/syntax_suggest/commit/8c36b0cb35
2024-11-15[ruby/syntax_suggest] Fix spellingSchneems
https://github.com/ruby/syntax_suggest/commit/9c78283363
2024-11-15[ruby/syntax_suggest] Freeze stringsSchneems
https://github.com/ruby/syntax_suggest/commit/b17bf0baca
2024-11-15Update `rubyarchdir` and `rubylibdir` as well for testsNobuyoshi Nakada
These are also different between build time and after installation. Notes: Merged: https://github.com/ruby/ruby/pull/12099
2024-11-15Disable HEv2 tests temporarily (#12097)Misaki Shioi
* Disable HEv2 tests temporarily To suppress error log output in CI. They should have been DISABLE in PR #12070. --- Additionally, the following fixes have been made: - Remove unnecessary `assert_separately` from the related tests Notes: Merged-By: shioimm <shioi.mm@gmail.com>
2024-11-15* append newline at EOF. [ci skip]git
2024-11-15Port test_warn_zeitwerk.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12098
2024-11-15Port test_warn_bootsnap_and_gem.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12098
2024-11-15Port test_warn_bootsnap_rubyarchdir_gem.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12098
2024-11-15Port test_warn_bootsnap.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12098
2024-11-15`rb_bug` prints a newline after the given message [ci skip]Nobuyoshi Nakada
2024-11-15Find .ext/common path from LOAD_PATH for out-of-place buildHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port test_no_warn_sub_feature.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port test_warn_sub_feature.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15fiddle provide sub-feature like fiddle/importHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port -r option test to RSpec examplesHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port bundle exec with shebang script to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port bundle exec warning check to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port test_no_warn_dependency.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port test_warn_dependency.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port test_no_warn_dash_gem.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15[ruby/net-http] Remove deprecated constantsNobuyoshi Nakada
These constants, isolated in net/http/backward.rb, have not only been deprecated since 2001, but have also had a warning since 2021. https://github.com/ruby/net-http/commit/265bfa929f
2024-11-15Bump github/codeql-action from 3.27.3 to 3.27.4dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.3 to 3.27.4. - [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/396bb3e45325a47dd9ef434068033c6d5bb0d11a...ea9e4e37992a54ee68a9622e985e60c8e8f12d9f) --- 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/12095
2024-11-15[ruby/syntax_suggest] Fix missing line break due to puts logicSchneems
In #225 it was reported that the output looks incorrect: ``` $ cat /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb def x.y.z end $ ruby /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb: --> /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb expected a delimiter to close the parametersunexpected '.', ignoring it > 1 def x.y.z > 2 end ``` Specifically: ``` expected a delimiter to close the parametersunexpected '.', ignoring it ``` However this does not show up when executing the debug executable: ``` $ bin/bundle exec exe/syntax_suggest /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb --> /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb expected a delimiter to close the parameters unexpected '.', ignoring it > 1 def x.y.z > 2 end ``` This is because `exe/syntax_suggest` uses STDOUT.puts while calling `ruby` with the filename uses a fake IO object represented by MiniStringIO. This class was incorrectly not adding a newline to the end of the print. The fix was to move the class to it's own file where it can be tested and then fix the behavior. close https://github.com/ruby/syntax_suggest/pull/225 https://github.com/ruby/syntax_suggest/commit/d2ecd94a3b Co-authored-by: Andy Yong <andyywz@gmail.com>
2024-11-15Make fast_fallback option false by default temporarily (#12070)Misaki Shioi
to suppress failing output in CI. Notes: Merged-By: shioimm <shioi.mm@gmail.com>
2024-11-14[rubygems/rubygems] Update test_project_sanity.rbDave Corson-Knowles
https://github.com/rubygems/rubygems/commit/279eefb8a3
2024-11-15Use environmental variable for bundled_gems_spec.rbHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12086
2024-11-15Port test_warn_redefined.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12086
2024-11-15Port test_warn_dash_gem.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12086
2024-11-15Port test_warn_bundled_gems.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12086
2024-11-14YJIT: Specialize String#dup (#12090)Takashi Kokubun
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-11-14[ruby/reline] Drop loading terminfo, remove fiddle dependency intomoya ishida
non-windows environment. (https://github.com/ruby/reline/pull/769) Reline works perfectly in most major terminal emulators without terminfo. In minor/old terminal emulator, we used to get key bindings from terminfo, but I think it is not used so much. https://github.com/ruby/reline/commit/3ceba3bff7
2024-11-14Fix a stack-buffer-overflow bugYusuke Endoh
http://ci.rvm.jp/results/trunk_asan@ruby-sp1/5408428 ``` ==3159643==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x796cf8f09041 at pc 0x6539bbf68ded bp 0x796cfadffcf0 sp 0x796cfadff4b8 READ of size 2 at 0x796cf8f09041 thread T13 #0 0x6539bbf68dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: cca267c7ae091060e1b82a6b4ed1aeaf00edebab) ``` Notes: Merged: https://github.com/ruby/ruby/pull/12089
2024-11-14YJIT: Specialize Integer#pred (#12082)Takashi Kokubun
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-11-15Do not wait connection attempt delay without in progress fds (#12087)Misaki Shioi
Do not wait Connection Attempt Delay without in progress fds Reset Connection Attempt Delay when connection fails and there is no other socket connection in progress. This is intended to resolve an issue that was temporarily worked around in Pull Request #12062. `TCPServer::new` (used in tests such as `TestNetHTTP_v1_2_chunked#test_timeout_during_non_chunked_streamed_HTTP_session_write`) can only connect over either IPv6 or IPv4, depending on the environment. Since HEv2 attempts to connect over IPv6 first, environments where IPv6 connections are unavailable return ECONNREFUSED immediately. In such cases, the client should immediately retry the connection over IPv4. However, HEv2 includes a specification for a "Connection Attempt Delay," where it waits 250ms after the previous connection attempt before starting the next one. This delay causes Net::OpenTimeout (100ms) to be exceeded while waiting for the next connection attempt to start. With this change, when a connection attempt fails, if there are sockets still attempting to connect and there are addresses yet to be tried, the Connection Attempt Delay will be resetted, allowing the next connection attempt to start immediately. --- Additionally, the following minor fixes have been made: - The `nfds` value used for select(2) is now reset with each wait. Notes: Merged-By: shioimm <shioi.mm@gmail.com>
2024-11-14Remove dependency of version.c on gc/gc.hPeter Zhu
version.c does not depend on gc/gc.h. Notes: Merged: https://github.com/ruby/ruby/pull/12088
2024-11-14rb_raise when attempting to set the GC implementation nameMatt Valentine-House
Instead of silently ignoring the key, we should raise to clearly tell the user that this key is read-only. Notes: Merged: https://github.com/ruby/ruby/pull/11872
2024-11-14rb_bug if rb_gc_impl_active_gc_name is too longMatt Valentine-House
This avoids the need to malloc, and reduces the complexity of truncating the long string for display in RUBY_DESCRIPTION. The developer of a GC implementation should be responsible for giving it a succinct name. Notes: Merged: https://github.com/ruby/ruby/pull/11872
2024-11-14Include the currently active GC in RUBY_DESCRIPTIONMatt Valentine-House
This will add +MOD_GC to the version string and Ruby description when Ruby is compiled with shared gc support. When shared GC support is compiled in and a GC module has been loaded using RUBY_GC_LIBRARY, the version string will include the name of the currently active GC as reported by the rb_gc_active_gc_name function in the form +MOD_GC[gc_name] [Feature #20794] Notes: Merged: https://github.com/ruby/ruby/pull/11872
2024-11-14Expose GC.config[:implementation], to query the currently active GCMatt Valentine-House
And a default and readonly key to the GC.config hash that names the current GC implementation. This is provided by each implementation by the API function rb_gc_impl_active_gc_name Notes: Merged: https://github.com/ruby/ruby/pull/11872
2024-11-14[rubygems/rubygems] URI::DEFAULT_PARSER.escape is obsoleted. We should use ↵Hiroshi SHIBATA
URI::RFC2396_PARSER.escape explicitly https://github.com/rubygems/rubygems/commit/64f026c9d4
2024-11-14[rubygems/rubygems] Revert "mustermann depends on URI::RFC2396_PARSER behavior"Hiroshi SHIBATA
This reverts commit https://github.com/rubygems/rubygems/commit/82b25dd75afd. https://github.com/rubygems/rubygems/commit/16adf53f23
2024-11-14Update default gems list at 0f5e3dca5a5856aec2fc916a4b566f [ci skip]git
2024-11-14[ruby/uri] Bump up v1.0.2Hiroshi SHIBATA
https://github.com/ruby/uri/commit/e46960a467
2024-11-14[ruby/uri] Check existence constants only URI moduleHiroshi SHIBATA
https://github.com/ruby/uri/commit/b6f583369a