]> granicus.if.org Git - vim/log
vim
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)

4 years agopatch 8.2.2181: valgrind warnings for using uninitialized value v8.2.2181
Bram Moolenaar [Mon, 21 Dec 2020 17:24:00 +0000 (18:24 +0100)]
patch 8.2.2181: valgrind warnings for using uninitialized value

Problem:    Valgrind warnings for using uninitialized value.
Solution:   Do not use "start" or "end" unless there is a match.

4 years agopatch 8.2.2180: Vim9: test for error after error is flaky v8.2.2180
Bram Moolenaar [Mon, 21 Dec 2020 17:11:24 +0000 (18:11 +0100)]
patch 8.2.2180: Vim9: test for error after error is flaky

Problem:    Vim9: test for error after error is flaky.
Solution:   Wait for job to finish instead of a fixed delay.

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