summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2022-08-12Preserve each column positions in gems/bundled_gemsNobuyoshi Nakada
2022-08-12No bundled gems to be installed from gem nowNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6234
2022-08-12All extensions in bundled gems are built by build-ext nowNobuyoshi Nakada
`RbInstall::GemInstaller#build_extensions` has nothing to do. Notes: Merged: https://github.com/ruby/ruby/pull/6234
2022-08-07Fix files for gemspec files direct-under libNobuyoshi Nakada
Collected `files` lacked `lib` prefix. Notes: Merged: https://github.com/ruby/ruby/pull/6219 Merged-By: nobu <nobu@ruby-lang.org>
2022-08-05Sync new doc in Date (#6215)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-08-05Load gemspec file at that directoryNobuyoshi Nakada
Gemspec files generated by old bundler run `git` without changing the working directory. Or some gemspec files expect an owned file at the top exists ath the current working directory. Notes: Merged: https://github.com/ruby/ruby/pull/6203
2022-08-05Move to tool/lib/bundled_gem.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6203
2022-08-05Copy from bundled gem source for testNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6203
2022-08-04Use $(bindir) for path to executable in mkmfAlan Wu
For the macOS -bundle_loader linker option, we need a path to the Ruby exectuable. $(RUBY) is not necessarily a path since it could be a command line invocation. That happens during build with runruby.rb and can happen post installation if the user passes the --ruby option to a extconf.rb. Use $(bindir) to locate the executable instead. Before installation, $(bindir) doesn't exist, so we need to be able to override $(BUILTRUBY) in such situations so test-spec and bundled extensions could build. Use a new mkmf global, $builtruby, to do this; set it in fake.rb and in extmk.rb. Our build system is quite complex... Notes: Merged: https://github.com/ruby/ruby/pull/6193
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