Bram Moolenaar
93c92eff26
patch 8.0.0967: using a terminal may cause the cursor to blink
...
Problem: Using a terminal may cause the cursor to blink.
Solution: Do not set t_vs, since we cannot restore the old blink state.
2017-08-19 21:11:57 +02:00
Bram Moolenaar
fc8bec0be4
patch 8.0.0966: build failure without terminal feature
...
Problem: Build failure without terminal feature.
Solution: Move #endif.
2017-08-19 19:57:34 +02:00
Bram Moolenaar
3eee06e7d4
patch 8.0.0965: not restoring cursor shape after it was set in a terminal
...
Problem: The cursor shape is not reset after it was changed in a terminal.
Solution: Request the original cursor shape and restore it. Add t_RS.
Do not add t_SH for now, it does not work properly.
2017-08-19 19:40:50 +02:00
Bram Moolenaar
683b796725
patch 8.0.0964: channel write buffer does not work with poll()
...
Problem: Channel write buffer does not work with poll().
Solution: Use the same mechanism as with select().
2017-08-19 15:51:59 +02:00
Bram Moolenaar
d21f8b54b2
patch 8.0.0963: terminal test fails on MacOS
...
Problem: Terminal test fails on MacOS. (chdiza)
Solution: Wait for the shell to echo the characters. (closes #1991 )
2017-08-19 15:40:01 +02:00
Bram Moolenaar
9aa1569128
patch 8.0.0962: crash with virtualedit and joining lines
...
Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim
#6726 )
Solution: When using a mark check that coladd is valid.
2017-08-19 15:05:32 +02:00
Bram Moolenaar
98ebd2bbec
patch 8.0.0961: the script to build the installer does not include winpty
...
Problem: The script to build the installer does not include winpty.
Solution: Add winpty32.dll and winpty-agent.exe like diff.exe
2017-08-19 13:29:19 +02:00
Bram Moolenaar
8e539c51c3
patch 8.0.0960: job in terminal does not get CTRL-C
...
Problem: Job in terminal does not get CTRL-C, we send a SIGINT instead.
Solution: Don't call may_send_sigint() on CTRL-C. Make CTRL-W CTRL-C end
the job.
2017-08-18 22:57:06 +02:00
Bram Moolenaar
f66a2cda2c
patch 8.0.0959: build failure on MS-Windows
...
Problem: Build failure on MS-Windows.
Solution: Use ioctlsocket() instead of fcntl().
2017-08-18 21:53:22 +02:00
Bram Moolenaar
ea5d6fadbb
patch 8.0.0958: terminal test fails on Windows when winpty dll is missing
...
Problem: The terminal test fails on MS-Windows when compiled with the
terminal feature but the winpty DLL is missing.
Solution: Check if the terminal feature works. (Ken Takata)
2017-08-18 21:07:11 +02:00
Bram Moolenaar
97bd5e6527
patch 8.0.0957: a terminal job can deadlock when sending many keys
...
Problem: When term_sendkeys() sends many keys it may get stuck in writing
to the job.
Solution: Make the write non-blocking, buffer keys to be sent.
2017-08-18 20:50:30 +02:00
Bram Moolenaar
cfce71710b
patch 8.0.0956: scrolling in a terminal window has flicker
...
Problem: Scrolling in a terminal hwindow as flicker when the Normal
background differs from the terminal window background.
Solution: Set the attribute to clear with.
2017-08-17 20:31:48 +02:00
Bram Moolenaar
82de3c2c03
patch 8.0.0955: Test_existent_file() fails on some file systems
...
Problem: Test_existent_file() fails on some file systems.
Solution: Run the test again with a sleep when the test fails without a
sleep. (James McCoy, closes #1984 )
2017-08-17 17:35:36 +02:00
Bram Moolenaar
bc906e445c
patch 8.0.0954: /proc/self/exe might be a relative path
...
Problem: /proc/self/exe might be a relative path.
Solution: Make the path a full path. (James McCoy, closes #1983 )
2017-08-17 17:21:05 +02:00
Bram Moolenaar
f5be7cd016
patch 8.0.0953: get "no write since last change" error in terminal window
...
Problem: Get "no write since last change" error in terminal window.
Solution: Use another message when closing a terminal window. Make ":quit!"
also end the job.
2017-08-17 16:55:13 +02:00
Bram Moolenaar
a83e3962ac
patch 8.0.0952: has('terminal') does not check existence of dll file
...
Problem: MS-Windows: has('terminal') does not check existence of dll file.
Solution: Check if the winpty dll file can be loaded. (Ken Takata)
2017-08-17 14:39:07 +02:00
Bram Moolenaar
84ed4ad084
patch 8.0.0951: another wrong #ifdef
...
Problem: Another wrong #ifdef.
Solution: Change TERMINAL to FEAT_TERMINAL. (closes #1981 )
2017-08-17 11:33:42 +02:00
Bram Moolenaar
ade59630c7
patch 8.0.0950: MS-Windows: wrong #ifdef, compiler warnings
...
Problem: MS-Windows: wrong #ifdef, compiler warnings for signed/unsigned.
Solution: Change variable type. Change TERMINAL to FEAT_TERMINAL.
2017-08-17 11:22:46 +02:00
Bram Moolenaar
9e13aa7729
patch 8.0.0949: winpty.dll name is fixed
...
Problem: winpty.dll name is fixed.
Solution: Add the 'winptydll' option. Make the default name depend on
whether it is a 32-bit or 64-bit build. (idea by Yasuhiro
Matsumoto, closes #1978 )
2017-08-16 23:14:08 +02:00
Bram Moolenaar
989a70c590
patch 8.0.0948: crash if timer closes window while dragging status line
...
Problem: Crash if timer closes window while dragging status line.
Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes
#1979 )
2017-08-16 22:46:01 +02:00
Bram Moolenaar
6fe15bbc87
patch 8.0.0947: entering terminal using C-O C-W C-W goes to Insert mode
...
Problem: When in Insert mode and using CTRL-O CTRL-W CTRL-W to move to a
termainal window, get in a weird Insert mode.
Solution: Don't go to Insert mode in a terminal window. (closes #1977 )
2017-08-16 21:09:18 +02:00
Bram Moolenaar
a9f8ee05f4
patch 8.0.0946: using PATH_MAX does not work well on some systems
...
Problem: Using PATH_MAX does not work well on some systems.
Solution: use MAXPATHL instead. (James McCoy, closes #1973 )
2017-08-14 23:40:45 +02:00
Bram Moolenaar
60104f183c
patch 8.0.0945: 64-bit compiler warnings
...
Problem: 64-bit compiler warnings.
Solution: Use "size_t" instead of "int". (Mike Williams)
2017-08-14 23:25:04 +02:00
Bram Moolenaar
d21b16f3c0
patch 8.0.0944: test_profile is a little bit flaky
...
Problem: Test_profile is a little bit flaky.
Solution: Accept a match when self and total time are the same. (James
McCoy, closes #1972 )
2017-08-14 23:13:30 +02:00
Bram Moolenaar
3678393baa
patch 8.0.0943: MS-Windows: Test_terminal_scrape_multibyte may fail
...
Problem: Test_terminal_scrape_multibyte fails if the codepage is not utf-8.
Solution: Start "cmd" with the utf-8 codepage. (micbou, closes #1975 )
2017-08-14 23:07:30 +02:00
Bram Moolenaar
4fa1019f80
patch 8.0.0942: using freed memory with ":terminal"
...
Problem: Using freed memory with ":terminal" if an autocommand changes
'shell' when splitting the window. (Marius Gedminas)
Solution: Make a copy of 'shell'. (closes #1974 )
2017-08-14 22:56:27 +02:00
Bram Moolenaar
05fbfdcda4
patch 8.0.0941: existing color schemes don't like StatusLineTerm
...
Problem: Existing color schemes don't work well with StatusLineTerm.
Solution: Don't use "reverse", use fg and bg colors. Also add
StatusLineTermNC.
2017-08-14 22:35:08 +02:00
Bram Moolenaar
c08706135d
patch 8.0.0940: Test_terminal_scrape_multibyte is flaky
...
Problem: Test_terminal_scrape_multibyte is flaky. (James McCoy)
Solution: Use WaitFor() instead of term_wait().
2017-08-14 22:01:16 +02:00
Bram Moolenaar
51c23687a9
patch 8.0.0939: Test_terminal_env is flaky
...
Problem: Test_terminal_env is flaky. (James McCoy)
Solution: Use WaitFor() instead of term_wait().
2017-08-14 21:45:00 +02:00
Bram Moolenaar
6bb18a878c
patch 8.0.0938: scrolling in terminal window is inefficient
...
Problem: Scrolling in terminal window is inefficient.
Solution: Use win_del_lines().
2017-08-13 22:14:17 +02:00
Bram Moolenaar
bce4f62d30
patch 8.0.0937: user highlight groups not adjusted for terminal
...
Problem: User highlight groups are not adjusted for StatusLineTerm.
Solution: Combine attributes like for StatusLineNC.
2017-08-13 21:37:43 +02:00
Bram Moolenaar
2bb7b6b0e4
patch 8.0.0936: mode() returns wrong value for a terminal window
...
Problem: Mode() returns wrong value for a terminal window.
Solution: Return 't' when typed keys go to a job.
2017-08-13 20:58:33 +02:00
Bram Moolenaar
304b64c9e6
patch 8.0.0935: cannot recognize a terminal buffer in :ls output
...
Problem: Cannot recognize a terminal buffer in :ls output.
Solution: Use R for a running job and F for a finished job.
2017-08-13 20:43:48 +02:00
Bram Moolenaar
6b93b0e838
patch 8.0.0934: change to struts.h missing in patch
...
Problem: Change to struts.h missing in patch.
Solution: Include adding ttyinfo_T.
2017-08-13 20:28:53 +02:00
Bram Moolenaar
9f0139a2a8
patch 8.0.0933: terminal test tries to start GUI when it's not possible
...
Problem: Terminal test tries to start GUI when it's not possible.
Solution: Check if the GUI can run. (James McCoy, closes #1971 )
2017-08-13 20:26:20 +02:00
Bram Moolenaar
4f44b88684
patch 8.0.0932: terminal may not use right characters for BS and Enter
...
Problem: Terminal may not use right characters for BS and Enter.
Solution: Get the characters from the tty.
2017-08-13 20:06:18 +02:00
Bram Moolenaar
69905d108b
patch 8.0.0931: getwininfo() does not indicate a terminal window
...
Problem: getwininfo() does not indicate a terminal window.
Solution: Add "terminal" to the dictionary.
2017-08-13 18:14:47 +02:00
Bram Moolenaar
e62780543f
patch 8.0.0930: terminal buffers are stored in the viminfo file
...
Problem: Terminal buffers are stored in the viminfo file while they can't
be useful.
Solution: Skip terminal buffers for file marks and buffer list
2017-08-13 18:11:17 +02:00
Bram Moolenaar
2438ae3d67
patch 8.0.0929: :term without argument does not work
...
Problem: :term without argument does not work.
Solution: Use shell for empty command. (Yasuhiro Matsumoto, closes #1970 )
2017-08-13 17:38:11 +02:00
Bram Moolenaar
dcaa61384c
patch 8.0.0928: MS-Windows: passing arglist to job has escaping problems
...
Problem: MS-Windows: passing arglist to job has escaping problems.
Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954 )
2017-08-13 17:13:09 +02:00
Bram Moolenaar
274a52fd58
patch 8.0.0927: if a terminal job sends a blank title "running" is not shown
...
Problem: If a terminal job sends a blank title "running" is not shown.
Solution: When the title is blank make it empty.
2017-08-13 16:09:31 +02:00
Bram Moolenaar
e0f314aa8d
patch 8.0.0926: when job in terminal window ends topline is wrong
...
Problem: When job in terminal window ends topline may be wrong.
Solution: When the job ends adjust topline so that the active part of the
terminal is displayed.
2017-08-13 16:01:31 +02:00
Bram Moolenaar
62426e168e
patch 8.0.0925: MS-Windows GUI: channel I/O not handled right away
...
Problem: MS-Windows GUI: channel I/O not handled right away.
Solution: Don't call process_message() unless a message is available.
(Yasuhiro Matsumoto, closes #1969 )
2017-08-13 15:37:58 +02:00
Bram Moolenaar
5cc1f2c477
patch 8.0.0924: terminal window not updated after using term_sendkeys()
...
Problem: Terminal window not updated after using term_sendkeys().
Solution: Call redraw_after_callback().
2017-08-13 15:16:53 +02:00
Bram Moolenaar
679653e59c
patch 8.0.0923: crash in GUI when terminal job exits
...
Problem: Crash in GUI when terminal job exits. (Kazunobu Kuriyama)
Solution: reset in_terminal_loop when a terminal is freed.
2017-08-13 14:13:19 +02:00
Bram Moolenaar
55b6926450
patch 8.0.0922: quickfix list always added after current one
...
Problem: Quickfix list always added after current one.
Solution: Make it possible to add a quickfix list after the last one.
(Yegappan Lakshmanan)
2017-08-13 13:42:01 +02:00
Bram Moolenaar
3d9bdfebf1
patch 8.0.0921: terminal window cursor shape not supported in the GUI
...
Problem: Terminal window cursor shape not supported in the GUI.
Solution: Use the terminal window cursor shape in the GUI.
2017-08-12 22:55:58 +02:00
Bram Moolenaar
893029ab20
patch 8.0.0920: cursor wrong after switching altscreen in terminal
...
Problem: The cursor shape is wrong after switch back from an alternate
screen in a terminal window. (arius Gedminas)
Solution: Change bitfield to unsigned. Set flag that cursor shape was set.
2017-08-12 21:15:34 +02:00
Bram Moolenaar
c977092053
patch 8.0.0919: cursor color isn't set on startup
...
Problem: Cursor color isn't set on startup.
Solution: Initialize showing_mode to invalid value.
2017-08-12 20:11:53 +02:00
Bram Moolenaar
3cd43ccccb
patch 8.0.0918: cannot get terminal window cursor shape or attributes
...
Problem: Cannot get terminal window cursor shape or attributes.
Solution: Support cursor shape, attributes and color.
2017-08-12 19:51:41 +02:00