Project

General

Profile

Activity

From 12/08/2022 to 12/14/2022

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)

12/08/2022

10:35 PM Revision e714907d (git): YJIT: Upgrade bindgen to stabilize and reduce output
The new version has an option to merge everything into a big
`extern "C"` block and it's nicer.
More importantly, this upgrade fixes an issue where Ubuntu with Clang 12
and macOS with Clang 14 gave a one line diff for `rb_shape_t`. It w...
alanwu (Alan Wu)
10:33 PM Revision 51ef991d (git): YJIT: Drop Copy trait from Context (#6889)
k0kubun (Takashi Kokubun)
10:31 PM Revision b26c9ce5 (git): YJIT: implement opt_newarray_min YARV instruction (#6888)
maximecb (Maxime Chevalier-Boisvert)
09:46 PM Revision c9076d54 (git): [ruby/irb] Add show_doc as an alias to the help command
(https://github.com/ruby/irb/pull/475)
In the long-term, we want to align with `Pry`, `byebug` and `debug` to
use the `help` command to list all commands, which is what `show_cmds`
currently does. And `show_doc` will be the command to l...
Stan Lo
09:05 PM Bug #19169 (Closed): Kernel#freeze doesn't propagate to singleton class when the singleton class has prepended modules
Applied in changeset commit:git|bb8afd7265af41a75e8889774aa26f157f146380.
----------
Freeze singleton class, not its origin
Previously, when we froze an object, we froze
`RCLASS_ORIGIN(object.singleton_class)`, which didn't freeze
`obj...
alanwu (Alan Wu)
09:05 PM Revision 12b7c129 (git): [ruby/irb] Gracefully handle missing command argument
(https://github.com/ruby/irb/pull/473)
* Handle file loading commands' argument error gracefully
Currently, if users don't provide an argument to `source`,
`irb_load`, and `irb_require`, IRB raises `ArgumentError` with full
stacktrace....
Stan Lo
09:00 PM Revision 234c3a05 (git): Update default gems list at 8bbf4e5d8dccba3adf07fb56a38c06 [ci skip]
git[bot]
08:58 PM Revision 8bbf4e5d (git): [ruby/stringio] bump up to 3.0.5
https://github.com/ruby/stringio/commit/e62b9d78d3 Sutou Kouhei
08:58 PM Revision bb8afd72 (git): Freeze singleton class, not its origin
Previously, when we froze an object, we froze
`RCLASS_ORIGIN(object.singleton_class)`, which didn't freeze
`object.singleton_class` when it has some prepended modules.
Origin iclass are internal objects and users can't interact with
the...
alanwu (Alan Wu)
08:58 PM Revision 47a5b34a (git): YJIT: Fold check-yjit-bindings into yjit-bindgen
So it's shorter on CI and the hint about how the fix the failure shows
up. It's going to print a diff locally too, but that should be fine.
alanwu (Alan Wu)
08:58 PM Revision 2ae26554 (git): YJIT: Add a hint for fixing "check-yjit-bindings"
This makes it clear what to do when the CI check
fails and should remove a few minutes of confusion
for people seeing this for the first time.
alanwu (Alan Wu)
07:11 PM Revision a87f802f (git): [ruby/irb] Kill PTY process after test is finished
(https://github.com/ruby/irb/pull/471)
The killing/waiting logic is borrowed from ruby/debug:
https://github.com/ruby/debug/blob/ec5ae5aebd61a99dc84028d8dffa8e7e165c1ec6/test/support/test_case.rb#L107-L136
Stan Lo
07:10 PM Revision 3956bb85 (git): [ruby/irb] Add "show_cmds" command to list all commands'
descriptions
(https://github.com/ruby/irb/pull/463)
https://github.com/ruby/irb/commit/7e857655ac
Stan Lo
06:31 PM Revision 2cea8e01 (git): MJIT: Mark MJIT's objects from mjit_mark
It looks like the current way of marking objects was breaking
eightbitraptor's upcoming VWA changes and this seems to fix it.
k0kubun (Takashi Kokubun)
05:46 PM Revision 73771e4b (git): ObjectSpace.dump_all: dump shapes as well
I see several arguments in doing so.
First they use a non trivial amount of memory, so for various memory
profiling/mapping tools it is relevant to have visibility of the space
occupied by shapes.
Then, some pathological code can creat...
byroot (Jean Boussier)
05:20 PM Revision b19490f7 (git): Use the built bundled gems in test-all as well as test-bundled-gems
nobu (Nobuyoshi Nakada)
03:38 PM Revision 5738ae70 (git): [DOC] Update `rb_gc_mark_locations` doc
The documentation says that the `end` pointer will be marked
but looking at the source, that is not the case.
Jimmy Bourassa
02:41 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
I also agree the 0-kwargs case should be supported for general use like `data.with(**changes)`, whether `changes` is empty or not. And that reads fine of course.
It's also like `Hash#merge` with no arguments.
I think `#with` with empty...
Eregon (Benoit Daloze)
02:24 PM Feature #19036: Provide a way to set path for File instances created with for_fd
ioquatix (Samuel Williams) wrote in #note-6:
> Implemented in https://github.com/ruby/ruby/pull/6867.
Thanks!
> ...
I think not, AFAIK there is no need for this to be mutable.
> - Should we introduce `IO#dup(..., path:)`?
De...
Eregon (Benoit Daloze)
05:22 AM Feature #19036 (Closed): Provide a way to set path for File instances created with for_fd
Implemented in https://github.com/ruby/ruby/pull/6867.
Follow up discussion:
- Should we introduce `IO#path=`?
- Should we introduce `IO#dup(..., path:)`?
ioquatix (Samuel Williams)
12:29 PM Revision e9f6d6b3 (git): Ignore .o.tmp files
byroot (Jean Boussier)
12:15 PM Revision 6081fd45 (git): [ruby/net-protocol] Failing test case for #19
Unfortunately we have to use a mock, but this test demonstrate the
mutation bug fixed in #19.
It fails on 0.2.0 but passes on 0.1.3 or 0.2.1.
https://github.com/ruby/net-protocol/commit/40a1ab687c
byroot (Jean Boussier)
10:39 AM Misc #18976: [ANN] blade.nagaokaut.ac.jp is down
I restored some of mojibake messages of Japanese lists that are `ruby-list` and `ruby-dev`.
hsbt (Hiroshi SHIBATA)
07:13 AM Misc #18976 (Closed): [ANN] blade.nagaokaut.ac.jp is down
>I'll build the simple txt archives like https://blade.ruby-lang.org/ruby-core/xxxxxx.
> ...
done. You can access the above archive like https://blade.ruby-lang.org/ruby-core/1 , https://blade.ruby-lang.org/ruby-dev/1 ...
>I'll creat...
hsbt (Hiroshi SHIBATA)
08:03 AM Bug #19167: Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
Essentially, this behavior is an "unofficial" feature for internal use only (not expected to be documented), so it has not been described in doc/extension.rdoc.
> Note: In the format string, "%"PRIsVALUE can be used for Object#to_s
...
nobu (Nobuyoshi Nakada)
07:24 AM Revision 516fe627 (git): Update default gems list at 6f44dc8edf5b444a45ea9f0a375a26 [ci skip]
git[bot]
07:23 AM Revision 6f44dc8e (git): [ruby/net-protocol] Bump version to 0.2.1
https://github.com/ruby/net-protocol/commit/06d1420936 hsbt (Hiroshi SHIBATA)
07:17 AM Revision 8547f61d (git): [ruby/net-protocol] Undo BufferedIO#rbuf_consume_all_shareable! optimization
This optimization is unsafe because `dest` is allowed to be a custom
object responding to `<<` (e.g. a block wrapped in `ReadAdapter`).
So the receiver can hold onto the passed buffer for as long as it wants.
If it was guaranteed that ...
byroot (Jean Boussier)
07:17 AM Revision a57a3154 (git): [rubygems/rubygems] Avoid deprecated Gem::Platform.match in Gem::Resolver::InstallerSet
https://github.com/rubygems/rubygems/commit/05cb5410cb Eregon (Benoit Daloze)
06:05 AM Revision 3938bd1b (git): MJIT: Remove Windows-specific code
because we no longer support it k0kubun (Takashi Kokubun)
05:20 AM Revision 09bc3abd (git): MJIT: Deal with a TODO with assertion
k0kubun (Takashi Kokubun)
05:19 AM Revision 6fd5d2dc (git): Introduce `IO.new(..., path:)` and promote `File#path` to `IO#path`. (#6867)
Samuel Williams
05:13 AM Revision b2764752 (git): Update default gems list at b9d055d7604ea41f54268076622c8a [ci skip]
git[bot]
05:12 AM Revision b9d055d7 (git): [ruby/stringio] bump up to 3.0.4
https://github.com/ruby/stringio/commit/5ba853d6ff Sutou Kouhei
03:35 AM Bug #19187: Ruby 3.1.3 testsuite fails after timezone 2022g update is applied
ruby_3_0 a0a99185577794b1915eba0dc5154f09cc95e81d merged revision(s) 58cc3c9f. usa (Usaku NAKAMURA)
03:35 AM Bug #19187: Ruby 3.1.3 testsuite fails after timezone 2022g update is applied
ruby_2_7 36cadad6434bc31bc2d60697698cd5b930c097ce merged revision(s) 58cc3c9f. usa (Usaku NAKAMURA)
03:33 AM Revision 36cadad6 (git): merge revision(s) 58cc3c9f: [Backport #19187]
[Bug #19187] Fix for tzdata-2022g
---
test/ruby/test_time_tz.rb | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
U.Nakamura
03:33 AM Revision d21f9853 (git): Bump teeny
U.Nakamura
03:31 AM Revision 7e121dc4 (git): [ruby/logger] Another performance improvement on the Formatter by
using Kernel#sprintf over String#%
(https://github.com/ruby/logger/pull/75)
* Prefer Kernel#sprintf over String#% for formatting Strings
matsuda (Akira Matsuda)
03:31 AM Revision a0a99185 (git): merge revision(s) 58cc3c9f: [Backport #19187]
[Bug #19187] Fix for tzdata-2022g
---
test/ruby/test_time_tz.rb | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
U.Nakamura
03:30 AM Revision 9de654cb (git): Bump teeny
U.Nakamura
03:28 AM Revision 7ab4820a (git): [ruby/logger] Only assign to `@filename` if the path is valid.
(https://github.com/ruby/logger/pull/81)
https://github.com/ruby/logger/commit/b41d7c699c
Samuel Williams
03:22 AM Revision 2efaa805 (git): Don't sync jar artifact of CGI
hsbt (Hiroshi SHIBATA)
03:21 AM Revision 701251c5 (git): [ruby/logger] Drop RDoc development dependency to avoid CI failures.
(https://github.com/ruby/logger/pull/82)
https://github.com/ruby/logger/commit/8915627234
Samuel Williams
02:09 AM Revision 7cd0dacb (git): Update default gems list at 9fce6014b52852265c6b34a04a2057 [ci skip]
git[bot]
02:08 AM Revision 9fce6014 (git): [ruby/psych] Bump version to 5.0.1
https://github.com/ruby/psych/commit/bdf20e6042 hsbt (Hiroshi SHIBATA)
01:09 AM Revision 645cd94d (git): Add debug counters to RubyVM.stat (#6086)
* Add debug counters to RubyVM.stat
* Use SIZET2NUM
Co-author: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Prefix debug_counter_names
Chris Seaton
 

Also available in: Atom