Project

General

Profile

Activity

From 09/21/2024 to 09/27/2024

09/27/2024

05:45 PM Revision 027ef605 (git): [Bug #20763] Add tests
nobu (Nobuyoshi Nakada)
05:44 PM Bug #20763 (Closed): Stack consistency error with bare endless range
kddnewton (Kevin Newton)
05:07 PM Bug #20763: Stack consistency error with bare endless range
Thanks @tompng — https://github.com/ruby/ruby/pull/11714 should fix this. kddnewton (Kevin Newton)
04:50 PM Bug #20763 (Closed): Stack consistency error with bare endless range
`<compiled>: [BUG] Stack consistency error (sp: 7, bp: 6)` running these codes. No error with --parser=parse.y
~~~sh...
tompng (tomoya ishida)
05:43 PM Revision addb5fea (git): Fix up compiling popped ranges with non-optimizable bounds
Fixes [Bug #20763] kddnewton (Kevin Newton)
04:59 PM Revision 7e19904c (git): Remove on `RSTRING_END` dependency from parser
nobu (Nobuyoshi Nakada)
04:49 PM Revision d1324170 (git): [rubygems/rubygems] Warning about PATH in `--user-install` mode is only necessary for gems with executables
https://github.com/rubygems/rubygems/commit/2fe0f452a2 deivid (David Rodríguez)
03:59 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
I meant that I think in Ruby 3.4 (prior to my patch), the warning would also apply to non Bundler contexts that lead ... deivid (David Rodríguez)
03:33 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
deivid (David Rodríguez) wrote in #note-14:
> I think this would affect both Bundler and non Bundler usages. Current...
Eregon (Benoit Daloze)
11:08 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
I see that https://github.com/ruby/ruby/pull/11550 was merged which is great but I'm confused about https://github.co... Earlopain (Earlopain _)
03:21 PM Feature #6012: Proc#source_location also return the column
I also really like @ioquatix 's suggestion in https://bugs.ruby-lang.org/issues/6012#note-13 and it is a lot more fle... Eregon (Benoit Daloze)
03:06 PM Feature #6012: Proc#source_location also return the column
It seems good to revisit this, the workarounds are pretty messy and CRuby-specific, e.g. https://github.com/rails/rai... Eregon (Benoit Daloze)
03:08 PM Misc #20717: DevMeeting-2024-10-03
* [Feature #6012] Proc#source_location also return the column (eregon)
* How about `{Proc,Method,UnboundMethod}.sou...
Eregon (Benoit Daloze)
03:00 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
Thanks for the links, yes, that seems a perfect use case for more information in `#source_location`, going through `R... Eregon (Benoit Daloze)
02:44 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
Eregon (Benoit Daloze) wrote in #note-7:
> @Earlopain Is there a reason you need this and cannot just use e.g. `Prism...
Earlopain (Earlopain _)
02:37 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
In general the entire `RubyVM::AbstractSyntaxTree` module should be considered deprecated (and maybe even removed), g... Eregon (Benoit Daloze)
02:30 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
@Earlopain Is there a reason you need this and cannot just use e.g. `Prism.parse("proc {1 + 2}")`?
A cleaner and por...
Eregon (Benoit Daloze)
02:45 PM Revision b873787a (git): Update recommendations regarding parsing Ruby code now that Prism is stable
Eregon (Benoit Daloze)
02:45 PM Feature #14844 (Rejected): Future of RubyVM::AST?
These days, I believe there is no value to make `RubyVM::AbstractSyntaxTree` stable.
The official Ruby API to parse ...
Eregon (Benoit Daloze)
02:10 PM Revision 94ad2c3f (git): Reduce creating `rb_parser_string_t` repeatedly for literals.
Since #11698, `parser_str_new` makes `rb_parser_string_t` and `VALUE`
but discards the former, and then `STR_NEW3` ma...
nobu (Nobuyoshi Nakada)
02:10 PM Revision 710d916c (git): Add wrapper macros of `rb_parser_str_buf_cat`
nobu (Nobuyoshi Nakada)
01:58 PM Revision 098649bc (git): [ruby/rdoc] Add home page link to output message
(https://github.com/ruby/rdoc/pull/1165)
The link is clickable in the terminal and opens the home page in the browse...
st0012 (Stan Lo)
10:34 AM Revision 7f83bd37 (git): Reduce `is_ascii_string` function dependency for parser
Changed to use `rb_parser_is_ascii_string` function instead of `is_ascii_string` function S_H_ (Shun Hiraoka)
09:39 AM Revision c1ee5ea2 (git): Avoid to unintentional Bundler definition by Bundler::Definition.no_lock
hsbt (Hiroshi SHIBATA)
09:39 AM Revision ff3f6155 (git): Only warn fiddle as optional dependency
hsbt (Hiroshi SHIBATA)
09:20 AM Revision eff16d93 (git): Implement OP_ASGN1 NODE locations
ydah (Yudai Takada)
08:03 AM Revision a70adce1 (git): Only `warn` about bundled gems when require succeeds
deivid (David Rodríguez)
06:15 AM Bug #20762 (Closed): `make test-basic` with -DRGENGC_FORCE_MAJOR_GC is always failure
https://github.com/ruby/ruby/actions/runs/11063957302/job/30741993035#step:8:1816
----
```
/github/workspace/s...
hsbt (Hiroshi SHIBATA)
05:39 AM Revision a896c4cc (git): RGENGC_FORCE_MAJOR_GC is disabled same as current HEAD
hsbt (Hiroshi SHIBATA)
05:39 AM Revision b63f3c9d (git): Use user.login instead of actor
hsbt (Hiroshi SHIBATA)
05:39 AM Revision e58c7a93 (git): Applied https://github.com/ruby/ruby/pull/11574
hsbt (Hiroshi SHIBATA)
05:39 AM Revision 52bb90f9 (git): sequential execution of some CI tasks
reduced parallelism from some 50-ish to 10-ish so that other jobs
can run.
shyouhei (Shyouhei Urabe)
05:30 AM Bug #20560 (Assigned): make install - skipped bundled gems - minor issue
hsbt (Hiroshi SHIBATA)
04:37 AM Misc #16267 (Closed): MinGW CI - add to Actions ?
https://github.com/ruby/ruby/commits/master/.github/workflows/mingw.yml is available today. hsbt (Hiroshi SHIBATA)
04:31 AM Revision d7e5133d (git): [ruby/benchmark] Add example for Benchmark.realtime
https://github.com/ruby/benchmark/commit/0f278be6c1 nithinbekal (Nithin Bekal)
04:31 AM Revision 3209bb95 (git): [ruby/benchmark] Specify unit of time for Benchmark.realtime
https://github.com/ruby/benchmark/commit/388236685c nithinbekal (Nithin Bekal)
04:14 AM Revision dc8fa59f (git): Skip non-existent directories in PATH
nobu (Nobuyoshi Nakada)
12:58 AM Revision 0c25eb4f (git): s/interation/iteration/
ydah (Yudai Takada)
12:58 AM Revision a50a7c70 (git): s/erorr/error/
ydah (Yudai Takada)

09/26/2024

07:37 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
Yeah, I think it would make sense to update those docs to indicate that it only works when the instruction sequences ... kddnewton (Kevin Newton)
04:35 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
This is great info, thank you! I'm aware about the non-guarantees for `RubyVM`, just something to live with. `Abstrac... Earlopain (Earlopain _)
04:25 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
Note that all the APIs under RubyVM are subject to change, so you're effectively calling internal APIs here. Just so ... kddnewton (Kevin Newton)
04:24 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
For a proc you can mirror what `RubyVM::AbstractSyntaxTree.of` is doing under the hood using `RubyVM::InstructionSequ... kddnewton (Kevin Newton)
04:17 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
kddnewton (Kevin Newton) wrote in #note-1:
> This is expected behavior. The instruction sequences will have differen...
Earlopain (Earlopain _)
03:47 PM Bug #20761 (Closed): [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
This is expected behavior. The instruction sequences will have different node ids, so it's not possible to retrieve t... kddnewton (Kevin Newton)
03:38 PM Bug #20761 (Closed): [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
https://docs.ruby-lang.org/en/master/RubyVM/AbstractSyntaxTree.html#method-c-of
```rb
RubyVM::AbstractSyntaxTree....
Earlopain (Earlopain _)
04:25 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
I think this would affect both Bundler and non Bundler usages. Currently the warnings recommends to install the gem f... deivid (David Rodríguez)
02:03 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
https://github.com/ruby/ruby/pull/11550 seems a good solution to me.
I think it is expected to only get the LoadErro...
Eregon (Benoit Daloze)
11:05 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
Maybe I have another solution alltogether:
```rb
begin
gem 'fiddle'
rescue LoadError
# Not available, no r...
Earlopain (Earlopain _)
10:43 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
@deivid Thanks for sharing. My concern is [here](https://github.com/ruby/ruby/pull/11550#issuecomment-2376573020)
...
hsbt (Hiroshi SHIBATA)
10:26 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
@hsbt found an issue with the simpler approach. It will no longer show information about bundled gem extraction "afte... deivid (David Rodríguez)
04:03 PM Revision 0209b955 (git): Extract `setup_branch`
From duplicate code in `decl_branch_base` and `add_trace_branch_coverage`. ydah (Yudai Takada)
04:00 PM Revision 1172d659 (git): [DOC] Improve description of `LoadError#path` and `SyntaxError#path`
deivid (David Rodríguez)
03:47 PM Revision 9a966a09 (git): [ruby/prism] Fix incorrect reference to AlternationPatternNode as non-void expressions
https://github.com/ruby/prism/commit/68de31919e Daniel Insley
03:47 PM Revision a73d80db (git): [ruby/prism] Add fields documentation for AliasMethodNode and AlternationPatternNode
https://github.com/ruby/prism/commit/6953daebde Daniel Insley
02:57 PM Revision 1f431b63 (git): [ruby/prism] Reject non-assoc ranges with subsequent operators
https://github.com/ruby/prism/commit/976a3cd0a5 kddnewton (Kevin Newton)
01:39 PM Revision e71f8905 (git): Update default gems list at 49057f36efd894663cc879be08ada0 [ci skip]
git[bot]
01:38 PM Revision 49057f36 (git): [ruby/irb] Bump version to v1.14.1
(https://github.com/ruby/irb/pull/1009)
https://github.com/ruby/irb/commit/04cd2317ef
st0012 (Stan Lo)
11:01 AM Revision 87f4999b (git): s/accomodate/accommodate/
ydah (Yudai Takada)
11:01 AM Revision cc1e1e77 (git): s/useable/usable/
ydah (Yudai Takada)
10:20 AM Revision 3e742579 (git): Remove rb_str_cat for parser
S_H_ (Shun Hiraoka)
09:17 AM Revision 2a65f4c9 (git): Extract `mutable_CFString_new`
From duplicate code in `rb_CFString_class_initialize_before_fork` and
`rb_str_append_normalized_ospath`.
nobu (Nobuyoshi Nakada)
08:53 AM Revision 71b253cd (git): Added LARCH_REG_FP to dump results
hsbt (Hiroshi SHIBATA)
08:53 AM Revision a07bf6d5 (git): Use constants for register numbers
hsbt (Hiroshi SHIBATA)
08:53 AM Revision bdee1772 (git): Removed duplicated dumps
hsbt (Hiroshi SHIBATA)
08:07 AM Revision b2ee760f (git): Update test dependencies
deivid (David Rodríguez)
07:59 AM Revision b7674a12 (git): [rubygems/rubygems] Get specs to run on JRuby and make them pass
Turns out we were not running specs on JRuby, so we introduced a
failure. Seems fine to skip.
https://github.com/rub...
deivid (David Rodríguez)
07:38 AM Feature #20437: Could the licensing conditions be made less ambiguous?
@Matz would you mind to comment on the license? How it should be properly applied? What (SPDX) identifiers should be ... vo.x (Vit Ondruch)
07:34 AM Revision 8cd295ec (git): regparse possible memory leak fix proposal
David Carlier
06:11 AM Misc #20717: DevMeeting-2024-10-03
* [Feature #10459] [PATCH] rfc3339 method for Time
* https://github.com/rails/rails/blob/b88d9af34fbc1c84ce2769ba02...
hsbt (Hiroshi SHIBATA)
04:56 AM Revision a3fd24e2 (git): [ruby/digest] Import patches for old macOS from MacPorts
https://github.com/ruby/digest/commit/07a5db2f77 nobu (Nobuyoshi Nakada)
04:00 AM Bug #13831: error when try to install
ruby_3_2 commit:2d62c5d3d9a565fe50a3582124e6d4a58d130084 merged revision(s) commit:0d16c36d0ab2afa2ec79b72b229e69c141... nagachika (Tomoyuki Chikanaga)
04:00 AM Revision 2d62c5d3 (git): merge revision(s) 0d16c36d0ab2afa2ec79b72b229e69c141ebdaba: [Backport #13831]
[win32/registry] Fallback to UTF-8 for unknown codepages
There are some codepages like cp708 for which no ru...
nagachika (Tomoyuki Chikanaga)
02:58 AM Revision 7340c1ac (git): Bump actions/checkout in /.github/actions/setup/directories
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.c...
dependabot[bot]
01:41 AM Bug #20760 (Closed): Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
Ruby 3.0 is EOL now. We will not backport related changes into `ruby_3_0` branch. hsbt (Hiroshi SHIBATA)
01:32 AM Revision 8350b48c (git): Import patches for old macOS from MacPorts
nobu (Nobuyoshi Nakada)

09/25/2024

11:52 PM Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
`[email protected]` is not related for this build failure.
I could build applied https://bugs.ruby-lang.org/projects/rub...
hsbt (Hiroshi SHIBATA)
11:43 PM Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
Following commits will be needed to compile 3.0 with the recent Xcode:
- commit:4113862c0068a8a95d752f5fdf14980f92cd...
nobu (Nobuyoshi Nakada)
02:22 PM Bug #20760 (Closed): Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
I support a Rails 6.1 project with Ruby 3.0.6 and am unable to build 3.0.6 on a new mac book pro running macOS 15.0 2... jschoolcraft (Jeff Schoolcraft)
09:05 PM Revision 80e483af (git): Fold rules [ci skip]
nobu (Nobuyoshi Nakada)
07:43 PM Revision cab81d1b (git): [ruby/prism] Update templates/include/prism/ast.h.erb
https://github.com/ruby/prism/commit/dc7164e21c kddnewton (Kevin Newton)
07:43 PM Revision fa7fef27 (git): [ruby/prism] Fix rendering of type overview docs
https://github.com/ruby/prism/commit/d42bc309cc Alexander Momchilov
07:19 PM Revision be331c0e (git): [ruby/prism] Fix up more error messages to more closely match parse.y
https://github.com/ruby/prism/commit/988ac82187 kddnewton (Kevin Newton)
06:42 PM Revision 8bf55328 (git): [DOC] Tweaks for Array#find_index (#11686)
burdettelamar (Burdette Lamar)
06:35 PM Revision b97ff7df (git): [ruby/prism] Fix up lex difference when ~ heredoc with 0 dedent and line continuation
https://github.com/ruby/prism/commit/84a9251915 kddnewton (Kevin Newton)
06:34 PM Revision 12cf9f2a (git): [ruby/prism] Fix up void value expression checking for rescue
https://github.com/ruby/prism/commit/509ff88e92 kddnewton (Kevin Newton)
05:56 PM Revision 77fb1bf4 (git): Merge RubyGems-3.5.20 and Bundler-2.5.20
hsbt (Hiroshi SHIBATA)
05:56 PM Revision 38948411 (git): Merge RubyGems-3.5.19 and Bundler-2.5.19
hsbt (Hiroshi SHIBATA)
05:56 PM Revision ef3c4a7a (git): Merge RubyGems-3.5.18 and Bundler-2.5.18
hsbt (Hiroshi SHIBATA)
05:56 PM Revision 95f72a4a (git): Merge RubyGems-3.5.17 and Bundler-2.5.17
hsbt (Hiroshi SHIBATA)
05:33 PM Revision 768ceceb (git): [ruby/prism] Disallow label in parentheses
https://github.com/ruby/prism/commit/b624e09cc6 kddnewton (Kevin Newton)
04:23 PM Revision 6a168fbf (git): Potentially fix ASAN checks for GC-ing operand
kddnewton (Kevin Newton)
04:18 PM Revision 505206b8 (git): YJIT: Cache Context decoding (#11680)
k0kubun (Takashi Kokubun)
04:17 PM Revision a6ea4ddb (git): [ruby/prism] Remove use of __assume to simplify
https://github.com/ruby/prism/commit/4daf58f7a0 kddnewton (Kevin Newton)
04:08 PM Revision bf6109c8 (git): [ruby/prism] Fix up windows use of __assume
https://github.com/ruby/prism/commit/9fd0c0901e kddnewton (Kevin Newton)
03:47 PM Revision 57688cd6 (git): [ruby/prism] Support a max depth to protect against malicious payloads
https://github.com/ruby/prism/commit/a474017bbe kddnewton (Kevin Newton)
03:14 PM Revision b7777249 (git): Don't check poisoned for immediates
peterzhu2118 (Peter Zhu)
03:00 PM Revision c32fd1b5 (git): Add debugging code to vm_objtostring in ASAN
To debug this issue on CI:
http://ci.rvm.jp/logfiles/brlog.trunk_asan.20240922-002945
peterzhu2118 (Peter Zhu)
01:52 PM Revision ecbc4a67 (git): Fix up new types for block arguments and splats in prism compiler
kddnewton (Kevin Newton)
01:46 PM Revision cafd666a (git): [ruby/prism] Type every node field and mark on-error-only types explicitly
* For Loader.java, do not deserialize the AST if there are errors, so then Java nodes only have non-error types for f... Eregon (Benoit Daloze)
12:56 PM Revision 407f8b87 (git): Fix memory leak in Ripper for indented heredocs
The allocated parser string is never freed, which causes a memory leak.
The following code leaks memory:
Ripper...
peterzhu2118 (Peter Zhu)
08:36 AM Revision 3830bca5 (git): TestProcess#test_daemon_noclose is only working with macOS 15.1 beta, we should skip with macOS 15.0
hsbt (Hiroshi SHIBATA)
02:45 AM Revision 76543a34 (git): Bump github/codeql-action from 3.26.8 to 3.26.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.9.
- [Release notes](https:...
dependabot[bot]
02:18 AM Revision 0283b5dd (git): Check syntax warnings in built-in scripts
nobu (Nobuyoshi Nakada)
01:44 AM Bug #13831 (Closed): error when try to install
I merged https://github.com/ruby/ruby/pull/7366 for this. hsbt (Hiroshi SHIBATA)
01:43 AM Revision 0d16c36d (git): [win32/registry] Fallback to UTF-8 for unknown codepages
There are some codepages like cp708 for which no ruby encoding exists:
$ ruby -e "Encoding.find('cp708')"
Tr...
Josh Cooper
01:40 AM Revision c94ea1cc (git): Fix size modifier for `size_t`
nobu (Nobuyoshi Nakada)
12:15 AM Revision 509b577e (git): Implement BLOCK_PASS NODE keyword locations
ydah (Yudai Takada)
12:06 AM Revision 31a88d15 (git): Implement RETURN NODE keyword locations
ydah (Yudai Takada)

09/24/2024

10:06 PM Revision 6b46060f (git): doc: Remove description of experimental warnings related pattern matching from documentation
Ruby 3.2.0 has been released and all experimental warnings about pattern matching have been removed.
Experimental war...
masatoshi_moritsuka
09:08 PM Revision a80a9cf9 (git): Further split up pm_compile_node to work on -O0 builds
kddnewton (Kevin Newton)
08:35 PM Revision d5241414 (git): [DOC] More on Array#fill (#11610)
burdettelamar (Burdette Lamar)
07:25 PM Revision d31378dc (git): [ruby/psych] Use `String#match?` over `String#=~` when applicable
Save on allocating useless `MatchData` instances.
https://github.com/ruby/psych/commit/b2d9f16e58
byroot (Jean Boussier)
06:54 PM Revision e956ce32 (git): Use rb_bug instead of UNREACHABLE for assertions
UNREACHABLE uses __builtin_unreachable which is not intended to be used
as an assertion.
peterzhu2118 (Peter Zhu)
06:54 PM Revision c51d8ff4 (git): Fix undefined behavior in String#append_as_bytes
The UNREACHABLE macro calls __builtin_unreachable, which according to
the [GCC docs](https://gcc.gnu.org/onlinedocs/g...
peterzhu2118 (Peter Zhu)
06:28 PM Feature #20759: No good API to query which parser is being used
Note that there is another discussion around retrieving command line options given here: https://bugs.ruby-lang.org/i... kddnewton (Kevin Newton)
06:27 PM Feature #20759 (Rejected): No good API to query which parser is being used
This is on purpose. This should be a transparent change and not visible to the end user. If you need to access the pa... kddnewton (Kevin Newton)
06:17 PM Feature #20759 (Rejected): No good API to query which parser is being used
Right now the best way I found is:
```ruby
parser = RUBY_DESCRIPTION =~ /prism/i ? "prism" : "parse.y"
```
Th...
luke-gru (Luke Gruber)
05:50 PM Revision d8966416 (git): Use `PRIuSIZE` instead of `%zu` for `size_t` (#9359)
Co-authored-by: Takashi Kokubun <[email protected]> nobu (Nobuyoshi Nakada)
02:23 PM Revision 4f0fe979 (git): Free scope node in prism
peterzhu2118 (Peter Zhu)
02:23 PM Revision 4113dcc4 (git): Fix memory leak in constant ID list in prism
peterzhu2118 (Peter Zhu)
02:17 PM Revision b48add3c (git): [rubygems/rubygems] Fix `bundler/inline` overwriting lockfiles
This was introduced by https://github.com/rubygems/rubygems/commit/0b7be7bb7705, because
the original patch was not a...
deivid (David Rodríguez)
02:07 PM Revision 07842491 (git): [ruby/irb] Use proper locale in history encoding test
(https://github.com/ruby/irb/pull/1008)
https://github.com/ruby/irb/commit/f6b06a9a40
tompng (tomoya ishida)
01:28 PM Revision 2a0ee408 (git): [ruby/error_highlight] Fix error with prism when method given no arguments
such as:
p = Proc.new
This now matches the RubyVM::AbstractSyntaxTree behavior, which is
not to highlight anythin...
luke-gru (Luke Gruber)
01:21 PM Revision 414a848c (git): [ruby/prism] Accept version shorthand like 3.4
https://github.com/ruby/prism/commit/098f1c4607 kddnewton (Kevin Newton)
12:59 PM Revision e02a6097 (git): Set node_id to -1 in add_adjust_info
add_adjust_info will increment the insns_info_index, so we need to set
the node_id to -1 to prevent a "Conditional ju...
peterzhu2118 (Peter Zhu)
12:37 PM Revision 8edd6e60 (git): Update deps for prism/options.c
kddnewton (Kevin Newton)
12:24 PM Revision ed4a55fc (git): [ruby/prism] Accept all 3.3.x and 3.4.x Ruby versions for Prism.parse
https://github.com/ruby/prism/commit/a4fcd5339a Eregon (Benoit Daloze)
12:24 PM Revision b8baf3f3 (git): [ruby/prism] check_string() should always return a valid C string
* Otherwise it is invalid e.g. to call strlen() to the result,
or to assume the argument was a string.
* All caller...
Eregon (Benoit Daloze)
06:33 AM Revision 5228d349 (git): [rubygems/rubygems] Restore `gem_dir` as an instance variable accessor
I suspect someone could be setting this instance variable, and the
previous changes made that no longer effective.
A...
deivid (David Rodríguez)
06:33 AM Revision 5f47f0f7 (git): [rubygems/rubygems] Remove TODO I can't make much sense of
https://github.com/rubygems/rubygems/commit/6d627e0671 deivid (David Rodríguez)
06:33 AM Revision 4b1e852d (git): [ruby/error_highlight] Prism added node_id and Node#breadth_first_search in the 1.0 release. These methods are required for Prism to be able to find the method from the backtrace.
https://github.com/ruby/prism/blob/main/CHANGELOG.md#100---2024-08-28
In practice you will likely only end up in thi...
Adam Hess
06:12 AM Revision 373f679e (git): fix rb_memsearch() document
## Why?
The explanation of x and y is reversed.
https://github.com/ruby/ruby/blob/ddbd64400199fd408d23c85f9fb0d7f742...
naitoh (Jun NAITOH)
06:05 AM Revision 4956324a (git): mingw.yml - fixup to use ucrt, logging
MSP-Greg (Greg L)
05:18 AM Revision fac5aa05 (git): Bump github/codeql-action from 3.26.7 to 3.26.8
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.7 to 3.26.8.
- [Release notes](https:...
dependabot[bot]
05:06 AM Revision acf28e83 (git): Windows: Use Unicode aware WinAPI function for ENV[]=
This only makes a difference when setting an empty value to a Unicode key. larskanis (Lars Kanis)
05:06 AM Revision 7627a95e (git): Windows: Remove ENV code targeting Windows before Vista
Windows Vista removed the limit to 32768 bytes environment block.
Also MINGW supports _wputenv_s() for years.
larskanis (Lars Kanis)
05:06 AM Revision 0641845a (git): Windows: Remove compatibility to ancient MSVCRT API
Using _wputenv_s simplifies the code and we can avoid code duplication by using rb_w32_home_dir() to initialize ENV['... larskanis (Lars Kanis)
04:32 AM Revision 79e79afe (git): Show volume details at Windows platform of GHA
hsbt (Hiroshi SHIBATA)
03:41 AM Bug #20631: Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
The Xcode version had no effect on this.
In fact, the same error appeared on macOS 15.0 for binaries built with eith...
nobu (Nobuyoshi Nakada)

09/23/2024

11:40 PM Revision 48b3386f (git): Fix a typo
k0kubun (Takashi Kokubun)
11:39 PM Revision 798a115a (git): Fix a -Wsign-compare warning
../time.c:5247:50: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘long unsigned int’ due to unsignedness ... k0kubun (Takashi Kokubun)
07:51 PM Revision fc043a2e (git): Remove write barrier for non-Ruby object
enumerator's meth attribute is an ID, which is not a Ruby object, so we
should not apply the write barrier on it.
peterzhu2118 (Peter Zhu)
07:06 PM Bug #20729: Test failure with 0fc8422a05 and native mswin environment
@hsbt is there any way you can open a pull request with a failing test? All of the windows environments I'm seeing on... kddnewton (Kevin Newton)
06:29 PM Bug #20745: IO::Buffer#copy triggers UB when src/dest buffers overlap
After reviewing `memcpy` and `memmove` from open-source libc implementations, I found some optimize for small copies ... hanazuki (Kasumi Hanazuki)
04:53 PM Bug #20758 (Closed): Build failure with macOS Sequoia (15.0) and Xcode 16
Closing this as a duplicate. My apologies. eightbitraptor (Matt V-H)
02:39 PM Bug #20758 (Closed): Build failure with macOS Sequoia (15.0) and Xcode 16
## Observed behaviour
Test failures in `TestProcess#test_daemon_noclose`. Output as follows:
```
Run options:
...
eightbitraptor (Matt V-H)
04:25 PM Revision ec04de75 (git): Bump debug.gem to 1.9.2
k0kubun (Takashi Kokubun)
04:25 PM Revision 5b600987 (git): Ensure fiber scheduler is woken up when close interrupts read
If one thread is reading and another closes that socket, the close
blocks waiting for the read to abort cleanly. This...
kjtsanaktsidis (KJ Tsanaktsidis)
03:45 PM Revision 19c617b5 (git): Revert "GC guard current_string in the putobject instruction"
This reverts commit 69f28ab715a02692fb2a9128bed46044963cbb50.
This commit is being reverted because it does not fix ...
peterzhu2118 (Peter Zhu)
02:36 PM Revision f6dcab5f (git): Assert that objects in write barrier are not dead
peterzhu2118 (Peter Zhu)
12:23 PM Revision 4c3727c6 (git): Add anonymous module name spec.
Samuel Williams
12:20 PM Bug #20733: Build failure OpenSSL extension with FreeBSD 13.3
It's good to know that the build failure was fixed. Can we close this issue ticket now?
jaruga (Jun Aruga)
10:53 AM Revision 5d53993a (git): [rubygems/rubygems] Don't try to auto-install dev versions of Bundler not available remotely
https://github.com/rubygems/rubygems/commit/1a7a3fdeb9 deivid (David Rodríguez)
10:49 AM Revision d0925c07 (git): [rubygems/rubygems] Ensure refs directory in cached git source
See https://github.com/rubygems/rubygems/issues/8046 for details
Prior to this commit a cached git source without a ...
dodecadaniel (Daniel Colson)
10:37 AM Revision c071fedb (git): [rubygems/rubygems] Fix `bundle outdated` with `--group` option
It was printing incorrect output and returning incorrect status.
https://github.com/rubygems/rubygems/commit/96f5979c7d
deivid (David Rodríguez)
05:29 AM Revision 7be1fafe (git): Refactor `Time#xmlschema`
And refine uncommon date cases.
# Iteration per second (i/s)
| |compare-ruby|built-ruby|...
nobu (Nobuyoshi Nakada)
12:29 AM Bug #20723: `IO#close` is broken on Ruby 3.3+ when using the Fiber scheduler.
Backport PR for 3.3 - https://github.com/ruby/ruby/pull/11664
No backport for 3.2 is required because this locking...
kjtsanaktsidis (KJ Tsanaktsidis)
12:19 AM Revision b811a9a0 (git): Implement CASE3 NODE keyword locations
ydah (Yudai Takada)
12:19 AM Revision 5334766b (git): Implement CASE2 NODE keyword locations
ydah (Yudai Takada)
12:19 AM Revision feac2b4b (git): Implement CASE NODE keyword locations
ydah (Yudai Takada)
12:11 AM Revision 02b36f75 (git): Unpoison page->freelist before trying to assert on it
Otherwise trying to deref the pointer can cause an ASAN crash, even
though the only reason we're dereferencing it is ...
KJ Tsanaktsidis

09/22/2024

11:36 AM Feature #20757: Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
Actually it seems like retrieving the method object using the `method_id` does not work well for super-calls. See thi... richardboehme (Richard Böhme)
03:22 AM Revision 95d26ee4 (git): Reuse dedent_string function in rb_ruby_ripper_dedent_string function
This change is reduce Ruby C API dependency for Universal Parser.
Reuse dedent_string functions in rb_ruby_ripper_ded...
S_H_ (Shun Hiraoka)

09/21/2024

06:00 PM Bug #20337 (Closed): Complex#inspect mutates the string returned by `real.inspect`
Applied in changeset commit:git|9f574fa12f0cbe9d7aa4a11a6c7055ed32f02822.
----------
Make Complex#{inspect,to_s} wor...
jeremyevans (Jeremy Evans)
06:00 PM Revision 9f574fa1 (git): Make Complex#{inspect,to_s} work correctly if real part #inspect returns frozen string
Make static f_format function take a non-frozen string to append
to.
This does not result in an additional allocatio...
jeremyevans (Jeremy Evans)
08:18 AM Bug #20452: Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
nobu (Nobuyoshi Nakada) wrote in #note-7:
> Sorry to be late.
> I updated the [PR](https://github.com/ruby/ruby/pul...
Earlopain (Earlopain _)
 

Also available in: Atom