Age | Commit message (Collapse) | Author |
|
f27eb8148f5a72bbacfebfecc7de9305471bb5c9,d75f7078c831d45ab5ba2fae4fbb308d01a21e46,d5836db1b398a7936b0461b3011db66f6cc8c490: [Backport #18443]
Sync io-console gem.
---
ext/io/console/console.c | 8 ++++++--
test/io/console/test_io_console.rb | 8 ++++++++
2 files changed, 14 insertions(+), 2 deletions(-)
[ruby/io-console] bump up to 0.5.11
https://github.com/ruby/io-console/commit/ad3805200c
---
ext/io/console/io-console.gemspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix `Leaked file descriptor: TestIO_Console#test_console_kw`
```
Leaked file descriptor: TestIO_Console#test_console_kw: 10 : #<File:/dev/tty>
```
---
test/io/console/test_io_console.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
This reverts commit aa3b2c81c8de2e70bd100e92436f15c03523eaf7.
|
|
|
|
https://github.com/ruby/io-console/commit/806c65e22b
(cherry picked from commit 8247b193c0dd06db9ea56812954dda8fed89458d)
|
|
https://github.com/ruby/io-console/commit/e9478509e9
(cherry picked from commit 9368fa6c3073d5fe4380a5e84eb59f7cec2ce62c)
|
|
* Prefer to use RTEST when checking result of `rb_io_wait`.
* Consistently use false for signifying no events ready.
Notes:
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
https://github.com/ruby/io-wait/commit/c97ab9a212
|
|
|
|
Reverts https://github.com/ruby/io-wait/commit/2eb3841e9c8f3279955253a93d3db98b80787548
because it fails on "update-deps" check in the ruby/ruby CI.
https://github.com/ruby/ruby/runs/4230891140?check_suite_focus=true
```
diff --git a/ext/io/wait/depend b/ext/io/wait/depend
index 7b314b9..449e9fe 100644
--- a/ext/io/wait/depend
+++ b/ext/io/wait/depend
...
```
Maybe now it does not work on Ruby 2.6. This file must be changed for
each Ruby version. I have no good idea to fix this issue.
|
|
https://github.com/ruby/io-wait/commit/2eb3841e9c
|
|
https://github.com/ruby/io-wait/commit/1060f9348c
|
|
https://github.com/ruby/io-wait/commit/898248931f
|
|
https://github.com/ruby/io-wait/commit/f6a1b10a59
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
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.
https://github.com/ruby/io-console/commit/881010447c
|
|
https://github.com/ruby/io-console/commit/c17b8cf3a9
|
|
This gem exposes no executables, and this clarifies this.
https://github.com/ruby/io-wait/commit/f491c6cc64
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4371
|
|
https://github.com/ruby/io-console/commit/302e86a28c
https://github.com/ruby/io-console/commit/0690862526
|
|
Fixes https://bugs.ruby-lang.org/issues/17659
https://github.com/ruby/io-wait/commit/ba338b4764
Notes:
Merged: https://github.com/ruby/ruby/pull/4244
|
|
https://github.com/ruby/io-wait/commit/88db082d60
Notes:
Merged: https://github.com/ruby/ruby/pull/4244
|
|
Before 3.0.0, io-wait has not been gemified.
https://github.com/ruby/io-wait/commit/6fed3da323
Notes:
Merged: https://github.com/ruby/ruby/pull/4244
|
|
https://github.com/ruby/io-wait/commit/0599f6d4d6
https://github.com/ruby/io-wait/commit/4e982aea1b
https://github.com/ruby/io-wait/commit/5b45685eb3
Notes:
Merged: https://github.com/ruby/ruby/pull/4244
|
|
|
|
|
|
|
|
* 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 <samuel@codeotaku.com>
|
|
https://github.com/ruby/io-console/commit/c8046fde84
|
|
https://github.com/ruby/io-console/commit/b0691d2c20
|
|
Add `--platform` option tentatively.
https://github.com/ruby/io-console/commit/3bf1a7b753
|
|
https://github.com/ruby/io-console/commit/f55d7ebff6
|
|
https://github.com/ruby/io-console/commit/720be0a3e5
|
|
https://github.com/ruby/io-console/commit/028e1c9497
|
|
https://github.com/ruby/io-console/commit/09e5ccc729
|
|
IO#getpass uses String#chomp! on the read input line.
https://github.com/ruby/io-console/commit/1e98c93bc8
|
|
https://github.com/ruby/io-wait/commit/664c93b2ff
|
|
https://github.com/ruby/io-wait/commit/4434b10e46
|
|
https://github.com/ruby/io-wait/commit/12cce69ddf
|
|
See rubygems/rubygems@8a81183236c4475152798db99734e89779287331.
https://github.com/ruby/io-wait/commit/04857e0cf5
|
|
https://github.com/ruby/io-nonblock/commit/8b7abbd1b5
|
|
https://github.com/ruby/io-nonblock/commit/9fa3ad9c7a
|
|
See rubygems/rubygems@8a81183236c4475152798db99734e89779287331.
https://github.com/ruby/io-nonblock/commit/e14f7952c1
|
|
|
|
|
|
https://github.com/ruby/io-console/commit/f84e6abcce
|
|
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.
https://github.com/ruby/io-console/commit/a2afbe72bd
|
|
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>'
```
https://github.com/ruby/io-console/commit/3bdfaf62df
|
|
* Fixed backward compatibility.
* Added missing `rb_scheduler_timeout` declaration.
https://github.com/ruby/io-console/commit/813806079f
|
|
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.
|
|
|