Project

General

Profile

Activity

From 06/19/2022 to 06/25/2022

06/25/2022

09:21 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
We've moved `#wait`, `#wait_readable`, `#wait_writable`, `#wait_priority` into core.
I'll make a PR for `io-nonblo...
ioquatix (Samuel Williams)
09:20 AM Feature #18655 (Closed): Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
This is now completed. ioquatix (Samuel Williams)

06/24/2022

07:21 AM Feature #18773: deconstruct to receive a range
As a designer of pattern matching, I also understand your motivation.
However, I have the following concerns in addi...
ktsj (Kazuki Tsujimoto)
04:22 AM Bug #14246: Inconsistent C source code indentation
Does this policy apply to the formatting of default gems too? ioquatix (Samuel Williams)
03:31 AM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
`bundle-env`'s ruby is new installed , not my local version Gloomy_meng (Gloomy Meng)
03:29 AM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
my local version is 3.1.1 too, and run `ruby -v` , got `ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-darwin... Gloomy_meng (Gloomy Meng)

06/23/2022

09:02 PM Feature #18875 (Closed): Speed up ISeq marking by introducing a bitmap and rearranging inline caches
Applied in changeset commit:git|e23540e5666664e23f2adecdc2cc591f3ff6fe2f.
----------
Speed up ISeq by marking via bi...
tenderlovemaking (Aaron Patterson)
03:30 PM Misc #18834 (Feedback): Significant change in loop speeds (regressing using while loop on ARM chips)
alanwu (Alan Wu)
03:29 PM Bug #18876 (Feedback): OpenSSL fails to autoload in --with-static-linked-ext builds
Since `bundle-env ruby -ropenssl` works, I suspect it has something to
do with `--env-shebang`. Maybe the `gem` comm...
alanwu (Alan Wu)
08:58 AM Bug #18876 (Closed): OpenSSL fails to autoload in --with-static-linked-ext builds
i try use ruby + gem in my macos app with .a framework, i need install ruby in a custom location.
so i make & make i...
Gloomy_meng (Gloomy Meng)

06/22/2022

10:55 PM Feature #18875 (Closed): Speed up ISeq marking by introducing a bitmap and rearranging inline caches
A large percentage of major GC time is spent marking instruction sequence objects. This PR aims to speed up major GC... tenderlovemaking (Aaron Patterson)
04:10 PM Feature #17326: Add Kernel#must! to the standard library
I would rather have ruby use the type system to check monad type and provide syntactic sugar for monad method. Much ... dsisnero (Dominic Sisneros)
12:31 PM Bug #18060 (Closed): Infinite loop when b_return TracePoint raises
Applied in changeset commit:git|744d17ff6c33b09334508e8110007ea2a82252f5.
----------
Fix infinite loop when b_return...
alanwu (Alan Wu)
07:58 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
I got useful info from the helpful annocheck upstream maintainer to fix the annocheck gaps and pie tests.
Bug 2926...
jaruga (Jun Aruga)
07:06 AM Bug #18829: GC_COMPACTION_SUPPORTED macro should be set and detected automatically.
I think the backport is to apply the 3 commits on the master branch in the chronological order below to a stable bran... jaruga (Jun Aruga)
04:49 AM Feature #18655: Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
ioquatix (Samuel Williams) wrote in #note-6:
> I've made a PR to move `wait`, `wait_readable`, `wait_writable`, `wai...
nobu (Nobuyoshi Nakada)
12:52 AM Feature #18655: Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
If @nobu and @akr are OK, I am OK.
Matz.
matz (Yukihiro Matsumoto)

06/21/2022

10:09 PM Misc #18836: DevMeeting-2022-07-21
* [Bug #18780] Surprising `self` for C API `rb_eval_string()` (alanwu)
* Script for `rb_eval_string()` runs with lo...
alanwu (Alan Wu)
02:56 AM Misc #18836: DevMeeting-2022-07-21
- [Feature #18810] Make `Kernel#p` interruptable.
- Pull Request: https://github.com/ruby/ruby/pull/5967
- [Feature...
ioquatix (Samuel Williams)
06:21 PM Feature #18809: Add Numeric#ceildiv
Dan0042 (Daniel DeLorme) wrote in #note-3:
> Why not simply use `a.fdiv(b).ceil` ?
> It expresses the intent of the...
sawa (Tsuyoshi Sawada)
12:45 PM Feature #18809: Add Numeric#ceildiv
Why not simply use `a.fdiv(b).ceil` ?
It expresses the intent of the code clearly, and I doubt there would be a meas...
Dan0042 (Daniel DeLorme)
11:53 AM Bug #18820: on aarch64/Android/Termux/Ubuntu jammy server, ALL versions before Ruby 3.1.x don't compile!
The failure of 2.5.9 is here: https://bugs.ruby-lang.org/attachments/9280#L1851
> ```c
> ossl.c:311:9: error: ‘ERR_ge...
nobu (Nobuyoshi Nakada)
09:45 AM Feature #18838: Avoid swallowing regexp escapes in the lexer
Thank you for clarification. andrykonchin (Andrew Konchin)
02:10 AM Feature #18838: Avoid swallowing regexp escapes in the lexer
Agreed with Jeremy. There is the same "inconsistency" in a string literal, but this is clearly by design.
```
puts ...
mame (Yusuke Endoh)
07:55 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
ioquatix (Samuel Williams) wrote in #note-25:
> I started messing around with the implementation again.
>
> But my c...
jaruga (Jun Aruga)
05:50 AM Feature #18832: Do not have class/module keywords consider ancestors of Object
Awesome, thanks Jeremy. fxn (Xavier Noria)
02:29 AM Feature #18655: Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
I've made a PR to move `wait`, `wait_readable`, `wait_writable`, `wait_priority` to `io.c` with some minor compatibil... ioquatix (Samuel Williams)

06/20/2022

11:59 PM Feature #18832: Do not have class/module keywords consider ancestors of Object
As I initially expected, this is not a bug. Having class/module keywords consider ancestors of Object is by design, w... jeremyevans0 (Jeremy Evans)
10:57 PM Feature #18838 (Closed): Avoid swallowing regexp escapes in the lexer
Applied in changeset commit:git|596f4b0d3ab8bc2559a52396d3a29ce62e6a3694.
----------
Document that Regexp#source doe...
jeremyevans (Jeremy Evans)
10:11 PM Feature #18838: Avoid swallowing regexp escapes in the lexer
In the `/\//` and `%r/\//` cases, the regexp source is transformed from `\/` to `/` in the lexer (`tokadd_string`) be... jeremyevans0 (Jeremy Evans)
09:05 PM Bug #18833 (Rejected): Documentation for IO#gets is inaccurate (bytes versus characters)
The documentation is correct, the limit is in bytes and not characters:
```ruby
File.write("a", "\u1234a") # => 4...
jeremyevans0 (Jeremy Evans)
02:04 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
Maybe I found a way to fix annocheck gaps and notes tests on Ubuntu focal on CI.
Here is the PR: <https://github.com...
jaruga (Jun Aruga)
10:23 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
jaruga (Jun Aruga) wrote in #note-29:
> We opened the 2 PRs for that now :) @mame You can merge your PR. I will add...
jaruga (Jun Aruga)
09:26 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
We opened the 2 PRs for that now :) @mame You can merge your PR. I will add my PR later with some comments.
https:/...
jaruga (Jun Aruga)
08:52 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
https://lwn.net/Articles/885220/
I was studying this and the related LKML discussion. I don't think this problem i...
ioquatix (Samuel Williams)
08:30 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
ioquatix (Samuel Williams) wrote in #note-24:
> While it was passing, it's now failing:
Thanks for the report. I ...
jaruga (Jun Aruga)
07:06 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
In my latest PR, I try to detect control-flow protections:
```
* with thread: pthread
* with corou...
ioquatix (Samuel Williams)
03:51 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
I started messing around with the implementation again.
But my computer is too old, it looks like I need 11th gen ...
ioquatix (Samuel Williams)
03:24 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
While it was passing, it's now failing:
## Previously Passing
https://github.com/ruby/ruby/runs/6956677552?chec...
ioquatix (Samuel Williams)
10:40 AM Bug #18808: Cannot compile ruby 3.1.2 on powerpc64le-linux without disabling the jit features
One more thing, the Red Hat Software Collections (RHSCL) 3.8 provides the Ruby 3.0 software collection (Ruby 3.0.2 - ... jaruga (Jun Aruga)
10:21 AM Bug #18808: Cannot compile ruby 3.1.2 on powerpc64le-linux without disabling the jit features
@npn What is the gcc version are you using on the RHEL 7? Are you using a default system gcc maybe 4.8?
For exampl...
jaruga (Jun Aruga)
10:35 AM Feature #18788 (Closed): Support passing Regexp options as String to Regexp.new
Applied in changeset commit:git|1e9939dae24db232d6f3693630fa37a382e1a6d7.
----------
[Feature #18788] Support option...
nobu (Nobuyoshi Nakada)
03:41 AM Misc #18836: DevMeeting-2022-07-21
* [Feature #18809] Add `Numeric#ceildiv`
* ceiling or rounding up division
* maybe also `Numeric#floordiv`?
...
nobu (Nobuyoshi Nakada)
03:12 AM Feature #18839 (Closed): Drop support for gcc 3
Applied in changeset commit:git|ec5c56412f0b67845b42acec06cbd1d341896f25.
----------
[Feature #18839] Drop support f...
nobu (Nobuyoshi Nakada)
03:09 AM Feature #18839: Drop support for gcc 3
Go. Probably no one is really using gcc3.x.
Matz.
matz (Yukihiro Matsumoto)
01:31 AM Feature #18839: Drop support for gcc 3
+1
The gcc version of CentOS/RHEL 7 that is our oldest supported Linux distribution is `gcc-4.8.5-44.el7.x86_64.rp...
hsbt (Hiroshi SHIBATA)
01:26 AM Feature #18839: Drop support for gcc 3
+1, it's hard to have a working gcc-3 environment nowadays. shyouhei (Shyouhei Urabe)

06/19/2022

11:25 PM Feature #15330: autoload_relative
We had a similar discussion here: https://bugs.ruby-lang.org/issues/18841
I don't personally like `autoload`. Howe...
ioquatix (Samuel Williams)
11:22 PM Feature #18841: Proposal: autoload_relative
Great minds think alike! Thanks @marcandre.
@fxn I think the next step is to make a PR and then get Matz to review...
ioquatix (Samuel Williams)
04:31 PM Feature #18841: Proposal: autoload_relative
Oh, I should have searched before! Can't close this one myself. fxn (Xavier Noria)
02:19 PM Feature #18841: Proposal: autoload_relative
Note that this is a duplicate of https://bugs.ruby-lang.org/issues/15330, which includes some real world usage stats.... marcandre (Marc-Andre Lafortune)
08:04 AM Feature #18841: Proposal: autoload_relative
Yes, great idea, and I can confirm I've run into issues with autoload loading the wrong files if you combine `autoloa... ioquatix (Samuel Williams)
08:02 AM Feature #18841 (Open): Proposal: autoload_relative
In my experience, autoloads often reflect an existing hierarchical structure.
If a project does not use Zeitwerk, ...
fxn (Xavier Noria)
05:39 PM Bug #18842 (Open): Ruby's Resolv library does not handle correctly the `NODATA` case
Hello, I am opening this issue based on the following DNS bug sleuthing:
https://gitlab.com/gitlab-org/charts/gitl...
piradata (Guilherme Ferreira)
 

Also available in: Atom