Project

General

Profile

Activity

From 07/17/2024 to 07/23/2024

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 (Feedback): 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 (Closed): 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 (Closed): 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)

07/18/2024

08:48 PM Feature #20594: A new String method to append bytes while preserving encoding
> What is the reason not to use these APIs which are pretty much designed for this exact use case? Why introduce a th... alanwu (Alan Wu)
07:15 PM Feature #20594: A new String method to append bytes while preserving encoding
From the [dev meeting log](https://github.com/ruby/dev-meeting-log/blob/master/2024/DevMeeting-2024-07-11.md#feature-... Dan0042 (Daniel DeLorme)
08:03 PM Revision 8df74dea (git): YJIT: Tweak a comment a little [ci skip]
k0kubun (Takashi Kokubun)
08:01 PM Revision 2de8b5b8 (git): YJIT: Allow dev_nodebug to disasm release-mode code (#11198)
* YJIT: Allow dev_nodebug to disasm release-mode code
* Revert "YJIT: Squash canary before falling back"
This rever...
k0kubun (Takashi Kokubun)
07:38 PM Revision 059535bd (git): [ruby/prism] Mark local variable writes in value positions as being read
https://github.com/ruby/prism/commit/f5149870ab kddnewton (Kevin Newton)
07:30 PM Revision 1fd1fb2a (git): [PRISM] Use KW_SPLAT_MUT when possible for method calls
kddnewton (Kevin Newton)
07:30 PM Revision 53710be5 (git): [PRISM] Use concattoarray instead of splatarray+concatarray
kddnewton (Kevin Newton)
07:23 PM Revision 50e7c8f0 (git): [rubygems/rubygems] Fix unused variable warning when running RubyGems tests
https://github.com/rubygems/rubygems/commit/155d8fd051 deivid (David Rodríguez)
06:08 PM Revision 104dad3d (git): [rubygems/rubygems] Small tweak to avoid making the same mistake again
We checking completeness of a SpecSet, we should always ignore
dependencies not relevant for the current platform, si...
deivid (David Rodríguez)
06:08 PM Revision d62af8e5 (git): [rubygems/rubygems] Fix another removal issue
I failed to ignore (again) specs only considered for resolution under
some platforms that are not the current one.
h...
deivid (David Rodríguez)
06:08 PM Revision b07c7773 (git): [rubygems/rubygems] Simplify spec assertion
All that we expect here is no changes.
https://github.com/rubygems/rubygems/commit/ff984b6133
deivid (David Rodríguez)
06:07 PM Revision c9d2343f (git): [rubygems/rubygems] Fix incorrect standalone script when default gems with extensions are used
https://github.com/rubygems/rubygems/commit/55649cd09b deivid (David Rodríguez)
06:07 PM Revision bb9a9f31 (git): [rubygems/rubygems] Remove unnecessary `artifice` parameter
It's automatically detected from Gemfile.
https://github.com/rubygems/rubygems/commit/72301a2e3b
deivid (David Rodríguez)
06:07 PM Revision ba6ffaf2 (git): [rubygems/rubygems] Use latest shellwords for standalone test
https://github.com/rubygems/rubygems/commit/fcd04daf68 deivid (David Rodríguez)
06:07 PM Revision 99bf4021 (git): [rubygems/rubygems] Ext is generally not in `require_paths`
https://github.com/rubygems/rubygems/commit/83b417a166 deivid (David Rodríguez)
05:47 PM Revision d6ef7440 (git): Use rb_obj_hide instead of setting klass to 0
peterzhu2118 (Peter Zhu)
05:03 PM Revision b1608fc6 (git): [PRISM] Do not respect xflag when eflag is set
kddnewton (Kevin Newton)
05:03 PM Revision 8e5ac5a8 (git): [PRISM] Ensure not opening directories
kddnewton (Kevin Newton)
05:03 PM Revision 76ea5cde (git): Refactor RUBY_DESCRIPTION assertions in test_rubyoptions
kddnewton (Kevin Newton)
04:26 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
mame (Yusuke Endoh) wrote in #note-23:
> If you really want to "launch subprocess Ruby instances with the same settin...
Dan0042 (Daniel DeLorme)
02:12 PM Revision aa3030ac (git): Fix empty hash instruction
When we have an empty hash the iseq should have a `newhash` but instead
had a `duphash`. To fix, check if the node's ...
eileencodes (Eileen Uchitelle)
10:56 AM Revision c304bf13 (git): [ruby/irb] Clear ENV["XDG_CONFIG_HOME"] to avoid loading
user-defined irbrc in TestIRB::ConfigValidationTest
(https://github.com/ruby/irb/pull/982)
https://github.com/ruby/i...
tompng (tomoya ishida)
10:34 AM Revision b61e3a62 (git): Write rbinc files at once
Unexpected error can make empty files which result in unclear
compilation errors.
nobu (Nobuyoshi Nakada)
10:19 AM Revision 231a9acc (git): Free `data` of `struct rb_parser_ary` in `rb_parser_ary_free`
For example:
10.times do
100_000.times do
RubyVM::AbstractSyntaxTree.parse("x = 1 + 2 +", keep_tok...
yui-knk (Kaneko Yuichiro)
09:25 AM Revision 86c99a8d (git): [rubygems/rubygems] Fix gemspec `require_paths` type validation
It was not properly being detected as an Array attribute, and thus not
properly validated.
Fixing this allows us to ...
deivid (David Rodríguez)
09:25 AM Revision 95728a8b (git): [rubygems/rubygems] Warn non flattened require paths in old RubyGems versions too
https://github.com/rubygems/rubygems/commit/b3cdccc6fb deivid (David Rodríguez)
09:25 AM Revision f78a8761 (git): [rubygems/rubygems] Remove unnecessary Windows test skip
https://github.com/rubygems/rubygems/commit/946180f5c1 deivid (David Rodríguez)
04:50 AM Bug #19266: URI::Generic should use URI::RFC3986_PARSER instead of URI::DEFAULT_PARSER
I implemented to use RFC3986 parser for URI library at https://github.com/ruby/uri/pull/107
It provides `URI.parse...
hsbt (Hiroshi SHIBATA)
04:20 AM Revision c032e2c2 (git): [rubygems/rubygems] Use `caller_locations` instead of splitting `caller`
Also limit caller ranges
https://github.com/rubygems/rubygems/commit/a274b1af78
nobu (Nobuyoshi Nakada)
04:20 AM Revision c639bacd (git): [rubygems/rubygems] Fix detection of `gem_repo1` being updated
https://github.com/rubygems/rubygems/commit/9f9493c77c deivid (David Rodríguez)
03:42 AM Revision e0f40dc9 (git): Split URI::Parser examples with RFC2396 and RFC3986
Prepare for https://github.com/ruby/uri/pull/107 hsbt (Hiroshi SHIBATA)
03:22 AM Revision 509f1b50 (git): Lanunchable: Add missing condition statement
Addresses https://github.com/ruby/ruby/pull/11183/files#r1680617485. ono-max (Naoto Ono)
02:20 AM Revision d11d615b (git): Fix `utimesat` availability condition
As `__has_attribute` macro is always defined in internal/compilers.h,
gcc warns `-Wunguarded-availability-new` as unk...
nobu (Nobuyoshi Nakada)
01:39 AM Misc #20639 (Assigned): Request to host C API docs on docs.ruby-lang.org
I'm +1 for this request.
@znz Please let me know if you need to my support.
hsbt (Hiroshi SHIBATA)
12:40 AM Revision d0c17cbd (git): Require space between hash/content in ATX heading (#1140)
While writing some Markdown documentation for Rails, I came across an
interesting case where trying to link to an ins...
Hartley McGuire

07/17/2024

08:43 PM Revision 239d54df (git): [ruby/rdoc] Improve rubocop setup
(https://github.com/ruby/rdoc/pull/1139)
* Rename rake rubocop to rake format_generated_files
* Add rubocop rules t...
st0012 (Stan Lo)
07:46 PM Revision 573c2893 (git): Don't disable GC in rb_gc_impl_object_id
Disabling GC when creating the object ID was introduced in commit
67b2c21, but we shouldn't need to disable the GC.
peterzhu2118 (Peter Zhu)
07:45 PM Revision 2cc20c06 (git): [PRISM] Use RSTRING_PTR for Ruby parsing with fgets
kddnewton (Kevin Newton)
07:44 PM Revision e77e4aa6 (git): [ruby/prism] Have parse_stream handle NUL bytes
https://github.com/ruby/prism/commit/4a41d298c8 kddnewton (Kevin Newton)
06:17 PM Revision 0fe816f3 (git): [ruby/prism] [Doc] Tweak example of `Prism::Dispatcher`
This PR tweaked the documentation to correct an error encountered
when running the example code of `Prism::Dispatcher...
koic (Koichi ITO)
06:13 PM Revision 7de2c063 (git): [PRISM] Use RSTRING_LEN for Prism stream parsing
kddnewton (Kevin Newton)
06:06 PM Revision 278bbd7b (git): Revert pending `EVENT_RETURN` tests
* "Allow ambiguosity of `return` line"
65b991bc8571b7b718fc22bd33a43c4d269bf52d
* "Move to test/.excludes-prism"
...
nobu (Nobuyoshi Nakada)
06:06 PM Revision 64442494 (git): [Bug #20457] [Prism] Remove redundant return flag
nobu (Nobuyoshi Nakada)
05:58 PM Revision 7993b88e (git): [PRISM] Use StringValuePtr for fgets for Prism stream parsing
kddnewton (Kevin Newton)
02:47 PM Misc #20600: @ruby-lang.org has been migrated to Cloudflare
Got 2 emails and followed the instructions. Thank you. shyouhei (Shyouhei Urabe)
10:34 AM Misc #20600: @ruby-lang.org has been migrated to Cloudflare
hsbt (Hiroshi SHIBATA) wrote in #note-3:
> @shyouhei I re-send verification mail to you now.
Sorry, I've also res...
shugo (Shugo Maeda)
10:26 AM Misc #20600: @ruby-lang.org has been migrated to Cloudflare
@shyouhei I re-send verification mail to you now. hsbt (Hiroshi SHIBATA)
10:24 AM Misc #20600: @ruby-lang.org has been migrated to Cloudflare
shugo (Shugo Maeda) wrote in #note-1:
> It seems that verification mails have been expired.
> If you'd like to acti...
shyouhei (Shyouhei Urabe)
02:27 PM Misc #20639: Request to host C API docs on docs.ruby-lang.org
I think `/capi/en/VERSION` is a good starting point. alanwu (Alan Wu)
12:34 AM Misc #20639: Request to host C API docs on docs.ruby-lang.org
They hosted on S3 directly (URLs can be deduced from the workflow file), but they are not for public now.
I agree ...
znz (Kazuhiro NISHIYAMA)
02:25 PM Revision 99825a53 (git): [DOC] Note that rb_obj_freeze_inline() can raise NoMemoryError
And move it back to a public header because Doxygen might not be
scanning the .c files.
[Feature #18776]
alanwu (Alan Wu)
02:25 PM Revision cd428b49 (git): [DOC] No more is rb_ary_freeze() an alias of rb_obj_freeze()
[Feature #20589] alanwu (Alan Wu)
01:01 PM Revision 403f44ec (git): Make OBJ_ID_INCREMENT == RUBY_IMMEDIATE_MASK + 1
All the non-GC objects (i.e. immediates) have addresses such that
`obj % RUBY_IMMEDIATE_MASK != 0` (except for `Qfals...
peterzhu2118 (Peter Zhu)
11:47 AM Revision 690ea013 (git): Remove unused variable from GC compaction path
eightbitraptor (Matt V-H)
11:14 AM Revision 3c3cce13 (git): [rubygems/rubygems] Fix another case of `bundle lock --add-platform` doing nothing
https://github.com/rubygems/rubygems/commit/0629e27dda deivid (David Rodríguez)
10:17 AM Revision 58aebcbc (git): [rubygems/rubygems] Applied rubocop
https://github.com/rubygems/rubygems/commit/c26054e7e9 hsbt (Hiroshi SHIBATA)
09:41 AM Revision 3f65df48 (git): Report a TracePoint log when the TracePoint tests fail
mame (Yusuke Endoh)
08:37 AM Revision af603178 (git): Removed needless block arguments
hsbt (Hiroshi SHIBATA)
08:37 AM Revision 2a12e4ff (git): To avoid fd leak with fetch request for SSL server
hsbt (Hiroshi SHIBATA)
08:37 AM Revision e55bae4a (git): Close leaked TCPServer socket
hsbt (Hiroshi SHIBATA)
08:37 AM Revision 76386ba1 (git): Close leaked SSLServer socket
hsbt (Hiroshi SHIBATA)
08:37 AM Revision f4c642ed (git): Fixed fd leak from TCPServer
```
Leaked file descriptor: HTTPSProxyTest#test_https_proxy_ssl_connection: 8 : #<TCPServer:fd 8, AF_INET, 127.0.0.1,...
hsbt (Hiroshi SHIBATA)
07:53 AM Revision 2b3bfbc4 (git): Launchable: Fix Python package path
ono-max (Naoto Ono)
06:16 AM Revision 03a0ade9 (git): Fix double free when `getcwd` does not allocate buffer
Do not free the result at normal return from `ruby_getcwd`. nobu (Nobuyoshi Nakada)
05:37 AM Bug #20635: Can't build fat binaries on Darwin (Mac OS X)
Could you show the actual error messages? nobu (Nobuyoshi Nakada)
03:00 AM Revision 05502c1d (git): Add a macro to initialize `struct getattrlist_args`
nobu (Nobuyoshi Nakada)
02:42 AM Revision 37179016 (git): [DOC] Fix and improve array slicing example in range.c
* [DOC] Fix typo in range.c
In the example of the beginless range used for array slicing,
'..' range literal was...
Iskren
02:20 AM Bug #20587 (Closed): dir.c calls blocking filesystem APIs/system calls while holding the GVL
Applied in changeset commit:git|dabb6c49aa561ba8a222e8b9baf2cbf2e1a1608d.
----------
Release GVL around {,f}getattrl...
jeremyevans (Jeremy Evans)
02:20 AM Revision dabb6c49 (git): Release GVL around {,f}getattrlist calls in dir.c
Fixes [Bug #20587] jeremyevans (Jeremy Evans)
 

Also available in: Atom