307 Commits
Author SHA1 Message Date
Hiroshi SHIBATA d5257bea48 Bundle stringio-3.2.0 2025-12-17 15:47:43 +09:00
Burdette Lamarandgit 33837abb81 [ruby/stringio] [DOC] Tweaks for StringIO#pos=
(https://github.com/ruby/stringio/pull/194)

https://github.com/ruby/stringio/commit/3cef1e0e5f
2025-12-06 23:22:04 +00:00
Burdette Lamarandgit 82577ac090 [ruby/stringio] [DOC] Tweaks for StringIO#pos
(https://github.com/ruby/stringio/pull/193)

https://github.com/ruby/stringio/commit/90728bbbca
2025-12-06 23:22:00 +00:00
Burdette Lamarandgit c9fe3cba39 [ruby/stringio] [DOC] Tweaks for StringIO#lineno=
(https://github.com/ruby/stringio/pull/192)

https://github.com/ruby/stringio/commit/8b1ee03cbe
2025-12-06 23:21:38 +00:00
Burdette Lamarandgit f298beb2d9 [ruby/stringio] [DOC] Tweaks for StringIO#lineno
(https://github.com/ruby/stringio/pull/191)

https://github.com/ruby/stringio/commit/f2a2a5a99e
2025-12-06 23:21:17 +00:00
BurdetteLamarandgit 87bc106b87 [ruby/stringio] [DOC] Change link to on-page
https://github.com/ruby/stringio/commit/a7c118d786
2025-12-06 17:49:13 +00:00
BurdetteLamarandgit 734dab5ec8 [ruby/stringio] [DOC] Link to on-page section, not class File doc
https://github.com/ruby/stringio/commit/dc93aa51d2
2025-12-06 03:02:45 +00:00
Burdette Lamarandgit 9e8a661f3b [ruby/stringio] [DOC] Fix #seek link
(https://github.com/ruby/stringio/pull/174)

Method #seek deserves (and will get) documentation independent of that
in class IO.

Meanwhile, the link should go someplace sensible and useful.

https://github.com/ruby/stringio/commit/d026549719
2025-11-15 13:50:58 +00:00
Burdette Lamarandgit abf3056381 [ruby/stringio] [DOC] Doc for StringIO.size
(https://github.com/ruby/stringio/pull/171)

https://github.com/ruby/stringio/commit/95a111017a
2025-11-15 13:49:03 +00:00
b5c9269604 [ruby/stringio] [DOC] Tweaks for StringIO#each_line
(https://github.com/ruby/stringio/pull/165)

Adds to "Position":  pos inside a character.

Makes a couple of minor corrections.

---------

https://github.com/ruby/stringio/commit/ff332abafa

Co-authored-by: Sutou Kouhei <[email protected]>
2025-11-15 13:48:14 +00:00
Sutou KouheiandHiroshi SHIBATA 090099b0c0 Development of 3.1.9 started. 2025-11-12 10:52:22 +09:00
Nobuyoshi Nakadaandgit b1dfcd6507 [ruby/stringio] [DOC] Suppress documentation for internals
https://github.com/ruby/stringio/commit/27b2fb2fce
2025-11-10 03:45:08 +00:00
Burdette Lamarandgit d24bb1e761 [ruby/stringio] [DOC] Tweaks for StringIO#string=
(https://github.com/ruby/stringio/pull/172)

https://github.com/ruby/stringio/commit/17ae4daf9a
2025-11-05 00:09:36 +00:00
Burdette Lamarandgit be905b2e58 [ruby/stringio] [DOC] Tweaks for StringIO#flush
(https://github.com/ruby/stringio/pull/169)

https://github.com/ruby/stringio/commit/bef6541b55
2025-11-05 00:09:02 +00:00
Burdette Lamarandgit 00b5b3c563 [ruby/stringio] [DOC] Tweaks for StringIO#isatty
(https://github.com/ruby/stringio/pull/167)

https://github.com/ruby/stringio/commit/94303ace95
2025-11-05 00:08:41 +00:00
Burdette Lamarandgit d5acffba82 [ruby/stringio] [DOC] Tweaks for StringIO#fsync
(https://github.com/ruby/stringio/pull/170)

https://github.com/ruby/stringio/commit/da338d7e5d
2025-11-05 00:05:33 +00:00
Burdette Lamarandgit e22d9abad3 [ruby/stringio] [DOC] Tweaks for StringIO#fileno
(https://github.com/ruby/stringio/pull/168)

https://github.com/ruby/stringio/commit/9f10c7ae86
2025-11-05 00:05:17 +00:00
Burdette Lamarandgit 9c0f2729c0 [ruby/stringio] [DOC] Tweaks for StringIO#internal_encoding
(https://github.com/ruby/stringio/pull/166)

https://github.com/ruby/stringio/commit/5eeb61df34
2025-11-05 00:03:04 +00:00
Burdette Lamarandgit 554a78daab [ruby/stringio] [DOC] Doc for StringIO.getc
(https://github.com/ruby/stringio/pull/163)

https://github.com/ruby/stringio/commit/a126fe252f
2025-11-04 23:57:52 +00:00
Burdette Lamarandgit 15e64bd2e6 [ruby/stringio] [DOC] Doc for StringIO#gets
(https://github.com/ruby/stringio/pull/164)

https://github.com/ruby/stringio/commit/10e991e31d
2025-11-04 01:09:55 +00:00
Burdette Lamarandgit be495013a7 [ruby/stringio] [DOC] Doc for StringIO#getbyte
(https://github.com/ruby/stringio/pull/162)

https://github.com/ruby/stringio/commit/95a7dd592c
2025-11-04 00:59:03 +00:00
Burdette Lamarandgit 0d210f4d39 [ruby/stringio] [DOC] Tweaks for StringIO#external_encoding
(https://github.com/ruby/stringio/pull/161)

https://github.com/ruby/stringio/commit/92656f5c66
2025-11-04 00:47:13 +00:00
Burdette Lamarandgit 6695a3b333 [ruby/stringio] [DOC] Tweaks for StringIO#eof?
(https://github.com/ruby/stringio/pull/160)

https://github.com/ruby/stringio/commit/5034156245
2025-11-04 00:45:25 +00:00
Nobuyoshi NakadaandNobuyoshi Nakada 0f5c69b317 [DOC] Moved non ASCII documents to separated files
C99 does not declare ways to designate the charset encoding of the
source file.  We can assume just US-ASCII characters will be safe.
2025-10-28 13:07:59 +09:00
02d53bab56 [ruby/stringio] [DOC] Doc for StringIO#each_byte
(https://github.com/ruby/stringio/pull/157)

https://github.com/ruby/stringio/commit/624ce56b4e

Co-authored-by: Sutou Kouhei <[email protected]>
2025-10-28 13:07:59 +09:00
218c2805f9 [ruby/stringio] [DOC] Doc for StringIO#each_codepoint
(https://github.com/ruby/stringio/pull/159)

https://github.com/ruby/stringio/commit/6628d4837b

Co-authored-by: Sutou Kouhei <[email protected]>
2025-10-28 03:09:50 +00:00
9fd32ee414 [ruby/stringio] [DOC] Doc for StringIO#each_char
(https://github.com/ruby/stringio/pull/158)

https://github.com/ruby/stringio/commit/ec6bf815ae

Co-authored-by: Sutou Kouhei <[email protected]>
2025-10-28 03:06:45 +00:00
Nobuyoshi Nakadaandgit d0a6780d1e [ruby/stringio] [DOC] Split the examples StringIO into the document file
https://github.com/ruby/stringio/commit/04ba28af00
2025-10-27 07:53:15 +00:00
Burdette Lamarandgit e221a4b73e [ruby/stringio] [DOC] Doc for StringIO#each
(https://github.com/ruby/stringio/pull/154)

https://github.com/ruby/stringio/commit/eca2588274
2025-10-27 04:24:32 +00:00
2dd01c8f5c [ruby/stringio] [DOC] Tweaks for StringIO#close_write
(https://github.com/ruby/stringio/pull/150)

https://github.com/ruby/stringio/commit/ea6e36f797

Co-authored-by: Sutou Kouhei <[email protected]>
2025-10-27 04:23:29 +00:00
Burdette Lamarandgit fcf8b10b3c [ruby/stringio] [DOC] Tweaks for StringIO#close_read
(https://github.com/ruby/stringio/pull/149)

https://github.com/ruby/stringio/commit/11995db341
2025-10-27 01:02:38 +00:00
Burdette Lamarandgit daaa09bcc2 [ruby/stringio] [DOC] Tweaks for StringIO.closed_read?
(https://github.com/ruby/stringio/pull/152)

https://github.com/ruby/stringio/commit/7ded426718
2025-10-27 01:02:14 +00:00
947e5baa8c [ruby/stringio] [DOC] Tweaks for StringIO.closed_write?
(https://github.com/ruby/stringio/pull/153)

https://github.com/ruby/stringio/commit/3e9d576441

Co-authored-by: Sutou Kouhei <[email protected]>
2025-10-27 01:01:50 +00:00
Burdette Lamarandgit e3a717512e [ruby/stringio] [DOC] Tweaks for StringIO#closed?
(https://github.com/ruby/stringio/pull/151)

https://github.com/ruby/stringio/commit/94bd4a3d87
2025-10-26 07:05:24 +00:00
Burdette Lamarandgit 877ebe5b89 [ruby/stringio] [DOC] Tweaks for StringIO#close
(https://github.com/ruby/stringio/pull/148)

Make examples do more work (instead of text).

https://github.com/ruby/stringio/commit/7f4662438f
2025-10-24 01:14:15 +00:00
Burdette Lamarandgit 6dc879f9d6 [ruby/stringio] [DOC] Tweaks for StringIO.new
(https://github.com/ruby/stringio/pull/144)

https://github.com/ruby/stringio/commit/d33ac815c1
2025-10-23 15:24:42 +00:00
Burdette Lamarandgit da214cf3a9 [DOC] Tweaks for StringIO#binmode (#147) 2025-10-23 01:00:26 +00:00
Burdette Lamarandgit f762e50bcb [ruby/stringio] [DOC] Tweaks for StringIO.open
(https://github.com/ruby/stringio/pull/146)

https://github.com/ruby/stringio/commit/141c6c0edf
2025-10-23 00:52:17 +00:00
Nobuyoshi Nakadaandgit 77b3495e97 [ruby/stringio] Adjust indent [ci skip]
https://github.com/ruby/stringio/commit/ac6292c17f
2025-08-09 11:16:03 +00:00
Nobuyoshi Nakadaandgit 31f2d8990d [ruby/stringio] Fix SEGV at read/pread on null StringIO
https://github.com/ruby/stringio/commit/113dd5a55e
2025-08-09 11:12:48 +00:00
koh-shandgit 23c0113932 [ruby/stringio] fix: prevent segfault in StringIO#seek with SEEK_END
on null device
(https://github.com/ruby/stringio/pull/137)

Fixes segmentation fault when calling `seek` with `SEEK_END` on null
device StringIO created by
  `StringIO.new(nil)`.

```bash
ruby -e "require 'stringio'; StringIO.new(nil).seek(0, IO::SEEK_END)"
```

I tested with below versions.

```bash
[koh@Kohs-MacBook-Pro] ~
% ruby -v;gem info stringio;sw_vers
ruby 3.4.5 (2025-07-16 revision https://github.com/ruby/stringio/commit/20cda200d3) +PRISM [arm64-darwin24]

*** LOCAL GEMS ***

stringio (3.1.2)
    Authors: Nobu Nakada, Charles Oliver Nutter
    Homepage: https://github.com/ruby/stringio
    Licenses: Ruby, BSD-2-Clause
    Installed at (default): /Users/koh/.local/share/mise/installs/ruby/3.4.5/lib/ruby/gems/3.4.0

    Pseudo IO on String
ProductName:            macOS
ProductVersion:         15.5
BuildVersion:           24F74
[koh@Kohs-MacBook-Pro] ~
%
```

https://github.com/ruby/stringio/commit/9399747bf9
2025-08-09 09:30:27 +00:00
Nobuyoshi Nakadaandgit 8906d55cb5 [ruby/stringio] Extract internal part as the function
`str_chilled_p`
(https://github.com/ruby/stringio/pull/136)

https://github.com/ruby/stringio/commit/3c52ddc4c8
2025-06-05 08:06:51 +00:00
Jean Boussierandgit 9420fc8ad6 [ruby/stringio] Add a comment to explicit RUBY_FL_USER2 |
RUBY_FL_USER3
(https://github.com/ruby/stringio/pull/133)

This way when someone removes these flags from Ruby or update them,
they'll find this reference when greping.

Followup: https://github.com/ruby/stringio/pull/128

https://github.com/ruby/stringio/commit/fad26ee14b
2025-05-13 17:15:16 +00:00
5e59ae186f [ruby/stringio] Fix Ruby 3.4 check
https://github.com/ruby/stringio/commit/a27c5d5e2e

Co-authored-by: Sutou Kouhei <[email protected]>
2025-05-13 03:20:09 +00:00
Jeremy Evansandgit 18d395e078 [ruby/stringio] Do not issue warning when calling set_encoding if string is chilled
StringIO does not warn for unchilled unfrozen string or for frozen
string, so it should not warn for chilled string.

https://github.com/ruby/stringio/commit/4ac33b8c70
2025-05-13 03:20:09 +00:00
Hiroshi SHIBATA 4634a0042e Mark development version for unreleased gems 2025-04-22 11:27:24 +09:00
Sutou Kouheiandgit 6962f3dc29 [ruby/stringio] Development of 3.1.8 started.
https://github.com/ruby/stringio/commit/14fbdcc02c
2025-04-21 02:40:31 +00:00
Sutou Kouheiandgit f8c20cc45d [ruby/stringio] Development of 3.1.7 started.
https://github.com/ruby/stringio/commit/ee3ee1df31
2025-04-21 02:38:57 +00:00
Samuel Williamsandgit 28491e53cd [ruby/stringio] Support for rb_io_mode_t
(https://github.com/ruby/stringio/pull/129)

Companion PR to <https://github.com/ruby/ruby/pull/7894>.

https://github.com/ruby/stringio/commit/2d3988e12f
2025-04-15 11:15:35 +00:00
Hiroshi SHIBATA 502fcfcc46 stringio-3.1.6 has been released 2025-03-31 16:13:46 +09:00