<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/io/console, branch ruby_3_0</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Backport io-console 0.5.7 to Ruby 3.0 (#4252)</title>
<updated>2021-03-13T08:55:49+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-03-13T08:55:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b20e2c3f2a3ce227b9cf32d2bf02db0ac67eccb5'/>
<id>b20e2c3f2a3ce227b9cf32d2bf02db0ac67eccb5</id>
<content type='text'>
* [ruby/io-console] [DOC] Note that IO#getpass returns a chomped string

IO#getpass uses String#chomp! on the read input line.

https://github.com/ruby/io-console/commit/1e98c93bc8

* [ruby/io-console] Ignore chomp! result and return the modified string

https://github.com/ruby/io-console/commit/09e5ccc729

* [ruby/io-console] Pre-define chomp! ID

https://github.com/ruby/io-console/commit/028e1c9497

* [ruby/io-console] Shrink struct query_args

https://github.com/ruby/io-console/commit/720be0a3e5

* [ruby/io-console] bump up to 0.5.7

https://github.com/ruby/io-console/commit/f55d7ebff6

Co-authored-by: Marcus Stollsteimer &lt;sto.mar@web.de&gt;
Co-authored-by: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [ruby/io-console] [DOC] Note that IO#getpass returns a chomped string

IO#getpass uses String#chomp! on the read input line.

https://github.com/ruby/io-console/commit/1e98c93bc8

* [ruby/io-console] Ignore chomp! result and return the modified string

https://github.com/ruby/io-console/commit/09e5ccc729

* [ruby/io-console] Pre-define chomp! ID

https://github.com/ruby/io-console/commit/028e1c9497

* [ruby/io-console] Shrink struct query_args

https://github.com/ruby/io-console/commit/720be0a3e5

* [ruby/io-console] bump up to 0.5.7

https://github.com/ruby/io-console/commit/f55d7ebff6

Co-authored-by: Marcus Stollsteimer &lt;sto.mar@web.de&gt;
Co-authored-by: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/io-console] Refined getch warnings</title>
<updated>2020-10-10T17:00:28+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-10-10T13:11:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=71428ac2645400c02b0ee56b0ff7021542b9616f'/>
<id>71428ac2645400c02b0ee56b0ff7021542b9616f</id>
<content type='text'>
https://github.com/ruby/io-console/commit/f84e6abcce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/io-console/commit/f84e6abcce
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/io-console] Relaxed min: option warning</title>
<updated>2020-10-10T17:00:26+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-10-10T12:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=37259e878f05db4106b67a9fc9cdc426d174282c'/>
<id>37259e878f05db4106b67a9fc9cdc426d174282c</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/io-console] Fix timeout type error (#18)</title>
<updated>2020-10-10T17:00:24+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-10-10T16:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a79966743c346bfc588022db29229b79bee51d45'/>
<id>a79966743c346bfc588022db29229b79bee51d45</id>
<content type='text'>
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 `&lt;main&gt;'
```

https://github.com/ruby/io-console/commit/3bdfaf62df
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 `&lt;main&gt;'
```

https://github.com/ruby/io-console/commit/3bdfaf62df
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/io-console] Fixed "Rework console to use `rb_io_wait`."</title>
<updated>2020-10-10T16:27:15+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-10-10T06:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b59640e155a5c1d166aaae4b7ccab936597930fc'/>
<id>b59640e155a5c1d166aaae4b7ccab936597930fc</id>
<content type='text'>
* Fixed backward compatibility.
* Added missing `rb_scheduler_timeout` declaration.

https://github.com/ruby/io-console/commit/813806079f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fixed backward compatibility.
* Added missing `rb_scheduler_timeout` declaration.

https://github.com/ruby/io-console/commit/813806079f
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework console to use `rb_io_wait`.</title>
<updated>2020-09-14T04:44:09+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2020-09-14T00:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7fca27419846f76f978f3bbef2d2db3e1bf688e7'/>
<id>7fca27419846f76f978f3bbef2d2db3e1bf688e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sed -i '/rmodule.h/d'</title>
<updated>2020-08-27T07:42:06+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2020-07-22T06:40:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=490010084ed09d9825e8d9198a02b930eaa1cd85'/>
<id>490010084ed09d9825e8d9198a02b930eaa1cd85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sed -i '/r_cast.h/d'</title>
<updated>2020-08-27T06:03:36+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2020-07-22T05:47:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=756403d775c7d7d60da179dd9b788d63e72c77ab'/>
<id>756403d775c7d7d60da179dd9b788d63e72c77ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sed -i '\,2/extern.h,d'</title>
<updated>2020-08-27T05:07:49+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2020-07-21T06:35:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0da2a3f1fc22da47cdce3cbcd8031d609ba8f207'/>
<id>0da2a3f1fc22da47cdce3cbcd8031d609ba8f207</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update the license for the default gems to dual licenses</title>
<updated>2020-08-18T11:26:39+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2020-08-18T11:15:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8fb02b7a97317090e3946e6f2d4a7d034f9699f1'/>
<id>8fb02b7a97317090e3946e6f2d4a7d034f9699f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
