summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2023-03-02Fix rbs (#7415)Soutaro Matsumoto
* Update RBS to skip validation task * Revert TEST_BUNDLED_GEMS_ALLOW_FAILURES Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2023-02-28fix test/rubygems/test_gem_package_task.rb when in -j modelukeg
This test skipped sometimes due to failure to load 'rake/packagetask'. This is due to manipulation of $LOAD_PATH by other rubygems tests. If rake is loaded before any rubygems tests run, then it works fine. To reproduce the skipping behavior: $ make test-all TESTOPTS="-j6 --test-order=sorted test/rubygems/test_*.rb" Notes: Merged: https://github.com/ruby/ruby/pull/7394
2023-02-27Prefer to use File.foreach instead of IO.foreachHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7387
2023-02-26Fix autoconf RUBY_STACK_GROW_DIRECTION on ARM devicesBen Hamilton
Notes: Merged: https://github.com/ruby/ruby/pull/7373
2023-02-24Fix incorrect line numbers in GC hookPeter Zhu
If the previous instruction is not a leaf instruction, then the PC was incremented before the instruction was ran (meaning the currently executing instruction is actually the previous instruction), so we should not increment the PC otherwise we will calculate the source line for the next instruction. This bug can be reproduced in the following script: ``` require "objspace" ObjectSpace.trace_object_allocations_start a = 1.0 / 0.0 p [ObjectSpace.allocation_sourceline(a), ObjectSpace.allocation_sourcefile(a)] ``` Which outputs: [4, "test.rb"] This is incorrect because the object was allocated on line 10 and not line 4. The behaviour is correct when we use a leaf instruction (e.g. if we replaced `1.0 / 0.0` with `"hello"`), then the output is: [10, "test.rb"]. [Bug #19456] Notes: Merged: https://github.com/ruby/ruby/pull/7357
2023-02-24Fix RubyVM::CExpr#inspectPeter Zhu
@__LINE__ can be nil which causes the inspect method to fail. Notes: Merged: https://github.com/ruby/ruby/pull/7357
2023-02-22Refine exception messages when git failedNobuyoshi Nakada
2023-02-22Use `Gem::Package#build` instead of the class method for old baserubyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7347
2023-02-22Clone and create dummy gemspec in sequential buildNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7347
2023-02-22Move dummy gemspec file creation for extract-gems-sequentialNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7347
2023-02-21Fix detection of compiler_wd in tool/update-depsMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/7331
2023-02-19Create a dummy minitest.gemspec for a bundled gemYusuke Endoh
To use the repository version of bundled gems, we need to build a gem by "gem build", but the repository of minitest does not include minitest.gemspec because it uses hoe. This change creats a dummy minitest.gemspec to pass the CI. Notes: Merged: https://github.com/ruby/ruby/pull/7339
2023-02-13Apply zone offset to the last modified timeNobuyoshi Nakada
2023-02-10Enhancement github releases generatorHiroshi SHIBATA
* Create GitHub Releases by itself * Added help and usage message * Decorate release body
2023-02-09Avoid to duplicate entries that own redmine and github idsHiroshi SHIBATA
2023-02-09Added helper script for generate github releasesHiroshi SHIBATA
2023-02-08Removed svn feature from make-snapshotHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7269
2023-02-01fix to work with the case default issue is usedNARUSE, Yui
2023-01-31Silence dozens of useless warnings from `nm` on macOSNobuyoshi Nakada
2023-01-31Add quotes to backport fieldNARUSE, Yui
2023-01-31mkconfig: Map `includedir` only for system rubyNobuyoshi Nakada
Only when installing to the system path on macOS, prepend '$(SDKROOT)' and remap `includedir`. Fix https://github.com/rbenv/ruby-build/discussions/2123 Notes: Merged: https://github.com/ruby/ruby/pull/7197
2023-01-27YJIT: Fix shared/static library symbol leaksAlan Wu
Rust 1.58.0 unfortunately doesn't provide facilities to control symbol visibility/presence, but we care about controlling the list of symbols exported from libruby-static.a and libruby.so. This commit uses `ld -r` to make a single object out of rustc's staticlib output, libyjit.a. This moves libyjit.a out of MAINLIBS and adds libyjit.o into COMMONOBJS, which obviates the code for merging libyjit.a into libruby-static.a. The odd appearance of libyjit.a in SOLIBS is also gone. To filter out symbols we do not want to export on ELF platforms, we use objcopy after the partial link. On darwin, we supply a symbol list to the linker which takes care of hiding unprefixed symbols. [Bug #19255] Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/7115
2023-01-26Fix `target_cpu` at runtimeNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7186
2023-01-26Filter spec directory for code coverageHiroshi SHIBATA
2023-01-26Ignore all of tool directory from code coverage, It contains tool/test and etc.Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7185
2023-01-26Ignore vendored libraries by rubygems from code coverageHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7185
2023-01-26filter coverage result with vendored libraries and test codeHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7185
2023-01-26[Bug #19340] Fix bundle gems with test revisionNobuyoshi Nakada
Build temporary gem package from cloned repository if test revision is set. Notes: Merged: https://github.com/ruby/ruby/pull/7146
2023-01-25Support simplecov-0.22.0.Hiroshi SHIBATA
simplecov-0.22.0 no longer support pre-0.18 result format. result data needs `lines` key for coverage data.
2023-01-23Silence dozens of useless warnings from `ranlib` on macOS [ci skip]Nobuyoshi Nakada
2023-01-21tool/leaked-globals: ignore function typedef [ci skip]Nobuyoshi Nakada
2023-01-18Make installation messages verbose a little [ci skip]Nobuyoshi Nakada
2023-01-18Switch to use gem version of simplecov, not git cloneHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7137
2023-01-18Supressing warnings messages like:Hiroshi SHIBATA
Ignoring debug-1.7.1 because its extensions are not built. Try: gem pristine debug --version 1.7. Revert "Clear gem paths for each test" This reverts commit 6698b580ddad8cfa8c5c86df9328472820d3ee6a.
2023-01-15Clear gem paths for each testNobuyoshi Nakada
So that rubygems can find the bundled rake. Notes: Merged: https://github.com/ruby/ruby/pull/7122
2023-01-13[DOC] Add gem lists to NEWS.md automaticallyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7104
2023-01-13[DOC] Changed gem list style in NEWS.mdNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7104
2023-01-13[DOC] Extract tool/update-NEWS-gemlist.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7104
2023-01-11Skip rbs Encoding#replicate testBenoit Daloze
Notes: Merged: https://github.com/ruby/ruby/pull/7079
2023-01-10Just ignore empty lines in bundled_gems file [ci skip]Nobuyoshi Nakada
2023-01-10Fixed a typoHiroshi SHIBATA
2023-01-08Adjust spec of bundler like as `sync_default_gems` [ci skip]Nobuyoshi Nakada
2023-01-08Ignore LICENSE files of libraries vendored in rubygems [ci skip]Nobuyoshi Nakada
2023-01-05Skip Test::Unit::AutoRunner logic in ruby/ruby repositoryHiroshi SHIBATA
2023-01-05[ruby/openssl] Stop AutoRunner with test-unitHiroshi SHIBATA
https://github.com/ruby/openssl/commit/0d4cd8b9ca
2022-12-26check `NO_COLOR` envvalKoichi Sasada
Support `NO_COLOR` (https://no-color.org/) to make parsing output easy. Notes: Merged: https://github.com/ruby/ruby/pull/7030
2022-12-26Merge RubyGems/Bundler masterHiroshi SHIBATA
from https://github.com/rubygems/rubygems/commit/72fd3dd2096af16d797ad0cd8e0d2a8869e240b3 Notes: Merged: https://github.com/ruby/ruby/pull/7025
2022-12-26Generate parser-text.rb of racc when sync itHiroshi SHIBATA
2022-12-25Update Bundler to 2.4.1 & and RubyGems to 3.4.1David Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/7020
2022-12-25Support new style diagnostic reportsNobuyoshi Nakada