summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-07-30Use test-unit assertionsaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4693
2021-07-30[ruby/reline] Support Terminfo on Cygwin and macOSaycabta
https://github.com/ruby/reline/commit/b0b75fcd27
2021-07-30[ruby/reline] Don't check the existence of Terminfo on Windowsaycabta
https://github.com/ruby/reline/commit/320f09055c
2021-07-30[ruby/reline] Check TYPE_VARIADICaycabta
https://github.com/ruby/reline/commit/8e62e46e33
2021-07-30[ruby/reline] Define StringWithTiparm instead of singular methodaycabta
https://github.com/ruby/reline/commit/de234dc875
2021-07-30[ruby/reline] Fixed Ctrl+Enter key in Windows.SilverPhoenix99
https://github.com/ruby/reline/commit/0c38e39023
2021-07-30[ruby/reline] Check empty .inputrcaycabta
https://github.com/ruby/reline/commit/b60b3b76cd
2021-07-30[ruby/reline] Add original C function declarations comment for each functionaycabta
https://github.com/ruby/reline/commit/9a25ee9f12
2021-07-30[ruby/reline] Fix reline on OpenBSDJeremy Evans
OpenBSD doesn't support tiparm, only tparm. I'm not sure if the two are compatible, but this at least this allows me to run irb on OpenBSD. https://github.com/ruby/reline/commit/0ce2b34e2b
2021-07-30[ruby/reline] Added support for Numpad divide key on Windows.SilverPhoenix99
https://github.com/ruby/reline/commit/84577da0c4
2021-07-30[ruby/reline] Support Enter key of numpad on Windowsaycabta
The yamatanooroti gem can't emulate numpad key pressing... https://github.com/ruby/reline/commit/8e9da1aeaf
2021-07-30[ruby/reline] Windows cmd: Don't type anything when pressing ALT keys aloneLars Kanis
Fixes #298 https://github.com/ruby/reline/commit/72acfcd27a
2021-07-30[ruby/reline] Use "omit" instead of "return"aycabta
https://github.com/ruby/reline/commit/940cdaa301
2021-07-30[ruby/reline] Add TODO comment to implement tigetflag() and tigetnum()aycabta
https://github.com/ruby/reline/commit/a0d946a398
2021-07-30[ruby/reline] Add Terminfo testsaycabta
https://github.com/ruby/reline/commit/17721e477e
2021-07-30[ruby/reline] Add require 'reline/terminfo' to use Reline::Terminfo.enabled?aycabta
https://github.com/ruby/reline/commit/7ef9805b35
2021-07-29Do not check pending interrupts when running finalizersJeremy Evans
This fixes cases where exceptions raised using Thread#raise are swallowed by finalizers and not delivered to the running thread. This could cause issues with finalizers that rely on pending interrupts, but that case is expected to be rarer. Fixes [Bug #13876] Fixes [Bug #15507] Co-authored-by: Koichi Sasada <ko1@atdot.net> Notes: Merged: https://github.com/ruby/ruby/pull/4366
2021-07-29Fix use-after-free on -DUSE_EMBED_CI=0Alan Wu
On -DUSE_EMBED_CI=0, there are more GC allocations and the old code didn't keep old_operands[0] reachable while allocating. On a Debian based system, I get a crash requiring erb under GC stress mode. On macOS, tool/transcode-tblgen.rb runs incorrectly if I put GC.stress=true as the first line. Notes: Merged: https://github.com/ruby/ruby/pull/4662 Merged-By: XrXr
2021-07-30* 2021-07-30 [ci skip]git
2021-07-29Update documentation for ruby2_keywordsJeremy Evans
Point out that the method should be used for backwards compatibility with code prior to Ruby 3.0 instead of Ruby 2.7. It's still needed in Ruby 2.7. It isn't needed in Ruby 3.0, as the methods using it could switch to delegating both positional and keyword arguments. Add a link to the www.ruby-lang.org web page that goes into detail describing when and how ruby2_keywords should be used.
2021-07-29Renamed thraed_fd_close as thread_fdNobuyoshi Nakada
2021-07-29Fix test failure of 60b02db5161625dd5f7d22d31989dd966837333c with WindowsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4691
2021-07-29Partly picking ↵Hiroshi SHIBATA
https://github.com/ruby/error_highlight/commit/25ef7dbeda4f2cfcad1675f70319401ef4916f40#diff-1ce41a048bf2c08aa7bf25b741e9d3a4e08ea03f0d80bc6b8ee6d1c3c259704dR1022
2021-07-29Update the latest version of readline.gemspecHiroshi SHIBATA
2021-07-29Update the latest version of json.gemspec from flori/jsonHiroshi SHIBATA
2021-07-29[ruby/psych] fix: use git repository link for LibYAML in docsRhys Powell
LibYAML has moved from their previous Mercurial based hosting on BitBucket to a git repository on GitHub. This commit updates the `Psych` module's documentation to point to this new repository, instead of the old one which is now a 404. https://github.com/ruby/psych/commit/947a84d0dd
2021-07-29[ruby/psych] require 'delegate' explicitlyPavel Rosický
https://github.com/ruby/psych/commit/51a9ce13db
2021-07-29[ruby/net-http] Enforce write timeout when body_stream is usedMiguel Teixeira
The existing implementation of `Net::HTTP#write_timeout` relies on `Net::BefferedIO` to trigger the `Net::WriteTimeout` error. This commit changes `send_request_with_body_stream` to remove the optimization that was making `Net::HTTP#write_timeout` not work when `body_stream` is used. Open issue: https://bugs.ruby-lang.org/issues/17933 https://github.com/ruby/net-http/commit/a0fab1ab52
2021-07-29Partly picked from ↵Hiroshi SHIBATA
https://github.com/ruby/ostruct/commit/20d0b8c065392a22ba6d74194cf116755f38337f
2021-07-29[ruby/set] Improve What's Here linksBurdetteLamar
https://github.com/ruby/set/commit/76b056c3b9
2021-07-29[ruby/set] Improve What's Here linksBurdetteLamar
https://github.com/ruby/set/commit/dd787a3988
2021-07-29[ruby/set] gemspec: This gem exposes 0 executablesOlle Jonsson
This change removes unused configuration. https://github.com/ruby/set/commit/6c2338d699
2021-07-29[ruby/set] Update documentation for intersect?/disjoint?Jeremy Evans
https://github.com/ruby/set/commit/35b69e9d69