Project

General

Profile

Activity

From 12/06/2024 to 12/12/2024

12/12/2024

11:52 PM Revision e7ee7d43 (git): YJIT: Allow then-unknown `static_mut_refs` on older Rusts [ci skip]
alanwu (Alan Wu)
11:28 PM Bug #20918 (Closed): Prism error indicates line number of `-e` that does not exist
Applied in changeset commit:git|e11c86f43e045462f4c0e2eaa2ddb4fdb6927ea7.
----------
Fix error messages so we don't ...
tenderlovemaking (Aaron Patterson)
06:44 PM Bug #20918: Prism error indicates line number of `-e` that does not exist
mame (Yusuke Endoh) wrote in #note-6:
> @tenderlovemaking Thank you for fixing the issue, but it still shows line 2 ...
tenderlovemaking (Aaron Patterson)
10:55 AM Bug #20918 (Assigned): Prism error indicates line number of `-e` that does not exist
@tenderlovemaking Thank you for fixing the issue, but it still shows line 2 in the code snippet.
```
$ ruby -e "f...
mame (Yusuke Endoh)
11:28 PM Revision e11c86f4 (git): Fix error messages so we don't output an extra line
Before this commit, when a file ended with a newline, the syntax error
message would show an extra line after the fil...
tenderlovemaking (Aaron Patterson)
09:44 PM Revision 5e8c9b4b (git): [DOC] Fix grammar errors, typos, and improve readability of trace_point.rb (#12150)
Stan Lo
09:43 PM Feature #20875 (Closed): Atomic initialization for Ractor local storage
Applied in changeset commit:git|0bdb38ba6be208064a514c12a9b80328645689f8.
----------
`Ractor.set_if_absent(key)`
to...
ko1 (Koichi Sasada)
09:17 PM Feature #20875: Atomic initialization for Ractor local storage
store is from `Hash#store`. ko1 (Koichi Sasada)
09:02 PM Feature #20875: Atomic initialization for Ractor local storage
"store_if_absent" is fairly verbose; I should point out that "add" is a common name for this operation. For example t... Dan0042 (Daniel DeLorme)
07:58 PM Feature #20875: Atomic initialization for Ractor local storage
quote from https://github.com/ruby/dev-meeting-log/blob/master/2024/DevMeeting-2024-12-12.md
* ko1: `compute_if_ab...
ko1 (Koichi Sasada)
07:17 AM Feature #20875: Atomic initialization for Ractor local storage
Ah, it assigs from `Ractor.map`. ko1 (Koichi Sasada)
04:26 AM Feature #20875: Atomic initialization for Ractor local storage
> Then each Ractor could have such a map/hash and this could be solved like `Ractor[:mtx] ||= Ractor.map.compute_if_a... ko1 (Koichi Sasada)
09:43 PM Revision ff8570b0 (git): Fix LoadError's linking issue
Original issue: https://github.com/ruby/rdoc/issues/1128
The problem is caused by the `# :stopdoc:` directive in `bu...
Stan Lo
09:22 PM Revision 0bdb38ba (git): `Ractor.set_if_absent(key)`
to initialize ractor local storage in thread-safety.
[Feature #20875]
ko1 (Koichi Sasada)
07:14 PM Bug #20950 (Closed): Use-after-free in ep in Proc#dup for ifunc procs
GitHub PR: https://github.com/ruby/ruby/pull/12319
ifunc proc has the ep allocated in the data of the TypedData ob...
peterzhu2118 (Peter Zhu)
07:07 PM Revision 79d90e73 (git): Call rb_bug_without_die when ASAN error reported
This will give us the Ruby stack trace when an ASAN error is reported. peterzhu2118 (Peter Zhu)
07:07 PM Revision 2da70aac (git): Don't output memory map in crash report for ASAN
ASAN maps a large amount of memory, which makes the memory map section
massive.
peterzhu2118 (Peter Zhu)
07:07 PM Revision ca2d19d4 (git): Implement rb_bug_without_die
peterzhu2118 (Peter Zhu)
05:29 PM Bug #20659 (Closed): Speed regression of `parse.y` parser after numeric nodes were introduced
I believe this was fixed by commit:c93d07ed7448f332379cf21b4b7b649b057e5671. alanwu (Alan Wu)
05:26 PM Revision c0caf1cc (git): [ruby/irb] Load history when starting a direct debug session
(https://github.com/ruby/irb/pull/1046)
* Load history when starting a direct debug session
When starting a debug s...
James Reid-Smith
05:07 PM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
> No, ruby_xfree is not a simple delegator to system free, depending on environment and configuration.
I see, I di...
byroot (Jean Boussier)
11:46 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
Done: https://github.com/byroot/json/pull/1
It's basically twice as slow on almost all benchmarks. My implementati...
byroot (Jean Boussier)
10:47 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
> We would like you to try to use String objects as buffers instead of memory pointer.
Yes, I was planning to try...
byroot (Jean Boussier)
10:45 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
Discussed at the dev meeting.
> Yes, that's why I'm wondering if this requirement should be relaxed to “MUST be fr...
mame (Yusuke Endoh)
08:18 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
> It is same as rb_str_cat(buf, &c, 1).
Yes and:
- You can't always use `rb_str_cat`, sometimes you have to p...
byroot (Jean Boussier)
07:15 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
byroot (Jean Boussier) wrote in #note-19:
> > why not allocate a managing String from the beginning?
>
> I explai...
nobu (Nobuyoshi Nakada)
04:51 PM Feature #20818: Allow passing a block to Hash#store (to update current value)
This is related to my `Hash#exchange_value` proposal, so I'll link that here. https://bugs.ruby-lang.org/issues/20300... AMomchilov (Alexander Momchilov)
04:40 PM Revision 300be2b1 (git): [ruby/reline] Undo and redo should restore indentation
(https://github.com/ruby/reline/pull/793)
* Undo and redo should restore indentation
Undo and redo should not perfo...
tompng (tomoya ishida)
02:39 PM Revision 776ec521 (git): [ruby/win32ole] Deprecate old constants in toplevel
https://github.com/ruby/win32ole/commit/eaa1507262 nobu (Nobuyoshi Nakada)
02:16 PM Revision 20b62ac0 (git): [ruby/win32ole] [DOC] Hide old constants for the backward compatibility from RDoc
https://github.com/ruby/win32ole/commit/99e1ea403f nobu (Nobuyoshi Nakada)
02:16 PM Revision ca427e63 (git): [ruby/win32ole] [DOC] Fix a markup for code
https://github.com/ruby/win32ole/commit/542d39372c nobu (Nobuyoshi Nakada)
02:01 PM Bug #20932 (Closed): Socket fast_fallback segfaults when fds are > FD_SETSIZE
I believe this issue has been resolved with this PR: https://github.com/ruby/ruby/pull/12292.
If you have any concer...
shioimm (Misaki Shioi)
01:58 PM Revision 54964526 (git): increase diff.renameLimit
naruse (Yui NARUSE)
01:15 PM Revision a0f59a59 (git): Update default gems list at 911879e01f061c9ea2d3ca4eb6d73d [ci skip]
git[bot]
01:14 PM Revision 911879e0 (git): [ruby/irb] Bump version to v1.14.2
(https://github.com/ruby/irb/pull/1045)
https://github.com/ruby/irb/commit/dd31884657
st0012 (Stan Lo)
12:46 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
Eregon (Benoit Daloze) wrote in #note-44:
> Are you thinking if the directory is removed? In that case there is no w...
nobu (Nobuyoshi Nakada)
11:35 AM Misc #20949 (Closed): DevMeeting-2025-01-09
# The next dev meeting
**Date: 2025/01/09 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/tree/m...
mame (Yusuke Endoh)
11:34 AM Misc #20879 (Closed): DevMeeting-2024-12-12
mame (Yusuke Endoh)
11:33 AM Feature #20884: reserve "Ruby" toplevel module for Ruby language
Discussed at the dev meeting.
@matz decided that Ruby 3.4 warns when ::Ruby is defined.
```
$ ./miniruby -we '...
mame (Yusuke Endoh)
09:38 AM Feature #20884 (Open): reserve "Ruby" toplevel module for Ruby language
hsbt (Hiroshi SHIBATA)
09:33 AM Feature #20884 (Closed): reserve "Ruby" toplevel module for Ruby language
Applied in changeset commit:git|197a3efc751f43956fc9ad30d688b4bfa3f7fbdb.
----------
[Feature #20884] News of toplev...
nobu (Nobuyoshi Nakada)
09:11 AM Feature #20884 (Open): reserve "Ruby" toplevel module for Ruby language
hsbt (Hiroshi SHIBATA)
08:45 AM Feature #20884 (Closed): reserve "Ruby" toplevel module for Ruby language
Applied in changeset commit:git|4d86f3bf6d1fe7bf7d4b25fc42f7aba9f401bbb4.
----------
[Feature #20884] Reserve "Ruby"...
nobu (Nobuyoshi Nakada)
07:19 AM Feature #20884: reserve "Ruby" toplevel module for Ruby language
It's OK for me to reserve `Ruby` constant (module) for the future. It should only contain portable information among ... matz (Yukihiro Matsumoto)
11:22 AM Bug #20948 (Assigned): Constant references incorrectly cached in `module (expr)::Foo`
```ruby
module M1
module Foo
X = 1
end
end
module M2
module Foo
X = 2
end
end
[M1, M2]...
mame (Yusuke Endoh)
11:17 AM Feature #20922 (Rejected): Should not we omit parentheses in assert calls?
Discussed at the dev meeting.
@matz said he was not going to remove this warning.
Several ideas to prevent a w...
mame (Yusuke Endoh)
11:06 AM Bug #20817 (Rejected): Ruby 3.4.0dev emits `warning: possibly useless use of + in void context` while Ruby 3.3.5 does not
Discussed at the dev meeting. This incompatibility that a subtle warning is printed when code is a syntax error shoul... mame (Yusuke Endoh)
10:49 AM Feature #20935: API for Globally Enabling/Disabling Happy Eyeballs Version 2 in the Socket Class
@matz approved the new API, and also wanted a configuration to stop happy eyeballs by an environment variable: `RUBY_... mame (Yusuke Endoh)
10:47 AM Bug #20930: Different semantics for nested `it` and `_1`
Discussed at the dev meeting, and matz confirmed that the current master's behavior is good. mame (Yusuke Endoh)
10:26 AM Bug #20940: Colored syntax error from prism
Personal opinion on terminal coloring (or any escape sequences). Colors should be completely optional as information ... mame (Yusuke Endoh)
07:17 AM Bug #20940: Colored syntax error from prism
I personally prefer coloring error output, but for some reason, users may want to stop coloring. It should honor `NO_... matz (Yukihiro Matsumoto)
09:30 AM Revision 197a3efc (git): [Feature #20884] News of toplevel "Ruby" name reservation
nobu (Nobuyoshi Nakada)
09:29 AM Misc #20947 (Assigned): Propose ydah (Yudai Takada) as a Ruby committer
I will do your account setup after releasing Ruby 3.4.0. Because I'm busy to release work until that.
Sorry to del...
hsbt (Hiroshi SHIBATA)
06:29 AM Misc #20947: Propose ydah (Yudai Takada) as a Ruby committer
It's OK for me.
Matz.
matz (Yukihiro Matsumoto)
05:19 AM Misc #20947 (Closed): Propose ydah (Yudai Takada) as a Ruby committer
I’d like to propose ydah (https://bugs.ruby-lang.org/users/52290) as a Ruby committer.
He has contributed to parse...
yui-knk (Kaneko Yuichiro)
09:27 AM Misc #20946 (Assigned): Proposing tomoya ishida (@tompng) as a Ruby committer
I will do your account setup after releasing Ruby 3.4.0. Because I'm busy to release work until that.
Sorry to del...
hsbt (Hiroshi SHIBATA)
06:23 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
I am very honored to be accepted as a committer. Thank you! tompng (tomoya ishida)
04:03 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
Accepted.
Matz.
matz (Yukihiro Matsumoto)
03:41 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
+1 mrkn (Kenta Murata)
03:03 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
+1
I thought he was already a committer, until told with him last week.
nobu (Nobuyoshi Nakada)
02:49 AM Misc #20946: Proposing tomoya ishida (@tompng) as a Ruby committer
+1 kou (Kouhei Sutou)
02:31 AM Misc #20946 (Closed): Proposing tomoya ishida (@tompng) as a Ruby committer
I'd like to propose tomoya ishida (@tompng) as a Ruby committer.
* As a maintainer of IRB / Reline since 2023, he ...
matsuda (Akira Matsuda)
08:45 AM Revision 4d86f3bf (git): [Feature #20884] Reserve "Ruby" toplevel name
nobu (Nobuyoshi Nakada)
08:45 AM Revision 267ecf5f (git): Add `rb_warn_reserved_name_at`
nobu (Nobuyoshi Nakada)
07:32 AM Revision 46e8a26c (git): Launchable: Start recording test-spec results (#12302)
ono-max (Naoto Ono)
07:21 AM Feature #20861: Add an environment variable for tuning the default thread quantum
I vote for the environment variable `RUBY_THREAD_TIMESLICE`. The term **quantum** is unfamiliar to me.
Matz.
matz (Yukihiro Matsumoto)
07:15 AM Revision 3fda6e92 (git): Update default gems list at 78ca87f8a8c79f0af1b7c6a0d819fa [ci skip]
git[bot]
07:14 AM Revision 78ca87f8 (git): Lock released version of strscan-3.1.1
hsbt (Hiroshi SHIBATA)
06:49 AM Misc #20913: Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
I was the Ruby Central person who was at RubyConf. Stan and I talked about what could help make it so English docs co... martinemde (Martin Emde)
06:38 AM Misc #20913 (Closed): Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
We continue to discuss this on https://github.com/ruby/www.ruby-lang.org/. I'm closing this. hsbt (Hiroshi SHIBATA)
06:34 AM Misc #20913: Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
I added write grant of `ruby/www.ruby-lang.org` to jeremyevans and BurdetteLamar.
>During RubyConf in Chicago this...
hsbt (Hiroshi SHIBATA)
05:35 AM Misc #20913: Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
I am OK if they are willing to accept.
Matz.
matz (Yukihiro Matsumoto)
06:49 AM Bug #20858 (Rejected): multiple parallel assignments are inconsistent
The `a,b = c,(d=3,4)` is the natural combination of the current rules. Changing this could make syntax even more comp... matz (Yukihiro Matsumoto)
06:10 AM Revision 6a1aaf36 (git): Separated load path for test-bundler tasks for Windows
hsbt (Hiroshi SHIBATA)
05:43 AM Revision 52be46ab (git): * append newline at EOF. [ci skip]
git[bot]
05:43 AM Revision 58f3cdad (git): tmp/test-pipes is no longer needed
hsbt (Hiroshi SHIBATA)
05:43 AM Revision f43e04ce (git): Hide pending results of turbo_tests
hsbt (Hiroshi SHIBATA)
05:43 AM Revision 5d5525e3 (git): Use directory structure and GEM_HOME for ruby-core repository
hsbt (Hiroshi SHIBATA)
05:43 AM Revision 1967ae20 (git): Use patched version of turbo_tests
hsbt (Hiroshi SHIBATA)
05:43 AM Revision 91f6c370 (git): Use turbo_tests instead of parallel_tests
hsbt (Hiroshi SHIBATA)
01:10 AM Revision 29caae99 (git): [ruby/prism] Use isinf on non-mingw windows
https://github.com/ruby/prism/commit/2f903d7865 kddnewton (Kevin Newton)
12:58 AM Revision 36f49eb2 (git): Fix compilation with MALLOC_ALLOCATED_SIZE
Previously compilation failed with -DMALLOC_ALLOCATED_SIZE=1
Co-authored-by: Matthew Draper <[email protected]>
jhawthorn (John Hawthorn)
12:42 AM Revision 9181e8bc (git): [ruby/prism] Decode %r like % strings
%r regular expressions need to be decoded like strings. This commit
fixes %r decoding so it works like strings.
htt...
tenderlovemaking (Aaron Patterson)
12:42 AM Revision 0a1fa994 (git): [ruby/prism] Same numbered param cannot be used in child blocks
Raise an exception when the same numbered param is used inside a child
block. For example, the following code should...
tenderlovemaking (Aaron Patterson)
12:30 AM Revision 54f8e6fb (git): Use malloc for prism string source
Prism will later free this string via free rather than xfree, so we need
to use malloc rather than xmalloc.
Co-autho...
jhawthorn (John Hawthorn)

12/11/2024

11:37 PM Revision d8485906 (git): Use ruby_strdup/xfree in fast_fallback
Any memory allocated with xmalloc needs to be matched with xfree rather
than plain free.
Ruby unfortunately redefine...
jhawthorn (John Hawthorn)
11:06 PM Bug #20938 (Closed): Percent String literal delimiter impacts string contents with parse.y
Applied in changeset commit:git|9fe6fd86936ead769fe983feb5461ca4f192f16e.
----------
[ruby/prism] Fix percent delimi...
eileencodes (Eileen Uchitelle)
11:06 PM Revision 9fe6fd86 (git): [ruby/prism] Fix percent delimiter strings with crlfs
parse.y treats CRLF as a LF and basically "normalizes" them before
parsing. That means a string like `%\nfoo\r\n` is...
eileencodes (Eileen Uchitelle)
10:44 PM Revision d53e4545 (git): YJIT: Fix unread field lint in release builds
```
warning: fields `blue_begin` and `blue_end` are never read
```
alanwu (Alan Wu)
10:44 PM Revision 9fe06cc0 (git): YJIT: Disable static_mut_refs for now
alanwu (Alan Wu)
10:44 PM Revision 6cb75564 (git): YJIT: Use the correct size constant
alanwu (Alan Wu)
07:50 PM Revision 34e68548 (git): [ruby/prism] Bump typechecking deps
https://github.com/ruby/prism/commit/230c8b8a48 kddnewton (Kevin Newton)
06:56 PM Bug #20943: Constant defined in `Data.define` block
FYI: That also happens with `Class.new`. (maybe all blocks?) matheusrich (Matheus Richard)
10:29 AM Bug #20943: Constant defined in `Data.define` block
Yeah, that's a common mistake with `Struct.new` / `Data.define` / `Class.new`
That's why with `Struct` you'd often...
byroot (Jean Boussier)
02:06 AM Bug #20943 (Open): Constant defined in `Data.define` block
From https://github.com/ruby/ruby/pull/12274:
> A couple times in code review I've seen constants inadvertently leak...
nobu (Nobuyoshi Nakada)
05:56 PM Revision cfb72138 (git): [rubygems/rubygems] Normalize CLI flag documentation and make sure all flags are documented
https://github.com/rubygems/rubygems/commit/20a834818b deivid (David Rodríguez)
05:56 PM Revision e1fcf20e (git): [rubygems/rubygems] Add documentation for changelog flags in `bundle gem`
The --changelog and --no-changelog flags are missing from docs, this adds them in a way that matches other flags
htt...
Adam Leach
05:56 PM Revision f658f661 (git): [rubygems/rubygems] Add missing `--pre` flag to `bundle update --help`
https://github.com/rubygems/rubygems/commit/21335a7378 deivid (David Rodríguez)
05:56 PM Revision af11c8ef (git): [rubygems/rubygems] Add missing `--outdated` flag to `bundle show --help`
https://github.com/rubygems/rubygems/commit/2864e54ce3 deivid (David Rodríguez)
05:56 PM Revision a1fee6de (git): [rubygems/rubygems] Add missing flags documentation to `bundle outdated --help`
https://github.com/rubygems/rubygems/commit/ad3b654bf3 deivid (David Rodríguez)
05:56 PM Revision 1806f3fa (git): [rubygems/rubygems] Add several missing flags to `bundle lock --help`
https://github.com/rubygems/rubygems/commit/4070da1264 deivid (David Rodríguez)
05:56 PM Revision 496e791a (git): [rubygems/rubygems] Add missing flag documentation to `bundle inject --help`
https://github.com/rubygems/rubygems/commit/2a01773cdb deivid (David Rodríguez)
05:56 PM Revision 6e3a6f64 (git): [rubygems/rubygems] Add missing `--version` flag to `bundle info --help`
https://github.com/rubygems/rubygems/commit/5022b49e31 deivid (David Rodríguez)
05:56 PM Revision f5ed1b56 (git): [rubygems/rubygems] Add several missing flags to `bundle gem --help`
https://github.com/rubygems/rubygems/commit/aaf6398870 deivid (David Rodríguez)
05:56 PM Revision 443319de (git): [rubygems/rubygems] Add missing `--gemfile` flag to exec, lock, and update command's help
https://github.com/rubygems/rubygems/commit/418dfbf373 deivid (David Rodríguez)
05:56 PM Revision c4bd7448 (git): [rubygems/rubygems] Normalize whitespace in option lists in man pages
https://github.com/rubygems/rubygems/commit/33ff4f8f2f deivid (David Rodríguez)
05:56 PM Revision 5633cff4 (git): [rubygems/rubygems] Add missing flag documentation to `bundle cache --help`
https://github.com/rubygems/rubygems/commit/b760a882a1 deivid (David Rodríguez)
05:56 PM Revision e88039ee (git): [rubygems/rubygems] Add missing `--all-platforms` flag to `bundle binstubs --help`
https://github.com/rubygems/rubygems/commit/440b7b8282 deivid (David Rodríguez)
05:56 PM Revision 447189d7 (git): [rubygems/rubygems] Add missing `--glob` flag to `bundle add --help`
https://github.com/rubygems/rubygems/commit/1e4dc0a703 deivid (David Rodríguez)
05:56 PM Revision bbd11a79 (git): [rubygems/rubygems] Add missing `--target-rbconfig` flag to `bundle install --help`
https://github.com/rubygems/rubygems/commit/54dbcdc656 deivid (David Rodríguez)
05:56 PM Revision ac959b17 (git): [rubygems/rubygems] Clarify `--target-rbconfig` option banner
https://github.com/rubygems/rubygems/commit/6625998ca6 deivid (David Rodríguez)
05:56 PM Revision 99460d1e (git): [rubygems/rubygems] Add missing banners to `bundle exec` CLI flags
https://github.com/rubygems/rubygems/commit/c6f62b2eed deivid (David Rodríguez)
05:56 PM Revision 06f074eb (git): [rubygems/rubygems] Style CLI options consistently
In one liners, no whitespace for alignment.
https://github.com/rubygems/rubygems/commit/413339a9ca
deivid (David Rodríguez)
05:06 PM Revision 13530af0 (git): [rubygems/rubygems] Avoid UTF-32 and UTF-16 strings with trailing bytes in truffleruby
https://github.com/rubygems/rubygems/commit/5f8249471f djoooooe (Josef Haider)
05:01 PM Bug #20945 (Rejected): Behaviour mismatch between parse.y and prism with character literals AST nodes
jeremyevans0 (Jeremy Evans)
05:00 PM Bug #20945: Behaviour mismatch between parse.y and prism with character literals AST nodes
ufuk (Ufuk Kayserilioglu) wrote in #note-1:
> `Parser::CurrentRuby` is coming from the [parser gem](https://github.c...
viralpraxis (Iaroslav Kurbatov)
04:53 PM Bug #20945: Behaviour mismatch between parse.y and prism with character literals AST nodes
`Parser::CurrentRuby` is coming from the [parser gem](https://github.com/whitequark/parser), and has nothing to do wi... ufuk (Ufuk Kayserilioglu)
04:25 PM Bug #20945 (Rejected): Behaviour mismatch between parse.y and prism with character literals AST nodes

AST string node (character literals) values returned by parse.y are, for some reason, frozen, whereas Prism does no...
viralpraxis (Iaroslav Kurbatov)
04:18 PM Revision b37ab8c1 (git): [rubygems/rubygems] Add missing man pages for `bundle env` and `bundle licenses` commands
https://github.com/rubygems/rubygems/commit/6e1a515d58 deivid (David Rodríguez)
04:18 PM Revision d91ca85b (git): [rubygems/rubygems] Bring man pages up to date
https://github.com/rubygems/rubygems/commit/8288cfd3e0 deivid (David Rodríguez)
04:18 PM Revision e31f6a8f (git): [rubygems/rubygems] Align all header lines with titles for consistency
https://github.com/rubygems/rubygems/commit/83fd1c6718 deivid (David Rodríguez)
01:29 PM Misc #20944 (Closed): Module#set_temporary_name(nil) doesn't remove completely effect of a previous assigning a temporary name
byroot (Jean Boussier)
01:10 PM Misc #20944: Module#set_temporary_name(nil) doesn't remove completely effect of a previous assigning a temporary name
Could you please close this issue?
I have misread the code and an object on which `set_temporary_name` is called (ne...
andrykonchin (Andrew Konchin)
01:05 PM Misc #20944 (Closed): Module#set_temporary_name(nil) doesn't remove completely effect of a previous assigning a temporary name
~~The method Module#set_temporary_name` was introduced in Ruby 3.3. I've noticed a surprising behaviour when a tempor... andrykonchin (Andrew Konchin)
11:30 AM Revision 2335ecb7 (git): [ruby/irb] Page the output in irb:rdbg sessions too
(https://github.com/ruby/irb/pull/1043)
IRB started to page its evaluation output and it became a useful feature
for...
st0012 (Stan Lo)
10:08 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
> why not allocate a managing String from the beginning?
I explained it in the issue body. If you want to append one...
byroot (Jean Boussier)
01:43 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
Yes, and `enc`.
Finally you want to allocate the String for a String-manageable pointer, why not allocate a managing...
nobu (Nobuyoshi Nakada)
09:57 AM Revision f9601903 (git): Use `rb_thread_fd_select` instead of select(2) (#12292)
* Use `rb_thread_fd_select` instead of select(2)
For fixing https://bugs.ruby-lang.org/issues/20932 .
`TCPSocket.new...
Misaki Shioi
08:03 AM Revision bbf839df (git): Update default gems list at 824642e883cf43ed6bf053b37ed7ee [ci skip]
git[bot]
08:02 AM Revision 824642e8 (git): [ruby/digest] Bump up v3.2.0.pre0, preparing to stable release
https://github.com/ruby/digest/commit/d19c84fd68 hsbt (Hiroshi SHIBATA)
07:40 AM Bug #20941 (Closed): [BUG] object allocation during garbage collection phase reproduction
Applied in changeset commit:git|f243733564940401d914686837b701bc31311248.
----------
[Bug #20941] Bail out when recu...
nobu (Nobuyoshi Nakada)
02:00 AM Bug #20941 (Closed): [BUG] object allocation during garbage collection phase reproduction
I know there are many issues around this bug cropping up, and so far no one has shared a reproduction that doesn't in... segiddins (Samuel Giddins)
07:12 AM Revision f2437335 (git): [Bug #20941] Bail out when recursing no memory
nobu (Nobuyoshi Nakada)
06:30 AM Revision c2a5d4cd (git): Fixed upstream path of ruby/resolv
hsbt (Hiroshi SHIBATA)
05:48 AM Revision 4a490892 (git): [ruby/fiddle] dlopen: add support for INPUT(-lXXX)
GitHub: fix https://github.com/ruby/fiddle/pull/166
Arch Linux's libncurses.so uses this style.
https://github.com/...
Sutou Kouhei
05:48 AM Revision 473fb638 (git): [ruby/fiddle] Implement `Fiddle::Pointer.read` and `.write` on the
FFI backend
(https://github.com/ruby/fiddle/pull/165)
https://github.com/ruby/fiddle/commit/0bd963d3b8
larskanis (Lars Kanis)
05:48 AM Revision 0c7fe4b0 (git): [ruby/fiddle] Fix the glob pattern to include `/usr/lib`
(https://github.com/ruby/fiddle/pull/164)
Fix up #161.
https://github.com/ruby/fiddle/commit/481651e836
nobu (Nobuyoshi Nakada)
02:51 AM Revision 80038b9c (git): Bump github/codeql-action from 3.27.6 to 3.27.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.6 to 3.27.7.
- [Release notes](https:...
dependabot[bot]
02:05 AM Bug #20942 (Closed): Infinite loop when out of memory
Similar setup to https://bugs.ruby-lang.org/issues/20941
Pure-ruby reproduction of https://bugs.ruby-lang.org/issues...
segiddins (Samuel Giddins)
01:58 AM Bug #20904: 3.4.0-preview2: Building miniruby.exe fails for mswin32
jun66j5 (Jun Omae) wrote in #note-11:
> nobu (Nobuyoshi Nakada) wrote in #note-10:
> > Try `win32/win32.i` instead ...
nobu (Nobuyoshi Nakada)

12/10/2024

11:16 PM Revision c71f7faa (git): YJIT: add MPLR talk link. Encourage users to use --yjit-mem-size (#12305)
* Add MPLR talk. Encourage users to use --yjit-mem-size.
* Improve text
maximecb (Maxime Chevalier-Boisvert)
11:10 PM Bug #20904: 3.4.0-preview2: Building miniruby.exe fails for mswin32
nobu (Nobuyoshi Nakada) wrote in #note-10:
> Try `win32/win32.i` instead of `process.i`.
Okay.
```
C:\usr\src...
jun66j5 (Jun Omae)
04:25 PM Bug #20904: 3.4.0-preview2: Building miniruby.exe fails for mswin32
jun66j5 (Jun Omae) wrote in #note-9:
> nobu (Nobuyoshi Nakada) wrote in #note-4:
> > Weird.
> > Can you reproduce ...
nobu (Nobuyoshi Nakada)
05:59 PM Revision 5edf1c8f (git): Improve NEWS.md for modular GC [DOC]
peterzhu2118 (Peter Zhu)
05:24 PM Bug #20938: Percent String literal delimiter impacts string contents with parse.y
tenderlovemaking (Aaron Patterson) wrote in #note-6:
> I think I understand, but I will try to explain. In `program...
nobu (Nobuyoshi Nakada)
05:07 PM Bug #20938: Percent String literal delimiter impacts string contents with parse.y
tenderlovemaking (Aaron Patterson) wrote in #note-5:
> nobu (Nobuyoshi Nakada) wrote in #note-3:
> > Prism seems to...
tenderlovemaking (Aaron Patterson)
05:02 PM Bug #20938: Percent String literal delimiter impacts string contents with parse.y
nobu (Nobuyoshi Nakada) wrote in #note-3:
> Prism seems to cut the string content out, then convert EOLs.
>
> The...
tenderlovemaking (Aaron Patterson)
04:33 PM Bug #20938 (Assigned): Percent String literal delimiter impacts string contents with parse.y
nobu (Nobuyoshi Nakada)
04:32 PM Bug #20938: Percent String literal delimiter impacts string contents with parse.y
Prism seems to cut the string content out, then convert EOLs.
The conversion of EOL is lower layer than parsing, s...
nobu (Nobuyoshi Nakada)
04:14 PM Bug #20924 (Closed): IO#readline ignores the limit argument when the encoding is UTF-32LE and the limit would split a character
Applied in changeset commit:git|e90b447655dd39ad1eb645cdaae450efd605db00.
----------
[Bug #20924] Fix reading with d...
nobu (Nobuyoshi Nakada)
04:13 PM Revision 979543e7 (git): Use `rb_str_conv_enc` for simplicity
nobu (Nobuyoshi Nakada)
03:45 PM Bug #20937: "can't set length of shared string" error when using OpenSSL::Cipher#update with buffer
The exception from `rb_str_set_len()` is after the fact, indicating it has illegally written to `RSTRING_PTR(str)` of... rhenium (Kazuki Yamaguchi)
03:28 PM Bug #20937: "can't set length of shared string" error when using OpenSSL::Cipher#update with buffer
https://github.com/ruby/openssl/pull/823 byroot (Jean Boussier)
03:16 PM Bug #20937: "can't set length of shared string" error when using OpenSSL::Cipher#update with buffer
The current `rb_str_set_len` behavior was added in https://github.com/ruby/ruby/commit/8965ed167dbca9471ccc41e9bebe7e... byroot (Jean Boussier)
03:10 PM Bug #20937: "can't set length of shared string" error when using OpenSSL::Cipher#update with buffer
Ah indeed.
It can be fixed on the openssl side with:
```ruby
diff --git a/ext/openssl/ossl_cipher.c b/ext/open...
byroot (Jean Boussier)
03:08 PM Bug #20937: "can't set length of shared string" error when using OpenSSL::Cipher#update with buffer
This is a different bug. `OpenSSL::Cipher#update` is failing to make the supplied buffer independent.
Reproducer f...
rhenium (Kazuki Yamaguchi)
01:59 PM Bug #20937: "can't set length of shared string" error when using OpenSSL::Cipher#update with buffer
I applied the openssl patch as-is from ruby master (https://github.com/ruby/ruby/commit/eb6f0000a4b752803ff7431d24d1a... [email protected] (Simo Leone)
12:57 PM Bug #20937: "can't set length of shared string" error when using OpenSSL::Cipher#update with buffer
This has been fixed by https://github.com/byroot/openssl/commit/3035559f54eaa42347b9fe2d91bd25a7b0563a44 / https://bu... byroot (Jean Boussier)
02:57 PM Revision e90b4476 (git): [Bug #20924] Fix reading with delimiter in wide character encodings
nobu (Nobuyoshi Nakada)
02:12 PM Bug #20936 (Closed): Enumerator's #size returned by Range#reverse_each raises an exception for beginningless Range
Applied in changeset commit:git|3422bfcab6bfdedd10e5c85f5fd6334387712bc6.
----------
[Bug #20936] Fix #size for Rang...
kyanagi (Kouhei Yanagita)
12:34 PM Bug #20936: Enumerator's #size returned by Range#reverse_each raises an exception for beginningless Range
It works. Thank you! andrykonchin (Andrew Konchin)
03:13 AM Bug #20936: Enumerator's #size returned by Range#reverse_each raises an exception for beginningless Range
I made a pull request: https://github.com/ruby/ruby/pull/12301
Does this fix work?
kyanagi (Kouhei Yanagita)
02:12 PM Revision 3422bfca (git): [Bug #20936] Fix #size for Range#reverse_each
kyanagi (Kouhei Yanagita)
01:38 PM Revision d5abcae4 (git): Fix formatting of spec/ruby/optional/capi/ext/hash_spec.c
andrykonchin (Andrew Konchin)
01:38 PM Revision de5df203 (git): Update to ruby/spec@9f10222
andrykonchin (Andrew Konchin)
01:38 PM Revision a90d8c33 (git): Update to ruby/mspec@c600b8f
andrykonchin (Andrew Konchin)
01:28 PM Feature #20925: Allow boolean operators at beginning of line to continue previous line
+1. Regarding indentation, I once read that a multi-line "if" condition looks better with "then":
```
if request....
lpogic (Łukasz Pomietło)
10:51 AM Bug #20920: When loading a file, __FILE__ gets relative paths expanded only when they start with "./"
For what it's worth, this is not currently causing any issues in Bundler/RubyGems that I know of, so I changed the pe... deivid (David Rodríguez)
10:28 AM Revision 3568e7ae (git): [ruby/reline] Fix line wrapped cursor position
(https://github.com/ruby/reline/pull/791)
Cursor position calculation was wrong when the input line contains "\1" or...
tompng (tomoya ishida)
10:08 AM Revision ebb80c26 (git): [ruby/resolv] Securerandom should be always available
https://github.com/ruby/resolv/commit/324c355eb7 deivid (David Rodríguez)
09:29 AM Revision af9a904f (git): [ruby/resolv] Build the extension library only when CRuby (Fix
https://github.com/ruby/resolv/pull/69)
On JRuby no C compiler is available and this call results in a runtime
error...
nobu (Nobuyoshi Nakada)
09:09 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
Right, so that's not really different from https://bugs.ruby-lang.org/issues/20878#Work-inside-RString-allocated-memo... byroot (Jean Boussier)
04:57 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
byroot (Jean Boussier) wrote in #note-15:
> How would that work? e.g. when you need to resize it?
```C
VALUE str...
nobu (Nobuyoshi Nakada)
08:18 AM Revision fea83a4b (git): Update bundled gems list at 19b684637f1f8c6442e3d09ac0a6d5 [ci skip]
git[bot]
08:17 AM Revision 19b68463 (git): Update bundled_gems
hsbt (Hiroshi SHIBATA)
07:21 AM Feature #20782 (Closed): Introduction of Happy Eyeballs Version 2 (RFC8305) in TCPSocket.new
https://github.com/ruby/ruby/pull/9374 has been merged by @shioimm hsbt (Hiroshi SHIBATA)
07:04 AM Feature #20757: Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
Maybe no problem. Could you make a patch? ko1 (Koichi Sasada)
06:01 AM Bug #20940 (Closed): Colored syntax error from prism
Prism shows syntax error with coloring.
But we have long avoided coloring Ruby for reasons such as color weakness.
...
ko1 (Koichi Sasada)
04:56 AM Bug #20939 (Closed): When using the parse.y parser, it occurs argument stack underflow (-1) if there is processing after the shareable_constant_value: experimental_everything comment and `C = { **{ k: v } }`
The following code will occurs argument stack underflow if it is a parse.y parser.
```ruby
# shareable_constant_v...
ydah (Yudai Takada)
04:54 AM Feature #20861: Add an environment variable for tuning the default thread quantum
I like `RUBY_THREAD_TIME_QUANTUM` for environment variable. ko1 (Koichi Sasada)
03:31 AM Revision f12e2622 (git): Split system dependent commands to clean modular-gc
nobu (Nobuyoshi Nakada)
03:21 AM Revision ce2f3983 (git): Remove unused macros from parse.y
ydah (Yudai Takada)
02:50 AM Revision bfb7571d (git): Remove minimum Bison version requirement from parse.y
How about removing `%require “version”` since it is a definition to specify the minimum version of Bison and is not n... ydah (Yudai Takada)
02:30 AM Revision cb8f1862 (git): [ruby/strscan] [DOC] doc/strscan/strscan.md - update Matcher Methods
(https://github.com/ruby/strscan/pull/123)
Added support for string pattern type in
https://github.com/ruby/strscan/...
naitoh (Jun NAITOH)
02:30 AM Revision b5ed7aae (git): [ruby/fiddle] Fix test_dlopen_linker_script_input_linux being
omitted on Fedora 40 aarch64
(https://github.com/ruby/fiddle/pull/161)
I found working on Fedora 40 on aarch64 that
...
Dani Smith
02:15 AM Revision 462e2cfc (git): Launchable: Remove unnecessary command (#12299)
`launchable verify` command is designed for checking if CLI has been configured successfully. We've already checked i... ono-max (Naoto Ono)

12/09/2024

10:02 PM Bug #20938 (Closed): Percent String literal delimiter impacts string contents with parse.y
The following code defines 2 programs that declare string literals using `%` and a single byte delimiter. I'd expect ... eightbitraptor (Matt V-H)
09:35 PM Revision cfc2b21a (git): Clean all modular GCs
We should run `make clean` or `make distclean` on each of the GC directories. peterzhu2118 (Peter Zhu)
09:35 PM Revision 5d4242fa (git): Only delete gc directory if empty
If building in the source directory, this will delete the gc directory. peterzhu2118 (Peter Zhu)
09:35 PM Revision 88d49628 (git): Don't delete .gc directory
We build in the gc directory since commit d0575032527916b523035be87ad876152c886c85,
so we don't need to remove the .g...
peterzhu2118 (Peter Zhu)
09:20 PM Revision 0c9c6efc (git): Add missing fiber nil check to avoid slow rb_check_funcall()
Check for nil like other callers of rb_fiber_scheduler_current(). alanwu (Alan Wu)
09:08 PM Revision 476d6550 (git): objspace_dump: Use FILE* to avoid crashing in mark functions
We observed crashes from rb_io_bufwrite() thread switching (through
rb_thread_check_ints()) in the middle of rb_execu...
alanwu (Alan Wu)
08:31 PM Misc #20879: DevMeeting-2024-12-12
* [Bug #20930] Different semantics for nested `it` and `_1` (eregon)
* I allowed multiple uses of `it` in different...
k0kubun (Takashi Kokubun)
08:30 PM Bug #20930: Different semantics for nested `it` and `_1`
Let me get this straight. `_1` was introduced long before Prism was merged. Prism allowing `_1` in different levels o... k0kubun (Takashi Kokubun)
07:11 PM Revision de7feb05 (git): [ruby/mmtk] Also remove .rustc_info.json in clean-mmtk target
https://github.com/ruby/mmtk/commit/4b67c8b4da peterzhu2118 (Peter Zhu)
07:08 PM Bug #20937 (Closed): "can't set length of shared string" error when using OpenSSL::Cipher#update with buffer
We've observed a recurring "can't set length of shared string" error in production emerging from the `aws-sdk-s3` lib... akiellor (Andrew Kiellor)
06:37 PM Revision ea7e34fd (git): [ruby/mmtk] Add target clean-mmtk to clean Rust debug and release directories
https://github.com/ruby/mmtk/commit/1f71cb873c peterzhu2118 (Peter Zhu)
06:27 PM Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
Marking this for the 3.2 maintainer to take a look (patch to fix build error seems simple). alanwu (Alan Wu)
05:47 PM Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
With the release of Alpine 3.21, I'm now seeing this on 3.2.6 as well -- any chance of a 3.2 backport? 😇
**Edit:** I...
tianon (Tianon Gravi)
06:09 PM Revision 14e0a40c (git): YJIT: Add a comment about a lazy frame call
jit_prepare_lazy_frame_call is a complicated trick and comes with memory
overhead. Every use of the function should c...
k0kubun (Takashi Kokubun)
06:02 PM Revision cff03125 (git): YJIT: Spill/load argument registers to reuse blocks (#12287)
* YJIT: Spill/load argument registers to reuse blocks
* Mention the immediate function name
* Explain the context b...
k0kubun (Takashi Kokubun)
05:21 PM Revision 93f8de77 (git): [ruby/rdoc] Expand rdoc-ref targets at the end of ri output
(https://github.com/ruby/rdoc/pull/1141)
There have been several document refactors in ruby/ruby that extract
indivi...
st0012 (Stan Lo)
04:52 PM Bug #20933 (Closed): Unexpected IO::Buffer::MaskError in IO::Buffer#xor!
Applied in changeset commit:git|7341a4fc07ec8f12ff25538d39383ecf68a5f852.
----------
[Bug #20933] Fix IO::Buffer ove...
peterzhu2118 (Peter Zhu)
04:52 PM Revision 7341a4fc (git): [Bug #20933] Fix IO::Buffer overlap calculation
The allocated buffers may be consecutive memory addresses. This will mean
that `b->base == a->base + a->size` even th...
peterzhu2118 (Peter Zhu)
03:36 PM Revision 8010d79b (git): YJIT: Only enable disassembly colors for tty (#12283)
* YJIT: Use fully-qualified name for OPTIONS in get_options!
* YJIT: Only enable disassembly colors for tty
Max Bernstein
03:08 PM Revision b1128770 (git): Fix Connection Attempt Delay of `Socket.tcp` (#12291)
The following two commits fix the proper clearing of the Connection Attempt Delay in `TCPSocket.new`.
- https://gith...
Misaki Shioi
03:01 PM Bug #20936 (Closed): Enumerator's #size returned by Range#reverse_each raises an exception for beginningless Range
`(..3).reverse_each.size` is supposed to return `Infinity` (at least it does so in Ruby 3.3). But in Ruby 3.4 preview... andrykonchin (Andrew Konchin)
12:09 PM Feature #20875: Atomic initialization for Ractor local storage
ko1 (Koichi Sasada) wrote in #note-9:
> can be acceptable if returning the assigned value is out-of-scope, even if i...
Eregon (Benoit Daloze)
08:00 AM Revision 652b0c13 (git): Launchable: Remove FIXME comment (#12293)
https://github.com/launchableinc/cli/issues/786 has already been solved, so we can remove the comment. ono-max (Naoto Ono)
07:25 AM Revision 676b4ec0 (git): Enable more Launchable integration in bootstraptest and test-all (#12255)
ono-max (Naoto Ono)
05:36 AM Feature #20925: Allow boolean operators at beginning of line to continue previous line
As a developer involved in the implementation of Ruby grammar, I am not a fan in this extension, but as a Ruby progra... mame (Yusuke Endoh)
03:20 AM Feature #20925: Allow boolean operators at beginning of line to continue previous line
The difference seems nice when you consider code like:
```
if request.secret_key_base.present?
&& request.encr...
martinemde (Martin Emde)
05:07 AM Revision 1279b5b9 (git): Update default gems list at 771612475948bb6d15b2a6a229c49d [ci skip]
git[bot]
05:06 AM Revision 77161247 (git): [ruby/etc] Bump up 1.4.5
https://github.com/ruby/etc/commit/5019f4314a hsbt (Hiroshi SHIBATA)
05:05 AM Revision ef2b5385 (git): [ruby/psych] Bump up 5.2.1
https://github.com/ruby/psych/commit/7c81f7db53 hsbt (Hiroshi SHIBATA)
04:13 AM Revision bb74fa7a (git): Added did_you_mean-2.0.0 change to NEWS.md
https://github.com/ruby/did_you_mean/pull/194 hsbt (Hiroshi SHIBATA)
04:10 AM Revision 2a8c8ee9 (git): Move compatibility changes of stdlib to that section
hsbt (Hiroshi SHIBATA)
02:31 AM Revision c73552e4 (git): Revert "Launchable: Stop recording tests temporarily" (#12289)
Revert "Launchable: Stop recording tests temporarily (#12268)"
This reverts commit 866f1a1f2d6f0425b1535fb5697a30404...
ono-max (Naoto Ono)

12/08/2024

11:14 PM Revision 895f2c21 (git): [ruby/rdoc] lint: Remove unreachable code
(https://github.com/ruby/rdoc/pull/1137)
This is an attempt to utilize RuboCop further.
RuboCop was added in https:/...
okuramasafumi (Masafumi OKURA)
10:43 AM Revision dd43af3b (git): [ruby/rdoc] Use distinct styles for note lists and label lists
(https://github.com/ruby/rdoc/pull/1209)
* Use the original `label` description list style
As a default for all des...
nicholas a. evans
09:03 AM Misc #20879: DevMeeting-2024-12-12
- [Feature #20935] API for Globally Enabling/Disabling Happy Eyeballs Version 2 in the Socket Class
- I would like...
shioimm (Misaki Shioi)
09:01 AM Feature #20935 (Closed): API for Globally Enabling/Disabling Happy Eyeballs Version 2 in the Socket Class
When introducing Happy Eyeballs Version 2 to `Socket.tcp` (https://bugs.ruby-lang.org/issues/20108), it was pointed o... shioimm (Misaki Shioi)
06:55 AM Misc #16124 (Rejected): Let the transient heap belong to objspace
transient heap was removed. ko1 (Koichi Sasada)
06:51 AM Feature #20875: Atomic initialization for Ractor local storage
Matz said that `Ractor.local_storage_once(key){ init_block }` can be acceptable if returning the assigned value is ou... ko1 (Koichi Sasada)
04:37 AM Bug #20934: `UnboundMethod#bind_call` may cause "double free or corruption" with Ractor
Thanks for your comment. It looks like a race condition between `rb_method_definition_release()` and `method_definiti... wanabe (_ wanabe)

12/07/2024

02:54 PM Bug #20934: `UnboundMethod#bind_call` may cause "double free or corruption" with Ractor
Nice find! The repro script tips off ASAN too:
```text
../build-dev/ractor-issue.rb:7: warning: Ractor is experim...
alanwu (Alan Wu)
09:58 AM Bug #20934 (Closed): `UnboundMethod#bind_call` may cause "double free or corruption" with Ractor
When I call `UnboundMethod#bind_call` on both main Ractor and child Ractor, probable errors can be encountered.
Here...
wanabe (_ wanabe)
10:02 AM Revision bd831bcc (git): [Bug #20929] Win32: Use `wcsftime`
`_strftime_l` is not available on msvcrt that is still used by 32bit
mingw compiler.
nobu (Nobuyoshi Nakada)
08:47 AM Bug #20933: Unexpected IO::Buffer::MaskError in IO::Buffer#xor!
I just gave your branch a quick test and can confirm it fixes this issue. Thank you! agitter (Alexander Gitter)
08:15 AM Revision c9bbf7e3 (git): [ruby/openssl] ssl: do not clear existing SSL options in SSLContext#set_params
Apply SSL options set in DEFAULT_PARAMS without clearing existing
options.
It currently clears options in order to a...
rhenium (Kazuki Yamaguchi)
08:15 AM Revision 510c1907 (git): [ruby/openssl] ssl: do not enable OpenSSL::SSL::OP_ALL by default
Respect the SSL options set by default by SSL_CTX() and by the
system-wide OpenSSL configuration file.
OpenSSL::SSL:...
rhenium (Kazuki Yamaguchi)
08:15 AM Revision 33196b7a (git): [ruby/openssl] ssl: improve documentation of SSLContext#options=
https://github.com/ruby/openssl/commit/9120fcde6a rhenium (Kazuki Yamaguchi)
07:55 AM Revision 09d516b6 (git): [ruby/openssl] Call Init_ossl_*() functions in alphabetical order
It was originally sorted in alphabetical order, but it has been broken
over time. Let's fix it.
https://github.com/r...
rhenium (Kazuki Yamaguchi)
07:55 AM Revision 1df63d94 (git): [ruby/openssl] Mark variables and functions as static whenever possible
https://github.com/ruby/openssl/commit/85d6b7f192 rhenium (Kazuki Yamaguchi)
07:55 AM Revision cbe7bfd9 (git): [ruby/openssl] ts: fix exception class raised when getting an OID name
get_asn1obj() is used by several methods in OpenSSL::Timestamp to get
the string representation of an OID. On an erro...
rhenium (Kazuki Yamaguchi)
07:55 AM Revision f8e9302e (git): [ruby/openssl] ts: avoid using OpenSSL::PKCS7's internals
Internals of OpenSSL::PKCS7 should be kept within ossl_pkcs7.c.
Add a new ossl_pkcs7_new() function for duplicating ...
rhenium (Kazuki Yamaguchi)
07:55 AM Revision 870cce97 (git): [ruby/openssl] x509store: fix exception class in OpenSSL::X509::StoreContext#verify
Follow-up commit https://github.com/ruby/openssl/commit/0789643d7333 (openssl: clear OpenSSL error
queue before retur...
rhenium (Kazuki Yamaguchi)
07:55 AM Revision 3656c1db (git): [ruby/openssl] ns_spki: fix exception class in OpenSSL::Netscape::SPKI#to_der
It should raise OpenSSL::Netscape::SPKIError instead of
OpenSSL::X509::CertificateError.
No test cases covered this ...
rhenium (Kazuki Yamaguchi)
07:55 AM Revision b207b956 (git): [ruby/openssl] pkey/ec: fix exception class in OpenSSL::PKey::EC.new
Fix a copy-and-paste error introduced in commit https://github.com/ruby/openssl/commit/74f6c6175688 (pkey:
allocate E...
rhenium (Kazuki Yamaguchi)
07:52 AM Revision 54448857 (git): [ruby/openssl] make configs shareable when frozen
https://github.com/ruby/openssl/commit/654cb22e21 chucke (Tiago Cardoso)
07:52 AM Revision 9cae90f9 (git): [ruby/openssl] freeze OpenSSL::Config::DEFAULT_CONFIG_FILE
https://github.com/ruby/openssl/commit/3cc1825435 chucke (Tiago Cardoso)
07:52 AM Revision 2a006fe5 (git): [ruby/openssl] make config frozen on initialize
https://github.com/ruby/openssl/commit/50599513cf chucke (Tiago Cardoso)
07:37 AM Revision 06fc13a1 (git): [ruby/openssl] ssl: handle callback exceptions in SSLSocket#sysread and #syswrite
Check the ID_callback_state ivar after SSL_read() or SSL_write()
returns, similar to what ossl_start_ssl() does.
Pre...
rhenium (Kazuki Yamaguchi)
07:36 AM Revision 19acb3af (git): [ruby/openssl] ssl: fix potential exception in servername_cb
ssl_servername_cb() is a callback function called from OpenSSL and Ruby
exceptions must not be raised from it. Alloca...
rhenium (Kazuki Yamaguchi)
05:34 AM Feature #18930: Officially deprecate class variables
I'm still against deprecating, either soft or hard, but I believe the errors could be improved.
```ruby
class A
de...
Dan0042 (Daniel DeLorme)
02:26 AM Feature #18930: Officially deprecate class variables
Can we formally document that class instance variables are soft deprecated or not recommended for use? In the Ruby co... shan (Shannon Skipper)
03:48 AM Bug #20932 (Assigned): Socket fast_fallback segfaults when fds are > FD_SETSIZE
I really appreciate your report.
I am considering using poll(2) or `rb_thread_fd_select` instead of select(2) for th...
shioimm (Misaki Shioi)

12/06/2024

08:11 PM Bug #20933: Unexpected IO::Buffer::MaskError in IO::Buffer#xor!
Thank you for this bug report. I have a fix here: https://github.com/ruby/ruby/pull/12284 peterzhu2118 (Peter Zhu)
03:05 PM Bug #20933 (Closed): Unexpected IO::Buffer::MaskError in IO::Buffer#xor!
The following script raises `Mask overlaps source buffer! (IO::Buffer::MaskError)` most of the time when running it o... agitter (Alexander Gitter)
06:51 PM Revision 8ad6860f (git): [DOC] New homepage for docs.ruby-lang.org/en (#12227)
Stan Lo
06:14 PM Bug #20930: Different semantics for nested `it` and `_1`
I think it's OK for `it` to always use the innermost block, but it should be a conscious choice and ideally documente... Eregon (Benoit Daloze)
05:27 PM Revision 97e93af5 (git): .gdbinit: Fix reference to undefined rb_thread_t field [ci skip]
alanwu (Alan Wu)
05:25 PM Revision 8502a549 (git): YJIT: small fix to stats formatting. (#12282)
Avoid division by zero and NaN%, e.g.
num_throw_break: 0 ( NaN%)
num_throw_retry: ...
maximecb (Maxime Chevalier-Boisvert)
04:22 PM Bug #20920: When loading a file, __FILE__ gets relative paths expanded only when they start with "./"
This is very related to #16978
And all this started with introduction of `require_relative` and it is a mess since...
vo.x (Vit Ondruch)
02:27 PM Bug #20920: When loading a file, __FILE__ gets relative paths expanded only when they start with "./"
It's interesting that this highlights the only case where `load` searches in a different path than `require`
if p...
Dan0042 (Daniel DeLorme)
03:22 PM Revision c45503f9 (git): Add rb_gc_impl_active_gc_name to gc/gc_impl.h
peterzhu2118 (Peter Zhu)
03:19 PM Revision 48443c02 (git): [rubygems/rubygems] Skip unresolved deps warning on `Gem::Specification.reset` on benign cases
If `Gem::Specification.reset` is used, but there are still unresolved
dependencies, RubyGems prints a warning. There ...
deivid (David Rodríguez)
03:19 PM Revision ba91ff5f (git): [rubygems/rubygems] Make sure unresolved deps are properly cleared by `Gem::Specification.reset`
https://github.com/rubygems/rubygems/commit/3976326a7b deivid (David Rodríguez)
12:47 PM Revision 78614ee9 (git): CI: Clean up intermediate files more
nobu (Nobuyoshi Nakada)
12:12 PM Revision 3901df70 (git): [DOC] Move `GC.config` news
To "Core classes updates" from "Language changes". nobu (Nobuyoshi Nakada)
12:12 PM Revision 0fac583d (git): [DOC] Fix a typo
nobu (Nobuyoshi Nakada)
12:12 PM Revision efaea5a6 (git): [DOC] Adjust the link to `Kernel` method
RDoc displays instance methods defined in `Kernel` as in `Object`.
This behavior may be somewhat questionable now, bu...
nobu (Nobuyoshi Nakada)
12:12 PM Revision bf49ff95 (git): [DOC] Fix class and method links
Make existing (including newly added) classes, modules and methods
linkable. Oppositely enclose removed names in bac...
nobu (Nobuyoshi Nakada)
11:01 AM Revision 69fb4a5f (git): typeprof-757303fe8de0cf5e5583b4a76f8abbbd55c44776 is working with Windows
hsbt (Hiroshi SHIBATA)
10:40 AM Revision cb8625e8 (git): [Bug #20929] NEWS for `Time#zone` encoding change on Windows
nobu (Nobuyoshi Nakada)
10:20 AM Bug #20690: URI.encode_www_form_component method escapes tilde when it's not supposed to
While `URI.encode_www_form_component` might not deal with what RFC3986 defines as "Percent-Encoding", `URI.encode_uri... mentalizer (Jakob Skjerning)
10:19 AM Bug #20929: TestTime have an assertion different from current implementation.
Thank you for your response.
Regarding Time#zone encoding, I am experimenting with it in my branch https://github....
YO4 (Yoshinao Muramatsu)
09:59 AM Bug #20929 (Closed): TestTime have an assertion different from current implementation.
Applied in changeset commit:git|78762b52185aa80ee55c0d49b495aceed863dce2.
----------
[Bug #20929] Fix `assert_zone_e...
nobu (Nobuyoshi Nakada)
09:59 AM Revision 1c15f641 (git): [Bug #20929] Win32: Encode timezone name in UTF-8
nobu (Nobuyoshi Nakada)
09:59 AM Revision 78762b52 (git): [Bug #20929] Fix `assert_zone_encoding`
The default internal encoding is not taken into account to encode
timezone name.
nobu (Nobuyoshi Nakada)
09:48 AM Revision 58b4e249 (git): [MMTk/CI] Skip Ractor btests with MMTk
currently these are flaky, so until we can make them more robust, we'll
skip them for MMTk CI
eightbitraptor (Matt V-H)
09:48 AM Revision 7caf2ffe (git): Remove the GC build check in Ubuntu.yml
eightbitraptor (Matt V-H)
09:48 AM Revision ffb26a53 (git): Add Modular GC (default, MMTk) builds to CI
eightbitraptor (Matt V-H)
07:09 AM Revision 5f653219 (git): [ruby/reline] Combine MAPPINGS(single byte input to symbol) with
key_bindings(escape sequence to symbol)
(https://github.com/ruby/reline/pull/715)
https://github.com/ruby/reline/com...
tompng (tomoya ishida)
05:51 AM Bug #20888: 4c270200db breaks TestGemRemoteFetcherLocalSSLServer tests or so
Sorry for the late response.
I believe the issue you reported has been resolved by the following change, so please h...
shioimm (Misaki Shioi)
03:32 AM Bug #20926 (Closed): shareable_constant_value: experimental_everything crashes with parse.y
Applied in changeset commit:git|6ccaa37eb365afd6b01359e63dac85aef35987a5.
----------
[Bug #20926] Fix a crashes with...
ydah (Yudai Takada)
01:33 AM Bug #20926: shareable_constant_value: experimental_everything crashes with parse.y
https://github.com/ruby/ruby/pull/12275 ydah (Yudai Takada)
03:32 AM Revision 6ccaa37e (git): [Bug #20926] Fix a crashes with `shareable_constant_value: experimental_everything` using parse.y's parser
https://bugs.ruby-lang.org/issues/20926 ydah (Yudai Takada)
03:04 AM Revision af2fc89f (git): Bump actions/cache in /.github/actions/setup/directories
Bumps [actions/cache](https://github.com/actions/cache) from 4.1.2 to 4.2.0.
- [Release notes](https://github.com/act...
dependabot[bot]
02:41 AM Revision 892c4628 (git): [DOC] Sort links [ci skip]
znz (Kazuhiro NISHIYAMA)
01:37 AM Bug #20928: Current 3.4-dev cannot be built with jemalloc activated in macOS
I added build job for `--with-jemalloc` with macOS to GitHub Actions at https://github.com/ruby/ruby/pull/12273 hsbt (Hiroshi SHIBATA)
01:31 AM Revision 81c24b3c (git): We need to specify --with-opt-dir for jemalloc installation path
hsbt (Hiroshi SHIBATA)
01:31 AM Revision 0b5d6c80 (git): Added -with-gmp build to macOS
hsbt (Hiroshi SHIBATA)
01:31 AM Revision bc214d10 (git): Added jemalloc build to GitHub Actions
hsbt (Hiroshi SHIBATA)
 

Also available in: Atom