<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/include/ruby/internal/intern/string.h, 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>[DOC] Update `rb_strlen_lit`</title>
<updated>2024-12-13T04:49:33+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-12-13T04:49:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=86f00c9922df4ce7c1a493ac7bd1e0eff77b8b14'/>
<id>86f00c9922df4ce7c1a493ac7bd1e0eff77b8b14</id>
<content type='text'>
It is not "in bytes" for wide char literal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is not "in bytes" for wide char literal.
</pre>
</div>
</content>
</entry>
<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>Stop exposing `rb_str_chilled_p`</title>
<updated>2024-06-02T11:53:35+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-05-30T12:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=730e3b2ce01915c4a98b79bb281b2c38a9ff1131'/>
<id>730e3b2ce01915c4a98b79bb281b2c38a9ff1131</id>
<content type='text'>
[Feature #20205]

Now that chilled strings no longer appear as frozen, there is no
need to offer an API to check for chilled strings.

We however need to change `rb_check_frozen_internal` to no
longer be a macro, as it needs to check for chilled strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Feature #20205]

Now that chilled strings no longer appear as frozen, there is no
need to offer an API to check for chilled strings.

We however need to change `rb_check_frozen_internal` to no
longer be a macro, as it needs to check for chilled strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] remove repetitive words in comments</title>
<updated>2024-03-26T22:52:18+00:00</updated>
<author>
<name>crazeteam</name>
<email>lilujing@outlook.com</email>
</author>
<published>2024-03-26T16:15:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b2b665eba59e3fc9ad9656d9c74509a975db6fe8'/>
<id>b2b665eba59e3fc9ad9656d9c74509a975db6fe8</id>
<content type='text'>
Signed-off-by: crazeteam &lt;lilujing@outlook.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: crazeteam &lt;lilujing@outlook.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose rb_str_chilled_p</title>
<updated>2024-03-26T11:54:54+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2024-03-25T10:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2b08406cd0db0042520fb0346544660e10a4d93c'/>
<id>2b08406cd0db0042520fb0346544660e10a4d93c</id>
<content type='text'>
Some extensions (like stringio) may need to differentiate between
chilled strings and frozen strings.

They can now use rb_str_chilled_p but must check for its presence since
the function will be removed when chilled strings are removed.

[Bug #20389]

[Feature #20205]

Co-authored-by: Jean Boussier &lt;byroot@ruby-lang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some extensions (like stringio) may need to differentiate between
chilled strings and frozen strings.

They can now use rb_str_chilled_p but must check for its presence since
the function will be removed when chilled strings are removed.

[Bug #20389]

[Feature #20205]

Co-authored-by: Jean Boussier &lt;byroot@ruby-lang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] fix some comments</title>
<updated>2024-03-05T09:50:47+00:00</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2024-03-05T09:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=226a889dc7688cbd0c96cce1005adbda69b03ec4'/>
<id>226a889dc7688cbd0c96cce1005adbda69b03ec4</id>
<content type='text'>
Signed-off-by: cui fliter &lt;imcusg@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: cui fliter &lt;imcusg@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Remove tainted and trusted features</title>
<updated>2021-12-26T14:28:54+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-12-26T09:07:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=39bc5de83394a380c9967df74e06c824186f8560'/>
<id>39bc5de83394a380c9967df74e06c824186f8560</id>
<content type='text'>
Already these had been announced to be removed in 3.2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Already these had been announced to be removed in 3.2.
</pre>
</div>
</content>
</entry>
<entry>
<title>revival of must_not_null()</title>
<updated>2021-11-11T08:14:47+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2021-11-02T01:38:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=33533fabd54e23bced64a74114ee7786478a6ee7'/>
<id>33533fabd54e23bced64a74114ee7786478a6ee7</id>
<content type='text'>
Presence of RBIMPL_ATTR_NONNULL let C compilers to eliminate
must_not_null().  Because null pointers are not allowed to exist there
are no reason to call the function.  In reality null pointers are still
passed to those functions in a number of ways.  Runtime check for them
are definitely nice to have.  fix [Feature#18280]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Presence of RBIMPL_ATTR_NONNULL let C compilers to eliminate
must_not_null().  Because null pointers are not allowed to exist there
are no reason to call the function.  In reality null pointers are still
passed to those functions in a number of ways.  Runtime check for them
are definitely nice to have.  fix [Feature#18280]
</pre>
</div>
</content>
</entry>
<entry>
<title>suppress GCC's -Wmissing-attribute</title>
<updated>2021-09-10T11:00:06+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2021-09-09T05:24:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c39dd708b5f59766ce75c88e92d92ebcaa1df341'/>
<id>c39dd708b5f59766ce75c88e92d92ebcaa1df341</id>
<content type='text'>
I was not aware of this because I use clang these days.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I was not aware of this because I use clang these days.
</pre>
</div>
</content>
</entry>
<entry>
<title>include/ruby/internal/intern/string.h: add doygen</title>
<updated>2021-09-10T11:00:06+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2021-02-18T06:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=091faca99ca92cb1146b3c4d8ebba67f4822561c'/>
<id>091faca99ca92cb1146b3c4d8ebba67f4822561c</id>
<content type='text'>
Must not be a bad idea to improve documents. [ci skip]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Must not be a bad idea to improve documents. [ci skip]
</pre>
</div>
</content>
</entry>
</feed>
