Project

General

Profile

Activity

From 05/26/2023 to 06/01/2023

06/01/2023

09:55 PM Revision 10621f7c (git): Revert "Fix cvar caching when class is cloned"
This reverts commit 77d1b082470790c17c24a2f406b4fec5d522636b. tenderlovemaking (Aaron Patterson)
08:10 PM Revision 2d2893f2 (git): [ruby/irb] Improve debug command tests
(https://github.com/ruby/irb/pull/594)
* Use require_relative for envutil.rb
Requiring test helper files with `requ...
st0012 (Stan Lo)
07:27 PM Bug #19705 (Rejected): Ruby IPAddr class accepting wrong IPv6 address string
It's expected that IPv6 with zone identifiers addresses are supported starting in Ruby 3.1 (ipaddr 1.2.3). See #10911... jeremyevans0 (Jeremy Evans)
10:52 AM Bug #19705 (Rejected): Ruby IPAddr class accepting wrong IPv6 address string
We are middle of upgrading ruby versions v2.7.3 -> v3.1.3
One of our test cases are failing related to valid ipv6 ...
[email protected] (Md. Farhan Memon)
04:16 PM Revision 39968112 (git): YJIT: Introduce RubyVM::YJIT.stats_string (#7857)
* YJIT: Introduce RubyVM::YJIT.printed_stats
* Use #string instead
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang...
k0kubun (Takashi Kokubun)
03:52 PM Revision 77d1b082 (git): Fix cvar caching when class is cloned
The class variable cache that was added in
https://github.com/ruby/ruby/pull/4544 changed the behavior of class
varia...
eileencodes (Eileen Uchitelle)
01:54 PM Revision b7ee51e8 (git): Expose `enum rb_io_event` flags without `_t` suffix. (#7887)
Samuel Williams
12:46 PM Revision 47a8de60 (git): Drop `_t` suffix from struct names. (#7886)
POSIX reserves `_t` suffix in types. Samuel Williams
12:44 PM Revision a5e1d549 (git): [DOC] Mention the edge case of `any?`/`all?`
nobu (Nobuyoshi Nakada)
12:32 PM Revision a16cffe3 (git): Simplify duplicated code
The capacity of the string can be calculated using the str_capacity
function.
peterzhu2118 (Peter Zhu)
12:32 PM Revision 8a8618d4 (git): Don't refetch ptr and len
The call to RSTRING_GETMEM already fetched the pointer and length, so we
don't need to fetch it again.
peterzhu2118 (Peter Zhu)
12:16 PM Bug #19576: Backport request: Gemfile.lock resolving is broken with bundler shipped with Ruby 3.1.4
With the --deployment option true:
This commit introduced the issue: https://github.com/rubygems/rubygems/commit/09b9...
jprokop (Jarek Prokop)
08:55 AM Bug #19576: Backport request: Gemfile.lock resolving is broken with bundler shipped with Ruby 3.1.4
Thank you. I can confirm that PR fixes what I described in the initial report.
Unfortunately, I recently found sec...
jprokop (Jarek Prokop)
07:57 AM Bug #19576: Backport request: Gemfile.lock resolving is broken with bundler shipped with Ruby 3.1.4
I prepared to release new versions with your commits.
https://github.com/rubygems/rubygems/pull/6717
hsbt (Hiroshi SHIBATA)
11:41 AM Revision d5a53331 (git): [ruby/stringio] Avoid direct struct usage.
(https://github.com/ruby/stringio/pull/54)
We will eventually want to refactor this, but for now this is compatible
...
Samuel Williams
11:11 AM Feature #19057: Hide implementation of `rb_io_t`.
I'm in favour of eventually deprecating `rb_io_t` and I think that means anything related to it.
I think deprecation...
ioquatix (Samuel Williams)
09:56 AM Feature #19057: Hide implementation of `rb_io_t`.
I am not sure there is an easier path here, IMO it's OK for some extensions to break while they test against ruby-hea... Eregon (Benoit Daloze)
12:53 AM Feature #19057 (Assigned): Hide implementation of `rb_io_t`.
ioquatix (Samuel Williams)
12:52 AM Feature #19057: Hide implementation of `rb_io_t`.
Unfortunately this was reverted due to some extensions no longer compiling.
- https://bugs.ruby-lang.org/issues/19...
ioquatix (Samuel Williams)
10:02 AM Feature #19616: Remove ext/readline from Ruby 3.3
I noticed Rails's Gemfile added a dependency to readline-ext in https://github.com/rails/rails/commit/a6e0b0acb2d1e85... Eregon (Benoit Daloze)
09:41 AM Revision 957b6a49 (git): rb_io_descriptor() is available since 3.1
Eregon (Benoit Daloze)
08:43 AM Revision 64ec1813 (git): Restores the changes in `io-console` without breaking backwards compatibility. (#7882)
This reverts commit 35da41b29bf0a1a8fd2cd7e1d7fcb036ca8c2c7c.
This updates `io-console` to avoid accessing the inter...
Samuel Williams
08:37 AM Revision edee9b6a (git): Use a real Ruby mutex in rb_io_close_wait_list (#7884)
Because a thread calling IO#close now blocks in a native condvar wait,
it's possible for there to be _no_ threads lef...
kjtsanaktsidis (KJ Tsanaktsidis)
05:46 AM Revision d8f33349 (git): [ruby/syntax_suggest] Use hard-coded filename for executables.
It's hard to handle between ruby/syntax_suggest and ruby/ruby at gemspec.
https://github.com/ruby/syntax_suggest/com...
hsbt (Hiroshi SHIBATA)
05:23 AM Revision a218ed56 (git): Hide the usage of `rb_io_t` where possible. (#7880)
This retries the compatible parts of the previously reverted PR so we can continue to update related code without bre... Samuel Williams
02:59 AM Feature #19702: Promote racc as bundled gems
https://github.com/ruby/ruby/pull/7877 hsbt (Hiroshi SHIBATA)
12:55 AM Misc #19684: DevMeeting-2023-06-08
- [Feature #19057] Hide implementation of `rb_io_t`.
- ~~So far the agreed approach is to hide the entire implement...
ioquatix (Samuel Williams)
12:39 AM Bug #19704 (Closed): Unable to install readline-ext since 18e55fc1e1ec20e8f3166e3059e76c885fc9f8f2
Applied in changeset commit:git|85dcc4866d9ff29834596e9186cc97d622ee06f8.
----------
Revert "Hide most of the implem...
naruse (Yui NARUSE)
12:00 AM Bug #19704: Unable to install readline-ext since 18e55fc1e1ec20e8f3166e3059e76c885fc9f8f2
https://github.com/ruby/stringio is also build failure since 18e55fc1e1ec20e8f3166e3059e76c885fc9f8f2. hsbt (Hiroshi SHIBATA)
12:36 AM Revision 35da41b2 (git): Revert https://github.com/ruby/io-console/pull/43
This reverts commit 1889133c04f337fec3969cb5040a544088249046 and
commit 764207e47ce38d1b73774a8e65114c87bc888298.
...
hsbt (Hiroshi SHIBATA)

05/31/2023

11:43 PM Revision 85dcc486 (git): Revert "Hide most of the implementation of `struct rb_io`. (#6511)"
This reverts commit 18e55fc1e1ec20e8f3166e3059e76c885fc9f8f2.
fix [Bug #19704]
https://bugs.ruby-lang.org/issues/197...
naruse (Yui NARUSE)
11:25 PM Bug #19704 (Assigned): Unable to install readline-ext since 18e55fc1e1ec20e8f3166e3059e76c885fc9f8f2
hsbt (Hiroshi SHIBATA)
03:47 PM Bug #19704 (Closed): Unable to install readline-ext since 18e55fc1e1ec20e8f3166e3059e76c885fc9f8f2
Rails CI against Ruby 3.3.0dev fails to install readline-ext recenty.
https://buildkite.com/rails/rails/builds/96780...
yahonda (Yasuo Honda)
08:16 PM Revision e4163112 (git): More debug code to GC compaction test
peterzhu2118 (Peter Zhu)
06:03 PM Revision e8212c55 (git): Fix flaky test in test_objspace.rb
Ensure that the frozen string is promoted to the old generation by
running the GC 4 times.
peterzhu2118 (Peter Zhu)
04:11 PM Revision 55c9c658 (git): ruby/spec no longer supports 2.7 since it is EOL
Eregon (Benoit Daloze)
02:34 PM Bug #19703 (Open): text/binary mode of parent process fd is not properly inherited on windows
Windows OS can't inherit parent process fds greater than 2, but C runtime library support this.
https://learn.micros...
YO4 (Yoshinao Muramatsu)
01:22 PM Revision 1ac17693 (git): Add debug code to GC compaction test
This test is flaky on some CI systems. peterzhu2118 (Peter Zhu)
12:35 PM Bug #19701: The rb_classext_t::classpath field is not marked for T_ICLASS
I prefer option 2 as most (if not all other) ICLASS do not have a classpath so we shouldn't be paying the performance... peterzhu2118 (Peter Zhu)
06:26 AM Bug #19701 (Open): The rb_classext_t::classpath field is not marked for T_ICLASS
I am hacking Ruby to dump information about some objects, and I found that the `rb_classext_t::classpath` field for `... wks (Kunshan Wang)
09:11 AM Misc #19684: DevMeeting-2023-06-08
* [Bug #19702] Promote racc as bundled gems
* Does anyone have objection this?
hsbt (Hiroshi SHIBATA)
09:04 AM Feature #19702 (Closed): Promote racc as bundled gems
In the past, we need to bundle `racc` runtime for RD parser of RDoc. Now, We have racc compiler and runtime in ruby r... hsbt (Hiroshi SHIBATA)
06:15 AM Revision e502600f (git): Assertion on message length for the `-h` option
nobu (Nobuyoshi Nakada)
06:15 AM Bug #19700 (Feedback): TestProcess#test_execopts_redirect_open_fifo_interrupt_print is flaky on macOS
The test `TestProcess#test_execopts_redirect_open_fifo_interrupt_print` in `test_process.rb` is flaky on macOS for me... kjtsanaktsidis (KJ Tsanaktsidis)
06:14 AM Bug #19685: ruby --helpに --yydebugの情報がない
> * ruby -h は一画面に収まるようにしたいのでこっちの説明はよく使うものだけにしたい
> * ruby --help はいろいろでるのでこっちに追加するのは反対ではない
ということで、`usage_msg[]`ではな...
nobu (Nobuyoshi Nakada)
04:55 AM Revision 3bc5f6b2 (git): [rubygems/rubygems] tool_dir needs to handle ruby/ruby repo now
https://github.com/rubygems/rubygems/commit/550d90f4ba hsbt (Hiroshi SHIBATA)
01:02 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
Is a log going to be posted? Dan0042 (Daniel DeLorme)

05/30/2023

11:42 PM Feature #19698: Need an idiomatic way to define an empty range
What is your “intention” to use an “empty” range?
And what do you think “idiomatic” way is?
nobu (Nobuyoshi Nakada)
10:55 PM Misc #19684: DevMeeting-2023-06-08
* [Bug #11704] Refinements only get "used" once in loop (jeremyevans0)
* Is it expected that if a refinement is ac...
jeremyevans0 (Jeremy Evans)
10:43 PM Bug #9944 (Rejected): in ruby for windows in "system" a redirection to append a file works incorrectly
@headius and I discussed this on the train back from RubyKaigi and determined this is a Windows-specific limitation, ... jeremyevans0 (Jeremy Evans)
10:09 PM Feature #19699 (Closed): Need a way to store values like dig
I believe this is a duplicate of [Feature #14564], [Feature #13179] and [Feature #11747].
This was previously reje...
byroot (Jean Boussier)
08:07 PM Feature #19699: Need a way to store values like dig
Currently, there is no way to perform a `.store` operation on nested hashes in Ruby as there is for accessing them us... edufcarvalho (Eduardo Carvalho)
08:05 PM Feature #19699 (Closed): Need a way to store values like dig
Currently, there is no way to perform a `.store` operation on nested hashes in Ruby as there is for accessing them us... edufcarvalho (Eduardo Carvalho)
06:41 PM Misc #19693: Data initialization is significantly slower than Struct
Have you tried:
```ruby
def initialize(_a = nil, _b = nil, a: _a, b: _b)
```
But that too I'm not sure is s...
byroot (Jean Boussier)
06:36 PM Misc #19693: Data initialization is significantly slower than Struct
@Eregon Just in case you are interested, I tried implementing your suggestion:
> Defining a `new` singleton method...
janosch-x (Janosch Müller)
06:03 PM Feature #19694: Add Regexp#timeout= setter
I guess the only noteworthy argument for a change goes like this:

A custom `timeout` only being available on `Reg...
janosch-x (Janosch Müller)
10:12 AM Feature #19694: Add Regexp#timeout= setter
janosch-x (Janosch Müller) wrote in #note-7:
> ```ruby
> regexp = Regexp.with_timeout(2.0) { /foo/ }
> regexp.time...
Eregon (Benoit Daloze)
03:20 PM Revision 1f74e25c (git): YJIT: Force showing a backtrace on panic (#7869)
k0kubun (Takashi Kokubun)
12:53 PM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
byroot (Jean Boussier) wrote in #note-5:
> > FWIW I've touched on the potential feature request in the stdlib uri li...
chucke (Tiago Cardoso)
12:50 PM Revision 4bbeed61 (git): Merge RubyGems/Bundler master from 4076391fce5847689bf2ec402b17133fe4e32285
hsbt (Hiroshi SHIBATA)
12:39 PM Revision 30b960ba (git): [ruby/io-nonblock] Add TruffleRuby support and add it in CI
* Do not use a C extension on TruffleRuby for these 3 methods.
https://github.com/ruby/io-nonblock/commit/1b8e52abfa
Eregon (Benoit Daloze)
12:39 PM Revision c7c8e4c9 (git): [ruby/io-nonblock] Use the correct pattern for the fallback of rb_io_descriptor()
* See https://github.com/ruby/io-console/pull/43/commits/d1d9aef45ceb14365fdf0ebee3e5ea06f27da682
https://github.com...
Eregon (Benoit Daloze)
12:27 PM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
ioquatix (Samuel Williams) wrote in #note-5:
> If you want to use a specific mode (OS specific), you can do this:
>...
smcgivern (Sean McGivern)
01:44 AM Bug #19680 (Closed): test_process.rb tests fail sometimes on FreeBSD
Closed per request. ioquatix (Samuel Williams)
01:42 AM Bug #19680: test_process.rb tests fail sometimes on FreeBSD
FreeBSD 13.1 CI hasn't failed since these fixes were merged so *touch wood* I think we can call this done. kjtsanaktsidis (KJ Tsanaktsidis)
01:43 AM Revision ec9364e5 (git): [ruby/racc] Remove ErrorSymbolValue reference
I cannot find where this is defined. I'm guessing neither this
nor the else branch is ever hit. I only found out wh...
jeremyevans (Jeremy Evans)
01:04 AM Feature #19057 (Closed): Hide implementation of `rb_io_t`.
https://github.com/ruby/ruby/pull/6511 was merged.
In addition, the following related PRs were merged:
- https://gi...
ioquatix (Samuel Williams)
01:02 AM Revision 18e55fc1 (git): Hide most of the implementation of `struct rb_io`. (#6511)
* Add rb_io_path and rb_io_open_descriptor.
* Use rb_io_open_descriptor to create PTY objects
* Rename FMODE_PREP -...
Samuel Williams

05/29/2023

10:23 PM Feature #19694: Add Regexp#timeout= setter
I think it is better if no code can mutate the timeout of the Regexps that are passed into it, even if that affected ... janosch-x (Janosch Müller)
09:24 PM Revision 7ddcd062 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.77 to 0.9.78.
- [Release notes](https://github.com/oxid...
dependabot[bot]
07:33 PM Revision f61bd3ca (git): [ruby/cgi] Add TruffleRuby support and add it in CI
https://github.com/ruby/cgi/commit/1240fec9c9 Eregon (Benoit Daloze)
07:31 PM Revision 610038f3 (git): [ruby/etc] Use the correct pattern for the fallback of rb_io_descriptor()
* See https://github.com/ruby/io-console/pull/43/commits/d1d9aef45ceb14365fdf0ebee3e5ea06f27da682
https://github.com...
Eregon (Benoit Daloze)
04:33 PM Revision 99ce4156 (git): Refactor guards for Time.new spec
Eregon (Benoit Daloze)
03:55 PM Revision b7a26dfa (git): Unify error messages of rb_num2ulong and rb_num2ull
The error messages were slightly different due, which causes different
behaviour on 32-bit and 64-bit systems.
peterzhu2118 (Peter Zhu)
01:27 PM Revision c48d496e (git): Update to ruby/spec@c3677cf
Eregon (Benoit Daloze)
01:01 PM Revision 98f500d0 (git): [ruby/openssl] Remove usage of IO internals.
Samuel Williams
12:37 PM Revision 764207e4 (git): [ruby/io-console] Remove trailing whitespace.
https://github.com/ruby/io-console/commit/55f1586463 Samuel Williams
12:30 PM Revision 1889133c (git): [ruby/io-console] Remove usage of IO internals.
(https://github.com/ruby/io-console/pull/43)
https://github.com/ruby/io-console/commit/4b839a504f
Co-authored-by: B...
Samuel Williams
09:15 AM Feature #19057: Hide implementation of `rb_io_t`.
ianks (Ian Ker-Seymer) wrote in #note-8:
> > With one tweak: not int rb_ioptr_descriptor(struct rb_io *ioptr); but i...
Eregon (Benoit Daloze)
09:05 AM Feature #19695: mkmf: Adding the extra option --with-verbose to enable verbose mode.
> $ rake compiler -- --with-verbose
Sorry for my typo in the commit message. It's not "rake compiler" but "rake co...
jaruga (Jun Aruga)
08:55 AM Feature #19695 (Closed): mkmf: Adding the extra option --with-verbose to enable verbose mode.
Applied in changeset commit:git|57459b83a9a52ab921094a1562fe3056df9a437a.
----------
mkmf: Add the extra option `--w...
Anonymous
03:01 AM Feature #19695: mkmf: Adding the extra option --with-verbose to enable verbose mode.
LGTM nobu (Nobuyoshi Nakada)
09:01 AM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
I enabled GitHub wiki page: https://github.com/ruby/ruby/wiki hsbt (Hiroshi SHIBATA)
08:09 AM Revision 57459b83 (git): mkmf: Add the extra option `--with-verbose` to enable verbose mode. (#7863)
This commit is to add an extra option to enable verbose mode (V=1) in the
generated `Makefile` at runtime of the Ruby...
Jun Aruga
05:06 AM Feature #19698 (Open): Need an idiomatic way to define an empty range
It seems there is no idiomatic way to define an empty range. We can define empty ranges in several ways such as
``...
shouichi (Shouichi Kamiya)
02:56 AM Misc #19691: File.realpath on Windows does not return actual case of the file
`File.absolute_path` and `File.expand_path` normalize a short path to the long path, and the case too (maybe as a sid... nobu (Nobuyoshi Nakada)

05/28/2023

09:20 AM Revision d5ef373b (git): [ruby/irb] Set maximum document dialog height by
preferred_dialog_height provided by Reline
(https://github.com/ruby/irb/pull/591)
https://github.com/ruby/irb/commit...
tompng (tomoya ishida)
08:40 AM Revision 14abb799 (git): [ruby/io-nonblock] Remove usage of IO internals.
(https://github.com/ruby/io-nonblock/pull/11)
https://github.com/ruby/io-nonblock/commit/caa2b94d19
Samuel Williams
08:01 AM Revision 55393645 (git): [ruby/io-nonblock] Revert "Remove usage of IO internals."
This reverts commit https://github.com/ruby/io-nonblock/commit/9772b6dcb63c.
https://github.com/ruby/io-nonblock/com...
Samuel Williams
07:49 AM Revision 26dd9c5f (git): [ruby/io-nonblock] Remove usage of IO internals.
https://github.com/ruby/io-nonblock/commit/9772b6dcb6 Samuel Williams
07:05 AM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
> FWIW I've touched on the potential feature request in the stdlib uri library which was not further discussed
Tha...
byroot (Jean Boussier)
05:09 AM Revision 881757c0 (git): [ruby/io-wait] Remove usage of IO internals.
(https://github.com/ruby/io-wait/pull/25)
https://github.com/ruby/io-wait/commit/e5854b46c7
Samuel Williams
05:08 AM Revision 00d66746 (git): [ruby/etc] Remove usage of IO internals.
(https://github.com/ruby/etc/pull/26)
https://github.com/ruby/etc/commit/ea15eceb13
Samuel Williams
02:19 AM Feature #19057: Hide implementation of `rb_io_t`.
> With one tweak: not int rb_ioptr_descriptor(struct rb_io *ioptr); but int rb_io_descriptor(VALUE io);.
> The goal ...
ianks (Ian Ker-Seymer)

05/27/2023

10:54 PM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
I agree with byroot, this shouldn't be solved at the resolve layer.
FWIW I've [touched on the potential feature requ...
chucke (Tiago Cardoso)
02:39 PM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
clairity (claire c) wrote:
> i try to resolve a registered international domain, and instead of receiving DNS record...
clairity (claire c)
08:30 AM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
While I think Ruby should offer a way to handle unicode domains, I'm not sure punycode should be handled at the Resol... byroot (Jean Boussier)
05:54 AM Feature #19697 (Open): Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
i try to resolve a registered international domain, and instead of receiving DNS records, get an `incompatible charac... clairity (claire c)
05:53 PM Misc #19693: Data initialization is significantly slower than Struct
janosch-x (Janosch Müller) wrote in #note-8:
> BTW using literal kwargs in Ruby also makes struct initialization wit...
Eregon (Benoit Daloze)
05:09 PM Misc #19693: Data initialization is significantly slower than Struct
> I suppose it wouldn't hurt.
I think its beautiful 😁
Another option could be to bypass the initializer by defa...
janosch-x (Janosch Müller)
12:51 PM Misc #19693: Data initialization is significantly slower than Struct
> This is a kind of cheat
Hum, if I'm reading this correctly, you check is `initialize` was redefined, and if it w...
byroot (Jean Boussier)
10:14 AM Misc #19693: Data initialization is significantly slower than Struct
This is a kind of cheat, but...
https://github.com/nobu/ruby/tree/data-optimize
---
compare-ruby: ruby 3.3.0de...
nobu (Nobuyoshi Nakada)
03:07 PM Revision cf0b9e0d (git): [ruby/reline] Fix scrolldown condition in dialog rendering
(https://github.com/ruby/reline/pull/541)
https://github.com/ruby/reline/commit/ad6faada3f
tompng (tomoya ishida)
02:48 PM Revision 5d137a7f (git): [ruby/reline] Use appropriate dialog height and reduce screen pushup
problem
(https://github.com/ruby/reline/pull/542)
* Provide preferred_dialog_height for dialog positioning
* Fix re...
tompng (tomoya ishida)
10:12 AM Misc #17591: Test frameworks and REPLs do not show deprecation warnings by default
IMO we should find a way for RSpec to enable them by default, it is hurting RSpec users and destroying ruby-core's ef... Eregon (Benoit Daloze)
09:55 AM Misc #17591: Test frameworks and REPLs do not show deprecation warnings by default
Given that RSpec doesn't want to enable deprecation warnings by default, and that they were turned off mostly because... byroot (Jean Boussier)
10:12 AM Feature #19057: Hide implementation of `rb_io_t`.
Given the discussion here, I just want to aim for "Hide all the details".
Thanks everyone, the discussion has been m...
ioquatix (Samuel Williams)
09:58 AM Feature #19057: Hide implementation of `rb_io_t`.
ioquatix (Samuel Williams) wrote in #note-3:
> Maybe it's CRuby problem, but there is a performance issue with such ...
Eregon (Benoit Daloze)
08:49 AM Feature #19057: Hide implementation of `rb_io_t`.
I did a bit of research on this topic this evening.
Firstly, some technical notes r.e. undefined behaviour.
My ...
kjtsanaktsidis (KJ Tsanaktsidis)
09:48 AM Revision bf1bc536 (git): Improve `read`/`write`/`pread`/`pwrite` consistency. (#7860)
* Documentation consistency.
* Improve consistency of `pread`/`pwrite` implementation when given length.
* Remove H...
Samuel Williams

05/26/2023

08:36 PM Bug #19696: YJIT panicked - branch stubs should never enlarge branches
I understand it's intermittent and hard to reproduce, but could you try running it with `RUST_BACKTRACE=1` environmen... k0kubun (Takashi Kokubun)
05:34 PM Revision c37ebfe0 (git): Remove dead code in string.c
The STR_DEC_LEN macro is not used. peterzhu2118 (Peter Zhu)
05:07 PM Revision c6e4337a (git): [DOC] No document under win32
Also .document was removed at 57bc4cfa283582f7c4c7013bb8a979e0baf3236c. nobu (Nobuyoshi Nakada)
04:26 PM Revision 94e5ecbb (git): [ruby/rdoc] Improve `<summary>` CSS on sidebar
- Use a smaller font size for the toggle symbol. (Currently, it seems a little too large)
- Use the child combinator ...
Masafumi Koba
04:24 PM Revision 54b7ce0b (git): [ruby/rdoc] Improve layout CSS
- Use the `grid` property for the page layout.
- https://caniuse.com/css-grid
- Adjust the `<main>` margin.
- Make ...
Masafumi Koba
03:05 PM Feature #19694: Add Regexp#timeout= setter
byroot (Jean Boussier) wrote in #note-5:
> I assume you could have an internal regexp object that is deduplicated and...
Eregon (Benoit Daloze)
01:57 PM Feature #19694: Add Regexp#timeout= setter
> I do get the point that Regexp.new is less nice than /.../.
The main issue with `Regexp.new` is that it compile ...
byroot (Jean Boussier)
09:38 AM Feature #19694: Add Regexp#timeout= setter
On TruffleRuby all Regexp instances are frozen, notably because they are all globally cached and deduplicated, so thi... Eregon (Benoit Daloze)
05:14 AM Feature #19694: Add Regexp#timeout= setter
I agree with @austin, calling `new` with `timeout:` feels simpler and better than `dup` then set. nobu (Nobuyoshi Nakada)
02:58 PM Revision 618a04d2 (git): Document throw/catch in the control expressions document [ci skip]
This are implemented as Kernel methods and not keywords, but I
still think they are worth documenting with the other ...
jeremyevans (Jeremy Evans)
02:55 PM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
hsbt (Hiroshi SHIBATA) wrote in #note-1:
> So, I suggest to use option 1 at first for this migration
I agree, t...
jemmai (Jemma Issroff)
01:24 PM Revision 4847b7ac (git): T_HASH is no longer on transient heap
peterzhu2118 (Peter Zhu)
01:20 PM Revision d62ae187 (git): [DOC] Link fix (#7862)
burdettelamar (Burdette Lamar)
01:19 PM Revision 6d450d62 (git): testing_ruby.md: Update `make test-all` tips [ci skip]
Jun Aruga
09:28 AM Misc #19693: Data initialization is significantly slower than Struct
Defining a `new` singleton method on the Data subclass, in Ruby and with explicit keyword arguments should be able to... Eregon (Benoit Daloze)
06:50 AM Bug #19680: test_process.rb tests fail sometimes on FreeBSD
OK so https://github.com/ruby/ruby/pull/7864 and https://github.com/ruby/ruby/pull/7865 were merged, so this _should_... kjtsanaktsidis (KJ Tsanaktsidis)
05:51 AM Revision cc698c6c (git): * expand tabs. [ci skip]
Please consider using misc/expand_tabs.rb as a pre-commit hook. git[bot]
05:51 AM Revision d1628fea (git): Remvoe very high timeout on test_race_gets_and_close
This test should be fixed and fast now because the closing thread sleeps
appropriately waiting for the file descripto...
kjtsanaktsidis (KJ Tsanaktsidis)
05:51 AM Revision 66871c5a (git): Fix busy-loop when waiting for file descriptors to close
When one thread is closing a file descriptor whilst another thread is
concurrently reading it, we need to wait for th...
KJ Tsanaktsidis
05:51 AM Revision 54a74c42 (git): Move rb_thread_cond_struct definition into thread_native.h
On Win32, currently, rb_nativethread_cond_t is an incomplete type
because it's a typedef for `struct rb_thread_cond_s...
kjtsanaktsidis (KJ Tsanaktsidis)
05:48 AM Revision 8c4da473 (git): Remove excessive timeout on test_wait_exception for FreeBSD
This should now be fixed by the previous commit. kjtsanaktsidis (KJ Tsanaktsidis)
05:48 AM Revision 8e1abef4 (git): Fix a potential busy-loop in the thread scheduler (esp. on FreeBSD)
This patch fixes a potential busy-loop in the thread scheduler. If there
are two threads, the main thread (where Ruby...
KJ Tsanaktsidis
03:39 AM Revision 3dae55ea (git): Bump github/codeql-action from 2.3.3 to 2.3.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.3 to 2.3.5.
- [Release notes](https://...
dependabot[bot]
 

Also available in: Atom