summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2023-03-05Implement setlocal_WC_0Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Implement opt_modTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Implement Array#[]Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Implement opt_le, opt_ge, and opt_gtTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Do not compile C calls when C tracing is enabledTakashi Kokubun
2023-03-05Decode trace insns properlyTakashi Kokubun
2023-03-05Partially implement send of cfuncTakashi Kokubun
2023-03-05Implement attr_readerTakashi Kokubun
2023-03-05Count unsupported method typesTakashi Kokubun
2023-03-05Implement opt_aref for HashTakashi Kokubun
2023-03-05Implement jit_guard_known_classTakashi Kokubun
2023-03-05Implement getlocal_WC_1Takashi Kokubun
2023-03-05Implement getivarTakashi Kokubun
2023-03-05Refactor BranchStubTakashi Kokubun
2023-03-05Implement opt_plusTakashi Kokubun
2023-03-05Implement method callTakashi Kokubun
2023-03-05Initial implementation of sendTakashi Kokubun
2023-03-05Implement opt_minusTakashi Kokubun
2023-03-05Implement initial opt_ltTakashi Kokubun
2023-03-05Partly implement BOP assumptionTakashi Kokubun
2023-03-05Implement --mjit-statsTakashi Kokubun
2023-03-05Implement asm commentsTakashi Kokubun
2023-03-05Move modules aroundTakashi Kokubun
2023-03-06Introduce `UPDATE_BUNDLED_GEMS_ALL` option for auto update for bundled_gems fileHiroshi SHIBATA
We used `url` field for testing via git clone. Because `Gem::Specification#homepage` or `Gem::Specification#metadata` could assign non-git url. Unfotunately, We should specify clone URL for testing.
2023-03-03Expand the test directory to real pathNobuyoshi Nakada
When the test source directory path contains symbolic links, that directory might be placed earlier in the result of `IRB::InputCompletor.retrieve_gem_and_system_load_path`, than other directories in the source tree that are expanded to the real path. In that case, the test file in "csv" under the test directory of csv gem instead of the library path will be the first candidate, in `TestIRB::TestCompletion#test_complete_require_library_name_first`. ``` <"'csv"> expected but was <"'csv/helper">. ``` Notes: Merged: https://github.com/ruby/ruby/pull/7432
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