Project

General

Profile

Activity

From 01/30/2024 to 02/05/2024

02/05/2024

10:18 PM Bug #20209: YJIT can leak memory by retaining objects with singleton class
Note, there was an additional fix to stabilize CI after this. I opened a GitHub PR with everything bundled together: ... alanwu (Alan Wu)
09:13 PM Revision bae3e5b2 (git): YJIT: No need to reject splat+zsuper
There is nothing special about argument handling when it comes to zsuper
if you look around in the VM. Everything pas...
alanwu (Alan Wu)
08:53 PM Misc #20193: DevMeeting-2024-02-14
* [Misc #20238] Use prism for mk_builtin_loader.rb (kddnewton)
* I would like to propose that we use prism for mk_...
kddnewton (Kevin Newton)
04:09 AM Misc #20193: DevMeeting-2024-02-14
- [Feature #20108] Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
- Fixed the points raised at t...
shioimm (Misaki Shioi)
08:52 PM Misc #20238 (Assigned): Use prism for mk_builtin_loader.rb
I would like to propose that we use prism for mk_builtin_loader.rb.
Right now the Ruby syntax that you can use in ...
kddnewton (Kevin Newton)
08:40 PM Revision c42b1029 (git): [ruby/prism] Change the location of an implicit begin to method
https://github.com/ruby/prism/commit/d08e140859 kddnewton (Kevin Newton)
08:18 PM Revision c5694c64 (git): [PRISM] Raise ArgumentError for invalid encoding
kddnewton (Kevin Newton)
07:42 PM Revision 10a182f5 (git): [PRISM] Fix method return line
kddnewton (Kevin Newton)
07:24 PM Revision 07611acb (git): [ruby/prism] Add another error type for raising argument errors
https://github.com/ruby/prism/commit/f3030cb2b2 kddnewton (Kevin Newton)
06:17 PM Revision ca7a4811 (git): [rubygems/rubygems] Revert "Simplify how extensions are built"
This reverts commit https://github.com/rubygems/rubygems/commit/0b8faf1e3926.
https://github.com/rubygems/rubygems/c...
deivid (David Rodrรญguez)
05:54 PM Revision 7eea066c (git): [PRISM] Fix pattern matching array with implicit rest
kddnewton (Kevin Newton)
04:57 PM Revision ae7816bc (git): [PRISM] Fix up idUMinus optimization
kddnewton (Kevin Newton)
04:55 PM Revision 948c618b (git): [PRISM] Fix encoding of interpolated strings
Fixes ruby/prism#2313. peterzhu2118 (Peter Zhu)
04:11 PM Bug #20169 (Closed): `GC.compact` can raises `EFAULT` on IO
Applied in changeset commit:git|5e0c17145131e073814c7e5b15227d0b4e73cabe.
----------
Make io_fwrite safe for compact...
peterzhu2118 (Peter Zhu)
04:11 PM Revision 5e0c1714 (git): Make io_fwrite safe for compaction
[Bug #20169]
Embedded strings are not safe for system calls without the GVL because
compaction can cause pages to be...
peterzhu2118 (Peter Zhu)
04:08 PM Revision 02c88477 (git): [wasm] tool/m4/ruby_wasm_tools.m4: Add default value for OBJCOPY
The tool is used to build shared libraries but system installed
tools usually don't support WebAssembly, so use WASI ...
katei (Yuta Saito)
04:08 PM Revision 0a88437d (git): Update default gems list at 0b5be2f9e97e0618f76b9a861eaf9c [ci skip]
git[bot]
04:07 PM Revision 0b5be2f9 (git): Sync to latest prism
kddnewton (Kevin Newton)
03:29 PM Revision 40642cd3 (git): Update to ruby/spec@3fc4444
Eregon (Benoit Daloze)
03:29 PM Revision abe07d4b (git): Update to ruby/mspec@31f51e0
Eregon (Benoit Daloze)
03:29 PM Revision d9bd64f9 (git): Fix typo
Eregon (Benoit Daloze)
03:27 PM Revision b35cdb47 (git): [PRISM] Implement opt_aset_with
Part of ruby/prism#2231
Co-authored-by: Adrianna Chang <adrianna.chang@shopify.com>
Co-authored-by: Peter Zhu <peter...
Jenny Shen
03:27 PM Revision 8ed26a3f (git): [PRISM] Refactor PM_CALL_NODE conditional
Co-authored-by: Peter Zhu <peter@peterzhu.ca> Jenny Shen
02:51 PM Revision 3f0e3ede (git): YJIT: Fix exits on splatkw instruction (#9715)
[[Bug #20214]](https://bugs.ruby-lang.org/issues/20214) k0kubun (Takashi Kokubun)
02:51 PM Revision ac526abc (git): Merge RubyGems 3.5.5 and Bundler 2.5.5 (#9676)
* Merge RubyGems-3.5.4 and Bundler-2.5.4
* Merge RubyGems-3.5.5 and Bundler-2.5.5
* Make tests play with upstream R...
hsbt (Hiroshi SHIBATA)
02:50 PM Revision 7f97e354 (git): [Backport 3.3] [Bug #20085] Use consistent default options for `-mbranch-protection` (#9385)
[Bug #20085] Use consistent default options for `-mbranch-protection`
We need to use the same options for both C com...
katei (Yuta Saito)
02:47 PM Bug #19542: Operations on zero-sized IO::Buffer are raising
ruby_3_3 d7dc57a545d75c01313a9020b162ebb648a3ea18 merged revision(s) c5cf4d4e129f64cb69aaf0a829aed068ef1943c4. naruse (Yui NARUSE)
02:43 PM Bug #20231: Don't wait in io_binwrite_string if not necessary.
ruby_3_3 2c365e6dfb95e0df24725c6f377b9cdf5e354557 merged revision(s) 2554c5d3b8738a248cedb2fea96dfab9fbe19417. naruse (Yui NARUSE)
08:06 AM Bug #20231: Don't wait in io_binwrite_string if not necessary.
ioquatix (Samuel Williams) wrote in #note-4:
> @naruse That PR seems unrelated, is the link correct?
Thanks, the ...
naruse (Yui NARUSE)
01:10 PM Bug #20236 (Closed): OpenSSL::Cipher#update - probable buffer overflow: 16 for 15
A fix for this in ruby/openssl's upstream: https://github.com/ruby/openssl/pull/717 rhenium (Kazuki Yamaguchi)
11:58 AM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
Noticed this is closed but the issue still persists and the backport isn't merged in yet. Do we know when it will be ... londonappdev (Mark Winterbottom)
08:41 AM Revision 288d84d8 (git): merge revision(s) 2554c5d3b8738a248cedb2fea96dfab9fbe19417: [Backport #20231] (#9831)
Don't wait in `io_binwrite_string` if not necessary. (#9792)
---
io.c | 8 +++-----
1 file ...
NARUSE, Yui
08:15 AM Bug #20237: Unable to unshare(CLONE_NEWUSER) in Linux because of timer thread
Another option would be to define something like `fork_then_unshare(unshare_flags:, &block)` method in C extension, b... hanazuki (Kasumi Hanazuki)
05:55 AM Bug #20237 (Assigned): Unable to unshare(CLONE_NEWUSER) in Linux because of timer thread
mame (Yusuke Endoh)
04:59 AM Bug #20237 (Closed): Unable to unshare(CLONE_NEWUSER) in Linux because of timer thread
## Backgrounds
[unshare(2)](https://man7.org/linux/man-pages/man2/unshare.2.html) is a syscall in Linux to move th...
hanazuki (Kasumi Hanazuki)
03:32 AM Revision 3af47f14 (git): Bump necojackarc/auto-request-review from 0.12.0 to 0.13.0
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.12.0 to 0.13.0.
- ...
dependabot[bot]

02/04/2024

11:41 PM Bug #20169: `GC.compact` can raises `EFAULT` on IO
> IMO it's undefined behaviour to use a Ruby object in a non-GVL scenario, this just fixes the issue inside of Ruby u... kjtsanaktsidis (KJ Tsanaktsidis)
10:14 PM Bug #20169: `GC.compact` can raises `EFAULT` on IO
> I want to try and spell out what it means for "the rules" for extensions if we accept it.
I don't think this imp...
peterzhu2118 (Peter Zhu)
06:11 PM Feature #20235: Deprecate CHAR syntax
Dan0042 (Daniel DeLorme) wrote in #note-3:
> @shan it's not "an uncommented `=>` designating a return value", it's (...
shan (Shannon Skipper)
01:52 PM Feature #20235: Deprecate CHAR syntax
@shan it's not "an uncommented `=>` designating a return value", it's (supposed to be) a hash literal like `p 1=>2`. ... Dan0042 (Daniel DeLorme)
04:05 PM Revision 8bc6fff3 (git): [PRISM] Do not optimize safe navigation aref
Co-authored-by: Peter Zhu <peter@peterzhu.ca> Jenny Shen
04:05 PM Revision c5d44447 (git): [PRISM] Do not optimize safe navigation -@/freeze
Co-authored-by: Peter Zhu <peter@peterzhu.ca> Jenny Shen
03:58 PM Bug #20236 (Closed): OpenSSL::Cipher#update - probable buffer overflow: 16 for 15
input program crash.rb
``` ruby
require 'openssl'
cipher = OpenSSL::Cipher.new('aes128-wrap-pad').encrypt
cip...
nakhli (Chaker Nakhli)
01:54 PM Revision d7dc57a5 (git): merge revision(s) c5cf4d4e129f64cb69aaf0a829aed068ef1943c4: [Backport#19542] (#9829)
merge revision(s) c5cf4d4e129f64cb69aaf0a829aed068ef1943c4: [Backport #19542]
Improve behavioural consistenc...
NARUSE, Yui
01:11 PM Bug #20178: Out of bounds stack read on Array#first when built with -O0
ruby_3_3 ce6863a0cf971e0c0328e3fc85b10b6de36ecbad merged revision(s) 18573b8d054f655e3e8b24902985bf4028f88810. naruse (Yui NARUSE)
11:33 AM Revision 7b3e05c3 (git): Do not define ABI version in statically linked objects
It is for dynamically loading, useless for statically linked objects. nobu (Nobuyoshi Nakada)
09:39 AM Revision 8b897e60 (git): [DOC] Update NEWS refs
znz (Kazuhiro NISHIYAMA)
08:09 AM Revision 3f37b4fe (git): Extend tests for ext/Setup
nobu (Nobuyoshi Nakada)
07:43 AM Revision ae8990ae (git): Alias init functions
The extension library has each initialization function named "Init_" +
basename. If multiple extensions have the same...
nobu (Nobuyoshi Nakada)
07:40 AM Revision 143a1be1 (git): Allow glob patterns in ext/Setup
nobu (Nobuyoshi Nakada)
07:35 AM Revision c40b0d52 (git): Glob with base option
When ripping the base directory off the result names. nobu (Nobuyoshi Nakada)
05:37 AM Revision a065b68b (git): Backport #9415 to ruby_3_3 (#9424)
YJIT: Let RubyVM::YJIT.enable respect --yjit-stats k0kubun (Takashi Kokubun)
05:36 AM Revision ba16b340 (git): YJIT: reduce default exec mem size to 48MiB (#9692)
* YJIT: reduce default exec mem size to 48MiB based
Based on user feedback from @jhawthorn and others.
Better for sm...
maximecb (Maxime Chevalier-Boisvert)
05:36 AM Bug #20172: Socket.addrinfo failing randomly
ruby_3_3 53d4e9c4bbba077a569549a01a8263e5e8f59ee8 merged revision(s) 1bd98c820da46a05328d2d53b8f748f28e7ee8f7. naruse (Yui NARUSE)
04:13 AM Revision ce6863a0 (git): merge revision(s) 18573b8d054f655e3e8b24902985bf4028f88810: [Backport #20178] (#9822)
Avoid reading unused lvars in Primitive.cexpr
Previously on builds with optimizations disabled, this could r...
NARUSE, Yui

02/03/2024

11:04 PM Bug #20225: Inconsistent behavior of regex matching for a regex has a null loop
In TruffleRuby, we implement null checks which take into account both matching position and captures, in the spirit o... jirkamarsik (Jirka Marsik)
10:55 PM Bug #20225: Inconsistent behavior of regex matching for a regex has a null loop
As I understand it, the idea behind the null check is for the regex matcher to be able to identify unproductive branc... jirkamarsik (Jirka Marsik)
02:29 PM Bug #20225: Inconsistent behavior of regex matching for a regex has a null loop
FWIW current TruffleRuby behavior for the two examples in the description is to return 0 for both.
Is that what you ...
Eregon (Benoit Daloze)
02:25 PM Bug #20225: Inconsistent behavior of regex matching for a regex has a null loop
Could you show how the behavior would change for these specs, e.g. with a diff of the specs or by moving the existing... Eregon (Benoit Daloze)
10:42 PM Feature #20235: Deprecate CHAR syntax
A `$stdin.closed?#=>true` would work as expected. You can't generally follow Ruby code immediately with an uncommente... shan (Shannon Skipper)
08:02 PM Feature #20235: Deprecate CHAR syntax
I think the first time - and probably the only time - I heard
about the ?a syntax:
?a # => "a"
?b # => "b"
...
rubyFeedback (robert heiler)
04:53 PM Feature #20235 (Open): Deprecate CHAR syntax
I propose deprecating the `?c` syntax. It served a purpose in ruby <= 1.8, but no longer.
The reason I'm proposing...
Dan0042 (Daniel DeLorme)
08:02 PM Revision 19f61552 (git): Remove TestProcess#test_low_memory_startup
It is too flaky on many platforms. Nobody is willing to fix it. Let's
just stop it.
mame (Yusuke Endoh)
07:52 PM Feature #20215: Introduce `IO#readable?`
Actually if I think about it a little, I can work around that like this:
```ruby
loop do
if $stdin.wait_readab...
Dan0042 (Daniel DeLorme)
05:13 PM Feature #20215: Introduce `IO#readable?`
Interesting, I didn't know about #wait_readable. Looks like previously it needed `require "io/wait"` but it was integ... Dan0042 (Daniel DeLorme)
03:47 PM Revision 53d4e9c4 (git): merge revision(s) 1bd98c820da46a05328d2d53b8f748f28e7ee8f7: [Backport #20172] (#9798)
Remove setaffinity of pthread for getaddrinfo
It looks like `sched_getcpu(3)` returns a strange number on so...
NARUSE, Yui
01:35 PM Revision 45064610 (git): Fix test session reuse but expire (#9824)
* Show OpenSSL version in the error message of assert_equal
* OpenSSL 3.2.1 30 Jan 2024 is also broken
NARUSE, Yui
10:39 AM Revision bc79229b (git): Show OpenSSL version in the error message of assert_equal
naruse (Yui NARUSE)
06:59 AM Revision 055615a4 (git): Statically linking does not use shared libraries of encodings
nobu (Nobuyoshi Nakada)
06:54 AM Revision 124be0aa (git): [ruby/irb] Consume the warning for non-existent history path
Fix https://github.com/ruby/irb/pull/852#issuecomment-1925170358
https://github.com/ruby/irb/commit/9a7e060e57
nobu (Nobuyoshi Nakada)
03:25 AM Revision 0854d648 (git): [PRISM] Selectively dup array in `foo(*splat, &block_arg)` calls
This is essentially an adaptation of aae8223c707 ("Dup splat array in
certain cases where there is a block argument")...
alanwu (Alan Wu)
01:37 AM Bug #20169: `GC.compact` can raises `EFAULT` on IO
So I think we can go with that fix, but I want to try and spell out what it means for "the rules" for extensions if w... kjtsanaktsidis (KJ Tsanaktsidis)
12:15 AM Revision 68b57ceb (git): Use bool to check ascii only in parse_ident
No need to use ENC_CODERANGE to record ascii only or not. yui-knk (Kaneko Yuichiro)

02/02/2024

11:50 PM Revision 90ae8eae (git): [PRISM] Fix numbered parameters stealing local names
Previously, the local index of numbered parameters were assigned to
names of regular locals, making it hard to read b...
alanwu (Alan Wu)
10:25 PM Revision 5d646fa1 (git): [ruby/irb] Require pathname (https://github.com/ruby/irb/pull/860)
https://github.com/ruby/irb/commit/0ab96ed426 st0012 (Stan Lo)
10:09 PM Revision 5a87e9e2 (git): YJIT: add missing jge comparison instruction (#9819)
I ran into this while trying to implement setbyte, was surprised
to find out we hadn't implemented it yet.
maximecb (Maxime Chevalier-Boisvert)
09:58 PM Revision aa780a67 (git): [ruby/irb] Add a warning for when the history path doesn't exist
(https://github.com/ruby/irb/pull/852)
* Add a warning for when the history path doesn't exist
* warn when the dire...
Ignacio Chiazzo Cardarello
09:45 PM Revision 6afccdf4 (git): [ruby/prism] Provide APIs for finding value in constant pool
https://github.com/ruby/prism/commit/be9e2abfa3 kddnewton (Kevin Newton)
09:38 PM Revision 31e4300e (git): [rubygems/rubygems] feat: Gem::Specification#initialize_copy deep-copies requirements
to avoid accidentally mutating the original's state when doing:
```ruby
spec2 = spec.dup
spec2.required_rubygems_ver...
mdalessio (Mike Dalessio)
09:38 PM Revision 66a6f2b1 (git): [rubygems/rubygems] feat: Gem::Requirement#initialize_copy deep-copies @requirements
to avoid accidentally mutating the original's state when doing:
```ruby
req2 = req.dup
req2.concat([">= 3.3.22"])
``...
mdalessio (Mike Dalessio)
09:16 PM Revision d2f004cf (git): [ruby/prism] Fix hash pairs in patterns
https://github.com/ruby/prism/commit/b7ab29daa0 kddnewton (Kevin Newton)
09:06 PM Feature #20215: Introduce `IO#readable?`
Would `io.wait_readable(0)` work instead? If not, why not? Eregon (Benoit Daloze)
08:43 PM Revision eaea53b8 (git): [ruby/prism] Handle missing begin body
https://github.com/ruby/prism/commit/7e54818b17 kddnewton (Kevin Newton)
08:09 PM Revision 7695ab3b (git): [ruby/prism] Fix up multibyte escapes
https://github.com/ruby/prism/commit/836a35f4af kddnewton (Kevin Newton)
07:43 PM Revision 520987c6 (git): [ruby/prism] Turn off LibrarySymbolsTest on powerpc64le
https://github.com/ruby/prism/commit/6e432f3de5 kddnewton (Kevin Newton)
07:36 PM Revision 24cdafb2 (git): [PRISM] Fix indentation of pm_scope_node_init [ci skip]
peterzhu2118 (Peter Zhu)
07:26 PM Revision 93fdf66b (git): [rubygems/rubygems] Adapt failing tests to new output
https://github.com/rubygems/rubygems/commit/cf549e71aa Vitaliy Serov
07:26 PM Revision 0bcad50c (git): [rubygems/rubygems] Fix var name and also update other places
https://github.com/rubygems/rubygems/commit/f72a7989cd Vitaliy Serov
07:26 PM Revision 064f2515 (git): [rubygems/rubygems] Change gem login message to clear up that username can be also used
https://github.com/rubygems/rubygems/commit/2bf6163eaf Vitaliy Serov
06:36 PM Revision 420a6349 (git): [ruby/prism] Small fixes for the parser translator
https://github.com/ruby/prism/commit/4327051c86 kddnewton (Kevin Newton)
05:03 PM Bug #20169: `GC.compact` can raises `EFAULT` on IO
I implemented a fix here: https://github.com/ruby/ruby/pull/9817 peterzhu2118 (Peter Zhu)
04:35 PM Bug #20228 (Closed): Memory leak in Regexp timeout
Applied in changeset commit:git|1c120efe02d079b0a1dea573cf0fd7978d9cc857.
----------
Fix memory leak in stk_base whe...
peterzhu2118 (Peter Zhu)
04:35 PM Revision 8f9d999d (git): [ruby/prism] Fix overlapping memcpy
It's UB to use memcpy with overlapping source and destination. This
might be causing crashes on 32 bit platforms and ...
alanwu (Alan Wu)
03:39 PM Revision 31378dc0 (git): Add memory leak test for Regexp timeout
[Bug #20228] peterzhu2118 (Peter Zhu)
03:39 PM Revision 01bfd1a2 (git): Fix memory leak in OnigRegion when match raises
[Bug #20228]
rb_reg_onig_match can raise a Regexp::TimeoutError, which would cause
the OnigRegion to leak.
peterzhu2118 (Peter Zhu)
03:39 PM Revision 1c120efe (git): Fix memory leak in stk_base when Regexp timeout
[Bug #20228]
If rb_reg_check_timeout raises a Regexp::TimeoutError, then the stk_base
will leak.
peterzhu2118 (Peter Zhu)
11:43 AM Revision a4e4e3b1 (git): [rubygems/rubygems] Add missing Windows job
Specs that use extension gems were failing in the new job but I noticed
that they were using very non standard `extco...
deivid (David Rodrรญguez)
11:15 AM Bug #20234 (Closed): Segfault parsing begin statement inside method definition receiver
Segmentation fault parsing these code in Ruby 3.3.0 and 3.4.0dev
~~~ruby
# Segmentation fault
ruby -ce "def (begin...
tompng (tomoya ishida)
10:36 AM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
Hi, we are running into the same issue when developing so I was wondering if you got any response on the Apple bug re... lars.vonk@gmail.com (Lars Vonk)
10:25 AM Bug #20172: Socket.addrinfo failing randomly
For reference, I had a user report a similar issue due to `Addrinfo#ip_address`: https://github.com/socketry/falcon/i... ioquatix (Samuel Williams)
01:50 AM Bug #20172: Socket.addrinfo failing randomly
Merging into 3.3 is pending
https://github.com/ruby/ruby/pull/9798
naruse (Yui NARUSE)
08:56 AM Feature #20233: pkg-config not working on MSVC
Potential implemented at https://github.com/ruby/ruby/pull/9815#pullrequestreview-1858695400 jmarrec (Julien Marrec)
08:48 AM Feature #20233 (Closed): pkg-config not working on MSVC
The PKG_CONFIG variable is not respected in win32/Makefile.sub
Also, need to ideally use the `--msvc-syntax` flag ...
jmarrec (Julien Marrec)
05:26 AM Revision ccffc6ee (git): Add an assertion that `%x` literals call `` ` `` method
nobu (Nobuyoshi Nakada)
03:22 AM Bug #20094: Inline while loop behavior changed unexpectedly in 3.3.0
ruby_3_3 119d447d42d4645ac919ee53f3ec294deaa7c59b merged revision(s) bc002971b6ad483dbf69b8a275c44412bb6ab954. naruse (Yui NARUSE)
01:59 AM Bug #20231: Don't wait in io_binwrite_string if not necessary.
@naruse That PR seems unrelated, is the link correct? ioquatix (Samuel Williams)
01:52 AM Bug #20231: Don't wait in io_binwrite_string if not necessary.
Merging into 3.3 but failed
https://github.com/ruby/ruby/pull/9813
naruse (Yui NARUSE)
01:42 AM Revision c0629a05 (git): Prefer `IO.popen` over `IO.foreach` with `|`
nobu (Nobuyoshi Nakada)
01:42 AM Revision f22bec79 (git): leaked-globals: More accurately extract checked function names
nobu (Nobuyoshi Nakada)
12:36 AM Bug #20162: Memory leak when duplicating too complex object
ruby_3_3 3fb51b93d25b0566b71249b1c7ccddf0dab91429 merged revision(s) 82b57d7bfeefd717c10f7a5a3484aca6b3e708a3. naruse (Yui NARUSE)
12:36 AM Bug #20173: Backport 597955a, 8b65d15
ruby_3_3 7231fc5baa0a44ef6264c795071c5fbec8d1102d merged revision(s) 597955a,8b65d15. naruse (Yui NARUSE)

02/01/2024

10:55 PM Revision 7b93e65e (git): [DOC] Pretty tables for Kernel#test doc (#9751)
burdettelamar (Burdette Lamar)
10:11 PM Revision 8d33be98 (git): [PRISM] Respect string encoding override in array literals
Fixes `TestZlibGzipReader#test_gets2`,
`Psych_Unit_Tests#test_spec_explicit_families`, and many failures in
`test_uni...
alanwu (Alan Wu)
10:04 PM Revision 770b5499 (git): [ruby/prism] Amend assert in pm_utf_8_codepoint(), n=0 is fine
This assert used to trip in the included test:
```
./miniruby --parser=prism -e ' "%W"\u" '
```
https://github.com/r...
alanwu (Alan Wu)
08:52 PM Revision 4fbdbde0 (git): [PRISM] dedup hash string keys
Fixes ruby/prism#2321
Co-authored-by: Adrianna Chang <adrianna.chang@shopify.com>
Co-authored-by: Peter Zhu <peter...
Jenny Shen
08:52 PM Revision 332d2c92 (git): [PRISM] Emit parse warnings
kddnewton (Kevin Newton)
08:50 PM Revision b47d43fa (git): [PRISM] Use rb_fstring() on all string literals
In addition to saving space by deduplicating, this also makes the
literals have code range like TestObjSpace#test_dum...
alanwu (Alan Wu)
08:23 PM Revision c7fe3ecb (git): [prism] Use block opening line as `source_location` line of lambda
There are several prism tests failing related to the `source_location`
for lambda returning line of the operator (`->...
Nikita Vasilevsky
08:17 PM Revision e4e5a1b4 (git): [ruby/prism] Add parentheses around macro arguments
https://github.com/ruby/prism/commit/f81fe9c716
Co-authored-by: Adrianna Chang <adrianna.chang@shopify.com>
Co-auth...
Jenny Shen
07:45 PM Revision 29b7c31b (git): [ruby/prism] Reject operator writes on operator methods
https://github.com/ruby/prism/commit/78bd142e71 kddnewton (Kevin Newton)
07:13 PM Revision d3ba14a3 (git): [PRISM] Do not shell out in prism tests
kddnewton (Kevin Newton)
05:53 PM Revision ae044135 (git): Update default gems list at e9f132446425089e8e732f68f49e10 [ci skip]
git[bot]
05:52 PM Revision e9f13244 (git): Sync to latest prism
kddnewton (Kevin Newton)
05:46 PM Revision ef427123 (git): [ruby/irb] Add rubocop with a few basic styling rules
(https://github.com/ruby/irb/pull/849)
* Use rubocop to enforce a few styling rules
* Add a CI job for linting
htt...
st0012 (Stan Lo)
04:48 PM Revision 494778c6 (git): [ruby/prism] Remove locals_body_index
We're not using this anymore, and it doesn't make a lot of sense
outside the context of a compiler anyway, and in any...
kddnewton (Kevin Newton)
04:48 PM Revision 67c5690a (git): [ruby/prism] Check literals for receiver
https://github.com/ruby/prism/commit/56441b08e7 Haldun Bayhantopcu
04:26 PM Misc #20193: DevMeeting-2024-02-14
* [Bug #20203] `TestEnumerable` test failures with GCC 14
* Using `qsort_r` to sort causes corruption when the comp...
alanwu (Alan Wu)
04:21 PM Bug #20203: `TestEnumerable` test failures with GCC 14
So there are currently 2 issues with using `qsort_r` that I see.
1. As noticed in this issue, if the comparison func...
alanwu (Alan Wu)
04:19 PM Revision f36c61d2 (git): [ruby/irb] Reset history counter even when @loaded_history_lines is
not defined
(https://github.com/ruby/irb/pull/853)
The issue (https://github.com/ruby/debug/issues/1064) is caused b...
st0012 (Stan Lo)
04:13 PM Revision 6ad585bd (git): [ruby/prism] Only warn for unary + on spcarg
https://github.com/ruby/prism/commit/db0e5ce1ce kddnewton (Kevin Newton)
03:33 PM Revision 1f226b41 (git): [PRISM] Fix multiple return with splat and splat+kwsplat
Previously, `return *array, 1` didn't behave like `return [*array, 1]`
properly. Also, it crashed when splat and kwsp...
alanwu (Alan Wu)
02:59 PM Feature #20215: Introduce `IO#readable?`
I'm interested in this. I previously had to implement a "nonblocking gets" which was a bit tricky.
It would have been...
Dan0042 (Daniel DeLorme)
06:19 AM Feature #20215: Introduce `IO#readable?`
After thinking it for a while, yes I'm for this feature. There seems to be no way right now to achieve what is needed. shyouhei (Shyouhei Urabe)
12:17 PM Revision 8531ac31 (git): Suppress unused-local-typedef warnings
nobu (Nobuyoshi Nakada)
12:12 PM Revision 1236a740 (git): [ruby/irb] Skip re-setup when creating a child session
(https://github.com/ruby/irb/pull/850)
https://github.com/ruby/irb/commit/06b2d00dd3
Nuno Silva
07:42 AM Revision 8ba8e979 (git): Parenthesize casted argument
nobu (Nobuyoshi Nakada)
07:19 AM Revision 3fb51b93 (git): merge revision(s) 82b57d7bfeefd717c10f7a5a3484aca6b3e708a3: [Backportโ€ฆ (#9795)
merge revision(s) 82b57d7bfeefd717c10f7a5a3484aca6b3e708a3: [Backport #20162]
Fix memory leak when duplicati...
NARUSE, Yui
07:13 AM Revision 7231fc5b (git): merge revision(s) 597955a,8b65d15: [Backport #20173] (#9794)
Fix to work match cache with peek next optimization (#9459)
---
regexec.c | 3 ++-
...
NARUSE, Yui
06:05 AM Bug #20225: Inconsistent behavior of regex matching for a regex has a null loop
In another problematic case, the following example never finishes its matching.
```
p /((?=(a)))*/ =~ "a"
```
make_now_just (Hiroya Fujinami)
05:59 AM Bug #20225: Inconsistent behavior of regex matching for a regex has a null loop
These two specs block this change:
- <https://github.com/ruby/spec/blob/3267023951a99dc9b79febab10e1ae04c18d5190/l...
make_now_just (Hiroya Fujinami)
05:20 AM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
I have created https://bugs.ruby-lang.org/issues/20232. fxn (Xavier Noria)
05:20 AM Misc #20232 (Open): Document Kernel#require and Module#autoload concurrency guarantees
I'd like to document `Kernel#require` and `Module#autoload` concurrency guarantees.
In the case of multiple thread...
fxn (Xavier Noria)
04:40 AM Bug #20166: Backport 149373c to Ruby 3.3
ruby_3_3 commit:57d8d6e58a13c9de7bb84c1c76625789f435bca1. naruse (Yui NARUSE)
04:40 AM Bug #20157: Regression in GC.measure_total_time
ruby_3_3 920c17dc94239baae05b513046b27967f11a3569. naruse (Yui NARUSE)
04:34 AM Revision 57d8d6e5 (git): Backport bundled_gems.rb for Ruby 3.3 (#9457)
racc is extracted at Ruby 3.3, not 3.4 hsbt (Hiroshi SHIBATA)
04:33 AM Revision 920c17dc (git): Backport #20157 to Ruby 3.3 (#9428)
* Fix GC.measure_total_time regression
Commit 93ac7405b80cc61930d73da04441fa09af1851e1 introduced a regression
where...
kjtsanaktsidis (KJ Tsanaktsidis)
04:15 AM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
shioimm (Misaki Shioi) wrote in #note-10:
> Regarding the content mentioned above, I have made the following changes...
shugo (Shugo Maeda)
04:11 AM Bug #20149: Fix memory leak in IPSocket rb_getaddrinfo
ruby_3_3 2886564279dff87a6c293f6e80436eb2b309967e merged revision(s) 6aacbd690ccde53f9b97c6673482cb11df3f2955. naruse (Yui NARUSE)
03:18 AM Revision a7b47f96 (git): [PRISM] Add splatkw to super calls when necessary
kddnewton (Kevin Newton)
03:18 AM Revision d96b4586 (git): [PRISM] Fix up index write nodes to match
kddnewton (Kevin Newton)
03:18 AM Revision d36c31ed (git): [PRISM] Fix keywords in index write nodes
kddnewton (Kevin Newton)
03:18 AM Revision 8acd1f70 (git): [PRISM] Fix combination of safe navigation and ||= and &&= operators
kddnewton (Kevin Newton)
03:18 AM Revision 4d01c590 (git): [PRISM] Fix combination of attribute write and safe navigation
kddnewton (Kevin Newton)
02:39 AM Revision 7fd2c442 (git): Bump ruby/setup-ruby from 1.170.0 to 1.171.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.170.0 to 1.171.0.
- [Release notes](https://github...
dependabot[bot]
02:28 AM Bug #20231 (Closed): Don't wait in io_binwrite_string if not necessary.
ioquatix (Samuel Williams)
01:52 AM Bug #20231 (Closed): Don't wait in io_binwrite_string if not necessary.
PR: https://github.com/ruby/ruby/pull/9792
Writing to a buffered IO can result in the entire internal buffer being...
ioquatix (Samuel Williams)
02:27 AM Revision 2554c5d3 (git): Don't wait in `io_binwrite_string` if not necessary. (#9792)
Samuel Williams
02:23 AM Feature #20210: Invalid source encoding raises ArgumentError, not SyntaxError
@naruse I'm fine exiting immediately, I was just hoping to make it a syntax error.
@Edwing123 By default Ruby sour...
kddnewton (Kevin Newton)
01:52 AM Feature #20210: Invalid source encoding raises ArgumentError, not SyntaxError
Hi. One question:
When parsing begins, what encoding do `Prism` and `parse.y` use by default?
Anonymous
12:13 AM Feature #20210: Invalid source encoding raises ArgumentError, not SyntaxError
Parsing entire source code with wrong encoding is not reasonable because in some encoding including SJIS (Windows-31J... naruse (Yui NARUSE)
01:39 AM Revision 28865642 (git): merge revision(s) 6aacbd690ccde53f9b97c6673482cb11df3f2955: [Backport #20149]
Free pthread_attr after setting up the thread
[bug #20149]
---
ext/socket/raddrinfo.c | 12 ...
naruse (Yui NARUSE)
01:39 AM Bug #20145: Memory leak when duplicating identhash
ruby_3_3 aeffb5e21de6000a3dcfa0ca88c6ba3c3c42d8db merged revision(s) 6c252912af4981f016a9abdb4c1689307a4f1d2f. naruse (Yui NARUSE)
01:05 AM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
> The key seems to be whether sort was in practice stable on some platform/OS
Ah, until recently, glibc's `qsort` ...
alanwu (Alan Wu)
12:14 AM Bug #20208 (Closed): Net::HTTP errors with Errno::EAFNOSUPPORT when setting local_host with Addrinfo
OK, I merged https://github.com/ruby/ruby/pull/9790 for the revert, and opened https://github.com/ruby/ruby/pull/9791... kjtsanaktsidis (KJ Tsanaktsidis)
12:09 AM Revision da33c5ac (git): Revert "Set AI_ADDRCONFIG when making getaddrinfo(3) calls for outgoing conns"
This reverts commit 673ed41c81cf5a6951bcb2c3dec82d7bd6ea7440. kjtsanaktsidis (KJ Tsanaktsidis)
12:09 AM Revision 67404d65 (git): Revert "always omit test_ai_addrconfig."
This reverts commit abf192eb16ea845ac11743a32bd2f3e2d234488b. kjtsanaktsidis (KJ Tsanaktsidis)
12:08 AM Revision aeffb5e2 (git): merge revision(s) 6c252912af4981f016a9abdb4c1689307a4f1d2f: [Backport #20145]
Memory leak when duplicating identhash
[Bug #20145]
Before this commit, both copy_compare_by_id and...
naruse (Yui NARUSE)
12:07 AM Bug #20104: Regexp#match returns nil but allocates T_MATCH objects
ruby_3_3 f585171a6b1d6c20b3c162fd59dc874510ed2a49 merged revision(s) e12d4c654e3cb7a4473014610bc3bae41aaf811e. naruse (Yui NARUSE)

01/31/2024

11:44 PM Revision 6a689e33 (git): [ruby/irb] Omit 2 encoding error related tests for TruffleRuby
(https://github.com/ruby/irb/pull/854)
They're failing due to an issue in Prism: https://github.com/ruby/prism/issue...
st0012 (Stan Lo)
11:26 PM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
Seems like maybe it was changed by #19643 for `sort_by`. But in any case, it was never stable since it was using the ... alanwu (Alan Wu)
10:57 PM Bug #20208: Net::HTTP errors with Errno::EAFNOSUPPORT when setting local_host with Addrinfo
I discussed this a bit with @ioquatix, we've decided to revert the change to make AI_ADDRCONFIG be used in DNS lookup... kjtsanaktsidis (KJ Tsanaktsidis)
09:29 PM Revision 9fdfdf4f (git): [ruby/prism] Always return the character width for char_is_identifier_start() and char_is_identifier_utf8()
* This is also faster than calling pm_encoding_utf_8_alpha_char/pm_encoding_utf_8_alnum_char
as those compute the c...
Eregon (Benoit Daloze)
08:49 PM Revision b5a2c60d (git): [PRISM] Support SCRIPT_LINES__
kddnewton (Kevin Newton)
08:44 PM Revision c4697991 (git): Do not modify provided argument splat when using ruby2_keywords with anonymous splat
Previously, this would push the provided keywords onto the argument
splat. Add ruby2_keywords to the list of other c...
jeremyevans (Jeremy Evans)
07:54 PM Revision 71f16d49 (git): Raise errors for dumping prism parse tree
kddnewton (Kevin Newton)
07:20 PM Revision b4880af0 (git): [PRISM] Fix test_bug_reporter with prism
kddnewton (Kevin Newton)
07:11 PM Revision cb98b018 (git): [PRISM] Fix else with rescue
Fixes ruby/prism#2307. peterzhu2118 (Peter Zhu)
07:07 PM Revision 95c9711d (git): [rubygems/rubygems] Fix musl platform not being added to the lockfile
https://github.com/rubygems/rubygems/commit/235f7b4266 deivid (David Rodrรญguez)
06:41 PM Revision c28ee912 (git): [PRISM] Fix incorrect use of VM_CALL_KW_SPLAT_MUT in zsuper with keyword splat
This copies the changes from 771a2f039b9a059a73e8f111d1d46590fa697f63.
Fixes ruby/prism#2310.
etienne (ร‰tienne Barriรฉ)
06:41 PM Revision 610636fd (git): [PRISM] Mirror iseq APIs
Before this commit, we were mixing a lot of concerns with the prism
compile between RubyVM::InstructionSequence and t...
kddnewton (Kevin Newton)
06:13 PM Revision 21031f0a (git): YJIT: Float arithmetics are actually leaf
with these guards in YJIT.
The previous commit was to fix "conflict" between two PRs, but I
actually wanted to use i...
k0kubun (Takashi Kokubun)
06:10 PM Revision 2220c4cf (git): YJIT: s/jit_prepare_routine_call/jit_prepare_non_leaf_call/
k0kubun (Takashi Kokubun)
05:58 PM Revision 09427f51 (git): YJIT: Add codegen for Float arithmetics (#9774)
* YJIT: Add codegen for Float arithmetics
* Add Flonum and Fixnum tests
k0kubun (Takashi Kokubun)
05:54 PM Revision cc9bbbdd (git): YJIT: Add jit_prepare_for_gc function (#9775)
* YJIT: Add jit_prepare_for_gc function
* s/jit_prepare_routine_call/jit_prepare_non_leaf_call/
* s/jit_prepare_for...
k0kubun (Takashi Kokubun)
04:54 PM Revision 06732d49 (git): [rubygems/rubygems] Remove truffleruby specific stuff no longer needed
We're already testing with truffleruby 23.
https://github.com/rubygems/rubygems/commit/cd0494d628
deivid (David Rodrรญguez)
04:30 PM Bug #20228: Memory leak in Regexp timeout
> Using ruby APIs in onigmo doesnโ€™t feel nice.
I changed it to call `HANDLE_REG_TIMEOUT_IN_MATCH_AT` in onigmo, wh...
peterzhu2118 (Peter Zhu)
04:12 AM Bug #20228: Memory leak in Regexp timeout
Good find, thanks!
I'm a little concerned about the overhead of `rb_protect` for a typical simple match, but it's ...
mame (Yusuke Endoh)
12:57 AM Bug #20228: Memory leak in Regexp timeout
Using ruby APIs in onigmo doesnโ€™t feel nice. nobu (Nobuyoshi Nakada)
03:47 PM Revision 51753ec7 (git): Annotate Symbol#to_s as leaf (#9769)
k0kubun (Takashi Kokubun)
01:22 PM Revision a322b2fa (git): [rubygems/rubygems] Make slow perf specs more stable
This seems worse to detect performance regressions, but at least should
not have many false positives.
https://githu...
deivid (David Rodrรญguez)
01:21 PM Revision c70052e5 (git): [rubygems/rubygems] WEBrick:Utils::TimeoutHandler is always provided after webrick gem
https://github.com/rubygems/rubygems/commit/b0502a0c50 hsbt (Hiroshi SHIBATA)
12:43 PM Revision 5808c869 (git): [ruby/prism] Fix description of line parsing option and state it's 1-indexed
https://github.com/ruby/prism/commit/b2d2b91222 andrykonchin (Andrew Konchin)
12:14 PM Revision 171d4bec (git): [rubygems/rubygems] Fix some flaky test failures on Windows
Some specs assert empty output, but sometimes they print warnings about
redefinition warnings. Ignore those until the...
deivid (David Rodrรญguez)
11:43 AM Bug #19999: Backport: .travis.yml and fixed commits
jaruga (Jun Aruga) wrote in #note-8:
> @nagachika I sent the PR to the ruby_3_2 branch to pass Travis CI with the la...
jaruga (Jun Aruga)
10:43 AM Revision aefc9889 (git): readline: Skip the test_interrupt_in_other_thread on arm32.
Skip the test_interrupt_in_other_thread test failing on Travis arm32.
The failing test is not a new issue. It had alr...
Jun Aruga
10:43 AM Revision fc25e166 (git): Backport .travis.yml from ruby_3_3 branch.
Update the .travis.yml file copied from the latest ruby_3_3 branch
<5124f9ac7513eb590c37717337c430cb93caa151>.
Jun Aruga
08:57 AM Misc #20013: Travis CI status
jaruga (Jun Aruga) wrote in #note-16:
> > Now I am testing the Travis s390x on my forked repository.
>
> I tested...
jaruga (Jun Aruga)
08:56 AM Revision 816ce53a (git): Revert ".travis.yml: Drop s390x temporarily."
This reverts commit 7ded31d36dc78c1495b03a45ec1a3235fdd81f1e.
I was told from Travis CI support that their infra tea...
Jun Aruga
07:15 AM Revision 2deb105a (git): Bump ruby/setup-ruby from 1.169.0 to 1.170.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.169.0 to 1.170.0.
- [Release notes](https://github...
dependabot[bot]
07:14 AM Revision a7ebe467 (git): Add newline between end and def
ono-max (Naoto Ono)
07:14 AM Revision 45b53dd8 (git): Add the ability to generate Launchable test reports
ono-max (Naoto Ono)
06:23 AM Bug #20230 (Closed): Fix crash when passing large keyword splat to method accepting keywords and keyword splat
The following code causes a crash in Ruby 2.2-3.3 and master:
```ruby
h = {}
1000000.times{|i| h[i.to_s.to_sym] ...
jeremyevans0 (Jeremy Evans)
05:56 AM Revision 3de2ab7f (git): [ruby/yaml] Make PStore support as optional
https://github.com/ruby/yaml/commit/da421ce46f hsbt (Hiroshi SHIBATA)
05:56 AM Revision 7c8f9603 (git): [flori/json] Make OpenStruct support as optional
https://github.com/flori/json/commit/202ffe2335 hsbt (Hiroshi SHIBATA)
04:31 AM Revision f3df218f (git): Introduced `rb_node_const_decl_val` function
Introduce `rb_node_const_decl_val` function to allow `rb_ary_join` and
`rb_ary_reverse` functions to be removed from ...
S_H_ (Shun Hiraoka)
03:16 AM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
Regarding the content mentioned above, I have made the following changes to the commit:
https://github.com/ruby/ruby/...
shioimm (Misaki Shioi)

01/30/2024

11:41 PM Misc #20013: Travis CI status
> Now I am testing the Travis s390x on my forked repository.
I tested. I sent a PR to add the s390x again.
https:...
jaruga (Jun Aruga)
07:48 PM Misc #20013: Travis CI status
jaruga (Jun Aruga) wrote in #note-14:
> I will drop the s390x case in Travis CI temporarily. I am not sure that the ...
jaruga (Jun Aruga)
02:33 PM Misc #20013: Travis CI status
I will drop the s390x case in Travis CI temporarily. I am not sure that the issue comes from an infra or Ruby. But ri... jaruga (Jun Aruga)
12:46 PM Misc #20013: Travis CI status
It seems that Travis s390x is slow, running out the max 50 minutes (ruby_3_3 specific issue?),
https://app.travis-ci...
jaruga (Jun Aruga)
11:06 PM Bug #20227: Unexpected "<internal:array>" appears since c84237f9531aed3b204d3fdacc2dd9d2bd4c7d81
FWIW I'm keeping https://gist.github.com/eregon/912e6359e83781c5fa1c638d3768c526 to show that more methods are being ... Eregon (Benoit Daloze)
07:23 PM Bug #20227: Unexpected "<internal:array>" appears since c84237f9531aed3b204d3fdacc2dd9d2bd4c7d81
For the record I fixed it in Rails with https://github.com/rails/rails/pull/50923. byroot (Jean Boussier)
05:57 PM Bug #20227: Unexpected "<internal:array>" appears since c84237f9531aed3b204d3fdacc2dd9d2bd4c7d81
As Jean said, this is intentional. It's not new in Ruby 3.4 that we're changing backtraces by Ruby rewrite (Ruby 3.0:... k0kubun (Takashi Kokubun)
12:19 PM Bug #20227 (Closed): Unexpected "<internal:array>" appears since c84237f9531aed3b204d3fdacc2dd9d2bd4c7d81
@yahonda this isn't a regression, it happens when methods are migrated from pure C to the new Primitive system. It's ... byroot (Jean Boussier)
11:47 AM Bug #20227 (Closed): Unexpected "<internal:array>" appears since c84237f9531aed3b204d3fdacc2dd9d2bd4c7d81
Unexpected "<internal:array>" appears since c84237f9531aed3b204d3fdacc2dd9d2bd4c7d81
Rails CI against Ruby master ...
yahonda (Yasuo Honda)
10:22 PM Revision 8041b7d9 (git): [PRISM] pm_compile_logical: Fix OrNode in IfNode predicate
Fixes: https://github.com/ruby/prism/issues/2294 eightbitraptor (Matt V-H)
10:22 PM Revision 1142ed2f (git): [PRISM] Remove unneccessary uses of cond_seq
As this is compiled into only on the recursive call and then added, we
can just use `ret` directly
eightbitraptor (Matt V-H)
09:43 PM Revision dddef93b (git): Fix memory leak in File.expand_path
File.expand_path leaks the dir if the encodings are not compatible.
For example:
Encoding.default_external = En...
peterzhu2118 (Peter Zhu)
08:29 PM Bug #20229: Empty keyword splat in array not removed in ARGSPUSH case
I found that this bug was actually reported earlier in #20180, which I already have submitted a pull request to fix. ... jeremyevans0 (Jeremy Evans)
08:00 PM Bug #20229 (Closed): Empty keyword splat in array not removed in ARGSPUSH case
For the following code:
```ruby
a = []
kw = {}
[*a, **kw]
```
Ruby 2.0-3.3 return `[{}]`, when the desired ...
jeremyevans0 (Jeremy Evans)
07:59 PM Revision c1f8d974 (git): YJIT: Specialize splatkw on T_HASH (#9764)
* YJIT: Specialize splatkw on T_HASH
* Fix a typo
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
* Fix a ...
k0kubun (Takashi Kokubun)
07:57 PM Revision fe5590e4 (git): YJIT: add specialized codegen for fixnum XOR (#9763)
maximecb (Maxime Chevalier-Boisvert)
07:29 PM Bug #20228 (Closed): Memory leak in Regexp timeout
GitHub PR: https://github.com/ruby/ruby/pull/9765
If a Regexp::TimeoutError is raised, the `stk_base` and `OnigReg...
peterzhu2118 (Peter Zhu)
06:45 PM Revision 731367d0 (git): [ruby/prism] Fix up CI
https://github.com/ruby/prism/commit/224ea85565 kddnewton (Kevin Newton)
06:19 PM Revision 8e708e4a (git): Update forwarding locals for prism
tenderlovemaking (Aaron Patterson)
05:54 PM Revision 6b350bc6 (git): [DOC] Note about the ticket number
k0kubun (Takashi Kokubun)
05:49 PM Revision 1891b4b6 (git): [DOC] Add a NEWS entry about Array#each
in response to [Bug #20227] k0kubun (Takashi Kokubun)
04:47 PM Revision 20732cad (git): Make compile_array first_chunk argument bool instead of int
jeremyevans (Jeremy Evans)
04:47 PM Revision 332e0db6 (git): Avoid unnecessary array allocation for ARGSCAT with LIST body
Previously, this would use newarray followed by concattoarray.
This now uses pushtoarray instead, avoiding the unnece...
jeremyevans (Jeremy Evans)
04:10 PM Revision ba06a825 (git): [ruby/prism] Better error messages for unexpected tokens in prefix
https://github.com/ruby/prism/commit/a35b8e45ee kddnewton (Kevin Newton)
03:29 PM Revision c85e28d1 (git): [PRISM] Remove unused variable
peterzhu2118 (Peter Zhu)
03:22 PM Revision 846f87ee (git): .travis.yml: Drop s390x temporarily.
The s390x pipelines are timeout (50 minutes) on both master and ruby_3_3
branches. Drop it temporarily.
* https://ap...
Jun Aruga
03:21 PM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
> many developers will have come to rely on and expect that behavior,
I think that's a fair point, similar to e.g ...
Eregon (Benoit Daloze)
02:50 PM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
If sort *was* stable for a long time (it does seem like it was, but I am not 100% sure), then despite Ruby's disclaim... johnnyshields (Johnny Shields)
01:48 PM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
Regardless of any individual impressions, Ruby never made any stability guarantees for sorting. It was always explici... ufuk (Ufuk Kayserilioglu)
01:34 PM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
Whether or not Ruby's documentation made any explicit guarantees, I was under the strong impression (as per the Ruby ... johnnyshields (Johnny Shields)
10:58 AM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
`Enumerable#sort_by` was also documented to not be stable in 3.2 (and previous versions): https://ruby-doc.org/3.2.3/... ufuk (Ufuk Kayserilioglu)
10:44 AM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
> Sorting in Ruby never was stable
My mistake, like Roger Pack in https://github.com/crystal-lang/crystal/issues/2...
Eregon (Benoit Daloze)
10:25 AM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
Here is the previous discussion from 15 years ago: https://bugs.ruby-lang.org/issues/1089
It might be about time t...
ufuk (Ufuk Kayserilioglu)
10:22 AM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
Sorting in Ruby never was stable. There were discussions to make it stable, but Matz was concerned about the speed im... ufuk (Ufuk Kayserilioglu)
10:17 AM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
When was `sort`/`sort_by` changed to no longer be stable? I don't remind any ticket about it or NEWS entry.
IMO it's...
Eregon (Benoit Daloze)
10:15 AM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
You can force stability by using the original index as a tiebreaker.
```ruby
arr = [*Array.new(15,1), -0.02, 0.02]
p...
bkDJ (Djilani Kebaili)
03:39 AM Bug #20226: Inconsistent Sort results on 3.3.0 compared to previous versions
`sort` family methods do not guarantee stable sort.
That means the result order of the same value elements is not af...
nobu (Nobuyoshi Nakada)
03:26 AM Bug #20226 (Closed): Inconsistent Sort results on 3.3.0 compared to previous versions
Try this code block:
```
[-0.9, -0.88, -0.85, -0.83, -0.81, -0.79, -0.77, -0.75, -0.73, -0.71, -0.69, -0.67, -0.65,...
omerby (Omer Ben Yosef)
02:45 PM Revision 4e72c9af (git): rbinstall.rb: Fix a closing parenthesis [ci skip]
nobu (Nobuyoshi Nakada)
02:02 PM Misc #19758: Statically link ext/json
Hello,
I am facing the same issue today, though I am presently on Ubuntu, not windows. I realized that `Init_ext` w...
jmarrec (Julien Marrec)
01:49 PM Revision 928f3884 (git): [DOC] Fix Ripper DSL input example
'!' suffix is needed for event dispatch. yui-knk (Kaneko Yuichiro)
01:36 PM Revision 64fa4c75 (git): rbinstall.rb: Show types to install in the help [ci skip]
nobu (Nobuyoshi Nakada)
12:55 PM Revision fd44b42f (git): [ruby/irb] Fix undef and alias indent
(https://github.com/ruby/irb/pull/838)
https://github.com/ruby/irb/commit/a641746b18
tompng (tomoya ishida)
12:18 PM Revision f73ae058 (git): Prefer `sa_handler` to `sa_sigaction` in Wasm
Previously the code assigns `handler` function pointer, which accepts
one argument, to `sigact.sa_sigaction`, which a...
mame (Yusuke Endoh)
11:29 AM Revision f585171a (git): merge revision(s) e12d4c654e3cb7a4473014610bc3bae41aaf811e: [Backport #20104]
Don't create T_MATCH object if /regexp/.match(string) doesn't match
Fixes [Bug #20104]
---
...
naruse (Yui NARUSE)
11:28 AM Bug #20090: Anonymous arguments are now syntax errors in unambiguous cases
ruby_3_3 f8f0d342e48a38caac6d32b438c145bb581a51e6 merged revision(s) 3d19409637de1462b6790d2a92344bf0a10d8c52. naruse (Yui NARUSE)
10:19 AM Revision 86547fd6 (git): [ruby/io-console] Move the condition to omit to command line option
https://github.com/ruby/io-console/commit/32583460e1 nobu (Nobuyoshi Nakada)
10:19 AM Revision c2cb5b44 (git): [ruby/io-console] Move the condition to omit outside the method
https://github.com/ruby/io-console/commit/8b9b5b611a nobu (Nobuyoshi Nakada)
09:57 AM Revision f8f0d342 (git): merge revision(s) 3d19409637de1462b6790d2a92344bf0a10d8c52: [Backport #20090]
Use index for referring to symbols in `args` rule instead of named
references
In `args: args ',' ar...
naruse (Yui NARUSE)
09:26 AM Revision 2f54422d (git): [rubygems/rubygems] Update namespace Gem::Resolver::Molinillo to Gem::Molinillo
https://github.com/rubygems/rubygems/commit/6c4caf3ab0 hsbt (Hiroshi SHIBATA)
09:26 AM Revision b31995d8 (git): [rubygems/rubygems] Rename molinillo wrapper file to vendored_molinillo.rb
https://github.com/rubygems/rubygems/commit/d7c15f6fd7 hsbt (Hiroshi SHIBATA)
09:00 AM Revision 9f18cbd7 (git): Revert "merge revision(s) bc002971b6ad483dbf69b8a275c44412bb6ab954: [Backport #20094]"
This reverts commit d4b780e84e9a6b858d0f6c6a44b22da0d2f5835e. naruse (Yui NARUSE)
08:41 AM Revision d4b780e8 (git): merge revision(s) bc002971b6ad483dbf69b8a275c44412bb6ab954: [Backport #20094]
[Bug #20094] Distinguish `begin` and parentheses
---
compile.c | 1 +
p...
naruse (Yui NARUSE)
05:48 AM Revision 361b3efe (git): Use `UNDEF_P`
nobu (Nobuyoshi Nakada)
05:07 AM Revision 03246171 (git): Move molinillo under the vendor directory
hsbt (Hiroshi SHIBATA)
05:07 AM Revision dfa8e696 (git): Move tsort under the vendor directory
hsbt (Hiroshi SHIBATA)
05:06 AM Revision 881e76ce (git): Move timeout under the vendor directory
hsbt (Hiroshi SHIBATA)
05:05 AM Revision 04dbdc81 (git): Move net-http under the vendor directory
hsbt (Hiroshi SHIBATA)
05:05 AM Revision 6933aee9 (git): Move net-protocol under the vendor directory
hsbt (Hiroshi SHIBATA)
05:03 AM Revision 898090ad (git): Move optparse under the vendor directory
hsbt (Hiroshi SHIBATA)
05:01 AM Revision 5a0302d2 (git): Move resolv under the vendor directory
hsbt (Hiroshi SHIBATA)
04:02 AM Revision d187e06d (git): [rubygems/rubygems] Load wrapper file for vendored timeout
https://github.com/rubygems/rubygems/commit/deb1b6d293 hsbt (Hiroshi SHIBATA)
03:22 AM Revision 83966a57 (git): [PRISM] Method location for calls
kddnewton (Kevin Newton)
03:21 AM Bug #20190 (Closed): `invalid_encoding_string << number` should be valid encoding in some case, but does not
nobu (Nobuyoshi Nakada)
03:19 AM Revision db5d9429 (git): YJIT: No need to RESTORE_REG now that we reject tailcalls
Thanks to Kokubun for noticing.
Follow-up: b0711b1cf152afad0a480ee2f9bedd142a0d24ac
alanwu (Alan Wu)
03:10 AM Bug #20083: String#match? behaving inconsistently with Ruby 3.3.0
ruby_3_3 5f3dfa1c273c6fb9eae65ceca633b46f7e30f686 merged revision(s) d8702ddbfbe8cc7fc601a9a4d19842ef9c2b76c1. naruse (Yui NARUSE)
01:27 AM Bug #20083 (Closed): String#match? behaving inconsistently with Ruby 3.3.0
naruse (Yui NARUSE)
02:53 AM Bug #20225 (Assigned): Inconsistent behavior of regex matching for a regex has a null loop
Usually, in Ruby (Onigmo), when a null loop (a loop consuming no characters) occurs on regex matching, this loop is t... make_now_just (Hiroya Fujinami)
02:09 AM Bug #20086: Windows memory mapped file `IO::Buffer` is buggy.
ruby_3_3 818b4ea9b16e3570b431b86da9a24a5743b29617 merged revision(s) e5a4f757bdf5dc3d8c329ddd268432f9ecc7bff6. naruse (Yui NARUSE)
01:39 AM Bug #20224 (Closed): Backport https://github.com/ruby/ruby/pull/9634 to Ruby 3.3
It's nice if we can backport https://github.com/ruby/ruby/pull/9634 (3d19409637de1462b6790d2a92344bf0a10d8c52) to Rub... yui-knk (Kaneko Yuichiro)
01:31 AM Revision 5f3dfa1c (git): merge revision(s) d8702ddbfbe8cc7fc601a9a4d19842ef9c2b76c1: [Backport #20083]
Fix [Bug #20083]: correct a cache point size for atomic groups
(#9367)
---
regexec.c ...
naruse (Yui NARUSE)
01:24 AM Revision 818b4ea9 (git): merge revision(s) e5a4f757bdf5dc3d8c329ddd268432f9ecc7bff6: [Backport #20086]
Fix Window private file mapping unlink EACCES issue. (#9358)
* Don't return early.
* Add missing `m...
naruse (Yui NARUSE)
 

Also available in: Atom