]>
granicus.if.org Git - vim/log
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
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)
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.
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.
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_.
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.
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)
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)
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)
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
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.
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.
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)
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.
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.
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.
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.
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)
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)
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.
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.
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)
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.
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.
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.
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.
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)
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)
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)
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)
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)
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)
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.
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.
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)
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.
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)
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)
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)
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.
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.
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 ";".
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)
Bram Moolenaar [Sun, 29 Nov 2020 13:36:24 +0000 (14:36 +0100)]
Update runtime files
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)
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)
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.
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.
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)
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)
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.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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.
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.
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)
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)
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)
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)
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)
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.
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)
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.
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.
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".
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.
Bram Moolenaar [Sat, 21 Nov 2020 12:16:30 +0000 (13:16 +0100)]
Update runtime files
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)
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)
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.
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)
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)
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)
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)
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)
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.
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.
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.