]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.2150: Github actions CI isn't used for all available platforms v8.2.2150
Bram Moolenaar [Thu, 17 Dec 2020 19:27:26 +0000 (20:27 +0100)]
patch 8.2.2150: Github actions CI isn't used for all available platforms

Problem:    Github actions CI isn't used for all available platforms.
Solution:   Update the github workflows. (Ozaki Kiichi, closes #7433)

4 years agopatch 8.2.2149: popupwin test for latin1 sometimes fails v8.2.2149
Bram Moolenaar [Thu, 17 Dec 2020 16:45:59 +0000 (17:45 +0100)]
patch 8.2.2149: popupwin test for latin1 sometimes fails

Problem:    Popupwin test for latin1 sometimes fails.
Solution:   Wait for the script to finish.

4 years agopatch 8.2.2148: Vim9: crash when user command doesn't match v8.2.2148
Bram Moolenaar [Wed, 16 Dec 2020 20:43:54 +0000 (21:43 +0100)]
patch 8.2.2148: Vim9: crash when user command doesn't match

Problem:    Vim9: crash when user command doesn't match.
Solution:   Adjust command index. (closes #7479)

4 years agopatch 8.2.2147: quickfix window title not updated in all tab pages v8.2.2147
Bram Moolenaar [Wed, 16 Dec 2020 20:02:56 +0000 (21:02 +0100)]
patch 8.2.2147: quickfix window title not updated in all tab pages

Problem:    Quickfix window title not updated in all tab pages.
Solution:   Update the quickfix window title in all tab pages. (Yegappan
            Lakshmanan, closes #7481, closes #7466)

4 years agopatch 8.2.2146: Vim9: automatic conversion of number to string for dict key v8.2.2146
Bram Moolenaar [Tue, 15 Dec 2020 20:41:56 +0000 (21:41 +0100)]
patch 8.2.2146: Vim9: automatic conversion of number to string for dict key

Problem:    Vim9: automatic conversion of number to string for dict key.
Solution:   Do not convert number to string. (closes #7474)

4 years agopatch 8.2.2145: Vim9: concatenating lists does not adjust type of result v8.2.2145
Bram Moolenaar [Tue, 15 Dec 2020 20:28:57 +0000 (21:28 +0100)]
patch 8.2.2145: Vim9: concatenating lists does not adjust type of result

Problem:    Vim9: concatenating lists does not adjust type of result.
Solution:   When list member types differ use "any" member type.
            (closes #7473)

4 years agopatch 8.2.2144: Vim9: some corner cases not tested v8.2.2144
Bram Moolenaar [Mon, 14 Dec 2020 17:31:27 +0000 (18:31 +0100)]
patch 8.2.2144: Vim9: some corner cases not tested

Problem:    Vim9: some corner cases not tested.
Solution:   Add a few tests.

4 years agopatch 8.2.2143: Vim9: dead code in compiling :unlet v8.2.2143
Bram Moolenaar [Sun, 13 Dec 2020 20:26:56 +0000 (21:26 +0100)]
patch 8.2.2143: Vim9: dead code in compiling :unlet

Problem:    Vim9: dead code in compiling :unlet.
Solution:   Don't check for "!" a second time.

4 years agopatch 8.2.2142: memory leak when heredoc is not terminated v8.2.2142
Bram Moolenaar [Sun, 13 Dec 2020 20:16:55 +0000 (21:16 +0100)]
patch 8.2.2142: memory leak when heredoc is not terminated

Problem:    Memory leak when heredoc is not terminated.
Solution:   Free heredoc_trimmed.

4 years agopatch 8.2.2141: a user command with try/catch may not catch an expression error v8.2.2141
Bram Moolenaar [Sun, 13 Dec 2020 19:26:29 +0000 (20:26 +0100)]
patch 8.2.2141: a user command with try/catch may not catch an expression error

Problem:    A user command with try/catch may not catch an expression error.
Solution:   When an expression fails check for following "|". (closes #7469)

4 years agopatch 8.2.2140: build failure with tiny features v8.2.2140
Bram Moolenaar [Sun, 13 Dec 2020 18:22:27 +0000 (19:22 +0100)]
patch 8.2.2140: build failure with tiny features

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

4 years agopatch 8.2.2139: Vim9: unreachable code in assignment v8.2.2139
Bram Moolenaar [Sun, 13 Dec 2020 17:44:43 +0000 (18:44 +0100)]
patch 8.2.2139: Vim9: unreachable code in assignment

Problem:    Vim9: unreachable code in assignment.
Solution:   Don't check "new_local" when "has_index" is set.  Add test for
            wrong type of list index.

4 years agopatch 8.2.2138: Vim9: "exit_cb" causes Vim to exit v8.2.2138
Bram Moolenaar [Sun, 13 Dec 2020 16:50:20 +0000 (17:50 +0100)]
patch 8.2.2138: Vim9: "exit_cb" causes Vim to exit

Problem:    Vim9: "exit_cb" causes Vim to exit.
Solution:   Require white space after a command in Vim9 script. (closes #7467)
            Also fix that Vim9 style heredoc was not always recognized.

4 years agopatch 8.2.2137: Vim9: :echo and :execute give error for empty argument v8.2.2137
Bram Moolenaar [Sun, 13 Dec 2020 13:19:25 +0000 (14:19 +0100)]
patch 8.2.2137: Vim9: :echo and :execute give error for empty argument

Problem:    Vim9: :echo and :execute give error for empty argument.
Solution:   Ignore an empty argument. (closes #7468)

4 years agopatch 8.2.2136: Vim9: Using uninitialized variable v8.2.2136
Bram Moolenaar [Sun, 13 Dec 2020 11:25:35 +0000 (12:25 +0100)]
patch 8.2.2136: Vim9: Using uninitialized variable

Problem:    Vim9: Using uninitialized variable.
Solution:   Initialize "len" to zero.  Clean up fnamemodify().

4 years agopatch 8.2.2135: Vim9: #{ still seen as start of dict in some places v8.2.2135
Bram Moolenaar [Sat, 12 Dec 2020 20:25:56 +0000 (21:25 +0100)]
patch 8.2.2135: Vim9: #{ still seen as start of dict in some places

Problem:    Vim9: #{ still seen as start of dict in some places.
Solution:   Remove check for { after #. (closes #7456)

4 years agopatch 8.2.2134: Vim9: get E1099 when autocmd triggered in builtin function v8.2.2134
Bram Moolenaar [Sat, 12 Dec 2020 19:42:19 +0000 (20:42 +0100)]
patch 8.2.2134: Vim9: get E1099 when autocmd triggered in builtin function

Problem:    Vim9: get E1099 when autocmd triggered in builtin function.
Solution:   Check that did_emsg increased instead of checking that it changed.
            (closes #7448)

4 years agopatch 8.2.2133: Vim9: checking for a non-empty string is too strict v8.2.2133
Bram Moolenaar [Sat, 12 Dec 2020 17:58:40 +0000 (18:58 +0100)]
patch 8.2.2133: Vim9: checking for a non-empty string is too strict

Problem:    Vim9: checking for a non-empty string is too strict.
Solution:   Check for any string. (closes #7447)

4 years agopatch 8.2.2132: padding not drawn properly for popup window with title v8.2.2132
Bram Moolenaar [Sat, 12 Dec 2020 17:18:06 +0000 (18:18 +0100)]
patch 8.2.2132: padding not drawn properly for popup window with title

Problem:    Padding not drawn properly for popup window with title.
Solution:   Draw the padding below the title. (closes #7460)

4 years agopatch 8.2.2131: Vim9: crash when lambda uses same var as assignment v8.2.2131
Bram Moolenaar [Sat, 12 Dec 2020 13:33:41 +0000 (14:33 +0100)]
patch 8.2.2131: Vim9: crash when lambda uses same var as assignment

Problem:    Vim9: crash when lambda uses same var as assignment.
Solution:   Do not let lookup_local change lv_from_outer, make a copy.
            (closes #7461)

4 years agopatch 8.2.2130: Insert mode completion messages end up in message history v8.2.2130
Bram Moolenaar [Sat, 12 Dec 2020 12:32:07 +0000 (13:32 +0100)]
patch 8.2.2130: Insert mode completion messages end up in message history

Problem:    Insert mode completion messages end up in message history.
Solution:   Set msg_hist_off. (closes #7452

4 years agopatch 8.2.2129: MS-Windows: Checking if a file name is absolute is slow v8.2.2129
Bram Moolenaar [Fri, 11 Dec 2020 19:10:50 +0000 (20:10 +0100)]
patch 8.2.2129: MS-Windows: Checking if a file name is absolute is slow

Problem:    MS-Windows: Checking if a file name is absolute is slow.
Solution:   Do not use mch_FullName(). (closes #7033)

4 years agopatch 8.2.2128: there is no way to do something on CTRL-Z v8.2.2128
Bram Moolenaar [Fri, 11 Dec 2020 18:30:34 +0000 (19:30 +0100)]
patch 8.2.2128: there is no way to do something on CTRL-Z

Problem:    There is no way to do something on CTRL-Z.
Solution:   Add VimSuspend and VimResume autocommand events. (closes #7450)

4 years agoUpdate runtime files.
Bram Moolenaar [Thu, 10 Dec 2020 20:11:27 +0000 (21:11 +0100)]
Update runtime files.

4 years agopatch 8.2.2127: Vim9: executing user command from Vim9 script not tested v8.2.2127
Bram Moolenaar [Thu, 10 Dec 2020 20:01:30 +0000 (21:01 +0100)]
patch 8.2.2127: Vim9: executing user command from Vim9 script not tested

Problem:    Vim9: executing user command defined in Vim9 script not tested.
Solution:   Add a test.

4 years agopatch 8.2.2126: Ruby: missing function prototype v8.2.2126
Bram Moolenaar [Thu, 10 Dec 2020 19:50:34 +0000 (20:50 +0100)]
patch 8.2.2126: Ruby: missing function prototype

Problem:    Ruby: missing function prototype.
Solution:   Add the prototype.

4 years agopatch 8.2.2125: Vim9: leaking memory v8.2.2125
Bram Moolenaar [Thu, 10 Dec 2020 19:21:24 +0000 (20:21 +0100)]
patch 8.2.2125: Vim9: leaking memory

Problem:    Vim9: leaking memory.
Solution:   Free the saved 'cpo' value.

4 years agopatch 8.2.2124: Vim9: a range cannot be computed at runtime v8.2.2124
Bram Moolenaar [Thu, 10 Dec 2020 18:43:40 +0000 (19:43 +0100)]
patch 8.2.2124: Vim9: a range cannot be computed at runtime

Problem:    Vim9: a range cannot be computed at runtime.
Solution:   Add the ISN_RANGE instruction.

4 years agopatch 8.2.2123: after using a complete popup the buffer is listed v8.2.2123
Bram Moolenaar [Wed, 9 Dec 2020 17:13:44 +0000 (18:13 +0100)]
patch 8.2.2123: after using a complete popup the buffer is listed

Problem:    After using a complete popup the buffer is listed. (Boris
            Staletic)
Solution:   Make the buffer unlisted.

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.