summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
19 hoursGererate prism source files dependencies from template.rbNobuyoshi Nakada
Update included file list automatically.
42 hoursExclude prism/generate-srcs.mk.rb from sync targets of prismHiroshi SHIBATA
44 hoursUse autogen.sh if existsNobuyoshi Nakada
44 hoursUse `File` instead of `IO`, for read/write singleton methodsNobuyoshi Nakada
2 daysGererate prism source files dependencies from template.rbNobuyoshi Nakada
2 daysFix 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.
4 dayszjit_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.
4 daysDon'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.
5 daysFix RBS tests (#14220)Soutaro Matsumoto
* Use unreleased version of rbs * Skip all failing tests on windows
6 daysIgnore net-imap failures on Windows (#14216)Takashi Kokubun
7 daysZJIT: 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.
8 daysHandle preperly comments in middle of lines in gems/bundled_gemsNobuyoshi Nakada
11 daysZJII: Address review feedbackMax Bernstein
11 daysZJIT: Actually kill timed-out process in bisectMax Bernstein
11 daysZJIT: Use OptionParser in bisect scriptMax Bernstein
11 daysZJIT: Use shellwords in bisect scriptMax Bernstein
11 daysZJIT: 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
2025-07-02Fixup 9dc60de4fcdHiroshi SHIBATA
Sync erb.gemspec to under the `lib/erb/ directory.
2025-06-30Rewrite specs to not start local dev serversDavid Rodríguez
They cause flakies when different tests start them in parallel, and also make the specs more complicated.
2025-06-29`github.event.pull_request.merge_commit_sha` may be emptyNobuyoshi Nakada
2025-06-28Remove `git`-related files in unpacked gemsNobuyoshi Nakada
These files, including `.github` directory, are useless unless the repository itself is contained as well.
2025-06-27[Bug #21453] Override `files` in gemspec file before `eval`Nobuyoshi Nakada
`executables` are often extracted from the `files` in gemspec files.
2025-06-25Override `files` of bundled gem specsNobuyoshi Nakada
Use the actual files unpacked from the gem. The recent rdoc.gemspec uses different code than expected by rbinstall.rb, which resulted in the result list not being overwritten and the template files not being installed.
2025-06-25Simplify Set#inspect outputJeremy Evans
As Set is now a core collection class, it should have special inspect output. Ideally, inspect output should be suitable to eval, similar to array and hash (assuming the elements are also suitable to eval): set = Set[1, 2, 3] eval(set.inspect) == set # should be true The simplest way to do this is to use the Set[] syntax. This deliberately does not use any subclass name in the output, similar to array and hash. It is more important that users know they are dealing with a set than which subclass: Class.new(Set)[] # this does: Set[] # not: #<Class:0x00000c21c78699e0>[] This inspect change breaks the power_assert bundled gem tests, so add power_assert to TEST_BUNDLED_GEMS_ALLOW_FAILURES in the workflows. Implements [Feature #21389]
2025-06-24Remove trailing spacesNobuyoshi Nakada
2025-06-20Dump with debugger just onceNobuyoshi Nakada
2025-06-20Fix indents in macrosNobuyoshi Nakada
2025-06-20Do not fetch already fetched commitsNobuyoshi Nakada
2025-06-19Fix EnvUtil::Debugger#dumpNobuyoshi Nakada
- Send outputs from debugger to stderr - Use `%W` to interpolate the pid Notes: Merged: https://github.com/ruby/ruby/pull/13656
2025-06-18Restore ignored test target for mswinHiroshi SHIBATA
2025-06-18Enabled the released versions of bundled gems that are working fine with ↵Hiroshi SHIBATA
Ruby HEAD