<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/reline/test_reline.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] Remove unapproved color setting APIs</title>
<updated>2022-12-05T03:14:55+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2022-12-04T11:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=16b2e0301411531a6ced6c673a1f9bd41d7b7e3e'/>
<id>16b2e0301411531a6ced6c673a1f9bd41d7b7e3e</id>
<content type='text'>
These APIs/configs are not approved by the Ruby core, so they can't be
released to the public. This means having them in the codebase will
block other fixes/features from being released as well.

So this commit removes those exposed interfaces to unblock the release.

Hopefully when https://bugs.ruby-lang.org/issues/18996 is approved we
can re-implement better APIs.

https://github.com/ruby/reline/commit/f7a961c550
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These APIs/configs are not approved by the Ruby core, so they can't be
released to the public. This means having them in the codebase will
block other fixes/features from being released as well.

So this commit removes those exposed interfaces to unblock the release.

Hopefully when https://bugs.ruby-lang.org/issues/18996 is approved we
can re-implement better APIs.

https://github.com/ruby/reline/commit/f7a961c550
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Support dumb terminal</title>
<updated>2022-09-01T07:36:16+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-09-01T05:14:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=59e8569cf938e0e449fd649b564da995ffb67470'/>
<id>59e8569cf938e0e449fd649b564da995ffb67470</id>
<content type='text'>
The "dumb" terminal is considered only on MSys tty now.  However, the
`TERM` feature has been used on many Unix-like systems for decades,
not MSys specific.

https://github.com/ruby/reline/commit/53fd51ab62
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "dumb" terminal is considered only on MSys tty now.  However, the
`TERM` feature has been used on many Unix-like systems for decades,
not MSys specific.

https://github.com/ruby/reline/commit/53fd51ab62
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Rename dialog_pointer_* to dialog_highlight_*</title>
<updated>2022-07-22T14:34:49+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-07-21T10:15:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b3be03074066f0c8ff87942a8dd68578f480f27b'/>
<id>b3be03074066f0c8ff87942a8dd68578f480f27b</id>
<content type='text'>
"Pointer" is not what we usually use to describe a selected item.

"Highlight" is a more common word for the scenario so we should use it instead.

https://github.com/ruby/reline/commit/b4279d1557
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"Pointer" is not what we usually use to describe a selected item.

"Highlight" is a more common word for the scenario so we should use it instead.

https://github.com/ruby/reline/commit/b4279d1557
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Use color name instead of code (integer) in dialog color APIs</title>
<updated>2022-07-15T17:30:23+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-06-28T13:39:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=36ca0e58b600f3338ad4880d77c8c7fbc8f51460'/>
<id>36ca0e58b600f3338ad4880d77c8c7fbc8f51460</id>
<content type='text'>
As pointed out in the
[comment](https://github.com/ruby/reline/pull/413#issuecomment-1168033973),
the code is actually a control sequence and not only for colors.

To make the dialog color APIs safer to use, we should restrict its
usages and extract away the bg/fg concept from the input.

So in this commit, I made these changes:

1. The dialog_*_bg/fg_color APIs only takes and returns color names (symbol):
  - :black
  - :red
  - :green
  - :yellow
  - :blue
  - :magenta
  - :cyan
  - :white
2. Add additional dialog_*_bg/fg_color_sequence APIs to access the raw code.

https://github.com/ruby/reline/commit/b32a977766
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As pointed out in the
[comment](https://github.com/ruby/reline/pull/413#issuecomment-1168033973),
the code is actually a control sequence and not only for colors.

To make the dialog color APIs safer to use, we should restrict its
usages and extract away the bg/fg concept from the input.

So in this commit, I made these changes:

1. The dialog_*_bg/fg_color APIs only takes and returns color names (symbol):
  - :black
  - :red
  - :green
  - :yellow
  - :blue
  - :magenta
  - :cyan
  - :white
2. Add additional dialog_*_bg/fg_color_sequence APIs to access the raw code.

https://github.com/ruby/reline/commit/b32a977766
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Add tests for top-level dialog color APIs</title>
<updated>2022-07-11T13:19:44+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-06-28T13:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2733c049674298cbc2130689a0a40013f3458755'/>
<id>2733c049674298cbc2130689a0a40013f3458755</id>
<content type='text'>
https://github.com/ruby/reline/commit/347a468c59
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/347a468c59
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Remove test TODO comments that have been confirmed by E2E tests</title>
<updated>2022-01-02T22:06:28+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2022-01-02T22:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=66e9256147c77a1b4f0ae29a841b4042600f004c'/>
<id>66e9256147c77a1b4f0ae29a841b4042600f004c</id>
<content type='text'>
https://github.com/ruby/reline/commit/2ed77b693f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/2ed77b693f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Use omit instead of skip</title>
<updated>2021-12-29T11:12:36+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-12-29T10:29:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=239e71c0af79e0c4b91cc21e7dff44a6c282d7b1'/>
<id>239e71c0af79e0c4b91cc21e7dff44a6c282d7b1</id>
<content type='text'>
https://github.com/ruby/reline/commit/a538de421f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/a538de421f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Add a test for dialog proc with context</title>
<updated>2021-12-20T05:54:45+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-12-20T05:44:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7572e0c6eca8930c875073ff944d5729f3b7a160'/>
<id>7572e0c6eca8930c875073ff944d5729f3b7a160</id>
<content type='text'>
https://github.com/ruby/reline/commit/2ce2696d6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/2ce2696d6e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Add an assertion for overwriting dialog proc with the same name</title>
<updated>2021-12-20T05:54:44+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-12-20T05:44:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bb122811640db5ab307805f81cf6b5ccdd6a2f4d'/>
<id>bb122811640db5ab307805f81cf6b5ccdd6a2f4d</id>
<content type='text'>
https://github.com/ruby/reline/commit/96067bc13c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/96067bc13c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Rename the variable "p" because it overlaps with the "p" method</title>
<updated>2021-12-20T05:54:43+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-12-20T05:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cc072899a116198d4045a031c21110b61b5f6844'/>
<id>cc072899a116198d4045a031c21110b61b5f6844</id>
<content type='text'>
https://github.com/ruby/reline/commit/9bf2ca692e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/9bf2ca692e
</pre>
</div>
</content>
</entry>
</feed>
