]>
granicus.if.org Git - vim/log
Bram Moolenaar [Thu, 15 Apr 2021 19:48:32 +0000 (21:48 +0200)]
patch 8.2.2770: Vim9: type of loop variable is not used
Problem: Vim9: type of loop variable is not used.
Solution: Parse and check the variable type. (closes #8107)
Bram Moolenaar [Thu, 15 Apr 2021 12:29:17 +0000 (14:29 +0200)]
patch 8.2.2769: Modula-3 config files are not recognized
Problem: Modula-3 config files are not recognized.
Solution: Add filetype patterns. (Doug Kearns)
Bram Moolenaar [Thu, 15 Apr 2021 11:42:21 +0000 (13:42 +0200)]
patch 8.2.2768: Vim9: memory leak with blob range error
Problem: Vim9: memory leak with blob range error.
Solution: Jump to end instead of returning.
Bram Moolenaar [Wed, 14 Apr 2021 19:30:06 +0000 (21:30 +0200)]
patch 8.2.2767: compiler warning for unused argument
Problem: Compiler warning for unused argument.
Solution: Remove the argument.
Bram Moolenaar [Wed, 14 Apr 2021 18:54:07 +0000 (20:54 +0200)]
patch 8.2.2766: test failure
Problem: Test failure.
Solution: Add change to Vim9 compilation error message.
Bram Moolenaar [Wed, 14 Apr 2021 18:35:23 +0000 (20:35 +0200)]
patch 8.2.2765: Vim9: not all blob operations work
Problem: Vim9: not all blob operations work.
Solution: Run more tests also with Vim9 script and :def functions. Fix what
doesn't work.
Bram Moolenaar [Wed, 14 Apr 2021 15:06:43 +0000 (17:06 +0200)]
patch 8.2.2764: memory leak when default function argument is allocated
Problem: Memory leak when default function argument is allocated.
Solution: Free the expression result.
Bram Moolenaar [Wed, 14 Apr 2021 11:30:46 +0000 (13:30 +0200)]
patch 8.2.2763: Vim9: cannot use type in for loop unpack at script level
Problem: Vim9: cannot use type in for loop unpack at script level.
Solution: Advance over the type name.
Bram Moolenaar [Wed, 14 Apr 2021 10:40:00 +0000 (12:40 +0200)]
patch 8.2.2762: Vim9: function line truncated when compiling
Problem: Vim9: function line truncated when compiling.
Solution: Copy the line before processing it. (closes #8101)
Bram Moolenaar [Wed, 14 Apr 2021 09:15:08 +0000 (11:15 +0200)]
patch 8.2.2761: using "syn include" does not work properly
Problem: Using "syn include" does not work properly.
Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
closes #8104)
Bram Moolenaar [Tue, 13 Apr 2021 19:48:03 +0000 (21:48 +0200)]
patch 8.2.2760: Vim9: no error for changing a for loop variable
Problem: Vim9: no error for changing a for loop variable.
Solution: Make the loop variable read-only. (issue #8102)
Bram Moolenaar [Tue, 13 Apr 2021 18:53:13 +0000 (20:53 +0200)]
patch 8.2.2759: Vim9: for loop infers type of loop variable
Problem: Vim9: for loop infers type of loop variable.
Solution: Do not get the member type. (closes #8102)
Bram Moolenaar [Mon, 12 Apr 2021 20:02:36 +0000 (22:02 +0200)]
patch 8.2.2758: Vim9: wrong line number for autoload function with wrong name
Problem: Vim9: wrong line number for autoload function with wrong name.
Solution: Set and restore SOURCING_LNUM. (closes #8100)
Bram Moolenaar [Mon, 12 Apr 2021 19:21:02 +0000 (21:21 +0200)]
patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separate
Problem: Vim9: blob tests for legacy and Vim9 script are separate.
Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
Bram Moolenaar [Sun, 11 Apr 2021 18:26:34 +0000 (20:26 +0200)]
patch 8.2.2756: Vim9: blob index and slice not implemented yet
Problem: Vim9: blob index and slice not implemented yet.
Solution: Implement blob index and slice.
Bram Moolenaar [Sun, 11 Apr 2021 16:24:46 +0000 (18:24 +0200)]
patch 8.2.2755: Vim9: no error for using a number in a condition
Problem: Vim9: no error for using a number in a condition.
Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
(closes #7644)
Bram Moolenaar [Sun, 11 Apr 2021 11:29:18 +0000 (13:29 +0200)]
patch 8.2.2754: :sleep! does not always hide the cursor
Problem: :sleep! does not always hide the cursor.
Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
closes #7998)
Bram Moolenaar [Sat, 10 Apr 2021 20:35:43 +0000 (22:35 +0200)]
patch 8.2.2753: Vim9: cannot ignore an item in assignment unpack
Problem: Vim9: cannot ignore an item in assignment unpack.
Solution: Allow using an underscore.
Bram Moolenaar [Sat, 10 Apr 2021 19:46:05 +0000 (21:46 +0200)]
patch 8.2.2752
Bram Moolenaar [Sat, 10 Apr 2021 19:38:38 +0000 (21:38 +0200)]
patch 8.2.2751: Coverity warns for using NULL pointer
Problem: Coverity warns for using NULL pointer.
Solution: Check for NULL in calling function.
Bram Moolenaar [Sat, 10 Apr 2021 19:01:38 +0000 (21:01 +0200)]
patch 8.2.2750: Vim9: error for using underscore in nested function
Problem: Vim9: error for using underscore in nested function.
Solution: Do not consider "_" already defined. (closes #8096)
Bram Moolenaar [Sat, 10 Apr 2021 18:52:43 +0000 (20:52 +0200)]
patch 8.2.2749: Vim9: test for error can be a bit flaky
Problem: Vim9: test for error can be a bit flaky.
Solution: Increase the wait time a bit.
Bram Moolenaar [Sat, 10 Apr 2021 18:46:48 +0000 (20:46 +0200)]
patch 8.2.2748: Vim9: memory leak when calling :def function fails
Problem: Vim9: memory leak when calling :def function fails.
Solution: Jump to failed_early instead of returning.
Bram Moolenaar [Sat, 10 Apr 2021 18:10:26 +0000 (20:10 +0200)]
patch 8.2.2747: Vim9: not always an error for too many function arguments
Problem: Vim9: not always an error for too many function arguments.
Solution: Check for getting too many arguments.
Bram Moolenaar [Sat, 10 Apr 2021 16:21:30 +0000 (18:21 +0200)]
patch 8.2.2746: check for duplicate arguments does not work
Problem: Check for duplicate arguments does not work.
Solution: Correct condition.
Bram Moolenaar [Sat, 10 Apr 2021 15:46:52 +0000 (17:46 +0200)]
patch 8.2.2745: Vim9: missing part of the argument change
Problem: Vim9: missing part of the argument change.
Solution: Add missing changes.
Bram Moolenaar [Sat, 10 Apr 2021 15:18:09 +0000 (17:18 +0200)]
patch 8.2.2744: Vim9: no way to explicitly ignore an argument
Problem: Vim9: no way to explicitly ignore an argument.
Solution: Use the underscore as the name for an ignored argument.
Bram Moolenaar [Sat, 10 Apr 2021 12:03:43 +0000 (14:03 +0200)]
patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!"
Problem: Vim9: function state stuck when compiling with ":silent!".
Solution: Check for uf_def_status to be UF_COMPILING.
Bram Moolenaar [Sat, 10 Apr 2021 11:33:48 +0000 (13:33 +0200)]
patch 8.2.2742: Vim9: when compiling a function fails it is cleared
Problem: Vim9: when compiling a function fails it is cleared.
Solution: Keep the function lines, prevent execution with a different
status. (closes #8093)
Bram Moolenaar [Fri, 9 Apr 2021 20:12:44 +0000 (22:12 +0200)]
patch 8.2.2741: Vim9: Partial call does not check right arguments
Problem: Vim9: Partial call does not check right arguments.
Solution: Adjust the offset for whether the partial is before or after the
arguments. (closes #8091)
Bram Moolenaar [Fri, 9 Apr 2021 18:24:31 +0000 (20:24 +0200)]
patch 8.2.2740: Vim9: lambda with varargs doesn't work
Problem: Vim9: lambda with varargs doesn't work.
Solution: Make "...name" work. Require type to be a list.
Bram Moolenaar [Fri, 9 Apr 2021 15:24:52 +0000 (17:24 +0200)]
patch 8.2.2739: Vim9: a lambda accepts too many arguments at the script level
Problem: Vim9: a lambda accepts too many arguments at the script level.
Solution: Do not set uf_varargs in Vim9 script.
Bram Moolenaar [Thu, 8 Apr 2021 18:10:10 +0000 (20:10 +0200)]
patch 8.2.2738: extending a list with itself can give wrong result
Problem: Extending a list with itself can give wrong result.
Solution: Remember the item before where the insertion happens and skip to
after the already inserted items. (closes #1112)
Bram Moolenaar [Thu, 8 Apr 2021 16:27:53 +0000 (18:27 +0200)]
patch 8.2.2737: status line not updated when local 'statusline' option set
Problem: Status line not updated when local 'statusline' option set.
Solution: Check the 'statusline' option of each window.
Bram Moolenaar [Thu, 8 Apr 2021 16:05:03 +0000 (18:05 +0200)]
patch 8.2.2736: Vim9: for loop over string is a bit slow
Problem: Vim9: for loop over string is a bit slow.
Solution: Avoid using strlen().
Bram Moolenaar [Wed, 7 Apr 2021 19:58:16 +0000 (21:58 +0200)]
patch 8.2.2735: Vim9: function reference found with prefix, not without
Problem: Vim9: function reference found with prefix, not without.
Solution: Also find function reference without prefix.
Bram Moolenaar [Wed, 7 Apr 2021 19:21:13 +0000 (21:21 +0200)]
patch 8.2.2734: Vim9: cannot use legacy script-local var from :def function
Problem: Vim9: cannot use legacy script-local var from :def function.
Solution: Do not insist on using "s:" prefix. (closes #8076)
Bram Moolenaar [Wed, 7 Apr 2021 19:07:20 +0000 (21:07 +0200)]
Update runtime files
Bram Moolenaar [Wed, 7 Apr 2021 18:11:12 +0000 (20:11 +0200)]
patch 8.2.2733: detecting Lua version is not reliable
Problem: Detecting Lua version is not reliable.
Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
Bram Moolenaar [Wed, 7 Apr 2021 17:42:57 +0000 (19:42 +0200)]
patch 8.2.2732: prompt for s///c in Ex mode can be wrong
Problem: Prompt for s///c in Ex mode can be wrong.
Solution: Position the cursor before showing the prompt. (closes #8073)
Bram Moolenaar [Wed, 7 Apr 2021 17:00:25 +0000 (19:00 +0200)]
patch 8.2.2731: Mac: SF symbols are not displayed properly
Problem: Mac: SF symbols are not displayed properly.
Solution: Add custom range to list of double-width characters. (Yee Cheng
Chin, closes #8077)
Bram Moolenaar [Tue, 6 Apr 2021 19:29:32 +0000 (21:29 +0200)]
patch 8.2.2730: Coverity complains about not restoring character
Problem: Coverity complains about not restoring character.
Solution: Also restore the character in case of an error.
Bram Moolenaar [Tue, 6 Apr 2021 19:17:27 +0000 (21:17 +0200)]
patch 8.2.2729: Vim9: wrong error message for referring to legacy script var
Problem: Vim9: wrong error message for referring to legacy script variable.
Solution: Do allow referring to a variable in legacy script without "s:" if
it exists at compile time. (closes #8076)
Bram Moolenaar [Tue, 6 Apr 2021 18:21:59 +0000 (20:21 +0200)]
patch 8.2.2728: special key names don't work if 'isident' is cleared
Problem: Special key names don't work if 'isident' is cleared.
Solution: Add vim_isNormalIDc() and use it for special key names.
(closes #2389)
Bram Moolenaar [Tue, 6 Apr 2021 18:18:29 +0000 (20:18 +0200)]
patch 8.2.2727: function test fails
Problem: Function test fails.
Solution: Adjust expected error number.
Bram Moolenaar [Tue, 6 Apr 2021 17:01:03 +0000 (19:01 +0200)]
patch 8.2.2726: confusing error message with white space before comma
Problem: Confusing error message with white space before comma in the
arguments of a function declaration.
Solution: Give a specific error message. (closes #2235)
Bram Moolenaar [Mon, 5 Apr 2021 20:27:37 +0000 (22:27 +0200)]
patch 8.2.2725: Vim9: message about compiling is wrong when using try/catch
Problem: Vim9: message about compiling is wrong when using try/catch.
Solution: Store the compiling flag with the message. (closes #8071)
Bram Moolenaar [Mon, 5 Apr 2021 19:05:26 +0000 (21:05 +0200)]
patch 8.2.2724: Vim9: concatenating to list in dict not tested
Problem: Vim9: concatenating to list in dict not tested.
Solution: Add a test. (issue #8068)
Bram Moolenaar [Mon, 5 Apr 2021 18:59:41 +0000 (20:59 +0200)]
patch 8.2.2723: assignment test fails
Problem: Assignment test fails.
Solution: Adjust error number.
Bram Moolenaar [Mon, 5 Apr 2021 18:51:00 +0000 (20:51 +0200)]
patch 8.2.2722: Vim9: crash when using LHS with double index
Problem: Vim9: crash when using LHS with double index.
Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
Fix confusing error message for missing dict item.
Bram Moolenaar [Mon, 5 Apr 2021 17:41:21 +0000 (19:41 +0200)]
patch 8.2.2721: Vim9: cannot have a linebreak inside a lambda
Problem: Vim9: cannot have a linebreak inside a lambda.
Solution: Compile the expression before the arguments.
Bram Moolenaar [Mon, 5 Apr 2021 16:20:45 +0000 (18:20 +0200)]
patch 8.2.2720: GTK menu tooltip moves the cursor
Problem: GTK menu tooltip moves the cursor.
Solution: Position the cursor after displaying the tooltip. Do not show the
tooltip when editing the command line.
Bram Moolenaar [Mon, 5 Apr 2021 15:11:17 +0000 (17:11 +0200)]
patch 8.2.2719: Vim9: appending to dict item doesn't work in a :def function
Problem: Vim9: appending to dict item doesn't work in a :def function.
Solution: Implement assignment with operator on indexed item.
Bram Moolenaar [Mon, 5 Apr 2021 13:38:51 +0000 (15:38 +0200)]
patch 8.2.2718: Vim9: no explicit test for using a global function without g:
Problem: Vim9: no explicit test for using a global function without the g:
prefix.
Solution: Add a test case.
Bram Moolenaar [Mon, 5 Apr 2021 12:13:20 +0000 (14:13 +0200)]
patch 8.2.2717: GTK menu items don't show a tooltip
Problem: GTK menu items don't show a tooltip.
Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
closes #8067, closes #7810)
Bram Moolenaar [Mon, 5 Apr 2021 11:59:53 +0000 (13:59 +0200)]
patch 8.2.2716: the equivalent class regexp is missing some characters
Problem: The equivalent class regexp is missing some characters.
Solution: Update the list of equivalent characters. (Dominique Pellé,
closes #8029)
Bram Moolenaar [Mon, 5 Apr 2021 11:36:34 +0000 (13:36 +0200)]
patch 8.2.2715: Vim9: tests fail without the channel feature
Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
Solution: Check for the channel feature. (closes #8063)
Bram Moolenaar [Mon, 5 Apr 2021 11:10:43 +0000 (13:10 +0200)]
patch 8.2.2714: filetype pattern ending in star is too far up
Problem: Filetype pattern ending in star is too far up.
Solution: Move down to where patterns ending in star belong. (closes #8065)
Bram Moolenaar [Mon, 5 Apr 2021 10:47:25 +0000 (12:47 +0200)]
patch 8.2.2713: folding code not sufficiently tested
Problem: Folding code not sufficiently tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
Bram Moolenaar [Sun, 4 Apr 2021 19:55:23 +0000 (21:55 +0200)]
patch 8.2.2712: memory leak when adding to a blob fails
Problem: Memory leak when adding to a blob fails.
Solution: Clear the second typval before returning.
Bram Moolenaar [Sun, 4 Apr 2021 19:26:04 +0000 (21:26 +0200)]
patch 8.2.2711: "gj" in a closed fold does not move out of the fold
Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
Solution: Add a check for being in a closed fold. (closes #8062)
Bram Moolenaar [Sun, 4 Apr 2021 18:49:50 +0000 (20:49 +0200)]
patch 8.2.2710: Vim9: not all tests cover script and :def function
Problem: Vim9: not all tests cover script and :def function.
Solution: Run tests in both if possible. Fix differences.
Bram Moolenaar [Sun, 4 Apr 2021 13:57:12 +0000 (15:57 +0200)]
patch 8.2.2709: the GTK GUI has a gap next to the scrollbar
Problem: The GTK GUI has a gap next to the scrollbar.
Solution: Calculate the scrollbar padding for GTK. (closes #8027)
Bram Moolenaar [Sun, 4 Apr 2021 13:28:59 +0000 (15:28 +0200)]
patch 8.2.2708: test sometimes fails waiting for shell in terminal
Problem: Test sometimes fails waiting for shell in terminal.
Solution: Use WaitForAssert() so we can see the actual job status. Use
Run_shell_in_terminal().
Bram Moolenaar [Sun, 4 Apr 2021 13:05:22 +0000 (15:05 +0200)]
patch 8.2.2707: adding a lot of completions can still be a bit slow
Problem: Adding a lot of completions can still be a bit slow.
Solution: Add the check for CP_FAST. (Ben Jackson)
Bram Moolenaar [Sat, 3 Apr 2021 19:47:07 +0000 (21:47 +0200)]
patch 8.2.2706: Vim9: wrong line number reported for boolean operator
Problem: Vim9: wrong line number reported for boolean operator.
Solution: Use the line number before skipping over line break.
(closes #8058)
Bram Moolenaar [Sat, 3 Apr 2021 19:01:01 +0000 (21:01 +0200)]
patch 8.2.2705: Vim9: misleading reported line number for wrong type
Problem: Vim9: misleading reported line number for wrong type.
Solution: Remember and use the line number at the start. (closes #8059)
Bram Moolenaar [Sat, 3 Apr 2021 18:13:30 +0000 (20:13 +0200)]
patch 8.2.2704: adding a lot of completions can be a bit slow
Problem: Adding a lot of completions can be a bit slow.
Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
list of completions. (Ben Jackson, closes #8061)
Bram Moolenaar [Sat, 3 Apr 2021 17:32:44 +0000 (19:32 +0200)]
patch 8.2.2703: Vim9: memory leak when failing on locked variable
Problem: Vim9: memory leak when failing on locked variable.
Solution: Free the memory.
Bram Moolenaar [Sat, 3 Apr 2021 17:07:05 +0000 (19:07 +0200)]
patch 8.2.2702: compiler completion test fails when more scripts are added
Problem: Compiler completion test fails when more scripts are added.
Solution: Add a more generic pattern.
Bram Moolenaar [Sat, 3 Apr 2021 15:33:52 +0000 (17:33 +0200)]
patch 8.2.2701: order of removing FORTIFY_SOURCE is wrong
Problem: Order of removing FORTIFY_SOURCE is wrong.
Solution: Use the more specific pattern first.
Bram Moolenaar [Sat, 3 Apr 2021 15:22:29 +0000 (17:22 +0200)]
patch 8.2.2700: nested autocmd test fails sometimes
Problem: Nested autocmd test fails sometimes.
Solution: Wait for the job to finish.
Bram Moolenaar [Sat, 3 Apr 2021 15:18:52 +0000 (17:18 +0200)]
patch 8.2.2699: Lua test fails
Problem: Lua test fails.
Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
Bram Moolenaar [Sat, 3 Apr 2021 13:35:50 +0000 (15:35 +0200)]
patch 8.2.2698: Lua test fails on MS-Windows
Problem: Lua test fails on MS-Windows.
Solution: Fall back to old method if "lua -v" doesn't work.
Bram Moolenaar [Sat, 3 Apr 2021 13:15:47 +0000 (15:15 +0200)]
patch 8.2.2697: function list test fails
Problem: Function list test fails.
Solution: Add missing function. (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 3 Apr 2021 12:13:33 +0000 (14:13 +0200)]
patch 8.2.2696: Lua test fails with Lua 5.4.3 and later
Problem: Lua test fails with Lua 5.4.3 and later.
Solution: Check for different error messages. (Yegappan Lakshmanan,
closes #8050)
Bram Moolenaar [Sat, 3 Apr 2021 11:19:26 +0000 (13:19 +0200)]
patch 8.2.2695: cursor position reset with nested autocommands
Problem: Cursor position reset with nested autocommands.
Solution: Only check and reset line numbers for not nested autocommands.
(closes #5820)
Bram Moolenaar [Fri, 2 Apr 2021 16:55:57 +0000 (18:55 +0200)]
patch 8.2.2694: when 'matchpairs' is empty every character beeps
Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
Solution: Bail out when no character in 'matchpairs' was found.
(closes #8053) Add assert_nobeep().
Bram Moolenaar [Fri, 2 Apr 2021 12:44:02 +0000 (14:44 +0200)]
patch 8.2.2693: Vim9: locked script variable can be changed
Problem: Vim9: locked script variable can be changed.
Solution: Check legacy script variable for being locked. (issue #8031)
Bram Moolenaar [Fri, 2 Apr 2021 12:35:15 +0000 (14:35 +0200)]
patch 8.2.2692: Vim9: locked script variable can be changed
Problem: Vim9: locked script variable can be changed.
Solution: Check for locked value. (closes #8031)
Bram Moolenaar [Fri, 2 Apr 2021 11:30:59 +0000 (13:30 +0200)]
patch 8.2.2691: autoconf may mess up compiler flags
Problem: Autoconf may mess up compiler flags.
Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
closes #8049)
Bram Moolenaar [Fri, 2 Apr 2021 11:00:15 +0000 (13:00 +0200)]
patch 8.2.2690: PowerShell files are not recognized
Problem: PowerShell files are not recognized.
Solution: Recognize several PowerShell extension. (Heath Stewart,
closes #8051)
Bram Moolenaar [Thu, 1 Apr 2021 19:57:46 +0000 (21:57 +0200)]
patch 8.2.2689: tiny build fails
Problem: Tiny build fails.
Solution: Add #ifdef around use of p_stl.
Bram Moolenaar [Thu, 1 Apr 2021 19:38:53 +0000 (21:38 +0200)]
patch 8.2.2688: Vim9: crash when using s: for script variable
Problem: Vim9: crash when using s: for script variable.
Solution: Pass the end pointer. (closes #8045)
Bram Moolenaar [Thu, 1 Apr 2021 17:42:48 +0000 (19:42 +0200)]
patch 8.2.2687: Vim9: cannot use "const" for global variable in :def function
Problem: Vim9: cannot use "const" for global variable in :def function.
Solution: Do allow using :const for a global variable. (closes #8030)
Bram Moolenaar [Thu, 1 Apr 2021 16:47:14 +0000 (18:47 +0200)]
patch 8.2.2686: status line is not updated when going to cmdline mode
Problem: Status line is not updated when going to cmdline mode.
Solution: Redraw status lines if 'statusline' is set and going to status
line mode. (based on patch from Justin M. Keyes et al.,
closes #8044)
Bram Moolenaar [Thu, 1 Apr 2021 14:16:18 +0000 (16:16 +0200)]
patch 8.2.2685: custom statusline not drawn correctly with WinBar
Problem: Custom statusline not drawn correctly with WinBar.
Solution: Also adjust the column for the custom status line. (Yee Cheng
Chin, closes #8047)
Bram Moolenaar [Thu, 1 Apr 2021 11:39:51 +0000 (13:39 +0200)]
patch 8.2.2684: not enough folding code is tested
Problem: Not enough folding code is tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
Bram Moolenaar [Thu, 1 Apr 2021 11:17:50 +0000 (13:17 +0200)]
patch 8.2.2683: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
Bram Moolenaar [Thu, 1 Apr 2021 10:57:57 +0000 (12:57 +0200)]
patch 8.2.2682: Vim9: cannot find Name.Func from "import * as Name"
Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
Goussas)
Solution: When no variable found try finding a function. (closes #8045)
Check that the function was exported.
Bram Moolenaar [Wed, 31 Mar 2021 19:47:33 +0000 (21:47 +0200)]
patch 8.2.2681: Vim9: test fails for redeclaring script variable
Problem: Vim9: test fails for redeclaring script variable.
Solution: It's OK to assign to an existing script variable in legacy.
Bram Moolenaar [Wed, 31 Mar 2021 19:07:24 +0000 (21:07 +0200)]
patch 8.2.2680: Vim9: problem defining a script variable from legacy function
Problem: Vim9: problem defining a script variable from legacy function.
Solution: Check if the script is Vim9, not the current syntax.
(closes #8032)
Bram Moolenaar [Wed, 31 Mar 2021 18:07:33 +0000 (20:07 +0200)]
Update runtime files.
Bram Moolenaar [Tue, 30 Mar 2021 20:12:12 +0000 (22:12 +0200)]
patch 8.2.2679: status line missing for non-current window with winbar
Problem: Winbar drawn over status line for non-current window with winbar
if frame is zero height. (Leonid V. Fedorenchik)
Solution: Do not draw the window if the frame height is zero. (closes #8037)
Bram Moolenaar [Tue, 30 Mar 2021 18:54:28 +0000 (20:54 +0200)]
patch 8.2.2678: test for 'autoshelldir' does not reset the option
Problem: Test for 'autoshelldir' does not reset the option.
Solution: Reset the option after testing.
Bram Moolenaar [Mon, 29 Mar 2021 20:14:55 +0000 (22:14 +0200)]
patch 8.2.2677: Vim9: cannot use only some of the default arguments
Problem: Vim9: cannot use only some of the default arguments.
Solution: Use v:none to use default argument value. Remove
uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
Bram Moolenaar [Mon, 29 Mar 2021 19:06:04 +0000 (21:06 +0200)]
patch 8.2.2676: missing error message
Problem: Missing error message.
Solution: Add new error message.
Bram Moolenaar [Mon, 29 Mar 2021 18:49:05 +0000 (20:49 +0200)]
patch 8.2.2675: directory change in a terminal window shell is not followed
Problem: Directory change in a terminal window shell is not followed.
Solution: Add the 'autoshelldir' option. (closes #6290)
Bram Moolenaar [Mon, 29 Mar 2021 18:10:26 +0000 (20:10 +0200)]
patch 8.2.2674: Motif: cancelling the font dialog resets the font
Problem: Motif: cancelling the font dialog resets the font.
Solution: When no font is selected to not change the font. (closes #7825,
closes #8035) Fix compiler warnings.
Bram Moolenaar [Sun, 28 Mar 2021 19:14:06 +0000 (21:14 +0200)]
patch 8.2.2673: Vim9: script-local funcref can have lower case name
Problem: Vim9: script-local funcref can have lower case name.
Solution: Require an upper case name.