Project

General

Profile

Activity

From 07/15/2022 to 07/21/2022

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)

07/15/2022

10:07 PM Feature #18919 (Assigned): Ractor: can't share #Method objects
The following is not shareable:
```ruby
> meth = ::Kernel.method(:BigDecimal)
=> #<Method: Kernel.BigDecimal(*)>...
chucke (Tiago Cardoso)
08:39 PM Revision f375280d (git): Add benchmarks for setting / getting ivars on generics
jemmai (Jemma Issroff)
07:17 PM Bug #18909: ARGF.readlines reads more than current file
JohanJosefsson (Johan Josefsson) wrote in #note-9:
> There is nothing in the introductory paragraphs on ARGF that sa...
austin (Austin Ziegler)
06:48 PM Bug #18909: ARGF.readlines reads more than current file
But this "documented API" was not implemented in the way it was described. From my limited viewpoint I would have pre... JohanJosefsson (Johan Josefsson)
05:51 PM Bug #18909: ARGF.readlines reads more than current file
JohanJosefsson (Johan Josefsson) wrote in #note-7:
> Yes, ARGF can work with a concatenated pseudo file in several w...
ufuk (Ufuk Kayserilioglu)
05:36 PM Bug #18909: ARGF.readlines reads more than current file
Yes, ARGF can work with a concatenated pseudo file in several ways but this idea collides squarely with the idea of i... JohanJosefsson (Johan Josefsson)
05:30 PM Bug #18909 (Closed): ARGF.readlines reads more than current file
Applied in changeset commit:git|280b805d040fa537d5a459b40d4bfa6d49700905.
----------
[DOC] Fix documentation for ARG...
peterzhu2118 (Peter Zhu)
03:53 PM Bug #18909: ARGF.readlines reads more than current file
Moreover, it is documented that `ARGF` works this way in general: https://ruby-doc.org/core-3.1.0/ARGF.html
> You ca...
ufuk (Ufuk Kayserilioglu)
02:28 PM Bug #18909: ARGF.readlines reads more than current file
This is how it's designed to work, as specified in the [Ruby spec](https://github.com/ruby/spec/blob/master/core/argf... peterzhu2118 (Peter Zhu)
06:33 AM Bug #18909: ARGF.readlines reads more than current file
Hm…if I understand it correctly, this just changed the documentation to conform to a strange behavior. Strange in the... JohanJosefsson (Johan Josefsson)
05:52 PM Revision aed1539e (git): YJIT: Add send unit tests (#6143)
Add send unit tests for YJIT Noah Gibbs
05:30 PM Revision 77ec1cd4 (git): * 2022-07-16 [ci skip]
git[bot]
05:30 PM Revision 36ca0e58 (git): [ruby/reline] Use color name instead of code (integer) in dialog color APIs
As pointed out in the
[comment](https://github.com/ruby/reline/pull/413#issuecomment-1168033973),
the code is actuall...
st0012 (Stan Lo)
04:32 PM Bug #18914: Segmentation fault during Ruby test suite execution
> The crash is happening when a certain object gets garbage collected. The object will only get collected when the GC... jprokop (Jarek Prokop)
03:57 PM Bug #18914: Segmentation fault during Ruby test suite execution
jprokop (Jarek Prokop) wrote in #note-2:
> Thanks, the response gave the much-needed push to get to the correct tick...
tenderlovemaking (Aaron Patterson)
03:22 PM Feature #18918 (Open): Can't compile ruby master with AFL ASAN
On ubuntu 20.04, I want to compile ruby on master branch with AFL's afl-clang-fast but I got ASAN error
```sh
$ r...
m.aldo (Muhammad Aldo Firmansyah)
02:30 PM Revision 280b805d (git): [DOC] Fix documentation for ARGF#readlines
[Bug #18909] peterzhu2118 (Peter Zhu)
02:29 PM Revision c5343929 (git): Fixes ivar benchmarks to not depend on object allocation
Prior to this change, we were measuring object allocation as well
as setting instance variables within ivar benchmark...
jemmai (Jemma Issroff)
01:21 PM Revision 7424ea18 (git): Implement Objects on VWA
This commit implements Objects on Variable Width Allocation. This allows
Objects with more ivars to be embedded (i.e....
peterzhu2118 (Peter Zhu)
01:11 PM Bug #18917 (Feedback): Crash on jekyll -v
Thank you for the bug report, however Ruby 2.6 has been EOL as of March 31, 2022. Please upgrade to at least Ruby 2.7... peterzhu2118 (Peter Zhu)
12:51 PM Bug #18917 (Feedback): Crash on jekyll -v
Hi there,
I have encountered a crash during the jekyll -v command on MacOS Terminal.
Steps to reproduce:
1. ...
[email protected] (Canan Gungor)
09:45 AM Revision 7fda741f (git): [rubygems/rubygems] Use https protocol for URLs for config mirror
example.org is used mirror URL as an example, not to make access to
a (potential) third-party domain.
Signed-off-by:...
Takuya Noguchi
08:32 AM Revision 8e451d10 (git): [rubygems/rubygems] Fix wrong information about default RubyGems source
Also fix regression from rubygems/rubygems PR 3056
https://my.diffend.io/gems/rubygems-update/1.3.5/1.3.6/page/4#d2h...
Takuya Noguchi
05:54 AM Revision 6c2cad83 (git): MJIT: Share rb_mjit_unit through mjit_unit.h
mjit_compile.c should be able to access this more easily. k0kubun (Takashi Kokubun)
04:14 AM Revision ed8c21bb (git): Ensure symlinks to bundled gem with exts have parent dir
When configuring with `--disable-rpath` and `--static-linked-ext` (e.g.
building for WASI), `extmk.rb` doesn't build ...
katei (Yuta Saito)
03:34 AM Revision 439d31bc (git): MJIT: Merge mjit_worker.c back to mjit.c (#6138)
Since #6006, we no longer avoid executing GC on mjit_worker.c and thus
there's no need to carefully change how we wri...
k0kubun (Takashi Kokubun)
12:10 AM Revision 736fe48b (git): Remove GitHub Actions bundled_gems workflow in stable branch.
nagachika (Tomoyuki Chikanaga)
 

Also available in: Atom