]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.2179: Vim9: crash when indexing a dict with a number v8.2.2179
Bram Moolenaar [Mon, 21 Dec 2020 16:30:50 +0000 (17:30 +0100)]
patch 8.2.2179: Vim9: crash when indexing a dict with a number

Problem:    Vim9: crash when indexing a dict with a number.
Solution:   Add ISN_STOREINDEX. (closes #7513)

4 years agopatch 8.2.2178: Python 3: non-utf8 character cannot be handled v8.2.2178
Bram Moolenaar [Mon, 21 Dec 2020 15:03:02 +0000 (16:03 +0100)]
patch 8.2.2178: Python 3: non-utf8 character cannot be handled

Problem:    Python 3: non-utf8 character cannot be handled.
Solution:   Change the string decode. (Björn Linse, closes #1053)

4 years agopatch 8.2.2177: pattern "^" does not match if first character is combining v8.2.2177
Bram Moolenaar [Mon, 21 Dec 2020 13:54:32 +0000 (14:54 +0100)]
patch 8.2.2177: pattern "^" does not match if first character is combining

Problem:    Pattern "^" does not match if the first character in the line is
            combining. (Rene Kita)
Solution:   Do accept a match at the start of the line. (closes #6963)

4 years agopatch 8.2.2176: crash with a sequence of fold commands v8.2.2176
Bram Moolenaar [Mon, 21 Dec 2020 13:01:41 +0000 (14:01 +0100)]
patch 8.2.2176: crash with a sequence of fold commands

Problem:    Crash with a sequence of fold commands.
Solution:   Bail out when there are no folds at all.  Add a test (Dominique
            Pellé) (closes #7515)

4 years agopatch 8.2.2175: github actions: clang-11 handling suboptimal v8.2.2175
Bram Moolenaar [Mon, 21 Dec 2020 12:37:28 +0000 (13:37 +0100)]
patch 8.2.2175: github actions: clang-11 handling suboptimal

Problem:    Github actions: clang-11 handling suboptimal.
Solution:   Separate step of installing clang-11. Get ubuntu release name
            dynamically. (Ozaki Kiichi, closes #7514)

4 years agopatch 8.2.2174: Mac version doesn't specify the CPU architecture v8.2.2174
Bram Moolenaar [Mon, 21 Dec 2020 12:05:57 +0000 (13:05 +0100)]
patch 8.2.2174: Mac version doesn't specify the CPU architecture

Problem:    Mac version doesn't specify the CPU architecture.
Solution:   Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)

4 years agopatch 8.2.2173: Vim9: get internal error when assigning to undefined variable v8.2.2173
Bram Moolenaar [Sun, 20 Dec 2020 20:43:35 +0000 (21:43 +0100)]
patch 8.2.2173: Vim9: get internal error when assigning to undefined variable

Problem:    Vim9: get internal error when assigning to undefined variable.
Solution:   Add error message. (closes #7475)

4 years agopatch 8.2.2172: Vim9: number of arguments is not always checked v8.2.2172
Bram Moolenaar [Sun, 20 Dec 2020 20:10:17 +0000 (21:10 +0100)]
patch 8.2.2172: Vim9: number of arguments is not always checked

Problem:    Vim9: number of arguments is not always checked. (Yegappan
            Lakshmanan)
Solution:   Check number of arguments when calling function by name.

4 years agopatch 8.2.2171: valgrind warning for using uninitialized value v8.2.2171
Bram Moolenaar [Sun, 20 Dec 2020 16:59:53 +0000 (17:59 +0100)]
patch 8.2.2171: valgrind warning for using uninitialized value

Problem:    Valgrind warning for using uninitialized value.
Solution:   Do not use "startp" or "endp" unless there is a match.

4 years agopatch 8.2.2170: Vim9: a global function defined in a :def function fails v8.2.2170
Bram Moolenaar [Sun, 20 Dec 2020 16:47:52 +0000 (17:47 +0100)]
patch 8.2.2170: Vim9: a global function defined in a :def function fails

Problem:    Vim9: a global function defined in a :def function fails if it
            uses the context.
Solution:   Create a partial to store the closure context. (see #7410)

4 years agopatch 8.2.2169: Vim9: test leaves file behind v8.2.2169
Bram Moolenaar [Sun, 20 Dec 2020 14:43:31 +0000 (15:43 +0100)]
patch 8.2.2169: Vim9: test leaves file behind

Problem:    Vim9: test leaves file behind.
Solution:   Rename script files. (Dominique Pellé, closes #7511)
            Use try/finally.

4 years agopatch 8.2.2168: Vim9: error for assigning to dict of dict v8.2.2168
Bram Moolenaar [Sun, 20 Dec 2020 14:20:56 +0000 (15:20 +0100)]
patch 8.2.2168: Vim9: error for assigning to dict of dict

Problem:    Vim9: error for assigning to dict of dict.
Solution:   Remember the destination type. (closes #7506)

4 years agopatch 8.2.2167: Vim9: assign test fails v8.2.2167
Bram Moolenaar [Sun, 20 Dec 2020 13:49:42 +0000 (14:49 +0100)]
patch 8.2.2167: Vim9: assign test fails

Problem:    Vim9: assign test fails. (Elimar Riesebieter)
Solution:   Adjust the test for dict assignment.

4 years agopatch 8.2.2166: auto format doesn't work when deleting text v8.2.2166
Bram Moolenaar [Sun, 20 Dec 2020 12:07:48 +0000 (13:07 +0100)]
patch 8.2.2166: auto format doesn't work when deleting text

Problem:    Auto format doesn't work when deleting text.
Solution:   Make "x" trigger auto format. (closes #7504)

4 years agopatch 8.2.2165: Vim9: assignment to dict member does not work v8.2.2165
Bram Moolenaar [Sat, 19 Dec 2020 21:10:13 +0000 (22:10 +0100)]
patch 8.2.2165: Vim9: assignment to dict member does not work

Problem:    Vim9: assignment to dict member does not work.
Solution:   Fix recognizing dict member. (closes #7484)

4 years agopatch 8.2.2164: Vim9: autoload function doesn't work in uppercased script v8.2.2164
Bram Moolenaar [Sat, 19 Dec 2020 20:23:42 +0000 (21:23 +0100)]
patch 8.2.2164: Vim9: autoload function doesn't work in uppercased script

Problem:    Vim9: autoload function doesn't work in script that starts with
            an upper case letter.
Solution:   Check for the autoload character. (closes #7502)

4 years agopatch 8.2.2163: crash when discarded exception is the current exception v8.2.2163
Bram Moolenaar [Sat, 19 Dec 2020 16:55:54 +0000 (17:55 +0100)]
patch 8.2.2163: crash when discarded exception is the current exception

Problem:    Crash when discarded exception is the current exception.
Solution:   Compare the execption with current_exception. (closes #7499)

4 years agopatch 8.2.2162: Vim9: Cannot load or store autoload variables v8.2.2162
Bram Moolenaar [Sat, 19 Dec 2020 15:30:44 +0000 (16:30 +0100)]
patch 8.2.2162: Vim9: Cannot load or store autoload variables

Problem:    Vim9: Cannot load or store autoload variables.
Solution:   Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)

4 years agopatch 8.2.2161: arguments -T and -x not tested yet v8.2.2161
Bram Moolenaar [Sat, 19 Dec 2020 12:32:07 +0000 (13:32 +0100)]
patch 8.2.2161: arguments -T and -x not tested yet

Problem:    Arguments -T and -x not tested yet.
Solution:   Add a test. (Dominique Pellé, closes #7490

4 years agopatch 8.2.2160: various typos v8.2.2160
Bram Moolenaar [Fri, 18 Dec 2020 18:49:56 +0000 (19:49 +0100)]
patch 8.2.2160: various typos

Problem:    Various typos.
Solution:   Fix spelling mistakes. (closes #7494)

4 years agopatch 8.2.2159: Vim9: when declaring a list it is not allocated yet v8.2.2159
Bram Moolenaar [Fri, 18 Dec 2020 16:23:14 +0000 (17:23 +0100)]
patch 8.2.2159: Vim9: when declaring a list it is not allocated yet

Problem:    Vim9: when declaring a list it is not allocated yet, causing a
            following extend() to fail.
Solution:   When fetching a variable value for a list or dict that is null
            allocate the list or dict, so it can be used. (closes #7491)

4 years agopatch 8.2.2158: CI on cirrus times out, coveralls doesn't always run v8.2.2158
Bram Moolenaar [Fri, 18 Dec 2020 15:29:25 +0000 (16:29 +0100)]
patch 8.2.2158: CI on cirrus times out, coveralls doesn't always run

Problem:    CI on cirrus times out, coveralls doesn't always run.
Solution:   Set timeout to 20 minutes. Adjust condition. (closes #7493)

4 years agopatch 8.2.2157: Vim9: can delete a Vim9 script variable from a function v8.2.2157
Bram Moolenaar [Fri, 18 Dec 2020 14:38:00 +0000 (15:38 +0100)]
patch 8.2.2157: Vim9: can delete a Vim9 script variable from a function

Problem:    Vim9: can delete a Vim9 script variable from a function.
Solution:   Check the variable is defined in Vim9 script. (closes #7483)

4 years agopatch 8.2.2156: Github actions run on pusing a tag v8.2.2156
Bram Moolenaar [Fri, 18 Dec 2020 12:31:31 +0000 (13:31 +0100)]
patch 8.2.2156: Github actions run on pusing a tag

Problem:    Github actions run on pusing a tag.
Solution:   Don't run CI on tag push. Omit coveralls on pull-request.
            (Ozaki Kiichi, closes #7489)

4 years agopatch 8.2.2155: warning from Github actions for code analysis v8.2.2155
Bram Moolenaar [Fri, 18 Dec 2020 12:15:20 +0000 (13:15 +0100)]
patch 8.2.2155: warning from Github actions for code analysis

Problem:    Warning from Github actions for code analysis.
Solution:   Remove the "git checkout HEAD^2" block.

4 years agopatch 8.2.2154: popupwin test for terminal buffer fails sometimes v8.2.2154
Bram Moolenaar [Thu, 17 Dec 2020 21:27:38 +0000 (22:27 +0100)]
patch 8.2.2154: popupwin test for terminal buffer fails sometimes

Problem:    Popupwin test for terminal buffer fails sometimes.
Solution:   Wait for the prompt to appear.

4 years agopatch 8.2.2153: popupwin test for latin1 still fails sometimes v8.2.2153
Bram Moolenaar [Thu, 17 Dec 2020 20:56:09 +0000 (21:56 +0100)]
patch 8.2.2153: popupwin test for latin1 still fails sometimes

Problem:    Popupwin test for latin1 still fails sometimes.
Solution:   Wait for the "cat" command to finish.

4 years agopatch 8.2.2152: screenpos() does not include the WinBar offset v8.2.2152
Bram Moolenaar [Thu, 17 Dec 2020 20:35:29 +0000 (21:35 +0100)]
patch 8.2.2152: screenpos() does not include the WinBar offset

Problem:    screenpos() does not include the WinBar offset.
Solution:   Use W_WINROW() instead of directly using w_window. (closes #7487)

4 years agopatch 8.2.2151: $dir not expanded when configure checks for moonjit v8.2.2151
Bram Moolenaar [Thu, 17 Dec 2020 19:50:25 +0000 (20:50 +0100)]
patch 8.2.2151: $dir not expanded when configure checks for moonjit

Problem:    $dir not expanded when configure checks for moonjit.
Solution:   Use double quotes instead of single quotes. (closes #7478)

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)