Project

General

Profile

Activity

From 02/21/2024 to 02/27/2024

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]

02/21/2024

11:09 PM Revision 35f68e7d (git): YJIT: Assert Opnd::Stack's SP expectation (#10061)
k0kubun (Takashi Kokubun)
11:05 PM Revision 5f00b2dc (git): Fix the insn position shown by rb_vm_check_canary (#10062)
k0kubun (Takashi Kokubun)
10:55 PM Revision be96dc9f (git): [PRISM] Support it local variable
kddnewton (Kevin Newton)
10:55 PM Revision 31735d77 (git): [ruby/prism] Update for Ruby 3.4 errors
https://github.com/ruby/prism/commit/20fea2cf2b kddnewton (Kevin Newton)
10:55 PM Revision 90c5393f (git): [ruby/prism] Support ItParametersNode
So that compilers know they need to add to add an anonymous
variable to the local table.
https://github.com/ruby/pri...
kddnewton (Kevin Newton)
10:42 PM Revision 0be09967 (git): YJIT: Grab stack operands after SP change in String#byteslice (#10060)
Previously, `StackOperand`s caching `sp_offset` was held across a
jit_prepare_call_with_gc(), which invalidates the o...
alanwu (Alan Wu)
10:38 PM Revision 551f6474 (git): [ruby/prism] Allow skipping warnings as needed, and pass a reason through to Parser::Diagnostic
https://github.com/ruby/prism/commit/6a84a3c9fb noahgibbs (Noah Gibbs)
10:38 PM Revision 45ae69e3 (git): [ruby/prism] Update lib/prism/translation/parser.rb
https://github.com/ruby/prism/commit/c3cc282343
Co-authored-by: Kevin Newton <[email protected]>
noahgibbs (Noah Gibbs)
10:38 PM Revision e3b9eec3 (git): [ruby/prism] Translation::Parser should process warnings, not just errors
https://github.com/ruby/prism/commit/ea7e400f85 noahgibbs (Noah Gibbs)
10:25 PM Revision 80ffa300 (git): [PRISM] Eval frames should not have an absolute path
kddnewton (Kevin Newton)
09:57 PM Feature #20290: Add API for C extensions to free memory
I'm positive on this idea in general, but I'd like the semantics of a) what extensions can/can't do inside this funct... kjtsanaktsidis (KJ Tsanaktsidis)
07:33 PM Feature #20290 (Closed): Add API for C extensions to free memory
GitHub PR: https://github.com/ruby/ruby/pull/10055
Ticket #19993 added the new feature RUBY_FREE_AT_EXIT, which fr...
peterzhu2118 (Peter Zhu)
08:42 PM Revision fce78047 (git): [DOC] Doc for field processing (#10008)
burdettelamar (Burdette Lamar)
08:24 PM Revision 577d07cf (git): YJIT: Allow non-leaf calls on opt_* insns (#10033)
* YJIT: Allow non-leaf calls on opt_* insns
* s/on_send_insn/is_sendish/
* Repeat known_cfunc_codegen
k0kubun (Takashi Kokubun)
07:38 PM Misc #20281: DevMeeting-2024-03-14
* [Feature #20306] Add rb_free_at_exit_p (peterzhu2118 & HParker)
* Ticket #19993 added the new feature RUBY_FREE_A...
peterzhu2118 (Peter Zhu)
08:31 AM Misc #20281: DevMeeting-2024-03-14
- [Misc #20287] DevMeeting before or after RubyKaigi
- It would be great to plan ahead, so that people can make the...
duerst (Martin Dürst)
07:14 PM Revision 5c02d977 (git): [PRISM] Remove more dummy line usage
* or
* optional parameter
* parentheses
* pre execution
* post execution
* range
* rational
* redo
kddnewton (Kevin Newton)
07:14 PM Revision e19fde52 (git): [PRISM] Remove more dummy line usage
* if
* unless
kddnewton (Kevin Newton)
07:14 PM Revision e1f6b477 (git): [PRISM] Remove more dummy line usage
* regular expressions
* rescue
* rescue modifier
kddnewton (Kevin Newton)
07:14 PM Revision e7d480df (git): [PRISM] Remove more dummy line usage
* returns
* retry
* self
* singleton class
kddnewton (Kevin Newton)
07:14 PM Revision 61c5936d (git): [PRISM] Remove more dummy line usage
* source files
* source encodings
* source lines
kddnewton (Kevin Newton)
07:14 PM Revision 220ced74 (git): [PRISM] Remove more dummy line usage
* yields
* xstrings
* while
* until
* undef
* true
* symbol
* super
* string
* statements
* splat
kddnewton (Kevin Newton)
06:53 PM Bug #20289 (Closed): Bug in Zlib::GzipReader#eof? breaks reading certain sizes of gzipped files.
Hello,
A bug in the implementation of Zlib::GzipReader#eof? makes it very difficult to read certain rubygems using...
martinemde (Martin Emde)
05:45 PM Revision 8bc51a39 (git): [rubygems/rubygems] Check for correct exception on older psych versions
https://github.com/rubygems/rubygems/commit/52de6eccf5 segiddins (Samuel Giddins)
05:45 PM Revision 997470b7 (git): [rubygems/rubygems] Commit missing new method
https://github.com/rubygems/rubygems/commit/5265b4ce3d segiddins (Samuel Giddins)
05:45 PM Revision 466ed0e1 (git): [rubygems/rubygems] Add a test for safe yaml
https://github.com/rubygems/rubygems/commit/148deade0a segiddins (Samuel Giddins)
05:45 PM Revision 5dcc7a03 (git): [rubygems/rubygems] Use a writer method on the module instead of a constant
https://github.com/rubygems/rubygems/commit/240d84eea3 segiddins (Samuel Giddins)
05:44 PM Revision c2812fb6 (git): [rubygems/rubygems] Control whether YAML aliases are enabled in Gem::SafeYAML.safe_load via a constant
https://github.com/rubygems/rubygems/commit/6bedb1cb79 segiddins (Samuel Giddins)
04:57 PM Revision 5ab6b318 (git): [ruby/fileutils] [DOC] FileUtils::VERSION
https://github.com/ruby/fileutils/commit/48742e2921 nobu (Nobuyoshi Nakada)
04:57 PM Revision 2edc14be (git): [ruby/fileutils] [DOC] nodoc for private methods and module
https://github.com/ruby/fileutils/commit/75c6010aab nobu (Nobuyoshi Nakada)
04:45 PM Misc #20260 (Closed): ISEQ flag for prism compiler
@mame remembered that we have `RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location(loc)`, so we don't actually ... kddnewton (Kevin Newton)
04:45 PM Revision 6e704311 (git): [ruby/pp] Extract pp_hash_pair
The method which prints single pair of a hash, to make extending
pretty printing Hash easier, apart from Hash constru...
nobu (Nobuyoshi Nakada)
04:45 PM Revision 37b8fc74 (git): [ruby/pp] Get rid of hardcoded class name
So that the `pp` method can work in inherited classes with that
class.
https://github.com/ruby/pp/commit/f204df3aad
nobu (Nobuyoshi Nakada)
04:44 PM Revision 82a4c3af (git): Add error for iseqs compiled by prism
kddnewton (Kevin Newton)
04:44 PM Revision 0f1ca949 (git): [PRISM] Provide runtime flag for prism in iseq
kddnewton (Kevin Newton)
04:39 PM Revision d9ebb65b (git): [ruby/pp] Fix compatibility with 3.3 or earlier
https://github.com/ruby/pp/commit/f5cee21a1e nobu (Nobuyoshi Nakada)
04:33 PM Revision 330830dd (git): Add IMEMO_NEW
Rather than exposing that an imemo has a flag and four fields, this
changes the implementation to only expose one fie...
peterzhu2118 (Peter Zhu)
04:04 PM Revision 2e6f8554 (git): [ruby/date] Remove the unintentional ability to parse `Symbol`
It's been 2 years since ruby/date#49, so it's okay.
https://github.com/ruby/date/commit/435dfec6c8
nobu (Nobuyoshi Nakada)
03:58 PM Revision 96f21e9d (git): Re-enable test now that dump is all ASCII
kddnewton (Kevin Newton)
03:47 PM Revision 2b2e61e6 (git): [ruby/prism] Only call encoding_changed callback on change
https://github.com/ruby/prism/commit/7d0bea3ce0 kddnewton (Kevin Newton)
03:22 PM Revision bf680af7 (git): [ruby/prism] Remove non-ASCII characters from --dump=parsetree
https://github.com/ruby/prism/commit/6d4cd21e98 kddnewton (Kevin Newton)
03:13 PM Revision 402690c3 (git): Fix incomplete switch statement in imemo_memsize
The switch statement is not exhaustive, meaning the "unreachable"
comment was not correct. This commit fixes it by ma...
peterzhu2118 (Peter Zhu)
02:37 PM Revision 01c7e16c (git): Separate miniruby from dmyext.c
nobu (Nobuyoshi Nakada)
12:19 PM Misc #20254: Add Launchable into Ruby CI
I updated the GitHub comments feature based on https://bugs.ruby-lang.org/issues/20254#note-10. Thank you for your fe... ono-max (Naoto Ono)
11:47 AM Bug #20286: TracePoint does not emit `thread_end` event when thread exits with exception
We can backport this to Ruby 3.0, however the PR will be a bit different. I am okay if we choose not to backport to 3... ioquatix (Samuel Williams)
11:35 AM Bug #20286 (Closed): TracePoint does not emit `thread_end` event when thread exits with exception
ioquatix (Samuel Williams)
05:47 AM Bug #20286: TracePoint does not emit `thread_end` event when thread exits with exception
Proposed fix: https://github.com/ruby/ruby/pull/10039 ioquatix (Samuel Williams)
05:40 AM Bug #20286 (Closed): TracePoint does not emit `thread_end` event when thread exits with exception
Using TracePoint to trace `thread_begin` and `thread_end` events fails to emit the `thread_end` event when an excepti... ioquatix (Samuel Williams)
11:46 AM Bug #20288 (Closed): `rb_fiber_scheduler_close` exceptions are not handled in `rb_fiber_scheduler_set`.
ioquatix (Samuel Williams)
08:46 AM Bug #20288: `rb_fiber_scheduler_close` exceptions are not handled in `rb_fiber_scheduler_set`.
PR: https://github.com/ruby/ruby/pull/10042 ioquatix (Samuel Williams)
08:45 AM Bug #20288 (Closed): `rb_fiber_scheduler_close` exceptions are not handled in `rb_fiber_scheduler_set`.
The code responsible for setting a new scheduler on a thread does not properly handle exceptions raised by `rb_fiber_... ioquatix (Samuel Williams)
11:33 AM Revision 04729fe6 (git): Fix exception handling in `rb_fiber_scheduler_set`. (#10042)
Samuel Williams
11:32 AM Revision 78d9fe69 (git): Ensure that exiting thread invokes end-of-life behaviour. (#10039)
Samuel Williams
10:37 AM Revision fd913546 (git): [DOC] Comment about logic to care about static/dynamic hetero build
The condition is rarely met in usual cases, so it's worth to note about
the situation and the reason why we care abou...
katei (Yuta Saito)
10:28 AM Revision 6aa5067a (git): Revert rubygems tempdir check
This check was added to check if other tests still remain tempdir, and these tests do on Windows.
* `TestGemCommands...
nobu (Nobuyoshi Nakada)
09:56 AM Misc #20287: DevMeeting before or after RubyKaigi
Thank you for the ticket!
There is no room reservation but
* 5/14 (Tue) (RubyKaigi day0) 14:00-16:00 (16:00-18:...
ko1 (Koichi Sasada)
08:29 AM Misc #20287 (Closed): DevMeeting before or after RubyKaigi
RubyKaigi itself runs from May 15-17 (Wed-Fri) in Naha.
It would be nice to have a DevMeeting before or afterwards...
duerst (Martin Dürst)
08:57 AM Revision b1431ce4 (git): Add comments to dmydln.c, dmyenc.c, and dmyext.c
They are used conditionally in miniruby, dynamically-linked ruby, and
statically-linked ruby (--with-static-linked-ex...
mame (Yusuke Endoh)
08:14 AM Revision 6ecb14df (git): [rubygems/rubygems] Reset `Gem.state_file` along with `Gem.state_home`
As `Gem.state_file` is placed under `Gem.state_home` directory, when
the latter is reset, also the former should be r...
nobu (Nobuyoshi Nakada)
06:45 AM Revision 1fa4d15c (git): Add `Test::Unit::TestCase#method_name`
For the compatibility with test-unit gem. nobu (Nobuyoshi Nakada)
06:39 AM Revision fc1a7a46 (git): [rubygems/rubygems] Use Hash#compact
https://github.com/rubygems/rubygems/commit/9d4ff6ff30
Co-authored-by: Samuel Giddins <[email protected]>
hsbt (Hiroshi SHIBATA)
06:39 AM Revision c8fb4f30 (git): [rubygems/rubygems] Skip nil-value keys to make metadata reproducible
Nil-value keys in a mapping end with a space or not depending on
libyaml versions, and result metadata are different ...
nobu (Nobuyoshi Nakada)
06:38 AM Revision d5786849 (git): `rb_thread_lock_native_thread()`
Introduce `rb_thread_lock_native_thread()` to allocate dedicated
native thread to the current Ruby thread for M:N thr...
ko1 (Koichi Sasada)
04:36 AM Revision 91cb3035 (git): Remove not used universal parser macros and functions
yui-knk (Kaneko Yuichiro)
03:30 AM Revision d0786cde (git): [rubygems/rubygems] rake man:build
https://github.com/rubygems/rubygems/commit/e0ef515732 hsbt (Hiroshi SHIBATA)
03:30 AM Revision 08753f20 (git): [rubygems/rubygems] Use https instead of http
https://github.com/rubygems/rubygems/commit/bcbe6f7b7a hsbt (Hiroshi SHIBATA)
02:55 AM Revision 081ee3d3 (git): Add memory leak test for eval kwargs
jhawthorn (John Hawthorn)
02:55 AM Revision 1c97abaa (git): De-dup identical callinfo objects
Previously every call to vm_ci_new (when the CI was not packable) would
result in a different callinfo being returned...
jhawthorn (John Hawthorn)
02:53 AM Bug #20285: Stale inline method caches when refinement modules are reopened
Fixed by https://github.com/ruby/ruby/pull/10037
I'll mark this as requiring a backport for 3.3, but I think there...
jhawthorn (John Hawthorn)
02:44 AM Bug #20285 (Closed): Stale inline method caches when refinement modules are reopened
This is essentially the same issue as #11672, but for inline method caches rather than class caches.
In Ruby 3.3 w...
jhawthorn (John Hawthorn)
02:00 AM Revision 2a6917b4 (git): Fix string value in hash literal being forced frozen
We should pass `false` for `hash_key` for value nodes. Credits to
`@kddnewton` for noticing and bisecting.
alanwu (Alan Wu)
01:57 AM Revision 5fb574ae (git): `rb_parser_warn_duplicate_keys` doesn't need to take care of NODE_LIT anymore
NODE_LIT is created only for `shareable_constant_value`.
This means hash key node is never NODE_LIT.
yui-knk (Kaneko Yuichiro)
01:23 AM Revision ce4142bc (git): YJIT: rb_str_concat_literals is not leaf (#10035)
k0kubun (Takashi Kokubun)
12:16 AM Revision 776dbbba (git): Remove hack for ripper.y generation
Before Rearchitect Ripper (89cfc15), parser and ripper used different
semantic value data type for same symbols.
"ext...
yui-knk (Kaneko Yuichiro)
 

Also available in: Atom