-
JRuby: Improved.
- GH-83
- GH-84
- GH-85
-
Added
StringIO::MAX_LENGTH
. -
Added support for NULL
StringIO
byStringIO.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#gets
behavior with the C implementation.GH-61
-
CRuby: Fixed
StringIO#pread
with the length 0.Patch by Jean byroot Boussier.
GH-67
-
CRuby: Fixed a bug that
StringIO#gets
with 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#ungetbyte
break 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_encoding
doesn't accept external and internal encodings pairo. [GitHub#16] [Reported by Kenta Murata] -
Fixed a bug that
StringIO#truncate
isn't compatible withFile#truncate
.
-
Kenta Murata
-
Burdette Lamar