Project

General

Profile

Activity

From 07/16/2024 to 07/22/2024

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)

07/16/2024

10:47 PM Misc #20639 (Closed): Request to host C API docs on docs.ruby-lang.org
Having a first-party documentation site benefits readers and helps
contributors improve the contents. The Ruby stand...
alanwu (Alan Wu)
07:50 PM Revision c083a3ff (git): Fix memory leak reported in main ractor when RUBY_FREE_AT_EXIT
STACK OF 1 INSTANCE OF 'ROOT LEAK: <calloc in rb_ractor_main_alloc>':
6 dyld 0x184...
peterzhu2118 (Peter Zhu)
07:26 PM Revision c4a021ef (git): [ruby/prism] Move sample files under sample/prism
https://github.com/ruby/prism/commit/9e9b069404 kddnewton (Kevin Newton)
06:41 PM Revision e3c5d73e (git): [PRISM] Omit two more ast tests that will not work without RubyVM::Ast
kddnewton (Kevin Newton)
06:40 PM Revision b0a99d0d (git): [PRISM] Properly compile branch conditions in their own sequence
kddnewton (Kevin Newton)
06:40 PM Revision 90e945a7 (git): [PRISM] Fix up ensure+loop+break
kddnewton (Kevin Newton)
06:31 PM Bug #20638 (Closed): Threads not collected by GC under RUBY_MN_THREADS=1
When running with `RUBY_MN_THREADS=1` I noticed increased memory usage when creating many threads. It seems like Thre... jhawthorn (John Hawthorn)
05:37 PM Bug #20587: dir.c calls blocking filesystem APIs/system calls while holding the GVL
I submitted https://github.com/ruby/ruby/pull/11176 for the `getattrlist` and `fgetattrlist` changes. jeremyevans0 (Jeremy Evans)
03:58 PM Revision 4a4e1bf3 (git): [ruby/irb] Group class methods under `class << self`
(https://github.com/ruby/irb/pull/981)
https://github.com/ruby/irb/commit/cdaa356df2
st0012 (Stan Lo)
01:55 PM Revision 4fe3082b (git): [DOC] Fix typo in gc/default.c
peterzhu2118 (Peter Zhu)
01:11 PM Revision 60d3ed50 (git): [Bug #20457] Drop unreachable `return` at end of method
nobu (Nobuyoshi Nakada)
01:09 PM Revision 93489d53 (git): Remove dependency on dtrace when building shared GC
peterzhu2118 (Peter Zhu)
01:09 PM Revision db3472d8 (git): Set `BUILDING_SHARED_GC` when building shared GC
peterzhu2118 (Peter Zhu)
12:38 PM Bug #20637: SyntaxError class definition in method body can be bypassed
dynamic constant assignment (SyntaxError) can be also bypassed
~~~ruby
def f
class << Object.new
::A = 1
...
tompng (tomoya ishida)
12:14 PM Bug #20637: SyntaxError class definition in method body can be bypassed
As far as I understand, that’s legitimate code that works and might be useful for some metaprogramming:
```ruby
d...
zverok (Victor Shepelev)
12:02 PM Bug #20637 (Closed): SyntaxError class definition in method body can be bypassed
Class definition in method body is prohibited in Ruby
~~~ruby
def f
class ::A; end # class definition in method ...
tompng (tomoya ishida)
10:02 AM Revision d6a718e9 (git): * 2024-07-16 [ci skip]
git[bot]
10:02 AM Revision 97c3ed78 (git): Skip old compilers
https://github.com/ruby/ruby/actions/runs/9950835382/job/27489339598?pr=11172#step:6:31 hsbt (Hiroshi SHIBATA)
10:02 AM Revision c168f0cd (git): Bump up REXML-3.3.2
hsbt (Hiroshi SHIBATA)
09:41 AM Revision e722f4c5 (git): Stop using `sigsetjmp` to hijack SIGCHLD handler
It already has been dead code.
Follow up of 65d3eacc80bbefb29e5cd0f3f9661d886f2e4cee.
nobu (Nobuyoshi Nakada)
06:59 AM Revision 6dd1ab0f (git): Update bundled gems list as of 2024-07-16
git[bot]
05:48 AM Feature #20576 (Closed): Add MatchData#bytebegin and MatchData#byteend
Applied in changeset commit:git|e048a073a3cba04576b8f6a1673c283e4e20cd90.
----------
Add MatchData#bytebegin and Mat...
shugo (Shugo Maeda)
05:48 AM Revision e048a073 (git): Add MatchData#bytebegin and MatchData#byteend
These methods return the byte-based offset of the beginning or end of the specified match.
[Feature #20576]
shugo (Shugo Maeda)
04:09 AM Revision a887b418 (git): static const char *type_name() implemented
The function body was missing. shyouhei (Shyouhei Urabe)
04:09 AM Revision 963059a8 (git): fix compile error
shyouhei (Shyouhei Urabe)
03:48 AM Misc #20600: @ruby-lang.org has been migrated to Cloudflare
It seems that verification mails have been expired.
If you'd like to activate an e-mail address at ruby-lang.org, pl...
shugo (Shugo Maeda)
03:12 AM Revision 7a0e6f1d (git): Follow-up resolv and win32 integration
https://github.com/ruby/resolv/pull/54 hsbt (Hiroshi SHIBATA)
02:41 AM Misc #20636 (Closed): typo in `configure` script
Applied in changeset commit:git|b01cf8ccdec705c09b90a6e6a9923c8bf87fca5a.
----------
Fix a typo
[Misc #20636]
znz (Kazuhiro NISHIYAMA)
12:34 AM Misc #20636 (Closed): typo in `configure` script
At lines 20276-20277, the `configure` script misspells "deprecated" as "depreacted". This appears to be purely cosme... gsteemso (Gordon Steemson)
02:40 AM Revision b01cf8cc (git): Fix a typo
[Misc #20636] znz (Kazuhiro NISHIYAMA)
02:19 AM Bug #19266 (Assigned): URI::Generic should use URI::RFC3986_PARSER instead of URI::DEFAULT_PARSER
hsbt (Hiroshi SHIBATA)
02:18 AM Bug #19266: URI::Generic should use URI::RFC3986_PARSER instead of URI::DEFAULT_PARSER
Since the use case sounds reasonable, let's try the new version.
@hsbt could you change it?
naruse (Yui NARUSE)
01:08 AM Revision a1435981 (git): [DOC] Document RbConfig::SIZEOF
alanwu (Alan Wu)
01:08 AM Revision 3531d229 (git): [DOC] Document RbConfig::LIMITS
alanwu (Alan Wu)
01:08 AM Revision 9bf1049d (git): Refactor so RDoc picks up RbConfig::{SIZEOF,LIMITS}
alanwu (Alan Wu)
12:25 AM Bug #20635 (Feedback): Can't build fat binaries on Darwin (Mac OS X)
[background: I'm attempting to build the latest versioned release of Ruby (3.3.4) on a 2005-vintage dual-processor Po... gsteemso (Gordon Steemson)
 

Also available in: Atom