]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.2087: Vim9: memory leak when statement is truncated v8.2.2087
Bram Moolenaar [Fri, 4 Dec 2020 11:43:29 +0000 (12:43 +0100)]
patch 8.2.2087: Vim9: memory leak when statement is truncated

Problem:    Vim9: memory leak when statement is truncated.
Solution:   Increment the number of local variables.

4 years agopatch 8.2.2086: libvterm tests are only run on Linux v8.2.2086
Bram Moolenaar [Thu, 3 Dec 2020 20:24:07 +0000 (21:24 +0100)]
patch 8.2.2086: libvterm tests are only run on Linux

Problem:    Libvterm tests are only run on Linux.
Solution:   Use static libraries. (Ozaki Kiichi, closes #7419)

4 years agopatch 8.2.2085: Qt translation file is recognized as typescript v8.2.2085
Bram Moolenaar [Thu, 3 Dec 2020 20:08:37 +0000 (21:08 +0100)]
patch 8.2.2085: Qt translation file is recognized as typescript

Problem:    Qt translation file is recognized as typescript.
Solution:   Check the first line for "<?xml". (closes #7418)

4 years agopatch 8.2.2084: CTRL-V U doesn't work to enter a Unicode character v8.2.2084
Bram Moolenaar [Thu, 3 Dec 2020 18:54:42 +0000 (19:54 +0100)]
patch 8.2.2084: CTRL-V U doesn't work to enter a Unicode character

Problem:    CTRL-V U doesn't work to enter a Unicode character when
            modifyOtherKeys is effective. (Ken Takata)
Solution:   Add a flag to get_literal() for the shift key. (closes #7413)

4 years agopatch 8.2.2083: Vim9: crash when using ":silent!" and getting member fails v8.2.2083
Bram Moolenaar [Wed, 2 Dec 2020 19:51:22 +0000 (20:51 +0100)]
patch 8.2.2083: Vim9: crash when using ":silent!" and getting member fails

Problem:    Vim9: crash when using ":silent!" and getting member fails.
Solution:   Jump to on_fatal_error. (closes #7412)

4 years agopatch 8.2.2082: Vim9: can still use the depricated #{} dict syntax v8.2.2082
Bram Moolenaar [Wed, 2 Dec 2020 16:36:54 +0000 (17:36 +0100)]
patch 8.2.2082: Vim9: can still use the depricated #{} dict syntax

Problem:    Vim9: can still use the depricated #{} dict syntax.
Solution:   Remove support for #{} in Vim9 script. (closes #7406, closes #7405)

4 years agopatch 8.2.2081: Vim9: cannot handle a linebreak after "=" in assignment v8.2.2081
Bram Moolenaar [Wed, 2 Dec 2020 14:11:18 +0000 (15:11 +0100)]
patch 8.2.2081: Vim9: cannot handle a linebreak after "=" in assignment

Problem:    Vim9: cannot handle a linebreak after "=" in assignment.
Solution:   Skip over linebreak. (closes #7407)

4 years agopatch 8.2.2080: Vim9: no proper error message for using s:var in for loop v8.2.2080
Bram Moolenaar [Wed, 2 Dec 2020 13:24:30 +0000 (14:24 +0100)]
patch 8.2.2080: Vim9: no proper error message for using s:var in for loop

Problem:    Vim9: no proper error message for using s:var in for loop.
Solution:   Give a specific error.

4 years agopatch 8.2.2079: Vim9: cannot put a linebreak before or after "in" of ":for" v8.2.2079
Bram Moolenaar [Wed, 2 Dec 2020 12:23:36 +0000 (13:23 +0100)]
patch 8.2.2079: Vim9: cannot put a linebreak before or after "in" of ":for"

Problem:    Vim9: cannot put a linebreak before or after "in" of ":for".
Solution:   Skip over linebreak.

4 years agopatch 8.2.2078: illegal memory access when using :print on invalid text v8.2.2078
Bram Moolenaar [Wed, 2 Dec 2020 11:37:37 +0000 (12:37 +0100)]
patch 8.2.2078: illegal memory access when using :print on invalid text

Problem:    Illegal memory access when using :print on invalid text. (Dhiraj
            Mishra)
Solution:   Check for more composing characters than supported. (closes #7399)

4 years agopatch 8.2.2077: build failure with small features v8.2.2077
Bram Moolenaar [Tue, 1 Dec 2020 20:47:59 +0000 (21:47 +0100)]
patch 8.2.2077: build failure with small features

Problem:    Build failure with small features.
Solution:   Add #ifdef.

4 years agopatch 8.2.2076: MS-Windows console: sometimes drops typed characters v8.2.2076
Bram Moolenaar [Tue, 1 Dec 2020 20:27:51 +0000 (21:27 +0100)]
patch 8.2.2076: MS-Windows console: sometimes drops typed characters

Problem:    MS-Windows console: sometimes drops typed characters.
Solution:   Do not wait longer than 10 msec for input. (issue #7164)

4 years agopatch 8.2.2075: error for const argument to mapnew() v8.2.2075
Bram Moolenaar [Tue, 1 Dec 2020 20:08:05 +0000 (21:08 +0100)]
patch 8.2.2075: error for const argument to mapnew()

Problem:    Error for const argument to mapnew().
Solution:   Don't give an error. (closes #7400)

4 years agopatch 8.2.2074: Vim9: using :normal from Vim9 script can't handle range v8.2.2074
Bram Moolenaar [Tue, 1 Dec 2020 19:12:24 +0000 (20:12 +0100)]
patch 8.2.2074: Vim9: using :normal from Vim9 script can't handle range

Problem:    Vim9: using :normal from Vim9 script can't handle range.
Solution:   Execute a :normal command in legacy script context. (closes #7401)

4 years agopatch 8.2.2073: Vim9: for with unpack only works for local variables v8.2.2073
Bram Moolenaar [Tue, 1 Dec 2020 15:30:44 +0000 (16:30 +0100)]
patch 8.2.2073: Vim9: for with unpack only works for local variables

Problem:    Vim9: for with unpack only works for local variables.
Solution:   Recognize different destinations.

4 years agopatch 8.2.2072: Vim9: list assign not well tested v8.2.2072
Bram Moolenaar [Mon, 30 Nov 2020 20:40:03 +0000 (21:40 +0100)]
patch 8.2.2072: Vim9: list assign not well tested

Problem:    Vim9: list assign not well tested.
Solution:   Test with different destinations.  Fix white space error.

4 years agopatch 8.2.2071: Vim9: list assign doesn't except empty remainder list v8.2.2071
Bram Moolenaar [Mon, 30 Nov 2020 20:12:19 +0000 (21:12 +0100)]
patch 8.2.2071: Vim9: list assign doesn't except empty remainder list

Problem:    Vim9: list assign doesn't except empty remainder list.
Solution:   Recognize list assignment with ";".

4 years agopatch 8.2.2070: can't get the exit value in VimLeave(Pre) autocommands v8.2.2070
Bram Moolenaar [Mon, 30 Nov 2020 16:42:10 +0000 (17:42 +0100)]
patch 8.2.2070: can't get the exit value in VimLeave(Pre) autocommands

Problem:    Can't get the exit value in VimLeave or VimLeavePre autocommands.
Solution:   Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)

4 years agoUpdate runtime files
Bram Moolenaar [Sun, 29 Nov 2020 13:36:24 +0000 (14:36 +0100)]
Update runtime files

4 years agopatch 8.2.2069: the quickfix window is not updated after setqflist() v8.2.2069
Bram Moolenaar [Sun, 29 Nov 2020 13:20:27 +0000 (14:20 +0100)]
patch 8.2.2069: the quickfix window is not updated after setqflist()

Problem:    The quickfix window is not updated after setqflist().
Solution:   Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
            closes #7385)

4 years agopatch 8.2.2068: transparent syntax item uses start/end of containing region v8.2.2068
Bram Moolenaar [Sun, 29 Nov 2020 13:11:41 +0000 (14:11 +0100)]
patch 8.2.2068: transparent syntax item uses start/end of containing region

Problem:    Transparent syntax item uses start/end of containing region.
Solution:   Do not change the startpos and endpos of a transparent region to
            that of its containing region. (Adrian Ghizaru, closes #7349,
            closes #7391)

4 years agopatch 8.2.2067: cursor position in popup terminal is wrong v8.2.2067
Bram Moolenaar [Sat, 28 Nov 2020 20:56:06 +0000 (21:56 +0100)]
patch 8.2.2067: cursor position in popup terminal is wrong

Problem:    Cursor position in popup terminal is wrong.
Solution:   Don't check the flags.

4 years agopatch 8.2.2066: Vim9: assignment with += doesn't work v8.2.2066
Bram Moolenaar [Sat, 28 Nov 2020 20:21:17 +0000 (21:21 +0100)]
patch 8.2.2066: Vim9: assignment with += doesn't work

Problem:    Vim9: assignment with += doesn't work.
Solution:   Do not see the "+" as an addition operator.

4 years agopatch 8.2.2065: using map() and filter() on a range() is inefficient v8.2.2065
Bram Moolenaar [Sat, 28 Nov 2020 19:32:29 +0000 (20:32 +0100)]
patch 8.2.2065: using map() and filter() on a range() is inefficient

Problem:    Using map() and filter() on a range() is inefficient.
Solution:   Do not materialize the range. (closes #7388)

4 years agopatch 8.2.2064: terminal: cursor is on while redrawing, causing flicker v8.2.2064
Bram Moolenaar [Sat, 28 Nov 2020 19:22:06 +0000 (20:22 +0100)]
patch 8.2.2064: terminal: cursor is on while redrawing, causing flicker

Problem:    terminal: cursor is on while redrawing, causing flicker.
Solution:   Switch the cursor off while redrawing.  Always add the top and
            left offset to the cursor position when not done already.
            (closes #5943)

4 years agopatch 8.2.2063: Vim9: only one level of indexing supported v8.2.2063
Bram Moolenaar [Sat, 28 Nov 2020 17:52:33 +0000 (18:52 +0100)]
patch 8.2.2063: Vim9: only one level of indexing supported

Problem:    Vim9: only one level of indexing supported.
Solution:   Handle more than one index in an assignment.

4 years agopatch 8.2.2062: <Cmd> does not handle CTRL-V v8.2.2062
Bram Moolenaar [Sat, 28 Nov 2020 13:43:26 +0000 (14:43 +0100)]
patch 8.2.2062: <Cmd> does not handle CTRL-V

Problem:    <Cmd> does not handle CTRL-V.
Solution:   Call get_literal() after encountering CTRL-V. (closes #7387)

4 years agopatch 8.2.2061: Vim9: E1030 error when using empty string for term_sendkeys() v8.2.2061
Bram Moolenaar [Fri, 27 Nov 2020 19:55:00 +0000 (20:55 +0100)]
patch 8.2.2061: Vim9: E1030 error when using empty string for term_sendkeys()

Problem:    Vim9: E1030 error when using empty string for term_sendkeys().
Solution:   Don't check for an invalid type unless the terminal can't be
            found. (closes #7382)

4 years agopatch 8.2.2060: check for features implemented with "if" v8.2.2060
Bram Moolenaar [Fri, 27 Nov 2020 18:13:28 +0000 (19:13 +0100)]
patch 8.2.2060: check for features implemented with "if"

Problem:    Check for features implemented with "if".
Solution:   Use the Check commands. (Ken Takata, closes #7383)

4 years agopatch 8.2.2059: Amiga: can't find plugins v8.2.2059
Bram Moolenaar [Fri, 27 Nov 2020 18:01:31 +0000 (19:01 +0100)]
patch 8.2.2059: Amiga: can't find plugins

Problem:    Amiga: can't find plugins.
Solution:   Do not use "**" in the pattern. (Ola Söder, closes #7384)

4 years agopatch 8.2.2058: using mkview/loadview changes the jumplist v8.2.2058
Bram Moolenaar [Fri, 27 Nov 2020 10:00:38 +0000 (11:00 +0100)]
patch 8.2.2058: using mkview/loadview changes the jumplist

Problem:    Using mkview/loadview changes the jumplist.
Solution:   Use ":keepjumps".  Don't let ":badd" or ":balt" change the
            jumplist. (closes #7371)

4 years agopatch 8.2.2057: getting the selection may trigger TextYankPost autocmd v8.2.2057
Bram Moolenaar [Thu, 26 Nov 2020 19:34:00 +0000 (20:34 +0100)]
patch 8.2.2057: getting the selection may trigger TextYankPost autocmd

Problem:    Getting the selection may trigger TextYankPost autocmd.
Solution:   Only trigger the autocommand when yanking in Vim, not for getting
            the selection. (closes #7367)

4 years agopatch 8.2.2056: configure fails when building with implicit-function-declaration v8.2.2056
Bram Moolenaar [Thu, 26 Nov 2020 19:11:11 +0000 (20:11 +0100)]
patch 8.2.2056: configure fails when building with implicit-function-declaration

Problem:    Configure fails when building with the
            "implicit-function-declaration" error enabled, specifically on Mac.
Solution:   Declear the functions like in the source code. (suggestion by
            Clemens Lang, closes #7380)

4 years agopatch 8.2.2055: MS-Windows: two Vim instances may use the same temp file v8.2.2055
Bram Moolenaar [Thu, 26 Nov 2020 18:47:28 +0000 (19:47 +0100)]
patch 8.2.2055: MS-Windows: two Vim instances may use the same temp file

Problem:    MS-Windows: two Vim instances may use the same temp file.
Solution:   Use the process ID for the temp name. (Ken Takata, closes #7378)

4 years agopatch 8.2.2054: Amiga: FEAT_ARP defined when it should not v8.2.2054
Bram Moolenaar [Wed, 25 Nov 2020 20:55:45 +0000 (21:55 +0100)]
patch 8.2.2054: Amiga: FEAT_ARP defined when it should not

Problem:    Amiga: FEAT_ARP defined when it should not.
Solution:   Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)

4 years agopatch 8.2.2053: Vim9: lamba doesn't accept argument types v8.2.2053
Bram Moolenaar [Wed, 25 Nov 2020 20:30:11 +0000 (21:30 +0100)]
patch 8.2.2053: Vim9: lamba doesn't accept argument types

Problem:    Vim9: lamba doesn't accept argument types.
Solution:   Optionally accept argument types at the script level.

4 years agopatch 8.2.2052: Vim9: "edit +4 fname" gives an error v8.2.2052
Bram Moolenaar [Wed, 25 Nov 2020 19:12:11 +0000 (20:12 +0100)]
patch 8.2.2052: Vim9: "edit +4 fname" gives an error

Problem:    Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
Solution:   Allow using a range in the +cmd argument. (closes #7364)

4 years agopatch 8.2.2051: Vim9: crash when aborting a user function call v8.2.2051
Bram Moolenaar [Wed, 25 Nov 2020 18:15:19 +0000 (19:15 +0100)]
patch 8.2.2051: Vim9: crash when aborting a user function call

Problem:    Vim9: crash when aborting a user function call.
Solution:   Do not use the return value when aboring. (closes #7372)

4 years agopatch 8.2.2050: search test contains unneeded sleeps v8.2.2050
Bram Moolenaar [Wed, 25 Nov 2020 16:41:20 +0000 (17:41 +0100)]
patch 8.2.2050: search test contains unneeded sleeps

Problem:    Search test contains unneeded sleeps.
Solution:   Rename the function, remove sleeps. (Christian Brabandt,
            closes #7369)

4 years agopatch 8.2.2049: Amiga: obsolete function v8.2.2049
Bram Moolenaar [Wed, 25 Nov 2020 16:00:43 +0000 (17:00 +0100)]
patch 8.2.2049: Amiga: obsolete function

Problem:    Amiga: obsolete function.
Solution:   Remove the function. (Ola Söder, closes #7374)

4 years agopatch 8.2.2048: Amiga: obsolete code v8.2.2048
Bram Moolenaar [Wed, 25 Nov 2020 14:52:31 +0000 (15:52 +0100)]
patch 8.2.2048: Amiga: obsolete code

Problem:    Amiga: obsolete code.
Solution:   Remove the unused lines. (Ola Söder, closes #7373)

4 years agopatch 8.2.2047: Amiga: FEAT_ARP defined when it should not v8.2.2047
Bram Moolenaar [Wed, 25 Nov 2020 14:45:38 +0000 (15:45 +0100)]
patch 8.2.2047: Amiga: FEAT_ARP defined when it should not

Problem:    Amiga: FEAT_ARP defined when it should not.
Solution:   Adjust #ifdef. (Ola Söder, closes #7370)

4 years agopatch 8.2.2046: some test failures don't give a clear error v8.2.2046
Bram Moolenaar [Wed, 25 Nov 2020 13:15:12 +0000 (14:15 +0100)]
patch 8.2.2046: some test failures don't give a clear error

Problem:    Some test failures don't give a clear error.
Solution:   Use assert_match() and assert_fails() instead of assert_true().
            (Ken Takata, closes #7368)

4 years agopatch 8.2.2045: highlighting a character too much with incsearch v8.2.2045
Bram Moolenaar [Wed, 25 Nov 2020 12:49:27 +0000 (13:49 +0100)]
patch 8.2.2045: highlighting a character too much with incsearch

Problem:    Highlighting a character too much with incsearch.
Solution:   Check "search_match_endcol". (Christian Brabandt, closes #7360)

4 years agopatch 8.2.2044: MS-Windows: swap file test sometimes fails v8.2.2044
Bram Moolenaar [Wed, 25 Nov 2020 11:43:28 +0000 (12:43 +0100)]
patch 8.2.2044: MS-Windows: swap file test sometimes fails

Problem:    MS-Windows: swap file test sometimes fails.
Solution:   Use a more reliable way to change the process ID. When "timeout"
            fails use "ping" to wait up to ten minutes. (Ken Takata,
            closes #7365)

4 years agopatch 8.2.2043: GTK3: white border around text stands out v8.2.2043
Bram Moolenaar [Wed, 25 Nov 2020 11:25:47 +0000 (12:25 +0100)]
patch 8.2.2043: GTK3: white border around text stands out

Problem:    GTK3: white border around text stands out.
Solution:   Use current theme color. (closes #7357, issue #349)

4 years agopatch 8.2.2042: build failure with +profile but without +reltime v8.2.2042
Bram Moolenaar [Wed, 25 Nov 2020 10:47:39 +0000 (11:47 +0100)]
patch 8.2.2042: build failure with +profile but without +reltime

Problem:    Build failure with +profile but without +reltime.
Solution:   Adjust #ifdef. (Christian Brabandt, closes #7361)

4 years agopatch 8.2.2041: haskell filetype not optimally recognized v8.2.2041
Bram Moolenaar [Tue, 24 Nov 2020 19:13:26 +0000 (20:13 +0100)]
patch 8.2.2041: haskell filetype not optimally recognized

Problem:    Haskell filetype not optimally recognized.
Solution:   Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
            closes #7354)

4 years agopatch 8.2.2040: terminal buffer disappears even when 'bufhidden' is "hide" v8.2.2040
Bram Moolenaar [Tue, 24 Nov 2020 18:36:16 +0000 (19:36 +0100)]
patch 8.2.2040: terminal buffer disappears even when 'bufhidden' is "hide"

Problem:    Terminal buffer disappears even when 'bufhidden' is "hide".
            (Sergey Vlasov)
Solution:   Check 'bufhiddden' when a terminal buffer becomes hidden.
            (closes #7358)

4 years agopatch 8.2.2039: viminfo is not written when creating a new file v8.2.2039
Bram Moolenaar [Mon, 23 Nov 2020 21:01:26 +0000 (22:01 +0100)]
patch 8.2.2039: viminfo is not written when creating a new file

Problem:    Viminfo is not written when creating a new file.
Solution:   Set "b_marks_read" in the new buffer. (Christian Brabandt,
            closes #7350)

4 years agopatch 8.2.2038: compiler test fails on MS-Windows v8.2.2038
Bram Moolenaar [Mon, 23 Nov 2020 20:39:14 +0000 (21:39 +0100)]
patch 8.2.2038: compiler test fails on MS-Windows

Problem:    Compiler test fails on MS-Windows.
Solution:   Sort the found compiler plugin names.

4 years agopatch 8.2.2037: compiler test depends on list of compiler plugins v8.2.2037
Bram Moolenaar [Mon, 23 Nov 2020 20:24:58 +0000 (21:24 +0100)]
patch 8.2.2037: compiler test depends on list of compiler plugins

Problem:    Compiler test depends on list of compiler plugins.
Solution:   Compare with the actual list of compiler plugins.

4 years agopatch 8.2.2036: buffer messed up if creating the quickfix window fails v8.2.2036
Bram Moolenaar [Mon, 23 Nov 2020 19:15:08 +0000 (20:15 +0100)]
patch 8.2.2036: buffer messed up if creating the quickfix window fails

Problem:    Current buffer is messed up if creating a new buffer for the
            quickfix window fails.
Solution:   Check that creating the buffer succeeds. (closes #7352)

4 years agopatch 8.2.2035: MS-Windows: some tests may fail v8.2.2035
Bram Moolenaar [Mon, 23 Nov 2020 17:14:56 +0000 (18:14 +0100)]
patch 8.2.2035: MS-Windows: some tests may fail

Problem:    MS-Windows: some tests may fail.
Solution:   Avoid test failures. (Yegappan Lakshmanan, closes #7346)

4 years agopatch 8.2.2034: Vim9: list unpack in for statement not compiled yet v8.2.2034
Bram Moolenaar [Mon, 23 Nov 2020 07:31:18 +0000 (08:31 +0100)]
patch 8.2.2034: Vim9: list unpack in for statement not compiled yet

Problem:    Vim9: list unpack in for statement not compiled yet.
Solution:   Compile list unpack. (closes #7345)

4 years agopatch 8.2.2033: Vim9: :def without argument gives compilation error v8.2.2033
Bram Moolenaar [Sun, 22 Nov 2020 17:15:44 +0000 (18:15 +0100)]
patch 8.2.2033: Vim9: :def without argument gives compilation error

Problem:    Vim9: :def without argument gives compilation error.
Solution:   Add the DEF instruction. (closes #7344)

4 years agopatch 8.2.2032: cabalconfig and cabalproject filetypes not recognized v8.2.2032
Bram Moolenaar [Sun, 22 Nov 2020 14:51:24 +0000 (15:51 +0100)]
patch 8.2.2032: cabalconfig and cabalproject filetypes not recognized

Problem:    Cabalconfig and cabalproject filetypes not recognized.
Solution:   Detect more cabal files. (Marcin Szamotulski, closes #7339)

4 years agopatch 8.2.2031: some tests fail when run under valgrind v8.2.2031
Bram Moolenaar [Sun, 22 Nov 2020 13:24:00 +0000 (14:24 +0100)]
patch 8.2.2031: some tests fail when run under valgrind

Problem:    Some tests fail when run under valgrind.
Solution:   Avoid timing problems.

4 years agopatch 8.2.2030: some tests fail on Mac v8.2.2030
Bram Moolenaar [Sat, 21 Nov 2020 20:41:41 +0000 (21:41 +0100)]
patch 8.2.2030: some tests fail on Mac

Problem:    Some tests fail on Mac.
Solution:   Avoid Mac test failures.  Add additional test for wildmenu.
            (Yegappan Lakshmanan, closes #7341)

4 years agopatch 8.2.2029: Coverity warns for not checking return value v8.2.2029
Bram Moolenaar [Sat, 21 Nov 2020 13:16:22 +0000 (14:16 +0100)]
patch 8.2.2029: Coverity warns for not checking return value

Problem:    Coverity warns for not checking return value.
Solution:   Check that u_save_cursor() returns OK.

4 years agopatch 8.2.2028: Coverity warns for using an uninitialized variable v8.2.2028
Bram Moolenaar [Sat, 21 Nov 2020 13:03:43 +0000 (14:03 +0100)]
patch 8.2.2028: Coverity warns for using an uninitialized variable

Problem:    Coverity warns for using an uninitialized variable.
Solution:   Initialize to NULL.

4 years agopatch 8.2.2027: Coverity warnts for uninitialized field v8.2.2027
Bram Moolenaar [Sat, 21 Nov 2020 12:58:50 +0000 (13:58 +0100)]
patch 8.2.2027: Coverity warnts for uninitialized field

Problem:    Coverity warnts for uninitialized field.
Solution:   Set "v_lock".

4 years agopatch 8.2.2026: Coverity warns for possibly using not NUL terminated string v8.2.2026
Bram Moolenaar [Sat, 21 Nov 2020 12:51:16 +0000 (13:51 +0100)]
patch 8.2.2026: Coverity warns for possibly using not NUL terminated string

Problem:    Coverity warns for possibly using not NUL terminated string.
Solution:   Put a NUL in b0_hname just in case.

4 years agoUpdate runtime files
Bram Moolenaar [Sat, 21 Nov 2020 12:16:30 +0000 (13:16 +0100)]
Update runtime files

4 years agopatch 8.2.2025: Amiga: Not all colors are used on OS4 v8.2.2025
Bram Moolenaar [Sat, 21 Nov 2020 11:44:56 +0000 (12:44 +0100)]
patch 8.2.2025: Amiga: Not all colors are used on OS4

Problem:    Amiga: Not all colors are used on OS4.
Solution:   Adjust the #ifdef to include __amigaos4__. (Ola Söder,
            closes #7328)

4 years agopatch 8.2.2024: flicker when redrawing a popup with a title and border v8.2.2024
Bram Moolenaar [Sat, 21 Nov 2020 11:42:09 +0000 (12:42 +0100)]
patch 8.2.2024: flicker when redrawing a popup with a title and border

Problem:    Flicker when redrawing a popup with a title and border.
Solution:   Do not redraw the border where the title is displayed. (Naruhiko
            Nishino, closes #7334)

4 years agopatch 8.2.2023: Vim: memory leak when :execute fails v8.2.2023
Bram Moolenaar [Sat, 21 Nov 2020 10:45:50 +0000 (11:45 +0100)]
patch 8.2.2023: Vim: memory leak when :execute fails

Problem:    Vim: memory leak when :execute fails.
Solution:   Clear the growarray.

4 years agopatch 8.2.2022: Vim9: star command recognized errornously v8.2.2022
Bram Moolenaar [Fri, 20 Nov 2020 20:07:00 +0000 (21:07 +0100)]
patch 8.2.2022: Vim9: star command recognized errornously

Problem:    Vim9: star command recognized errornously.
Solution:   Give an error for missing colon. (issue #7335)

4 years agopatch 8.2.2021: Vim9: get E1099 when autocommand resets did_emsg v8.2.2021
Bram Moolenaar [Fri, 20 Nov 2020 18:26:48 +0000 (19:26 +0100)]
patch 8.2.2021: Vim9: get E1099 when autocommand resets did_emsg

Problem:    Vim9: get E1099 when autocommand resets did_emsg.
Solution:   Add did_emsg_cumul. (closes #7336)

4 years agopatch 8.2.2020: some compilers do not like the "namespace" argument v8.2.2020
Bram Moolenaar [Fri, 20 Nov 2020 17:59:19 +0000 (18:59 +0100)]
patch 8.2.2020: some compilers do not like the "namespace" argument

Problem:    Some compilers do not like the "namespace" argument.
Solution:   Rename to "use_namespace". (closes #7332)

4 years agopatch 8.2.2019: swap file test fails on MS-Windows v8.2.2019
Bram Moolenaar [Fri, 20 Nov 2020 08:10:15 +0000 (09:10 +0100)]
patch 8.2.2019: swap file test fails on MS-Windows

Problem:    Swap file test fails on MS-Windows.
Solution:   Add four to the process ID. (Ken Takata, closes #7333)

4 years agopatch 8.2.2018: Vim9: script variable not found from lambda v8.2.2018
Bram Moolenaar [Thu, 19 Nov 2020 20:47:56 +0000 (21:47 +0100)]
patch 8.2.2018: Vim9: script variable not found from lambda

Problem:    Vim9: script variable not found from lambda.
Solution:   In a lambda also check the script hashtab for a variable without a
            scope. (closes #7329)

4 years agopatch 8.2.2017: missing part of the dict change v8.2.2017
Bram Moolenaar [Thu, 19 Nov 2020 18:01:43 +0000 (19:01 +0100)]
patch 8.2.2017: missing part of the dict change

Problem:    Missing part of the dict change.
Solution:   Also change the script level dict.

4 years agopatch 8.2.2016: swap file test is a little flaky v8.2.2016
Bram Moolenaar [Thu, 19 Nov 2020 17:57:23 +0000 (18:57 +0100)]
patch 8.2.2016: swap file test is a little flaky

Problem:    Swap file test is a little flaky.
Solution:   Don't set a byte to a fixed value, increment it.

4 years agopatch 8.2.2015: Vim9: literal dict #{} is not like any other language v8.2.2015
Bram Moolenaar [Thu, 19 Nov 2020 17:53:18 +0000 (18:53 +0100)]
patch 8.2.2015: Vim9: literal dict #{} is not like any other language

Problem:    Vim9: literal dict #{} is not like any other language.
Solution:   Support the JavaScript syntax.

4 years agopatch 8.2.2014: using CTRL-O in a prompt buffer moves cursor to start v8.2.2014
Bram Moolenaar [Thu, 19 Nov 2020 17:46:25 +0000 (18:46 +0100)]
patch 8.2.2014: using CTRL-O in a prompt buffer moves cursor to start

Problem:    Using CTRL-O in a prompt buffer moves cursor to start of the line.
Solution:   Do not move the cursor when restarting edit. (closes #7330)

4 years agopatch 8.2.2013: Vim9: not skipping white space after unary minus v8.2.2013
Bram Moolenaar [Wed, 18 Nov 2020 16:39:05 +0000 (17:39 +0100)]
patch 8.2.2013: Vim9: not skipping white space after unary minus

Problem:    Vim9: not skipping white space after unary minus.
Solution:   Skip whitespace. (closes #7324)

4 years agopatch 8.2.2012: Vim9: confusing error message when using bool wrongly v8.2.2012
Bram Moolenaar [Wed, 18 Nov 2020 16:17:15 +0000 (17:17 +0100)]
patch 8.2.2012: Vim9: confusing error message when using bool wrongly

Problem:    Vim9: confusing error message when using bool wrongly.
Solution:   Mention "Bool" instead of "Special". (closes #7323)

4 years agopatch 8.2.2011: "syn sync" reports a very large number v8.2.2011
Bram Moolenaar [Wed, 18 Nov 2020 15:53:23 +0000 (16:53 +0100)]
patch 8.2.2011: "syn sync" reports a very large number

Problem:    "syn sync" reports a very large number.
Solution:   Use "at the first line".

4 years agopatch 8.2.2010: Vim9: compiling fails for unreachable return statement v8.2.2010
Bram Moolenaar [Wed, 18 Nov 2020 15:35:02 +0000 (16:35 +0100)]
patch 8.2.2010: Vim9: compiling fails for unreachable return statement

Problem:    Vim9: compiling fails for unreachable return statement.
Solution:   Fix it. (closes #7319)

4 years agopatch 8.2.2009: MS-Windows: setting $LANG in gvimext only causes problems v8.2.2009
Bram Moolenaar [Wed, 18 Nov 2020 14:30:09 +0000 (15:30 +0100)]
patch 8.2.2009: MS-Windows: setting $LANG in gvimext only causes problems

Problem:    MS-Windows: setting $LANG in gvimext only causes problems.
Solution:   Do not set $LANG. (Ken Takata, closes #7325)

4 years agopatch 8.2.2008: MS-Windows GUI: handling channel messages lags v8.2.2008
Bram Moolenaar [Wed, 18 Nov 2020 14:21:50 +0000 (15:21 +0100)]
patch 8.2.2008: MS-Windows GUI: handling channel messages lags

Problem:    MS-Windows GUI: handling channel messages lags.
Solution:   Reduce the wait time from 100 to 10 msec. (closes #7097)

4 years agopatch 8.2.2007: test for insert mode in popup is not reliable v8.2.2007
Bram Moolenaar [Wed, 18 Nov 2020 11:24:01 +0000 (12:24 +0100)]
patch 8.2.2007: test for insert mode in popup is not reliable

Problem:    Test for insert mode in popup is not reliable.
Solution:   Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)

4 years agopatch 8.2.2006: .pbtxt files are not recognized v8.2.2006
Bram Moolenaar [Wed, 18 Nov 2020 11:12:39 +0000 (12:12 +0100)]
patch 8.2.2006: .pbtxt files are not recognized

Problem:    .pbtxt files are not recognized.
Solution:   Recognize .pbtxt as protobuf text buffers. (closes #7326)

4 years agopatch 8.2.2005: redoing a mapping with <Cmd> doesn't work properly v8.2.2005
Bram Moolenaar [Wed, 18 Nov 2020 10:34:37 +0000 (11:34 +0100)]
patch 8.2.2005: redoing a mapping with <Cmd> doesn't work properly

Problem:    Redoing a mapping with <Cmd> doesn't work properly.
Solution:   Fill the redo buffer.  Use "<SNR>" instead of a key code.
            (closes #7282)

4 years agopatch 8.2.2004: compiler warning for uninitialized variable v8.2.2004
Bram Moolenaar [Tue, 17 Nov 2020 18:56:09 +0000 (19:56 +0100)]
patch 8.2.2004: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize "ufunc". (John Marriott)

4 years agopatch 8.2.2003: build error with +conceal but without +popupwin v8.2.2003
Bram Moolenaar [Tue, 17 Nov 2020 18:22:06 +0000 (19:22 +0100)]
patch 8.2.2003: build error with +conceal but without +popupwin

Problem:    Build error with +conceal but without +popupwin.
Solution:   Add #ifdef. (Tom Ryder, closes #7316)

4 years agopatch 8.2.2002: Vim9: lambda argument shadowed by function name v8.2.2002
Bram Moolenaar [Tue, 17 Nov 2020 17:50:44 +0000 (18:50 +0100)]
patch 8.2.2002: Vim9: lambda argument shadowed by function name

Problem:    Vim9: lambda argument shadowed by function name.
Solution:   Let function name be shadowed by lambda argument. (closes #7313)

4 years agopatch 8.2.2001: Vim9: :def function does not apply 'maxfuncdepth' v8.2.2001
Bram Moolenaar [Tue, 17 Nov 2020 17:23:19 +0000 (18:23 +0100)]
patch 8.2.2001: Vim9: :def function does not apply 'maxfuncdepth'

Problem:    Vim9: :def function does not apply 'maxfuncdepth'.
Solution:   Use 'maxfuncdepth'. (issue #7313)

4 years agopatch 8.2.2000: Vim9: dict.key assignment not implemented yet v8.2.2000
Bram Moolenaar [Mon, 16 Nov 2020 21:11:49 +0000 (22:11 +0100)]
patch 8.2.2000: Vim9: dict.key assignment not implemented yet

Problem:    Vim9: dict.key assignment not implemented yet.
Solution:   Implement dict.key assignment. (closes #7312)

4 years agopatch 8.2.1999: terminal popup test sometimes fails v8.2.1999
Bram Moolenaar [Mon, 16 Nov 2020 20:10:34 +0000 (21:10 +0100)]
patch 8.2.1999: terminal popup test sometimes fails

Problem:    Terminal popup test sometimes fails.
Solution:   Wait for the popup to close.

4 years agopatch 8.2.1998: terminal Cmd test sometimes fails to close popup v8.2.1998
Bram Moolenaar [Mon, 16 Nov 2020 20:02:28 +0000 (21:02 +0100)]
patch 8.2.1998: terminal Cmd test sometimes fails to close popup

Problem:    Terminal Cmd test sometimes fails to close popup.
Solution:   Add "term_finish" option.

4 years agopatch 8.2.1997: window changes when using bufload() while in a terminal popup v8.2.1997
Bram Moolenaar [Mon, 16 Nov 2020 19:47:31 +0000 (20:47 +0100)]
patch 8.2.1997: window changes when using bufload() while in a terminal popup

Problem:    Window changes when using bufload() while in a terminal popup.
Solution:   When searching for a window by ID also find a popup window.
            (closes #7307)

4 years agopatch 8.2.1996: Vim9: invalid error for argument of extend() v8.2.1996
Bram Moolenaar [Mon, 16 Nov 2020 19:08:35 +0000 (20:08 +0100)]
patch 8.2.1996: Vim9: invalid error for argument of extend()

Problem:    Vim9: invalid error for argument of extend().
Solution:   Check if the type could match. (closes #7299)

4 years agopatch 8.2.1995: the popup menu can cause too much redrawing v8.2.1995
Bram Moolenaar [Mon, 16 Nov 2020 18:12:00 +0000 (19:12 +0100)]
patch 8.2.1995: the popup menu can cause too much redrawing

Problem:    The popup menu can cause too much redrawing.
Solution:   Reduce the length of the displayed text. (Yasuhiro Matsumoto,
            closes #7306)

4 years agopatch 8.2.1994: MS-Windows: MinGW always does a full build v8.2.1994
Bram Moolenaar [Mon, 16 Nov 2020 17:49:47 +0000 (18:49 +0100)]
patch 8.2.1994: MS-Windows: MinGW always does a full build

Problem:    MS-Windows: MinGW always does a full build.
Solution:   Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)

4 years agopatch 8.2.1993: occasional failure of the netbeans test v8.2.1993
Bram Moolenaar [Mon, 16 Nov 2020 17:39:43 +0000 (18:39 +0100)]
patch 8.2.1993: occasional failure of the netbeans test

Problem:    Occasional failure of the netbeans test.
Solution:   Add "silent!". (Yegappan Lakshmanan, closes #7304)

4 years agopatch 8.2.1992: build fails with small features v8.2.1992
Bram Moolenaar [Sun, 15 Nov 2020 20:11:18 +0000 (21:11 +0100)]
patch 8.2.1992: build fails with small features

Problem:    Build fails with small features.
Solution:   Add #ifdef.

4 years agopatch 8.2.1991: Coverity warns for not using the ga_grow() return value v8.2.1991
Bram Moolenaar [Sun, 15 Nov 2020 19:49:41 +0000 (20:49 +0100)]
patch 8.2.1991: Coverity warns for not using the ga_grow() return value

Problem:    Coverity warns for not using the ga_grow() return value.
Solution:   Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)

4 years agopatch 8.2.1990: cursor position wrong in terminal popup with finished job v8.2.1990
Bram Moolenaar [Sun, 15 Nov 2020 19:32:58 +0000 (20:32 +0100)]
patch 8.2.1990: cursor position wrong in terminal popup with finished job

Problem:    Cursor position wrong in terminal popup with finished job.
Solution:   Only add the top and left offset when not done already.
            (closes #7298)