Project

General

Profile

Activity

From 08/09/2022 to 08/15/2022

08/15/2022

11:14 PM Revision 0608a9a0 (git): Optimize Marshal dump/load for large (> 31-bit) FIXNUM (#6229)
* Optimize Marshal dump of large fixnum
Marshal's FIXNUM type only supports 31-bit fixnums, so on 64-bit
platforms t...
jhawthorn (John Hawthorn)
10:41 PM Revision e49db0f7 (git): Do not clone method entries when bind_call is used
I noticed that this site unconditionally clones the method entry, which
means that `bind_call` always allocates a `T_...
fablestales (Fable Tales)
05:48 PM Revision 4e66b3f4 (git): [ruby/rdoc] [DOC] Remove duplicated line in RDoc::MarkupReference
https://github.com/ruby/rdoc/commit/488f89aee4 peterzhu2118 (Peter Zhu)
05:05 PM Revision e34720dc (git): * 2022-08-16 [ci skip]
git[bot]
05:05 PM Revision ee864beb (git): Simplify around `USE_YJIT` macro (#6240)
* Simplify around `USE_YJIT` macro
- Use `USE_YJIT` macro only instead of `YJIT_BUILD`.
- An intermediate macro `YJI...
nobu (Nobuyoshi Nakada)
02:24 PM Bug #18751: Regression on master for Method#== when comparing public with private method
https://github.com/ruby/ruby/pull/6242 now makes resolved-through-zsuper methods equal for compatibility.
That means ...
Eregon (Benoit Daloze)
01:22 PM Bug #18751: Regression on master for Method#== when comparing public with private method
Here is a simplified script which does not depend on Class.new == Class#new:
```ruby
class C
class << self
alia...
Eregon (Benoit Daloze)
02:00 PM Revision 0264424d (git): Add test for GC thrashing of young object creation
This test will prevent performance regressions like [Bug #18929]. peterzhu2118 (Peter Zhu)
01:16 PM Revision 8d40ede2 (git): [ruby/date] [DOC] Enhanced intro for Date (https://github.com/ruby/date/pull/72)
https://github.com/ruby/date/commit/59a6673221 burdettelamar (Burdette Lamar)
01:08 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
PR to fix this by no longer hiding ZSUPER methods: https://github.com/ruby/ruby/pull/6242 Eregon (Benoit Daloze)
11:03 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
Also as @ufuk says in https://bugs.ruby-lang.org/issues/18435#note-2, owner and instance_methods should be consistent... Eregon (Benoit Daloze)
11:01 AM Bug #18729 (Open): Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
This is still an issue.
We need to try to no longer hide ZSUPER methods and estimate if there is any incompatibility...
Eregon (Benoit Daloze)
01:08 PM Bug #18435 (Open): Calling `protected` on ancestor method changes result of `instance_methods(false)`
Reopening this as because of the revert it is still inconsistent and unsolved.
PR to fix this by no longer hiding ...
Eregon (Benoit Daloze)
11:11 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
My understanding of this issue is it's the same as #18729.
The bug is not in `instance_methods` which is correct.
I...
Eregon (Benoit Daloze)
10:55 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
protected methods like in this issue are part of the method table, so I think it makes no sense to hide them.
What w...
Eregon (Benoit Daloze)
11:08 AM Misc #18954: DevMeeting-2022-08-18
* [Bug #18729] Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private (eregon... Eregon (Benoit Daloze)
08:42 AM Revision e77c8397 (git): [rubygems/rubygems] Fix Ruby platform incorrectly removed on `bundle update`
https://github.com/rubygems/rubygems/commit/0d321c9e3a deivid (David Rodríguez)
05:12 AM Revision cbcf2dad (git): * 2022-08-15 [ci skip]
git[bot]
05:12 AM Bug #13864 (Closed): Rinda multicast test failures due to missing default route
Applied in changeset commit:git|89aa09afaf77920fd748aefaba99fe4b0f19e684.
----------
[ruby/rinda] Handle situations ...
jeremyevans (Jeremy Evans)
05:11 AM Revision 89aa09af (git): [ruby/rinda] Handle situations where IPv4 multicast is not available
Fixes [Bug #13864]
https://github.com/ruby/rinda/commit/3cd620f38c
jeremyevans (Jeremy Evans)

08/14/2022

10:45 AM Revision cb12d7c7 (git): Update dependencies
nobu (Nobuyoshi Nakada)
05:45 AM Revision a9abf60c (git): * 2022-08-14 [ci skip]
git[bot]
05:42 AM Revision a58a429f (git): Silent configure does not output cached configurations
nobu (Nobuyoshi Nakada)

08/13/2022

03:31 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
nagachika (Tomoyuki Chikanaga) wrote in #note-14:
> I agree to backport the revert to ruby_3_1, but I think removing...
jeremyevans0 (Jeremy Evans)
03:27 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
I agree to backport the revert to ruby_3_1, but I think removing the existing methods in stable releases could be a s... nagachika (Tomoyuki Chikanaga)
02:24 AM Feature #18809 (Closed): Add Numeric#ceildiv
Applied in changeset commit:git|0617cba197cdff626ee9c74cece480df31d384ef.
----------
[DOC] Add the link to [Feature ...
nobu (Nobuyoshi Nakada)
02:23 AM Revision 0617cba1 (git): [DOC] Add the link to [Feature #18809]
nobu (Nobuyoshi Nakada)
12:29 AM Revision d1d1c9ba (git): Add a NEWS entry about Integer#ceildiv [ci skip]
kyanagi (Kouhei Yanagita)
12:00 AM Revision f9382a3b (git): * 2022-08-13 [ci skip]
git[bot]
12:00 AM Revision fa65800e (git): [ruby/rdoc] [DOC] Enhances text about escapes (https://github.com/ruby/rdoc/pull/917)
https://github.com/ruby/rdoc/commit/c40bac829c burdettelamar (Burdette Lamar)

08/12/2022

10:26 PM Bug #18963 (Closed): Ripper.tokenize(code).join != code when heredoc and multiline string is on the same line
Expect Ripper.tokenize(code).join to match the original code but it doesn't.
~~~ruby
code = %[
<<A + "hello
A
...
tompng (tomoya ishida)
05:24 PM Misc #18954: DevMeeting-2022-08-18
* [Feature #18408] Allow pattern match to set non-local variables
* That would make, in particular, `42 => @a` pos...
palkan (Vladimir Dementyev)
02:52 PM Revision 3a6405db (git): Adjust columns in gems/bundled_gems [ci skip]
nobu (Nobuyoshi Nakada)
02:51 PM Revision e4444559 (git): Preserve each column positions in gems/bundled_gems
nobu (Nobuyoshi Nakada)
01:07 PM Revision b1799267 (git): Bundle unreleased debug
nobu (Nobuyoshi Nakada)
07:59 AM Revision 77fdb3a4 (git): Introduce with_warn_vsprintf macro
S_H_ (Shun Hiraoka)
07:58 AM Bug #18962 (Closed): Ripper.lex does not handle \0, ^D and ^Z correctly.
Applied in changeset commit:git|844a0edbae6e74293e3d0cb1ceeeb66a4371d06d.
----------
[Bug #18962] Do not read again ...
nobu (Nobuyoshi Nakada)
07:57 AM Revision b2205cd4 (git): Short-circuit `Process._fork`
nobu (Nobuyoshi Nakada)
06:58 AM Revision 844a0edb (git): [Bug #18962] Do not read again once reached EOF
`Ripper::Lexer#parse` re-parses the source code with syntax errors
when `raise_errors: false`.
Co-Authored-By: tompn...
nobu (Nobuyoshi Nakada)
06:57 AM Revision 803a0726 (git): Improve performance of Integer#ceildiv
This patch is suggested by nobu.
Benchmark result:
```
require 'benchmark'
n = 10 ** 7
Benchmark.bm do |x|
x.re...
kyanagi (Kouhei Yanagita)
06:57 AM Revision 24e33b84 (git): Remove Numeric#ceildiv
kyanagi (Kouhei Yanagita)
06:57 AM Revision 4165fd0e (git): Add Numeric#ceildiv and Integer#ceildiv
kyanagi (Kouhei Yanagita)
06:57 AM Revision cd1a0b3c (git): Stop defining `RUBY_ABI_VERSION` if released versions
As commented in include/ruby/internal/abi.h, since teeny versions of
Ruby should guarantee ABI compatibility, `RUBY_A...
nobu (Nobuyoshi Nakada)
06:56 AM Revision a201cfd0 (git): Add missing `rb_enc_iscntrl`
nobu (Nobuyoshi Nakada)
06:56 AM Revision 9a11d50d (git): [DOC] Use `true`/`false` for `@retval`s which are `bool`
nobu (Nobuyoshi Nakada)
06:55 AM Revision a3a6d2d9 (git): No bundled gems to be installed from gem now
nobu (Nobuyoshi Nakada)
06:55 AM Revision 04815ea9 (git): All extensions in bundled gems are built by build-ext now
`RbInstall::GemInstaller#build_extensions` has nothing to do. nobu (Nobuyoshi Nakada)
05:04 AM Revision d9f1b8ba (git): [ruby/error_highlight] Add a note about the current limitation of ErrorHighlight.spot
https://github.com/ruby/error_highlight/commit/489ce80a62 mame (Yusuke Endoh)

08/11/2022

08:09 PM Revision 5e3e4bc9 (git): [ruby/rdoc] Mods to section Text Markup (https://github.com/ruby/rdoc/pull/916)
https://github.com/ruby/rdoc/commit/5506d4d67e burdettelamar (Burdette Lamar)
04:43 PM Revision 8a3f401b (git): [ruby/rdoc] Improvements to Text Markup examples (https://github.com/ruby/rdoc/pull/915)
https://github.com/ruby/rdoc/commit/d00ddfe57c burdettelamar (Burdette Lamar)
03:48 PM Bug #16842 (Closed): `inspect` prints the UTF-8 character U+0085 (NEXT LINE) verbatim even though it is not printable
Applied in changeset commit:git|49517b3bb436456407e0ee099c7442f3ab5ac53d.
----------
Fix inspect for unicode codepoi...
jeremyevans (Jeremy Evans)
03:47 PM Revision a677aa0f (git): * 2022-08-12 [ci skip]
git[bot]
03:47 PM Revision 49517b3b (git): Fix inspect for unicode codepoint 0x85
This is an inelegant hack, by manually checking for this specific
code point in rb_str_inspect. Some testing indicat...
jeremyevans (Jeremy Evans)
01:51 PM Revision c361cf44 (git): [ruby/rdoc] [DOC] Make example formats explicit and consistent (https://github.com/ruby/rdoc/pull/913)
https://github.com/ruby/rdoc/commit/7e6ef6c855 burdettelamar (Burdette Lamar)
01:08 PM Bug #18962 (Closed): Ripper.lex does not handle \0, ^D and ^Z correctly.
Ripper.lex does not end with \0, ^D and ^Z, and it contains weird tokens including "\u0000"
~~~ruby
# for syntax ok...
tompng (tomoya ishida)
10:17 AM Bug #18247 (Closed): weird results for `Array#slice` or `Array#[]` with argument of type `Enumerator::ArithmeticSequence`
Applied in changeset commit:git|cfb9624460a295e4e1723301486d89058c228e07.
----------
Fix Array#[] with ArithmeticSeq...
jeremyevans (Jeremy Evans)
10:16 AM Revision cfb96244 (git): Fix Array#[] with ArithmeticSequence with negative steps (#5739)
* Fix Array#[] with ArithmeticSequence with negative steps
Previously, Array#[] when called with an ArithmeticSequen...
jeremyevans (Jeremy Evans)
08:45 AM Revision 32d1ce96 (git): Fix race conditions when cleaning extensions
Clean built directories by `make distclean`, and then clean leftover
makefiles for skipped extensions.
nobu (Nobuyoshi Nakada)
08:45 AM Revision 0c9803b0 (git): The "gems" build directory was rename as ".bundle"
nobu (Nobuyoshi Nakada)
08:43 AM Revision 26054c74 (git): Fix paths of exts.mk to clean
exts.mk files are one level under the top of extension directories. nobu (Nobuyoshi Nakada)
03:06 AM Feature #18809: Add Numeric#ceildiv
Are there any blocking issues?
If exist, I will work to resolve them.
kyanagi (Kouhei Yanagita)
02:34 AM Revision 74d95744 (git): Add `--enable-devel` configure option
Since `RUBY_DEVEL` in cppflags has no effect in the configure script
and makefiles.
nobu (Nobuyoshi Nakada)

08/10/2022

09:37 PM Feature #18949: Deprecate and remove replicate and dummy encodings
Thank you for the response.
It's true synchronization is required for a number of read operations, but I think the m...
Dan0042 (Daniel DeLorme)
04:40 PM Feature #18949: Deprecate and remove replicate and dummy encodings
Dan0042 (Daniel DeLorme) wrote in #note-26:
> Can you clarify this please? With a max limit you need synchronization ...
Eregon (Benoit Daloze)
04:12 PM Feature #18949: Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze) wrote in #note-25:
> But a max limit is not nearly as helpful as a fixed number of encodings ...
Dan0042 (Daniel DeLorme)
10:20 AM Feature #18949: Deprecate and remove replicate and dummy encodings
duerst (Martin Dürst) wrote in #note-24:
> @Eregon: If you want, you can add this issue to the developers' meeting n...
Eregon (Benoit Daloze)
04:23 AM Feature #18949: Deprecate and remove replicate and dummy encodings
@Eregon: If you want, you can add this issue to the developers' meeting next week. I will be in Switzerland, but I sh... duerst (Martin Dürst)
09:18 PM Revision 9fc401b6 (git): [ruby/rdoc] Treat text markup (italic, bold, monofont) as blocks (https://github.com/ruby/rdoc/pull/911)
https://github.com/ruby/rdoc/commit/dc88f1b425 burdettelamar (Burdette Lamar)
08:32 PM Bug #18435 (Closed): Calling `protected` on ancestor method changes result of `instance_methods(false)`
matz (Yukihiro Matsumoto) wrote in #note-11:
> I thought it was OK to accept this behavior, but it caused issues lik...
jeremyevans0 (Jeremy Evans)
08:02 PM Revision ff42e235 (git): Revert "Add {Method,UnboundMethod}#{public?,private?,protected?}"
This reverts commit 27278150685e738f84105d09843d3ba371146c7a and
58dc8bf8f15df9a33d191074e8a5d4946a3d59d5.
Visibilit...
jeremyevans (Jeremy Evans)
08:02 PM Bug #18826 (Closed): Symbol#to_proc inconsistent, sometimes calls private methods
Applied in changeset commit:git|bfa6a8ddc84fffe0aef5a0f91b417167e124dbbf.
----------
Only allow procs created by Sym...
jeremyevans (Jeremy Evans)
08:02 PM Revision bfa6a8dd (git): Only allow procs created by Symbol#to_proc to call public methods
Fixes [Bug #18826]
Co-authored-by: Nobuyoshi Nakada <[email protected]>
jeremyevans (Jeremy Evans)
06:41 PM Revision d115a060 (git): * 2022-08-11 [ci skip]
git[bot]
06:40 PM Revision 26bed719 (git): [DOC] Adding a few standards-based formats (#6227)
burdettelamar (Burdette Lamar)
06:24 PM Feature #18885: End of boot advisory API for RubyVM
> Is there any point to precompute inline caches if there is no fork?
Yes, the first "request" (or whatever your u...
byroot (Jean Boussier)
06:21 PM Feature #18885: End of boot advisory API for RubyVM
I think the terminology used here might cause some confusion in the discussion.
"End of boot" makes it sound like ...
Dan0042 (Daniel DeLorme)
05:48 PM Feature #17330: Object#non
byroot (Jean Boussier) wrote in #note-13:
> I also think `not` would be a better name for it
Since there is already ...
Dan0042 (Daniel DeLorme)
04:53 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
Monkeypatching nil.to_hash seems a veeeery bad idea. For example
```ruby
h = {"y"=>"!"}
"xyz".sub(/y/, h) #=> "x...
Dan0042 (Daniel DeLorme)
04:46 PM Feature #18961 (Open): Introduce support for pattern matching all elements of an array
When pattern matching arrays, often times we want to assert that a given array's elements all match a pattern.
For...
zeke (Zeke Gabrielse)
02:01 PM Revision a661aac9 (git): Bundle unreleased RBS (#6228)
soutaro (Soutaro Matsumoto)
12:52 PM Revision 2ebb428f (git): Update default gems list at 1b32a4c7bb2e1ceb456b191ca88289 [ci skip]
git[bot]
12:51 PM Revision 1b32a4c7 (git): [ruby/error_highlight] Bump version
https://github.com/ruby/error_highlight/commit/6edf0a0a5d mame (Yusuke Endoh)
12:19 PM Revision 3a580090 (git): [ruby/error_highlight] Make backtrace_location keyword work
We had to keep backtrace_location before opts is overwritten.
https://github.com/ruby/error_highlight/commit/2735e4681a
mame (Yusuke Endoh)
10:30 AM Misc #18954: DevMeeting-2022-08-18
* [Feature #18949] Deprecate and remove replicate and dummy encodings (eregon)
* I will try to attend the dev meet...
Eregon (Benoit Daloze)
09:53 AM Bug #18751: Regression on master for Method#== when comparing public with private method
I still think we should stop hiding ZSUPER method entries, it causes way more confusion than it helps and this bug, a... Eregon (Benoit Daloze)
09:37 AM Revision 99e7fa5b (git): [ruby/error_highlight] Make ErrorHighlight.spot accept Exception (https://github.com/ruby/error_highlight/pull/25)
... and move things from core_ext.rb to base.rb.
This will confine CRuby-dependent things to ErrorHighlight.spot.
ht...
mame (Yusuke Endoh)
07:05 AM Revision 1139bc8c (git): Update bundled gems list at 2022-08-10
git[bot]
05:19 AM Revision b7e492fa (git): Regen YJIT bindings
jeremyevans (Jeremy Evans)
05:19 AM Revision 9363b042 (git): Optimize duparray/expandarray -> putobject/expandarray
There's no point in making a copy of an array just to expand it. Saves
an unnecessary array allocation in the multipl...
jeremyevans (Jeremy Evans)
05:19 AM Revision fc4b4f2e (git): Expand newarray/expandarray optimization for unequal operands
This optimizes unbalanced multiple assignment cases such as:
```ruby
a.b, c.d = e, f, g
a.b, c.d, e.f = g, h
```
Pr...
jeremyevans (Jeremy Evans)
05:19 AM Revision 7922fd65 (git): Update multiple assignment benchmarks to include non-literal array cases
This allows them to show the effect of the previous newarray/expandarray
to swap/opt_reverse optimization. This show...
jeremyevans (Jeremy Evans)
05:19 AM Revision 5089b6ac (git): Add peephole optimizer for newarray(X)/expandarray(X, 0) -> opt_reverse(X)
This renames the reverse instruction to opt_reverse, since now it
is only added by the optimizer. Then it uses as a ...
jeremyevans (Jeremy Evans)
05:19 AM Revision d9167491 (git): Revert "Remove reverse VM instruction"
This reverts commit 5512353d97250e85c13bf10b9b32e750478cf474. jeremyevans (Jeremy Evans)
05:19 AM Revision 9f8abd28 (git): Add peephole optimizer for newarray(2)/expandarray(2, 0) -> swap
An optimization for multiple assignment in the popped case to avoid
array allocation was lost in my fix to make multi...
jeremyevans (Jeremy Evans)
05:14 AM Feature #17468 (Closed): Deprecate RUBY_DEVEL
Applied in changeset commit:git|357352af5ee37bf31ba4468ee242ea5a10158461.
----------
Do not enable RUBY_DEVEL by RUB...
jeremyevans (Jeremy Evans)
05:13 AM Revision 3569d130 (git): * 2022-08-10 [ci skip]
git[bot]
05:13 AM Revision 357352af (git): Do not enable RUBY_DEVEL by RUBY_PATCHLEVEL
This makes RUBY_DEVEL not enabled automatically. It still can be
enabled manually.
Test manually using RUBY_DEVEL i...
jeremyevans (Jeremy Evans)

08/09/2022

07:26 PM Misc #18954: DevMeeting-2022-08-18
* [Bug #18955] Kernel#sprintf - %c ignores a non-ASCII character's encoding (jeremyevans0)
* Do we want the %c form...
jeremyevans0 (Jeremy Evans)
04:54 PM Bug #18957 (Rejected): StringIO#printf doesn't ignore initial String value
jeremyevans0 (Jeremy Evans)
04:52 PM Bug #18953 (Rejected): `Array#uniq` doesn't evaluate the given block when the size of the array is one
jeremyevans0 (Jeremy Evans)
04:52 PM Bug #18952 (Third Party's Issue): rb_aligned_free: munmap failed
jeremyevans0 (Jeremy Evans)
01:44 PM Bug #18960: Module#using raises RuntimeError when called at toplevel from wrapped script
Pull Request: https://github.com/ruby/ruby/pull/6226 shioyama (Chris Salzberg)
01:38 PM Bug #18960 (Closed): Module#using raises RuntimeError when called at toplevel from wrapped script
I noticed that this file works when loaded with `load`, but fails if you pass `true` (or a module) as the `wrap` argu... shioyama (Chris Salzberg)
12:08 PM Feature #18949: Deprecate and remove replicate and dummy encodings
duerst (Martin Dürst) wrote in #note-21:
> It references RFC 2781 (see https://www.rfc-editor.org/rfc/rfc2781). That...
Eregon (Benoit Daloze)
11:52 AM Feature #18949: Deprecate and remove replicate and dummy encodings
duerst (Martin Dürst) wrote in #note-20:
> I think it should be okay to in your implementation assume a maximum numb...
Eregon (Benoit Daloze)
06:49 AM Feature #18949: Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze) wrote in #note-19:
> duerst (Martin Dürst) wrote in #note-15:
> > > Or just an instance va...
duerst (Martin Dürst)
06:29 AM Feature #18949: Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze) wrote in #note-18:
> Replicate (`Encoding#replicate`) and extra dummy encodings (`rb_define...
duerst (Martin Dürst)
11:11 AM Revision ff07e5c2 (git): Skip poisoned regions
Poisoned regions cannot be accessed without unpoisoning outside gc.c.
Specifically, debug.gem is terminated by Addres...
nobu (Nobuyoshi Nakada)
03:05 AM Revision 44264b4f (git): Merge rubygems/bundler HEAD.
Pick from https://github.com/rubygems/rubygems/commit/dfbb5a38114640e0d8d616861607f3de73ee0199 hsbt (Hiroshi SHIBATA)
02:02 AM Revision f8936b33 (git): Remove documentation about dev
dev is Shopify's internal tool that doesn't work if you use Intel
Homebrew on M1 (or rbenv, btw). Now that we maintai...
k0kubun (Takashi Kokubun)
 

Also available in: Atom