summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-08* 2021-04-08 [ci skip]git
2021-04-07[Bug #17780] Fix Method#super_method for module aliasPeter Zhu
Method#super_method crashes for aliased module methods because they are not defined on a class. This bug was introduced in c60aaed1856b2b6f90de0992c34771830019e021 as part of bug #17130. Notes: Merged: https://github.com/ruby/ruby/pull/4364
2021-04-07* 2021-04-07 [ci skip]git
2021-04-07test/drb/test_drb.rb: Specify the host of DRbServerYusuke Endoh
to try fixing the following error. http://rubyci.s3.amazonaws.com/opensuseleap/ruby-master/log/20210407T063004Z.log.html.gz ``` [ 605/21105] DRbTests::TestDRbSSLAry#test_06_next/home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/lib/drb/drb.rb:1138:in `method_missing': undefined method `regist' for [1, 2, "III", 4, "five", 6]:Array (NoMethodError) from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/lib/drb/extserv.rb:21:in `block in initialize' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/.ext/common/monitor.rb:202:in `synchronize' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/.ext/common/monitor.rb:202:in `mon_synchronize' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/lib/drb/extserv.rb:20:in `initialize' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/test/drb/ut_array_drbssl.rb:35:in `new' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/test/drb/ut_array_drbssl.rb:35:in `<main>' = 100.05 s ``` Here is my analysis: The test of drb used both `druby://:0` and `druby://localhost:0` for DRbServer. However, the former listens on IPv4, and the latter does on IPv6, depending on environments. The port 0 is automatically assigned, but sometimes the same port is used to both because they are different protocols (IPv4 and IPv6). In this case, their URIs are resolved to the completely same one (`druby://localhost:port`), which confuses the method `DRb.here?` which determines the DRbObject is remote or local. This changeset uses `druby://localhost:0` consistently.
2021-04-06Try to fix Leaked file descriptorKazuhiro NISHIYAMA
https://github.com/ruby/ruby/runs/2274767991?check_suite_focus=true#step:15:118 ``` Leaked file descriptor: DRbTests::TestDRbTCP#test_immediate_close: 7 : #<TCPServer:fd 7, AF_INET, 0.0.0.0, 42451> Leaked file descriptor: DRbTests::TestDRbTCP#test_immediate_close: 9 : #<IO:fd 9> Leaked file descriptor: DRbTests::TestDRbTCP#test_immediate_close: 10 : #<IO:fd 10> ```
2021-04-06spec/ruby/library/matrix/: Change the version guard to 3.0.2Yusuke Endoh
[Bug #17521] is not backported to 3.0.1.
2021-04-06The guard is to alert patchlevel of X.Y.0NARUSE, Yui
2021-04-06* 2021-04-06 [ci skip]git
2021-04-06update-deps: prepare to run if not yet doneNobuyoshi Nakada
2021-04-05Update tool/format-releaseYusuke Endoh
* remove bz2 entries for Ruby 3 series * remove stats information except "X.X.0" release
2021-04-05Get rid of multibyte prefix to tmpdirNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4354
2021-04-05[ruby/tmpdir] Bump version to 0.1.2Hiroshi SHIBATA
https://github.com/ruby/tmpdir/commit/c79bc7adf6
2021-04-05[ruby/tmpdir] Make usable chars more strictNobuyoshi Nakada
Remove other than alphanumeric and some punctuations considered filesystem-safe, instead of removing some unsafe chars only. https://hackerone.com/reports/1131465 https://github.com/ruby/tmpdir/commit/adf294bc2d
2021-04-05Update REXML to 3.2.5 (#4353)Yusuke Endoh
Notes: Merged-By: mame <mame@ruby-lang.org>
2021-04-05[ruby/irb] Suppress verbose messages in the parallel testNobuyoshi Nakada
`:VERBOSE` flag needs to be set prior to `IRB::Irb.new`. https://github.com/ruby/irb/commit/0dbe292979
2021-04-05* 2021-04-05 [ci skip]git
2021-04-05[Doc] Drop signature around removed IO#codepointsKenichi Kamiya
Follow 43b95bafd57d04c8fb401d3a9b52aca3f5b4b0be Notes: Merged: https://github.com/ruby/ruby/pull/4320
2021-04-04Unify code by word sizesNobuyoshi Nakada
2021-04-04[ruby/irb] Check WITH_VTERM env to add vterm gem as dependencyaycabta
https://github.com/ruby/irb/commit/23c8b73cb1
2021-04-04test/ruby/test_lambda.rb: Remove "warning: assigned but unused variable"Yusuke Endoh
2021-04-04* 2021-04-04 [ci skip]git
2021-04-04Refactor rb_obj_call_init and rb_obj_call_init_kw (#4351)S.H
Notes: Merged-By: nobu <nobu@ruby-lang.org>
2021-04-03[ruby/reline] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGVaycabta
https://github.com/ruby/reline/commit/7562cf3b5f
2021-04-03[ruby/irb] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGVaycabta
https://github.com/ruby/irb/commit/b034bd22b0
2021-04-03[ruby/irb] Use yamatanooroti gem for testsaycabta
https://github.com/ruby/irb/commit/f053f49c29
2021-04-03[Doc] Link to doc/contributing.rdoc from CONTRIBUTING.md (#4266)Kenichi Kamiya
* [Doc] Link to doc/contributing.rdoc from CONTRIBUTING.md [ci skip] * [Doc] Add path prefix `doc/` https://github.com/ruby/ruby/pull/4266#discussion_r598220279 * [Doc] Prefer relative path in CONTRIBUTING.md This patch by nobu (Nobuyoshi Nakada), thank you! ref: https://github.com/ruby/ruby/pull/4266#discussion_r598212402 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged-By: nobu <nobu@ruby-lang.org>
2021-04-03[ruby/reline] Version 0.2.5aycabta
https://github.com/ruby/reline/commit/22ce5651e5
2021-04-03[ruby/irb] Version 1.3.5aycabta
https://github.com/ruby/irb/commit/22e2ddf715
2021-04-03[ruby/rdoc] Links to document texts without "rdoc-ref:" prefixNobuyoshi Nakada
While links to generated HTML from RDoc file needs to be prefixed by "rdoc-ref:" currently, in case of explicit references this seems just redundant. Also GitHub RDoc support does not work with this prefix. This patch lets links to such document texts (".rb", ".rdoc" and ".md" now) refer URLs generated by `RDoc::TopLevel#http_url` without the prefix. https://github.com/ruby/rdoc/commit/f18b27b69d
2021-04-03[ruby/rdoc] Clarify that dots in URL are replacedNobuyoshi Nakada
The dots in all path components from the document root are replaced with underscores, not only in the basename. https://github.com/ruby/rdoc/commit/7a3417ea4c
2021-04-03[ruby/rdoc] Treat emphasis tags as excluding other notationsaycabta
And exclusive notations don't exclude other exclusive notations. https://github.com/ruby/rdoc/commit/b8baa9a435
2021-04-03[ruby/rdoc] Treat other tags as word boundariesaycabta
https://github.com/ruby/rdoc/commit/8222f85a17
2021-04-03[ruby/rdoc] Disable other notations in <code> tagsaycabta
https://github.com/ruby/rdoc/commit/0cd3b55210
2021-04-03[ruby/irb] Evaluate each toplevel statementaycabta
https://github.com/ruby/irb/commit/bc1b1d8bc3
2021-04-03[ruby/irb] Add test for multiline pasteaycabta
https://github.com/ruby/irb/commit/e93c9cb54d
2021-04-03[ruby/irb] Add yamatanooroti test exampleaycabta
https://github.com/ruby/irb/commit/279155fcee
2021-04-03* 2021-04-03 [ci skip]git
2021-04-03[ruby/irb] process multi-line pastes as a single entityCody Cutrer
this allows pasting leading-dot chained methods correctly: ```ruby class A def a; self; end def b; true; end end a = A.new a .a .b ``` will properly return `true` instead of erroring on the `.a` line: ``` irb(main):001:1* class A irb(main):002:1* def a; self; end irb(main):003:0> end irb(main):004:0* irb(main):005:0> a = A.new irb(main):006:0* irb(main):007:0> a irb(main):008:0> .a irb(main):009:0> .a => #<A:0x00007f984211fbe8> ``` https://github.com/ruby/irb/commit/45aeb52575
2021-04-02[ruby/reline] Reset @rest_height when clear screenaycabta
https://github.com/ruby/reline/commit/3a7019b0d5
2021-04-02[ruby/irb] Add show_source commandTakashi Kokubun
https://github.com/ruby/irb/commit/108cb04352
2021-04-02Fill the ring-buffer with the fallback valueNobuyoshi Nakada
Fill with the pointer to the root position, instead of zero and comparing later. Also suppress a false warning by Visual C++. ``` file.c(4759): warning C4090: 'function': different 'const' qualifiers ``` Notes: Merged: https://github.com/ruby/ruby/pull/4348
2021-04-02[ruby/irb] Colorize `__END__` as keywordNobuyoshi Nakada
https://github.com/ruby/irb/commit/9b84018311
2021-04-02fix return from orphan Proc in lambdaKoichi Sasada
A "return" statement in a Proc in a lambda like: `lambda{ proc{ return }.call }` should return outer lambda block. However, the inner Proc can become orphan Proc from the lambda block. This "return" escape outer-scope like method, but this behavior was decieded as a bug. [Bug #17105] This patch raises LocalJumpError by checking the proc is orphan or not from lambda blocks before escaping by "return". Most of tests are written by Jeremy Evans https://github.com/ruby/ruby/pull/4223 Notes: Merged: https://github.com/ruby/ruby/pull/4347
2021-04-01[Doc] Update to FrozenError from RuntimeError in Object#freezeKenichi Kamiya
Notes: Merged: https://github.com/ruby/ruby/pull/4346
2021-04-02[ruby/irb] SIGINT should raise Interrupt after IRB sessionKoichi Sasada
https://github.com/ruby/irb/commit/5832cfe75b
2021-04-02* 2021-04-02 [ci skip]git
2021-04-02[ruby/irb] Suppress verbose messages in the parallel testNobuyoshi Nakada
`:VERBOSE` flag needs to be set prior to `IRB::Irb.new`. https://github.com/ruby/irb/commit/78604682d9
2021-04-01Suppress a warningNobuyoshi Nakada
Loop variables of `list_for_each` need to be initialized.
2021-04-01coroutine: Darwin on ARM64 needs alignment of 2^2David CARLIER
2021-04-01* 2021-04-01 [ci skip]git