Project

General

Profile

Activity

From 11/01/2022 to 11/07/2022

11/07/2022

10:02 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Feature #18996] Proposal: Introduce new APIs to reline for changing dialog UI colours
* After discussing with ...
st0012 (Stan Lo)
06:37 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Bug #19012] BasicSocket#recv* methods return an empty packet instead of nil on closed connections (jeremyevans0)
...
jeremyevans0 (Jeremy Evans)
06:16 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Feature #11689] Add methods allow us to get visibility from Method and UnboundMethod object. (eregon)
* `{Metho...
Eregon (Benoit Daloze)
08:51 PM Bug #19101: madvise(free) was broken in 3.1?
ioquatix (Samuel Williams) wrote in #note-5:
> I am copying all the discussion from GitHub here:
> [...]
> smcgive...
smcgivern (Sean McGivern)
07:35 PM Revision b14f1330 (git): [DOC] Improve building_ruby.md
peterzhu2118 (Peter Zhu)
07:05 PM Revision 83decbb6 (git): Update to ruby/spec@740ccc8
Eregon (Benoit Daloze)
07:05 PM Revision c99e4c42 (git): Update to ruby/mspec@1e16420
Eregon (Benoit Daloze)
06:29 PM Misc #19109 (Feedback): Documentation ambiguity in ERB
Can you make it a PR? I'll look into detail there, but at a glance, what you wrote doesn't look too off. k0kubun (Takashi Kokubun)
04:58 PM Misc #19109: Documentation ambiguity in ERB
[Updated.]
(1) Your description:
> The value of trim_mode should be nil or a String containing zero or more of the ...
sawa (Tsuyoshi Sawada)
12:11 PM Misc #19109 (Feedback): Documentation ambiguity in ERB
Ruby-doc and other sources provide a highly ambiguous explanation for ERB's `trim_mode` and fail to provide any funct... otheus (Otheus S)
06:26 PM Feature #19104: Introduce the cache-based optimization for Regexp matching
From https://bugs.ruby-lang.org/issues/19074#note-6 from @mame:
> ... (2) should we provide a way to tell users if a ...
Eregon (Benoit Daloze)
02:32 AM Feature #19104: Introduce the cache-based optimization for Regexp matching
It sounds good. My only concern is memory consumption, but I don't think guessing game won't work for this case.
Mer...
matz (Yukihiro Matsumoto)
05:41 PM Bug #12852 (Closed): URI.parse can't handle non-ascii URIs
jeremyevans0 (Jeremy Evans)
05:29 PM Revision 9001e53e (git): [ruby/irb] Support non-string input in show_source
(https://github.com/ruby/irb/pull/430)
* Support non-string input in show_source
* Test show_source as a method
k0kubun (Takashi Kokubun)
05:15 PM Feature #19064: UDPSocket#bind does not take AddrInfo, despite documentation saying it should
`UDPSocket` is not a subclass of `Socket`, so the fact that `Addrinfo` instances work for `Socket` (as documented), b... jeremyevans0 (Jeremy Evans)
03:48 PM Revision 7442cb46 (git): YJIT: Free pages after ObjectSpace API usages (#6676)
k0kubun (Takashi Kokubun)
02:44 PM Revision ca0b5926 (git): [ruby/irb] Don't lazily retrieve gem specs for completion
There are a few downsides of the current approach:
1. Because gem specs are lazily retrieved, this computation happe...
Stan Lo
02:17 PM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
I agree that at the very least the `unknown pack directive` warning should be made non-verbose (displayed even with `... byroot (Jean Boussier)
12:51 PM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
Possibly we should raise an exception if the string is not `ascii_only?` chrisseaton (Chris Seaton)
10:21 AM Bug #19108 (Closed): Format routines like pack blindly treat a string as ASCII-encoded
Format routines like pack and unpack blindly treat a string as ASCII-encoded, even if they aren't ASCII or ASCII-comp... chrisseaton (Chris Seaton)
11:27 AM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
I have reverted fa65d676ece93a1380b9e6564efa4b4566c7a44b: https://github.com/ruby/fileutils/pull/102 mame (Yusuke Endoh)
11:25 AM Revision 72c7dba4 (git): [ruby/fileutils] Revert "FileUtils.rm* methods swallows only Errno::ENOENT when force is true"
This reverts commit https://github.com/ruby/fileutils/commit/fa65d676ece9.
This caused some incompatibility problems...
mame (Yusuke Endoh)
10:52 AM Bug #19106 (Closed): Time - Hour 24 with tzinfo to_s bug
Applied in changeset commit:git|011d4c57d21220249600dfb76db84840550da019.
----------
[Bug #19106] Normalize time at ...
nobu (Nobuyoshi Nakada)
08:50 AM Bug #19106: Time - Hour 24 with tzinfo to_s bug
https://github.com/ruby/ruby/pull/6682 nobu (Nobuyoshi Nakada)
10:52 AM Revision 33bc398b (git): [rubygems/rubygems] Fix rubocop violations
https://github.com/rubygems/rubygems/commit/cc12e68637 peterzhu2118 (Peter Zhu)
10:52 AM Revision b228effd (git): [rubygems/rubygems] Drop support for IRIX
The IRIX OS is no longer maintained with the last release being 16 years
ago.
https://github.com/rubygems/rubygems/c...
peterzhu2118 (Peter Zhu)
10:52 AM Revision 1e53ebae (git): [rubygems/rubygems] Drop support for bitrig
The bitrig OS is no longer maintained with the last release being 7
years ago.
https://github.com/rubygems/rubygems/...
peterzhu2118 (Peter Zhu)
10:52 AM Revision 0fb7a1c7 (git): [rubygems/rubygems] Drop support for HP-UX
Support for HP-UX was dropped in Ruby in ruby/ruby#5457.
https://github.com/rubygems/rubygems/commit/a3a8df3582
peterzhu2118 (Peter Zhu)
07:41 AM Bug #19100 (Assigned): Ruby 3 PRNG values diverge from Ruby 2 for some initial values
Can confirm, and my `git bisect` shows that this was introduced in commit:af5e87ab218c5f4e34c6cdb54ae119a7f0f9033f. @... shyouhei (Shyouhei Urabe)
06:56 AM Revision 011d4c57 (git): [Bug #19106] Normalize time at 24:00:00 with a timezone object
nobu (Nobuyoshi Nakada)
06:54 AM Revision ee86b57e (git): Revert jobserver handling in spec
nobu (Nobuyoshi Nakada)
03:10 AM Feature #19068: Upgrades required Bison version for development
OK. Go ahead.
Matz.
matz (Yukihiro Matsumoto)
03:08 AM Feature #19068: Upgrades required Bison version for development
Regarding Bison version, I expect Bison 3.0 or later at the moment. yui-knk (Kaneko Yuichiro)
03:06 AM Feature #19068: Upgrades required Bison version for development
Sounds reasonable. What version are you going to use?
Matz.
matz (Yukihiro Matsumoto)
03:07 AM Feature #19070: Enhance keep_tokens option for RubyVM::AbstractSyntaxTree parsing methods
Sounds OK.
Matz.
matz (Yukihiro Matsumoto)
01:19 AM Feature #19107 (Open): Allow trailing comma in method signature
A popular style for multiline arrays, hashes or method calls, is to use trailing commas:
```ruby
array = [
1,
...
byroot (Jean Boussier)
01:08 AM Revision b02b8e77 (git): Let other test runners follow the change of GNU make 4.4 jobserver
nobu (Nobuyoshi Nakada)
01:08 AM Revision ab01b8f2 (git): jobserver option may not be at the last
nobu (Nobuyoshi Nakada)
12:06 AM Revision 180d37c8 (git): Set `autoclose:` for inherited FDs only [ci skip]
nobu (Nobuyoshi Nakada)

11/06/2022

02:39 PM Revision 12883f8f (git): GNU make 4.4 now uses a fifo for the jobserver
nobu (Nobuyoshi Nakada)
10:32 AM Revision fc842c9c (git): Check `rustc` with the target
nobu (Nobuyoshi Nakada)
08:07 AM Revision 9627aab8 (git): `--disable-jit-support` should disable YJIT successfully
Even if `rustc` is available, it should not be an error unless
`--enable-yjit` is explicitly given.
nobu (Nobuyoshi Nakada)
01:16 AM Revision cb899a99 (git): Disable YJIT support when cross-compiling
As the target-list of `rustc` is different from `config.guess` and
`config.sub`, `$target` cannot be used directly.
nobu (Nobuyoshi Nakada)

11/05/2022

09:47 PM Revision 1454f8f2 (git): Add `--target` option to RUSTC when cross-compiling
nobu (Nobuyoshi Nakada)
09:47 PM Revision 10fd1d95 (git): Should use the configured rustc consistently
nobu (Nobuyoshi Nakada)
08:05 PM Bug #19106 (Closed): Time - Hour 24 with tzinfo to_s bug
There appears to be a bug when using Time with tzinfo and setting hour to 24. I contacted tzinfo on github where a re... ruby-gregor (Greg Lindstrom)
08:03 PM Revision 3a6cdeda (git): [wasm] Scan machine stack based on `ec->machine.stack_{start,end}`
fiber machine stack is placed outside of C stack allocated by wasm-ld,
so highest stack address recorded by `rb_wasm_...
katei (Yuta Saito)
06:00 PM Bug #19105 (Closed): mutex: Raise a ThreadError when detecting a fiber deadlock
The following code can lead to a deadlock but not raise any error:
```ruby
mutex = Mutex.new
mutex.synchronize d...
byroot (Jean Boussier)
05:24 PM Bug #17827: Monitor is not fiber safe
Nevermind, I just realized that monitor uses a Mutex internally, so it's much easier to add this logic to mutexes in ... byroot (Jean Boussier)
05:19 PM Bug #17827: Monitor is not fiber safe
Yeah of course.
I'm trying to look at it, but not 100% sure what the condition should be.
Something like:
``...
byroot (Jean Boussier)
11:00 AM Bug #17827: Monitor is not fiber safe
Patch welcome :) Eregon (Benoit Daloze)
03:10 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Feature #19104] Introduce the cache-based optimization for Regexp matching (mame)
* This optimization to onigmo...
mame (Yusuke Endoh)
02:40 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Feature #18814] Add a query method to check Ractor Queue count
* Proposed PR: https://github.com/ruby/ruby/pull...
tenderlovemaking (Aaron Patterson)
02:18 PM Revision 267452e6 (git): Sync TRICK 2018 (02-mame)
https://github.com/tric/trick2018/pull/5 mame (Yusuke Endoh)
01:30 PM Feature #19104 (Closed): Introduce the cache-based optimization for Regexp matching
Regexp matching causes a time-complexity explosion problem as known as ReDoS ([https://en.wikipedia.org/wiki/ReDoS](h... make_now_just (Hiroya Fujinami)
10:56 AM Bug #18755: Backport rubygems/pull/5154 into Ruby 3.0
I prepare to release RubyGems 3.2.34 for backporting to Ruby 3.0.x. hsbt (Hiroshi SHIBATA)
08:34 AM Revision 9af344a4 (git): [ruby/erb] Revert the strpbrk optimization
because it's much slower on M1 https://github.com/ruby/erb/pull/29.
It'd be too complicated to switch the implementat...
k0kubun (Takashi Kokubun)
07:52 AM Revision 458d6fb1 (git): [ruby/erb] Optimize away the rb_convert_type call using RB_TYPE_P
https://github.com/ruby/erb/commit/12058c3784 k0kubun (Takashi Kokubun)
07:52 AM Revision e8873e01 (git): [ruby/erb] Use strpbrk only when str is long enough for SIMD
This is the same trick used by https://github.com/k0kubun/hescape to
choose the best strategy for different scenarios...
k0kubun (Takashi Kokubun)
06:58 AM Revision 419d2fc1 (git): [ruby/erb] Optimize the no-escape case with strpbrk
(https://github.com/ruby/erb/pull/29)
Typically, strpbrk(3) is optimized pretty well with SIMD instructions.
Just us...
k0kubun (Takashi Kokubun)
06:54 AM Revision f276d5a7 (git): Improve HTML escape benchmarks
k0kubun (Takashi Kokubun)
05:37 AM Revision 0f334f90 (git): bump patchlevel
nagachika (Tomoyuki Chikanaga)
05:36 AM Bug #19091: backport reline-0.3.1 to ruby-3.1
merged at 4d1faefa10518ada452d5a85f4e43a8bfda847cc. nagachika (Tomoyuki Chikanaga)
05:35 AM Revision 4d1faefa (git): Merge reline-0.3.1
hsbt (Hiroshi SHIBATA)
05:26 AM Bug #18380: TestAddressResolve#test_socket_getnameinfo_domain_blocking test failures
ruby_3_1 01eab9a5d1886412869f85d4b87779f22d548867 merged revision(s) 16953867ed8fc951364f05fdf0c9267799e3087a. nagachika (Tomoyuki Chikanaga)
05:26 AM Bug #19101: madvise(free) was broken in 3.1?
ruby_3_1 ad92236d245b791d14fd78bcb5a0a0789aa169c0 merged revision(s) 2bb89b7f114e4beb3012f63e12e726ae23005e6f. nagachika (Tomoyuki Chikanaga)
05:25 AM Bug #18964: `rb_econv_append` and the family do not consider the code range
ruby_3_1 8572f02d63de2b99389df0791d6eacb77482afef merged revision(s) 35c794b26d406c39f90e188e3884003fe6aca532,725626d... nagachika (Tomoyuki Chikanaga)
05:25 AM Bug #19004: Complex can be nested by Complex.polar
ruby_3_1 597ce7966c38e4f7fc7368a860ac2d056de794ba merged revision(s) 54cad3123a07583c90e85bcfc55ebd87124c1250. nagachika (Tomoyuki Chikanaga)
05:24 AM Revision ad92236d (git): merge revision(s) 2bb89b7f114e4beb3012f63e12e726ae23005e6f: [Backport #19101]
Lower priority of `POSIX_MADV_DONTNEED`. (#6671)
---
cont.c | 21 ++++++++++++++++++---
1 f...
nagachika (Tomoyuki Chikanaga)
05:24 AM Revision 01eab9a5 (git): merge revision(s) 16953867ed8fc951364f05fdf0c9267799e3087a: [Backport #18380]
We don't care about actual hostname resolution. (#6652)
https://bugs.ruby-lang.org/issues/18380
---
...
nagachika (Tomoyuki Chikanaga)
05:24 AM Revision 8572f02d (git): merge revision(s) 35c794b26d406c39f90e188e3884003fe6aca532,725626d8905fe1ac4a2cf1c3e2db6412bf8f381f,b32a3f1275a8c7748f2134492ce3c532f277d261: [Backport #18964]
Fixed by [Bug #18964]
---
file.c | 3 ---
1 file changed, 3 deletions(-)
[Bug #189...
nagachika (Tomoyuki Chikanaga)
05:24 AM Revision 597ce796 (git): merge revision(s) 54cad3123a07583c90e85bcfc55ebd87124c1250: [Backport #19004]
[Bug #19004] `Complex.polar` handles complex singular `abs` argument
`Complex.polar` accepts Complex values ...
nagachika (Tomoyuki Chikanaga)

11/04/2022

11:55 PM Bug #19103: [3.2.0dev] [BUG] Segmentation fault at 0x0000000000000000 in rgengc_check_relation
We're also seeing this on GitHub's CI. I spent some time investigating today but didn't yet find the root cause.
F...
jhawthorn (John Hawthorn)
11:23 AM Bug #19103 (Closed): [3.2.0dev] [BUG] Segmentation fault at 0x0000000000000000 in rgengc_check_relation
Our nightly CI have been catching this bug since several weeks.
@tenderlovemaking and @jemmai are looking into it,...
byroot (Jean Boussier)
11:29 PM Bug #19101: madvise(free) was broken in 3.1?
I am copying all the discussion from GitHub here:
smcgivern yesterday
> @ioquatix I wasn't sure of the best way...
ioquatix (Samuel Williams)
11:20 AM Bug #19101: madvise(free) was broken in 3.1?
ioquatix (Samuel Williams) wrote:
> https://github.com/ruby/ruby/commit/77f3319071e600a2aafaa9863b892dfd3c1da343#r88...
smcgivern (Sean McGivern)
07:14 AM Bug #19101 (Closed): madvise(free) was broken in 3.1?
Merged. ioquatix (Samuel Williams)
05:29 AM Bug #19101: madvise(free) was broken in 3.1?
https://github.com/ruby/ruby/pull/6671 ioquatix (Samuel Williams)
10:53 PM Bug #17827: Monitor is not fiber safe
> It would be nice to raise a ThreadError when detecting in Mutex#lock that the Mutex is owned by the same Thread but... byroot (Jean Boussier)
09:02 PM Revision dd4ae9a4 (git): Auto-enable YJIT build when rustc >= 1.58.0 present (#6662)
* Auto-enable YJIT build when rustc >= 1.58.0 present
* Try different incantation to have rustc output to stdout onl...
maximecb (Maxime Chevalier-Boisvert)
07:36 PM Revision 6d835901 (git): Don't report changed ENV caused by Bundler
Bundler's backups changes environment variables starting with
BUNDLER_ORIG_. This causes a lot of noise in tests as t...
peterzhu2118 (Peter Zhu)
06:29 PM Revision 367c072a (git): [ruby/irb] Silent the noise created when building Context in tests
https://github.com/ruby/irb/commit/27e4274b3c Stan Lo
06:10 PM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
thomthom (Thomas Thomassen) wrote in #note-14:
> alanwu (Alan Wu) wrote in #note-13:
> > thomthom (Thomas Thomassen...
alanwu (Alan Wu)
05:19 PM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
alanwu (Alan Wu) wrote in #note-13:
> thomthom (Thomas Thomassen) wrote in #note-12:
> > So is `--with-static-linke...
thomthom (Thomas Thomassen)
02:34 PM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
thomthom (Thomas Thomassen) wrote in #note-12:
> So is `--with-static-linked-ext` causing a bug with `autoload`? Or ...
alanwu (Alan Wu)
09:58 AM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
alanwu (Alan Wu) wrote in #note-11:
> @thomthom
> The issue was specific to `--with-static-linked-ext` builds, which ...
thomthom (Thomas Thomassen)
04:46 PM Revision b169d78c (git): [ruby/erb] Avoid using prepend + super for fallback
(https://github.com/ruby/erb/pull/28)
`prepend` is prioritized more than ActiveSupport's monkey-patch, but the
monke...
k0kubun (Takashi Kokubun)
03:48 PM Revision 13395757 (git): Update dependencies for bc28acc347eace4d02bbb4b672655216f7dd3a81
nobu (Nobuyoshi Nakada)
03:41 PM Revision 6e4b97f1 (git): Increment max_iv_count on class in gc marking, not gc freeing
We were previously incrementing the max_iv_count on a class in gc
freeing. By the time we free an object though, we'r...
jemmai (Jemma Issroff)
03:18 PM Revision 6b909109 (git): Update dependencies
nobu (Nobuyoshi Nakada)
01:02 PM Revision 93f364d6 (git): Use RTEST to to check return value
rb_obj_is_kind_of returns a Ruby Qtrue or Qfalse. We should use RTEST
rather than assuming that Qfalse is 0.
peterzhu2118 (Peter Zhu)
12:57 PM Revision 76a6c5d6 (git): Remove unnecessary branch in `UnboundMethod#bind`
Co-authored-by: Michael Herold <[email protected]> Alexander Momchilov
11:43 AM Revision b83074da (git): [ruby/irb] Suppress "switching inspect mode" messages
https://github.com/ruby/irb/commit/ee068d039b nobu (Nobuyoshi Nakada)
09:19 AM Revision ed9d7612 (git): mkconfig.rb: take CPU name from arch flag
nobu (Nobuyoshi Nakada)
08:38 AM Revision cb18deee (git): Substitute from the actual netinet6/in6.h
Xcode no longer links the system include files directory to `/usr`.
Extract the actual header file path from cpp output.
nobu (Nobuyoshi Nakada)
07:22 AM Revision 7e3af23d (git): sync_default_gems.rb: fix a typo [ci skip]
nobu (Nobuyoshi Nakada)
07:13 AM Feature #19102 (Closed): Optimize ERB::Util.html_escape more than CGI.escapeHTML for template engines
Applied in changeset commit:git|20efeaddbe246f3b2eaee4f17f54a814777176a8.
----------
[ruby/erb] Optimize away to_s i...
k0kubun (Takashi Kokubun)
07:02 AM Feature #19102 (Closed): Optimize ERB::Util.html_escape more than CGI.escapeHTML for template engines
## Proposal
Change the behavior of `ERB::Util.html_escape` in the following two parts:
1. Skip converting an argu...
k0kubun (Takashi Kokubun)
07:13 AM Revision 2bb89b7f (git): Lower priority of `POSIX_MADV_DONTNEED`. (#6671)
Samuel Williams
07:07 AM Revision ccf32a5c (git): [ruby/erb] Do not allocate a new String if not needed
[Feature #19102]https://github.com/ruby/erb/commit/ecebf8075c k0kubun (Takashi Kokubun)
07:07 AM Revision 20efeadd (git): [ruby/erb] Optimize away to_s if it's already T_STRING
[Feature #19102]https://github.com/ruby/erb/commit/38c6e182fb k0kubun (Takashi Kokubun)
07:07 AM Revision dc5d06e9 (git): [ruby/erb] Copy CGI.escapeHTML to ERB::Util.html_escape
https://github.com/ruby/erb/commit/ac9b219fa9 k0kubun (Takashi Kokubun)
06:43 AM Revision b6d7e98f (git): sync_default_gems.rb: fix the position to insert the original URL
Since the regexp had expected an empty line before `Co-Authored-By:`
trailer lines, it failed to match when the body ...
nobu (Nobuyoshi Nakada)
06:43 AM Revision 570dee15 (git): sync_default_gems.rb: accept log input from other than STDIN
nobu (Nobuyoshi Nakada)
03:17 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
> but in your case you can you just link the library directly?
I can't do it because `cairo.bundle` (it's a bundle...
kou (Kouhei Sutou)
12:27 AM Revision 1956fb9b (git): Bump benchmark-driver version
https://github.com/benchmark-driver/benchmark-driver/pull/75 is useful
for quickly benchmarking a single method in CR...
k0kubun (Takashi Kokubun)

11/03/2022

10:13 PM Revision a9232038 (git): [ruby/irb] Provide a base test class and let tests restore encodings
conveniently
(https://github.com/ruby/irb/pull/429)
* Create a base TestIRB::TestCase class
* Save/restore encoding...
Stan Lo
10:09 PM Revision a13836e7 (git): [ruby/irb] Allow non-identifier aliases like Pry's @ and $
(https://github.com/ruby/irb/pull/426)
* Allow non-identifier aliases
* Move the configuration to IRB.conf
* Avoid...
k0kubun (Takashi Kokubun)
10:03 PM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
> I think longer-term it would be really best to avoid using -Wl,-undefined,dynamic_lookup.
Yeah, I agree. The probl...
stanhu (Stan Hu)
09:47 PM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
Ah, should we use `-Wl,-U` with explicit listed depending symbols for this? kou (Kouhei Sutou)
09:43 PM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
FYI: Here is one of my use cases that need `-Wl,-undefined,dynamic_lookup`:
* cairo-gobject gem https://github.com/r...
kou (Kouhei Sutou)
05:46 PM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
I think longer-term it would be really best to avoid using `-Wl,-undefined,dynamic_lookup`.
The gems which depend on...
Eregon (Benoit Daloze)
09:38 PM Feature #19015: Language extension by a heredoc
It reminds me of javascript template literals and tagged templates. Instead of passing in bindings they pass the int... dsisnero (Dominic Sisneros)
08:58 PM Revision d24ac6d2 (git): Update configure command in building_ruby.md
Readers didn't realize that you can use --prefix with
--disable-install-doc.
peterzhu2118 (Peter Zhu)
08:31 PM Feature #19099: Support `private_constant` for an undefined constant
Related to #8275, #16276, #16752, #17171. sawa (Tsuyoshi Sawada)
07:21 PM Feature #19099: Support `private_constant` for an undefined constant
I tried both the `private_const_set` and the idiom with a local variable versions locally, and found that the `privat... ujihisa (Tatsuhiro Ujihisa)
05:55 PM Feature #19099: Support `private_constant` for an undefined constant
How about this?
```ruby
class C
x = ...
...
...
X = x
private_constant :X
end
```
From a VM POV...
Eregon (Benoit Daloze)
07:56 PM Bug #18604: [BUG] ERROR(VpDivd): space for remainder too small
We are seeing this exact same issue in ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-darwin21].
Could this ...
joeyruth (Joe Ruth)
07:35 PM Bug #19101 (Closed): madvise(free) was broken in 3.1?
https://github.com/ruby/ruby/commit/77f3319071e600a2aafaa9863b892dfd3c1da343#r88774579
We need to investigate why ...
ioquatix (Samuel Williams)
07:24 PM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
@thomthom
The issue was specific to `--with-static-linked-ext` builds, which you
might not be using because it's no...
alanwu (Alan Wu)
01:08 PM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
alanwu (Alan Wu) wrote in #note-4:
> I had some [issues](https://github.com/ruby/openssl/pull/520) building OpenSSL
...
thomthom (Thomas Thomassen)
06:40 PM Revision 5344618c (git): [DOC] Fix IO::Buffer#slice rdoc position
Before this change, rdoc shows empty in 'slice' method section unasuke (Yusuke Nakamura)
05:42 PM Revision 56884b64 (git): [ruby/irb] Require rubygems to run the test alone on ruby/ruby
`Gem` is not undefined on test-all
https://github.com/ruby/irb/commit/08ac803d61
k0kubun (Takashi Kokubun)
05:42 PM Revision 01d7e157 (git): YJIT: Show side_exit count in stats as well (#6666)
k0kubun (Takashi Kokubun)
05:41 PM Revision ea77aa2f (git): YJIT: Make Code GC metrics available for non-stats builds (#6665)
k0kubun (Takashi Kokubun)
05:35 PM Revision 611b5e7f (git): [ruby/irb] Fix build_context for ruby/ruby CI
Co-Authored-By: Stan Lo <[email protected]>
https://github.com/ruby/irb/commit/d1fe234a9a
k0kubun (Takashi Kokubun)
05:33 PM Revision 124f10f5 (git): YJIT: Fix a wrong type reference (#6661)
* YJIT: Fix a wrong type reference
* YJIT: Just remove CapturedSelfOpnd for now
k0kubun (Takashi Kokubun)
05:12 PM Revision 00f55964 (git): [ruby/irb] Require the entire irb lib in RubyLex test
(https://github.com/ruby/irb/pull/428)
RubyLex is not designed to be used alone. It's usually used with an IRB
conte...
Stan Lo
04:32 PM Revision c5d6a483 (git): [ruby/irb] Refactor RubyLex and its tests
(https://github.com/ruby/irb/pull/427)
* Make sure `RubyLex#set_input`'s context is always present in tests
In real...
st0012 (Stan Lo)
03:42 PM Revision 68ef97d7 (git): YJIT: Stop incrementing write_pos if cb.has_dropped_bytes (#6664)
Co-Authored-By: Alan Wu <[email protected]>
Co-authored-by: Alan Wu <[email protected]>
k0kubun (Takashi Kokubun)
02:14 PM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
It's true ALLOCV_N is almost free but I was thinking more about the cost of copying between buffers
a) when nothing ...
Dan0042 (Daniel DeLorme)
05:16 AM Feature #19090 (Closed): Do not duplicate an unescaped string in CGI.escapeHTML
On second thought, it might not be necessarily more efficient even with a bare String buffer because the point of the... k0kubun (Takashi Kokubun)
01:09 PM Revision 0468136a (git): Make str_alloc_heap return a STR_NOEMBED string
This commit refactors str_alloc_heap to return a string with the
STR_NOEMBED flag set.
peterzhu2118 (Peter Zhu)
05:58 AM Revision 7b6c5f9b (git): [ruby/erb] Skip a test for JRuby
https://github.com/ruby/erb/commit/48a75665ab k0kubun (Takashi Kokubun)
05:58 AM Revision f667d3af (git): [ruby/erb] Skip tests for truffleruby
https://github.com/ruby/erb/commit/65a7c70a00 k0kubun (Takashi Kokubun)
05:58 AM Revision c24800f4 (git): [ruby/erb] Fix CI for JRuby
https://github.com/ruby/erb/commit/df642335b7 k0kubun (Takashi Kokubun)

11/02/2022

10:27 PM Revision 59a6caf8 (git): Run only daily schedule because CodeQL provides a lot of false-positive results for Ruby code
hsbt (Hiroshi SHIBATA)
08:18 PM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
We might be able to make it efficient for a non-String buffer too, so I'll give it a try first. Thanks for the idea. k0kubun (Takashi Kokubun)
08:12 PM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
> You know, if speed is that much a concern, I think optimized_escape_html2 should seek the first escapable character... k0kubun (Takashi Kokubun)
03:02 PM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
Actually an even better approach may be to append the escaped bytes directly to the final output buffer, instead of g... Dan0042 (Daniel DeLorme)
01:04 PM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
You know, if speed is *that* much a concern, I think `optimized_escape_html2` should seek the first escapable charact... Dan0042 (Daniel DeLorme)
04:45 AM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
> Isn't rb_str_dup copy-on-write and so should be fairly cheap?
As I wrote in the description, calling `rb_str_dup` ...
k0kubun (Takashi Kokubun)
05:34 PM Revision b777408c (git): Fix crash in test runner on timeout
When a test worker hangs and timeouts, the test runner crashes with the
following stack trace:
ruby/tool/lib/test/un...
peterzhu2118 (Peter Zhu)
04:30 PM Revision 81e84e0a (git): YJIT: Support invokeblock (#6640)
* YJIT: Support invokeblock
* Update yjit/src/backend/arm64/mod.rs
* Update yjit/src/codegen.rs
Co-authored-by: Ma...
k0kubun (Takashi Kokubun)
04:10 PM Bug #19100 (Closed): Ruby 3 PRNG values diverge from Ruby 2 for some initial values
The outputs of the Mersenne Twister implementation diverged from their expected results in Ruby 2 for initial pseudo-... mweitekamp (Monica Weitekamp)
03:16 PM Revision ee7c031d (git): YJIT: don't show a full crash report if mmap is only out of memory (#6659)
Noah Gibbs
03:14 PM Revision 946bb34f (git): YJIT: Avoid accumulating freed pages in the payload (#6657)
Co-Authored-By: Alan Wu <[email protected]>
Co-Authored-By: Maxime Chevalier-Boisvert <maxime.chevalierboisve...
k0kubun (Takashi Kokubun)
03:03 PM Revision 4a8cd9e8 (git): Use shared flags of the type
The ELTS_SHARED flag is generic, so we should prefer to use the flags
specific of the type (STR_SHARED for strings an...
peterzhu2118 (Peter Zhu)
01:11 PM Feature #19089: Load bundler/setup in gem_prelude.rb when "bundle exec" is used
I agree with @mame that using `--disable-gems` or `--disable-did_you_mean` to workaround this is far from ideal, beca... deivid (David Rodríguez)
10:31 AM Revision 875b7b33 (git): [rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_builder/custom_name
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.34 to 0.9.35.
- [Release notes](https://github.com/oxid...
dependabot[bot]
07:01 AM Feature #19099: Support `private_constant` for an undefined constant
`const_set` is already exist. How about `private_const_set`?
znz (Kazuhiro NISHIYAMA)
05:12 AM Feature #19099 (Open): Support `private_constant` for an undefined constant
All the following discussion applies to `public_constant` too. Maybe `deprecate_constant` as well.
## Problem
`...
ujihisa (Tatsuhiro Ujihisa)
06:03 AM Misc #19098: Time#strftime: %z and width
```c
#include <stdio.h>
#include <time.h>
void
test_strftime(const char *fmt, const struct tm *t)
{
char ...
nobu (Nobuyoshi Nakada)
05:05 AM Revision d9cf0388 (git): Update Regexp.timeout doc (#6658)
* Correct Regexp.timeout doc, Timeout.timeout= => Regexp.timeout=
* add link Regexp Timeout section
Sampat Badhe
04:56 AM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
Nice summary. This seems like a solid proposal. k0kubun (Takashi Kokubun)
04:39 AM Bug #19082: Recent gRPC gem fails to build from the source in already released versions
monfresh (Moncef Belyamani) wrote in #note-6:
> nobu (Nobuyoshi Nakada) wrote in #note-5:
> > Probably this issue wil...
stanhu (Stan Hu)
04:37 AM Revision 8e2c70af (git): file2lastrev.rb: changed revision may be `nil` [ci skip]
When `--suppress_not_found` option is given, no revision information
is available. And remove extraneous newline, wh...
nobu (Nobuyoshi Nakada)
03:38 AM Revision 3475b661 (git): file2lastrev.rb: try to overwrite the found revision.h as before
nobu (Nobuyoshi Nakada)
03:38 AM Revision ac06951c (git): file2lastrev.rb: separate options for `Output` and `VPath`
So the `--srcdir` option in this file can override the same option in
`VPath`.
nobu (Nobuyoshi Nakada)
02:33 AM Revision 60f12c7d (git): Fix infinite loop when out-of-place build
nobu (Nobuyoshi Nakada)
02:10 AM Revision 265a96b0 (git): Manage the timestamp for revision.h
nobu (Nobuyoshi Nakada)

11/01/2022

10:38 PM Revision 70173a72 (git): Ivar copy needs to happen _before_ setting the shape
When we copy instance variables, it is possible for the GC to be kicked
off. The GC looks at the shape to determine ...
tenderlovemaking (Aaron Patterson)
07:05 PM Revision 0d1e1987 (git): YJIT: Visualize live ranges on register spill (#6651)
k0kubun (Takashi Kokubun)
06:16 PM Revision cbf15e5c (git): YJIT: Add an assert to help with Context changes
While experimenting I found that it's easy to change Context and forget
to also change the copying operation in limit...
alanwu (Alan Wu)
06:16 PM Revision a70f90e1 (git): YJIT: Delete redundant ways to make Context
Context::new() is the same as Context::default() and
Context::new_with_stack_size() was only used in tests.
alanwu (Alan Wu)
05:49 PM Misc #19098 (Open): Time#strftime: %z and width
It seems `%z` behaves in some surprising way when it is combined with a width - sign `+` is placed at the beginning o... andrykonchin (Andrew Konchin)
05:15 PM Misc #19096: [Question] Time with `-00:00` offset is in UTC
Indeed. But I assumed this feature only affects `#strftime`'s `%-z` directive, not treating a time zone offset.
I've...
andrykonchin (Andrew Konchin)
04:41 PM Misc #19096: [Question] Time with `-00:00` offset is in UTC
Oh, it is actually deliberate, see #17544:
> In RFC 3339, -00:00 is used for the time in UTC is known, but the offse...
zverok (Victor Shepelev)
03:58 PM Misc #19096: [Question] Time with `-00:00` offset is in UTC
On my computer (GMT+2, Europe/Kyiv timezone), the same behavior is reproducing since 3.1 (and on the current head).
...
zverok (Victor Shepelev)
03:28 PM Misc #19096: [Question] Time with `-00:00` offset is in UTC
On my computer, which is set to JST (+0900), the three examples make no difference:
```rb
Time.new(2022, 1, 1, 0, 0,...
sawa (Tsuyoshi Sawada)
02:48 PM Misc #19096 (Closed): [Question] Time with `-00:00` offset is in UTC
It's a bit unexpected but
```ruby
Time.new(2022, 1, 1, 0, 0, 0, "-00:00").utc?
# => true
```
But time with `...
andrykonchin (Andrew Konchin)
03:21 PM Feature #19097 (Open): Improve performance some Float and IO class constants
Improve performance some Float and IO class constants written by Ruby.
benchmark:
```yaml
benchmark:
Float_...
S_H_ (Shun Hiraoka)
01:17 PM Bug #18380: TestAddressResolve#test_socket_getnameinfo_domain_blocking test failures
ioquatix (Samuel Williams) wrote in #note-2:
> This should be fixed by <https://github.com/ruby/ruby/pull/6652>. Can...
vo.x (Vit Ondruch)
11:20 AM Bug #18380 (Closed): TestAddressResolve#test_socket_getnameinfo_domain_blocking test failures
Closing as our CI on Fedora 36 passed http://rubyci.s3.amazonaws.com/fedora36/ruby-master/recent.html . Thank you! mame (Yusuke Endoh)
04:11 AM Bug #18380: TestAddressResolve#test_socket_getnameinfo_domain_blocking test failures
This should be fixed by <https://github.com/ruby/ruby/pull/6652>. Can you please confirm? Thanks :) ioquatix (Samuel Williams)
12:55 PM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
I agree the dup is unnecessary since 99.99% of the time you're just doing `buf << CGI.escapeHTML(str)`. Not sure the ... Dan0042 (Daniel DeLorme)
05:34 AM Revision 6bf458ee (git): file2lastrev.rb: use output.rb for the options
nobu (Nobuyoshi Nakada)
05:34 AM Revision 7e6e9426 (git): file2lastrev.rb: rename output as format
Also:
- format -> time_format
- output -> formatter
nobu (Nobuyoshi Nakada)
05:34 AM Revision a2e7b11f (git): output.rb: extract from generic_erb.rb
- writing to a file or stdout
- touching timestamp files
- overwriting only if changed
- colorizing
nobu (Nobuyoshi Nakada)
05:34 AM Revision 99a79dc4 (git): colorize.rb: support for NO_COLOR
nobu (Nobuyoshi Nakada)
05:34 AM Revision f0c8c1e8 (git): vpath.rb: tweak --vpath option message
nobu (Nobuyoshi Nakada)
04:10 AM Revision 16953867 (git): We don't care about actual hostname resolution. (#6652)
https://bugs.ruby-lang.org/issues/18380 Samuel Williams
04:06 AM Feature #19064: UDPSocket#bind does not take AddrInfo, despite documentation saying it should
The linked documentation is for Socket, not UDPSocket. The documentation for UDPSocket does not suggest that it acce... tomgilligan (Tom Gilligan)
02:40 AM Revision aa8c6759 (git): vcs.rb: do not reference the constant before assignment
nobu (Nobuyoshi Nakada)
01:09 AM Feature #19056: Introduce `Fiber.annotation` for attaching messages to fibers.
I want to add annotations to default gems like `Net::HTTP` so it would need to be in core, or at least some kind of h... ioquatix (Samuel Williams)
12:35 AM Revision 2d3ecc4d (git): Adjust indents [ci skip]
nobu (Nobuyoshi Nakada)
12:11 AM Bug #19095 (Closed): use-after-poison with shapes
Applied in changeset commit:git|2d86e79fe6a8eaea85edb4b9ab59d12228dbd8b9.
----------
Always lookup IV buffers when i...
tenderlovemaking (Aaron Patterson)
12:10 AM Revision 4c59808a (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.34 to 0.9.35.
- [Release notes](https://github.com/oxid...
dependabot[bot]
12:05 AM Revision 2d86e79f (git): Always lookup IV buffers when iterating
Always look up instance variable buffers when iterating. It is possible
for the instance variable buffer to change o...
tenderlovemaking (Aaron Patterson)
 

Also available in: Atom