summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2022-12-21Put RubyVM::MJIT::Compiler under ruby_vm directory (#6989)Takashi Kokubun
[Misc #19250] Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-12-22Fix the case trailer without newlineNobuyoshi Nakada
cf0b413ef8b794ef6e7436f22fd5a998050dada9
2022-12-21Set up RBS_SKIP_TESTS (#6862)Soutaro Matsumoto
* Set up RBS_SKIP_TESTS Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2022-12-21[DOC] tool/update-NEWS-refs.rb: Align footnotesNobuyoshi Nakada
2022-12-21[DOC] tool/update-NEWS-refs.rb: Remove extra bracketsNobuyoshi Nakada
Surrounding with brackets is just a convention for the bugs tracker links.
2022-12-21tool/m4/ruby_wasm_tools.m4: force passing WASI_SDK_PATH when building for wasiYuta Saito
Make the WASI_SDK_PATH variable mandatory when building for wasi host. This requirement prevents developers from being stuck due to unfriendly configuration's error message. Notes: Merged: https://github.com/ruby/ruby/pull/5464
2022-12-20expand-config.rb: search revision.h to extract release dateNobuyoshi Nakada
2022-12-19tool/update-NEWS-refs.rb: Accept non-redmine url linksYusuke Endoh
2022-12-16Update NEWS.mdYusuke Endoh
Regexp optimization and Wasm support are added.
2022-12-16Removed temporary workaround for syntax_suggest tagsHiroshi SHIBATA
2022-12-15Merge RubyGems/Bundler masterHiroshi SHIBATA
Pick from https://github.com/rubygems/rubygems/commit/084f7d1f21f6fc3e2bb685b7bda3653fb2891c6e Notes: Merged: https://github.com/ruby/ruby/pull/6936
2022-12-15Remove `require 'io/wait'` where it's no longer necessary. (#6932)Samuel Williams
* Remove `require 'io/wait'` as it's part of core now. * Update ruby specs using version gates. * Add note about why it's conditional. Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2022-12-14Use versioning sort for released version detectionHiroshi SHIBATA
2022-12-13Match ABI versions preciselyTakashi Kokubun
"3.2.0+33" starts with "3.2.0+3", but it doesn't mean that they are the same ABI version.
2022-12-13Fix build when enable_shared is on (#6924)Jimmy Miller
Before this change, if enable_shared was true, the directory would have a suffix of -static and be deleted on each make install. This would cause a second make install to fail. Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-12-14Pin syntax_suggest-1.0.1 manually because it mixed dead_end tagsHiroshi SHIBATA
2022-12-13Skip calling f.read for `overwrite: true`-only casesTakashi Kokubun
We only need to set outpath for that case.
2022-12-13Make sure f.read is not called twiceTakashi Kokubun
--revision.h and --if-change are not used simultaneously, but they might be in the future. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-12Avoid overwriting revision.h when .git doesn't exist (#6915)Takashi Kokubun
* Avoid overwriting revision.h when .git doesn't exist * Overwrite revision.h if it's blank Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-12-13Don't leave backup file aroundDavid Rodríguez
I suspect this was for debugging? If not, these days we have source control tools, so this wouldn't seem necessary? Notes: Merged: https://github.com/ruby/ruby/pull/6907
2022-12-12Display error messages outside the groups so can be found quicklyNobuyoshi Nakada
2022-12-12Fix positional argument color [ci skip]Nobuyoshi Nakada
2022-12-12outdate-bundled-gems.rb: check for gemspec files for extensionsNobuyoshi Nakada
https://github.com/ruby/setup-ruby/issues/415#issuecomment-1345662263
2022-12-12outdate-bundled-gems.rb: remove unused optionNobuyoshi Nakada
2022-12-12Merge RubyGems/Bundler masterHiroshi SHIBATA
from https://github.com/rubygems/rubygems/commit/bfb0ae69776069155d2092702bfbb5a12617d85a Notes: Merged: https://github.com/ruby/ruby/pull/6906
2022-12-10[DOC] Fix update-NEWS-refs.rbNobuyoshi Nakada
* Issue numbers are path components but not fragments * Align justification width to Feature lines
2022-12-08Don't sync jar artifact of CGIHiroshi SHIBATA
2022-12-07Stop transitioning to UNDEF when undefining an instance variableAaron Patterson
Cases like this: ```ruby obj = Object.new loop do obj.instance_variable_set(:@foo, 1) obj.remove_instance_variable(:@foo) end ``` can cause us to use many more shapes than we want (and even run out). This commit changes the code such that when an instance variable is removed, we'll walk up the shape tree, find the shape, then rebuild any child nodes that happened to be below the "targetted for removal" IV. This also requires moving any instance variables so that indexes derived from the shape tree will work correctly. Co-Authored-By: Jemma Issroff <jemmaissroff@gmail.com> Co-authored-by: John Hawthorn <jhawthorn@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6866
2022-12-07NEWS.md: Added some missing featuresYusuke Endoh
Also, tool/update-NEWS-refs.rb is added to help the update of NEWS.md.
2022-12-06[Bug #18623] Link only existing excutables to make runnable [ci skip]Nobuyoshi Nakada
2022-12-05tool/runruby.rb: remove LD_PRELOAD-like env-var options from runruby.rbYuta Saito
LD_PRELOAD sometimes forces loading libraries into unrelated executables. For example, macOS on recent Apple Silicon can execute arm64 and arm64e binaries by default, and /usr/bin/clang is built as arm64e. If Ruby is built as arm64, and mkmf launched through runruby.rb spawns /usr/bin/clang, dynamic loader tries to load libruby (arm64e) into clang (arm64). This force-load causes library load failure. In theory, we don't need both LD_PRELOAD and LD_LIBRARY_PATH at the same time, because executables requiring libruby already have libruby dependency, so LD_LIBRARY_PATH is enough for this case. Notes: Merged: https://github.com/ruby/ruby/pull/6857
2022-12-03downloader.rb: Select less components pathNobuyoshi Nakada
2022-12-03downloader.rb: Fix link to absolute cache pathNobuyoshi Nakada
2022-12-01MJIT: Use install = true for bundler/inlineTakashi Kokubun
It prints a `bundle install`-like output, which seems more useful than a silent output.
2022-12-01Use class methods of `File` over `Kernel.open` and `IO.read`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6834
2022-11-29MJIT: Rename mjit_compile_attr to mjit_sp_incTakashi Kokubun
There's no mjit_compile.inc, so no need to use this prefix anymore.
2022-11-29Extract outdate-bundled-gems.rbNobuyoshi Nakada
2022-11-28MJIT: Rename mjit_compiler.h to mjit_c.hTakashi Kokubun
because it exists primarily for generating mjit_c.rb.
2022-11-28sync_default_gems.rb: move default_branch to REPOSITORIESNobuyoshi Nakada
`sync_default_gems_with_commits` also needs the default branch. Notes: Merged: https://github.com/ruby/ruby/pull/6823
2022-11-28sync_default_gems.rb: suppress a duplicated range warningNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6823
2022-11-28sync_default_gems.rb: adjust indent [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6823
2022-11-28sync_default_gems.rb: extend for singleton methodsNobuyoshi Nakada
2022-11-28Fix the case of multiple trailersNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6820
2022-11-28Add tests for sync_default_gems.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6820
2022-11-27MJIT: Use a String buffer in builtin compilersTakashi Kokubun
instead of FILE*. Using C.fprintf is slower than String manipulation on memory. I'm going to change the way MJIT writes files, and this is a prerequisite for it.
2022-11-27MJIT: Clear .cache/clangd on bindgen if existsTakashi Kokubun
2022-11-25Do not use the same variable for multiple thingsTakashi Kokubun
`conv` proc is used before and after the `url` variable is updated. So this script didn't seem to behave correctly for the "Close #xxx" syntax. Reusing the same variable name for different things seems prone to errors.
2022-11-25Support other GitHub PR/issue syntaxesTakashi Kokubun
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
2022-11-21Use class methods of `File` over `Kernel.open` and `IO.read`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6777
2022-11-20Fix a broken interpolation #{head}Takashi Kokubun