summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-15vm_setivar_slowpath: improve bug error messageJean Boussier
We're occasionally hitting this bug on CI, it would be useful to see if the id is consistent.
2023-11-15Adjust spaces [ci skip]Nobuyoshi Nakada
2023-11-15No need to save `$VERBOSE`Nobuyoshi Nakada
2023-11-15Separate tests for Hash only from tests for Hash and its subclassesNobuyoshi Nakada
2023-11-15Escape and quote non-local variable namesNobuyoshi Nakada
2023-11-15Remove invariant conditionNobuyoshi Nakada
The `while` loop condition dereferences `cfp` and no `break` there, `cfp` cannot be NULL just after the loop.
2023-11-15[rubygems/rubygems] User bundler UA when downloading gemsSamuel Giddins
Gem::RemoteFetcher uses Gem::Request, which adds the RubyGems UA. Gem::RemoteFetcher is used to download gems, as well as the full index. We would like the bundler UA to be used whenever bundler is making requests. This PR also avoids unsafely mutating the headers hash on the shared `Gem::RemoteFetcher.fetcher` instance, which could cause corruption or incorrect headers when making parallel requests. Instead, we create one remote fetcher per rubygems remote, which is similar to the connection segregation bundler is already doing https://github.com/rubygems/rubygems/commit/f0e8dacdec
2023-11-15Fix IRB tests (#8925)Hiroshi SHIBATA
* Revert "Fixup da2c2931a60" This reverts commit e1978a905a32af2d48b6e9efb6d0fe1656fddc5b. * Revert "Skip Type completion tests related with IRB::VERSION" This reverts commit da2c2931a602da22bc1fd10dc41f5c3a117bf502. * require irb/version to test IRB::VERSION --------- Co-authored-by: tompng <tomoyapenguin@gmail.com>
2023-11-15Fixup da2c2931a60Hiroshi SHIBATA
2023-11-15test: Follow-up fix for #8916Yuta Saito
`test_thread_trace` is also flaky due to the same reason as #8916. https://rubyci.s3.amazonaws.com/centos7/ruby-master/log/20231114T213002Z.fail.html.gz https://rubyci.s3.amazonaws.com/wsl2/ruby-master/log/20231114T090003Z.fail.html.gz
2023-11-15Skip Type completion tests related with IRB::VERSIONHiroshi SHIBATA
2023-11-15Revert "Tests of irb is still broken."Hiroshi SHIBATA
This reverts commit 5398bbcbab702907430ee019d07f5dcf2b0ce4af. We explicitly load rubygems at rubygems_ext.rb https://github.com/rubygems/rubygems/commit/8840d8507be72ff32bcbbdfb14e0b54efb364ffa
2023-11-14Resync prism delete bin/dotKevin Newton
2023-11-14[ruby/prism] Check value expressions on creating a nodeTSUYUSATO Kitsune
https://github.com/ruby/prism/commit/d60948bac3
2023-11-14[ruby/prism] Check value expressions on parsing arguments and assignmentsTSUYUSATO Kitsune
They are corresponding to `arg_value` in `parse.y`. https://github.com/ruby/prism/commit/a4a4834e0d
2023-11-14[ruby/prism] Rename librubyparser to libprismKevin Newton
librubyparser was an artifact of the prototype that was initially named ruby-parser. Instead, this renames it to libprism to be consistent with the actual name. https://github.com/ruby/prism/commit/8600b06811
2023-11-14[ruby/prism] Check value expressions on parsing arguments and assignmentsTSUYUSATO Kitsune
They are corresponding to `arg_value` in `parse.y`. https://github.com/ruby/prism/commit/a4a4834e0d
2023-11-14[ruby/prism] Add the ability to convert nodes to dotKevin Newton
https://github.com/ruby/prism/commit/3e4b4fb947
2023-11-14[ruby/prism] More consistent lex modes with %qKevin Newton
https://github.com/ruby/prism/commit/014f714ed1
2023-11-14[ruby/prism] Check value expressions on creating a nodeTSUYUSATO Kitsune
https://github.com/ruby/prism/commit/d60948bac3
2023-11-14[ruby/prism] Check value expressions on parsing arguments and assignmentsTSUYUSATO Kitsune
They are corresponding to `arg_value` in `parse.y`. https://github.com/ruby/prism/commit/a4a4834e0d
2023-11-14[ruby/prism] Add parse_value_expressionTSUYUSATO Kitsune
https://github.com/ruby/prism/commit/37fad74134
2023-11-14[ruby/prism] Add "Unexpected void value expression" errorTSUYUSATO Kitsune
https://github.com/ruby/prism/commit/88b7b8e1fc
2023-11-14[ruby/prism] fix: float suffix at end of fileMike Dalessio
Found by fuzzing. https://github.com/ruby/prism/commit/d77d4fe2b7
2023-11-14[ruby/prism] fix: nested heredoc dedentation use-after-freeMike Dalessio
Because the lex mode may be freed when popped, we need to store off this value for dedentation. https://github.com/ruby/prism/commit/64007322f5 Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2023-11-14Update bundled gems list at 6fb030e6f1f7cfe162f5db9fca0bc6 [ci skip]git
2023-11-14Skip TOPDIR testSoutaro Matsumoto
2023-11-14Update bundled gems manuallyHiroshi SHIBATA
2023-11-14Skip test_diff_* from rbs tests. It used bundle commandHiroshi SHIBATA
2023-11-14[DOC] Link Dir.exist? to File.directory?Nobuyoshi Nakada
2023-11-14[DOC] Describe Dir.homeNobuyoshi Nakada
2023-11-14[ruby/rdoc] Fix TIDYLINK after bracesNobuyoshi Nakada
(https://github.com/ruby/rdoc/pull/1015) TIDYLINK multi-word label should not include braces. https://github.com/ruby/rdoc/commit/41ad3191e9
2023-11-14test: Assert only events originated from the test_settracefunc.rb test fileYuta Saito
This test suite is flaky on CI, because the test asserts events from finalizers also. Tracing events from finalizers is not deterministic and is not a part of test interests, so this commit changes the test to assert only events originated from the test file itself.
2023-11-14[DOC] Adjust heading levelsNobuyoshi Nakada
So that the first headings would be the top-most headings.
2023-11-14[DOC] Fix doc/regexp.rdoc linksNobuyoshi Nakada
- Rename regexp.rdoc to exclude from "Pages". This file is for to be included in the "class Regexp" document, but it also appeared as a separate page duplicately. - Fix links on case-sensitive filesystems. - Fix to use rdoc-ref instead of converted HTML page names.
2023-11-14[ruby/prism] fix: Handle zero-length block parameters in invalid RubyMike Dalessio
Found by fuzzing. https://github.com/ruby/prism/commit/4cd6c8cf98
2023-11-14[rubygems/rubygems] improvement: include response body on fetch_http errorPaul Bob
https://github.com/rubygems/rubygems/commit/de4189af35
2023-11-13Don't overwrite shape capacity when removing ivarPeter Zhu
Other objects may be using the shape, so we can't change the capacity otherwise the other objects may have a buffer overflow.
2023-11-13Revert "Revert "Remove SHAPE_CAPACITY_CHANGE shapes""Peter Zhu
This reverts commit 5f3fb4f4e397735783743fe52a7899b614bece20.
2023-11-13Record more info from CALLCACHE in heap dumpsJohn Hawthorn
This records the called_id and klass from imemo_callcache objects in heap dumps.
2023-11-13[PRISM] Initialize keyword to silence warningJemma Issroff
2023-11-13YJIT: shrink `Context` down to 15 bytes (#8911)Maxime Chevalier-Boisvert
* WIP context refactoring * Refactor to remove Context.temp_mapping
2023-11-14test: Check file name in test_thread_add_trace_func alsoYuta Saito
For better assert failure diagnostics.
2023-11-13[rubygems/rubygems] TruffleRuby uses a bash prelude in default launchersBenoit Daloze
https://github.com/rubygems/rubygems/commit/e119f4208a
2023-11-13[ruby/prism] Add tests for error cases on #1791, #1807, and #1810TSUYUSATO Kitsune
https://github.com/ruby/prism/commit/231e965124
2023-11-13[ruby/reline] Fallback to 256color if COLORTERM != truecolortomoya ishida
(https://github.com/ruby/reline/pull/604) * Fallback to 256color if COLORTERM != truecolor * Add Reline::Face.force_truecolor to force truecolor without COLORTERM env https://github.com/ruby/reline/commit/090e1e4df0
2023-11-13[rubygems/rubygems] Make sure to `require "rubygems"` explicitlyNobuyoshi Nakada
This is also done in bundler/lib/bundler/rubygems_integration.rb, but bundler/lib/bundler.rb loads this file before it. https://github.com/rubygems/rubygems/commit/8840d8507b
2023-11-13[wasm] allocate Asyncify setjmp buffer in heapYuta Saito
`rb_jmpbuf_t` type is considerably large due to inline-allocated Asyncify buffer, and it leads to stack overflow even with small number of C-method call frames. This commit allocates the Asyncify buffer used by `rb_wasm_setjmp` in heap to mitigate the issue. This patch introduces a new type `rb_vm_tag_jmpbuf_t` to abstract the representation of a jump buffer, and init/deinit hook points to manage lifetime of the buffer. These changes are effectively NFC for non-wasm platforms.
2023-11-13Revert "Wrap rb_objspace_reachable_objects_from_root with RB_VM_LOCK"Jean Boussier
This reverts commit 76dc327eeffefe02577999fe5f8215f762a581b6.
2023-11-13Revert "Fix crash caused by concurrent ObjectSpace.dump_all calls"Jean Boussier
This reverts commit 9a62fd3cbae2ebb60e2f9cad782af1ad18db4319.