summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-06Fix control structure to preperly catch Timeout::Erroraycabta
2021-08-06Fix the result of checking the existence of constants being reversedaycabta
2021-08-05Build rubyspec CAPI extensionsNobuyoshi Nakada
2021-08-05Show log when timed outaycabta
2021-08-04Remove an unused variableaycabta
2021-08-05Fix a link [ci skip]Kazuhiro NISHIYAMA
2021-08-05Show WorkingSetSize as RSS on WindowsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4709
2021-08-05check GC.enable'd statusKoichi Sasada
Check GC.enable'd status before and after test execution. Write this checker in gc_checker.rb, it was renamed from gc_compact_checker.rb. Notes: Merged: https://github.com/ruby/ruby/pull/4710
2021-08-05Revert "Removed extinit.o from main programs"Yusuke Endoh
This reverts commit ac86fcbfd0bab8667d277aa575bc5b81e5135d3c. This change broke "--disable-shared --with-static-linked-ext".
2021-08-05Use equivalent `__FILE__`Nobuyoshi Nakada
2021-08-05Tests for Windows can run only on WindowsNobuyoshi Nakada
Should not directly require "reline/windows.rb" which should be loaded by "reline.rb".
2021-08-05* 2021-08-05 [ci skip]git
2021-08-04Reenable GC at the end of testPeter Zhu
The test disables GC but never reenables it. Before this patch, running all tests would have a peak RSS in the main process of >4GB. After this patch, peak RSS in the main process is <500MB. Notes: Merged: https://github.com/ruby/ruby/pull/4707
2021-08-04Fix relative paths from core_assertions.rbNobuyoshi Nakada
2021-08-04Run interrupt test except on Windowsaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Add a load path to require 'helper'aycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Show the log of test_interrupt_in_other_thread when failedaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Check the existence of the test classesaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Add a test for handling SIGINT in other threadaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Handle SIGINT in other thread correctlyaycabta
Co-authored-by: Koichi Sasada <ko1@atdot.net> Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Use Symbol of signal for trapaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Remove an extraneous escapeNobuyoshi Nakada
Since a3fb97465df3, this string is not inside the here-document.
2021-08-04* 2021-08-04 [ci skip]git
2021-08-03Fix indentation in string.cPeter Zhu
7 spaces were used for 2 levels of indentation. This commit changes it to use 8 spaces. Notes: Merged: https://github.com/ruby/ruby/pull/4706
2021-08-03Fix potential hang when joining threads.Samuel Williams
If the thread termination invokes user code after `th->status` becomes `THREAD_KILLED`, and the user unblock function causes that `th->status` to become something else (e.g. `THREAD_RUNNING`), threads waiting in `thread_join_sleep` will hang forever. We move the unblock function call to before the thread status is updated, and allow threads to join as soon as `th->value` becomes defined. This reverts commit 6505c77501f1924571b2fe620c5c7b31ede0cd22. Notes: Merged: https://github.com/ruby/ruby/pull/4689
2021-08-03[DOC] mention how the command is passed to the shell [ci skip]Nobuyoshi Nakada
2021-08-03* 2021-08-03 [ci skip]git
2021-08-03Add keyrest to ruby2_keywords parameters [Bug #18011]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4705
2021-08-02Use codeql-config.yml for codeql-action/initHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4702
2021-08-02Removed paths-ignore because it's not affect with cppHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4702
2021-08-02Removed unnecessary configuration for the latest version of actions/checkoutHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4702
2021-08-02Use `${{}}` for if statementHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4700
2021-08-02Fix documentation of #<=> and #casecmp [ci skip]Troy Chance
Descriptions for return values of -1 and 1 were reversed. Notes: Merged: https://github.com/ruby/ruby/pull/4698 Merged-By: nobu <nobu@ruby-lang.org>
2021-08-02Using RBOOL macroS.H
Notes: Merged: https://github.com/ruby/ruby/pull/4695 Merged-By: nobu <nobu@ruby-lang.org>
2021-08-02* 2021-08-02 [ci skip]git
2021-08-02Stop infinite object allocation to get rid of OOM killerNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4697
2021-08-01gcc 10.3.0 says "__VA_OPT__ is not available until C++2a"Nobuyoshi Nakada
2021-08-01* 2021-08-01 [ci skip]git
2021-08-01Define functions using rb_wait_for_single_fd [Bug #18046]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4696 Merged-By: nobu <nobu@ruby-lang.org>
2021-07-31[ruby/error_highlight] Keep it work if paren exists after receiverMasataka Pocke Kuwabara
https://github.com/ruby/error_highlight/commit/b79d679bbd
2021-07-31* 2021-07-31 [ci skip]git
2021-07-31[DOC] Fix Process::exec documentation [ci skip]Nobuyoshi Nakada
Shell reserved words and special built-in commands can be placed at only the beginning of the command (except for leading white spaces).
2021-07-30[DOC] Fix Process::exec documentation [ci skip]Nobuyoshi Nakada
The environment variable `RUBYSHELL` is used only on Windows, as well as `COMSPEC`. Notes: Merged: https://github.com/ruby/ruby/pull/4694
2021-07-30Tweak rb_str_modify_expand() + read() spec to try to find out why it fails ↵Benoit Daloze
on some platforms * Use a longer string as <= 23 characters it's embedded on CRuby and the value of rb_str_capacity() is implementation-specific.
2021-07-30Fix bundled gems locationsNobuyoshi Nakada
Changed since 55bf0ef1aa7c936b564b883196de1ace4be4cc7e.
2021-07-29Skip test_ensure_after_nomemoryerrorJeremy Evans
This test appears to cause failures in some environments.
2021-07-29Improve performance of Integer#digitsJeremy Evans
This speeds up performance by multiple orders of magnitude for large integers. Fixes [Bug #14391] Co-authored-by: tompng (tomoya ishida) <tomoyapenguin@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/4584
2021-07-29Make RubyVM::AbstractSyntaxTree.of raise for method/proc created in evalJeremy Evans
This changes Thread::Location::Backtrace#absolute_path to return nil for methods/procs defined in eval. If the realpath of an iseq is nil, that indicates it was defined in eval, in which case you cannot use RubyVM::AbstractSyntaxTree.of. Fixes [Bug #16983] Co-authored-by: Koichi Sasada <ko1@atdot.net> Notes: Merged: https://github.com/ruby/ruby/pull/4519
2021-07-29Update to ruby/spec@b65d01fBenoit Daloze
2021-07-29Update to ruby/mspec@9542a88Benoit Daloze