summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2022-07-29Keep gitignore for libyaml source with psychHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6200
2022-07-27Do not load library files from repository only for testNobuyoshi Nakada
What we want to test should be the bundled and to be installed files, but not the upstream. Notes: Merged: https://github.com/ruby/ruby/pull/6188 Merged-By: nobu <nobu@ruby-lang.org>
2022-07-26Try the tag without "v" prefix to checkout upstream repositoriesNobuyoshi Nakada
2022-07-268fa66467de is broken with rubygems/rubygems and flori/json.Hiroshi SHIBATA
Revert "Fix sync_default_gems.rb to use absolute path" This reverts commit 8fa66467de82f787ead9dd901ad06694c79d88dc.
2022-07-25Fix sync_default_gems.rb to use absolute pathPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/6182
2022-07-25For rdoc, copy doc/rdoc to doc/ (#6181)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-07-25Use built bundled gems in test-bundled-gemsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6175
2022-07-24Kill bundled gem tests when interruptedNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6173
2022-07-21Expand tabs [ci skip]Takashi Kokubun
[Misc #18891] Notes: Merged: https://github.com/ruby/ruby/pull/6094
2022-07-18Separate TS_IVC and TS_ICVARC in is_entries buffersJemma Issroff
This allows us to treat cvar caches differently than ivar caches. Notes: Merged: https://github.com/ruby/ruby/pull/6148
2022-07-17`Gem.unpack` extracts gems so able to executeNobuyoshi Nakada
Creates simple bin stubs to load the extracted executable files. After only extracted under `gems` directory, the gems are considered installed but the executable scripts are not found. Also the second argument is now the parent of the previous second and third arguments. Notes: Merged: https://github.com/ruby/ruby/pull/6145
2022-07-17Create build-only gemspec files only if having an extensionNobuyoshi Nakada
2022-07-16Fix conversion from absolute path to relative pathNobuyoshi Nakada
2022-07-16Avoid to symlink under symlinkNobuyoshi Nakada
2022-07-16Disable parallel built in test-bundled-gemsNobuyoshi Nakada
2022-07-16Move copying/linking extra files to Makefile so removed by `clean`Nobuyoshi Nakada
2022-07-15Implement Objects on VWAPeter Zhu
This commit implements Objects on Variable Width Allocation. This allows Objects with more ivars to be embedded (i.e. contents directly follow the object header) which improves performance through better cache locality. Notes: Merged: https://github.com/ruby/ruby/pull/6117
2022-07-14Set `GEM_PATH` environment variable in runruby.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6130
2022-07-14Try to install also gemspec files under gem directoriesNobuyoshi Nakada
Gemspec files having extension libraries are placed under each gem directories now. Notes: Merged: https://github.com/ruby/ruby/pull/6130
2022-07-14Make dependency-free gemspec filesNobuyoshi Nakada
The default gems have not been installed yet in the build directory, bundled gems depending on them can not work. As those dependencies should be usable there even without rubygems, make temporary gemspec files without the dependencies, and use them in the build directory. Notes: Merged: https://github.com/ruby/ruby/pull/6130
2022-07-14Extract gemspec files to each gem directoriesNobuyoshi Nakada
Since extension libraries can not be built in the source directory, rubygems warns gems have extension libraries as the extensions are not built. To order to suppress this warnings, extract such gemspec files under each gem directories instead of the common `specifications` directory. Notes: Merged: https://github.com/ruby/ruby/pull/6130
2022-07-13Bundled gem extensions are out of scope of update-depsNobuyoshi Nakada
2022-07-13Merge RubyGems and Bundler masterHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6124
2022-07-09Use `File::PATH_SEPARATOR` for the portabilityNobuyoshi Nakada
2022-07-07Fallback `mkdir_p` to `as_mkdir_p`Nobuyoshi Nakada
Assume `mkdir -p` to be race-free on recent systems. And we do not provide install-sh anyway.
2022-07-05Add `--stdout-on-failure`, the reverse of `--stderr-on-failure`Nobuyoshi Nakada
2022-07-05Separate failed output optionNobuyoshi Nakada
It is unrelated to `GlobOption` at all.
2022-06-30Adjust indent [ci skip]Nobuyoshi Nakada
2022-06-29Move function to `static inline` so we don't have leaked globalsAaron Patterson
This function shouldn't leak and is only needed during instruction assembly Notes: Merged: https://github.com/ruby/ruby/pull/6069
2022-06-25Prevent accidental use of assert_raisesNobuyoshi Nakada
2022-06-24Sync RubyGems & Bundler with upstream repoDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/6054
2022-06-22vcs.rb: ignore configuration files get rid of aliases [ci skip]Nobuyoshi Nakada
2022-06-22vcs.rb: just one log to check if `--date` option works [ci skip]Nobuyoshi Nakada
2022-06-22vcs.rb: show diagnostic/progressing messages when debugging [ci skip]Nobuyoshi Nakada
2022-06-17tool/extlibs.rb: Use Exception#message for older rubiesAlan Wu
This script runs with BASERUBY, which can be as old as 2.2.x. Exception#full_message is new in 2.5.0. I saw a NoMethodError on the AppVeyor CI where BASERUBY is 2.4.6: https://ci.appveyor.com/project/ruby/ruby/builds/43870654/job/kae4uo2xbhuhqmdw#L121
2022-05-25Hack to avoid leak checkerNobuyoshi Nakada
2022-05-24[ruby/date] Constify gperf-generated tableNobuyoshi Nakada
https://github.com/ruby/date/commit/6d7ab08ffc
2022-05-20Rename test_jit to test_mjitTakashi Kokubun
to avoid confusion with YJIT
2022-05-16Add `make test-annocheck` to detect security issues.Jun Aruga
* Note that as the annocheck binary package is not available on Ubuntu, and it is working in progress in Debian, the script uses Fedora container, and it requires docker or podman command. https://www.debian.org/devel/wnpp/itp.en.html https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926470 * .github/workflows/compilers.yml: Add "gcc-11 annocheck" case. To pass the CI, set `TEST_ANNOCHECK_OPTS: "--skip-pie --skip-notes"` for now. See <https://bugs.ruby-lang.org/issues/18061>. * Skip MJIT tests in case of annocheck case. The MJIT tests fail in the annocheck case. See <https://bugs.ruby-lang.org/issues/18781>. Notes: Merged: https://github.com/ruby/ruby/pull/5900
2022-05-13Stop `build_extensions` when DESTDIR setKazuhiro NISHIYAMA
Try to fix `make install without root privilege` failures on snapshot CIs. example: https://github.com/ruby/actions/actions/runs/2315349280
2022-05-10Honor --with-thread option to enable pthreadNobuyoshi Nakada
2022-04-25[DOC] Move :nodoc: so rdoc finds `RbConfig.ruby`Alan Wu
Rdoc [build] of `master` did not have this method but the reference manual [did]. [build]: https://docs.ruby-lang.org/en/master/RbConfig.html [did]: https://docs.ruby-lang.org/ja/master/class/RbConfig.html#S_RUBY Notes: Merged: https://github.com/ruby/ruby/pull/5843 Merged-By: XrXr
2022-04-22rbinstall: Also do `Gem.ruby` patching for unpacked bundled gemsAlan Wu
Pointing `Gem.ruby` to the newly installed ruby gives mkmf the right inputs to build extensions in bundled gems. Previously, this patching was only done for compressed bundled gems. This patch also prevents `tool/fake.rb` from propagating to the child process running mkmf for the native extension. The way `tool/fake.rb` changes mkmf variables using `Kernel#trace_var` created spooky action at a distance which made debugging difficult. AppVeyor Windows CI started to fail starting with 8a3663789c52ec5635194656af6b69d3d03120ee because it enabled extension building for bundled gems on mswin. This patch should address the CI failures. Notes: Merged: https://github.com/ruby/ruby/pull/5838
2022-04-20Added assert_true and assert_false same as test-unit gemHiroshi SHIBATA
2022-04-16Extract `pipe_readlines` method which reads from the pipelineNobuyoshi Nakada
2022-04-16Simplify the condition expression to ignore commitsNobuyoshi Nakada
2022-04-16Do not import any files under rakelibNobuyoshi Nakada
2022-04-16Fix bundled gems installation when relative loadingNobuyoshi Nakada
2022-04-13Skip build extensions again on cross compiling tooKazuhiro NISHIYAMA
2022-04-13Skip build extensions again on mswin and mingwKazuhiro NISHIYAMA