Project

General

Profile

Activity

From 02/22/2024 to 02/28/2024

02/28/2024

11:26 PM Misc #20254: Add Launchable into Ruby CI
FYI: I'm going to change the GitHub comment feature as follows today:
If a test is executed multiple times, we'll tre...
ono-max (Naoto Ono)
03:15 PM Misc #20254: Add Launchable into Ruby CI
As a reference to see how the results of the Launchable CI look like, below is one example to see the flaky, the most... jaruga (Jun Aruga)
11:00 PM Revision f05ad373 (git): YJIT: Squash canary before falling back
Recent flaky canary-related CI failures have all happened while trying
to fall back. It's unclear what is leaving the...
alanwu (Alan Wu)
08:00 PM Revision 558b58d3 (git): YJIT: Reject keywords hash in -1 arity cfunc splat support
`test_keyword.rb` caught this issue. Just need to run with `threshold=1` alanwu (Alan Wu)
07:54 PM Revision 4b92b60f (git): Use array initialization rather than for loop
peterzhu2118 (Peter Zhu)
06:45 PM Revision c5b568ba (git): Migrate auto_request_review back to CODEOWNERS (#10133)
k0kubun (Takashi Kokubun)
06:45 PM Revision 5481dbef (git): Make rb_define_finalizer_no_check private
peterzhu2118 (Peter Zhu)
06:30 PM Revision a5bfc251 (git): [ruby/prism] Rewrite logic for CHECK_FIELD_KIND to improve readability
https://github.com/ruby/prism/commit/f731edcc26 Eregon (Benoit Daloze)
06:30 PM Revision 71673464 (git): [ruby/prism] More precise types for NodeListField in prism.rbi
https://github.com/ruby/prism/commit/b7959295e9 Eregon (Benoit Daloze)
06:30 PM Revision 2143789a (git): [ruby/prism] Make NodeKindField subclass NodeKindField
* To avoid duplication.
https://github.com/ruby/prism/commit/12e5aae0b4
Eregon (Benoit Daloze)
06:30 PM Revision 1b0a5bcb (git): [ruby/prism] Add a simple way to check field kinds are correct by setting $CHECK_FIELD_KIND
https://github.com/ruby/prism/commit/33e987ba3c Eregon (Benoit Daloze)
06:30 PM Revision ea2cb002 (git): [ruby/prism] Give a kind to all node[] fields which can have one more specific than "any Node"
* Fixes https://github.com/ruby/prism/issues/2058
https://github.com/ruby/prism/commit/f3e3310b5e
Eregon (Benoit Daloze)
06:30 PM Revision 567d4ee7 (git): [ruby/prism] Set proper types for node[] in Java-generated code
https://github.com/ruby/prism/commit/322eaea500 Eregon (Benoit Daloze)
06:26 PM Bug #20313 (Closed): Backport RUBY_YJIT_ENABLE PR https://github.com/ruby/ruby/pull/7208
k0kubun (Takashi Kokubun)
04:53 PM Bug #20313 (Closed): Backport RUBY_YJIT_ENABLE PR https://github.com/ruby/ruby/pull/7208
Backporting "Make sure RUBY_YJIT_ENABLE only enables YJIT for truthy values" PR https://github.com/ruby/ruby/pull/720... andclt (Andrea Culot)
06:26 PM Revision a29c0e82 (git): [PRISM] Handle implicit flip-flop bounds checking against $.
kddnewton (Kevin Newton)
05:44 PM Revision 16c7144c (git): [PRISM] Only look up encoding once per file
kddnewton (Kevin Newton)
05:42 PM Revision f8355e88 (git): [PRISM] Do not load -r until we check if main script can be read
kddnewton (Kevin Newton)
05:23 PM Feature #20309: Bundled gems for Ruby 3.5
Also something I remembered now is YJIT [does not compile singleton methods](https://github.com/Shopify/ruby/issues/5... Eregon (Benoit Daloze)
05:21 PM Feature #20309: Bundled gems for Ruby 3.5
@jeremyevans0 One issue with that replacement is it does not name the class of the object, so it's quite unclear if t... Eregon (Benoit Daloze)
03:38 PM Feature #20309: Bundled gems for Ruby 3.5
Eregon (Benoit Daloze) wrote in #note-6:
> hsbt (Hiroshi SHIBATA) wrote:
> > * singleton
> > * This is famous des...
jeremyevans0 (Jeremy Evans)
11:18 AM Feature #20309: Bundled gems for Ruby 3.5
Eregon (Benoit Daloze) wrote in #note-6:
> > * fcntl
> > * Should we integrate these constants into ruby core?
> ...
Eregon (Benoit Daloze)
11:14 AM Feature #20309: Bundled gems for Ruby 3.5
hsbt (Hiroshi SHIBATA) wrote:
> * ostruct
> * I make ostruct as optional on json at https://github.com/flori/json/p...
Eregon (Benoit Daloze)
08:46 AM Feature #20309: Bundled gems for Ruby 3.5
I'm big fan (and user) of `ruby -run -e httpd . -p 1234`, this is also part of "local HTTP server oneliners" like htt... retro (Josef Šimánek)
05:21 PM Revision dcc976ad (git): Remove unused rb_gc_id2ref_obj_tbl
peterzhu2118 (Peter Zhu)
04:42 PM Revision 49aa8d65 (git): [PRISM] Fix version spec to account for prism
kddnewton (Kevin Newton)
04:36 PM Bug #20311: Struct.new("A") memory leak?
Seems referred from `defined_module_hash`.
`rb_const_remove` needs to take care of it when the removed constant is a...
nobu (Nobuyoshi Nakada)
01:28 PM Bug #20311: Struct.new("A") memory leak?
I had a quick look at this using `ObjectSpace.dump_all`, and it appears that these classes are being retained in the ... byroot (Jean Boussier)
12:03 PM Bug #20311 (Closed): Struct.new("A") memory leak?
The following code gives the impression of a memory leak.
```ruby
10.times do
5000.times do
Struct.new("A...
MaxLap (Maxime Lapointe)
04:09 PM Revision 1cef3663 (git): [PRISM] Factor in CLI options for prism
kddnewton (Kevin Newton)
03:58 PM Revision 742abbf7 (git): Switch {prism: true} to {parser: :prism} in ISeq.to_a
kddnewton (Kevin Newton)
03:46 PM Bug #20312 (Third Party's Issue): Memory leak with BigDecimal::EXCEPTION_OVERFLOW
The following causes a memory leak.
I left a commented line, both trigger an memory leak. I assume it's the same b...
MaxLap (Maxime Lapointe)
03:41 PM Revision 7b69563b (git): Add check for finalizer in verify_internal_constency
This adds a check in GC.verify_internal_constency that FL_FINALIZE flags
is set if, and only if it is in finalizer_ta...
peterzhu2118 (Peter Zhu)
03:41 PM Revision 48f433fd (git): Change T_ZOMBIE flag check from an assertion
Assertions are only enable on debug builds, so it will now check for
flags of T_ZOMBIE objects on all builds in GC.ve...
peterzhu2118 (Peter Zhu)
03:36 PM Revision c990cc70 (git): [ruby/prism] Switch static literals to use a hash
https://github.com/ruby/prism/commit/82e6f36e8f kddnewton (Kevin Newton)
03:36 PM Revision 8b556d39 (git): [ruby/prism] Refactor static literals into hash
https://github.com/ruby/prism/commit/62382d3967 kddnewton (Kevin Newton)
08:53 AM Revision eb6eb1d4 (git): Fix crash report path test on Windows
nobu (Nobuyoshi Nakada)
08:12 AM Bug #20310: ASAN fake stacks need to be marked during GC for non-current execution context
I opened https://github.com/ruby/ruby/pull/10122 as my first attempt at this. kjtsanaktsidis (KJ Tsanaktsidis)
04:01 AM Bug #20310 (Closed): ASAN fake stacks need to be marked during GC for non-current execution context
When ASAN (address sanitizer) is enabled, the compiler does not necessarily store all local variables on the real mac... kjtsanaktsidis (KJ Tsanaktsidis)
07:09 AM Revision 8316cb21 (git): Fix to use `assert_crash_report` results
nobu (Nobuyoshi Nakada)
04:30 AM Revision 05387b59 (git): Update regex patterns with rbinstall.rb
hsbt (Hiroshi SHIBATA)
04:30 AM Revision 75a4aa20 (git): Support file listing with IO.poepn style
hsbt (Hiroshi SHIBATA)
04:22 AM Feature #20275: Avoid extra backtrace entries for rescue and ensure
I am in favor of this change, but I do not plan to write a patch and estimate its impact. Someone who wants this, ple... mame (Yusuke Endoh)
03:41 AM Feature #20274 (Closed): Add RubyVM::ASAN.enabled?
Applied in changeset commit:git|fe0b704df5553bdd59e90650ffbbfac785a2e48a.
----------
Skip assert_no_memory_leak when...
Anonymous
03:41 AM Revision fe0b704d (git): Skip assert_no_memory_leak when ASAN is enabled
ASAN greatly increases the memory footprint of Ruby, so these static
thresholds are not appropriate. There's no real ...
KJ Tsanaktsidis
02:14 AM Revision 47b46fd9 (git): Use dummy command for IO.popen
hsbt (Hiroshi SHIBATA)
02:11 AM Revision e8e2415b (git): Use RB_SPECIAL_CONST_P instead of rb_special_const_p
rb_special_const_p returns a VALUE (Qtrue or Qfalse), so we shouldn't
assume that Qfalse is 0. We should instead use ...
peterzhu2118 (Peter Zhu)
02:08 AM Revision 95e55e9a (git): Also ignore git ls-files command with IO.popen style for tmpdir.gemspec and tempfile.gemspec
hsbt (Hiroshi SHIBATA)
01:43 AM Bug #20090: Anonymous arguments are now syntax errors in unambiguous cases
I confirmed.
@naruse https://github.com/ruby/ruby/commit/f8f0d342e48a38caac6d32b438c145bb581a51e6 seems wrong comm...
hsbt (Hiroshi SHIBATA)

02/27/2024

10:39 PM Feature #20309: Bundled gems for Ruby 3.5
> ruby -run is one of cool feature of Ruby. Should we avoid uninstalling un gem?
I think -run is kind of neat; it'...
rubyFeedback (robert heiler)
10:16 PM Feature #20309 (Closed): Bundled gems for Ruby 3.5
I propose migrate the following default gems to bundled gems at Ruby 3.5. So, It means users will get warnings if use... hsbt (Hiroshi SHIBATA)
10:17 PM Misc #20281: DevMeeting-2024-03-14
* [Feature #20309] Bundled gems for Ruby 3.5
* Let's discuss target gems to migrate bundled gems.
hsbt (Hiroshi SHIBATA)
01:36 PM Misc #20281: DevMeeting-2024-03-14
* [Feature #19744] Namespace on read
* The branch under development: https://github.com/tagomoris/ruby/pull/2
* I...
tagomoris (Satoshi Tagomori)
12:36 PM Misc #20281: DevMeeting-2024-03-14
* [Feature #14066] Add CAA DNS RR on Resolv (dentarg)
* Proposed patch: https://github.com/ruby/ruby/pull/1732
* ...
dentarg (Patrik Ragnarsson)
10:02 PM Revision 36681185 (git): [DOC] Stop discouraging the use of Array#each (#10119)
k0kubun (Takashi Kokubun)
09:39 PM Feature #20300: Hash: set value and get pre-existing value in one call
`#get_and_transform` could be a name for the version with the block, if performance is impacted significantly. matheusrich (Matheus Richard)
09:30 PM Feature #20300: Hash: set value and get pre-existing value in one call
@matheusrich Thanks for putting together that list!
In general, I like the idea of having this method support an opt...
AMomchilov (Alexander Momchilov)
05:34 PM Feature #20300: Hash: set value and get pre-existing value in one call
Some other examples from other languages:
- [Java](https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.htm...
matheusrich (Matheus Richard)
04:46 PM Feature #20300: Hash: set value and get pre-existing value in one call
@matheusrich I like that name in general, but it's really similar to the existing [`Hash#store`](https://ruby-doc.org... AMomchilov (Alexander Momchilov)
04:42 PM Feature #20300: Hash: set value and get pre-existing value in one call
Rust [calls this method `insert`](https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.insert):
> ...
matheusrich (Matheus Richard)
08:49 PM Revision edc7b73f (git): Remove pointer check in moved_or_living_object_strictly_p
We don't need to check that the object is pointer to the GC heap in
moved_or_living_object_strictly_p because it is c...
peterzhu2118 (Peter Zhu)
08:09 PM Revision 7c4bf61a (git): [ruby/prism] Follow RuboCop's parser engine support
With the introduction of `Prism::Translation::Parser` to RuboCop (RuboCop AST),
the number of arguments for `RuboCop:...
koic (Koichi ITO)
08:05 PM Feature #20298: Introduce `Time()` type-cast / constructor.
I would like to register a dissenting opinion about the protocol :)
I believe that `ClassName()` convention, while...
zverok (Victor Shepelev)
07:52 PM Revision 08731182 (git): Change is_garbage_object to return a bool
peterzhu2118 (Peter Zhu)
07:52 PM Revision 3c44f6da (git): Simplify is_garbage_object
peterzhu2118 (Peter Zhu)
07:30 PM Feature #20275: Avoid extra backtrace entries for rescue and ensure
JRuby also does not have a separate frame for rescues and ensures and we support removing these entries from backtraces. headius (Charles Nutter)
03:57 AM Feature #20275: Avoid extra backtrace entries for rescue and ensure
I agree with removing `ensure in` and `rescue in` entries from backtraces.
Matz.
matz (Yukihiro Matsumoto)
06:00 PM Revision e14a68a1 (git): [ruby/prism] Disallow it implicit in eval
https://github.com/ruby/prism/commit/6fcb8fc974 kddnewton (Kevin Newton)
05:50 PM Revision 11f12136 (git): YJIT: Support splat with C methods with -1 arity
Usually we deal with splats by speculating that they're of a specific
size. In this case, the C method takes a pointe...
alanwu (Alan Wu)
05:10 PM Revision 1f740cd1 (git): Remove is_swept_object
The name is misleading, as it seems like the function checks whether the
object is swept or not. But the function onl...
peterzhu2118 (Peter Zhu)
04:51 PM Bug #20308 (Closed): `it` and numbered parameters do not work in `eval`
kddnewton (Kevin Newton)
04:51 PM Bug #20308: `it` and numbered parameters do not work in `eval`
Ahh! Thank you @jeremyevans0 and @alanwu I knew there must have been a reason. I'll close this. kddnewton (Kevin Newton)
04:48 PM Bug #20308: `it` and numbered parameters do not work in `eval`
Looks like it's a known limitation and discussed before in #18837. alanwu (Alan Wu)
04:45 PM Bug #20308: `it` and numbered parameters do not work in `eval`
My understanding is the parse.y behavior is expected, because use of `_1`/`it` inside the block changes the block's a... jeremyevans0 (Jeremy Evans)
04:33 PM Bug #20308: `it` and numbered parameters do not work in `eval`
Interesting behavior. I'd expect that to work since other "kinds of arguments" work:
```rb
def foo(*)
eval "pu...
matheusrich (Matheus Richard)
01:35 PM Bug #20308 (Closed): `it` and numbered parameters do not work in `eval`
I am not sure if this is a purposeful restriction or not, so I apologize if this is not a "bug" per se.
Currently ...
kddnewton (Kevin Newton)
04:05 PM Revision f67c9d00 (git): [ruby/prism] Switch invalid _1 targeting even on syntax error
https://github.com/ruby/prism/commit/40dec909b7 kddnewton (Kevin Newton)
04:05 PM Revision fc368827 (git): [ruby/prism] Ensure symbol nodes not in interpolated symbol
https://github.com/ruby/prism/commit/e1a9a1d478 kddnewton (Kevin Newton)
03:57 PM Bug #20090: Anonymous arguments are now syntax errors in unambiguous cases
@nobu I hate to bother you as well, but I just want to make sure someone sees this before Ruby 3.3.1 is cut. eliotp123 (Eliot Partridge)
03:03 PM Revision 2396b7a6 (git): Change is_live_object to return a bool
peterzhu2118 (Peter Zhu)
03:03 PM Revision 9ba53cb6 (git): Simplify is_live_object
peterzhu2118 (Peter Zhu)
11:19 AM Revision 5efe386c (git): [DOC] Fix typo in GC documentation
The documentation for GC.start was incorrect. It said that the
`immediate_sweep` keyword argument would defer sweepin...
Alexander Ross
10:40 AM Revision d7730d3a (git): Constify `literal_type` unless universal parser
nobu (Nobuyoshi Nakada)
05:51 AM Bug #20302 (Closed): Multiple refinements cannot be applied to the same module
Applied in changeset commit:git|d50f9ca2dd416d92152cd958b5f39496088481b0.
----------
[Bug #20302] Multiple refinemen...
shugo (Shugo Maeda)
05:51 AM Bug #20305 (Closed): commit 1d2d25dcadda0764f303183ac091d0c87b432566 breaks grapheme_clusters
Applied in changeset commit:git|3a04ea2d0379dd8c6623c2d5563e6b4e23986fae.
----------
[Bug #20305] Fix matching again...
nobu (Nobuyoshi Nakada)
05:51 AM Revision d50f9ca2 (git): [Bug #20302] Multiple refinements cannot be applied to the same module
In the following code, the iclass tree of refinements in cref should be <iclass of Kernel@M2> -> <iclass of Kernel@M1... shugo (Shugo Maeda)
04:58 AM Revision 3a04ea2d (git): [Bug #20305] Fix matching against an incomplete character
When matching against an incomplete character, some `enclen` calls are
expected not to exceed the limit, and some are...
nobu (Nobuyoshi Nakada)
04:58 AM Revision 7b56353d (git): Add a failing test for https://bugs.ruby-lang.org/issues/20305.
This bug demonstrates the issue I reported. It passes on commit
https://github.com/ruby/ruby/commit/114e71d06280f9c57...
Fable Phippen
04:46 AM Bug #20307: `Hash#update` from compare_by_identity hash can have unfrozen string keys
https://github.com/ruby/ruby/pull/10099 nobu (Nobuyoshi Nakada)
03:33 AM Bug #20307 (Closed): `Hash#update` from compare_by_identity hash can have unfrozen string keys
I don't think this behavior is expected.
```ruby
i = Hash.new.compare_by_identity
k = "a"
i[k] = 0
h = {}.upda...
nobu (Nobuyoshi Nakada)
04:22 AM Revision 3ca8b4ae (git): [ruby/prism] Support -p, -n, -a, and -l command line options
https://github.com/ruby/prism/commit/959eb506ca kddnewton (Kevin Newton)
03:33 AM Revision bfb2dc8a (git): [rubygems/rubygems] Warn on empty or open required_ruby_version specification attribute.
https://github.com/rubygems/rubygems/commit/e4bb33747a retro (Josef Šimánek)
03:17 AM Misc #20035 (Closed): Command-line settings move from parser to compiler
kddnewton (Kevin Newton)
02:47 AM Revision 1745dd26 (git): Ignore miss-and-revised commits [ci skip]
nobu (Nobuyoshi Nakada)
01:31 AM Revision 316d1e10 (git): [ruby/tmpdir] Fix for environment without git
https://github.com/ruby/tmpdir/commit/3f1f2260eb nobu (Nobuyoshi Nakada)
01:31 AM Revision cbbb98ba (git): [ruby/tempfile] Fix for environment without git
https://github.com/ruby/tempfile/commit/f224164979 nobu (Nobuyoshi Nakada)
01:25 AM Bug #5179 (Closed): Complex#rationalize and to_r with approximate zeros
Applied in changeset commit:git|54a5b829442eb7ed1f4a2794ebb26696cf784e64.
----------
Handle zero-like imaginary part...
Anonymous
12:37 AM Revision 54a5b829 (git): Handle zero-like imaginary part as zero in to_r (#9581)
Fixes [Bug #5179] Kenta Murata

02/26/2024

10:50 PM Revision 89f0c0ce (git): Use `'\n'?` instead of `opt_nl`
ydah (Yudai Takada)
10:05 PM Revision 78ae6dbb (git): Remove rb_objspace_marked_object_p
rb_objspace_marked_object_p is no longer used in the objspace module, so
we can remove it.
peterzhu2118 (Peter Zhu)
10:05 PM Revision 7538703d (git): Make rb_objspace_data_type_memsize private
rb_objspace_data_type_memsize is not used in the objspace module, so we
can make it private.
peterzhu2118 (Peter Zhu)
10:04 PM Revision 81dded10 (git): [rubygems/rubygems] Skip to load vendored libraries if it's already loaded
https://github.com/rubygems/rubygems/commit/3f5093fac9 hsbt (Hiroshi SHIBATA)
10:04 PM Revision c3427265 (git): [rubygems/rubygems] Keep compatiblity for RG 3.5
https://github.com/rubygems/rubygems/commit/d004e36c44 hsbt (Hiroshi SHIBATA)
10:04 PM Revision 8b22198e (git): [rubygems/rubygems] Use wrapper file for vendored tsort
https://github.com/rubygems/rubygems/commit/93514afa28 hsbt (Hiroshi SHIBATA)
10:04 PM Revision d220d273 (git): [rubygems/rubygems] Use renamed file on bundler
https://github.com/rubygems/rubygems/commit/d198ec36f2 hsbt (Hiroshi SHIBATA)
10:04 PM Revision d2da774f (git): [rubygems/rubygems] Rename wrapper files for vendored libraries with 'vendored_' prefix
https://github.com/rubygems/rubygems/commit/cfc908c8c1 hsbt (Hiroshi SHIBATA)
10:03 PM Revision b8572c3f (git): BASERUBY is now >= 3.0
jhawthorn (John Hawthorn)
08:13 PM Feature #20290 (Closed): Add API for C extensions to free memory
I opened #20306 to succeed this ticket. peterzhu2118 (Peter Zhu)
03:51 PM Feature #20290: Add API for C extensions to free memory
> There already is ruby_vm_at_exit(). What's wrong with that?
I didn't know that ruby_vm_at_exit exists. I think r...
peterzhu2118 (Peter Zhu)
08:12 PM Feature #20306 (Closed): Add rb_free_at_exit_p
GitHub PR: https://github.com/ruby/ruby/pull/10104
From ticket [#20290](https://bugs.ruby-lang.org/issues/20290#no...
peterzhu2118 (Peter Zhu)
07:34 PM Revision c9b6cd42 (git): Remove unused rb_objspace_each_objects_without_setup
peterzhu2118 (Peter Zhu)
07:28 PM Bug #20305: commit 1d2d25dcadda0764f303183ac091d0c87b432566 breaks grapheme_clusters
I added a failing test to reproduce this issue in this PR: https://github.com/ruby/ruby/pull/10103 fablestales (Fable Tales)
07:02 PM Bug #20305: commit 1d2d25dcadda0764f303183ac091d0c87b432566 breaks grapheme_clusters
fablestales (Fable Tales) wrote:
> given a script:
> ```
> #script.rb
> p "안녕".byteslice(0, 4).grapheme_clusters
...
fablestales (Fable Tales)
06:58 PM Bug #20305 (Closed): commit 1d2d25dcadda0764f303183ac091d0c87b432566 breaks grapheme_clusters
given a script:
```
#script.rb
p "안녕".byteslice(0, 4).grapheme_clusters
```
The commit 1d2d25dcadda0764f303183...
fablestales (Fable Tales)
06:29 PM Revision 34bad6d6 (git): [ruby/prism] Triple-check prism encodings
https://github.com/ruby/prism/commit/ab7f261354 kddnewton (Kevin Newton)
05:37 PM Bug #20301: `Set#add?` does two hash look-ups
I don't mind it @Dan0042, but that's a secondary issue IMO. The block call defeats the benefit of this optimization. ... AMomchilov (Alexander Momchilov)
03:42 PM Bug #20301: `Set#add?` does two hash look-ups
@Dan0042 That's related to #17342 then, and also known as `compute_if_absent` in [concurrent-ruby](https://ruby-concu... Eregon (Benoit Daloze)
03:31 PM Bug #20301: `Set#add?` does two hash look-ups
Now I understand why you proposed #20300 Hash#update_value
However I'd like to suggest an alternative approach for y...
Dan0042 (Daniel DeLorme)
02:42 AM Bug #20301 (Open): `Set#add?` does two hash look-ups
A common usage of `Set`s is to keep track of seen objects, and do something different whenever an object is seen for ... AMomchilov (Alexander Momchilov)
05:12 PM Revision f5412236 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.88 to 0.9.89.
- [Release notes](https://github.com/oxid...
dependabot[bot]
05:12 PM Revision 9c5a91e3 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.88 to 0.9.89.
- [Release notes](https://github.com/oxid...
dependabot[bot]
04:38 PM Revision 27e3e443 (git): Fix verify_internal_consistency_i for zombie objects
FL_FINALIZE is now kept for zombie objects. peterzhu2118 (Peter Zhu)
04:21 PM Feature #20300: Hash: set value and get pre-existing value in one call
In my mind, `get_and_set` is clear as it is in the order the operations are done.
But if you want clearer, `get_th...
MaxLap (Maxime Lapointe)
10:38 AM Feature #20300: Hash: set value and get pre-existing value in one call
Not so sure about these names. Note that get_and_set() may have people wonder why it is not set_and_get(). :D
In reg...
rubyFeedback (robert heiler)
10:16 AM Feature #20300: Hash: set value and get pre-existing value in one call
FWIW, concurrent-ruby calls this `get_and_set`: https://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/... Eregon (Benoit Daloze)
04:18 AM Feature #20300: Hash: set value and get pre-existing value in one call
The name `update_value` doesn't feel to return the previous value, to me.
What about `Hash#exchange_value`?
nobu (Nobuyoshi Nakada)
02:42 AM Feature #20300 (Open): Hash: set value and get pre-existing value in one call
When using a Hash, sometimes you want to set a new value, **and** see what was already there. Today, you **have** to ... AMomchilov (Alexander Momchilov)
03:55 PM Feature #17342: Hash#fetch_set
It's confusing that this ticket, #17342, is striked out even though the status is "Feedback".
Another name for thi...
Dan0042 (Daniel DeLorme)
03:40 PM Bug #20206 (Closed): PTY.spawn seems to fail to capture the output of "echo foo" once in a while
jeremyevans0 (Jeremy Evans)
03:34 PM Bug #20206: PTY.spawn seems to fail to capture the output of "echo foo" once in a while
Changing the command to `"echo 'foo'"` or `"stdbuf -i0 -o0 -e0 echo foo"` doesn't reproduce the failure.
So this ...
lacostej (Jerome Lacoste)
03:39 PM Bug #20304: Memory leak when setting Encoding.default_internal
Ah, thank you! I would have expected that to be in 3.3-head too. MaxLap (Maxime Lapointe)
02:55 PM Bug #20304 (Closed): Memory leak when setting Encoding.default_internal
This was fixed in: https://github.com/ruby/ruby/pull/9409 peterzhu2118 (Peter Zhu)
02:28 PM Bug #20304 (Closed): Memory leak when setting Encoding.default_internal
Problem is present in Ruby 3.2.2, 3.2.3, 3.3.0. Didn't check before.
Put this in a file:
```
10.times do
10...
MaxLap (Maxime Lapointe)
02:48 PM Revision 1ce3d9ac (git): [ruby/prism] Fix xstring heredoc parser translator
https://github.com/ruby/prism/commit/4e0f703975 kddnewton (Kevin Newton)
02:35 PM Revision 99d0f687 (git): [ruby/prism] Fix parser translator for pinned expression
https://github.com/ruby/prism/commit/eeae07193b kddnewton (Kevin Newton)
02:26 PM Revision af3145bb (git): [ruby/prism] Handle negated numeric in parser translation
https://github.com/ruby/prism/commit/5877a95be4 kddnewton (Kevin Newton)
02:20 PM Revision 83e676e5 (git): Don't lookup finalizers if FL_FINALIZE flag not set
The FL_FINALIZE flag is set when there are finalizers for the object. We
can improver performance by not looking up i...
peterzhu2118 (Peter Zhu)
01:58 PM Revision 1a57fee7 (git): [ruby/prism] Fix multi write with modifier rescue
https://github.com/ruby/prism/commit/8ea7a3270f kddnewton (Kevin Newton)
01:45 PM Revision 815db5c0 (git): Update to ruby/spec@3a510bb
Eregon (Benoit Daloze)
01:45 PM Revision 40c9a3da (git): Update to ruby/mspec@36e8ed8
Eregon (Benoit Daloze)
11:45 AM Revision 1ca3482e (git): Fix compilation for platforms without pthread
Found when compiling ruby for windows-arm64 using msys2
Missing return type for function Init_lock_native_thread
loc...
Pierrick Bouvier
10:10 AM Bug #20302 (Closed): Multiple refinements cannot be applied to the same module
If we are using multiple refinements for the Kernel module, it seems that only the last refinement is enabled.
In th...
mame (Yusuke Endoh)
06:56 AM Revision dddf6242 (git): [ruby/tempfile] Use `IO.popen` to list files
- Redirect `git ls-files` without shelling out.
- When building by `gem`, `__FILE__` is the path name given in the
...
nobu (Nobuyoshi Nakada)
06:55 AM Revision 38e3ad26 (git): Update gemspec according to the recent bundler template
nobu (Nobuyoshi Nakada)
06:54 AM Revision 164e464b (git): [ruby/strscan] Add a method for peeking and reading bytes as
integers
(https://github.com/ruby/strscan/pull/89)
This commit adds `scan_byte` and `peek_byte`. `scan_byte` will sc...
tenderlovemaking (Aaron Patterson)
06:27 AM Revision 7176c186 (git): [rubygems/rubygems] Fix `Fiddle::Handle` leaks
Windows disallows to unlink opened files.
https://github.com/rubygems/rubygems/commit/e0b63754bf
nobu (Nobuyoshi Nakada)
06:27 AM Revision 7dd4b30b (git): [rubygems/rubygems] The temporary directory must been removed
On Windows, open files cannot be removed and `FileUtils.rm_rf` just
silently fails. This means also handle leaks, no...
nobu (Nobuyoshi Nakada)
06:27 AM Revision 65f40967 (git): [rubygems/rubygems] Get rid of too long paths
This is a fix-up of #7483.
Test method names in Rubygems are often very long, and the path under
the temporary direc...
nobu (Nobuyoshi Nakada)
06:27 AM Revision 91ec1fc4 (git): Revert "Revert rubygems tempdir check"
This reverts commit 6aa5067ab970e70693529cde5102fab587158f7f. hsbt (Hiroshi SHIBATA)
05:55 AM Feature #20108 (Closed): Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
This proposal has been merged at https://github.com/ruby/ruby/commit/9ec342e07df6aa5e2c2e9003517753a2f1b508fd hsbt (Hiroshi SHIBATA)
05:46 AM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp

As previously posted, I was considering a way to avoid name resolution within a thread when the host is single-stac...
shioimm (Misaki Shioi)
04:20 AM Revision 45919899 (git): Expand Launchable into ubuntu workflow
ono-max (Naoto Ono)
04:12 AM Revision d4e24021 (git): Revise 9ec342e07df6aa5e2c2e9003517753a2f1b508fd
nobu (Nobuyoshi Nakada)
03:29 AM Revision a0f7de81 (git): [Bug #20296] Fix the default assertion message
nobu (Nobuyoshi Nakada)
03:23 AM Bug #20299: Tracepoint staying enable after a disable
And here is a similar problem, using only the block form (no calls to disable):
```
def check_speed(msg = nil)
...
MaxLap (Maxime Lapointe)
01:06 AM Bug #20299 (Open): Tracepoint staying enable after a disable
Problem is present in Ruby 3.2.2, 3.2.3, 3.3.0. Didn't check before.
It seems that TracePoint can sometime be "stu...
MaxLap (Maxime Lapointe)
03:14 AM Revision 9ec342e0 (git): Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp (#9374)
* Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
This is an implementation of Happy Eyeballs versi...
Misaki Shioi
03:02 AM Revision 616b4146 (git): Bump capstone from 0.11.0 to 0.12.0 in /yjit (#10094)
Bumps [capstone](https://github.com/capstone-rust/capstone-rs) from 0.11.0 to 0.12.0.
- [Release notes](https://githu...
dependabot[bot]
02:56 AM Bug #20296 (Closed): Complex(:sym, exception: false) generate exception with weird timing
Applied in changeset commit:git|dc146babf47a84bbd1f176d766637d4a40327019.
----------
[Bug #20296] Clear errinfo when...
nobu (Nobuyoshi Nakada)
02:56 AM Revision f23d5028 (git): [Bug #20296] Refine the test
nobu (Nobuyoshi Nakada)
02:56 AM Revision dc146bab (git): [Bug #20296] Clear errinfo when `exception: false`
nobu (Nobuyoshi Nakada)
02:47 AM Revision a1ca96e1 (git): Bump github/codeql-action from 3.24.4 to 3.24.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.4 to 3.24.5.
- [Release notes](https:...
dependabot[bot]
12:34 AM Feature #20298 (Open): Introduce `Time()` type-cast / constructor.
Many Ruby primitive types have constructors, e.g. `Integer(...)`, `String(...)`, `Float(...)`, etc. These usually con... ioquatix (Samuel Williams)

02/25/2024

04:13 PM Misc #20281: DevMeeting-2024-03-14
* [Feature #13557] Allow to pass Array of `Backtrace::Location` to `Exception#set_backtrace` (byroot)
- Proposed pa...
byroot (Jean Boussier)
03:22 PM Revision c976cb52 (git): [ruby/irb] Add help messages to `show_source` and `show_doc`
commands
(https://github.com/ruby/irb/pull/887)
* Add help message to the show_source command
* Add help message to...
st0012 (Stan Lo)
03:21 PM Revision 898f30f8 (git): [ruby/irb] Refactor IRB::Context#prompting
(https://github.com/ruby/irb/pull/889)
https://github.com/ruby/irb/commit/7b323ee514
st0012 (Stan Lo)
12:22 PM Feature #20290: Add API for C extensions to free memory
There already is `ruby_vm_at_exit()`. What's wrong with that? shyouhei (Shyouhei Urabe)
10:12 AM Revision 3c4d0b13 (git): Exclude `.mailmap` from snapshots [ci skip]
It is only for old commits, useless without full repository logs. nobu (Nobuyoshi Nakada)
10:03 AM Revision eb661364 (git): Add `.mailmap` file to map SVN IDs [ci skip]
nobu (Nobuyoshi Nakada)
09:29 AM Bug #18743: Enumerator#next / peek re-use each others stacktraces
ruby_3_2 5e4606423da96c2e26b00981c22bddfce0d970bf merged revision(s) f15123c34ce80f3928612befe2a9aaf4c9d27fda. nagachika (Tomoyuki Chikanaga)
09:29 AM Revision 5e460642 (git): merge revision(s) f15123c34ce80f3928612befe2a9aaf4c9d27fda: [Backport #18743]
Fix stack trace for rescued StopIteration
---
enumerator.c | 15 +++++++++++++--
...
nagachika (Tomoyuki Chikanaga)
08:36 AM Revision c16b5075 (git): [ruby/tmpdir] [DOC] `require` inside each method on Dir
(https://github.com/ruby/tmpdir/pull/31)
https://github.com/ruby/tmpdir/commit/a1ec977923
adam12 (Adam Daniels)
08:32 AM Revision c0c56d17 (git): [ruby/tmpdir] Use `IO.popen` to list files
- Redirect `git ls-files` without shelling out.
- When building by `gem`, `__FILE__` is the path name given in the
...
nobu (Nobuyoshi Nakada)
08:07 AM Revision 61089620 (git): Update default gems list at 2c1b7bc51c335d85da994c87dfb37c [ci skip]
git[bot]
08:07 AM Revision 2c1b7bc5 (git): [ruby/reline] Bump version to v0.4.3
(https://github.com/ruby/reline/pull/642)
https://github.com/ruby/reline/commit/5137a3f3af
st0012 (Stan Lo)
07:08 AM Revision 2721a64e (git): [ruby/reline] Use gray and white as the default dialog theme
(https://github.com/ruby/reline/pull/637)
I think this has a few benefits:
1. Most terminal themes generally don't ...
st0012 (Stan Lo)
05:04 AM Bug #19973: Duplicate keyword argument names don't always warn
reverted backport commit at 1b9ff146e38c348519434754e0466352b8b25c50.
it cause CI failures.
http://rubyci.s3.amazon...
nagachika (Tomoyuki Chikanaga)
02:52 AM Bug #19973: Duplicate keyword argument names don't always warn
ruby_3_2 24dd529750c08b5603fb418a4f34998b9bf6c8f9 merged revision(s) c8d162c889008028b148437d02f36f4edaa749fd. nagachika (Tomoyuki Chikanaga)
05:04 AM Revision 7356067b (git): [ruby/tmpdir] Update gemspec according to the recent bundler template
https://github.com/ruby/tmpdir/commit/4ef7bc4f2a nobu (Nobuyoshi Nakada)
05:03 AM Revision 1b9ff146 (git): Revert "merge revision(s) c8d162c889008028b148437d02f36f4edaa749fd: [Backport #19973]"
This reverts commit 24dd529750c08b5603fb418a4f34998b9bf6c8f9. nagachika (Tomoyuki Chikanaga)
04:39 AM Revision 012a0b91 (git): [ruby/resolv] Simplify adding new entries
https://github.com/ruby/resolv/commit/081b8df705 nobu (Nobuyoshi Nakada)
04:39 AM Revision 30b99868 (git): [ruby/resolv] Treat hostname as same as aliases
https://github.com/ruby/resolv/commit/fa812d6454 nobu (Nobuyoshi Nakada)
03:50 AM Revision 2c0cf683 (git): Launchable: Fix the warning of pip
ono-max (Naoto Ono)
02:52 AM Revision 24dd5297 (git): merge revision(s) c8d162c889008028b148437d02f36f4edaa749fd: [Backport #19973]
[Bug #19973] Warn duplicated keyword arguments after keyword splat
---
parse.y | 1...
nagachika (Tomoyuki Chikanaga)

02/24/2024

10:08 PM Bug #20297 (Closed): Segmentation fault with ubuntu 22.04 ,Ruby 2.5.3 and mysql2, when I try to run console query
This is a likely a bug in the mysql2 gem, you could ask them: https://github.com/brianmario/mysql2
In any case, Ru...
jeremyevans0 (Jeremy Evans)
09:01 PM Bug #20297 (Closed): Segmentation fault with ubuntu 22.04 ,Ruby 2.5.3 and mysql2, when I try to run console query
I am trying to run query in rails console, but it gives Segmentation fault error, Ubuntu 22.04, MySql version 8.0,34,... sreenak (Sreena Kodoth)
09:01 PM Bug #20296 (Closed): Complex(:sym, exception: false) generate exception with weird timing
Happens in Ruby 3.2.2, 3.2.3 and 3.3.0 (didn't test others).
Add this to a file and execute it as-is:
```
3.ti...
MaxLap (Maxime Lapointe)
07:17 PM Misc #20013: Travis CI status
FYI mspec has a `--timeout SECONDS` option, which should help identify which spec is hanging/very slow. Eregon (Benoit Daloze)
09:08 AM Misc #20013: Travis CI status
jaruga (Jun Aruga) wrote in #note-19:
> We are seeing one of s390x build[1] is very slow, exceeding the maximum time...
jaruga (Jun Aruga)
09:01 AM Misc #20013: Travis CI status
jaruga (Jun Aruga) wrote in #note-19:
> We are seeing one of s390x build[1] is very slow, exceeding the maximum time...
jaruga (Jun Aruga)
03:23 PM Bug #19967: Already installed libruby.dylib is used for test on macOS
ruby_3_2 3960d894d98d20540e646a0d6c2186a2d676b96c merged revision(s) 665b4c5b2a31078d7db0173ad60daad0b463c1fd,642875e... nagachika (Tomoyuki Chikanaga)
03:23 PM Revision 3960d894 (git): merge revision(s) 665b4c5b2a31078d7db0173ad60daad0b463c1fd,642875e474b4e6a13770b1dbbc33d466ba5e0718,54b9b80b84760717aadb8bf67f638785ed895a58,361bce8d2c4c90a01eb3b7365a87dec0d93bb2b6: [Backport #19967]
[Bug #19967] Reset `LIBPATHENV` env after started
Not to affect other tools invoked as child processes.
...
nagachika (Tomoyuki Chikanaga)
10:02 AM Misc #20254: Add Launchable into Ruby CI
jaruga (Jun Aruga) wrote in #note-5:
> ...
> Below are the pull-requests about adding the Launchable.
>
> ...
>...
jaruga (Jun Aruga)
04:29 AM Feature #20274: Add RubyVM::ASAN.enabled?
I opened https://github.com/ruby/ruby/pull/10087 to implement this as an extension in `ext/-test-/` as suggested. kjtsanaktsidis (KJ Tsanaktsidis)
04:19 AM Revision e9e752c7 (git): Assert running_iseq before using it
When running_iseq happens to be 0, it's better to fail on the assertion
rather than referencing the null pointer.
k0kubun (Takashi Kokubun)
03:39 AM Revision 804b2a37 (git): [ruby/prism] Rebase against main
https://github.com/ruby/prism/commit/813e20d449 kddnewton (Kevin Newton)
03:39 AM Revision aa884140 (git): [ruby/prism] Less code modifications. More steep:ignore for now
https://github.com/ruby/prism/commit/7905bdbf83 Gopal Patel
03:39 AM Revision dfee0337 (git): [ruby/prism] Replace awkward code changes with steep:ignore
Also remove RBS for currently ignored files. Will follow-up when those
check fully in later PRs.
https://github.com/...
Gopal Patel
03:39 AM Revision 66565e36 (git): [ruby/prism] Add documentation for Location#source!
https://github.com/ruby/prism/commit/467e1cc2c4 nixme (Gopal Patel)
03:39 AM Revision 8fa18435 (git): [ruby/prism] Relax Location#source to be optional
https://github.com/ruby/prism/commit/9f00fe7510 nixme (Gopal Patel)
03:39 AM Revision bfbaafbd (git): [ruby/prism] Make rake check_annotations verify public RBS
https://github.com/ruby/prism/commit/db78eef6a2 nixme (Gopal Patel)
03:39 AM Revision ca8a6265 (git): [ruby/prism] Fix my RipperCompat logic mistake from expansion for steep flow analysis
https://github.com/ruby/prism/commit/f71a390c12 nixme (Gopal Patel)
03:39 AM Revision 935d4fab (git): [ruby/prism] Remove Ripper from public RBS, type-assert remaining issues
https://github.com/ruby/prism/commit/5fda7a0760 nixme (Gopal Patel)
03:39 AM Revision 7556fd93 (git): [ruby/prism] Split private types
https://github.com/ruby/prism/commit/0209d093ec nixme (Gopal Patel)
03:39 AM Revision e03e9c36 (git): [ruby/prism] wip: node unions
https://github.com/ruby/prism/commit/99a71675d4 nixme (Gopal Patel)
03:39 AM Revision 46fe3dc7 (git): [ruby/prism] Fix IgnoredNewlineToken comparison of Ripper::Lexer::State
https://github.com/ruby/prism/commit/8c9502f61b nixme (Gopal Patel)
03:39 AM Revision b9b07125 (git): [ruby/prism] Use steep to type check RBS and Ruby files
https://github.com/ruby/prism/commit/eabed9f4fd nixme (Gopal Patel)
03:12 AM Feature #20290: Add API for C extensions to free memory
Thanks Peter, that all sounds reasonable to me.
> If we want to use this feature for general bound library destruc...
kjtsanaktsidis (KJ Tsanaktsidis)
02:43 AM Feature #20290: Add API for C extensions to free memory
mdalessio (Mike Dalessio) wrote in #note-3:
> I would consider calling libxml2's `xmlCleanupParser` from Nokogiri'...
kou (Kouhei Sutou)
03:02 AM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
^ that docker fix unfortunately does not work for the Debian Bookworm image.
Is there anyone reading this that can t...
navels (Lee Nave)
02:56 AM Revision fc656ace (git): [PRISM] Sync to latest prism
kddnewton (Kevin Newton)
12:21 AM Revision e439419b (git): [DOC] Fix a typo
k0kubun (Takashi Kokubun)

02/23/2024

10:57 PM Misc #20013: Travis CI status
We are seeing one of s390x build[1] is very slow, exceeding the maximum timeout 50 minutes, totally taking the `make ... jaruga (Jun Aruga)
10:00 PM Misc #20013: Travis CI status
It seems some s390x builds are not starting after 3 hours now. I am asking Travis customer support.
https://app.tr...
jaruga (Jun Aruga)
10:22 PM Feature #20290: Add API for C extensions to free memory
> > Have you got an example of a particular C extension which needs to free memory in this way?
>
> I haven’t looked....
mdalessio (Mike Dalessio)
09:29 PM Feature #20290: Add API for C extensions to free memory
> Are extensions supposed to undefine the Ruby constants they defined?
No. Any Ruby managed objects don’t need to ...
peterzhu2118 (Peter Zhu)
10:17 PM Revision a255b43f (git): Update common.mk
peterzhu2118 (Peter Zhu)
09:54 PM Revision 96907f94 (git): [ruby/prism] Convert pm_integer_t to strings
https://github.com/ruby/prism/commit/fa9a30ad91 kddnewton (Kevin Newton)
08:53 PM Revision e4584941 (git): [DOC] Doc for command line options (#10059)
burdettelamar (Burdette Lamar)
08:02 PM Revision ec6532b4 (git): [ruby/prism] Add some encoding debugging to make testing easier
https://github.com/ruby/prism/commit/0c042561c6 kddnewton (Kevin Newton)
07:08 PM Revision ce8531fe (git): Stop using rb_str_locktmp_ensure publicly
rb_str_locktmp_ensure is a private API. peterzhu2118 (Peter Zhu)
07:08 PM Revision 8a6740c7 (git): YJIT: Lazily push a frame for specialized C funcs (#10080)
* YJIT: Lazily push a frame for specialized C funcs
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisv...
k0kubun (Takashi Kokubun)
06:59 PM Bug #20234 (Closed): Segfault parsing begin statement inside method definition receiver
Applied in changeset commit:git|50ace992c75724aac6765b944f9017e21901e276.
----------
[Bug #20234] Fix segv when pars...
eileencodes (Eileen Uchitelle)
06:59 PM Revision 50ace992 (git): [Bug #20234] Fix segv when parsing begin statement in method definition
In a method definition, the `begin` may not have an `nd_body`. When that
happens we get a null expr back from `last_e...
eileencodes (Eileen Uchitelle)
06:33 PM Revision 510404f2 (git): Stop using rb_fstring publicly
rb_fstring is a private API, so we should use rb_str_to_interned_str
instead, which is a public API.
peterzhu2118 (Peter Zhu)
06:33 PM Revision 01f9b2ae (git): Use rb_str_to_interned_str in parse.y
This commit changes rb_fstring to rb_str_to_interned_str in parse.y.
rb_fstring is private so it shouldn't be used by...
peterzhu2118 (Peter Zhu)
06:25 PM Revision 9a09e27a (git): [PRISM] Use new static literal comparisons
kddnewton (Kevin Newton)
06:25 PM Revision 02b531a8 (git): [ruby/prism] Factor in sign to integer comparison
https://github.com/ruby/prism/commit/377666a5df kddnewton (Kevin Newton)
06:25 PM Revision b9202788 (git): [ruby/prism] Refactor pm_node_list_insert to use a binary search
https://github.com/ruby/prism/commit/a060b21e1d kddnewton (Kevin Newton)
06:25 PM Revision a38cc177 (git): [ruby/prism] Duplicated when clauses
https://github.com/ruby/prism/commit/865b0d5fbe kddnewton (Kevin Newton)
06:25 PM Revision d1ce9898 (git): [ruby/prism] Duplicated hash keys
https://github.com/ruby/prism/commit/3e10c46c14 kddnewton (Kevin Newton)
05:56 PM Revision 73dd3ce0 (git): [ruby/ipaddr] Prefer String#start_with? over Regexp.match
https://github.com/ruby/ipaddr/commit/054fe12ec4 matsuda (Akira Matsuda)
05:55 PM Revision 6ad52e33 (git): [ruby/ipaddr] String#split seems to be faster than capturing digits with Regexp
https://github.com/ruby/ipaddr/commit/e0feb0708b matsuda (Akira Matsuda)
05:54 PM Bug #20258 (Closed): Socket::IPV6_RECVERR for IPv6
Applied in changeset commit:git|4bb432722832b6451a289d906b08db322de6bad7.
----------
Fixes [Bug #20258]
Signed-off-...
marek22k (Marek Küthe)
05:54 PM Revision 32f8ed7a (git): Typo fix.
Mike Shaver
05:47 PM Revision 8b2c421a (git): Add option for mtu discovery flag
Signed-off-by: Marek Küthe <[email protected]> marek22k (Marek Küthe)
05:47 PM Revision 4bb43272 (git): Fixes [Bug #20258]
Signed-off-by: Marek Küthe <[email protected]> marek22k (Marek Küthe)
03:24 PM Revision df5b8ea4 (git): Remove unneeded RUBY_FUNC_EXPORTED
peterzhu2118 (Peter Zhu)
03:24 PM Revision 386a0066 (git): Use rb_hash_foreach in objspace.c
Using RHASH_TBL_RAW is a private API, so we should use rb_hash_foreach
rather than RHASH_TBL_RAW with st_foreach.
peterzhu2118 (Peter Zhu)
03:24 PM Revision 6bd3e8fb (git): Use rb_hash_foreach in coverage
Using RHASH_TBL_RAW is a private API, so we should use rb_hash_foreach
rather than RHASH_TBL_RAW with st_foreach.
peterzhu2118 (Peter Zhu)
01:45 PM Misc #20281: DevMeeting-2024-03-14
* [Feature #20202] Memoized endless method definitions
* Do Matz and others have opinions on the syntax?
* If t...
matheusrich (Matheus Richard)
01:11 PM Revision ea2fb746 (git): [ruby/irb] Remove useless loaded file check
(https://github.com/ruby/irb/pull/885)
https://github.com/ruby/irb/commit/f6d489658e
tompng (tomoya ishida)
01:10 PM Revision 3371936b (git): Add Launchable into CI
ono-max (Naoto Ono)
12:50 PM Revision 7da3f8dc (git): [ruby/optparse] [DOC] About return value of OptionParser#new
https://github.com/ruby/optparse/commit/59b9fd7ddc nobu (Nobuyoshi Nakada)
12:32 PM Revision f0172fc7 (git): [ruby/irb] Remove workaround for empty lines in dynamic_prompt
(https://github.com/ruby/irb/pull/884)
https://github.com/ruby/irb/commit/820b9e8dd6
tompng (tomoya ishida)
12:32 PM Revision 598b0364 (git): [ruby/irb] Remove remaining `frozen_string_literal: false` in lib/
(https://github.com/ruby/irb/pull/883)
https://github.com/ruby/irb/commit/4bfdb23ae6
tompng (tomoya ishida)
12:16 PM Revision 41c0fb69 (git): [ruby/optparse] Add `exact:` keyword argument
https://github.com/ruby/optparse/commit/07e83673a8 nobu (Nobuyoshi Nakada)
10:53 AM Revision 4831bb5b (git): [ruby/irb] Turn on frozen literal in files
(https://github.com/ruby/irb/pull/881)
https://github.com/ruby/irb/commit/83d90550c2
st0012 (Stan Lo)
10:02 AM Revision 37dde6e2 (git): [ruby/irb] Unroll extension method generation
(https://github.com/ruby/irb/pull/882)
* Unroll extension method generation
Given we only have 2 remaining extensio...
st0012 (Stan Lo)
04:55 AM Revision f4036608 (git): Fallback more macos-arm-oss jobs to macos-14
A follow-up on https://github.com/ruby/ruby/pull/10074 k0kubun (Takashi Kokubun)
03:42 AM Revision a154ea0c (git): [ruby/prism] Ignore other ERANGE errors for floats
https://github.com/ruby/prism/commit/4267161ca7 kddnewton (Kevin Newton)
03:42 AM Revision 40165354 (git): [PRISM] Integrate new number parsing
kddnewton (Kevin Newton)
03:42 AM Revision 5e0589cf (git): [ruby/prism] Parse float values
https://github.com/ruby/prism/commit/9137226a52 kddnewton (Kevin Newton)
03:42 AM Revision 3b3def5d (git): [ruby/prism] Regenerate snapshots using integer values
kddnewton (Kevin Newton)
03:42 AM Revision af0a6ea1 (git): [ruby/prism] Add an IntegerField for parsing integer values
https://github.com/ruby/prism/commit/120d8c0479 kddnewton (Kevin Newton)
03:42 AM Revision ff6ebba9 (git): [ruby/prism] Parse numeric values
https://github.com/ruby/prism/commit/a6a552411c kddnewton (Kevin Newton)
03:34 AM Revision 548151d1 (git): Bump github/codeql-action from 3.24.3 to 3.24.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.3 to 3.24.4.
- [Release notes](https:...
dependabot[bot]
02:14 AM Bug #20295: Segmentation fault when parsing `/invalid_regexp/ =~ s`
This bug was introduced by https://github.com/ruby/ruby/commit/e7ab5d891c3272e72caef6879e90ad8ae4e13dea. Then only ha... yui-knk (Kaneko Yuichiro)
02:12 AM Bug #20295 (Closed): Segmentation fault when parsing `/invalid_regexp/ =~ s`
Applied in changeset commit:git|3ca6da24e397e550d589a69791be7697c0cb73c6.
----------
[Bug #20295] Fix SEGV when pars...
yui-knk (Kaneko Yuichiro)
02:12 AM Revision 3ca6da24 (git): [Bug #20295] Fix SEGV when parsing invalid regexp
yui-knk (Kaneko Yuichiro)
12:11 AM Revision d5080f6e (git): Fix -Wsign-compare on String#initialize
../string.c:1886:57: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned... k0kubun (Takashi Kokubun)

02/22/2024

11:28 PM Revision 38bf622c (git): Fix -Wmaybe-uninitialized on Complex#** (#10075)
k0kubun (Takashi Kokubun)
11:15 PM Revision cdca9420 (git): Fallback every macos-arm-oss usage to macos-14 (#10074)
k0kubun (Takashi Kokubun)
10:34 PM Revision bccf4b30 (git): Skip under_gc_compact_stress on s390x (#10073)
k0kubun (Takashi Kokubun)
10:32 PM Revision 2b0bc447 (git): Remove unused matrix.configure from macos.yml
k0kubun (Takashi Kokubun)
09:43 PM Revision 3c61222d (git): [ruby/prism] all constant nodes should have full_name and full_name_parts methods
https://github.com/ruby/prism/commit/792265ae0b exterm (Philip Müller)
08:52 PM Revision 9d8d029e (git): Remove unused variable in imemo.c
The variable klass is only used in debug builds and generates a warning
on non-debug builds.
peterzhu2118 (Peter Zhu)
06:33 PM Revision a16fefcf (git): YJIT: Optimize attr_writer (#9986)
* YJIT: Optimize attr_writer
* Comment about StackOpnd vs SelfOpnd
k0kubun (Takashi Kokubun)
06:08 PM Bug #20295 (Closed): Segmentation fault when parsing `/invalid_regexp/ =~ s`
These should be Syntax Error, but segfaults
~~~sh
./ruby -ce "/[/=~s"
./ruby -ce "/(?<>)/=~s"
./ruby -ce "/(?<a>[...
tompng (tomoya ishida)
04:35 PM Revision e65315a7 (git): Extract imemo functions from gc.c into imemo.c
peterzhu2118 (Peter Zhu)
02:22 PM Bug #20292 (Closed): Abort ruby by `String#initialize`
Applied in changeset commit:git|e04146129ec6898dd6a9739dad2983c6e9b68056.
----------
[Bug #20292] Truncate embedded ...
nobu (Nobuyoshi Nakada)
01:50 PM Bug #20292: Abort ruby by `String#initialize`
ksss (Yuki Kurihara) wrote:
> - String must be at least 64 characters long
Embedded string.
> - Call `#initial...
nobu (Nobuyoshi Nakada)
12:25 PM Bug #20292 (Closed): Abort ruby by `String#initialize`
I found a code that causes an anomaly.
```
$ uname -a
Darwin 20208671n 22.6.0 Darwin Kernel Version 22.6.0: Wed ...
ksss (Yuki Kurihara)
02:11 PM Bug #20294: Parser no longer warns on some duplicated keys
In addition, it appears that integers with different bases are not handled:
```ruby
{ 0xA => 1, 10 => 1 }
{ 0b1 ...
kddnewton (Kevin Newton)
02:09 PM Bug #20294 (Closed): Parser no longer warns on some duplicated keys
Previously, the parser would warn on all duplicated keys. Now some cases are not handled:
```ruby
{ 100.0 => 1, 1...
kddnewton (Kevin Newton)
01:46 PM Revision e0414612 (git): [Bug #20292] Truncate embedded string to new capacity
nobu (Nobuyoshi Nakada)
01:22 PM Revision 5f7f229a (git): Adjust indent [ci skip]
nobu (Nobuyoshi Nakada)
01:16 PM Revision 88431c47 (git): [ruby/irb] Delete IRB::NotImplementedError
(https://github.com/ruby/irb/pull/878)
https://github.com/ruby/irb/commit/6751778948
tompng (tomoya ishida)
01:05 PM Revision 183c574d (git): Save the performance warning flag
nobu (Nobuyoshi Nakada)
01:03 PM Feature #20293 (Closed): Add `Warning.categories` method that returns the warning category names
I propose a new method `Warning.categories`.
This would be useful (or necessary) for tests mainly.
Currently, `En...
nobu (Nobuyoshi Nakada)
12:12 PM Feature #20291: Add --warning=category option the same as -W:category
Hello, what's the rationale? Anonymous
11:56 AM Feature #20291 (Open): Add --warning=category option the same as -W:category
I propose a `--warning` option that corresponds to the `-W` option, like the `--encoding` option to the `-E` option.
...
nobu (Nobuyoshi Nakada)
11:18 AM Revision d597335c (git): Remove unused variable
It was used only in old `SAVE_ROOT_JMPBUF`, and the warning was
suppressed by this macro.
nobu (Nobuyoshi Nakada)
11:05 AM Revision 64785145 (git): CI: Refactor a logic for skipped tests.
* Make the make's TESTS argument update easily by updating TESTS env with added steps.
* Use the `$(...)` rather than...
Jun Aruga
10:45 AM Revision 133d7743 (git): Cover all warning category options
nobu (Nobuyoshi Nakada)
10:08 AM Revision 7d112b04 (git): Use `rb_encoding *` as literal hash of NODE_ENCODING
This reduces dependency on VALUE. yui-knk (Kaneko Yuichiro)
09:35 AM Revision 6a0b05f4 (git): Remove `SAVE_ROOT_JMPBUF` as it no longer has any effect. (#10066)
Samuel Williams
09:29 AM Bug #20289 (Closed): Bug in Zlib::GzipReader#eof? breaks reading certain sizes of gzipped files.
https://github.com/ruby/zlib/pull/72 has been merged. hsbt (Hiroshi SHIBATA)
09:22 AM Revision b7f5c800 (git): Use `terms?` instead of `opt_terms`
ydah (Yudai Takada)
08:33 AM Feature #19422 (Assigned): Make `--enabled-shared` mandatory on macOS
hsbt (Hiroshi SHIBATA)
06:43 AM Revision e1c684e4 (git): Refactor to use `struct string_part`
nobu (Nobuyoshi Nakada)
06:43 AM Revision 97a39ccc (git): Split `init_funcname`
Extract `build_funcname` that takes the prefix as an argument, and
`concat_funcname` that concats the parts.
nobu (Nobuyoshi Nakada)
06:42 AM Revision 9f8f32bf (git): [ruby/zlib] In Zlib::GzipReader#eof? check if we're actually at eof
Only consider it eof if we read ahead and something fills the buf.
If not, we may only have empty blocks and the foot...
martinemde (Martin Emde)
02:51 AM Revision 7acc8bbe (git): Bump ruby/setup-ruby from 1.171.0 to 1.172.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.171.0 to 1.172.0.
- [Release notes](https://github...
dependabot[bot]
 

Also available in: Atom