summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
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
2025-08-08ZJII: Address review feedbackMax Bernstein
2025-08-08ZJIT: Actually kill timed-out process in bisectMax Bernstein
2025-08-08ZJIT: Use OptionParser in bisect scriptMax Bernstein
2025-08-08ZJIT: Use shellwords in bisect scriptMax Bernstein
2025-08-08ZJIT: Print out command to repro in bisect scriptMax Bernstein
2025-08-05Added missing block argumentHiroshi SHIBATA
2025-08-05Sync https://github.com/ruby/test-unit-ruby-core/pull/8Hiroshi SHIBATA
2025-08-05Pathname is now core class.Hiroshi SHIBATA
We will restore this sync target when `lib/pathname.rb` is migrated to `pathname_builtin.rb` and backport that file to `ruby/pathname` repo.
2025-07-30[rubygems/rubygems] Bump vendored thor to 1.4.0David Rodríguez
https://github.com/rubygems/rubygems/commit/8078a747b3
2025-07-29ZJIT: Create delta debugging script to narrow JIT failures (#14041)Max Bernstein
Add support for `--zjit-allowed-iseqs=SomeFile` and `--zjit-log-compiled-iseqs=SomeFile` so we can restrict and inspect which ISEQs get compiled. Then add `jit_bisect.rb` which we can run to try and narrow a failing script. For example: plum% ../tool/zjit_bisect.rb ../build-dev/miniruby "test.rb" I, [2025-07-29T12:41:18.657177 #96899] INFO -- : Starting with JIT list of 4 items. I, [2025-07-29T12:41:18.657229 #96899] INFO -- : Verifying items I, [2025-07-29T12:41:18.726213 #96899] INFO -- : step fixed[0] and items[4] I, [2025-07-29T12:41:18.726246 #96899] INFO -- : 4 candidates I, [2025-07-29T12:41:18.797212 #96899] INFO -- : 2 candidates Reduced JIT list: bar@test.rb:8 plum% We start with 4 compiled functions and shrink to just one.
2025-07-29Fix the current parser detectionNobuyoshi Nakada
Since `RUBY_DESCRIPTION` contains the branch name, `/prism/i` can match unexpectedly. Extract the feature lists between revision and platform infos.
2025-07-25Split autogenerated dependency to depend file from common.mkHiroshi SHIBATA
2025-07-22Skip test_ln_sr(FileUtilsSingletonTest) ib rbs testsHiroshi SHIBATA
https://github.com/ruby/fileutils/pull/139 https://github.com/ruby/actions/actions/runs/16425309325/job/46414287784
2025-07-17Omit local variable definitions only used with `LOCAL_PTR()`Nobuyoshi Nakada
2025-07-17Set development version to Bundler 2.8.0.dev and RubyGems 3.8.0.devDavid Rodríguez
Next version for both will be 4.0.0, however, extra work is necessary to get CI passing against the new major. So for now, I'm bumping just the minor version.
2025-07-10[Bug #19417] Make word prop match join_control ...Janosch Müller
... to conform to UTS 18 as mentioned in https://bugs.ruby-lang.org/issues/19417#note-3 https://unicode.org/reports/tr18/#word states word should match join_control chars. It currently does not: ```ruby [*0x0..0xD799, *0xE000..0x10FFFF].map { |n| n.chr 'utf-8' } => all_chars all_chars.grep(/\p{join_control}/) => jc jc.count # => 2 jc.grep(/\p{word}/).count # => 0 ```
2025-07-10[rubygems/rubygems] Update vendored resolv to 0.6.2Hiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/afbbc02763
2025-07-03Extract last-modified time after fetch completesNobuyoshi Nakada
2025-07-03Prefer autotools repository mirror for build-aux filesNobuyoshi Nakada
gcc master is still using 2021 version files.
2025-07-03Drop HTTP support in downloader.rbNobuyoshi Nakada
The only use case is access to `repo.or.cz`, and it redirects HTTP requests to HTTPS now.
2025-07-03Remove old `bundle.rb` script usageDavid Rodríguez
2025-07-03Adapt to upstream change in Bundler specsDavid Rodríguez
2025-07-02[rubygems/rubygems] Migrate all remaining specs to run offlineDavid Rodríguez
Also removed the helper to install real gems during specs to avoid the temptation of introducing network stuff again. https://github.com/rubygems/rubygems/commit/a1ab5e319a
2025-07-02[rubygems/rubygems] Migrate `bundle viz` specs to run offlineDavid Rodríguez
https://github.com/rubygems/rubygems/commit/672722cd4d