summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-10Stop Thread.new in `DRb::TimerIdConv::TimerHolder2#on_gc`Kazuhiro NISHIYAMA
and add more stop_pool after stop_service
2019-12-10[cygwin] Removed unnecessary packagesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2734
2019-12-10[cygwin] Removed unnecessary `-c` optionsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2734
2019-12-10forward declare struct timespec卜部昌平
... like we do so for struct timeval at several hundreds of lines above. Depending on OS/Compiler, this can be the first place for the struct to appear. To make sure the struct is global, we need a forward declaration at this point.
2019-12-10test/ruby/test_keywords.rb: suppress a warningYusuke Endoh
https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu1604/ruby-master/log/20191210T003005Z.log.html.gz ``` .../test/ruby/test_keyword.rb:2711: warning: `*' interpreted as argument prefix ```
2019-12-10test/net/http/test_https.rb (test_get_SNI_failure): stop proxy settingsYusuke Endoh
Because the test fails under HTTP proxy settings. https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20191210T000004Z.fail.html.gz ``` 1) Failure: TestNetHTTPS#test_get_SNI_failure [/export/home/users/chkbuild/cb-gcc/tmp/build/20191210T000004Z/ruby/test/net/http/test_https.rb:81]: [OpenSSL::SSL::SSLError] exception expected, not #<Net::HTTPServerException: 403 "Forbidden">. ``` The new SNI feature introduced at 54072e329c may need to be improved for HTTP proxy environment.
2019-12-10Support completion with case-insensitive fashionaycabta
Reline performs completion in a case-insensitive fashon if Readline.completion_case_fold or completion-ignore-case of .inputrc are set "on".
2019-12-10* 2019-12-10 [ci skip]git
2019-12-09Add Proc#ruby2_keywordsJeremy Evans
This allows passing keywords through a normal argument splat in a Proc. While needing ruby2_keywords support for methods is more common, there is code that delegates keywords through normal argument splats in procs, including code in Rails. For that reason, it makes sense to expose this for procs as well. Internally, ruby2_keywords is not tied to methods, but iseqs, so this just allows for setting the ruby2_keywords for the iseq related to the proc. Notes: Merged: https://github.com/ruby/ruby/pull/2728
2019-12-09fix typo of 54072e329cab7207fba133caba4fc12b45add8f9NARUSE, Yui
2019-12-09Add ipaddr optional parameter to Net::HTTP#startNARUSE, Yui
to replace the address for TCP/IP connection [Feature #5180] There're 3 layers of hostname: * host address for TCP/IP * TLS server name * HTTP Host header value To test DNS round robin or check server certificate from server local, people sometimes want to connect server with given IP address but keep TLS server name and HTTP Host header value. closes [Feature #15215] closes https://github.com/ruby/ruby/pull/1893 closes https://github.com/ruby/ruby/pull/1977
2019-12-09Added workaround for CoreAssertions used by ruby/logger.Hiroshi SHIBATA
2019-12-09Merge the upstream changes for test-unit on ruby/logger.Hiroshi SHIBATA
This commits are based with: https://github.com/ruby/logger/commit/f067f7d1aa743b467d633ec6d1790bd93ed9e25b https://github.com/ruby/logger/commit/86058f420d8f6909500cccceb24f58bef0597b4d https://github.com/ruby/logger/commit/02db6e8ed85d1f4ba974f08fee292bad400d9fc2
2019-12-09[ruby/logger] 1.4.1sonots
https://github.com/ruby/logger/commit/5987f518d1
2019-12-09[ruby/logger] Fixes #38Hiroshi SHIBATA
https://github.com/ruby/logger/commit/31efbb29ff
2019-12-09[ruby/logger] 1.4.0sonots
https://github.com/ruby/logger/commit/8127ce0b56
2019-12-09[ruby/logger] Avoid creating [] and "" when logging an Exception that has no ↵Akira Matsuda
backtrace https://github.com/ruby/logger/commit/75fd308053
2019-12-09[ruby/logger] frozen_string_literal: truesonots
https://github.com/ruby/logger/commit/a057eede7b
2019-12-09[ruby/logger] Fix typoAlan Wu
https://github.com/ruby/logger/commit/5f70168ac5
2019-12-09Add badge of CygwinKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2733
2019-12-09Add cache of cygwin packagesKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2733
2019-12-09Remove unused branch nameKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2733
2019-12-09Split cygwin-chocolatey cacheKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2733
2019-12-09Remove debug printKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2733
2019-12-09vm_args.c (rb_warn_check): Use iseq_unique_id instead of its pointerYusuke Endoh
(This is the second try of 036bc1da6c6c9b0fa9b7f5968d897a9554dd770e.) If iseq is GC'ed, the pointer of iseq may be reused, which may hide a deprecation warning of keyword argument change. http://ci.rvm.jp/results/trunk-test1@phosphorus-docker/2474221 ``` 1) Failure: TestKeywordArguments#test_explicit_super_kwsplat [/tmp/ruby/v2/src/trunk-test1/test/ruby/test_keyword.rb:549]: --- expected +++ actual @@ -1 +1 @@ -/The keyword argument is passed as the last hash parameter.* for `m'/m +"" ``` This change ad-hocly adds iseq_unique_id for each iseq, and use it instead of iseq pointer. This covers the case where caller is GC'ed. Still, the case where callee is GC'ed, is not covered. But anyway, it is very rare that iseq is GC'ed. Even when it occurs, it just hides some warnings. It's no big deal.
2019-12-09Remove workaround encoding modificationaycabta
2019-12-09Fix encoding compatibility checking of completion correctlyaycabta
2019-12-09Revert "vm_args.c (rb_warn_check): Use iseq_unique_id instead of its pointer"Yusuke Endoh
This reverts commit 036bc1da6c6c9b0fa9b7f5968d897a9554dd770e. This caused a failure on iseq_binary mode. http://ci.rvm.jp/results/trunk-iseq_binary@silicon-docker/2474587 Numbering iseqs is not trivial due to dump/load.
2019-12-09Revert "vm_args.c (rb_warn_check): Use unique_id * 2 instead of unique_id"Yusuke Endoh
This reverts commit 751a9b32e5a53336768eb878de1827245a3292bf.
2019-12-09Stop pool threads in test/rinda tooKazuhiro NISHIYAMA
2019-12-09vm_args.c (rb_warn_check): Use unique_id * 2 instead of unique_idYusuke Endoh
The function assumed that the LSB of `callee` was 0.
2019-12-09vm_args.c (rb_warn_check): Use iseq_unique_id instead of its pointerYusuke Endoh
If iseq is GC'ed, the pointer of iseq may be reused, which may hide a deprecation warning of keyword argument change. http://ci.rvm.jp/results/trunk-test1@phosphorus-docker/2474221 ``` 1) Failure: TestKeywordArguments#test_explicit_super_kwsplat [/tmp/ruby/v2/src/trunk-test1/test/ruby/test_keyword.rb:549]: --- expected +++ actual @@ -1 +1 @@ -/The keyword argument is passed as the last hash parameter.* for `m'/m +"" ``` This change ad-hocly adds iseq_unique_id for each iseq, and use it instead of iseq pointer. This covers the case where caller is GC'ed. Still, the case where callee is GC'ed, is not covered. But anyway, it is very rare that iseq is GC'ed. Even when it occurs, it just hides some warnings. It's no big deal.
2019-12-09* 2019-12-09 [ci skip]git
2019-12-09Separate stepsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2731
2019-12-09Set PATH at onceNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2731
2019-12-09Fixed the checking out sourceNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2731
2019-12-09Add .github/workflows/cygwin.ymlDaisuke Fujimura (fd0)
Notes: Merged: https://github.com/ruby/ruby/pull/2731
2019-12-08Skip completion tests for Editlineaycabta
2019-12-08Fix encoding of completed listaycabta
2019-12-08* 2019-12-08 [ci skip]git
2019-12-08Add test_simple_completion for Readlineaycabta
2019-12-07Show failed commits only when existsaycabta
2019-12-07[ruby/irb] Version 1.2.0aycabta
https://github.com/ruby/irb/commit/da6577a88c
2019-12-07[ruby/irb] New IRB needs Ruby 2.5 or lateraycabta
https://github.com/ruby/irb/commit/4be3158358
2019-12-07[ruby/irb] Revert "Reidline mode needs Reline what needs ↵aycabta
String#grapheme_clusters" This reverts commit 2b0b19b87c60d2cdb329979acbb96e12a1f940e7. New IRB parser needs new Ripper what has lex_state too. The new Ripper is adopted by Ruby 2.5 or later. https://github.com/ruby/irb/commit/9ab6e35a2c
2019-12-07[ruby/irb] Reidline mode needs Reline what needs String#grapheme_clustersaycabta
https://github.com/ruby/irb/commit/2b0b19b87c
2019-12-07[ruby/reline] Support Ruby 2.5 or later for String#grapheme_clustersaycabta
https://github.com/ruby/reline/commit/33e8c8f15b
2019-12-07test/ruby/test_file_exhaustive.rb: shorten the name of temporary dirYusuke Endoh
``` 1) Error: TestFileExhaustive#test_socket_p: ArgumentError: too long unix socket path (109bytes given but 108bytes max) /export/home/users/chkbuild/cb-sunc/tmp/build/20191207T024036Z/ruby/test/ruby/test_file_exhaustive.rb:155:in `initialize' ```
2019-12-07* 2019-12-07 [ci skip]git
2019-12-07Adding s390x support (#2727)Namrata Bhave