aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/error_highlight] Keep it work if paren exists after receiverMasataka Pocke Kuwabara2021-07-312-11/+171
| | | | https://github.com/ruby/error_highlight/commit/b79d679bbd
* * 2021-07-31 [ci skip]git2021-07-311-1/+1
|
* [DOC] Fix Process::exec documentation [ci skip]Nobuyoshi Nakada2021-07-311-1/+1
| | | | | | Shell reserved words and special built-in commands can be placed at only the beginning of the command (except for leading white spaces).
* [DOC] Fix Process::exec documentation [ci skip]Nobuyoshi Nakada2021-07-301-2/+2
| | | | | The environment variable `RUBYSHELL` is used only on Windows, as well as `COMSPEC`.
* Tweak rb_str_modify_expand() + read() spec to try to find out why it fails ↵Benoit Daloze2021-07-303-9/+21
| | | | | | | 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.
* Fix bundled gems locationsNobuyoshi Nakada2021-07-301-1/+1
| | | | Changed since 55bf0ef1aa7c936b564b883196de1ace4be4cc7e.
* Skip test_ensure_after_nomemoryerrorJeremy Evans2021-07-291-0/+1
| | | | This test appears to cause failures in some environments.
* Improve performance of Integer#digitsJeremy Evans2021-07-292-6/+29
| | | | | | | | | This speeds up performance by multiple orders of magnitude for large integers. Fixes [Bug #14391] Co-authored-by: tompng (tomoya ishida) <tomoyapenguin@gmail.com>
* Make RubyVM::AbstractSyntaxTree.of raise for method/proc created in evalJeremy Evans2021-07-296-8/+65
| | | | | | | | | | | 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>
* Update to ruby/spec@b65d01fBenoit Daloze2021-07-29186-3248/+3865
|
* Update to ruby/mspec@9542a88Benoit Daloze2021-07-292-3/+3
|
* Use test-unit assertionsaycabta2021-07-301-7/+7
|
* [ruby/reline] Support Terminfo on Cygwin and macOSaycabta2021-07-301-0/+4
| | | | https://github.com/ruby/reline/commit/b0b75fcd27
* [ruby/reline] Don't check the existence of Terminfo on Windowsaycabta2021-07-301-1/+11
| | | | https://github.com/ruby/reline/commit/320f09055c
* [ruby/reline] Check TYPE_VARIADICaycabta2021-07-301-0/+4
| | | | https://github.com/ruby/reline/commit/8e62e46e33
* [ruby/reline] Define StringWithTiparm instead of singular methodaycabta2021-07-301-4/+6
| | | | https://github.com/ruby/reline/commit/de234dc875
* [ruby/reline] Fixed Ctrl+Enter key in Windows.SilverPhoenix992021-07-302-39/+110
| | | | https://github.com/ruby/reline/commit/0c38e39023
* [ruby/reline] Check empty .inputrcaycabta2021-07-302-1/+7
| | | | https://github.com/ruby/reline/commit/b60b3b76cd
* [ruby/reline] Add original C function declarations comment for each functionaycabta2021-07-301-5/+6
| | | | https://github.com/ruby/reline/commit/9a25ee9f12
* [ruby/reline] Fix reline on OpenBSDJeremy Evans2021-07-301-1/+6
| | | | | | | | 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
* [ruby/reline] Added support for Numpad divide key on Windows.SilverPhoenix992021-07-301-0/+3
| | | | https://github.com/ruby/reline/commit/84577da0c4
* [ruby/reline] Support Enter key of numpad on Windowsaycabta2021-07-301-0/+2
| | | | | | The yamatanooroti gem can't emulate numpad key pressing... https://github.com/ruby/reline/commit/8e9da1aeaf
* [ruby/reline] Windows cmd: Don't type anything when pressing ALT keys aloneLars Kanis2021-07-302-3/+13
| | | | | | Fixes #298 https://github.com/ruby/reline/commit/72acfcd27a
* [ruby/reline] Use "omit" instead of "return"aycabta2021-07-301-2/+2
| | | | https://github.com/ruby/reline/commit/940cdaa301
* [ruby/reline] Add TODO comment to implement tigetflag() and tigetnum()aycabta2021-07-301-0/+1
| | | | https://github.com/ruby/reline/commit/a0d946a398
* [ruby/reline] Add Terminfo testsaycabta2021-07-301-0/+24
| | | | https://github.com/ruby/reline/commit/17721e477e
* [ruby/reline] Add require 'reline/terminfo' to use Reline::Terminfo.enabled?aycabta2021-07-301-0/+1
| | | | https://github.com/ruby/reline/commit/7ef9805b35
* Do not check pending interrupts when running finalizersJeremy Evans2021-07-292-0/+29
| | | | | | | | | | | | | 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>
* Fix use-after-free on -DUSE_EMBED_CI=0Alan Wu2021-07-291-2/+2
| | | | | | | | 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.
* * 2021-07-30 [ci skip]git2021-07-301-1/+1
|
* Update documentation for ruby2_keywordsJeremy Evans2021-07-291-6/+9
| | | | | | | | | | 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.
* Renamed thraed_fd_close as thread_fdNobuyoshi Nakada2021-07-296-165/+165
|
* Fix test failure of 60b02db5161625dd5f7d22d31989dd966837333c with WindowsHiroshi SHIBATA2021-07-291-2/+1
|
* Partly picking ↵Hiroshi SHIBATA2021-07-291-1/+1
| | | | https://github.com/ruby/error_highlight/commit/25ef7dbeda4f2cfcad1675f70319401ef4916f40#diff-1ce41a048bf2c08aa7bf25b741e9d3a4e08ea03f0d80bc6b8ee6d1c3c259704dR1022
* Update the latest version of readline.gemspecHiroshi SHIBATA2021-07-291-2/+0
|
* Update the latest version of json.gemspec from flori/jsonHiroshi SHIBATA2021-07-291-7/+1
|
* [ruby/psych] fix: use git repository link for LibYAML in docsRhys Powell2021-07-291-1/+1
| | | | | | 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
* [ruby/psych] require 'delegate' explicitlyPavel Rosický2021-07-291-0/+1
| | | | https://github.com/ruby/psych/commit/51a9ce13db
* [ruby/net-http] Enforce write timeout when body_stream is usedMiguel Teixeira2021-07-292-3/+29
| | | | | | | | | | | | | 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
* Partly picked from ↵Hiroshi SHIBATA2021-07-291-2/+2
| | | | https://github.com/ruby/ostruct/commit/20d0b8c065392a22ba6d74194cf116755f38337f
* [ruby/set] Improve What's Here linksBurdetteLamar2021-07-291-2/+2
| | | | https://github.com/ruby/set/commit/76b056c3b9
* [ruby/set] Improve What's Here linksBurdetteLamar2021-07-291-3/+5
| | | | https://github.com/ruby/set/commit/dd787a3988
* [ruby/set] gemspec: This gem exposes 0 executablesOlle Jonsson2021-07-291-2/+0
| | | | | | This change removes unused configuration. https://github.com/ruby/set/commit/6c2338d699
* [ruby/set] Update documentation for intersect?/disjoint?Jeremy Evans2021-07-291-3/+7
| | | | https://github.com/ruby/set/commit/35b69e9d69
* [ruby/set] Allow the use of any enumerable in intersect?/disjoint?Jeremy Evans2021-07-291-9/+8
| | | | https://github.com/ruby/set/commit/1a73ab9047
* [ruby/set] Allow Set#intersect? and #disjoint? to accept array argumentJeremy Evans2021-07-292-2/+13
| | | | | | Implements [Feature #17838] https://github.com/ruby/set/commit/d9b389bafa
* test/socket/test_socket.rb: skip on SolarisYusuke Endoh2021-07-291-0/+4
| | | | | | | | The test fails on Solaris 10. Maybe due to the IPv6 configuration on the server, but I have no idea at all. I've asked @ngoto to investigate the issue, so will tentatively skip the tests on Solaris http://rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20210729T040002Z.fail.html.gz
* Add RBOOL macro and use itS.H2021-07-291-12/+8
|
* Bundle RBS 1.3.3 (#4688)Soutaro Matsumoto2021-07-290-0/+0
|
* Don't export rb_gc_ractor_newobj_cache_clearPeter Zhu2021-07-281-1/+1
|