Project

General

Profile

Activity

From 07/16/2022 to 07/22/2022

07/22/2022

07:44 PM Revision 98a8a496 (git): Use rb_ary_tmp_new only for internal arrays
rb_ary_tmp_new sets the klass to 0, so it should only be used for
internal arrays.
peterzhu2118 (Peter Zhu)
06:42 PM Revision 244bda7e (git): [rubygems/rubygems] Display mfa warnings on gem signin
https://github.com/rubygems/rubygems/commit/4dc77b7099
Co-authored-by: Jenny Shen <[email protected]>
Ashley Ellis Pierce
05:48 PM Feature #18773: deconstruct to receive a range
@nevans I think that's a _really_ good idea. It has the advantage of being backward-compatible as well. @mame, @ktsj ... kddnewton (Kevin Newton)
05:29 PM Revision e199ae3e (git): Remove reference counting for all frozen arrays
The RARRAY_LITERAL_FLAG was added in commit
5871ecf956711fcacad7c03f2aef95115ed25bc4 to improve CoW performance for
a...
peterzhu2118 (Peter Zhu)
05:19 PM Bug #18935 (Feedback): Binary search reference not found
ruby-doc.org is not official documentation. Please use docs.ruby-lang.org instead. It works fine there: https://docs.... peterzhu2118 (Peter Zhu)
04:56 PM Bug #18935 (Feedback): Binary search reference not found
This method says "See binary searching" but I can't find anything relevant on the page. I would like to see an exampl... mperham (Mike Perham)
03:24 PM Revision 203de45b (git): * 2022-07-23 [ci skip]
git[bot]
03:24 PM Revision d77633a6 (git): [rubygems/rubygems] Bundler: update command example in bundle-exec(1)
Signed-off-by: Takuya Noguchi <[email protected]>
https://github.com/rubygems/rubygems/commit/28bf5c8b33
Takuya Noguchi
02:34 PM Revision b3be0307 (git): [ruby/reline] Rename dialog_pointer_* to dialog_highlight_*
"Pointer" is not what we usually use to describe a selected item.
"Highlight" is a more common word for the scenario...
st0012 (Stan Lo)
02:10 PM Revision 8f7e1888 (git): Add "rb_" prefixes to toplevel enum definitions
... as per ko1's request. mame (Yusuke Endoh)
02:10 PM Revision e763b111 (git): Move enum definitions out of struct definition
mame (Yusuke Endoh)
12:59 PM Revision c7fd015d (git): Update .indent.pro [ci skip]
nobu (Nobuyoshi Nakada)
12:59 PM Revision 92c7417d (git): Adjust indents [ci skip]
nobu (Nobuyoshi Nakada)
12:10 PM Bug #18780: Incorrect binding receiver for C API rb_eval_string()
Yes, it is a typo. Thank you. shyouhei (Shyouhei Urabe)
10:00 AM Bug #18780: Incorrect binding receiver for C API rb_eval_string()
Nice story :)
Probably a typo: `s/old table/old tale/`
Eregon (Benoit Daloze)
12:24 AM Bug #18780: Incorrect binding receiver for C API rb_eval_string()
Updating the header document.
```patch
From b968f277386649b7531a8999be54eacf3c599cdb Mon Sep 17 00:00:00 2001
From: ...
shyouhei (Shyouhei Urabe)
12:01 PM Revision c6734edc (git): [rubygems/rubygems] Remove bundle show from obsolete commands
Signed-off-by: Takuya Noguchi <[email protected]>
https://github.com/rubygems/rubygems/commit/6c07c9427b
Takuya Noguchi
12:01 PM Revision a4e890b9 (git): [rubygems/rubygems] Use `SystemExit#status` as `exit_code`
No reasons to manage separately.
https://github.com/rubygems/rubygems/commit/8ede5c886e
nobu (Nobuyoshi Nakada)
09:56 AM Bug #18810: Make `Kernel#p` interruptable.
mame (Yusuke Endoh) wrote in #note-2:
> Since `Kernel#p` is a method for debugging, I think this spec would be usefu...
Eregon (Benoit Daloze)
05:51 AM Bug #18810: Make `Kernel#p` interruptable.
@mame I understand the discussion and I'm okay with the outcome, but I still don't understand why being uninterruptib... ioquatix (Samuel Williams)
09:12 AM Bug #18907: rb_profile_frames output includes dummy main Thread frame
Update: I've rebased the PR to fix a conflict caused by the tabs-vs-spaces fix :) ivoanjo (Ivo Anjo)
09:10 AM Bug #18911: Process._fork hook point is not called when Process.daemon is used
I've just opened https://github.com/ruby/ruby/pull/6170 to add the comment.
Thanks @mame for going above and beyon...
ivoanjo (Ivo Anjo)
07:24 AM Revision 55c771c3 (git): [rubygems/rubygems] rubygems.rb is required by gem_runner.rb
https://github.com/rubygems/rubygems/commit/503f763865 hsbt (Hiroshi SHIBATA)
07:24 AM Revision fe770716 (git): [rubygems/rubygems] Removed needless value assignment
https://github.com/rubygems/rubygems/commit/5825c4c2e8 hsbt (Hiroshi SHIBATA)
03:23 AM Revision f081e1fe (git): Revive .indent.pro with adding `-nut`(`--no-tabs`) [ci skip]
nobu (Nobuyoshi Nakada)
03:09 AM Revision 5904895c (git): Add .git-blame-ignore-revs
Signed-off-by: Takuya Noguchi <[email protected]> Takuya Noguchi
03:07 AM Revision d7ffd3fe (git): RubyGems: Enable Style/StringLiterals cop
Signed-off-by: Takuya Noguchi <[email protected]> Takuya Noguchi
03:06 AM Revision 388c4e10 (git): Make Gem::SystemExitException properly exit with a given code
The cause was in how Gem::SystemExitException initializes itself. It
didn't pass an exit code to the super method. ...
Akinori MUSHA
03:06 AM Revision 6b749968 (git): bin/gem: remove initial empty line
kenyon (Kenyon Ralph)
03:06 AM Revision b4876c8e (git): Removed needless condition for old versions of Ruby.
hsbt (Hiroshi SHIBATA)
03:06 AM Revision 1ed7ab29 (git): Enable Style/MultilineIfThen in Rubocop
bronzdoc
03:06 AM Revision 3b67c161 (git): Remove trailing blank lines
deivid (David Rodríguez)
03:06 AM Revision 030c41bf (git): Improve user-facing messages by consistent casing of Ruby/RubyGems
(when it referred to the general concept and not a path), single-spacing
between sentences, and a few other small iss...
John Labovitz
01:41 AM Revision c6aa6543 (git): Get rid of magic numbers
nobu (Nobuyoshi Nakada)
01:41 AM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
To all the old-time commuters,
Though we have to reduce the mail aliases for a technical reason, this does NOT mea...
mame (Yusuke Endoh)
01:20 AM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
I've sent the following E-mail to adresses to be removed:
```
Subject: [email protected] will be removed ...
shugo (Shugo Maeda)
12:56 AM Revision cf7d0757 (git): Dump non-ASCII char as unsigned
Non-ASCII code may be negative on platforms plain char is signed. nobu (Nobuyoshi Nakada)

07/21/2022

10:52 PM Feature #18809: Add Numeric#ceildiv
Thank you for accepting.
I updated the PR. The PR contains only `Integer#ceildiv`.
kyanagi (Kouhei Yanagita)
11:58 AM Feature #18809: Add Numeric#ceildiv
Additional information.
* We do introduce only `Integer#ceildiv`.
* We do not introduce `Numeric#ceildiv` until w...
mame (Yusuke Endoh)
05:03 AM Feature #18809: Add Numeric#ceildiv
Let's add `Integer#ceildiv`.
Matz.
matz (Yukihiro Matsumoto)
07:55 PM Bug #18770 (Closed): Inconsistent behavior of IO/StringIO's each methods when called with nil as a separator, limit and chomp: true
Applied in changeset commit:git|7223c0da152114c84e1c4261a282faaea21646fb.
----------
Do not chomp trailing line sepa...
jeremyevans (Jeremy Evans)
03:34 PM Bug #18770 (Open): Inconsistent behavior of IO/StringIO's each methods when called with nil as a separator, limit and chomp: true
jeremyevans0 (Jeremy Evans)
03:13 PM Bug #18770 (Closed): Inconsistent behavior of IO/StringIO's each methods when called with nil as a separator, limit and chomp: true
Applied in changeset commit:git|04f86ad0b5d2fe4711ff300d855228a6aed55f33.
----------
Do not chomp trailing line sepa...
jeremyevans (Jeremy Evans)
12:26 PM Bug #18770: Inconsistent behavior of IO/StringIO's each methods when called with nil as a separator, limit and chomp: true
We discussed this at the dev meeting, and @matz agreed with @jeremyevans0. mame (Yusuke Endoh)
07:55 PM Revision 7223c0da (git): Do not chomp trailing line separator IO#each with nil separator and chomp
nil separator means no sepator, so chomp should not remove a line
separator.
Partially Fixes [Bug #18770]
jeremyevans (Jeremy Evans)
07:49 PM Revision 3a5ea7c6 (git): Remove unused variable in array.c
array.c:460:14: warning: unused variable 'len' [-Wunused-variable]
long len = ARY_HEAP_LEN(ary);
peterzhu2118 (Peter Zhu)
07:17 PM Revision 9d862011 (git): Remove check for shared root arrays
All shared root arrays should not be on the transient heap.
ary_make_shared evacuates arrays from the transient heap ...
peterzhu2118 (Peter Zhu)
05:56 PM Revision f0ae583a (git): Revert "objspace_dump.c: skip dumping method name if not pure ASCII"
This reverts commit 79406e3600862bbb6dcdd7c5ef8de1978e6f916c. Jean byroot Boussier
05:07 PM Revision 4af0dd36 (git): Remove the file that was probably added by accident [ci skip]
nobu (Nobuyoshi Nakada)
05:01 PM Feature #18934 (Rejected): Proposal: Introduce method results memoization API in the core
**Abstract:** I propose to introduce a simple core API for memoizing argument-less method return values.
```ruby
...
zverok (Victor Shepelev)
05:00 PM Revision 26619804 (git): Add .git-blame-ignore-revs [ci skip]
for [Misc #18891]
It is a file that could be used with `git config blame.ignoreRevsFile`.
The file name `.git-blame-...
k0kubun (Takashi Kokubun)
04:44 PM Misc #18891: Expand tabs in C code
I forgot to mention that I appreciate everybody who supported this decision. Thank you so much. k0kubun (Takashi Kokubun)
04:42 PM Misc #18891 (Closed): Expand tabs in C code
Applied in changeset commit:git|5b21e94bebed90180d8ff63dad03b8b948361089.
----------
Expand tabs [ci skip]
[Misc #1...
k0kubun (Takashi Kokubun)
04:41 PM Misc #18891: Expand tabs in C code
> Unfortunately you can't set it at the global level because git blame fails if the file does not exist, and that wou... k0kubun (Takashi Kokubun)
03:36 PM Misc #18891: Expand tabs in C code
> If you have `git config --global blame.ignoreRevsFile .git-blame-ignore-revs`, git blame ignores it properly too.
...
etienne (Étienne Barrié)
12:23 PM Misc #18891 (Assigned): Expand tabs in C code
We discussed this issue at the dev meeting.
Finally, we were able to reach an agreement to expand hard tabs. Congr...
mame (Yusuke Endoh)
03:53 AM Misc #18891: Expand tabs in C code
@nagachika Thank you for your comment. I vote for 2 too.
> If CRuby does not do this, it is explicitly rejecting n...
mame (Yusuke Endoh)
03:05 AM Misc #18891: Expand tabs in C code
I also support the 2nd solution from the perspective of stable branch maintenance. nagachika (Tomoyuki Chikanaga)
04:43 PM Revision 79406e36 (git): objspace_dump.c: skip dumping method name if not pure ASCII
Sidekiq has a method named `❨╯°□°❩╯︵┻━┻`which corrupts
heap dumps.
Normally we could just dump is as is since it's v...
byroot (Jean Boussier)
04:42 PM Revision 5b21e94b (git): Expand tabs [ci skip]
[Misc #18891] k0kubun (Takashi Kokubun)
03:49 PM Revision 3ff53c8e (git): Remove macOS 10.15 from CI
macOS 10.15 is deprecated on GitHub Actions and will have periodic
brownouts. See actions/virtual-environments#5583.
peterzhu2118 (Peter Zhu)
03:29 PM Revision 203f179c (git): Revert "Do not chomp trailing line separator IO#each with nil separator and chomp"
This reverts commit 04f86ad0b5d2fe4711ff300d855228a6aed55f33.
This is causing CI issues, reverting for now.
jeremyevans (Jeremy Evans)
03:28 PM Feature #18832 (Closed): Do not have class/module keywords consider ancestors of Object
Applied in changeset commit:git|12ac8971a394118a57640299f654e46e763093fa.
----------
Do not have class/module keywor...
jeremyevans (Jeremy Evans)
11:49 AM Feature #18832: Do not have class/module keywords consider ancestors of Object
We discussed this ticket at the dev meeting.
@matz said he wanted to try the change, i.e., `include M; class C; en...
mame (Yusuke Endoh)
03:28 PM Revision 12ac8971 (git): Do not have class/module keywords look up ancestors of Object
Fixes case where Object includes a module that defines a constant,
then using class/module keyword to define the same...
jeremyevans (Jeremy Evans)
03:13 PM Revision 04f86ad0 (git): Do not chomp trailing line separator IO#each with nil separator and chomp
nil separator means no sepator, so chomp should not remove a line
separator.
Partially Fixes [Bug #18770]
jeremyevans (Jeremy Evans)
03:02 PM Bug #18768 (Closed): Inconsistent behavior of IO, StringIO and String each_line methods when return paragraph and chomp: true passed
Applied in changeset commit:git|423b41cba77719b4f62aa530593ad36a990f7c74.
----------
Make String#each_line work corr...
jeremyevans (Jeremy Evans)
12:25 PM Bug #18768: Inconsistent behavior of IO, StringIO and String each_line methods when return paragraph and chomp: true passed
We discussed this at the dev meeting, and @matz agreed with @jeremyevans0: `chomp: true` should remove the separator.... mame (Yusuke Endoh)
03:02 PM Revision 672925bf (git): * 2022-07-22 [ci skip]
git[bot]
03:02 PM Revision 423b41cb (git): Make String#each_line work correctly with paragraph separator and chomp
Previously, it was including one newline when chomp was used,
which is inconsistent with IO#each_line behavior. This ...
jeremyevans (Jeremy Evans)
02:53 PM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
I just saw the "deletion in parallel` explanation. In that case, I guess it makes sense to ignore all "file does not ... deivid (David Rodríguez)
02:12 PM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
Thanks for discussing it!
In my opinion, the current behavior is hardly useful for anyone, so I think it should be...
deivid (David Rodríguez)
01:11 PM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
At the dev meeting, we had a long discussion about this issue.
@aamine, who is the original author of fileutils, s...
mame (Yusuke Endoh)
02:46 PM Bug #18929 (Closed): ruby master looks slower than 3.1 on a micro benchmark of short-lived objects
Applied in changeset commit:git|cdbb9b8555b4ddcc4c557f25ad785cae6209478d.
----------
[Bug #18929] Fix heap creation ...
peterzhu2118 (Peter Zhu)
02:07 AM Bug #18929: ruby master looks slower than 3.1 on a micro benchmark of short-lived objects
Thank you for the quick fix! Your patch seems to make sense to me. mame (Yusuke Endoh)
02:46 PM Revision cdbb9b85 (git): [Bug #18929] Fix heap creation thrashing in GC
Before this commit, if we don't have enough slots after sweeping but
had pages on the tomb heap, then the GC would fr...
peterzhu2118 (Peter Zhu)
01:36 PM Bug #18911: Process._fork hook point is not called when Process.daemon is used
> ...would it be reasonable to add a "Note: Process#daemon is similar to fork, but does not go through this method." ... mame (Yusuke Endoh)
01:32 PM Revision 804b0735 (git): Update common sources including id.h after update
nobu (Nobuyoshi Nakada)
01:06 PM Revision f954c5da (git): string.c: use str_enc_fastpath in TERM_LEN
Not having to fetch the rb_encoding save a significant
amount of time.
Additionally, even when we have to fetch it, ...
byroot (Jean Boussier)
01:02 PM Revision 80672b2d (git): Add comment in array.c about flags
peterzhu2118 (Peter Zhu)
01:02 PM Revision d67fcdcc (git): Add RARRAY_SHARED_FLAG
peterzhu2118 (Peter Zhu)
01:02 PM Revision 1c9acb6b (git): Refactor macros of array.c
Move some macros in array.c to internal/array.h so that other files
can also access these macros.
peterzhu2118 (Peter Zhu)
01:02 PM Revision 4798a4fe (git): Remove unused internal macros in rarray.h
peterzhu2118 (Peter Zhu)
12:45 PM Bug #18933 (Closed): Dir.tmpdir implemented in non-Ractor-safe manner
# Background
Inside a Ractor, it is expected that generating a temporary directory using `Dir.tmpdir` will work. T...
kreynolds (Kelley Reynolds)
12:28 PM Bug #18837 (Rejected): Not possible to evaluate expression with numbered parameters in it
We discussed this issue at the dev meeting. @matz agreed that it is difficult to support this for the reasons I said... mame (Yusuke Endoh)
12:20 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
We discussed this ticket at the dev meeting.
@usa and @nobu said that `File.read` reads a file in text mode. And t...
mame (Yusuke Endoh)
12:09 PM Bug #18780: Incorrect binding receiver for C API rb_eval_string()
We discussed this issue at the dev meeting.
@matz said `self` should be changed. `rb_eval_string` should evaluate ...
mame (Yusuke Endoh)
12:00 PM Bug #18810: Make `Kernel#p` interruptable.
We discussed this issue at the dev meeting. We will add a document to `Kernel#p` so that it is uninterruptible and fo... mame (Yusuke Endoh)
11:43 AM Misc #18836: DevMeeting-2022-07-21
We did not make it in time to discuss all the topics; we will continue on 2nd Aug. mame (Yusuke Endoh)
05:23 AM Feature #18655: Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
After the discussion, we will drop `wait_priority`, but others are accepted.
Matz.
matz (Yukihiro Matsumoto)
02:45 AM Revision 86b29ef8 (git): [ruby/digest] Ignore test_ractor.rb on non-Ractor ruby
https://github.com/ruby/digest/commit/352b8c1636 nobu (Nobuyoshi Nakada)
12:58 AM Revision 4a7ecc1b (git): [ruby/digest] Find an available digest algorithm to test
https://github.com/ruby/digest/commit/8844716793 nobu (Nobuyoshi Nakada)

07/20/2022

10:51 PM Bug #18932 (Closed): Ruby 3.1 - Allow building with VS 2022
I know MSFT stated that one of the issues with VS 2022 would be fixed. That was noticed with RUby master (3.2). I.t... MSP-Greg (Greg L)
10:50 PM Misc #18916 (Closed): Windows mswin builds - should gmp be used?
jeremyevans0 (Jeremy Evans)
10:47 PM Misc #18916: Windows mswin builds - should gmp be used?
I added the gmp package, and mswin build didn't compile with it. Please close. MSP-Greg (Greg L)
08:45 PM Revision 1341dea7 (git): Prevent the stack from being marked twice
This commit prevents the stack from being marked twice: once via the
Fiber, and once via the Thread. It introduces a...
tenderlovemaking (Aaron Patterson)
05:44 PM Bug #18929: ruby master looks slower than 3.1 on a micro benchmark of short-lived objects
Thanks for bug report and benchmarking the performance over time! I found a bug that causes thrashing in heap page al... peterzhu2118 (Peter Zhu)
08:21 AM Bug #18929 (Closed): ruby master looks slower than 3.1 on a micro benchmark of short-lived objects
```
$ time ruby -ve '10000000.times { Object.new }'
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
...
mame (Yusuke Endoh)
05:38 PM Revision 32e406d6 (git): Ensure _id2ref finds symbols with the correct type
Prior to this commit it was possible to call `ObjectSpace._id2ref` with
an offset static symbol object_id and get bac...
dodecadaniel (Daniel Colson)
05:13 PM Revision 5871ecf9 (git): Add RARRAY_LITERAL_FLAG for array literals
Array created as literals during iseq compilation don't need a
reference count since they can never be modified. The ...
peterzhu2118 (Peter Zhu)
04:38 PM Bug #18931: Inconsistent handling of invalid codepoints in String#lstrip and String#rstrip
My own take on three options, with no significance to the order, are:
**Ignore the code point**
The documentati...
nirvdrum (Kevin Menard)
04:25 PM Bug #18931 (Closed): Inconsistent handling of invalid codepoints in String#lstrip and String#rstrip
When attempting to strip a string, there are three basic options when an invalid code point is encountered:
1) Ign...
nirvdrum (Kevin Menard)
04:32 PM Revision b25ee69e (git): * 2022-07-21 [ci skip]
git[bot]
04:31 PM Revision 660b1e97 (git): YJIT: Skip setlocal WB check for immediate values (#6122)
Write barriers may be required when VM_ENV_FLAG_WB_REQUIRED is set,
however write barriers only affect heap objects b...
jhawthorn (John Hawthorn)
04:20 PM Bug #17767: `Cloned ENV` inconsistently returns `ENV` or `self`
Now can/should we make `ENV.clone` an error too?
nobu (Nobuyoshi Nakada)
02:48 PM Revision 6140edb5 (git): Match +YJIT in Ruby desc when testing segv (#6141)
In test_bug_reporter and test_rubyoptions we intentionally
test child processes that cause SEGV. We run them with YJI...
Noah Gibbs
01:11 PM Bug #18727 (Closed): Make failed on x86_64-cygwin (LoadError)
peterzhu2118 (Peter Zhu)
12:41 PM Bug #18928 (Closed): Crash in WeakMap when inspecting T_FREE objects
Applied in changeset commit:git|86d061294d3cc1656e18d0e1fd4b4f290da16944.
----------
[Bug #18928] Fix crash in WeakM...
peterzhu2118 (Peter Zhu)
01:39 AM Bug #18928 (Closed): Crash in WeakMap when inspecting T_FREE objects
Pull request: https://github.com/ruby/ruby/pull/6152
WeakMap tests occasionally crash on CI due to trying to inspe...
peterzhu2118 (Peter Zhu)
12:40 PM Revision 86d06129 (git): [Bug #18928] Fix crash in WeakMap
In wmap_live_p, if is_pointer_to_heap returns false, then the page is
either in the tomb or has already been freed, s...
peterzhu2118 (Peter Zhu)
11:48 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
Okay, I was able to make it work:
```ruby
STDIN.timeout = 1
pp STDIN.read
```
Output:
```
/Users/samue...
ioquatix (Samuel Williams)
10:13 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
I think we can make this for blocking operations too, but the code path will be a little different if a timeout is set. ioquatix (Samuel Williams)
10:57 AM Bug #18927: Can't access class variable directly with class inheritance
I filed an issue for that: #18930 Eregon (Benoit Daloze)
10:54 AM Bug #18927: Can't access class variable directly with class inheritance
mame (Yusuke Endoh) wrote in #note-2:
> > It's best to avoid using class variables completely in Ruby.
>
> Agreed...
Eregon (Benoit Daloze)
01:43 AM Bug #18927 (Rejected): Can't access class variable directly with class inheritance
Once a class variable is declared (initialized) in the lexical context of Child, it can only be accessed from the lex... mame (Yusuke Endoh)
10:57 AM Feature #18930 (Rejected): Officially deprecate class variables
Ruby's class variables are very confusing, and it seem many people agree they should be avoided (#18927).
How abou...
Eregon (Benoit Daloze)
10:55 AM Revision fa5724cc (git): [rubygems/rubygems] Fix `ruby setup.rb --destdir /foo` modifying global specs
Running a command like that is actually removing any previous default
bundler specs in the default RubyGems installat...
deivid (David Rodríguez)
10:55 AM Revision fae0d601 (git): [rubygems/rubygems] Refactor destdir checks
https://github.com/rubygems/rubygems/commit/ca956c0de2 deivid (David Rodríguez)
10:55 AM Revision fcfb3ce3 (git): [rubygems/rubygems] More cleanup
https://github.com/rubygems/rubygems/commit/6012800a20 deivid (David Rodríguez)
10:55 AM Revision bdef3c73 (git): [rubygems/rubygems] Unify common logic
https://github.com/rubygems/rubygems/commit/e5434be14c deivid (David Rodríguez)
10:51 AM Feature #18919: Ractor: can't share #Method objects
I don't see a `.to_proc` call in the description.
Either way, both Method and Proc objects can't be shared, they hav...
Eregon (Benoit Daloze)
03:18 AM Feature #18919: Ractor: can't share #Method objects
This is just an aside, but for what it's worth you can pass the class and method name and reconstitute a Method insta... shan (Shannon Skipper)
10:45 AM Revision cbaf58d4 (git): [rubygems/rubygems] Bundler: update primary source in man 5 gemfile
Specifying multiple primary sources in top-level was deprecated in
Bundler 1.13.
As Bundler CLI uses primary source i...
Takuya Noguchi
08:39 AM Revision 472740de (git): Fix free objects count condition
Free objects have `T_NONE` as the builtin type. A pointer to a valid
array element will never be `NULL`.
nobu (Nobuyoshi Nakada)
02:48 AM Feature #18913 (Rejected): Add object name to the NoMethodError error message: undefined method `_method_' for `_class_' in `_object_name_'
I close this ticket. If you have any opinion, please let me know. mame (Yusuke Endoh)
01:58 AM Bug #18837: Not possible to evaluate expression with numbered parameters in it
I talked a bit with some of the committers.
@ko1 said that it is difficult to retrieve `_1` afterwards due to the ...
mame (Yusuke Endoh)
12:40 AM Revision e330dceb (git): Mark ruby scripts in YAML [ci skip]
```elisp
(mmm-ify-by-regexp 'ruby-mode
"^ *#!.*ruby" 0 "^ *shell: *ruby.*{0}" 0 0)
```
nobu (Nobuyoshi Nakada)

07/19/2022

07:35 PM Bug #18927: Can't access class variable directly with class inheritance
Class variable lookup is different from instance variable and constant lookup, but it is more similar to constant loo... jeremyevans0 (Jeremy Evans)
07:11 PM Bug #18927 (Rejected): Can't access class variable directly with class inheritance
If a child class inherits from a parent class, and the child class sets a class variable, the parent class can't acce... jemmai (Jemma Issroff)
06:03 PM Revision c0aa8ee9 (git): [rubygems/rubygems] Fix casing typo when resetting `RbConfig::CONFIG["ENABLE_SHARED"]`
https://github.com/rubygems/rubygems/commit/3d1ae0050b deivid (David Rodríguez)
03:44 PM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
Can you build with `bigdecimal` included and post
`cat ext/bigdecimal/mkmf.log` from the build directory?
I ran int...
alanwu (Alan Wu)
03:23 PM Bug #18905 (Closed): :"@=".inspect is non-evaluatable
Applied in changeset commit:git|8f1759143533d2b772efd5184ba02738f66fe1fc.
----------
[Bug #18905] Check symbol name ...
nobu (Nobuyoshi Nakada)
03:23 PM Revision 9ce27dd2 (git): * 2022-07-20 [ci skip]
git[bot]
03:23 PM Revision 8f175914 (git): [Bug #18905] Check symbol name types more strictly
nobu (Nobuyoshi Nakada)
02:51 PM Revision 631b34ef (git): [rubygems/rubygems] Bundler: change error/warning message for multiple global sources
Signed-off-by: Takuya Noguchi <[email protected]>
https://github.com/rubygems/rubygems/commit/316564b8fc
Takuya Noguchi
02:26 PM Feature #18926 (Open): Ractor should support mutexes and treat the block as critical section across ractors
This is an improvement suggestion in order to foster adoption of ractors. It may not be technically impossible or unf... chucke (Tiago Cardoso)
10:47 AM Bug #18909: ARGF.readlines reads more than current file
JohanJosefsson (Johan Josefsson) wrote in #note-13:
> Sad to hear that. Those perl-like features have been my favori...
Eregon (Benoit Daloze)
09:28 AM Bug #18909: ARGF.readlines reads more than current file
Is this what you want?
```
$ echo primo > a
$ echo secundo >> a
$ echo PRIMO > b
$ ruby -i.bak -e 'until ARG...
mame (Yusuke Endoh)
10:15 AM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
Thank you @mame for doing that!
I wrote the issue in code in the upstream issue: https://github.com/ruby/fileutils/i...
deivid (David Rodríguez)
07:50 AM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
It would be helpful to write the issue in code:
```
$ mkdir foo # create "foo/...
mame (Yusuke Endoh)
09:36 AM Feature #18897: Add a new instruction for sending messages to ephemeral stack arrays
@tenderlovemaking Thank you! Your patch looks good to me. mame (Yusuke Endoh)
09:06 AM Feature #18925: Add `FileUtils.ln_sr` to create symbolic links relative to link location
https://github.com/ruby/fileutils/pull/97 nobu (Nobuyoshi Nakada)
08:53 AM Feature #18925 (Closed): Add `FileUtils.ln_sr` to create symbolic links relative to link location
Usual `File.symlink` (and `ln -s`) creates a symbolic link as the given argument.
GNU coreutils `ln` has `-r` (`--re...
nobu (Nobuyoshi Nakada)
08:41 AM Revision cb9fd920 (git): str_buf_cat: preserve coderange when going through fastpath
rb_str_modify clear the coderange, which in this case isn't
necessary.
```
compare-ruby: ruby 3.2.0dev (2022-07-12T1...
byroot (Jean Boussier)
08:41 AM Revision 0ae8dbbe (git): rb_str_buf_append: fastpath to str_buf_cat
If the LHS is ASCII compatible and the RHS is 7BIT
we can directly concat without being concerned about
anything else...
byroot (Jean Boussier)
08:33 AM Revision ee1d2b27 (git): [ruby/fileutils] Add an octal prefix to clarify to be octal
https://github.com/ruby/fileutils/commit/332025bc02
Co-Authored-By: David Rodríguez <[email protected]>
nobu (Nobuyoshi Nakada)
06:48 AM Revision d084585f (git): Rename ENCINDEX_ASCII to ENCINDEX_ASCII_8BIT
Otherwise it's way too easy to confuse it with US_ASCII. byroot (Jean Boussier)
02:41 AM Feature #12648: `Enumerable#sort_by` with descending option
It's a lot of work to write `sort_by { -1 * _1.created_at.to_f }` when the target objects are `Time` instances.
``...
ttanimichi (Tsukuru Tanimichi)
12:40 AM Misc #18921: Remove workaround for some fixed bug (llvm.4898 & 38095)?
Well I'm not against deleting those parts someday, but our CI still have clang-3.9 coverage. It seems we still need ... shyouhei (Shyouhei Urabe)

07/18/2022

09:06 PM Revision 85ea4673 (git): Separate TS_IVC and TS_ICVARC in is_entries buffers
This allows us to treat cvar caches differently than ivar caches. jemmai (Jemma Issroff)
07:46 PM Revision 3ac9956d (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.19 to 0.9.20.
- [Release notes](https://github.com/oxid...
dependabot[bot]
07:44 PM Revision ecff3349 (git): Extract vm_ic_entry API to mimic vm_cc behavior
jemmai (Jemma Issroff)
05:49 PM Revision f240e28d (git): * 2022-07-19 [ci skip]
git[bot]
05:49 PM Revision c6fe11cf (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.19 to 0.9.20.
- [Release notes](https://github.com/oxid...
dependabot[bot]
02:49 PM Revision a1c0aa77 (git): Remove unused variable in array.c
vshared is no longer used. peterzhu2118 (Peter Zhu)
02:24 PM Revision fd0902bf (git): [rubygems/rubygems] Move fileutils require to be even more lazy
If directories are already created (the common case), fileutils won't be
required at all.
https://github.com/rubygem...
deivid (David Rodríguez)
01:36 PM Revision dd362a78 (git): [ruby/rdoc] Fix call-seq for aliased method with similar names
deduplicate_call_seq has a bug that skips call-seq for methods where the
alias is a prefix of the method name. For ex...
peterzhu2118 (Peter Zhu)
12:18 PM Bug #18922: Time at 24:00:00 UTC is not normalized
As a record: the behavior I found was about Time#inspect, which was clearly wrong.
```
$ ruby -ve 'p Time.new(200...
mame (Yusuke Endoh)
10:07 AM Revision a74634de (git): [rubygems/rubygems] Fix upgrading RubyGems with a customized `Gem.default_dir`
https://github.com/rubygems/rubygems/commit/16d01f9486 deivid (David Rodríguez)
10:07 AM Revision 01560e1c (git): [rubygems/rubygems] Improve error message when gems cannot be found
Include the source of each gem.
https://github.com/rubygems/rubygems/commit/a0bed2fb79
deivid (David Rodríguez)

07/17/2022

08:42 PM Misc #18924 (Open): lstrlen and lstrcat still in use
In practice, as-used, this is probably benign, but is a Terrible Idea.
There are several places where someone's st...
[email protected] (Alexander Riccio)
08:33 PM Bug #18923 (Open): Dir.glob Errno::ENAMETOOLONG - Caused by outdated logic in open_dir_handle (win32.c)
This bug - as do most of my bug reports - started out while dealing with something productive and completely unrelate... [email protected] (Alexander Riccio)
04:00 PM Bug #18922 (Closed): Time at 24:00:00 UTC is not normalized
Applied in changeset commit:git|68903df6f6fc548f3bf68fb09ee8b2495dcd28f0.
----------
[Bug #18922] Normalize time at ...
nobu (Nobuyoshi Nakada)
03:08 PM Bug #18922: Time at 24:00:00 UTC is not normalized
`Time.new(2000, 1, 1, 24, 0, 0, "Z").to_a[0, 6]` returns `[0, 0, 24, 1, 1, 2000]` since 2.7.
It seems to be a much o...
nobu (Nobuyoshi Nakada)
01:41 PM Bug #18922 (Closed): Time at 24:00:00 UTC is not normalized
Reported by @mame.
```shell-session
$ ruby3.0 -e 'p Time.new(2000, 1, 1, 24, 0, 0, "-00:00").to_a[0, 6]'
[0, 0, ...
nobu (Nobuyoshi Nakada)
03:59 PM Revision 82add06f (git): * 2022-07-18 [ci skip]
git[bot]
03:59 PM Revision 68903df6 (git): [Bug #18922] Normalize time at 24:00:00 UTC
nobu (Nobuyoshi Nakada)
10:57 AM Revision 64cff780 (git): `Gem.unpack` extracts gems so able to execute
Creates simple bin stubs to load the extracted executable files.
After only extracted under `gems` directory, the gem...
nobu (Nobuyoshi Nakada)
10:44 AM Revision fab8f3bd (git): [rubygems/rubygems] Stop using `/dev/null` for silent ui for WASI platform
WASI doesn't guarantee that `/dev/null` is present.
So without this patch, we needed to mount host's `/dev` directory...
katei (Yuta Saito)
09:27 AM Revision 5081d0dd (git): [rubygems/rubygems] bundler: fix typo in inline RuboCop config
Signed-off-by: Takuya Noguchi <[email protected]>
https://github.com/rubygems/rubygems/commit/e11f5a143b
Takuya Noguchi
08:47 AM Revision ef2d6730 (git): [rubygems/rubygems] Show a proper error if extension dir is not writable
Instead of showing the bug report template.
https://github.com/rubygems/rubygems/commit/0c8b6f7dd5
deivid (David Rodríguez)
08:47 AM Revision 3cfc3fcf (git): [rubygems/rubygems] Unify some common code
https://github.com/rubygems/rubygems/commit/972e8ff965 deivid (David Rodríguez)
08:47 AM Revision 14f52cfc (git): [rubygems/rubygems] Don't call `#build_extensions` at all if there are no extensions
https://github.com/rubygems/rubygems/commit/5ecc0e0b31 deivid (David Rodríguez)
01:30 AM Revision d20886dd (git): Create build-only gemspec files only if having an extension
nobu (Nobuyoshi Nakada)
01:18 AM Revision d010eba2 (git): Fix tests for ABI incompatible binary error messags
nobu (Nobuyoshi Nakada)
12:02 AM Revision efa557cb (git): * 2022-07-17 [ci skip]
git[bot]
12:01 AM Revision 50cfecd0 (git): Show ABI incompatible binary path
nobu (Nobuyoshi Nakada)

07/16/2022

03:52 PM Misc #18921 (Open): Remove workaround for some fixed bug (llvm.4898 & 38095)?
I notice a workaround for llvm.4898 in constant_p.h:
https://github.com/ruby/ruby/blob/master/include/ruby/internal/...
Chandler (Chandler Hen)
10:57 AM Bug #18920 (Closed): Documentation on ARGF.inplace_mode and ARGF.inplace_mode= is wrong
The file extension is appended to a copy of the original file and not to the modified file.
Cf. man page for ruby.
JohanJosefsson (Johan Josefsson)
10:47 AM Bug #18909: ARGF.readlines reads more than current file
Eregon (Benoit Daloze) wrote in #note-11:
> My two cents, options like `-i`/`-n`/`-p` shouldn't be used, I think the...
JohanJosefsson (Johan Josefsson)
10:25 AM Bug #18909: ARGF.readlines reads more than current file
austin (Austin Ziegler) wrote in #note-10:
...
In your link it is clear that e.g. in the case of read, `ARGF` concate...
JohanJosefsson (Johan Josefsson)
10:06 AM Bug #18909: ARGF.readlines reads more than current file
My two cents, options like `-i`/`-n`/`-p` shouldn't be used, I think they are vestigial legacy flags inherited from P... Eregon (Benoit Daloze)
10:33 AM Revision 5ae83151 (git): [rubygems/rubygems] Drop support for old `Gem::Specification` versions
`specification_version` method was added before RubyGems 1.0, and
`add_runtime_dependency` method was before 1.2. Th...
nobu (Nobuyoshi Nakada)
08:58 AM Revision 6c1d7dab (git): Fix conversion from absolute path to relative path
nobu (Nobuyoshi Nakada)
07:38 AM Revision c093e7d6 (git): Avoid to symlink under symlink
nobu (Nobuyoshi Nakada)
06:28 AM Revision 5101671c (git): Disable parallel built in test-bundled-gems
nobu (Nobuyoshi Nakada)
03:19 AM Feature #18885: End of boot advisory API for RubyVM
This is a really nice idea. My current implementation uses `GC.compact` during prefork stage, and it shows a big adva... ioquatix (Samuel Williams)
02:26 AM Revision b536ac2c (git): test-bundled-gems.rb needs `+` with GNU make
This script runs `make` internally, and sub-`make`s need the
environment variable for the job server when compiling i...
nobu (Nobuyoshi Nakada)
01:11 AM Revision 78d2be69 (git): Move copying/linking extra files to Makefile so removed by `clean`
nobu (Nobuyoshi Nakada)
 

Also available in: Atom