summaryrefslogtreecommitdiffstats
path: root/src/testdir/term_util.vim
AgeCommit message (Collapse)Author
2023-08-31patch 9.0.1827: xxd: no color supportv9.0.1827Aapo Rantalainen
Problem: xxd: no color support Solution: Add color support using xxd -R Add some basic color support for xxd The hex-value and value are both colored with the same color depending on the hex-value, e.g.: 0x00 = white 0xff = blue printable = green non-printable = red tabs and linebreaks = yellow Each character needs 11 more bytes to contain color. (Same color in a row could contain only one overhead but the logic how xxd creates colums must be then changed.) Size of colored output is increased by factor of ~6. Also grepping the output will break when colors is used. Flag for color is "-R", because less uses "-R". Color uses parameters auto,always,never same as less and grep (among others). E.g. xxd -R always $FILE | less -R Add some screen-tests (that currently on work on linux) to verify the feature works as expected. closes: #12131 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Aapo Rantalainen <aapo.rantalainen@gmail.com>
2023-03-07patch 9.0.1392: using NULL pointer with nested :open commandv9.0.1392Bram Moolenaar
Problem: Using NULL pointer with nested :open command. Solution: Check that ccline.cmdbuff is not NULL.
2022-12-31patch 9.0.1118: sporadic test failures when using a terminal windowv9.0.1118James McCoy
Problem: Sporadic test failures when using a terminal window. Solution: Adjust waiting times. (James McCoy, closes #11763)
2022-11-27patch 9.0.0957: tests fail without the terminal featurev9.0.0957Bram Moolenaar
Problem: Tests fail without the terminal feature. Solution: Move functions to another utility script.
2022-11-27patch 9.0.0956: terminal tests fail when using key with modifierv9.0.0956Bram Moolenaar
Problem: Terminal tests fail when using key with modifier. Solution: Use the modifyOtherKeys encoding when using RunVimInTerminal().
2022-01-13patch 8.2.4078: terminal test for current directory not used on FreeBSDv8.2.4078Bram Moolenaar
Problem: Terminal test for current directory not used on FreeBSD. Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add TermWait() inside Run_shell_in_terminal() as a generic solution.
2021-04-04patch 8.2.2708: test sometimes fails waiting for shell in terminalv8.2.2708Bram Moolenaar
Problem: Test sometimes fails waiting for shell in terminal. Solution: Use WaitForAssert() so we can see the actual job status. Use Run_shell_in_terminal().
2021-02-14patch 8.2.2512: Vim9: compiling error test sometimes failsv8.2.2512Bram Moolenaar
Problem: Vim9: compiling error test sometimes fails. Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique Pellé, closes #7837)
2020-11-01patch 8.2.1938: wiping out a terminal buffer makes some tests failv8.2.1938Bram Moolenaar
Problem: Wiping out a terminal buffer makes some tests fail. Solution: Do not wipe out the terminal buffer unless wanted.
2020-11-01patch 8.2.1937: Vim9: test for confirm modifier fails in some situationsv8.2.1937Bram Moolenaar
Problem: Vim9: test for confirm modifier fails in some situations. Solution: Add a short wait. Handle failure better.
2020-09-23patch 8.2.1732: stuck when win_execute() for a popup causes an errorv8.2.1732Bram Moolenaar
Problem: Stuck when win_execute() for a popup causes an error. Solution: Disable the filter callback on error. (issue #6999)
2020-09-04patch 8.2.1589: term_start() options for size are overruled by 'termwinsize'v8.2.1589Bram Moolenaar
Problem: Term_start() options for size are overruled by 'termwinsize'. (Sergey Vlasov) Solution: Set 'termwinsize' to the specified size.
2020-07-01patch 8.2.1114: terminal test sometimes times outv8.2.1114Bram Moolenaar
Problem: Terminal test sometimes times out. Solution: Split the test in two parts.
2020-06-18patch 8.2.1002: test may fail when run directlyv8.2.1002Bram Moolenaar
Problem: Test may fail when run directly. Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
2020-06-16patch 8.2.0992: Vim9: crash when using :import in the Vim commandv8.2.0992Bram Moolenaar
Problem: Vim9: crash when using :import in the Vim command. Solution: Give an error when using :import outside of a script. (closes #6271)
2020-06-09patch 8.2.0936: some terminals misinterpret the code for getting cursor stylev8.2.0936Bram Moolenaar
Problem: Some terminals misinterpret the code for getting cursor style. Solution: Send a sequence to the terminal and check the result. (IWAMOTO Kouichi, closes #2126) Merged with current code.
2020-05-11patch 8.2.0738: mouse handling in a terminal window not well testedv8.2.0738Bram Moolenaar
Problem: Mouse handling in a terminal window not well tested. Solution: Add tests. (Yegappan Lakshmanan, closes #6052)
2020-04-08patch 8.2.0533: tests using term_wait() can still be flakyv8.2.0533Bram Moolenaar
Problem: Tests using term_wait() can still be flaky. Solution: Increase the wait time when rerunning a test. (James McCoy, closes #5899) Halve the initial times to make tests run faster when there is no rerun.
2020-04-04patch 8.2.0509: various code is not properly tested.v8.2.0509Bram Moolenaar
Problem: various code is not properly tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
2020-03-18patch 8.2.0402: setting local instead of global flagv8.2.0402Bram Moolenaar
Problem: Setting local instead of global flag. Solution: Prepend "g:" to "test_is_flaky".
2020-03-18patch 8.2.0400: not all tests using a terminal are in the list of flaky testsv8.2.0400Bram Moolenaar
Problem: Not all tests using a terminal are in the list of flaky tests. Solution: Introduce the test_is_flaky flag.
2019-09-26patch 8.1.2080: the terminal API is limited and can't be disabledv8.1.2080Bram Moolenaar
Problem: The terminal API is limited and can't be disabled. Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi, closes #2907)
2019-07-04patch 8.1.1624: when testing in the GUI may try to run gvim in a terminalv8.1.1624Bram Moolenaar
Problem: When testing in the GUI may try to run gvim in a terminal. Solution: Add the -v argument. (Yee Cheng Chin, closes #4605) Don't skip tests that work now.
2019-06-23patch 8.1.1581: shared functions for testing are disorganisedv8.1.1581Bram Moolenaar
Problem: Shared functions for testing are disorganised. Solution: Group finctions in script files. (Ozaki Kiichi, closes #4573)