summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2024-11-09[Bug #20800] Move executable binary file pathNobuyoshi Nakada
From under "libexec", under `$(target)/bin` like as binutils. Notes: Merged: https://github.com/ruby/ruby/pull/12043
2024-11-09[Bug #20800] Locate executable binary file under "libexec" directlyNobuyoshi Nakada
"libexec" means the directory for executable or binary files already. Notes: Merged: https://github.com/ruby/ruby/pull/12043
2024-11-09Add integer overflow check macros for add/sub as well as mulNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12034
2024-11-05Update depend filesJean Boussier
Notes: Merged: https://github.com/ruby/ruby/pull/12003
2024-11-05Update json gem syncing logicJean Boussier
Notes: Merged: https://github.com/ruby/ruby/pull/12003
2024-11-05tool/sync_default_gems.rb: update json rulesJean Boussier
`lib/json/ext/generator/state.rb` should actually be `ext/json/lib/json/ext/generator/state.rb` Notes: Merged: https://github.com/ruby/ruby/pull/11999
2024-11-05Stop syncing json benchmarks.nagachika
Notes: Merged: https://github.com/ruby/ruby/pull/11978
2024-11-04YJIT: Replace Array#each only when YJIT is enabled (#11955)Takashi Kokubun
* YJIT: Replace Array#each only when YJIT is enabled * Add comments about BUILTIN_ATTR_C_TRACE * Make Ruby Array#each available with --yjit as well * Fix all paths that expect a C location * Use method_basic_definition_p to detect patches * Copy a comment about C_TRACE flag to compilers * Rephrase a comment about add_yjit_hook * Give METHOD_ENTRY_BASIC flag to Array#each * Add --yjit-c-builtin option * Allow inconsistent source_location in test-spec * Refactor a check of BUILTIN_ATTR_C_TRACE * Set METHOD_ENTRY_BASIC without touching vm->running Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-11-04Fix a typo in a local variable nameNobuyoshi Nakada
2024-11-01Skip failing test with RBS and JSONHiroshi SHIBATA
2024-11-01Remove debug printNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11969
2024-11-01Fetch gem sources to be tested onlyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11969
2024-11-01Make gemspec files for default gems with extensionsNobuyoshi Nakada
So that rubygems can find them as gems. However, the `--install-dir` option of `gem install` seems to exclude prerelease gems, even already installed in that directory, from the dependencies for some reasons; use the `GEM_HOME` environment variable instead. Now net-imap 0.5.0 depends on json gem. Notes: Merged: https://github.com/ruby/ruby/pull/11969
2024-10-29Fix TestParallel#test_hungup when RUBY_TEST_TIMEOUT_SCALE is setPeter Zhu
When RUBY_TEST_TIMEOUT_SCALE is set, the timeout increases by the multiple specified. However, the test in test4test_hungup.rb does not scale, so if RUBY_TEST_TIMEOUT_SCALE is a large number like 10, then the test will not time out causing the tests test to fail. Notes: Merged: https://github.com/ruby/ruby/pull/11959
2024-10-29Revert "No longer needed ext/json/extconf.rb"Hiroshi SHIBATA
This reverts commit 58797b7f74737b8896583c9bfa6546ef6756681a.
2024-10-28Update test-bundled-gems.rbNobuyoshi Nakada
- Fix filtering by ARGV - Adjust top library names from gem names - Skip if no tests found Notes: Merged: https://github.com/ruby/ruby/pull/11957
2024-10-26No longer needed ext/json/extconf.rbHiroshi SHIBATA
2024-10-16Followed up https://github.com/ruby/json/pull/613Hiroshi SHIBATA
2024-10-11Don't enable GC.auto_compact in EnvUtil.under_gc_compact_stress when not ↵Peter Zhu
supported Notes: Merged: https://github.com/ruby/ruby/pull/11887
2024-10-10Update vendored net-httpSamuel Giddins
Signed-off-by: Samuel Giddins <segiddins@segiddins.me> Notes: Merged: https://github.com/ruby/ruby/pull/11860
2024-10-09Make mkconfig.rb string literals frozenNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11846
2024-10-09Added win32-registryHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/11791
2024-10-09Support `The following bundled gems are added.`Kazuhiro NISHIYAMA
2024-10-09[DOC] Use the recent RDoc always to generate the doc of ruby itselfNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11841
2024-10-08rdoc-srcdir: Adjust the version number in the title in .rdoc_optionsNobuyoshi Nakada
Other command line options are no longer needed usually. Notes: Merged: https://github.com/ruby/ruby/pull/11832
2024-10-07json upstream is ruby/json nowHiroshi SHIBATA
2024-10-04Skip related tests in PathnameInstanceTestHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/3705
2024-10-03Stop skipping broken testsSoutaro Matsumoto
Notes: Merged: https://github.com/ruby/ruby/pull/11763
2024-10-02SKip failing tests that are caused by unknown IOErrorHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/11756
2024-10-01Fix compile issue with a short-circuited if/unless condition and `defined?`Luke Gruber
This caused an issue when `defined?` was in the `if` condition. Its instructions weren't appended to the instruction sequence even though it was compiled if a compile-time known logical short-circuit happened before the `defined?`. The catch table entry (`defined?` compilation produces a catch table entry) was still on the iseq even though the instructions weren't there. This caused faulty exception handling in the method. The solution is to no add the catch table entry for `defined?` after a compile-time known logical short circuit. This shouldn't touch much code, it's only for cases like the following, which can occur during debugging: if false && defined?(Some::CONSTANT) "more code..." end Fixes [Bug #20501] Notes: Merged: https://github.com/ruby/ruby/pull/11554
2024-09-30-l option of 7z is unknown switch with the `ubuntu-latest`.Hiroshi SHIBATA
https://github.com/ruby/actions/actions/runs/11095032727/job/30823174026#step:3:349
2024-09-27Avoid to unintentional Bundler definition by Bundler::Definition.no_lockHiroshi SHIBATA
2024-09-26Update test dependenciesDavid Rodríguez
2024-09-25Check syntax warnings in built-in scriptsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/9915
2024-09-19Don't update lockfile with bundler/inlineHiroshi SHIBATA
2024-09-17Unlock parallel_testsDavid Rodríguez
2024-09-16[PRISM] Remove snapshot testing from Prism syncKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/11624
2024-09-13Try to find bundled gem version from lib/*/version.rbYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/11612
2024-09-13Dont't warn reline called from irb, reline is already declared at irb gemspecHiroshi SHIBATA
2024-09-12Switch the default parser from parse.y to PrismKevin Newton
This commit switches the default parser to Prism. There are a couple of additional changes related to this that are a part of this as well to make this happen. * Switch the default parser in parse.h * Remove the Prism-specific workflow and add a parse.y-specific workflow to CI so that it continues to be tested * Update a few test exclusions since Prism has the correct behavior but parse.y doesn't per https://bugs.ruby-lang.org/issues/20504. * Skips a couple of tests on RBS which are failing because they are using RubyVM::AbstractSyntaxTree.of. Fixes [Feature #20564] Notes: Merged: https://github.com/ruby/ruby/pull/11497
2024-09-12Accept version rangeNobuyoshi Nakada
Single `Integer` argument means an exact match to the major version. Notes: Merged: https://github.com/ruby/ruby/pull/11604
2024-09-12Remove unnecessary fileydah
Notes: Merged: https://github.com/ruby/ruby/pull/11590
2024-09-12Lrama v0.6.10ydah
Notes: Merged: https://github.com/ruby/ruby/pull/11590
2024-09-10Remove an unnecessary blank line added by mistake [ci skip]Nobuyoshi Nakada
2024-09-10Add predicates for platformsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11583
2024-09-08Fix prelude to use IBFNobuyoshi Nakada
Since universal-parser and prism support, prelude code used functions inaccessible from outside libruby shared library. ``` linking goruby /usr/bin/ld: goruby.o: in function `prelude_eval': /home/runner/work/ruby/ruby/build/golf_prelude.c:221: undefined reference to `rb_ruby_prism_ptr' /usr/bin/ld: goruby.o: in function `pm_prelude_load': /home/runner/work/ruby/ruby/build/golf_prelude.c:192: undefined reference to `pm_options_line_set' /usr/bin/ld: /home/runner/work/ruby/ruby/build/golf_prelude.c:193: undefined reference to `pm_parse_string' /usr/bin/ld: goruby.o: in function `prelude_eval': /home/runner/work/ruby/ruby/build/golf_prelude.c:224: undefined reference to `pm_iseq_new_with_opt' /usr/bin/ld: /home/runner/work/ruby/ruby/build/golf_prelude.c:226: undefined reference to `pm_parse_result_free' /usr/bin/ld: goruby.o: in function `prelude_ast_value': /home/runner/work/ruby/ruby/build/golf_prelude.c:181: undefined reference to `rb_ruby_ast_data_get' /usr/bin/ld: goruby.o: in function `prelude_eval': /home/runner/work/ruby/ruby/build/golf_prelude.c:231: undefined reference to `rb_ruby_ast_data_get' /usr/bin/ld: goruby.o: in function `pm_prelude_load': /home/runner/work/ruby/ruby/build/golf_prelude.c:196: undefined reference to `pm_parse_result_free' collect2: error: ld returned 1 exit status ```
2024-09-05Fix check_tempfile_leak in leakchecker.rbPeter Zhu
The instance variable @tmpfile was removed in ddcfc9f so check_tempfile_leak did not work. Notes: Merged: https://github.com/ruby/ruby/pull/11498
2024-09-04Ignore blocks to `Test::Unit::Assertions#pend` silentlyNobuyoshi Nakada
Although `pend` in test-unit gem expects the block does not pass if it is given, our `pend` should ignore the block silently as same as it just skips the test with no message by default. Add an unused parameter, to suppress the warning for the block to be ignored. Notes: Merged: https://github.com/ruby/ruby/pull/11538
2024-09-04Use bundler/inline to download diffy gemHiroshi SHIBATA
2024-09-02Revert "Experiment with removing --profile ruby for now"Takashi Kokubun
This reverts commit 6986536488ba23c033c043ef8765438f22df7bf5. We were just missing the secrets.