path: root/ext/io/console
AgeCommit message (Collapse)Author
2021-04-22[ruby/io-console] Move FFI console under libCharles Oliver Nutter
Having the separate dir makes testing difficult and doesn't reflect the structure the gem will eventually have. We can filter these files out if necessary when building the CRuby gem.
2021-04-22[ruby/io-console] Enable building the C extension on TruffleRuby.Duncan MacGregor
2021-04-13dependency updates卜部昌平
Notes: Merged:
2021-03-28[ruby/io-console] bump up to 0.5.9Nobuyoshi Nakada
2021-02-09[ruby/console] Updated dependNobuyoshi Nakada
2021-02-09[ruby/io-console] Fixed typoNobuyoshi Nakada
2021-02-09[ruby/io-console] Fixed regression against 3.0Nobuyoshi Nakada
2021-02-09Expose scheduler as public interface & bug fixes. (#3945)Samuel Williams
* Rename `rb_scheduler` to `rb_fiber_scheduler`. * Use public interface if available. * Use `rb_check_funcall` where possible. * Don't use `unblock` unless the fiber was non-blocking. Notes: Merged-By: ioquatix <>
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-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-14Rework console to use `rb_io_wait`.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-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
2019-12-17[ruby/io-console] Use TCSANOW to prevent from discarding the input bufferYusuke Endoh
TCSAFLUSH discards the buffer read before the mode change, which makes IRB ignore the buffer input immediately after invoked. TCSANOW preserves the buffer.
2019-12-17[ruby/io-console] Disable implementation-defined special control charactersNobuyoshi Nakada
In raw mode with interrupt enabled.
2019-12-17[ruby/io-console] Removed dead codeNobuyoshi Nakada
2019-12-10[ruby/io-console] update depend for f9c0fe77c0eNobuyoshi Nakada
2019-12-10[ruby/io-console] bump up to 0.5.1Nobuyoshi Nakada
2019-12-10[ruby/io-console] Suppress an unused-variable warningNobuyoshi Nakada
2019-12-10[ruby/io-console] Use rb_thread_call_without_gvl instead of the deprecated ↵Nobuyoshi Nakada