| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
| |
(https://github.com/ruby/reline/pull/560)
https://github.com/ruby/reline/commit/4680d1c9e0
|
|
|
|
|
|
|
| |
remove dialog_proc
(https://github.com/ruby/reline/pull/532)
https://github.com/ruby/reline/commit/43283b2f37
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://github.com/ruby/reline/commit/347a468c59
|
|
|
|
| |
https://github.com/ruby/reline/commit/2ed77b693f
|
|
|
|
| |
https://github.com/ruby/reline/commit/a538de421f
|
|
|
|
| |
https://github.com/ruby/reline/commit/2ce2696d6e
|
|
|
|
| |
https://github.com/ruby/reline/commit/96067bc13c
|
|
|
|
| |
https://github.com/ruby/reline/commit/9bf2ca692e
|
|
|
|
| |
https://github.com/ruby/reline/commit/16aa20c380
|
|
|
|
| |
https://github.com/ruby/reline/commit/7e5dbe4750
|
|
|
|
| |
https://github.com/ruby/reline/commit/c4bb1bfd79
|
|
|
|
|
|
|
| |
`Reline::Windows` always reads from the console by Windows API
using fiddle.
https://github.com/ruby/reline/commit/c3bf85f5af
|
|
|
|
| |
https://github.com/ruby/reline/commit/ac519f57ea
|
|
|
|
| |
https://github.com/ruby/reline/commit/90c61d8188
|
|
|
|
| |
https://github.com/ruby/reline/commit/bca9b9012f
|
|
|
|
| |
https://github.com/ruby/reline/commit/58a7ca4101
|
|
|
|
| |
https://github.com/ruby/reline/commit/d1c5700fa3
|
|
|
|
| |
https://github.com/ruby/reline/commit/a8c7b207f0
|
|
|
|
| |
https://github.com/ruby/reline/commit/ae828208e1
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
is empty
https://github.com/ruby/reline/commit/c6f1164942
|
| |
|
| |
|
|
|
|
|
| |
Some other tests can set Reline.completion_proc, so if it is nil,
simply skip this test.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This is the same as the behavior of Readline.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|