]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.2122: Vim9: crash when sourcing vim9script early v8.2.2122
Bram Moolenaar [Wed, 9 Dec 2020 16:16:59 +0000 (17:16 +0100)]
patch 8.2.2122: Vim9: crash when sourcing vim9script early

Problem:    Vim9: crash when sourcing vim9script early.
Solution:   Use set_option_value() instead of setting p_cpo directly.
            (closes #7441)

4 years agopatch 8.2.2121: internal error when using \ze before \zs in a pattern v8.2.2121
Bram Moolenaar [Wed, 9 Dec 2020 15:36:04 +0000 (16:36 +0100)]
patch 8.2.2121: internal error when using \ze before \zs in a pattern

Problem:    Internal error when using \ze before \zs in a pattern.
Solution:   Check the end is never before the start. (closes #7442)

4 years agopatch 8.2.2120: not all Perl functionality is tested v8.2.2120
Bram Moolenaar [Wed, 9 Dec 2020 15:05:45 +0000 (16:05 +0100)]
patch 8.2.2120: not all Perl functionality is tested

Problem:    Not all Perl functionality is tested.
Solution:   Add a few more test cases. (Dominique Pellé, closes #7440)

4 years agopatch 8.2.2119: GTK3: status line background color is wrong v8.2.2119
Bram Moolenaar [Wed, 9 Dec 2020 14:53:27 +0000 (15:53 +0100)]
patch 8.2.2119: GTK3: status line background color is wrong

Problem:    GTK3: status line background color is wrong.
Solution:   Don't change the code for earlier GTK3 versions. (closes #7444)

4 years agopatch 8.2.2118: dead code in the job support v8.2.2118
Bram Moolenaar [Wed, 9 Dec 2020 12:16:13 +0000 (13:16 +0100)]
patch 8.2.2118: dead code in the job support

Problem:    Dead code in the job support. (Dominique Pellé)
Solution:   Define USE_ARGV before checking for it.

4 years agopatch 8.2.2117: some functions use any value as a string v8.2.2117
Bram Moolenaar [Wed, 9 Dec 2020 11:41:50 +0000 (12:41 +0100)]
patch 8.2.2117: some functions use any value as a string

Problem:    Some functions use any value as a string.
Solution:   Check that the value is a non-empty string.

4 years agopatch 8.2.2116: MS-Windows GUI: test for 'guifont' is incomplete v8.2.2116
Bram Moolenaar [Wed, 9 Dec 2020 11:01:03 +0000 (12:01 +0100)]
patch 8.2.2116: MS-Windows GUI: test for 'guifont' is incomplete

Problem:    MS-Windows GUI: test for 'guifont' is incomplete.
Solution:   Set 'renderoptions'. (Christian Brabandt)

4 years agopatch 8.2.2115: Vim9: some errors not tested for; dead code v8.2.2115
Bram Moolenaar [Tue, 8 Dec 2020 21:08:51 +0000 (22:08 +0100)]
patch 8.2.2115: Vim9: some errors not tested for; dead code

Problem:    Vim9: some errors not tested for; dead code.
Solution:   Add a test.  Remove dead code.

4 years agopatch 8.2.2114: Vim9: unreachable code in assignment v8.2.2114
Bram Moolenaar [Tue, 8 Dec 2020 20:53:28 +0000 (21:53 +0100)]
patch 8.2.2114: Vim9: unreachable code in assignment

Problem:    Vim9: unreachable code in assignment.
Solution:   Remove impossible condition and code.

4 years agopatch 8.2.2113: MS-Windows GUI: crash after using ":set guifont=" four times v8.2.2113
Bram Moolenaar [Tue, 8 Dec 2020 20:12:40 +0000 (21:12 +0100)]
patch 8.2.2113: MS-Windows GUI: crash after using ":set guifont=" four times

Problem:    MS-Windows GUI: crash after using ":set guifont=" four times.
Solution:   Check for NULL pointer. (Ken Takata, closes #7434)

4 years agopatch 8.2.2112: running tests may leave some files behind v8.2.2112
Bram Moolenaar [Tue, 8 Dec 2020 19:39:15 +0000 (20:39 +0100)]
patch 8.2.2112: running tests may leave some files behind

Problem:    Running tests may leave some files behind.
Solution:   Delete the right files.  Fix a few typos. (Dominique Pellé,
            closes #7436

4 years agopatch 8.2.2111: GTK: menu background is the same color as the main window v8.2.2111
Bram Moolenaar [Tue, 8 Dec 2020 19:31:16 +0000 (20:31 +0100)]
patch 8.2.2111: GTK: menu background is the same color as the main window

Problem:    GTK: Menu background is the same color as the main window.
Solution:   Fix white space around the test in another way. (closes #7437,
            closes #7427)

4 years agopatch 8.2.2110: cannot use ":shell" when reading from stdin v8.2.2110
Bram Moolenaar [Tue, 8 Dec 2020 18:36:21 +0000 (19:36 +0100)]
patch 8.2.2110: cannot use ":shell" when reading from stdin

Problem:    Cannot use ":shell" when reading from stdin. (Gary Johnson)
Solution:   Revert patch 8.2.1833.

4 years agopatch 8.2.2109: "vim -" does not work well when modifyOtherKeys is enabled v8.2.2109
Bram Moolenaar [Tue, 8 Dec 2020 18:18:37 +0000 (19:18 +0100)]
patch 8.2.2109: "vim -" does not work well when modifyOtherKeys is enabled

Problem:    "vim -" does not work well when modifyOtherKeys is enabled and a
            shell command is executed on startup.
Solution:   Only change modifyOtherKeys when executing a shell command in raw
            mode.

4 years agopatch 8.2.2108: Vim9: no test to check for :let error v8.2.2108
Bram Moolenaar [Tue, 8 Dec 2020 10:29:40 +0000 (11:29 +0100)]
patch 8.2.2108: Vim9: no test to check for :let error

Problem:    Vim9: no test to check for :let error.
Solution:   Add a test.  Rename tests from _let_ to _var_.

4 years agopatch 8.2.2107: Vim9: some errors not tested v8.2.2107
Bram Moolenaar [Mon, 7 Dec 2020 20:49:52 +0000 (21:49 +0100)]
patch 8.2.2107: Vim9: some errors not tested

Problem:    Vim9: some errors not tested.
Solution:   Add tests.  Fix getting the right error.

4 years agopatch 8.2.2106: TOML files are not recognized v8.2.2106
Bram Moolenaar [Mon, 7 Dec 2020 17:05:02 +0000 (18:05 +0100)]
patch 8.2.2106: TOML files are not recognized

Problem:    TOML files are not recognized.
Solution:   Match *.toml. (issue #7432)

4 years agopatch 8.2.2105: sound test is a bit flaky v8.2.2105
Bram Moolenaar [Sun, 6 Dec 2020 20:43:44 +0000 (21:43 +0100)]
patch 8.2.2105: sound test is a bit flaky

Problem:    Sound test is a bit flaky.
Solution:   Use WaitForAssert(). (Dominique Pellé, closes #7429)

4 years agopatch 8.2.2104: build problem with Ruby 2.7 v8.2.2104
Bram Moolenaar [Sun, 6 Dec 2020 20:11:31 +0000 (21:11 +0100)]
patch 8.2.2104: build problem with Ruby 2.7

Problem:    Build problem with Ruby 2.7.
Solution:   Adjust function declarations. (Ozaki Kiichi, closes #7430)

4 years agopatch 8.2.2103: Vim9: unreachable code v8.2.2103
Bram Moolenaar [Sun, 6 Dec 2020 19:12:43 +0000 (20:12 +0100)]
patch 8.2.2103: Vim9: unreachable code

Problem:    Vim9: unreachable code.
Solution:   Remove the code to prepend s: to the variable name

4 years agopatch 8.2.2102: Vim9: not all error messages tested v8.2.2102
Bram Moolenaar [Sun, 6 Dec 2020 17:50:36 +0000 (18:50 +0100)]
patch 8.2.2102: Vim9: not all error messages tested

Problem:    Vim9: not all error messages tested.
Solution:   Add a few test cases.

4 years agopatch 8.2.2101: Vim9: memory leak when literal dict has an error v8.2.2101
Bram Moolenaar [Sun, 6 Dec 2020 15:03:55 +0000 (16:03 +0100)]
patch 8.2.2101: Vim9: memory leak when literal dict has an error

Problem:    Vim9: memory leak when literal dict has an error and when an
            expression is not complete.
Solution:   Clear the typval and the growarray.

4 years agopatch 8.2.2100: insufficient testing for function range and dict v8.2.2100
Bram Moolenaar [Sun, 6 Dec 2020 14:03:19 +0000 (15:03 +0100)]
patch 8.2.2100: insufficient testing for function range and dict

Problem:    Insufficient testing for function range and dict.
Solution:   Add a few tests. (Dominique Pellé, closes #7428)

4 years agopatch 8.2.2099: Vim9: some checks are not tested v8.2.2099
Bram Moolenaar [Sun, 6 Dec 2020 13:37:08 +0000 (14:37 +0100)]
patch 8.2.2099: Vim9: some checks are not tested

Problem:    Vim9: some checks are not tested.
Solution:   Add a few more tests.  Give better error messages.

4 years agopatch 8.2.2098: Vim9: function argument of sort() and map() not tested v8.2.2098
Bram Moolenaar [Sat, 5 Dec 2020 20:47:06 +0000 (21:47 +0100)]
patch 8.2.2098: Vim9: function argument of sort() and map() not tested

Problem:    Vim9: function argument of sort() and map() not tested.
Solution:   Add a couple of tests.

4 years agopatch 8.2.2097: Vim9: using :silent! when calling a function prevents abort v8.2.2097
Bram Moolenaar [Sat, 5 Dec 2020 20:22:08 +0000 (21:22 +0100)]
patch 8.2.2097: Vim9: using :silent! when calling a function prevents abort

Problem:    Vim9: using :silent! when calling a function prevents abortng that
            function.
Solution:   Add emsg_silent_def and did_emsg_def.

4 years agopatch 8.2.2096: Vim9: command modifiers not restored after assignment v8.2.2096
Bram Moolenaar [Sat, 5 Dec 2020 18:17:16 +0000 (19:17 +0100)]
patch 8.2.2096: Vim9: command modifiers not restored after assignment

Problem:    Vim9: command modifiers not restored after assignment.
Solution:   Jump to nextline instead of using continue.

4 years agopatch 8.2.2095: Vim9: crash when failed dict member is followed by concat v8.2.2095
Bram Moolenaar [Sat, 5 Dec 2020 17:13:27 +0000 (18:13 +0100)]
patch 8.2.2095: Vim9: crash when failed dict member is followed by concat

Problem:    Vim9: crash when failed dict member is followed by concatenation.
Solution:   Remove the dict from the stack. (closes #7416)

4 years agopatch 8.2.2094: when an expression fails getting next command may be wrong v8.2.2094
Bram Moolenaar [Sat, 5 Dec 2020 16:11:12 +0000 (17:11 +0100)]
patch 8.2.2094: when an expression fails getting next command may be wrong

Problem:    When an expression fails getting the next command may be wrong.
Solution:   Do not check for a next command after :eval fails. (closes #7415)

4 years agopatch 8.2.2093: Vim9: script test sometimes fails v8.2.2093
Bram Moolenaar [Sat, 5 Dec 2020 13:44:37 +0000 (14:44 +0100)]
patch 8.2.2093: Vim9: script test sometimes fails

Problem:    Vim9: script test sometimes fails.
Solution:   Do not find a script variable by its typval if the name was
            cleared.

4 years agopatch 8.2.2092: Vim9: unpredictable errors for script tests v8.2.2092
Bram Moolenaar [Sat, 5 Dec 2020 12:41:01 +0000 (13:41 +0100)]
patch 8.2.2092: Vim9: unpredictable errors for script tests

Problem:    Vim9: unpredictable errors for script tests.
Solution:   Use a different script file name for each run.

4 years agopatch 8.2.2091: MS-Windows: build warnings v8.2.2091
Bram Moolenaar [Fri, 4 Dec 2020 18:42:52 +0000 (19:42 +0100)]
patch 8.2.2091: MS-Windows: build warnings

Problem:    MS-Windows: build warnings.
Solution:   Add a #pragma to suppress the deprecation warning. (Ken Takata)
            Avoid using a non-ASCII character. (closes #7421)

4 years agopatch 8.2.2090: Vim9: dict does not accept a key in quotes v8.2.2090
Bram Moolenaar [Fri, 4 Dec 2020 18:12:14 +0000 (19:12 +0100)]
patch 8.2.2090: Vim9: dict does not accept a key in quotes

Problem:    Vim9: dict does not accept a key in quotes.
Solution:   Recognize a key in single or double quotes.

4 years agopatch 8.2.2089: libvterm test fails to build on Mac v8.2.2089
Bram Moolenaar [Fri, 4 Dec 2020 17:09:54 +0000 (18:09 +0100)]
patch 8.2.2089: libvterm test fails to build on Mac

Problem:    Libvterm test fails to build on Mac.
Solution:   Adjust configure to remove a space between -L and the path that
            follows.

4 years agopatch 8.2.2088: Vim9: script test sometimes fails v8.2.2088
Bram Moolenaar [Fri, 4 Dec 2020 16:38:00 +0000 (17:38 +0100)]
patch 8.2.2088: Vim9: script test sometimes fails

Problem:    Vim9: script test sometimes fails.
Solution:   Unlet variables.

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)