Project

General

Profile

Activity

From 10/03/2023 to 10/09/2023

10/09/2023

10:53 PM Revision 7de6908a (git): LLDB: Print actual node structure [ci skip]
yui-knk (Kaneko Yuichiro)
10:48 PM Feature #19915: URI::HTTP.build accepts user: and password: keyboard arguments, but do not populate #user or #password
I would expect either for unused options to raise an ArgumentError, or for `user:` and `password:` to be accepted and used. Since `URI::HTTP.build` is actually accepting a Hash [1], this makes it harder to validate the given Hash keys an... postmodern (Hal Brodigan)
12:25 AM Feature #19915: URI::HTTP.build accepts user: and password: keyboard arguments, but do not populate #user or #password
`URI::HTTP.build` does not accept keyword arguments, it accepts an array/hash. If you pass keyword arguments, they get turned into a hash, similarly to any Ruby method that does not explicitly accept keyword arguments. The method only r... jeremyevans0 (Jeremy Evans)
08:15 PM Revision c3fc70cc (git): [rubygems/rubygems] Exempt default gem 'etc' in setup tests for rubies before 3.2 on windows
https://github.com/rubygems/rubygems/commit/834ae8a29a martinemde (Martin Emde)
03:09 PM Revision a8d71535 (git): Pre-allocate `NODE_DEFN`/`NODE_DEFS` nodes
To fix the order of node IDs, for typeprof tests. nobu (Nobuyoshi Nakada)
03:09 PM Revision 4c00ab7f (git): Refactor NODE_DEF_TEMP
Use `NODE_DEF_TEMP` as the wrapper of `NODE_DEFS` in ripper, not only
of `NODE_DEFN`, so that `endless_method_name` works consistently.
nobu (Nobuyoshi Nakada)
03:09 PM Revision ceec988f (git): ripper: Support member references in the DSL
nobu (Nobuyoshi Nakada)
03:05 PM Revision 6c952ac6 (git): testing_ruby.md: Document running test suites on s390x CPU architecture [ci skip] (#8589)
Jun Aruga
03:03 PM Misc #19883: DevMeeting-2023-10-12
* [Feature #13933] Add Range#empty?
* "empty?" is a basic concept for core classes
* Related to the implementation of `Range#overlap?` (empty_region_p) so why not make it a public interface?
* For beginless ranges we cannot use ...
Dan0042 (Daniel DeLorme)
11:54 AM Revision f44cee90 (git): [rubygems/rubygems] Avoid duplicates -rbundler/setup in RUBYOPT with Ruby preview
When using a Ruby preview the require path of `bundler/setup` is
similar to `-r/opt/ruby3.3.0-preview2/lib/ruby/3.3.0+0/bundler/setup`.
The special character `+` in the string makes the Regexp fail,
leading to multiple addition of the sa...
Jacopo
10:16 AM Revision 0fdee133 (git): [ruby/prism] Attach the ast node to the scope
So when building instruction sequences for a scope we can reference
items from the ast node that requires the scope. This is useful for for
loops, where the local variable tables from the parent scope will need
to be referenced.
https:/...
eightbitraptor (Matt V-H)
10:08 AM Revision 8c2a4932 (git): Fix cast node type
yui-knk (Kaneko Yuichiro)
08:13 AM Bug #19916 (Closed): URI#to_s can serialize to a value that doesn't deserialize to the original
It appears that when we're serializing a URI to string, we don't check/confirm that it is represented in a form that can be deserialized back into the original. I think it's fair to expect that serialize+deserialize produces an object th... yawboakye (yaw boakye)
04:33 AM Revision 3049b5e3 (git): Differentiate VAR nodes
yui-knk (Kaneko Yuichiro)
04:33 AM Revision 09b33ea1 (git): Differentiate CALL nodes
yui-knk (Kaneko Yuichiro)
03:38 AM Revision b9a23486 (git): Take care of internal node type
In parse.y, node can be NODE_DEF_TEMP or NODE_EXITS.
Hit "unknown node" without taking care of them.
For example `ruby --dump=y lib/cgi/util.rb` causes
"[BUG] unknown node: 107".
yui-knk (Kaneko Yuichiro)
03:23 AM Revision a78acf18 (git): Bump ruby/setup-ruby from 1.154.0 to 1.155.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.154.0 to 1.155.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/52b8784594ec115fd17094752708121dc5...
dependabot[bot]
03:16 AM Revision a149ca51 (git): Bump ossf/scorecard-action from 2.2.0 to 2.3.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md...
dependabot[bot]

10/08/2023

11:10 PM Feature #19915 (Open): URI::HTTP.build accepts user: and password: keyboard arguments, but do not populate #user or #password
I noticed that `URI::HTTP.build` accepts the `user:` and `password:` keyword arguments, but does not actually set the `user` or `password` attributes of the built URI object. It does however correctly accept a `userinfo:` keyword argumen... postmodern (Hal Brodigan)
07:31 PM Feature #19884: Make Safe Navigation Operator work on classes
______________________________________________ Anonymous
10:40 AM Feature #19884: Make Safe Navigation Operator work on classes
nobu (Nobuyoshi Nakada) wrote in #note-10:
> Rather the extension of `defined?` operator which returns the value (instead of the expression type string) or nil.
> ...
Yes, that would be nice.
p8 (Petrik de Heus)
07:53 AM Feature #19884: Make Safe Navigation Operator work on classes
What you want doesn't seem the extension of the safe navigation operator.
p8 (Petrik de Heus) wrote:
> If a constant isn't defined it will raise a NameError:
> ...
Rather the extension of `defined?` operator which returns the value (ins...
nobu (Nobuyoshi Nakada)
04:30 AM Feature #19884: Make Safe Navigation Operator work on classes
sawa (Tsuyoshi Sawada) wrote:
> > > > You stated that you want &. to work on classes, but that does not make sense. If ActiveRecord::Base is not defined, it is not a class. How would Ruby know that it is (supposed to be) a class?
p8 ...
sawa (Tsuyoshi Sawada)
07:34 AM Revision b5d74f4f (git): Remove not used fields from EVSTR
yui-knk (Kaneko Yuichiro)
07:33 AM Bug #19913: Getting interpreter error
pbvdon (pbv pbv) wrote in #note-3:
> Any solution for this ?
You can try 2.5.9 which had been released as the final 2.5 release, or more recent versions.
Anyway we can do nothing unless we know how to reproduce it at least, even if ...
nobu (Nobuyoshi Nakada)
07:12 AM Misc #19912: [Small potential for slight improvement in regards to trailing / that were omitted in a regex]
I've forgot about inline option and comment, so it was complicated than I thought first.
https://github.com/nobu/ruby/tree/warn-multiline-regexp
nobu (Nobuyoshi Nakada)
04:17 AM Revision 2b6228be (git): [rubygems/rubygems] Reduce allocations when parsing compact index
This still allocates a ton (a string for each line, plus a bunch of
splits into arrays), but it helps a bit when Bundler has to go through
dependency resolution.
```
==> memprof.after.txt <==
Total allocated: 194.14 MB (2317172 objects)...
segiddins (Samuel Giddins)
02:25 AM Bug #19914 (Feedback): RDoc :method: directives swallowed by immediate private keyword
It has been documented.
https://github.com/ruby/rdoc/blob/master/lib/rdoc/parser/ruby.rb#L141-L142
> Note that by default, the :method: directive will be ignored if there is a
> ...
nobu (Nobuyoshi Nakada)
02:18 AM Bug #19914: RDoc :method: directives swallowed by immediate private keyword
It appears that the next method takes precedence over the `:method:` directive.
And that directive seems like parsed as a simple document.
nobu (Nobuyoshi Nakada)
02:03 AM Bug #19914: RDoc :method: directives swallowed by immediate private keyword
With a simplified example like bellow, `private` does not affect the results.
```ruby
class Bug19914
##
# :method: foo
#
# :call-seq: foo(*args)
#
# Foo
private
end
```
nobu (Nobuyoshi Nakada)
01:36 AM Bug #19914: RDoc :method: directives swallowed by immediate private keyword
zzak (zzak _) wrote:
> @jonathanhefner Recently discovered this bug in RDoc and fixed it in Rails, so I'm reporting it here on their behalf.
> ...
This should probably be reported to https://github.com/ruby/rdoc/issues instead.
austin (Austin Ziegler)
12:15 AM Bug #19914 (Feedback): RDoc :method: directives swallowed by immediate private keyword
@jonathanhefner Recently discovered this bug in RDoc and fixed it in Rails, so I'm reporting it here on their behalf.
Examples:
* https://github.com/rails/rails/commit/c8b3642eded5a25ee5cc11c48395bed05f92424e
* https://github.com/...
zzak (zzak _)

10/07/2023

04:04 PM Revision bf71b0ed (git): [rubygems/rubygems] Optimize allocations in Gem::Version
From running in a random rails app I have locally, here are the changes
1) for `bundle lock --update --bundler` (forcing Bundler to go through
dependency resolution)
```
==> memprof.after.txt <==
Total allocated: 2.98 MB (48307 objects...
segiddins (Samuel Giddins)
02:45 PM Feature #19884: Make Safe Navigation Operator work on classes
sawa (Tsuyoshi Sawada) wrote in #note-6:
> Then you should edit and write that in the description.
I've updated the description. Hopefully it's more clear now.

> ...
```ruby
defined?(UndefinedConstant) # returns nil instead of...
p8 (Petrik de Heus)
11:37 AM Feature #19884: Make Safe Navigation Operator work on classes
p8 (Petrik de Heus) wrote in #note-5:
> > Furthermore, the specification you are asking for is not clear. What Exception classes do you want `&.` to rescue?
> ...
Then you should edit and write that in the description.
> `defined?` ...
sawa (Tsuyoshi Sawada)
10:00 AM Feature #19884: Make Safe Navigation Operator work on classes
sawa (Tsuyoshi Sawada) wrote in #note-1:
> Currently, you can do `ActiveRecord::Base.some_method rescue nil`
That would also rescue UndefinedMethodError, ArgumentError, and any error occuring in `some_method`.
> ...
`NameError`
...
p8 (Petrik de Heus)
09:50 AM Feature #19884: Make Safe Navigation Operator work on classes
There's multiple examples in the Rails code base:
https://github.com/rails/rails/blob/7f7f9df8641e35a076fe26bd097f6a1b22cb4e2d/railties/lib/rails/generators/named_base.rb#L139
https://github.com/rails/rails/blob/7f7f9df8641e35a076fe26bd...
p8 (Petrik de Heus)
02:24 AM Feature #19884: Make Safe Navigation Operator work on classes
@rubyFeedback
It's common in library code, that want's to be flexible to different configurations of the target application. E.g. https://github.com/rubocop/rubocop/blob/a455e9d55771f1e3dfea0cc4183e66f9632b431c/lib/rubocop/lockfile.rb...
AMomchilov (Alexander Momchilov)
08:54 AM Revision 5810304c (git): Remove not used fields from asgn nodes
yui-knk (Kaneko Yuichiro)
08:54 AM Revision 529a651f (git): Differentiate ASGN nodes
yui-knk (Kaneko Yuichiro)
08:54 AM Revision fbd53467 (git): Correctly casting node for accessing nd_value and nd_vid in compile.c
yui-knk (Kaneko Yuichiro)
08:54 AM Revision b7ee728a (git): Correctly casting node for accessing nd_value and nd_vid in parse.y
yui-knk (Kaneko Yuichiro)
08:54 AM Revision f28d3803 (git): Pass nd_value to NODE_REQUIRED_KEYWORD_P
yui-knk (Kaneko Yuichiro)
08:54 AM Revision b1a3c11c (git): Use rb_node_masgn_t instead of NODE
yui-knk (Kaneko Yuichiro)
03:25 AM Misc #19883: DevMeeting-2023-10-12
* [Misc #18984] Doc for Range#size for Float/Rational does not make sense (kyanagi)
* Range#size may return a non-nil value even if the range can't be iterated.
* Should it return nil?
* [Feature #18515] Add Range#reverse_each imp...
kyanagi (Kouhei Yanagita)
12:47 AM Misc #18984: Doc for Range#size for Float/Rational does not make sense
It seems that there is a similar issue with beginless ranges.
```
(..0).size # => Infinity
(..0).count # => Infinity
(..0).each {} # => can't iterate from NilClass (TypeError)
```
Is it reasonable to say the size is infinite ev...
kyanagi (Kouhei Yanagita)

10/06/2023

10:20 PM Feature #19905: Introduce `Queue#peek`
`peek` is inherently racy in that the value observed might be already popped by the time the value is returned.
If it's for observability and debugging I think `to_a` or `each` makes more sense, it's for sure useful to see other values t...
Eregon (Benoit Daloze)
05:28 PM Feature #19905: Introduce `Queue#peek`
I'm just curious if it might be better for #peek to lock to avoid showing something that has already popped or other parallel access issues? Is there significant advantage having it not lock? shan (Shannon Skipper)
04:04 PM Bug #19913: Getting interpreter error
pbvdon (pbv pbv) wrote in #note-2:
> nobu (Nobuyoshi Nakada) wrote in #note-1:
> ...
Hi nobu,
Any solution for this ?
pbvdon (pbv pbv)
02:42 PM Bug #19913: Getting interpreter error
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Crashed ruby seems 2.5, which has been ended.
> ...
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Crashed ruby seems 2.5, which has been ended.
> ...
Yes its the below :-
[BUG] Segmentatio...
pbvdon (pbv pbv)
01:08 PM Bug #19913 (Feedback): Getting interpreter error
Crashed ruby seems 2.5, which has been ended.
The version should be reported before the "Control frame information" line.
nobu (Nobuyoshi Nakada)
10:58 AM Bug #19913 (Feedback): Getting interpreter error
ruby --version
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
gem --version
3.1.2
os - ubuntu20
```
-- Control frame information -----------------------------------------------
c:0033 p:---- s:0166 e:00016...
pbvdon (pbv pbv)
02:16 PM Bug #19866: Future of `readline.rb`
From https://bugs.ruby-lang.org/issues/19883#change-104825
> Seems odd for a standard library to attempt to load a non-standard library first, and fallback to loading a standard library.
Agreed.
I think either lib/readline.rb shou...
Eregon (Benoit Daloze)
02:12 PM Feature #18573: Object#pack1
`Array.pack1(obj, format) -> String` sounds weird since there is nothing about Array in there.
I think `String.pack1(format, obj)` is the best option.
(`String#pack1(obj)` is confusing because of existing `Array#pack(format)` which has...
Eregon (Benoit Daloze)
02:10 PM Revision 7eccc13c (git): [ruby/prism] Emit error when assigning to a numbered parameter
https://github.com/ruby/prism/commit/66248ac2f6 Haldun Bayhantopcu
01:20 PM Revision 7b8d4721 (git): [DOC] Fix platform-dependent directives and modifiers
* 'j' and 'J' are not pointer directives.
* size of 'j' and 'J' are platform-dependent, may not be 64-bit.
* mention corresponding C types when native-size modifier is added.
Co-Authored-By: BurdetteLamar <burdettelamar@yahoo.com>
nobu (Nobuyoshi Nakada)
12:21 PM Revision 7db4ce13 (git): [ruby/prism] Introduce transparent scopes.
A transparent scope is a scope that cannot have local variables added to
it's local table. When a local is added to it's table, it instead gets
added to the first non-transparent parent scope.
This is used in for loops to ensure the cor...
eightbitraptor (Matt V-H)
10:39 AM Misc #19912: [Small potential for slight improvement in regards to trailing / that were omitted in a regex]
Note that complex regexps use often multiple lines, with `x` option.
So, it might be a possible idea to warn if the `x` option is not specified for a multi-line regexp.
nobu (Nobuyoshi Nakada)
05:59 AM Misc #19912: [Small potential for slight improvement in regards to trailing / that were omitted in a regex]
Forgot to clarify what I meant with:
> I assume ruby has to decide what is going on, but usually
> ...
Here I meant that the ruby parser may have to identify how
/ are used, e. g. for divisions. In the context above, though,
ruby p...
rubyFeedback (robert heiler)
05:57 AM Misc #19912 (Open): [Small potential for slight improvement in regards to trailing / that were omitted in a regex]
Not sure if I should file this under bug or not; it is probably not a bug per se
and just the current behaviour. So I filed it under Misc here.
So let me copy/paste the code next:
alias e puts
i = 'abc'
case ...
rubyFeedback (robert heiler)
09:45 AM Revision 723318f5 (git): [ruby/openssl] Exact checks with `assert_include`
Where `assert_match` converts string matcher argument to regexp first
with escaping, `assert_include` does the same thing simpler.
https://github.com/ruby/openssl/commit/81007e0a49
nobu (Nobuyoshi Nakada)
07:37 AM Revision 95ced6d8 (git): [ruby/openssl] Exact checks with `assert_include`
https://github.com/ruby/openssl/commit/9a6e24daaf nobu (Nobuyoshi Nakada)
07:33 AM Revision 232e401b (git): Reuse `natstr` if it equals `endstr`
nobu (Nobuyoshi Nakada)
07:33 AM Revision b459bca0 (git): Use size of `uintptr_t` for `j` and `J` tests
`RbConfig::SIZEOF` has been added later than the time this check was
committed first.
nobu (Nobuyoshi Nakada)
07:33 AM Revision 0202ca7c (git): Move rbconfig to the top
It is required in the always defined class level. nobu (Nobuyoshi Nakada)
06:32 AM Revision 5c779dc4 (git): Remove not used fields from MATCH3
yui-knk (Kaneko Yuichiro)
05:38 AM Revision 6a0c13c1 (git): [rubygems/rubygems] Update man page for bundle exec to reflect default flag value
`--keep-file-descriptors` is true by default.
https://github.com/rubygems/rubygems/commit/b28e88e228
manu (Emmanuel Pinault)
01:57 AM Revision 69b024d7 (git): [ruby/prism] Add full_name to ConstantPathNode and ConstantPathTargetNode
https://github.com/ruby/prism/commit/b390553028 Vinicius Stock

10/05/2023

10:31 PM Revision 58fc4532 (git): Remove not used fields from YIELD
yui-knk (Kaneko Yuichiro)
10:31 PM Revision f6a2af25 (git): Remove not used fields from ZLIST
yui-knk (Kaneko Yuichiro)
10:28 PM Bug #19911 (Feedback): require slower with ruby/3.2.2
You're measuring a lot of other things by using the `time` command to benchmark the script. It's more accurate to measure the time inside a script.
```
$ ruby -v -e 't = Time.new; require "json"; puts "%.3fs" % (Time.new - t)'
ruby 2.7....
k0kubun (Takashi Kokubun)
09:14 PM Bug #19911: require slower with ruby/3.2.2
On further debugging we found that the following is speeding up the require and file read operation
time ruby --disable-gems -e 'require "json"' ...
ashwinsurya14 (Ashwin Surya Kumar Sivasubramanian)
05:37 PM Bug #19911: require slower with ruby/3.2.2
Also i have seen this happeneing in other versions/systems one other thing i tested was with ubuntu. ashwinsurya14 (Ashwin Surya Kumar Sivasubramanian)
05:36 PM Bug #19911 (Feedback): require slower with ruby/3.2.2
we tested require with ruby 3.2.2 and ruby 2.7.2
and its seems to slowdown considerabily
the test case:
Ruby 3.2.2
command: time ruby -e 'require "json"'
time: user=0.19s system=0.02s cpu=99% total=0.204
Ruby 2.7.2
command: ti...
ashwinsurya14 (Ashwin Surya Kumar Sivasubramanian)
09:31 PM Revision 8cb906d7 (git): YJIT: Simplify linker flavor check
By not allowlisting every OS that could have a GNU flavor linker,
it's also a bigger tent
alanwu (Alan Wu)
09:24 PM Misc #19883: DevMeeting-2023-10-12
* [Feature #18573] Object#pack1 (jeremyevans0)
* For the same reason as String#unpack1, saves an array allocation when packing a single object.
* I think it would be useful to have this feature, but I prefer Array.pack1 to Object#p...
jeremyevans0 (Jeremy Evans)
09:21 PM Feature #18573: Object#pack1
I developed a patch for this that implemented the feature using `Array.pack1` and was going to create a new feature request for it, but I'm glad to see there already is an existing feature request for it. Here's my pull request for it: ... jeremyevans0 (Jeremy Evans)
09:17 PM Revision 13bde94a (git): YJIT: shink local types from 8 to 4 bytes (#8597)
* Shink local types from 8 to 4 bytes, context from 21 to 17 bytes
Use repr(packed)
* Add comment about Type being limited to 4 bits
maximecb (Maxime Chevalier-Boisvert)
09:09 PM Revision 7d1abd5d (git): YJIT: Run bindgen
alanwu (Alan Wu)
08:40 PM Revision 07a7c4bd (git): YJIT: Remove duplicate cfp->iseq accessor
alanwu (Alan Wu)
07:53 PM Revision 41a6e4bd (git): YJIT: Avoid writing return value to memory in `leave`
Previously, at the end of `leave` we did
`*caller_cfp->sp = return_value`, like the interpreter.
With future changes that leaves the SP field uninitialized for C frames,
this will become problematic. For cases like returning from
`rb_fun...
alanwu (Alan Wu)
07:09 PM Misc #19054 (Closed): `else` in exception-handling context vs early return
jeremyevans0 (Jeremy Evans)
06:39 PM Revision a5cc6341 (git): Remove `NODE_VALUES`
This node type was added for the multi-value experiment back in 2004.
The feature itself was removed after a few years, but this is its
remnant.
nobu (Nobuyoshi Nakada)
06:39 PM Revision cf122334 (git): Remove unmatch parenthesis
```
yjit/yjit.mk:48: Extraneous text after `ifneq' directive
```
nobu (Nobuyoshi Nakada)
05:23 PM Revision fd22d5de (git): YJIT: Build on BSD platforms with GNU make (#8591)
Freaky (Thomas Hurst)
04:35 PM Revision 8d8fe543 (git): [ruby/prism] Check for duplicate parameter names in destructured params
https://github.com/ruby/prism/commit/c3438aabea Haldun Bayhantopcu
03:35 PM Feature #19422: Make `--enabled-shared` mandatory on macOS
Although the problem seems avoided (or postponed maybe) now, this would still make sense, I think.
Since the ruby 2.6 bundled with macOS is configured to `--enable-shared` too, there is no reason for us to disable the `shared` option.
...
nobu (Nobuyoshi Nakada)
03:12 PM Revision 38cb92a0 (git): [ruby/prism] Check for duplicate names in shadow args
https://github.com/ruby/prism/commit/e100c6b8ae Haldun Bayhantopcu
01:19 PM Feature #19430: Contribution wanted: DNS lookup by c-ares library
I've prototyped a patch that creates a temporal pthread whenever `Addrinfo.getaddrinfo` is called, and runs `getaddrinfo(3)` in the pthread.
https://gist.github.com/mame/d7b4d8eaa3b0c3016838c33eea752cbb
(This patch is incomplete; t...
mame (Yusuke Endoh)
11:25 AM Revision fb9795cf (git): [ruby/prism] Fix parsing shadow args in lambda blocks
https://github.com/ruby/prism/commit/53efaf252d Haldun Bayhantopcu
11:03 AM Revision 54f1d398 (git): Make popcount bit-masks stricter
Each bit run is upto the right shift count, so the each mask does not
need more upper bits.
nobu (Nobuyoshi Nakada)
07:44 AM Revision f087f2c7 (git): [ruby/stringio] StringIO#pread: handle 0 length like IO#pread
(https://github.com/ruby/stringio/pull/67)
Fix: https://github.com/ruby/stringio/issues/66
If length is 0, IO#pread don't even try to read the IO, it simply return
the buffer untouched if there is one or a new empty buffer otherwise.
...
Jean byroot Boussier
07:11 AM Revision 9d58f938 (git): [ruby/net-http] Net::HTTPResponse nil checking
Fix nil handling in read_body and stream_check.
Fixes: #70
https://github.com/ruby/net-http/commit/36f916ac18
Brian Hawley
07:00 AM Revision d088b9f7 (git): Update bundled gems list at 2023-10-05
git[bot]
05:23 AM Revision efa18fd6 (git): Chain nodes to exit only
nobu (Nobuyoshi Nakada)
05:23 AM Revision 5c82b9ba (git): Do not chain unexpected node
nobu (Nobuyoshi Nakada)
05:23 AM Revision 696022a0 (git): Differentiate `NODE_BREAK`/`NODE_NEXT`/`NODE_RETURN`
nobu (Nobuyoshi Nakada)
05:23 AM Revision f5f3b35b (git): Remove unused nodes in NODE_RETURN and NODE_REDO
nobu (Nobuyoshi Nakada)
05:23 AM Revision 70e16359 (git): Move internal NODE_DEF_TEMP to parse.y
nobu (Nobuyoshi Nakada)
04:19 AM Revision a472fd55 (git): Remove not used fields from colon nodes
yui-knk (Kaneko Yuichiro)
04:19 AM Revision 45350a04 (git): Correctly casting node for accessing COLON node nd_mid in compile.c
yui-knk (Kaneko Yuichiro)
04:19 AM Revision 4a3f88f1 (git): Fix cast type
yui-knk (Kaneko Yuichiro)

10/04/2023

06:43 PM Revision 8705e734 (git): Remove a binding.irb in rjit-bindgen
k0kubun (Takashi Kokubun)
05:53 PM Revision 05b9b58d (git): [Prism] Fix IfNode and ElseNode
ElseNode looks to have been implemented at the same time as IfNode, but
was resulting in a stack underflow error.
The following is from the test code
```
if foo
bar
end
```
```
❯ make run
compiling compile.c
linking miniruby
./minir...
eightbitraptor (Matt V-H)
05:28 PM Revision f834b1a4 (git): YJIT: Add a comment for YJIT_OPTIONS [ci skip]
k0kubun (Takashi Kokubun)
05:25 PM Revision 7db6f448 (git): Use a better variable name for w
k0kubun (Takashi Kokubun)
05:25 PM Revision 577ff858 (git): Make the function names consistent
k0kubun (Takashi Kokubun)
05:25 PM Revision 01c462ce (git): YJIT: Move help descriptions to options.rs
k0kubun (Takashi Kokubun)
05:25 PM Revision 49d27435 (git): Split `show_usage_line` and add `ruby_show_usage_line`
nobu (Nobuyoshi Nakada)
05:25 PM Revision 582369bb (git): Remove magic numbers from `show_usage_line`
nobu (Nobuyoshi Nakada)
05:00 PM Revision 488c0ed0 (git): [ruby/prism] Remove trailing parenthesis in Location#pretty_print
https://github.com/ruby/prism/commit/8eaa199a28 gazayas (Gabriel Zayas)
03:49 PM Bug #19909: s390x zlib different deflate algorithm producing a different compressed byte stream causing test failures
I sent PR to ruby/ruby to document this issue.
https://github.com/ruby/ruby/pull/8589
jaruga (Jun Aruga)
03:19 PM Revision 6ae2996e (git): Optimize `Range#count` by using `range_size` if possible
kyanagi (Kouhei Yanagita)
02:22 PM Revision e0c66b47 (git): [ruby/prism] [rust] write flag accessor functions
https://github.com/ruby/prism/commit/f2333ba4c8 froydnj (Nathan Froyd)
02:22 PM Revision cf2049cb (git): [ruby/prism] give flag enums a non-`typedef`'d name
https://github.com/ruby/prism/commit/630af5cb0e froydnj (Nathan Froyd)
02:02 PM Revision cd0b8d24 (git): [DOC] Fix typo in docs of IO: `#.` -> `$.`
herwin (Herwin W)
12:13 PM Revision b43cc51d (git): [ruby/irb] Clear all context usages in RubyLex
(https://github.com/ruby/irb/pull/684)
After this change, `RubyLex` will not interact with `Context` directly
in any way. This decoupling has a few benefits:
- It makes `RubyLex` easier to test as it no longer has a dependency on
`Co...
st0012 (Stan Lo)
10:27 AM Revision 94bcae1b (git): Special treat when the first line ends with a dot [ci skip]
nobu (Nobuyoshi Nakada)
08:22 AM Bug #19910: Set#delete_if behavior inconsistent with Array/Hash
I was just looking at this, and it seems like the behaviour used to be as you expected but changed in v2.1, https://github.com/ruby/ruby/commit/2849ee5d18360f26b55643a2643a1c597376865d stevegeek (Stephen Ierodiaconou)
06:46 AM Bug #19893: OpenStruct#respond_to? when true fails with NameError
Thank you! That's it.
msxavi (Emerson Xavier)
05:39 AM Revision 465bc682 (git): YJIT: Call mprotect after entry stub failure (#8582)
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com> k0kubun (Takashi Kokubun)
05:12 AM Revision 6d28f969 (git): [DOC] Fix description for `rb_postponed_job_register_one()`
The current documentation for `rb_postponed_job_register_one()` is
explaining the differences with itself, where it should be explaining
the differences with `rb_postponed_job_register()`.
osyoyu (Daisuke Aritomo)
03:15 AM Revision ed8a3428 (git): Remove not used fields from variable nodes
yui-knk (Kaneko Yuichiro)
02:51 AM Revision 2e1762c9 (git): Update default gems list at e501613efa2b010d6d697a4df264a2 [ci skip]
git[bot]
02:50 AM Revision e501613e (git): [ruby/bigdecimal] Bump up to 3.1.5
https://github.com/ruby/bigdecimal/commit/c47802e813 nobu (Nobuyoshi Nakada)
01:25 AM Revision d3fd4a6d (git): BigDecimal#to_s has not changed for fraction part
The test for integer part was separated at dc54574adefe. nobu (Nobuyoshi Nakada)

10/03/2023

09:45 PM Revision ea491802 (git): YJIT: add heuristic to avoid compiling cold ISEQs (#8522)
* YJIT: Add counter to measure how often we compile "cold" ISEQs (#535)
Fix counter name in DEFAULT_COUNTERS
YJIT: add --yjit-cold-threshold, don't compile cold ISEQs
YJIT: increase default cold threshold to 200_000
Remove rb_yjit_ca...
maximecb (Maxime Chevalier-Boisvert)
06:46 PM Revision d47af931 (git): [ruby/prism] Provide pm_parser_err_current and pm_parser_err_previous
https://github.com/ruby/prism/commit/4828c96939 kddnewton (Kevin Newton)
06:46 PM Revision ad0e8ddb (git): [ruby/prism] Consolidate diagnostic appendings
https://github.com/ruby/prism/commit/4f107d8962 kddnewton (Kevin Newton)
05:16 PM Revision accda74c (git): [rubygems/rubygems] Prevent gem activation in standalone mode
As discussed in https://github.com/rubygems/rubygems/issues/6273#issuecomment-1449176658
The `gem` method behaves awkwardly in standalone mode. Assuming bundler
isn't loaded at all, a call to gem might activate a gem that is not part
of...
dodecadaniel (Daniel Colson)
04:54 PM Revision 1992aef7 (git): YJIT: Stop spilling temps on jit_prepare_routine_call (#8581)
YJIT: Remove spill_temps from jit_prepare_routine_call k0kubun (Takashi Kokubun)
04:19 PM Revision 68df4378 (git): Allow changing RUBY_PATCHLEVEL_STR if RUBY_PATCHLEVEL == -1 (#8578)
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> k0kubun (Takashi Kokubun)
03:12 PM Revision 32baa2c7 (git): Update default gems list at 5dfbf1a3814c4d84a5ae375751f5f9 [ci skip]
git[bot]
03:10 PM Revision 5dfbf1a3 (git): [ruby/reline] Bump version to 0.3.9
(https://github.com/ruby/reline/pull/594)
https://github.com/ruby/reline/commit/b6fb72718a
ima1zumi (Mari Imaizumi)
01:02 PM Revision 10379ebf (git): Support regexp in log-fix [ci skip]
nobu (Nobuyoshi Nakada)
09:42 AM Revision ed0661e6 (git): [rubygems/rubygems] Don't re-resolve with prereleases if unlocked gem has no prereleases
https://github.com/rubygems/rubygems/commit/d76dc70d90 deivid (David Rodríguez)
09:42 AM Revision b73ef929 (git): [rubygems/rubygems] Fix typo
https://github.com/rubygems/rubygems/commit/64e7a2656a deivid (David Rodríguez)
07:31 AM Revision b4ab013b (git): [DOC] Link fixes
burdettelamar (Burdette Lamar)
07:13 AM Revision 25b536cc (git): [rubygems/rubygems] Fix invalid links in documentation. - wrap ENV variables in <code> - fix rubygems.org link - fix zenspider.com link
https://github.com/rubygems/rubygems/commit/9eaac94a63 retro (Josef Šimánek)
07:13 AM Revision 9ffd659d (git): [rubygems/rubygems] 🐛 Specification of branch or ref with tag is ambiguous
- Specs for GitProxy were incorrect and insufficient
- Specs are now correct and less insufficient
https://github.com/rubygems/rubygems/commit/63d0a8cfd0
peter.boling (Peter Boling)
07:13 AM Revision 16a97c7b (git): [rubygems/rubygems] 🚨 Rubocop Linting
https://github.com/rubygems/rubygems/commit/2851e051c3 peter.boling (Peter Boling)
07:13 AM Revision 0046c67d (git): [rubygems/rubygems] Fix typo: eglible -> eligible.
https://github.com/rubygems/rubygems/commit/1e487e1337 retro (Josef Šimánek)
07:13 AM Revision 798083fa (git): [ruby/csv] [DOC] Fix broken links
(https://github.com/ruby/csv/pull/283)
https://github.com/ruby/csv/commit/af64a15b2f
burdettelamar (Burdette Lamar)
07:13 AM Revision 2325e1cd (git): [ruby/csv] Add CSV::InvalidEncodingError
(https://github.com/ruby/csv/pull/287)
To handle encoding errors in CSV parsing with the appropriate error
class
https://github.com/ruby/csv/commit/68b44887e5
Kosuke Shibata
05:42 AM Revision 457971f4 (git): [DOC] State the precision of `Process.times` as platform-defined
Remove the bad example that can lead to misunderstanding as if this
precision is defined in Ruby.
nobu (Nobuyoshi Nakada)
05:27 AM Revision 8be9138d (git): Check by integer modulo instead of float string
nobu (Nobuyoshi Nakada)
04:10 AM Revision 2dee2662 (git): Create dummy files in build dir in setup [ci skip]
nobu (Nobuyoshi Nakada)
12:08 AM Revision 3b47fb2c (git): [rubygems/rubygems] Update suggested variable for bindir
https://github.com/rubygems/rubygems/commit/f9cc6fed25 hsbt (Hiroshi SHIBATA)
 

Also available in: Atom