summaryrefslogtreecommitdiff
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* Implement getlocal_WC_1Takashi Kokubun2023-03-051-0/+1
|
* Implement getivarTakashi Kokubun2023-03-051-0/+5
|
* Refactor BranchStubTakashi Kokubun2023-03-051-1/+4
|
* Implement opt_plusTakashi Kokubun2023-03-051-0/+1
|
* Implement method callTakashi Kokubun2023-03-051-0/+1
|
* Initial implementation of sendTakashi Kokubun2023-03-051-6/+15
|
* Implement opt_minusTakashi Kokubun2023-03-051-0/+1
|
* Implement initial opt_ltTakashi Kokubun2023-03-051-0/+1
|
* Partly implement BOP assumptionTakashi Kokubun2023-03-051-0/+2
|
* Implement --mjit-statsTakashi Kokubun2023-03-051-0/+1
|
* Implement asm commentsTakashi Kokubun2023-03-051-1/+0
|
* Move modules aroundTakashi Kokubun2023-03-051-2/+0
|
* Introduce `UPDATE_BUNDLED_GEMS_ALL` option for auto update for bundled_gems fileHiroshi SHIBATA2023-03-061-2/+6
| | | | | | 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.
* Expand the test directory to real pathNobuyoshi Nakada2023-03-031-1/+1
| | | | | | | | | | | | | | | 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">. ```
* Fix rbs (#7415)Soutaro Matsumoto2023-03-021-1/+1
| | | | * Update RBS to skip validation task * Revert TEST_BUNDLED_GEMS_ALLOW_FAILURES
* fix test/rubygems/test_gem_package_task.rb when in -j modelukeg2023-02-281-0/+4
| | | | | | | | | 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"
* Prefer to use File.foreach instead of IO.foreachHiroshi SHIBATA2023-02-275-8/+8
|
* Fix autoconf RUBY_STACK_GROW_DIRECTION on ARM devicesBen Hamilton2023-02-261-1/+1
|
* Fix incorrect line numbers in GC hookPeter Zhu2023-02-241-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* Fix RubyVM::CExpr#inspectPeter Zhu2023-02-241-1/+5
| | | | @__LINE__ can be nil which causes the inspect method to fail.
* Refine exception messages when git failedNobuyoshi Nakada2023-02-221-4/+7
|
* Use `Gem::Package#build` instead of the class method for old baserubyNobuyoshi Nakada2023-02-221-1/+3
|
* Clone and create dummy gemspec in sequential buildNobuyoshi Nakada2023-02-221-0/+11
|
* Move dummy gemspec file creation for extract-gems-sequentialNobuyoshi Nakada2023-02-221-25/+18
|
* Fix detection of compiler_wd in tool/update-depsMatt Valentine-House2023-02-211-16/+11
|
* Create a dummy minitest.gemspec for a bundled gemYusuke Endoh2023-02-191-0/+25
| | | | | | | | 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.
* Apply zone offset to the last modified timeNobuyoshi Nakada2023-02-131-0/+1
|
* Enhancement github releases generatorHiroshi SHIBATA2023-02-101-1/+21
| | | | | | * Create GitHub Releases by itself * Added help and usage message * Decorate release body
* Avoid to duplicate entries that own redmine and github idsHiroshi SHIBATA2023-02-091-6/+5
|
* Added helper script for generate github releasesHiroshi SHIBATA2023-02-091-0/+40
|
* Removed svn feature from make-snapshotHiroshi SHIBATA2023-02-081-8/+3
|
* fix to work with the case default issue is usedNARUSE, Yui2023-02-011-1/+1
|
* Silence dozens of useless warnings from `nm` on macOSNobuyoshi Nakada2023-01-311-1/+1
|
* Add quotes to backport fieldNARUSE, Yui2023-01-311-1/+1
|
* mkconfig: Map `includedir` only for system rubyNobuyoshi Nakada2023-01-311-1/+3
| | | | | | Only when installing to the system path on macOS, prepend '$(SDKROOT)' and remap `includedir`. Fix https://github.com/rbenv/ruby-build/discussions/2123
* YJIT: Fix shared/static library symbol leaksAlan Wu2023-01-272-1/+9
| | | | | | | | | | | | | | | | | | | | 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>
* Fix `target_cpu` at runtimeNobuyoshi Nakada2023-01-261-4/+6
|
* Filter spec directory for code coverageHiroshi SHIBATA2023-01-261-0/+1
|
* Ignore all of tool directory from code coverage, It contains tool/test and etc.Hiroshi SHIBATA2023-01-261-1/+1
|
* Ignore vendored libraries by rubygems from code coverageHiroshi SHIBATA2023-01-261-0/+3
|
* filter coverage result with vendored libraries and test codeHiroshi SHIBATA2023-01-261-1/+7
|
* [Bug #19340] Fix bundle gems with test revisionNobuyoshi Nakada2023-01-261-0/+13
| | | | | Build temporary gem package from cloned repository if test revision is set.
* Support simplecov-0.22.0.Hiroshi SHIBATA2023-01-251-1/+1
| | | | | simplecov-0.22.0 no longer support pre-0.18 result format. result data needs `lines` key for coverage data.
* Silence dozens of useless warnings from `ranlib` on macOS [ci skip]Nobuyoshi Nakada2023-01-231-0/+5
|
* tool/leaked-globals: ignore function typedef [ci skip]Nobuyoshi Nakada2023-01-211-2/+3
|
* Make installation messages verbose a little [ci skip]Nobuyoshi Nakada2023-01-181-4/+19
|
* Switch to use gem version of simplecov, not git cloneHiroshi SHIBATA2023-01-181-2/+5
|
* Supressing warnings messages like:Hiroshi SHIBATA2023-01-181-2/+0
| | | | | | | | 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.
* Clear gem paths for each testNobuyoshi Nakada2023-01-151-0/+2
| | | | So that rubygems can find the bundled rake.
* [DOC] Add gem lists to NEWS.md automaticallyNobuyoshi Nakada2023-01-131-4/+9
|