| Age | Commit message (Collapse) | Author |
|
|
|
https://github.com/ruby/io-console/commit/467508a0c6
|
|
https://github.com/ruby/io-console/commit/fdad351501
|
|
https://github.com/ruby/io-console/commit/aa79919f79
|
|
Truffle ruby seems to lack it.
https://github.com/ruby/io-console/commit/839c1e80eb
|
|
Possible fix for recent crashes seen on CI.
[BUG] rb_sys_fail_str(<STDIN>) - errno == 0
rb_io_path() calls rb_obj_dup(), which could call initialize_dup in Ruby
and clobber errno before rb_sys_fail_str() gets to read errno. So
save it out first.
(Using separate statements because order of evaluation in function call
list is unspecified, and order is important here.)
https://github.com/ruby/io-console/commit/0ba400b5e7
|
|
This reverts commit 5bd144c1bb20e22e4d9f5e5e0264820fd3ef8137.
|
|
... to check the return value of ioctl
http://ci.rvm.jp/results/trunk_asan@ruby-sp1/5423172
```
/tmp/ruby/src/trunk_asan/lib/reline/io/ansi.rb:192: [BUG] rb_sys_fail_str(<STDIN>) - errno == 0
```
Notes:
Merged: https://github.com/ruby/ruby/pull/12147
|
|
https://github.com/ruby/io-console/commit/8ec27d403e
|
|
https://github.com/ruby/io-console/commit/504292b487
|
|
https://github.com/ruby/io-console/commit/cad8169568
|
|
https://github.com/ruby/io-console/commit/f10c946ac7
|
|
Ractor requires a shareable class has shareable constants only, but IO
is not shareable unless frozen.
https://github.com/ruby/io-console/commit/65e0ff895c
|
|
https://github.com/ruby/io-console/commit/b1adc15af7
|
|
https://github.com/ruby/io-console/commit/651797ff8a
|
|
https://github.com/ruby/io-console/commit/4b2e876dd7
|
|
https://github.com/ruby/io-console/commit/f8ec8a0617
|
|
https://github.com/ruby/io-console/commit/1f2877a185
|
|
https://github.com/ruby/io-console/commit/14b35217dc
|
|
https://github.com/ruby/io-console/commit/6302a2082c
|
|
https://github.com/ruby/io-console/commit/44dce34569
|
|
https://github.com/ruby/io-console/commit/63dbeeecf4
|
|
ruby/io-console#50
https://github.com/ruby/io-console/commit/ee752ce771
|
|
https://github.com/ruby/io-console/commit/ebdbebf461
|
|
So that the both sources appear in RDoc generated HTMLs.
https://github.com/ruby/io-console/commit/beec164a47
|
|
https://github.com/ruby/io-console/commit/653c1cd33f
|
|
https://github.com/ruby/io-console/commit/5f71354332
|
|
https://github.com/ruby/io-console/commit/15e36af171
|
|
https://github.com/ruby/io-console/commit/040a1d6259
|
|
https://github.com/ruby/io-console/commit/57f9649df4
|
|
https://github.com/ruby/io-console/commit/85a155f25f
|
|
https://github.com/ruby/io-console/commit/a0544eb74f
|
|
There were no clear example of this very useful method's usage anywhere
in the IO or IO::Console docs, which was a shame.
https://github.com/ruby/io-console/commit/4d324586a8
|
|
compatibility. (#7882)
This reverts commit 35da41b29bf0a1a8fd2cd7e1d7fcb036ca8c2c7c.
This updates `io-console` to avoid accessing the internal details of `rb_io_t`
and instead use `rb_io_descriptor` and `rb_io_path` etc.
Notes:
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
This reverts commit 1889133c04f337fec3969cb5040a544088249046 and
commit 764207e47ce38d1b73774a8e65114c87bc888298.
Followed up with https://github.com/ruby/ruby/commit/85dcc4866d9ff29834596e9186cc97d622ee06f8
|
|
https://github.com/ruby/io-console/commit/55f1586463
|
|
(https://github.com/ruby/io-console/pull/43)
https://github.com/ruby/io-console/commit/4b839a504f
Co-authored-by: Benoit Daloze <eregontp@gmail.com>
|
|
https://github.com/ruby/io-console/commit/aa8fc7e947
|
|
|
|
* 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>
|
|
|
|
* 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/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-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
|