ruby/ext
Jean byroot Boussier 75154dec73 [ruby/stringio] strio_read: preserve buffer encoding on partial
reads
(https://github.com/ruby/stringio/pull/95)

[[Bug #20418]](https://bugs.ruby-lang.org/issues/20418)

Ruby IO#read preserves the encoding on partial read, but change it when
reading the whole IO

from commit https://github.com/ruby/ruby/commit/0ca7036682da:
> * io.c (read_all): should associate default external encoding.
> * io.c (io_read): should NOT associate default external encoding.

https://github.com/ruby/stringio/commit/073172da31

Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2024-04-17 01:29:18 +00:00
..
-test- Expose rb_str_chilled_p 2024-03-26 12:54:54 +01:00
cgi/escape [ruby/cgi] Fix unescapeHTML 2023-11-30 08:19:28 +00:00
continuation Update the depend files 2023-02-28 09:09:00 -08:00
coverage Use rb_hash_foreach in coverage 2024-02-23 10:24:21 -05:00
date [ruby/date] Remove the unintentional ability to parse `Symbol` 2024-02-21 16:04:52 +00:00
digest [ruby/digest] [DOC] Expand `Digest::SHA2` definitions for RDoc 2024-01-28 06:49:28 +00:00
erb/escape [ruby/erb] Skip building a native extension for JRuby 2024-01-04 22:33:16 +00:00
etc [ruby/etc] Drop support for old ERB 2024-03-02 16:40:16 +00:00
fcntl [ruby/fcntl] [DOC] Package files for RDoc 2024-03-14 04:19:46 +00:00
fiddle [ruby/fiddle] Set changelog_uri gem metadata 2024-02-08 14:43:56 +09:00
io [ruby/io-console] Bump up version to 0.7.2 2024-01-18 01:36:52 +00:00
json [flori/json] Bump up 2.7.2 2024-04-04 12:46:02 +09:00
monitor `rb_bug` prints a newline after the message 2023-05-20 21:43:30 +09:00
objspace Implement chilled strings 2024-03-19 09:26:49 +01:00
openssl Use www.rfc-editor.org for RFC text. 2024-03-28 11:44:45 +09:00
pathname [ruby/pathname] Remove check for File.birthtime 2024-04-16 05:48:57 +00:00
psych [ruby/psych] Add :stringify_names option to convert symbol keys to string for dumping 2024-01-18 17:32:34 +00:00
pty [pty] Fix missing `or` 2024-04-14 20:35:34 +09:00
rbconfig/sizeof Update the depend files 2023-02-28 09:09:00 -08:00
ripper Remove undefined function's prototype declaration 2024-04-14 10:51:16 +09:00
rubyvm Added depend files 2019-07-14 01:31:29 +09:00
socket Drop support for old ERB 2024-03-03 00:55:45 +09:00
stringio [ruby/stringio] strio_read: preserve buffer encoding on partial 2024-04-17 01:29:18 +00:00
strscan [ruby/strscan] Add a method for peeking and reading bytes as 2024-02-26 15:54:54 +09:00
win32 Fix memory overread in registry.rb 2023-12-28 18:03:58 +11:00
win32ole [ruby/win32ole] Refine pathspecs for `spec.files` 2024-03-23 13:06:40 +00:00
zlib [ruby/zlib] In Zlib::GzipReader#eof? check if we're actually at eof 2024-02-22 06:42:06 +00:00
.document [ruby/io-console] [DOC] Split .document files to sync with ruby/ruby 2023-10-22 11:09:06 +09:00
Setup Clean up removed directories in ext/Setup* [ci skip] 2023-01-18 12:02:27 +09:00
Setup.atheos racc/cparse is extracted from ruby/ruby repository 2023-06-08 18:05:07 +09:00
Setup.nt racc/cparse is extracted from ruby/ruby repository 2023-06-08 18:05:07 +09:00
extmk.rb Match `--with/--without` options against gem names 2024-03-22 14:09:12 +09:00