Project

General

Profile

Activity

From 05/17/2024 to 05/23/2024

05/23/2024

10:57 PM Revision 76e31d9a (git): [rubygems/rubygems] Remove MD5 ETag generation from compact index
This was an offramp for generated etags to allow existing caches
to be served until people could upgrade. It has been...
Martin Emde
07:30 PM Revision c96b5791 (git): [ruby/prism] Raise `void value expression` in begin clauses
In some cases Prism was either not raising an appropriate `void value
expression` error, or raising that error when t...
eileencodes (Eileen Uchitelle)
07:11 PM Revision 49fcd33e (git): Introduce a specialize instruction for Array#pack
Instructions for this code:
```ruby
# frozen_string_literal: true
[a].pack("C")
```
Before this commit:
```
== ...
nobu (Nobuyoshi Nakada)
06:47 PM Bug #20504 (Closed): Interpolated string literal in regexp encoding handling
There is some very odd behavior that I'm not sure is intentional or not, so I'm looking for guidance. In here:
```...
kddnewton (Kevin Newton)
06:45 PM Revision e5e079e7 (git): [ruby/prism] Only accept command call when specified for constant path
https://github.com/ruby/prism/commit/0ae908b6ee kddnewton (Kevin Newton)
06:00 PM Feature #20205: Enable `frozen_string_literal` by default
I'm still on my way back from Kaigi, so I haven't started working on this. But I had a quick chat with Matz, and it w... byroot (Jean Boussier)
05:53 PM Feature #20205: Enable `frozen_string_literal` by default
@byroot How is that experiment going? I'm all for experimenting, but just as in #15554 I believe we should reduce fal... Dan0042 (Daniel DeLorme)
05:39 PM Bug #20478: Circular parameter syntax error rules
Also:
```ruby
def foo(bar = -> { bar }) end
def foo(bar = ->( ) { bar }) end
def foo(bar = ->(_) { bar }) en...
kddnewton (Kevin Newton)
05:37 PM Bug #20478: Circular parameter syntax error rules
If we go with only syntax errors at depth 0, then this:
```ruby
def foo(bar = baz { bar }) end
```
should not...
kddnewton (Kevin Newton)
05:22 PM Revision 56a51fcd (git): [PRISM] Fix up some masgn topn calculations
kddnewton (Kevin Newton)
05:22 PM Misc #20503: Dedenting heredoc line continuation
For additional context, if you have:
```ruby
<<~eos
TEXT1
TEXT2
eos
```
you will get `"TEXT1\nTEXT2\n"...
kddnewton (Kevin Newton)
04:03 PM Misc #20503 (Closed): Dedenting heredoc line continuation
When there is a line continuation inside a dedenting heredoc, occasionally it will impact the dedent calculation in i... kddnewton (Kevin Newton)
04:41 PM Revision 0ebd3723 (git): [PRISM] Enable TestSyntax#test_unterminated_heredoc_cr
kddnewton (Kevin Newton)
03:51 PM Revision 7d89d527 (git): [ruby/prism] Disallow newlines in heredoc identifiers
https://github.com/ruby/prism/commit/737f2c2117 kddnewton (Kevin Newton)
10:28 AM Revision a99d79dd (git): Remove dead code
Since 140512d2225e6fd046ba1bdbcd1a27450f55c233, `else` without
`rescue` has been a syntax error.
nobu (Nobuyoshi Nakada)
10:26 AM Revision 1471a160 (git): Add RB_GC_GUARD for rb_str_to_parser_string
I think this fixes the following random test failure that could not be
fixed for a long time:
```
1) Failure:
Test...
mame (Yusuke Endoh)
10:20 AM Misc #20387: Meta-ticket for ASAN support
Some more thoughts:
* How do other projects use ASAN? They must have similar situations regarding dependencies compi...
Eregon (Benoit Daloze)
10:15 AM Misc #20387: Meta-ticket for ASAN support
> Technically speaking, when using ASAN, you should compile all of your dependencies with ASAN as well. If you don't ... Eregon (Benoit Daloze)
06:46 AM Misc #20387: Meta-ticket for ASAN support
So I've been thinking about how I'm going to do the setup-ruby thing this week. _Technically_ speaking, when using AS... kjtsanaktsidis (KJ Tsanaktsidis)
05:17 AM Bug #19920: Ruby 3.1 fails to build with --enable-shared on macos-arm64: is an incompatible architecture (have 'arm64', need '')
https://github.com/ruby/ruby/pull/10827 is for Ruby 3.1 hsbt (Hiroshi SHIBATA)
05:17 AM Bug #19751: Ruby 3.2.2 Fails to Compile from Source
https://github.com/ruby/ruby/pull/10829 is for Ruby 3.1 hsbt (Hiroshi SHIBATA)
05:16 AM Bug #20431: Ruby 3.3.0 build fail with make: *** [io_buffer.o] Error 1
https://github.com/ruby/ruby/pull/10831 is for Ruby 3.1 hsbt (Hiroshi SHIBATA)
03:36 AM Bug #20431 (Closed): Ruby 3.3.0 build fail with make: *** [io_buffer.o] Error 1
@nagachika @katei also found https://github.com/ruby/ruby/pull/10572 for this. Thank you both! hsbt (Hiroshi SHIBATA)
03:35 AM Bug #20431: Ruby 3.3.0 build fail with make: *** [io_buffer.o] Error 1
Maybe https://github.com/ruby/ruby/commit/1faeb44dfcf777ace28321e80d0ebf942161a0a7 is the fix for this issue? nagachika (Tomoyuki Chikanaga)
02:41 AM Bug #20431 (Open): Ruby 3.3.0 build fail with make: *** [io_buffer.o] Error 1
@nobu What's the fixed commit? I can't fix this ticket with backport. hsbt (Hiroshi SHIBATA)
05:15 AM Bug #20183: `erb/escape.so` cannot be loaded when `--with-static-linked-ext`
https://github.com/ruby/ruby/pull/10832 is for Ruby 3.1 hsbt (Hiroshi SHIBATA)
05:12 AM Revision 0a671907 (git): merge revision(s) ae8990aef098410ecc2b5f48fea9d7d171a3c5f6:
Alias init functions
The extension library has each initialization function named "Init_" +
basename...
hsbt (Hiroshi SHIBATA)
04:49 AM Bug #20500: Non-system directories are not searched when checking for jemalloc headers and libs, and building `enc`
Thank you for your fix!
Also, I think this change needs to be backported to 3.2.x as well:
https://bugs.ruby-lang...
lish82 (Hiroki Katagiri)
04:17 AM Bug #20500 (Closed): Non-system directories are not searched when checking for jemalloc headers and libs, and building `enc`
Applied in changeset commit:git|5fa6ba9568e87e43e08a4daeba1572254c589fb1.
----------
[Bug #20500] Search non-default...
nobu (Nobuyoshi Nakada)
03:13 AM Bug #20500: Non-system directories are not searched when checking for jemalloc headers and libs, and building `enc`
Thank you, makes sense.
https://github.com/ruby/ruby/pull/10830
nobu (Nobuyoshi Nakada)
04:24 AM Revision 60fb6d48 (git): merge revision(s) 7f87ad9fc4bc45faf8cd33602a025f27c094b2fd:
Refer autoconfigured endian macro (#10572)
Remove the case `RB_IO_BUFFER_HOST_ENDIAN` is not defined.
...
hsbt (Hiroshi SHIBATA)
04:24 AM Revision c54f52fb (git): merge revision(s) 1faeb44dfcf777ace28321e80d0ebf942161a0a7:
Check if macros are defined before using
Assume macros with the same prefix would be defined together.
...
hsbt (Hiroshi SHIBATA)
04:16 AM Revision ce20367a (git): Define `incflags` also on mswin
nobu (Nobuyoshi Nakada)
04:16 AM Revision 5fa6ba95 (git): [Bug #20500] Search non-default directories for jemalloc
Co-Authored-by: lish82 (Hiroki Katagiri) nobu (Nobuyoshi Nakada)
03:45 AM Revision 7256dfd4 (git): [Bug #19751] Remove linemarkers in middle
nobu (Nobuyoshi Nakada)
03:36 AM Revision fc9acbaa (git): Bump ruby/setup-ruby from 1.177.0 to 1.177.1
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.177.0 to 1.177.1.
- [Release notes](https://github...
dependabot[bot]
02:59 AM Bug #20451 (Closed): Bad Ruby 3.1.5 backport causes fiddle to fail to build
hsbt (Hiroshi SHIBATA)
02:58 AM Revision c884de63 (git): merge revision(s) 48644e71096c70132be9dfdcbfb414ec2e68d18b:
tool/runruby.rb: remove LD_PRELOAD-like env-var options from
runruby.rb
LD_PRELOAD sometimes forces...
hsbt (Hiroshi SHIBATA)
02:18 AM Bug #20501: ruby SEGV
Although I can't reproduce it, it looks like that `catch_iseq` is broken, from the backtrace. nobu (Nobuyoshi Nakada)
01:58 AM Revision 3abd0398 (git): * 2024-05-23 [ci skip]
git[bot]
01:57 AM Revision 5979e411 (git): macos-11 will be retired at Jun, 2024
hsbt (Hiroshi SHIBATA)
01:57 AM Revision 80b11b21 (git): merge revision(s) a4ad6bd9aac564e93219284c912b26a72f9e82fc:
[ruby/fiddle] closure: free resources when an exception is raised in
Closure.new
GitHub: GH-102
...
Sutou Kouhei
01:18 AM Revision aad09104 (git): Update default gems list at 2cc047df9a92e0c6b9d0fb57f305f4 [ci skip]
git[bot]
01:17 AM Revision 2cc047df (git): [ruby/rdoc] Bump up 6.7.0
https://github.com/ruby/rdoc/commit/a667e616e1 hsbt (Hiroshi SHIBATA)

05/22/2024

08:34 PM Revision 6d81ae3f (git): [PRISM] Properly support 'it'
kddnewton (Kevin Newton)
08:34 PM Revision e5759548 (git): [ruby/prism] Fix support for 'it' implicit local variable
https://github.com/ruby/prism/commit/53bbcfe513 kddnewton (Kevin Newton)
04:58 PM Bug #20502 (Closed): Backport pthread_kill fix to Ruby 3.3
commit:ef3803ed4028810f9088019f0db1a366370ab53a should be backported to Ruby 3.3. I've now seen this bug affect mult... jeremyevans0 (Jeremy Evans)
12:19 PM Bug #20501: ruby SEGV
`t.rb` is not minimized because the probability of SEGV is reduced when I make the file smaller. akr (Akira Tanaka)
12:11 PM Bug #20501 (Closed): ruby SEGV
I encountered SEGV of ruby.
```
% ./ruby -v
ruby 3.4.0dev (2024-05-22T06:59:19Z master 5613d6e95b) [x86_64-linux...
akr (Akira Tanaka)
09:28 AM Bug #20500: Non-system directories are not searched when checking for jemalloc headers and libs, and building `enc`
> Or use `RUBY_CHECK_HEADER` instead of `AC_CHECK_HEADER?`
I think it's enough to solve the first problem (Non-syste...
lish82 (Hiroki Katagiri)
09:21 AM Bug #20500: Non-system directories are not searched when checking for jemalloc headers and libs, and building `enc`
It might be correct to fix it so that `-ljemalloc` is not specified when building `enc` lish82 (Hiroki Katagiri)
09:20 AM Bug #20500: Non-system directories are not searched when checking for jemalloc headers and libs, and building `enc`
I don't know if `enc` uses jemalloc actually
But the build of `enc` fails because `-ljemalloc` is specified when bui...
lish82 (Hiroki Katagiri)
05:43 AM Bug #20500: Non-system directories are not searched when checking for jemalloc headers and libs, and building `enc`
Or use `RUBY_CHECK_HEADER` instead of `AC_CHECK_HEADER`?
A question, does enc use jemalloc?
nobu (Nobuyoshi Nakada)
06:59 AM Revision 5613d6e9 (git): Update bundled gems list as of 2024-05-22
git[bot]
06:01 AM Revision 5b9b6b4d (git): [rubygems/rubygems] move git clone depth error handling to else branch
https://github.com/rubygems/rubygems/commit/022eb473f8 Ellen Keal
06:01 AM Revision ec9de0c4 (git): [rubygems/rubygems] fix for gems not downloading from git via http
https://github.com/rubygems/rubygems/commit/592a2fcd54 Ellen Keal
04:49 AM Revision 1e08a9f0 (git): [Bug #20499] Use Xcode owned tools for Xcode clang
Xcode has its own version tools that may be incompatible with genuine
LLVM tools, use the tools in the same directory.
nobu (Nobuyoshi Nakada)
04:16 AM Revision 911b7d1d (git): [ruby/reline] Catches Errno::ENODEV and Errno::EBADF in
get_screen_size. Closes https://github.com/ruby/reline/pull/690
(https://github.com/ruby/reline/pull/702)
* Catches ...
vtamara (Vladimir Tรกmara Patiรฑo)
03:02 AM Revision ae07c606 (git): ---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-...
dependabot[bot]
02:58 AM Feature #20497: Tempfile.create_io
Previous discussions:
- https://bugs.ruby-lang.org/issues/11715 @akr thinks it's a good idea to have an anonymous ...
shyouhei (Shyouhei Urabe)
01:45 AM Revision f8e67522 (git): Revert "[Bug #20499] Use consistent version tools with CC"
This reverts commit 8277cf0799145bed0c813bfcc187739f77b3102d.
This change break to build with `rbenv install ruby-de...
hsbt (Hiroshi SHIBATA)

05/21/2024

11:39 PM Bug #20094: Inline while loop behavior changed unexpectedly in 3.3.0
I have found that the backport commit was reverted at https://github.com/ruby/ruby/commit/9f18cbd7964f32f224e7d0efba7... nagachika (Tomoyuki Chikanaga)
11:05 PM Bug #20094: Inline while loop behavior changed unexpectedly in 3.3.0
I see the issue was fixed on master branch.
I will revert back Backport field to "3.3: REQUIRED", but stay the ticke...
nagachika (Tomoyuki Chikanaga)
05:26 PM Bug #20094: Inline while loop behavior changed unexpectedly in 3.3.0
Can we reopen this bug (please), or should we create a new issue? nevans (Nicholas Evans)
06:45 PM Revision b20adf90 (git): [ruby/prism] Fix up ruby_parser interpolation concatenation
https://github.com/ruby/prism/commit/79cec4be22 kddnewton (Kevin Newton)
06:43 PM Revision 12386d36 (git): [ruby/prism] Provide deprecated numeric method
https://github.com/ruby/prism/commit/77bf9038a2 kddnewton (Kevin Newton)
06:27 PM Revision 7a8f797c (git): [PRISM] Use new rational layout
kddnewton (Kevin Newton)
06:27 PM Revision 89efb94f (git): [ruby/prism] Reconfigure rationals
This eliminates the subnode on RationalNode and replaces it with two
integer fields, which represent the ratio for th...
kddnewton (Kevin Newton)
06:27 PM Revision 42930d28 (git): [PRISM] Handle safe navigation in call target nodes
kddnewton (Kevin Newton)
06:27 PM Revision 16b0bb3d (git): [PRISM] Enable TestSyntax#test_warn_balanced
kddnewton (Kevin Newton)
04:56 PM Revision bcbfc675 (git): [PRISM] Enable TestSyntax#test_numbered_parameter
kddnewton (Kevin Newton)
03:59 PM Feature #20497: Tempfile.create_io
From what I understand, the real intent of this proposal is to "let the OS clean up after the generated tempfile". If... matz (Yukihiro Matsumoto)
03:53 PM Bug #20500 (Closed): Non-system directories are not searched when checking for jemalloc headers and libs, and building `enc`
I found a problem similar to #20494 on jemalloc
It's similar to #20494, but it has a few more issues
Problems:
...
lish82 (Hiroki Katagiri)
03:46 PM Revision ff43b4a2 (git): [ruby/prism] Add error for numbered parameter used in inner block
https://github.com/ruby/prism/commit/c386ba6d48 kddnewton (Kevin Newton)
03:05 PM Bug #20218: aset/masgn/op_asgn with keyword arguments

These are not arguments for removing a useful, long-standing syntactic feature, but for fixing the various edge cas...
bughit (bug hit)
02:38 PM Bug #20218: aset/masgn/op_asgn with keyword arguments
Thanks for the clarification @jeremyevans0. I think it's also worth noting you should be able to call them normally w... kddnewton (Kevin Newton)
02:35 PM Bug #20218: aset/masgn/op_asgn with keyword arguments
In Ruby 3.3, behavior is inconsistent:
```ruby
a = Class.new do
def [](*a, **kw, &b)
p([a, kw, b])
0...
jeremyevans0 (Jeremy Evans)
02:24 PM Bug #20218: aset/masgn/op_asgn with keyword arguments
The release notes, which is what caught my attention, are categorical:
> Keyword arguments are no longer allowed i...
bughit (bug hit)
02:20 PM Bug #20218: aset/masgn/op_asgn with keyword arguments
There were long-standing bugs with aset within masgn. Things like:
```ruby
foo, bar[1, 2, qux: 1, &qaz], baz = *q...
kddnewton (Kevin Newton)
02:13 PM Bug #20218: aset/masgn/op_asgn with keyword arguments
@matz Why is it necessary to introduce a breaking change here by removing useful, long-standing syntax? See example i... bughit (bug hit)
12:35 PM Bug #20495: Running "make clean" deletes critical "coroutine/amd64/Context.S" file and causes "make" to fail
I wrote a fix for this a couple weeks ago. https://github.com/ruby/ruby/pull/10699 eileencodes (Eileen Uchitelle)
11:17 AM Feature #20448: Make coverage event hooking C API public
> Thanks for the research. So, `TracePoint.new(:branch)` seems good enough for the use case of fuzzer, right?
Yes,...
ms-tob (Matt S)
09:51 AM Bug #20499 (Closed): Ruby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0
Applied in changeset commit:git|8277cf0799145bed0c813bfcc187739f77b3102d.
----------
[Bug #20499] Use consistent ver...
nobu (Nobuyoshi Nakada)
08:03 AM Revision 8277cf07 (git): [Bug #20499] Use consistent version tools with CC
As Apple Xcode is relocatable and selectable with `xcode-select`, use
consistent versions of commands in the same loc...
nobu (Nobuyoshi Nakada)
05:07 AM Bug #20151 (Closed): Can't build Ruby 3.1 on FreeBSD 14.0
I fixed this at https://github.com/ruby/ruby/pull/10814 hsbt (Hiroshi SHIBATA)
05:06 AM Revision 07c11226 (git): merge revision(s) cfc564ac40496a392f463658ea33954ea76d6b11:
Include headers for `ruby_qsort` only if needed
If GNU `qsort_r` is available, we use the function and these...
hsbt (Hiroshi SHIBATA)
05:06 AM Revision 24d7a1c6 (git): merge revision(s) ed3d8f74ec2eee43d50f9826e2f11ceea279823e:
Delete a macro that has never been used, probably added by mistake
---
util.c | 7 -------
...
hsbt (Hiroshi SHIBATA)
05:06 AM Revision 122b510b (git): merge revision(s) 7400628cb054a9a9651d69411a100fc9d518099f:
[Bug #18997] Don't define ruby_qsort when POSIX qsort_r is available
The current code would define ruby_qsor...
hsbt (Hiroshi SHIBATA)
04:52 AM Revision c773453c (git): ripper: Splat find patterns
nobu (Nobuyoshi Nakada)
04:52 AM Revision 501dbf2b (git): ripper: Splat hash patterns
nobu (Nobuyoshi Nakada)
04:52 AM Revision 978c31f0 (git): ripper: Splat array patterns with `pre_arg`
nobu (Nobuyoshi Nakada)
04:52 AM Revision 3e81bc3d (git): ripper: Splat `$:opt_args_tail` for `params!`
nobu (Nobuyoshi Nakada)
04:52 AM Revision be0f2ab3 (git): ripper: Splat `$:head` for `defs!`
nobu (Nobuyoshi Nakada)
04:52 AM Revision 4c7ec5e0 (git): ripper: Extend to represent array access and splat
nobu (Nobuyoshi Nakada)
04:52 AM Revision 5bba5fb7 (git): ripper: Describe `var_ref` for `user_variable` in ripper DSL
nobu (Nobuyoshi Nakada)
04:52 AM Revision 56d2c26c (git): ripper: Move `assign_error` call to `assignable`
Prepare `lhs` as `$:$` before `assignable` and update it there.
Remove `ripper_assignable` which is no longer used.
nobu (Nobuyoshi Nakada)
04:52 AM Revision e61e5c3b (git): ripper: Move `assign_error` call to `const_decl`
Prepare `path` as `$:$` before `const_decl` and update it there.
Remove `ripper_const_decl` which is no longer used.
nobu (Nobuyoshi Nakada)
04:52 AM Revision 66446b94 (git): ripper: Allow parenthesized comma in options
nobu (Nobuyoshi Nakada)
04:52 AM Revision 47efdae6 (git): ripper: Preserve indentation
nobu (Nobuyoshi Nakada)
04:52 AM Revision 147134b4 (git): ripper: Remove rb_ripper_none
Now it is used only for wheter `opt_paren_args` is `none`. Introduce
a new special node to distinguish an empty pare...
nobu (Nobuyoshi Nakada)
04:52 AM Revision ee8bbbab (git): ripper: Show popped TOS in debug mode
nobu (Nobuyoshi Nakada)
04:52 AM Revision 2e765c20 (git): ripper: Short hand for `rb_ary_new_from_args`
nobu (Nobuyoshi Nakada)
04:52 AM Revision 2d92a4af (git): ripper: Make `$:n` to refer each grammar values
Ripper DSL uses these values for callbacks, but does not need indexes. nobu (Nobuyoshi Nakada)
04:52 AM Revision 5fed63f7 (git): ripper: Use ripper DSL in simple dispatch chain cases
nobu (Nobuyoshi Nakada)
02:49 AM Revision 30aa300f (git): ---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: ver...
dependabot[bot]
01:25 AM Revision 6ddc0a80 (git): [PRISM] Enable TestRegexp#test_unescape
kddnewton (Kevin Newton)
01:25 AM Revision e82c7a05 (git): [PRISM] Enable TestRegexp#test_match_control_meta_escape
kddnewton (Kevin Newton)

05/20/2024

08:33 PM Revision 86cf074f (git): Avoid array allocation for empty ruby2_keywords flagged keyword hash
If the method being called does not have a positional splat
parameter, there is no point in allocating the array, as
...
jeremyevans (Jeremy Evans)
08:33 PM Revision 2433b57b (git): Avoid hash allocation for empty ruby2_keywords flagged keyword hash
If the method being called does not have a keyword splat parameter,
there is no point in allocating the hash, because...
jeremyevans (Jeremy Evans)
08:33 PM Revision f021bcdb (git): Add allocation tests for ruby2_keywords
This tests ruby2_keywords flagged methods, as well as passing
ruby2_keywords flagged hashes to other methods.
Some o...
jeremyevans (Jeremy Evans)
07:39 PM Revision 7c2c528d (git): [ruby/prism] Fix up regexp escapes with control/meta
https://github.com/ruby/prism/commit/8a7afa6988 kddnewton (Kevin Newton)
07:39 PM Revision 012b764f (git): [ruby/prism] Fix up regexp escapes with control/meta and x
https://github.com/ruby/prism/commit/1dbbbedf55 kddnewton (Kevin Newton)
05:23 PM Bug #20499 (Closed): Ruby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0
This is a regression introduced by https://github.com/ruby/ruby/commit/038f9ade3c4d965415e4956561975454cf9eeb21 and c... Bo98 (Bo Anderson)
04:28 PM Revision 6c07aa36 (git): [PRISM] Remove old prism spec workflow, just use default.mspec now
kddnewton (Kevin Newton)
04:28 PM Revision a708b6aa (git): [PRISM] Respect eval coverage setting
kddnewton (Kevin Newton)
04:28 PM Revision 78e504f2 (git): [PRISM] Enable TestPrism#test_truncated_source_line
kddnewton (Kevin Newton)
03:28 PM Revision ca5b4580 (git): [PRISM] Match CRuby line semantics for evstr
kddnewton (Kevin Newton)
03:14 PM Bug #20494: Non-default directories are not searched when checking for a gmp header
@nobu
I just realized, isn't it necessary to backport this change to 3.2.x?
Since this bug seems to be present sinc...
lish82 (Hiroki Katagiri)
02:43 PM Bug #20494: Non-default directories are not searched when checking for a gmp header
@nobu
Thank you for your quick fix!
lish82 (Hiroki Katagiri)
07:40 AM Bug #20494: Non-default directories are not searched when checking for a gmp header
>Specifying --with-gmp-dir=/opt/homebrew does not work
Ah, sorry. I skipped to read above report. It seems not onl...
hsbt (Hiroshi SHIBATA)
07:35 AM Bug #20494: Non-default directories are not searched when checking for a gmp header
What's your ruby-build version? ruby-build already have auto-detect feature for gmp provided by homebrew
https://g...
hsbt (Hiroshi SHIBATA)
04:54 AM Bug #20494 (Closed): Non-default directories are not searched when checking for a gmp header
Applied in changeset commit:git|18eaf0be905e3e251423b42d6f4e56b7cae1bc3b.
----------
[Bug #20494] Search non-default...
nobu (Nobuyoshi Nakada)
02:49 AM Bug #20494: Non-default directories are not searched when checking for a gmp header
Made a separate macro.
```diff
commit a0d3cda4b54ce3eb9e77a450462a47fc3944d93c
Author: Nobuyoshi Nakada <nob...
nobu (Nobuyoshi Nakada)
03:04 PM Revision 1ba93c2c (git): Upload cores to AWS S3 (if any)
mame (Yusuke Endoh)
03:04 PM Revision f1bbcc81 (git): Make sure that kern.coredump=1
mame (Yusuke Endoh)
02:49 PM Revision 785fba3b (git): [PRISM] Enable TestSyntax#test_warn_balanced
kddnewton (Kevin Newton)
02:42 PM Revision 2e8ae139 (git): [ruby/prism] Fix invalid read at EOF
https://github.com/ruby/prism/commit/dddaf67c34 kddnewton (Kevin Newton)
02:06 PM Bug #20479: Ensure line number in begin...end in method
Just to check back in @mame because it's only the `first_lineno` field, is that okay to change? kddnewton (Kevin Newton)
02:05 PM Bug #20478: Circular parameter syntax error rules
@nobu another option would be to delete those tests and leave it up to the parser instead of forcing parse.y to imple... kddnewton (Kevin Newton)
02:01 PM Revision e90e8f8b (git): [ruby/prism] Implement ambiguous binary operator warning
https://github.com/ruby/prism/commit/6258c3695f kddnewton (Kevin Newton)
01:41 PM Feature #20498: Negated method calls
For `foo&.!empty?`, the result would be `nil` if `foo` is `nil`. This is not handled by the prototype.
The alterna...
MaxLap (Maxime Lapointe)
01:26 PM Feature #20498: Negated method calls
MaxLap (Maxime Lapointe) wrote in #note-7:
> @nobu: I'd say it's both syntax sugar and an operator, just like `&.`.
...
marcandre (Marc-Andre Lafortune)
01:02 PM Feature #20498: Negated method calls
Thanks for the feedback. I updated the gist to have an example with arguments in the call:
```ruby
puts A.new.!ex...
MaxLap (Maxime Lapointe)
08:42 AM Feature #20498: Negated method calls
I saw such a proposal before and I thought of some syntax and implementation, but I didn't submit that in the previou... hmdne (hmdne -)
08:04 AM Feature #20498: Negated method calls
I wonder how wild it would be to make `!` accept an optional block. That way we could write:
```ruby
must_create_us...
ufuk (Ufuk Kayserilioglu)
05:57 AM Feature #20498: Negated method calls
We can use `foo.!`.
```
must_create_user = User.where(somelong: :condition, even_more: "thing").exists?.!
```
akr (Akira Tanaka)
04:36 AM Feature #20498: Negated method calls
In your prototype, `foo . ! exist?` was transpiled to `!(foo . exist?)`.
Your proposal is not a new operator, but a...
nobu (Nobuyoshi Nakada)
03:23 AM Feature #20498: Negated method calls
I think defining an explicit method for this purpose (on `Object`, I guess) would be better, because it wouldn't add ... duerst (Martin Dรผrst)
09:10 AM Revision 82482684 (git): Update bundled gems list at 7f0e26b7f99bf76408569892ce2031 [ci skip]
git[bot]
09:10 AM Revision 7f0e26b7 (git): Re-use strscan with ruby repo
hsbt (Hiroshi SHIBATA)
09:10 AM Revision 70ad58cb (git): Update bundled_gems
hsbt (Hiroshi SHIBATA)
08:17 AM Bug #20496 (Assigned): Segfault when enabling YJIT
k0kubun (Takashi Kokubun)
05:59 AM Revision 0b384033 (git): Fix incorrect assertion in TestThreadInstrumentation
The test meant to assert the thread is suspended at least once,
but was actually asserting to it to be suspected at l...
byroot (Jean Boussier)
04:54 AM Revision fa26ef5b (git): Fix the end of "compiler section"
nobu (Nobuyoshi Nakada)
04:54 AM Revision 14da90f2 (git): --with-gmp-dir option is for ruby itself, not extensions
nobu (Nobuyoshi Nakada)
04:54 AM Revision 18eaf0be (git): [Bug #20494] Search non-default directories for GMP
Co-Authored-by: lish82 (Hiroki Katagiri) nobu (Nobuyoshi Nakada)
03:47 AM Revision eb410c9f (git): [ruby/error_highlight] Load "did_you_mean" explicitly in test
I'm not sure how it works, but I seem to get an error
`undefined method 'formatter' for module DidYouMean` in paralle...
mame (Yusuke Endoh)
01:37 AM Feature #20205: Enable `frozen_string_literal` by default
I thought about this more at Kaigi, maybe avoiding the false positive on the `str.dup if str.frozen?` pattern isn't w... byroot (Jean Boussier)
01:35 AM Revision a10a483a (git): [rubygems/rubygems] Should rescue vendored net-http exception
https://github.com/rubygems/rubygems/commit/7d2c4cf364 nobu (Nobuyoshi Nakada)

05/19/2024

10:52 PM Feature #20498 (Open): Negated method calls
I want to propose the following syntax: `foo.!bar`. I know it's already valid syntax, but please read on for details.... MaxLap (Maxime Lapointe)
04:35 PM Feature #20497 (Closed): Tempfile.create_io
I propose Tempfile.create_io.
It is similar to Tempfile.create but the actual file is unlinked before returning the ...
akr (Akira Tanaka)
04:30 PM Revision d037c519 (git): Suppress -Wclobbered warnings
At 7afc16aa48beb093b06eb978bc430f90dd771690, now `BLOCKING_REGION`
contains `setjmp` call in `RB_VM_SAVE_MACHINE_CONT...
nobu (Nobuyoshi Nakada)
02:24 PM Revision 48ebd77e (git): Fix comment: Buffer.for(string) without block returns readonly buffer
tommy (Masahiro Tomita)
02:24 PM Revision cb43540d (git): Fix IO::Buffer comment
tommy (Masahiro Tomita)
01:15 PM Revision 8c0b57d3 (git): `rb_enc_compile_warn` and `rb_enc_compile_warning` are printf format
nobu (Nobuyoshi Nakada)
11:59 AM Bug #20496 (Closed): Segfault when enabling YJIT
I installed Ruby 3.4-dev via rbenv to see how the improvements in YJIT with 3.4-dev (after reading https://speakerdec... gettalong (Thomas Leitner)
11:45 AM Revision b47533f6 (git): Remove `rb_bug` after COMPILE_ERROR
Fix test failures since 7afc16aa48beb093b06eb978bc430f90dd771690.
Why crash after reported compile error properly.
nobu (Nobuyoshi Nakada)
11:21 AM Bug #20495: Running "make clean" deletes critical "coroutine/amd64/Context.S" file and causes "make" to fail
This has been plaguing people developing on MacOS (and I suppose any case insensitive file system) for months. Maxime... byroot (Jean Boussier)
08:02 AM Bug #20495: Running "make clean" deletes critical "coroutine/amd64/Context.S" file and causes "make" to fail
I guess it happens when building in-place on case-insensitive fs platform due to this line: https://github.com/ruby/r... katei (Yuta Saito)
05:04 AM Bug #20495: Running "make clean" deletes critical "coroutine/amd64/Context.S" file and causes "make" to fail
For now, `make clean` is for those who "git clone" the repository. Don't use it for tarball package. mame (Yusuke Endoh)
04:41 AM Bug #20495 (Closed): Running "make clean" deletes critical "coroutine/amd64/Context.S" file and causes "make" to fail
When attempting to build v3.4.0-preview1 from source, we discovered that `make clean` will delete `coroutine/amd64/Co... fallwith (James Bunch)
10:07 AM Bug #20493: Segfault on rb_io_getline_fast
Awesome! I was about to ask what was the plan for having this change in ruby 3.2/3.3.
I've submitted the patches t...
josegomezr (Jose Gomez)
03:20 AM Bug #20493 (Closed): Segfault on rb_io_getline_fast
kjtsanaktsidis (KJ Tsanaktsidis)
03:20 AM Bug #20493: Segfault on rb_io_getline_fast
Closed by merging https://github.com/ruby/ruby/pull/10795
I opened two PR's to backport this to 3.2 & 3.3 (I think...
kjtsanaktsidis (KJ Tsanaktsidis)
05:10 AM Feature #20492: Debug option for tempfile
I too have wanted to do this multiple times. However, I am also a little concerned about the possibility of security ... mame (Yusuke Endoh)
03:08 AM Revision 7afc16aa (git): Inline RB_VM_SAVE_MACHINE_CONTEXT into BLOCKING_REGION
There's an exhaustive explanation of this in the linked redmine bug, but
the short version is as follows:
blocking_r...
kjtsanaktsidis (KJ Tsanaktsidis)
03:08 AM Revision ad636033 (git): Update to ruby/spec@6b04c1d
andrykonchin (Andrew Konchin)
02:04 AM Bug #20494 (Assigned): Non-default directories are not searched when checking for a gmp header
Looks good to me. I found no other AC_CHECK_HEADERS that might want to find non-system header files. @nobu What do yo... mame (Yusuke Endoh)
01:49 AM Bug #20494 (Closed): Non-default directories are not searched when checking for a gmp header
This is my very first issue submission
I would be happy to know if I missed anything
---
I found that the ruby...
lish82 (Hiroki Katagiri)

05/18/2024

03:29 PM Revision dbbaf871 (git): [DOC] Fix `$<` comment
nobu (Nobuyoshi Nakada)
03:27 PM Revision fd8e6e8c (git): Replace cast tags for `tSTRING_DVAR` with typed midrule actions
nobu (Nobuyoshi Nakada)
02:59 PM Bug #20154: aarch64: configure overrides `-mbranch-protection` if it was set in CFLAGS via environment
I don't think I quite understand what exactly the right course of action here is.
> Would it make sense to check i...
kjtsanaktsidis (KJ Tsanaktsidis)
12:48 PM Bug #20493: Segfault on rb_io_getline_fast
You're welcome, thank you for posting such a detailed and actionable report. You're exactly right; your patch deals w... kjtsanaktsidis (KJ Tsanaktsidis)
10:28 AM Bug #20493: Segfault on rb_io_getline_fast
Thanks for this extremely detailed explanation!
Just for my own understanding [I'm not as proficient in low level ...
josegomezr (Jose Gomez)
09:44 AM Bug #20493: Segfault on rb_io_getline_fast
After applying that fix to the RPM spec file in https://build.opensuse.org/package/show/devel:languages:ruby/ruby3.3,... kjtsanaktsidis (KJ Tsanaktsidis)
09:43 AM Bug #20493: Segfault on rb_io_getline_fast
I opened https://github.com/ruby/ruby/pull/10795 as a proposed fix for this. Let's see what other people (and CI) thi... kjtsanaktsidis (KJ Tsanaktsidis)
09:37 AM Bug #20493: Segfault on rb_io_getline_fast
OK, I believe I've worked out what's wrong here.
The BLOCKING_REGION macro is used to release the GVL, run some co...
kjtsanaktsidis (KJ Tsanaktsidis)
07:15 AM Bug #20493: Segfault on rb_io_getline_fast
Thank you for your bug report and excellent reproduction! I've had a look at this today - I haven't reached a conclus... kjtsanaktsidis (KJ Tsanaktsidis)
11:10 AM Bug #19753: IO::Buffer#get_string can't handle negative offset
Backported by https://github.com/ruby/ruby/pull/10778 nagachika (Tomoyuki Chikanaga)
11:09 AM Revision 0e664ebc (git): Fix `io_buffer_get_string` default length computation. (#8427)
* Fix `io_buffer_get_string` default length computation.
When an offset bigger than the size is given, the resulting...
Samuel Williams
11:09 AM Revision 67d499a7 (git): Improvements to `IO::Buffer` `read`/`write`/`pread`/`pwrite`. (#7826)
- Fix IO::Buffer `read`/`write` to use a minimum length. Samuel Williams
11:09 AM Revision 359e40e3 (git): Rename `data` -> `buffer` for better readability. (#7836)
Samuel Williams
11:09 AM Revision 1bfdd68b (git): Adjust `else` style to be consistent in each files [ci skip]
nobu (Nobuyoshi Nakada)
10:46 AM Revision 232f7b37 (git): Replace cast tags with typed midrule actions
* Add types to `tLAMBDA` and `tSTRING_DBEG` to store corresponding
information when returning these tokens.
* Add `...
nobu (Nobuyoshi Nakada)
10:16 AM Feature #20492: Debug option for tempfile
Since you say you're OK with solutions requiring modifying the program though, have you tried doing something like th... kjtsanaktsidis (KJ Tsanaktsidis)
06:44 AM Revision ac85eef1 (git): Fix links
burdettelamar (Burdette Lamar)
02:26 AM Revision 55c62e67 (git): No need to specify tags anymore
In the past, these codes were used by both parser and ripper.
On ripper, the type of LHS is `<val>` then type cast wa...
yui-knk (Kaneko Yuichiro)

05/17/2024

10:05 PM Feature #20448: Make coverage event hooking C API public
Thanks for the research. So, `TracePoint.new(:branch)` seems good enough for the use case of fuzzer, right?
But wi...
mame (Yusuke Endoh)
06:37 PM Feature #20448: Make coverage event hooking C API public
**TL;DR: I've been further researching how fuzzers gather coverage information, and what types of coverage are most u... ms-tob (Matt S)
08:42 PM Revision cce7c25a (git): [PRISM] Enable TestRequire
kddnewton (Kevin Newton)
05:21 PM Bug #20493 (Closed): Segfault on rb_io_getline_fast
We've spotted a consistent segfault when running bundle install with `--jobs 4`
When running: `bundle install -j 4...
josegomezr (Jose Gomez)
03:37 PM Bug #20218: aset/masgn/op_asgn with keyword arguments
In this issue there's no consideration of compatibility or utility. This is a breaking change. The ability to pass kw... bughit (bug hit)
03:29 PM Revision e61d24d7 (git): [PRISM] Enable passing IRB test
kddnewton (Kevin Newton)
03:23 PM Revision c60cdbdc (git): [PRISM] Emit END event for modules
kddnewton (Kevin Newton)
02:47 PM Revision 0649c1e3 (git): [ruby/prism] Revert incorrect synthesized true node change
https://github.com/ruby/prism/commit/31ef81fd06 kddnewton (Kevin Newton)
02:45 PM Revision aed93ba1 (git): [ruby/prism] Replace and Use PM_LOCATION_NULL_VALUE macro
https://github.com/ruby/prism/commit/50e188b168 S_H_ (Shun Hiraoka)
02:33 PM Revision 4ba0579d (git): [PRISM] Enable TestSyntax#test_error_message_encoding
kddnewton (Kevin Newton)
01:04 PM Revision 2d825ca7 (git): REXML 3.2.8 is not working with rss and test-bundled-gems yet.
https://github.com/ruby/ruby/actions/runs/9125437794/job/25091614796#step:11:272 hsbt (Hiroshi SHIBATA)
08:40 AM Revision 8acec5b6 (git): Update bundled gems list at 10d02e71d1f57b68f530c0e669e444 [ci skip]
git[bot]
08:26 AM Revision cbc84b80 (git): * 2024-05-17 [ci skip]
git[bot]
08:25 AM Revision a131d239 (git): AppVeyor is retired at 2024
hsbt (Hiroshi SHIBATA)
08:25 AM Revision 5db59cd5 (git): [ruby/openssl] test_asn1.rb: Remove the assertions of the time string format without second.
This commit fixes the following errors in the tests.
Because the OpenSSL project changed the code to make the time st...
Jun Aruga
08:25 AM Revision 89574f02 (git): [ruby/openssl] test/openssl/test_asn1.rb: skip failing tests on LibreSSL 3.6.0
LibreSSL 3.6.0 expects the seconds part in UTCTime and GeneralizedTime
to be always present. LibreSSL 3.6.0 release n...
rhenium (Kazuki Yamaguchi)
08:25 AM Revision 10f4e4d9 (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
08:17 AM Revision 10d02e71 (git): Update bundled_gems
hsbt (Hiroshi SHIBATA)
02:50 AM Revision 534f1c37 (git): Bump actions/checkout in /.github/actions/setup/directories
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [Release notes](https://github.c...
dependabot[bot]
02:50 AM Revision 0f8f0386 (git): Bump actions/checkout from 4.1.5 to 4.1.6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [Release notes](https://github.c...
dependabot[bot]
02:44 AM Revision 84d2bacb (git): [ruby/irb] Reorder ruby lex clauses for unrecoverable first
(https://github.com/ruby/irb/pull/956)
When a syntax error includes multiple error messages, we want to
check for un...
kddnewton (Kevin Newton)
02:13 AM Revision 761b9070 (git): [PRISM] Enable TestParse#test_truncated_source_line
kddnewton (Kevin Newton)
02:05 AM Revision b90ea8ae (git): [ruby/find] find.gemspec: Drop executables dir config
This gem contains no executables.
https://github.com/ruby/find/commit/7bd452155e
olleolleolle (Olle Jonsson)
01:18 AM Misc #20407: Question about applying encoding modifier to an interpolated Regexp
I checked the related source code especially about rb_reg_preprocess_dregexp. It wrongly calls rb_reg_preprocess with... naruse (Yui NARUSE)
12:55 AM Feature #20470: Extract Ruby's Garbage Collector
+1 for extracting GC implementation of `gc.c` into a separate `gc_impl.c` file.
My motivation: Some of the use cases...
katei (Yuta Saito)
 

Also available in: Atom