]>
granicus.if.org Git - vim/log
Bram Moolenaar [Wed, 21 Apr 2021 14:00:10 +0000 (16:00 +0200)]
patch 8.2.2798: Vim9: redir to variable with append does not accept an index
Problem: Vim9: redir to variable with append does not accept an index.
Solution: Make the appending work.
Bram Moolenaar [Wed, 21 Apr 2021 13:11:42 +0000 (15:11 +0200)]
patch 8.2.2797: Search highlight disappears in the Visual area
Problem: Search highlight disappears in the Visual area.
Solution: Combine the search attributes. (closes #8134)
Bram Moolenaar [Wed, 21 Apr 2021 12:24:24 +0000 (14:24 +0200)]
patch 8.2.2796: Vim9: redir to variable does not accept an index
Problem: Vim9: redir to variable does not accept an index.
Solution: Make the index work.
Bram Moolenaar [Wed, 21 Apr 2021 10:19:35 +0000 (12:19 +0200)]
patch 8.2.2795: Coverity warns for not using return value
Problem: Coverity warns for not using return value.
Solution: Check the return value of compiling the substitute expression.
Bram Moolenaar [Wed, 21 Apr 2021 09:57:59 +0000 (11:57 +0200)]
patch 8.2.2794: Linux users don't know how to get ncurses
Problem: Linux users don't know how to get ncurses.
Solution: Add the name of the package. (closes #8132)
Bram Moolenaar [Wed, 21 Apr 2021 09:30:48 +0000 (11:30 +0200)]
patch 8.2.2793: MS-Windows: string literals are writable with MSVC
Problem: MS-Windows: string literals are writable with MSVC.
Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
closes #8133)
Bram Moolenaar [Tue, 20 Apr 2021 20:16:39 +0000 (22:16 +0200)]
patch 8.2.2792: Vim9: :disas shows instructions for default args but no text
Problem: Vim9: :disas shows instructions for default args but no text.
Solution: Show the expression test above the default argument instructions.
(closes #8129)
Bram Moolenaar [Tue, 20 Apr 2021 19:49:35 +0000 (21:49 +0200)]
patch 8.2.2791: Vim9: memory leak when using \=expr in :substitute
Problem: Vim9: memory leak when using \=expr in :substitute.
Solution: Do not allocate a new instruction list.
Bram Moolenaar [Tue, 20 Apr 2021 19:14:09 +0000 (21:14 +0200)]
patch 8.2.2790: filetype test fails
Problem: filetype test fails
Solution: Also update the scripts detection
Bram Moolenaar [Tue, 20 Apr 2021 19:10:48 +0000 (21:10 +0200)]
patch 8.2.2789: Vim9: using \=expr in :substitute does not handle jumps
Problem: Vim9: using \=expr in :substitute does not handle jumps.
Solution: Start with instruction count zero. (closes #8128)
Bram Moolenaar [Tue, 20 Apr 2021 18:21:23 +0000 (20:21 +0200)]
patch 8.2.2788: Raku is now the only name what once was called perl6
Problem: Raku is now the only name what once was called perl6.
Solution: Adjust the filetype detection. (closes #8120)
Bram Moolenaar [Tue, 20 Apr 2021 08:33:28 +0000 (10:33 +0200)]
patch 8.2.2787: MS-Windows: crash when using :echoconsole
Problem: MS-Windows: crash when using :echoconsole.
Solution: Do not write a NUL when it's already there.
Bram Moolenaar [Mon, 19 Apr 2021 19:06:31 +0000 (21:06 +0200)]
patch 8.2.2786: Vim9: memory leak when using :s with expression
Problem: Vim9: memory leak when using :s with expression.
Solution: Clean up the instruction list.
Bram Moolenaar [Mon, 19 Apr 2021 18:50:03 +0000 (20:50 +0200)]
patch 8.2.2785: Vim9: cannot redirect to local variable
Problem: Vim9: cannot redirect to local variable.
Solution: Compile :redir when redirecting to a variable.
Bram Moolenaar [Mon, 19 Apr 2021 14:48:48 +0000 (16:48 +0200)]
patch 8.2.2784: Vim9: cannot use \=expr in :substitute
Problem: Vim9: cannot use \=expr in :substitute.
Solution: Compile the expression into instructions and execute them when
invoked.
Bram Moolenaar [Sun, 18 Apr 2021 14:08:52 +0000 (16:08 +0200)]
patch 8.2.2783: duplicate code for setting byte in blob, blob test may fail
Problem: Duplicate code for setting byte in blob, blob test may fail.
Solution: Call blob_set_append(). Test sort failure with "N".
Bram Moolenaar [Sun, 18 Apr 2021 13:48:04 +0000 (15:48 +0200)]
patch 8.2.2782: Vim9: blob operations not fully tested
Problem: Vim9: blob operations not fully tested.
Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
insert() give an error for a null blob, like add().
Bram Moolenaar [Sun, 18 Apr 2021 12:12:31 +0000 (14:12 +0200)]
patch 8.2.2781: add() silently skips when adding to null list or blob
Problem: Add() silently skips when adding to null list or blob.
Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
with list and dict.
Bram Moolenaar [Sun, 18 Apr 2021 11:15:58 +0000 (13:15 +0200)]
patch 8.2.2780: Vim9: for loop over blob doesn't work
Problem: Vim9: for loop over blob doesn't work.
Solution: Make it work.
Bram Moolenaar [Sat, 17 Apr 2021 19:22:49 +0000 (21:22 +0200)]
patch 8.2.2779: memory access error in remove() for blob
Problem: Memory access error in remove() for blob.
Solution: Adjust length for memmove().
Bram Moolenaar [Sat, 17 Apr 2021 19:04:34 +0000 (21:04 +0200)]
patch 8.2.2778: problem restoring 'packpath' in session
Problem: Problem restoring 'packpath' in session.
Solution: Let "skiprtp" also apply to 'packpath'.
Bram Moolenaar [Sat, 17 Apr 2021 18:44:56 +0000 (20:44 +0200)]
patch 8.2.2777: Vim9: blob operations not tested in all ways
Problem: Vim9: blob operations not tested in all ways.
Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
index work.
Bram Moolenaar [Sat, 17 Apr 2021 16:38:54 +0000 (18:38 +0200)]
patch 8.2.2776: :mksession uses current value of 'splitbelow' and 'splitright'
Problem: :mksession uses current value of 'splitbelow' and 'splitright'
even though "options" is not in 'sessionoptions'. (Maxim Kim)
Solution: Save and restore the values, instead of setting to the current
value. (closes #8119)
Bram Moolenaar [Sat, 17 Apr 2021 15:59:19 +0000 (17:59 +0200)]
patch 8.2.2775: Vim9: wrong line number used for some commands
Problem: Vim9: wrong line number used for some commands.
Solution: For :exe, :echo and the like use the line number of the start of
the command. When calling a function set the line number in the
script context.
Bram Moolenaar [Sat, 17 Apr 2021 14:38:50 +0000 (16:38 +0200)]
patch 8.2.2774: Vim9: cannot import an existing name even when using "as"
Problem: Vim9: cannot import an existing name even when using "as".
Solution: Do not check for an existing name when using "as". (closes #8113)
Bram Moolenaar [Sat, 17 Apr 2021 14:31:09 +0000 (16:31 +0200)]
Update runtime files.
Bram Moolenaar [Sat, 17 Apr 2021 12:06:39 +0000 (14:06 +0200)]
patch 8.2.2773: PSL filetype not recognized
Problem: PSL filetype not recognized.
Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
Bram Moolenaar [Fri, 16 Apr 2021 17:58:22 +0000 (19:58 +0200)]
patch 8.2.2772: problems when restoring 'runtimepath' from a session file
Problem: Problems when restoring 'runtimepath' from a session file.
Solution: Add the "skiprtp" item in 'sessionoptions'.
Bram Moolenaar [Thu, 15 Apr 2021 20:13:39 +0000 (22:13 +0200)]
patch 8.2.2771: Vim9: assignment not recognized if declaration was skipped
Problem: Vim9: assignment not recognized if declaration was skipped.
Solution: Also recognized an assignment if the variable does not exist.
(closes #8108)
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.