<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/reline.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] 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] Use fdiv for keyseq_timeout msec to sec conversion</title>
<updated>2023-08-20T17:03:32+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2023-08-20T17:03:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=405c295a21ba83e032cd2cc5a86e1edf9ee14ff4'/>
<id>405c295a21ba83e032cd2cc5a86e1edf9ee14ff4</id>
<content type='text'>
(https://github.com/ruby/reline/pull/583)

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

https://github.com/ruby/reline/commit/a6504acd63
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Remove Timeout usage</title>
<updated>2023-08-20T10:40:55+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-08-20T10:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7c226291d344c29236d51c604f885af05e7f1add'/>
<id>7c226291d344c29236d51c604f885af05e7f1add</id>
<content type='text'>
(https://github.com/ruby/reline/pull/580)

Timeout's implementation relies on Thread, which would conflict with
`ruby/debug`'s thread-freezing implementation and has casued issues like

- ruby/debug#877
- ruby/debug#934
- ruby/debug#1000

This commit avoids the issue by completely removing the use of Timeout.

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

Timeout's implementation relies on Thread, which would conflict with
`ruby/debug`'s thread-freezing implementation and has casued issues like

- ruby/debug#877
- ruby/debug#934
- ruby/debug#1000

This commit avoids the issue by completely removing the use of Timeout.

https://github.com/ruby/reline/commit/d4f0cd3fe1
</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] Update Relin::IOGate dinamically when it is needed</title>
<updated>2023-07-05T20:21:13+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2023-07-05T20:21:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6f9d1b4b0f8938c42aa767577c7c6761ed9de64a'/>
<id>6f9d1b4b0f8938c42aa767577c7c6761ed9de64a</id>
<content type='text'>
(https://github.com/ruby/reline/pull/560)

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

https://github.com/ruby/reline/commit/4680d1c9e0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Refactor Reline::Core</title>
<updated>2023-07-04T13:52:31+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-07-04T13:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0a8b5cac6613ef25c0bf5832a822f76546d9ed70'/>
<id>0a8b5cac6613ef25c0bf5832a822f76546d9ed70</id>
<content type='text'>
(https://github.com/ruby/reline/pull/561)

* Use Reline::Core.encoding instead of directly referencing IOGate

* Set input/output based on the IOGate's interface
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/reline/pull/561)

* Use Reline::Core.encoding instead of directly referencing IOGate

* Set input/output based on the IOGate's interface
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Omit constant under Struct</title>
<updated>2023-06-20T14:02:58+00:00</updated>
<author>
<name>Yuta Kusuno</name>
<email>56626111+yutakusuno@users.noreply.github.com</email>
</author>
<published>2023-06-20T14:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9ce6e096370b150de4aa9e426726e1cc06f725b8'/>
<id>9ce6e096370b150de4aa9e426726e1cc06f725b8</id>
<content type='text'>
(https://github.com/ruby/reline/pull/554)

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

https://github.com/ruby/reline/commit/8761a11fa5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Use appropriate dialog height and reduce screen pushup</title>
<updated>2023-05-27T14:48:50+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2023-05-27T14:48:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5d137a7f77ce1b4ca3514565de41fe8a2cf611a4'/>
<id>5d137a7f77ce1b4ca3514565de41fe8a2cf611a4</id>
<content type='text'>
problem
(https://github.com/ruby/reline/pull/542)

* Provide preferred_dialog_height for dialog positioning

* Fix rendering test
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
problem
(https://github.com/ruby/reline/pull/542)

* Provide preferred_dialog_height for dialog positioning

* Fix rendering test
</pre>
</div>
</content>
</entry>
</feed>
