summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2022-11-20sync_default_gems.rb: Fix substitution [ci skip]Nobuyoshi Nakada
As there should be no modified files just affter `git cherry-pick` succeeded in `sync_default_gems_with_commits`, reset to the previous revision once to pick up the committed files.
2022-11-19Run skipped minitest tests that now passAlan Wu
The mentioned PR was merged. Notes: Merged: https://github.com/ruby/ruby/pull/6768
2022-11-18rename SHAPE_BITS to SHAPE_ID_NUM_BITSAaron Patterson
Notes: Merged: https://github.com/ruby/ruby/pull/6737
2022-11-18tool/generic_erb.rb: Add a hack to prevent "unused variable" warningsYusuke Endoh
2022-11-18Revert "tool/generic_erb.rb: Use ERB#result_with_hash instead of #result"Yusuke Endoh
This reverts commit bd148a2bdd0c1a4d7679eedcd649171cdb4234d7. ERB#result_with_hash does not work on Ruby 2.2 https://ci.appveyor.com/project/ruby/ruby/builds/45420170 ``` ../tool/generic_erb.rb:33:in `block (2 levels) in <main>': undefined method `result_with_hash' for #<ERB:0x0000000002516650> (NoMethodError) ```
2022-11-18tool/generic_erb.rb: Use ERB#result_with_hash instead of #resultYusuke Endoh
to prevent the warnings: ``` ./tool/generic_erb.rb:23: warning: assigned but unused variable - output ./tool/generic_erb.rb:24: warning: assigned but unused variable - vpath ```
2022-11-16Remove duplicate `.rbinc` on `.rb` dependenciesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6742
2022-11-15Let mjit-bindgen use BASERUBY and bundle/inline (#6740)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-11-16Depending on revision.h with VPATHNobuyoshi Nakada
2022-11-15MJIT: Fix vm_cc_cme(cc).def.type to use bit fieldTakashi Kokubun
access properly. Because the libclang node had two children, it wasn't handled well by the pattern matching for the bit field case. In addition to that, this bit field has a non-1 width. Because we're returning true/false for a width-1 bit field, I added another behavior that works like a char value for bit fields with width 2-8.
2022-11-15Update RSpec gemsDavid Rodríguez
2022-11-14Remove USE_RVARGC codeAaron Patterson
We don't need this constant to be exposed anymore, so remove it Notes: Merged: https://github.com/ruby/ruby/pull/6728
2022-11-14Import shape constants with mjit-bindgenTakashi Kokubun
2022-11-14Import class constants with mjit-bindgenTakashi Kokubun
2022-11-13Try to overwrite the file in VPATH if possibleNobuyoshi Nakada
2022-11-10Preprocess for older bison is no longer neededNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6701
2022-11-07jobserver option may not be at the lastNobuyoshi Nakada
2022-11-07Set `autoclose:` for inherited FDs only [ci skip]Nobuyoshi Nakada
2022-11-06GNU make 4.4 now uses a fifo for the jobserverNobuyoshi Nakada
2022-11-04Don't report changed ENV caused by BundlerPeter Zhu
Bundler's backups changes environment variables starting with BUNDLER_ORIG_. This causes a lot of noise in tests as the leakchecker reports them as changed.
2022-11-04mkconfig.rb: take CPU name from arch flagNobuyoshi Nakada
2022-11-04sync_default_gems.rb: fix a typo [ci skip]Nobuyoshi Nakada
2022-11-04sync_default_gems.rb: fix the position to insert the original URLNobuyoshi Nakada
Since the regexp had expected an empty line before `Co-Authored-By:` trailer lines, it failed to match when the body has the trailer only.
2022-11-04sync_default_gems.rb: accept log input from other than STDINNobuyoshi Nakada
2022-11-02Fix crash in test runner on timeoutPeter Zhu
When a test worker hangs and timeouts, the test runner crashes with the following stack trace: ruby/tool/lib/test/unit.rb:1747:in `puke': undefined method `backtrace' for Timeout::Error:Class (NoMethodError) from ruby/tool/lib/test/unit.rb:790:in `block in _run_parallel' from ruby/tool/lib/test/unit.rb:788:in `each' This commit adds handling for Timeout::Error and outputs a message.
2022-11-02file2lastrev.rb: changed revision may be `nil` [ci skip]Nobuyoshi Nakada
When `--suppress_not_found` option is given, no revision information is available. And remove extraneous newline, when result is empty or ends with a newline.
2022-11-02file2lastrev.rb: try to overwrite the found revision.h as beforeNobuyoshi Nakada
2022-11-02file2lastrev.rb: separate options for `Output` and `VPath`Nobuyoshi Nakada
So the `--srcdir` option in this file can override the same option in `VPath`.
2022-11-01file2lastrev.rb: use output.rb for the optionsNobuyoshi Nakada
2022-11-01file2lastrev.rb: rename output as formatNobuyoshi Nakada
Also: - format -> time_format - output -> formatter
2022-11-01output.rb: extract from generic_erb.rbNobuyoshi Nakada
- writing to a file or stdout - touching timestamp files - overwriting only if changed - colorizing
2022-11-01colorize.rb: support for NO_COLORNobuyoshi Nakada
2022-11-01vpath.rb: tweak --vpath option messageNobuyoshi Nakada
2022-11-01vcs.rb: do not reference the constant before assignmentNobuyoshi Nakada
2022-10-30vcs.rb: copy safe directory configurationNobuyoshi Nakada
Now revision.tmp will be regenerated always and every times, even if the recent file exists in the source directory, as far as using git. On the other hand, VirtualBox mounts shared folders as root, and git rejects the repository there as dubious ownership. Notes: Merged: https://github.com/ruby/ruby/pull/6647
2022-10-30vcs.rb: prettify debug printNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6647
2022-10-28sync_default_gems.rb: do not add extra empty lines [ci skip]Nobuyoshi Nakada
2022-10-28sync_default_gems.rb: append orignal commit URLs to subject only logNobuyoshi Nakada
2022-10-25sync_default_gems.rb: Ignore unmergeable files [ci skip]Nobuyoshi Nakada
2022-10-24Remove iv_index_tbl_entryJohn Hawthorn
Notes: Merged: https://github.com/ruby/ruby/pull/6610
2022-10-24Strip trailing spaces [ci skip]Nobuyoshi Nakada
2022-10-24Fix error when commit hash is removed [ci skip]Nobuyoshi Nakada
2022-10-19Fix and improve coroutines for Darwin (macOS) ppc/ppc64. (#5975)Sergey Fedorov
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2022-10-19sync_default_gems.rb: commit all after replaced rdoc-ref [ci skip]Nobuyoshi Nakada
2022-10-18sync_default_gems.rb: fold too long subject [ci skip]Nobuyoshi Nakada
Line with substituted issue references with URLs are often very long. Although Git (and GitHub) recommends folding subject lines less than 50 columns, but many commits ignore this, so fold at 68 columns for now.
2022-10-17ruby/ruby-commit-hook has been renamed [ci skip]Takashi Kokubun
to ruby/git.ruby-lang.org
2022-10-18sync_default_gems.rb: fix links to GitHub issuesNobuyoshi Nakada
- Substitute `GH-xxxx` which does not contain `#` too. - Split each substitutions.
2022-10-13Only expose Ruby Shape API if VM_CHECK_MODE is enabledAaron Patterson
2022-10-13Revert "FreeBSD make uses the target under srcdir [ci skip]"Nobuyoshi Nakada
This reverts commit 751ffb276f658518c6fe06461a9d3d1c136c7d5d, which caused build failures on other platforms.
2022-10-13FreeBSD make uses the target under srcdir [ci skip]Nobuyoshi Nakada