summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2025-10-06tool/merger.rb: Fetch diff from GitHub instead of cgitTakashi Kokubun
Our cgit server has been shut down.
2025-10-06test-bundled-gems property fails if timed out on WindowsYO4
Use spawn with array to make SIGINT working effectively on Windows
2025-10-04Stop cloning the repository into another pathTakashi Kokubun
which seems to prevent it from fetching notes when the path is not the actual repository but a shallow-cloned repository.
2025-10-03Make sure GITHUB_TOKEN is setTakashi Kokubun
2025-10-03Fix a missing reference to config/email.ymlTakashi Kokubun
2025-10-03Migrate notes-github-pr to ruby/ruby (#14725)Takashi Kokubun
from ruby/git.ruby-lang.org as of: https://github.com/ruby/git.ruby-lang.org/commit/f3ed893e946ec66cac77af5859ac879c5983d3a3
2025-10-03Propagate secrets to environment variablesTakashi Kokubun
2025-10-03Migrate notify-slack-commits.rb to ruby/rubyTakashi Kokubun
from ruby/git.ruby-lang.org as of: https://github.com/ruby/git.ruby-lang.org/commit/b0dfa734297cc9aea33f24a1e29f8853cc5761e9
2025-10-03Set Ruby parser if the given ruby accepts `--parser`Nobuyoshi Nakada
Now envutil.rb is a part of test-unit-ruby-core gem, which still supports old versions, 2.3 or later.
2025-10-03Windows: Fallback to powershell if fiddle is not loadableNobuyoshi Nakada
2025-09-27Fix a check on pushrefTakashi Kokubun
Empty pushref is no longer given 9b5eb828025cf0b7c023325e6e086422bcada355
2025-09-27Reuse a cmd array created for printingTakashi Kokubun
Fixes 21c7131df818c1f7f571d4ccf9be150d2c9cc374 differently. This makes it less likely that the printed command is deviated from what's actually executed.
2025-09-22ZJIT: Improve `zjit_bisect.rb` (#14592)Stan Lo
ZJIT: Improve zjit_bisect.rb 1. The command name in the help message is outdated. 2. When the command failed by itself, the message can be clearer.
2025-09-18Pass -w to lsofJohn Hawthorn
2025-09-17Unset RUBY_CRASH_REPORT in tests that crash on purposeAlan Wu
2025-09-17test-bundled-gems.rb: Allow wildcards in `BUNDLED_GEMS`Nobuyoshi Nakada
2025-09-17fetch-bundled_gems.rb: Fix extraneous newlineNobuyoshi Nakada
Print a concatenated string instead of `print`ing multiple strings, since `$\` is set to `"\n"` because of `-l` command line option.
2025-09-17vcs.rb: Drop support for ruby older than 2.6Nobuyoshi Nakada
2025-09-17Skip `TestSyncWithCommits` on other than particular platformsNobuyoshi Nakada
No one uses `sync_default_gems_with` on other platforms; it is used by the dedicated workflow and a few developers only.
2025-09-17sync_default_gems.rb: Set git configurations for EOL code of logsNobuyoshi Nakada
2025-09-13Suppress warning from net/http.rb in ruby 3.1Nobuyoshi Nakada
When `-F` option is given to strip comments in bundled_gems file, `$;` is set to the regexp. On the other hand, old net/http.rb contained old CVS keyword expansion that is `split` with the default separator, and non-nil `$;` causes a warning. ```ruby Revision = %q$Revision$.split[1] ```
2025-09-13auto-style.rb: Adjust .y file as same as .cNobuyoshi Nakada
2025-09-13auto-style.rb: Allow to adjust the given filesNobuyoshi Nakada
2025-09-10Explicitly declare VM instruction dependencies (#14509)Takashi Kokubun
instead of mutating RubyVM::Instructions and letting the order of `require` impact its behavior. Now that we have both RubyVM::TraceInstruction and RubyVM::ZJITInstruction, it feels too much of a tight coupling to rely on `require` to be ordered properly.
2025-09-10Rename VM instruction classes to singular names (#14507)Takashi Kokubun
2025-09-07sync_default_gems.rb: Support `log.showSignature` caseNobuyoshi Nakada
2025-09-06Transform the manpages using the given substitutionNobuyoshi Nakada
2025-09-05ZJIT: Invalidate local variables on EP escape (#14448)Takashi Kokubun
2025-09-05Mark leaf defined instructions as leafAlan Wu
For example, `defined?(yield)` never calls a method, so it's leaf.
2025-09-05bare_instructions.rb: Remove unused always_leaf?Takashi Kokubun
83bc6ced920c51ffc3783b03f2e1c7f89f5c2fd5 was the last use of it.
2025-09-05insns.def: Drop unused leafness_of_check_intsTakashi Kokubun
It was used to let MJIT override the leafness of the instruction when it decides to remove check_ints for it. Now that MJIT is gone, nobody needs to "override" the leafness using this.
2025-09-04Drop unused tool/ruby_vm/views/_insn_sp_pc_dependency.erbTakashi Kokubun
MJIT was probably the last user of it. It's not even part of build dependencies now.
2025-09-03Added x64-mswin64-140 to lockfilesHiroshi SHIBATA
2025-09-03Completely remove `bundle viz` commandDavid Rodríguez
2025-08-29Document Makefile rules in tool/enc-unicode.rb [ci skip]Alan Wu
2025-08-25Skip rbs tests for pathname_bundle.rbHiroshi SHIBATA
``` Error: test_join(PathnameInstanceTest): NoMethodError: undefined method 'respond_to?' for an instance of RBS::UnitTest::Convertibles::ToStr /Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:94:in 'Pathname#join' /Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:94:in 'block (2 levels) in wrapped_object' /Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:152:in 'block in RBS::UnitTest::TypeAssertions#send_setup' /Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:150:in 'Kernel#catch' /Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:150:in 'RBS::UnitTest::TypeAssertions#send_setup' /Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:172:in 'RBS::UnitTest::TypeAssertions#assert_send_type' test/stdlib/Pathname_test.rb:389:in 'PathnameInstanceTest#test_join' 386: Pathname('.'), :join, 'foo' 387: assert_send_type '(String, String) -> Pathname', 388: Pathname('.'), :join, 'foo', 'bar' => 389: assert_send_type '(ToStr) -> Pathname', 390: Pathname('.'), :join, ToStr.new('foo') 391: assert_send_type '(Pathname) -> Pathname', 392: Pathname('.'), :join, Pathname('foo') ```
2025-08-20Revert the leftover of 90cb2bb871ff5d6d4d0dfbed2ee352c7ff818a87Nobuyoshi Nakada
2025-08-20Restore prism/srcs.mk filesHiroshi SHIBATA
2025-08-19Gererate prism source files dependencies from template.rbNobuyoshi Nakada
Update included file list automatically.
2025-08-18Exclude prism/generate-srcs.mk.rb from sync targets of prismHiroshi SHIBATA
2025-08-18Use autogen.sh if existsNobuyoshi Nakada
2025-08-18Use `File` instead of `IO`, for read/write singleton methodsNobuyoshi Nakada
2025-08-18Gererate prism source files dependencies from template.rbNobuyoshi Nakada
2025-08-18Fix dependencies of generated prism sources for NMakeNobuyoshi Nakada
The VPATH rule of NMake is different from others. Abandon using them in the rules for the generated source, locate them in the top source directory, as well as the generated library files of prism.
2025-08-15zjit_bisect.rb: Fix pipe deadlock; log when timed out [ci skip]Alan Wu
I spent a long time bisecting some largish program before realizing that failure was in fact coming from the child timing out due to zjit_bisect.rb not clearing the stdout and stderr pipe. Fix the pipe deadlock by redirecting to /dev/null. This sacrifices the debug output during boot, but for that we also get to remove a lot of code and the dependency on Open3.
2025-08-15Don't change Encoding.default_internal in assert_raise_with_messagePeter Zhu
For most tests (except two), we don't need to change Encoding.default_internal in assert_raise_with_message. We're trying to run the test suite across multiple Ractors and modifying Encoding.default_internal can cause other concurrently running tests to fail.
2025-08-15Fix RBS tests (#14220)Soutaro Matsumoto
* Use unreleased version of rbs * Skip all failing tests on windows
2025-08-13Ignore net-imap failures on Windows (#14216)Takashi Kokubun
2025-08-12ZJIT: Add flag to disable the HIR optimizer (#14181)Max Bernstein
Also add a check in the bisect script that can assign blame to the HIR optimizer.
2025-08-12Handle preperly comments in middle of lines in gems/bundled_gemsNobuyoshi Nakada