Project

General

Profile

Activity

From 11/05/2021 to 11/11/2021

11/11/2021

11:47 PM Bug #18330 (Closed): Make failure on 32-bit Linux (Android) with Clang due to implicit 64-to-32-bit integer truncation
Observed in crossruby CI for armv7a-android30 (http://rubyci.s3.amazonaws.com/crossruby/crossruby-master-armv7a-andro... xtkoba (Tee KOBAYASHI)
09:52 PM Bug #18329 (Closed): Calling super to non-existent method dumps core
peterzhu2118 (Peter Zhu)
04:57 PM Bug #18329: Calling super to non-existent method dumps core
Thank you for the report. I have a fix prepared here: https://github.com/ruby/ruby/pull/5108 peterzhu2118 (Peter Zhu)
09:05 PM Revision 3cf7130d (git): [rubygems/rubygems] Remove duplicated spec
https://github.com/rubygems/rubygems/commit/86b874ed24 deivid (David Rodríguez)
09:05 PM Revision 4736dec5 (git): [rubygems/rubygems] Remove `gemfile_should_be` helper as well
https://github.com/rubygems/rubygems/commit/79f3c00caa deivid (David Rodríguez)
09:05 PM Revision 1f91009d (git): [rubygems/rubygems] Remove `have_lockfile` matcher too
https://github.com/rubygems/rubygems/commit/635f3f2605 deivid (David Rodríguez)
09:05 PM Revision d0f26646 (git): [rubygems/rubygems] Remove `lockfile_should_be` helper
It doesn't add anything.
https://github.com/rubygems/rubygems/commit/ece3c864df
deivid (David Rodríguez)
07:08 PM Revision 84202963 (git): [Bug #18329] Fix crash when calling non-existent super method
The cme is NULL when a method does not exist, so check it before
accessing the callcache.
peterzhu2118 (Peter Zhu)
06:47 PM Revision a9a94540 (git): Remove RCLASS(obj)->ptr when RVARGC is enabled
With RVARGC we always store the rb_classext_t in the same slot as the
RClass struct that refers to it. So we don't ne...
eightbitraptor (Matt V-H)
05:49 PM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
It seems like C -> builtin conversion makes method calls with keyword arguments faster, but C seems faster on method ... k0kubun (Takashi Kokubun)
01:13 AM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
Current status:
```
$ cat /tmp/a.yml
benchmark:
- Time.at(0)
$ benchmark-driver -v --rbenv '3.0.0;before;after' /...
k0kubun (Takashi Kokubun)
05:02 PM Revision d08d1370 (git): * 2021-11-12 [ci skip]
git[bot]
05:01 PM Revision dee2e9b2 (git): Bundle RBS 1.7.0 (#5105)
* Bundle RBS 1.7.0
* tool/test-bundled-gems.rb: Use a correct path to Check if rbs is built
* tool/test-bundled-gem...
soutaro (Soutaro Matsumoto)
02:06 PM Feature #18296: Custom exception formatting should override `Exception#full_message`.
Eregon (Benoit Daloze) wrote in #note-7:
> mame (Yusuke Endoh) wrote in #note-6:
> > Does this proposal include tha...
mame (Yusuke Endoh)
11:38 AM Feature #18296: Custom exception formatting should override `Exception#full_message`.
While initially thinking about this issue I kind of forgot `full_message` includes the backtrace (the name doesn't ma... Eregon (Benoit Daloze)
11:07 AM Feature #18296: Custom exception formatting should override `Exception#full_message`.
mame (Yusuke Endoh) wrote in #note-6:
> Does this proposal include that the ruby interpreter should use `#full_messa...
Eregon (Benoit Daloze)
05:49 AM Feature #18296: Custom exception formatting should override `Exception#full_message`.
TBH I'm unsure if I could understand what you propose. It would be very helpful if you could create a proof-of-concep... mame (Yusuke Endoh)
01:54 PM Revision c53aecee (git): fix a memory leak introduced in 8bbd319
This commit fixes a memory leak introduced in an early part of the
variable width allocation project that would preve...
eightbitraptor (Matt V-H)
01:52 PM Bug #18170: Exception#inspect should not include newlines
Eregon (Benoit Daloze) wrote in #note-19:
> BTW it seems `irb` disables `error_highlight` somehow:
Because irb us...
mame (Yusuke Endoh)
10:28 AM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
shyouhei (Shyouhei Urabe) wrote in #note-13:
> Fix merged ATM to delete the attribute, for the sake of compatibility...
ukolovda (Dmitry Ukolov)
08:30 AM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
Fix merged ATM to delete the attribute, for the sake of compatibility.
What to do with those other functions shall...
shyouhei (Shyouhei Urabe)
10:10 AM Feature #10917: Add GC.stat[:total_time] when GC profiling enabled
> for experts who want to tuning the GC performance. So I think the difference (ns, ms in Integer and sec in Float) i... byroot (Jean Boussier)
09:44 AM Feature #10917: Add GC.stat[:total_time] when GC profiling enabled
* `GC.total_time` returns measured total time in nano seconds.
* `GC.stat(:time)` (and Hash) returns measured total ...
ko1 (Koichi Sasada)
09:23 AM Feature #10917: Add GC.stat[:total_time] when GC profiling enabled
I cleanup the patch:
https://github.com/ruby/ruby/pull/4757
GC measurement feature
* `GC.measure_tot...
ko1 (Koichi Sasada)
09:04 AM Revision b5531adf (git): quick fix for `test_initialize_HEAD`
https://github.com/ruby/ruby/commit/52ab9bbee918c63faad32e3851b162691b984d40 makes a failure.
```
1) Failure:
HTTP...
ko1 (Koichi Sasada)
08:59 AM Revision cd51bf61 (git): test/openssl/test_ssl: adjust certificate expiry date
test_connect_certificate_verify_failed_exception_message occasionally
fails. Is it possible that OpenSSL sees a diffe...
rhenium (Kazuki Yamaguchi)
08:34 AM Revision 52ab9bbe (git): [ruby/net-http] Send Accept-Encoding header on HEAD method
https://github.com/ruby/net-http/commit/9d95c5e3e6 Shohei Maeda
08:14 AM Revision 33533fab (git): revival of must_not_null()
Presence of RBIMPL_ATTR_NONNULL let C compilers to eliminate
must_not_null(). Because null pointers are not allowed ...
shyouhei (Shyouhei Urabe)
05:00 AM Revision 155bc427 (git): [ruby/getoptlong] fixup 5f57f47572502173e2e8880f83ef7b3e2659f974
https://github.com/ruby/getoptlong/commit/5683297853 hsbt (Hiroshi SHIBATA)
05:00 AM Revision 6ecd30b4 (git): [ruby/getoptlong] Save the copy of `ARGV`
It refers the same object and will be replaced.
https://github.com/ruby/getoptlong/commit/5f57f47572
nobu (Nobuyoshi Nakada)
02:45 AM Revision f5dcecf3 (git): rb_file_size: add doxygen
Must not be a bad idea to improve documents. [ci skip] shyouhei (Shyouhei Urabe)
02:45 AM Revision ad84c5d1 (git): rb_enc_code_to_mbclen: fix doxygen
Wrong parameter name. [ci skip] shyouhei (Shyouhei Urabe)
02:45 AM Revision 4b383012 (git): RB_ENCODING_SET_INLINED: fix doxygen
Wrong parameter name. [ci skip] shyouhei (Shyouhei Urabe)
02:45 AM Revision a4a6e5cd (git): ENCODING_MASK: fix doxygen link [ci skip]
shyouhei (Shyouhei Urabe)
02:45 AM Revision 1370b087 (git): io/buffer.h: C linkage
Because `make install` installs this header to target systems, it must
be ready to be `#include`d form a C++ program.
shyouhei (Shyouhei Urabe)
01:37 AM Revision db316e62 (git): [ruby/getoptlong] Write a first test of getoptlong.rb
https://github.com/ruby/getoptlong/commit/18cdb03fd4 burdettelamar (Burdette Lamar)
01:37 AM Revision 414b5565 (git): [ruby/tmpdir] [DOC] Fix syntax in example code [ci skip]
RDoc expects example code to be valid syntax.
https://github.com/ruby/tmpdir/commit/ee42540ebb
nobu (Nobuyoshi Nakada)
12:35 AM Revision 51c67ee6 (git): Don't allow `fd == -1` to propagate to system calls.
Samuel Williams

11/10/2021

11:46 PM Bug #18329 (Closed): Calling super to non-existent method dumps core
The following code runs on Ruby 2.7.4 and doesn't produce a core dump. On Ruby 3.0.0, 3.0.2 and 3.1.0-preview 1 the f... lewispb (Lewis Buckley)
10:14 PM Revision d5dd87d0 (git): [ci skip] Fix typo in test name
peterzhu2118 (Peter Zhu)
07:05 PM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
On current master I get `6044704` i/s and `5368058` i/s on 3.0.2, 11.2% slower. Eregon (Benoit Daloze)
07:02 PM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
FYI in TruffleRuby when we need to know if an argument is passed or not we use a default value of `undefined` which w... Eregon (Benoit Daloze)
11:19 AM Bug #18293 (Open): Time.at in master branch was 25% slower then Ruby 3.0
byroot (Jean Boussier)
09:18 AM Bug #18293 (Closed): Time.at in master branch was 25% slower then Ruby 3.0
Applied in changeset commit:git|8bcff5604b15fd29f357669dd8cb65a6618c9926.
----------
Tentative fix of subsec to `Tim...
nobu (Nobuyoshi Nakada)
08:44 AM Bug #18293 (Open): Time.at in master branch was 25% slower then Ruby 3.0
I thought and tried it but still 10% slower than 3.0. nobu (Nobuyoshi Nakada)
08:42 AM Bug #18293 (Closed): Time.at in master branch was 25% slower then Ruby 3.0
Applied in changeset commit:git|83bdc2f00c4565a091d88399e5a315a96f6afed6.
----------
Simplify default values of `Tim...
nobu (Nobuyoshi Nakada)
08:07 AM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
FYI, the current iseq is:
```
irb(main)[01:0]> puts RubyVM::InstructionSequence.of(Time.method(:at)).disasm
== d...
k0kubun (Takashi Kokubun)
07:32 AM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
I don't understand why we need to detect wether the parameters were passed, why can't we just have default values?
...
byroot (Jean Boussier)
04:24 AM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
`Time.at` has complicated default arguments. I believe that would result in 5 local variable assignments in VM and be... k0kubun (Takashi Kokubun)
06:52 PM Revision 98cc6d15 (git): * 2021-11-11 [ci skip]
git[bot]
06:51 PM Revision 8d5f38a8 (git): Use Primitive. in timev.rb for consistency with all other .rb files
Eregon (Benoit Daloze)
06:08 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
Lack of codesigning on Apple Silicon is an excellent guess, but unfortunately does not seem to be the cause here as T... ccaviness (Clay Caviness)
05:50 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
Sure. I had suspected that at some point so I checked the signature using `codesign -dvvvvv`. But I also just repeate... timsutton (Tim Sutton)
05:25 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
Can you please try `codesign -s - ruby`? Because Apple's arm chip requires the exectutables signed.
I encountered ...
ecnelises (Chaofan QIU)
01:00 PM Feature #6210: load should provide a way to specify the top-level module
Agreed, it could be used to experiment with new ways to load code in a non global manner.
That being said it would...
byroot (Jean Boussier)
12:23 PM Feature #18020: Introduce `IO::Buffer` for fiber scheduler.
My initial assessment, based on the changes we made, is that we are potentially incorrectly using `fd` before this PR... ioquatix (Samuel Williams)
09:04 AM Feature #18020: Introduce `IO::Buffer` for fiber scheduler.
Thanks @mame, yes this change adds fiber scheduler hooks for low level file read/write operations and this necessitat... ioquatix (Samuel Williams)
08:06 AM Feature #18020: Introduce `IO::Buffer` for fiber scheduler.
The change caused SEGV on Solaris.
http://rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20211110T070003Z.f...
mame (Yusuke Endoh)
06:24 AM Feature #18020 (Closed): Introduce `IO::Buffer` for fiber scheduler.
I have merged this. We will follow up with additional changes in new tickets as needed. ioquatix (Samuel Williams)
12:02 PM Misc #18266: DevelopersMeeting20211118Japan
- [Bug #18296] Custom exception formatting should override `Exception#full_message`.
* (mame: you need to write you...
ioquatix (Samuel Williams)
11:58 AM Feature #18296: Custom exception formatting should override `Exception#full_message`.
Also given how this works, I believe we should remove `ErrorHighlight.formatter` from the public interface. https://g... ioquatix (Samuel Williams)
11:57 AM Feature #18296: Custom exception formatting should override `Exception#full_message`.
I think this is a clean and simple proposal/fix, which enables users to choose whether they want that extra informati... Eregon (Benoit Daloze)
11:49 AM Feature #18296 (Closed): Custom exception formatting should override `Exception#full_message`.
After discussing with @eregon, we came to the conclusion that the current implementation of `did_you_mean` and `error... ioquatix (Samuel Williams)
11:26 AM Feature #18033: Time.new to parse a string
If I might add a nitpick, the actual format is RFC 3339, which is pretty much a subset of ISO 8601.
But yes, +1 to...
byroot (Jean Boussier)
10:44 AM Feature #18033: Time.new to parse a string
Like @ioquatix and @byroot I think `Time.new` taking a iso-like String is not a good idea.
Also it's technically inc...
Eregon (Benoit Daloze)
11:15 AM Bug #18170: Exception#inspect should not include newlines
ioquatix (Samuel Williams) wrote in #note-18:
> Here is what I want:
>
> - `Exception.new(message).message` is al...
Eregon (Benoit Daloze)
11:10 AM Bug #18170: Exception#inspect should not include newlines
BTW it seems `irb` disables `error_highlight` somehow:
```
$ ruby -ve 'self.instance_off'
ruby 3.1.0dev (2021-11-0...
Eregon (Benoit Daloze)
11:10 AM Bug #18170: Exception#inspect should not include newlines
Here is what I want:
- `Exception.new(message).message` is always `message`.
- Top level unhandled exception hand...
ioquatix (Samuel Williams)
11:03 AM Bug #18170: Exception#inspect should not include newlines
I've been thinking about this again, and I'm not sure if
```
#<Foo:0x00007f15aeb4ba48 @exception=#<NameError: undef...
Eregon (Benoit Daloze)
09:14 AM Revision 8bcff560 (git): Tentative fix of subsec to `Time.at` [Bug #18293]
nobu (Nobuyoshi Nakada)
08:47 AM Revision 850912b6 (git): Install pkg-config on 32-bit Ubuntu [ci skip]
nobu (Nobuyoshi Nakada)
08:47 AM Revision 4eb23c9d (git): Commit miss [ci skip]
nobu (Nobuyoshi Nakada)
08:42 AM Revision 83bdc2f0 (git): Simplify default values of `Time.at` [Bug #18293]
nobu (Nobuyoshi Nakada)
08:42 AM Revision cc33d07f (git): Disable experimental warnings in test/runner.rb
nobu (Nobuyoshi Nakada)
08:07 AM Revision 943b6e4d (git): Fix format specifier
nobu (Nobuyoshi Nakada)
07:41 AM Revision 46e46eaf (git): size_t is not for file size
nobu (Nobuyoshi Nakada)
06:21 AM Revision 81d0ce7e (git): Mark IO::Buffer as experimental.
Samuel Williams
06:21 AM Revision 4b890342 (git): IO::Buffer for scheduler interface.
Samuel Williams
05:09 AM Revision 56b90cf9 (git): Fix a typo and add `IO.` [ci skip]
znz (Kazuhiro NISHIYAMA)
01:08 AM Revision af74cc75 (git): * 2021-11-10 [ci skip]
git[bot]
01:08 AM Revision e8086e27 (git): gc.h: move rb_objspace_garbage_object_p to internal/gc.h
... to allow class.c to use the function mame (Yusuke Endoh)
01:08 AM Revision 5c892da7 (git): class.c: descendants must not cause GC until the result array is created
Follow up of 428227472fc6563046d8138aab17f07bef6af753. The previous fix
uses `rb_ary_new_from_values` to create the r...
mame (Yusuke Endoh)

11/09/2021

04:55 PM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
I think it'd be good to understand the slow down here.
Is it due to having the method in Ruby and using `Primitive.`...
Eregon (Benoit Daloze)
09:04 AM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
It's quite a hotspot in our cache serializers:
- https://github.com/Shopify/paquito/blob/aabd8740175f37b382d425d...
byroot (Jean Boussier)
04:38 AM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
Could anybody share use cases (preferably a link to a particular code calling it) where `Time.at`'s performance matters? k0kubun (Takashi Kokubun)
04:47 PM Feature #18035: Introduce general model/semantic for immutability.
@Dan0042 I think you can experiment with that in a gem if you'd like.
I wouldn't call the module `Immutable` to avoi...
Eregon (Benoit Daloze)
04:42 PM Feature #18035: Introduce general model/semantic for immutability.
Re flags, can we just remove the highest FL_USER flags and use it to mark immutable instead?
Those FL_USER flags are...
Eregon (Benoit Daloze)
04:33 PM Feature #18035: Introduce general model/semantic for immutability.
Question for the immutability-minded folks here. What would you think of an `Immutable` refinement like:
```ruby
...
Dan0042 (Daniel DeLorme)
04:32 PM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
@zverok No, that can't work because then in your example the actual place where the stack is queried is e.g. inside `... Eregon (Benoit Daloze)
01:28 PM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
Can't the specialized Enumerator be used for that? The downside is it probably would be inconsistent with the existin... zverok (Victor Shepelev)
12:36 PM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
The non-local return like `return frame` is likely to be rather costly in this case unfortunately.
Stack walking typ...
Eregon (Benoit Daloze)
12:27 PM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
:+1: this seems a great idea.
I was initially thinking this might be tricky to implement, but it seems most APIs t...
Eregon (Benoit Daloze)
02:45 PM Feature #18127: Ractor-local version of Singleton
ioquatix (Samuel Williams) wrote in #note-4:
> 1. Existing Ruby code is incompatible with Ractor.
> 2. New code tha...
Dan0042 (Daniel DeLorme)
01:19 AM Feature #18127: Ractor-local version of Singleton
I appreciate the work that is being done here. However I am against introducing this feature as currently proposed an... ioquatix (Samuel Williams)
12:43 PM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
No need to say sorry. Thanks for providing fixes. https://github.com/ruby/ruby/pull/5097 resolves segmentation fault ... yahonda (Yasuo Honda)
12:23 PM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
Could you please try this PR? https://github.com/ruby/ruby/pull/5097
I knew that the fix was incomplete but I coul...
mame (Yusuke Endoh)
11:02 AM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
Thanks for the update.
I have attempt to validate the fix, actually it still raises segmentation fault with `ruby 3....
yahonda (Yasuo Honda)
07:15 AM Bug #18282 (Closed): Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
Applied in changeset commit:git|428227472fc6563046d8138aab17f07bef6af753.
----------
class.c: calculate the length o...
mame (Yusuke Endoh)
12:21 PM Revision 0d3898ec (git): [rubygems/rubygems] Remove more unused stuff from make command parsing
https://github.com/rubygems/rubygems/commit/eba7d173d4 deivid (David Rodríguez)
12:21 PM Revision ba3dfe6e (git): [rubygems/rubygems] This method is never passed a block
https://github.com/rubygems/rubygems/commit/d79ade274b deivid (David Rodríguez)
12:21 PM Revision d713b602 (git): [rubygems/rubygems] Fix assert_contains_make_command on make defined by environment variable.
The `parse_make_command_line` in `assert_contains_make_command` fails to get
the make targets correctly, when the mak...
Jun Aruga
12:21 PM Revision ec6352c1 (git): [rubygems/rubygems] Improve error message when make command doesn't match
https://github.com/rubygems/rubygems/commit/8c2725e9a6 deivid (David Rodríguez)
08:31 AM Revision 54bda176 (git): test/ruby/test_iseq.rb: Prevent a warning
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20211109T063003Z.log.html.gz
```
[ 9898/21145] TestISeq#test_su...
mame (Yusuke Endoh)
08:30 AM Revision cf50f948 (git): test/ruby/test_enum.rb: Prevent a warning
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20211109T063003Z.log.html.gz
```
[ 1960/21145] TestEnumerable#t...
mame (Yusuke Endoh)
08:10 AM Revision d5ae8925 (git): Add doc for `a_call` and `a_return` events of TracePoint
pocke (Masataka Kuwabara)
08:09 AM Revision 75aae66c (git): Some codes replace to `RBOOL` macro (#5023)
* Some code replace and using RBOOL macro
* Fix indent
* Using RBOOL in syserr_eqq function
S_H_ (Shun Hiraoka)
07:56 AM Revision c1c13c58 (git): Add one more test example for swap instruction
Nikita Vasilevsky
07:21 AM Revision 5a3b2e61 (git): Needs `$` in `make` command line to be escaped
nobu (Nobuyoshi Nakada)
07:21 AM Revision 5680c38c (git): Use valid `ec` for postponed job.
Postponed job can be registered from non-Ruby thread, which means
`ec` in TLS can be NULL. In this case, use main thr...
ko1 (Koichi Sasada)
07:11 AM Revision 3628616d (git): Remove a redundant condition
mame (Yusuke Endoh)
07:11 AM Revision 64007fc5 (git): class.c (Class#descendants): Ingore subclasses created after estimation
It is theoretically possible if a finalizer creates a subclass. mame (Yusuke Endoh)
07:11 AM Revision 037da506 (git): class.c: Use ALLOC_N instead of ALLOCA_N
mame (Yusuke Endoh)
07:11 AM Revision 42822747 (git): class.c: calculate the length of Class.descendants in advance
GC must not be triggered during callback of rb_class_foreach_subclass.
To prevent GC, we can not use rb_ary_push. Ins...
mame (Yusuke Endoh)
06:20 AM Revision 3ff0a0b4 (git): Filter method names only if filtering method name only
If sole `filter` option doesn't seem including test case name,
match with method name only.
And if the filter is a Re...
nobu (Nobuyoshi Nakada)
05:52 AM Revision 6cf7c0a4 (git): test/readline/test_readline.rb: skip a test on i686-linux
... because readline library (or libtinfo) seems to cause SEGV
internally even with Readline 8.1.
This SEGV is caugh...
mame (Yusuke Endoh)
05:39 AM Revision 1290bdf1 (git): test/ruby/test_fiber.rb: Extend timeout on Solaris
The test usually takes 200 sec. on Solaris, so the timeout of 300 sec.
looks too short.
mame (Yusuke Endoh)
02:30 AM Revision 1d609707 (git): Fix a link [ci skip]
znz (Kazuhiro NISHIYAMA)
02:09 AM Feature #17849: Fix Timeout.timeout so that it can be used in threaded Web servers
Eregon (Benoit Daloze) wrote in #note-22:
> @mame How do you explain the test I linked above fails (still does with ...
mame (Yusuke Endoh)
01:56 AM Revision d7432fde (git): [rubygems/rubygems] Use `shellsplit` instead of array of strings
Previously, the command string to be used for the shell command
was first generated and then split using shellsplit. ...
Nicholas Lee

11/08/2021

09:41 PM Revision e014c9d6 (git): [ci skip] Update NEWS.md for [Feature #18290]
peterzhu2118 (Peter Zhu)
09:27 PM Feature #18020: Introduce `IO::Buffer` for fiber scheduler.
@matz thanks, I will rebase and merge it with experimental warning. ioquatix (Samuel Williams)
02:35 AM Feature #18020: Introduce `IO::Buffer` for fiber scheduler.
I am not fully satisfied with the quality of the code (at the last time I checked a while ago), but basically, I agre... matz (Yukihiro Matsumoto)
09:25 PM Bug #18295 (Third Party's Issue): gtk2 won't work with newest versions of its dependencies
This looks like an issue with your setup. You'll need to install version 3.4.3 of the atk, pango, and gdk_pixbuf2 ge... jeremyevans0 (Jeremy Evans)
09:13 PM Bug #18295 (Third Party's Issue): gtk2 won't work with newest versions of its dependencies
I am running an up-to-date version of Artix, which installs ruby-atk 3.4.5-1 ruby-pango 3.4.5-1 and ruby-gdk_pixbuf2 ... zsd (Jim D)
08:39 PM Revision 39d3d24a (git): [Feature #18290] Remove tests that test use of rb_gc_force_recycle
Remove tests that assume objects get force recycled. peterzhu2118 (Peter Zhu)
07:24 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
I have been hoping to do the same operation here for my org, as a way to distribute a universal Ruby binary that woul... timsutton (Tim Sutton)
07:16 PM Bug #18293: Time.at in master branch was 25% slower then Ruby 3.0
I was able to repro this on Ubuntu 20.04 on an AMD CPU. Looks like moving these functions from `time.c` to `timev.rb`... peterzhu2118 (Peter Zhu)
02:27 PM Bug #18293 (Closed): Time.at in master branch was 25% slower then Ruby 3.0
− | Ruby 3.0.2 | Ruby 3.1.0-dev | result
-- | -- | -- | --
Time.at | 8.223M | ...
watson1978 (Shizuo Fujita)
07:06 PM Feature #18290 (Closed): Deprecate rb_gc_force_recycle
Applied in changeset commit:git|aeae6e2842e1702dfb89b8ae69b48c4f5f64c662.
----------
[Feature #18290] Remove all usa...
peterzhu2118 (Peter Zhu)
07:05 PM Revision 30940648 (git): [Feature #18290] Deprecate rb_gc_force_recycle and remove invalidate_mark_stack_chunk
This commit deprecates rb_gc_force_recycle and coverts it to a no-op
function. Also removes invalidate_mark_stack_chu...
peterzhu2118 (Peter Zhu)
07:05 PM Revision aeae6e28 (git): [Feature #18290] Remove all usages of rb_gc_force_recycle
This commit removes usages of rb_gc_force_recycle since it is a burden
to maintain and makes changes to the GC diffic...
peterzhu2118 (Peter Zhu)
06:38 PM Revision aa5bccfc (git): NEWS.md: Mention Process._fork [[Feature #17795]]
mame (Yusuke Endoh)
06:33 PM Bug #18294 (Closed): error when parsing regexp comment
The following code generates the error "too short escaped multibyte character"
``` ruby
_re = /
foo # \M-ca
/x...
thyresias (Thierry Lambert)
06:33 PM Revision 83749338 (git): * 2021-11-09 [ci skip]
git[bot]
06:32 PM Revision efe7e6e9 (git): Bundle rbs 1.7.0.beta.5
mame (Yusuke Endoh)
06:13 PM Feature #12125: Proposal: Shorthand operator for Object#method
Hello,
I cannot help myself to see than all proposal are of the form:
` (expression) (shorthand_operator) (method_na...
Azuma-01 (Azuma Eleth)
06:01 PM Misc #18266: DevelopersMeeting20211118Japan
* [Feature #6210] load should provide a way to specify the top-level module (jeremyevans0)
* This is fairly easy t...
jeremyevans0 (Jeremy Evans)
05:33 PM Feature #17849: Fix Timeout.timeout so that it can be used in threaded Web servers
@mame How do you explain the test I linked above fails (still does with latest CRuby) then?
https://bugs.ruby-lang.o...
Eregon (Benoit Daloze)
08:58 AM Feature #17849: Fix Timeout.timeout so that it can be used in threaded Web servers
@headius
headius (Charles Nutter) wrote in #note-18:
> This is incorrect code.
I believe that my code is corr...
mame (Yusuke Endoh)
03:45 PM Feature #18276: `Proc#bind_call(obj)` same as `obj.instance_exec(..., &proc_obj)`
Eregon (Benoit Daloze) wrote in #note-10:
> I'd assume on that object's singleton class like `instance_exec`, but I ...
Dan0042 (Daniel DeLorme)
01:27 PM Bug #18292 (Closed): 3.1.0-dev `include` cause Module to be marked as initialized
Some subtle change I found while testing our app compatibility with Ruby head:
```ruby
class Mod1 < Module
def...
byroot (Jean Boussier)
01:15 PM Revision bd2674ad (git): [rubygems/rubygems] Use bundler-graph instead of bundler-viz
https://github.com/rubygems/rubygems/commit/a54cca13db hsbt (Hiroshi SHIBATA)
11:43 AM Feature #18272: Please replace unsafe SHA1 with another digest algorithm
Another suggestion from our internal discussion:
```
SHA1 should work for you, though it would be better if you c...
pvalena (Pavel Valena)
09:35 AM Revision 7cc4e147 (git): Get rid of implicit expansion to `long double` on ix86
nobu (Nobuyoshi Nakada)
09:33 AM Revision 395738e8 (git): Separate TestReadline#test_interrupt_in_other_thread
This method is already known to fail on Travis-CI arm32-linux. nobu (Nobuyoshi Nakada)
09:04 AM Revision a64f7e9c (git): Try 32bit environment
nobu (Nobuyoshi Nakada)
08:08 AM Revision 2772f856 (git): Prefer ANSI-style prototypes over old K&R-style definitions
nobu (Nobuyoshi Nakada)
08:08 AM Revision b47f7afb (git): Fix filename typo [Bug #18140]
nobu (Nobuyoshi Nakada)
07:07 AM Revision b5ca8ebc (git): Update bundled_gems at 2021-11-08
git[bot]
06:14 AM Revision 833c69ee (git): Convert IDs to Integers
As the ID serial is 32bit value and internal IDs created in the
parser are assigned from its maximum value, Symbol co...
nobu (Nobuyoshi Nakada)
03:52 AM Revision f3bae1a2 (git): * 2021-11-08 [ci skip]
git[bot]
03:52 AM Revision 3501e0cb (git): memory_view.c: Add _memory_view_entry member in rb_memory_view_t (#5088)
Kenta Murata

11/07/2021

11:46 AM Revision e0a5c3d2 (git): [MinGW] Set job names
nobu (Nobuyoshi Nakada)
11:46 AM Revision 8dc2fce2 (git): [MinGW] Highlight where groups
nobu (Nobuyoshi Nakada)
11:46 AM Revision 7068255b (git): [MinGW] Run in sh
nobu (Nobuyoshi Nakada)
11:46 AM Revision acd82cc3 (git): [MinGW] Run test-spec
nobu (Nobuyoshi Nakada)
11:46 AM Revision 5ebda74a (git): [MinGW] Pass -j option via environment variables
nobu (Nobuyoshi Nakada)
11:46 AM Revision 6295e348 (git): [MinGW] Clear BUNDLER_VERSION unconditinally
nobu (Nobuyoshi Nakada)
11:46 AM Revision dc4dd96b (git): [MinGW] Remove unnecessary encoding settings
nobu (Nobuyoshi Nakada)
11:46 AM Revision 8acb2a9b (git): [MinGW] Use autogen
nobu (Nobuyoshi Nakada)
11:46 AM Revision ec032e86 (git): [MinGW] Clear prefix and move the directory to DESTDIR
Also the destination will be created at the installation. nobu (Nobuyoshi Nakada)
11:46 AM Revision ba0e3ea1 (git): [MSWin] Pass TESTOPTS via RUBY_TESTOPTS
nobu (Nobuyoshi Nakada)
11:46 AM Revision 30583bc9 (git): [MSWin] Split nmake step
The workflow output grouping seems effective even in the middle of
lines.
nobu (Nobuyoshi Nakada)
11:39 AM Revision 5eb54c49 (git): [MinGW] Set job env vars at once
nobu (Nobuyoshi Nakada)
04:13 AM Revision ac642df2 (git): Revert "Fix typo in ChangeLog-2.0.0 [ci skip]"
This reverts commit e5792e7d552235e17a93d50a26c375db1974148f.
Because this is correct ChangeLog of
https://github.co...
znz (Kazuhiro NISHIYAMA)
03:40 AM Revision 45db04ee (git): * 2021-11-07 [ci skip]
git[bot]
03:40 AM Revision ec657f44 (git): Refine the error message for hidden variables
nobu (Nobuyoshi Nakada)
03:40 AM Revision 334b69e5 (git): rb_id_serial_to_id: return unregistered ID as an internal ID
```ruby
def foo(*); ->{ super }; end
```
This code makes anonymous parameters which is not registered as an
ID. The...
nobu (Nobuyoshi Nakada)

11/06/2021

01:25 PM Feature #18287: Support nil value for sort in Dir.glob
Eregon (Benoit Daloze) wrote in #note-8:
> ```ruby
> > Integer("x", exception: nil)
> (irb):3:in `Integer': true or f...
Strech (Sergey Fedorov)
12:19 PM Feature #18287: Support nil value for sort in Dir.glob
nobu (Nobuyoshi Nakada) wrote in #note-7:
> For instance,
> ```ruby
> Integer("010", nil) #=> 8
> ```
`base` i...
Eregon (Benoit Daloze)
01:24 AM Feature #18287: Support nil value for sort in Dir.glob
Eregon (Benoit Daloze) wrote in #note-5:
> @jeremyevans0 Do you know any other core method with this behavior?
Th...
nobu (Nobuyoshi Nakada)
12:36 PM Feature #18291: When use =~ with named group, if regex is on the right side, variable not defined.
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> `regexp.rdoc` documents that the literal regexp must be on the left ...
zw963 (Wei Zheng)
12:03 PM Feature #17849: Fix Timeout.timeout so that it can be used in threaded Web servers
Another way would be to default to `Thread.handle_interrupt(Exception => :on_blocking) do` for all threads, which is ... Eregon (Benoit Daloze)
08:39 AM Revision 66b08476 (git): Check the reading size range
nobu (Nobuyoshi Nakada)
08:37 AM Revision 6d540c1b (git): merge revision(s) d0a05fd4b40ff0f88728c4897e67b68185128f54:
Fixed FD leaks
---
test/socket/test_tcp.rb | 2 +-
1 file changed, 1 insertion(+), 1 deleti...
nagachika (Tomoyuki Chikanaga)
07:57 AM Bug #18264: TracePoint leaks memory
ruby_3_0 75e74993916e9abda1a74164fed5b59fc3d9b7ce merged revision(s) a4d5ee4f31bf3ff36c1a8c8fe3cda16aa1016b12. nagachika (Tomoyuki Chikanaga)
07:47 AM Revision 75e74993 (git): merge revision(s) a4d5ee4f31bf3ff36c1a8c8fe3cda16aa1016b12: [Backport #18264]
[Bug #18264] Fix memory leak in TracePoint
TracePoint leaks memory because it allocates a `rb_tp_t` struct
...
nagachika (Tomoyuki Chikanaga)
07:45 AM Bug #18252: Backport openssl 2.2.1 to ruby_3_0
Merged at 00e89fe36b57e2d7c4ea269bc827d9806edef5ed. nagachika (Tomoyuki Chikanaga)
05:33 AM Bug #18289: Enumerable#to_a should delegate keyword arguments to #each
`grep` doesn't appear to have the same issue as `to_a`, since it explicitly calls `each` with no arguments (unlike `t... jeremyevans0 (Jeremy Evans)
05:00 AM Bug #18289: Enumerable#to_a should delegate keyword arguments to #each
jeremyevans0 (Jeremy Evans) wrote in #note-5:
> nobu (Nobuyoshi Nakada) wrote in #note-4:
> > Recently I've encount...
nobu (Nobuyoshi Nakada)
02:26 AM Bug #18289: Enumerable#to_a should delegate keyword arguments to #each
nobu (Nobuyoshi Nakada) wrote in #note-4:
> Recently I've encountered similar issue with `grep(regexp, chomp: true)`...
jeremyevans0 (Jeremy Evans)
02:06 AM Bug #18289: Enumerable#to_a should delegate keyword arguments to #each
Recently I've encountered similar issue with `grep(regexp, chomp: true)`.
And `IO#each` has the separator and limit ...
nobu (Nobuyoshi Nakada)
01:46 AM Revision e5792e7d (git): Fix typo in ChangeLog-2.0.0 [ci skip]
180909 (佳华 王)
12:06 AM Revision 666a9185 (git): [rubygems/rubygems] GNU Make needs DESTDIR on Windows environment like msys or mingw
https://github.com/rubygems/rubygems/commit/7fd987d30d hsbt (Hiroshi SHIBATA)

11/05/2021

09:01 PM Revision fbd6cc58 (git): YJIT: Support iseq sends with mixed kwargs (#5082)
* YJIT: Support iseq sends with mixed kwargs
Co-authored-by: Kevin Newton <[email protected]>
* Add additional co...
jhawthorn (John Hawthorn)
08:54 PM Revision 9cc2c74b (git): YJIT: Implement checkkeyword (#5083)
Co-authored-by: John Crepezzi <[email protected]>
Co-authored-by: John Crepezzi <[email protected]>
jhawthorn (John Hawthorn)
07:44 PM Revision 91a90626 (git): YJIT: use shorter encoding for mov(r64,imm) when unambiguous (#5081)
* YJIT: use shorter encoding for mov(r64,imm) when unambiguous
Previously, for small constants such as `mov(RAX, imm...
alanwu (Alan Wu)
07:06 PM Feature #18287: Support nil value for sort in Dir.glob
Eregon (Benoit Daloze) wrote in #note-5:
> @jeremyevans0 Do you know any other core method with this behavior?
I ...
jeremyevans0 (Jeremy Evans)
06:38 PM Feature #18287: Support nil value for sort in Dir.glob
@jeremyevans0 Do you know any other core method with this behavior?
I am sure they are many dozens that meet my crit...
Eregon (Benoit Daloze)
06:42 PM Misc #18266: DevelopersMeeting20211118Japan
* [Feature #18287] Support nil value for sort in Dir.glob (eregon)
* Let's be consistent for core methods and trea...
Eregon (Benoit Daloze)
08:55 AM Misc #18266: DevelopersMeeting20211118Japan
- [Feature #18273] `Class#subclasses`
- Something we forgot to discuss as part of [Feature #14394].
- There ar...
byroot (Jean Boussier)
04:39 PM Revision 82ae9b09 (git): [rubygems/rubygems] Fix url
https://github.com/rubygems/rubygems/commit/6a5a80eff7 haruuzion
03:22 PM Bug #18289 (Closed): Enumerable#to_a should delegate keyword arguments to #each
Applied in changeset commit:git|e83c02a768af61cd0890a75e90bcae1119d8bd93.
----------
Delegate keywords from Enumerab...
jeremyevans (Jeremy Evans)
02:10 PM Bug #18289: Enumerable#to_a should delegate keyword arguments to #each
I've submitted a pull request to fix this: https://github.com/ruby/ruby/pull/5086 jeremyevans0 (Jeremy Evans)
11:11 AM Bug #18289 (Closed): Enumerable#to_a should delegate keyword arguments to #each
`Enumerable#to_a` has always delegated its arguments to `#each`, but it does not handle keyword arguments. This seems... Ethan (Ethan -)
03:22 PM Revision f1ca64ed (git): * 2021-11-06 [ci skip]
git[bot]
03:22 PM Revision e83c02a7 (git): Delegate keywords from Enumerable#to_a to #each
Fixes [Bug #18289] jeremyevans (Jeremy Evans)
03:21 PM Feature #18291: When use =~ with named group, if regex is on the right side, variable not defined.
`regexp.rdoc` documents that the literal regexp must be on the left hand side in order to assign to local variables, ... jeremyevans0 (Jeremy Evans)
03:12 PM Feature #18291 (Open): When use =~ with named group, if regex is on the right side, variable not defined.
Following code not work.
```rb
if "Billy Zheng" =~ /(?<first_name>\w+)\s+(?<last_name>\w+)/
p first_name
...
zw963 (Wei Zheng)
02:20 PM Revision 907aa475 (git): [rubygems/rubygems] Fix `ruby setup.rb` command when `--prefix` is passed
https://github.com/rubygems/rubygems/commit/8d04092f6e deivid (David Rodríguez)
02:20 PM Revision d47831d5 (git): [rubygems/rubygems] Bin dir should fall inside destdir
Since that's what happens in real life when `--destdir` is passed.
https://github.com/rubygems/rubygems/commit/55637...
deivid (David Rodríguez)
02:20 PM Revision ef6752c6 (git): [rubygems/rubygems] Remove unnecessary test setup
The method being unit tested here doesn't use
`RbConfig::CONFIG["bindir"]`.
https://github.com/rubygems/rubygems/com...
deivid (David Rodríguez)
02:20 PM Revision f5a4fdae (git): [rubygems/rubygems] Remove unnecessarily changing GEM_HOME
At this point gem paths are already loaded and memoize. Changing
`GEM_HOME` has no effect.
https://github.com/rubyge...
deivid (David Rodríguez)
02:20 PM Revision 87a8b224 (git): [rubygems/rubygems] Simplify `--destdir` test
https://github.com/rubygems/rubygems/commit/0571fd1ec6 deivid (David Rodríguez)
02:20 PM Revision e60c1f75 (git): [rubygems/rubygems] Refactor setup tests to not always pass `--prefix`
Standard usage should be tested by default. I will add a test for
`--prefix` once I fix that option since it's not wo...
deivid (David Rodríguez)
02:20 PM Revision 5b941ec9 (git): [rubygems/rubygems] Remove unnecessary loop
Rubygems installs a single executable. Make that explicit.
https://github.com/rubygems/rubygems/commit/2839d15521
deivid (David Rodríguez)
02:01 PM Feature #18290 (Closed): Deprecate rb_gc_force_recycle
# GitHub PR: https://github.com/ruby/ruby/pull/4363
I'm proposing to deprecate `rb_gc_force_recycle` and make it a...
peterzhu2118 (Peter Zhu)
11:03 AM Revision 56119c52 (git): Skip TestIRB::TestInit#test_recovery_sigint on Solaris
The test randomly gets stuck on Solaris:
http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20211105T0600...
mame (Yusuke Endoh)
07:00 AM Bug #18288 (Third Party's Issue): Getting error while installing Pod
I think this is the same issue as #17862, #17922, #17988, and #18071. See also https://github.com/typhoeus/ethon/issu... mame (Yusuke Endoh)
06:34 AM Bug #18288 (Third Party's Issue): Getting error while installing Pod
Getting below error while installing Pod.
You may have encountered a bug in the Ruby interpreter or extension libr...
Ritesh8313 (Ritesh Deopa)
01:32 AM Revision bfc0a71a (git): Suppress unused-function warnings
nobu (Nobuyoshi Nakada)
01:20 AM Revision f62f020f (git): Add the test of `Dir.glob` when `sort: true` is given explicitly
nobu (Nobuyoshi Nakada)
12:58 AM Revision 1ce3706c (git): [DOC] Fix indent as single paragraph [ci skip]
nobu (Nobuyoshi Nakada)
12:58 AM Revision f3812e6c (git): [DOC] Needs `call-seq` directives [ci skip]
nobu (Nobuyoshi Nakada)
12:58 AM Revision 53e2bba0 (git): [DOC] Markup the literal false, and constant [ci skip]
nobu (Nobuyoshi Nakada)
12:34 AM Revision 30886be9 (git): Skip bundled gem with an extension library under with-static-linked-ext
.. mainly to fix emscripten CI
http://rubyci.s3.amazonaws.com/crossruby/crossruby-master-wasm64_emscripten/log/20211...
mame (Yusuke Endoh)
 

Also available in: Atom