Project

General

Profile

Activity

From 02/02/2023 to 02/08/2023

02/08/2023

10:20 PM Revision 728d2f80 (git): [rubygems/rubygems] Improve wording of unmet dependencies warning
`trying to manually editing` doesn't seem quite grammatically
correct. We could change it to `trying to manually edit...
dodecadaniel (Daniel Colson)
08:57 PM Bug #19394: cvars in instance of cloned class point to source class's cvars even after class_variable_set on clone
The fix ended up being a bit more involved. We needed two PRs.
One to copy the CVAR table on clone: https://github...
eileencodes (Eileen Uchitelle)
05:43 PM Revision 861d70e3 (git): Rename iseq_mark_and_update to iseq_mark_and_move
The new name is more consistent. peterzhu2118 (Peter Zhu)
03:09 PM Bug #19425 (Closed): Merge the internal only "private" GC headers together
Github PR: [7273](https://github.com/ruby/ruby/pull/7273)
Currently we have 4 headers named `gc.h`
* `gc.h`
* ...
eightbitraptor (Matt V-H)
11:15 AM Revision 6aa19614 (git): [DOC] Refine/fix doc/contributing/building_ruby.md [ci skip]
* Separate dependencies for RubyGems
* Add reasons of optional libraries
* Add a note for gperf and fix the required ...
nobu (Nobuyoshi Nakada)
10:52 AM Revision 3a0f6ce1 (git): Use Thread.pass until thread.stop? to wait for thread to block
[Bug #19415]
It should be more reliable
byroot (Jean Boussier)
10:01 AM Feature #17753: Add Module#namespace
Let me reword that last remark about "the Ruby model suffers just a little bit".
Ruby objects and variables behave t...
fxn (Xavier Noria)
07:54 AM Feature #17753: Add Module#namespace
Yeah, I believe the feature makes sense and can be useful, and the proposed implementation that keeps a pointer is we... fxn (Xavier Noria)
03:41 AM Feature #17753: Add Module#namespace
This has been quiet for a while, but despite the reservations expressed I'd really like to see it implemented.
I don...
shioyama (Chris Salzberg)
09:08 AM Bug #19415 (Closed): Incorrect circularity warning for concurrent requires
byroot (Jean Boussier)
08:51 AM Bug #19415: Incorrect circularity warning for concurrent requires
Fixed by 8ce2fb9bbbaea14737c84385b1573f743a30f773 byroot (Jean Boussier)
08:24 AM Bug #19415 (Open): Incorrect circularity warning for concurrent requires
byroot (Jean Boussier)
08:06 AM Bug #19415 (Closed): Incorrect circularity warning for concurrent requires
byroot (Jean Boussier)
09:00 AM Bug #19424 (Closed): Significant performance decreases in `OpenStruct#marshal_load` in Ruby 3.0 and 3.1
I can see degradation in **Marshal load** only in Ruby 3.1.2 compared to 2.7.4
Processing time increased by 200%(2.4...
sumitdey035 (Sumit Dey)
09:00 AM Revision 63e1769b (git): Add TAGS rule [ci skip]
nobu (Nobuyoshi Nakada)
08:57 AM Misc #19421: Distribution documentation
duerst (Martin Dรผrst) wrote in #note-12:
> > * Why gperf? I am not aware I'd need this for anything creating the tar...
nobu (Nobuyoshi Nakada)
05:48 AM Misc #19421: Distribution documentation
vo.x (Vit Ondruch) wrote in #note-8:
> hsbt (Hiroshi SHIBATA) wrote in #note-2:
> > See https://github.com/ruby/rub...
duerst (Martin Dรผrst)
08:50 AM Revision 8ce2fb9b (git): Only emit circular dependency warning for owned thread shields
[Bug #19415]
If multiple threads attemps to load the same file concurrently
it's not a circular dependency issue.
S...
Jean byroot Boussier
08:49 AM Feature #19423 (Open): IXDTF (Internet Extended Date/Time format) support
This is a reminder ticket.
duerst (Martin Dรผrst) wrote in [Misc #19096#note-10]:
> I'm not sure whether and how m...
nobu (Nobuyoshi Nakada)
08:38 AM Misc #19096: [Question] Time with `-00:00` offset is in UTC
duerst (Martin Dรผrst) wrote in #note-10:
> I'm not sure whether and how much this is relevant, but please note that ...
nobu (Nobuyoshi Nakada)
08:26 AM Revision 3ab34551 (git): Add RUBY_GC_HEAP_INIT_SIZE_%d_SLOTS to pre-init pools granularly
The old RUBY_GC_HEAP_INIT_SLOTS isn't really usable anymore as
it initalize all the pools by the same factor, but it'...
byroot (Jean Boussier)
08:23 AM Misc #19357: DevMeeting-2023-02-09
* [Feature #10343] Postfix notations for `when` and `else` inside `case` statement (sawa)
* Allow `foo when condi...
sawa (Tsuyoshi Sawada)
06:36 AM Revision 6e799014 (git): Removed svn feature from make-snapshot
hsbt (Hiroshi SHIBATA)
06:34 AM Bug #18169 (Closed): Local copies of gemified libraries are being released out of sync with their gems
In Ruby 3.2, I completely sync default gems and ruby release code. But Ruby 3.1 and 3.0 are still work in progress. I... hsbt (Hiroshi SHIBATA)
06:30 AM Misc #19276 (Third Party's Issue): It is not possible to reply to emails from redmine
We should move this to https://github.com/ruby/b.r-l.o/issues/175 hsbt (Hiroshi SHIBATA)
04:02 AM Revision 31819e82 (git): v3.2.1
naruse (Yui NARUSE)
03:35 AM Revision a56d959e (git): Replace `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED`
nobu (Nobuyoshi Nakada)
03:35 AM Revision fefe37f9 (git): Replace `PACKED_STRUCT` in include
nobu (Nobuyoshi Nakada)
03:34 AM Revision 899ea350 (git): Extract include/ruby/internal/attr/packed_struct.h
Split `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED` macros into the
macros bellow:
* `RBIMPL_ATTR_PACKED_STRUCT_BEGIN...
nobu (Nobuyoshi Nakada)

02/07/2023

09:33 PM Revision 1e711439 (git): Use more agressive RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR for GC tests
byroot (Jean Boussier)
09:33 PM Revision 4713b084 (git): Revert "Revert "Consider DATA objects without a mark function as protected""
This reverts commit 6eae8e5f514db716e52ad06a2ac97e2cc3910d83. Jean byroot Boussier
09:12 PM Revision fd71a76f (git): [rubygems/rubygems] Add Ruby 3.2 and 3.3 platforms to Gemfile DSL
Along the same lines as https://github.com/rubygems/rubygems/pull/5469,
this adds support for Ruby 3.2 and 3.3 platfo...
dodecadaniel (Daniel Colson)
09:03 PM Revision 23052e00 (git): * remove trailing spaces. [ci skip]
git[bot]
09:03 PM Revision 1c0127ed (git): Make Time objects WB protected
Co-Authored-By: Jean Boussier <byroot@ruby-lang.org> peterzhu2118 (Peter Zhu)
09:03 PM Revision e9090eb6 (git): Remove unused code in time.c
Co-Authored-By: Jean Boussier <byroot@ruby-lang.org> peterzhu2118 (Peter Zhu)
08:53 PM Bug #19394: cvars in instance of cloned class point to source class's cvars even after class_variable_set on clone
I've pushed a fix up to github https://github.com/ruby/ruby/pull/7265. We added a cref to the cvar cache that we can ... eileencodes (Eileen Uchitelle)
08:18 PM Feature #19272: Hash#merge: smarter protocol depending on passed block arity
-2 means 1 required argument, and rest argument (e.g. `p method(def m(a,*); end).arity => -2`).
I think using this...
Eregon (Benoit Daloze)
08:58 AM Feature #19272: Hash#merge: smarter protocol depending on passed block arity
> That -2 means just unlimited.
Well, it is obviously not my call to decide what it means, but I interpret it as "...
zverok (Victor Shepelev)
08:49 AM Feature #19272: Hash#merge: smarter protocol depending on passed block arity
zverok (Victor Shepelev) wrote in #note-7:
> * Any `:+.to_proc.arity` is -2
> * Which is not a bug/accident, but a ...
nobu (Nobuyoshi Nakada)
07:49 AM Feature #19272: Hash#merge: smarter protocol depending on passed block arity
@nobu All of my examples work with my reference implementation. You can try it yourself.
`:any_symbol.to_proc.arit...
zverok (Victor Shepelev)
01:41 AM Feature #19272: Hash#merge: smarter protocol depending on passed block arity
zverok (Victor Shepelev) wrote:
> E.g.: **If, and only if, the passed block is of arity 2, treat it as an operation ...
nobu (Nobuyoshi Nakada)
07:30 PM Revision 08c20947 (git): Fix confusing "
Eregon (Benoit Daloze)
07:27 PM Revision 77909250 (git): Add Building the Tarball section in distribution docs
Eregon (Benoit Daloze)
07:22 PM Revision 826067b0 (git): Clarify section about getting the Ruby tarball
Eregon (Benoit Daloze)
07:16 PM Revision 91b18dc8 (git): Use write barriers for Backtrace objects
Backtrace objects hold references to:
* iseqs - via the captured locations
* strary - a lazily allocated array of str...
jhawthorn (John Hawthorn)
06:42 PM Misc #19421: Distribution documentation
I'd support adding a good explanation to cover topics mentioned at https://bugs.ruby-lang.org/issues/19421#note-8
...
sorah (Sorah Fukumori)
04:36 PM Misc #19421: Distribution documentation
vo.x (Vit Ondruch) wrote in #note-8:
> > and https://github.com/rbenv/ruby-build/wiki#suggested-build-environment
>...
Eregon (Benoit Daloze)
12:39 PM Misc #19421: Distribution documentation
>use of GMP is not documented at all as far as I can say. What is the benefit of enabling it?
Added it at https://...
hsbt (Hiroshi SHIBATA)
10:01 AM Misc #19421: Distribution documentation
hsbt (Hiroshi SHIBATA) wrote in #note-2:
> See https://github.com/ruby/ruby/blob/master/doc/contributing/building_rub...
vo.x (Vit Ondruch)
06:40 AM Misc #19421: Distribution documentation
> The documentation should answer questions that packagers may have, but it should not state definitively how somethi... ioquatix (Samuel Williams)
06:39 AM Misc #19421: Distribution documentation
> gdbm and tk were removed as included extensions a while back.
Was this ever communicated to downstream maintaine...
ioquatix (Samuel Williams)
06:33 AM Misc #19421: Distribution documentation
>The documentation should answer questions that packagers may have, but it should not state definitively how somethin... hsbt (Hiroshi SHIBATA)
06:25 AM Misc #19421: Distribution documentation
> It's distributor's convenience, not our responsibility scope.
Open source is no one's responsibility and everyone'...
ioquatix (Samuel Williams)
05:37 AM Misc #19421: Distribution documentation
ioquatix (Samuel Williams) wrote:
> the best practice for building source packages. The documentation I wrote from t...
jeremyevans0 (Jeremy Evans)
05:23 AM Misc #19421: Distribution documentation
>Related to the above, what is the official location for source tarballs?
See https://www.ruby-lang.org/en/downloa...
hsbt (Hiroshi SHIBATA)
05:03 AM Misc #19421 (Open): Distribution documentation
I use Ruby a lot, on a lot of different systems, and help people and companies use it, including developers who insta... ioquatix (Samuel Williams)
06:39 PM Revision 0ee4fec9 (git): Fix typo in gc.h [ci skip]
peterzhu2118 (Peter Zhu)
04:31 PM Revision 88e08622 (git): Remove wrong file
naruse (Yui NARUSE)
04:01 PM Revision 2c7fe9c0 (git): [ruby/net-http] Enhanced RDoc for Net::HTTP
https://github.com/ruby/net-http/commit/e65a3d9f11 burdettelamar (Burdette Lamar)
02:53 PM Revision a641f642 (git): [ruby/net-http] [DOC] Reorganize doc for proxy server
(https://github.com/ruby/net-http/pull/117)
https://github.com/ruby/net-http/commit/f8b6b76cba
burdettelamar (Burdette Lamar)
02:22 PM Revision 6eae8e5f (git): Revert "Consider DATA objects without a mark function as protected"
This reverts commit 6e4c242130965de1cf00703c99f8821b0bd19e5b. byroot (Jean Boussier)
01:39 PM Revision 04680710 (git): Use rb_gc_mark_and_move for method objects
peterzhu2118 (Peter Zhu)
01:39 PM Revision df2e36ae (git): Use rb_gc_mark_and_move for proc and binding
Also makes VM_ENV_ENVVAL movable. peterzhu2118 (Peter Zhu)
12:49 PM Revision 8fc69a0a (git): [ruby/reline] Add comment for unused constants
FILENAME_COMPLETION_PROC and USERNAME_COMPLETION_PROC are not used by Reline.
However, they were added for compatibil...
ima1zumi (Mari Imaizumi)
12:38 PM Revision 31d37e24 (git): Mentioned gmp at requirements
hsbt (Hiroshi SHIBATA)
12:27 PM Revision 740b45a4 (git): Update default gems list at a66bc448a40929207fcf6e97107d71 [ci skip]
git[bot]
12:25 PM Revision a66bc448 (git): [ruby/psych] Bump version to 5.1 for release
This version primarily updates the JRuby extension to use
SnakeYAML Engine, a newer version of the SnakeYAML library,...
headius (Charles Nutter)
10:48 AM Revision 60c92477 (git): Mark Encoding as Write Barrier protected
It doesn't even have a mark function.
It's only about a hundred objects, but not reason
to scan them every time.
byroot (Jean Boussier)
10:48 AM Revision 6e4c2421 (git): Consider DATA objects without a mark function as protected
It's not uncommon for simple binding to wrap structs without
any Ruby object references. Hence with no `mark` functio...
byroot (Jean Boussier)
08:47 AM Bug #19403: Unable to Build Native Gems on Mac with Ruby 3.1.0+
ruby_3_2 3decf7df6f678ff6386c5c1888642d76f49dc147 merged revision(s) 3a7367ccc319499127ead147e5a08f769e44208e. naruse (Yui NARUSE)
08:29 AM Revision 8623c812 (git): Document default gems and bundled gems specifications
hsbt (Hiroshi SHIBATA)
08:26 AM Revision f8463827 (git): * 2023-02-07 [ci skip]
git[bot]
08:26 AM Revision 72beb9f8 (git): Remove wrong dollar
nobu (Nobuyoshi Nakada)
08:19 AM Feature #19422 (Assigned): Make `--enabled-shared` mandatory on macOS
nobu (Nobuyoshi Nakada)
08:14 AM Feature #19422 (Assigned): Make `--enabled-shared` mandatory on macOS
From the troubles around linker on macOS, I propose `--enable-shared` option mandatory on macOS.
This patch enables ...
nobu (Nobuyoshi Nakada)
07:23 AM Bug #19414: uninitialized constant URI::WSS in 3.0.X and 3.1.X
I submitted backport PRs:
* Ruby 3.0: https://github.com/ruby/ruby/pull/7260
* Ruby 3.1: https://github.com/ruby/...
hsbt (Hiroshi SHIBATA)
06:35 AM Bug #19378 (Assigned): Windows: Use less syscalls for faster require of big gems
nobu (Nobuyoshi Nakada)
06:15 AM Revision 3decf7df (git): merge revision(s) 3a7367ccc319499127ead147e5a08f769e44208e: [Backport #19403]
mkconfig: Map `includedir` only for system ruby
Only when installing to the system path on macOS, prepend '$...
naruse (Yui NARUSE)
06:14 AM Bug #19399: Ripper::Lexer.parse throws NoMethodError error for some input
ruby_3_2 7246cd0081ec845e1407484fca10439e7868880b merged revision(s) fad48fefe19cc282a5b209944244a3713359b47f. naruse (Yui NARUSE)
06:05 AM Bug #19372 (Assigned): Proc objects are not traversed for shareable check during Ractor.make_shareable(prok)
hsbt (Hiroshi SHIBATA)
06:05 AM Bug #19387 (Assigned): ObjectSpace.each_objects only returns shareable objects after starting a Ractor
hsbt (Hiroshi SHIBATA)
06:04 AM Bug #19407 (Assigned): 2 threads taking from current ractor will hang forever
hsbt (Hiroshi SHIBATA)
06:04 AM Bug #19410 (Assigned): If move from ractor fails with error, some objects are left in broken state
hsbt (Hiroshi SHIBATA)
06:03 AM Bug #19408 (Assigned): Object no longer frozen after moved from a ractor
hsbt (Hiroshi SHIBATA)
06:03 AM Bug #19409 (Assigned): Object's shape is reset after a ractor move
hsbt (Hiroshi SHIBATA)
05:21 AM Revision 5ee39ea6 (git): Added tarball instruction to building_ruby.md
hsbt (Hiroshi SHIBATA)
04:46 AM Revision 7246cd00 (git): merge revision(s) fad48fefe19cc282a5b209944244a3713359b47f: [Backport #19399]
[Bug #19399] Parsing invalid heredoc inside block parameter
Although this is of course invalid as Ruby code,...
naruse (Yui NARUSE)
04:45 AM Bug #19398: Memory leak in WeakMap
ruby_3_2 3426ebd0489654f951a8b92efaf5e72b9f43efab merged revision(s) c6f84e918943a0bf8db6fee556fc53180d257510. naruse (Yui NARUSE)
04:35 AM Bug #17664: Behavior of sockets changed in Ruby 3.0 to non-blocking
> I could probably use the 'events' form of IO#wait however.
Yes, you should do that. `IO.select` for a single fil...
ioquatix (Samuel Williams)
03:44 AM Feature #19420: Simplify MJIT implementation
I'm very happy about this, it sounds like a good path forward. ioquatix (Samuel Williams)
01:36 AM Feature #19420 (Closed): Simplify MJIT implementation
# Background
### Implementation complexity
Because MJIT needs to run a C compiler and be able to call almost everyt...
k0kubun (Takashi Kokubun)
01:39 AM Misc #19357: DevMeeting-2023-02-09
* [Feature #19420] Simplify MJIT implementation (k0kubun)
* Is it okay to move forward with that idea? I'd like to...
k0kubun (Takashi Kokubun)

02/06/2023

11:38 PM Revision c84184d5 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.58 to 0.9.61.
- [Release notes](https://github.com/oxid...
dependabot[bot]
11:09 PM Revision a719e341 (git): [ruby/rdoc] Remove duplicate word in RDoc::MarkupReference
The word "for" appeared twice in the same sentence in the margins section, and this PR removes the duplicate occurrence. cjilbert504
11:09 PM Revision 773d56b1 (git): [ruby/rdoc] Add test coverage for -C flag
https://github.com/ruby/rdoc/commit/564be08f4b zzak (zzak _)
11:09 PM Revision b171e997 (git): [ruby/rdoc] Actually execute RDoc document task for coverage
https://github.com/ruby/rdoc/commit/7e70d41585 zzak (zzak _)
10:32 PM Bug #19415 (Open): Incorrect circularity warning for concurrent requires
Reopening as I reverted the patch because of some CI failures.
I'll improve the patch and merge again tomorrow.
byroot (Jean Boussier)
06:35 PM Bug #19415 (Closed): Incorrect circularity warning for concurrent requires
byroot (Jean Boussier)
11:58 AM Bug #19415: Incorrect circularity warning for concurrent requires
I have a patch for this: https://github.com/ruby/ruby/pull/7252
That bug isn't very critical, but I think it would...
byroot (Jean Boussier)
10:30 PM Revision c19defd0 (git): Revert "Only emit circular dependency warning for owned thread shields"
This reverts commit fa49651e05a06512e18ccb2f54a7198c9ff579de. Jean byroot Boussier
09:12 PM Revision c30602e6 (git): YJIT: Support arg0 splat on invokeblock (#7234)
k0kubun (Takashi Kokubun)
09:11 PM Bug #19419 (Closed): [BUG] try to mark T_NONE object in `ibf_dump_mark`
Reported downstream at https://github.com/Shopify/bootsnap/issues/436
Relevant part of the crash report:
```
[...
byroot (Jean Boussier)
07:50 PM Revision 675e2966 (git): Add .DELETE_ON_ERROR to Makefile
This instructs make to delete target files if the recipe fails midway, like
when make itself is interrupted. This is ...
alanwu (Alan Wu)
07:42 PM Feature #19322: Support spawning "private" child processes
I meant to reply to this earlier but could not.
Right, in the SIGCHILD handler it's not possible to know the pid f...
Eregon (Benoit Daloze)
06:38 PM Bug #19414: uninitialized constant URI::WSS in 3.0.X and 3.1.X
duerst (Martin Dรผrst) wrote in #note-3:
> @noraj This is just how backporting works. Closed means closed on trunk; t...
noraj (Alexandre ZANNI)
02:11 AM Bug #19414: uninitialized constant URI::WSS in 3.0.X and 3.1.X
@noraj This is just how backporting works. Closed means closed on trunk; the backporting maintainers check what they ... duerst (Martin Dรผrst)
12:53 AM Bug #19414: uninitialized constant URI::WSS in 3.0.X and 3.1.X
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Since this is fixed in the master branch and Ruby 3.2, this is a bac...
noraj (Alexandre ZANNI)
06:35 PM Revision fa49651e (git): Only emit circular dependency warning for owned thread shields
[Bug #19415]
If multiple threads attemps to load the same file concurrently
it's not a circular dependency issue.
S...
byroot (Jean Boussier)
04:40 PM Revision 28da9909 (git): Limit maximum number of IVs on a shape on T_OBJECTS
Create SHAPE_MAX_NUM_IVS (currently 50) and limit all shapes of
T_OBJECTS to that number of IVs. When a shape with a ...
jemmai (Jemma Issroff)
04:19 PM Revision cab8c116 (git): [rubygems/rubygems] Properly exclude gemspec file itself from gem
by comparing the file names with full path.
Follows up https://github.com/rubygems/rubygems/commit/f444478eaccf
htt...
matsuda (Akira Matsuda)
04:19 PM Revision 77bec15c (git): [rubygems/rubygems] Properly load the generated gemspec
The previous code loads bundler's gemspec which does not include the generated
gemspec file, and thus the test was pa...
matsuda (Akira Matsuda)
04:02 PM Bug #19418 (Closed): Checking if a date in an open date range times out when the range starts after the test date
As this is fixed by raising an error in 3.2, I'm closing this. jeremyevans0 (Jeremy Evans)
01:50 PM Bug #19418: Checking if a date in an open date range times out when the range starts after the test date
[Range#include](https://docs.ruby-lang.org/en/3.1/Range.html#method-i-include-3F) basically iterates throughout the r... zverok (Victor Shepelev)
01:28 PM Bug #19418 (Closed): Checking if a date in an open date range times out when the range starts after the test date
`
require 'date'
((Date.today + 1)..).include?(Date.today)
`
is expected to return `false`. It never return a v...
wilhelmsen (Hallgeir Wilhelmsen)
03:29 PM Revision 21dcf5d7 (git): YJIT: Check interrupts on frame pop (#7248)
YJIT: Skip gen_check_ints on ISEQ send
On the interpreter, vm_push_frame doesn't check interrupts. Only
vm_pop_frame...
k0kubun (Takashi Kokubun)
02:23 PM Revision 91f353b1 (git): [ruby/reline] Fix line rendering when newline is added at the end of the buffer
https://github.com/ruby/reline/commit/7d61b3df9a tompng (tomoya ishida)
08:10 AM Feature #19179: Support parsing SCM_CRED(ENTIALS) messages from ancillary messages
I think this is a good direction.
However, class and method names should be reviewed by matz.
I doubt that the ...
akr (Akira Tanaka)
07:41 AM Revision 3426ebd0 (git): merge revision(s) c6f84e918943a0bf8db6fee556fc53180d257510: [Backport #19398]
[Bug #19398] Memory leak in WeakMap
There's a memory leak in ObjectSpace::WeakMap due to not freeing
...
naruse (Yui NARUSE)
07:19 AM Revision 440b9d2c (git): Fixup 3dcc2b63160588ba313a120823e0723c89f9a09f
hsbt (Hiroshi SHIBATA)
07:16 AM Revision 3dcc2b63 (git): Separate download section for using Git
hsbt (Hiroshi SHIBATA)
07:14 AM Revision f9cd67cb (git): Mentioned cache.r-l.o
hsbt (Hiroshi SHIBATA)
06:43 AM Bug #19404: Backport request for 3b83b265f11965582d4b9b439eff8a501792ab68
ruby_3_2 3a88589399f7f1059be245f766809c49790ad939 merged revision(s) 3b83b265f11965582d4b9b439eff8a501792ab68. naruse (Yui NARUSE)
05:20 AM Revision b3fd1222 (git): [ruby/English] Replace HTML5 deprecated tag <tt> with <code>
https://github.com/ruby/English/commit/3712fd6752 ccmywish (Aoran Zeng)
05:00 AM Revision 3a885893 (git): merge revision(s) 3b83b265f11965582d4b9b439eff8a501792ab68: [Backport #19404]
YJIT: Crash with rb_bug() when panicking
Helps with getting good bug reports in the wild. Intended to be
...
naruse (Yui NARUSE)
04:58 AM Bug #19385: YJIT panicked while holding VM lock acquired at ./yjit/src/core.rs:1693. Aborting.
ruby_3_2 535d863f34e6c36a2378683e7c2d3b7369e3d076 merged revision(s) 188688a53e7708d25ab80e14d05e70ffcf792e13. naruse (Yui NARUSE)
12:01 AM Bug #19144: Ruby should set AI_V4MAPPED | AI_ADDRCONFIG getaddrinfo flags by default
Thank you for having a look at this!
> Ruby has several methods to invoke getaddrinfo() and connect() internally, su...
kjtsanaktsidis (KJ Tsanaktsidis)

02/05/2023

11:10 PM Feature #19347: Add Dir.fchdir
I like the idea of having `Dir.for_fd` and `Dir#chdir` - it opens the door to more object-oriented directory file des... kjtsanaktsidis (KJ Tsanaktsidis)
09:33 PM Bug #19417 (Closed): Regexp \p{Word} and [[:word:]] do not match Unicode Other_Number character
According to the [documentation for Regexp](https://ruby-doc.org/3.2.0/Regexp.html), `\p{Word}` and `[[:word:]]` both... ObjectBoxPC (Philip Chung)
08:31 PM Revision 8a29419b (git): [ruby/reline] test_dumb_terminal: "ruby" command is not always available
Fixes the same issue at https://github.com/ruby/ruby/pull/5417
`ruby` is not always available in certain build envir...
sorah (Sorah Fukumori)
12:40 PM Bug #19416 (Closed): Inconsistent behaviour for Struct.new without any member_names
When I simply declare a Struct without any arguments, I get an error:
```
irb(main):001:0> Struct.new
(irb):1:in `...
herwin (Herwin W)
12:28 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
st0012 (Stan Lo) wrote in #note-19:
> my understanding is that such feature requires Ruby to keep all the frames on ...
Eregon (Benoit Daloze)
09:28 AM Revision 8a474b34 (git): [ruby/rdoc] [DOC] Fix reference to proper list type RDoc::MarkupReference
The "Lettered List" section referred to the previous "Numbered List" section, so this PR fixes that reference to poin... cjilbert504
08:00 AM Bug #19415 (Closed): Incorrect circularity warning for concurrent requires
This script performs 5 concurrent `require` calls to the same file:
```ruby
threads = []
5.times do
threa...
fxn (Xavier Noria)
01:37 AM Revision 45a2f1c5 (git): [rubygems/rubygems] Replace "prior to" with "immediately after"
Currently, the instructions and placeholder contradict each other.
The commit that introduced this placeholder (42bc...
sambostock (Sam Bostock)
01:24 AM Bug #19414 (Closed): uninitialized constant URI::WSS in 3.0.X and 3.1.X
Since this is fixed in the master branch and Ruby 3.2, this is a backport request for 3.1 and 3.0.
For 3.1, it nee...
jeremyevans0 (Jeremy Evans)
01:08 AM Bug #19414 (Closed): uninitialized constant URI::WSS in 3.0.X and 3.1.X
I have a library called [ctf-party](https://github.com/noraj/ctf-party), [making use of URI:WSS](https://github.com/n... noraj (Alexandre ZANNI)

02/04/2023

10:31 PM Revision 295fc59e (git): [ruby/irb] Add tests for workspaces commands
(https://github.com/ruby/irb/pull/512)
https://github.com/ruby/irb/commit/874dbcad81
st0012 (Stan Lo)
10:15 PM Bug #19413 (Open): Can't move object when 2 ivars refer to same object
```ruby
class A
def initialize
@a = Object.new
@b = @a
end
end
r = Ractor.new do |err|
obj = ...
luke-gru (Luke Gruber)
09:46 PM Revision 3d207408 (git): Remove unneeded repetitions
k0kubun (Takashi Kokubun)
07:38 PM Revision 0a02c51a (git): [rubygems/rubygems] Ensure that `TempIO` is closed
https://github.com/rubygems/rubygems/commit/0cbb7b5370 nobu (Nobuyoshi Nakada)
07:38 PM Revision e37bf46e (git): [rubygems/rubygems] Fix Tempfile leaks
https://github.com/rubygems/rubygems/commit/f95d1a87ce nobu (Nobuyoshi Nakada)
06:06 PM Revision 06195e76 (git): * remove trailing spaces. [ci skip]
git[bot]
06:06 PM Revision 6db79aef (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/116)
https://github.com/ruby/net-http/commit/22c0d34002
burdettelamar (Burdette Lamar)
04:23 AM Bug #19144 (Feedback): Ruby should set AI_V4MAPPED | AI_ADDRCONFIG getaddrinfo flags by default
I feel AI_ADDRCONFIG is good if the result addresses are used immediately for making a connection.
But getaddrinfo...
akr (Akira Tanaka)
04:07 AM Bug #19403: Unable to Build Native Gems on Mac with Ruby 3.1.0+
Yes. commit:3a7367ccc319499127ead147e5a08f769e44208e will be backported to 3.1 and 3.2. hsbt (Hiroshi SHIBATA)

02/03/2023

11:45 PM Bug #18940: Ruby Ractor fails with IOError when handling higher concurrency
There is a chance that the route problem is related to #19412 brodock (Gabriel Mazetto)
11:44 PM Bug #19412 (Open): Socket starts queueing and not responding after a certain amount of requests
Here is a an example code:
```ruby
require 'socket'
PORT = 8080
BACKLOG = 50
LISTEN = '127.0.0.1'
def han...
brodock (Gabriel Mazetto)
11:41 PM Revision da9ee7bc (git): [ruby/rdoc] Add newline before return
https://github.com/ruby/rdoc/commit/6d609cb64c
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
zzak (zzak _)
11:41 PM Revision e04d20bc (git): [ruby/rdoc] Add rdoc:coverage default task
https://github.com/ruby/rdoc/commit/157fbaf575 zzak (zzak _)
11:02 PM Bug #19411: GC issue with moved objects
The issue is again with shapes (related to https://bugs.ruby-lang.org/issues/19409). Newly moved objects (class Moved... luke-gru (Luke Gruber)
09:59 PM Bug #19411 (Closed): GC issue with moved objects
This crashes:
```ruby
class Obj
def initialize
@obj = 3
end
end
GC.stress = true
r = Ractor.new d...
luke-gru (Luke Gruber)
10:31 PM Revision a8000d06 (git): Mark "method" objects as protected by write barrier
All its reference are set with RB_OBJ_WRITE, so they
can be marked as WB protected.
byroot (Jean Boussier)
10:31 PM Revision cc9d96b2 (git): Avoid using OBJ_WB_UNPROTECT
Not that it makes a big difference here, but it's
just unecessary.
byroot (Jean Boussier)
10:26 PM Revision 3fefe660 (git): [DOC] Fix call-seq of Struct.new (#7246)
kyanagi (Kouhei Yanagita)
08:02 PM Bug #19410 (Assigned): If move from ractor fails with error, some objects are left in broken state
```ruby
r = Ractor.new do
obj = receive
end
a = Object.new
obj = [a, proc { }]
begin
r.send(obj, move: tru...
luke-gru (Luke Gruber)
07:59 PM Revision e30cf60a (git): Remove dead code in ar_copy
All of the callers of ar_copy guarantee that hash2 has an ar table,
so we don't need the logic to handle the case whe...
peterzhu2118 (Peter Zhu)
07:58 PM Revision f901b934 (git): YJIT: Make Block::start_addr non-optional
We set the block address as soon as we make the block, so there is no
point in making it `Option<CodePtr>`. No memory...
alanwu (Alan Wu)
07:42 PM Bug #14083 (Rejected): Refinement in block calling incorrect method
This is working as intended. Scoping rules for refinements is similar
to the scoping rules for constant resolution. ...
alanwu (Alan Wu)
07:10 PM Bug #19409 (Closed): Object's shape is reset after a ractor move
I believe an object should have the same shape after being moved from 1 ractor to another.
```ruby
class Obj
a...
luke-gru (Luke Gruber)
07:01 PM Revision dff03149 (git): Put example VSCode configs in misc/.vscode [ci skip]
They are needed very often but it's hard to remember. I thought it'd be
useful to just copy that to /.vscode and edit...
k0kubun (Takashi Kokubun)
06:55 PM Bug #19408 (Closed): Object no longer frozen after moved from a ractor
I think frozen objects should still be frozen after a move.
```ruby
r = Ractor.new do
obj = receive
p obj.f...
luke-gru (Luke Gruber)
06:43 PM Bug #19407 (Closed): 2 threads taking from current ractor will hang forever
In the current implementation of Ractors, it's possible to `take` from the current ractor. This could be useful
when...
luke-gru (Luke Gruber)
06:26 PM Revision e50f1024 (git): CI: Pass -O2 for annocheck
Because `optflags` is pasted into the invocation line after `CC`, we were
building with -O1 unintentionally. You can ...
alanwu (Alan Wu)
06:10 PM Revision c6b90e5e (git): Mark "mapping_buffer" as write barrier protected
It doesn't have any reference so it can be marked as protected. byroot (Jean Boussier)
04:40 PM Bug #19403: Unable to Build Native Gems on Mac with Ruby 3.1.0+
Hello @hsbt! It looks like you solved the problem before I could respond :) Thank you!
For what it's worth, my value...
jcouball@yahoo.com (James Couball)
08:14 AM Bug #19403 (Closed): Unable to Build Native Gems on Mac with Ruby 3.1.0+
I confirmed to fix installation error with `SDKROOT` environmental variable.
```
$ env | rg SDKROOT
SDKROOT=/Library...
hsbt (Hiroshi SHIBATA)
04:57 AM Bug #19403: Unable to Build Native Gems on Mac with Ruby 3.1.0+
I think it is fixed by commit:3a7367ccc319499127ead147e5a08f769e44208e. nobu (Nobuyoshi Nakada)
01:00 AM Bug #19403: Unable to Build Native Gems on Mac with Ruby 3.1.0+
@jcouball@yahoo.com Can you share your environmental variable of `SDKROOT`? In my environment, I couldn't look it.
...
hsbt (Hiroshi SHIBATA)
03:14 PM Revision 08c529be (git): YJIT: Support ifunc on invokeblock (#7233)
k0kubun (Takashi Kokubun)
02:58 PM Revision 8e7d2cc2 (git): Implement Write Barrier for Backtrace::Location
It only has a single reference, set in a single place. byroot (Jean Boussier)
02:37 PM Revision fe5ce1ee (git): Enable write barriers on File::Stat
It holds no reference, so no changes needed. byroot (Jean Boussier)
02:33 PM Revision faa4c227 (git): [ruby/net-http] [DOC] Enhanced RDoc for write_timeout
(https://github.com/ruby/net-http/pull/115)
https://github.com/ruby/net-http/commit/6da39b0461
burdettelamar (Burdette Lamar)
01:45 PM Bug #19051 (Closed): Incorrect pointers in global_cc_cache_table when compacting
peterzhu2118 (Peter Zhu)
11:56 AM Bug #19401: [Doc] Broken links in CSV documentation
Fixed in [PR#7236](https://github.com/ruby/ruby/pull/7236) eightbitraptor (Matt V-H)
10:57 AM Feature #19406: Allow declarative reference definition for rb_typed_data_struct
i don't know if it works for my use case too, but for my c++ extension,
i need to keep the ruby object alive for as ...
Hanmac (Hans Mackowiak)
10:13 AM Feature #19406 (Closed): Allow declarative reference definition for rb_typed_data_struct
[Github PR 7153](https://github.com/ruby/ruby/pull/7153)
## Summary
This PR proposes an additional API for C ex...
eightbitraptor (Matt V-H)
10:18 AM Bug #18755 (Closed): Backport rubygems/pull/5154 into Ruby 3.0
Thanks for clarification. I'll backport https://github.com/rubygems/rubygems/pull/5154 and release RubyGems 3.2.34 wi... hsbt (Hiroshi SHIBATA)
10:13 AM Bug #18755: Backport rubygems/pull/5154 into Ruby 3.0
hsbt (Hiroshi SHIBATA) wrote in #note-3:
> @vo.x Is your request https://github.com/rubygems/rubygems/pull/5154? You...
vo.x (Vit Ondruch)
08:49 AM Bug #18755 (Open): Backport rubygems/pull/5154 into Ruby 3.0
@vo.x Is your request https://github.com/rubygems/rubygems/pull/5154? Your link is https://github.com/rubygems/rubyge... hsbt (Hiroshi SHIBATA)
07:50 AM Revision 4d35365a (git): Update default gems list at cbd5de4f88b889eb6bd40ddb073da5 [ci skip]
git[bot]
07:49 AM Revision cbd5de4f (git): [ruby/stringio] Development of 3.0.6 started.
https://github.com/ruby/stringio/commit/a7561f447b nobu (Nobuyoshi Nakada)
07:46 AM Bug #19400: YJIT fails to boot on ARM64 systems with 64 KiB pages
alanwu (Alan Wu) wrote in #note-4:
> Curious what OS distribution you're using for reproduction.
> I guess you comp...
xiacunshun (xiacunshun xia)
06:40 AM Bug #19405 (Rejected): Prevent Use of include CustomModule in a Nested Class
This is not a bug, this is expected behavior. It is true in Ruby even if you don't define any classes:
```ruby
Ob...
jeremyevans0 (Jeremy Evans)
03:58 AM Bug #19405 (Rejected): Prevent Use of include CustomModule in a Nested Class
Bug present ever since **Ruby 1.8**.
Tested in **Ruby 2.7 and 3.0** as well.
I would like to request the develope...
kyonides (Edwin Acuรฑa)
05:13 AM Revision 535d863f (git): merge revision(s) 188688a53e7708d25ab80e14d05e70ffcf792e13: [Backport #19385]
[PATCH 1/4] YJIT: Move CodegenGlobals::freed_pages into an Rc
This allows for supplying a freed_pages vec in...
naruse (Yui NARUSE)

02/02/2023

11:50 PM Bug #19403: Unable to Build Native Gems on Mac with Ruby 3.1.0+
FYI: https://github.com/rbenv/ruby-build/discussions/2123#discussioncomment-4643615 hsbt (Hiroshi SHIBATA)
07:39 PM Bug #19403: Unable to Build Native Gems on Mac with Ruby 3.1.0+
I have also reported this in the `asdf-ruby` issue tracker [asdf-vm/asdf-ruby#332](https://github.com/asdf-vm/asdf-ru... jcouball@yahoo.com (James Couball)
07:20 PM Bug #19403 (Closed): Unable to Build Native Gems on Mac with Ruby 3.1.0+
# Unable to Build Native Gems on Mac with Ruby 3.1.0+
## Problem
In Ruby 3.1 and later installed by `rvm` or `a...
jcouball@yahoo.com (James Couball)
09:54 PM Revision 73674cac (git): YJIT: log the names of methods we call to in disasm (#7231)
* YJIT: log the names of methods we call to in disasm
* Assert that pointer is not null
* Handle case where UTF8 co...
maximecb (Maxime Chevalier-Boisvert)
09:16 PM Revision 92ac5f68 (git): Fix typos in YJIT [ci skip]
alanwu (Alan Wu)
09:07 PM Bug #19402 (Third Party's Issue): CSV skip_lines option not behaving as documented
It's intentional. `String` `skip_lines:` value is matched as-is. (You can't use special characters such as `^`.)
I...
kou (Kouhei Sutou)
06:58 PM Bug #19402: CSV skip_lines option not behaving as documented
I agree with you that the description in the documentation is bad, but for a reason different from what you claim. Th... sawa (Tsuyoshi Sawada)
05:59 PM Bug #19402 (Third Party's Issue): CSV skip_lines option not behaving as documented
The [CSV documentation](https://ruby-doc.org/stdlib-3.1.0/libdoc/csv/rdoc/CSV.html#class-CSV-label-Option+skip_lines)... jamie_ca (Jamie Macey)
08:44 PM Bug #19404 (Closed): Backport request for 3b83b265f11965582d4b9b439eff8a501792ab68
It would be nice to have this in a release to make it
easier for people to send good crash diagnostics.
```
comm...
alanwu (Alan Wu)
08:16 PM Revision 3b83b265 (git): YJIT: Crash with rb_bug() when panicking
Helps with getting good bug reports in the wild. Intended to be
backported to the 3.2.x series.
alanwu (Alan Wu)
07:43 PM Revision 5b34839b (git): Remove redundant else if statement in hash.c
Hashes can only be ar or st, so the else if is redundant. peterzhu2118 (Peter Zhu)
05:17 PM Revision 65ca14ea (git): [rubygems/rubygems] Fix TarReader::Entry#read/partial to match File#read and StringIO#read
TarReader is used as an IO object, but doesn't behave the same as other
implementations. These fixes make `read` and ...
martinemde (Martin Emde)
05:17 PM Revision 0853703e (git): [rubygems/rubygems] Test to show non-standard behavior of zero byte files in archive
Added more tests for some of the other behavior as well.
Tests were missing for readpartial with a buffer, and readin...
martinemde (Martin Emde)
03:05 PM Bug #19385 (Closed): YJIT panicked while holding VM lock acquired at ./yjit/src/core.rs:1693. Aborting.
Applied in changeset commit:git|188688a53e7708d25ab80e14d05e70ffcf792e13.
----------
YJIT: ARM64: Fix long jumps to ...
alanwu (Alan Wu)
03:05 PM Revision 188688a5 (git): YJIT: ARM64: Fix long jumps to labels
Previously, with Code GC, YJIT panicked while trying to emit a B.cond
instruction with an offset that is not encodabl...
alanwu (Alan Wu)
03:05 PM Revision 905e12a3 (git): YJIT: ARM64: Move functions out of arm64_emit()
alanwu (Alan Wu)
03:05 PM Revision a690db39 (git): YJIT: other_cb is None in tests
Since the other cb is in CodegenGlobals, and we want Rust tests to be
self-contained.
alanwu (Alan Wu)
03:05 PM Revision 81b7f86f (git): YJIT: Move CodegenGlobals::freed_pages into an Rc
This allows for supplying a freed_pages vec in Rust tests. We need it so we
can test scenarios that occur after code GC.
alanwu (Alan Wu)
02:17 PM Revision 84be7a40 (git): Keep shared arrays WB protected
Sharing an array will cause it to be WB unprotected due to the use
of `RARRAY_PTR`. We don't need to WB unprotect the...
peterzhu2118 (Peter Zhu)
02:16 PM Revision 3e5a77f1 (git): [ruby/net-http] Remarks on inclusions
https://github.com/ruby/net-http/commit/dfd060c583 burdettelamar (Burdette Lamar)
02:04 PM Revision a874c3f4 (git): Update default gems list at 5a9e2f142d9debfb44d7d23f6821b8 [ci skip]
git[bot]
02:03 PM Revision 5a9e2f14 (git): [ruby/net-http] [DOC] Enhanced RDoc for HTTPGenericRequest
(https://github.com/ruby/net-http/pull/113)
https://github.com/ruby/net-http/commit/14c8405702
burdettelamar (Burdette Lamar)
01:37 PM Bug #19400: YJIT fails to boot on ARM64 systems with 64 KiB pages
Curious what OS distribution you're using for reproduction.
I guess you compile your own custom Linux kernel?
alanwu (Alan Wu)
10:10 AM Bug #19400 (Assigned): YJIT fails to boot on ARM64 systems with 64 KiB pages
nobu (Nobuyoshi Nakada)
09:30 AM Bug #19400: YJIT fails to boot on ARM64 systems with 64 KiB pages
xiacunshun (xiacunshun xia) wrote:
> 1) Failure:
> TestRubyOptions#test_enable [/builddir/build/BUILD/ruby-3.2.0/te...
xiacunshun (xiacunshun xia)
09:27 AM Bug #19400 (Closed): YJIT fails to boot on ARM64 systems with 64 KiB pages
1) Failure:
TestRubyOptions#test_enable [/builddir/build/BUILD/ruby-3.2.0/test/ruby/test_rubyoptions.rb:176]:
pid...
xiacunshun (xiacunshun xia)
12:44 PM Revision 89d95478 (git): [ruby/stringio] Revert "bump up to 3.0.6" [ci skip]
This reverts commit https://github.com/ruby/stringio/commit/325933500b35.
It is bumped to 3.0.5 in advance but not re...
nobu (Nobuyoshi Nakada)
11:45 AM Bug #19401 (Closed): [Doc] Broken links in CSV documentation
The link "Recipes for CSV" on [this page](https://docs.ruby-lang.org/en/master/CSV.html) points to a broken link: [ht... eightbitraptor (Matt V-H)
09:33 AM Bug #19397: ruby -h fails with SIGSGV if ulimit -s is any else than unlimited
We see it on all of our systems.
But it gets stranger as it turns out to only happen in an interactive shell and not...
john_d_s (John Damm Soerensen)
02:21 AM Bug #19397: ruby -h fails with SIGSGV if ulimit -s is any else than unlimited
> I am using Centos 7.8 and further investigations shows that the problem occurs when
> soft and hard limits are equ...
mame (Yusuke Endoh)
09:11 AM Revision c35ebed8 (git): Removed OS specific section because It's out of scope for us.
hsbt (Hiroshi SHIBATA)
08:28 AM Bug #19172: `ruby_thread_has_gvl_p` is innacurate sometimes -- document or change?
Yeah, that's my understanding, and what I'm using in that PR (although with a lot more complexity since I'm still try... ivoanjo (Ivo Anjo)
05:48 AM Revision 3474a620 (git): Mentioned scoop and vcpkg for windows build instruction
hsbt (Hiroshi SHIBATA)
05:47 AM Revision 1c5bd013 (git): Add a test for svar #7225 (#7228)
k0kubun (Takashi Kokubun)
05:12 AM Revision 4d82e942 (git): Ignore rb_mjit_header.h.new and ripper.tmp.y
hsbt (Hiroshi SHIBATA)
04:45 AM Revision 71e9eacc (git): Update default gems list at 8087ba736e447c11296fadd9cf32bd [ci skip]
git[bot]
04:44 AM Revision 8087ba73 (git): [ruby/stringio] bump up to 3.0.6
https://github.com/ruby/stringio/commit/325933500b nobu (Nobuyoshi Nakada)
04:37 AM Bug #19399 (Closed): Ripper::Lexer.parse throws NoMethodError error for some input
Applied in changeset commit:git|fad48fefe19cc282a5b209944244a3713359b47f.
----------
[Bug #19399] Parsing invalid he...
nobu (Nobuyoshi Nakada)
02:04 AM Bug #19399: Ripper::Lexer.parse throws NoMethodError error for some input
https://github.com/ruby/ruby/pull/7229 nobu (Nobuyoshi Nakada)
03:20 AM Revision fad48fef (git): [Bug #19399] Parsing invalid heredoc inside block parameter
Although this is of course invalid as Ruby code, allow to just parse
and tokenize.
nobu (Nobuyoshi Nakada)
02:22 AM Revision f499c81b (git): [DOC] Merge README.win32 to doc/windows.md
nobu (Nobuyoshi Nakada)
12:13 AM Revision 0a82bfe5 (git): use correct svar (#7225)
* use correct svar
Without this patch, svar location is used "nearest Ruby frame".
It is almost correct but it doesn...
ko1 (Koichi Sasada)
 

Also available in: Atom