Bram Moolenaar [Mon, 14 Aug 2017 20:35:08 +0000 (22:35 +0200)]
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.
Bram Moolenaar [Mon, 14 Aug 2017 20:01:16 +0000 (22:01 +0200)]
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().
Bram Moolenaar [Mon, 14 Aug 2017 19:45:00 +0000 (21:45 +0200)]
patch 8.0.0939: Test_terminal_env is flaky
Problem: Test_terminal_env is flaky. (James McCoy)
Solution: Use WaitFor() instead of term_wait().
Bram Moolenaar [Sun, 13 Aug 2017 20:14:17 +0000 (22:14 +0200)]
patch 8.0.0938: scrolling in terminal window is inefficient
Problem: Scrolling in terminal window is inefficient.
Solution: Use win_del_lines().
Bram Moolenaar [Sun, 13 Aug 2017 19:37:43 +0000 (21:37 +0200)]
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.
Bram Moolenaar [Sun, 13 Aug 2017 18:58:33 +0000 (20:58 +0200)]
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.
Bram Moolenaar [Sun, 13 Aug 2017 18:43:48 +0000 (20:43 +0200)]
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.
Bram Moolenaar [Sun, 13 Aug 2017 18:28:53 +0000 (20:28 +0200)]
patch 8.0.0934: change to struts.h missing in patch
Problem: Change to struts.h missing in patch.
Solution: Include adding ttyinfo_T.
Bram Moolenaar [Sun, 13 Aug 2017 18:26:20 +0000 (20:26 +0200)]
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)
Bram Moolenaar [Sun, 13 Aug 2017 18:06:18 +0000 (20:06 +0200)]
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.
Bram Moolenaar [Sun, 13 Aug 2017 16:14:47 +0000 (18:14 +0200)]
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.
Bram Moolenaar [Sun, 13 Aug 2017 16:11:17 +0000 (18:11 +0200)]
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
Bram Moolenaar [Sun, 13 Aug 2017 15:38:11 +0000 (17:38 +0200)]
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)
Bram Moolenaar [Sun, 13 Aug 2017 15:13:09 +0000 (17:13 +0200)]
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)
Bram Moolenaar [Sun, 13 Aug 2017 14:09:31 +0000 (16:09 +0200)]
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.
Bram Moolenaar [Sun, 13 Aug 2017 14:01:31 +0000 (16:01 +0200)]
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.
Bram Moolenaar [Sun, 13 Aug 2017 13:37:58 +0000 (15:37 +0200)]
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)
Bram Moolenaar [Sun, 13 Aug 2017 13:16:53 +0000 (15:16 +0200)]
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().
Bram Moolenaar [Sun, 13 Aug 2017 12:13:19 +0000 (14:13 +0200)]
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.
Bram Moolenaar [Sun, 13 Aug 2017 11:42:01 +0000 (13:42 +0200)]
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)
Bram Moolenaar [Sat, 12 Aug 2017 20:55:58 +0000 (22:55 +0200)]
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.
Bram Moolenaar [Sat, 12 Aug 2017 19:15:34 +0000 (21:15 +0200)]
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.
Bram Moolenaar [Sat, 12 Aug 2017 18:11:53 +0000 (20:11 +0200)]
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.
Bram Moolenaar [Sat, 12 Aug 2017 17:51:41 +0000 (19:51 +0200)]
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.
Bram Moolenaar [Sat, 12 Aug 2017 14:39:05 +0000 (16:39 +0200)]
patch 8.0.0917: MS-Windows:CTRL-C handling in terminal window is wrong
Problem: MS-Windows:CTRL-C handling in terminal window is wrong
Solution: Pass CTRL-C as a key. Turn CTRL-BREAK into a key stroke. (Yasuhiro
Matsumoto, closes #1965)
Bram Moolenaar [Sat, 12 Aug 2017 14:01:04 +0000 (16:01 +0200)]
patch 8.0.0916: cannot specify properties of window for terminal open
Problem: Cannot specify properties of window for when opening a window for
a finished terminal job.
Solution: Add "term_opencmd".
Bram Moolenaar [Sat, 12 Aug 2017 13:15:33 +0000 (15:15 +0200)]
patch 8.0.0915: wrong initialisation of global
Problem: Wrong initialisation of global.
Solution: Use INIT().
Bram Moolenaar [Sat, 12 Aug 2017 13:12:30 +0000 (15:12 +0200)]
patch 8.0.0914: highlight attributes are always combined
Problem: Highlight attributes are always combined.
Solution: Add the 'nocombine' value to replace attributes instead of
combining them. (scauligi, closes #1963)
Bram Moolenaar [Sat, 12 Aug 2017 12:52:15 +0000 (14:52 +0200)]
patch 8.0.0913: MS-Windows: CTRL-C kills shell in terminal window
Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the
command running in the shell.
Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the
job. (partly by Yasuhiro Matsumoto, closes #1962)
Bram Moolenaar [Sat, 12 Aug 2017 12:32:32 +0000 (14:32 +0200)]
patch 8.0.0912: cannot run a job in a hidden terminal
Problem: Cannot run a job in a hidden terminal.
Solution: Add option "hidden" and ++hidden.
Bram Moolenaar [Fri, 11 Aug 2017 20:45:01 +0000 (22:45 +0200)]
patch 8.0.0911: terminal test takes too long
Problem: Terminal test takes too long.
Solution: Instead of "sleep 1" use a Python program to briefly sleep.
Bram Moolenaar [Fri, 11 Aug 2017 20:27:50 +0000 (22:27 +0200)]
patch 8.0.0910: cannot create a terminal in the current window
Problem: Cannot create a terminal in the current window.
Solution: Add option "curwin" and ++curwin.
Bram Moolenaar [Fri, 11 Aug 2017 20:22:36 +0000 (22:22 +0200)]
patch 8.0.0909: channel test fails
Problem: Channel test fails.
Solution: Allow for "cwd" and "env" arguments.
Bram Moolenaar [Fri, 11 Aug 2017 19:51:23 +0000 (21:51 +0200)]
patch 8.0.0908: cannot set terminal size with options
Problem: Cannot set terminal size with options.
Solution: Add "term_rows", "term_cols" and "vertical".
Bram Moolenaar [Fri, 11 Aug 2017 18:55:55 +0000 (20:55 +0200)]
patch 8.0.0907: with cp932 font names might be misinterpreted
Problem: With cp932 font names might be misinterpreted.
Solution: Do not see "_" as a space when it is the second byte of a double
byte character. (Ken Takata)
Bram Moolenaar [Fri, 11 Aug 2017 18:50:04 +0000 (20:50 +0200)]
patch 8.0.0906: don't recognize Couchbase files
Problem: Don't recognize Couchbase files.
Solution: Add filetype detection. (Eugene Ciurana, closes #1951)
Bram Moolenaar [Fri, 11 Aug 2017 18:37:00 +0000 (20:37 +0200)]
patch 8.0.0905: MS-Windows: broken multi-byte characters in the console
Problem: MS-Windows: broken multi-byte characters in the console.
Solution: Restore all regions of the console buffer. (Ken Takata)
Bram Moolenaar [Fri, 11 Aug 2017 18:25:26 +0000 (20:25 +0200)]
patch 8.0.0904: cannot set a location list from text
Problem: Cannot set a location list from text.
Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan)
Bram Moolenaar [Fri, 11 Aug 2017 18:20:27 +0000 (20:20 +0200)]
patch 8.0.0903: early return from test function
Problem: Early return from test function.
Solution: Remove the return.
Bram Moolenaar [Fri, 11 Aug 2017 17:50:37 +0000 (19:50 +0200)]
Update runtime files.
Bram Moolenaar [Fri, 11 Aug 2017 17:12:11 +0000 (19:12 +0200)]
patch 8.0.0902: cannot specify directory or environment for a job
Problem: Cannot specify directory or environment for a job.
Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro
Matsumoto, closes #1160)
Bram Moolenaar [Fri, 11 Aug 2017 15:56:21 +0000 (17:56 +0200)]
patch 8.0.0901: asan suppress file missing from distribution
Problem: Asan suppress file missing from distribution.
Solution: Add the file.
Bram Moolenaar [Fri, 11 Aug 2017 15:15:09 +0000 (17:15 +0200)]
patch 8.0.0900: :tab options doesn't open a new tab page
Problem: :tab options doesn't open a new tab page. (Aviany)
Solution: Support the :tab modifier. (closes #1960)
Bram Moolenaar [Fri, 11 Aug 2017 14:31:54 +0000 (16:31 +0200)]
patch 8.0.0899: function name mch_stop_job() is confusing
Problem: Function name mch_stop_job() is confusing.
Solution: Rename to mch_signal_job().
Bram Moolenaar [Fri, 11 Aug 2017 14:24:50 +0000 (16:24 +0200)]
patch 8.0.0898: can't use the alternate screen in a terminal window
Problem: Can't use the alternate screen in a terminal window.
Solution: Initialze the alternate screen. (Yasuhiro Matsumoto, closes
#1957) Add term_getaltscreen().
Bram Moolenaar [Fri, 11 Aug 2017 13:45:28 +0000 (15:45 +0200)]
patch 8.0.0897: wrong error message for invalid term_finish value
Problem: Wrong error message for invalid term_finish value
Solution: Pass the right argument to emsg().
Bram Moolenaar [Thu, 10 Aug 2017 21:15:19 +0000 (23:15 +0200)]
patch 8.0.0896: cannot close a terminal window when the job ends
Problem: Cannot automaticlaly close a terminal window when the job ends.
Solution: Add the ++close argument to :term. Add the term_finish option to
term_start(). (Yasuhiro Matsumoto, closes #1950) Also add
++open.
Bram Moolenaar [Wed, 9 Aug 2017 20:24:52 +0000 (22:24 +0200)]
patch 8.0.0895: filetype test fails on MS-Windows
Problem: Filetype test fails on MS-Windows.
Solution: Fix file names.
Bram Moolenaar [Wed, 9 Aug 2017 20:06:48 +0000 (22:06 +0200)]
patch 8.0.0894: there is no test for runtime filetype detection
Problem: There is no test for runtime filetype detection.
Solution: Test a list of filetypes from patterns.
Bram Moolenaar [Tue, 8 Aug 2017 21:06:46 +0000 (23:06 +0200)]
patch 8.0.0893: cannot get the scroll count of a terminal window
Problem: Cannot get the scroll count of a terminal window.
Solution: Add term_getscrolled().
Bram Moolenaar [Tue, 8 Aug 2017 19:52:22 +0000 (21:52 +0200)]
patch 8.0.0892: when opening a terminal the pty size doesn't always match
Problem: When opening a terminal the pty size doesn't always match.
Solution: Update the pty size after opening the terminal. (Ken Takata)
Bram Moolenaar [Mon, 7 Aug 2017 20:08:05 +0000 (22:08 +0200)]
patch 8.0.0891: uninitialized memory use with empty line in terminal
Problem: Uninitialized memory use with empty line in terminal.
Solution: Initialize growarray earlier. (Yasuhiro Matsumoto, closes #1949)
Bram Moolenaar [Mon, 7 Aug 2017 20:02:30 +0000 (22:02 +0200)]
patch 8.0.0890: still many old style tests
Problem: Still many old style tests.
Solution: Convert several tests to new style. (Yegappan Lakshmanan)
Bram Moolenaar [Mon, 7 Aug 2017 19:26:29 +0000 (21:26 +0200)]
patch 8.0.0889: gcc gives warnings for uninitialized variables
Problem: Gcc gives warnings for uninitialized variables. (Tony Mechelynck)
Solution: Initialize variables even though they are not used.
Bram Moolenaar [Mon, 7 Aug 2017 19:17:57 +0000 (21:17 +0200)]
patch 8.0.0888: compiler warnings with 64 bit build
Problem: Compiler warnings with 64 bit build.
Solution: Add type cast of change the type. (Mike Williams)
Bram Moolenaar [Mon, 7 Aug 2017 18:51:51 +0000 (20:51 +0200)]
patch 8.0.0887: can create a logfile in the sandbox
Problem: Can create a logfile in the sandbox.
Solution: Disable ch_logfile() in the sandbox. (Yasuhiro Matsumoto)
Bram Moolenaar [Mon, 7 Aug 2017 18:38:42 +0000 (20:38 +0200)]
patch 8.0.0886: crash when using ":term ls"
Problem: Crash when using ":term ls".
Solution: Fix line number computation. Add a test for this.
Bram Moolenaar [Sun, 6 Aug 2017 19:36:22 +0000 (21:36 +0200)]
patch 8.0.0885: terminal window scrollback is stored inefficiently
Problem: Terminal window scrollback is stored inefficiently.
Solution: Store the text in the Vim buffer.
Bram Moolenaar [Sun, 6 Aug 2017 17:07:08 +0000 (19:07 +0200)]
patch 8.0.0884: can't specify the wait time for term_wait()
Problem: Can't specify the wait time for term_wait().
Solution: Add an otional second argument.
Bram Moolenaar [Sun, 6 Aug 2017 16:15:45 +0000 (18:15 +0200)]
patch 8.0.0883: invalid memory access with nonsensical script
Problem: Invalid memory access with nonsensical script.
Solution: Check "dstlen" being positive. (Dominique Pelle)
Bram Moolenaar [Sun, 6 Aug 2017 15:53:31 +0000 (17:53 +0200)]
patch 8.0.0882: term_scrape() and term_getline() require two arguments
Problem: term_scrape() and term_getline() require two arguments but it is
not enforced.
Solution: Correct minimal number of arguments. (Hirohito Higashi) Update
documentation. (Ken Takata)
Bram Moolenaar [Sun, 6 Aug 2017 15:38:06 +0000 (17:38 +0200)]
patch 8.0.0881: win32.mak no longer included in Windows SDK
Problem: win32.mak no longer included in Windows SDK.
Solution: Do not include win32.mak. (Ken Takata)
Bram Moolenaar [Sun, 6 Aug 2017 15:06:24 +0000 (17:06 +0200)]
patch 8.0.0880: Travis uses an old Ubuntu version
Problem: Travis uses an old Ubuntu version.
Solution: Switch from precise to trusty. (Ken Takata, closes #1897)
Bram Moolenaar [Sun, 6 Aug 2017 13:42:06 +0000 (15:42 +0200)]
patch 8.0.0879: crash when shifting with huge number
Problem: Crash when shifting with huge number.
Solution: Check for overflow. (Dominique Pelle, closes #1945)
Bram Moolenaar [Sun, 6 Aug 2017 13:22:15 +0000 (15:22 +0200)]
patch 8.0.0878: no completion for :mapclear
Problem: No completion for :mapclear.
Solution: Add completion (Nobuhiro Takasaki et al. closes #1943)
Bram Moolenaar [Sun, 6 Aug 2017 12:57:49 +0000 (14:57 +0200)]
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.
Bram Moolenaar [Sat, 5 Aug 2017 21:09:31 +0000 (23:09 +0200)]
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)
Bram Moolenaar [Sat, 5 Aug 2017 21:00:53 +0000 (23:00 +0200)]
patch 8.0.0875: crash with weird command sequence
Problem: Crash with weird command sequence. (Dominique Pelle)
Solution: Use vim_snprintf() instead of STRCPY().
Bram Moolenaar [Sat, 5 Aug 2017 19:13:36 +0000 (21:13 +0200)]
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)
Bram Moolenaar [Sat, 5 Aug 2017 18:17:00 +0000 (20:17 +0200)]
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.
Bram Moolenaar [Sat, 5 Aug 2017 17:34:47 +0000 (19:34 +0200)]
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.
Bram Moolenaar [Sat, 5 Aug 2017 16:19:55 +0000 (18:19 +0200)]
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.
Bram Moolenaar [Sat, 5 Aug 2017 16:02:21 +0000 (18:02 +0200)]
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.
Bram Moolenaar [Sat, 5 Aug 2017 15:40:38 +0000 (17:40 +0200)]
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.
Bram Moolenaar [Sat, 5 Aug 2017 15:13:48 +0000 (17:13 +0200)]
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)
Bram Moolenaar [Sat, 5 Aug 2017 14:33:56 +0000 (16:33 +0200)]
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)
Bram Moolenaar [Sat, 5 Aug 2017 13:16:32 +0000 (15:16 +0200)]
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)
Bram Moolenaar [Sat, 5 Aug 2017 13:02:05 +0000 (15:02 +0200)]
patch 8.0.0865: cannot build with channel but without terminal feature
Problem: Cannot build with channel but without terminal feature.
Solution: Add #ifdef
Bram Moolenaar [Sat, 5 Aug 2017 12:50:12 +0000 (14:50 +0200)]
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)
Bram Moolenaar [Sat, 5 Aug 2017 12:10:48 +0000 (14:10 +0200)]
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.
Bram Moolenaar [Fri, 4 Aug 2017 20:56:39 +0000 (22:56 +0200)]
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.
Bram Moolenaar [Fri, 4 Aug 2017 20:37:11 +0000 (22:37 +0200)]
patch 8.0.0861: still many old style tests
Problem: Still many old style tests.
Solution: Convert several tests to new style. (Yegappan Lakshmanan)
Bram Moolenaar [Fri, 4 Aug 2017 19:37:54 +0000 (21:37 +0200)]
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)
Bram Moolenaar [Fri, 4 Aug 2017 18:29:53 +0000 (20:29 +0200)]
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)
Bram Moolenaar [Thu, 3 Aug 2017 20:44:55 +0000 (22:44 +0200)]
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.
Bram Moolenaar [Thu, 3 Aug 2017 19:08:05 +0000 (21:08 +0200)]
patch 8.0.0857: terminal test fails on MS-Windows
Problem: Terminal test fails on MS-Windows.
Solution: Sleep a fraction of a second.
Bram Moolenaar [Thu, 3 Aug 2017 18:59:29 +0000 (20:59 +0200)]
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)
Bram Moolenaar [Thu, 3 Aug 2017 18:52:19 +0000 (20:52 +0200)]
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)
Bram Moolenaar [Thu, 3 Aug 2017 18:44:48 +0000 (20:44 +0200)]
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.
Bram Moolenaar [Thu, 3 Aug 2017 17:22:36 +0000 (19:22 +0200)]
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)
Bram Moolenaar [Thu, 3 Aug 2017 16:55:00 +0000 (18:55 +0200)]
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)
Bram Moolenaar [Thu, 3 Aug 2017 15:54:03 +0000 (17:54 +0200)]
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)
Bram Moolenaar [Thu, 3 Aug 2017 15:37:48 +0000 (17:37 +0200)]
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)
Bram Moolenaar [Thu, 3 Aug 2017 15:06:45 +0000 (17:06 +0200)]
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.
Bram Moolenaar [Thu, 3 Aug 2017 12:49:29 +0000 (14:49 +0200)]
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)
Bram Moolenaar [Thu, 3 Aug 2017 12:29:14 +0000 (14:29 +0200)]
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)
Bram Moolenaar [Thu, 3 Aug 2017 11:51:25 +0000 (13:51 +0200)]
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.
Bram Moolenaar [Thu, 3 Aug 2017 09:55:21 +0000 (11:55 +0200)]
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)
Bram Moolenaar [Wed, 2 Aug 2017 21:18:25 +0000 (23:18 +0200)]
patch 8.0.0844: wrong function prototype because of missing static
Problem: Wrong function prototype because of missing static.
Solution: Add "static".
Bram Moolenaar [Wed, 2 Aug 2017 21:13:27 +0000 (23:13 +0200)]
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)