Project

General

Profile

Activity

From 10/01/2022 to 10/07/2022

10/07/2022

09:44 PM Bug #19016: syntax_suggest is not working with Ruby 3.2.0-preview2
Thank you all for looking at this issue. I have some more cycles now. I took a look at the explanation and the PR. I don't feel equipped to weigh in on the implementation. I understand the problem description and proposed solution(s). schneems (Richard Schneeman)
06:17 PM Revision 5b3079a8 (git): [ruby/irb] Sort constant completion's candidates
https://github.com/ruby/irb/commit/ee9b33c817 st0012 (Stan Lo)
06:17 PM Revision 7cafe09a (git): [ruby/irb] Lazily evaluate candidates locals
https://github.com/ruby/irb/commit/19a2fcbd87 st0012 (Stan Lo)
06:17 PM Revision 7be5e9b9 (git): [ruby/irb] Correct assert_equal's usage in completion tests
https://test-unit.github.io/test-unit/en/Test/Unit/Assertions.html#assert_equal-instance_method
https://github.com/ruby/irb/commit/00f90d40ad
st0012 (Stan Lo)
06:17 PM Revision afc1f4fb (git): [ruby/irb] Add constant completion test
https://github.com/ruby/irb/commit/39f8fcb058 st0012 (Stan Lo)
06:17 PM Revision 3e18bb91 (git): [ruby/irb] Regroup completion tests
https://github.com/ruby/irb/commit/71631287c8 st0012 (Stan Lo)
06:17 PM Revision 83a9b915 (git): [ruby/irb] Add tests for primitive types' method completion
https://github.com/ruby/irb/commit/2e12fac38e st0012 (Stan Lo)
04:38 PM Revision d76854f1 (git): Update NEWS about [Feature #18589]
alanwu (Alan Wu)
03:05 PM Feature #18885: End of boot advisory API for RubyVM
Thank you Matz!
> My only concern is that the target of warming up might not be Process in the future
Given the type of optimizations we have in mind right now, I think they'll still be global even on a Ractor heavy context. The ma...
byroot (Jean Boussier)
02:38 PM Feature #18885: End of boot advisory API for RubyVM
Process.warmup sounds better than other candidates. My only concern is that the target of warming up might not be Process in the future (e.g. when Ractor local GC is introduced).
Matz.
matz (Yukihiro Matsumoto)
02:04 PM Feature #14022: String#surround
schmijos (Josua Schmid) wrote in #note-20:
> I've got another example of how I'd like to use `surround` in Rails string building:
> ...
```ruby
model_instance.name.presence&.then { "(#{_1})" }
```
austin (Austin Ziegler)
12:34 PM Feature #14022: String#surround
I've got another example of how I'd like to use `surround` in Rails string building:
```rb
model_instance.name.presence&.surround('(%s)')
# or
model_instance.name.presence&.surround('(', ')')
```
schmijos (Josua Schmid)
01:39 PM Revision ad0def7f (git): Add more debugging output to test_thrashing_for_young_objects
peterzhu2118 (Peter Zhu)
01:11 PM Bug #19007: Unicode tables differences from Unicode.org 14.0 data
nobu (Nobuyoshi Nakada) wrote:
> But U+11720..U+11721 in `CR_Grapheme_Cluster_Break_SpacingMark` is absent in the original data of the Unicode.org.
> ...
Read https://www.unicode.org/reports/tr29/#SpacingMark again, and found U+11720 a...
nobu (Nobuyoshi Nakada)
12:20 PM Feature #19024: Proposal: Import Modules
> You’re right, I was wrong to characterize it as such as it does minimize the thought and work you have put into this. I’m sorry.
Thank you, I really appreciate it.
shioyama (Chris Salzberg)
11:33 AM Revision 24f3e397 (git): Add spec for `Coverage.supported?` and `start(eval: true)`. (#6499)
* Don't emit coverage for eval when eval coverage is disabled. Samuel Williams
11:05 AM Feature #18980: `it` as a default block parameter
I would like to provide a data point.
I have been using Ruby for 10+ years and for a long time I missed a syntax that would allow me to map things quickly. Over time I decided to always use a variable named `x` for such purposes: `ma...
adiel (Adiel Mittmann)
10:37 AM Revision 1e6cdc76 (git): [ruby/logger] Fix the Logger::Formatter documentation
https://github.com/ruby/logger/commit/db554fbda7 lijunwei
09:51 AM Revision a081fe76 (git): Simplify default argument specification. (#6507)
Samuel Williams
08:48 AM Revision e4f91bbd (git): Add IO#timeout attribute and use it for blocking IO operations. (#5653)
Samuel Williams
08:32 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
I am OK with it. Let us put aside having aggregating timeout errors (like `TimeoutError` module) for the future.
Matz.
matz (Yukihiro Matsumoto)
02:28 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
@matz I've updated the PR so it has the following structure:
``` ruby
class IO::TimeoutError < IOError
end
```
Is that acceptable?
We can decide in separate issue to introduce general top level `TimeoutError`.
Since we no ...
ioquatix (Samuel Williams)
07:03 AM Revision e76217a7 (git): Update bundled gems list at c3a87e16d8edea1496eebc60d7514f [ci skip]
git[bot]
07:02 AM Revision c3a87e16 (git): Bundle RBS 2.7.0 (#6506)
soutaro (Soutaro Matsumoto)
06:20 AM Revision 4f78560c (git): Add --with-libffi-source-dir feature and removed --enable-bundled-libffi option. (#113)
https://bugs.ruby-lang.org/issues/18571
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Sutou Kouhei <kou@clear-code.com>
hsbt (Hiroshi SHIBATA)
06:18 AM Revision 92f0c539 (git): [ruby/fiddle] test: don't use assert_true/assert_false
GitHub: GH-102
They aren't available in ruby/ruby.
https://github.com/ruby/fiddle/commit/ced671e43b
Sutou Kouhei
06:18 AM Revision ada9f8a9 (git): [ruby/fiddle] closure: follow variable name change
GitHub: GH-102
https://github.com/ruby/fiddle/commit/2530496602
Sutou Kouhei
06:18 AM Revision a4ad6bd9 (git): [ruby/fiddle] closure: free resources when an exception is raised in Closure.new
GitHub: GH-102
https://github.com/ruby/fiddle/commit/81a8a56239
Sutou Kouhei
06:18 AM Revision 9f62768e (git): [ruby/fiddle] test: ensure freeing closure
GitHub: GH-102
https://github.com/ruby/fiddle/commit/b2fef1770d
Sutou Kouhei
06:18 AM Revision 824c474c (git): [ruby/fiddle] test: ensure freeing closure
GitHub: GH-102
This also improves freed closures assertions.
https://github.com/ruby/fiddle/commit/0495624caf
Sutou Kouhei
06:18 AM Revision dfca6a87 (git): [ruby/fiddle] test: don't use power-assert
It seems that we can't use it in ruby/ruby.
https://github.com/ruby/fiddle/commit/e1221297fb
Sutou Kouhei
06:18 AM Revision 7c331412 (git): [ruby/fiddle] test: ensure freeing closure
GitHub: GH-102
This also improves freed closures assertions.
https://github.com/ruby/fiddle/commit/f6431f3cf8
Sutou Kouhei
06:18 AM Revision 255e617b (git): [ruby/fiddle] Add Fiddle::Closure.create and Fiddle::Closure.free
GitHub: fix GH-102
It's for freeing a closure explicitly.
We can't use Fiddle::Closure before we fork the process. If we do it,
the process may be crashed with SELinux.
See https://github.com/ruby/fiddle/issues/102#issuecomment-124176...
Sutou Kouhei
06:18 AM Revision 191b91f4 (git): [ruby/fiddle] test: suppress a warning
test/fiddle/test_import.rb:138: warning:
ambiguous first argument; put parentheses or a space even after `-' operator
https://github.com/ruby/fiddle/commit/060eef76ad
Sutou Kouhei
06:18 AM Revision 0097c7f3 (git): [ruby/fiddle] Add `sym_defined?` methods to test if a symbol is defined (https://github.com/ruby/fiddle/pull/108)
I would like to check if a symbol is defined before trying to access it.
Some symbols aren't available on all platforms, so instead of raising an
exception, I want to check if it's defined first.
Today we have to do:
```ruby
begin
ad...
tenderlovemaking (Aaron Patterson)
06:18 AM Revision 755d99e8 (git): [ruby/fiddle] Move "type" constants to `Fiddle::Types` (https://github.com/ruby/fiddle/pull/112)
This helps to reduce repetition in code. Instead of doing "TYPE_*"
everywhere, you can do `include Fiddle::Types`, and write the type name
directly.
This PR is to help reduce repetition when writing Fiddle code. Right now
we have to typ...
tenderlovemaking (Aaron Patterson)
06:18 AM Revision 48a64984 (git): [ruby/fiddle] Add constants for unsigned values (https://github.com/ruby/fiddle/pull/111)
This commit adds constants for unsigned values. Currently we can use `-`
to mean "unsigned", but I think having a specific name makes Fiddle more
user friendly. This commit continues to support `-`, but introduces
negative constants with...
tenderlovemaking (Aaron Patterson)
06:18 AM Revision 6d01b667 (git): [ruby/fiddle] test: ensure GC-ing closures
GitHub: fix GH-102
We can't use Fiddle::Closure before we fork the process. If we do it,
the process may be crashed with SELinux.
See https://github.com/ruby/fiddle/issues/102#issuecomment-1241763091
for details.
Reported by Vít Ondru...
Sutou Kouhei
05:41 AM Revision 1b7c5c39 (git): [ruby/date] Fix misplaced time zone offset checks
https://github.com/ruby/date/commit/d21c69450a nobu (Nobuyoshi Nakada)
05:38 AM Feature #18571: Removed the bundled sources from release package after Ruby 3.2
I and nobu added `--with-xxx-source-dir` option for psych and fiddle instead of `--enable-bundled-libyaml`.
* https://github.com/ruby/psych/pull/544
* https://github.com/ruby/fiddle/pull/113
The users who want to use newer version...
hsbt (Hiroshi SHIBATA)
05:17 AM Bug #18034 (Closed): Segmentation fault fiddle with `--enable-bundled-libffi` and macOS
I created https://github.com/ruby/fiddle/pull/113. It removed `--enable-bundled-libffi` and add `--with-libffi-source-dir`. We leave from the bundled source code from Ruby 3.2. hsbt (Hiroshi SHIBATA)
03:55 AM Revision fc218e59 (git): [ruby/psych] Removed the related condition of --enable-bundled-libyaml
https://github.com/ruby/psych/commit/7c211a43c1 hsbt (Hiroshi SHIBATA)
03:55 AM Revision 94d4bea7 (git): [ruby/psych] --enable-bundled-libyaml config has been removed
https://github.com/ruby/psych/commit/447d372dcd hsbt (Hiroshi SHIBATA)
03:12 AM Revision a87de5e3 (git): [ruby/rdoc] Special characters are prohibited as filename on Windows
https://github.com/ruby/rdoc/commit/13b9da5932 nobu (Nobuyoshi Nakada)
03:12 AM Revision 39909d8c (git): [ruby/rdoc] Escape search results
https://hackerone.com/reports/1321358
https://github.com/ruby/rdoc/commit/2ebf8fd510
nobu (Nobuyoshi Nakada)
03:12 AM Revision a3cb09c7 (git): [ruby/rdoc] Escape file names
https://hackerone.com/reports/1321358
https://github.com/ruby/rdoc/commit/8c07cc4657
nobu (Nobuyoshi Nakada)
03:09 AM Revision 8d0b2162 (git): [ruby/rdoc] Escape main title
https://hackerone.com/reports/1187156
https://github.com/ruby/rdoc/commit/5dedb5741d
nobu (Nobuyoshi Nakada)
03:09 AM Revision 586e18b9 (git): [ruby/rdoc] Escape HYPERLINKs
https://github.com/ruby/rdoc/commit/ac35485be6 nobu (Nobuyoshi Nakada)
03:09 AM Revision 9e3ab9da (git): [ruby/rdoc] Escape RDOCLINKs
https://hackerone.com/reports/1187156
https://github.com/ruby/rdoc/commit/7cecf1efae
nobu (Nobuyoshi Nakada)
03:09 AM Revision deaa6566 (git): [ruby/rdoc] Escape TIDYLINKs
https://hackerone.com/reports/1187156
https://github.com/ruby/rdoc/commit/1ad2dd3ca2
nobu (Nobuyoshi Nakada)

10/06/2022

10:42 PM Revision 0472effc (git): YJIT: add an assert for branch_stub_hit() (#6505)
We set the PC in branch_stub_hit(), which only makes sense if we're
running with the intended iseq for the stub. We ran into an issue caught
by this while tweaking code layout.
alanwu (Alan Wu)
10:41 PM Revision 43e87c7e (git): YJIT: fix ARM64 bitmask encoding for 32 bit registers (#6503)
For logical instructions such as AND, there is a constraint that the N
part of the bitmask immediate must be 0. We weren't respecting this
condition previously and were silently emitting undefined instructions.
Check for this condition ...
alanwu (Alan Wu)
09:58 PM Revision fa2e1b67 (git): [ruby/open-uri] Support 308 status redirect
https://github.com/ruby/open-uri/commit/d8899ae4ac Janko Marohnić
09:08 PM Bug #19043 (Open): Segfault on macOS 11.7 while using StringScanner in multiple threads
During testing on our CI, one of the runners failed due to a segfault that appears to have originated from the `StringScanner` class, specifically the `scan_until` method. The test ensures that we are able to properly parse strings in a ... keithdoggett (Keith Doggett)
08:02 PM Revision 7837dccb (git): Adapt doc guide to new GFM features (#6504)
* Adapt doc guide to new GFM features
* Adapt doc guide to new GFM features
burdettelamar (Burdette Lamar)
07:39 PM Bug #19042 (Closed): Bug: Dir.glob ignores subdirectories in alternation when alternation is preceded by recursive directory pattern
The Dir.glob method omits results from subdirectories listed in an alternation when that alternation is preceded by a recursive directory pattern (`**/`).
Demonstration here: https://replit.com/@MattKern1/Dirglob-subdirectory-alternat...
matthew.kern2 (Matt Kern)
07:32 PM Bug #19041: Weakref is still alive after major garbage collection
I don't think this is a bug per say. The Ruby GC is conservative. That means it goes over the whole stack in search for potential references to objects, and mark them.
As a result, it can happen that an object ref stays in an unused s...
byroot (Jean Boussier)
07:03 PM Bug #19041 (Closed): Weakref is still alive after major garbage collection
I am able to get into an infinite loop waiting for garbage collection to take a WeakRef.
### Reproduction Process
The following script prints a "0", then a "1", and then hangs forever. I expect it to keep printing numbers.
```
requ...
parker (Parker Finch)
06:58 PM Revision 43650f60 (git): Notify CI failures of Miscellaneous checks
k0kubun (Takashi Kokubun)
06:56 PM Revision 1f2c84de (git): [ruby/rdoc] Remove trailing spaces to fix CI
https://github.com/ruby/ruby/actions/runs/3199301563/jobs/5224898228
https://github.com/ruby/rdoc/commit/369e4fa32d60bc00982801a6848efe5338603ac5
k0kubun (Takashi Kokubun)
05:46 PM Revision 3df904d1 (git): Add debug output to test_thrashing_for_young_objects
The test is failing only on trunk-repeat50@phosphorus-docker. This
commit adds some debugging output to debug the failure.
peterzhu2118 (Peter Zhu)
05:13 PM Revision 13e87e50 (git): fix Data docs (#6497)
Yuri Smirnov
04:37 PM Misc #19040: DevMeeting-2022-10-20
* [Feature #12084] Add `Class#attached_object` (ufuk)
* The proposed method returns the object that the receiver is the singleton class for, and raises `TypeError` if the receiver is not a singleton class.
* There is one particular...
ufuk (Ufuk Kayserilioglu)
02:39 PM Misc #19040 (Closed): DevMeeting-2022-10-20
# The next dev meeting
**Date: 2022/10/20 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/master/DevMeeting-2022-10-20.md
- Dev meeting *IS NOT* a decision-making place. All decisions should be done at the bu...
mame (Yusuke Endoh)
04:23 PM Feature #19024: Proposal: Import Modules
shioyama (Chris Salzberg) wrote in #note-17:
> Just one thing before I respond to other comments:
> ...
You’re right, I was wrong to characterize it as such as it does minimize the thought and work you have put into this. I’m sorry.
austin (Austin Ziegler)
09:26 AM Feature #19024: Proposal: Import Modules
Just one thing before I respond to other comments:
@austin
> which makes this misfeature less useful
I should probably ignore this, but I can't.
I asked for "constructive feedback", and I very much include in that constructiv...
shioyama (Chris Salzberg)
04:20 PM Feature #18798: `UnboundMethod#==` with inherited classes
Thanks for confirming. It sounds good to me.
Does @ko1 or anyone else plan to work on this? Otherwise I can give it a try when I have some time.
Eregon (Benoit Daloze)
02:29 PM Feature #18798: `UnboundMethod#==` with inherited classes
> No class field anymore:
> ...
This understanding is correct.
Discussed at the dev meeting. To the best of our knowledge, the receiver of instance_method is now only used in `UnboundMethod#inspect` (and `#to_s`). At the dev meeting,...
mame (Yusuke Endoh)
12:07 PM Feature #18798: `UnboundMethod#==` with inherited classes
In code terms:
```ruby
module M
def foo
end
end
class A
prepend M
def foo
end
end
class B
prepend M
def foo
end
end
a = A.instance_method(:foo)
b = B.instance_method(:foo)
p a
p b
p a == b
p [a....
Eregon (Benoit Daloze)
12:00 PM Feature #18798: `UnboundMethod#==` with inherited classes
`UnboundMethod#inspect` currently shows the class used for lookup:
```
irb(main):001:0> String.instance_method(:object_id)
=> #<UnboundMethod: String(Kernel)#object_id()>
```
Without it we can't show `String` here, it'd have to be `#<Unb...
Eregon (Benoit Daloze)
06:07 AM Feature #18798: `UnboundMethod#==` with inherited classes
I don't think UnboundMethod needs the reference to the class that generates the object, so that `UnboundMethod#==` works.
Matz.
matz (Yukihiro Matsumoto)
04:02 PM Bug #19016: syntax_suggest is not working with Ruby 3.2.0-preview2
Sounds OK-ish except I think `full_message` should be called instead of `detailed_message`.
Also if terminating all threads takes a while it delays the printing significantly, that's not so nice.
The order I posted above seems much cle...
Eregon (Benoit Daloze)
02:35 PM Bug #19016: syntax_suggest is not working with Ruby 3.2.0-preview2
At the dev meeting, @nobu proposed a slightly different order of termination process: (1) calls #detailed_message and keep the result string, (2) terminates all threads, and (3) prints the kept message.
@nobu Do you create a patch?
mame (Yusuke Endoh)
02:49 PM Feature #19022: Use __builtin_ppc_get_timebase on POWER with clang
I use Clang 13.0.0 on FreeBSD 13.1-RELEASE. I can see it was added in https://github.com/llvm/llvm-project/commit/65e1e4dbe0f1fff23eceeb0fcadd93e8f0a302aa. pkubaj (Piotr Kubaj)
02:43 PM Feature #19022: Use __builtin_ppc_get_timebase on POWER with clang
At the dev meeting, @akr was wondering which version of clang supports the function. mame (Yusuke Endoh)
02:38 PM Misc #18977 (Closed): DevMeeting-2022-09-22
mame (Yusuke Endoh)
07:07 AM Misc #18977: DevMeeting-2022-09-22
* [Bug #19016] syntax_suggest is not working with Ruby 3.2.0-preview2
* What's blocker now?
hsbt (Hiroshi SHIBATA)
02:30 PM Revision bbbdb574 (git): [DOC] Integrate io_streams.rdoc into io.c (#6491)
Integrate io_streams.rdoc into io.c burdettelamar (Burdette Lamar)
02:22 PM Revision cf3056be (git): [ruby/rdoc] Add center align
https://github.com/ruby/rdoc/commit/512cc55a0e nobu (Nobuyoshi Nakada)
02:21 PM Revision 28e24ce3 (git): [ruby/rdoc] Allow spaces around pipes
https://github.com/ruby/rdoc/commit/3b3a583580 nobu (Nobuyoshi Nakada)
02:17 PM Revision 7c03c824 (git): [ruby/rdoc] Allow escaped pipes in cells
https://github.com/ruby/rdoc/commit/333952a62d nobu (Nobuyoshi Nakada)
02:16 PM Revision f6c916c7 (git): [ruby/rdoc] Allow leading pipes to be ommitted
https://github.com/ruby/rdoc/commit/d263a2c9c4 nobu (Nobuyoshi Nakada)
02:14 PM Revision a19bf47d (git): [ruby/rdoc] Allow trailing pipes to be ommitted
https://github.com/ruby/rdoc/commit/1318048877 nobu (Nobuyoshi Nakada)
01:01 PM Bug #19038 (Closed): Corruption of generic_iv_tbl when compacting
Applied in changeset commit:git|76bae60d9b967415c5930c2c5906e14c8362a6dd.
----------
[Bug #19038] Fix corruption of generic_iv_tbl when compacting
When the generic_iv_tbl is resized up, rebuild_table performs
allocations that can trigg...
peterzhu2118 (Peter Zhu)
01:01 PM Revision 76bae60d (git): [Bug #19038] Fix corruption of generic_iv_tbl when compacting
When the generic_iv_tbl is resized up, rebuild_table performs
allocations that can trigger GC. If autocompaction is enabled, then
moved objects are removed from and inserted into the generic_iv_tbl.
This may cause another call to rebuild...
peterzhu2118 (Peter Zhu)
10:49 AM Revision d2f4cbf0 (git): merge revision(s) 5101671cbc008230cae7b5c2190b2f6938a19f74:
Disable parallel built in test-bundled-gems
---
common.mk | 2 +-
tool/test-bundled-gems.rb | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
nagachika (Tomoyuki Chikanaga)
10:00 AM Revision e696ec67 (git): Introduce `Fiber.blocking{}` for bypassing the fiber scheduler. (#6498)
Samuel Williams
09:24 AM Revision 75a53f6b (git): [ruby/rdoc] Allow RDoc markups in table cells
https://github.com/ruby/rdoc/commit/b16d3f1727 nobu (Nobuyoshi Nakada)
09:24 AM Revision e929b0aa (git): [ruby/rdoc] Add `RDoc::Markup::ToHtml#accept_table` test
https://github.com/ruby/rdoc/commit/0cb3df713b nobu (Nobuyoshi Nakada)
09:01 AM Revision 4e1086f9 (git): * remove trailing spaces. [ci skip]
git[bot]
09:00 AM Revision 43e92509 (git): [ruby/open-uri] fix: added test case that validates that bad TLS version is silently ignored
https://github.com/ruby/open-uri/commit/4b91b11730 Nishant Patel
09:00 AM Revision cdbaac3f (git): [ruby/open-uri] feat: allow option to pass version of SSL / TLS to use during communication. Allow versions are OpenSSL::SSL::SSLContext::METHODS
https://github.com/ruby/open-uri/commit/8729858517 Nishant Patel
08:42 AM Bug #18743: Enumerator#next / peek re-use each others stacktraces
Hello @matz, please let me know if someone else should be pinged for this. marcper (Marcelo Pereira)
08:15 AM Revision 7f80ec47 (git): [ruby/open-uri] Use omit instead of skip for test-unit
https://github.com/ruby/open-uri/commit/63f466d6ed hsbt (Hiroshi SHIBATA)
08:15 AM Revision cc5313ce (git): [ruby/open-uri] Run global constant count test only under Ruby 3.2
https://github.com/ruby/open-uri/commit/a8f1605ae9 hsbt (Hiroshi SHIBATA)
08:08 AM Feature #18411: Introduce `Fiber.blocking` for disabling scheduler.
It was accepted.
PR: https://github.com/ruby/ruby/pull/6498
ioquatix (Samuel Williams)
08:01 AM Feature #18589: Finer-grained constant invalidation
Note: This proposal merged at https://github.com/ruby/ruby/pull/5716 again. hsbt (Hiroshi SHIBATA)
07:55 AM Revision d15b38d9 (git): [ruby/open-uri] Avoid busting the global constant cache
`Object#extend(mod)` bump the global constant cache if the module
has constants of its own.
So by moving these constants outside of `Meta` we avoid bumping
the cache.
https://github.com/ruby/open-uri/commit/363c399bac
byroot (Jean Boussier)
06:53 AM Feature #19023: Enable riscv64 coroutines on riscv64-freebsd, arm32 on arm*-freebsd and ppc on powerpc-freebsd
It looks okay to me, but I don't know about how we test this and track regressions. ioquatix (Samuel Williams)
06:49 AM Feature #18982: Add an `exception: false` argument for Queue#push, Queue#pop, SizedQueue#push and SizedQueue#pop
Works for me. I'll leave this ticket open until I add some more spec and documentation to the existing method. byroot (Jean Boussier)
06:47 AM Feature #18982: Add an `exception: false` argument for Queue#push, Queue#pop, SizedQueue#push and SizedQueue#pop
> Because timeout: 0 in some APIs (not necessarily ruby) can mean no timeout.
Already the implementation do -> "Queue#pop(timeout:0) returns nil if Queue is empty" so no problem?
ko1 (Koichi Sasada)
06:44 AM Bug #18978 (Feedback): Unexpected behaviour in Time.utc and Time.local when 8 arguments are passed in
Even if `parsedate` is a pretty old library, I am not sure if it's OK to stop supporting it.
Do we rally have enough benefit to break the compatibility?
Matz.
matz (Yukihiro Matsumoto)
05:54 AM Bug #18790 (Closed): cannot load such file -- digest (LoadError)
The download feature for libyaml and libffi with extlibs has been removed from Ruby 3.2.0-preview2.
This issue no longer happened.
hsbt (Hiroshi SHIBATA)
05:54 AM Bug #18758 (Closed): Ruby fails to build on M1 Mac when x86 Homebrew is installed
The download feature for libyaml and libffi with extlibs has been removed from Ruby 3.2.0-preview2.
This issue no longer happened.
hsbt (Hiroshi SHIBATA)
05:54 AM Bug #18764 (Closed): Build Error when Using msys2-mingw64 and Ruby 3.2
The download feature for libyaml and libffi with extlibs has been removed from Ruby 3.2.0-preview2.
This issue no longer happened.
hsbt (Hiroshi SHIBATA)
05:52 AM Feature #18068 (Closed): Silence LoadError only if it is for rubygems itself
https://github.com/ruby/ruby/pull/4719 has been merged. hsbt (Hiroshi SHIBATA)
05:30 AM Bug #19039 (Open): Closing an IO being select'ed in another thread does not resume the thread
Is this intentional?
```ruby
r1, w1 = IO.pipe
r2, w2 = IO.pipe
Thread.new do
select([r1, r2])
p :ok
end
sleep 1
p r1.close
# expected: closing r1 resumes select([r1, r2]) in the thread
# actual: select([r1, r2]) ...
mame (Yusuke Endoh)
05:27 AM Bug #19037: [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
mame (Yusuke Endoh) wrote in #note-2:
> Please write your ticket as self-contained and concise as possible.
Done edit, please check.
zw963 (Wei Zheng)
02:09 AM Bug #19037: [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
Please write your ticket as self-contained and concise as possible. mame (Yusuke Endoh)
02:08 AM Bug #19037 (Feedback): [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
Can you update the details of your request/question? It's hard to understand by "Please check the discuss here". hsbt (Hiroshi SHIBATA)
04:46 AM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
### Naming Convention
Looking at #note-3, the last dev-meeting's primary ask was to provide a rationale for naming the configurations. So far, the following things have been mentioned:
* [ECMA-48 standard](https://www.ecma-international...
k0kubun (Takashi Kokubun)
04:22 AM Feature #18919: Ractor: can't share #Method objects
Now Method object is not shareable, but if the receiver is shareable, we can make it shareable.
Matz asked me to make it shareable, so we can consider the spec.
ko1 (Koichi Sasada)
01:04 AM Revision 3e842902 (git): [ruby/rdoc] Remove unused abbrev require
This library originally used `abbrev` to expand abbreviations into
fully-qualified classes, but that was replaced in
https://github.com/ruby/rdoc/commit/f9ffe6684e2afeac65c62bf1a5a2fce729f21001
`abbrev` is no longer used anywhere, so th...
dodecadaniel (Daniel Colson)

10/05/2022

11:34 PM Bug #18759 (Closed): snapshot-ruby_2_7: test failure on macos-12
znz (Kazuhiro NISHIYAMA)
11:24 PM Misc #18888 (Assigned): Migrate ruby-lang.org mail services to Google Domains and Google Workspace
The following users are still unverified.
* akr@ruby-lang.org
* aycabta@ruby-lang.org
* ayumin@ruby-lang.org
* byroot@ruby-lang.org
* gotoken@ruby-lang.org
* jaruga@ruby-lang.org
* kosaki@ruby-lang.org
* odaira@ruby-lang.org
...
hsbt (Hiroshi SHIBATA)
08:13 PM Revision 358fe26b (git): [rubygems/rubygems] Fix little UI issue when bundler shows duplicated gems in a list
https://github.com/rubygems/rubygems/commit/3f71d882e9 deivid (David Rodríguez)
08:08 PM Bug #19038 (Closed): Corruption of generic_iv_tbl when compacting
GitHub PR: https://github.com/ruby/ruby/pull/6494
When the generic_iv_tbl is resized up, rebuild_table performs allocations that can trigger GC. If autocompaction is enabled, then moved objects are removed from and inserted into the g...
peterzhu2118 (Peter Zhu)
07:46 PM Bug #18605: Fails to run on (newer) 32bit Windows with ucrt
An issue exists elsewhere, see https://github.com/oneclick/rubyinstaller2/issues/308#issuecomment-1268851455. I'm just the messenger, I don't have the knowledge needed for this issue.
Quoting the response from ArminG-MSFT:
Hello t...
MSP-Greg (Greg L)
12:20 PM Revision b9771836 (git): update debug.gem commit hash to cease nightly packaging failures.
nagachika (Tomoyuki Chikanaga)
11:24 AM Bug #19037 (Feedback): [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
When work with ruby 3.1.X, [looksee](https://github.com/oggy/looksee) gem could not display color character correct in new version IRB, as you can see as following:
```
^[[1;37m[Roda::RodaPlugins::Sprockets::Task instance]^[[0m
^[...
zw963 (Wei Zheng)
10:43 AM Revision 139e79e5 (git): [DOC] Remove unknown markup or macro [ci skip]
Also remove the ancient word "Windows NT". nobu (Nobuyoshi Nakada)
10:22 AM Revision 83a6213f (git): [ruby/irb] Fixed sort of variables in completion
https://github.com/ruby/irb/commit/5842888255 makketagg (Imir Kiyamov)
10:20 AM Revision 107acbd9 (git): [ruby/irb] Add description of IRB_LANG, IRBRC, and XDG_CONFIG_HOME to man
https://github.com/ruby/irb/commit/564bd91387 kyanagi (Kouhei Yanagita)
10:15 AM Revision d8803222 (git): [ruby/irb] Update remark of self.install_extend_commands.
Create line
https://github.com/ruby/irb/commit/64d6a461d5
kaiquekandykoga (Kaíque Koga)
09:59 AM Revision 2f6a2637 (git): [ruby/irb] Use USE_REIDLINE for backword compatibility
https://github.com/ruby/irb/commit/e58a3c1b39 hsbt (Hiroshi SHIBATA)
09:26 AM Revision b84140f6 (git): Mentioned removing libffi sources from fiddle
hsbt (Hiroshi SHIBATA)
09:22 AM Revision 0b4352b9 (git): Removed the related files for downloading with extlibs
hsbt (Hiroshi SHIBATA)
08:14 AM Revision 19e4a4c6 (git): [ruby/irb] Rename IDB::ReidlineInputMethod to IRB::RelineInputMethod
Deprecates IDB::ReidlineInputMethod and USE_REIDLINE in favor of
IRB::RelineInputMethod and USE_RELINE. The Input method uses Reline to
read input from the console, so it can be named directly after the
Reline library like other inputs m...
gmcgibbon (Gannon McGibbon)
06:25 AM Revision 48c261a0 (git): Update default gems list at 203b8310655ac8a67de2c5b2bd7afa [ci skip]
git[bot]
06:25 AM Revision 203b8310 (git): [ruby/irb] Bump version to 1.4.2
https://github.com/ruby/irb/commit/f9960dbd37 st0012 (Stan Lo)
06:15 AM Revision f081bba8 (git): [ruby/irb] Added aycabta to authors
https://github.com/ruby/irb/commit/a6bfa7b2e6 hsbt (Hiroshi SHIBATA)
02:48 AM Revision 7293bfe1 (git): YJIT: add support for calling bmethods (#6489)
* YJIT: fix a parameter name
* YJIT: add support for calling bmethods
This commit adds support for the VM_METHOD_TYPE_BMETHOD method type in
YJIT. You can get these type of methods from facilities like
Kernel#define_singleton_method an...
alanwu (Alan Wu)

10/04/2022

11:58 PM Feature #19024: Proposal: Import Modules
Just wanted to quickly correct something in my earlier response, my example (with `Foo1` and `Foo2` etc.) was not quite correct. I've updated it, just wanted to mention because it could cause some confusion.
Will respond to other comm...
shioyama (Chris Salzberg)
02:29 PM Feature #19024: Proposal: Import Modules
shioyama (Chris Salzberg) wrote in #note-11:
> That said, to be clear, the Ruby patch does not actually hit this conflict, it's the gem that does. The patch only requires a file once, _in whatever context it was required in_. If you req...
austin (Austin Ziegler)
01:54 PM Feature #19024: Proposal: Import Modules
Well, I believe being in the global namespace is the rule in most programming languages. Lexical rules or aliasing is about local name visibility, but package names start at some root. fxn (Xavier Noria)
01:50 PM Feature #19024: Proposal: Import Modules
> I agree. The proposal as far as Ruby goes does not treat any constants as distinguished. The gem code originally did have a list of constants, but no longer does (it instead looks at Object.constants at the time the gem is loaded).
...
byroot (Jean Boussier)
01:46 PM Feature #19024: Proposal: Import Modules
Just a very quick followup:
> But I'd like to separate it from the question of whether the idea is even practically possible.
Oh, if the purpose of this exploration is to see if this is technically doable then by all means go ahead :)....
fxn (Xavier Noria)
01:22 PM Feature #19024: Proposal: Import Modules
Thanks @fxn, let me start with (what I consider) the easier question first:
> In Ruby, String is not special: It is a constant in `Object` storing a class object, no different than `User`. This proposal treats certain constants as disti...
shioyama (Chris Salzberg)
08:44 AM Feature #19024: Proposal: Import Modules
In the first question, it is assumed that `b` wants `A` decoration to be in place for the entire process. fxn (Xavier Noria)
08:40 AM Feature #19024: Proposal: Import Modules
Some questions/remarks:
* Gem `a` defines `A`, and gem `b` wants to reopen `A`. How would `b` access `A` in a way that does not depend on how was `A` loaded?
* Let's imagine you are developing Nokogiri, and of course you can use Ruby as...
fxn (Xavier Noria)
06:50 PM Revision 5fc68e11 (git): [DOC] Adding remarks about HTML and tables (#6485)
* Adding remarks about HTML and tables burdettelamar (Burdette Lamar)
12:55 PM Bug #19032: Assertion Failed: vm_insnhelper.c:1176:vm_getivar:rb_ractor_shareable_p(obj) ? rb_ractor_shareable_p(val) : true
Yes, this bug was because the assertion had previously only applied to `T_OBJECT`s, but when we merged shapes initially, we applied it to all data types. That's why the example above (on `ENV`, which has type `T_DATA`) was failing on the... jemmai (Jemma Issroff)
12:54 PM Bug #19028 (Closed): GCC12 Introduces new warn flags `-Wuse-after-free`
Applied in changeset commit:git|40ceceb1a5b63029a4d1434d2d20dfa09cdb295f.
----------
[Bug #19028] Suppress GCC 12 `-Wuse-after-free` false warning
GCC 12 introduced a new warning flag `-Wuse-after-free`, however it
has a false positive...
nobu (Nobuyoshi Nakada)
02:12 AM Bug #19028: GCC12 Introduces new warn flags `-Wuse-after-free`
I found the warning is suppressed by a statement-expression.
Don't ask why 🤪
https://github.com/ruby/ruby/compare/master...nobu:ruby:bug/19028-realloc-warning
nobu (Nobuyoshi Nakada)
12:53 PM Revision 40ceceb1 (git): [Bug #19028] Suppress GCC 12 `-Wuse-after-free` false warning
GCC 12 introduced a new warning flag `-Wuse-after-free`, however it
has a false positive at `realloc` when optimization is disabled, since
the memory requested for reallocation is guaranteed to not be touched.
This workaround is very unc...
nobu (Nobuyoshi Nakada)
11:24 AM Revision b0645e35 (git): update debug.gem commit hash to cease nightly packaging failures.
nagachika (Tomoyuki Chikanaga)
07:09 AM Revision 6378825d (git): Update bundled gems list at 2022-10-04
git[bot]
01:07 AM Revision 7726f6bf (git): Correcting example for swapcase! method
Example, line 3, swapcase! was incorrect. implied that the swapcase! did /not/ change the starting string. Vaevictusnet
12:01 AM Misc #19030: [ANN] Migrate lists.ruby-lang.org to Google Groups
We have the following lists.
```
JRuby - JRuby project mailing list
ruby-core - Ruby developers
ruby-cvs - Ruby commit report
ruby-de - Deutschsprachige Ruby-Mailingliste
ruby-dev - Ruby deve...
hsbt (Hiroshi SHIBATA)

10/03/2022

11:11 PM Misc #18888 (Closed): Migrate ruby-lang.org mail services to Google Domains and Google Workspace
It works now. hsbt (Hiroshi SHIBATA)
10:57 AM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
This is test comment for mailing-list integration for redmine. hsbt (Hiroshi SHIBATA)
09:31 AM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
I added mailing-list configurations to Google Domains and migrate MX records again. hsbt (Hiroshi SHIBATA)
01:35 AM Misc #18888 (Assigned): Migrate ruby-lang.org mail services to Google Domains and Google Workspace
We found some issues related to mailing-list. I did rollback MX records.
hsbt (Hiroshi SHIBATA)
09:22 PM Revision b2668248 (git): [rubygems/rubygems] Make sure RSpec diffs don't omit the different part
We sometimes check assertions on lockfile contents, which involves
comparing a reasonably long string. Sometimes RSpec is not able to show
the part of the string that's actually different, making it hard to
figure out the issue.
Configu...
deivid (David Rodríguez)
08:57 PM Revision efc77662 (git): Split cmp operations that aren't 32/64 bit for arm (#6484)
Jimmy Miller
02:28 PM Revision cbd82f52 (git): Cannot `define` from defined `Data` class again
nobu (Nobuyoshi Nakada)
02:19 PM Revision c198cf43 (git): Remove an unused macro [ci skip]
nobu (Nobuyoshi Nakada)
02:19 PM Bug #19034 (Closed): Ruby 3.2.0 build failure on macOS 10.12.6, which does not have utimensat
Applied in changeset commit:git|8218cb73ba0b4c07d977fbf6e9fd02e1928288b7.
----------
[Bug #19034] No runtime check for `utimensat` if unavailable
nobu (Nobuyoshi Nakada)
02:18 PM Bug #19034: Ruby 3.2.0 build failure on macOS 10.12.6, which does not have utimensat
I can't remember for what purpose commit:git|b6b9a6190def, but it was not an intentional error when `HAVE_UTIMENSAT` was not defined.
So I'm going to fix this case.
nobu (Nobuyoshi Nakada)
02:09 AM Bug #19034: Ruby 3.2.0 build failure on macOS 10.12.6, which does not have utimensat
>In 2021 the release year of Ruby 3.1, macOS 10.12 is already EOL. We don't have macOS 10.12 for testing.
One way of looking at it is that I tested it. I encountered this with 3.2.0-preview2.
> ...
I said that because the most rece...
debo (David Bohman)
01:49 AM Bug #19034: Ruby 3.2.0 build failure on macOS 10.12.6, which does not have utimensat
In 2021 the release year of Ruby 3.1, macOS 10.12 is already EOL. We don't have macOS 10.12 for testing.
I wonder why you say this as "regression" with non-supported platform/versions. I don't have any strong opinion; this is totally ...
hsbt (Hiroshi SHIBATA)
02:18 PM Revision 8218cb73 (git): [Bug #19034] No runtime check for `utimensat` if unavailable
nobu (Nobuyoshi Nakada)
01:58 PM Bug #19033: One-liner pattern match as Boolean arg syntax error
`expect value in pattern` is a syntax error, but
`expect value if pattern` is parsed as `expect(value) if pattern`
I wonder why the difference?
Dan0042 (Daniel DeLorme)
12:20 AM Bug #19033: One-liner pattern match as Boolean arg syntax error
jeremyevans0 (Jeremy Evans) wrote in #note-2:
> Regarding `expect(value in pattern)`, I think it is expected that is a syntax error. This is how Ruby has always worked for `expect(true if true)`, which is invalid syntax (`expect((true i...
duerst (Martin Dürst)
12:07 PM Feature #19024: Proposal: Import Modules
> Also make this apply when code under the wrapper module is called outside of the load process (when top_wrapper is no longer set) — this may be quite hard to do.
Turns out I was wrong about this, it's actually quite easy to track the ...
shioyama (Chris Salzberg)
11:41 AM Revision bc6c1e0e (git): [rubygems/rubygems] Copy template contents instead of file and perms
This allows the file to be created without copying permissions
from Bundler's installation source. The previous behaviour was
noticed after installing Ruby through brew, and using bundle
init, which yielded a read-only Gemfile.
https://...
Victor Gama
10:54 AM Revision b7a61cb4 (git): [rubygems/rubygems] Revert "Cleaup unnecessary code"
Unclear why, but https://github.com/rubygems/rubygems/commit/2e05dadbc5de created some
warnings in ruby-core CI, so let's revert it.
https://github.com/rubygems/rubygems/commit/729ce3a6e1
deivid (David Rodríguez)
10:53 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
backported b91f685a2615ef957210f5e3a50c0e8299c20c55 into ruby_3_1 at 263ae503650531b90653ab78124b6d2d513e06cc. nagachika (Tomoyuki Chikanaga)
10:28 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
@Eregon Thanks! I will handle it soon. nagachika (Tomoyuki Chikanaga)
10:08 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
@nagachika Thanks! We need to backport one more commit, I forgot to mark the new field: https://github.com/ruby/ruby/commit/b91f685a2615ef957210f5e3a50c0e8299c20c55 Eregon (Benoit Daloze)
10:52 AM Revision 263ae503 (git): merge revision(s) b91f685a2615ef957210f5e3a50c0e8299c20c55: [Backport #18435]
Mark struct METHOD->owner for the GC
* Fixes https://github.com/ruby/ruby/commit/6b7d32a5e5
* See [Bug #18729]
---
proc.c | 2 ++
1 file changed, 2 insertions(+)
nagachika (Tomoyuki Chikanaga)
10:03 AM Revision b91f685a (git): Mark struct METHOD->owner for the GC
* Fixes https://github.com/ruby/ruby/commit/6b7d32a5e5
* See [Bug #18729]
Eregon (Benoit Daloze)
07:24 AM Bug #19032 (Closed): Assertion Failed: vm_insnhelper.c:1176:vm_getivar:rb_ractor_shareable_p(obj) ? rb_ractor_shareable_p(val) : true
@mame It's fixed indeed.
A few information we figured when debugging this with @jemmai:
- This only happen in DEBUG mode (kinda implied since it's an assertion failure)
- We found a small reproduction script for it:
```ruby...
byroot (Jean Boussier)
02:37 AM Bug #19032: Assertion Failed: vm_insnhelper.c:1176:vm_getivar:rb_ractor_shareable_p(obj) ? rb_ractor_shareable_p(val) : true
@byroot Object Shapes has been reverted. Is this problem still happening? mame (Yusuke Endoh)
12:50 AM Misc #19035 (Third Party's Issue): Change of have_header behaviour between 3.0 and 3.1 causes problems for C++ extensions
I'm sorry that this feature is totally undocumented: there is `MakeMakefile["C++"]` which uses C++'s toolchain compiler instead of C's.
```patch
From 54977cc97f65313ec9f2611c17215aac8c477fa2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?...
shyouhei (Shyouhei Urabe)

10/02/2022

10:36 PM Bug #19034: Ruby 3.2.0 build failure on macOS 10.12.6, which does not have utimensat
Does that matter? This is a regression from 3.1, and the fix is trivial.
debo (David Bohman)
10:33 PM Bug #19034: Ruby 3.2.0 build failure on macOS 10.12.6, which does not have utimensat
macOS 10.12.6 is already EOL by Apple. Should we support this version? hsbt (Hiroshi SHIBATA)
03:00 PM Bug #19034: Ruby 3.2.0 build failure on macOS 10.12.6, which does not have utimensat
You are correct. Sorry about that. Your fix is superior. It builds and works for me.
Will you be making that change?
debo (David Bohman)
07:47 AM Bug #19034: Ruby 3.2.0 build failure on macOS 10.12.6, which does not have utimensat
This seems unmatched `#if`/`#endif`.
```diff
commit b893b976c820f1f3c9ddfe26d1b84d2aefd5464f
Author: David Bohman <debohman@gmail.com>
AuthorDate: 2022-10-02 09:40:48 +0900
Commit: David Bohman <debohman@gmail.com>
Commit...
nobu (Nobuyoshi Nakada)
02:45 AM Bug #19034 (Closed): Ruby 3.2.0 build failure on macOS 10.12.6, which does not have utimensat
Ruby 3.2.0 does not build on macOS 10.12.6 due to the lack of utimensat() on that system. I have opened a pull request on GitHub.
debo (David Bohman)
10:00 PM Revision 10e830c2 (git): [ruby/irb] Remove unused error
https://github.com/ruby/irb/commit/f09a1874b6 st0012 (Stan Lo)
10:00 PM Revision b97e909e (git): [ruby/irb] Remove unnecessary Thread presence check
They were introduced around 20 years ago, when Thread is not yet
stabilized. So we don't need them anymore.
https://github.com/ruby/irb/commit/4c75e03b2b
st0012 (Stan Lo)
09:55 PM Revision 7b88ffb3 (git): [ruby/irb] Change to explicit method call in completion (https://github.com/ruby/irb/pull/369)
Ensure that methods are called even when local variables are defined.
see: https://github.com/ruby/irb/issues/368
https://github.com/ruby/irb/commit/c34d54b8bb
osyo (manga osyo)
09:29 PM Misc #18888 (Closed): Migrate ruby-lang.org mail services to Google Domains and Google Workspace
I finished this migration. Please ask me if you can't receive mail at your ruby-lang.org address. hsbt (Hiroshi SHIBATA)
07:51 AM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
Server administration can take time away from further developing Ruby. Supporting contributions from a diverse set of people is also good.
Maybe the following might be of interest:
https://www.gandi.net/en/domain/email
https://api....
bbrklm (Benson Muite)
01:03 AM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
"shugo (Shugo Maeda)" <noreply@ruby-lang.org> wrote:
> normalperson (Eric Wong) wrote in #note-7:
> > > And I send the verification mail for them. Please verify your
> > > mail-address like gmail, yahoo or others for aliasing
> > ...
normalperson (Eric Wong)
07:59 PM Revision 5cab9d0e (git): [ruby/irb] Remove patches for Ruby 2.4
They were added in https://github.com/ruby/irb/commit/b34f26a0dd3b589e6fc321a6248d173682c9202f
https://github.com/ruby/irb/commit/0e760d2674
st0012 (Stan Lo)
07:59 PM Revision 42fcbcc2 (git): [ruby/irb] Remove unnecessary condition
https://github.com/ruby/irb/commit/daffb8bfe5 st0012 (Stan Lo)
07:59 PM Revision 55e2116f (git): [ruby/irb] Refactor ripper_lex_without_warning
https://github.com/ruby/irb/commit/0db0a8ddc5 st0012 (Stan Lo)
02:20 PM Feature #19036: Provide a way to set path for File instances created with for_fd
Looking at the linked PR again I realize that we would need this functionality for IO as well, in order for the IO object to have the "masterpty" marker. The File would still need help, so we can `for_fd` but provide the slave name as path. headius (Charles Nutter)
02:18 PM Feature #19036 (Closed): Provide a way to set path for File instances created with for_fd
Ruby provides `IO.for_fd` to instantiate an IO object from an existing file descriptor value. The logic for this simply calls the base `IO.new` logic, which for all IO and subtypes simply wraps the given file descriptor.
When called a...
headius (Charles Nutter)
01:24 PM Revision ded895ba (git): [DOC] RDoc changes for IO (#6458)
Moves Expect library doc into io.c.
Changes certain links to local sections, now pointing to sections in doc/io_streams.rdoc.
Removes local sections now superseded by sections in doc/io_streams.rdoc.
burdettelamar (Burdette Lamar)
11:14 AM Misc #19035 (Third Party's Issue): Change of have_header behaviour between 3.0 and 3.1 causes problems for C++ extensions
In commit:4b6fd8329b46701414aba2eeca10013cf66ec513 the behaviour of `have_header` changed to actually compile instead of just preprocess (at least that's what I understand). This caused problems in at least one extension using C++ (bindi... katafrakt (Paweł Świątkowski)
09:36 AM Revision 85fc8223 (git): CodeQL slowness on syntax_suggest fixed at 2.10.5
This reverts commit d152ac677cffdbc136530dd56a56c42518d29ea4, "Make
CodeQL ignore syntax_suggest because of the performance problem".
Probably all instances seem to already have updated to 2.10.5 now.
nobu (Nobuyoshi Nakada)
07:08 AM Revision f3a3ab11 (git): [Bug #16909] Honor the tool prefix against pkg-config
nobu (Nobuyoshi Nakada)
06:19 AM Revision de9c612d (git): Also the tests should use the configured pkg-config
nobu (Nobuyoshi Nakada)
06:19 AM Revision 7f1ca666 (git): Fallback PKG_CONFIG to the configured pkg-config always
nobu (Nobuyoshi Nakada)

10/01/2022

11:43 PM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
I will migrate MX record to Google Domains at Oct 2, 2022. Please verify your address ASAP.
hsbt (Hiroshi SHIBATA)
11:31 PM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
normalperson (Eric Wong) wrote in #note-7:
> > And I send the verification mail for them. Please verify your
> ...
The verification is not for git, but for mail forwarding from normalperson@ruby-lang to your e-mail address.
You can...
shugo (Shugo Maeda)
10:22 PM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
"hsbt (Hiroshi SHIBATA)" <noreply@ruby-lang.org> wrote:
> I prepared mail aliases for enabled users of
> https://github.com/ruby/ruby-commit-hook/blob/master/config/email.yml.
> But some of users use different email addresses of the ...
normalperson (Eric Wong)
03:12 PM Bug #18605: Fails to run on (newer) 32bit Windows with ucrt
I have same problem on Windows 11 25206, reinstalling Ruby didn't help. ivall (ivall ivall)
11:32 AM Revision 5c232257 (git): bump patchlevel
nagachika (Tomoyuki Chikanaga)
11:29 AM Revision df1cf0a0 (git): Re-enable example for Europe/Amsterdam pre-1970 time
* https://github.com/ruby/spec/pull/939
* https://github.com/ruby/ruby/pull/6393
hsbt (Hiroshi SHIBATA)
09:53 AM Revision 88c12a29 (git): Indent folded bootstraptest dots
nobu (Nobuyoshi Nakada)
09:12 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
merged https://github.com/ruby/ruby/pull/6440 nagachika (Tomoyuki Chikanaga)
09:12 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
merged https://github.com/ruby/ruby/pull/6440 nagachika (Tomoyuki Chikanaga)
09:10 AM Revision 0872fe09 (git): bump patchlevel
nagachika (Tomoyuki Chikanaga)
09:10 AM Revision 8ebaa174 (git): Initialize Objective-C classes before fork() for macOS 13
Since macOS 13, CFString family API used in
`rb_str_append_normalized_ospath` may internally use Objective-C classes
(`NSTaggedPointerString` and `NSPlaceholderMutableString`) for small strings.
On the other hand, Objective-C classes sh...
katei (Yuta Saito)
09:10 AM Revision bf92aace (git): [Bug #19005] dynamic_lookup linker option in external libraries
The warning against `-undefined dynamic_lookup` is just a warning yet,
and many gems seem to pay no attention to warnings. Until it fails
actually, keep it as a migration path, except for standard extension
libraries and bundled extensi...
nobu (Nobuyoshi Nakada)
09:10 AM Revision 2244fc9a (git): -undefined dynamic_lookup is obsolete
nobu (Nobuyoshi Nakada)
07:24 AM Revision 56f2fd3b (git): Use the dedicated function to check arity
nobu (Nobuyoshi Nakada)
07:20 AM Revision 15d3b7fe (git): Fix an out of bound access
nobu (Nobuyoshi Nakada)
06:59 AM Revision 7b413c1d (git): * 2022-10-01 [ci skip]
git[bot]
06:58 AM Revision 022aefb4 (git): Initialize Objective-C classes before fork() for macOS 13
Since macOS 13, CFString family API used in
`rb_str_append_normalized_ospath` may internally use Objective-C classes
(`NSTaggedPointerString` and `NSPlaceholderMutableString`) for small strings.
On the other hand, Objective-C classes sh...
katei (Yuta Saito)
06:58 AM Revision 99735a8b (git): [Bug #19005] dynamic_lookup linker option in external libraries
The warning against `-undefined dynamic_lookup` is just a warning yet,
and many gems seem to pay no attention to warnings. Until it fails
actually, keep it as a migration path, except for standard extension
libraries and bundled extensi...
nobu (Nobuyoshi Nakada)
06:58 AM Revision 9188c5dd (git): -undefined dynamic_lookup is obsolete
nobu (Nobuyoshi Nakada)
06:58 AM Revision 27adf532 (git): Add macros for assertions
nobu (Nobuyoshi Nakada)
06:58 AM Revision fb120ee0 (git): * 2022-10-01 [ci skip]
git[bot]
06:58 AM Revision 7f2c5482 (git): Initialize Objective-C classes before fork() for macOS 13
Since macOS 13, CFString family API used in
`rb_str_append_normalized_ospath` may internally use Objective-C classes
(`NSTaggedPointerString` and `NSPlaceholderMutableString`) for small strings.
On the other hand, Objective-C classes sh...
katei (Yuta Saito)
06:58 AM Revision 2ae567ac (git): [Bug #19005] dynamic_lookup linker option in external libraries
The warning against `-undefined dynamic_lookup` is just a warning yet,
and many gems seem to pay no attention to warnings. Until it fails
actually, keep it as a migration path, except for standard extension
libraries and bundled extensi...
nobu (Nobuyoshi Nakada)
06:58 AM Revision 45c2fd9e (git): -undefined dynamic_lookup is obsolete
nobu (Nobuyoshi Nakada)
06:36 AM Revision c767618d (git): Do not define the method only for RDoc
`Data.members` fails an assertion. nobu (Nobuyoshi Nakada)
06:35 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
ruby_3_1 9e739022ded433f189a575017d3936b79541f229 merged revision(s) 94cea3e4d0a60326bd95be762819eed8ccd59ca6,aa53d69aa21c4dfa2a78a1cec5cb34e9697b3d30,6b7d32a5e54088b6b4014529bbf2b4b8c1a96029,c6319026caa6c8f0f569f80011e8502349a04b14,aa49... nagachika (Tomoyuki Chikanaga)
06:32 AM Revision 9e739022 (git): merge revision(s) 94cea3e4d0a60326bd95be762819eed8ccd59ca6,aa53d69aa21c4dfa2a78a1cec5cb34e9697b3d30,6b7d32a5e54088b6b4014529bbf2b4b8c1a96029,c6319026caa6c8f0f569f80011e8502349a04b14,aa490f9442c32cd0e1e449ac817f410bd5924c8b: [Backport #18435]
Fix {Method,UnboundMethod}#super_method for zsuper methods
* We need to resolve the zsuper method first, and then look the super
method of that.
---
proc.c | ...
nagachika (Tomoyuki Chikanaga)
12:26 AM Revision 70538bea (git): Fix YJIT args for rb_vm_set_ivar_idx
This was broken accidentally with the revert of shapes (it conflicted
with some unrelated cleanup).
jhawthorn (John Hawthorn)
 

Also available in: Atom