ruby-trunk-changes 2023-08-17

今日は yarp の更新、lrama の更新、トレースの行番号の取得が間違うことがある不具合の修正などがありました。

[089227e948] haseponpon 2023-08-16 13:51:17 UTC

Time#- の rdoc 用コメントの説明に単位の記述を追加。

[82e480ff40] Nobuyoshi Nakada 2023-08-16 06:45:27 UTC

AppVeyor の設定でテスト時のオプションの -v を削っています。

[f0edcd8283] Nobuyoshi Nakada 2023-08-16 11:45:29 UTC

io.c の rb_fdopen() から errno に設定するエラーをプラットフォームごとに変更する部分を fdopen_internal() という関数に切り出すリファクタリング

[7d3634a121] Nobuyoshi Nakada 2023-08-16 11:47:28 UTC

io.c で fd が不足していた時に GC を実施してからリトライする処理を TRY_WITH_GC() というマクロに切り出しています。

[0d7e847153] Nobuyoshi Nakada 2023-08-16 14:52:04 UTC

parse.y の %printer で指定しているノードの表示用の処理で $$ が -1 だった時の対応を追加しています。

[f339937abb] Nobuyoshi Nakada 2023-08-15 15:37:47 UTC

configure で RJIT 用の定義するけど使われていないマクロを削除しています。

[c5dad5f1d7] Jemma Issroff 2023-08-15 16:29:00 UTC

tool/sync_default_gems.rb の default gems の upstream からの同期処理で yarp の同期時に不要なファイルを消す処理を強化しているようです。 ただどうも 83718b6bb299c483e60a638ccce98bc8ae1665a1 で set のテストの同期を修正した変更の revert も一緒にコミットされてしまっているようです。

[0f8091947d] Mike Dalessio 2023-07-18 20:25:52 UTC

yarp の upstream の変更のマージ。以降 yarp の upstream の変更の cherry-pick と思われる変更が続きますが内容には触れず "yarp の変更" とだけ記述します。
ちなみにこのコミットの変更はコミットログによると拡張ライブラリの位置の変更だそうですが ruby 本体には lib/yarp.rb での require の変更だけが入ってて extconf.rb の変更などは入ってないので不足してそう。

[86b32dac92] Kevin Newton 2023-07-31 13:33:01 UTC

yarp の変更の同期です。

[41e8ba01ae] Kevin Newton 2023-07-31 14:48:17 UTC

yarp の変更の同期です。

[f1658efe38] Kevin Newton 2023-07-31 17:34:22 UTC

yarp の変更の同期です。

[45efbadba5] Kevin Newton 2023-07-31 18:17:17 UTC

yarp の変更の同期です。

[242f3c3a77] Kevin Newton 2023-08-01 15:05:12 UTC

yarp の変更の同期です。

[cededf73dc] Kevin Newton 2023-08-01 15:11:40 UTC

yarp の変更の同期です。

[4c4e75c0de] Kevin Newton 2023-08-01 15:16:13 UTC

yarp の変更の同期です。

[e56da35637] Kevin Newton 2023-08-01 15:21:14 UTC

yarp の変更の同期です。

[eca3b93437] Kevin Newton 2023-08-01 15:21:25 UTC

yarp の変更の同期です。

[31960a9627] Kevin Newton 2023-08-01 15:26:09 UTC

yarp の変更の同期です。

[2ccaaaa101] Benoit Daloze 2023-07-29 14:13:52 UTC

yarp の変更の同期です。

[e712bc9b93] Benoit Daloze 2023-07-29 14:49:54 UTC

yarp の変更の同期です。

[7cc5b22bbc] Benoit Daloze 2023-07-29 14:55:48 UTC

yarp の変更の同期です。

[ab2f638a27] Benoit Daloze 2023-07-29 15:27:26 UTC

yarp の変更の同期です。

[b6f26c2e4a] Benoit Daloze 2023-08-01 15:37:57 UTC

yarp の変更の同期です。

[3d032cf3e8] Kevin Newton 2023-08-02 13:49:26 UTC

yarp の変更の同期です。

[9c61e0c831] Kevin Newton 2023-08-02 14:01:45 UTC

yarp の変更の同期です。

[7a1c497426] Kevin Newton 2023-08-02 14:08:59 UTC

yarp の変更の同期です。

[e66e60cf69] Kevin Newton 2023-08-02 14:20:52 UTC

yarp の変更の同期です。

[1ea9e444ec] Kevin Newton 2023-08-02 14:28:32 UTC

yarp の変更の同期です。

[820a58c228] Kevin Newton 2023-08-02 17:17:31 UTC

yarp の変更の同期です。

[1002b777c4] Benoit Daloze 2023-08-02 19:22:20 UTC

yarp の変更の同期です。

[d2eb82d969] Benoit Daloze 2023-08-02 19:37:34 UTC

yarp の変更の同期です。

[3f64defe13] Kevin Newton 2023-08-03 14:35:56 UTC

yarp の変更の同期です。

[1ad0d19876] Benoit Daloze 2023-07-05 19:59:28 UTC

yarp の変更の同期です。

[0004565a91] Kevin Newton 2023-08-03 17:25:38 UTC

yarp の変更の同期です。

[0b6a26abff] Kevin Newton 2023-08-03 17:38:54 UTC

yarp の変更の同期です。

[5e9397279b] Kevin Newton 2023-08-03 19:49:29 UTC

yarp の変更の同期です。

[2ef54d3855] Kevin Newton 2023-08-03 20:27:21 UTC

yarp の変更の同期です。

[a793260c15] Kevin Newton 2023-08-03 20:43:36 UTC

yarp の変更の同期です。

[d6f9f3e498] Kevin Newton 2023-08-04 14:01:43 UTC

yarp の変更の同期です。

[9b952670bb] Kevin Newton 2023-08-07 17:11:59 UTC

yarp の変更の同期です。

[77e52735f0] Kevin Newton 2023-08-07 21:19:55 UTC

yarp の変更の同期です。

[ee885237f6] Kevin Newton 2023-08-07 20:55:02 UTC

yarp の変更の同期です。

[89de544442] Kevin Newton 2023-08-08 18:11:23 UTC

yarp の変更の同期です。

[383c47f538] Jemma Issroff 2023-08-08 20:55:58 UTC

yarp の変更の同期です。

[86cc82a1ab] Jemma Issroff 2023-08-09 14:17:25 UTC

yarp の変更の同期です。

[ecf2e84c05] Kevin Newton 2023-08-09 14:57:00 UTC

yarp の変更の同期です。

[fb287fa425] Kevin Newton 2023-08-10 14:46:12 UTC

yarp の変更の同期です。

[bf723b21cc] Kevin Newton 2023-08-10 18:16:56 UTC

yarp の変更の同期です。

[a8c70ed2b4] HParker 2023-08-10 17:17:43 UTC

yarp の変更の同期です。

[958ac8d586] Benoit Daloze 2023-08-13 10:44:32 UTC

yarp の変更の同期です。

[3536cad902] Benoit Daloze 2023-08-12 17:21:35 UTC

yarp の変更の同期です。

[957cd369fa] Kevin Newton 2023-08-14 17:58:24 UTC

yarp の変更の同期です。

[3873b1eb39] Takashi Kokubun 2023-08-15 17:00:54 UTC

yarp の upstrem からの同期。これはどうやら cherry-pick じゃなくてまとめて同期しているっぽいです。

[f20dfd0803] Takashi Kokubun 2023-08-15 17:02:43 UTC

yarp の拡張ライブラリのエントリポイント Init_YARP() で拡張ライブラリのファイルパスの指定を修正しています。

[87f74a349e] Takashi Kokubun 2023-08-15 17:01:31 UTC

common.mk で yarp 関係の依存関係の再生成と yarp の拡張ライブラリのファイル群変数の追随。

[c989c1b068] Jemma Issroff 2023-08-15 21:34:24 UTC

yarp の変更の同期です。

[45740e7a24] Jemma Issroff 2023-08-16 22:42:56 UTC

yarp の変更の同期です。

[f1778870bd] git 2023-08-17 00:48:19 UTC

NEWS の default gems のバージョンリストの yarp のバージョンを更新しています。

[7183cf53f8] Takashi Kokubun 2023-08-15 23:47:48 UTC

c5dad5f1d74e4d1acbae943e00a9465a7c921fa5 の yarp 向けの tool/sync_default_gems.rb の変更で標準添付ライブラリ set のテストの同期処理の変更が revert されてしまっていたのを元に戻しています。

[cdb757f817] Takashi Kokubun 2023-08-17 00:55:32 UTC

tool/sync_default_gems.rb で yarp の同期の時にコピーしないファイルパターンのリストに GitHub Actions の設定ファイルも追加しています。

[1c53e64c51] Takashi Kokubun 2023-08-17 00:55:56 UTC

1c53e64c512668685bb7abaf1232518af3969496 の続きで tool/sync_default_gems.rb で yarp の同期時にコピーしないファイルの正規表現にうっかり "/" を入れてしまってたのでエスケープを追加しています。

[48b241e53f] Kevin Newton 2023-08-17 01:12:44 UTC

yarp の変更の同期です。

[5bb9462285] Nobuyoshi Nakada 2023-08-16 12:39:49 UTC

template/Makefile.in で $(PROGRAM) (つまり ruby) のビルド時のコンパイラオプションに $(MAINLIBS) を指定してたのを削除しています。 $(MAINLIBS) は $(LIBRUBYARG) に含まれているので重複した指定になっていたため。 b7453b91dc1e5adc9d5ebe15c644cf5e0a54e3ac の続きというか追加修正みたいです。 [ruby-core:114345] [Bug #19831]

[e210b899dc] Takashi Kokubun 2023-08-17 03:28:33 UTC

ObjectSpace.trace_object_allocations_start とかおそらく TracePoint でも? スクリプトの行番号が誤って前のトークンのものになる場合がある不具合の修正として、VM 命令の leaf という属性を持つものの場合 pc をインクリメントしないという最適化をしていたのをやめているようです。 https://github.com/ruby/ruby/pull/8232 [ruby-core:112534] [Bug #19456]

[d26b015e83] Nobuyoshi Nakada 2023-08-17 03:18:01 UTC

b7453b91dc1e5adc9d5ebe15c644cf5e0a54e3ac および 5bb946228550c7f171c27725860b153a675404f3 のさらに続きで configure で darwin (macOS) の時に --enable-shared 指定されてたら EXTDLDFLAGS に '$(LIBRUBYARG_SHARED)' を指定していたのもやめています。 $(LIBS) の参照だけで充分なのでこれも重複してたのを省くためみたいです。 [ruby-core:114345] [Bug #19831]

[8c447cffe4] yui-knk 2023-08-16 12:31:54 UTC

同梱されている Lrama を v0.5.4 に更新しています。

[7433c8f7dd] Manu 2023-08-12 07:27:12 UTC

bundler の man ページを更新しています。特に bundle info の記述のちょっとした修正をしています。