Project

General

Profile

Activity

From 12/09/2022 to 12/15/2022

12/15/2022

11:46 PM Bug #19233: Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker
Confirmed this issue has been fixed since 613fca01486e47dee9364a2fd86b5f5e77fe23c8 yahonda (Yasuo Honda)
11:10 PM Revision 14158f1f (git): YJIT: Fix `obj.send(:call)`
All the method call types need to handle argument shifting in case they're
called by `.send`, and we weren't handling that in `OPTIMIZED_METHOD_TYPE_CALL`.
Lack of shifting caused the stack size assertion in gen_leave() to fail.
Discov...
alanwu (Alan Wu)
11:00 PM Bug #19239: miniruby is not built by default when cross-compiling ruby 3.2.0-rc1
@alanwu suggested the following patch, which I've submitted as a PR at https://github.com/ruby/ruby/pull/6944 :
```patch
diff --git a/common.mk b/common.mk
index fbeccf8..4d4ba6d 100644
--- a/common.mk
+++ b/common.mk
@@ -327,7 +...
mdalessio (Mike Dalessio)
10:30 PM Bug #19239 (Closed): miniruby is not built by default when cross-compiling ruby 3.2.0-rc1
When cross-compiling Ruby for darwin, the default make target doesn't build miniruby, even though it's needed for symbol resolution since https://github.com/ruby/ruby/commit/50d81bf
A workaround is to run `make miniruby && make` but I...
mdalessio (Mike Dalessio)
09:41 PM Revision e9ba3042 (git): Indicate if a shape is too_complex in ObjectSpace#dump
jemmai (Jemma Issroff)
09:36 PM Bug #19238: URI.open fails for file path when second argument is a hash
With a path, `URI.open` delegates to `Kernel#open` and in turn to
`File#open`, who has keyword parameters. `URI.open` only has rest parameters
and this mismatch along with the recent change to use `super` for delegation
seems to be th...
alanwu (Alan Wu)
06:15 PM Bug #19238 (Closed): URI.open fails for file path when second argument is a hash

I upgraded one of my projects to ruby 3.1.3 and I found that `URI.open` now throws an error when passed a second argument when the first argument is a file path.
When the first argument is a URL, then URI.open will work as expected....
dkinzer (David Kinzer)
09:33 PM Revision c505448c (git): Move definition of SIZE_POOL_COUNT back to gc.h
SIZE_POOL_COUNT is a GC macro, it should belong in gc.h and not shape.h.
SIZE_POOL_COUNT doesn't depend on shape.h so we can have shape.h depend
on gc.h.
Co-Authored-By: Matt Valentine-House <matt@eightbitraptor.com>
peterzhu2118 (Peter Zhu)
09:33 PM Revision d5eafaed (git): [ruby/net-http] Enhanced RDoc for Net::HTTP
https://github.com/ruby/net-http/commit/da626e4e42 burdettelamar (Burdette Lamar)
09:06 PM Revision 4872e8ef (git): Improve Struct NEWS [ci skip]
I meant to commit diff, but it was left uncommitted locally. k0kubun (Takashi Kokubun)
08:27 PM Bug #19234 (Closed): [3.2.0dev] YJIT code GC can lead to crashes
Applied in changeset commit:git|5fa608ed79645464bf80fa318d89745159301471.
----------
YJIT: Fix code GC freeing stubs with a trampoline (#6937)
Stubs we generate for invalidation don't necessarily co-locate with the
code that jump to th...
alanwu (Alan Wu)
08:27 PM Revision 5e81cf8f (git): Refactor to only attempt to move movable objects
Moves check for gc_is_moveable_obj from try_move to gc_compact_plane.
Co-Authored-By: Matt Valentine-House <matt@eightbitraptor.com>
peterzhu2118 (Peter Zhu)
08:27 PM Revision bfc66e07 (git): Fix Object Movement allocation in GC
When moving Objects between size pools we have to assign a new shape.
This happened during updating references - we tried to create a new shape
tree that mirrored the existing tree, but based on the root shape of the
new size pool.
Thi...
eightbitraptor (Matt V-H)
08:10 PM Revision 5fa608ed (git): YJIT: Fix code GC freeing stubs with a trampoline (#6937)
Stubs we generate for invalidation don't necessarily co-locate with the
code that jump to the stub. Since we rely on co-location to keep stubs
alive as they are in the outlined code block, it used to be possible for
code GC inside branch...
alanwu (Alan Wu)
07:54 PM Revision 53db8fb4 (git): Add Struct examples to NEWS [ci skip]
k0kubun (Takashi Kokubun)
07:49 PM Revision 2ae0e27a (git): Add Data.define examples to NEWS [ci skip]
k0kubun (Takashi Kokubun)
07:46 PM Revision c0b14e12 (git): Update NEWS.md to include shapes and gc bitmap marking
jemmai (Jemma Issroff)
06:45 PM Revision 8b0e4421 (git): Fix missing variables
It was a bad copy-paste. k0kubun (Takashi Kokubun)
06:43 PM Revision e25beac1 (git): Enable Slack notifications on more Actions
auto_request_review, codeql-analysis, scorecards don't have it either,
but those are intentional.
k0kubun (Takashi Kokubun)
06:08 PM Revision ef008d89 (git): Partially revert "Update bundled_gems"
This reverts the net-imap upgrade of commit e3ed6c07832edf2a95bae3bdd908cc3f5b65eebe.
net-imap tests of test-bundled-gems seem to be broken
https://github.com/ruby/ruby/actions/runs/3704473689/jobs/6277145052.
k0kubun (Takashi Kokubun)
06:06 PM Revision c1ab6ddc (git): Transition complex objects to "too complex" shape
When an object becomes "too complex" (in other words it has too many
variations in the shape tree), we transition it to use a "too complex"
shape and use a hash for storing instance variables.
Without this patch, there were rare cases w...
jemmai (Jemma Issroff)
06:06 PM Revision a3d552ae (git): Add variation_count on classes
Count how many "variations" each class creates. A "variation" is a a
unique ordering of instance variables on a particular class. This can
also be thought of as a branch in the shape tree.
For example, the following Foo class will have ...
jemmai (Jemma Issroff)
05:21 PM Revision b9ea83fc (git): Update NEWS.md
Regexp optimization and Wasm support are added. mame (Yusuke Endoh)
05:00 PM Revision f50aa19d (git): Revert "Fix Object Movement allocation in GC"
This reverts commit 9c54466e299aa91af225bc2d92a3d7755730948f.
We're seeing crashes in Shopify CI after this commit.
peterzhu2118 (Peter Zhu)
02:04 PM Revision 9c54466e (git): Fix Object Movement allocation in GC
When moving Objects between size pools we have to assign a new shape.
This happened during updating references - we tried to create a new shape
tree that mirrored the existing tree, but based on the root shape of the
new size pool.
Thi...
eightbitraptor (Matt V-H)
01:47 PM Feature #19134: ** is not allowed in def foo(...)
shugo (Shugo Maeda) wrote in #note-14:
> Speaking of implicity of blocks, `def f; g(&); end` causes a syntax error, so it may be better to allow it, or disallow `def f(...); g(&); end` in the future versions.
Since some time @ko1 wor...
Eregon (Benoit Daloze)
12:26 PM Feature #19134: ** is not allowed in def foo(...)
mame (Yusuke Endoh) wrote in #note-12:
> I feel that only `&` is acceptable since a block is implicitly passed. But I don't think `*` and `**` make sense inside `def foo(...)`.
Speaking of implicity of blocks, `def f; g(&); end` caus...
shugo (Shugo Maeda)
10:06 AM Feature #19134 (Closed): ** is not allowed in def foo(...)
Applied in changeset commit:git|2581de112c1957dc4b5852e54337551dc8972c99.
----------
Disallow mixed usage of ... and */**
[Feature #19134]
shugo (Shugo Maeda)
01:38 PM Bug #19237 (Closed): Hash default_proc is not thread-safe to lazy-initialize value for a given key
```ruby
1000.times do
h = Hash.new do |hash, key|
# Note, with [] instead of Array.new below it seems to work
# but then e.g. anything else in this block like any call also breaks it
hash[key] = Array.new
end
g...
Eregon (Benoit Daloze)
01:20 PM Revision 723cca6d (git): Update bundled gems list at e3ed6c07832edf2a95bae3bdd908cc [ci skip]
git[bot]
01:18 PM Revision e3ed6c07 (git): Update bundled_gems
znz (Kazuhiro NISHIYAMA)
12:23 PM Feature #19069: Default value assignment with `Hash.new` in block form
As a note this change could be useful to make the default_proc assignment thread-safe (avoid assigning twice for the same key).
It's not safe for `Hash` currently (I'll file a separate issue to discuss that) and neither for `Concurrent:...
Eregon (Benoit Daloze)
08:56 AM Feature #19069 (Rejected): Default value assignment with `Hash.new` in block form
For compatibility's sake (and to avoid extra complexity), we reject this idea.
Matz.
matz (Yukihiro Matsumoto)
10:06 AM Revision 49b0f3b0 (git): Merge RubyGems/Bundler master
Pick from https://github.com/rubygems/rubygems/commit/084f7d1f21f6fc3e2bb685b7bda3653fb2891c6e hsbt (Hiroshi SHIBATA)
09:56 AM Revision 2581de11 (git): Disallow mixed usage of ... and */**
[Feature #19134] shugo (Shugo Maeda)
09:02 AM Feature #19236 (Closed): Allow to create hashes with a specific capacity from Ruby
Followup on [Feature #18683] which added a C-API for this purpose.
Various protocol parsers such as Redis `RESP3` or `msgpack`, have to create hashes, and they know the size in advance.
For efficiency, it would be preferable if they ...
byroot (Jean Boussier)
08:50 AM Feature #19063 (Rejected): Hash.new with non-value objects should be less confusing
Sorry for being late to reply. As @shugo mentioned above, there are a lot of code that use this functionality valid.
Considering this fact, we are not going to add any warning here for the core.
Matz.
matz (Yukihiro Matsumoto)
08:48 AM Feature #10455 (Third Party's Issue): [PATCH 0/n] Combine interface for creating new matrix
`matrix` has been extracted to https://github.com/ruby/matrix. hsbt (Hiroshi SHIBATA)
08:48 AM Feature #8223 (Third Party's Issue): Make Matrix more omnivorous.
`matrix` has been extracted to https://github.com/ruby/matrix. hsbt (Hiroshi SHIBATA)
08:45 AM Bug #18797: Third argument to Regexp.new is a bit broken
I thought it was marked as obsolete long time ago. I think it's time to make it obsolete, probably via the usual obsoleting process (i.e. adding warning first).
Matz
matz (Yukihiro Matsumoto)
08:07 AM Feature #18683: Allow to create hashes with a specific capacity.
Yeah the ruby side of the proposal wasn't merged, but I'll open an issue specifically for it. byroot (Jean Boussier)
07:43 AM Feature #18683 (Closed): Allow to create hashes with a specific capacity.
https://github.com/ruby/ruby/pull/5835 has been merged. I'll close this.
@byroot If you have any concern or proposal, please re-open or file another issue. Thanks.
hsbt (Hiroshi SHIBATA)
08:00 AM Feature #18183 (Assigned): make SecureRandom.choose public
mame (Yusuke Endoh)
07:53 AM Misc #19162: [ANN] Restrict weak ssh public key for git.ruby-lang.org
I made to manage our keys under the GitHub: https://github.com/ruby/git.ruby-lang.org/blob/master/recipes/files/var/git/.ssh/authorized_keys
Please send a pull-request to https://github.com/ruby/git.ruby-lang.org when you want to update...
hsbt (Hiroshi SHIBATA)
06:28 AM Misc #19162 (Closed): [ANN] Restrict weak ssh public key for git.ruby-lang.org
I removed 63 kyes from git.ruby-lang.org. If you need to update your key, please email to `cvs-admin@ruby-lang.org` with your public key. hsbt (Hiroshi SHIBATA)
07:23 AM Feature #18498: Introduce a public WeakKeysMap that compares by equality
LGTM. Probably too late for 3.2. For 3.3 maybe?
Matz.
matz (Yukihiro Matsumoto)
07:00 AM Bug #18567 (Assigned): Depending on default gems in stdlib gems when not needed considered harmful
hsbt (Hiroshi SHIBATA)
06:54 AM Feature #18033: Time.new to parse a string
Accepted.
Performance improvement is a great benefit.
Both `Time.iso8859` and `Time.parse` requires loading `date` gem, and providing those methods in the core may cause overwriting.
Currently, `Time.new` only takes numeric argument...
matz (Yukihiro Matsumoto)
06:11 AM Feature #18033: Time.new to parse a string
https://github.com/ruby/ruby/pull/4825 mame (Yusuke Endoh)
03:50 AM Bug #19189: Ruby 3.1.3/3.2.x can no longer find pkg-config if not present at buildtime
Thank you! Can you also backport to the 3.1 branch, please? mistydemeo (Misty De Meo)
03:10 AM Bug #19189 (Closed): Ruby 3.1.3/3.2.x can no longer find pkg-config if not present at buildtime
Applied in changeset commit:git|613fca01486e47dee9364a2fd86b5f5e77fe23c8.
----------
[Bug #19189] Fallback to the default "pkg-config"
nobu (Nobuyoshi Nakada)
02:00 AM Revision 613fca01 (git): [Bug #19189] Fallback to the default "pkg-config"
nobu (Nobuyoshi Nakada)

12/14/2022

10:37 PM Revision d20bd06a (git): Remove `require 'io/wait'` where it's no longer necessary. (#6932)
* Remove `require 'io/wait'` as it's part of core now.
* Update ruby specs using version gates.
* Add note about why it's conditional.
Samuel Williams
10:13 PM Revision 55f56eb6 (git): [ruby/net-http] [DOC] New doc for responses classes
(https://github.com/ruby/net-http/pull/91)
https://github.com/ruby/net-http/commit/d394404402
burdettelamar (Burdette Lamar)
09:34 PM Revision d2b87456 (git): [ruby/net-http] [DOC] Correct formatting in header.rb
(https://github.com/ruby/net-http/pull/90)
https://github.com/ruby/net-http/commit/d9d829ca53
burdettelamar (Burdette Lamar)
09:17 PM Revision 693c01d5 (git): YJIT: Remove duplicate call to jit_prepare_routine_call()
It's idempotent. alanwu (Alan Wu)
08:15 PM Bug #18605: Fails to run on (newer) 32bit Windows with ucrt
Thanks all for sharing the details!
I started a branch to replace the UCRT/MSVCRT pioinfo here: https://github.com/ruby/ruby/compare/master...larskanis:ruby:pioinfo?expand=1
My rough plan is to first replace pioinfo with a ruby-int...
larskanis (Lars Kanis)
06:21 PM Revision 7a63114f (git): Remove dead code in get_next_shape_internal
If the rb_id_table_lookup fails, then res is not updated so it cannot be
any value other than null.
peterzhu2118 (Peter Zhu)
03:27 PM Revision 71dd8b3c (git): socket.rb - simplify check for the method
nobu (Nobuyoshi Nakada)
03:19 PM Bug #19233: Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker
I have opened a new one because it does not reproduce against Ruby 3.1.3 Docker images.
`FROM ruby:3.1.3`
`FROM rubylang/ruby:3.1.3-focal`
#19189 says:
> Starting with Ruby 3.1.3, mkmf.rb calls to pkg-config will fail if pkg-co...
yahonda (Yasuo Honda)
02:28 PM Bug #19233: Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker
Isn’t this same as #19189? nobu (Nobuyoshi Nakada)
01:48 PM Bug #19233: Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker
When sqlite3-ruby's (v1.5+) extconf calls `pkg_config()`, the argument `pkg` is "/opt/ruby/lib/ruby/gems/3.2.0+2/gems/sqlite3-1.5.4/ports/x86_64-linux-gnu/sqlite3/3.40.0/lib/pkgconfig/sqlite3.pc".
In this docker container, `RbConfig::...
mdalessio (Mike Dalessio)
01:20 PM Bug #19233: Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker
When I examine the files left in the docker container, I see this error in the `mkmf.log`:
```
package configuration for /opt/ruby/lib/ruby/gems/3.2.0+2/gems/sqlite3-1.5.4/ports/x86_64-linux-gnu/sqlite3/3.40.0/lib/pkgconfig/sqlite3.pc i...
mdalessio (Mike Dalessio)
01:11 PM Bug #19233: Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker
Hi, I'm a co-maintainer of the sqlite3 gem and I wanted to add a little more context.
In v1.5, we simplified the `extconf.rb` by using `MakeMakefile.pkg_config` to read the `sqlite3.pc` file generated earlier during installation. Prio...
mdalessio (Mike Dalessio)
01:07 PM Bug #19233: Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker
Hi.
As a test, I also built a container as follows
```
FROM rubylang/rubyfarm:7f1ca666424849134990d022266bcd4d6636465f
# FROM rubylang/rubyfarm:88c12a29372e3f908190c6af0aa1b2ac6b78fbd1 # passes
# FROM rubylang/rubyfarm:7f1ca66642484913...
S_H_ (Shun Hiraoka)
09:35 AM Bug #19233: Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker
There are other findings so far:
* It works fine with Ruby installed locally without Docker.
* It also works fine using `gem "sqlite3", "< 1.5"`
yahonda (Yasuo Honda)
09:30 AM Bug #19233 (Closed): Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker
Failed to install sqlite3 gem since 7f1ca666424849134990d022266bcd4d6636465f using Docker. This issue comes from https://github.com/rails/rails/pull/46711 .
## Steps to reproduce
1. Install Docker
2. Follow this step
```
git ...
yahonda (Yasuo Honda)
03:14 PM Revision 9eb19a02 (git): Add more comments why CRuby uses __pioinfo
naruse (Yui NARUSE)
02:53 PM Revision 1df6d0e5 (git): objspace_dump.c: don't dump class of T_IMEMO
They don't actually have a class. byroot (Jean Boussier)
02:44 PM Bug #19235: StringIO.new(encoding: "ext_enc:int_enc") doesn't set external encoding
Though it is kinda [specified in README](https://github.com/ruby/stringio#differences-to-io) :)))
> encoding conversion is not implemented, and ignored silently.
zverok (Victor Shepelev)
02:43 PM Bug #19235: StringIO.new(encoding: "ext_enc:int_enc") doesn't set external encoding
The `StringIO` doesn't have a proper concept of two encodings implemented :(
Also reported here #16497 but still not fixed completely.
I'll try to look into it this weekend.
zverok (Victor Shepelev)
02:37 PM Bug #19235 (Closed): StringIO.new(encoding: "ext_enc:int_enc") doesn't set external encoding
I noticed a divergence between IO `:encoding` option documentation and StringIO's behaviour:
```ruby
io = StringIO.new('', 'w', encoding: 'utf-8:ISO-8859-1')
io.external_encoding # => #<Encoding:ISO-8859-1>
```
According to the ...
andrykonchin (Andrew Konchin)
01:56 PM Revision cca54c8b (git): [ci skip] Add entry to NEWS.md about VWA
peterzhu2118 (Peter Zhu)
01:55 PM Revision 3e5f8b2a (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/89)
https://github.com/ruby/net-http/commit/86b84eb307
burdettelamar (Burdette Lamar)
10:21 AM Feature #19194 (Closed): Add Regexp.linear_time?
https://github.com/ruby/ruby/pull/6901 has been merged. hsbt (Hiroshi SHIBATA)
10:17 AM Bug #19234 (Closed): [3.2.0dev] YJIT code GC can lead to crashes
Filing this bug here in case some people may have observed it too and may have more information, and also to keep track of it for the upcoming 3.2.0 release.
After changing some settings on our CI to make sure YJIT's `code_gc` would t...
byroot (Jean Boussier)
10:11 AM Revision 3e104b44 (git): [rubygems/rubygems] Clean up Indexer build files in tests
https://github.com/rubygems/rubygems/commit/5479d99a1d nobu (Nobuyoshi Nakada)
08:49 AM Revision 45e84d17 (git): Update default gems list at 1a8d460534c7423091b790530bb3ea [ci skip]
git[bot]
08:48 AM Revision 1a8d4605 (git): [ruby/securerandom] Bump version to 0.2.2
https://github.com/ruby/securerandom/commit/9e16b597f5 hsbt (Hiroshi SHIBATA)
08:43 AM Revision 31bc403e (git): Update default gems list at 95d7b5e2e933cf74cc29782ce33b65 [ci skip]
git[bot]
08:42 AM Revision 95d7b5e2 (git): [ruby/resolv-replace] Bump version to 0.1.1
https://github.com/ruby/resolv-replace/commit/187e91d149 hsbt (Hiroshi SHIBATA)
07:56 AM Revision bec7deba (git): [ruby/date] Fixed wrong minimum version of Ruby
Fixed https://github.com/ruby/date/issues/83
https://github.com/ruby/date/commit/9731a3e732
hsbt (Hiroshi SHIBATA)
07:54 AM Revision f60c0808 (git): Update default gems list at 15f5842a5fe57fdc9af28494609cbd [ci skip]
git[bot]
07:53 AM Revision 15f5842a (git): [ruby/English] Bump version to 0.7.2
https://github.com/ruby/English/commit/736f819b3b hsbt (Hiroshi SHIBATA)
07:39 AM Revision d652474a (git): Update default gems list at 0b67e435ed07a2febf7c7bd4911257 [ci skip]
git[bot]
07:38 AM Revision 0b67e435 (git): [ruby/abbrev] Bump version to 0.1.1
https://github.com/ruby/abbrev/commit/8c3debac5a hsbt (Hiroshi SHIBATA)
07:12 AM Feature #19134: ** is not allowed in def foo(...)
> IMHO if ... is used then *, ** and & should all be forbidden (a SyntaxError at parse time).
I agree with this. If you want to do that, you should take it with `def foo(*, **, &)`.
I feel that only `&` is acceptable since a block ...
mame (Yusuke Endoh)
07:08 AM Revision 82b61f53 (git): Update default gems list at c6f41a3255e55d6a30bc8ef557bfba [ci skip]
git[bot]
07:07 AM Revision c6f41a32 (git): [ruby/time] Bump version to 0.2.1
https://github.com/ruby/time/commit/4cebf6de3c hsbt (Hiroshi SHIBATA)
07:01 AM Revision c96ffd36 (git): Update default gems list at 989d993f5b03fbbf712554abe7f93b [ci skip]
git[bot]
07:01 AM Revision 989d993f (git): [ruby/reline] Bump version to 0.3.2
https://github.com/ruby/reline/commit/3fbb7ec2ae hsbt (Hiroshi SHIBATA)
06:46 AM Revision 20c34f10 (git): Use versioning sort for released version detection
hsbt (Hiroshi SHIBATA)
06:40 AM Revision 307d2e0e (git): Skip yet another flaky Ractor test
k0kubun (Takashi Kokubun)
06:26 AM Revision 65dfe2ee (git): Suppress the output of `if [ 'xyes' = xyes ];` code
itself k0kubun (Takashi Kokubun)
06:18 AM Revision 00acc9b0 (git): Update default gems list at 9e4d7e99ce5686760ef2eab0d8b4f9 [ci skip]
git[bot]
06:18 AM Revision 9e4d7e99 (git): [ruby/syslog] Bump version to 0.1.1
https://github.com/ruby/syslog/commit/a92b55b638 hsbt (Hiroshi SHIBATA)
06:17 AM Revision c4009a2e (git): Update default gems list at e2f4b8bf77ac29b2b94fc01d6d2d63 [ci skip]
git[bot]
06:16 AM Revision e2f4b8bf (git): [ruby/weakref] Bump version to 0.1.2
https://github.com/ruby/weakref/commit/5b5f79d8a6 hsbt (Hiroshi SHIBATA)
06:07 AM Revision abf9a321 (git): Match ABI versions precisely
"3.2.0+33" starts with "3.2.0+3", but it doesn't mean that they are the
same ABI version.
k0kubun (Takashi Kokubun)
05:59 AM Revision 2d5b723b (git): Fix build when enable_shared is on (#6924)
Before this change, if enable_shared was true, the directory would have a suffix of -static and be deleted on each make install. This would cause a second make install to fail. Jimmy Miller
05:54 AM Revision a7cf39bb (git): Update default gems list at 87d32376d96d2c73083ac149df788e [ci skip]
git[bot]
05:54 AM Revision 87d32376 (git): [ruby/readline-ext] Bump version to 0.1.5
https://github.com/ruby/readline-ext/commit/7af996f24b hsbt (Hiroshi SHIBATA)
05:49 AM Revision a3b2719a (git): Update default gems list at 0c27c1b3fca72e638a9d91705234e7 [ci skip]
git[bot]
05:49 AM Revision 0c27c1b3 (git): [ruby/open3] Bump version to 0.1.2
https://github.com/ruby/open3/commit/38904e204d hsbt (Hiroshi SHIBATA)
05:36 AM Revision 6b41a2f9 (git): Update default gems list at 067747bb9a959808c47b32393170ca [ci skip]
git[bot]
05:35 AM Revision 067747bb (git): [ruby/tempfile] Bump version to 0.1.3
https://github.com/ruby/tempfile/commit/99dc1f7058 hsbt (Hiroshi SHIBATA)
03:57 AM Revision 03927b56 (git): Pin syntax_suggest-1.0.1 manually because it mixed dead_end tags
hsbt (Hiroshi SHIBATA)
03:57 AM Revision fbedadb6 (git): Add `Regexp.linear_time?` (#6901)
make_now_just (Hiroya Fujinami)
02:29 AM Feature #19135: Support `UNIXSocket` on Windows
I would like to share this credit with @larskanis who was instrumental to getting this PR over the finish line. It was a true team effort with hard compatibility challenges. ioquatix (Samuel Williams)
12:10 AM Feature #19232 (Feedback): add NoMatchingPatternError#matchee
currently if you pattern match a Hash, you can inspect the #key and #matchee methods from the NoMatchingPatternKeyError
```ruby
begin
{ error: true } => { value: }
rescue NoMatchingPatternKeyError => e
e.matchee
end
# => {:err...
dalexj (alex jensen)
12:00 AM Revision fe3cbc61 (git): [ruby/reline] Fix a misparameter of RubyLex#set_input in
termination_checker.rb
(https://github.com/ruby/reline/pull/482)
* Fix a misparameter of RubyLex#set_input in termination_checker.rb
The keyword parameter `:context` of RubyLex#set_input became mandatory due to this commit:
https://git...
hasumikin (hitoshi hasumi)

12/13/2022

10:13 PM Bug #19196: The string saved to Tempfile from URI.open escapes "&" character
@ufuk thank you for that explanation. I may have jumped to conclusions when checking that response in the browser (Chrome) vs curl which unescaped the characters. westoque (William Estoque)
06:21 PM Bug #19196 (Rejected): The string saved to Tempfile from URI.open escapes "&" character
Eregon (Benoit Daloze)
12:53 AM Bug #19196: The string saved to Tempfile from URI.open escapes "&" character
The content you are reading is XML and `&#38;` characters are there because of [XML-escaping](https://www.liquid-technologies.com/XML/EscapingData.aspx). They are not related to any kind of file encoding, `ASCII-8BIT` or `UTF-8`.
More...
ufuk (Ufuk Kayserilioglu)
08:42 PM Revision 83c12b5b (git): [ci skip] Fix Doxygen for ROBJECT Macro
eightbitraptor (Matt V-H)
07:57 PM Revision 74995162 (git): socket.rb - don't load io/wait (#6922)
See d2166c09b08fc1 and #6036 for more context. MSP-Greg (Greg L)
07:52 PM Revision 18597844 (git): [ruby/date] Implement Date#deconstruct_keys and DateTime#deconstruct_keys
https://github.com/ruby/date/commit/6bb6d3a810 zverok (Victor Shepelev)
07:01 PM Bug #19165: Method (with no param) delegation with *, **, and ... is slow
I made a patch https://github.com/ruby/ruby/pull/6920
This patch improves the performance of the cases which are discussed on this ticket.
However, this patch changes the calling convention and YJIT and MJIT are needed to catch up.
...
ko1 (Koichi Sasada)
06:37 PM Revision 25f727d4 (git): Update default gems list at a1dba60b5bec6b25e8262640228e19 [ci skip]
git[bot]
06:36 PM Revision a1dba60b (git): [ruby/irb] Version 1.6.1
https://github.com/ruby/irb/commit/229476ba76 k0kubun (Takashi Kokubun)
06:31 PM Revision 856e0279 (git): fix indentation: gc_compact_destination_pool
[ci skip]
Co-Authored-By: Peter Zhu <peter@peterzhu.ca>
eightbitraptor (Matt V-H)
06:14 PM Bug #19231: Integer#step and Float::INFINITY - inconsistent behaviour when called with and without a block
IMHO Integer makes sense so one can step by N from 0 to infinity with `0.step(Float::INFINITY, 10)` (with `Numeric#step`), since there is no `Integer::INFINITY`.
Using Float also can cause significant errors with a big enough step or va...
Eregon (Benoit Daloze)
03:59 PM Bug #19231: Integer#step and Float::INFINITY - inconsistent behaviour when called with and without a block
`0.step(Float::INFINITY, 10).each` generates Float values until Ruby 2.0 and after Ruby 2.6, but it generates Integer values between Ruby 2.1 and 2.5. The reason why the behavior changes after Ruby 2.6 is due to ArithmeticSequence.
`...
mrkn (Kenta Murata)
03:17 PM Bug #19231 (Open): Integer#step and Float::INFINITY - inconsistent behaviour when called with and without a block
The initial issue was reported here https://github.com/oracle/truffleruby/issues/2797.
`0.step(Float::INFINITY, 10)` returns:
- `Integers` when called with a block
- `Floats` when called without a block
I would expect `Floats` to...
andrykonchin (Andrew Konchin)
04:00 PM Revision a66a6986 (git): YJIT: Change the default mem size to 64MiB (#6912)
* YJIT: Change the default mem size to 64MiB
* Also update ruby --help
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
k0kubun (Takashi Kokubun)
12:13 PM Bug #19189: Ruby 3.1.3/3.2.x can no longer find pkg-config if not present at buildtime
I think Rails CI is also affected by https://github.com/ruby/ruby/commit/7f1ca666424849134990d022266bcd4d6636465f
Details are https://github.com/rails/rails/pull/46711#issuecomment-1348396867
yahonda (Yasuo Honda)
10:55 AM Revision 99d0a257 (git): [ruby/openssl] [DOC] Remove duplicate doc
RDoc does not consider preprocessor conditionals, but equally uses
both documents of `#if` and `#else` sides.
https://github.com/ruby/openssl/commit/ea0a112a0c
nobu (Nobuyoshi Nakada)
09:07 AM Revision 3de7ff8e (git): We should apply https://github.com/ruby/openssl/pull/576 instead of them:
https://github.com/ruby/ruby/commit/6d8f396f37350b7aa9c85a097929f54a0939448b
https://github.com/ruby/ruby/commit/c8b3bd45cc3cae93ae701333202416838ee6a00c
hsbt (Hiroshi SHIBATA)
09:07 AM Revision 2be03fb5 (git): [ruby/openssl] Fixes OPENSSL_LIBRARY_VERSION description on
documentation
(https://github.com/ruby/openssl/pull/559)
Adds back missing constant description on the documentation.
Henrique Bontempo
09:07 AM Revision 8ab8c2d6 (git): [ruby/openssl] Enable HKDF support for LibreSSL 3.6 and later
LibreSSL 3.6 added support for HKDF in EVP. Enable this in ossl_kdf.c.
https://github.com/ruby/openssl/commit/9bdd39a7e2
Theo Buehler
09:07 AM Revision d4dce27d (git): [ruby/openssl] Allow empty string to OpenSSL::Cipher#update
For some reasons, plaintext may be empty string.
ref https://www.rfc-editor.org/rfc/rfc9001.html#section-5.8
https://github.com/ruby/openssl/commit/953592a29e
unasuke (Yusuke Nakamura)
09:07 AM Revision d92f4fe4 (git): [ruby/openssl] Use EVP_Digest{Sign,Verify} when available
LibreSSL 3.4 added EVP_DigestSign() and EVP_DigestVerify(). Use them
when available to prepare for the addition of Ed25519 support in
LibreSSL 3.7.
https://github.com/ruby/openssl/commit/475b2bf766
Theo Buehler
09:07 AM Revision ce025a5c (git): [ruby/openssl] Use SHA256 instead of SHA1 where needed in tests.
Systems such as RHEL 9 are moving away from SHA1
disabling it completely in default configuration.
https://github.com/ruby/openssl/commit/32648da2f6
jprokop (Jarek Prokop)
09:06 AM Bug #19195 (Closed): Pattern match pin becomes syntax error if there is newline before closing paren
Applied in changeset commit:git|764da87ab02d30c578138bdb0f37e7c18f2d4371.
----------
[Bug #19195] Allow optional newlines before closing parenthesis
nobu (Nobuyoshi Nakada)
09:06 AM Revision 764da87a (git): [Bug #19195] Allow optional newlines before closing parenthesis
nobu (Nobuyoshi Nakada)
08:56 AM Bug #19230: The openssl backend of securerandom is no longer needed
Good catch!
I did a quick GitHub search to see if anyone might be calling this method directly, but given it's private maybe we shouldn't care? The first 10 pages showed no interesting results.
It seems [this test](https://github.c...
zzak (zzak _)
07:37 AM Bug #19230 (Closed): The openssl backend of securerandom is no longer needed
securerandom first checks if Random.urandom is available ([Line 77](https://github.com/ruby/securerandom/blob/5bfe7d6c163f7a8a45af8d2fc377ff4315f8c6a5/lib/securerandom.rb#L76-L77)), and if not available, it uses the openssl backend as a ... mame (Yusuke Endoh)
08:25 AM Revision 3262842e (git): Skip calling f.read for `overwrite: true`-only cases
We only need to set outpath for that case. k0kubun (Takashi Kokubun)
08:17 AM Revision 5ba9dcff (git): Make sure f.read is not called twice
--revision.h and --if-change are not used simultaneously, but they might
be in the future.
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
k0kubun (Takashi Kokubun)
07:34 AM Revision 7edcdc38 (git): Avoid overwriting revision.h when .git doesn't exist (#6915)
* Avoid overwriting revision.h when .git doesn't exist
* Overwrite revision.h if it's blank
k0kubun (Takashi Kokubun)
07:15 AM Feature #19194: Add Regexp.linear_time?
>May I merge the pull request on GitHub?
Yes, you can merge it. I meant commit and push to master branch directly or merge pull-request.
hsbt (Hiroshi SHIBATA)
07:10 AM Feature #19194: Add Regexp.linear_time?
@hsbt Sorry, I'm not sure what "apply" means. May I merge the pull request on GitHub? make_now_just (Hiroya Fujinami)
07:03 AM Feature #19194 (Assigned): Add Regexp.linear_time?
I added write permission to @make_now_just now. Can you apply this by yourself? hsbt (Hiroshi SHIBATA)
04:36 AM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
Segaja (Andreas Schleifer) wrote in #note-7:
> That is interesting. The second sentence from https://rubyreferences.github.io/rubyref/stdlib/bundled.html says "Unlike standard library, these gems can be updated independently from Ruby i...
nobu (Nobuyoshi Nakada)
04:35 AM Misc #19178 (Closed): How does CRuby handle CVE issues in stdlib gems which get patched?
@Segaja I'll close this because your first question was resolved now. hsbt (Hiroshi SHIBATA)
03:41 AM Revision 3e00cb82 (git): Merge RubyGems/Bundler master
from https://github.com/rubygems/rubygems/commit/1fdbeeabedd3cc4fffb0bb527b7c789afa44fb51 hsbt (Hiroshi SHIBATA)
03:41 AM Revision 6d00053c (git): [rubygems/rubygems] Use better matcher
Hopefully it gives a better error.
https://github.com/rubygems/rubygems/commit/5bc9ff64b6
deivid (David Rodríguez)
02:27 AM Feature #17684 (Open): Remove `--disable-gems` from release version of Ruby
hsbt (Hiroshi SHIBATA)

12/12/2022

11:31 PM Feature #19197 (Open): Add Exception#root_cause
### Description
I would like to add a `#root_cause` method to `Exception`.
It returns the last exception in linked-list of causality chain, that is, the original exception (whose own `cause` is `nil`).
### Example
```ruby
e ...
AMomchilov (Alexander Momchilov)
10:29 PM Revision 91050d34 (git): [rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_builder/custom_name
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.46 to 0.9.48.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.46...v0.9.48)
---
updated-depende...
dependabot[bot]
10:05 PM Revision 43f93511 (git): Fix parens on LIKELY in basic operators
We want to hint to the compiler that it's likely that the BOP is
unredefined (the bit is 0). Previously we were accidentally hinting to
the compiler that it was non-zero due to a misplaced parenthesis.
jhawthorn (John Hawthorn)
10:01 PM Revision 17559f04 (git): Don't leave backup file around
I suspect this was for debugging? If not, these days we have source
control tools, so this wouldn't seem necessary?
deivid (David Rodríguez)
09:30 PM Bug #19196 (Rejected): The string saved to Tempfile from URI.open escapes "&" character
When I am reading the string response from a URI.open, the response is not equivalent to the response body.
How to reproduce:
```
url = "https://www.podcastone.com/podcast?categoryID2=1237"
handle = URI.open(url)
=> #<Tempfile...
westoque (William Estoque)
09:05 PM Revision f88f2bd9 (git): [ruby/irb] Group show_doc tests and update the expectation
(https://github.com/ruby/irb/pull/479)
https://github.com/ruby/irb/commit/bede04c14a
Stan Lo
08:59 PM Revision 258ac079 (git): YJIT: Generate debug info in release builds (#6910)
* YJIT: Generate debug info in release builds
They are helpful in case we need to do core dump debugging.
* Remove Cirrus DOC skip rule
The syntax for this is weird, and escaping [ and ] cause parse failures.
Cirrus' docs said to surr...
alanwu (Alan Wu)
08:13 PM Revision 1004d693 (git): Make it so YJIT is no longer marked as experimental (#6909)
Tested on production workloads at Shopify for > 1 year and proven
to be quite stable. Enabling YJIT at run-time is still guarded
behind the --yjit command-line option for now.
maximecb (Maxime Chevalier-Boisvert)
08:04 PM Revision 8e619b8e (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.46 to 0.9.48.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.46...v0.9.48)
---
updated-depende...
dependabot[bot]
07:34 PM Revision 63f682ba (git): [ruby/net-http] [DOC] Enhanced RDoc for HTTPHeader
(https://github.com/ruby/net-http/pull/88)
https://github.com/ruby/net-http/commit/46e966be10
burdettelamar (Burdette Lamar)
05:35 PM Revision 223d4448 (git): [ruby/irb] `show_doc` command should take non-string argument too
(https://github.com/ruby/irb/pull/478)
Given that `show_doc` already supports syntax like `String#gsub`, it
should be able to take it in non-string form too, like `edit` and
`show_source` do. This ensures users can have a consistent syn...
Stan Lo
03:19 PM Revision ece62460 (git): YJIT: Implement opt_newarray_max instruction (#6893)
k0kubun (Takashi Kokubun)
03:16 PM Revision 5302d04e (git): [DOC] Fix format in ObjectSpace.dump_all
peterzhu2118 (Peter Zhu)
03:15 PM Revision be710c1b (git): [DOC] Fix format for ObjectSpace.dump_shapes
peterzhu2118 (Peter Zhu)
02:58 PM Revision a9c3dc8d (git): [DOC] Fix call-seq for ObjectSpace methods
peterzhu2118 (Peter Zhu)
02:56 PM Revision 58e3ce5d (git): [DOC] Fix typo in docs for ObjectSpace.dump_all
peterzhu2118 (Peter Zhu)
02:51 PM Revision 87d54708 (git): [DOC] Fix indentation for ObjectSpace.dump_all
peterzhu2118 (Peter Zhu)
02:48 PM Revision 0b4fda11 (git): [DOC] Don't document private methods in objspace
peterzhu2118 (Peter Zhu)
02:32 PM Revision 6d6b1e59 (git): Display error messages outside the groups so can be found quickly
nobu (Nobuyoshi Nakada)
02:32 PM Revision e809bd31 (git): Fix positional argument color [ci skip]
nobu (Nobuyoshi Nakada)
02:04 PM Feature #19134: ** is not allowed in def foo(...)
shugo (Shugo Maeda) wrote in #note-8:
> `&` is allowed in 3.1, so it's a breaking change to prohibit it.
Right and `&` is not problematic re performance, it's a completely separate argument anyway.
I agree with your proposal in your...
Eregon (Benoit Daloze)
01:12 PM Bug #19195 (Closed): Pattern match pin becomes syntax error if there is newline before closing paren
Syntax OK
~~~ruby
1 in ^(
1)
# => true
~~~
Syntax error. I think it should be syntax ok.
~~~ruby
1 in ^(
1
)
# => syntax error, unexpected '\n', expecting ')'
~~~
tompng (tomoya ishida)
12:31 PM Bug #19168: "such file" is bad grammar
In general, libraries should use `LoadError#path` instead of parsing the messages.
In addition, `.`s in a regexp don’t seem intentional.
nobu (Nobuyoshi Nakada)
11:38 AM Bug #19168: "such file" is bad grammar
Judging by the [diff](https://github.com/ruby/ruby/pull/6908) to produce this change, we would be breaking bundler -- which probably won't work 🤔 zzak (zzak _)
08:05 AM Revision 0ba65c68 (git): outdate-bundled-gems.rb: check for gemspec files for extensions
https://github.com/ruby/setup-ruby/issues/415#issuecomment-1345662263 nobu (Nobuyoshi Nakada)
08:05 AM Revision ff6831c3 (git): outdate-bundled-gems.rb: remove unused option
nobu (Nobuyoshi Nakada)
07:21 AM Revision be18b60c (git): Prevent potential buffer overflow on enclen
Follow up of 1d2d25dcadda0764f303183ac091d0c87b432566 mame (Yusuke Endoh)
06:00 AM Revision e1f42844 (git): [rubygems/rubygems] Prefer RbConfig::CONFIG['EXEEXT'] over hardcorded '.exe'
https://github.com/rubygems/rubygems/commit/bc84b2d262 nobu (Nobuyoshi Nakada)
05:40 AM Feature #19194: Add Regexp.linear_time?
Thank you for accepting the change and nominating me to a committer. I welcome this nomination. make_now_just (Hiroya Fujinami)
02:06 AM Feature #19194: Add Regexp.linear_time?
Also accepted to nominate him a committer.
Matz.
matz (Yukihiro Matsumoto)
02:05 AM Feature #19194: Add Regexp.linear_time?
Accepted.
Matz.
matz (Yukihiro Matsumoto)
12:56 AM Feature #19194: Add Regexp.linear_time?
@make_now just Thank you!
I would like to propose @make_now_just as a committer. He has made a great improvement to the Regexp engine. Ruby's Regexp engine is in a state of its own fork from onigmo, and he is a valuable person who can m...
mame (Yusuke Endoh)
05:26 AM Revision b8e542b4 (git): Make absent operator work at the end of the input string
https://bugs.ruby-lang.org/issues/19104#change-100542 mame (Yusuke Endoh)
05:05 AM Bug #19007: Unicode tables differences from Unicode.org 14.0 data
Thanks. I did create the [3.3 milestone](https://bugs.ruby-lang.org/versions/71) hsbt (Hiroshi SHIBATA)
04:51 AM Bug #19007: Unicode tables differences from Unicode.org 14.0 data
hsbt (Hiroshi SHIBATA) wrote in #note-6:
> @duerst Is there any action for Ruby 3.2 related this? If there is nothing to do for Ruby 3.2, I'll remove this from Ruby 3.2 milestone.
No, nothing should be needed for Ruby 3.2. I removed ...
duerst (Martin Dürst)
04:31 AM Bug #19007: Unicode tables differences from Unicode.org 14.0 data
@duerst Is there any action for Ruby 3.2 related this? If there is nothing to do for Ruby 3.2, I'll remove this from Ruby 3.2 milestone. hsbt (Hiroshi SHIBATA)
05:00 AM Feature #19193: drop DOS TEXT mode support
> The most important reason we are keeping "text mode" at reading is backward interoperability for old files.
agree.
> ...
I don't think so.
For example, Excel 2021 outputs CRLF newlines when creating a CSV file.
Reading as text mode ...
usa (Usaku NAKAMURA)
04:47 AM Feature #19193 (Assigned): drop DOS TEXT mode support
YO4 (Yoshinao Muramatsu) wrote:
> * Microsoft's most apps works without CRLF newline.
I guess you mean those apps can read without CR, but is it the default to write with LF newlines?
> ...
This is not related to reading, but writ...
nobu (Nobuyoshi Nakada)
04:56 AM Feature #19104 (Closed): Introduce the cache-based optimization for Regexp matching
Applied in changeset commit:git|f093b619a4863be96e6ebfa2fd58c77f4a360eae.
----------
[DOC] NEWS about [Feature #19104]
nobu (Nobuyoshi Nakada)
04:56 AM Revision f093b619 (git): [DOC] NEWS about [Feature #19104]
nobu (Nobuyoshi Nakada)
03:52 AM Bug #19136 (Third Party's Issue): OpenSSL::PKey::EC.check_key is useless when linked against OpenSSL 3
This issue has been filed at https://github.com/ruby/openssl/issues/563 hsbt (Hiroshi SHIBATA)
03:01 AM Feature #12813 (Closed): Calling chunk_while, slice_after, slice_before, slice_when with no block
hsbt (Hiroshi SHIBATA)
01:49 AM Revision bbe56a64 (git): Merge RubyGems/Bundler master
from https://github.com/rubygems/rubygems/commit/bfb0ae69776069155d2092702bfbb5a12617d85a hsbt (Hiroshi SHIBATA)

12/11/2022

10:26 PM Revision f1cdc129 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/85)
https://github.com/ruby/net-http/commit/9d9040fb79
burdettelamar (Burdette Lamar)
08:41 PM Bug #19192: IO has third data mode, document is incomplete.
Ugh, it's quite weird. The `:crlf_newline` option is an [encoding option](https://docs.ruby-lang.org/en/master/encodings_rdoc.html#label-Encoding+Options),
but `File.open` uses it in a way different from `String#encode`.
With `String#e...
alanwu (Alan Wu)
05:24 PM Revision e1ca089b (git): [DOC] Correct Array#compact! description
Jonathan Lim
05:14 PM Revision e0a4205e (git): Skip Cirrus checks for [DOC] commits
Since we also skip them on GitHub Actions. alanwu (Alan Wu)
04:49 PM Revision 381a373a (git): [DOC] Improve Random::Formatter docs
* Make its usage more obvious (by providing more detailed
examples);
* Include mention of it into Random itself;
* Small cleanups of docs.
zverok (Victor Shepelev)
04:43 PM Revision f07897fd (git): [DOC] Clarify Class#subclases behavior quirks
As per discussion in [Feature #18273], explain the
non-deterministic nature of the method.
zverok (Victor Shepelev)
01:35 PM Revision 73eddee7 (git): [rubygems/rubygems] Bump optparse to 0.3.0
And remove a patch no longer needed since we dropped Ruby 2.4 support.
https://github.com/rubygems/rubygems/commit/8939337072
deivid (David Rodríguez)
01:35 PM Revision d82328ff (git): [rubygems/rubygems] Bump Molinillo and tsort
And configure tsort to be vendored as a dependency of Molinillo.
https://github.com/rubygems/rubygems/commit/8ec749f891
deivid (David Rodríguez)
11:23 AM Revision 9477ec73 (git): NEWS.md: fix ticket ref position.
nagachika (Tomoyuki Chikanaga)
10:27 AM Revision d245c2ec (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
08:50 AM Feature #12813: Calling chunk_while, slice_after, slice_before, slice_when with no block
I think this has already been implemented by now. It should be closed. sawa (Tsuyoshi Sawada)
06:21 AM Revision 9d59d093 (git): MJIT: Compile methods in batches (#6900)
* MJIT: Compile methods in batches
* MJIT: make mjit-bindgen
* MJIT: Fix RubyVM::MJIT tests
k0kubun (Takashi Kokubun)
05:54 AM Feature #19194 (Closed): Add Regexp.linear_time?
I suggest adding a new method named `Regexp.linear_time?` to check if matching against a given regexp can be completed in linear time by the optimization introduced in #19104 (GitHub PR [#6486](https://github.com/ruby/ruby/pull/6486)).
...
make_now_just (Hiroya Fujinami)
02:55 AM Bug #19182 (Closed): ALWAYS_UPDATE_UNICODE=yes downloads all the Unicode files twice when executing make
Applied in changeset commit:git|7055574cf9dbcabd9d440c364f3e7b7812527bde.
----------
[Bug #19182] Unicode updating targets do not need to run for each files
nobu (Nobuyoshi Nakada)
02:55 AM Revision 7055574c (git): [Bug #19182] Unicode updating targets do not need to run for each files
nobu (Nobuyoshi Nakada)

12/10/2022

07:25 PM Feature #19104: Introduce the cache-based optimization for Regexp matching
mmizutani (Minoru Mizutani) wrote in #note-7:
> Regex fuzzing encountered an edge-case regression:
Thanks. This has nothing to do with this ticket. It's a different issue caused by my change commit:1d2d25dcadda0764f303183ac091d0c87b4...
mame (Yusuke Endoh)
06:41 AM Feature #19104: Introduce the cache-based optimization for Regexp matching
Regex fuzzing encountered an edge-case regression:
```bash
$ ruby --version
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
$ time ruby -e 'puts /あ(?~い)/.match?("あ")'
true
0.04s user 0.04s system 74% cpu 0.118 tot...
mmizutani (Minoru Mizutani)
06:35 PM Revision ea613c63 (git): Expose need_major_gc via GC.latest_gc_info (#6791)
Mirek Klimos
05:10 PM Feature #18951: Object#with to set and restore attributes around a block
> The use case isn't seen as common enough, so I added 3 real world example in the description, If that's not enough I can add as much as you want, this pattern is extremely common.
@matz I have seen this pattern repeated in almost ever...
retro (Josef Šimánek)
03:55 PM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
Hey everyone! I actually had someone reach out to me (because I had blogged about this) the other day, since they had been bitten by this issue.
Interestingly, it appears that actually this keeps getting "rediscovered" in the Ruby eco...
ivoanjo (Ivo Anjo)
03:10 PM Revision 12003acb (git): Update shape capacity when removing ivar and rewriting shape transitions
Since edc7af48acd12666a2945f30901d16b62a39f474, we now no longer have
undef ivar transitions. Instead, we rebuild the shapes table. When we do
this, we need to ensure that we retain our capacities on shapes.
jemmai (Jemma Issroff)
02:00 PM Feature #19191: Implicit console input transcoding is more desirable
YO4 (Yoshinao Muramatsu) wrote:
> when ```set_encoding("UTF-8")``` implicitly converts console code page to UTF-8.
I'm against more inconsistent corner cases like this for `set_encoding`.
Probably IRB should be fixed here to inherit...
Eregon (Benoit Daloze)
10:01 AM Revision 0645c8b3 (git): [DOC] Fix update-NEWS-refs.rb
* Issue numbers are path components but not fragments
* Align justification width to Feature lines
nobu (Nobuyoshi Nakada)
09:57 AM Revision fd440b09 (git): A negative denominator case in the Rational string parsing test
nobu (Nobuyoshi Nakada)
07:10 AM Revision c33615b6 (git): NEWS.md: Added compatibility issue of String#to_c. [ruby-core:110523] [Bug #19087]
nagachika (Tomoyuki Chikanaga)
06:09 AM Bug #19181 (Closed): lib/unicode-normalize/tables.rb does not get updated even if ALWAYS_UPDATE_UNICODE is set to yes
Applied in changeset commit:git|7a976c106030f37d6ab72b1abaef10e575bb8809.
----------
[Bug #19181] Separate the rule for unicode_normalize/tables.rb timestamp
It should depends on only existing data files (except for the tools),
unless ...
nobu (Nobuyoshi Nakada)
04:58 AM Revision fc8d22f8 (git): Win32: Move fallback BASERUBY definition
nobu (Nobuyoshi Nakada)
04:58 AM Revision 7a976c10 (git): [Bug #19181] Separate the rule for unicode_normalize/tables.rb timestamp
It should depends on only existing data files (except for the tools),
unless `ALWAYS_UPDATE_UNICODE=yes`.
nobu (Nobuyoshi Nakada)
02:56 AM Revision 5404e2fd (git): [DOC] Fix false link to ::Data
alanwu (Alan Wu)
12:54 AM Revision 22d391dc (git): Add spec for fiber storage. (#6896)
Samuel Williams
12:45 AM Revision 24043031 (git): YJIT: Split send_iseq_complex_callee exit reasons (#6895)
k0kubun (Takashi Kokubun)

12/09/2022

11:39 PM Revision 381e128c (git): [ruby/irb] Fix step command (https://github.com/ruby/irb/pull/477)
The current `next` pre-command workaround on IRB source stepping
moves the location by 1 extra line. A better way is to make `debug`
skip IRB frames completely, which is what this commit does.
It also fixes the step command's test. The ...
Stan Lo
10:12 PM Revision daa893db (git): YJIT: implement `getconstant` YARV instruction (#6884)
* YJIT: implement getconstant YARV instruction
* Constant id is not a pointer
* Stack operands must be read after jit_prepare_routine_call
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
maximecb (Maxime Chevalier-Boisvert)
09:14 PM Revision 1c057cfc (git): YJIT: Filter out 0-exit ops from Top-20 exit ops (#6892)
k0kubun (Takashi Kokubun)
04:38 PM Feature #19193 (Assigned): drop DOS TEXT mode support
On Windows platform, ```File.open(path, "r")``` returns an object different from "rt" and "rb". I call that DOS TEXT mode here.
DOS TEXT mode does
* crlf conversion
* 0x1a treated EOF charactor on read
and others (see Bug #19192)...
YO4 (Yoshinao Muramatsu)
04:06 PM Revision d7812d19 (git): objspace_dump.c: dump the capacity field for INITIAL_CAPACITY shapes
We forgot about that one, it's quite useful to see which capacity
we started from.
byroot (Jean Boussier)
04:02 PM Bug #19192 (Open): IO has third data mode, document is incomplete.
The documentation on the mode parameter of File.open is incomplete, I would like to clarify IO's data mode actual behavior here.
document says
```
To specify whether data is to be treated as text or as binary data, either of the fol...
YO4 (Yoshinao Muramatsu)
04:02 PM Feature #19191 (Open): Implicit console input transcoding is more desirable
In response to Bug #18353, STDIN.internal_encoding are set and encoding is converted explcitly on Windows platform.
For example, ```[STDIN.external_encoding, STDIN.internal_encoding] # => [Encoding::Windows-31J, Encoding::UTF-8]``` if S...
YO4 (Yoshinao Muramatsu)
02:34 PM Revision 12b52686 (git): Remove unused counter for heap_page->pinned_slots
eightbitraptor (Matt V-H)
01:18 PM Bug #19167 (Closed): Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
Applied in changeset commit:git|11acb7f7bcf6e80e03cf83bba863b9b3f980fdca.
----------
[Bug #19167] Remove useless conversion of classes for special const
nobu (Nobuyoshi Nakada)
01:15 PM Revision fe679988 (git): Clean up a temporary file
nobu (Nobuyoshi Nakada)
01:11 PM Revision 11acb7f7 (git): [Bug #19167] Remove useless conversion of classes for special const
nobu (Nobuyoshi Nakada)
01:11 PM Revision 181d4bee (git): Use rb_inspect instead of +PRIsVALUE for Object.inspect
In order to preserve the values when TrueClass, FalseClass or NilClass
are stored in ivars
eightbitraptor (Matt V-H)
12:18 PM Bug #19087: String#to_c supports multiple "_"
I agree that the new behavior is consistent and preferable, but I don't think it should be fixed on the stable branches.
If there are any troubles on the real world applications with this issue, please let me know.
nagachika (Tomoyuki Chikanaga)
12:12 PM Bug #19187: Ruby 3.1.3 testsuite fails after timezone 2022g update is applied
ruby_3_1 a1124dc162810f86cb0bff58cde24064cfc561bc merged revision(s) 58cc3c9f387dcf8f820b43e043b540fa06248da3. nagachika (Tomoyuki Chikanaga)
12:11 PM Revision a1124dc1 (git): merge revision(s) 58cc3c9f387dcf8f820b43e043b540fa06248da3: [Backport #19187]
[Bug #19187] Fix for tzdata-2022g
---
test/ruby/test_time_tz.rb | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
nagachika (Tomoyuki Chikanaga)
08:50 AM Feature #19036: Provide a way to set path for File instances created with for_fd
Eregon (Benoit Daloze) wrote in #note-7:
> > - Should we introduce `IO#path=`?
> ...
Agree. Also briefly brainstormed some possible security issues with being able to mutate the path after init. Don't want to go there and don't really ...
headius (Charles Nutter)
07:59 AM Revision 7c438328 (git): Update default gems list at 01cf3ab3b8ee20ad6746373ae17a56 [ci skip]
git[bot]
07:57 AM Revision 01cf3ab3 (git): [ruby/date] Bump version to 3.3.1
https://github.com/ruby/date/commit/b7a8229041 hsbt (Hiroshi SHIBATA)
07:55 AM Revision e96b64f5 (git): [ruby/date] No-op gem for JRuby for now
Remove all shipped files and require path on JRuby until we can
add JRuby's extension to the gem.
Temporary workaround for #48
https://github.com/ruby/date/commit/94c3becef2
headius (Charles Nutter)
07:48 AM Revision f25e76fd (git): MJIT: Improve comments for JIT fields [ci skip]
k0kubun (Takashi Kokubun)
07:43 AM Revision 8893913a (git): MJIT: Clarify jit_unit is only for MJIT
k0kubun (Takashi Kokubun)
07:37 AM Revision c668eaff (git): Update default gems list at 93ac1503be10c43978fe7ee1fec95c [ci skip]
git[bot]
07:36 AM Revision 93ac1503 (git): Added condition for ruby/ruby repository
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 0677bbe3 (git): Merge syntax_suggest master
Pick from https://github.com/ruby/syntax_suggest/commit/daee74dcb06296fa69fe8595fdff5d93d432b30d hsbt (Hiroshi SHIBATA)
07:36 AM Revision 9557c8ed (git): Merge net-protocol-0.2.1
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 4cbd3e19 (git): Merge RDoc-6.5.0
hsbt (Hiroshi SHIBATA)
07:36 AM Revision a4e14b9d (git): Merge RubyGems/Bundler master
Pick from https://github.com/rubygems/rubygems/commit/823c776d951f3c35094611473ec77f94e8bf6610 hsbt (Hiroshi SHIBATA)
07:36 AM Revision d928ebac (git): Merge Psych-5.0.1
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 98e33aa9 (git): Merge yaml-0.2.1
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 3b45498d (git): Merge json-2.6.3
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 7d04cddf (git): Merge stringio-3.0.4
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 286812bc (git): Merge fiddle-1.1.1
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 4e31fea7 (git): Merge strscan-3.0.5
hsbt (Hiroshi SHIBATA)
07:36 AM Revision bcf01b18 (git): Reapply the following commits related to extend timeout value.
66d1900423e6fb9774c2fe72dba8c2968b54d7ab
0686e4181d04dd911316a227753ceaa96d8c6533
1a63468831524f68e73cbb068071652c6486cfc6
e1fee7f949cb6719122672fa1081c60984a5339f
232e43fd52e53f667c2c290cffb4afa524889f0f
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 643918ec (git): Merge csv-3.2.6
hsbt (Hiroshi SHIBATA)
07:08 AM Revision 260a00d8 (git): MJIT: Refactor JIT failure handling
k0kubun (Takashi Kokubun)
07:06 AM Revision 4885aa9a (git): MJIT: Add comments about custom hooks [ci skip]
k0kubun (Takashi Kokubun)
06:58 AM Revision 97ed0562 (git): MJIT: Give a more appropriate name to the initial state
k0kubun (Takashi Kokubun)
06:53 AM Revision 0dc5c117 (git): MJIT: Convert compact_p flag to an enum
I'm gonna add another type of unit shortly. k0kubun (Takashi Kokubun)
06:40 AM Revision bfc22576 (git): MJIT: Drop an obsoleted explanation [ci skip]
There's no MJIT worker thread anymore k0kubun (Takashi Kokubun)
06:40 AM Revision 33aa06e3 (git): Use a ruby-lang alias [ci skip]
k0kubun (Takashi Kokubun)
06:40 AM Revision bda070f0 (git): [ruby/rdoc] Fix `=end` delimiter
https://github.com/ruby/rdoc/commit/e1679fa7e4 nobu (Nobuyoshi Nakada)
06:40 AM Revision acd857b9 (git): [ruby/rdoc] Non-RD part feature has not been imported to RDoc
https://github.com/ruby/rdoc/commit/fe0159de2f nobu (Nobuyoshi Nakada)
06:40 AM Revision b749bc05 (git): [ruby/rdoc] Use Tempfile
https://github.com/ruby/rdoc/commit/0b9dde5ab4 nobu (Nobuyoshi Nakada)
06:36 AM Revision fa64889a (git): [ruby/erb] Use a ruby-lang alias on spec.email
https://github.com/ruby/erb/commit/39414f32a5 k0kubun (Takashi Kokubun)
05:58 AM Revision db09ddf8 (git): Update default gems list at d7baa17b49a681a7436718f6219fcb [ci skip]
git[bot]
05:57 AM Revision d7baa17b (git): [ruby/etc] Bump version to 1.4.2
https://github.com/ruby/etc/commit/5cac138538 hsbt (Hiroshi SHIBATA)
05:42 AM Revision ec184077 (git): MJIT: Remove obsoleted conditional variables
k0kubun (Takashi Kokubun)
04:36 AM Revision 54a6bd2f (git): Update default gems list at 95b423f93a418abc010d7bc1baab48 [ci skip]
git[bot]
04:35 AM Revision 95b423f9 (git): [ruby/irb] Version 1.6.0
https://github.com/ruby/irb/commit/d799c5c9da k0kubun (Takashi Kokubun)
02:26 AM Revision 6ea3edbd (git): Fix bad code example in documentation
janosch-x (Janosch Müller)
 

Also available in: Atom