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

376 Коммитов

Автор SHA1 Сообщение Дата
Jean Boussier e70ccc91e5 Update minitest and power_assert bundled gems
They were pointing to branches to be chilled string compatible.
Both patches have been merged now.
2024-03-25 10:04:20 +01:00
git a15b2443a5 Update bundled gems list as of 2024-03-22 2024-03-23 06:59:22 +00:00
Étienne Barrié 12be40ae6b Implement chilled strings
[Feature #20205]

As a path toward enabling frozen string literals by default in the future,
this commit introduce "chilled strings". From a user perspective chilled
strings pretend to be frozen, but on the first attempt to mutate them,
they lose their frozen status and emit a warning rather than to raise a
`FrozenError`.

Implementation wise, `rb_compile_option_struct.frozen_string_literal` is
no longer a boolean but a tri-state of `enabled/disabled/unset`.

When code is compiled with frozen string literals neither explictly enabled
or disabled, string literals are compiled with a new `putchilledstring`
instruction. This instruction is identical to `putstring` except it marks
the String with the `STR_CHILLED (FL_USER3)` and `FL_FREEZE` flags.

Chilled strings have the `FL_FREEZE` flag as to minimize the need to check
for chilled strings across the codebase, and to improve compatibility with
C extensions.

Notes:
  - `String#freeze`: clears the chilled flag.
  - `String#-@`: acts as if the string was mutable.
  - `String#+@`: acts as if the string was mutable.
  - `String#clone`: copies the chilled flag.

Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
2024-03-19 09:26:49 +01:00
Soutaro Matsumoto dcfbe36cb5
Update unmerged RBS to debug `EBADF` error (#10275)
Update bundled_gems
2024-03-18 03:32:53 +00:00
Hiroshi SHIBATA 99024a1602 Use tag version of minitest-5.22.3 2024-03-15 15:36:38 +09:00
Hiroshi SHIBATA 04fc9f87be
Use released version of bigdecimal 2024-03-14 16:27:37 +09:00
Hiroshi SHIBATA 1cffaf1c25
minitest-5.22.3 tag is not available yet 2024-03-14 15:12:03 +09:00
Hiroshi SHIBATA 07b40044ad
Use released version of minitest 2024-03-14 14:21:50 +09:00
Soutaro Matsumoto 5c32b31aee
Bundle unmerged rbs for testing (#10211) 2024-03-11 05:03:06 +00:00
Hiroshi SHIBATA 1952c799af Bump up drb-2.2.1 2024-03-01 12:32:40 +09:00
Soutaro Matsumoto 1a6a7c699c
Update RBS (#10121)
Use an unreleased version of RBS to see if the new commit fixes the `EBADF` error.
2024-02-29 21:32:16 +09:00
Hiroshi SHIBATA c22cb960cf
Use commit with Ruby 3.4 support 2024-02-20 20:52:09 +09:00
Hiroshi SHIBATA 391b0bf07b Try with some test fixes from https://github.com/hsbt/debug/commits/release/ 2024-02-19 19:24:16 +09:00
Hiroshi SHIBATA 96ede4d192
Bump up typeprof-0.21.11 2024-02-19 17:13:22 +09:00
Hiroshi SHIBATA 935fc22545 Use commit version for https://bugs.ruby-lang.org/issues/16495
* https://github.com/ruby/drb/pull/25
* https://github.com/minitest/minitest/pull/987
* https://github.com/test-unit/test-unit/pull/237
* https://github.com/ruby/bigdecimal/pull/286
2024-02-19 13:28:04 +09:00
Soutaro Matsumoto 443c5c06ac
Bundle rbs-3.4.4 (#9883) 2024-02-08 14:17:01 +00:00
git 0292d1b7c3 Update bundled gems list as of 2024-02-07 2024-02-08 08:28:37 +00:00
Yusuke Endoh 482b82ae15 Bump typeprof to 0.21.10 2024-02-08 17:15:31 +09:00
Soutaro Matsumoto b822f9f6fc
Bundle rbs-3.4.3 (#9702)
* Bundle rbs-3.4.3
* Remove rbs from `TEST_BUNDLED_GEMS_ALLOW_FAILURES` list
* Add the failing tests to `rbs_skip_tests`
2024-01-26 08:47:29 +09:00
Hiroshi SHIBATA d914f82a3c
Use test fixed version of debug gem https://github.com/ruby/debug/pull/1067 2024-01-24 09:53:41 +09:00
Takashi Kokubun c84237f953
Rewrite Array#each in Ruby using Primitive (#9533) 2024-01-23 20:09:57 +00:00
Hiroshi SHIBATA e195710d10 Extract csv 2024-01-22 18:23:05 +09:00
Hiroshi SHIBATA 029b6d5b76 Extract syslog 2024-01-22 15:59:40 +09:00
Hiroshi SHIBATA df70faa9c9 Extract nkf 2024-01-22 14:17:52 +09:00
Hiroshi SHIBATA 36fc5ee64f Extract drb 2024-01-22 11:08:59 +09:00
Hiroshi SHIBATA 411cda2d5c Extract rinda 2024-01-19 20:02:19 +09:00
git 0f315216bb Update bundled gems list as of 2024-01-19 2024-01-19 08:57:54 +00:00
Hiroshi SHIBATA 99c2c703da Extract resolv-replace 2024-01-19 17:44:58 +09:00
Hiroshi SHIBATA b4ee5266f1 Extract abbrev as bundled gems 2024-01-19 16:27:45 +09:00
git e8cb9e1328 Update bundled gems list as of 2024-01-18 2024-01-19 06:35:57 +00:00
Hiroshi SHIBATA 176a442883 Extract observer as bundled gems 2024-01-19 15:24:09 +09:00
Hiroshi SHIBATA 419f4260aa
Use released version of bigdecimal 2024-01-18 16:01:02 +09:00
Hiroshi SHIBATA fd81c887f9 Use fixed commit for failing result of test-bundled-gems
https://github.com/ruby/ruby/actions/runs/7550805131/job/20557022764?pr=9573
  338e896234
2024-01-18 07:44:13 +09:00
Hiroshi SHIBATA 2b0766113b Extract bigdecimal as bundled gems 2024-01-18 07:44:13 +09:00
Hiroshi SHIBATA 4e2eca3be0 Extract base64 as bundled gems 2024-01-17 08:28:31 +09:00
Hiroshi SHIBATA b68dab2d0f Extract getoptlong as bundled gems 2024-01-16 17:07:10 +09:00
git 18d85af969 Update bundled gems list as of 2024-01-12 2024-01-12 06:58:39 +00:00
Hiroshi SHIBATA 1500946ce4 Added mutex_m to bundled gems 2024-01-10 17:28:16 +09:00
Hiroshi SHIBATA 185abff626 Use released versions of net-imap and net-smtp 2024-01-05 18:13:34 +09:00
git 7b2b1e61ce Update bundled gems list as of 2024-01-05 2024-01-05 06:58:22 +00:00
Hiroshi SHIBATA a4bdf26781
Fix version detection error of net-smtp
https://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20240104T083002Z.fail.html.gz
  https://rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20240104T073006Z.fail.html.gz
2024-01-04 19:09:38 +09:00
Sorah Fukumori c149cd3db4
Roll net-* bundled gems from git to fix CI (#9403)
- https://github.com/ruby/net-ftp/pull/29
- https://github.com/ruby/net-imap/pull/259
- https://github.com/ruby/net-smtp/pull/75
2024-01-01 12:47:38 +00:00
git 24a2534f7d Update bundled gems list as of 2023-12-26 2023-12-26 06:58:09 +00:00
git 86893b28f7 Update bundled gems list as of 2023-12-24 2023-12-24 06:58:23 +00:00
Koichi Sasada cae11dd857 debug.gem v1.9.1 2023-12-22 12:45:31 +09:00
Soutaro Matsumoto d587852cf7
Bundle RBS 3.4.0 (#9293)
Bundle RBS 3.4.0 and TypeProf 0.21.9.
2023-12-21 01:26:08 +00:00
Shugo Maeda b562efdf6d
Bump up bundled net-ftp gem version to 0.3.3 2023-12-15 12:57:03 +09:00
Shugo Maeda 1b1d5e757e
Bump up bundled net-ftp gem version to 0.3.2 2023-12-14 16:38:39 +09:00
Shugo Maeda 26145a27f6
Bump up bundled net-ftp gem version to 0.3.1 2023-12-14 15:51:12 +09:00
git f64485af7e Update bundled gems list as of 2023-12-12 2023-12-12 06:58:23 +00:00