<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/io_buffer.c, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) 35e124832e29b65c84d4e0e4e434616859f9bdf5: [Backport #20755]</title>
<updated>2024-10-18T04:57:08+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-10-18T04:03:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=087e4ed6cc9da9cfca1a107058905446ff474bd1'/>
<id>087e4ed6cc9da9cfca1a107058905446ff474bd1</id>
<content type='text'>
	[Bug #20755] Frozen string should not be writable via IO::Buffer
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #20755] Frozen string should not be writable via IO::Buffer
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 637067440f74043c6d79fc649ab8acf1afea25a5: [Backport #20752]</title>
<updated>2024-10-18T02:30:05+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-10-18T02:30:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5777fe5ab57d6479326bdb21ef9a6b88ea1516dc'/>
<id>5777fe5ab57d6479326bdb21ef9a6b88ea1516dc</id>
<content type='text'>
	[Bug #20752] Slice of readonly `IO::Buffer` also should be readonly
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #20752] Slice of readonly `IO::Buffer` also should be readonly
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix size calcuation when offset is given + updated documentation.</title>
<updated>2024-10-04T01:09:39+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2024-10-03T10:58:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bc482e632c99f30db2e12aa51cc3b10b3b0f7886'/>
<id>bc482e632c99f30db2e12aa51cc3b10b3b0f7886</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix `io_buffer_get_string` default length computation. (#8427)</title>
<updated>2024-05-18T11:09:56+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2023-09-14T08:37:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0e664ebcd36879591223d1ecbb181aa05d82a4d9'/>
<id>0e664ebcd36879591223d1ecbb181aa05d82a4d9</id>
<content type='text'>
* Fix `io_buffer_get_string` default length computation.

When an offset bigger than the size is given, the resulting length will be
computed incorrectly. Raise an argument error in this case.

* Validate all arguments.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix `io_buffer_get_string` default length computation.

When an offset bigger than the size is given, the resulting length will be
computed incorrectly. Raise an argument error in this case.

* Validate all arguments.</pre>
</div>
</content>
</entry>
<entry>
<title>Improvements to `IO::Buffer` `read`/`write`/`pread`/`pwrite`. (#7826)</title>
<updated>2024-05-18T11:09:56+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2023-05-24T01:17:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=67d499a7646a4f2f5294b6c83ac9503fcd873270'/>
<id>67d499a7646a4f2f5294b6c83ac9503fcd873270</id>
<content type='text'>
- Fix IO::Buffer `read`/`write` to use a minimum length.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fix IO::Buffer `read`/`write` to use a minimum length.</pre>
</div>
</content>
</entry>
<entry>
<title>Rename `data` -&gt; `buffer` for better readability. (#7836)</title>
<updated>2024-05-18T11:09:56+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2023-05-22T03:27:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=359e40e3c9986b8a5d77359995f0e926d1c6eb72'/>
<id>359e40e3c9986b8a5d77359995f0e926d1c6eb72</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust `else` style to be consistent in each files [ci skip]</title>
<updated>2024-05-18T11:09:56+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-02-26T04:20:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1bfdd68b69f0ea82cbf572e889a5aed2887a7945'/>
<id>1bfdd68b69f0ea82cbf572e889a5aed2887a7945</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 19346c2336053b351673da030b00c704138252d8: [Backport #19754]</title>
<updated>2023-10-28T02:57:52+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2023-10-28T02:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8bbf909bb561732057b533cee1618b14886e07ba'/>
<id>8bbf909bb561732057b533cee1618b14886e07ba</id>
<content type='text'>
	[Bug #19754] Make `IO::Buffer#get_string` check `offset` range
	 (#8016)

	---
	 io_buffer.c                 | 3 +++
	 test/ruby/test_io_buffer.rb | 8 ++++++++
	 2 files changed, 11 insertions(+)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #19754] Make `IO::Buffer#get_string` check `offset` range
	 (#8016)

	---
	 io_buffer.c                 | 3 +++
	 test/ruby/test_io_buffer.rb | 8 ++++++++
	 2 files changed, 11 insertions(+)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) bd786e78969f9d4a8699376ceafe10934b6ad533: [Backport #19084]</title>
<updated>2023-07-16T07:50:13+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2023-07-16T07:50:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c911cbd6c3dcc80def61ab48be1815cd910fc91b'/>
<id>c911cbd6c3dcc80def61ab48be1815cd910fc91b</id>
<content type='text'>
	Fix mutation on shared strings. (#7837)

	---
	 io_buffer.c                 | 19 ++++++++++++-------
	 test/ruby/test_io_buffer.rb |  4 ----
	 2 files changed, 12 insertions(+), 11 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix mutation on shared strings. (#7837)

	---
	 io_buffer.c                 | 19 ++++++++++++-------
	 test/ruby/test_io_buffer.rb |  4 ----
	 2 files changed, 12 insertions(+), 11 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 466aa8010fb49f9ec6c78ea1de4e8ca0965f4fdf: [Backport #19546]</title>
<updated>2023-07-16T07:44:22+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2023-07-16T07:44:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5ad2390b551f4a28ea3d4db78c21863489fdd681'/>
<id>5ad2390b551f4a28ea3d4db78c21863489fdd681</id>
<content type='text'>
	Fix incorrect usage of `rb_fiber_scheduler_io_(p)(read|write)`.
	 (#7593)

	---
	 io_buffer.c                  |  8 ++++----
	 scheduler.c                  | 48 ++++++++++++++++++++++----------------------
	 test/fiber/test_io_buffer.rb | 33 ++++++++++++++++++++++++++++++
	 3 files changed, 61 insertions(+), 28 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix incorrect usage of `rb_fiber_scheduler_io_(p)(read|write)`.
	 (#7593)

	---
	 io_buffer.c                  |  8 ++++----
	 scheduler.c                  | 48 ++++++++++++++++++++++----------------------
	 test/fiber/test_io_buffer.rb | 33 ++++++++++++++++++++++++++++++
	 3 files changed, 61 insertions(+), 28 deletions(-)
</pre>
</div>
</content>
</entry>
</feed>
