summaryrefslogtreecommitdiff
path: root/test/reline
AgeCommit message (Collapse)Author
2020-05-12Also use pipe for input in testaycabta
2020-04-29[ruby/reline] Negative history_size means unlimitedaycabta
And unlimited is default. https://github.com/ruby/reline/commit/f5149c3ca6
2020-04-29[ruby/reline] New items to history are dropped if history_size is zeroaycabta
https://github.com/ruby/reline/commit/9bdbed9cbc
2020-04-29[ruby/reline] Ignore non-absolute XDG_CONFIG_HOMENobuyoshi Nakada
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html > All paths set in these environment variables must be absolute. > If an implementation encounters a relative path in any of these > variables it should consider the path invalid and ignore it. https://github.com/ruby/reline/commit/45af6eea77
2020-04-24[ruby/reline] Treat home dir correctlyaycabta
https://github.com/ruby/reline/commit/9b1327d2f4
2020-04-24[ruby/reline] Support XDG_CONFIG_HOMEaycabta
In the XDG Specification, if ~/.config/readline/inputrc exists, then ~/.inputrc should not be read, but for compatibility with GNU Readline, if ~/.inputrc exists, then it is given priority. https://github.com/ruby/reline/commit/97f1e7db04
2020-04-18[ruby/reline] Add ed_search_next_historyaycabta
https://github.com/ruby/reline/commit/ca750b676b
2020-04-18[ruby/reline] Add ed_search_prev_historyaycabta
https://github.com/ruby/reline/commit/e9ae288825
2020-04-18[ruby/reline] Rename wrong test nameaycabta
https://github.com/ruby/reline/commit/8480db575b
2020-03-27[ruby/reline] Suppress $/ warningsNobuyoshi Nakada
https://github.com/ruby/reline/commit/f4eac8c76f
2020-03-26[ruby/reline] Add a comment why rescue yamatanooroti loading error on the testaycabta
https://github.com/ruby/reline/commit/2a8061daec
2020-03-26[ruby/reline] Rename test suite name of yamatanooroti testaycabta
https://github.com/ruby/reline/commit/b0f32f5de4
2020-03-26[ruby/reline] Add yamatanooroti rendering testaycabta
https://github.com/ruby/reline/commit/f092519525
2020-03-26[ruby/reline] Suppress error in case INPUTRC env is emptyaycabta
https://github.com/ruby/reline/commit/bce7e7562b
2020-03-26[ruby/reline] Work with wrong $/ value correctlyaycabta
https://github.com/ruby/reline/commit/962ebf5a1b
2020-03-02Reset Reline.pointKoichi Sasada
TestRelineAsReadline#test_insert_text expects Readline.point == 0 at the beginning of the test, but a test violate this assumption.
2020-03-02skip test if Reline.completion_proc is nil.Koichi Sasada
Some other tests can set Reline.completion_proc, so if it is nil, simply skip this test.
2020-01-26Use test_mode on Reline::History::Test for encodingaycabta
2020-01-21Reline: Fix changed test results due to change to UTF-8 on WindowsLars Kanis
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. Notes: Merged: https://github.com/ruby/ruby/pull/2848
2020-01-21[ruby/reline] Implement vi_change_metaaycabta
https://github.com/ruby/reline/commit/8538e0e10f
2020-01-20[ruby/reline] Implement vi_prev_char and vi_to_prev_charaycabta
https://github.com/ruby/reline/commit/0ad3ee63fa
2020-01-20[ruby/reline] Implement vi_to_next_charaycabta
https://github.com/ruby/reline/commit/066ecb0a21
2020-01-17Implement vi_insert_at_bol and vi_add_at_eolaycabta
2020-01-17Add tests for vi_insert and vi_addaycabta
2020-01-14Introduce an abstracted structure about the encoding of Relineaycabta
The command prompt on Windows always uses Unicode to take input and print output but most Reline implementation depends on Encoding.default_external. This commit introduces an abstracted structure about the encoding of Reline.
2020-01-06Support history-size in .inputrc correctlyaycabta
2020-01-06Complete indented and quoted string correctlyaycabta
def foo ''.upca[TAB] This will be completed to be: def foo ''.upcase The indent was gone. This commit fixes the bug.
2019-12-27Add test_completion_with_indent_and_completer_quote_charactersaycabta
This is for 8a705245e55575d4d310a2e956b89a36a5931971.
2019-12-25^D on non-empty line in vi mode behaves like Enteraycabta
2019-12-24The delete-char-or-list shows completed list when called at end of lineaycabta
It doesn't behave the same as the delete-char.
2019-12-17Support change search directionaycabta
2019-12-17Support forward-search-history by C-saycabta
2019-12-13Show a menu before a documentaycabta
IRB should show a menu first if a completed list has plural items. But just shows document without menu if a completed list with plural items includes a perfect matched item. The behavior is a bug. This commit fixes it.
2019-12-12Suppress to crash IRB if completed list has nilaycabta
2019-12-10Support completion with case-insensitive fashionaycabta
Reline performs completion in a case-insensitive fashon if Readline.completion_case_fold or completion-ignore-case of .inputrc are set "on".
2019-12-05Change encoding of completion list...for more testsaycabta
2019-12-05Change encoding of completion listaycabta
2019-12-05Support disable-completionaycabta
2019-12-05Fix variable catchaycabta
2019-12-03Support incremental search by last determined wordaycabta
In the incremental search by C-r, search word is saved when it's determined. In the next incremental search by C-r, if a user presses C-r again with the empty search word, the determined previous search word is used to search.
2019-12-02Support incremental search again by C-r in incremental searchaycabta
2019-12-02Search history to back in the middle of historiesaycabta
2019-12-02Remove obsolete codeaycabta
2019-12-01The ed_search_prev_history should always search to backwardaycabta
2019-11-21Add test/reline/test_string_processing.rbaycabta
2019-11-21Change argument `Proc` to `#call` defined object.manga_osyo
This is the same as the behavior of Readline.
2019-11-19Prefer dedecated assertionsNobuyoshi Nakada
2019-11-15Implement em_set_mark and em_exchange_markaycabta
2019-11-12Fixed `assert_equal` first argument to be expected.manga_osyo
2019-11-12Reline#readline and Reline#readmultiline to private.osyo-manga