aboutsummaryrefslogtreecommitdiffstats
path: root/ext/stringio
Commit message (Collapse)AuthorAgeFilesLines
...
* [ruby/stringio] Fix extracting encoding names in the fallback codeNobuyoshi Nakada2022-05-301-2/+7
| | | | https://github.com/ruby/stringio/commit/0fe2e0c1e5
* [ruby/stringio] Accept external and internal encodings pairNobuyoshi Nakada2022-05-301-1/+8
| | | | | | Fix https://github.com/ruby/stringio/pull/16 https://github.com/ruby/stringio/commit/c8a69e80d2
* [ruby/stringio] Fix handling of chomp with paragraph separatorJeremy Evans2022-05-301-12/+15
| | | | | | | | | | Try to mirror IO behavior, where chomp takes out the entire paragraph separators between entries, but does not chomp a single line separator at the end of the string. Partially Fixes [Bug #18768] https://github.com/ruby/stringio/commit/a83ddbb7f0
* [ruby/stringio] Update ext/stringio/stringio.cJeremy Evans2022-05-301-1/+2
| | | | | https://github.com/ruby/stringio/commit/1edc88587e Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* [ruby/stringio] Ignore chomp keyword for nil separatorJeremy Evans2022-05-301-1/+4
| | | | | | | | | nil separator means no separator at all, so nothing should be chomped. Partial fix for Ruby [Bug #18770] https://github.com/ruby/stringio/commit/feaa2ec631
* [ruby/stringio] Fix each with multiple character string and chompJeremy Evans2022-05-301-2/+3
| | | | | | | | | | Previously, this could result in an infinite loop. Always update the e pointer in this case, setting w when chomping so the chomped data is not included in the output. Fixes [Bug #18769] https://github.com/ruby/stringio/commit/4bf64d5130
* [ruby/stringio] Fix expanding size at ungetc/ungetbyteNobuyoshi Nakada2022-05-301-1/+1
| | | | https://github.com/ruby/stringio/commit/a35268a3ac
* Merge JRuby implementation for stringio and io-waitHiroshi SHIBATA2022-05-201-5/+12
|
* [ruby/stringio] bump up to 3.0.3Sutou Kouhei2022-05-091-1/+1
| | | | https://github.com/ruby/stringio/commit/64f225bf00
* [ruby/stringio] Bump versionSutou Kouhei2022-05-091-1/+1
| | | | https://github.com/ruby/stringio/commit/b79152d08f
* [ruby/stringio] bump up to 3.0.2.pre1Sutou Kouhei2022-04-161-1/+1
| | | | https://github.com/ruby/stringio/commit/14ec9bc193
* [Feature #18249] Update dependenciesPeter Zhu2022-02-221-0/+1
|
* Update dependenciesNobuyoshi Nakada2021-11-211-1/+0
|
* [ruby/stringio] Bump up stringio version to 3.0.1Hiroshi SHIBATA2021-10-211-1/+1
| | | | https://github.com/ruby/stringio/commit/f7c40aa339
* ruby tool/update-deps --fix卜部昌平2021-10-051-14/+23
|
* [ruby/stringio] Suppress a sign-compare warningNobuyoshi Nakada2021-07-081-1/+1
| | | | https://github.com/ruby/stringio/commit/a88c070e0b
* dependency updates卜部昌平2021-04-131-1/+0
|
* [ruby/stringio] Check if closed in loopNobuyoshi Nakada2021-03-081-9/+13
| | | | | | [Bug #17675] https://bugs.ruby-lang.org/issues/17675 https://github.com/ruby/stringio/commit/1ed61d0cbc
* [ruby/stringio] Use Gemfile instead of ↵Hiroshi SHIBATA2021-03-081-3/+0
| | | | | | Gem::Specification#add_development_dependency. https://github.com/ruby/stringio/commit/157fe9f04d
* Removed rb_cData entityNobuyoshi Nakada2020-12-221-1/+1
| | | | | | | * Use the wrapper of rb_cObject instead of data access * Replaced rest of extentions * Updated the version guard for Data * Added the version guard of rb_cData
* [stringio] Version 3.0.0Kenta Murata2020-12-181-1/+1
| | | | https://github.com/ruby/stringio/commit/831be01071
* [stringio] Add test-unit in the development dependenciesKenta Murata2020-12-181-0/+1
| | | | https://github.com/ruby/stringio/commit/de010fc0e9
* [stringio] Make stringio Ractor safeKenta Murata2020-12-181-0/+5
| | | | | | https://github.com/ruby/stringio/commit/ee3fec7512 https://github.com/ruby/stringio/commit/18dcd045ef https://github.com/ruby/stringio/commit/18dcd045ef
* delete deprecated IO-like methods卜部昌平2020-12-031-52/+0
| | | | | | | | | This commit deletes {IO,ARGF,StringIO,Zib::GZipReader}#{bytes,chars,lines,codepoints}, which have been deprecated since c47c095b9740e7c19d6fdca29ab661c1089221d4. Note that String also has those methods. They are neither depreacted nor deleted because they are not aliases of counterpart each_something.
* [ruby/stringio] Bump version to 0.1.4Nobuyoshi Nakada2020-08-271-1/+1
| | | | https://github.com/ruby/stringio/commit/64f2360d38
* [stringio] fix stringio codepoint enumerator off by one errorYoann Lecuyer2020-08-271-1/+1
|
* sed -i '/rmodule.h/d'卜部昌平2020-08-271-1/+0
|
* sed -i '/r_cast.h/d'卜部昌平2020-08-271-1/+0
|
* sed -i '\,2/extern.h,d'卜部昌平2020-08-271-1/+0
|
* Update the license for the default gems to dual licensesHiroshi SHIBATA2020-08-181-1/+1
|
* [ruby/stringio] Bump version to 0.1.3Nobuyoshi Nakada2020-07-201-1/+1
| | | | https://github.com/ruby/stringio/commit/376516cd2d
* [ruby/stringio] No compatibility check in US-ASCII caseNobuyoshi Nakada2020-07-201-2/+3
| | | | https://github.com/ruby/stringio/commit/59df1c8293
* [ruby/stringio] Removed wrong UNREACHABLENobuyoshi Nakada2020-07-201-1/+0
| | | | https://github.com/ruby/stringio/commit/f528538d10
* [ruby/stringio] Bump version to 0.1.2Nobuyoshi Nakada2020-07-201-1/+1
| | | | https://github.com/ruby/stringio/commit/8cbe3f7397
* [ruby/stringio] Raise an error if encoding conversion not succeededNobuyoshi Nakada2020-07-201-1/+6
| | | | | | | | | | As `rb_str_conv_enc()` returns the argument string object itself unchanged when any conversion failed, check the incompatibility in that case. Fixes https://github.com/ruby/stringio/issues/13 https://github.com/ruby/stringio/commit/ede6bdcc71
* Removed nonsense `rubygems_version` in input gemspec filesNobuyoshi Nakada2020-06-251-1/+0
| | | | | As it is ignored and set at building packages automatically, it is just nonsense to set in gemspec file for input.
* Suppress warnings no inline ruby debug (#3107)Kenta Murata2020-05-221-1/+2
| | | | | * Suppress unused warnings occurred due to -fno-inline * Suppress warning occurred due to RUBY_DEBUG=1
* sed -i 's|ruby/impl|ruby/internal|'卜部昌平2020-05-111-140/+140
| | | | To fix build failures.
* sed -i s|ruby/3|ruby/impl|g卜部昌平2020-05-111-140/+140
| | | | This shall fix compile errors.
* Merge pull request #2991 from shyouhei/ruby.h卜部昌平2020-04-081-0/+152
| | | Split ruby.h
* [ruby/stringio] Bump version to 0.1.1Nobuyoshi Nakada2020-03-151-1/+1
| | | | https://github.com/ruby/stringio/commit/05d75e5e66
* [ruby/stringio] StringIO#initialize default to the source string encodingJean Boussier2020-03-151-4/+6
| | | | | | [Bug #16497] https://github.com/ruby/stringio/commit/4958a5ccab
* [ruby/stringio] Bump version to 0.1.0Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/stringio/commit/4c1e267e1a
* [ruby/stringio] RbConfig::LIMITS only provide after Ruby 2.5Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/stringio/commit/1fed3aacd3
* [ruby/stringio] Remove taint supportJeremy Evans2019-10-311-4/+0
| | | | | | | | Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions. https://github.com/ruby/stringio/commit/60ee9ccd95
* Update StringIO docs:zverok2019-10-261-41/+56
| | | | | | | | | | | * More explanations/examples in class docs; * Fix links to other methods (remove <code> tag); * Fix wording of method docs (remove *stringio* receiver name, as it is not rendered by modern RDoc); * Add option mention to linereading methods (added in 2.4); * Several other small fixes.
* [ruby/stringio] Bump up the versionNobuyoshi Nakada2019-09-291-1/+1
| | | | https://github.com/ruby/stringio/commit/f0e5027279
* [ruby/stringio] Use rb_funcallv_kw when delegating argumentsNobuyoshi Nakada2019-09-291-2/+7
| | | | https://github.com/ruby/stringio/commit/5892663e32
* [ruby/stringio] Replaced rb_funcall2 with rb_funcallvNobuyoshi Nakada2019-09-291-4/+4
| | | | https://github.com/ruby/stringio/commit/a37ab7c419
* [ruby/stringio] Dropped older ruby versionsNobuyoshi Nakada2019-09-291-1/+1
| | | | https://github.com/ruby/stringio/commit/e8065153b8