Project

General

Profile

Activity

From 05/16/2024 to 05/22/2024

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)

05/16/2024

07:35 PM Revision 854cbbd5 (git): [PRISM] Enable TestParse#test_string
kddnewton (Kevin Newton)
07:35 PM Revision 92af7054 (git): [ruby/prism] Truncate source lines in errors messages when too long
https://github.com/ruby/prism/commit/72518f5716 kddnewton (Kevin Newton)
06:40 PM Revision 98e1e610 (git): [ruby/prism] Update more escape error messages to match CRuby
https://github.com/ruby/prism/commit/ab43b3ab66 kddnewton (Kevin Newton)
06:21 PM Revision 012a80d7 (git): [PRISM] Enable TestISeq#test_syntax_error_message
kddnewton (Kevin Newton)
06:12 PM Revision 0b4cf461 (git): [PRISM] Enable TestM17N#test_string_mixed_unicode
kddnewton (Kevin Newton)
05:43 PM Feature #20492 (Open): Debug option for tempfile
Hi,
the ruby lib tempfile is quite useful, but since it always deletes files once the object is garbage collected...
hadmut (Hadmut Danisch)
05:22 PM Revision 286d3032 (git): [ruby/prism] More mixed encoding errors
https://github.com/ruby/prism/commit/2a43b4f55c kddnewton (Kevin Newton)
04:43 PM Feature #20484: A new pragma for eager resolution of classes referenced in rescue clauses.
zverok (Victor Shepelev) wrote in #note-3:
> Honestly, it is no different than any name used in a branch that wasn’t...
jfrisby (Jon Frisby)
04:28 PM Revision 07241dfa (git): [PRISM] Enable TestParse#test_question
kddnewton (Kevin Newton)
04:28 PM Revision 7eb45a40 (git): [PRISM] Enable TestParse#test_invalid_char
kddnewton (Kevin Newton)
04:28 PM Revision 58f993c5 (git): [PRISM] Enable TestParse#test_percent
kddnewton (Kevin Newton)
04:28 PM Revision 52401a32 (git): [PRISM] Enable TestSyntax#test_syntax_error_at_newline
kddnewton (Kevin Newton)
04:28 PM Revision 14debd13 (git): [PRISM] Enable TestSyntax#test__END___cr
kddnewton (Kevin Newton)
03:15 PM Bug #19753: IO::Buffer#get_string can't handle negative offset
Thanks so much, I will review it. ioquatix (Samuel Williams)
12:23 PM Bug #19753: IO::Buffer#get_string can't handle negative offset
I have cherry-picked some additional refactoring commits and open pull request https://github.com/ruby/ruby/pull/1077... nagachika (Tomoyuki Chikanaga)
10:20 AM Bug #19753: IO::Buffer#get_string can't handle negative offset
https://github.com/nagachika/ruby/commit/7d325d1b2ea7b6ef7debd6a29ad97c93311ed9b5 Here is the changeset to backport i... nagachika (Tomoyuki Chikanaga)
03:10 PM Revision d314d976 (git): [ruby/prism] Match CRuby invalid escape character syntax error message
https://github.com/ruby/prism/commit/0ef5658dcc kddnewton (Kevin Newton)
03:10 PM Revision 0e11781f (git): [ruby/prism] Match CRuby invalid character error message
https://github.com/ruby/prism/commit/8d4c5c2bca kddnewton (Kevin Newton)
02:52 PM Revision 910bb492 (git): [ruby/prism] Update error message for invalid % at EOF
https://github.com/ruby/prism/commit/178d4f66fd kddnewton (Kevin Newton)
02:23 PM Revision 7a4b9d16 (git): [ruby/prism] Match CRuby error message for unknown % string
https://github.com/ruby/prism/commit/863197629c kddnewton (Kevin Newton)
02:16 PM Revision 01166888 (git): [ruby/prism] Always go to string lex mode even if EOF
https://github.com/ruby/prism/commit/57d5c9be2c kddnewton (Kevin Newton)
02:00 PM Revision 477b13ba (git): [ruby/prism] Update unterminated string error location
https://github.com/ruby/prism/commit/33d12afa60 kddnewton (Kevin Newton)
01:34 PM Revision c55c11d7 (git): [rubygems/rubygems] Fix binstubs sometimes not getting regenerated when `--destdir` is given
This was only working for gems also installed in the default gem home.
https://github.com/rubygems/rubygems/commit/4...
deivid (David Rodríguez)
01:34 PM Revision 35c5c7ed (git): [rubygems/rubygems] Refactor `Gem::Specification#find_all_by_name`
So that it can also be delegated to `Gem::SpecificationRecord`.
https://github.com/rubygems/rubygems/commit/1407807a99
deivid (David Rodríguez)
12:25 PM Revision d076101a (git): Fix dump of NODE [ci skip]
nobu (Nobuyoshi Nakada)
11:55 AM Revision 5111b3d4 (git): [rubygems/rubygems] Fix `gem uninstall --user-install` for symlinked HOME's
https://github.com/rubygems/rubygems/commit/7f0706a897 deivid (David Rodríguez)
11:55 AM Revision b19693f0 (git): [rubygems/rubygems] Improve uninstaller tests
Tests have two copies of b-2 installed, one in default home and another
in user home. But only the one in default hom...
deivid (David Rodríguez)
11:55 AM Revision 847fc9af (git): [rubygems/rubygems] Fix error message calling method removed a long time ago
https://github.com/rubygems/rubygems/commit/5fbe5e43d6 deivid (David Rodríguez)
09:21 AM Revision 7857061e (git): [rubygems/rubygems] Fix regression when caching gems from secondary sources
If `cache_all_platforms` setting is enabled, the secondary source was
no longer considering cached gems.
That means ...
deivid (David Rodríguez)
09:20 AM Revision 29a9ab0b (git): [rubygems/rubygems] Deprecate Bundler constants
https://github.com/rubygems/rubygems/commit/6166e4bce1 deivid (David Rodríguez)
09:20 AM Revision 9fd41480 (git): [rubygems/rubygems] Use RubyGems freebsd helper
https://github.com/rubygems/rubygems/commit/5d03a346ab deivid (David Rodríguez)
09:20 AM Revision 4db76d19 (git): [rubygems/rubygems] Add a FreeBSD platform helper
https://github.com/rubygems/rubygems/commit/535c83d5be deivid (David Rodríguez)
08:22 AM Bug #20468 (Closed): Segfault on safe navigation in for target
Applied in changeset commit:git|2dd46bb82ffc4dff01d7ea70922f0e407acafb4e.
----------
[Bug #20468] Fix safe navigatio...
nobu (Nobuyoshi Nakada)
07:35 AM Misc #20238: Use prism for mk_builtin_loader.rb
I talked with k0kubun and disscussed about multiple options as below.
I understand the background and agree to go ah...
naruse (Yui NARUSE)
07:26 AM Bug #19427: Marshal.load(source, freeze: true) doesn't freeze in some cases
I think it's obviously a bug, but I'm concerned that changing the behavior might cause FrozenError in applications. T... nagachika (Tomoyuki Chikanaga)
07:22 AM Revision 2dd46bb8 (git): [Bug #20468] Fix safe navigation in `for` variable
nobu (Nobuyoshi Nakada)
04:54 AM Revision 9d696196 (git): [rubygems/rubygems] Clean up generated and copied files
> leaving the files after gem rebuild was intentional, for local
> inspection, but the test suite should be made to c...
nobu (Nobuyoshi Nakada)
04:30 AM Bug #20490 (Closed): Process.waitpid2(-1, Process::WNOHANG) misbehaves on Ruby 3.1 & 3.2 with detached process
nagachika (Tomoyuki Chikanaga)
04:30 AM Bug #20490: Process.waitpid2(-1, Process::WNOHANG) misbehaves on Ruby 3.1 & 3.2 with detached process
Thank you for your report. I will look the PRs.
I will set the status of this ticket because of this is a backport t...
nagachika (Tomoyuki Chikanaga)
04:29 AM Misc #20491 (Closed): Proposal for new branch maintainers
Thank you. I'll do my best.
hsbt (Hiroshi SHIBATA)
04:28 AM Misc #20491: Proposal for new branch maintainers
I think this is a good idea. Approved.
Matz
matz (Yukihiro Matsumoto)
02:53 AM Misc #20491: Proposal for new branch maintainers
Note: I confirmed this proposal with @k0kubun and @usa hsbt (Hiroshi SHIBATA)
04:10 AM Bug #19530: `Array#sum` and `Enumerable#sum` sometimes show different behaviours
Since this was a long standing bug, I won't backport it to stable branch in general. If you know any real application... nagachika (Tomoyuki Chikanaga)
02:37 AM Bug #20183: `erb/escape.so` cannot be loaded when `--with-static-linked-ext`
ruby_3_2 2d686e1019414f6bbb7ccbfa897b7b665250743d merged revision(s) ae8990aef098410ecc2b5f48fea9d7d171a3c5f6. nagachika (Tomoyuki Chikanaga)
02:36 AM Revision 2d686e10 (git): merge revision(s) ae8990aef098410ecc2b5f48fea9d7d171a3c5f6: [Backport #20183]
Alias init functions
The extension library has each initialization function named "Init_" +
basename...
nagachika (Tomoyuki Chikanaga)
12:06 AM Feature #16461: Proc#using
Sorry for the delay.
Eregon (Benoit Daloze) wrote in #note-10:
> Reading #12086 again, I feel #12281 is a much si...
shugo (Shugo Maeda)
 

Also available in: Atom