summaryrefslogtreecommitdiff
path: root/test/reline
AgeCommit message (Collapse)Author
2021-09-02[ruby/reline] Fix a crash when completing empty lineaycabta
https://github.com/ruby/reline/commit/8226ae7e57
2021-09-02[ruby/reline] Fix a crash when completing after 2nd lineaycabta
https://github.com/ruby/reline/commit/f9d3480c34
2021-08-31Revert "Omit some tests until debugging is complete"aycabta
This reverts commit 3695d94b25f3e3e0d7a629bf1708ef421a51dd47.
2021-08-31Omit some tests until debugging is completeaycabta
2021-08-30[ruby/reline] Disable autocompletion in testsaycabta
https://github.com/ruby/reline/commit/9b1913567a
2021-08-29[ruby/reline] Fix tests so that the completion journey starts on first C-n/C-paycabta
https://github.com/ruby/reline/commit/52a40f2cd3
2021-08-14[ruby/reline] Add workspace member for the latest IRB's implementationaycabta
https://github.com/ruby/reline/commit/8b55fc8fee
2021-08-14[ruby/reline] Remove private visibilityaycabta
https://github.com/ruby/reline/commit/fa54e521da
2021-08-07Use TERM=xterm for tests on Solarisaycabta
2021-08-07Set TERM env for some CI environmentsaycabta
2021-08-06Check the result of tigetstrNobuyoshi Nakada
2021-08-06test/reline/test_terminfo.rb: skip when setupterm failsYusuke Endoh
http://rubyci.s3.amazonaws.com/solaris11-gcc/ruby-master/log/20210806T000008Z.fail.html.gz ``` 1) Error: Reline::Terminfo::Test#test_tigetstr: Reline::Terminfo::TerminfoError: The terminfo database could not be found. /export/home/chkbuild/chkbuild-gcc/tmp/build/20210806T000008Z/ruby/lib/reline/terminfo.rb:84:in `setupterm' /export/home/chkbuild/chkbuild-gcc/tmp/build/20210806T000008Z/ruby/test/reline/test_terminfo.rb:6:in `setup' ```
2021-08-05Tests for Windows can run only on WindowsNobuyoshi Nakada
Should not directly require "reline/windows.rb" which should be loaded by "reline.rb".
2021-07-30Use test-unit assertionsaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4693
2021-07-30[ruby/reline] Fixed Ctrl+Enter key in Windows.SilverPhoenix99
https://github.com/ruby/reline/commit/0c38e39023
2021-07-30[ruby/reline] Check empty .inputrcaycabta
https://github.com/ruby/reline/commit/b60b3b76cd
2021-07-30[ruby/reline] Windows cmd: Don't type anything when pressing ALT keys aloneLars Kanis
Fixes #298 https://github.com/ruby/reline/commit/72acfcd27a
2021-07-30[ruby/reline] Use "omit" instead of "return"aycabta
https://github.com/ruby/reline/commit/940cdaa301
2021-07-30[ruby/reline] Add Terminfo testsaycabta
https://github.com/ruby/reline/commit/17721e477e
2021-06-25Revert "Revert "[ruby/reline] Fix failed test""aycabta
I'm so sorry, the previous revert was just a mistake. This reverts commit 9103c3ba8bc09f287f69ca322f58faa34e003f2e.
2021-06-25Revert "[ruby/reline] Fix failed test"aycabta
This reverts commit 491591c7cee842601118efc2698e0e41283827b3.
2021-06-25[ruby/reline] Fix failed testima1zumi
For ruby/ruby repository's AppVeyor CI (Windows environment), `Reline::IOGate.encoding` will be changed from `UTF-8` to `Windows-31J` after the test is run. So, when `test/reline/test_key_actor_emacs.rb` is loaded, `Reline::IOGate.encoding == Encoding::UTF_8` will be `true`, but at the time of test execution, `Reline::IOGate.encoding` is `Windows-31J`. For this reason, I changed the test method to check `Reline::IOGate.encoding` in the test method. https://github.com/ruby/reline/commit/10e1ce3320
2021-06-23Add detailed message to assert_external_string_equalaycabta
2021-06-21Rescue conversion error of inputrcaycabta
2021-06-21Stop using global constant, RELINE_TEST_ENCODINGaycabta
2021-06-21Call Reline.test_reset in teardown definitelyaycabta
2021-06-21[ruby/reline] Remove an obsolete commented-out testaycabta
https://github.com/ruby/reline/commit/5354d02e03
2021-06-21[ruby/reline] Add yamatanooroti test about set and exchange markaycabta
https://github.com/ruby/reline/commit/2e6fdca5c6
2021-06-21[ruby/reline] Reset config for random testaycabta
https://github.com/ruby/reline/commit/c39615e1dd
2021-06-21[ruby/reline] Handle Errno::ENOTTY correctlyaycabta
https://github.com/ruby/reline/commit/8daa392ba6
2021-06-21[ruby/reline] Add a test for pasting Cyrillic chars into command prompt on ↵aycabta
cp 850 This closes https://github.com/ruby/reline/issues/103. https://github.com/ruby/reline/commit/213e0523d5
2021-06-21[ruby/reline] The config file must accept any character encodingaycabta
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
2021-06-21[ruby/reline] Use ReadConsoleInputW() instead of getwch()aycabta
This needs https://github.com/aycabta/yamatanooroti/pull/19, which is released by yamatanooroti gem 0.0.7, to test with yamatanooroti. https://github.com/ruby/reline/commit/06c1f45da1
2021-06-21[ruby/reline] ensure reline's encoding is used when reading inputrc ↵Mark Delk
character values This change ensures we use `Reline::IOGate`'s `encoding` when converting characters from their integer values. This fixes an issue that may occur if you have UTF characters in your `.inputrc`, but your default encoding isn't set. For example: ``` > 127864.ord.chr RangeError: 127864 out of char range from (pry):1:in `chr' > Reline::IOGate.encoding => #<Encoding:UTF-8> > 127864.ord.chr(Reline::IOGate.encoding) => "🍸" ``` https://github.com/ruby/reline/commit/cf372fc0fc
2021-04-08[ruby/reline] Separate keystrokes each editing modeaycabta
https://github.com/ruby/reline/commit/ee23e6f3f8
2021-04-02[ruby/reline] Reset @rest_height when clear screenaycabta
https://github.com/ruby/reline/commit/3a7019b0d5
2021-03-24[ruby/reline] Suppress crashing when completer_{quote,word_break}_characters ↵aycabta
is empty https://github.com/ruby/reline/commit/c6f1164942
2021-03-24[ruby/reline] Support preposing and postposing for Reline.completion_procaycabta
https://github.com/ruby/reline/commit/1f469de90c
2021-03-24[ruby/reline] Reline.delete_text removes the current line in multilineaycabta
https://github.com/ruby/reline/commit/da90c094a1
2021-02-21[ruby/reline] Add a test for suppressing crash when dynamic prompt returns emptyaycabta
ref. https://github.com/ruby/reline/pull/262 https://github.com/ruby/reline/commit/b98bc3c329
2021-02-21[ruby/reline] Move script files for yamatanooroti testsaycabta
https://github.com/ruby/reline/commit/03031b885d
2021-02-21[ruby/reline] Return 1 when char width not foundaycabta
This fixes ruby/reline#261. https://github.com/ruby/reline/commit/3cf1213014
2021-02-07[ruby/reline] Terminate correctly in the middle of lines higher than the screenaycabta
https://github.com/ruby/reline/commit/e1d9240ada
2021-02-07[ruby/reline] Autowrap correctly when inserting chars in the middle of a lineaycabta
https://github.com/ruby/reline/commit/ebaf37255f
2021-01-18[ruby/reline] Windows needs more times to wait renderingaycabta
https://github.com/ruby/reline/commit/53ff2b09c7
2021-01-18[ruby/reline] Tests with yamatanooroti don't need chdiraycabta
Because of chdir, log files ware created in temporary directries on Windows. https://github.com/ruby/reline/commit/200b469a68
2021-01-13Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun
because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
2021-01-13[ruby/reline] Move the cursor correctly when deleting at eolaycabta
This fixes ruby/reline#246. https://github.com/ruby/reline/commit/07a73ba601
2021-01-13[ruby/reline] Handle ed_search_{prev,next}_history in multiline correctlyaycabta
The current line was being handled incorrectly when displaying the hit history, so it has been fixed to be correct. https://github.com/ruby/reline/commit/a3df4343b3
2021-01-08[ruby/reline] Suppress auto indent for adding newlines in pastingaycabta
Co-authored-by: Juanito Fatas <me@juanitofatas.com> https://github.com/ruby/reline/commit/074bb017a7