- Improved documents.
- GH-179
- GH-188
- GH-189
- GH-190
- GH-191
- GH-192
- GH-193
- GH-194
- Patch by Burdette Lamar
- Burdette Lamar
-
[DOC] Tweaks for StringIO#each_line
- GH-165
-
[DOC] Doc for StringIO.size
- GH-175
-
[DOC] Tweaks for StringIO#fsync
- GH-173
-
[DOC] Fix #seek link
- GH-174
-
Add a note about chilled string support to 3.1.8 release note
- GH-180 fixes GH-179
- JRuby: Removed use of RubyBasicObject.flags
- GH-182
-
Burdette Lamar
-
Charles Oliver Nutter
-
Improved documents
- Patch by Burdette Lamar
-
Improved chilled string support
- GH-128
-
Fixed SEGV in
StringIO#seekwithSEEK_ENDonStringIO.new(nil)- GH-137
- Patch by koh-sh
-
Fixed SEGV in
StringIO#readonStringIO.new(nil) -
Fixed SEGV in
StringIO#preadonStringIO.new(nil) -
Fixed SEGV in
StringIO#eof?onStringIO.new(nil) -
JRuby: Fixed a bug that
StringIO#readdoesn't clear code range- GH-156
- Patch by Karol Bucek
-
koh-sh
-
Burdette Lamar
-
Karol Bucek
- CRuby: Added support for
rb_io_mode_tthat will be introduced in Ruby 3.5 or later.- GH-129
- Patch by Samuel Williams
- Samuel Williams
- CRuby: Fix SEGV at unget to a null device StringIO
- JRuby:
- Fix NullPointerException at unget to a null device StringIO
- Use proper checkEncoding signature
- Update strioWrite logic to match CRuby
- GH-124
- JRuby: Improved compatibility with CRuby for
StringIO#seekwith frozen string.- GH-119
- GH-121
- JRuby: Improved compatibility with CRuby.
- GH-116
- CRuby: Fixed a bug that
StringIOmay mutate a shared string.- GH-117
- JRuby: Fixed a bug that JRuby may not be able to be started
- GH-112
- GH-113
- Reported by Karol Bucek
- Karol Bucek
- JRuby: Added support for detecting encoding by BOM.
- GH-100
- GH-101
- CRuby: Fixed a bug that unknown memory may be used by
StringIO#ungetc/StringIO#ungetbyte.- https://hackerone.com/reports/2805165
- Reported by manun.
- manun
-
JRuby: Improved.
- GH-83
- GH-84
- GH-85
-
Added
StringIO::MAX_LENGTH. -
Added support for NULL
StringIObyStringIO.new(nil). -
Improved IO compatibility for partial read.
- Fixed a bug that coderange isn't updated after overwrite.
- Reported by Tiago Cardoso.
- https://bugs.ruby-lang.org/issues/20185
- GH-77
- GH-79
- Tiago Cardoso
-
TruffleRuby: Do not compile the C extension
GH-71
-
JRuby: Aligned
StringIO#getsbehavior with the C implementation.GH-61
-
CRuby: Fixed
StringIO#preadwith the length 0.Patch by Jean byroot Boussier.
GH-67
-
CRuby: Fixed a bug that
StringIO#getswith non ASCII compatible encoding such as UTF-16 doesn't detect correct new line characters.Reported by IWAMOTO Kouichi.
GH-68
-
Jean byroot Boussier
-
IWAMOTO Kouichi
-
Added
StringIO#pread.Patch by Jean byroot Boussier.
GH-56
-
JRuby: Added
StringIO::VERSION.GH-57 GH-59
- Jean byroot Boussier
-
CRuby: Avoid direct struct usage. This change is for supporting Ruby 3.3.
GH-54
-
CRuby: Added support for write barrier.
-
JRuby: Added missing arty-checking.
GH-48
-
JRuby: Added support for
StringIO.new(encoding:).GH-45
- Fixed a bug that
StringIO#gets("2+ character", chomp: true)did not remove the separator at the end. [Bug #19389]
- JRuby: Changed to use flag registry. [GitHub#33]
- Improved documents. [GitHub#33] [GitHub#34] [GitHub#35] [GitHub#36] [GitHub#37] [Patch by Burdette Lamar]
-
Fixed a bug that large
StringIO#ungetc/StringIO#ungetbytebreak internal buffer. -
Fixed a bug that
StringIO#each("2+ character", chomp: true)cause infinite loop. [Bug #18769] -
Fixed a bug that
StringIO#each(nil, chomp: true)chomps. [Bug #18770] -
Fixed a bug that
StringIO#each("", chomp: true)isn't compatible withIO#each("", chomp: true). [Bug #18768] -
Fixed a bug that
StringIO#set_encodingdoesn't accept external and internal encodings pairo. [GitHub#16] [Reported by Kenta Murata] -
Fixed a bug that
StringIO#truncateisn't compatible withFile#truncate.
-
Kenta Murata
-
Burdette Lamar