summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-05array.c: Remove unused `rb_ary_verify` functionJean Boussier
Notes: Merged: https://github.com/ruby/ruby/pull/12266
2024-12-05[ruby/json] Release 2.9.0Jean Boussier
https://github.com/ruby/json/commit/e1f6456499 Notes: Merged: https://github.com/ruby/ruby/pull/12267
2024-12-05[ruby/json] Fix generate(script_safe: true) to not confuse unrelated charactersJean Boussier
Fix: https://github.com/ruby/json/issues/715 The first byte check was missing. https://github.com/ruby/json/commit/93a7f8717d Notes: Merged: https://github.com/ruby/ruby/pull/12267
2024-12-05Update bundled gems list at 0ef4a7d745f51751c12468d9452ede [ci skip]git
2024-12-05Bundle RBS 3.7 (#12265)Soutaro Matsumoto
Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2024-12-04Fix an off by one in `rb_ary_resize`Jean Boussier
When setting len to X we only need to grow the array if len is bigger than capa. If they're equal we don't need to increase capacity. Notes: Merged: https://github.com/ruby/ruby/pull/12262
2024-12-04YJIT: Generate specialized code for Symbol for objtostring (#12247)Maximillian Polhill
* YJIT: Generate specialized code for Symbol for objtostring Co-authored-by: John Hawthorn <john@hawthorn.email> * Update yjit/src/codegen.rs --------- Co-authored-by: John Hawthorn <john@hawthorn.email> Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-12-04Fix typos in public headers [ci skip]Alan Wu
2024-12-04YJIT: track time since initialization (#12263)Maxime Chevalier-Boisvert
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-12-04Fix ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS for MSANPeter Zhu
There's no case for when RUBY_MSAN_ENABLED, so the macro ends up doing nothing when it should instead have __attribute__((__no_sanitize__("memory"))). Notes: Merged: https://github.com/ruby/ruby/pull/12219
2024-12-04[ruby/prism] Add document CapturePatternNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/1ffd693f9b
2024-12-04[ruby/prism] Add document CaseMatchNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/a78da01ef6
2024-12-04[ruby/prism] Add document CaseNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/2f473b0713
2024-12-04[ruby/prism] Add document ClassVariableAndWriteNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/7be164e0b7
2024-12-04Use BUILDING_SHARED_GC instead of RB_AMALGAMATED_DEFAULT_GCPeter Zhu
We can use the BUILDING_SHARED_GC flag to check if we're building gc_impl.h as a shared GC or building the default GC. Notes: Merged: https://github.com/ruby/ruby/pull/12243
2024-12-04Update default gems list at 834d68238cfb4ffd701c65820c6d22 [ci skip]git
2024-12-04[ruby/did_you_mean] Bump version to 2.0.0Yuki Nishijima
https://github.com/ruby/did_you_mean/commit/1cce337962
2024-12-04[ruby/did_you_mean] Removed deprecated constants for Ruby 3.4Hiroshi SHIBATA
https://github.com/ruby/did_you_mean/commit/e11bf81438
2024-12-04[Bug #20928] Fix build when `malloc_usable_size` is availableNobuyoshi Nakada
Copy from gc/default/default.c and revert the part of 51bd81651794. Notes: Merged: https://github.com/ruby/ruby/pull/12260
2024-12-04[rubygems/rubygems] Rework `Bundler.which` testssodacris
Refactor to use real test cases rather than mock. Add relative path tests wich `Dir.chdir`. https://github.com/rubygems/rubygems/commit/ed556a0a53
2024-12-04[rubygems/rubygems] allow `bat` files to be created alongside with script ↵sodacris
files on Windows https://github.com/rubygems/rubygems/commit/ed5b847f03
2024-12-04[rubygems/rubygems] add relative path support for `bundle exec`sodacris
https://github.com/rubygems/rubygems/commit/c982085f86
2024-12-04Remove meaningless NULL checksYusuke Endoh
The functions dereference `*dead_entry` without a NULL check Notes: Merged: https://github.com/ruby/ruby/pull/12258
2024-12-04[ruby/shellwords] NUL char cannot be in shell wordsNobuyoshi Nakada
https://github.com/ruby/shellwords/commit/2c7ae1b76c
2024-12-04[ruby/logger] Enable log file rotation on WindowsNobuyoshi Nakada
Since ruby 2.3, a file opened with `File::SHARE_DELETE` and `File::BINARY` can be renamed or removed. https://github.com/ruby/logger/commit/7b6146fee6
2024-12-04[ruby/logger] Extract `Logger::LogDevice#handle_write_errors`Nobuyoshi Nakada
https://github.com/ruby/logger/commit/f904ad2f7c
2024-12-04Update bundled gems list as of 2024-12-04git
2024-12-04Added Bug #19266, Bug #20795 and net-http changes about removing deprecated ↵Hiroshi SHIBATA
constants to NEWS
2024-12-04Remove meaningless comma expressionYusuke Endoh
Coverity Scan alerts `for(i, j=0;...)` as a misuse of comma expression. Notes: Merged: https://github.com/ruby/ruby/pull/12256
2024-12-04Removed needless RSpec optionHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12252
2024-12-04Use same RSPECOPTS for test-bundler and test-bundler-parallelHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12252
2024-12-04Simplify test-bundler-parallelNobuyoshi Nakada
Get rid of repeated exec XRUBY recursively. Notes: Merged: https://github.com/ruby/ruby/pull/12252
2024-12-04Remove meaningless NULL checksYusuke Endoh
In this context, `th` must not be NULL Notes: Merged: https://github.com/ruby/ruby/pull/12253
2024-12-04Bump github/codeql-action from 3.27.5 to 3.27.6dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.5 to 3.27.6. - [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/f09c1c0a94de965c15400f5634aa42fac8fb8f88...aa578102511db1f4524ed59b8cc2bae4f6e88195) --- 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/12251
2024-12-04[ruby/psych] Do not depend on the evaluation order of C argumentsYusuke Endoh
The evaluation order of C arguments is unspecified. `RSTRING_LEN(value)` would fail if the conversion to a String by `StringValuePtr(value)` is not done yet. Coverity Scan found this issue. https://github.com/ruby/psych/commit/d1e6bf323a
2024-12-03[ruby/irb] Don't show 'Maybe IRB bug!' in show_source and ls commandtomoya ishida
(https://github.com/ruby/irb/pull/1039) https://github.com/ruby/irb/commit/9eb14a3a0b
2024-12-03Move external_gc_loaded_p to gc_functionsPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/12242
2024-12-04Do not depend on the evaluation order of C argumentsYusuke Endoh
The evaluation order of C arguments is unspecified. `RSTRING_LEN(str)` would fails if the conversion to a String by `StringValuePtr` is not done yet. Coverity Scan found this issue. Notes: Merged: https://github.com/ruby/ruby/pull/12209
2024-12-03[ruby/prism] Add document CallOperatorWriteNode fieldsydah
Partially fixes: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/f1f8776973
2024-12-03[ruby/prism] Add document CallOrWriteNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/3c01cc7c77
2024-12-03[ruby/prism] Add document CallTargetNode fieldsydah
Partially: https://github.com/ruby/prism/issues/2123 https://github.com/ruby/prism/commit/649ef29c29
2024-12-03[DOC] Rename "GC module" to "GC library" in NEWS.mdPeter Zhu
2024-12-03Fix use of getaddrinfo_shared->lockJohn Hawthorn
In some locations we were using shared->lock and in others &shared->lock, and we were leaking the allocated memory. Notes: Merged: https://github.com/ruby/ruby/pull/12239
2024-12-03Use the edge version of typeprofYusuke Endoh
It should work on Windows, hopefully Notes: Merged: https://github.com/ruby/ruby/pull/12240
2024-12-03Fixed wrong instruction with mswin buildHiroshi SHIBATA
2024-12-03[ruby/timeout] removed the non numeric checkCosmic Oppai
https://github.com/ruby/timeout/commit/7d2af46a00 Co-authored-by: Jeremy Evans <code@jeremyevans.net>
2024-12-03[ruby/timeout] updated doc stringCosmic Oppai
https://github.com/ruby/timeout/commit/4be6423de4 Co-authored-by: Jeremy Evans <code@jeremyevans.net>
2024-12-03[ruby/timeout] updated testsCosmicOppai
https://github.com/ruby/timeout/commit/c6d121aa18
2024-12-03[ruby/timeout] updated doc and kept the nil compatiabilityCosmicOppai
https://github.com/ruby/timeout/commit/f992632cf3
2024-12-03[ruby/timeout] refactor the change to raise for nil and type-errror and ↵CosmicOppai
added tests https://github.com/ruby/timeout/commit/ffc8d7c003