64552 Commits

Author SHA1 Message Date
aycabta
dc61affd67 [ruby/reline] [ruby/irb] Call ripper only once when generating dynamic prompt
https://github.com/ruby/irb/commit/babb122a48

https://github.com/ruby/reline/commit/e6dbcb3b42
2020-12-19 02:12:11 +09:00
Koichi Sasada
e76b56f58e support Ruby 2.x for openssl 2020-12-19 02:05:08 +09:00
Yusuke Endoh
ad76c8fb6b Update TypeProf to 0.10.0 2020-12-19 00:53:47 +09:00
Nobuyoshi Nakada
19a98a8791
Fixed not to make non-literal expression shareable [Feature #17273]
Non-literal expression which is not a part of a literal expression
is not a subject of `shareable_literal_value: literal`.
2020-12-19 00:34:14 +09:00
git
6945597f6f * 2020-12-19 [ci skip] 2020-12-19 00:04:41 +09:00
Radosław Bułat
ed5c09f384 Remove unused variable 2020-12-19 00:04:19 +09:00
Kenta Murata
c71934f8a5
[stringio] Version 3.0.0
https://github.com/ruby/stringio/commit/831be01071
2020-12-18 22:00:07 +09:00
Kenta Murata
e1b5289a2b
[stringio] Add test-unit in the development dependencies
https://github.com/ruby/stringio/commit/de010fc0e9
2020-12-18 22:00:07 +09:00
Kenta Murata
3d31944129
[stringio] Make stringio Ractor safe
https://github.com/ruby/stringio/commit/ee3fec7512
https://github.com/ruby/stringio/commit/18dcd045ef
https://github.com/ruby/stringio/commit/18dcd045ef
2020-12-18 22:00:07 +09:00
Kenta Murata
14ca7f633c
[openssl] Fix dependencies 2020-12-18 21:58:41 +09:00
Koichi Sasada
b5588edc0a openssl is ractor-safe
ossl_bn_ctx is C's global variable and it should be ractor-local
to make it ractor-safe.
2020-12-18 18:19:33 +09:00
Koichi Sasada
74ab2c3b46 finalizing should be checked before VM lock 2020-12-18 17:59:26 +09:00
Nobuyoshi Nakada
7d32bf7853
Removed a moved local variable 2020-12-18 17:56:08 +09:00
Koichi Sasada
61236770e6 need to sync gc_finalize_deferred
gc_finalize_deferred() runs finalizers and it accesses objspace,
so it need to sync.
2020-12-18 17:50:01 +09:00
Nobuyoshi Nakada
75416b8628 Removed old GC.stat keys deprecated since 2.2 2020-12-18 16:27:43 +09:00
Nobuyoshi Nakada
763d5f9c6b Removed old GC tuning environment variables deprecated since 2.1 2020-12-18 16:27:43 +09:00
Yusuke Endoh
982443e6e3 Revert "Better cooperation between public/protected/private with attr* and alias_method"
This reverts commit 81739ad4fdfcc86a769056fec352f27c686fba1b.
2020-12-18 16:08:55 +09:00
Yusuke Endoh
41c208d4a4 Revert "Use rb_id_attrset without intermediate strings"
This reverts commit 66090b9d10cdaed917b525225e59d1c19e399248.
2020-12-18 16:08:25 +09:00
Yusuke Endoh
c4e50b58d1 Revert "Added missing tests for public, private, protected and alias_method"
This reverts commit e042e8460bb9a63c05f938d51e8c7c5345a6f3a4.
2020-12-18 16:08:24 +09:00
Yusuke Endoh
0a60ba923e Revert "Added tests for [Feature #17314]"
This reverts commit 34f06062174882a98ebef998c50ad8d4f7fc0f2e.
2020-12-18 16:08:24 +09:00
Nobuyoshi Nakada
8e03e3b0ba
Drop token info also for endless singleton method definition 2020-12-18 15:16:30 +09:00
Kazuhiro NISHIYAMA
ffc8a72f39
Sort URLs by issue numbers [ci skip] 2020-12-18 14:59:20 +09:00
Takashi Kokubun
f0ec923c58
Remove --jit-save-temps from MJIT
It's probably not helping the backtrace.
2020-12-17 21:36:26 -08:00
Kenta Murata
b5de66e132
[strscan] Fix license comment and files
https://github.com/ruby/strscan/commit/a999f2c6d1
2020-12-18 14:25:48 +09:00
Kenta Murata
5370963992
[strscan] Version 3.0.0
https://github.com/ruby/strscan/commit/08645e4e77
2020-12-18 14:25:42 +09:00
Kenta Murata
985f0af257
[strscan] Make strscan Ractor safe (#17)
* Make strscan Ractor safe

* Add test-unit in the development dependencies

https://github.com/ruby/strscan/commit/3c93c2bebe
2020-12-18 14:25:41 +09:00
Koichi Sasada
cfa124ef05 acquire VM lock on gc_verify_internal_consistency()
There is a case to call this function without VM lock acquiring.
2020-12-18 14:16:06 +09:00
Hiroshi SHIBATA
8cba3b35e0
Bump version RubyGems and Bundler in NEWS 2020-12-18 14:11:50 +09:00
Koichi Sasada
b44f7151c7 zlib is ractor-safe 2020-12-18 14:09:32 +09:00
Hiroshi SHIBATA
0e40cc9b19 Merge RubyGems 3.2.2 and Bundler 2.2.2 2020-12-18 13:33:18 +09:00
Nobuyoshi Nakada
34f0606217
Added tests for [Feature #17314] 2020-12-18 13:03:22 +09:00
Nobuyoshi Nakada
e042e8460b
Added missing tests for public, private, protected and alias_method 2020-12-18 12:59:01 +09:00
Nobuyoshi Nakada
66090b9d10
Use rb_id_attrset without intermediate strings 2020-12-18 12:10:20 +09:00
Koichi Sasada
a07f249803 socket is ractor-safe. 2020-12-18 11:23:34 +09:00
卜部昌平
aa82b067cb ruby_set_stack_size: no longer exists
Deleted since fc3c60f6081d85f6274986a7a08b59db1515fcb5
2020-12-18 11:18:09 +09:00
Koichi Sasada
51c2725dc6 use eval to create different Regexp objects
Only one warning is shown for the same Regexp object, so create
different objects to support repeating tests.

http://ci.rvm.jp/results/trunk-repeat20@phosphorus-docker/3290658
2020-12-18 09:12:26 +09:00
Koichi Sasada
29e42b8bfd add explicit check
To debug this issue:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20201217T220004Z.fail.html.gz
2020-12-18 08:26:25 +09:00
Aaron Patterson
895b10ad02
Add documentation about GC.compact
[Misc #16443][ruby-core:96395]
2020-12-17 13:26:53 -08:00
Radosław Bułat
81739ad4fd Better cooperation between public/protected/private with attr* and alias_method 2020-12-17 12:46:02 -05:00
git
f7a6b460d5 * 2020-12-18 [ci skip] 2020-12-18 01:20:56 +09:00
Koichi Sasada
6538c89f1c gc_verify_internal_consistency() needs barrier
gc_verify_internal_consistency() accesses all slots (objects) so
all ractors should stop before starting this function.
2020-12-18 01:20:02 +09:00
Yusuke Endoh
caef364cc5 test/ruby: suppress some warnings
follow up to 9908177857a28633d6279c43a1ad4dfedcb98596
2020-12-17 22:39:37 +09:00
Marc-Andre Lafortune
980f994b3b [ruby/irb] Change context-mode's default to new mode 4.
This new mode uses a copy of the TOPLEVEL_BINDING. This is compatible with refinements (contrary to mode 3), while keeping nested IRB sessions separate

https://github.com/ruby/irb/commit/25c731cb2f
2020-12-17 20:24:08 +09:00
Jeremy Evans
753222d72c [ruby/irb] Enable deprecation warnings when using -W or -w
Requested in Ruby Bug 17377

https://github.com/ruby/irb/commit/698f6eb34a
2020-12-17 20:23:49 +09:00
Benoit Daloze
336fe648b0 [ruby/irb] Skip the few failing tests on TruffleRuby
https://github.com/ruby/irb/commit/22717844c0
2020-12-17 20:23:27 +09:00
Nobuyoshi Nakada
b5effe07bd [ruby/irb] Fixed a typo in a comment [ci skip]
https://github.com/ruby/irb/commit/ce373417f3
2020-12-17 20:22:55 +09:00
Nobuhiro IMAI
cbf6a7f906 [ruby/irb] workaround for lack of tokens from Ripper.lex
* Fixes #38

https://github.com/ruby/irb/commit/905fb8e52e
2020-12-17 20:22:29 +09:00
Robert Schulze
422e2c7274 [ruby/reline] Use plus operator to create unfrozen string
https://github.com/ruby/reline/commit/ca274b0d37
2020-12-17 20:20:07 +09:00
aycabta
cdf2790aa0 [ruby/reline] Support longer than screen height on Windows
https://github.com/ruby/reline/commit/2a97ca9362
2020-12-17 20:17:22 +09:00
aycabta
0158ba7e51 [ruby/reline] Make a log file on windows if debug env is set
https://github.com/ruby/reline/commit/dff30a2d44
2020-12-17 20:17:11 +09:00