path: root/ext/io
AgeCommit message (Collapse)Author
2021-01-16[ruby/io-console] Rubygems 3.2 supports `--platform` optionNobuyoshi Nakada
2021-01-16[ruby/io-console] Moved JRuby version files into particular pathNobuyoshi Nakada
2021-01-16[ruby/io-console] Delegate to JRuby versionNobuyoshi Nakada
Add `--platform` option tentatively.
2021-01-16[ruby/io-console] bump up to 0.5.7Nobuyoshi Nakada
2021-01-05[ruby/io-console] Shrink struct query_argsNobuyoshi Nakada
2021-01-05[ruby/io-console] Pre-define chomp! IDNobuyoshi Nakada
2021-01-05[ruby/io-console] Ignore chomp! result and return the modified stringNobuyoshi Nakada
2021-01-05[ruby/io-console] [DOC] Note that IO#getpass returns a chomped stringMarcus Stollsteimer
IO#getpass uses String#chomp! on the read input line.
2020-12-03[ruby/io-wait] Added extensionsNobuyoshi Nakada
2020-12-03[ruby/io-wait] Fixed regexp to reject .travis* at the toplevel onlyNobuyoshi Nakada
2020-12-03[ruby/io-wait] Exclude dot-files for CIsNobuyoshi Nakada
2020-12-03[ruby/io-wait] Fix ls-files matching regexpNobuyoshi Nakada
See rubygems/rubygems@8a81183236c4475152798db99734e89779287331.
2020-12-03[ruby/io-nonblock] Added extensionsNobuyoshi Nakada
2020-12-03[ruby/io-nonblock] Exclude dot-files for CIsNobuyoshi Nakada
2020-12-03[ruby/io-nonblock] Fix ls-files matching regexpNobuyoshi Nakada
See rubygems/rubygems@8a81183236c4475152798db99734e89779287331.
2020-10-11Adjusted indents [ci skip]Nobuyoshi Nakada
2020-10-11Respect the original styles [ci skip]Nobuyoshi Nakada
2020-10-11[ruby/io-console] Refined getch warningsNobuyoshi Nakada
2020-10-11[ruby/io-console] Relaxed min: option warningNobuyoshi Nakada
When `min: 0` is given to `IO#getch` with `time:` option, it is expected to return nil if timed out, and needed for source code the compatibility with unixen platforms.
2020-10-11[ruby/io-console] Fix timeout type error (#18)Nobuyoshi Nakada
Fixed TypeError when IO#getch timed out `rb_io_wait` returns a bit-flags Integer representing available events, or Qfalse if timed out. Also the result of `NUM2INT` is not a `VALUE`. ``` $ ./bin/ruby -v -rio/console -e "p IO.console.getch(intr: true, time: 0.1)" ruby 3.0.0dev (2020-10-09T20:27:30Z master 5ea2ea74cc) [x64-mingw32] -e:1:in `getch': no implicit conversion of false into Integer (TypeError) from -e:1:in `<main>' ```
2020-10-11[ruby/io-console] Fixed "Rework console to use `rb_io_wait`."Nobuyoshi Nakada
* Fixed backward compatibility. * Added missing `rb_scheduler_timeout` declaration.
2020-09-19[ruby/io-wait] update required_ruby_versionNobuyoshi Nakada
As d387029f39d976565c955377117103499d47ff09 made io/wait unbuildable with older versions, drop older versions tentatively. Also the change seems to instroduce behavioral incompatibilities, may address them or bump up the version later.
2020-09-19strip trailing spaces [ci skip]Nobuyoshi Nakada
2020-09-14Rework console to use `rb_io_wait`.Samuel Williams
Notes: Merged:
2020-09-14Standardised scheduler interface.Samuel Williams
Notes: Merged:
2020-08-27sed -i '/rmodule.h/d'卜部昌平
Notes: Merged:
2020-08-27sed -i '/r_cast.h/d'卜部昌平
Notes: Merged:
2020-08-27sed -i '\,2/extern.h,d'卜部昌平
Notes: Merged:
2020-08-18Update the license for the default gems to dual licensesHiroshi SHIBATA
2020-08-18Fixed the attribute name for multiple licenses.Hiroshi SHIBATA
2020-07-30Promote io-nonblock to the default gems.Hiroshi SHIBATA
2020-07-30Promote io-wait to the default gemsHiroshi SHIBATA
2020-06-11Gem::Specification#date is set automatically by SHIBATA
2020-05-11sed -i 's|ruby/impl|ruby/internal|'卜部昌平
To fix build failures. Notes: Merged:
2020-05-11sed -i s|ruby/3|ruby/impl|g卜部昌平
This shall fix compile errors. Notes: Merged:
2020-05-09[ruby/io-console] Use sys_fail_fptr macroNobuyoshi Nakada
2020-05-09[ruby/io-console] Show path name at errorNobuyoshi Nakada
2020-04-08Merge pull request #2991 from shyouhei/ruby.h卜部昌平
Split ruby.h Notes: Merged-By: shyouhei <>
2020-02-18[ruby/io-console] bump up to 0.5.6Nobuyoshi Nakada
2020-02-18[ruby/io-console] Just ignore the extension on other than CRubyNobuyoshi Nakada
2020-02-17[ruby/io-console] [DOC] Improved about `intr:`Nobuyoshi Nakada
2020-02-14[ruby/io-console] Prefer keyword argumentsNobuyoshi Nakada
2020-01-18[ruby/io-console] bump up to 0.5.5Nobuyoshi Nakada
2020-01-18[ruby/io-console] Set `OPOST` when `intr` is trueNobuyoshi Nakada
To enable implementation-defined output processing, for the compatibility with readline. [Bug #16509]
2020-01-18[ruby/io-console] Update the minimum requirement of Ruby versionHiroshi SHIBATA
2019-12-30[ruby/io-console] bump up to 0.5.4Nobuyoshi Nakada
2019-12-29[ruby/io-console] Enable only interrupt bits on `intr: true`Nobuyoshi Nakada
2019-12-22[ruby/io-console] bump up to 0.5.3Nobuyoshi Nakada
2019-12-18[ruby/io-console] Set raw mode strictly same as cfmakerawNobuyoshi Nakada
* Default VMIN and VTIME to minimum input. * Disable parity check bits explicitly. * Disable all bits for flow control on input. Co-Authored-By: NARUSE, Yui <>
2019-12-17[ruby/io-console] bump up to 0.5.2Nobuyoshi Nakada