Bram Moolenaar
5b868a82ed
patch 8.1.0981: pasting in terminal insufficiently tested
...
Problem: Pasting in terminal insufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes #4040 )
2019-02-25 06:11:53 +01:00
Bram Moolenaar
882d02eeb5
patch 8.1.0974: cannot switch from terminal window to previous tabpage
...
Problem: Cannot switch from terminal window to previous tabpage.
Solution: Make CTRL-W gT move to previous tabpage.
2019-02-22 17:56:43 +01:00
Bram Moolenaar
72e83c1ae5
patch 8.1.0972: cannot switch from terminal window to next tabpage
...
Problem: Cannot switch from terminal window to next tabpage.
Solution: Make CTRL-W gt move to next tabpage.
2019-02-22 16:09:52 +01:00
Bram Moolenaar
5ff7df509a
patch 8.1.0925: terminal scrollback test still still flaky
...
Problem: Terminal scrollback test still still flaky.
Solution: Explicitly set the shell. Disable ruler. (Ozaki Kiichi,
closes #3966 )
2019-02-15 01:06:13 +01:00
Bram Moolenaar
7e841e3ce5
patch 8.1.0924: terminal scrollback test still flaky
...
Problem: Terminal scrollback test still flaky.
Solution: Wait a bit longer before running the tail command.
2019-02-15 00:26:14 +01:00
Bram Moolenaar
c3ef896608
patch 8.1.0923: terminal dump diff swap does not update file names
...
Problem: Terminal dump diff swap does not update file names.
Solution: Also swap the file name. Add a test.
2019-02-15 00:16:13 +01:00
Bram Moolenaar
96baf02aa8
patch 8.1.0922: terminal scrollback test is flaky
...
Problem: Terminal scrollback test is flaky.
Solution: Wait a bit before running the tail command.
2019-02-14 23:49:38 +01:00
Bram Moolenaar
81aa0f56f8
patch 8.1.0921: terminal test sometimes fails; using memory after free
...
Problem: Terminal test sometimes fails; using memory after free.
Solution: Fee memory a bit later. Add test to cover this. Disable flaky
screenshot test. (closes #3956 )
2019-02-14 23:23:19 +01:00
Bram Moolenaar
29ae223ddc
patch 8.1.0920: in Terminal-Normal mode job output messes up the window
...
Problem: In Terminal-Normal mode job output messes up the window.
Solution: Postpone scrolling and updating the buffer when in Terminal-Normal
mode.
2019-02-14 21:22:01 +01:00
Bram Moolenaar
aa5df7e312
patch 8.1.0870: Vim doesn't use the new ConPTY support in Windows 10
...
Problem: Vim doesn't use the new ConPTY support in Windows 10.
Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes #3794 )
2019-02-03 14:53:10 +01:00
Bram Moolenaar
39536dd557
patch 8.1.0846: not easy to recognize the system Vim runs on
...
Problem: Not easy to recognize the system Vim runs on.
Solution: Add more items to the features list. (Ozaki Kiichi, closes #3855 )
2019-01-29 22:58:21 +01:00
Bram Moolenaar
30276f2beb
patch 8.1.0811: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
2019-01-24 17:59:39 +01:00
Bram Moolenaar
cfc15237ab
patch 8.1.0799: calling deleted function; test doesn't work on Mac
...
Problem: Calling deleted function; test doesn't work on Mac.
Solution: Wait for the function to be called before deleting it. Use a job
to write to the pty, unless in the GUI. (Ozaki Kiichi,
closes #3854 )
2019-01-23 22:33:18 +01:00
Bram Moolenaar
31faed60bf
patch 8.1.0796: MS-Windows 7: problem with named pipe on channel
...
Problem: MS-Windows 7: problem with named pipe on channel.
Solution: Put back the disconnect/connect calls. (Yasuhiro Matsumoto,
closes #3833 )
2019-01-22 23:01:40 +01:00
Bram Moolenaar
10772307c4
patch 8.1.0786: ml_get error when updating the status line
...
Problem: ml_get error when updating the status line and a terminal had its
scrollback cleared. (Chris Patuzzo)
Solution: Check the cursor position when drawing the status line.
(closes #3830 )
2019-01-20 18:25:54 +01:00
Bram Moolenaar
e25bbc3b2b
patch 8.1.0780: terminal test fails on Mac
...
Problem: Terminal test fails on Mac.
Solution: Skip the test on Mac.
2019-01-19 18:20:45 +01:00
Bram Moolenaar
d383c92ec1
patch 8.1.0778: terminal test fails on MS-Windows
...
Problem: Terminal test fails on MS-Windows.
Solution: Temporarily skip the test on MS-Windows. Do run it both in
terminal and GUI on other systems.
2019-01-19 15:27:08 +01:00
Bram Moolenaar
3020ccb113
patch 8.1.0769: :stop is covered in two tests
...
Problem: :stop is covered in two tests.
Solution: Remove Test_stop_in_terminal(). Make other test exit Vim cleanly.
(Ozaki Kiichi, closes #3814 )
2019-01-17 22:13:54 +01:00
Bram Moolenaar
1e1153600c
patch 8.1.0711: test files still use function!
...
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
2019-01-09 23:01:02 +01:00
Bram Moolenaar
d6024e2dd4
patch 8.1.0631: test for :stop fails on Arch
...
Problem: Test for :stop fails on Arch.
Solution: Check five lines for the expected output. (closes #3714 )
2018-12-24 19:15:20 +01:00
Bram Moolenaar
81df63537e
patch 8.1.0625: MS-Windows: terminal test fails in white console
...
Problem: MS-Windows: terminal test fails in white console.
Solution: Accept both white and black background colors.
2018-12-22 18:25:30 +01:00
Bram Moolenaar
528ccfbaa1
patch 8.1.0618: term_getjob() does not return v:null as documented
...
Problem: term_getjob() does not return v:null as documented.
Solution: Do return v:null. (Damien) Add a test.
2018-12-21 20:55:22 +01:00
Bram Moolenaar
e751a5f531
patch 8.1.0603: the :stop command is not tested
...
Problem: The :stop command is not tested.
Solution: Test :stop using a terminal window.
2018-12-16 16:16:10 +01:00
Bram Moolenaar
d3471e5785
patch 8.1.0525: terminal test skips part on Windows
...
Problem: Terminal test skips part on Windows.
Solution: Fix Test_terminal_does_not_truncate_last_newlines(). (Hirohito
Higashi, closes #3606 )
2018-11-12 21:42:24 +01:00
Bram Moolenaar
c2c02574ec
patch 8.1.0524: terminal test fails on Windows
...
Problem: Terminal test fails on Windows.
Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now.
2018-11-11 23:14:54 +01:00
Bram Moolenaar
f3aea59afa
patch 8.1.0522: :terminal does not show trailing empty lines
...
Problem: :terminal does not show trailing empty lines.
Solution: Add empty lines. (Hirohito Higashi, closes #3605 )
2018-11-11 22:18:21 +01:00
Bram Moolenaar
0b38f54730
patch 8.1.0509: checking cwd not accessible fails for root
...
Problem: Checking cwd not accessible fails for root. (James McCoy)
Solution: Skip this part of the test for root. (closes #3595 )
2018-11-03 21:47:16 +01:00
Bram Moolenaar
839e81e12d
patch 8.1.0485: term_start() does not check if directory is accessible
...
Problem: term_start() does not check if directory is accessible.
Solution: Add mch_access() call. (Jason Franklin)
2018-10-19 16:53:39 +02:00
Bram Moolenaar
5db7eec423
patch 8.1.0243: using :term ++close ++hidden closes a window
...
Problem: Using :term ++close ++hidden closes a window. (Marcin Szamotulski)
Solution: Don't close the window if only using it temporarily for unloading
the terminal buffer. (closes #3287 )
2018-08-07 16:33:18 +02:00
Bram Moolenaar
7da1fb5532
patch 8.1.0238: 'buftype' is cleared when using ":term ++hidden cat"
...
Problem: 'buftype' is cleared when using ":term ++hidden cat". (Marcin
Szamotulski)
Solution: Set the "options initialized" flag earlier. (closes #3278 )
2018-08-04 16:54:11 +02:00
Bram Moolenaar
875cf87894
patch 8.1.0171: typing CTRL-W n in a terminal window causes ml_get error
...
Problem: Typing CTRL-W n in a terminal window causes ml_get error.
Solution: When resizing the terminal outside of terminal_loop() make sure
the snapshot is complete.
2018-07-08 20:49:07 +02:00
Bram Moolenaar
5319191a2a
patch 8.1.0088: terminal test for stdout and stderr is a bit flaky
...
Problem: Terminal test for stdout and stderr is a bit flaky.
Solution: Wait for both stdout and stderr to have been processed. (Ozaki
Kiichi, closes #2991 )
2018-06-19 20:08:14 +02:00
Bram Moolenaar
f9c3883b11
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"
...
Problem: v:shell_error is always zero when using terminal for "!cmd".
Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994 )
2018-06-19 19:59:20 +02:00
Bram Moolenaar
d7a137fb0d
patch 8.1.0049: shell cannot tell running in a terminal window
...
Problem: Shell cannot tell running in a terminal window.
Solution: Add the VIM_TERMINAL environment variable. (Christian Brabandt)
2018-06-12 18:05:24 +02:00
Bram Moolenaar
c8523e2e6c
patch 8.1.0031: terminal test aucmd_on_close if flaky
...
Problem: Terminal test aucmd_on_close if flaky.
Solution: Wait a bit longer.
2018-06-03 18:22:02 +02:00
Bram Moolenaar
1580f755c9
patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists
...
Problem: Terminal test fails on MS-Windows when "wc" exists.
Solution: Skip test with redirection on MS-Windows.
2018-06-03 15:26:36 +02:00
Bram Moolenaar
33c5e9fa7a
patch 8.1.0026: terminal test fails with very tall terminal
...
Problem: Terminal test fails with very tall terminal. (Tom)
Solution: Fix the terminal window size in the test.
2018-05-26 18:58:51 +02:00
Bram Moolenaar
4d6cd291ce
patch 8.0.1848: 'termwinscroll' does not work properly
...
Problem: 'termwinscroll' does not work properly. (Dominique Pelle)
Solution: Subtract removed scrollback from the scrollback count. Add a test
for 'termwinscroll'. (closes #2909 )
2018-05-15 23:53:26 +02:00
Bram Moolenaar
54c6bafa16
patch 8.0.1823: test for terminal stdout redirection is flaky
...
Problem: Test for terminal stdout redirection is flaky.
Solution: Wait for the job to finish.
2018-05-12 21:12:12 +02:00
Bram Moolenaar
cd8fb449d6
patch 8.0.1820: terminal window redirecting stdout does not show stderr
...
Problem: Terminal window redirecting stdout does not show stderr. (Matéo
Zanibelli)
Solution: When stdout is not connected to pty_master_fd then use it for
stderr. (closes #2903 )
2018-05-12 17:42:42 +02:00
Bram Moolenaar
f25329cb94
patch 8.0.1801: MS-Windows: redirecting terminal output does not work
...
Problem: MS-Windows: redirecting terminal output does not work.
Solution: Intercept the text written to the terminal and write it to the
file.
2018-05-06 21:49:32 +02:00
Bram Moolenaar
606cb8b08e
patch 8.0.1789: BufWinEnter does not work well for a terminal window
...
Problem: BufWinEnter does not work well for a terminal window.
Solution: Do not trigger BufWinEnter when opening a terminal window.
2018-05-03 20:40:20 +02:00
Bram Moolenaar
b2ac14c0b5
patch 8.0.1786: no test for 'termwinkey'
...
Problem: No test for 'termwinkey'.
Solution: Add a test. Make feedkeys() handle terminal_loop() returning
before characters are consumed.
2018-05-01 18:47:59 +02:00
Bram Moolenaar
77bfd756a0
patch 8.0.1780: test fails because Vim in a terminal uses wrong 'encoding'
...
Problem: Test fails because Vim in a terminal uses wrong 'encoding'.
Solution: Set encoding in the test where it matters. (James McCoy,
closes #2847 )
2018-04-30 18:03:10 +02:00
Bram Moolenaar
0e9d1ae321
patch 8.0.1776: in tests, when WaitFor() fails it doesn't say why
...
Problem: In tests, when WaitFor() fails it doesn't say why.
Solution: Turn a few more WaitFor() into WaitForAssert().
2018-04-30 14:28:24 +02:00
Bram Moolenaar
50182fa84e
patch 8.0.1771: in tests, when WaitFor() fails it doesn't say why
...
Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy)
Solution: Add WaitForAssert(), which produces an assert error when it fails.
2018-04-28 21:34:40 +02:00
Bram Moolenaar
ebe74b7367
patch 8.0.1747: MS-Windows: term_start() does not set job_info() cmd
...
Problem: MS-Windows: term_start() does not set job_info() cmd.
Solution: Share the code from job_start() to set jv_argv.
2018-04-21 23:34:43 +02:00
Bram Moolenaar
6d150f783d
patch 8.0.1743: terminal window options are named inconsistently
...
Problem: Terminal window options are named inconsistently.
Solution: prefix terminal window options with "termwin". Keep the old names
for now as an alias.
2018-04-21 20:03:20 +02:00
Bram Moolenaar
a997b45c7e
patch 8.0.1732: crash when terminal API call deletes the buffer
...
Problem: Crash when terminal API call deletes the buffer.
Solution: Lock the buffer while calling a function. (closes #2813 )
2018-04-17 23:24:06 +02:00
Bram Moolenaar
498c2562e1
patch 8.0.1722: cannot specify a minimal size for a terminal window
...
Problem: Cannot specify a minimal size for a terminal window.
Solution: Support the "rows*cols" format for 'winsize'.
2018-04-15 23:45:15 +02:00