<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/reline/test_history.rb, branch v3_4_9</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] Fix Reline crash with invalid encoding history</title>
<updated>2024-10-01T17:01:38+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-10-01T17:01:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e320da60976f6818c8667afb98fe88142c3073d2'/>
<id>e320da60976f6818c8667afb98fe88142c3073d2</id>
<content type='text'>
(https://github.com/ruby/reline/pull/751)

https://github.com/ruby/reline/commit/e9d4b37e34
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/reline/pull/751)

https://github.com/ruby/reline/commit/e9d4b37e34
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Reduce direct references to `Reline::IOGate`</title>
<updated>2023-07-07T17:27:25+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-07-07T17:27:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=24d9e21f84eced634b3e443ada2a57621b2b4b9b'/>
<id>24d9e21f84eced634b3e443ada2a57621b2b4b9b</id>
<content type='text'>
(https://github.com/ruby/reline/pull/566)

* Avoid referencing IOGate from IOGate classes

The only time those classes being used is when themselves being the IOGate.
So when referencing to IOGate, it's better to use `self` instead.

* Avoid referencing to IOGate from LineEditor directly

* Avoid referencing to IOGate from Core directly

* Reference to Reline.core directly

* Replace Reline::IOGate with Reline.core.io_gate
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/reline/pull/566)

* Avoid referencing IOGate from IOGate classes

The only time those classes being used is when themselves being the IOGate.
So when referencing to IOGate, it's better to use `self` instead.

* Avoid referencing to IOGate from LineEditor directly

* Avoid referencing to IOGate from Core directly

* Reference to Reline.core directly

* Replace Reline::IOGate with Reline.core.io_gate
</pre>
</div>
</content>
</entry>
<entry>
<title>Add detailed message to assert_external_string_equal</title>
<updated>2021-06-23T12:00:48+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-06-23T12:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=557b4eb4aa83f60eacfaae3f5054d78dcc57d1b6'/>
<id>557b4eb4aa83f60eacfaae3f5054d78dcc57d1b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop using global constant, RELINE_TEST_ENCODING</title>
<updated>2021-06-21T13:12:14+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-06-21T13:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1192393b3ed0952705e0faa476d84d757c50f1ce'/>
<id>1192393b3ed0952705e0faa476d84d757c50f1ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Call Reline.test_reset in teardown definitely</title>
<updated>2021-06-21T13:12:14+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-06-21T13:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=af19f9a6e9525b062ce3788f7120a8b72f737c6d'/>
<id>af19f9a6e9525b062ce3788f7120a8b72f737c6d</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] 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] Negative history_size means unlimited</title>
<updated>2020-04-29T10:13:14+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-04-24T17:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4859352df62c05bbc10e1e62f966d493eb771e66'/>
<id>4859352df62c05bbc10e1e62f966d493eb771e66</id>
<content type='text'>
And unlimited is default.

https://github.com/ruby/reline/commit/f5149c3ca6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And unlimited is default.

https://github.com/ruby/reline/commit/f5149c3ca6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] New items to history are dropped if history_size is zero</title>
<updated>2020-04-29T10:13:14+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-04-24T16:45:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d27fa87418bcec8fff909f75a547a7c5e6dc83e5'/>
<id>d27fa87418bcec8fff909f75a547a7c5e6dc83e5</id>
<content type='text'>
https://github.com/ruby/reline/commit/9bdbed9cbc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/9bdbed9cbc
</pre>
</div>
</content>
</entry>
<entry>
<title>Use test_mode on Reline::History::Test for encoding</title>
<updated>2020-01-26T03:58:25+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-01-26T03:58:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0aa5195262d4193d3accf3e6b9bad236238b816b'/>
<id>0aa5195262d4193d3accf3e6b9bad236238b816b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reline: Fix changed test results due to change to UTF-8 on Windows</title>
<updated>2020-01-21T12:26:58+00:00</updated>
<author>
<name>Lars Kanis</name>
<email>lars@greiz-reinsdorf.de</email>
</author>
<published>2020-01-18T20:22:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b0ca1fc21bbb9dac65a3b3f7b5935e691ece1501'/>
<id>b0ca1fc21bbb9dac65a3b3f7b5935e691ece1501</id>
<content type='text'>
In commit f8ea2860b0cac1aec79978e6c44168802958e8af the Reline encoding
for native windows console was changed to hardcoded UTF-8.
This caused failures in reline and readline tests, but they were hidden,
because parallel ruby tests incorrectly used Reline::ANSI as IOGate.
Tests failures were raised in single process mode, but not with -j switch.

This patch corrects encodings on native Windows console.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In commit f8ea2860b0cac1aec79978e6c44168802958e8af the Reline encoding
for native windows console was changed to hardcoded UTF-8.
This caused failures in reline and readline tests, but they were hidden,
because parallel ruby tests incorrectly used Reline::ANSI as IOGate.
Tests failures were raised in single process mode, but not with -j switch.

This patch corrects encodings on native Windows console.
</pre>
</div>
</content>
</entry>
</feed>
