summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-01-16[rubygems/rubygems] Introduce Spec::Path.sinatra_dependency_paths for ↵Hiroshi SHIBATA
sinatra mock server https://github.com/rubygems/rubygems/commit/0a168156d5
2025-01-16[rubygems/rubygems] Revert RubyGems plugins getting loaded on `Bundler.require`David Rodríguez
These changes were included when adding bundler plugin hooks for `Bundler.require`, but they seem completely unrelated to that feature, and have caused several issues. https://github.com/rubygems/rubygems/commit/8d56551dcf
2025-01-16[rubygems/rubygems] Extract logic to manipulate RUBYLIB in specs to a helperDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0057382bb1
2025-01-16[rubygems/rubygems] fix `@licenses` array unmarshallingMichael Rykov
https://github.com/rubygems/rubygems/commit/12f3e78c95
2025-01-16Fix callcc on Windows on ARM64Lars Kanis
Otherwise using callcc fails with a segfault for instance in this test case: TestEnsureAndCallcc#test_bug20655_extension_using_rb_ensure Notes: Merged: https://github.com/ruby/ruby/pull/12580
2025-01-16downloader.rb: Use keyword argumentsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12588
2025-01-16[DOC] Follow up link to heading changesNobuyoshi Nakada
The section "Special global variables" has changed: e021754db013ca9cd6dbd68b416425b32ee81490: Special Global Variables 2b4b513ef046c25c0a8d3d7b10a0566314b27099: Regexp Global Variables e50b7bf784b53ac126986dd7f9fd22ccc9b59c60: Regexp@Global+Variables Notes: Merged: https://github.com/ruby/ruby/pull/12587
2025-01-16[DOC] Add reference from global variables to equivalent MatchDataNobuyoshi Nakada
c.f. #21040 Notes: Merged: https://github.com/ruby/ruby/pull/12587
2025-01-16[DOC] Link to MarkupReference directlyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12586
2025-01-16Update bundled gems list at f78447c9e8de23c652322a0d5b1696 [ci skip]git
2025-01-16Define dummy lib_dir of win32oleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12583
2025-01-16Skip win32ole tests without Windows platformHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12583
2025-01-16Disabled to existence test for win32oleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12583
2025-01-16Migrate win32ole as bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12583
2025-01-15Align defined? implementations between parsers (#12584)Kevin Newton
Fixes [Bug #21043] Notes: Merged-By: kddnewton <[email protected]>
2025-01-16[ruby/prism] Increase value of PRISM_DEPTH_MAXIMUM to 10000Benjamin Quorning
The previous value of 1_000 was added with a reference to the Bison parser[^1], but the value of YYMAXDEPTH in the Bison docs is 10_000, not 1_000. [^1]: https://www.gnu.org/software/bison/manual/html_node/Memory-Management.html Fixes [Bug #21044] https://github.com/ruby/prism/commit/e098533ab4 Co-authored-by: Nony Dutton <[email protected]>
2025-01-16[ruby/json] Refactor JSONFixturesTestJean Boussier
https://github.com/ruby/json/commit/c69963fbe5
2025-01-15[ruby/psych] Update to SnakeYAML-Engine 2.9Charles Oliver Nutter
Fixes ruby/psych#689 https://github.com/ruby/psych/commit/ac887cdc76
2025-01-15Use existing vm variable for frozen strings in rb_gc_vm_weak_table_foreachPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/12582
2025-01-15[ruby/psych] remove vim settingsAaron Patterson
https://github.com/ruby/psych/commit/2f46abf4e1
2025-01-15[ruby/mmtk] Add mmtk_plan to GC.configPeter Zhu
https://github.com/ruby/mmtk/commit/67da9ea5b8
2025-01-15[ruby/irb] Colorize backref token bold green like global variablestomoya ishida
(https://github.com/ruby/irb/pull/1065) https://github.com/ruby/irb/commit/0b60a5be1d
2025-01-15[ruby/mmtk] Fix mmtk.hPeter Zhu
https://github.com/ruby/mmtk/commit/dbb4036be9
2025-01-15[ruby/prism] Mark some parser translator tests as being known failuresEarlopain
Without a change from `parser`, this is impossible to correctly handle. https://github.com/ruby/prism/commit/ca1d44e808
2025-01-15[ruby/mmtk] Bump mmtk-corePeter Zhu
https://github.com/mmtk/mmtk-core/pull/1261 fixes an issue where the following script causes a Rust panic: GC.disable 10_000.times { Object.new } puts GC.stat https://github.com/ruby/mmtk/commit/6191ee994a
2025-01-15Fix ENV tests on Windows on ARM64Lars Kanis
Due to the x64 emulation of Windows 11 on ARM the environment variable PROCESSOR_ARCHITECTURE is set by the process startup code. It must therefore be excluded from tests. Otherwise tests fail like so: ``` [30585/32394] TestProcess#test_execopts_unsetenv_others = 0.10 s 16) Failure: TestProcess#test_execopts_unsetenv_others [C:/Users/Lars/ruby/test/ruby/test_process.rb:446]: <""> expected but was <"PROCESSOR_ARCHITECTURE=ARM64\n">. [30616/32394] TestProcess#test_execopts_env = 0.16 s 17) Failure: TestProcess#test_execopts_env [C:/Users/Lars/ruby/test/ruby/test_process.rb:326]: <"PATH\n"> expected but was <"PATH\n" + "PROCESSOR_ARCHITECTURE\n">. ``` Notes: Merged: https://github.com/ruby/ruby/pull/12581
2025-01-15Move probes.h to all-incsNobuyoshi Nakada
It is platform dependent, should not generate by default.
2025-01-15Do not expand empty DESTDIRNobuyoshi Nakada
2025-01-15Expand `$destdir` to enable rdoc plugins for rubygemsNobuyoshi Nakada
`Gem::InstallerUninstallerUtils#regenerate_plugins_for` assumes that `plugins_dir` is an absolute path as same as the target plugin files. Notes: Merged: https://github.com/ruby/ruby/pull/12579
2025-01-15Update documents with the latest bundled gemsHiroshi SHIBATA
2025-01-15Removed sync target of rdocHiroshi SHIBATA
2025-01-15Update bundled gems list at 39cfba0b5e4dd37d9b92916b36f0e4 [ci skip]git
2025-01-15Disable to generate rubygems pluginHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12577
2025-01-15rdoc-srcdir can refer srcdir by itselfHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12577
2025-01-15Skip related tests with Gem::RDocHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12577
2025-01-15Fixed missing kpeg issue with test-bundled-gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12577
2025-01-15Use rdoc provided by bundled gems for generating ruby documentationHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12577
2025-01-15Migrate rdoc as bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12577
2025-01-15Link `bin` as well as `lib` so that `Gem.bin_path` worksNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12578
2025-01-15[ruby/erb] Make `@scanner_map` of `ERB::Compiler::Scanner` ractor-shareablewanabe
- Freeze on assignment - Recreate Hash on registration https://github.com/ruby/erb/commit/12d69fc2b3
2025-01-15[ruby/erb] Make `ERB::NOT_GIVEN` ractor-shareablewanabe
https://github.com/ruby/erb/commit/348777b5bf
2025-01-15Preserve `errno` in `rb_fiber_scheduler_unblock`. (#12576)Samuel Williams
[Bug #21038] Co-authored-by: Julian Scheid <[email protected]> Notes: Merged-By: ioquatix <[email protected]>
2025-01-14[PRISM] Handle forwarding inside evalKevin Newton
Fixes [Bug #21031] Notes: Merged: https://github.com/ruby/ruby/pull/12575
2025-01-14[ruby/mmtk] Add mmtk_worker_count to GC.configPeter Zhu
https://github.com/ruby/mmtk/commit/836a9059cb
2025-01-14Better handle regexp in the parser translatorEarlopain
Turns out, it was already almost correct. If you disregard \c and \M style escapes, only a single character is allowed to be escaped in a regex so most tests passed already. There was also a mistake where the wrong value was constructed for the ast, this is now fixed. One test fails because of this, but I'm fairly sure it is because of a parser bug. For `/\“/`, the backslash is supposed to be removed because it is a multibyte character. But tbh, I don't entirely understand all the rules. Fixes more than half of the remaining ast differences for rubocop tests
2025-01-14[ruby/prism] Support forwarding flags on scopesKevin Newton
When parent scopes around an eval are forwarding parameters (like *, **, &, or ...) we need to know that information when we are in the parser. As such, we need to support passing that information into the scopes option. In order to do this, unfortunately we need a bunch of changes. The scopes option was previously an array of array of strings. These corresponded to the names of the locals in the parent scopes. We still support this, but now additionally support passing in a Prism::Scope instance at each index in the array. This Prism::Scope class holds both the names of the locals as well as an array of forwarding parameter names (symbols corresponding to the forwarding parameters). There is convenience function on the Prism module that creates a Prism::Scope object using Prism.scope. In JavaScript, we now additionally support an object much the same as the Ruby side. In Java, we now have a ParsingOptions.Scope class that holds that information. In the dump APIs, these objects in all 3 languages will add an additional byte for the forwarding flags in the middle of the scopes serialization. All of this is in service of properly parsing the following code: ```ruby def foo(*) = eval("bar(*)") ``` https://github.com/ruby/prism/commit/21abb6b7c4
2025-01-14[ruby/mmtk] Exit with error message if MMTK_PLAN is invalidPeter Zhu
https://github.com/ruby/mmtk/commit/79ce2008a3
2025-01-14Add tests for Proc#parameters on `it` blocksAlan Wu
[Bug #20955]
2025-01-14[ruby/mmtk] Exit with error message if MMTK_HEAP_MODE is invalidPeter Zhu
https://github.com/ruby/mmtk/commit/c8b1f4c156
2025-01-14[ruby/mmtk] Add tests for when MMTK_HEAP_MIN >= MMTK_HEAP_MAXPeter Zhu
https://github.com/ruby/mmtk/commit/65b34b5e86