Граф коммитов

65013 Коммитов

Автор SHA1 Сообщение Дата
Koichi Sasada a7d933e502 fix conditon of vm_cc_invalidated_p()
vm_cc_invalidated_p() returns false when the cme is *NOT*
invalidated.
2021-01-19 14:16:37 +09:00
Takashi Kokubun 4886535ab2
Avoid suppressing unrelated warnings 2021-01-18 20:44:48 -08:00
Yusuke Endoh f12320cd57 test/ruby/test_jit.rb: Avoid a warning
http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20210119T033003Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20210119T033003Z/ruby/test/ruby/test_jit.rb:781:
warning: -e:5: warning: possibly useless use of -@ in void context
```
2021-01-19 13:40:39 +09:00
Yusuke Endoh ff8c92359a test/ruby/test_pattern_matching.rb: Avoid a warning
http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20210119T033003Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20210119T033003Z/ruby/test/ruby/test_pattern_matching.rb:798:
warning: assigned but unused variable - x
```
2021-01-19 13:34:07 +09:00
Hiroshi SHIBATA 5741236a0c
Use real-case version number for the result of `gem list` 2021-01-19 11:51:39 +09:00
Vladimir Dementyev 1b89b99941
Mark pattern labels as unremoveable
Peephole optimization doesn't play well with find pattern at
least. The only case when a pattern matching could have
unreachable patterns is when we have lasgn/dasgn node, which
shouldn't happen in real-life.

Fixes https://bugs.ruby-lang.org/issues/17534
2021-01-19 08:34:01 +09:00
Takashi Kokubun 9d1475c621
Fix JIT link failures
forgotten in https://github.com/ruby/ruby/pull/4018
2021-01-18 14:52:33 -08:00
Alan Wu e812b36205 Fix typo: invaldate -> invalidate 2021-01-18 14:02:19 -05:00
Nobuyoshi Nakada 21d2463fbc Added empty ruby2_keywords gem to suffice dependencies 2021-01-19 01:19:57 +09:00
Marc-Andre Lafortune fad9922d84 Revert "[Document][Array] Add missing call-seq for Array#append"
This reverts commit ac1a4bccbd.

See https://github.com/ruby/ruby/pull/4088
2021-01-18 11:05:05 -05:00
git 92e288420c * 2021-01-19 [ci skip] 2021-01-19 00:14:22 +09:00
Takashi Kokubun 5cf6229ee9
Skip updating exts in also test-spec to reduce the turnaround time (#4089)
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>

Partially reversing a4f3e1762a like 21df4dce53.
We usually run them through make check which has the dependency, and test-all and test-spec without the dependency are useful for running only individual tests.
2021-01-18 07:14:02 -08:00
Juanito Fatas ac1a4bccbd [Document][Array] Add missing call-seq for Array#append 2021-01-18 09:39:30 -05:00
Nobuyoshi Nakada dff74ee6db
Revert "Autoconf 2.70 no longer has -o option"
This reverts commit 331f0bc1cb.
It seems a mistake.
2021-01-18 21:15:47 +09:00
Hiroshi SHIBATA bb5747e18a
Added ruby2_keywords for Ruby 2.5 and 2.6 2021-01-18 20:41:33 +09:00
Nobuyoshi Nakada 331f0bc1cb
Autoconf 2.70 no longer has -o option 2021-01-18 16:22:17 +09:00
Nobuyoshi Nakada 48bb0329eb
Revert AC_PROG_CC_C99 for -std=gnu99 option to gcc 4.8 2021-01-18 16:22:17 +09:00
Nobuyoshi Nakada c32375883a
Update for autoconf 2.70 2021-01-18 16:22:17 +09:00
Nobuyoshi Nakada 414438688f
ruby_type_attribute is not used for now 2021-01-18 16:22:09 +09:00
Nobuyoshi Nakada c3d6bac325
Upcoming Struct#new behavior 2021-01-18 15:55:10 +09:00
Nobuyoshi Nakada a3851d97ed
Removed unused AC_CHECKING 2021-01-18 15:33:10 +09:00
Kazuhiro NISHIYAMA 6abf393e8f
OpenBSD has getentropy, but no sys/random.h
https://man.openbsd.org/getentropy

Try to fix https://rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20210118T023008Z.fail.html.gz
```
compiling random.c
random.c:53:11: fatal error: 'sys/random.h' file not found
# include <sys/random.h>
          ^~~~~~~~~~~~~~
1 error generated.
```
2021-01-18 12:43:05 +09:00
git bf640bbf8c * 2021-01-18 [ci skip] 2021-01-18 02:18:37 +09:00
aycabta 9f7876ab0f [ruby/irb] Version 1.3.2
https://github.com/ruby/irb/commit/a7699026cc
2021-01-18 02:13:07 +09:00
Nobuhiro IMAI 166f33d0d1 [ruby/irb] skip a failling test on TruffleRuby
* due to the difference of backtrace pointed out by @aycabta

https://github.com/ruby/irb/commit/5e00a0ae61
2021-01-18 02:13:01 +09:00
Nobuhiro IMAI d290a02bd7 [ruby/irb] handle repeated exception separately
https://github.com/ruby/irb/commit/fcf6b34bc5
2021-01-18 02:12:53 +09:00
Nobuhiro IMAI 3f0b4665df [ruby/irb] handle `__ENCODING__` as a keyword as well
https://github.com/ruby/irb/commit/a6a33d908f
2021-01-18 02:12:43 +09:00
aycabta edafde6844 [ruby/irb] [ruby/irb] [ruby/reline] Version 0.2.2
https://github.com/ruby/reline/commit/dfb710946f

https://github.com/ruby/irb/commit/1a1cdf9628

https://github.com/ruby/irb/commit/fe99faf8bd
2021-01-18 02:10:02 +09:00
aycabta e1449ae74f [ruby/reline] Reline::Windows.erase_after_cursor erases attributes too
https://github.com/ruby/reline/commit/68b961dfc7
2021-01-18 02:09:53 +09:00
aycabta 05df7e0d4a [ruby/reline] Support for change in Windows-specific behavior at eol
The behavior of automatically moving the cursor to the next line when
displaying a char at the eol on Windows suddenly disappeared.

https://github.com/ruby/reline/commit/cad4de6ee8
2021-01-18 02:09:43 +09:00
aycabta f3156e457d [ruby/reline] Windows needs more times to wait rendering
https://github.com/ruby/reline/commit/53ff2b09c7
2021-01-18 02:09:34 +09:00
aycabta 9279d3f255 [ruby/reline] Tests with yamatanooroti don't need chdir
Because of chdir, log files ware created in temporary directries on Windows.

https://github.com/ruby/reline/commit/200b469a68
2021-01-18 02:08:41 +09:00
aycabta 1aba1a5103 [ruby/reline] Initialize a variable just in case
https://github.com/ruby/reline/commit/29b10f6e98
2021-01-18 02:07:37 +09:00
Nobuyoshi Nakada f96eaf54a2
Use the dedicated assertion 2021-01-17 21:55:48 +09:00
David CARLIER 54c91185c9 random generator update for Mac proposal
using getentropy for seeding, reading 256 bytes at a time to avoid
 the EIO errno since this is the maximum.
2021-01-17 18:48:48 +09:00
Takashi Kokubun 8d099aa040
Warn Struct#initialize with only keyword args (#4070)
* Warn Struct#initialize with only keyword args

A part of [Feature #16806]

* Do not warn if `keyword_init: false`

is explicitly specified

* Add a NEWS entry

* s/in/from/

* Make sure all fields are initialized
2021-01-17 01:35:54 -08:00
Nobuyoshi Nakada e033c9d7db
Include missing AvailabilityMacros.h 2021-01-17 18:28:20 +09:00
Nobuyoshi Nakada 2bd8098c6d
Suppress the warning for the invalid method_explorer case 2021-01-17 18:07:33 +09:00
manga_osyo b84b253a69 Fix Ripper with heredoc. 2021-01-17 12:58:13 +09:00
Nobuyoshi Nakada 562b97e2f0 [ruby/fileutils] Removed code for dead versions
https://github.com/ruby/fileutils/commit/1f707d8cc6
2021-01-17 12:20:57 +09:00
Nobuyoshi Nakada 905f58dc87 [ruby/fileutils] Drop support for dead old versions
https://github.com/ruby/fileutils/commit/4526148c67
2021-01-17 12:20:55 +09:00
Hiroshi SHIBATA 19902e2e0a
Update the maintainer of net-smtp 2021-01-17 08:14:02 +09:00
git fd42d334cf * 2021-01-17 [ci skip] 2021-01-17 06:09:01 +09:00
Sutou Kouhei a4a6cb036e Remove samples for test-unit
They are no longer needed.
2021-01-17 06:08:21 +09:00
Sutou Kouhei f2767cf091 Move rss samples to ruby/rss 2021-01-17 06:07:54 +09:00
Nobuyoshi Nakada 35a047301b
[ruby/io-console] Rubygems 3.2 supports `--platform` option
https://github.com/ruby/io-console/commit/c8046fde84
2021-01-16 19:42:53 +09:00
Nobuyoshi Nakada 6ab5504fe5
[ruby/io-console] Moved JRuby version files into particular path
https://github.com/ruby/io-console/commit/b0691d2c20
2021-01-16 19:42:52 +09:00
Nobuyoshi Nakada 92da224d22
[ruby/io-console] Delegate to JRuby version
Add `--platform` option tentatively.

https://github.com/ruby/io-console/commit/3bf1a7b753
2021-01-16 19:42:52 +09:00
Nobuyoshi Nakada c143a2f947
[ruby/io-console] bump up to 0.5.7
https://github.com/ruby/io-console/commit/f55d7ebff6
2021-01-16 19:42:52 +09:00
Aaron Patterson 0ed71b37fa Don't try to clear cache on garbage objects
Method cache can be cleared during lazy sweeping.  An object that will
be collected during lazy sweep *should not* have it's method cache
cleared.  Soon-to-be-collected objects can be in an inconsistent state and
this can lead to a crash.  This patch just leaves early if the object is
going to be collected.

Fixes [Bug #17536]

Co-Authored-By: John Hawthorn <john@hawthorn.email>
Co-Authored-By: Alan Wu <XrXr@users.noreply.github.com>
2021-01-15 15:23:16 -08:00