]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.2275: CTRL-C not recognized in Mintty v8.2.2275
Bram Moolenaar [Sat, 2 Jan 2021 15:17:18 +0000 (16:17 +0100)]
patch 8.2.2275: CTRL-C not recognized in Mintty

Problem:    CTRL-C not recognized in Mintty.
Solution:   Recognize the modifyOtherKeys code ending in "u". (Christian
            Brabandt, closes #7575)

4 years agopatch 8.2.2274: badge for Travis is outdated v8.2.2274
Bram Moolenaar [Sat, 2 Jan 2021 15:06:44 +0000 (16:06 +0100)]
patch 8.2.2274: badge for Travis is outdated

Problem:    badge for Travis is outdated.
Solution:   Update badge for move from travis-ci.org to travis-ci.com.

4 years agopatch 8.2.2273: build failure v8.2.2273
Bram Moolenaar [Sat, 2 Jan 2021 14:49:28 +0000 (15:49 +0100)]
patch 8.2.2273: build failure

Problem:    Build failure.
Solution:   Add missing changes to header file.

4 years agopatch 8.2.2272: Vim9: extend() can violate the type of a variable v8.2.2272
Bram Moolenaar [Sat, 2 Jan 2021 14:41:03 +0000 (15:41 +0100)]
patch 8.2.2272: Vim9: extend() can violate the type of a variable

Problem:    Vim9: extend() can violate the type of a variable.
Solution:   Add the type to the dictionary or list and check items against it.
            (closes #7593)

4 years agopatch 8.2.2271: ml_get error when changing hidden buffer in Python v8.2.2271
Bram Moolenaar [Sat, 2 Jan 2021 12:53:59 +0000 (13:53 +0100)]
patch 8.2.2271: ml_get error when changing hidden buffer in Python

Problem:    ml_get error when changing hidden buffer in Python.
Solution:   Block updating folds. (closes #7598)

4 years agopatch 8.2.2270: warning for size_t to int conversion v8.2.2270
Bram Moolenaar [Sat, 2 Jan 2021 11:45:45 +0000 (12:45 +0100)]
patch 8.2.2270: warning for size_t to int conversion

Problem:    Warning for size_t to int conversion. (Randall W. Morris)
Solution:   Add a type cast.

4 years agopatch 8.2.2269: not all :hardcopy code covered by tests v8.2.2269
Bram Moolenaar [Fri, 1 Jan 2021 20:34:37 +0000 (21:34 +0100)]
patch 8.2.2269: not all :hardcopy code covered by tests

Problem:    Not all :hardcopy code covered by tests.
Solution:   Test more combinations. (Dominique Pellé, closes #7595)

4 years agopatch 8.2.2268: Vim9: list unpack seen as declaration v8.2.2268
Bram Moolenaar [Fri, 1 Jan 2021 20:05:55 +0000 (21:05 +0100)]
patch 8.2.2268: Vim9: list unpack seen as declaration

Problem:    Vim9: list unpack seen as declaration.
Solution:   Check for "var". (closes #7594)

4 years agopatch 8.2.2267: Vim9: cannot use unlet for a dict member v8.2.2267
Bram Moolenaar [Fri, 1 Jan 2021 18:40:02 +0000 (19:40 +0100)]
patch 8.2.2267: Vim9: cannot use unlet for a dict member

Problem:    Vim9: cannot use unlet for a dict member.
Solution:   Pass GLV_NO_DECL to get_lval(). (closes #7585)

4 years agopatch 8.2.2266: Vim9: it can be hard to see where white space is missing v8.2.2266
Bram Moolenaar [Fri, 1 Jan 2021 18:17:55 +0000 (19:17 +0100)]
patch 8.2.2266: Vim9: it can be hard to see where white space is missing

Problem:    Vim9: it can be hard to see where white space is missing.
Solution:   Mention the text where the error was seen. (closes #7580)

4 years agopatch 8.2.2265: error message for missing endfunc/enddef is last line v8.2.2265
Bram Moolenaar [Fri, 1 Jan 2021 17:54:34 +0000 (18:54 +0100)]
patch 8.2.2265: error message for missing endfunc/enddef is last line

Problem:    Error message for missing endfunc/enddef is last line.
Solution:   Report the line where the function starts. (closes #7582)

4 years agopatch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef v8.2.2264
Bram Moolenaar [Fri, 1 Jan 2021 17:43:51 +0000 (18:43 +0100)]
patch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef

Problem:    Vim9: no error for mismatched :endfunc or :enddef.
Solution:   Check for the mismatch. (issue #7582)

4 years agopatch 8.2.2263: Vim9: compilation error with try-catch in skipped block v8.2.2263
Bram Moolenaar [Fri, 1 Jan 2021 15:10:46 +0000 (16:10 +0100)]
patch 8.2.2263: Vim9: compilation error with try-catch in skipped block

Problem:    Vim9: compilation error with try-catch in skipped block.
Solution:   Do not bail out when generate_instr() returns NULL. (closes #7584)

4 years agopatch 8.2.2262: Vim9: converting bool to string prefixes v: v8.2.2262
Bram Moolenaar [Fri, 1 Jan 2021 14:11:04 +0000 (15:11 +0100)]
patch 8.2.2262: Vim9: converting bool to string prefixes v:

Problem:    Vim9: converting bool to string prefixes v:.
Solution:   Do not use the v: prefix.

4 years agopatch 8.2.2261: Vim9: boolean option gets string type v8.2.2261
Bram Moolenaar [Fri, 1 Jan 2021 13:49:15 +0000 (14:49 +0100)]
patch 8.2.2261: Vim9: boolean option gets string type

Problem:    Vim9: boolean option gets string type.
Solution:   Check for VAR_BOOL. (closes #7588)

4 years agopatch 8.2.2260: window resize test fails in very wide terminal v8.2.2260
Bram Moolenaar [Fri, 1 Jan 2021 13:31:34 +0000 (14:31 +0100)]
patch 8.2.2260: window resize test fails in very wide terminal

Problem:    Window resize test fails in very wide terminal.
Solution:   Resize using the 'columns' option.  (Vladimir Lomov, closes #7592)

4 years agopatch 8.2.2259: Test_Executable() fails when using chroot v8.2.2259
Bram Moolenaar [Fri, 1 Jan 2021 13:20:44 +0000 (14:20 +0100)]
patch 8.2.2259: Test_Executable() fails when using chroot

Problem:    Test_Executable() fails when using chroot.
Solution:   Ignore the difference between "sbin" and "bin".

4 years agopatch 8.2.2258: not all OCaml related files are detected v8.2.2258
Bram Moolenaar [Fri, 1 Jan 2021 12:54:00 +0000 (13:54 +0100)]
patch 8.2.2258: not all OCaml related files are detected

Problem:    Not all OCaml related files are detected.
Solution:   Update OCaml file type detection.  (Markus Mottl, closes #7590)

4 years agopatch 8.2.2257: Vim9: using -> for lambda is ambiguous v8.2.2257
Bram Moolenaar [Thu, 31 Dec 2020 20:28:47 +0000 (21:28 +0100)]
patch 8.2.2257: Vim9: using -> for lambda is ambiguous

Problem:    Vim9: using -> for lambda is ambiguous.
Solution:   Stop supporting ->, must use =>.

4 years agopatch 8.2.2256: Vim9: cannot use function( after line break in :def function v8.2.2256
Bram Moolenaar [Thu, 31 Dec 2020 17:28:18 +0000 (18:28 +0100)]
patch 8.2.2256: Vim9: cannot use function( after line break in :def function

Problem:    Vim9: cannot use function( after line break in :def function.
Solution:   Check for "(" after "function". (closes #7581)

4 years agopatch 8.2.2255: Tcl test fails v8.2.2255
Bram Moolenaar [Thu, 31 Dec 2020 17:11:16 +0000 (18:11 +0100)]
patch 8.2.2255: Tcl test fails

Problem:    Tcl test fails.
Solution:   Change option handling.

4 years agopatch 8.2.2254: Vim9: bool option type is number v8.2.2254
Bram Moolenaar [Thu, 31 Dec 2020 16:41:01 +0000 (17:41 +0100)]
patch 8.2.2254: Vim9: bool option type is number

Problem:    Vim9: bool option type is number.
Solution:   Have get_option_value() return a different value for bool and
            number options. (closes #7583)

4 years agopatch 8.2.2253: Vim9: expr test fails v8.2.2253
Bram Moolenaar [Thu, 31 Dec 2020 12:39:54 +0000 (13:39 +0100)]
patch 8.2.2253: Vim9: expr test fails

Problem:    Vim9: expr test fails.
Solution:   Add missing assignment.

4 years agopatch 8.2.2252: Vim9: crash when using lambda without return type in dict v8.2.2252
Bram Moolenaar [Thu, 31 Dec 2020 12:31:23 +0000 (13:31 +0100)]
patch 8.2.2252: Vim9: crash when using lambda without return type in dict

Problem:    Vim9: crash when using lambda without return type in dict.
Solution:   Without a return type use t_unknown. (closes #7587)

4 years agopatch 8.2.2251: test failures in legacy script v8.2.2251
Bram Moolenaar [Wed, 30 Dec 2020 20:16:37 +0000 (21:16 +0100)]
patch 8.2.2251: test failures in legacy script

Problem:    Test failures in legacy script.
Solution:   Check for Vim9 script.

4 years agopatch 8.2.2250: Vim9: sublist is ambiguous v8.2.2250
Bram Moolenaar [Wed, 30 Dec 2020 19:39:21 +0000 (20:39 +0100)]
patch 8.2.2250: Vim9: sublist is ambiguous

Problem:    Vim9: sublist is ambiguous.
Solution:   Require white space around the colon. (closes #7409)

4 years agopatch 8.2.2249: termcodes test is flaky when used over ssh v8.2.2249
Bram Moolenaar [Wed, 30 Dec 2020 13:59:23 +0000 (14:59 +0100)]
patch 8.2.2249: termcodes test is flaky when used over ssh

Problem:    Termcodes test is flaky when used over ssh with X forwarding.
Solution:   Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
            closes #7563)

4 years agopatch 8.2.2248: ASAN error on exit with GUI v8.2.2248
Bram Moolenaar [Wed, 30 Dec 2020 13:08:35 +0000 (14:08 +0100)]
patch 8.2.2248: ASAN error on exit with GUI

Problem:    ASAN error on exit with GUI.
Solution:   Check the window still has lines. (Christian Brabandt,
            closes #7573)

4 years agopatch 8.2.2247: VMS: various smaller problems v8.2.2247
Bram Moolenaar [Wed, 30 Dec 2020 12:14:45 +0000 (13:14 +0100)]
patch 8.2.2247: VMS: various smaller problems

Problem:    VMS: various smaller problems.
Solution:   Fix VMS building and other problems. (Zoltan Arpadffy)

4 years agopatch 8.2.2246: cursor keys not recognized at the hit-Enter prompt v8.2.2246
Bram Moolenaar [Tue, 29 Dec 2020 19:53:33 +0000 (20:53 +0100)]
patch 8.2.2246: cursor keys not recognized at the hit-Enter prompt

Problem:    Cursor keys not recognized at the hit-Enter prompt after executing
            an external command.
Solution:   Change the codes for the extra cursor keys. (closes #7562)
            Tune the delays to avoid test flakyness.

4 years agopatch 8.2.2245: Vim9: return value of winrestcmd() cannot be executed v8.2.2245
Bram Moolenaar [Tue, 29 Dec 2020 19:25:19 +0000 (20:25 +0100)]
patch 8.2.2245: Vim9: return value of winrestcmd() cannot be executed

Problem:    Vim9: return value of winrestcmd() cannot be executed.
Solution:   Put colons before each range. (closes #7571)

4 years agopatch 8.2.2244: crash when making the window width negative v8.2.2244
Bram Moolenaar [Tue, 29 Dec 2020 11:46:51 +0000 (12:46 +0100)]
patch 8.2.2244: crash when making the window width negative

Problem:    Crash when making the window width of the not-current window
            negative.
Solution:   Make sure the window width is not negative. (closes #7568)

4 years agopatch 8.2.2243: crash when popup mask contains zeroes v8.2.2243
Bram Moolenaar [Tue, 29 Dec 2020 10:57:46 +0000 (11:57 +0100)]
patch 8.2.2243: crash when popup mask contains zeroes

Problem:    Crash when popup mask contains zeroes.
Solution:   Check boundaries properly. (closes #7569)

4 years agopatch 8.2.2242: Vim9: bar line continuation does not work at script level v8.2.2242
Bram Moolenaar [Tue, 29 Dec 2020 10:15:01 +0000 (11:15 +0100)]
patch 8.2.2242: Vim9: bar line continuation does not work at script level

Problem:    Vim9: line continuation with bar does not work at script level.
Solution:   Check for Vim9 script.

4 years agopatch 8.2.2241: Build with Ruby and clang may fail v8.2.2241
Bram Moolenaar [Mon, 28 Dec 2020 20:36:56 +0000 (21:36 +0100)]
patch 8.2.2241: Build with Ruby and clang may fail

Problem:    Build with Ruby and clang may fail.
Solution:   Adjust congigure and sed script. (Ozaki Kiichi, closes #7566)

4 years agopatch 8.2.2240: clientserver test fails if full path is used v8.2.2240
Bram Moolenaar [Mon, 28 Dec 2020 20:15:16 +0000 (21:15 +0100)]
patch 8.2.2240: clientserver test fails if full path is used

Problem:    Clientserver test fails if full path is used.
Solution:   Ignore the path preceding the file name.

4 years agopatch 8.2.2239: Vim9: concatenating lines with backslash is inconvenient v8.2.2239
Bram Moolenaar [Mon, 28 Dec 2020 19:53:21 +0000 (20:53 +0100)]
patch 8.2.2239: Vim9: concatenating lines with backslash is inconvenient

Problem:    Vim9: concatenating lines with backslash is inconvenient.
Solution:   Support concatenating lines starting with '|', useful for
            :autocmd, :command, etc. (closes #6702)

4 years agopatch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature v8.2.2238
Bram Moolenaar [Mon, 28 Dec 2020 17:26:00 +0000 (18:26 +0100)]
patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature

Problem:    Vim9: cannot load a Vim9 script without the +eval feature.
Solution:   Support Vim9 script syntax without the +eval feature.

4 years agopatch 8.2.2237: CI on Mac fails in sed command v8.2.2237
Bram Moolenaar [Mon, 28 Dec 2020 14:46:47 +0000 (15:46 +0100)]
patch 8.2.2237: CI on Mac fails in sed command

Problem:    CI on Mac fails in sed command.
Solution:   Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)

4 years agopatch 8.2.2236: 'scroll' option can change when setting the statusline v8.2.2236
Bram Moolenaar [Mon, 28 Dec 2020 14:41:41 +0000 (15:41 +0100)]
patch 8.2.2236: 'scroll' option can change when setting the statusline

Problem:    'scroll' option can change when setting the statusline or tabline
            but the option context is not updated.
Solution:   Update the script context when the scroll option is changed as a
            side effect. (Christian Brabandt, closes #7533)

4 years agopatch 8.2.2235: build failure with some Ruby versions v8.2.2235
Bram Moolenaar [Mon, 28 Dec 2020 14:07:45 +0000 (15:07 +0100)]
patch 8.2.2235: build failure with some Ruby versions

Problem:    Build failure with some Ruby versions.
Solution:   Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)

4 years agopatch 8.2.2234: command line wildmenu test often fails with Unix GUI v8.2.2234
Bram Moolenaar [Mon, 28 Dec 2020 12:41:53 +0000 (13:41 +0100)]
patch 8.2.2234: command line wildmenu test often fails with Unix GUI

Problem:    Command line wildmenu test often fails with Unix GUI.
Solution:   Skip the test where it is expected to fail.

4 years agopatch 8.2.2233: cannot convert a byte index into a character index v8.2.2233
Bram Moolenaar [Mon, 28 Dec 2020 11:56:58 +0000 (12:56 +0100)]
patch 8.2.2233: cannot convert a byte index into a character index

Problem:    Cannot convert a byte index into a character index.
Solution:   Add charidx(). (Yegappan Lakshmanan, closes #7561)

4 years agopatch 8.2.2232: compiler error for falling through into next case v8.2.2232
Bram Moolenaar [Sun, 27 Dec 2020 18:18:03 +0000 (19:18 +0100)]
patch 8.2.2232: compiler error for falling through into next case

Problem:    Compiler error for falling through into next case.
Solution:   Move FALLTHROUGH below the #endif

4 years agopatch 8.2.2231: when "--remote file" is used "file" is not reloaded v8.2.2231
Bram Moolenaar [Sun, 27 Dec 2020 18:00:24 +0000 (19:00 +0100)]
patch 8.2.2231: when "--remote file" is used "file" is not reloaded

Problem:    When "--remote file" is used "file" is not reloaded.
Solution:   When a :drop command is used for a file that is already displayed
            in a window and it has not been changed, check if it needs to be
            reloaded. (closes #7560)

4 years agopatch 8.2.2230: Vim9: insert completion runs into error v8.2.2230
Bram Moolenaar [Sun, 27 Dec 2020 17:03:22 +0000 (18:03 +0100)]
patch 8.2.2230: Vim9: insert completion runs into error

Problem:    Vim9: insert completion runs into error.
Solution:   Insert colon before range. (closes #7556)

4 years agopatch 8.2.2229: build failure without the +eval feature v8.2.2229
Bram Moolenaar [Sun, 27 Dec 2020 16:35:18 +0000 (17:35 +0100)]
patch 8.2.2229: build failure without the +eval feature

Problem:    build failure without the +eval feature.
Solution:   Add #ifdef.

4 years agopatch 8.2.2228: Vim9: cannot use ":e #" because # starts a comment v8.2.2228
Bram Moolenaar [Sun, 27 Dec 2020 15:55:11 +0000 (16:55 +0100)]
patch 8.2.2228: Vim9: cannot use ":e #" because # starts a comment

Problem:    Vim9: cannot use ":e #" because # starts a comment.
Solution:   Support using %% instead of #.

4 years agopatch 8.2.2227: Vim9: recognizing lambda is too complicated v8.2.2227
Bram Moolenaar [Sun, 27 Dec 2020 13:43:30 +0000 (14:43 +0100)]
patch 8.2.2227: Vim9: recognizing lambda is too complicated

Problem:    Vim9: recognizing lambda is too complicated.
Solution:   Call compile_lambda() and check for NOTDONE.

4 years agopatch 8.2.2226: Vim9: script test fails v8.2.2226
Bram Moolenaar [Sun, 27 Dec 2020 13:02:27 +0000 (14:02 +0100)]
patch 8.2.2226: Vim9: script test fails

Problem:    Vim9: script test fails.
Solution:   Add missing change.

4 years agopatch 8.2.2225: Vim9: error when using :import in legacy script twice v8.2.2225
Bram Moolenaar [Sun, 27 Dec 2020 12:39:50 +0000 (13:39 +0100)]
patch 8.2.2225: Vim9: error when using :import in legacy script twice

Problem:    Vim9: error when using :import in legacy script twice.
Solution:   Make it possible to redefine an import when reloading.

4 years agopatch 8.2.2224: Vim9: crash if script reloaded with different variable type v8.2.2224
Bram Moolenaar [Sat, 26 Dec 2020 19:09:15 +0000 (20:09 +0100)]
patch 8.2.2224: Vim9: crash if script reloaded with different variable type

Problem:    Vim9: crash if script reloaded with different variable type.
Solution:   Check the type when accessing the variable.

4 years agopatch 8.2.2223: Vim9: Reloading marks a :def function as deleted v8.2.2223
Bram Moolenaar [Sat, 26 Dec 2020 16:43:08 +0000 (17:43 +0100)]
patch 8.2.2223: Vim9: Reloading marks a :def function as deleted

Problem:    Vim9: Reloading marks a :def function as deleted.
Solution:   Clear the function contents but keep the index.

4 years agopatch 8.2.2222: Vim9: cannot keep script variables when reloading v8.2.2222
Bram Moolenaar [Sat, 26 Dec 2020 14:39:31 +0000 (15:39 +0100)]
patch 8.2.2222: Vim9: cannot keep script variables when reloading

Problem:    Vim9: cannot keep script variables when reloading.
Solution:   Add the "noclear" argument to :vim9script.

4 years agopatch 8.2.2221: if <Down> is mapped on the command line 'wildchar' is inserted v8.2.2221
Bram Moolenaar [Sat, 26 Dec 2020 11:06:54 +0000 (12:06 +0100)]
patch 8.2.2221: if <Down> is mapped on the command line 'wildchar' is inserted

Problem:    If <Down> is mapped on the command line 'wildchar' is inserted.
Solution:   Set KeyTyped when using 'wildchar'. (closes #7552)

4 years agopatch 8.2.2220: Vim9: memory leak when parsing nested parenthesis v8.2.2220
Bram Moolenaar [Fri, 25 Dec 2020 21:30:16 +0000 (22:30 +0100)]
patch 8.2.2220: Vim9: memory leak when parsing nested parenthesis

Problem:    Vim9: memory leak when parsing nested parenthesis.
Solution:   Clear newargs.

4 years agopatch 8.2.2219: Vim9: method call with expression not supported v8.2.2219
Bram Moolenaar [Fri, 25 Dec 2020 20:56:57 +0000 (21:56 +0100)]
patch 8.2.2219: Vim9: method call with expression not supported

Problem:    Vim9: method call with expression not supported.
Solution:   Implement expr->(expr)().

4 years agopatch 8.2.2218: Vim9: failure if passing more args to lambda than expected v8.2.2218
Bram Moolenaar [Fri, 25 Dec 2020 19:24:51 +0000 (20:24 +0100)]
patch 8.2.2218: Vim9: failure if passing more args to lambda than expected

Problem:    Vim9: failure if passing more arguments to a lambda than expected.
Solution:   Only put expected arguments on the stack. (closes #7548)

4 years agopatch 8.2.2217: Vim9: command modifiers not restored in catch block v8.2.2217
Bram Moolenaar [Fri, 25 Dec 2020 18:47:24 +0000 (19:47 +0100)]
patch 8.2.2217: Vim9: command modifiers not restored in catch block

Problem:    Vim9: command modifiers not restored in catch block.
Solution:   Restore command modifiers. (closes #7542)

4 years agopatch 8.2.2216: Vim9: range with missing colon can be hard to spot v8.2.2216
Bram Moolenaar [Fri, 25 Dec 2020 18:25:45 +0000 (19:25 +0100)]
patch 8.2.2216: Vim9: range with missing colon can be hard to spot

Problem:    Vim9: range with missing colon can be hard to spot.
Solution:   Include the start of the range in the error. (closes #7543)

4 years agopatch 8.2.2215: Vim9: not recognized in global command v8.2.2215
Bram Moolenaar [Fri, 25 Dec 2020 17:35:29 +0000 (18:35 +0100)]
patch 8.2.2215: Vim9:  not recognized in global command

Problem:    Vim9:  not recognized in global command.
Solution:   Skip over pattern. (issue #7541)

4 years agopatch 8.2.2214: ":e#" does not give a warning for missing white space v8.2.2214
Bram Moolenaar [Fri, 25 Dec 2020 16:36:27 +0000 (17:36 +0100)]
patch 8.2.2214: ":e#" does not give a warning for missing white space

Problem:    ":e#" does not give a warning for missing white space.
Solution:   Adjust the check for white space. (closes #7545)

4 years agopatch 8.2.2213: checking white space around -> is not backwards compatible v8.2.2213
Bram Moolenaar [Fri, 25 Dec 2020 15:11:53 +0000 (16:11 +0100)]
patch 8.2.2213: checking white space around -> is not backwards compatible

Problem:    Checking white space around -> is not backwards compatible.
Solution:   Only check white space around =>.

4 years agopatch 8.2.2212: Vim9: lambda with => does not work at the script level v8.2.2212
Bram Moolenaar [Fri, 25 Dec 2020 14:24:23 +0000 (15:24 +0100)]
patch 8.2.2212: Vim9: lambda with => does not work at the script level

Problem:    Vim9: lambda with => does not work at the script level.
Solution:   Make it work.

4 years agopatch 8.2.2211: MS-Windows: can't load Python dll if not in the path v8.2.2211
Bram Moolenaar [Fri, 25 Dec 2020 12:52:37 +0000 (13:52 +0100)]
patch 8.2.2211: MS-Windows: can't load Python dll if not in the path

Problem:    MS-Windows: can't load Python dll if not in the path.
Solution:   Use the InstallPath registry entry. (Kelvin Lee, closes #7540)

4 years agopatch 8.2.2210: Vim9: allocating a type to set TTFLAG_BOOL_OK v8.2.2210
Bram Moolenaar [Fri, 25 Dec 2020 12:20:41 +0000 (13:20 +0100)]
patch 8.2.2210: Vim9: allocating a type to set TTFLAG_BOOL_OK

Problem:    Vim9: allocating a type to set TTFLAG_BOOL_OK.
Solution:   Add t_number_bool.

4 years agopatch 8.2.2209: Vim9: return type of => lambda not parsed v8.2.2209
Bram Moolenaar [Fri, 25 Dec 2020 11:38:04 +0000 (12:38 +0100)]
patch 8.2.2209: Vim9: return type of => lambda not parsed

Problem:    Vim9: return type of => lambda not parsed.
Solution:   Parse and use the return type.

4 years agopatch 8.2.2208: Vim9: after reloading a script variable index may be invalid v8.2.2208
Bram Moolenaar [Thu, 24 Dec 2020 20:56:41 +0000 (21:56 +0100)]
patch 8.2.2208: Vim9: after reloading a script variable index may be invalid

Problem:    Vim9: after reloading a script variable index may be invalid.
Solution:   When the sequence number doesn't match give an error for using a
            script-local variable from a compiled function. (closes #7547)

4 years agopatch 8.2.2207: illegal memory access if popup menu items are changed v8.2.2207
Bram Moolenaar [Thu, 24 Dec 2020 17:39:02 +0000 (18:39 +0100)]
patch 8.2.2207: illegal memory access if popup menu items are changed

Problem:    Illegal memory access if popup menu items are changed while the
            menu is visible. (Tomáš Janoušek)
Solution:   Make a copy of the text. (closes #7537)

4 years agoTweak the style a bit.
Bram Moolenaar [Thu, 24 Dec 2020 16:41:12 +0000 (17:41 +0100)]
Tweak the style a bit.

4 years agoRemove table, it doesn't work
Bram Moolenaar [Thu, 24 Dec 2020 16:35:41 +0000 (17:35 +0100)]
Remove table, it doesn't work

4 years agoAttempt to fix markdown in table cell.
Bram Moolenaar [Thu, 24 Dec 2020 16:25:06 +0000 (17:25 +0100)]
Attempt to fix markdown in table cell.

4 years agoAttempt to align the logo without a markdown table.
Bram Moolenaar [Thu, 24 Dec 2020 16:20:24 +0000 (17:20 +0100)]
Attempt to align the logo without a markdown table.

4 years agopatch 8.2.2206: :exe command line completion only works for first argument v8.2.2206
Bram Moolenaar [Thu, 24 Dec 2020 16:15:53 +0000 (17:15 +0100)]
patch 8.2.2206: :exe command line completion only works for first argument

Problem:    :exe command line completion only works for first argument.
Solution:   Skip over text if more is following. (closes #7546)

4 years agopatch 8.2.2205: Vim9: memory leak when parsing lambda fails v8.2.2205
Bram Moolenaar [Thu, 24 Dec 2020 15:06:00 +0000 (16:06 +0100)]
patch 8.2.2205: Vim9: memory leak when parsing lambda fails

Problem:    Vim9: memory leak when parsing lambda fails.
Solution:   Clear growarrays.

4 years agopatch 8.2.2204: Vim9: using -> both for method and lambda is confusing v8.2.2204
Bram Moolenaar [Thu, 24 Dec 2020 14:14:01 +0000 (15:14 +0100)]
patch 8.2.2204: Vim9: using -> both for method and lambda is confusing

Problem:    Vim9: using -> both for method and lambda is confusing.
Solution:   Use => for lambda in :def function.

4 years agopatch 8.2.2203: Moodle gift files are not recognized v8.2.2203
Bram Moolenaar [Thu, 24 Dec 2020 12:33:46 +0000 (13:33 +0100)]
patch 8.2.2203: Moodle gift files are not recognized

Problem:    Moodle gift files are not recognized.
Solution:   Add a filetype pattern. (Delim Temizer)

4 years agopatch 8.2.2202: write file test still fails on MS-Windows v8.2.2202
Bram Moolenaar [Wed, 23 Dec 2020 21:40:11 +0000 (22:40 +0100)]
patch 8.2.2202: write file test still fails on MS-Windows

Problem:    Write file test still fails on MS-Windows.
Solution:   Set fileformat with the :edit command

4 years agopatch 8.2.2201: write file test fails on MS-Windows v8.2.2201
Bram Moolenaar [Wed, 23 Dec 2020 19:55:15 +0000 (20:55 +0100)]
patch 8.2.2201: write file test fails on MS-Windows

Problem:    Write file test fails on MS-Windows.
Solution:   Force edit after setting 'fileformat'.

4 years agopatch 8.2.2200: Vim9: lambda without white space around -> is confusing v8.2.2200
Bram Moolenaar [Wed, 23 Dec 2020 19:27:31 +0000 (20:27 +0100)]
patch 8.2.2200: Vim9: lambda without white space around -> is confusing

Problem:    Vim9: lambda without white space around -> is confusing.
Solution:   Require white space in a :def funtion. (issue #7503)

4 years agopatch 8.2.2199: first write after setting 'eol' does not have NL added v8.2.2199
Bram Moolenaar [Wed, 23 Dec 2020 17:54:57 +0000 (18:54 +0100)]
patch 8.2.2199: first write after setting 'eol' does not have NL added

Problem:    First write after setting 'eol' does not have NL added. (Tomáš
            Janoušek)
Solution:   Only use b_no_eol_lnum when doing a binary write. (closes #7535)

4 years agopatch 8.2.2198: ml_get error when resizing window and using text property v8.2.2198
Bram Moolenaar [Wed, 23 Dec 2020 13:36:00 +0000 (14:36 +0100)]
patch 8.2.2198: ml_get error when resizing window and using text property

Problem:    ml_get error when resizing window and using text property.
Solution:   Validate botline of the right window. (closes #7528)

4 years agoUpdate runtime files.
Bram Moolenaar [Wed, 23 Dec 2020 12:56:35 +0000 (13:56 +0100)]
Update runtime files.

4 years agopatch 8.2.2197: assert arguments order reversed v8.2.2197
Bram Moolenaar [Wed, 23 Dec 2020 11:50:20 +0000 (12:50 +0100)]
patch 8.2.2197: assert arguments order reversed

Problem:    Assert arguments order reversed.
Solution:   Swap the arguments. (Christian Brabandt, closes #7531)

4 years agopatch 8.2.2196: :version output has extra spaces in compile and link command v8.2.2196
Bram Moolenaar [Wed, 23 Dec 2020 11:33:42 +0000 (12:33 +0100)]
patch 8.2.2196: :version output has extra spaces in compile and link command

Problem:    :version output has extra spaces in compile and link command.
Solution:   Adjust QUOTESED. (closes #7505)

4 years agopatch 8.2.2195: failing tests for :const v8.2.2195
Bram Moolenaar [Tue, 22 Dec 2020 21:07:30 +0000 (22:07 +0100)]
patch 8.2.2195: failing tests for :const

Problem:    Failing tests for :const.
Solution:   Add missing check for ASSIGN_FINAL.

4 years agopatch 8.2.2194: Vim9: cannot use :const or :final at the script level v8.2.2194
Bram Moolenaar [Tue, 22 Dec 2020 20:19:39 +0000 (21:19 +0100)]
patch 8.2.2194: Vim9: cannot use :const or :final at the script level

Problem:    Vim9: cannot use :const or :final at the script level.
Solution:   Support using :const and :final. (closes #7526)

4 years agopatch 8.2.2193: Vim9: can change constant in :def function v8.2.2193
Bram Moolenaar [Tue, 22 Dec 2020 19:35:40 +0000 (20:35 +0100)]
patch 8.2.2193: Vim9: can change constant in :def function

Problem:    Vim9: can change constant in :def function.
Solution:   Check if a variable is locked. (issue #7526)

4 years agopatch 8.2.2192: Codecov on github actions fails v8.2.2192
Bram Moolenaar [Tue, 22 Dec 2020 18:05:33 +0000 (19:05 +0100)]
patch 8.2.2192: Codecov on github actions fails

Problem:    Codecov on github actions fails.
Solution:   Revert to codecov script. (Ozaki Kiichi, closes #7529)

4 years agopatch 8.2.2191: Vim9: using wrong name with lambda in nested function v8.2.2191
Bram Moolenaar [Tue, 22 Dec 2020 17:56:55 +0000 (18:56 +0100)]
patch 8.2.2191: Vim9: using wrong name with lambda in nested function

Problem:    Vim9: using wrong name with lambda in nested function.
Solution:   Copy the lambda name earlier. (closes #7525)

4 years agopatch 8.2.2190: Vim9: crash when compiled with EXITFREE v8.2.2190
Bram Moolenaar [Tue, 22 Dec 2020 17:33:27 +0000 (18:33 +0100)]
patch 8.2.2190: Vim9: crash when compiled with EXITFREE

Problem:    Vim9: crash when compiled with EXITFREE.
Solution:   Check that df_ufunc is not NULL.

4 years agopatch 8.2.2189: cannot repeat a command that uses the small delete register v8.2.2189
Bram Moolenaar [Tue, 22 Dec 2020 16:59:35 +0000 (17:59 +0100)]
patch 8.2.2189: cannot repeat a command that uses the small delete register

Problem:    Cannot repeat a command that uses the small delete register.
Solution:   Store the register name instead of the contents. (Christian
            Brabandt, closes #7527)

4 years agopatch 8.2.2188: Vim9: crash when calling global function from :def function v8.2.2188
Bram Moolenaar [Tue, 22 Dec 2020 16:35:54 +0000 (17:35 +0100)]
patch 8.2.2188: Vim9: crash when calling global function from :def function

Problem:    Vim9: crash when calling global function from :def function.
Solution:   Set the outer context.  Define the partial for the context on the
            original function. Use a refcount to keep track of which ufunc is
            using a dfunc. (closes #7525)

4 years agopatch 8.2.2187: Python 3 test fails sometimes v8.2.2187
Bram Moolenaar [Tue, 22 Dec 2020 11:50:10 +0000 (12:50 +0100)]
patch 8.2.2187: Python 3 test fails sometimes

Problem:    Python 3 test fails sometimes. (Christian Brabandt)
Solution:   Accept two SystemError messages.

4 years agopatch 8.2.2186: Vim9: error when using 'opfunc' v8.2.2186
Bram Moolenaar [Tue, 22 Dec 2020 11:20:08 +0000 (12:20 +0100)]
patch 8.2.2186: Vim9: error when using 'opfunc'

Problem:    Vim9: error when using 'opfunc'.
Solution:   Do not expect a return value from 'opfunc'. (closes #7510)

4 years agoAdd missing change to version.c
Bram Moolenaar [Tue, 22 Dec 2020 11:18:11 +0000 (12:18 +0100)]
Add missing change to version.c

4 years agopatch 8.2.2185: BufUnload is not triggered for the quickfix dummy buffer v8.2.2185
Bram Moolenaar [Tue, 22 Dec 2020 10:40:45 +0000 (11:40 +0100)]
patch 8.2.2185: BufUnload is not triggered for the quickfix dummy buffer

Problem:    BufUnload is not triggered for the quickfix dummy buffer.
Solution:   Do trigger BufUnload. (Pontus Leitzler,closes #7518, closes #7517)
            Fix white space around "=".

4 years agopatch 8.2.2184: Vim9: no error when using "2" for a line number v8.2.2184
Bram Moolenaar [Mon, 21 Dec 2020 20:58:46 +0000 (21:58 +0100)]
patch 8.2.2184: Vim9: no error when using "2" for a line number

Problem:    Vim9: no error when using "2" for a line number.
Solution:   Give an error message if the line number is invalid. (closes #7492)

4 years agopatch 8.2.2183: Vim9: value of 'edcompatible' and 'gdefault' are used v8.2.2183
Bram Moolenaar [Mon, 21 Dec 2020 19:32:43 +0000 (20:32 +0100)]
patch 8.2.2183: Vim9: value of 'edcompatible' and 'gdefault' are used

Problem:    Vim9: value of 'edcompatible' and 'gdefault' are used.
Solution:   Ignore these deprecated options in Vim9 script. (closes #7508)

4 years agopatch 8.2.2182: Vim9: value of 'magic' is still relevant v8.2.2182
Bram Moolenaar [Mon, 21 Dec 2020 18:59:08 +0000 (19:59 +0100)]
patch 8.2.2182: Vim9: value of 'magic' is still relevant

Problem:    Vim9: value of 'magic' is still relevant.
Solution:   Always behave like 'magic' is on in Vim9 script (closes #7509)