<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/universal_parser.c, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>rb_strlen_lit: support wide string literals</title>
<updated>2024-11-10T13:52:17+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-11-10T13:52:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bce1bd1dc168f41e6d41c19e5a4cefb618fb9e29'/>
<id>bce1bd1dc168f41e6d41c19e5a4cefb618fb9e29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove rb_ary_new for parser</title>
<updated>2024-10-25T13:32:38+00:00</updated>
<author>
<name>S-H-GAMELINKS</name>
<email>gamelinks007@gmail.com</email>
</author>
<published>2024-09-30T09:30:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5c1e43277e12c2ca001945b302b5c12bf3093ed9'/>
<id>5c1e43277e12c2ca001945b302b5c12bf3093ed9</id>
<content type='text'>
rb_ary_new function was not used by the parser and could be removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rb_ary_new function was not used by the parser and could be removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove on `RSTRING_END` dependency from parser</title>
<updated>2024-09-27T16:59:33+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-09-27T15:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7e19904c88fde024051333dfbd534b9fd3b26bf9'/>
<id>7e19904c88fde024051333dfbd534b9fd3b26bf9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce `is_ascii_string` function dependency for parser</title>
<updated>2024-09-27T10:34:35+00:00</updated>
<author>
<name>S-H-GAMELINKS</name>
<email>gamelinks007@gmail.com</email>
</author>
<published>2024-09-26T13:04:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7f83bd3732b9ecb66655416a58b4c2bf329afa20'/>
<id>7f83bd3732b9ecb66655416a58b4c2bf329afa20</id>
<content type='text'>
Changed to use `rb_parser_is_ascii_string` function instead of `is_ascii_string` function
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed to use `rb_parser_is_ascii_string` function instead of `is_ascii_string` function
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove rb_str_cat for parser</title>
<updated>2024-09-26T10:20:57+00:00</updated>
<author>
<name>S-H-GAMELINKS</name>
<email>gamelinks007@gmail.com</email>
</author>
<published>2024-09-24T03:21:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3e742579bb5626e1d48c2c2e65cd448399deae9b'/>
<id>3e742579bb5626e1d48c2c2e65cd448399deae9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reuse dedent_string function in rb_ruby_ripper_dedent_string function</title>
<updated>2024-09-22T03:22:20+00:00</updated>
<author>
<name>S-H-GAMELINKS</name>
<email>gamelinks007@gmail.com</email>
</author>
<published>2024-09-20T23:39:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=95d26ee41e136088560caa04943d177342795b5b'/>
<id>95d26ee41e136088560caa04943d177342795b5b</id>
<content type='text'>
This change is reduce Ruby C API dependency for Universal Parser.
Reuse dedent_string functions in rb_ruby_ripper_dedent_string functions and remove dependencies on rb_str_modify and rb_str_set_len from the parser.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change is reduce Ruby C API dependency for Universal Parser.
Reuse dedent_string functions in rb_ruby_ripper_dedent_string functions and remove dependencies on rb_str_modify and rb_str_set_len from the parser.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused functions from struct rb_parser_config_struct</title>
<updated>2024-06-02T00:50:43+00:00</updated>
<author>
<name>S-H-GAMELINKS</name>
<email>gamelinks007@gmail.com</email>
</author>
<published>2024-05-09T14:48:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0cc5f77c07d964bb308e29ecb8e5b4ee81aa26d1'/>
<id>0cc5f77c07d964bb308e29ecb8e5b4ee81aa26d1</id>
<content type='text'>
StringValueCStr has not used in parse.y
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
StringValueCStr has not used in parse.y
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert 528c4501f46fbe1e06028d673a777ef124d29829</title>
<updated>2024-05-31T09:24:43+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-05-31T08:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a15e4d405ba6cafbe2f63921bd771b1241049841'/>
<id>a15e4d405ba6cafbe2f63921bd771b1241049841</id>
<content type='text'>
Recently, `TestRubyLiteral#test_float` fails randomly.

```
  1) Error:
TestRubyLiteral#test_float:
ArgumentError: SyntaxError#path changed: "(eval at /home/chkbuild/chkbuild/tmp/build/20240527T050036Z/ruby/test/ruby/test_literal.rb:642)"-&gt;"(eval at /home/chkbuild/chkbuild/tmp/build/20240527T050036Z/ruby/test/ruby/test_literal.rb:642)"
```
https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20240527T050036Z.fail.html.gz

According to Launchable, the first failure was on Apr 30.
This is just when 528c4501f46fbe1e06028d673a777ef124d29829 was
committed. I don't know if the change is really the cause, but I want to
revert it once to see if the random failure disappears.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recently, `TestRubyLiteral#test_float` fails randomly.

```
  1) Error:
TestRubyLiteral#test_float:
ArgumentError: SyntaxError#path changed: "(eval at /home/chkbuild/chkbuild/tmp/build/20240527T050036Z/ruby/test/ruby/test_literal.rb:642)"-&gt;"(eval at /home/chkbuild/chkbuild/tmp/build/20240527T050036Z/ruby/test/ruby/test_literal.rb:642)"
```
https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20240527T050036Z.fail.html.gz

According to Launchable, the first failure was on Apr 30.
This is just when 528c4501f46fbe1e06028d673a777ef124d29829 was
committed. I don't know if the change is really the cause, but I want to
revert it once to see if the random failure disappears.
</pre>
</div>
</content>
</entry>
<entry>
<title>Constify encoding type in universal parser</title>
<updated>2024-05-12T23:26:54+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-05-12T14:12:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3c16d93cd3a7c4d1362e07070c9ed9826a7272a8'/>
<id>3c16d93cd3a7c4d1362e07070c9ed9826a7272a8</id>
<content type='text'>
Fixed warning about discarding modifiers.

```
../src/ruby_parser.c:677:48: warning: passing 'rb_encoding *' (aka 'const struct OnigEncodingTypeST *') to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  677 |     ast = rb_parser_compile(p, gets, ptr, len, enc, input, line);
      |                                                ^~~
../src/internal/parse.h:58:128: note: passing argument to parameter 'fname_enc' here
   58 | rb_ast_t *rb_parser_compile(rb_parser_t *p, rb_parser_lex_gets_func *gets, const char *fname_ptr, long fname_len, rb_encoding *fname_enc, rb_parser_input_data input, int line);
      |                                                                                                                                ^
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed warning about discarding modifiers.

```
../src/ruby_parser.c:677:48: warning: passing 'rb_encoding *' (aka 'const struct OnigEncodingTypeST *') to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  677 |     ast = rb_parser_compile(p, gets, ptr, len, enc, input, line);
      |                                                ^~~
../src/internal/parse.h:58:128: note: passing argument to parameter 'fname_enc' here
   58 | rb_ast_t *rb_parser_compile(rb_parser_t *p, rb_parser_lex_gets_func *gets, const char *fname_ptr, long fname_len, rb_encoding *fname_enc, rb_parser_input_data input, int line);
      |                                                                                                                                ^
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Use `rb_parser_string_t *` as `ruby_sourcefile_string`</title>
<updated>2024-04-30T00:00:05+00:00</updated>
<author>
<name>yui-knk</name>
<email>spiketeika@gmail.com</email>
</author>
<published>2024-04-26T09:16:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=528c4501f46fbe1e06028d673a777ef124d29829'/>
<id>528c4501f46fbe1e06028d673a777ef124d29829</id>
<content type='text'>
This reduces dependency on VALUE.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reduces dependency on VALUE.
</pre>
</div>
</content>
</entry>
</feed>
