]>
granicus.if.org Git - vim/log
Bram Moolenaar [Sun, 20 Aug 2017 14:11:51 +0000 (16:11 +0200)]
patch 8.0.0975: using freed memory when setting 'backspace'
Problem: Using freed memory when setting 'backspace'.
Solution: When changing oldval also change origval.
Bram Moolenaar [Sun, 20 Aug 2017 13:47:20 +0000 (15:47 +0200)]
patch 8.0.0974: resetting a string option does not trigger OptionSet
Problem: Resetting a string option does not trigger OptionSet. (Rick Howe)
Solution: Set the origval.
Bram Moolenaar [Sun, 20 Aug 2017 13:05:15 +0000 (15:05 +0200)]
patch 8.0.0973: initial info about blinking cursor is wrong
Problem: initial info about blinking cursor is wrong
Solution: Invert the blink flag. Add t_VS to stop a blinking cursor.
Bram Moolenaar [Sat, 19 Aug 2017 21:23:43 +0000 (23:23 +0200)]
patch 8.0.0972: compiler warnings for unused variables
Problem: Compiler warnings for unused variables. (Tony Mechelynck)
Solution: Add #ifdefs.
Bram Moolenaar [Sat, 19 Aug 2017 21:18:02 +0000 (23:18 +0200)]
patch 8.0.0971: 'winptydll' missing from :options
Problem: 'winptydll' missing from :options.
Solution: Add the entry.
Bram Moolenaar [Sat, 19 Aug 2017 19:35:35 +0000 (21:35 +0200)]
patch 8.0.0970: passing invalid highlight id
Problem: if there is no StatusLine highlighting and there is StatusLineNC
or StatusLineTermNC highlighting then an invalid highlight id is
passed to combine_stl_hlt(). (Coverity)
Solution: Check id_S to be -1 instead of zero.
Bram Moolenaar [Sat, 19 Aug 2017 19:26:44 +0000 (21:26 +0200)]
patch 8.0.0969: Coverity warning for unused return value
Problem: Coverity warning for unused return value.
Solution: Add (void) to avoid the warning.
Bram Moolenaar [Sat, 19 Aug 2017 19:23:05 +0000 (21:23 +0200)]
patch 8.0.0968: crash when switching terminal modes
Problem: Crash when switching terminal modes. (Nikolai Pavlov)
Solution: Check that there are scrollback lines.
Bram Moolenaar [Sat, 19 Aug 2017 19:11:57 +0000 (21:11 +0200)]
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.
Bram Moolenaar [Sat, 19 Aug 2017 17:57:34 +0000 (19:57 +0200)]
patch 8.0.0966: build failure without terminal feature
Problem: Build failure without terminal feature.
Solution: Move #endif.
Bram Moolenaar [Sat, 19 Aug 2017 17:40:50 +0000 (19:40 +0200)]
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.
Bram Moolenaar [Sat, 19 Aug 2017 13:51:59 +0000 (15:51 +0200)]
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().
Bram Moolenaar [Sat, 19 Aug 2017 13:40:01 +0000 (15:40 +0200)]
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)
Bram Moolenaar [Sat, 19 Aug 2017 13:05:32 +0000 (15:05 +0200)]
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.
Bram Moolenaar [Sat, 19 Aug 2017 11:29:19 +0000 (13:29 +0200)]
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
Bram Moolenaar [Fri, 18 Aug 2017 20:57:06 +0000 (22:57 +0200)]
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.
Bram Moolenaar [Fri, 18 Aug 2017 19:53:22 +0000 (21:53 +0200)]
patch 8.0.0959: build failure on MS-Windows
Problem: Build failure on MS-Windows.
Solution: Use ioctlsocket() instead of fcntl().
Bram Moolenaar [Fri, 18 Aug 2017 19:07:11 +0000 (21:07 +0200)]
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)
Bram Moolenaar [Fri, 18 Aug 2017 18:50:30 +0000 (20:50 +0200)]
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.
Bram Moolenaar [Thu, 17 Aug 2017 18:31:48 +0000 (20:31 +0200)]
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.
Bram Moolenaar [Thu, 17 Aug 2017 15:35:36 +0000 (17:35 +0200)]
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)
Bram Moolenaar [Thu, 17 Aug 2017 15:21:05 +0000 (17:21 +0200)]
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)
Bram Moolenaar [Thu, 17 Aug 2017 14:55:13 +0000 (16:55 +0200)]
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.
Bram Moolenaar [Thu, 17 Aug 2017 12:39:07 +0000 (14:39 +0200)]
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)
Bram Moolenaar [Thu, 17 Aug 2017 09:33:42 +0000 (11:33 +0200)]
patch 8.0.0951: another wrong #ifdef
Problem: Another wrong #ifdef.
Solution: Change TERMINAL to FEAT_TERMINAL. (closes #1981)
Bram Moolenaar [Thu, 17 Aug 2017 09:22:46 +0000 (11:22 +0200)]
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.
Bram Moolenaar [Wed, 16 Aug 2017 21:14:08 +0000 (23:14 +0200)]
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)
Bram Moolenaar [Wed, 16 Aug 2017 20:46:01 +0000 (22:46 +0200)]
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)
Bram Moolenaar [Wed, 16 Aug 2017 19:09:18 +0000 (21:09 +0200)]
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)
Bram Moolenaar [Mon, 14 Aug 2017 21:40:45 +0000 (23:40 +0200)]
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)
Bram Moolenaar [Mon, 14 Aug 2017 21:25:04 +0000 (23:25 +0200)]
patch 8.0.0945: 64-bit compiler warnings
Problem: 64-bit compiler warnings.
Solution: Use "size_t" instead of "int". (Mike Williams)
Bram Moolenaar [Mon, 14 Aug 2017 21:13:30 +0000 (23:13 +0200)]
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)
Bram Moolenaar [Mon, 14 Aug 2017 21:07:30 +0000 (23:07 +0200)]
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)
Bram Moolenaar [Mon, 14 Aug 2017 20:56:27 +0000 (22:56 +0200)]
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)
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.