Bram Moolenaar
6d8197485d
patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistent
...
Problem: Using CTRL-\ CTRL-N in terminal is inconsistent.
Solution: Stay in Normal mode.
2017-08-06 14:57:49 +02:00
Bram Moolenaar
39d21e3c30
patch 8.0.0876: backslashes and wildcards in backticks don't work
...
Problem: MS-Windows: Backslashes and wildcards in backticks don't work.
Solution: Do not handle backslashes inside backticks in the wrong place.
(Yasuhiro Matsumoto, closes #1942 )
2017-08-05 23:09:31 +02:00
Bram Moolenaar
0af2d32c21
patch 8.0.0875: crash with weird command sequence
...
Problem: Crash with weird command sequence. (Dominique Pelle)
Solution: Use vim_snprintf() instead of STRCPY().
2017-08-05 23:00:53 +02:00
Bram Moolenaar
22aa23fd8c
patch 8.0.0874: can't build with terminal feature
...
Problem: Can't build with terminal feature.
Solution: Include change to term_use_loop(). (Dominique Pelle)
2017-08-05 21:13:36 +02:00
Bram Moolenaar
aaa8a35fbd
patch 8.0.0873: in terminal cannot use CTRL-\ CTRL-N to start Visual mode
...
Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual
mode.
Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.
2017-08-05 20:17:00 +02:00
Bram Moolenaar
98fd66d311
patch 8.0.0872: no mouse scroll with a terminal window
...
Problem: Using mouse scroll while a terminal window has focus and the mouse
pointer is on another window does not work. Same for focus in a
non-terminal window ahd the mouse pointer is over a terminal
window.
Solution: Send the scroll action to the right window.
2017-08-05 19:34:47 +02:00
Bram Moolenaar
086d535f77
patch 8.0.0871: status line for a terminal window always has "[+]".
...
Problem: The status line for a terminal window always has "[+]".
Solution: Do make the status line include "[+]" for a terminal window.
2017-08-05 18:19:55 +02:00
Bram Moolenaar
b9279e73ae
patch 8.0.0870: mouse escape codes sent to terminal unintentionally
...
Problem: Mouse escape codes sent to terminal unintentionally.
Solution: Fix libvterm to send mouse codes only when enabled.
2017-08-05 18:02:21 +02:00
Bram Moolenaar
a9f028103f
patch 8.0.0869: job output is sometimes not displayed in a terminal
...
Problem: Job output is sometimes not displayed in a terminal.
Solution: Flush output before closing the channel.
2017-08-05 17:40:38 +02:00
Bram Moolenaar
cfcc022c54
patch 8.0.0868: cannot specify the terminal size on the command line
...
Problem: Cannot specify the terminal size on the command line.
Solution: Use the address range for the terminal size. (Yasuhiro Matsumoto,
closes #1941 )
2017-08-05 17:13:48 +02:00
Bram Moolenaar
35422f45ba
patch 8.0.0867: job and channel in a dict value not quoted
...
Problem: When using a job or channel value as a dict value, when turning it
into a string the quotes are missing.
Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto,
closes #1930 )
2017-08-05 16:33:56 +02:00
Bram Moolenaar
d53109886b
patch 8.0.0866: Solaris also doesn't have MIN and MAX
...
Problem: Solaris also doesn't have MIN and MAX.
Solution: Define MIN and MAX whenever they are not defined. (Ozaki Kiichi,
closes #1939 )
2017-08-05 15:16:32 +02:00
Bram Moolenaar
8456ea8050
patch 8.0.0865: cannot build with channel but without terminal feature
...
Problem: Cannot build with channel but without terminal feature.
Solution: Add #ifdef
2017-08-05 15:02:05 +02:00
Bram Moolenaar
78712a7733
patch 8.0.0864: cannot specify the name of a terminal
...
Problem: Cannot specify the name of a terminal.
Solution: Add the "term_name" option. (Yasuhiro Matsumoto, closes #1936 )
2017-08-05 14:50:12 +02:00
Bram Moolenaar
69198197fd
patch 8.0.0863: a remote command does not work in the terminal window
...
Problem: A remote command starting with CTRL-\ CTRL-N does not work in the
terminal window. (Christian J. Robinson)
Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command.
2017-08-05 14:10:48 +02:00
Bram Moolenaar
07c043af5f
patch 8.0.0862: file size test fails on MS-Windows
...
Problem: File size test fails on MS-Windows.
Solution: Set fileformat after opening new buffer. Strip CR.
2017-08-04 22:56:39 +02:00
Bram Moolenaar
4a137b4586
patch 8.0.0861: still many old style tests
...
Problem: Still many old style tests.
Solution: Convert several tests to new style. (Yegappan Lakshmanan)
2017-08-04 22:37:11 +02:00
Bram Moolenaar
6b7355a30d
patch 8.0.0860: side effects when channel appends to a buffer
...
Problem: There may be side effects when a channel appends to a buffer that
is not the current buffer.
Solution: Properly switch to another buffer before appending. (Yasuhiro
Matsumoto, closes #1926 , closes #1937 )
2017-08-04 21:37:54 +02:00
Bram Moolenaar
8e5eece8c5
patch 8.0.0859: NULL pointer access when term_free_vterm called twice
...
Problem: NULL pointer access when term_free_vterm called twice.
Solution: Return when tl_vterm is NULL. (Yasuhiro Matsumoto, closes #1934 )
2017-08-04 20:29:53 +02:00
Bram Moolenaar
eb44a68b42
patch 8.0.0858: can exit while a terminal is still running a job
...
Problem: Can exit while a terminal is still running a job.
Solution: Consider a buffer with a running job like a changed file.
2017-08-03 22:44:55 +02:00
Bram Moolenaar
620d064b0b
patch 8.0.0857: terminal test fails on MS-Windows
...
Problem: Terminal test fails on MS-Windows.
Solution: Sleep a fraction of a second.
2017-08-03 21:08:05 +02:00
Bram Moolenaar
102dc7f891
patch 8.0.0856: MS-Windows: terminal job doesn't take options
...
Problem: MS-Windows: terminal job doesn't take options.
Solution: Call job_set_options(). (Yasuhiro Matsumoto)
2017-08-03 20:59:29 +02:00
Bram Moolenaar
5be8dd087f
patch 8.0.0855: MS-Windows: can't get tty name of terminal
...
Problem: MS-Windows: can't get tty name of terminal.
Solution: Use the winpty process number. (Yasuhiro Matsumoto, closes #1929 )
2017-08-03 20:52:19 +02:00
Bram Moolenaar
e9c21aed62
patch 8.0.0854: no redraw after terminal was closed
...
Problem: No redraw after terminal was closed.
Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925 , closes
#1924 ) Add function to check for messages even when input is
available.
2017-08-03 20:44:48 +02:00
Bram Moolenaar
b4a6721a28
patch 8.0.0853: crash when running terminal with unknown command
...
Problem: Crash when running terminal with unknown command.
Solution: Check "term" not to be NULL. (Yasuhiro Matsumoto, closes #1932 )
2017-08-03 19:22:36 +02:00
Bram Moolenaar
1b66c00aec
patch 8.0.0852: MS-Windows: possible crash when giving a message on startup
...
Problem: MS-Windows: possible crash when giving a message on startup.
Solution: Initialize length. (Yasuhiro Matsumoto, closes #1931 )
2017-08-03 18:55:00 +02:00
Bram Moolenaar
69a76feda9
patch 8.0.0851: 'smartindent' is used even when 'indentexpr' is set
...
Problem: 'smartindent' is used even when 'indentexpr' is set.
Solution: Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi)
2017-08-03 17:54:03 +02:00
Bram Moolenaar
01efafad12
patch 8.0.0850: MS-Windows: error message while starting up may be broken
...
Problem: MS-Windows: Depending on the console encoding, an error message
that is given during startup may be broken.
Solution: Convert the message to the console codepage. (Yasuhiro Matsumoto,
closes #1927 )
2017-08-03 17:37:48 +02:00
Bram Moolenaar
3c3a80dc59
patch 8.0.0849: crash when job exit callback wipes the terminal
...
Problem: Crash when job exit callback wipes the terminal.
Solution: Check for b_term to be NULL. (Yasuhiro Matsumoto, closes #1922 )
Implement options for term_start() to be able to test.
Make term_wait() more reliable.
2017-08-03 17:06:45 +02:00
Bram Moolenaar
2f3a90a3bd
patch 8.0.0848: using multiple ch_log functions is clumsy
...
Problem: Using multiple ch_log functions is clumsy.
Solution: Use variable arguments. (Ozaki Kiichi, closes #1919 )
2017-08-03 14:49:29 +02:00
Bram Moolenaar
398ee7326b
patch 8.0.0847: :argadd without argument can't handle space in file name
...
Problem: :argadd without argument can't handle space in file name. (Harm te
Hennepe)
Solution: Escape the space. (Yasuhiro Matsumoto, closes #1917 )
2017-08-03 14:29:14 +02:00
Bram Moolenaar
7c9aec4ac8
patch 8.0.0846: cannot get the name of the pty of a job
...
Problem: Cannot get the name of the pty of a job.
Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920 )
Add the term_gettty() function.
2017-08-03 13:51:25 +02:00
Bram Moolenaar
d8dc179937
patch 8.0.0845: MS-Windows: missing semicolon in terminal code
...
Problem: MS-Windows: missing semicolon in terminal code.
Solution: Add it. (Naruhiko Nishino, closes #1923 )
2017-08-03 11:55:21 +02:00
Bram Moolenaar
e0ab979fa7
patch 8.0.0844: wrong function prototype because of missing static
...
Problem: Wrong function prototype because of missing static.
Solution: Add "static".
2017-08-02 23:18:25 +02:00
Bram Moolenaar
66cd19fef1
patch 8.0.0843: MS-Windows: compiler warning for signed/unsigned
...
Problem: MS-Windows: compiler warning for signed/unsigned.
Solution: Add type cast. (Yasuhiro Matsumoto, closes #1912 )
2017-08-02 23:13:27 +02:00
Bram Moolenaar
223896d3e9
patch 8.0.0842: using slave pty after closing it
...
Problem: Using slave pty after closing it.
Solution: Do the ioctl() before dup'ing it.
2017-08-02 22:33:28 +02:00
Bram Moolenaar
5c838a3e71
patch 8.0.0841: term_getline() may cause a crash
...
Problem: term_getline() may cause a crash.
Solution: Check that the row is valid. (Hirohito Higashi)
2017-08-02 22:10:34 +02:00
Bram Moolenaar
b6843a007d
patch 8.0.0840: MS-Windows: fopen() and open() prototypes are wrong
...
Problem: MS-Windows: fopen() and open() prototypes do not match the ones in
the system header file. Can't build without FEAT_MBYTE.
Solution: Add "const". Move macro to after including protoo.h.
2017-08-02 22:07:12 +02:00
Bram Moolenaar
fae4283542
patch 8.0.0839: cannot kill a job in a terminal with CTRL-C
...
Problem: Cannot kill a job in a terminal with CTRL-C.
Solution: Set the controlling tty and send SIGINT. (closes #1910 )
2017-08-01 22:24:26 +02:00
Bram Moolenaar
94053a5125
patch 8.0.0838: buffer hangs around whem terminal window is closed
...
Problem: Buffer hangs around whem terminal window is closed.
Solution: When the job has ended wipe out a terminal buffer when the window
is closed.
2017-08-01 21:44:33 +02:00
Bram Moolenaar
0792048842
patch 8.0.0837: signs can be drawn on top of console messages
...
Problem: Signs can be drawn on top of console messages.
Solution: don't redraw at a prompt or when scrolled up. (Christian Brabandt,
closes #1907 )
2017-08-01 20:53:30 +02:00
Bram Moolenaar
20e6cd07ba
patch 8.0.0836: can abandon a terminal buffer after making a change
...
Problem: When a terminal buffer is changed it can still be accidentally
abandoned.
Solution: When making a change reset the 'buftype' option.
2017-08-01 20:25:22 +02:00
Bram Moolenaar
65cedb2074
patch 8.0.0835: translations check with msgfmt does not work
...
Problem: Translations check with msgfmt does not work.
Solution: Add a space before the file name.
2017-08-01 18:52:55 +02:00
Bram Moolenaar
2a4f06f370
patch 8.0.0834: can't build without the client-server feature
...
Problem: Can't build without the client-server feature.
Solution: Add #ifdef.
2017-08-01 18:44:29 +02:00
Bram Moolenaar
9c8448472f
patch 8.0.0833: terminal test fails
...
Problem: Terminal test fails.
Solution: Update the row argument to one based.
2017-08-01 18:41:21 +02:00
Bram Moolenaar
c2ce52c011
patch 8.0.0832: terminal function arguments are not consistent
...
Problem: Terminal function arguments are not consistent.
Solution: Use one-based instead of zero-based rows and cols. Use "." for
the current row.
2017-08-01 18:35:38 +02:00
Bram Moolenaar
12d853fae1
patch 8.0.0831: with 8 colors the bold attribute is not set properly
...
Problem: With 8 colors the bold attribute is not set properly.
Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901 )
2017-08-01 18:04:04 +02:00
Bram Moolenaar
aaef1bae3c
patch 8.0.0830: translating messages is not ideal
...
Problem: Translating messages is not ideal.
Solution: Add a remark about obsolete messages. Use msgfmt in the check
script. (Christian Brabandt)
2017-08-01 17:40:23 +02:00
Bram Moolenaar
7da346035b
patch 8.0.0829: job running in terminal can't communicate with Vim
...
Problem: A job running in a terminal window cannot easily communicate with
the Vim it is running in.
Solution: Pass v:servername in an environment variable. (closes #1908 )
2017-08-01 17:14:21 +02:00
Bram Moolenaar
983b3a5bc4
patch 8.0.0828: Coverity: may dereference NULL pointer
...
Problem: Coverity: may dereference NULL pointer.
Solution: Bail out if calloc_state() returns NULL.
2017-08-01 15:14:26 +02:00