]>
granicus.if.org Git - vim/log
Bram Moolenaar [Tue, 5 Sep 2017 21:32:38 +0000 (23:32 +0200)]
patch 8.0.1064: Coverity warns for leaking resource
Problem: Coverity warns for leaking resource.
Solution: Free pty_master_fd on failure.
Bram Moolenaar [Tue, 5 Sep 2017 21:31:01 +0000 (23:31 +0200)]
patch 8.0.1063: Coverity warns for NULL check and array use
Problem: Coverity warns for NULL check and using variable pointer as an
array.
Solution: Remove the NULL check. Make "argvar" an array.
Bram Moolenaar [Tue, 5 Sep 2017 21:29:34 +0000 (23:29 +0200)]
patch 8.0.1062: Coverity warnings in libvterm
Problem: Coverity warnings in libvterm.
Solution: Add (void) to avoid warning for not checking return value.
Add "break" before "case".
Bram Moolenaar [Tue, 5 Sep 2017 21:01:12 +0000 (23:01 +0200)]
patch 8.0.1061: Coverity: no check for NULL command
Problem: Coverity: no check for NULL command.
Solution: Check for NULL list item.
Bram Moolenaar [Tue, 5 Sep 2017 20:20:46 +0000 (22:20 +0200)]
patch 8.0.1060: when imstyle is one, mapping <Left> breaks preediting
Problem: When imstyle is one, mapping <Left> breaks preediting.
Solution: Pass though preediting key-events. (Yasuhiro Matsumoto, closes
#2064, closes #2063)
Bram Moolenaar [Tue, 5 Sep 2017 19:57:27 +0000 (21:57 +0200)]
patch 8.0.1059: older Gnome terminal returns smaller version number
Problem: older Gnome terminal returns smaller version number. (antarestrue)
Solution: Lower version limit from 2800 to 2500. (#2032)
Bram Moolenaar [Tue, 5 Sep 2017 18:29:25 +0000 (20:29 +0200)]
patch 8.0.1058: terminal redirection test is flaky
Problem: Terminal redirection test is flaky.
Solution: Wait for job to finish.
Bram Moolenaar [Tue, 5 Sep 2017 18:19:42 +0000 (20:19 +0200)]
patch 8.0.1057: terminal scrape test waits too long
Problem: Terminal scrape test waits too long, it checks for one instead of
three.
Solution: Check there are three characters. (micbou)
Bram Moolenaar [Mon, 4 Sep 2017 21:21:07 +0000 (23:21 +0200)]
patch 8.0.1056: cannot build with +diff but without +multi_byte
Problem: Cannot build with the diff feature but without the mutli-byte
feature.
Solution: Remove #ifdefs. (John Marriott)
Bram Moolenaar [Mon, 4 Sep 2017 20:56:01 +0000 (22:56 +0200)]
patch 8.0.1055: bufline test hangs on MS-Windows
Problem: Bufline test hangs on MS-Windows.
Solution: Avoid message for writing file. Source shared.vim when running
test individually.
Bram Moolenaar [Mon, 4 Sep 2017 20:23:19 +0000 (22:23 +0200)]
patch 8.0.1054: terminal test fails on MS-Windows
Problem: Terminal test fails on MS-Windows.
Solution: Disable the redirection test for now. Improve scrape test to make
it less flaky.
Bram Moolenaar [Mon, 4 Sep 2017 18:34:19 +0000 (20:34 +0200)]
patch 8.0.1053: setline() does not work on startup
Problem: setline() does not work on startup. (Manuel Ortega)
Solution: Do not check for ml_mfp to be set for the current buffer.
(Christian Brabandt)
Bram Moolenaar [Sun, 3 Sep 2017 18:59:40 +0000 (20:59 +0200)]
patch 8.0.1052: term_start() does not allow in_io, out_io and err_io options
Problem: term_start() does not allow in_io, out_io and err_io options.
Solution: Add JO_OUT_IO to get_job_options().
Bram Moolenaar [Sun, 3 Sep 2017 17:52:17 +0000 (19:52 +0200)]
patch 8.0.1051: cannot run terminal with spaces in argument
Problem: Cannot run terminal with spaces in argument.
Solution: Accept backslash to escape space and other characters. (closes
#1999)
Bram Moolenaar [Sun, 3 Sep 2017 17:15:57 +0000 (19:15 +0200)]
patch 8.0.1050: terminal window feature not included by default
Problem: Terminal window feature not included by default.
Solution: Include the terminal feature for the "huge" build.
Bram Moolenaar [Sun, 3 Sep 2017 16:08:00 +0000 (18:08 +0200)]
patch 8.0.1049: shell on Mac can't handle long text
Problem: Shell on Mac can't handle long text, making terminal test fail.
Solution: Only write 1000 characters instead of 5000.
Bram Moolenaar [Sun, 3 Sep 2017 13:48:12 +0000 (15:48 +0200)]
patch 8.0.1048: no test for what 8.0.1020 fixes
Problem: No test for what 8.0.1020 fixes.
Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes #2046)
Bram Moolenaar [Sun, 3 Sep 2017 13:17:48 +0000 (15:17 +0200)]
patch 8.0.1047: buffer overflow in Ruby
Problem: Buffer overflow in Ruby.
Solution: Allocate one more byte. (Dominique Pelle)
Bram Moolenaar [Sun, 3 Sep 2017 13:04:21 +0000 (15:04 +0200)]
patch 8.0.1046: code duplication in diff mode
Problem: Code duplication in diff mode.
Solution: Use diff_equal_char() also in diff_cmp(). (Rick Howe)
Bram Moolenaar [Sun, 3 Sep 2017 12:31:02 +0000 (14:31 +0200)]
patch 8.0.1045: running tests may pollute shell history
Problem: Running tests may pollute shell history. (Manuel Ortega)
Solution: Make $HISTFILE empty.
Bram Moolenaar [Sun, 3 Sep 2017 12:03:43 +0000 (14:03 +0200)]
patch 8.0.1044: warning for uninitialized variable
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Initialize ind_pre.
Bram Moolenaar [Sat, 2 Sep 2017 21:28:54 +0000 (23:28 +0200)]
patch 8.0.1043: warning for uninitialized variable
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Move code to check indent inside "if".
Bram Moolenaar [Sat, 2 Sep 2017 18:40:35 +0000 (20:40 +0200)]
patch 8.0.1042: without the syntax feature highlighting doesn't work
Problem: Without the syntax feature highlighting doesn't work.
Solution: Always use unsigned short to store attributes.
Bram Moolenaar [Sat, 2 Sep 2017 18:30:35 +0000 (20:30 +0200)]
patch 8.0.1041: bogus characters when indenting during visual-block append
Problem: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
Bram Moolenaar [Sat, 2 Sep 2017 17:51:44 +0000 (19:51 +0200)]
patch 8.0.1040: cannot use another error format in getqflist()
Problem: Cannot use another error format in getqflist().
Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 2 Sep 2017 17:45:19 +0000 (19:45 +0200)]
patch 8.0.1039: cannot change a line in not current buffer
Problem: Cannot change a line in a buffer other than the current one.
Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes #1953)
Bram Moolenaar [Sat, 2 Sep 2017 16:33:56 +0000 (18:33 +0200)]
patch 8.0.1038: strike-through text not supported
Problem: Strike-through text not supported.
Solution: Add support for the "strikethrough" attribute. (Christian
Brabandt, Ken Takata)
Bram Moolenaar [Sat, 2 Sep 2017 16:01:50 +0000 (18:01 +0200)]
patch 8.0.1037: "icase" of 'diffopt' is not used for highlighting
Problem: "icase" of 'diffopt' is not used for highlighting differences.
Solution: Also use "icase". (Rick Howe)
Bram Moolenaar [Sat, 2 Sep 2017 15:18:35 +0000 (17:18 +0200)]
patch 8.0.1036: ++eof argument for terminal only available on MS-Windows
Problem: ++eof argument for terminal only available on MS-Windows.
Solution: Also support ++eof on Unix. Add a test.
Bram Moolenaar [Sat, 2 Sep 2017 14:28:36 +0000 (16:28 +0200)]
patch 8.0.1035: sending buffer lines to terminal doesn't work on MS-Windows
Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
Solution: Use CR instead of NL after every line. Make the EOF text work
properly. Add the ++eof argument to :terminal.
Bram Moolenaar [Sat, 2 Sep 2017 12:54:21 +0000 (14:54 +0200)]
patch 8.0.1034: sending buffer lines to terminal doesn't work on MS-Windows
Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto,
closes #2043) Add the "eof_chars" option.
Bram Moolenaar [Fri, 1 Sep 2017 18:24:03 +0000 (20:24 +0200)]
patch 8.0.1033: detecting background color does not work in screen
Problem: Detecting background color does not work in screen, even when it
is working like an xterm.
Solution: Make "screen.xterm" use termcap entries like an xterm. (Lubomir
Rintel, closes #2048) When termresponse version is huge also
recognize as not being an xterm.
Bram Moolenaar [Fri, 1 Sep 2017 16:41:26 +0000 (18:41 +0200)]
patch 8.0.1032: "make tags" doesn't work well on MS-Windows
Problem: "make tags" doesn't work well on MS-Windows.
Solution: Add or fix tags target. (Ken Takata)
Bram Moolenaar [Fri, 1 Sep 2017 16:34:02 +0000 (18:34 +0200)]
patch 8.0.1031: "text" argument for getqflist() is confusing
Problem: "text" argument for getqflist() is confusing. (Lcd47)
Solution: Use "lines" instead. (Yegappan Lakshmanan)
Bram Moolenaar [Thu, 31 Aug 2017 19:35:45 +0000 (21:35 +0200)]
patch 8.0.1030: MS-Windows: wrong size computation in is_cygpty()
Problem: MS-Windows: wrong size computation in is_cygpty().
Solution: Compute the size properly. (Ken Takata)
Bram Moolenaar [Thu, 31 Aug 2017 18:58:02 +0000 (20:58 +0200)]
patch 8.0.1029: return value of getqflist() is inconsistent
Problem: Return value of getqflist() is inconsistent. (Lcd47)
Solution: Always return an "items" entry.
Bram Moolenaar [Thu, 31 Aug 2017 18:42:18 +0000 (20:42 +0200)]
patch 8.0.1028: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set
Problem: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set. (Yongwei
Wu)
Solution: Use vim_getenv() but check it's returning the default "C:/".
Bram Moolenaar [Thu, 31 Aug 2017 18:17:59 +0000 (20:17 +0200)]
patch 8.0.1027: more terminals can't handle requesting cursor mode
Problem: More terminals can't handle requesting cursor mode.
Solution: Recognize Putty. (Hirohito Higashi) Also include Xfce in the
version check. (Dominique Pelle) Recognize Konsole.
Bram Moolenaar [Wed, 30 Aug 2017 20:00:20 +0000 (22:00 +0200)]
patch 8.0.1026: GTK on-the-spot input has problems
Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth)
Solution: Support over-the-spot. (Yukihiro Nakadaira, Ketn Takata, closes
#1215)
Bram Moolenaar [Wed, 30 Aug 2017 19:58:03 +0000 (21:58 +0200)]
patch 8.0.1025: stray copy command in test
Problem: Stray copy command in test.
Solution: Remove the copy command.
Bram Moolenaar [Wed, 30 Aug 2017 19:07:38 +0000 (21:07 +0200)]
patch 8.0.1024: folds lost when session file has a buffer in two windows
Problem: Manual folds are lost when a session file has the same buffer in
two windows. (Jeansen)
Solution: Use ":edit" only once. (Christian Brabandt, closes #1958)
Bram Moolenaar [Wed, 30 Aug 2017 18:33:55 +0000 (20:33 +0200)]
patch 8.0.1023: it is not easy to identify a quickfix list
Problem: It is not easy to identify a quickfix list.
Solution: Add the "id" field. (Yegappan Lakshmanan)
Bram Moolenaar [Wed, 30 Aug 2017 18:21:58 +0000 (20:21 +0200)]
patch 8.0.1022: test 80 is old style
Problem: Test 80 is old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan)
Bram Moolenaar [Wed, 30 Aug 2017 16:59:03 +0000 (18:59 +0200)]
patch 8.0.1021: older Gnome terminal still echoes t_RC
Problem: Older Gnome terminal still echoes t_RC. (Fracois Ingelrest)
Solution: Check for version > 3000 instead of 4000.
Bram Moolenaar [Wed, 30 Aug 2017 16:52:56 +0000 (18:52 +0200)]
patch 8.0.1020: when a timer calls getchar(1) input is overwritten
Problem: When a timer calls getchar(1) input is overwritten.
Solution: Increment tb_change_cnt in inchar(). (closes #1940)
Bram Moolenaar [Wed, 30 Aug 2017 15:01:35 +0000 (17:01 +0200)]
patch 8.0.1019: pasting in virtual edit happens in the wrong place
Problem: Pasting in virtual edit happens in the wrong place.
Solution: Do not adjust coladd when after the end of the line (closes #2015)
Bram Moolenaar [Wed, 30 Aug 2017 13:57:33 +0000 (15:57 +0200)]
patch 8.0.1018: warnings from 64-bit compiler
Problem: Warnings from 64-bit compiler. (Christian Brabandt)
Solution: Add type casts.
Bram Moolenaar [Wed, 30 Aug 2017 12:55:42 +0000 (14:55 +0200)]
patch 8.0.1017: test for MS-Windows $HOME always passes
Problem: Test for MS-Windows $HOME always passes.
Solution: Rename the test function. Make the test pass.
Bram Moolenaar [Wed, 30 Aug 2017 12:53:06 +0000 (14:53 +0200)]
patch 8.0.1016: gnome terminal echoes t_RC
Problem: Gnome terminal echoes t_RC.
Solution: Detect Gnome terminal by the version string. Add v: variables for
all the term responses.
Bram Moolenaar [Wed, 30 Aug 2017 11:31:49 +0000 (13:31 +0200)]
patch 8.0.1015: missing update to terminal test
Problem: Missing update to terminal test.
Solution: Add the changes to the test.
Bram Moolenaar [Wed, 30 Aug 2017 11:22:28 +0000 (13:22 +0200)]
patch 8.0.1014: old compiler doesn't know uint32_t
Problem: Old compiler doesn't know uint32_t. Warning for using NULL instead
of NUL.
Solution: Use UINT32_T. Use NUL instead of NULL.
Bram Moolenaar [Tue, 29 Aug 2017 20:44:59 +0000 (22:44 +0200)]
patch 8.0.1013: terminal window behaves different from a buffer with changes
Problem: A terminal window with a running job behaves different from a
window containing a changed buffer.
Solution: Do not set 'bufhidden' to "hide". Fix that a buffer where a
terminal used to run is listed as "[Scratch]".
Bram Moolenaar [Tue, 29 Aug 2017 20:08:53 +0000 (22:08 +0200)]
patch 8.0.1012: MS-Windows: problem with $HOME when is was set internally
Problem: MS-Windows: Problem with $HOME when is was set internally.
Solution: Only use the $HOME default internally. (Yasuhiro Matsumoto, closes
#2013)
Bram Moolenaar [Tue, 29 Aug 2017 18:42:07 +0000 (20:42 +0200)]
patch 8.0.1011: terminal test fails with Athena and Motif
Problem: Terminal test fails with Athena and Motif.
Solution: Ignore the error for the input context. (Kazunobu Kuriyama)
Bram Moolenaar [Mon, 28 Aug 2017 21:00:55 +0000 (23:00 +0200)]
patch 8.0.1010: build failure without termresponse feature
Problem: Build failure without termresponse feature.
Solution: Add #ifdef.
Bram Moolenaar [Mon, 28 Aug 2017 20:43:05 +0000 (22:43 +0200)]
patch 8.0.1009: Xterm cursor blinking status may be inverted
Problem: Xterm cursor blinking status may be inverted.
Solution: Use another request to get the blink status and compare with the
cursor style report
Bram Moolenaar [Sun, 27 Aug 2017 15:38:27 +0000 (17:38 +0200)]
patch 8.0.1008: slow updating of terminal window in Motif
Problem: Slow updating of terminal window in Motif.
Solution: Add a timeout to the wait-for-character loop.
Bram Moolenaar [Sun, 27 Aug 2017 14:54:26 +0000 (16:54 +0200)]
patch 8.0.1007: no test for filetype detection for scripts
Problem: No test for filetype detection for scripts.
Solution: Add a first test file script filetype detection.
Bram Moolenaar [Sun, 27 Aug 2017 14:52:01 +0000 (16:52 +0200)]
Update runtime files
Bram Moolenaar [Sun, 27 Aug 2017 13:23:41 +0000 (15:23 +0200)]
patch 8.0.1006: quickfix list changes when parsing text with 'erroformat'
Problem: Cannot parse text with 'erroformat' without changing a quickfix
list.
Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
Bram Moolenaar [Sun, 27 Aug 2017 12:50:47 +0000 (14:50 +0200)]
patch 8.0.1005: terminal without job updates slowly in GUI
Problem: Terminal without job updates slowly in GUI.
Solution: Poll for input when a channel has the keep_open flag.
Bram Moolenaar [Sun, 27 Aug 2017 11:51:01 +0000 (13:51 +0200)]
patch 8.0.1004: matchstrpos() without a match returns too many items
Problem: Matchstrpos() without a match returns too many items.
Solution: Also remove the second item when the position is beyond the end of
the string. (Hirohito Higashi) Use an enum for the type.
Bram Moolenaar [Sun, 27 Aug 2017 11:10:10 +0000 (13:10 +0200)]
patch 8.0.1003: 64 bit compiler warning
Problem: 64 bit compiler warning
Solution: Add type cast. (Mike Williams)
Bram Moolenaar [Sat, 26 Aug 2017 21:43:28 +0000 (23:43 +0200)]
patch 8.0.1002: unnecessarily updating screen after timer callback
Problem: Unnecessarily updating screen after timer callback.
Solution: Check if calling the timer sets must_redraw.
Bram Moolenaar [Sat, 26 Aug 2017 20:30:15 +0000 (22:30 +0200)]
patch 8.0.1001: setting 'encoding' makes 'printheader' invalid
Problem: Setting 'encoding' makes 'printheader' invalid.
Solution: Do not translate the default value of 'printheader'. (Yasuhiro
Matsumoto, closes #2026)
Bram Moolenaar [Sat, 26 Aug 2017 20:02:51 +0000 (22:02 +0200)]
patch 8.0.1000: cannot open a terminal without running a job in it
Problem: Cannot open a terminal without running a job in it.
Solution: Make ":terminal NONE" open a terminal with a pty.
Bram Moolenaar [Sat, 26 Aug 2017 15:49:01 +0000 (17:49 +0200)]
patch 8.0.0999: indenting raw C++ strings is wrong
Problem: Indenting raw C++ strings is wrong.
Solution: Add special handling of raw strings. (Christian Brabandt)
Bram Moolenaar [Sat, 26 Aug 2017 14:25:32 +0000 (16:25 +0200)]
patch 8.0.0998: strange error when using K while only spaces are selected
Problem: Strange error when using K while only spaces are selected.
(Christian J. Robinson)
Solution: Check for blank argument.
Bram Moolenaar [Sat, 26 Aug 2017 13:29:47 +0000 (15:29 +0200)]
patch 8.0.0997
Problem: Libvterm and Terminal.app not regognized from termresponse.
Solution: Adjust string compare.
Bram Moolenaar [Sat, 26 Aug 2017 13:16:03 +0000 (15:16 +0200)]
patch 8.0.0996: Mac: t_RS is echoed on the screne in Terminal.app
Problem: Mac: t_RS is echoed on the screne in Terminal.app. Even though
$TERM is set to "xterm-256colors" it cannot handle this xterm
escape sequence.
Solution: Recognize Terminal.app from the termresponse and skip sending t_RS
if it looks like Terminal.app.
Bram Moolenaar [Fri, 25 Aug 2017 21:22:05 +0000 (23:22 +0200)]
patch 8.0.0995: terminal tests fail on Mac
Problem: Terminal tests fail on Mac.
Solution: Add workaround: sleep a moment in between sending keys.
Bram Moolenaar [Thu, 24 Aug 2017 19:48:26 +0000 (21:48 +0200)]
patch 8.0.0994: MS-Windows: cursor in terminal blinks undesirably
Problem: MS-Windows: cursor in terminal blinks even though the blinking
cursor was disabled on the system.
Solution: Use GetCaretBlinkTime(). (Ken Takata)
Bram Moolenaar [Thu, 24 Aug 2017 18:21:16 +0000 (20:21 +0200)]
patch 8.0.0993: sometimes an xterm sends an extra CTRL-X
Problem: Sometimes an xterm sends an extra CTRL-X after the response for
the background color. Related to t_RS.
Solution: Check for the CTRL-X after the terminating 0x7.
Bram Moolenaar [Wed, 23 Aug 2017 21:51:58 +0000 (23:51 +0200)]
patch 8.0.0992: terminal title is wrong when 'encoding' is DBCS
Problem: Terminal title is wrong when 'encoding' is DBCS.
Solution: Convert the title from DBCS to utf-8. (Yasuhiro Matsumoto, closes
#2009)
Bram Moolenaar [Wed, 23 Aug 2017 21:36:25 +0000 (23:36 +0200)]
patch 8.0.0991: using wrong character conversion for DBCS
Problem: Using wrong character conversion for DBCS.
Solution: Use utf_char2bytes instead of mb_char2bytes. (Yasuhiro Matsumoto,
closes #2012)
Bram Moolenaar [Wed, 23 Aug 2017 21:10:21 +0000 (23:10 +0200)]
patch 8.0.0990: with DBCS 'encoding' wrong pasting register into terminal
Problem: When 'encoding' is a double-byte encoding, pasting a register into
a terminal ends up with the wrong characters.
Solution: Convert from 'encoding' to utf-8. (Yasuhiro Matsumoto, closes
#2007)
Bram Moolenaar [Wed, 23 Aug 2017 20:40:41 +0000 (22:40 +0200)]
patch 8.0.0989: ActiveTcl dll name has changed in 8.6.6
Problem: ActiveTcl dll name has changed in 8.6.6.
Solution: Adjust the makefile. (Ken Takata)
Bram Moolenaar [Wed, 23 Aug 2017 20:32:35 +0000 (22:32 +0200)]
patch 8.0.0988: warning from Covscan about using NULL pointer
Problem: Warning from Covscan about using NULL pointer.
Solution: Add extra check for NULL. (zdohnal)
Bram Moolenaar [Tue, 22 Aug 2017 20:29:00 +0000 (22:29 +0200)]
patch 8.0.0987: terminal: second byte of double-byte char wrong
Problem: terminal: second byte of double-byte char wrong
Solution: Set the second byte to NUL only for utf-8 and non-multibyte.
Bram Moolenaar [Tue, 22 Aug 2017 20:21:37 +0000 (22:21 +0200)]
patch 8.0.0986: terminal feature always requires multi-byte feature
Problem: Terminal feature always requires multi-byte feature.
Solution: Remove #ifdef FEAT_MBYTE, disable terminal without multi-byte.
Bram Moolenaar [Tue, 22 Aug 2017 20:12:17 +0000 (22:12 +0200)]
patch 8.0.0985: libvterm has its own idea of character width
Problem: Libvterm has its own idea of character width.
Solution: Use the Vim functions for character width and composing to avoid a
mismatch. (idea by Yasuhiro Matsumoto)
Bram Moolenaar [Tue, 22 Aug 2017 18:33:53 +0000 (20:33 +0200)]
patch 8.0.0984: terminal blinking cursor not correct in the GUI
Problem: Terminal blinking cursor not correct in the GUI.
Solution: Set blinkoff correctly. Also make the cursor blink on MS-Windows
by default. (Ken Takata)
Bram Moolenaar [Mon, 21 Aug 2017 20:06:02 +0000 (22:06 +0200)]
patch 8.0.0983: unnecessary check for NULL pointer
Problem: Unnecessary check for NULL pointer.
Solution: Remove the NULL check in dialog_changed(), it already happens in
dialog_msg(). (Ken Takata)
Bram Moolenaar [Mon, 21 Aug 2017 20:01:27 +0000 (22:01 +0200)]
patch 8.0.0982: cannot use a terminal when 'encoding' is non-utf8 multi-byte
Problem: When 'encoding' is set to a multi-byte encoding other than utf-8
the characters from ther terminal are messed up.
Solution: Convert displayed text from utf-8 to 'encoding' for MS-Windows.
(Yasuhiro Matsumoto, close #2000)
Bram Moolenaar [Mon, 21 Aug 2017 19:39:28 +0000 (21:39 +0200)]
patch 8.0.0981: cursor in terminal window blinks by default
Problem: Cursor in terminal window blinks by default, while in a real xterm
it does not blink, unless the -bc argument is used.
Solution: Do not use a blinking cursor by default.
Bram Moolenaar [Mon, 21 Aug 2017 19:07:29 +0000 (21:07 +0200)]
patch 8.0.0980: Coverity warning for failing to open /dev/null
Problem: Coverity warning for failing to open /dev/null.
Solution: When /dev/null can't be opened exit the child.
Bram Moolenaar [Sun, 20 Aug 2017 18:21:23 +0000 (20:21 +0200)]
patch 8.0.0979: terminal noblock test fails on MS-Windows
Problem: Terminal noblock test fails on MS-Windows. (Christian Brabandt)
Solution: Ignore empty line below "done".
Bram Moolenaar [Sun, 20 Aug 2017 17:33:47 +0000 (19:33 +0200)]
patch 8.0.0978: writing to terminal job is not tested
Problem: Writing to terminal job is not tested.
Solution: Add a test.
Bram Moolenaar [Sun, 20 Aug 2017 17:22:56 +0000 (19:22 +0200)]
patch 8.0.0977: cannot send lines to a terminal job on MS-Windows
Problem: Cannot send lines to a terminal job on MS-Windows.
Solution: Set jv_in_buf. Command doesn't get EOF yet though.
Bram Moolenaar [Sun, 20 Aug 2017 16:09:14 +0000 (18:09 +0200)]
patch 8.0.0976: cannot send lines to a terminal job
Problem: Cannot send lines to a terminal job.
Solution: Make [range]terminal send selected lines to the job.
Use ++rows and ++cols for the terminal size.
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.