summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make the return type of rb_char_next the same as CharNextNobuyoshi Nakada2021-04-081-2/+2
|
* [ruby/reline] Moved development dependencies to GemfileNobuyoshi Nakada2021-04-081-6/+0
| | | | | | | | As expressions in a gemspec file are evaluated at the build time, but not the run time, the conditional in the gemspec will not work as intended. https://github.com/ruby/reline/commit/c09b7c454a
* [ruby/reline] Separate keystrokes each editing modeaycabta2021-04-087-69/+128
| | | | https://github.com/ruby/reline/commit/ee23e6f3f8
* [ruby/reline] Check WITH_VTERM env to add vterm gem as dependencyaycabta2021-04-081-1/+1
| | | | https://github.com/ruby/reline/commit/27b689a7e2
* [ruby/irb] Moved development dependencies to GemfileNobuyoshi Nakada2021-04-081-5/+0
| | | | | | | | As expressions in a gemspec file are evaluated at the build time, but not the run time, the conditional in the gemspec will not work as intended. https://github.com/ruby/irb/commit/42f364ea23
* [ruby/irb] Ripper::Lexer::Elem#state is defined since Ruby 2.5Nobuyoshi Nakada2021-04-081-6/+1
| | | | | | And the required ruby version is 2.5 or later. https://github.com/ruby/irb/commit/ac496d4c78
* Use autogen.shNobuyoshi Nakada2021-04-086-6/+6
|
* test/zlib/test_zlib.rb: Set binmode to test output fileYusuke Endoh2021-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seems like the test `TestZlibGzipFile#test_gzip_reader_zcat` fails when the timestamp has `\n\n`. https://ci.appveyor.com/project/ruby/ruby/builds/38597932 ``` 1) Error: TestZlibGzipFile#test_gzip_reader_zcat: Zlib::DataError: invalid distance too far back C:/projects/ruby/test/zlib/test_zlib.rb:522:in `initialize' C:/projects/ruby/test/zlib/test_zlib.rb:522:in `new' C:/projects/ruby/test/zlib/test_zlib.rb:522:in `zcat' C:/projects/ruby/test/zlib/test_zlib.rb:522:in `block (2 levels) in test_gzip_reader_zcat' C:/projects/ruby/test/zlib/test_zlib.rb:521:in `open' C:/projects/ruby/test/zlib/test_zlib.rb:521:in `block in test_gzip_reader_zcat' C:/projects/ruby/lib/tempfile.rb:358:in `create' C:/projects/ruby/test/zlib/test_zlib.rb:510:in `test_gzip_reader_zcat' ``` The test time is around 2021-04-08 04:40 +0900. Maybe the following time should trigger the bug. ``` irb(main):001:0> Time.at(1617824266) => 2021-04-08 04:37:46 +0900 irb(main):002:0> [1617824266].pack("V") => "\n\nn`" ```
* [ruby/optparse] gemspec: Explicit files list [ci skip]Olle Jonsson2021-04-081-5/+1
| | | | | | | | This avoid shelling out, and includes a narrower list of files. https://github.com/ruby/optparse/commit/f3ca83caff Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* [ruby/optparse] Make use of option_params.rdocBurdetteLamar2021-04-084-67/+28
| | | | https://github.com/ruby/optparse/commit/d55d9284c3
* [ruby/optparse] Enhanced doc for option parameters (#11)Burdette Lamar2021-04-0837-0/+1106
| | | | https://github.com/ruby/optparse/commit/5618eeb49e
* [ruby/optparse] More on tutorial (#9)Burdette Lamar2021-04-0810-54/+133
| | | | | | * More on tutorial: clearer example output https://github.com/ruby/optparse/commit/84dfd92d2a
* [ruby/optparse] gemspec: Explicitly list 0 executablesOlle Jonsson2021-04-081-1/+1
| | | | | | This gem exposes no executable files. https://github.com/ruby/optparse/commit/d14bf83007
* [ruby/optparse] Beginnings of tutorialBurdetteLamar2021-04-085-0/+154
| | | | https://github.com/ruby/optparse/commit/f209276f79
* sync_default_gems.rb: do not reset the whole directory [ci skip]Nobuyoshi Nakada2021-04-081-1/+1
| | | | | If no files to be ignored, resetting with no argument means resetting the whole directory.
* * 2021-04-08 [ci skip]git2021-04-081-1/+1
|
* [Bug #17780] Fix Method#super_method for module aliasPeter Zhu2021-04-072-1/+14
| | | | | | 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.
* * 2021-04-07 [ci skip]git2021-04-071-1/+1
|
* test/drb/test_drb.rb: Specify the host of DRbServerYusuke Endoh2021-04-072-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Try to fix Leaked file descriptorKazuhiro NISHIYAMA2021-04-061-1/+3
| | | | | | | | | 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> ```
* spec/ruby/library/matrix/: Change the version guard to 3.0.2Yusuke Endoh2021-04-061-1/+1
| | | | [Bug #17521] is not backported to 3.0.1.
* The guard is to alert patchlevel of X.Y.0NARUSE, Yui2021-04-061-1/+1
|
* * 2021-04-06 [ci skip]git2021-04-061-1/+1
|
* update-deps: prepare to run if not yet doneNobuyoshi Nakada2021-04-061-0/+13
|
* Update tool/format-releaseYusuke Endoh2021-04-051-4/+16
| | | | | * remove bz2 entries for Ruby 3 series * remove stats information except "X.X.0" release
* Get rid of multibyte prefix to tmpdirNobuyoshi Nakada2021-04-051-6/+6
|
* [ruby/tmpdir] Bump version to 0.1.2Hiroshi SHIBATA2021-04-051-1/+1
| | | | https://github.com/ruby/tmpdir/commit/c79bc7adf6
* [ruby/tmpdir] Make usable chars more strictNobuyoshi Nakada2021-04-052-3/+5
| | | | | | | | | 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
* Update REXML to 3.2.5 (#4353)Yusuke Endoh2021-04-051-1/+1
|
* [ruby/irb] Suppress verbose messages in the parallel testNobuyoshi Nakada2021-04-051-1/+1
| | | | | | `:VERBOSE` flag needs to be set prior to `IRB::Irb.new`. https://github.com/ruby/irb/commit/0dbe292979
* * 2021-04-05 [ci skip]git2021-04-051-1/+1
|
* [Doc] Drop signature around removed IO#codepointsKenichi Kamiya2021-04-051-2/+0
| | | | Follow 43b95bafd57d04c8fb401d3a9b52aca3f5b4b0be
* Unify code by word sizesNobuyoshi Nakada2021-04-041-5/+2
|
* [ruby/irb] Check WITH_VTERM env to add vterm gem as dependencyaycabta2021-04-041-1/+1
| | | | https://github.com/ruby/irb/commit/23c8b73cb1
* test/ruby/test_lambda.rb: Remove "warning: assigned but unused variable"Yusuke Endoh2021-04-041-10/+10
|
* * 2021-04-04 [ci skip]git2021-04-041-1/+1
|
* Refactor rb_obj_call_init and rb_obj_call_init_kw (#4351)S.H2021-04-041-2/+1
|
* [ruby/reline] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGVaycabta2021-04-031-0/+2
| | | | https://github.com/ruby/reline/commit/7562cf3b5f
* [ruby/irb] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGVaycabta2021-04-031-0/+2
| | | | https://github.com/ruby/irb/commit/b034bd22b0
* [ruby/irb] Use yamatanooroti gem for testsaycabta2021-04-031-0/+1
| | | | https://github.com/ruby/irb/commit/f053f49c29
* [Doc] Link to doc/contributing.rdoc from CONTRIBUTING.md (#4266)Kenichi Kamiya2021-04-031-1/+2
| | | | | | | | | | | | | | | | | | | * [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>
* [ruby/reline] Version 0.2.5aycabta2021-04-031-1/+1
| | | | https://github.com/ruby/reline/commit/22ce5651e5
* [ruby/irb] Version 1.3.5aycabta2021-04-031-2/+2
| | | | https://github.com/ruby/irb/commit/22e2ddf715
* [ruby/rdoc] Links to document texts without "rdoc-ref:" prefixNobuyoshi Nakada2021-04-032-0/+25
| | | | | | | | | | | | | | 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
* [ruby/rdoc] Clarify that dots in URL are replacedNobuyoshi Nakada2021-04-031-0/+3
| | | | | | | 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
* [ruby/rdoc] Treat emphasis tags as excluding other notationsaycabta2021-04-033-6/+7
| | | | | | And exclusive notations don't exclude other exclusive notations. https://github.com/ruby/rdoc/commit/b8baa9a435
* [ruby/rdoc] Treat other tags as word boundariesaycabta2021-04-032-4/+18
| | | | https://github.com/ruby/rdoc/commit/8222f85a17
* [ruby/rdoc] Disable other notations in <code> tagsaycabta2021-04-034-28/+114
| | | | https://github.com/ruby/rdoc/commit/0cd3b55210
* [ruby/irb] Evaluate each toplevel statementaycabta2021-04-033-22/+151
| | | | https://github.com/ruby/irb/commit/bc1b1d8bc3
* [ruby/irb] Add test for multiline pasteaycabta2021-04-031-0/+35
| | | | https://github.com/ruby/irb/commit/e93c9cb54d