<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/reline/helper.rb, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Merge reline-0.5.10 (#11558)</title>
<updated>2024-09-06T00:55:34+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-09-06T00:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c3f7041ab19fbf0e937126dc1b7397b97f768b9a'/>
<id>c3f7041ab19fbf0e937126dc1b7397b97f768b9a</id>
<content type='text'>
* Merge reline-0.5.8

* Merge reline-0.5.9

* Merge reline-0.5.10</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Merge reline-0.5.8

* Merge reline-0.5.9

* Merge reline-0.5.10</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #20511] Update reline-0.5.7 (#10848)</title>
<updated>2024-05-28T22:54:39+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-05-28T22:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=077558ee2b8dd3ed414b78384f21118f833eb259'/>
<id>077558ee2b8dd3ed414b78384f21118f833eb259</id>
<content type='text'>
* Update reline-0.5.7

* Update irb-1.13.1</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Update reline-0.5.7

* Update irb-1.13.1</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Test Reline::Face without mocking</title>
<updated>2023-11-06T15:53:38+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-11-06T15:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2dd32e7c3b6904e61b9068596f5e4e82920c1fb0'/>
<id>2dd32e7c3b6904e61b9068596f5e4e82920c1fb0</id>
<content type='text'>
(https://github.com/ruby/reline/pull/600)

* Test Reline::Face without mocking

Because `test-unit-rr` is not a default gem, using it would break CRuby's
CI.

* Add ruby-core workflow

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

* Test Reline::Face without mocking

Because `test-unit-rr` is not a default gem, using it would break CRuby's
CI.

* Add ruby-core workflow

https://github.com/ruby/reline/commit/d2189ac436
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Introduce a new class Reline::Face to configure</title>
<updated>2023-11-06T14:40:42+00:00</updated>
<author>
<name>HASUMI Hitoshi</name>
<email>hasumikin@gmail.com</email>
</author>
<published>2023-11-06T14:40:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=16403f41abcbaccf32484d10575d3542dbb3247e'/>
<id>16403f41abcbaccf32484d10575d3542dbb3247e</id>
<content type='text'>
character attributes
(https://github.com/ruby/reline/pull/552)

* Reine::Face

* fix test_yamatanooroti

* Define singleton methods to make accessors to attributes of a face

* s/display/foreground/

* s/default/default_style/ &amp;&amp; s/normal_line/default/ &amp;&amp; s/enhanced_line/enhanced/

* fix typo

* FaceConfig.new now takes keyword arguments

* Update lib/reline/face.rb

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Update test/reline/test_face.rb

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Fix to correspond to frozen_string_literal

* Face::FaceConfig -&gt; Face::Config

* ref https://github.com/ruby/reline/pull/552#pullrequestreview-1677282576

* delete unused ivar

* ref https://github.com/ruby/reline/pull/552#discussion_r1358783723

* insert "\e[0m" into all SGR

* tiny fix

* ESSENTIAL_DEFINE_NAMES

ref https://github.com/ruby/reline/pull/552#discussion_r1367722247

* Change to Hash-accessor style

- Reline::Face[:completion_dialog].enhanced -&gt;
  Reline::Face[:completion_dialog][:enhanced]
- Reline::Face.configs shows all defined values

* Cache array method call in local variable

* Tests for Face configuration variations

* resolve https://github.com/ruby/reline/pull/552#pullrequestreview-1710938154

* amend  to

* check invalid SGR parameter in :style

* The order of define values should be preserved

* Update test/reline/test_face.rb

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Update test/reline/test_face.rb

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Add methods: load_initial_config and reset_to_initial_config. And teardown in tests

* omission in amending "style: :default" to "style: :reset"

* refs https://github.com/ruby/reline/issues/598

* Fix link

* amend method name

* Update lib/reline/face.rb

Co-authored-by: ima1zumi &lt;52617472+ima1zumi@users.noreply.github.com&gt;

---------

https://github.com/ruby/reline/commit/fdc1d3b1e5

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
Co-authored-by: ima1zumi &lt;52617472+ima1zumi@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
character attributes
(https://github.com/ruby/reline/pull/552)

* Reine::Face

* fix test_yamatanooroti

* Define singleton methods to make accessors to attributes of a face

* s/display/foreground/

* s/default/default_style/ &amp;&amp; s/normal_line/default/ &amp;&amp; s/enhanced_line/enhanced/

* fix typo

* FaceConfig.new now takes keyword arguments

* Update lib/reline/face.rb

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Update test/reline/test_face.rb

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Fix to correspond to frozen_string_literal

* Face::FaceConfig -&gt; Face::Config

* ref https://github.com/ruby/reline/pull/552#pullrequestreview-1677282576

* delete unused ivar

* ref https://github.com/ruby/reline/pull/552#discussion_r1358783723

* insert "\e[0m" into all SGR

* tiny fix

* ESSENTIAL_DEFINE_NAMES

ref https://github.com/ruby/reline/pull/552#discussion_r1367722247

* Change to Hash-accessor style

- Reline::Face[:completion_dialog].enhanced -&gt;
  Reline::Face[:completion_dialog][:enhanced]
- Reline::Face.configs shows all defined values

* Cache array method call in local variable

* Tests for Face configuration variations

* resolve https://github.com/ruby/reline/pull/552#pullrequestreview-1710938154

* amend  to

* check invalid SGR parameter in :style

* The order of define values should be preserved

* Update test/reline/test_face.rb

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Update test/reline/test_face.rb

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Add methods: load_initial_config and reset_to_initial_config. And teardown in tests

* omission in amending "style: :default" to "style: :reset"

* refs https://github.com/ruby/reline/issues/598

* Fix link

* amend method name

* Update lib/reline/face.rb

Co-authored-by: ima1zumi &lt;52617472+ima1zumi@users.noreply.github.com&gt;

---------

https://github.com/ruby/reline/commit/fdc1d3b1e5

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
Co-authored-by: ima1zumi &lt;52617472+ima1zumi@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Properly restore Reline::IOGate in test teardown</title>
<updated>2023-09-28T13:53:30+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2023-09-28T13:53:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d4942546af0e2c0a4b53eaf5d2aeec36187fa5ba'/>
<id>d4942546af0e2c0a4b53eaf5d2aeec36187fa5ba</id>
<content type='text'>
(https://github.com/ruby/reline/pull/593)

* Properly restore Reline::IOGate in test teardown

* GeneralIO.reset should reset class variable existence

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

* Properly restore Reline::IOGate in test teardown

* GeneralIO.reset should reset class variable existence

https://github.com/ruby/reline/commit/c16d33dae5
</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>[ruby/reline] Fix wrong indent number in prompt. whole_lines has</title>
<updated>2023-02-27T10:21:30+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2023-02-27T10:21:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4f611df3f7f61fbdf83b02121dd1edea0b7c68ec'/>
<id>4f611df3f7f61fbdf83b02121dd1edea0b7c68ec</id>
<content type='text'>
duplicated line.
(https://github.com/ruby/reline/pull/460)

* whole_lines should consider prev_line_index, and must not duplicate last_line

* Add test for lines passed to dynamic prompt proc

* Refactor whole_lines parameters used in test helper

* Remove whole_line's arguments
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
duplicated line.
(https://github.com/ruby/reline/pull/460)

* whole_lines should consider prev_line_index, and must not duplicate last_line

* Add test for lines passed to dynamic prompt proc

* Refactor whole_lines parameters used in test helper

* Remove whole_line's arguments
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] test_dumb_terminal: "ruby" command is not always available</title>
<updated>2023-02-05T20:31:37+00:00</updated>
<author>
<name>Sorah Fukumori</name>
<email>her@sorah.jp</email>
</author>
<published>2023-02-05T19:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8a29419b7fb723b3faf04b3d9a3cb0740213d946'/>
<id>8a29419b7fb723b3faf04b3d9a3cb0740213d946</id>
<content type='text'>
Fixes the same issue at https://github.com/ruby/ruby/pull/5417

`ruby` is not always available in certain build environments and
configure options (e.g. --program-suffix)

This patch tries to choose an appropriate command line for spawning a
fresh Ruby process, based on EnvUtil implementation in ruby/ruby's test
suite.

Plus when this library is directly mirrored into ruby/ruby, prefer EnvUtil
available there over the implementation in this library's test suite.

https://github.com/ruby/reline/commit/278327d2e9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes the same issue at https://github.com/ruby/ruby/pull/5417

`ruby` is not always available in certain build environments and
configure options (e.g. --program-suffix)

This patch tries to choose an appropriate command line for spawning a
fresh Ruby process, based on EnvUtil implementation in ruby/ruby's test
suite.

Plus when this library is directly mirrored into ruby/ruby, prefer EnvUtil
available there over the implementation in this library's test suite.

https://github.com/ruby/reline/commit/278327d2e9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Reset IOGate in test_reset</title>
<updated>2023-01-11T11:38:51+00:00</updated>
<author>
<name>Phillip Hellewell</name>
<email>sshock@gmail.com</email>
</author>
<published>2023-01-10T20:26:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d831b1d5cef23593c94d80240b836fd2038aa685'/>
<id>d831b1d5cef23593c94d80240b836fd2038aa685</id>
<content type='text'>
https://github.com/ruby/reline/commit/331c1094ef
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/331c1094ef
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Add key binding for Delete</title>
<updated>2023-01-10T12:18:14+00:00</updated>
<author>
<name>Phillip Hellewell</name>
<email>phillip.hellewell@mx.com</email>
</author>
<published>2022-03-06T07:22:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=97f8f2c4703361624823ef76d6cfe804ba1e651b'/>
<id>97f8f2c4703361624823ef76d6cfe804ba1e651b</id>
<content type='text'>
https://github.com/ruby/reline/commit/603eacee22
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/603eacee22
</pre>
</div>
</content>
</entry>
</feed>
