Project

General

Profile

Activity

From 07/22/2024 to 07/28/2024

07/28/2024

11:01 PM Revision 3f40ceba (git): Specify `LAST_NODE` for `NODE_DEFINED`
For example:
```
defined?(1)
```
Before:
```
# @ NODE_SCOPE (id: 2, line: 1, location: (1,0)-(1,11))
# +- nd_tbl: ...
yui-knk (Kaneko Yuichiro)
04:07 PM Bug #20088: Ruby 3.3.0 does not cross-complie on arm64-darwin
@k0kubun Can I ask for 2a4a8466 to be backported to 3.3? mdalessio (Mike Dalessio)
11:57 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
> I'm thinking cases of Regexps being stored in constants and potentially composed of other regexps/strings, like htt... byroot (Jean Boussier)
08:34 AM Bug #20655: Calling continuation triggers ensure function of rb_ensure
I guess https://github.com/ruby/ruby/pull/11264 will solve your issue. Could you give it a try with your patch? mame (Yusuke Endoh)
07:19 AM Feature #20656 (Feedback): Import Hash#except! from Active Support
willianveiga (Willian Veiga) wrote:
> For some unknown reason, Hash#except! was not imported on #8499. We have Hash#...
nobu (Nobuyoshi Nakada)

07/27/2024

11:03 PM Bug #20079: alexandria testsuite began to segfault recently
vo.x (Vit Ondruch) wrote in #note-13:
> This does not help testing with Ruby 3.3.2
Hmmm that's a bit surprising...
AMomchilov (Alexander Momchilov)
10:14 PM Feature #20656 (Feedback): Import Hash#except! from Active Support
For some unknown reason, Hash#except! was not imported on #8499. We have Hash#except, but we don't have the bang vers... willianveiga (Willian Veiga)
10:04 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
Eregon (Benoit Daloze) wrote in #note-14:
> ko1 (Koichi Sasada) wrote in #note-11:
> > I found an idea that each th...
ko1 (Koichi Sasada)
11:05 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
byroot (Jean Boussier) wrote in #note-9:
> I see what you mean, but such flag would only really be worth using in pla...
Eregon (Benoit Daloze)
10:58 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
ko1 (Koichi Sasada) wrote in #note-8:
> what does it happen when creating a thread just after storing `$~`?
It's ...
Eregon (Benoit Daloze)
07:09 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
Interestingly the NO_MATCH regexp options was suggested in the ticket that led to `Regexp#match?` [Feature #8110] byroot (Jean Boussier)
07:00 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
I don't follow, how can it be re-used in your example? :
```ruby
def foo
if /foo/ =~ "foo" # generate MatchDat...
byroot (Jean Boussier)
06:19 AM Bug #20655 (Closed): Calling continuation triggers ensure function of rb_ensure
The bug is reproduced when:
* `rb_ensure(func1, arg1, func2, arg2)` is called with arguments:
* func1: eventually...
tagomoris (Satoshi Tagomori)

07/26/2024

08:23 PM Bug #20635: Can't build fat binaries on Darwin (Mac OS X)
If you run `make V=1`, you can get the command which causes the SIGBUS. With that, you can run it under a debugger (n... alanwu (Alan Wu)
04:08 AM Bug #20635: Can't build fat binaries on Darwin (Mac OS X)
Apologies for the delay in responding. The two-factor authentication had me locked out of this site.
Regarding the ...
gsteemso (Gordon Steemson)
07:19 PM Feature #20625: Object#chain_of
@zverok do you think `Enumerator#chain_of?` would be useful as an specialization of `produce().take_while {!_1.nil?}`? matheusrich (Matheus Richard)
05:20 PM Revision e798f45c (git): Error when --with-shared-gc doesn't specify a directory
peterzhu2118 (Peter Zhu)
05:07 PM Revision a65c205a (git): [ruby/prism] Add explicit check for PRISM_HAS_NO_FILESYSTEM
https://github.com/ruby/prism/commit/89c22f0e6c katei (Yuta Saito)
05:07 PM Revision 1992bd31 (git): [ruby/prism] Fallback to pm_string_file_init on platforms without memory-mapped files
> ..., and on other POSIX systems we'll use `read`.
As `pm_string_mapped_init`'s doc comment says, it should fall ba...
katei (Yuta Saito)
05:04 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
I found an idea that each thread points to unescaped MatchData rather than `$~` and reuse it.
In other words, all gen...
ko1 (Koichi Sasada)
01:54 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
byroot (Jean Boussier) wrote in #note-9:
> > I don't really like a Regexp flag for this because a Regexp might be us...
austin (Austin Ziegler)
12:09 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
> I don't really like a Regexp flag for this because a Regexp might be used in different contexts and some usages mig... byroot (Jean Boussier)
12:05 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
Eregon (Benoit Daloze) wrote in #note-7:
> FWIW, what TruffleRuby does for this is to store `$~` as a frame-local th...
ko1 (Koichi Sasada)
11:09 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
FWIW, what TruffleRuby does for this is to store `$~` as a frame-local thread-local variable, but thread-local only i... Eregon (Benoit Daloze)
09:23 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
> it could be better if we had a gsub variant that doesn't touch $~.
Right, but the problem is beyond `gsub`, e.g....
byroot (Jean Boussier)
07:19 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
I agree this is counter-intuitive. The #17507 problem was that
```ruby
i = lambda { ...(touches $~)... }
many...
shyouhei (Shyouhei Urabe)
06:15 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
> If anyone can come up with an approach that fixes #17507 without causing an increase in memory usage
I guess I'...
byroot (Jean Boussier)
04:33 PM Misc #20628: DevMeeting-2024-08-01
* [Bug #20620] singleton_method undefined for module using "extend self" (jeremyevans0)
* I believe this is expect...
jeremyevans0 (Jeremy Evans)
03:55 PM Misc #20628: DevMeeting-2024-08-01
* [Feature #18368] Range#step semantics for non-Numeric ranges (zverok)
* The feature was approved a year ago by @...
zverok (Victor Shepelev)
03:13 PM Misc #20628: DevMeeting-2024-08-01
* [Feature #20590] Ensure `fork` isn't called when `raddrinfo`'s background thread is in `getaddrinfo` (byroot)
* ...
byroot (Jean Boussier)
03:44 PM Revision cb5c4605 (git): * expand tabs. [ci skip]
Please consider using misc/expand_tabs.rb as a pre-commit hook. git[bot]
03:44 PM Revision 158177e3 (git): Improve allocation throughput by outlining cache miss code path
Previously, GCC 11 on x86-64 inlined the heavy weight logic for
potentially triggering GC into newobj_alloc(). This s...
alanwu (Alan Wu)
03:44 PM Revision a06cfa7e (git): Fix a -Wmaybe-uninitialized
With the body of functions available, GCC noticed that lev is
uninitialized in rb_gc_vm_lock_no_barrier() in single r...
alanwu (Alan Wu)
03:44 PM Revision 0ada02ab (git): Put the default GC implementation back into gc.o
We discovered that having gc.o and gc_impl.o in separate translation
units diminishes codegen quality with GCC 11 on ...
alanwu (Alan Wu)
03:44 PM Revision cef959df (git): Delete unused rb_gc_impl_get_finalizers() not in gc_impl.h
alanwu (Alan Wu)
03:22 PM Revision aaa542d8 (git): Doc for some #ceil and #floor
burdettelamar (Burdette Lamar)
03:22 PM Revision 78f1b835 (git): Doc for some #ceil and #floor
burdettelamar (Burdette Lamar)
03:20 PM Feature #19993 (Closed): Optionally Free all memory at exit
alanwu (Alan Wu)
03:19 PM Bug #20654 (Closed): Floor and ceil have unexpected behaviour when ndigits is large
GitHub PR: https://github.com/ruby/ruby/pull/11257
There is unexpected behaviour in Integer#floor, Float#floor, In...
peterzhu2118 (Peter Zhu)
01:43 PM Bug #20653: Memory leak in String#start_with? when regexp times out
Ruby 3.3 backport PR: https://github.com/ruby/ruby/pull/11255 peterzhu2118 (Peter Zhu)
12:42 PM Bug #20653 (Closed): Memory leak in String#start_with? when regexp times out
Applied in changeset commit:git|7464514ca5e825ada31522b63a33e02d62a0a248.
----------
Fix memory leak in String#start...
peterzhu2118 (Peter Zhu)
01:37 PM Revision 0cc98ae3 (git): skip bundled gem rss test for a while.
nagachika (Tomoyuki Chikanaga)
12:42 PM Revision 7464514c (git): Fix memory leak in String#start_with? when regexp times out
[Bug #20653]
This commit refactors how Onigmo handles timeout. Instead of raising a
timeout error, onig_search will ...
peterzhu2118 (Peter Zhu)
12:16 PM Revision 67e1ea00 (git): [rubygems/rubygems] Remove inconsistent whitespace from CLI flags
RuboCop sometimes accepts extra spaces for alignment, but in this case I
don't see any consistent alignment.
https:/...
deivid (David Rodríguez)
11:54 AM Revision 31d0f1a2 (git): bump patchlevel.
nagachika (Tomoyuki Chikanaga)
11:53 AM Revision 367ad505 (git): Revert "merge revision(s) 9f708d48f6df37ee9600db9d51b57a156609a13b,0301473fb523c71d8cdc4966971f31f502001185,7f0e26b7f99bf76408569892ce20318501f74729: [Backport #20516]"
This reverts commit 56c311aa0b20dee13ab43309ae3386f57f8cb797. nagachika (Tomoyuki Chikanaga)
09:41 AM Revision ae9a4351 (git): bump teeny
nagachika (Tomoyuki Chikanaga)
08:05 AM Revision bfaccd64 (git): [rubygems/rubygems] Make all tests still pass when switching from truffleruby to cruby
https://github.com/rubygems/rubygems/commit/4f3d9fa3bf deivid (David Rodríguez)
08:05 AM Revision 7feccb12 (git): [rubygems/rubygems] Make test env resilient to ruby version changes
We use pre-existence of `rake_path` to decide whether we need to
regenerate dummy test gems in `tmp`. When changing r...
deivid (David Rodríguez)
07:56 AM Revision 71dec15a (git): [rubygems/rubygems] Fix bundle check exit code when git gem is missing
Make `bundle check` exit with code 1 when gem git source is not yet
checked out.
https://github.com/rubygems/rubygem...
jeromedalbert (Jerome Dalbert)
06:20 AM Feature #20594: A new String method to append bytes while preserving encoding
Ok, so after thinking about this for a bit, I think a good name would be:
- `String#append_bytes(String) => self...
byroot (Jean Boussier)
02:57 AM Revision 3542ad52 (git): Bump github/codeql-action from 3.25.13 to 3.25.14
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.13 to 3.25.14.
- [Release notes](http...
dependabot[bot]
02:24 AM Revision 5f1eb0dc (git): Fix wrong conversion in disasm dump
`LINK_ELEMENT::type` is an `enum` not a `VALUE`, `FIX2LONG` doesn't
make sense.
nobu (Nobuyoshi Nakada)
01:58 AM Misc #20639: Request to host C API docs on docs.ruby-lang.org
I added <https://docs.ruby-lang.org/capi/en/master/> and link from <https://docs.ruby-lang.org/> to it. znz (Kazuhiro NISHIYAMA)
01:45 AM Revision 83a99bdb (git): [ruby/net-http] Removed needless NullWriter class
https://github.com/ruby/net-http/commit/ddb2a81aed hsbt (Hiroshi SHIBATA)
01:29 AM Revision 2c76bb7e (git): Remove `struct RNode_VALUES`
This was removed by a5cc6341c0688c346f70098652b2375c03df40aa. yui-knk (Kaneko Yuichiro)

07/25/2024

10:29 PM Revision f2728c33 (git): Change RESBODY Node structure
Extracrt exception variable into `nd_exc_var` field
to keep the original grammar structure.
For example:
```
begin
...
yui-knk (Kaneko Yuichiro)
07:50 PM Revision a4563be0 (git): [rubygems/rubygems] bundle-gem learns to find Gemfile template correctly
Removes the symlink for gems.rb.tt and instead uses the singular
template file. Only the destination filename for the...
Jason Karns
07:34 PM Bug #20653 (Closed): Memory leak in String#start_with? when regexp times out
GitHub PR: https://github.com/ruby/ruby/pull/11247
This commit refactors how Onigmo handles timeout. Instead of ra...
peterzhu2118 (Peter Zhu)
07:25 PM Revision 54ff3d69 (git): Fix test_kwarg_eval_memory_leak
Hash.new no longer takes keyword arguments except for capacity, so we
should just use a method that takes keyword arg...
peterzhu2118 (Peter Zhu)
06:59 PM Revision 24770c30 (git): [ruby/prism] Sync from ruby/ruby
https://github.com/ruby/prism/commit/280517c325 kddnewton (Kevin Newton)
04:46 PM Revision 83b0cedf (git): Add branch prediction annotations for object allocation
I get a slight boost from these with GCC 11 on Intel Skylake.
Part of a larger story to fix an allocation throughput...
alanwu (Alan Wu)
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 (Closed): 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 (Closed): `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 (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)
 

Also available in: Atom