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

70429 Коммитов

Автор SHA1 Сообщение Дата
aycabta 726cc8122e [ruby/reline] "Halfwidth char + halfwidth (han)dakuten" is a single grapheme.
When a halfwidth character is followed by a halfwidth dakuten or a
halfwidth handakuten character, it should be treated as a single
grapheme.

https://github.com/ruby/reline/commit/9f20b9ec28
2021-12-24 00:51:47 +09:00
aycabta daf4a8884b [ruby/reline] Add comment for a following char of combined char
https://github.com/ruby/reline/commit/d465667f57
2021-12-24 00:51:46 +09:00
Nobuyoshi Nakada 40a1af6151
Install ruby/digest.h when from ext/digest 2021-12-23 20:12:45 +09:00
Nobuyoshi Nakada bf1444e500
[DOC] Do not push NEWS update to pull-request 2021-12-23 18:43:59 +09:00
git 1eafa85206 Update bundled gems list at a6b2757d0572db1dc3f079a9cdd42c [ci skip] 2021-12-23 18:25:48 +09:00
Yusuke Endoh 8f3b5a28d6 Update TypeProf to 0.21.1 2021-12-23 18:25:48 +09:00
Nobuyoshi Nakada c6cf19340a [ruby/pp] [DOC] Update for PP.width_for [Feature #12913]
https://github.com/ruby/pp/commit/cad3cc762c
2021-12-23 18:00:56 +09:00
Koichi Sasada 2da53b1468 `finalize_deferred` doesn't need VM lock
`finalize_list()` acquires VM lock to manipulate objspace state.
2021-12-23 16:50:17 +09:00
Koichi Sasada ca032d5eea undef `rb_vm_lookup_overloaded_cme()`
Some callable method entries (cme) can be a key of `overloaded_cme_table`
and the keys should be pinned because the table is numtable (VALUE is a key).
Before the patch GC checks the cme is in `overloaded_cme_table` by looking up
the table, but it needs VM locking.

It works well in normal GC marking because it is protected by the VM lock,
but it doesn't work on `rb_objspace_reachable_objects_from` because it doesn't
use VM lock.

Now, the number of target cmes are small enough, I decide to pin down
all possible cmes instead of using looking up the table.
2021-12-23 16:49:49 +09:00
Nobuyoshi Nakada 25e417b773
Separate cache key from primary key [ci skip] 2021-12-23 14:59:25 +09:00
Nobuyoshi Nakada 95da41ee0a
Get stdgems JSON files only if modified [ci skip] 2021-12-23 14:30:12 +09:00
git ddfbf531de Update default gems list at d5019949b5 [ci skip] 2021-12-23 04:01:26 +00:00
Yusuke Endoh d5019949b5 [ruby/error_highlight] Bump version
https://github.com/ruby/error_highlight/commit/ae3053686f
2021-12-23 12:56:07 +09:00
Yuki Nishijima 1527f7569b Revert "Replace an deprecated constant with a new one in did_you_mean"
This reverts commit 573d9d3a4a.
2021-12-23 10:48:27 +09:00
git 1f94ae019f Update default gems list at de841e2e28 [ci skip] 2021-12-23 01:10:18 +00:00
Yuki Nishijima de841e2e28 Revert the commits for did_you_mean
This reverts commit feaf4fbc3f.
This reverts commit 0d4bfbdbe1.
This reverts commit ac4e0978ee.
2021-12-23 10:09:10 +09:00
git c529014b9d Update default gems list at 231f2c26b8efd14ce3fd8961292db8 [ci skip] 2021-12-23 09:44:45 +09:00
Hiroshi SHIBATA fb1ab27f53 Merge RubyGems-3.3.1 and Bundler-2.3.1 2021-12-23 09:44:45 +09:00
Yuki Nishijima feaf4fbc3f Remove test that activates Ractor unexpectedly 2021-12-23 09:43:39 +09:00
Samuel Williams bed920f073
Add fiber scheduler hooks for `pread`/`pwrite`, and add support to `IO::Buffer`. 2021-12-23 12:20:09 +13:00
git 91c5c1c132 * 2021-12-23 [ci skip] 2021-12-23 05:41:57 +09:00
Burdette Lamar 243ecd176d
[DOC] Enhanced RDoc for IO (#5321)
Treats:

    #readpartial
    #read
2021-12-22 14:41:39 -06:00
Yuki Nishijima 573d9d3a4a Replace an deprecated constant with a new one in did_you_mean 2021-12-22 21:21:27 +09:00
Yuki Nishijima 0d4bfbdbe1 * gems/default_gems: Fix typos 2021-12-22 21:02:07 +09:00
git 2c31f325f5 Update default gems list at ac4e0978ee [ci skip] 2021-12-22 11:30:17 +00:00
Yuki Nishijima ac4e0978ee * gems/default_gems: Sync did_you_mean 2021-12-22 20:29:18 +09:00
Nobuyoshi Nakada fdf3996349
Empty and return the buffer if zero size is given [Bug #18421]
In `IO#readpartial` and `IO#read_nonblock`, as well as `IO#read`.
2021-12-22 15:45:59 +09:00
Nobuyoshi Nakada 9902398d86
Split too long line
I don't have a display enough for 170 columns, and it is hard to
use small fonts for my eyes. :(
2021-12-22 14:27:33 +09:00
Sutou Kouhei c9396a3520 Show the target Proc on Ractor::IsolationError
It's useful for debug.
2021-12-22 11:10:20 +09:00
Hiroshi SHIBATA fff9b45fa9
Reverts the accidental commits for rubygems/bundler.
We stay to the stable version for releasing Ruby 3.1.0.

  Revert commits:
    b86a7ba492
    ef973aa7aa
2021-12-22 07:52:59 +09:00
Samuel Williams d9570437e2 Remove incorrectly added `update.rb` file. 2021-12-22 11:04:27 +13:00
Samuel Williams e30920354f
Extended interface for IO::Buffer & documentation. 2021-12-22 10:57:34 +13:00
David Rodríguez b86a7ba492 [rubygems/rubygems] Fix error when gem specified twice in gemfile under different platforms
https://github.com/rubygems/rubygems/commit/83bc87ca98
2021-12-22 03:12:57 +09:00
David Rodríguez ef973aa7aa [rubygems/rubygems] These commands shouldn't be failing, just warning
https://github.com/rubygems/rubygems/commit/04b1ac72b9
2021-12-22 03:12:56 +09:00
git ad3537738c * 2021-12-22 [ci skip] 2021-12-22 02:49:49 +09:00
Koichi Sasada 779039a4e0 add ref to the ticket 2021-12-22 02:49:19 +09:00
Yuki Nishijima cdb7d699d0 Revert commits for did_you_mean
This reverts commit 4560091b1c.
This reverts commit a6f76122a2.
This reverts commit e59b18a637.
This reverts commit 505dfae05d.
2021-12-21 22:10:03 +09:00
Yuki Nishijima 4560091b1c * gems/default_gems: Make the SPELL_CHECKERS constant as compatible as possible 2021-12-21 22:00:23 +09:00
Yuki Nishijima a6f76122a2 * gems/default_gems: Fix CI builds 2021-12-21 20:03:47 +09:00
git e59b18a637 Update default gems list at 505dfae05d [ci skip] 2021-12-21 10:08:36 +00:00
Yuki Nishijima 505dfae05d * gems/default_gems: Sync did_you_mean 2021-12-21 19:03:25 +09:00
Hiroshi SHIBATA 12fa4f2ace
Added Psych 4 incompatibility to NEWS
[Bug #17866][ruby-core:103866]
2021-12-21 19:02:59 +09:00
Kazuhiro NISHIYAMA 48a0905d25
Add missing '%' in format string 2021-12-21 18:21:03 +09:00
Kazuhiro NISHIYAMA 69470cc5e9
Fix a typo [ci skip] 2021-12-21 17:44:48 +09:00
Kazuhiro NISHIYAMA b9aefdfc9f
Fix typos 2021-12-21 17:40:15 +09:00
aycabta 1855f901c8 [ruby/irb] Check colorize option correctly to clear char attr and don't use it for tests
https://github.com/ruby/irb/commit/de561cafeb
2021-12-21 15:50:32 +09:00
aycabta 093aaeffbc [ruby/irb] Add resetting char attr that I forgot
https://github.com/ruby/irb/commit/b5f953dc33
2021-12-21 15:36:28 +09:00
git 10a2273e99 Update default gems list at f51811ca75894f5227fb2dd9f2f61f [ci skip] 2021-12-21 15:27:05 +09:00
Hiroshi SHIBATA 69dc2ea465 Merge RubyGems-3.3.0 and Bundler-2.3.0 2021-12-21 15:27:05 +09:00
Koichi Sasada ad450c9fe5 make `overloaded_cme_table` truly weak key map
`overloaded_cme_table` keeps cme -> monly_cme pairs to manage
corresponding `monly_cme` for `cme`. The lifetime of the `monly_cme`
should be longer than `monly_cme`, but the previous patch losts the
reference to the living `monly_cme`.

Now `overloaded_cme_table` values are always root (keys are only weak
reference), it means `monly_cme` does not freed until corresponding
`cme` is invalidated.

To make managing easy, move `overloaded_cme_table` to `rb_vm_t`.
2021-12-21 15:21:30 +09:00