59758 Commits

Author SHA1 Message Date
Takashi Kokubun
2e1fd4e2d7
Official actions/checkout is useless
It died again https://github.com/ruby/ruby/runs/368837347
2019-12-31 01:49:17 -08:00
Joao Fernandes
918fe2ed7c Fix Object#inspect documentation
Starting from ruby 2.7.0, there's no longer a connection between the hexadecimal
number that #inspect shows and the object's ID.
2019-12-31 18:31:59 +09:00
Kazuhiro NISHIYAMA
db58b4a48d
Update NEWS for Ruby 2.8.0 (tentative; to be 3.0.0) 2019-12-31 18:18:21 +09:00
Kazuhiro NISHIYAMA
3096baec0e
Copy NEWS to doc/NEWS-2.7.0 2019-12-31 18:16:21 +09:00
Nobuyoshi Nakada
26ee0af4b3
Test the bundled version minitest instead of master
Minitest has the released tags now.
2019-12-31 17:49:26 +09:00
MSP-Greg
d912393e09 text/readline/test_readline.rb - fix skip on Reline (#2743)
TestRelineAsReadline#test_input_metachar passes on MinGW
2019-12-31 00:29:58 -08:00
Prem Sichanugrist
56a74659cc Copy-editing NEWS file on "is now warned" messages (#2783)
The phrase "[doing X] is now warned" is not grammatically correct in
English as it is lacking an object. We can make these sentences read
better by switching to "[doing X] will now display a warning" instead.
2019-12-31 00:27:24 -08:00
Takashi Kokubun
38c35dd22d
Make Slack notifications consistent 2019-12-30 23:46:18 -08:00
Takashi Kokubun
8136fec6e4
There's no such target 2019-12-30 23:42:20 -08:00
Takashi Kokubun
f98650e9f8
Make all Actions job names consistent
like "{platform} / make ({make target}, ...)"
2019-12-30 23:30:35 -08:00
Takashi Kokubun
fe158e4c65
Do not doubly build on trunk 2019-12-30 23:23:25 -08:00
Takashi Kokubun
b00418732c
Drop MinGW build from AppVeyor
in favor of #2791
2019-12-30 23:20:18 -08:00
MSP-Greg
eb2b425821 MinGW on Actions (#2791)
* MinGW - skip spec in spec/ruby/optional/capi/thread_spec.rb

C-API Thread function rb_thread_call_without_gvl
      -- runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO

stops/freezes spec tests

See https://bugs.ruby-lang.org/issues/16265

* MinGW - skip test test/resolv/test_dns.rb

Test times out in CI (both AppVeyor & Actions), cannot repo locally

* MinGW - skip test test/ruby/test_thread_queue.rb

* Add Actions mingw.yml
2019-12-30 23:19:31 -08:00
Takashi Kokubun
79c4202676
Revert "Remove TEST_BUNDLED_GEMS_ALLOW_FAILURES"
This reverts commit 75e8dd58f69c190c9698d0133942032903fb2f07.

We seem to randomly hit another issue these days:
https://github.com/ruby/ruby/runs/368756135
https://github.com/ruby/ruby/runs/368756191
2019-12-30 23:09:24 -08:00
Nobuyoshi Nakada
179e402d8a
Updated dependencies on internal/warnings.h
Needed for `UNALIGNED_MEMBER_ACCESS` using `COMPILER_WARNING_`*
macros.
2019-12-31 11:14:19 +09:00
Alan Wu
3264a00958 Fix Proc#<< spec
[Bug #16406]
2019-12-30 18:13:55 -05:00
git
f1ea5d22dc * 2019-12-31 [ci skip] 2019-12-31 07:48:19 +09:00
Alan Wu
99c7b0b7ea
Decide lambdaness of (f << g) using g (#2729)
* Deciding lambdaness of (f << g) using g

* Use version guards for spec changes
2019-12-30 17:47:58 -05:00
Nobuyoshi Nakada
3e2418e2a6
[ruby/io-console] bump up to 0.5.4 2019-12-30 17:38:28 +09:00
git
aed5afdaa0 * 2019-12-30 [ci skip] 2019-12-30 09:59:25 +09:00
Vladimir Dementyev
e882187612 syntax.rdoc: remove "experimental" from refinements (#2796) 2019-12-29 16:59:07 -08:00
Hiroshi SHIBATA
2ef8d5beee
ext/openssl/ossl_ssl.c: nodoc for private methods
[Misc #11712][ruby-core:71565]
2019-12-29 21:09:15 +08:00
Nobuyoshi Nakada
31e2f03512 [ruby/io-console] Enable only interrupt bits on intr: true
https://github.com/ruby/io-console/commit/baaf929041
2019-12-29 16:26:22 +09:00
Ary Borenszweig
e5c441a4a2 Optimize Array#rotate!(n) for n = 1 and n = -1
For the most common cases of `rotate!` one place to the right or to the
left, instead of doing some reversals of the array we just keep a single
value in a temporary value, use memmove and then put the temporary
value where it should be.
2019-12-29 13:12:42 +09:00
Seiei Miyagi
a0d1fd16d1 Fix documentation of Dir#each_child 2019-12-29 12:59:23 +09:00
Nobuyoshi Nakada
d7bef803ac Separate builtin initialization calls 2019-12-29 12:34:55 +09:00
Nobuyoshi Nakada
8ce5d46e66
Fixed an unavailable sanitizer feature 2019-12-29 08:19:43 +09:00
git
290711e1ce * 2019-12-29 [ci skip] 2019-12-29 07:13:25 +09:00
Jeremy Evans
a04c535967 Use __func__ as rb_cv_function_name_string on OpenBSD
The use of RUBY_WERROR_FLAG causes this test to fail on OpenBSD
platforms that use the binutils linker (ld.bfd) instead of the
llvm linker (ld.lld), due to warnings added to the binutils linker
in OpenBSD.

Removing the RUBY_WERROR_FLAG would probably also fix it, but that
would affect other platforms.

This should also be backported to Ruby 2.7.

Analysis and similar fix recommended by George Koehler.
2019-12-28 14:13:05 -08:00
Kazuhiro NISHIYAMA
bb5b8ace8d
Fix typo 2019-12-28 21:10:08 +09:00
Takashi Kokubun
4fb6643f31
Do not notify Travis on_success
We don't find it useful anymore, because notifications from many other
CIs are mixed.
2019-12-28 01:12:17 -08:00
Takashi Kokubun
a994b0aee7
Add VM insns counter like debug_counter (#2789) 2019-12-28 00:44:09 -08:00
Samuel Williams
bf04fe086b
Remove "All Rights Reserved." from Copyright statement. 2019-12-28 12:45:37 +13:00
Samuel Williams
f96216df8d
Remove "All Rights Reserved." from Copyright statement. 2019-12-28 12:41:47 +13:00
Jeremy Evans
f05416c91f Fix coroutine copy implementation on OpenBSD
OpenBSD is the only platform that uses this support by default,
and it did not work because while OpenBSD supports alloca, it does
not include alloca.h.

This should be backported to Ruby 2.7.

From George Koehler
2019-12-27 15:01:01 -08:00
Benoit Daloze
c74d30e795 Update to ruby/spec@7241f39 2019-12-27 17:36:07 +01:00
Benoit Daloze
74fdc1e60f Update to ruby/mspec@673fcab 2019-12-27 17:36:04 +01:00
git
fe3d9d2832 * 2019-12-28 [ci skip] 2019-12-28 00:47:26 +09:00
Benoit Daloze
a2fac1d72c Update to ruby/spec@d419e74 2019-12-27 16:46:08 +01:00
Benoit Daloze
26a9f80c82 Update to ruby/mspec@1034afc 2019-12-27 16:46:05 +01:00
Nobuyoshi Nakada
bf77fc23e7
Use the more popular word [ci skip]
[Bug #16437]
2019-12-27 17:51:24 +09:00
aycabta
4db898284d Add test_completion_with_indent_and_completer_quote_characters
This is for 8a705245e55575d4d310a2e956b89a36a5931971.
2019-12-27 16:07:52 +09:00
aycabta
778634f778 Drop an invalid char as UTF-8 2019-12-27 16:02:30 +09:00
Kazuhiro NISHIYAMA
729b7ce270
Add check_warning_flags to leakchecker 2019-12-27 13:06:31 +09:00
卜部昌平
8c5430e274 reroute macro conflicts on OpenBSD
OpenBSD's <sys/endian.h> has its own swap32() etc.  We have to avoid
name conflicts.

See also https://rubyci.org/logs/rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20191226T210011Z.log.html.gz#miniruby
2019-12-27 10:17:06 +09:00
Kazuhiro NISHIYAMA
018769e291
Try to fix error on Solaris 2019-12-27 09:20:58 +09:00
git
30dbd9e4c7 * 2019-12-27 [ci skip] 2019-12-27 00:47:21 +09:00
Nobuyoshi Nakada
baf37a5f9c
Get rid of LIST_HEAD conflict with a system header on macOS 2019-12-27 00:46:59 +09:00
Yusuke Endoh
7bf44e9222 #include "internal/debug" seems to be needed in assert mode
http://ci.rvm.jp/results/trunk-theap-asserts@silicon-docker/2525210
2019-12-26 21:20:50 +09:00
卜部昌平
0c2d731ef2 update dependencies 2019-12-26 20:45:12 +09:00