Project

General

Profile

Activity

From 11/21/2024 to 11/27/2024

11/27/2024

10:20 PM Feature #20914 (Closed): Constructor Parameter Shortcuts
# Constructor Parameter Shortcuts
I propose adding a new syntax to simplify the constructor definition in the clas...
artemb (Artem Borodkin)
08:54 PM Misc #20879: DevMeeting-2024-12-12

* [Misc #20913] Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
*...
st0012 (Stan Lo)
08:46 PM Misc #20913 (Closed): Proposal: Adding Jeremy Evans and Burdette Lamar to www.ruby-lang.org's English Editorial Team
Hi everyone, I'd like to propose that we invite @jeremyevans0 and @burdettelamar to join the editorial team for [ruby... st0012 (Stan Lo)
07:40 PM Feature #20912: Add warning when redefining __id__ as well as object_id
Is `object_id` really called that much? I can't really think of something that really depend on it from the top of my... byroot (Jean Boussier)
06:34 PM Feature #20912: Add warning when redefining __id__ as well as object_id
I think it's a good idea to warn against redefining `__id__`, but I think we should keep warning against redefining `... mame (Yusuke Endoh)
03:16 PM Feature #20912: Add warning when redefining __id__ as well as object_id
> do you want to redefine it?
Shopify has case like this where one of the GraphQL attribute is `object_id` and tha...
byroot (Jean Boussier)
05:58 AM Feature #20912: Add warning when redefining __id__ as well as object_id
nobu (Nobuyoshi Nakada) wrote in #note-2:
> As for `object_id`, do you want to redefine it?
I think it's best not...
jhawthorn (John Hawthorn)
03:53 AM Feature #20912: Add warning when redefining __id__ as well as object_id
Agree that `__id__` should be warned.
As for `object_id`, do you want to redefine it?
nobu (Nobuyoshi Nakada)
01:56 AM Feature #20912: Add warning when redefining __id__ as well as object_id
https://github.com/ruby/ruby/pull/12177 jhawthorn (John Hawthorn)
01:54 AM Feature #20912 (Closed): Add warning when redefining __id__ as well as object_id
Currently if you create a class and redefine or remove either `object_id` or `__send__` it will issue a warning. Ther... jhawthorn (John Hawthorn)
07:36 PM Revision 7dd2afbe (git): Fix global-buffer-overflow when outputting C backtrace
fill_lines is passed -1 for offset, which causes it to read the -1 index
of traces. This is not valid memory as -1 is...
peterzhu2118 (Peter Zhu)
06:51 PM Revision 34a43d59 (git): [ruby/reline] Fix io_gate.encoding raises IOError in ruby <= 3.0
(https://github.com/ruby/reline/pull/785)
https://github.com/ruby/reline/commit/85e20f0031
tompng (tomoya ishida)
06:36 PM Revision 33c6bbca (git): [ruby/reline] fix/omit test that fail in encoding=US_ASCII
(https://github.com/ruby/reline/pull/784)
https://github.com/ruby/reline/commit/a6d1ac54e6
tompng (tomoya ishida)
05:12 PM Revision 0af2eafc (git): Fix C level backtrace info on macOS clang 16
macOS clang 16 generates DWARF5, which have Mach-O section names that
are limited to 16 characters, which causes sect...
peterzhu2118 (Peter Zhu)
05:04 PM Revision 3354324c (git): Move `Kernel#with_yjit` to `Module#with_yjit`
nobu (Nobuyoshi Nakada)
04:32 PM Revision 14ce2443 (git): Make rb_bug_without_die static
It's not used outside of error.c. peterzhu2118 (Peter Zhu)
04:26 PM Feature #20265: Deprecate and remove rb_newobj and rb_newobj_of
> Just FTR, there are also project which are using NEWOBJ, such as:
>
> https://github.com/search?q=repo%3Ahparra%2...
peterzhu2118 (Peter Zhu)
04:14 PM Feature #20265: Deprecate and remove rb_newobj and rb_newobj_of
Just FTR, there are also project which are using `NEWOBJ`, such as:
https://github.com/search?q=repo%3Ahparra%2Fru...
vo.x (Vit Ondruch)
02:35 PM Revision 209f8ba7 (git): [ruby/json] Prevent a warning of "a candidate for gnu_printf format attribute"
GCC 13 prints the following warning.
https://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20241127T001003Z.log.htm...
mame (Yusuke Endoh)
01:50 PM Revision 26d020cb (git): Optimize `rb_must_asciicompat`
While profiling `strscan`, I noticed `rb_must_asciicompat` was quite
slow, as more than 5% of the benchmark was spent...
byroot (Jean Boussier)
12:03 PM Revision 43b059b6 (git): [DOC] Fix a link and sort links in NEWS.md
znz (Kazuhiro NISHIYAMA)
09:11 AM Bug #20910: leaked-globals not happy about dtrace related symbols
Hi. Yes, this works as well. Kulikjak (Jakub Kulik)
05:23 AM Bug #20910: leaked-globals not happy about dtrace related symbols
Or does this help?
```diff
diff --git a/tool/leaked-globals b/tool/leaked-globals
index 05ce02658b7..6118cd56e81...
nobu (Nobuyoshi Nakada)
08:31 AM Revision 87fc9f4a (git): [DOC] Add more links to maintainers
nobu (Nobuyoshi Nakada)
07:45 AM Revision ac7b63e3 (git): Fixed test condition for specified bundled gems
hsbt (Hiroshi SHIBATA)
07:45 AM Revision 26aebdb6 (git): Added --env option to mspec for test-bundled-gems
hsbt (Hiroshi SHIBATA)
07:45 AM Revision 671e6eb6 (git): Run only specified bundled gems with BUNDLED_GEMS
hsbt (Hiroshi SHIBATA)
07:45 AM Revision 9349e98b (git): Allow to run 'make test-bundled-gems BUNDLED_GEMS=csv,rexml' for only testing csv and rexml
hsbt (Hiroshi SHIBATA)
07:45 AM Revision 24889e44 (git): Rename environment name to more descriptive
hsbt (Hiroshi SHIBATA)
03:19 AM Revision c41af37e (git): [ruby/io-console] Read errno before calling rb_io_path()
Possible fix for recent crashes seen on CI.
[BUG] rb_sys_fail_str(<STDIN>) - errno == 0
rb_io_path() calls rb_...
alanwu (Alan Wu)
02:43 AM Revision 3face42d (git): Revert "Add a temporal debugging code"
This reverts commit 5bd144c1bb20e22e4d9f5e5e0264820fd3ef8137. mame (Yusuke Endoh)
01:47 AM Revision 42b1eaf2 (git): Mark `fiber_entry` no-return
nobu (Nobuyoshi Nakada)
12:24 AM Revision d5de1a57 (git): [ruby/strscan] Implement #scan_integer to efficiently parse Integer
(https://github.com/ruby/strscan/pull/115)
Fix: https://github.com/ruby/strscan/issues/113
This allows to directly ...
byroot (Jean Boussier)
12:24 AM Revision a041a6c1 (git): [ruby/strscan] Add scan and search benchmark
(https://github.com/ruby/strscan/pull/111)
# Why?
To improve the parsing process, I would like to add benchmarks for...
naitoh (Jun NAITOH)

11/26/2024

10:04 PM Revision 092a48de (git): [rubygems/rubygems] [SpecFetcher] If candidates include {name}-ruby or ruby-{name}, recommend those.
https://github.com/rubygems/rubygems/commit/d7d33172c1 Ellen Marie Dash
09:49 PM Revision 8f9b9aec (git): YJIT: Implement opt_reverse insn (#12175)
Randy Stauner
09:40 PM Revision 33f15ce8 (git): Sync the main branch of `ruby/mmtk`
The sync script defaults to `master` when analysing which commits to
pick, but the default for new repos now is `main`.
eightbitraptor (Matt V-H)
07:31 PM Revision 1dd40ec1 (git): Optimize instructions when creating an array just to call `include?` (#12123)
* Add opt_duparray_send insn to skip the allocation on `#include?`
If the method isn't going to modify the array we ...
Randy Stauner
06:28 PM Bug #20911 (Rejected): Array#max doesn't take block if using &:
`Array#max` accepts a block that compares two values.
```
p ["1", "2", "3"].max {|i, j| i.to_i <=> j.to_i } #=> "...
mame (Yusuke Endoh)
06:09 PM Bug #20911 (Rejected): Array#max doesn't take block if using &:
```
["1","2","3"].max { |i| i.to_i }
=> "3"
["1","2","3"].max(&:to_i)
(irb):6:in `to_i': no implicit conv...
[email protected] (Andrew Vitovitch)
05:58 PM Revision c1dcd1d4 (git): [ruby/reline] KeyStroke handles multibyte character
(https://github.com/ruby/reline/pull/713)
https://github.com/ruby/reline/commit/5a8da85f2b
tompng (tomoya ishida)
05:50 PM Revision def68450 (git): [ruby/irb] Fix indentation of xstring literal
(https://github.com/ruby/irb/pull/1038)
Fixes indent calculation of this input
```
if false
p `ls`
end
```
https://...
tompng (tomoya ishida)
05:07 PM Feature #17566: Tune thread QoS / efficiency on macOS
I just ran across this article that touches on the sordid history of Thread priority and on how Apple Silicon is usin... shan (Shannon Skipper)
12:27 PM Bug #20910 (Closed): leaked-globals not happy about dtrace related symbols
I am not sure if this is Solaris specific, but when I build Ruby 3.3.6 with dtrace enabled and run its test suite, th... Kulikjak (Jakub Kulik)
11:59 AM Revision c192d688 (git): Add Modular GC and MMTk to NEWS
eightbitraptor (Matt V-H)
10:46 AM Revision 796d3159 (git): Add NEWS.md entry about `Hash.new(capacity:)`
[Feature #19236]
Ref: https://github.com/ruby/ruby/pull/10357
byroot (Jean Boussier)
10:36 AM Revision ffbfec39 (git): [MinGW] - Fix NET_LUID check
Raed Rizqie
10:25 AM Revision ad28f3a7 (git): Remove `Kernel.with_yjit` class method
nobu (Nobuyoshi Nakada)
10:06 AM Revision 9508cf86 (git): Clear shared_gc directory
nobu (Nobuyoshi Nakada)
10:06 AM Revision d0575032 (git): Use extmk.rb to configure shared GC
Since mkmf.rb is for extension libraries after installation, it cannot
work alone in build directory and needs to run...
nobu (Nobuyoshi Nakada)
10:06 AM Revision 9a5f6a45 (git): Fix up gc/extconf_base.rb
- Add flags to appropriate variables.
- Use `append_cflags` to append a flag safely, instead of appending
blindly.
nobu (Nobuyoshi Nakada)
10:06 AM Revision c5d31cb9 (git): Shell dependent command should be in Makefile.in
As common.mk is used by nmake.exe, the commands there need to be
accepted also by cmd.exe.
nobu (Nobuyoshi Nakada)
10:02 AM Revision 16d98dc3 (git): [ruby/uri] Suppress deprecate warning of test class (retry)
(https://github.com/ruby/uri/pull/140)
A follow-up to https://github.com/ruby/uri/commit/bd2e4be9d0fa
Also, leave a...
mame (Yusuke Endoh)
09:41 AM Feature #13820: Add a nil coalescing operator
Here are my 2 cents regarding this subject, if it can help moving forward with this feature.
Wkipedia has a great ...
genezys (Vincent Robert)
06:11 AM Revision 5471f284 (git): Skip failing rbs tests with latest HEAD of ruby/json
```
NoMethodError: undefined method 'flush' for an instance of JsonWrite
```
hsbt (Hiroshi SHIBATA)
06:11 AM Revision 2b91a56d (git): [rubygems/rubygems] Remove no longer necessary code
https://github.com/rubygems/rubygems/commit/9ea1539b08 deivid (David Rodríguez)
06:11 AM Revision 10de74b7 (git): [rubygems/rubygems] Avoid needing a second pass to ignore unlocked gems
When converging locked specifications to select the ones that should be
preserved while resolving, we can avoid havin...
deivid (David Rodríguez)
06:11 AM Revision 44ad2e3f (git): [rubygems/rubygems] Allow some materialized specs to be missing
As long as some spec in the materialization is complete.
https://github.com/rubygems/rubygems/commit/9a673b0bbb
deivid (David Rodríguez)
06:11 AM Revision 36fb7994 (git): [rubygems/rubygems] Deprecate `check` parameter to `Bundler::SpecSet#for`
https://github.com/rubygems/rubygems/commit/3041b3d784 deivid (David Rodríguez)
06:11 AM Revision c76b1ea2 (git): [rubygems/rubygems] Keep track of materializations in the original resolve
This gives more flexibility to allow further improvements.
https://github.com/rubygems/rubygems/commit/f11a890f5e
deivid (David Rodríguez)
06:11 AM Revision e15921c6 (git): [rubygems/rubygems] Create LazySpecifications directly with most_specific_locked_platform
So there's no need to pass it around in so many places.
https://github.com/rubygems/rubygems/commit/784ab7481b
deivid (David Rodríguez)
06:11 AM Revision 963f98a9 (git): [rubygems/rubygems] Enable `Performance/MapCompact` cop
https://github.com/rubygems/rubygems/commit/0c3a65871a deivid (David Rodríguez)
06:11 AM Revision 4addaaf4 (git): [rubygems/rubygems] More aggressive `Performance/FlatMap` cop configuration
https://github.com/rubygems/rubygems/commit/d8d68cc00e deivid (David Rodríguez)
06:11 AM Revision 11e522b9 (git): [rubygems/rubygems] Fix installs of subdependencies of unlocked dependencies to be conservative
When converging specification to pass the set of versions that should be
preserved from the lockfile during resolutio...
deivid (David Rodríguez)
06:11 AM Revision dd400ba6 (git): [rubygems/rubygems] Filter out gems to unlock inside `converge_specs`
https://github.com/rubygems/rubygems/commit/d0f789970f deivid (David Rodríguez)
06:11 AM Revision 91995d0a (git): [rubygems/rubygems] Remove unnecessary `verbose` parameter
For consistency with other specs.
https://github.com/rubygems/rubygems/commit/a5b2449896
deivid (David Rodríguez)
06:11 AM Revision d63eeafe (git): [rubygems/rubygems] Remove unnecessary `let` and nesting
https://github.com/rubygems/rubygems/commit/c519830d4d deivid (David Rodríguez)
06:11 AM Revision 6386d49f (git): [rubygems/rubygems] Fix development dependencies considered unnecessarily sometimes
When used with `LazySpecification` objects, `SpecSet#for` was
incorrectly considering development dependencies. This ...
deivid (David Rodríguez)
06:11 AM Revision 7c934603 (git): [rubygems/rubygems] Simplify more
https://github.com/rubygems/rubygems/commit/a2bb68a29b deivid (David Rodríguez)
06:11 AM Revision d6a0e575 (git): [rubygems/rubygems] Don't bother sorting if there's a single element
https://github.com/rubygems/rubygems/commit/6dc64f9851 deivid (David Rodríguez)
06:11 AM Revision 83ce2351 (git): [rubygems/rubygems] Remove no longer necessary code
https://github.com/rubygems/rubygems/commit/e1caeecdf8 deivid (David Rodríguez)
06:11 AM Revision 631908d9 (git): [rubygems/rubygems] Use `platform` local variable
https://github.com/rubygems/rubygems/commit/6a6041d073 deivid (David Rodríguez)
06:11 AM Revision 6916999f (git): [rubygems/rubygems] This is about locked_platforms
https://github.com/rubygems/rubygems/commit/df2c9eb52f deivid (David Rodríguez)
06:11 AM Revision 7b66aee0 (git): [rubygems/rubygems] Set instance variables in consistent order
https://github.com/rubygems/rubygems/commit/c382b606bd deivid (David Rodríguez)
06:11 AM Revision 693a7935 (git): JSON::GeneratorError expose invalid object
Fix: https://github.com/ruby/json/issues/710
Makes it easier to debug why a given tree of objects can't
be dumped as...
byroot (Jean Boussier)
06:11 AM Revision 6805e889 (git): [ruby/json] Stop using `rb_gc_mark_locations`
It's using `rb_gc_mark_maybe` under the hood, which isn't what
we need.
https://github.com/ruby/json/commit/e10d0bffcd
byroot (Jean Boussier)
06:11 AM Revision ee0de3fd (git): [ruby/json] JSON.dump: write directly into the provided IO
Ref: https://github.com/ruby/json/issues/524
Rather than to buffer everything in memory.
Unfortunately Ruby doesn't...
byroot (Jean Boussier)
05:11 AM Bug #20908: Ruby extension builds fail with GCC 15 which defaults to -std=gnu23
Ah, that could be a nice idea. Not sure if that breaks other parts though. shyouhei (Shyouhei Urabe)
05:04 AM Bug #20908: Ruby extension builds fail with GCC 15 which defaults to -std=gnu23
Can't we prioritize the condition `defined(rb_define_method)` for `RUBY_METHOD_FUNC`? nobu (Nobuyoshi Nakada)
04:51 AM Bug #20908 (Third Party's Issue): Ruby extension builds fail with GCC 15 which defaults to -std=gnu23
The extension library is confusing our C level API. `rb_define_singleton_method()` and friends do not intend to take ... shyouhei (Shyouhei Urabe)
05:00 AM Revision 51970165 (git): Update NEWS.md for Bug #20620
jeremyevans (Jeremy Evans)
04:09 AM Revision aa5b1d8d (git): [Feature #20293] Add `Warning.categories` to NEWS
nobu (Nobuyoshi Nakada)
04:00 AM Bug #20909 (Closed): Backport String indexing bug fixes
commit:02b70256b5171d4b85ea7eeab836d3d7cfb3dbfc
commit:6b4f8945d600168bf530d21395da8293fbd5e8ba
nobu (Nobuyoshi Nakada)
03:32 AM Revision 8655b9f7 (git): [ruby/uri] Suppress deprecate warning of test class and use EnvUtil.suppress_warning.
https://github.com/ruby/uri/commit/bd2e4be9d0 hsbt (Hiroshi SHIBATA)
03:32 AM Revision 1d9dc4c5 (git): [ruby/uri] Revert "Prevent a warning: URI::REGEXP is obsolete
(https://github.com/ruby/uri/pull/138)"
This reverts commit https://github.com/ruby/uri/commit/c00726a20a00.
https:...
hsbt (Hiroshi SHIBATA)
03:12 AM Revision 22c1ba94 (git): NEWS.md: Fix a typo
mame (Yusuke Endoh)
03:10 AM Revision 92cf8a57 (git): Add NEWS entries temporarily
https://bugs.ruby-lang.org/issues/20108
https://bugs.ruby-lang.org/issues/20564
https://bugs.ruby-lang.org/issues/207...
mame (Yusuke Endoh)
03:08 AM Revision c60cac50 (git): NEWS.md: sort the entries alphabetically
mame (Yusuke Endoh)
02:47 AM Misc #20879: DevMeeting-2024-12-12
* [Feature #20884] reserve "Ruby" toplevel module for Ruby language
* It's better to reserve this at Ruby 3.4, not...
hsbt (Hiroshi SHIBATA)
02:46 AM Revision 6b4f8945 (git): Many of Oniguruma functions need valid encoding strings
nobu (Nobuyoshi Nakada)
02:46 AM Revision 02b70256 (git): Check negative integer underflow
nobu (Nobuyoshi Nakada)
02:44 AM Revision c08e1f33 (git): [ruby/resolv] Omit Windows and MinGW platforms with with_udp_and_tcp
https://github.com/ruby/resolv/actions/runs/12021339854/job/33511655994?pr=64
```
=> 705: with_udp_and_tcp('12...
hsbt (Hiroshi SHIBATA)
02:13 AM Revision 4e59ae6e (git): Add news about MatchData#bytebegin and MatchData#byteend
shugo (Shugo Maeda)
01:29 AM Revision 56fbf64a (git): Fix vm_objtostring optimization for Symbol
Co-authored-by: John Hawthorn <[email protected]> Maximillian Polhill
12:28 AM Revision 36f67f6b (git): [ruby/resolv] _1 is not provided in Ruby 2.5
https://github.com/ruby/resolv/commit/83f18e2a49 hsbt (Hiroshi SHIBATA)

11/25/2024

10:31 PM Revision 7be0d505 (git): [ruby/logger] include license texts in gem
https://github.com/ruby/logger/commit/1a64cb552f Mike Linksvayer
08:38 PM Revision 544d6844 (git): Use footnote links instead
Stan Lo
08:38 PM Revision 96766517 (git): Update maintainer GH handles and add links when possible
Stan Lo
08:38 PM Revision c3144e4f (git): Escape Module in the header
Stan Lo
08:38 PM Revision 7c200a46 (git): Add new lines after headers
Stan Lo
08:38 PM Revision 9362753d (git): Update RDoc's maintainers list
Stan Lo
07:32 PM Revision 081bdc51 (git): YJIT: fix small typo in command line options help (#12167)
maximecb (Maxime Chevalier-Boisvert)
06:35 PM Revision cdd47436 (git): [rubygems/rubygems] Bump the rb-sys group across 2 directories with 1 update
Bumps the rb-sys group with 1 update in the /test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib... dependabot[bot]
06:14 PM Revision 62b9da70 (git): [rubygems/rubygems] Fix `bundle lock --add-checksums`
Due to a typo in the spec, the issue was not caught initially. If
Bundler does not need to re-resolve, `bundle lock` ...
deivid (David Rodríguez)
06:14 PM Revision e7bb5051 (git): [rubygems/rubygems] Make installer code more clear
I always found the `resolve_if_necessary` method pretty confusing
because by reading it, it suggests that resolution ...
deivid (David Rodríguez)
06:14 PM Revision c215e955 (git): [rubygems/rubygems] Most of the times, eagerly resolving is not necessary
All we need is to setup remote or local sources appropriately.
https://github.com/rubygems/rubygems/commit/3ceff46a2a
deivid (David Rodríguez)
05:56 PM Bug #20906: Segmentation Fault in compile_keyword_arg
Not sure if this is the same, but here's a shorter one that also crashes in 3.3.5.
*a[a:]=0
masterleep2 (Bill Lipa)
05:38 PM Revision 0f41cc44 (git): [ruby/reline] Fix tab completion appending quote
(https://github.com/ruby/reline/pull/782)
https://github.com/ruby/reline/commit/cbf213291c
tompng (tomoya ishida)
05:18 PM Revision cedcf2d6 (git): error.c: call `va_end` before jumping
The man page is clear that every `va_start` call MUST be succeeded by
the corresponding `va_end` call.
So `rb_raise`...
byroot (Jean Boussier)
04:40 PM Bug #20908: Ruby extension builds fail with GCC 15 which defaults to -std=gnu23
cc @shyouhei who made other C23 porting changes thesamesam (Sam James)
04:35 PM Bug #20908 (Third Party's Issue): Ruby extension builds fail with GCC 15 which defaults to -std=gnu23
Hi!
Upcoming GCC 15 defaults to C23 (`-std=gnu23`). One thing C23 changes is removing unprototyped functions, so `...
thesamesam (Sam James)
04:20 PM Revision 1d510a95 (git): [rubygems/rubygems] Fix test task name on generated readme when using test-unit
* bundler/lib/bundler/templates/newgem/README.md.tt (Development): Use the
test_task value to get the correct test ta...
gemmaro
02:57 PM Revision e1de5a6e (git): [rubygems/rubygems] Fix gemfury credentials getting written to logs in verbose mode
https://github.com/rubygems/rubygems/commit/585a6a89d4 deivid (David Rodríguez)
02:57 PM Revision eb87147b (git): [rubygems/rubygems] Improve index fetcher specs
https://github.com/rubygems/rubygems/commit/09e0971ab8 deivid (David Rodríguez)
02:56 PM Revision 77990f67 (git): [rubygems/rubygems] Remove comment about oldest supported version
That's indeed the ideal behavior but it's a mess to maintain because the
version of RubyGems shipped with each patchl...
deivid (David Rodríguez)
02:56 PM Revision 4e6ada3a (git): [rubygems/rubygems] Remove unnecessary and out of date ruby version check
We already do this check in `setup.rb` itself, which is run earlier.
https://github.com/rubygems/rubygems/commit/160...
deivid (David Rodríguez)
02:56 PM Revision d2acc71d (git): [rubygems/rubygems] Remove now dead code
https://github.com/rubygems/rubygems/commit/31fadaf2d2 deivid (David Rodríguez)
01:05 PM Revision f127bcb8 (git): define rb_current_ec_set in all cases
eightbitraptor (Matt V-H)
01:05 PM Revision 551be821 (git): Place all non-default GC API behind USE_SHARED_GC
So that it doesn't get included in the generated binaries for builds
that don't support loading shared GC modules
Co...
eightbitraptor (Matt V-H)
01:05 PM Revision d61933e5 (git): Use extconf to build external GC modules
Co-Authored-By: Peter Zhu <[email protected]> eightbitraptor (Matt V-H)
11:18 AM Revision 92585898 (git): Prevent memory leak
```
for (int i = 0; i < arg->family_size; i++) {
arg->getaddrinfo_entries[i] = allocate_fast_fallback_getaddrinfo...
mame (Yusuke Endoh)
10:58 AM Bug #20790: Syntax acceptance of `*x = p rescue p 1` is different between parse.y and prism
I checked if it is feasible with parse.y: https://github.com/ydah/ruby/commit/50100c136ac4bbe379b2c360994b739227610e1... ydah (Yudai Takada)
10:13 AM Revision 6ab76a62 (git): [rubygems/rubygems] Prevent a warning: net/http: Content-Type did not set
`make test-all RUBYOPT=-w` in the ruby/ruby repo printed the warning.
This change prevents the warning by specifying ...
mame (Yusuke Endoh)
08:40 AM Revision 4d8c793b (git): Fix initialization of `struct wait_fast_fallback_arg::cancelled`
nobu (Nobuyoshi Nakada)
08:00 AM Revision a355f7d3 (git): [ruby/open-uri] Use `ENV.update`
https://github.com/ruby/open-uri/commit/04067e54b9 nobu (Nobuyoshi Nakada)
07:28 AM Revision da8f5540 (git): [ruby/uri] Prevent a warning: URI::REGEXP is obsolete
(https://github.com/ruby/uri/pull/138)
https://github.com/ruby/uri/commit/c00726a20a
mame (Yusuke Endoh)
06:46 AM Revision 73cc312e (git): Skip flaky tests of rbs in macOS 15.x
hsbt (Hiroshi SHIBATA)
06:45 AM Revision f78f1e92 (git): Prevent a warning: setting Encoding.default_external
mame (Yusuke Endoh)
05:10 AM Revision ff5fc4b5 (git): Do not save the last error without sockets in the connection attempt (#12153)
* Do not save the last_error if there are no sockets waiting to be connected
In this implementation, the results of ...
Misaki Shioi
02:02 AM Feature #20861: Add an environment variable for tuning the default thread quantum
byroot (Jean Boussier) wrote in #note-6:
> Yes, quite literally: `Thread.current.quantum = 20` or something like tha...
Dan0042 (Daniel DeLorme)
01:58 AM Revision b305df8c (git): Skip sync failure when we specified old version
hsbt (Hiroshi SHIBATA)

11/24/2024

11:16 PM Revision 30fda411 (git): Removed redundant argument at Reline::LineEditor::CompletionBlockTest
hsbt (Hiroshi SHIBATA)
03:45 PM Revision bf47b1b5 (git): [ruby/reline] Fix completion quote, preposing and target calculation
bug
(https://github.com/ruby/reline/pull/763)
https://github.com/ruby/reline/commit/d3ba7216eb
tompng (tomoya ishida)
09:34 AM Revision c6ca3399 (git): Fix `--empty` option of `ifchange`
nobu (Nobuyoshi Nakada)
08:47 AM Revision 3826019f (git): Fix a build failure with musl
```
compiling gc.c
In file included from gc.c:80:
/usr/include/sys/prctl.h:88:8: error: redefinition of 'struct prctl...
Earlopain (Earlopain _)
08:26 AM Bug #20904: 3.4.0-preview2: Building miniruby.exe fails for mswin32
nobu (Nobuyoshi Nakada) wrote in #note-1:
> jun66j5 (Jun Omae) wrote:
> > Investigating it, Windows 8 is required a...
jun66j5 (Jun Omae)

11/23/2024

11:54 PM Bug #20907 (Closed): Fiber scheduler does not correctly re-lock mutex if `Mutex#sleep` is interrupted.
Applied in changeset commit:git|a8c2d5e7bee5fad0965baeb58d312ddc5932ec26.
----------
Ensure fiber scheduler re-acqui...
Anonymous
11:26 PM Bug #20907 (Closed): Fiber scheduler does not correctly re-lock mutex if `Mutex#sleep` is interrupted.
The following test fails with a `ThreadError` instead of a `RuntimeError`:
```ruby
def test_condition_variable
...
ioquatix (Samuel Williams)
11:54 PM Revision a8c2d5e7 (git): Ensure fiber scheduler re-acquires mutex when interrupted from sleep. (#12158)
[Bug #20907] Samuel Williams
03:44 PM Revision 31997661 (git): UBF is also required for synchronous name resolution (#12156)
`rb_thread_call_without_gvl2` is used to wait for the results of name resolution and connection attempts.
When there ...
Misaki Shioi
02:04 PM Revision 8d575e49 (git): Save the error that occurred during name resolution (#12155)
even if a system call error happens after the name resolution failure in the child thread.
pipe and write(2) are use...
Misaki Shioi
11:31 AM Bug #20904 (Feedback): 3.4.0-preview2: Building miniruby.exe fails for mswin32
jun66j5 (Jun Omae) wrote:
> Investigating it, Windows 8 is required after #20563 but `NTVER` is still `0x0600` in `w...
nobu (Nobuyoshi Nakada)
09:16 AM Revision 34e36a72 (git): Ensure global variable traces are freed at exit
ASAN_OPTIONS="detect_leaks=1" RUBY_FREE_AT_EXIT=1 ./miniruby -e 'trace_var(:$x){}' jhawthorn (John Hawthorn)
03:25 AM Revision a8ebc596 (git): Free parse result under -c
jhawthorn (John Hawthorn)

11/22/2024

09:49 PM Bug #20813: Segfault in rgengc_check_relation/RVALUE_WB_UNPROTECTED
Looks like other folks are running into this as well: https://github.com/sidekiq/sidekiq/issues/6502 davidcornu (David Cornu)
05:26 PM Revision b4d13fac (git): [ruby/openssl] Support signing CRLs using Ed25519
Allow CRLs to be signed using Ed25519 private keys by passing a nil digest.
https://github.com/ruby/openssl/commit/b...
Josh Cooper
05:26 PM Revision 6389c9a3 (git): [ruby/openssl] Support signing requests using Ed25519
Allow requests to be signed using Ed25519 private keys by passing a nil digest.
This is similar to commit https://git...
Josh Cooper
05:26 PM Revision ce4906ef (git): [ruby/openssl] Check for compatible openssl versions earlier
test_pkey wasn't checking for libressl as is done elsewhere.
Note the libressl version check is different when testi...
Josh Cooper
03:39 PM Feature #19191: Implicit console input transcoding is more desirable
POC code here
https://github.com/ruby/ruby/pull/12055
However for actual implementation for Unicode input I recom...
YO4 (Yoshinao Muramatsu)
02:47 PM Feature #19191: Implicit console input transcoding is more desirable
irb changes $stdin.{external,internal}_encoding.
This causes gets() to no longer return the correct content in irb.
...
YO4 (Yoshinao Muramatsu)
02:23 PM Bug #20906: Segmentation Fault in compile_keyword_arg
Worth noting that this is reported as a syntax error in Ruby 3.4.0 using both `prism` and `parse.y`
```
ruby 3.4....
eightbitraptor (Matt V-H)
02:15 PM Bug #20906 (Closed): Segmentation Fault in compile_keyword_arg
Hi,
I am getting a segmentation fault. The crash occurs in `compile_keyword_arg` (../compile.c:4604) during argume...
bendrissou (Bachir Bendrissou)
02:15 PM Feature #11177: DATAでEOF文字以降が読めない
rubyの-xオプション付与でソースファイルをバイナリオープンさせることでも```\x1A```以降の読み込みが可能でした。
こちらは ruby 3.3またはそれ以前でも可能のようです。
```
>less -F data.rb...
YO4 (Yoshinao Muramatsu)
01:36 PM Revision 0989400a (git): [rubygems/rubygems] fix bundle which commands on windows
https://github.com/rubygems/rubygems/commit/9e0018d9fe sodacris (Jua-Shun Wong)
10:01 AM Revision 80cfa572 (git): [Feature #20563] Update required Windows version
Update the default `NTVER`, so that the declarations of APIs
introduced since Windows 8 will be enabled.
https://lear...
nobu (Nobuyoshi Nakada)
09:55 AM Feature #20860 (Closed): Merge Optional Experimental Feature MMTk into Ruby
Applied in changeset commit:git|211aef1bc0f42545897892122da44ed01e066186.
----------
[ruby/mmtk] [Feature #20860] Im...
peterzhu2118 (Peter Zhu)
09:55 AM Revision 770ca58c (git): [ruby/mmtk] Use extconf.rb for external GC compilation
This commit adds extconf.rb for both the default GC and and MMTk to build
the external GC. This allows common.mk to n...
peterzhu2118 (Peter Zhu)
09:55 AM Revision 19840dfd (git): [ruby/mmtk] [Feature #20860] Implement Mark-Sweep with MMTK
This commit implements the mark-sweep algorithm using MMTk and allows
customizing the plan using MMTK_PLAN.
https://...
peterzhu2118 (Peter Zhu)
09:55 AM Revision 211aef1b (git): [ruby/mmtk] [Feature #20860] Implement NoGC with MMTk
This commit only supports initializing MMTk with NoGC and object
allocation.
https://github.com/ruby/mmtk/commit/39a...
peterzhu2118 (Peter Zhu)
09:32 AM Bug #20905 (Closed): Ruby VM hangs while using ractors
Hey! While doing some experiments with Ractors I ran into a Ruby VM hang. I see it both on Ruby 3.4.0-preview2 and 3.... ivoanjo (Ivo Anjo)
08:50 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
How would that work? e.g. when you need to resize it? byroot (Jean Boussier)
08:49 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
Rather I want to propose an opposite:
```C
char *rb_str_new_buffer(volatile VALUE *new_string, long size, rb_enco...
nobu (Nobuyoshi Nakada)
08:46 AM Revision f90c3563 (git): [DOC] Fix a link in NEWS.md
znz (Kazuhiro NISHIYAMA)
07:00 AM Revision 37a72b01 (git): Update bundled gems list as of 2024-11-21
git[bot]
06:00 AM Revision 5bd144c1 (git): Add a temporal debugging code
... to check the return value of ioctl
http://ci.rvm.jp/results/trunk_asan@ruby-sp1/5423172
```
/tmp/ruby/src/trunk_...
mame (Yusuke Endoh)
03:25 AM Bug #20903 (Closed): Segmentation fault when string encoding
Applied in changeset commit:git|4e01878badf6bbc06fa6538f6bea199f772b1b3e.
----------
[Bug #20903] `rb_econv_str_appe...
nobu (Nobuyoshi Nakada)
02:42 AM Bug #20903: Segmentation fault when string encoding
Thank you, ~~I've forgotten to add the test case using it~~ There is test/-ext-/econv/test_append.rb.
https://github....
nobu (Nobuyoshi Nakada)
03:24 AM Bug #20904 (Open): 3.4.0-preview2: Building miniruby.exe fails for mswin32
I tried to build 3.4.0-preview2 with MSVC x86, however linking miniruby.exe failed with the following eror:
```
l...
jun66j5 (Jun Omae)
01:36 AM Revision 4e01878b (git): [Bug #20903] `rb_econv_str_append` arguments expected to be String
nobu (Nobuyoshi Nakada)

11/21/2024

11:06 PM Revision d3098d20 (git): Removed extra assertions for Ruby 3.2
hsbt (Hiroshi SHIBATA)
11:06 PM Revision 9e1a7805 (git): Fix flaky "Expected 499 to be >= 500" assertion in test_gc_compact.rb
There have been some sproradically flaky tests related to GC compaction,
which fail with:
1) Failure:
TestGCCompac...
KJ Tsanaktsidis
11:06 PM Revision 9aa313f2 (git): Assert that at least one element has been embedded
It's not guaranteed that the first element will always be embedded. peterzhu2118 (Peter Zhu)
11:06 PM Revision c6922291 (git): Assert that resizing arrays will re-embed them
peterzhu2118 (Peter Zhu)
11:06 PM Revision 605592b9 (git): Assert that resizing objects will re-embed them
peterzhu2118 (Peter Zhu)
11:06 PM Revision ed41225e (git): Fix Error in GC Compaction specs
Previously if any of the tests that move objects between size pools
failed to move anything, then the call to stats.d...
eightbitraptor (Matt V-H)
09:09 PM Revision 801e6635 (git): Sync ruby/mmtk into the gc/mmtk directory
eightbitraptor (Matt V-H)
08:50 PM Feature #20861: Add an environment variable for tuning the default thread quantum
Another option for naming is to use "time slice": `RUBY_THREAD_TIMESLICE`. I'm okay with any of the proposed names
...
jhawthorn (John Hawthorn)
08:38 PM Feature #20861: Add an environment variable for tuning the default thread quantum
At RubyConf we discussed this a bit and it seemed like the feature is fine, but maybe the name isn't good enough.
...
tenderlovemaking (Aaron Patterson)
08:41 PM Revision 3b5b34e3 (git): [rubygems/rubygems] Set $0 to exe when running `gem exec` to fix name in CLI output
The $0 value is used in many CLI libraries to determine the name of the
application, when displaying help and error m...
adam12 (Adam Daniels)
08:41 PM Misc #20879: DevMeeting-2024-12-12
* [Feature #20861] Add an environment variable so we can change the thread quantum
* It maintains the default quan...
tenderlovemaking (Aaron Patterson)
05:42 PM Misc #20879: DevMeeting-2024-12-12
* [Feature #20878] A new C API to create a String by adopting a pointer (byroot)
* Would be useful for many extens...
byroot (Jean Boussier)
08:34 PM Revision 8ea34951 (git): Ensure that all Bundler commands have a man page
Co-authored-by: David Rodríguez <[email protected]> jeromedalbert (Jerome Dalbert)
06:48 PM Revision 8ae7c229 (git): Annotate anonymous mmap
Use PR_SET_VMA_ANON_NAME to set human-readable names for anonymous
virtual memory areas mapped by `mmap()` when compi...
wks (Kunshan Wang)
05:40 PM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
Proposed implementation: https://github.com/ruby/ruby/pull/12143 byroot (Jean Boussier)
05:08 PM Bug #20890: MacOS 15.1, Macbook pro 2024 m4, YJIT: Kernel Panic on network access, works w/o YJIT
> Maybe Apple fixed it?
15.2 Beta 4 release notes has it:
> Fixed: Resolved an issue where running Ruby with YJ...
mattjankowski (Matt Jankowski)
01:05 PM Bug #20890: MacOS 15.1, Macbook pro 2024 m4, YJIT: Kernel Panic on network access, works w/o YJIT
I just installed the latest MacOS 15.2 Public Beta 24C5089c and I cannot reproduce the crash with mastodon anymore! j... markus_d (Markus Doits)
03:02 PM Feature #11177: DATAでEOF文字以降が読めない
本件についてDATA.pos が__END__直後を示さないこと、Cのfseek(0, SEEK_CUR)っぽく DATA.seek(0, IO:SEEK_CUR)を行っても改善しないことから
単純なワークアラウンドは存在しないと思...
YO4 (Yoshinao Muramatsu)
02:49 PM Revision 640bacce (git): Fix typo in parse.y GH Actions workflow
with-praser -> with-parser eightbitraptor (Matt V-H)
01:52 PM Bug #20866 (Closed): Prism assertion when running simplecov with branch coverage and requiring certain code
Applied in changeset commit:git|680e06002666883537c05f796c31c6eacd6b4858.
----------
[prism/compiler] end_cursor sho...
eightbitraptor (Matt V-H)
01:51 PM Revision 680e0600 (git): [prism/compiler] end_cursor should never be NULL
This fixes a failed assertion reported to SimpleCov
https://github.com/simplecov-ruby/simplecov/issues/1113
This ca...
eightbitraptor (Matt V-H)
01:14 PM Bug #20903 (Closed): Segmentation fault when string encoding
I am getting a segmentation fault. The error appears to relate to the string encoding function: `rb_enc_str_coderange... bendrissou (Bachir Bendrissou)
12:25 PM Revision 890c83e6 (git): [rubygems/rubygems] Fix `bundle remove` sometimes not removing gems
https://github.com/rubygems/rubygems/commit/e7f5f067e8 jeromedalbert (Jerome Dalbert)
10:37 AM Revision ac5661db (git): [rubygems/rubygems] Fix locking of incorrect version of git gem in an edge case
In particular, when a gem registry transitive dependency is changed to a
git source direct dependency.
https://githu...
deivid (David Rodríguez)
10:37 AM Revision 486485a5 (git): [rubygems/rubygems] Refactor
https://github.com/rubygems/rubygems/commit/9964c16bb9 deivid (David Rodríguez)
10:37 AM Revision 0a7099a0 (git): [rubygems/rubygems] Extract a `source` local
https://github.com/rubygems/rubygems/commit/c5a9449069 deivid (David Rodríguez)
10:37 AM Revision 8cf1222e (git): [rubygems/rubygems] Reuse `name` local
https://github.com/rubygems/rubygems/commit/508fb45b76 deivid (David Rodríguez)
10:37 AM Revision 335ef5ed (git): [rubygems/rubygems] Remove no longer necessary code
https://github.com/rubygems/rubygems/commit/2a36af0f38 deivid (David Rodríguez)
10:35 AM Revision 796757a0 (git): [rubygems/rubygems] Remove override of worker jobs for `bundle install --local`
There seems to be no reason why the install should be serial for --local.
The packages are still installed in the rig...
Lars Kanis
10:29 AM Revision 42b0d464 (git): [rubygems/rubygems] move system_gems let commands
https://github.com/rubygems/rubygems/commit/1fc1e74f4d sodacris (Jua-Shun Wong)
10:23 AM Revision cabfaa9f (git): Extend the timeout of fork-exit bootstraptest
It often fails randomly.
http://ci.rvm.jp/results/trunk-yjit@ruby-sp2-noble-docker/5421564
```
Fstderr output is no...
mame (Yusuke Endoh)
10:16 AM Revision b8542549 (git): Omit flaky example with Windows platform
https://github.com/ruby/ruby/actions/runs/11948300522/job/33305664284?pr=12139
```
IO#wait [events, timeout] passe...
hsbt (Hiroshi SHIBATA)
09:46 AM Revision 6fc8607b (git): Skip make install with gmp build
hsbt (Hiroshi SHIBATA)
07:59 AM Revision c23bf42d (git): Fix error "fatal: detected dubious ownership in repository at '/github/workspace/src'"
ono-max (Naoto Ono)
06:32 AM Revision 0780e768 (git): Removed needless require for build_metadata
hsbt (Hiroshi SHIBATA)
06:20 AM Revision d43f7962 (git): Fix the usage of realloc
http://ci.rvm.jp/results/trunk-repeat50@ruby-sp2-noble-docker/5420911
```
/tmp/ruby/src/trunk-repeat50/ext/socket/ips...
mame (Yusuke Endoh)
04:39 AM Revision f20b6e5d (git): [rubygems/rubygems] Explicitly load build_metadata.rb because Spec::BuildMetadata is only called from BundlerBuilder.
The current code is broken to call Spec::Builders#build_* method directly.
https://github.com/rubygems/rubygems/comm...
hsbt (Hiroshi SHIBATA)
04:23 AM Revision 7f838e37 (git): Bump github/codeql-action from 3.27.4 to 3.27.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.4 to 3.27.5.
- [Release notes](https:...
dependabot[bot]
02:13 AM Revision af54f0f7 (git): [rubygems/rubygems] Silent verbose stdout for dependency of test gems
https://github.com/rubygems/rubygems/commit/51854e1982 hsbt (Hiroshi SHIBATA)
12:46 AM Revision 89deb387 (git): bignum nogvl is offload safe. (#12132)
Samuel Williams
 

Also available in: Atom