<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/reline/general_io.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/reline] Added some of abstruct methods for cursor</title>
<updated>2022-09-02T07:09:50+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-09-02T05:25:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7ff50ee35c01dbd8d21e395261290890a669de82'/>
<id>7ff50ee35c01dbd8d21e395261290890a669de82</id>
<content type='text'>
https://github.com/ruby/reline/commit/f5fa30d595
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/f5fa30d595
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Prefer wait_readable for fiber scheduler.</title>
<updated>2021-12-11T05:29:20+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2021-12-11T05:18:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b5c4570af4c6ae7341ee03e7fc2e140192ec32d8'/>
<id>b5c4570af4c6ae7341ee03e7fc2e140192ec32d8</id>
<content type='text'>
https://github.com/ruby/reline/commit/06b4aa31fd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/06b4aa31fd
</pre>
</div>
</content>
</entry>
<entry>
<title>Reline::GeneralIO should work fine without tty</title>
<updated>2021-09-01T08:29:01+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-09-01T07:19:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ba0464e0cfff4fa0ad414c912b3e304403d07226'/>
<id>ba0464e0cfff4fa0ad414c912b3e304403d07226</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Fix Reline::Unicode.calculate_width when input is not a TTY</title>
<updated>2021-06-21T08:58:48+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-05-13T21:42:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=242bad9a87dbfc8a6af829ee3da3853925be14ab'/>
<id>242bad9a87dbfc8a6af829ee3da3853925be14ab</id>
<content type='text'>
This fixes an error when output is redirected:

```
$ run_ruby -rreline -e '$stderr.puts Reline::Unicode.calculate_width("\u221a").inspect' &lt;/dev/null &gt;/dev/null
/home/jeremy/tmp/ruby/lib/reline/ansi.rb:189:in `raw': Operation not supported by device (Errno::ENODEV)
```

The @@encoding -&gt; defined?(@@encoding) changes is necessary because
without that part of the commit, the following error would be raised
by the above command:

```
/home/jeremy/tmp/reline/lib/reline/general_io.rb:10:in `encoding': uninitialized class variable @@encoding in Reline::GeneralIO (NameError)
```

Problem reported and initial patch for Windows provided by
Richard Sharman.

I tested this only on OpenBSD, but hopefully it works for other
operating systems.

Fixes [Bug #17493]

https://github.com/ruby/reline/commit/c001971bb3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes an error when output is redirected:

```
$ run_ruby -rreline -e '$stderr.puts Reline::Unicode.calculate_width("\u221a").inspect' &lt;/dev/null &gt;/dev/null
/home/jeremy/tmp/ruby/lib/reline/ansi.rb:189:in `raw': Operation not supported by device (Errno::ENODEV)
```

The @@encoding -&gt; defined?(@@encoding) changes is necessary because
without that part of the commit, the following error would be raised
by the above command:

```
/home/jeremy/tmp/reline/lib/reline/general_io.rb:10:in `encoding': uninitialized class variable @@encoding in Reline::GeneralIO (NameError)
```

Problem reported and initial patch for Windows provided by
Richard Sharman.

I tested this only on OpenBSD, but hopefully it works for other
operating systems.

Fixes [Bug #17493]

https://github.com/ruby/reline/commit/c001971bb3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] The config file must accept any character encoding</title>
<updated>2021-06-21T08:58:48+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-04-20T03:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b0cc46b484028b65b3306e9d19803e49c7b7cd58'/>
<id>b0cc46b484028b65b3306e9d19803e49c7b7cd58</id>
<content type='text'>
In Japan, so many programmers used EUC-JP to write text files that contain
Japanese. Many .inputrc files which contain EUC-JP are still being copied and
used. This commit supports the whole encoding of what user set including UTF-8.

ref. https://github.com/ruby/reline/pull/280

https://github.com/ruby/reline/commit/0b45022e16
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Japan, so many programmers used EUC-JP to write text files that contain
Japanese. Many .inputrc files which contain EUC-JP are still being copied and
used. This commit supports the whole encoding of what user set including UTF-8.

ref. https://github.com/ruby/reline/pull/280

https://github.com/ruby/reline/commit/0b45022e16
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Separate keystrokes each editing mode</title>
<updated>2021-04-08T12:41:00+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-04-05T07:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5543695a19faccea325f91c9791d06dc4d29e132'/>
<id>5543695a19faccea325f91c9791d06dc4d29e132</id>
<content type='text'>
https://github.com/ruby/reline/commit/ee23e6f3f8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/ee23e6f3f8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Call process_insert when the end of pasting plural fullwidth chars</title>
<updated>2020-12-04T17:58:58+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-11-08T12:56:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9750c27afc99034960b74e8951718ca07cc353a8'/>
<id>9750c27afc99034960b74e8951718ca07cc353a8</id>
<content type='text'>
https://github.com/ruby/reline/commit/594484d9f9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/594484d9f9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Suppress callbacks in pasting</title>
<updated>2020-12-04T17:58:58+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-10-19T23:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=55cc397a87dbfaa5d95168ce05f9a0d20339c657'/>
<id>55cc397a87dbfaa5d95168ce05f9a0d20339c657</id>
<content type='text'>
IRB uses Reline's 3 dynamic real-time callbacks with calling Ripper;
output_modifier_proc, prompt_proc, and auto_indent_proc. These processing
times make the paste time too long.

https://github.com/ruby/reline/commit/beec3399a8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IRB uses Reline's 3 dynamic real-time callbacks with calling Ripper;
output_modifier_proc, prompt_proc, and auto_indent_proc. These processing
times make the paste time too long.

https://github.com/ruby/reline/commit/beec3399a8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Bypass cursor down when a char is rendered at eol on Windows</title>
<updated>2020-02-01T18:28:20+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-01-31T17:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=06c37fa5b4834c81470213a04dc73a63e69e9776'/>
<id>06c37fa5b4834c81470213a04dc73a63e69e9776</id>
<content type='text'>
A newline is automatically inserted if a character is rendered at eol on
Windows command prompt.

https://github.com/ruby/reline/commit/4bfea07e4a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A newline is automatically inserted if a character is rendered at eol on
Windows command prompt.

https://github.com/ruby/reline/commit/4bfea07e4a
</pre>
</div>
</content>
</entry>
<entry>
<title>Always use UTF-8 for Reline::GeneralIO on Windows</title>
<updated>2020-01-26T03:57:13+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-01-26T03:55:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c257d811862b9e29ccff4305d836077835091112'/>
<id>c257d811862b9e29ccff4305d836077835091112</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
