Bram Moolenaar
aeed2a6359
patch 8.2.2818: no jump added when opening terminal in current window
...
Problem: No jump added to jumplist when opening terminal in current window.
Solution: Call setpcmark(). (closes #8158 )
2021-04-29 20:18:45 +02:00
Bram Moolenaar
6437475ffb
patch 8.2.2700: nested autocmd test fails sometimes
...
Problem: Nested autocmd test fails sometimes.
Solution: Wait for the job to finish.
2021-04-03 17:22:29 +02:00
Bram Moolenaar
1e6bbfb560
patch 8.2.2695: cursor position reset with nested autocommands
...
Problem: Cursor position reset with nested autocommands.
Solution: Only check and reset line numbers for not nested autocommands.
(closes #5820 )
2021-04-03 13:19:26 +02:00
Bram Moolenaar
f4a2ed0714
patch 8.2.2647: terminal test sometimes hangs
...
Problem: Terminal test sometimes hangs.
Solution: Wait for the shell to display a prompt.
2021-03-23 16:25:09 +01:00
Bram Moolenaar
eba13e4ea2
patch 8.2.2545: errors and crash when terminal window is zero height
...
Problem: Errors and crash when terminal window is zero height. (Leonid V.
Fedorenchik)
Solution: Do not resize when width or height is zero. (closes #7890 )
2021-02-23 17:47:23 +01:00
Bram Moolenaar
4549dad874
patch 8.2.2487: terminal shows garbage after double-wide character
...
Problem: Terminal shows garbage after double-wide character with a
combining character. (Kyoichiro Yamada)
Solution: Libvterm: do not add the width of the combining character to the
glyph width. (closes #7801 )
2021-02-08 21:29:48 +01:00
Bram Moolenaar
c9f8b849b6
patch 8.2.2040: terminal buffer disappears even when 'bufhidden' is "hide"
...
Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
(Sergey Vlasov)
Solution: Check 'bufhiddden' when a terminal buffer becomes hidden.
(closes #7358 )
2020-11-24 19:36:16 +01:00
Bram Moolenaar
17ab28daa0
patch 8.2.2007: test for insert mode in popup is not reliable
...
Problem: Test for insert mode in popup is not reliable.
Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321 )
2020-11-18 12:24:01 +01:00
Bram Moolenaar
e6329e4c55
patch 8.2.1999: terminal popup test sometimes fails
...
Problem: Terminal popup test sometimes fails.
Solution: Wait for the popup to close.
2020-11-16 21:10:34 +01:00
Bram Moolenaar
27f4f6baee
patch 8.2.1998: terminal Cmd test sometimes fails to close popup
...
Problem: Terminal Cmd test sometimes fails to close popup.
Solution: Add "term_finish" option.
2020-11-16 21:02:28 +01:00
Bram Moolenaar
8adc8d9b73
patch 8.2.1997: window changes when using bufload() while in a terminal popup
...
Problem: Window changes when using bufload() while in a terminal popup.
Solution: When searching for a window by ID also find a popup window.
(closes #7307 )
2020-11-16 20:47:31 +01:00
Bram Moolenaar
e41decc892
patch 8.2.1988: still in Insert mode when opening terminal popup
...
Problem: Still in Insert mode when opening terminal popup with a <Cmd>
mapping in Insert mode.
Solution: Exit Insert mode. (closes #7295 )
2020-11-14 21:34:59 +01:00
Bram Moolenaar
02764713a7
patch 8.2.1985: crash when closing terminal popup with <Cmd> mapping
...
Problem: Crash when closing terminal popup with <Cmd> mapping.
Solution: Check b_term is not NULL. (closes #7294 )
2020-11-14 20:21:55 +01:00
Bram Moolenaar
f4d61bc559
patch 8.2.1983: ml_get error when using <Cmd> to open a terminal
...
Problem: ml_get error when using <Cmd> to open a terminal.
Solution: If the window changed reset the incsearch state. (closes #7289 )
2020-11-14 14:22:28 +01:00
Bram Moolenaar
47c5ea44b9
patch 8.2.1979: "term_opencmd" option of term_start() is truncated
...
Problem: "term_opencmd" option of term_start() is truncated. (Sergey
Vlasov)
Solution: Allocate the buffer to hold the command. (closes #7284 )
2020-11-12 15:12:15 +01:00
Bram Moolenaar
00806bceb6
patch 8.2.1959: crash when terminal buffer name is made empty
...
Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
Solution: Fall back to "[No Name]". (closes #7262 )
2020-11-05 19:36:38 +01:00
Bram Moolenaar
a46765a797
patch 8.2.1938: wiping out a terminal buffer makes some tests fail
...
Problem: Wiping out a terminal buffer makes some tests fail.
Solution: Do not wipe out the terminal buffer unless wanted.
2020-11-01 20:58:26 +01:00
Bram Moolenaar
28ee892ac4
patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution
...
Problem: Assert_fails() setting emsg_silent changes normal execution.
Solution: Use a separate flag in_assert_fails.
2020-10-28 20:20:00 +01:00
Bram Moolenaar
f43e7ac4ee
patch 8.2.1772: cannot use CTRL-W <Down> to move out of a terminal window
...
Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045 )
2020-09-29 21:23:25 +02:00
Bram Moolenaar
c98cdb3bc9
patch 8.2.1630: terminal test fails
...
Problem: Terminal test fails.
Solution: Correct argument to term_start(). Correct error number.
2020-09-06 21:13:00 +02:00
Bram Moolenaar
e2e4075fad
patch 8.2.1593: tests do not check the error number properly
...
Problem: Tests do not check the error number properly.0
Solution: Add a colon after the error number. (closes #6869 )
2020-09-04 21:18:46 +02:00
Bram Moolenaar
733d259a83
patch 8.2.1498: on slow systems tests can be flaky
...
Problem: On slow systems tests can be flaky.
Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
closes #6756 )
2020-08-20 18:59:06 +02:00
Bram Moolenaar
6d91bcb4d2
patch 8.2.1432: various inconsistencies in test files
...
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695 )
2020-08-12 18:50:36 +02:00
Bram Moolenaar
8b89614e69
patch 8.2.1353: crash when drawing double-wide character in terminal window
...
Problem: Crash when drawing double-wide character in terminal window.
(Masato Nishihata)
Solution: Check getcell() returning NULL. (issue #6141 )
2020-08-02 15:05:05 +02:00
Bram Moolenaar
c69950ac17
patch 8.2.1273: MS-Windows: terminal test may leave file behind
...
Problem: MS-Windows: terminal test may leave file behind.
Solution: Wait a moment for process to end before deleting the file.
(Taro Muraoka, closes #6513 )
2020-07-22 22:23:40 +02:00
Bram Moolenaar
9b7bf9e98f
patch 8.2.1183: assert_fails() checks the last error message
...
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
2020-07-11 22:14:59 +02:00
Bram Moolenaar
18aa13d13b
patch 8.2.1177: terminal2 test sometimes hangs in the GUI
...
Problem: Terminal2 test sometimes hangs in the GUI.
Solution: Move some tests to other files to further locate the problem.
Set the GUI to a fixed screen size.
2020-07-11 13:09:36 +02:00
Bram Moolenaar
1112c0febb
patch 8.2.1114: terminal test sometimes times out
...
Problem: Terminal test sometimes times out.
Solution: Split the test in two parts.
2020-07-01 21:53:50 +02:00
Bram Moolenaar
a45551a535
patch 8.2.0936: some terminals misinterpret the code for getting cursor style
...
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-06-09 15:57:37 +02:00
Bram Moolenaar
b10090928c
patch 8.2.0862: ":term ++curwin" makes the current buffer hidden
...
Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
Hennepe)
Solution: Do not hide the current buffer. (closes #6170 )
2020-05-31 16:04:42 +02:00
Bram Moolenaar
87202264f8
patch 8.2.0816: terminal test fails when compiled with Athena
...
Problem: Terminal test fails when compiled with Athena.
Solution: Do give an error when the GUI is not running. (hint by Dominique
Pelle, closes #5928 , closes #6132 )
2020-05-24 17:23:45 +02:00
Bram Moolenaar
9cdcd1d0dc
patch 8.2.0811: terminal keycode test is flaky
...
Problem: Terminal keycode test is flaky.
Solution: Use WaitForAssert()
2020-05-22 14:44:26 +02:00
Bram Moolenaar
98f1671cc0
patch 8.2.0808: not enough testing for the terminal window
...
Problem: Not enough testing for the terminal window.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6069 ) Fix memory
leak.
2020-05-22 13:34:01 +02:00
Bram Moolenaar
fe81389d60
patch 8.2.0805: terminal key codes test fails on some systems
...
Problem: Terminal key codes test fails on some systems.
Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070 )
2020-05-21 20:38:31 +02:00
Bram Moolenaar
b5383b174b
patch 8.2.0791: a second popup window with terminal causes trouble
...
Problem: A second popup window with terminal causes trouble.
Solution: Disallow opening a second terminal-popup window. (closes #6101 ,
closes #6103 ) Avoid defaulting to an invalid line number.
2020-05-18 19:46:48 +02:00
Bram Moolenaar
79ea680e6b
patch 8.2.0777: terminal test fails
...
Problem: Terminal test fails.
Solution: Adjust character position for double-wide characters.
2020-05-17 15:09:27 +02:00
Bram Moolenaar
03a9f84817
patch 8.2.0747: cannot forcefully close all popups
...
Problem: Cannot forcefully close all popups.
Solution: Add the "force" argument to popup_clear(). Use it after running a
test. Put back the check for a popup when editing a file.
2020-05-13 13:40:16 +02:00
Bram Moolenaar
91689ea8ae
patch 8.2.0738: mouse handling in a terminal window not well tested
...
Problem: Mouse handling in a terminal window not well tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #6052 )
2020-05-11 22:04:53 +02:00
Bram Moolenaar
41d4299f26
patch 8.2.0687: some tests do not work on FreeBSD
...
Problem: Some tests do not work on FreeBSD.
Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
closes #6036 )
2020-05-03 16:29:50 +02:00
Bram Moolenaar
a161cb5ddd
patch 8.2.0665: wrongly assuming Python executable is called "python"
...
Problem: Wrongly assuming Python executable is called "python".
Solution: Use detected python command. (Ken Takata, closes #6016 )
Also use CheckFunction if possible.
2020-04-30 19:09:35 +02:00
Bram Moolenaar
99fa721944
patch 8.2.0644: insufficient testing for invalid function arguments
...
Problem: Insufficient testing for invalid function arguments.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5988 )
2020-04-26 15:59:55 +02:00
Bram Moolenaar
eb58a24658
patch 8.2.0604: :startinsert in a terminal window used later
...
Problem: :startinsert in a terminal window used later.
Solution: Ignore :startinsert in a terminal window. (closes #5952 )
2020-04-19 18:13:19 +02:00
Bram Moolenaar
004a6781b3
patch 8.2.0540: regexp and other code not tested
...
Problem: Regexp and other code not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5904 )
2020-04-11 17:09:31 +02:00
Bram Moolenaar
6a2c5a7dd5
patch 8.2.0533: tests using term_wait() can still be flaky
...
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-08 21:50:25 +02:00
Bram Moolenaar
01603a9970
patch 8.2.0505: term_getty() not sufficiently tested
...
Problem: term_getty() not sufficiently tested.
Solution: Add more asserts. (Dominique Pelle, closes #5877 )
2020-04-03 12:56:17 +02:00
Bram Moolenaar
ca68ae1311
patch 8.2.0482: channel and sandbox code not sufficiently tested
...
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5855 )
2020-03-30 19:32:53 +02:00
Bram Moolenaar
52ea92b19d
patch 8.2.0476: terminal nasty callback test fails sometimes
...
Problem: Terminal nasty callback test fails sometimes.
Solution: use term_wait() instead of a sleep. (Yee Cheng Chin,closes #5865 )
2020-03-29 17:50:48 +02:00
Bram Moolenaar
83d4790a04
patch 8.2.0455: cannot set the highlight group for a specific terminal
...
Problem: Cannot set the highlight group for a specific terminal.
Solution: Add the "highlight" option to term_start(). (closes #5818 )
2020-03-26 20:34:00 +01:00
Bram Moolenaar
bfcfd5784a
patch 8.2.0447: terminal scroll tests fails on some systems
...
Problem: Terminal scroll tests fails on some systems.
Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
scrolling has finished. (James McCoy, closes #5842 )
2020-03-25 21:27:22 +01:00
Bram Moolenaar
f3710ee22d
patch 8.2.0441: terminal noblock test is still failing on BSD
...
Problem: Terminal noblock test is still failing on BSD.
Solution: Reduce the amount of text.
2020-03-24 12:12:30 +01:00