Project

General

Profile

Activity

From 07/19/2024 to 07/25/2024

Today

04:14 PM Revision 7571ad42 (git): [Bug #20650] Fix memory leak in Regexp capture group when timeout (#11244)
Fix memory leak in Regexp capture group when timeout
[Bug #20650]
The capture group allocates memory that is leaked...
peterzhu2118 (Peter Zhu)
02:18 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
It's expected that fixing #17507 caused memory usage to increase. If anyone can come up with an approach that fixes ... jeremyevans0 (Jeremy Evans)
11:13 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
@jeremyevans0 What do you think? mame (Yusuke Endoh)
10:11 AM Misc #20652 (Open): Memory allocation for gsub has increased from Ruby 2.7 to 3.3
I recently upgraded from ruby 2.7.7 to 3.3.1 and noticed that the GC load increased.
When I used the allocation prof...
orisano (Nao Yonashiro)
01:54 PM Bug #20650: Memory leak in Regexp capture group when timeout
I opened a Ruby 3.3 backport here: https://github.com/ruby/ruby/pull/11244 peterzhu2118 (Peter Zhu)
01:23 PM Bug #20650 (Closed): Memory leak in Regexp capture group when timeout
Applied in changeset commit:git|10574857ce167869524b97ee862b610928f6272f.
----------
Fix memory leak in Regexp captu...
peterzhu2118 (Peter Zhu)
01:23 PM Revision 10574857 (git): Fix memory leak in Regexp capture group when timeout
[Bug #20650]
The capture group allocates memory that is leaked when it times out.
For example:
re = Regexp.new...
peterzhu2118 (Peter Zhu)
11:39 AM Revision 53f0d3b1 (git): [ruby/prism] Do not serialize common flags when PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS is set
* Note that we could shift the flags by 2 on serialize & deserialize
but it does not seems worth it as it does not ...
Eregon (Benoit Daloze)
11:39 AM Revision 9cc2747e (git): [ruby/prism] Do not serialize node_id when PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS is set
* $ bundle exec rake serialized_size:topgems
Before:
Total sizes for top 100 gems:
total source size: 90207647
t...
Eregon (Benoit Daloze)
07:46 AM Bug #20651 (Open): `false && (1 in 1)` produces argument stack underflow (-1)
`false && (1 in 1)` and `true || (1 in 1)` produces argument stack underflow since ruby 3.0
~~~
# ruby -v
ruby 3...
tompng (tomoya ishida)
05:43 AM Revision 22ad6b24 (git): Extend RUBY_TEST_TIMEOUT_SCALE on macos-14 and --repeat-count=2
mame (Yusuke Endoh)
04:47 AM Revision 5f6a1c2e (git): Omit TestFile#test_stat when the machine is stupidly slow
GitHub Actions macos-14 machine is stupid.
https://app.launchableinc.com/organizations/ruby/workspaces/ruby/data/tes...
mame (Yusuke Endoh)
04:23 AM Revision 357ae357 (git): Dump forwarding field of `struct rb_args_info` and `struct RNode_BLOCK_PASS`
yui-knk (Kaneko Yuichiro)

07/24/2024

07:55 PM Revision 30eba40f (git): [rubygems/rubygems] Remove `to_yaml_properties`
This is an old syck thing, no longer used anywhere.
https://github.com/rubygems/rubygems/commit/6f72d02bac
deivid (David Rodríguez)
07:19 PM Bug #20650 (Closed): Memory leak in Regexp capture group when timeout
GitHub PR: https://github.com/ruby/ruby/pull/11238
The capture group allocates memory that is leaked when it times...
peterzhu2118 (Peter Zhu)
07:00 PM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
matz (Yukihiro Matsumoto) wrote in #note-10:
> IMO, this is a good chance to upgrade Hash#inspect format to adopt cu...
vo.x (Vit Ondruch)
04:51 PM Revision 0d3ce312 (git): [ruby/openssl] Set time directly on the x509 store
(https://github.com/ruby/openssl/pull/770)
Instead of an ivar, so other ossl functions that take a store will use th...
segiddins (Samuel Giddins)
04:50 PM Revision 1388945f (git): [ruby/openssl] asn1: make ossl_asn1_get_asn1type() private
The function is not used anywhere outside of ossl_asn1.c.
https://github.com/ruby/openssl/commit/5392b79941
rhenium (Kazuki Yamaguchi)
04:50 PM Revision a1cf39bd (git): [ruby/openssl] x509attr: avoid using OpenSSL::ASN1 internals in #value=
OpenSSL::ASN1 is being rewritten in Ruby. To make it easier, let's
remove dependency to the instance variables and th...
rhenium (Kazuki Yamaguchi)
04:24 PM Revision 575fe63e (git): [ruby/prism] Inherit ractor state for child scopes
https://github.com/ruby/prism/commit/4576cb1d96 kddnewton (Kevin Newton)
04:20 PM Revision d08e5514 (git): Make Integer#round spec work regardless of pointer size
The spec is actually testing a behaviour stemming from NUM2INT(), and
since `sizeof(long)>=sizeof(int)`, `min_long-1`...
alanwu (Alan Wu)
04:20 PM Revision 28382505 (git): Get fixnum_{min,max} from RbConfig::LIMITS when available
It's better than guessing based on the pointer size if the
implementation provides it directly.
alanwu (Alan Wu)
04:20 PM Revision fbb981b9 (git): Stop depending on Integer#size to return `sizeof(long)`
There is no guarantee that Integer#size will continue to return
`sizeof(long)` for small integers.
Use the `l!` spec...
alanwu (Alan Wu)
04:20 PM Revision 12e6cf77 (git): Add "c_long_size" guard, supplanting "wordsize" and stop using Integer#size
What a "word" is when talking about sizes is confusing because it's a
highly overloaded term. Intel, Microsoft, and G...
alanwu (Alan Wu)
04:02 PM Revision 1a18b03e (git): [PRISM] Add anon_* flags for iseqs with anonymous * and **
kddnewton (Kevin Newton)
01:45 PM Bug #20649 (Closed): Ripper fails to tokenize `def f; (x)::A =`
Applied in changeset commit:git|97449338d6cb42d9dd7c9ca61550616e7e6b6ef6.
----------
[Bug #20649] Allow `nil` as 2nd...
nobu (Nobuyoshi Nakada)
12:32 PM Bug #20649: Ripper fails to tokenize `def f; (x)::A =`
https://github.com/ruby/ruby/pull/11235 nobu (Nobuyoshi Nakada)
07:06 AM Bug #20649 (Closed): Ripper fails to tokenize `def f; (x)::A =`
Ripper fails to tokenize some dynamic constant assignment syntax error code.
`''::A=` `(x)::A=` `(x).y::Z=` `[]::A=`...
tompng (tomoya ishida)
01:44 PM Revision 0a9f771e (git): Don't check live slot count when multi-Ractor
peterzhu2118 (Peter Zhu)
01:18 PM Revision 97449338 (git): [Bug #20649] Allow `nil` as 2nd argument of `assign_error`
Fallback to the last token element in that case, for the backward
compatibilities.
nobu (Nobuyoshi Nakada)
12:36 PM Revision f69ba571 (git): Move RUBY_FREE_AT_EXIT check earlier
Things that exit early, like `ruby -v`, could not use RUBY_FREE_AT_EXIT
because the check for RUBY_FREE_AT_EXIT was n...
peterzhu2118 (Peter Zhu)
08:54 AM Feature #20621: Check libruby.so hardening by annocheck
> BTW the question is if all *.so files or even all *.o files should be covered.
I agree on covering all the *.so ...
jaruga (Jun Aruga)
08:16 AM Revision 993bb55d (git): Bump ruby/setup-ruby from 1.187.0 to 1.188.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.187.0 to 1.188.0.
- [Release notes](https://github...
dependabot[bot]
06:31 AM Bug #20647 (Closed): Invalid return in class/module body from within singleton class
Applied in changeset commit:git|e642ddf7ae86e306674559ae745823fdbf56ea10.
----------
[Bug #20647] Disallow `return` ...
nobu (Nobuyoshi Nakada)
02:48 AM Bug #20647: Invalid return in class/module body from within singleton class
https://github.com/ruby/ruby/pull/11234 nobu (Nobuyoshi Nakada)
06:21 AM Feature #19979: Allow methods to declare that they don't accept a block via `&nil`
This proposal is suspended due to the Syntax Moratorium. Since this might cause "no block policing" in the community,... matz (Yukihiro Matsumoto)
05:44 AM Revision e642ddf7 (git): [Bug #20647] Disallow `return` directly within a singleton class
nobu (Nobuyoshi Nakada)
05:04 AM Revision f2f9d6ce (git): Fix test failure of e7610582ad8fd05655221b183257ed358c903ac8
nobu (Nobuyoshi Nakada)
01:45 AM Revision b4a02502 (git): [PRISM] Fix block param instructions when it has a recevier
In the following code:
```ruby
def foo(&blk)
blk.call
end
```
Prism was using the `getblockparam` instruction but...
eileencodes (Eileen Uchitelle)
01:45 AM Revision 70d4dcb7 (git): [Prism] Use `putnil` for nil kwargs, not `putobject {}`
This addresses one of the issues in the `test_kw_splat_nil` failure, but
doesn't make the test pass because of other ...
eileencodes (Eileen Uchitelle)
12:02 AM Feature #14919 (Closed): Add String#byteinsert
jeremyevans0 (Jeremy Evans)

07/23/2024

08:15 PM Revision 4b44590d (git): [rubygems/rubygems] Keep only the bare clone in the per app cache
We don't need an actual checkout since the cache path is no longer used
as the install location. Now the per app cach...
deivid (David Rodríguez)
08:15 PM Revision b50606c4 (git): [rubygems/rubygems] Don't serialize gemspec in the cache location
Now that the cache location is not used as the install location, this is
unnecessary, and it also prevents `bundle in...
deivid (David Rodríguez)
08:15 PM Revision a7657b01 (git): [rubygems/rubygems] Stop using the cache path as the install location
https://github.com/rubygems/rubygems/commit/ecadd02746 deivid (David Rodríguez)
08:15 PM Revision a4ec5f87 (git): [rubygems/rubygems] Stop removing the `.git` folder from cached git gems
If we want to change git gems to use a proper cache, instead of using
the cache folder as the install location, so we...
deivid (David Rodríguez)
08:15 PM Revision b1db0707 (git): [rubygems/rubygems] Refactor `set_paths!`
The method has two different concerns not straightforward to
distinguish.
One is to set a new `install_path`, which ...
deivid (David Rodríguez)
08:15 PM Revision 26b1c7ed (git): [rubygems/rubygems] Restrict local behaviour of git gems to local overrides
We want local overrides to behave just like "path gems" but per-app
caches are different.
https://github.com/rubygem...
deivid (David Rodríguez)
08:15 PM Revision 66e53941 (git): [rubygems/rubygems] Prefer `install_path` alias
For consistency with the rest of usages in this class.
https://github.com/rubygems/rubygems/commit/69f9ab34b1
deivid (David Rodríguez)
08:15 PM Revision 0710e608 (git): [rubygems/rubygems] Move duplicated code to a method
https://github.com/rubygems/rubygems/commit/fbb4ce168c deivid (David Rodríguez)
08:15 PM Revision 6b557915 (git): [rubygems/rubygems] Add debugging message to `Bundler::Source::Git#specs`
It's not obvious that the git source actually reinstalls a proper
checkout of the repository on usage if necessary. T...
deivid (David Rodríguez)
08:14 PM Revision 83b48022 (git): [rubygems/rubygems] Explicitly encode Gem::Dependency to yaml
This ensures that instance variable ordering cannot cause non-determinism in serialized gems
https://github.com/ruby...
segiddins (Samuel Giddins)
07:43 PM Revision e7610582 (git): [rubygems/rubygems] Fix `bundle exec gem uninstall`
* `bundle exec` assigns `Gem::Specification.all` to the set of specs
known to Bundler (a `Bundler::SpecSet`).
* `g...
deivid (David Rodríguez)
07:40 PM Revision 481c8345 (git): [rubygems/rubygems] Enable checksums on Bundler 3 for fresh lockfiles
And get specs passing.
https://github.com/rubygems/rubygems/commit/c23b5f5b84
deivid (David Rodríguez)
07:40 PM Revision 5b931d9d (git): [rubygems/rubygems] Extract a `rake_path` helper
https://github.com/rubygems/rubygems/commit/0f2db73619 deivid (David Rodríguez)
07:40 PM Revision b0a0eda2 (git): [rubygems/rubygems] Normalize a few specs using sources
Use the standard sources to avoid having to explictly pass ENV with the repo.
https://github.com/rubygems/rubygems/c...
deivid (David Rodríguez)
07:40 PM Revision 1758d436 (git): [rubygems/rubygems] Enforce passing a block to `simulate_platform`
https://github.com/rubygems/rubygems/commit/0658903e25 deivid (David Rodríguez)
07:35 PM Feature #14919: Add String#byteinsert
Given that we now have [`String#bytesplice` since Ruby 3.2](https://bugs.ruby-lang.org/issues/18598), these kinds of ... ufuk (Ufuk Kayserilioglu)
07:12 PM Bug #20648 (Open): Improve performance of CGI::Util::pretty (originally reported as security issue, later decided to not be a security risk)
I originally reported this bug as a security issue, because it can be used as a potential DOS vector for applications... somehacker (Jacob Miller)
06:45 PM Revision 6770bb4a (git): Fix running GC in finalizer when RUBY_FREE_AT_EXIT
The following code crashes because the GC ran during finalizers will
cause T_ZOMBIE objects to be on the heap, which ...
peterzhu2118 (Peter Zhu)
06:44 PM Revision cb863907 (git): [ruby/prism] Single line method bodies should not be marked as newline
https://github.com/ruby/prism/commit/18a8597276 kddnewton (Kevin Newton)
06:26 PM Revision 47c0df9c (git): [DOC] Allow linking to File#path in Tempfile.create
peterzhu2118 (Peter Zhu)
06:25 PM Revision c0099086 (git): [DOC] Fix code formatting for Tempfile.create
peterzhu2118 (Peter Zhu)
04:48 PM Revision b6800515 (git): [PRISM] Fix up ensure compilation, match compile.c
kddnewton (Kevin Newton)
03:06 PM Revision e9ae9390 (git): [DOC] Doc for BasicObject (#11139)
burdettelamar (Burdette Lamar)
02:54 PM Revision 744cf054 (git): [ruby/prism] Recurse upward to detect invalid returns
https://github.com/ruby/prism/commit/3d39b7961f kddnewton (Kevin Newton)
02:38 PM Bug #20647: Invalid return in class/module body from within singleton class
That’s actually interesting, because return in the middle of the class body, while might be considered questionable, ... zverok (Victor Shepelev)
02:02 PM Bug #20647 (Closed): Invalid return in class/module body from within singleton class
Currently, Ruby will raise a syntax error for invalid returns within class and module bodies, but skips it for single... kddnewton (Kevin Newton)
12:50 PM Revision f0d8a0a2 (git): Fix memory leak in parser when loading non-ASCII file
When loading a non-ASCII compatible file, an error is raised which
causes memory leak.
For example:
require "te...
peterzhu2118 (Peter Zhu)
05:53 AM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
> ambiguous keys should be wrapped by (double) quotation marks
BTW, if the change is so radical, can we also (star...
zverok (Victor Shepelev)
02:34 AM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
IMO, this is a good chance to upgrade Hash#inspect format to adopt current Hash usage.
* symbol keys should be rep...
matz (Yukihiro Matsumoto)
05:35 AM Revision 57b11be1 (git): Implement UNLESS NODE keyword locations
yui-knk (Kaneko Yuichiro)
03:36 AM Feature #20624 (Closed): Enhance `RubyVM::AbstractSyntaxTree::Node#locations` method and `RubyVM::AbstractSyntaxTree::Location` class
Applied in changeset commit:git|f23485a8d693cb69fd7b84c1ab93cb4198ecfe4a.
----------
[Feature #20624] Enhance `RubyV...
yui-knk (Kaneko Yuichiro)
02:11 AM Feature #20624: Enhance `RubyVM::AbstractSyntaxTree::Node#locations` method and `RubyVM::AbstractSyntaxTree::Location` class
I have heard this is for further development for Universal Parser (Prism API bridge).
Accepted.
Matz.
matz (Yukihiro Matsumoto)
03:36 AM Revision f23485a8 (git): [Feature #20624] Enhance `RubyVM::AbstractSyntaxTree::Node#locations`
This commit introduce `RubyVM::AbstractSyntaxTree::Node#locations` method
and `RubyVM::AbstractSyntaxTree::Location` ...
yui-knk (Kaneko Yuichiro)
12:54 AM Feature #20646: Improve Socket.tcp
#### Additional note
The PR for this issue is `Improve Socket.tcp` https://github.com/ruby/ruby/pull/11187 .
Also, a...
shioimm (Misaki Shioi)
12:00 AM Revision 5617fec1 (git): newobj_of(): Use parameter instead of GET_RACTOR()
No point repeating the work callers to this function already do. alanwu (Alan Wu)

07/22/2024

11:35 PM Revision 4667f8ec (git): bundled_gems.rb: Add a fast path (#11221)
bundled_gems.rb: Add a fast path
[Bug #20641] `Gem::BUNDLED_GEMS.warning?` adds a lot of extra
work on top of `requi...
Jean byroot Boussier
07:46 PM Revision 959c95a0 (git): [ruby/prism] Ignore shebangs in evals
https://github.com/ruby/prism/commit/4c55409794 kddnewton (Kevin Newton)
06:57 PM Revision 2effa98b (git): [ruby/prism] Implement mismatched indentation warning
https://github.com/ruby/prism/commit/5d5bf92be8 kddnewton (Kevin Newton)
06:22 PM Revision ec6f40e8 (git): [PRISM] Use xcalloc for constants instead of calloc
peterzhu2118 (Peter Zhu)
06:22 PM Revision 5299672a (git): [PRISM] Fix memory leak in constants
For example, the following code leaks:
code = 1000.times.map { |i| "var#{i} = 1" }.join("\n")
10.times do
...
peterzhu2118 (Peter Zhu)
04:33 PM Bug #20614: Integer#size returns incorrect values on 64-bit Windows
alanwu (Alan Wu) wrote in #note-8:
> We can fix the weirdness of having unused bytes in fixnums on LP32 platforms lik...
Eregon (Benoit Daloze)
04:20 PM Bug #20614: Integer#size returns incorrect values on 64-bit Windows
I [tried] making it return 8 for fixnums on Windows and that revealed a bunch of false assumptions `ruby/spec` makes.... alanwu (Alan Wu)
04:00 PM Bug #20614: Integer#size returns incorrect values on 64-bit Windows
@eragon might be because of FLONUM using the other half?
But the restriction of only half of 64-bit is way older t...
Hanmac (Hans Mackowiak)
12:17 PM Bug #20614: Integer#size returns incorrect values on 64-bit Windows
I found it: https://github.com/ruby/ruby/blob/82aee1a9467c0f1bd33eb0247c5a0a8b8b9a5049/include/ruby/internal/arithmet... Eregon (Benoit Daloze)
12:13 PM Bug #20614: Integer#size returns incorrect values on 64-bit Windows
@nobu Could you give some pointers?
At least `VALUE` is pointer-sized: https://github.com/ruby/ruby/blob/82aee1a9467...
Eregon (Benoit Daloze)
10:28 AM Bug #20614 (Rejected): Integer#size returns incorrect values on 64-bit Windows
This is very implementation dependent thing, and Fixnum is based on `long`, at least in the current implementation.
...
nobu (Nobuyoshi Nakada)
04:07 PM Revision 34adc073 (git): Document the reasoning behind the fix for [Bug #20641]
byroot (Jean Boussier)
02:25 PM Revision 5e3b8010 (git): Add newline when printing dlopen error message
peterzhu2118 (Peter Zhu)
11:14 AM Feature #20646 (Open): Improve Socket.tcp
*Patch: https://github.com/ruby/ruby/pull/11187*
This is a proposed improvement to `Socket.tcp`, which has impleme...
shioimm (Misaki Shioi)
08:33 AM Bug #20641 (Closed): `lib/bundled_gems.rb` makes `Kernel.require` over 100x slower
Applied in changeset commit:git|82aee1a9467c0f1bd33eb0247c5a0a8b8b9a5049.
----------
bundled_gems.rb: Add a fast pat...
byroot (Jean Boussier)
08:33 AM Revision 82aee1a9 (git): bundled_gems.rb: Add a fast path
[Bug #20641] `Gem::BUNDLED_GEMS.warning?` adds a lot of extra
work on top of `require`. When the call end up atually ...
byroot (Jean Boussier)
03:21 AM Revision 1dba48bb (git): bump rexml version to 3.3.2.
nagachika (Tomoyuki Chikanaga)
02:49 AM Revision 3a16971c (git): Bump github/codeql-action from 3.25.12 to 3.25.13
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.12 to 3.25.13.
- [Release notes](http...
dependabot[bot]
01:57 AM Bug #19266 (Closed): URI::Generic should use URI::RFC3986_PARSER instead of URI::DEFAULT_PARSER
I has been merged https://github.com/ruby/uri/pull/107
I consider to bump up version to 1.0.0 with the current URI...
hsbt (Hiroshi SHIBATA)

07/21/2024

11:24 PM Misc #20645 (Closed): Github release version string changed format
Fixed with `3.3.4` now. hsbt (Hiroshi SHIBATA)
08:13 PM Misc #20645 (Closed): Github release version string changed format
https://github.com/ruby/ruby/releases
Up to the 3.3.2 release the releases were named with dots and without a v pref...
owlking (Marek Wysinski)
05:05 PM Bug #20644: Requiring URI together with the Parser gem in Ruby 3.4.0dev
I've confirmed that the issue is resolved with the patch. Thank you!
koic (Koichi ITO)
04:57 PM Bug #20644 (Closed): Requiring URI together with the Parser gem in Ruby 3.4.0dev
Fixed by https://github.com/ruby/uri/pull/108 jeremyevans0 (Jeremy Evans)
04:42 PM Bug #20644 (Closed): Requiring URI together with the Parser gem in Ruby 3.4.0dev
Recently, `NameError` occurs when requiring URI together with the Parser gem in Ruby 3.4.0dev.
## Expected (Ruby ...
koic (Koichi ITO)
04:57 PM Revision da49bee0 (git): [ruby/uri] Restrict constant checks to current namespace to avoid conflicts with globals
https://github.com/ruby/uri/commit/7a64e0245f Randy Stauner
04:00 AM Revision c544f267 (git): Fix a typo in setup of block-after-blockcall tests
Unparenthesize the argument and make `command_call` when calling with
`do`-block.
nobu (Nobuyoshi Nakada)
03:25 AM Bug #19619: Numbered parameters don't work with method definition with parameters
ruby_3_2 commit:483ad38c6968feb1990f36d48d14fd55988d2150 merged revision(s) commit:b15e88e0fcccb03b9cc5e4c1478ec9b10e... nagachika (Tomoyuki Chikanaga)
03:25 AM Revision 483ad38c (git): merge revision(s) b15e88e0fcccb03b9cc5e4c1478ec9b10e26c961: [Backport #19619]
[Bug #19619] Preserve numbered parameters context
Preserve numbered parameters context across method definit...
nagachika (Tomoyuki Chikanaga)
03:10 AM Revision 3c4dc3e7 (git): Remove unneeded local variable
`$5`, `brace_block` is no longer assigned in this action. nobu (Nobuyoshi Nakada)
02:02 AM Revision 11e5ebab (git): Fix SEGV on method call with empty args and brace block for do block command call
yui-knk (Kaneko Yuichiro)
01:16 AM Revision e7dda086 (git): Do not set Enumerator::Lazy#zip to use packed format
Enumerator#zip yields a single array, not multiple arguments,
so Enumerator::Lazy#zip should do the same.
Fixes [#20...
jeremyevans (Jeremy Evans)

07/20/2024

12:53 PM Bug #19887: RUBYOPT doesn't work unless starting with `-`
This is long standing bug and I don't think it's worth to backport. nagachika (Tomoyuki Chikanaga)
12:52 PM Bug #20062: Numbered parameters are broken in Ruby 3.3-dev
I believe this issue is not the case on ruby_3_2. The test case added was passed with current ruby_3_2 branch. nagachika (Tomoyuki Chikanaga)
07:30 AM Bug #19781: Stack consistency error with tailcall and YJIT enabled
ruby_3_2 commit:2ac8e2049bad37da38576b1ed263713c66eba2c9 merged revision(s) commit:e1104017e3080fd432c0b5fdc3ae6e004f... nagachika (Tomoyuki Chikanaga)
06:12 AM Revision 2ac8e204 (git): merge revision(s) e1104017e3080fd432c0b5fdc3ae6e004ffd0834: [Backport #19781]
YJIT: Fix cfp inconsistency on tailcall (#8107)
[Bug #19781]
nagachika (Tomoyuki Chikanaga)
06:10 AM Bug #20490: Process.waitpid2(-1, Process::WNOHANG) misbehaves on Ruby 3.1 & 3.2 with detached process
Currently the backport PR for ruby_3_2 was made by @kjtsanaktsidis.
https://github.com/ruby/ruby/pull/10787
But in ...
nagachika (Tomoyuki Chikanaga)
06:05 AM Bug #20468: Segfault on safe navigation in for target
ruby_3_2 commit:c10c73fd16f1b7c9b658afee2b1b53ecfaed4fa4 merged revision(s) commit:2dd46bb82ffc4dff01d7ea70922f0e407a... nagachika (Tomoyuki Chikanaga)
06:05 AM Bug #20592: Interrupting Addrinfo causes Segmentation fault on alpine
ruby_3_2 commit:3fe51aa26867159af574fac8eba7ae86a0b30971 merged revision(s) commit:fba8aff7af450e476e97b62385427dfa51... nagachika (Tomoyuki Chikanaga)
06:04 AM Bug #20573: Warning.warn shouldn't be called for disabled warnings
ruby_3_2 commit:4f1e047f86b159528055d37ee0da2ad6e5a38c23 merged revision(s) commit:a3eb5e5c70eaee12964cdd807b8f199500... nagachika (Tomoyuki Chikanaga)
04:11 AM Revision 4f1e047f (git): merge revision(s) a3eb5e5c70eaee12964cdd807b8f19950003141f: [Backport #20573]
Don't call `Warning.warn` unless the category is enabled (#10981)
Don't call `Warning.warn` unless the categ...
nagachika (Tomoyuki Chikanaga)
04:05 AM Revision 3fe51aa2 (git): merge revision(s) fba8aff7af450e476e97b62385427dfa51850955, d8c6e91748871ab2287d7703347847fe18a292d2: [Backport #20592]
[Bug #20592] Fix segfault when sending NULL to freeaddrinfo
On alpine freeaddrinfo does not accept NULL poin...
nagachika (Tomoyuki Chikanaga)
04:04 AM Revision 84680dc2 (git): Include `undef` keyword into UNDEF NODE location
For example:
```
undef a, b
```
Before:
```
@ NODE_UNDEF (id: 1, line: 1, location: (1,6)-(1,10))*
```
After:
``...
yui-knk (Kaneko Yuichiro)
03:53 AM Revision c10c73fd (git): merge revision(s) 2dd46bb82ffc4dff01d7ea70922f0e407acafb4e: [Backport #20468]
[Bug #20468] Fix safe navigation in `for` variable nagachika (Tomoyuki Chikanaga)
02:25 AM Revision 6be539aa (git): Change UNDEF Node structure
Change UNDEF Node to hold their items to keep the original grammar
structure.
For example:
```
undef a, b
```
Befo...
yui-knk (Kaneko Yuichiro)
02:11 AM Bug #20643: Ruby 3.2 behavior change for protected and private methods when yield self
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> It is expected, see #18826. As it was a bug fix and not a new featu...
tatethurston (Tate Thurston)
01:37 AM Bug #20643 (Closed): Ruby 3.2 behavior change for protected and private methods when yield self
It is expected, see #18826. As it was a bug fix and not a new feature, it wasn't mentioned in NEWS, though I can see... jeremyevans0 (Jeremy Evans)
12:45 AM Bug #20643 (Closed): Ruby 3.2 behavior change for protected and private methods when yield self
I noticed the following behavior change when updating my application from Ruby 3.1 to Ruby 3.2. Using the following c... tatethurston (Tate Thurston)
01:36 AM Revision 174c01b8 (git): Remove redundant :use_block with yield (#11203)
k0kubun (Takashi Kokubun)

07/19/2024

10:30 PM Bug #20635 (Feedback): Can't build fat binaries on Darwin (Mac OS X)
alanwu (Alan Wu)
10:27 PM Bug #20642: YJIT prevents hardening
There's plenty of important users of control flow integrity (or similar features on various arches), Linux kernel and... alanwu (Alan Wu)
04:04 PM Bug #20642 (Open): YJIT prevents hardening
Working on #20621, it can be seen that annocheck reports:
~~~
Hardened: libruby.so.3.4.0: skip: cf-protection tes...
vo.x (Vit Ondruch)
09:47 PM Revision 8cf708d7 (git): Make rb_check_frozen_inline() static inline again
Since 730e3b2ce01915c4a98b79bb281b2c38a9ff1131
("Stop exposing `rb_str_chilled_p`"), we noticed a speed loss on a few...
alanwu (Alan Wu)
09:18 PM Bug #20623: Unexpected behavior of blocks in Enumerator::Lazy#zip
I submitted a pull request to fix this: https://github.com/ruby/ruby/pull/11212 jeremyevans0 (Jeremy Evans)
08:37 PM Revision 30f2d698 (git): Don't call `Kernel#require` in hot loop
Ref: https://bugs.ruby-lang.org/issues/20641
Even without the reference bug, `require 'date'` isn't cheap.
```ruby
...
byroot (Jean Boussier)
06:21 PM Bug #20626 (Closed): `defined?(@ivar)` should return nil when `@iv` can raise on Ractor
jeremyevans0 (Jeremy Evans)
03:45 PM Revision e801fa5c (git): [PRISM] Fix compiler warning for min_tmp_array_size
prism_compile.c:5770:40: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsi... peterzhu2118 (Peter Zhu)
03:45 PM Revision b226c340 (git): [PRISM] Fix compiler warning for min_tmp_hash_length
prism_compile.c:1406:27: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsi... peterzhu2118 (Peter Zhu)
03:08 PM Bug #20641: `lib/bundled_gems.rb` makes `Kernel.require` over 100x slower
Some extra context. This codepath is only active if using Bundler >= 2.5.0.
byroot (Jean Boussier)
12:03 PM Bug #20641 (Closed): `lib/bundled_gems.rb` makes `Kernel.require` over 100x slower
I just discovered this while profiling Active Record's test suite, and I noticed 40% of the runtime was in `$LOAD_PAT... byroot (Jean Boussier)
02:17 PM Revision 49cf042c (git): [PRISM] Define DATA constant when parsing stdin and __END__
kddnewton (Kevin Newton)
12:55 PM Revision 1e4c4fe4 (git): [ruby/prism] Fix parsing parentheses in hash patterns
https://github.com/ruby/prism/commit/22c3b559cd kddnewton (Kevin Newton)
12:53 PM Revision 51505f70 (git): Move frozen check out of rb_gc_impl_undefine_finalizer
peterzhu2118 (Peter Zhu)
12:53 PM Revision 4b05d2db (git): Make rb_gc_impl_undefine_finalizer return void
peterzhu2118 (Peter Zhu)
12:53 PM Revision 57d9b8ee (git): Assert that object is not frozen in rb_gc_impl_define_finalizer
peterzhu2118 (Peter Zhu)
12:53 PM Revision e8aa9daa (git): Move return value of rb_define_finalizer out
Moves return value logic of rb_define_finalizer out from
rb_gc_impl_define_finalizer.
peterzhu2118 (Peter Zhu)
12:53 PM Revision 0936e3d5 (git): Make define_final call rb_define_finalizer
peterzhu2118 (Peter Zhu)
08:07 AM Feature #20594: A new String method to append bytes while preserving encoding
@Dan0042 I already answered your same question in [Feature #20394]. Whether we like it or not neither StringIO nor IO... byroot (Jean Boussier)
07:39 AM Revision d9bff416 (git): Rename a variable name
ono-max (Naoto Ono)
07:39 AM Revision 09dd9a04 (git): Launchable: Aggregate test results based on file level
ono-max (Naoto Ono)
05:33 AM Bug #20640: Evaluation Order Issue in f(**h, &h.delete(key))
Pull request: https://github.com/ruby/ruby/pull/11206 jeremyevans0 (Jeremy Evans)
05:31 AM Bug #20640 (Open): Evaluation Order Issue in f(**h, &h.delete(key))
Since Ruby 3.0, there is an evaluation order issue when passing a single keyword splat and a block pass expression th... jeremyevans0 (Jeremy Evans)
05:17 AM Bug #20632 (Closed): madvise(MADV_FREE) failure should not crash the process
Applied in changeset commit:git|ca0dae25ed51627c411dfdbe9dec3901a321bff9.
----------
Don't crash if madvise(MADV_FRE...
Anonymous
05:17 AM Revision 6428ce80 (git): Avoid array allocation for f(*r2k_ary) when def f(x)
When calling a method that does not accept a positional splat
parameter with a splatted array with a ruby2_keywords f...
jeremyevans (Jeremy Evans)
05:17 AM Revision 1cc5a64d (git): Avoid hash allocation for f(*r2k_ary) when def f(kw: 1)
When calling a method that accepts keywords but not a keyword
splat with a splatted array with a ruby2_keywords flagg...
jeremyevans (Jeremy Evans)
05:17 AM Revision 4a49b060 (git): Check for and remove duplicate checks in test_allocation
jeremyevans (Jeremy Evans)
05:17 AM Revision 94e7d266 (git): Avoid array allocation for f(*empty_ary, **hash) when def f(x)
This avoids an array allocation when calling a method that does
not accept a positional splat or keywords with both a...
jeremyevans (Jeremy Evans)
05:17 AM Revision 2c79a764 (git): Remove splatarray true -> splatarray false peephole optimization
The compiler now uses splatarray false for all cases that would
previously have been optimized, so this is all dead c...
jeremyevans (Jeremy Evans)
05:17 AM Revision 3de20efc (git): Avoid unnecessary array allocations for f(arg, *arg, **arg, **arg), f(*arg, a: lvar), and other calls
The `f(arg, *arg, **arg, **arg)` case was previously not optimized.
The optimizer didn't optimize this case because o...
jeremyevans (Jeremy Evans)
03:44 AM Revision ca0dae25 (git): Don't crash if madvise(MADV_FREE or MADV_DONTNEED) fails
The M:N threading stack cleanup machinery tries to call MADV_FREE on the native
thread's stack, and calls rb_bug if i...
KJ Tsanaktsidis
03:40 AM Revision e5c06005 (git): mustermann depends on URI::RFC2396_PARSER behavior
It's part of dependencies for Sinatra. we should fix mustermann before final release of Ruby 3.4 hsbt (Hiroshi SHIBATA)
03:03 AM Revision 3222c672 (git): [rubygems/rubygems] Fix line comment issue for map
https://github.com/rubygems/rubygems/commit/7ca06e139b alpha0x00
01:15 AM Revision 1c81d1a6 (git): [PRISM] Refactor parser support into its own module
kddnewton (Kevin Newton)
01:15 AM Revision 69e65b9b (git): Fix interpolated sybmol node instructions
If the symbol node is interpolated like this `:"#{foo}"` the instruction
sequence should be `putstring` followed by `...
eileencodes (Eileen Uchitelle)
12:50 AM Revision 8db2325a (git): [ruby/uri] Also support URI::PATTERN with switch-back
https://github.com/ruby/uri/commit/823697edb4 hsbt (Hiroshi SHIBATA)
12:50 AM Revision 08233549 (git): [ruby/uri] Added test for constant definition and remove URI::REGEXP when using RFC3986_PARSER
https://github.com/ruby/uri/commit/6f616d97fc hsbt (Hiroshi SHIBATA)
12:50 AM Revision 2a56c184 (git): [ruby/uri] URI.extract needs to pass block
If given block to URI.extract, it returns nil.
https://github.com/ruby/uri/commit/984145c407
hsbt (Hiroshi SHIBATA)
12:50 AM Revision 862041d0 (git): [ruby/uri] Rename and switch RFC2396_PARSER test
https://github.com/ruby/uri/commit/2e0f73f05e hsbt (Hiroshi SHIBATA)
12:50 AM Revision ce4da88a (git): [ruby/uri] Switch to inspect with default parser
https://github.com/ruby/uri/commit/0ab9abbf08 hsbt (Hiroshi SHIBATA)
12:50 AM Revision 6452cf5c (git): [ruby/uri] Added compatibility methods for RFC2396 parser
https://github.com/ruby/uri/commit/bbb8a40eae hsbt (Hiroshi SHIBATA)
12:50 AM Revision 08e449d8 (git): [ruby/uri] Added URI.parser= method for switch back to RFC2396_Parser
https://github.com/ruby/uri/commit/d7dc19ad3f hsbt (Hiroshi SHIBATA)
 

Also available in: Atom