Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
c31e1506 10/13/2026 01:44 PM znz (Kazuhiro NISHIYAMA)

tool/run-lcov.rb: Exclude bundled gems from coverage aggregation

Since a1efb9ae6b (Promote prism to a bundled gem), the prism extension
is also built with gcov under .bundle/gems/prism-1.9.0/ext/prism. Its
generated node.c carries #line directives pointing at...

47dddf78 10/13/2026 11:27 AM peterzhu2118 (Peter Zhu)

[ruby/mmtk] Directly call functions in C binding

This commit removes RubyUpcalls and instead directly calls functions in
the C binding from Rust. This also allows LTO to inline C calls from Rust.

https://github.com/ruby/mmtk/commit/0f5a049a2d

76268ed6 10/13/2026 09:42 AM rhenium (Kazuki Yamaguchi)

io.c: refactor io_getpartial()

io_getpartial() and io_read_nonblock() are now almost identical.

62d2c391 10/13/2026 09:42 AM rhenium (Kazuki Yamaguchi)

io.c: ignore failure to set O_NONBLOCK in ARGF.read_nonblock

Commit 1bafa4a59b29 (Ignore failure to set nonblock mode. (#6524),
2022-10-11) changed IO#read_nonblock to work with files on Windows, but
did not make the same change to ARGF.read_nonblock. Do so for ARGF as...

b10b8048 10/13/2026 09:39 AM rhenium (Kazuki Yamaguchi)

io_buffer.c: use rb_off_t consistently

Fix an rb_off_t value being implicitly converted to off_t and then back
to rb_off_t.

9d123b1e 10/13/2026 09:29 AM hsbt (Hiroshi SHIBATA)

Saturate parser columns at INT_MAX

Token columns are int, so a token past column INT_MAX got a negative column, and the excerpt shown for a syntax error there was read from before the line.

Co-Authored-By: Claude Opus 5.5

e5e36b4e 10/13/2026 09:29 AM hsbt (Hiroshi SHIBATA)

Range-check parser columns with rb_len2int

rb_long2int is a plain cast where int and long have the same width, so on 64-bit mswin a column past INT_MAX wrapped instead of raising RangeError as it does on LP64.

Co-Authored-By: Claude Opus 5.5

c68782a2 10/13/2026 09:29 AM hsbt (Hiroshi SHIBATA)

Hold heredoc offsets in rb_len_t

Where rb_len_t is wider than long, a heredoc opener past column LONG_MAX made the long offset negative, and the identifier and the restored lexer position were read from before the line.

Co-Authored-By: Claude Opus 5.5

4f42bb94 10/13/2026 09:29 AM hsbt (Hiroshi SHIBATA)

Hold parser string lengths in rb_len_t

rb_parser_string_t kept its length in a long, so rb_str_to_parser_string had to reject a String longer than LONG_MAX where rb_len_t is wider than long. Now the parser string holds the whole length and the check is gone....

2722027e 10/13/2026 08:05 AM git[bot]

Update default gems list at 53e7d061f90ae80236e7a917b924ea [ci skip]

View all revisions | View revisions

Also available in: Atom