]> granicus.if.org Git - vim/log
vim
7 years agopatch 8.0.1111: syntax error in configure when using Perl v8.0.1111
Bram Moolenaar [Fri, 15 Sep 2017 10:40:53 +0000 (12:40 +0200)]
patch 8.0.1111: syntax error in configure when using Perl

Problem:    Syntax error in configure when using Perl.
Solution:   Add missing quote

7 years agopatch 8.0.1110: FORTIFY_SOURCE from Perl causes problems v8.0.1110
Bram Moolenaar [Thu, 14 Sep 2017 21:06:23 +0000 (23:06 +0200)]
patch 8.0.1110: FORTIFY_SOURCE from Perl causes problems

Problem:    FORTIFY_SOURCE from Perl causes problems. (Scott Baker)
Solution:   Filter out the flag. (Christian Brabandt, closes #2068)

7 years agopatch 8.0.1109: timer causes error on exit from Ex mode v8.0.1109
Bram Moolenaar [Thu, 14 Sep 2017 20:55:37 +0000 (22:55 +0200)]
patch 8.0.1109: timer causes error on exit from Ex mode

Problem:    Timer causes error on exit from Ex mode. (xtal8)
Solution:   save and restore the ex_pressedreturn flag. (Christian Brabandt,
            closes #2079)

7 years agopatch 8.0.1108: cannot specify mappings for the terminal window v8.0.1108
Bram Moolenaar [Thu, 14 Sep 2017 18:37:57 +0000 (20:37 +0200)]
patch 8.0.1108: cannot specify mappings for the terminal window

Problem:    Cannot specify mappings for the terminal window.
Solution:   Add the :tmap command and associated code.  (Jacob Askeland,
            closes #2073)

7 years agopatch 8.0.1107: terminal debugger jumps to non-existing file v8.0.1107
Bram Moolenaar [Thu, 14 Sep 2017 14:10:38 +0000 (16:10 +0200)]
patch 8.0.1107: terminal debugger jumps to non-existing file

Problem:    Terminal debugger jumps to non-existing file.
Solution:   Check that the file exists.  Add an option to make the Vim wide
            wide. Fix removing highlight groups.

7 years agopatch 8.0.1106: terminal colors wrong on an MS-Windows console v8.0.1106
Bram Moolenaar [Thu, 14 Sep 2017 13:55:13 +0000 (15:55 +0200)]
patch 8.0.1106: terminal colors wrong on an MS-Windows console

Problem:    Terminal colors on an MS-Windows console are not matching the
            normal colors.
Solution:   Use the normal colors for the terminal. (Yasuhiro Matsumoto,
            closes #2087)

7 years agopatch 8.0.1105: match() and matchend() are not tested v8.0.1105
Bram Moolenaar [Thu, 14 Sep 2017 12:31:18 +0000 (14:31 +0200)]
patch 8.0.1105: match() and matchend() are not tested

Problem:    match() and matchend() are not tested.
Solution:   Add tests. (Ozaki Kiichi, closes #2088)

7 years agopatch 8.0.1104: the qf_jump() function is too long v8.0.1104
Bram Moolenaar [Thu, 14 Sep 2017 11:57:37 +0000 (13:57 +0200)]
patch 8.0.1104: the qf_jump() function is too long

Problem:    The qf_jump() function is too long.
Solution:   Split of parts to separate functions. (Yegappan Lakshmanan)

7 years agopatch 8.0.1103: converting cterm color fails for grey ramp v8.0.1103
Bram Moolenaar [Thu, 14 Sep 2017 11:37:00 +0000 (13:37 +0200)]
patch 8.0.1103: converting cterm color fails for grey ramp

Problem:    Converting cterm color fails for grey ramp.
Solution:   Use index instead of number.

7 years agopatch 8.0.1102: terminal window does not use Normal colors v8.0.1102
Bram Moolenaar [Wed, 13 Sep 2017 22:00:44 +0000 (00:00 +0200)]
patch 8.0.1102: terminal window does not use Normal colors

Problem:    Terminal window does not use Normal colors.
Solution:   For the GUI and when 'termguicolors' is enabled, use the actual
            foreground and background colors for the terminal.  (Yasuhiro
            Matsumoto, closes #2067)
            Use the "Terminal" highlight group if defined.

7 years agopatch 8.0.1101: channel write fails if writing to log fails v8.0.1101
Bram Moolenaar [Wed, 13 Sep 2017 20:18:01 +0000 (22:18 +0200)]
patch 8.0.1101: channel write fails if writing to log fails

Problem:    Channel write fails if writing to log fails.
Solution:   Ignore return value of fwrite(). (Ozaki Kiichi, closes #2081)

7 years agopatch 8.0.1100: stuck in redraw loop when 'lazyredraw' is set v8.0.1100
Bram Moolenaar [Wed, 13 Sep 2017 20:11:35 +0000 (22:11 +0200)]
patch 8.0.1100: stuck in redraw loop when 'lazyredraw' is set

Problem:    Stuck in redraw loop when 'lazyredraw' is set.
Solution:   Don't loop on update_screen() when not redrawing. (Yasuhiro
            Matsumoto, closes #2082)

7 years agopatch 8.0.1099: warnings for GDK calls v8.0.1099
Bram Moolenaar [Wed, 13 Sep 2017 20:09:58 +0000 (22:09 +0200)]
patch 8.0.1099: warnings for GDK calls

Problem:    Warnings for GDK calls.
Solution:   Use other calls for GTK 3 and fix a few problems. (Kazunobu
            Kuriyama)

7 years agopatch 8.0.1098: build failure if libvterm installed v8.0.1098
Bram Moolenaar [Tue, 12 Sep 2017 20:59:58 +0000 (22:59 +0200)]
patch 8.0.1098: build failure if libvterm installed

Problem:    Build failure if libvterm installed on the system. (Oleh
            Hushchenkov)
Solution:   Change the CCCTERM argument order. (Ken Takata, closes #2080)

7 years agopatch 8.0.1097: background color wrong if job changes background color v8.0.1097
Bram Moolenaar [Mon, 11 Sep 2017 21:05:44 +0000 (23:05 +0200)]
patch 8.0.1097: background color wrong if job changes background color

Problem:    Background color wrong if job changes background color.
Solution:   Get the background color from vterm.

7 years agopatch 8.0.1096: terminal window in Normal mode has wrong background v8.0.1096
Bram Moolenaar [Mon, 11 Sep 2017 20:00:51 +0000 (22:00 +0200)]
patch 8.0.1096: terminal window in Normal mode has wrong background

Problem:    Terminal window in Normal mode has wrong background.
Solution:   Store the default background and use it for clearning until the
            end of the line.  Not for below the last line, since there is no
            text there.

7 years agopatch 8.0.1095: terminal multibyte escrape test is flaky v8.0.1095
Bram Moolenaar [Mon, 11 Sep 2017 18:45:23 +0000 (20:45 +0200)]
patch 8.0.1095: terminal multibyte escrape test is flaky

Problem:    Terminal multibyte escrape test is flaky.
Solution:   Add another condition to wait for.

7 years agopatch 8.0.1094: using ssh from Terminal.app runs into xterm incompatibility v8.0.1094
Bram Moolenaar [Mon, 11 Sep 2017 18:34:13 +0000 (20:34 +0200)]
patch 8.0.1094: using ssh from Terminal.app runs into xterm incompatibility

Problem:    Using ssh from Terminal.app runs into xterm incompatibility.
Solution:   Also detect Terminal.app on non-Mac systems.

7 years agopatch 8.0.1093: various small quickfix issues v8.0.1093
Bram Moolenaar [Mon, 11 Sep 2017 17:31:28 +0000 (19:31 +0200)]
patch 8.0.1093: various small quickfix issues

Problem:    Various small quickfix issues.
Solution:   Remove ":" prefix from title set by a user. Add the qf_id2nr().
            function. Add a couple more tests.  Update documentation.
            (Yegappan Lakshmanan)

7 years agopatch 8.0.1092: terminal debugger can't evaluate expressions v8.0.1092
Bram Moolenaar [Sun, 10 Sep 2017 17:14:31 +0000 (19:14 +0200)]
patch 8.0.1092: terminal debugger can't evaluate expressions

Problem:    Terminal debugger can't evaluate expressions.
Solution:   Add :Evaluate and K.  Various other improvements.

7 years agopatch 8.0.1091: test for <cexpr> fails without +balloon_eval feature v8.0.1091
Bram Moolenaar [Sun, 10 Sep 2017 16:44:29 +0000 (18:44 +0200)]
patch 8.0.1091: test for <cexpr> fails without +balloon_eval feature

Problem:    Test for <cexpr> fails without +balloon_eval feature.
Solution:   Remove #ifdefs.

7 years agopatch 8.0.1090: cannot get the text under the cursor like v:beval_text v8.0.1090
Bram Moolenaar [Sun, 10 Sep 2017 16:16:20 +0000 (18:16 +0200)]
patch 8.0.1090: cannot get the text under the cursor like v:beval_text

Problem:    cannot get the text under the cursor like v:beval_text
Solution:   Add <cexpr>.

7 years agopatch 8.0.1089: cannot get range count in user command v8.0.1089
Bram Moolenaar [Sun, 10 Sep 2017 15:34:35 +0000 (17:34 +0200)]
patch 8.0.1089: cannot get range count in user command

Problem:    Cannot get range count in user command.
Solution:   Add <range> argument.

7 years agopatch 8.0.1088: occasional memory use after free v8.0.1088
Bram Moolenaar [Sun, 10 Sep 2017 13:21:55 +0000 (15:21 +0200)]
patch 8.0.1088: occasional memory use after free

Problem:    Occasional memory use after free.
Solution:   Use the highlight table directly, don't keep a pointer.

7 years agopatch 8.0.1087: Test_terminal_cwd is flaky v8.0.1087
Bram Moolenaar [Sun, 10 Sep 2017 12:25:49 +0000 (14:25 +0200)]
patch 8.0.1087: Test_terminal_cwd is flaky

Problem:    Test_terminal_cwd is flaky. MS-Windows: term_start() "cwd"
            argument does not work.
Solution:   Wait for the condition to be true instead of using a sleep.
            Pass the directory to winpty.

7 years agopatch 8.0.1086: can't build with GTK 3 v8.0.1086
Bram Moolenaar [Sat, 9 Sep 2017 21:00:56 +0000 (23:00 +0200)]
patch 8.0.1086: can't build with GTK 3

Problem:    Can't build with GTK 3.
Solution:   Rename function argument. (Kazunobu Kuriyama)

7 years agopatch 8.0.1085: terminal debugger can't set breakpoints v8.0.1085
Bram Moolenaar [Sat, 9 Sep 2017 20:19:47 +0000 (22:19 +0200)]
patch 8.0.1085: terminal debugger can't set breakpoints

Problem:    The terminal debugger can't set breakpoints.
Solution:   Add :Break and :Delete commands.  Also commands for stepping
            through code.

7 years agopatch 8.0.1084: GTK build has compiler warnings v8.0.1084
Bram Moolenaar [Sat, 9 Sep 2017 16:45:26 +0000 (18:45 +0200)]
patch 8.0.1084: GTK build has compiler warnings

Problem:    GTK build has compiler warnings. (Christian Brabandt)
Solution:   Get screen size with a different function. (Ken Takata, Yasuhiro
            Matsumoto)

7 years agopatch 8.0.1083: leaking memory in input part of channel v8.0.1083
Bram Moolenaar [Sat, 9 Sep 2017 16:16:43 +0000 (18:16 +0200)]
patch 8.0.1083: leaking memory in input part of channel

Problem:    Leaking memory in input part of channel.
Solution:   Clear the input part of channel.  Free the entry. Move failing
            command test to a separate file to avoid bogus leak reports
            clouding tests that should not leak.

7 years agopatch 8.0.1082: tests fail when run under valgrind v8.0.1082
Bram Moolenaar [Sat, 9 Sep 2017 16:11:00 +0000 (18:11 +0200)]
patch 8.0.1082: tests fail when run under valgrind

Problem:    Tests fail when run under valgrind.
Solution:   Increase waiting times.

7 years agopatch 8.0.1081: memory leak for the channel write queue v8.0.1081
Bram Moolenaar [Sat, 9 Sep 2017 14:42:53 +0000 (16:42 +0200)]
patch 8.0.1081: memory leak for the channel write queue

Problem:    Memory leak for the channel write queue.
Solution:   Free the write queue when clearing a channel.

7 years agopatch 8.0.1080: memory leak for eof_chars terminal option and buffer name v8.0.1080
Bram Moolenaar [Sat, 9 Sep 2017 14:34:32 +0000 (16:34 +0200)]
patch 8.0.1080: memory leak for eof_chars terminal option and buffer name

Problem:    Memory leak for eof_chars terminal option and buffer name.
Solution:   Free job options. Free the buffer name

7 years agopatch 8.0.1079: memory leak when remote_foreground() fails v8.0.1079
Bram Moolenaar [Sat, 9 Sep 2017 14:25:54 +0000 (16:25 +0200)]
patch 8.0.1079: memory leak when remote_foreground() fails

Problem:    Memory leak when remote_foreground() fails.
Solution:   Free the error message.

7 years agopatch 8.0.1078: using freed memory with ":hi Normal" v8.0.1078
Bram Moolenaar [Sat, 9 Sep 2017 13:28:14 +0000 (15:28 +0200)]
patch 8.0.1078: using freed memory with ":hi Normal"

Problem:    Using freed memory with ":hi Normal".
Solution:   Get "item" again after updating the table.

7 years agopatch 8.0.1077: no debugger making use of the terminal window v8.0.1077
Bram Moolenaar [Fri, 8 Sep 2017 19:10:04 +0000 (21:10 +0200)]
patch 8.0.1077: no debugger making use of the terminal window

Problem:    No debugger making use of the terminal window.
Solution:   Add the term debugger plugin.  So far only displays the current
            line when stopped.

7 years agopatch 8.0.1076: term_start() does not take callbacks v8.0.1076
Bram Moolenaar [Fri, 8 Sep 2017 18:47:00 +0000 (20:47 +0200)]
patch 8.0.1076: term_start() does not take callbacks

Problem:    term_start() does not take callbacks. When using two terminals
            without a job only one is read from.  A terminal without a window
            returns the wrong pty.
Solution:   Support "callback", "out_cb" and "err_cb".  Fix terminal without a
            window. Fix reading from multiple channels.

7 years agopatch 8.0.1075: MS-Windows: mouse does not work in terminal v8.0.1075
Bram Moolenaar [Fri, 8 Sep 2017 14:25:54 +0000 (16:25 +0200)]
patch 8.0.1075: MS-Windows: mouse does not work in terminal

Problem:    MS-Windows: mouse does not work in terminal.
Solution:   Force the winpty mouse on. (Yasuhiro Matsumoto, closes #2072)

7 years agopatch 8.0.1074: ":term NONE" does not work on MS-Windows v8.0.1074
Bram Moolenaar [Fri, 8 Sep 2017 12:39:30 +0000 (14:39 +0200)]
patch 8.0.1074: ":term NONE" does not work on MS-Windows

Problem:    ":term NONE" does not work on MS-Windows.
Solution:   Make it work.  Split "pty" into "pty_in" and "pty_out". (Yasuhiro
            Matsumoto, closes #2058, closes #2045)

7 years agopatch 8.0.1073: may get an endless loop if 'statusline' changes a highlight v8.0.1073
Bram Moolenaar [Fri, 8 Sep 2017 11:59:21 +0000 (13:59 +0200)]
patch 8.0.1073: may get an endless loop if 'statusline' changes a highlight

Problem:    May get an endless loop if 'statusline' changes a highlight.
Solution:   Do not let evaluating 'statusline' trigger a redraw.

7 years agopatch 8.0.1072: :highlight command causes a redraw even when nothing changed v8.0.1072
Bram Moolenaar [Fri, 8 Sep 2017 10:37:47 +0000 (12:37 +0200)]
patch 8.0.1072: :highlight command causes a redraw even when nothing changed

Problem:    The :highlight command causes a redraw even when nothing changed.
Solution:   Only set "need_highlight_changed" when an attribute changed.

7 years agopatch 8.0.1071: putty-color and cygwin-color are not recognized v8.0.1071
Bram Moolenaar [Thu, 7 Sep 2017 20:37:36 +0000 (22:37 +0200)]
patch 8.0.1071: putty-color and cygwin-color are not recognized

Problem:    $TERM names starting with "putty" and "cygwin" are likely to have
            a dark background, but are not recognized.
Solution:   Only check the first few characters of $TERM to match "putty" or
            "cygwin". (Christian Brabandt)

7 years agopatch 8.0.1070: terminal test is flaky on Mac v8.0.1070
Bram Moolenaar [Thu, 7 Sep 2017 20:24:41 +0000 (22:24 +0200)]
patch 8.0.1070: terminal test is flaky on Mac

Problem:    Terminal test is flaky on Mac.
Solution:   Add Test_terminal_noblock() to list of flaky tests.

7 years agopatch 8.0.1069: still get CTRL-X sometimes v8.0.1069
Bram Moolenaar [Thu, 7 Sep 2017 18:18:40 +0000 (20:18 +0200)]
patch 8.0.1069: still get CTRL-X sometimes

Problem:    Still get CTRL-X sometimes for t_RS request.
Solution:   Also skip 0x18 after a key code response.

7 years agopatch 8.0.1068: vandyke SecureCRT terminal can't handle cursor mode request v8.0.1068
Bram Moolenaar [Thu, 7 Sep 2017 10:59:25 +0000 (12:59 +0200)]
patch 8.0.1068: vandyke SecureCRT terminal can't handle cursor mode request

Problem:    Vandyke SecureCRT terminal can't handle cursor mode request.
            (Steven Hartland)
Solution:   Fix pointer computation. (closes #2008)

7 years agopatch 8.0.1067: try/catch in timer does not prevent it from being stopped v8.0.1067
Bram Moolenaar [Wed, 6 Sep 2017 21:40:10 +0000 (23:40 +0200)]
patch 8.0.1067: try/catch in timer does not prevent it from being stopped

Problem:    Using try/catch in timer does not prevent it from being stopped.
Solution:   Reset the exception context and use did_emsg instead of
            called_emsg.

7 years agopatch 8.0.1066: some terminals can't handle requesting cursor mode v8.0.1066
Bram Moolenaar [Wed, 6 Sep 2017 20:08:16 +0000 (22:08 +0200)]
patch 8.0.1066: some terminals can't handle requesting cursor mode

Problem:    Some terminals can't handle requesting cursor mode. (Steven
            Hartland)
Solution:   Recognize vandyke SecureCRT. (closes #2008)

7 years agopatch 8.0.1065: not all macro examples are included v8.0.1065
Bram Moolenaar [Wed, 6 Sep 2017 19:43:10 +0000 (21:43 +0200)]
patch 8.0.1065: not all macro examples are included

Problem:    Not all macro examples are included in the self-installing
            executable. (lkintact)
Solution:   Add the directories to the NSIS script. (closes #2065)

7 years agopatch 8.0.1064: Coverity warns for leaking resource v8.0.1064
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.

7 years agopatch 8.0.1063: Coverity warns for NULL check and array use v8.0.1063
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.

7 years agopatch 8.0.1062: Coverity warnings in libvterm v8.0.1062
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".

7 years agopatch 8.0.1061: Coverity: no check for NULL command v8.0.1061
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.

7 years agopatch 8.0.1060: when imstyle is one, mapping <Left> breaks preediting v8.0.1060
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)

7 years agopatch 8.0.1059: older Gnome terminal returns smaller version number v8.0.1059
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)

7 years agopatch 8.0.1058: terminal redirection test is flaky v8.0.1058
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.

7 years agopatch 8.0.1057: terminal scrape test waits too long v8.0.1057
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)

7 years agopatch 8.0.1056: cannot build with +diff but without +multi_byte v8.0.1056
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)

7 years agopatch 8.0.1055: bufline test hangs on MS-Windows v8.0.1055
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.

7 years agopatch 8.0.1054: terminal test fails on MS-Windows v8.0.1054
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.

7 years agopatch 8.0.1053: setline() does not work on startup v8.0.1053
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)

7 years agopatch 8.0.1052: term_start() does not allow in_io, out_io and err_io options v8.0.1052
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().

7 years agopatch 8.0.1051: cannot run terminal with spaces in argument v8.0.1051
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)

7 years agopatch 8.0.1050: terminal window feature not included by default v8.0.1050
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.

7 years agopatch 8.0.1049: shell on Mac can't handle long text v8.0.1049
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.

7 years agopatch 8.0.1048: no test for what 8.0.1020 fixes v8.0.1048
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)

7 years agopatch 8.0.1047: buffer overflow in Ruby v8.0.1047
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)

7 years agopatch 8.0.1046: code duplication in diff mode v8.0.1046
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)

7 years agopatch 8.0.1045: running tests may pollute shell history v8.0.1045
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.

7 years agopatch 8.0.1044: warning for uninitialized variable v8.0.1044
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.

7 years agopatch 8.0.1043: warning for uninitialized variable v8.0.1043
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".

7 years agopatch 8.0.1042: without the syntax feature highlighting doesn't work v8.0.1042
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.

7 years agopatch 8.0.1041: bogus characters when indenting during visual-block append v8.0.1041
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)

7 years agopatch 8.0.1040: cannot use another error format in getqflist() v8.0.1040
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)

7 years agopatch 8.0.1039: cannot change a line in not current buffer v8.0.1039
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)

7 years agopatch 8.0.1038: strike-through text not supported v8.0.1038
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)

7 years agopatch 8.0.1037: "icase" of 'diffopt' is not used for highlighting v8.0.1037
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)

7 years agopatch 8.0.1036: ++eof argument for terminal only available on MS-Windows v8.0.1036
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.

7 years agopatch 8.0.1035: sending buffer lines to terminal doesn't work on MS-Windows v8.0.1035
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.

7 years agopatch 8.0.1034: sending buffer lines to terminal doesn't work on MS-Windows v8.0.1034
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.

7 years agopatch 8.0.1033: detecting background color does not work in screen v8.0.1033
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.

7 years agopatch 8.0.1032: "make tags" doesn't work well on MS-Windows v8.0.1032
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)

7 years agopatch 8.0.1031: "text" argument for getqflist() is confusing v8.0.1031
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)

7 years agopatch 8.0.1030: MS-Windows: wrong size computation in is_cygpty() v8.0.1030
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)

7 years agopatch 8.0.1029: return value of getqflist() is inconsistent v8.0.1029
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.

7 years agopatch 8.0.1028: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set v8.0.1028
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:/".

7 years agopatch 8.0.1027: more terminals can't handle requesting cursor mode v8.0.1027
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.

7 years agopatch 8.0.1026: GTK on-the-spot input has problems v8.0.1026
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)

7 years agopatch 8.0.1025: stray copy command in test v8.0.1025
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.

7 years agopatch 8.0.1024: folds lost when session file has a buffer in two windows v8.0.1024
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)

7 years agopatch 8.0.1023: it is not easy to identify a quickfix list v8.0.1023
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)

7 years agopatch 8.0.1022: test 80 is old style v8.0.1022
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)

7 years agopatch 8.0.1021: older Gnome terminal still echoes t_RC v8.0.1021
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.

7 years agopatch 8.0.1020: when a timer calls getchar(1) input is overwritten v8.0.1020
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)

7 years agopatch 8.0.1019: pasting in virtual edit happens in the wrong place v8.0.1019
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)

7 years agopatch 8.0.1018: warnings from 64-bit compiler v8.0.1018
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.

7 years agopatch 8.0.1017: test for MS-Windows $HOME always passes v8.0.1017
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.

7 years agopatch 8.0.1016: gnome terminal echoes t_RC v8.0.1016
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.

7 years agopatch 8.0.1015: missing update to terminal test v8.0.1015
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.

7 years agopatch 8.0.1014: old compiler doesn't know uint32_t v8.0.1014
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.

7 years agopatch 8.0.1013: terminal window behaves different from a buffer with changes v8.0.1013
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]".

7 years agopatch 8.0.1012: MS-Windows: problem with $HOME when is was set internally v8.0.1012
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)