Project

General

Profile

Activity

From 04/21/2024 to 04/27/2024

Today

03:43 AM Ruby master Revision 8089faee (git): Revert "YJIT: Try splitting getlocal/setlocal blocks (#10648)"
This reverts commit ab228bd0844758a1c444e39030c153874adf9120. k0kubun (Takashi Kokubun)
03:08 AM Ruby master Revision 55a402bb (git): Add line_count field to rb_ast_body_t
This patch adds `int line_count` field to `rb_ast_body_t` structure.
Instead, we no longer cast `script_lines` to Fix...
hasumikin (hitoshi hasumi)
01:47 AM Ruby master Bug #20450: Ruby 3.3.1 broken with bootsnap
RVM is now patching this by default for 3.3.1 installs. https://github.com/rvm/rvm/pull/5457 shan (Shannon Skipper)
01:06 AM Ruby master Revision bf1f16ef (git): Lrama v0.6.6
yui-knk (Kaneko Yuichiro)
01:03 AM Ruby master Revision 2ba7c1b1 (git): YJIT: Correct signature of rb_yjit_root_mark()
Even though unused, it's supposed to take a pointer like the C side
expects.
alanwu (Alan Wu)
01:03 AM Ruby master Revision 83c03cc7 (git): YJIT: Stop asserting rb_objspace_markable_object_p()
Because of the way things are sequenced, it doesn't work properly during
auto-compaction.
alanwu (Alan Wu)
01:03 AM Ruby master Revision 73eeb864 (git): YJIT: Fix reference update for `Invariants::no_ep_escape_iseqs`
Previously, the update was done in the ISEQ callback. That effectively
never updated anything because the callback it...
alanwu (Alan Wu)
12:35 AM Ruby master Revision c746332c (git): Revert "Use -v to investigate which test is stuck"
This reverts commit 444553b528a54a97e539de212ffc4c6466a6db20.
At least it should no longer timeout.
k0kubun (Takashi Kokubun)
12:18 AM Ruby master Revision c32366ff (git): Avoid overriding GNUMAKEFLAGS's -j
.github/actions/setup/directories/action.yml sets GNUMAKEFLAGS. Having
-j here is rather harmful.
Partly reverts f8d...
k0kubun (Takashi Kokubun)

04/26/2024

09:02 PM Ruby master Revision f64c9741 (git): Allow RUBY_GC_LIBRARY_PATH to be set in miniruby
miniruby is used by tool/runruby.rb, so we need to ensure we don't rb_bug
when RUBY_GC_LIBRARY_PATH is set so we can ...
peterzhu2118 (Peter Zhu)
09:01 PM Ruby master Revision 392b811b (git): Update default gems list at 3872e54039f467cdab5c9a0e384d91 [ci skip]
git[bot]
09:01 PM Ruby master Revision ddce8ca8 (git): [PRISM] Enable integer test
kddnewton (Kevin Newton)
09:01 PM Ruby master Revision 3872e540 (git): [ruby/prism] Bump to v0.27.0
https://github.com/ruby/prism/commit/c9edeef91a kddnewton (Kevin Newton)
09:01 PM Ruby master Revision bb3dd5b8 (git): [PRISM] Sync latest config.yml documentation updates
kddnewton (Kevin Newton)
08:58 PM Ruby master Revision 41e17f56 (git): Fix compiler warning for ruby_external_gc_init
Fixes:
warning: old-style function definition [-Wold-style-definition]
peterzhu2118 (Peter Zhu)
08:02 PM Ruby master Revision ab228bd0 (git): YJIT: Try splitting getlocal/setlocal blocks (#10648)
k0kubun (Takashi Kokubun)
07:16 PM Ruby master Revision 46480e30 (git): [PRISM] Use redundant return flag
kddnewton (Kevin Newton)
07:05 PM Ruby master Revision 96880931 (git): [ruby/prism] Location#slice_lines, Node#slice_lines
https://github.com/ruby/prism/commit/9b61f6fdb3 kddnewton (Kevin Newton)
06:55 PM Ruby master Revision 0599184a (git): [ruby/prism] Match CRuby error messages for invalid numerics
https://github.com/ruby/prism/commit/be21a1bd1d kddnewton (Kevin Newton)
06:11 PM Ruby master Revision a1db69f0 (git): Skip a flaky Ractor test for YJIT
https://github.com/ruby/ruby/actions/runs/8852277192/job/24310631888
https://github.com/ruby/ruby/actions/runs/885132...
k0kubun (Takashi Kokubun)
06:10 PM Ruby master Revision 6a296089 (git): [ruby/prism] Add a flag on returns when they are redundant
https://github.com/ruby/prism/commit/450541d2c3 kddnewton (Kevin Newton)
05:52 PM Ruby master Revision 148518ba (git): [ruby/irb] Suppress command return values
(https://github.com/ruby/irb/pull/934)
Since commands can't be chained with methods, their return values are
not int...
st0012 (Stan Lo)
05:51 PM Ruby master Misc #20272: Ambiguity around Ractor message sending FIFO semantics
The messages in that case would be guaranteed to be received in order (first "hello" then "world").
If you have 2 ...
luke-gru (Luke Gruber)
05:21 PM Ruby master Bug #20457: Final `return` is eliminated from the AST
I want to add for context that naturally Prism already provides this information (and much more) and has a much bette... Eregon (Benoit Daloze)
06:16 AM Ruby master Bug #20457: Final `return` is eliminated from the AST
Optimizations in the parser such as `reduce_nodes` that are not intended for the VM will no longer be necessary.
htt...
nobu (Nobuyoshi Nakada)
04:55 PM Ruby master Revision 6b120135 (git): [ruby/openssl] Only CSR version 1 (encoded as 0) is allowed by PKIX standards
RFC 2986, section 4.1 only defines version 1 for CSRs. This version
is encoded as a 0. Starting with OpenSSL 3.3, set...
Job Snijders
04:25 PM Ruby master Revision 9aecff25 (git): [PRISM] Fix up if condition branch coverage location
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision c46e32e3 (git): [PRISM] Fix up branch coverage for &. with block
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision d06bbafd (git): [PRISM] Enable branch coverage for if/unless conditionals
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision 881c4501 (git): [PRISM] Enable branch coverage for while/until loops
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision 43076bf9 (git): [PRISM] Enable branch coverage for case pattern matching
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision e5bd4c78 (git): [PRISM] Enable branch coverage for case
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision 235a3f3b (git): [PRISM] Enable branch coverage for &.
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision 6509634e (git): [PRISM] Modify test_coverage to take prism into account
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision 94d6295b (git): [PRISM] Enable coverage in eval ISEQs
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision 49764869 (git): [PRISM] Enable coverage in top and main iseqs
kddnewton (Kevin Newton)
04:25 PM Ruby master Revision af800bef (git): Remove dependency on NODE from coverage structure
kddnewton (Kevin Newton)
03:59 PM Ruby master Bug #20459: Ractor.select() deadlock?
I just took a look at this and it's related to this ticket: https://redmine.ruby-lang.org/issues/20168. The linked pu... luke-gru (Luke Gruber)
12:27 PM Ruby master Bug #20459 (Open): Ractor.select() deadlock?
When I run this script
```
echo = Ractor.new { Ractor.receive }
Thread.new { puts Ractor.select(echo).inspect ...
esad (Esad Hajdarevic)
03:43 PM Ruby master Revision 353cba49 (git): Use fprintf for error message when loading external GC
The error message is often long, so using a small buffer could cause it
to be truncated. rb_bug also has a 256 byte m...
peterzhu2118 (Peter Zhu)
03:10 PM Ruby master Revision 67b79d48 (git): Enable Ruby to run on Windows with frozen string literals
Sam Aaron
02:31 PM Ruby master Revision 69c1bd90 (git): [DOC] Fix a typo in globals.rdoc
Noticed this small type while reading the docs. Diego Henrique
12:33 PM Ruby master Revision dd578cf2 (git): [DOC] Enhance `Numeric#nonzero?` doc
Add `zero?` as a related method Artur
12:12 PM Ruby master Revision 25a8b76c (git): [ruby/irb] Command registration should take both strings and symbols
as names
(https://github.com/ruby/irb/pull/932)
This will save users some heads scratching when they try to register...
st0012 (Stan Lo)
11:34 AM Ruby master Revision 140c59c6 (git): Set `SCRIPT_LINES__` outside of parser
Parser should not depend on functions defiend on "ruby_parser.c". yui-knk (Kaneko Yuichiro)
10:22 AM Ruby master Revision 500586b4 (git): Set executable on rdoc-srcdir [ci skip]
nobu (Nobuyoshi Nakada)
10:07 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
nobu (Nobuyoshi Nakada) wrote in #note-9:
> That example does not need `Ractor`.
Yes, you are right, it actually ...
esad (Esad Hajdarevic)
08:28 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
That example does not need `Ractor`.
```ruby
class MyStop < ::StopIteration
attr_reader :result
def initial...
nobu (Nobuyoshi Nakada)
10:06 AM Ruby master Bug #20456: Hash can get stuck marked as iterating through process forking
> I think we should remove [auto unlock of mutexes owned by dead thread]
I very strongly oppose that.
byroot (Jean Boussier)
09:54 AM Ruby master Bug #20456: Hash can get stuck marked as iterating through process forking
> I don't think we should shy away from making it easier to use and more robust when we can.
The best way to do th...
Eregon (Benoit Daloze)
08:28 AM Ruby master Bug #20456: Hash can get stuck marked as iterating through process forking
> like STR_TMPLOCK.
True. That said `STR_TMPLOCK` is used to lock a string for mutation, so much less likely to be...
byroot (Jean Boussier)
08:19 AM Ruby master Bug #20456: Hash can get stuck marked as iterating through process forking
I think this problem is not limited to Hash's `iter_lev`, but potentially all states, like STR_TMPLOCK. Once you sta... mame (Yusuke Endoh)
07:41 AM Ruby master Bug #20456: Hash can get stuck marked as iterating through process forking
> but it sounds to me like it can't.
It could, and there's precedent. For instance Ruby unlock mutexes owned by dead...
byroot (Jean Boussier)
09:45 AM Ruby master Misc #20436: DevMeeting at RubyKaigi 2024
* [Bug #20455] rb_errinfo() inconsistent with $! in the caller Ruby code (eregon)
* Could we make them consistent? ...
Eregon (Benoit Daloze)
09:17 AM Ruby master Revision 762491db (git): [DOC] Caveat about "allocate then wrap"
nobu (Nobuyoshi Nakada)
03:03 AM Ruby master Revision 0907127f (git): Bump github/codeql-action from 3.25.2 to 3.25.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.2 to 3.25.3.
- [Release notes](https:...
dependabot[bot]
02:21 AM Ruby master Revision 2244c58b (git): [Universal parser] Decouple IMEMO from rb_ast_t
This patch removes the `VALUE flags` member from the `rb_ast_t` structure making `rb_ast_t` no longer an IMEMO object... hasumikin (hitoshi hasumi)

04/25/2024

10:38 PM Ruby master Revision 9b5bc8e6 (git): YJIT: Relax `--yjit-verify-ctx` after singleton class creation
Types like `Type::CString` really only assert that at one point the object had
its class field equal to `String`. Onc...
alanwu (Alan Wu)
10:00 PM Ruby master Bug #20458 (Closed): OpensSSL::SSL::SSLContext#min_version= and #max_version no longer accept Symbol values
jeremyevans0 (Jeremy Evans)
09:58 PM Ruby master Bug #20458: OpensSSL::SSL::SSLContext#min_version= and #max_version no longer accept Symbol values
Also I just now noticed that `SSLContext#ssl_version=` is deprecated. This issue can be closed. postmodern (Hal Brodigan)
09:42 PM Ruby master Bug #20458: OpensSSL::SSL::SSLContext#min_version= and #max_version no longer accept Symbol values
Ah I see the problem now. `OpenSSL::SSL::SSLContext#ssl_version` accepts `:TLSv1*` symbols, but `#min_version` and `#... postmodern (Hal Brodigan)
08:45 PM Ruby master Bug #20458 (Closed): OpensSSL::SSL::SSLContext#min_version= and #max_version no longer accept Symbol values
It appears that `OpenSSL::SSL::SSLContext#min_version=` and `#max_version=` no longer accept Symbol values, contrary ... postmodern (Hal Brodigan)
09:11 PM Ruby master Revision 49753cd0 (git): Use xcalloc for allocating shape tree
The GC is initialized by this point, so we can use xcalloc instead of
ruby_mimcalloc.
peterzhu2118 (Peter Zhu)
08:02 PM Ruby master Bug #20457 (Open): Final `return` is eliminated from the AST
Given the following code:
```ruby
def foo
a = 1
return a
end
```
If you parse this with RubyVM::Abstra...
tenderlovemaking (Aaron Patterson)
07:56 PM Ruby master Bug #20456: Hash can get stuck marked as iterating through process forking
I would think this is a general pitfall of `fork(2)`, it can leave things in other threads in a random inconsistent a... Eregon (Benoit Daloze)
06:47 PM Ruby master Bug #20456 (Open): Hash can get stuck marked as iterating through process forking
# Steps to Reproduce
1. Iterate over a hash
1. While that iteration is happening, fork the process
a. This sho...
blowfishpro (Talia Wong)
07:37 PM Ruby master Bug #20455: rb_errinfo() inconsistent with $! in the caller Ruby code
@ko1 (and the code) pointed me to `$!` is `rb_ec_get_errinfo`, which walks the stack to find the first `rescue`/`ensu... Eregon (Benoit Daloze)
05:35 PM Ruby master Bug #20455 (Open): rb_errinfo() inconsistent with $! in the caller Ruby code
This (slightly modified for clarity) test in ruby/spec demonstrates the unexpected result:
```ruby
describe "rb_e...
Eregon (Benoit Daloze)
06:59 PM Ruby master Revision af24ba40 (git): [PRISM] Raise LoadError when file cannot be read
kddnewton (Kevin Newton)
06:46 PM Ruby master Revision 6f4f360f (git): [rubygems/rubygems] Add auto_install support to require "bundler/setup"
We have some places that already use `bundle config auto_install true`,
ie:
https://github.com/technicalpickles/ruby...
Josh Nichols
06:00 PM Ruby master Revision b6489e9f (git): [ruby/prism] Remove need for Natalie patches
https://github.com/ruby/prism/commit/7fc7e13476 kddnewton (Kevin Newton)
05:38 PM Ruby master Revision 444553b5 (git): Use -v to investigate which test is stuck
k0kubun (Takashi Kokubun)
05:29 PM Ruby master Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
And it should also be reproducible on local environment, having 32bit user space libraries installed. And the same ap... vo.x (Vit Ondruch)
05:22 PM Ruby master Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
jaruga (Jun Aruga) wrote in #note-4:
> ## Mock
>
> I tried the mock, Fedora's building software.
> https://rpm-s...
vo.x (Vit Ondruch)
12:31 PM Ruby master Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
I tried several ways to reproduce this issue on Fedora rawhide i686 environment.
## Containers
First, I don't f...
jaruga (Jun Aruga)
04:12 PM Ruby master Revision 4ff24936 (git): [ruby/reline] Fix inputrc nested $if $else $endif bug
(https://github.com/ruby/reline/pull/689)
https://github.com/ruby/reline/commit/0d8aea26ec
tompng (tomoya ishida)
03:28 PM Ruby master Revision 3a5d9553 (git): Don't use assert_separately in Bug 20453 test
https://github.com/ruby/ruby/pull/10630#discussion_r1579565056
The PR was merged before I had a chance to address th...
dodecadaniel (Daniel Colson)
02:50 PM Ruby master Bug #20452: Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
nobu (Nobuyoshi Nakada) wrote in #note-5:
> Does this help you?
> https://github.com/nobu/ruby/tree/mainstackaddr
...
Earlopain (A S)
12:05 PM Ruby master Bug #20452: Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
Does this help you?
https://github.com/nobu/ruby/tree/mainstackaddr
nobu (Nobuyoshi Nakada)
11:38 AM Ruby master Bug #20452: Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
`make DEFS=-DMAINSTACKADDR_AVAILABLE=0 thread.o` seems working. nobu (Nobuyoshi Nakada)
02:28 PM Ruby master Bug #20453 (Closed): Pointer being freed was not allocated in Regexp timeout
Applied in changeset commit:git|d292a9b98ce03c76dbe13138d20b9fbf613cc02d.
----------
[Bug #20453] segfault in Regexp...
dodecadaniel (Daniel Colson)
02:51 AM Ruby master Bug #20453: Pointer being freed was not allocated in Regexp timeout
I opened https://github.com/ruby/ruby/pull/10630. I'm still fairly new to all this, so please correct me if I got som... dodecadaniel (Daniel Colson)
02:19 AM Ruby master Bug #20453 (Closed): Pointer being freed was not allocated in Regexp timeout
https://bugs.ruby-lang.org/issues/20228 frees `stk_base` to avoid a memory leak, but `stk_base` is sometimes stack al... dodecadaniel (Daniel Colson)
02:28 PM Ruby master Revision d292a9b9 (git): [Bug #20453] segfault in Regexp timeout
https://bugs.ruby-lang.org/issues/20228 started freeing `stk_base` to
avoid a memory leak. But `stk_base` is sometime...
dodecadaniel (Daniel Colson)
02:04 PM Ruby master Revision 7ab1a608 (git): YJIT: Optimize local variables when EP == BP (take 2) (#10607)
* Revert "Revert "YJIT: Optimize local variables when EP == BP" (#10584)"
This reverts commit c8783441952217c18e5237...
k0kubun (Takashi Kokubun)
01:25 PM Ruby master Revision f248e100 (git): Embed rb_gc_function_map_t in rb_vm_t
Avoids a pointer indirection and memory allocation. peterzhu2118 (Peter Zhu)
01:23 PM Ruby master Bug #20454 (Open): IRB echoes excessive input in dumb terminal
When IRB is started on a terminal with the environment variable TERM=dumb, excessive output is generated as shown bel... zonuexe (Kenta USAMI)
01:22 PM Ruby master Misc #20436: DevMeeting at RubyKaigi 2024
- [Feature #20443] Allow Major GC's to be disabled
- Introduces the ability to "turn off" Major GC's, so that only...
eightbitraptor (Matthew Valentine-House)
12:14 PM Ruby master Revision b50e1e68 (git): [PRISM] Enable more passing tests
kddnewton (Kevin Newton)
10:35 AM Ruby master Revision 5d2fb5d7 (git): [rubygems/rubygems] Don't upcase Windows ENV when backing it up
I apparently did that to fix some issue with case insensitivity but I
didn't add a spec, and I think not upcasing sho...
deivid (David Rodríguez)
10:35 AM Ruby master Revision 28713765 (git): [rubygems/rubygems] Remove unnecessary workaround
All supported rubies include the fix.
https://github.com/rubygems/rubygems/commit/9d74b699f5
deivid (David Rodríguez)
10:35 AM Ruby master Revision 5577f138 (git): [rubygems/rubygems] Properly resolve aliases when `bundle help` is run
https://github.com/rubygems/rubygems/commit/5d9bf03c59 deivid (David Rodríguez)
08:53 AM Ruby master Bug #20450: Ruby 3.3.1 broken with bootsnap
Thanks all. I added https://github.com/ruby/ruby/pull/10619 to [backport PR](https://github.com/ruby/ruby/pull/10354)... hsbt (Hiroshi SHIBATA)
04:29 AM Ruby master Bug #20450 (Closed): Ruby 3.3.1 broken with bootsnap
Applied in changeset commit:git|67dd9af17e5c6c541a8cc84b1741deaf175fcf83.
----------
[Bug #20450] Remove rubyarchdir...
eugeneius (Eugene Kenny)
08:12 AM Ruby master Revision 64bd8e41 (git): false is not a pointer
This function returned VALUE before. False made sense back then.
Now that it returns a pointer. NULL should be used...
shyouhei (Shyouhei Urabe)
08:01 AM Ruby master Revision 03f84775 (git): [ruby/net-http] Skip test_session_reuse_but_expire with OpenSSL 3.3
OpenSSL 3.3.0 9 Apr 2024 is also broken.
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
https://github.com/ruby/net-...
Xi Ruoyao
06:15 AM Ruby master Feature #20443: Allow Major GC's to be disabled
> what happens on oldgen->younggen references? points from the remembers set?
Yes.
> I think we can promote thi...
byroot (Jean Boussier)
03:44 AM Ruby master Feature #20443: Allow Major GC's to be disabled
ko1 (Koichi Sasada) wrote in #note-8:
> Basically I like this idea. Some points.
>
> * should not use "major" as ...
duerst (Martin Dürst)
01:12 AM Ruby master Feature #20443: Allow Major GC's to be disabled
* `needs_major` "s" should not be on method name (like `File.exists` -> `File.exist`)
* can you measure the memory c...
ko1 (Koichi Sasada)
12:59 AM Ruby master Feature #20443: Allow Major GC's to be disabled
Basically I like this idea. Some points.
* should not use "major" as a "major gc", so `GC.disable_major` should be...
ko1 (Koichi Sasada)
04:29 AM Ruby master Revision 67dd9af1 (git): [Bug #20450] Remove rubyarchdir from bootsnap paths
eugeneius (Eugene Kenny)
03:18 AM Ruby master Revision 01f6ea15 (git): Bump actions/checkout in /.github/actions/setup/directories
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.c...
dependabot[bot]
03:04 AM Ruby master Revision d1813609 (git): Bump actions/checkout from 4.1.3 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.c...
dependabot[bot]
03:04 AM Ruby master Revision e8bc8f60 (git): Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.0.0 to 2.1.0.
- [Release notes...
dependabot[bot]

04/24/2024

10:40 PM Ruby master Bug #20450: Ruby 3.3.1 broken with bootsnap
For what it's worth, here are some untested install scripts using a minimalist version of @eugeneius's patch for ruby... shan (Shannon Skipper)
07:20 PM Ruby master Bug #20450: Ruby 3.3.1 broken with bootsnap
Thank you for fixing this. I confirmed that making this change fixed Ruby 3.3.1 for gusto professor (Todd Sedano)
11:14 AM Ruby master Bug #20450: Ruby 3.3.1 broken with bootsnap
I submitted a fix for this issue at https://github.com/ruby/ruby/pull/10619. eugeneius (Eugene Kenny)
10:36 AM Ruby master Bug #20450: Ruby 3.3.1 broken with bootsnap
hsbt (Hiroshi SHIBATA) wrote in #note-1:
> Can you provide your `Gemfile`? I did confirm to work that with bootsnap ...
philippe.bs.noel@tutanota.com (Philippe Noel)
09:34 AM Ruby master Bug #20450 (Assigned): Ruby 3.3.1 broken with bootsnap
Can you provide your `Gemfile`? I did confirm to work that with bootsnap and zeitwerk at https://github.com/ruby/ruby... hsbt (Hiroshi SHIBATA)
09:25 AM Ruby master Bug #20450 (Closed): Ruby 3.3.1 broken with bootsnap
The issue looks like https://bugs.ruby-lang.org/issues/20060
With the new release of ruby 3.1.1, bootsnap does not...
philippe.bs.noel@tutanota.com (Philippe Noel)
10:21 PM Ruby master Bug #20186: Ripper does not generate AST for some keywords in Ruby 3.3
Another case of this causing a problem https://github.com/davidwessman/syntax_tree-erb/issues/81
Relevant commits,...
rdimartino (Robert DiMartino)
10:16 PM Ruby master Bug #20452 (Feedback): Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
Unfortunately, there is no active maintainer for musl or alpine platform.
I tagged them to [musl](https://bugs.rub...
hsbt (Hiroshi SHIBATA)
02:24 PM Ruby master Bug #20452: Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Does `configure` with `ac_cv_func_pthread_get_stackaddr_np=no` change so...
Earlopain (A S)
02:07 PM Ruby master Bug #20452: Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
Does `configure` with `ac_cv_func_pthread_get_stackaddr_np=no` change something? nobu (Nobuyoshi Nakada)
01:41 PM Ruby master Bug #20452 (Feedback): Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
This is a redo of https://bugs.ruby-lang.org/issues/14387, reported against a non-eol version. The same issue still a... Earlopain (A S)
10:09 PM Ruby master Revision 0434dfb7 (git): We don't need to check if the ci is markable anymore
It doesn't matter if CI's are stack allocated or not. tenderlovemaking (Aaron Patterson)
07:45 PM Ruby master Revision d3a7e555 (git): Update common.mk dependencies
kddnewton (Kevin Newton)
07:39 PM Ruby master Revision 4c431744 (git): [ruby/prism] Warn for nested hashes as well
https://github.com/ruby/prism/commit/76e802f59e kddnewton (Kevin Newton)
07:39 PM Ruby master Revision 7d64fbda (git): [ruby/prism] Remove static literals dependence on parser definition
https://github.com/ruby/prism/commit/b3e104e8a2 kddnewton (Kevin Newton)
07:30 PM Ruby master Revision 21481197 (git): Add ruby_mimcalloc
Many places call ruby_mimmalloc then MEMZERO. This can be reduced by
using ruby_mimcalloc instead.
peterzhu2118 (Peter Zhu)
07:05 PM Ruby master Misc #20432: Proposal for workflow changes related to teeny releases
Thank you for looking into this!
I saw the minutes of the discussion at https://github.com/ruby/dev-meeting-log/blob...
jrochkind (jonathan rochkind)
06:32 PM Ruby master Revision 4349c790 (git): [ruby/irb] Memoize helper method instances with Singleton module
(https://github.com/ruby/irb/pull/931)
Some helpers, like Rails console's `app`, requires memoization of the
helper'...
st0012 (Stan Lo)
06:21 PM Ruby master Revision 73a7e515 (git): Pass a callinfo object to global call cache search
Global call cache can be used with only a CI tenderlovemaking (Aaron Patterson)
06:21 PM Ruby master Revision 2cc59c1b (git): pass CI to gccct_method_search_slowpath
Also the slow path only needs to look up the method once: via
vm_search_method_slowpath0. gccct just returns whateve...
tenderlovemaking (Aaron Patterson)
06:16 PM Ruby master Revision 58847b7d (git): [PRISM] Generate inspect_visitor in common.mk
kddnewton (Kevin Newton)
06:16 PM Ruby master Revision 6d9ba1e0 (git): [ruby/prism] Change inspect from recursive to a queue
We would previously cause a stack overflow if we parsed a file that
was too deeply nested when we were calling inspec...
kddnewton (Kevin Newton)
05:33 PM Ruby master Revision cf24a048 (git): [ruby/reline] Long line performance
(https://github.com/ruby/reline/pull/688)
* Improve C-e (ed_move_to_end) performance for long line
* Reline::Unicod...
tompng (tomoya ishida)
05:10 PM Ruby master Revision 5c32a150 (git): Change dln_open in dmydln.c to return error instead of raise
peterzhu2118 (Peter Zhu)
05:10 PM Ruby master Revision 057b69cf (git): Pass string error buffer into dln_open
On Windows, the error exists on the stack so we should pass an error
buffer from the caller.
peterzhu2118 (Peter Zhu)
04:30 PM Ruby master Revision 853c0b1a (git): Reuse slow path method search for gccct
This way all code paths use the same search code for finding call caches
for a particular method.
tenderlovemaking (Aaron Patterson)
04:01 PM Ruby master Revision 9bba999b (git): [ruby/irb] Revert "Memoize helper method instances with Singleton module"
This reverts commit https://github.com/ruby/irb/commit/169a9a2c3097.
https://github.com/ruby/irb/commit/221b0a4928
st0012 (Stan Lo)
04:01 PM Ruby master Revision e5ca3d07 (git): [ruby/irb] Memoize helper method instances with Singleton module
Some helpers, like Rails console's `app`, requires memoization of the
helper's ivars. To support it IRB needs to memo...
st0012 (Stan Lo)
03:57 PM Ruby master Feature #20448: Make coverage event hooking C API public
Oh, this API does not allow to get information of branch_from and branch_to for branches that are never fired. It is ... mame (Yusuke Endoh)
03:48 PM Ruby master Feature #20448: Make coverage event hooking C API public
> I just need a hook for BRANCH events.
It's a hard mode ;-)
> Ruzzy requires two separate scripts
I guess t...
mame (Yusuke Endoh)
12:07 PM Ruby master Feature #20448: Make coverage event hooking C API public
> I understand that what you need is a hook for LINE and BRANCH events. Am I correct?
I just need a hook for BRANC...
ms-tob (Matt S)
02:56 PM Ruby master Feature #20443: Allow Major GC's to be disabled
I wonder if "full_sweep" would be worth considering as an alternative to "major" to align with the existing `GC.start... shan (Shannon Skipper)
11:57 AM Ruby master Feature #20443: Allow Major GC's to be disabled
> I slightly prefer having a new method pair for this
Same. it makes it easy to test for existence with `respond_t...
byroot (Jean Boussier)
10:17 AM Ruby master Feature #20443: Allow Major GC's to be disabled
nateberkopec (Nate Berkopec) wrote in #note-4:
> Regarding the interface:
>
> ``` ruby
> GC.disable(major: true)...
eightbitraptor (Matthew Valentine-House)
02:31 PM Ruby master Revision afc7799c (git): YJIT: Add a specialized codegen function for `Class#superclass`. (#10613)
Add a specialized codegen function for `Class#superclass`.
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevali...
Kevin Menard
02:31 PM Ruby master Revision 480287d1 (git): Add macro load_external_gc_func for loading functions from external GC
peterzhu2118 (Peter Zhu)
11:12 AM Ruby master Bug #20451 (Open): Bad Ruby 3.1.5 backport causes fiddle to fail to build
Ruby 3.1.5 shipped with the following backport: https://github.com/ruby/ruby/commit/84f2aabd272a54e79979795d2d4050907... Bo98 (Bo Anderson)
11:00 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
ufuk (Ufuk Kayserilioglu) wrote in #note-7:
> @esad If you just want to return a result from the `loop`, you can use ...
esad (Esad Hajdarevic)
10:40 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
@esad If you just want to return a result from the `loop`, you can use `break <value>` to do that:
```
$ ruby -e "p...
ufuk (Ufuk Kayserilioglu)
09:07 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
nobu (Nobuyoshi Nakada) wrote in #note-3:
> I'm curious what your use case is.
>
> Although I don't know the reas...
esad (Esad Hajdarevic)
03:33 AM Ruby master Feature #20444 (Feedback): Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
nobu (Nobuyoshi Nakada)
02:40 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
I'm curious what your use case is.
Although I don't know the reason why `StopIteration#initialize` does not have t...
nobu (Nobuyoshi Nakada)
09:02 AM Ruby master Revision 91ff2fd9 (git): Fix dllimport warnings
From Visual C:
```
../../../../../src/ext/-test-/load/resolve_symbol_target/resolve_symbol_target.c(5): warning C4273...
nobu (Nobuyoshi Nakada)
08:19 AM Ruby master Revision 7e8d8f25 (git): Removed obsoleted section because make docs is removed from default make task
hsbt (Hiroshi SHIBATA)
08:12 AM Ruby master Bug #20262 (Closed): Regex mismatch between Ruby 3.2.2 and 3.3.0
Maybe the same issue as https://bugs.ruby-lang.org/issues/20083. Fixed at 3.3.1.
```
$ RBENV_VERSION=3.2.2 ruby -...
mame (Yusuke Endoh)
07:15 AM Ruby master Bug #20446 (Closed): Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
byroot (Jean Boussier)
04:36 AM Ruby master Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
mame (Yusuke Endoh) wrote in #note-3:
> I recommend monitoring https://github.com/ruby/www.ruby-lang.org/blob/master...
vo.x (Vit Ondruch)
02:24 AM Ruby master Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
I recommend monitoring https://github.com/ruby/www.ruby-lang.org/blob/master/_data/releases.yml.
However, the rele...
mame (Yusuke Endoh)
07:13 AM Ruby master Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
i686 container or just 32bit user space could do the job. @jaruga any chance you would have cycles to look at that? vo.x (Vit Ondruch)
12:12 AM Ruby master Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
Unfortunately, we no longer test with i686 arch. Because AWS that is our main test infrastructure didn't provide i686... hsbt (Hiroshi SHIBATA)
06:35 AM Ruby master Feature #15554 (Assigned): warn/error passing a block to a method which never use a block
BTW on our application I found the following issue on RSpec tests on strict mode.
```
it ... do
subject do ......
ko1 (Koichi Sasada)
06:19 AM Ruby master Feature #15554: warn/error passing a block to a method which never use a block
> Acceptable for a codebase as big as Rails?
IMO:
- Rails isn't a big code base. Perhaps when compared to the...
byroot (Jean Boussier)
03:22 AM Ruby master Revision 0b3bc723 (git): Bump ruby/setup-ruby from 1.174.0 to 1.175.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.174.0 to 1.175.0.
- [Release notes](https://github...
dependabot[bot]
03:06 AM Ruby master Revision 66edc33f (git): [DOC] Wait for `docs` to complete before installing all
The document directories may be incomplete or empty before `docs` is
completed.
nobu (Nobuyoshi Nakada)

04/23/2024

10:59 PM Ruby master Revision 813e1255 (git): Remove unused functions from `struct rb_parser_config_struct`
yui-knk (Kaneko Yuichiro)
10:43 PM Ruby master Feature #20443: Allow Major GC's to be disabled
Regarding the interface:
``` ruby
GC.disable(major: true)
GC.disable(type: :major)
```
Should we consider th...
nateberkopec (Nate Berkopec)
09:38 PM Ruby master Feature #15554: warn/error passing a block to a method which never use a block
byroot (Jean Boussier) wrote in #note-53:
> @ko1 here's the result (I ran it on the 5 most important sub components)
...
Dan0042 (Daniel DeLorme)
07:01 AM Ruby master Feature #15554: warn/error passing a block to a method which never use a block
> could you compare the relax results on that? or all of your results are false positive?
Yes. It's all false posi...
byroot (Jean Boussier)
02:17 AM Ruby master Feature #15554: warn/error passing a block to a method which never use a block
Thank you, could you compare the relax results on that? or all of your results are false positive? ko1 (Koichi Sasada)
09:00 PM Ruby master Revision e1123790 (git): Sync IRB f9347b1 (#10611)
Stan Lo
08:45 PM Ruby master Bug #20449: Ripper issue in field production on Ruby 3.1.5
I created a PR to fix this https://github.com/ruby/ruby/pull/10610
The issue was with backporting https://bugs.rub...
rdimartino (Robert DiMartino)
07:44 PM Ruby master Bug #20449 (Open): Ripper issue in field production on Ruby 3.1.5
```ruby
Ripper.sexp("foo::bar = baz")
# => [:program, [[:assign, [:field, [:vcall, [:@ident, "foo", [1, 0]]], 73, [...
kddnewton (Kevin Newton)
08:02 PM Ruby master Feature #20448: Make coverage event hooking C API public
First of all, it's great that you are creating a fuzzing tool for Ruby. Thank you for your work.
I understand that...
mame (Yusuke Endoh)
05:55 PM Ruby master Feature #20448 (Open): Make coverage event hooking C API public
# Abstract
Gathering code coverage information is a well-known goal within software engineering. It is most common...
ms-tob (Matt S)
07:29 PM Ruby master Revision b9109b27 (git): Get error from dln_open when USE_SHARED_GC
Before, if dln_open failed to open RUBY_GC_LIBRARY_PATH, it would segfault
because it would try to raise an error, wh...
peterzhu2118 (Peter Zhu)
07:29 PM Ruby master Revision 81433fd0 (git): [ruby/prism] srange_find should only look on current line
https://github.com/ruby/prism/commit/3604aa15e7 kddnewton (Kevin Newton)
06:17 PM Ruby master Revision 0defbc11 (git): [ruby/prism] Fix recursive multiply when values are switched in karatsuba_multiply
https://github.com/ruby/prism/commit/4dc6ea960d kddnewton (Kevin Newton)
05:56 PM Ruby master Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
Thx for pointer.
Is there a change to update the file "manually" during official release? I assume the answer is "...
vo.x (Vit Ondruch)
04:31 PM Ruby master Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
It updates daily by <https://github.com/ruby/actions/blob/master/.github/workflows/update_index.yml>.
So wait a few ...
znz (Kazuhiro NISHIYAMA)
03:13 PM Ruby master Bug #20446 (Closed): Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
Is the https://cache.ruby-lang.org/pub/ruby/index.txt the place, where all Ruby releases can be found? If yes, then c... vo.x (Vit Ondruch)
05:35 PM Ruby master Bug #20447 (Open): Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -...
vo.x (Vit Ondruch)
05:26 PM Ruby master Revision 4f572623 (git): [ruby/prism] Use GC-able symbols for AST
https://github.com/ruby/prism/commit/801117e45a kddnewton (Kevin Newton)
04:51 PM Ruby master Revision 87396dbe (git): Skip test_inspect_under_gc_compact_stress w/ RJIT too
k0kubun (Takashi Kokubun)
03:29 PM Ruby master Revision 729e08cb (git): Update default gems list at 981a8e89a3542e0a29206d7e159cb5 [ci skip]
git[bot]
03:28 PM Ruby master Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
As another note, this would be useful within CRuby itself. Right now there are lots of tests that run `assert_in_out_... kddnewton (Kevin Newton)
03:27 PM Ruby master Revision 981a8e89 (git): [ruby/reline] Bump version to 0.5.3
(https://github.com/ruby/reline/pull/686)
https://github.com/ruby/reline/commit/e9d5236c74
ima1zumi (Mari Imaizumi)
03:27 PM Ruby master Bug #20154: aarch64: configure overrides `-mbranch-protection` if it was set in CFLAGS via environment
Any update please? We are still carrying downstream patch in Fedora, so it would be nice to get this upstreamed vo.x (Vit Ondruch)
03:20 PM Ruby master Revision 99a46d7f (git): [ruby/prism] Document UnlessNode fields
https://github.com/ruby/prism/commit/eee8276ae6 matheusrich (Matheus Richard)
03:18 PM Ruby master Revision b62ab952 (git): [ruby/prism] Document `IfNode` fields
- Adds documentation for the fields of the `IfNode`. Also updates the overall description to mention ternary expressi... gollahon (Daniel Gollahon)
03:11 PM Ruby master Revision b3350e3e (git): [ruby/prism] Document BreakNode fields
https://github.com/ruby/prism/commit/7a3ed22f14 matheusrich (Matheus Richard)
03:09 PM Ruby master Feature #20384 (Closed): RubyVM::InstructionSequence.{new,compile} use --parser option
kddnewton (Kevin Newton)
02:45 PM Ruby master Revision 53a67efc (git): [ruby/reline] Separate prompt and input line in rendering
(https://github.com/ruby/reline/pull/652)
* Separate prompt and input line in rendering
Often, only one of prompt a...
tompng (tomoya ishida)
01:53 PM Ruby master Revision f7d1699f (git): [ruby/prism] Implement case equality on nodes
https://github.com/ruby/prism/commit/dc121e4fdf exterm (Philip Müller)
01:22 PM Ruby master Revision 87b829aa (git): [ruby/prism] Document the `AliasGlobalVariableNode` fields
https://github.com/ruby/prism/commit/35bc711069 Cory Hutchison
01:13 PM Ruby master Revision 5fd08b50 (git): [ruby/prism] Document `ArrayNode`, `SourceFileNode` fields
https://github.com/ruby/prism/commit/0bdc566f67 Sanjay Karukamanna
12:45 PM Ruby master Revision dae59003 (git): [ruby/prism] Fix up rdoc
Fixes https://github.com/ruby/prism/issues/2572
https://github.com/ruby/prism/commit/a446580e75
kddnewton (Kevin Newton)
11:47 AM Ruby master Bug #20445 (Closed): Backport 2571d5376a38c333b8fe85f1f9b2f9c2422c0ad9 to ruby_3_3
Building Ruby 3.3.1 prints the following warning:
```
regexec.c: In function 'match_at':
regexec.c:2598:59: warn...
mame (Yusuke Endoh)
11:14 AM Ruby master Revision 3fadd684 (git): Remove newlines of MIME encoded subject line
naruse (Yui NARUSE)
11:14 AM Ruby master Revision 0b4bf059 (git): exit 1 if failed
naruse (Yui NARUSE)
10:23 AM Ruby master Revision 724a0711 (git): Bump up 3.0.7
hsbt (Hiroshi SHIBATA)
10:23 AM Ruby master Revision 14510521 (git): merge revision(s) 989a2355808a63fc45367785c82ffd46d18c900a:
Fix Use-After-Free issue for Regexp
Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com>...
hsbt (Hiroshi SHIBATA)
10:22 AM Ruby master Revision 6c6dca74 (git): merge revision(s) 33e5b47c16f1fd3382186e6ffe73cfc6e00946f7:
Fix handling of reg->dmin in Regex matching
---
regexec.c | 10 ++++++++++
1 file changed, ...
hsbt (Hiroshi SHIBATA)
10:20 AM Ruby master Revision 1945f8dc (git): Bump up 3.1.5
hsbt (Hiroshi SHIBATA)
10:20 AM Ruby master Revision bfe9164a (git): merge revision(s) 989a2355808a63fc45367785c82ffd46d18c900a:
Fix Use-After-Free issue for Regexp
Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com>...
hsbt (Hiroshi SHIBATA)
10:20 AM Ruby master Revision c56cd863 (git): v3.3.1
naruse (Yui NARUSE)
10:20 AM Ruby master Revision af471c0e (git): bump teeny
nagachika (Tomoyuki Chikanaga)
10:19 AM Ruby master Revision 8f665664 (git): merge revision(s) 33e5b47c16f1fd3382186e6ffe73cfc6e00946f7:
Fix handling of reg->dmin in Regex matching
---
regexec.c | 10 ++++++++++
1 file changed, ...
hsbt (Hiroshi SHIBATA)
10:18 AM Ruby master Revision 90b194b5 (git): merge revision(s) 989a2355808a63fc45367785c82ffd46d18c900a:
Fix Use-After-Free issue for Regexp
Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com>...
nagachika (Tomoyuki Chikanaga)
10:17 AM Ruby master Revision 404f1e21 (git): merge revision(s) 33e5b47c16f1fd3382186e6ffe73cfc6e00946f7:
Fix handling of reg->dmin in Regex matching
---
regexec.c | 10 ++++++++++
1 file changed, ...
nagachika (Tomoyuki Chikanaga)
10:16 AM Ruby master Revision 989a2355 (git): Fix Use-After-Free issue for Regexp
Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com> hsbt (Hiroshi SHIBATA)
10:16 AM Ruby master Revision 33e5b47c (git): Fix handling of reg->dmin in Regex matching
Isaac Peka
07:05 AM Ruby master Revision 06769086 (git): * 2024-04-23 [ci skip]
git[bot]
07:04 AM Ruby master Revision 36b6490f (git): Merge RDoc-6.4.1.1
hsbt (Hiroshi SHIBATA)
07:04 AM Ruby master Revision 26ec606b (git): Merge StringIO 3.0.1.2
hsbt (Hiroshi SHIBATA)
07:03 AM Ruby master Revision bd9424c7 (git): Merge StringIO 3.0.1.1
hsbt (Hiroshi SHIBATA)
07:03 AM Ruby master Revision 77791877 (git): * 2024-04-23 [ci skip]
git[bot]
07:02 AM Ruby master Revision 7957a25e (git): Merge RDoc-6.3.4.1
hsbt (Hiroshi SHIBATA)
07:02 AM Ruby master Revision 45631622 (git): Bump github/codeql-action from 3.25.1 to 3.25.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.1 to 3.25.2.
- [Release notes](https:...
dependabot[bot]
06:59 AM Ruby master Revision fff22848 (git): Consolitate redefined the method warning
Currently redefining a method doesn't emit one but two warnings.
One at the location of the new method, and one at th...
byroot (Jean Boussier)
06:21 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
nobu (Nobuyoshi Nakada) wrote in #note-1:
> `StopIteration.new(3)` does not set `result`, and no way to set it in Ru...
esad (Esad Hajdarevic)
05:02 AM Ruby master Feature #20444 (Closed): Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
`StopIteration.new(3)` does not set `result`, and no way to set it in Ruby level.
```
$ ruby -e 'e = StopIteratio...
nobu (Nobuyoshi Nakada)
04:38 AM Ruby master Revision a5343586 (git): Traverse tmpdir under chdir
nobu (Nobuyoshi Nakada)
04:38 AM Ruby master Revision 777daae0 (git): Shorten tmpdir path
nobu (Nobuyoshi Nakada)
04:11 AM Ruby master Revision e61f76ce (git): Remove unused functions from `struct rb_parser_config_struct`
yui-knk (Kaneko Yuichiro)
04:11 AM Ruby master Revision 33929ef9 (git): Move encoding object conversion outside of parser
Reduce the parser's dependence on `VALUE` and `rb_enc_from_encoding`. yui-knk (Kaneko Yuichiro)
03:23 AM Ruby master Revision e15a1920 (git): Bump actions/upload-artifact from 4.3.2 to 4.3.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](ht...
dependabot[bot]
02:18 AM Ruby master Revision 3aa04680 (git): Remove unused functions from `struct rb_parser_config_struct`
yui-knk (Kaneko Yuichiro)
12:21 AM Ruby master Revision afa0d585 (git): Adjust indent [ci skip]
nobu (Nobuyoshi Nakada)

04/22/2024

10:33 PM Ruby master Misc #20436: DevMeeting at RubyKaigi 2024
* [Feature #20425] Optimize forwarding callers and callees
* Introduces optimization to avoid allocations regardin...
tenderlovemaking (Aaron Patterson)
10:20 PM Ruby master Revision c7d9376c (git): Remove unused functions from `struct rb_parser_config_struct`
yui-knk (Kaneko Yuichiro)
10:20 PM Ruby master Revision 2992e107 (git): Refactor parser compile functions
Refactor parser compile functions to reduce the dependence
on ruby functions.
This commit includes these changes
1. ...
yui-knk (Kaneko Yuichiro)
09:41 PM Ruby master Feature #20444 (Feedback): Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
There was a https://bugs.ruby-lang.org/issues/11498 a while ago which was merged in, but I was surprised to find out ... esad (Esad Hajdarevic)
07:15 PM Ruby master Revision ed9834ef (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.94 to 0.9.97.
- [Release notes](https://github.com/oxid...
dependabot[bot]
07:13 PM Ruby master Revision 9eeb86df (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.94 to 0.9.97.
- [Release notes](https://github.com/oxid...
dependabot[bot]
06:33 PM Ruby master Revision aeb08bc8 (git): YJIT: Fix String#setbyte crashing for converted arguments
Previously, passing objects that respond to #to_int to `String#setbyte`
resulted in a crash when compiled by YJIT. Th...
alanwu (Alan Wu)
04:45 PM Ruby master Feature #20443: Allow Major GC's to be disabled
To add a little bit more context on @eightbitraptor's description. In some graph you see 3 groups:
- `oobgc-off`...
byroot (Jean Boussier)
04:02 PM Ruby master Feature #20443 (Open): Allow Major GC's to be disabled
[[Github PR #10598]](https://github.com/ruby/ruby/pull/10598)
## Background
Ruby's GC running during Rails requ...
eightbitraptor (Matthew Valentine-House)
03:16 PM Ruby master Revision 1bb7638e (git): YJIT: Fix shrinking block with assumption too much (#10585)
* YJIT: Fix shrinking block with assumption too much
Under the very specific circumstances, discovered by a test cas...
alanwu (Alan Wu)
02:17 PM Ruby master Revision aa5b53d2 (git): [ruby/prism] Consolidate integer fields into a single reflection class
https://github.com/ruby/prism/commit/0156057580 kddnewton (Kevin Newton)
10:41 AM Ruby master Feature #15554: warn/error passing a block to a method which never use a block
@ko1 here's the result (I ran it on the 5 most important sub components)
```
### Active Record
activemodel/lib...
byroot (Jean Boussier)
10:31 AM Ruby master Feature #20415: Precompute literal String hash code during compilation
We pushed a cleaned-up PR at https://github.com/ruby/ruby/pull/10596.
We settled on storing the hash code after th...
etienne (Étienne Barrié)
07:42 AM Ruby master Revision dde99215 (git): Fix handling of reg->dmin in Regex matching
Isaac Peka
07:29 AM Ruby master Revision c38fc1bb (git): Fix Use-After-Free issue for Regexp
Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com> hsbt (Hiroshi SHIBATA)
06:32 AM Ruby master Revision f77618c1 (git): Expand `Qnone` and `Qnull` macros
In the past, `Qnone` and `Qnull` had different values
in ripper context like below.
However 89cfc152071 removes the u...
yui-knk (Kaneko Yuichiro)
06:20 AM Ruby master Bug #20442 (Rejected): Printing class variable inconsistent when using nested hashes
Not a bug. For the behavior you want, in `Mock4`
```ruby
@val = Hash.new{|h, k| h[k] = Hash.new(0)}
```
Wit...
jeremyevans0 (Jeremy Evans)
06:09 AM Ruby master Bug #20442 (Rejected): Printing class variable inconsistent when using nested hashes
See attached test.rb. I have a class with a class variable. The idea is simple, increment the value and then print ou... k776 (Kieran Pilkington)
04:49 AM Ruby master Bug #20438: String format "%\n" and "%\0" does not raise format error
`"%\n"` has been treated as `"%%"` since 554b989ba162, probably Tue Aug 6 01:12:32 1996 according to the commit log.... nobu (Nobuyoshi Nakada)
04:27 AM Ruby master Bug #20431 (Closed): Ruby 3.3.0 build fail with make: *** [io_buffer.o] Error 1
The main cause is not only by old gcc.
Although newer gcc defines `__BYTE_ORDER__` indeed, but other compilers may...
nobu (Nobuyoshi Nakada)
04:08 AM Ruby master Feature #20215: Introduce `IO#readable?`
> I'm not quite sure why you say this method is like eof? rather than closed?
We work with the interface and taxon...
ioquatix (Samuel Williams)
04:06 AM Ruby master Feature #20215: Introduce `IO#readable?`
Regarding naming, I had other ideas like `open?` or `connected?` but I think they have their own issues. I think my p... ioquatix (Samuel Williams)
04:00 AM Ruby master Revision d42a8d66 (git): [DOC] Tweek a comment
nobu (Nobuyoshi Nakada)
04:00 AM Ruby master Revision 44d2b594 (git): Extract `list_tree` as a method and separate from removals
nobu (Nobuyoshi Nakada)
04:00 AM Ruby master Revision c65bc2e5 (git): Show left tmpdir recursively
nobu (Nobuyoshi Nakada)
03:41 AM Ruby master Revision 9b6affa4 (git): Bump actions/checkout in /.github/actions/setup/directories
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.c...
dependabot[bot]
02:56 AM Ruby master Revision c9732e7a (git): Bump actions/checkout from 4.1.2 to 4.1.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.c...
dependabot[bot]
12:56 AM Ruby master Revision e59da9c3 (git): Windows does not have "/tmp" path usually
nobu (Nobuyoshi Nakada)

04/21/2024

11:47 PM Ruby master Revision 9b580ee7 (git): [rubygems/rubygems] Clear temporary directory
https://github.com/rubygems/rubygems/commit/4158034d89 nobu (Nobuyoshi Nakada)
02:33 PM Ruby master Misc #20441: Should passing keyword args to method_name(*) be an error?
Understanding better the role of `ruby2_keywords` is helping, thank you. It seemed to me that either way some compati... ozydingo (Andrew Schwartz)
08:58 AM Ruby master Misc #20441: Should passing keyword args to method_name(*) be an error?
> Why does this conversion to a Hash occur?
Because of backward compatibility, indeed. Even now, most of, say, Rai...
zverok (Victor Shepelev)
08:47 AM Ruby master Misc #20441: Should passing keyword args to method_name(*) be an error?
Why does this conversion to a Hash occur?
I would guess for some sense of backward compatibility with gems / code ...
ozydingo (Andrew Schwartz)
08:33 AM Ruby master Misc #20441: Should passing keyword args to method_name(*) be an error?
`super` just passes the arguments with EXACTLY the same signature as the method it is in has.
Whether or not `sup...
zverok (Victor Shepelev)
08:25 AM Ruby master Misc #20441 (Open): Should passing keyword args to method_name(*) be an error?
In the following method:
```rb
def foo(*)
super
end
```
it is apparently the intended ruby 3 behavior to ...
ozydingo (Andrew Schwartz)
08:15 AM Ruby master Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
Ok I see it now; `super` isn't passing the args as both forms, it's passing _only_ as a positional Hash. The `x: 1` i... ozydingo (Andrew Schwartz)
07:44 AM Ruby master Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
> What still seems off to me is that super is modifying the arguments.
If I understand correctly, what “modifies” ...
zverok (Victor Shepelev)
07:02 AM Ruby master Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
Thanks both. I understand that Ruby 3 requires explicit handling of keyword arguments. What still seems off to me is ... ozydingo (Andrew Schwartz)
06:50 AM Ruby master Revision f87c216c (git): Remove needless header file include
yui-knk (Kaneko Yuichiro)
12:55 AM Ruby master Revision 381ce130 (git): Remove unused functions from struct `rb_parser_config_struct`
S_H_ (Shun Hiraoka)
 

Also available in: Atom