]>
granicus.if.org Git - vim/log
Bram Moolenaar [Fri, 7 May 2021 15:55:55 +0000 (17:55 +0200)]
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiled
Problem: Vim9: skip argument to searchpair() is not compiled.
Solution: Add VAR_INSTR.
matveyt [Fri, 7 May 2021 13:00:17 +0000 (15:00 +0200)]
patch 8.2.2841: MS-Windows: cursor wrong when 'lz' and 'stl' are set
Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
'statusline' are set.
Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
Bram Moolenaar [Thu, 6 May 2021 19:04:55 +0000 (21:04 +0200)]
patch 8.2.2840: Vim9: member operation not fully tested
Problem: Vim9: member operation not fully tested.
Solution: Add a few tests.
Natanael Copa [Thu, 6 May 2021 16:46:35 +0000 (18:46 +0200)]
patch 8.2.2839: default redirection missing "ash" and "dash"
Problem: Default redirection missing "ash" and "dash".
Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
Liam Beguin [Thu, 6 May 2021 15:45:22 +0000 (17:45 +0200)]
patch 8.2.2838: file extension .wrap not recognized
Problem: File extension .wrap not recognized.
Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
Dominique Pelle [Thu, 6 May 2021 15:36:55 +0000 (17:36 +0200)]
patch 8.2.2837: various code lines not covered by tests
Problem: Various code lines not covered by tests.
Solution: Add test cases. (Dominique Pellé, closes #8178)
Bram Moolenaar [Wed, 5 May 2021 20:51:39 +0000 (22:51 +0200)]
patch 8.2.2836: build failure without the +quickfix feature
Problem: Build failure without the +quickfix feature. (John Marriott)
Solution: Add #ifdef.
Bram Moolenaar [Wed, 5 May 2021 20:40:56 +0000 (22:40 +0200)]
patch 8.2.2835: Vim9: leaking memory in :cexpr
Problem: Vim9: leaking memory in :cexpr.
Solution: Also free the command line copy.
Bram Moolenaar [Wed, 5 May 2021 19:31:39 +0000 (21:31 +0200)]
patch 8.2.2834: Vim9: :cexpr does not work with local variables
Problem: Vim9: :cexpr does not work with local variables.
Solution: Compile :cexpr.
Bram Moolenaar [Wed, 5 May 2021 17:58:17 +0000 (19:58 +0200)]
patch 8.2.2833: two key command cancelled by moving mouse when using popup
Problem: Two key command cancelled by moving mouse when using popup.
(Sergey Vlasov)
Solution: Ignore K_MOUSEMOVE in plain_vgetc().
Bram Moolenaar [Tue, 4 May 2021 19:56:28 +0000 (21:56 +0200)]
patch 8.2.2832: operator cancelled by moving mouse when using popup
Problem: Operator cancelled by moving mouse when using popup. (Sergey
Vlasov)
Solution: Do not trigger an operator for a mouse move events. (closes #8176)
Bram Moolenaar [Mon, 3 May 2021 19:40:26 +0000 (21:40 +0200)]
patch 8.2.2831: Vim9: expandcmd() not tested
Problem: Vim9: expandcmd() not tested.
Solution: Add a test.
Bram Moolenaar [Mon, 3 May 2021 18:40:38 +0000 (20:40 +0200)]
patch 8.2.2830: terminal colors are not updated when 'background' is set
Problem: Terminal colors are not updated when 'background' is set.
Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
closes #8171, closes #8150)
Bram Moolenaar [Mon, 3 May 2021 18:01:45 +0000 (20:01 +0200)]
patch 8.2.2829: some comments are not correct or clear
Problem: Some comments are not correct or clear.
Solution: Adjust the comments. Add test for cursor position.
Bram Moolenaar [Mon, 3 May 2021 17:49:51 +0000 (19:49 +0200)]
patch 8.2.2828: Coverity complains about not checking rename() return value
Problem: Coverity complains about not checking the rename() return value.
Solution: Add "(void)", can't do anything in case of a failure.
Dominique Pelle [Mon, 3 May 2021 17:08:37 +0000 (19:08 +0200)]
patch 8.2.2827: test file was not deleted
Problem: Test file was not deleted.
Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
Bram Moolenaar [Mon, 3 May 2021 16:57:05 +0000 (18:57 +0200)]
patch 8.2.2826: compiler warnings for int to size_t conversion
Problem: Compiler warnings for int to size_t conversion. (Randall W.
Morris)
Solution: Add type casts.
Dominique Pelle [Sun, 2 May 2021 18:16:24 +0000 (20:16 +0200)]
patch 8.2.2825: code in checkreadonly() not fully tested
Problem: Code in checkreadonly() not fully tested.
Solution: Add more tests. (Dominique Pellé, closes #8169)
Bram Moolenaar [Sun, 2 May 2021 17:15:05 +0000 (19:15 +0200)]
patch 8.2.2824: MS-Windows: build failure with MSVC
Problem: MS-Windows: build failure with MSVC.
Solution: Adjust the list of distributed files. Add hint about python.
Adjust path for reading runtime files.
Bram Moolenaar [Sun, 2 May 2021 15:19:11 +0000 (17:19 +0200)]
Update runtime files
Bram Moolenaar [Sun, 2 May 2021 11:59:46 +0000 (13:59 +0200)]
patch 8.2.2823: MS-Windows: launching Vim from installer doesn't open README
Problem: MS-Windows: launching Vim from installer doesn't open README.
Solution: Adjust the quotes.
Bram Moolenaar [Sat, 1 May 2021 20:41:39 +0000 (22:41 +0200)]
patch 8.2.2822: MS-Windows: unnessarily loading libraries when unregistering
Problem: MS-Windows: unnessarily loading libraries when unregistering OLE.
Solution: Also skip loading libraries when invoked with "-unregister". Run
Vim for README.txt with user privileges.
Bram Moolenaar [Sat, 1 May 2021 15:46:03 +0000 (17:46 +0200)]
patch 8.2.2821: MS-Windows: unnessarily loading libraries when registering OLE
Problem: MS-Windows: unnessarily loading libraries when registering OLE.
Solution: Skip loading libraries when invoked with "-register".
Bram Moolenaar [Fri, 30 Apr 2021 19:37:51 +0000 (21:37 +0200)]
patch 8.2.2820: session file may divide by zero
Problem: Session file may divide by zero.
Solution: Avoid writing difide by zero. (closes #8162)
Bram Moolenaar [Fri, 30 Apr 2021 17:43:11 +0000 (19:43 +0200)]
patch 8.2.2819: finishing an abbreviation with multi-byte char may not work
Problem: Finishing an abbreviation with a multi-byte char may not work.
Solution: Escape K_SPECIAL in the typed character. (closes #8160)
Bram Moolenaar [Thu, 29 Apr 2021 18:18:45 +0000 (20:18 +0200)]
patch 8.2.2818: no jump added when opening terminal in current window
Problem: No jump added to jumplist when opening terminal in current window.
Solution: Call setpcmark(). (closes #8158)
Bram Moolenaar [Wed, 28 Apr 2021 18:40:44 +0000 (20:40 +0200)]
patch 8.2.2817: Vim9: script sourcing continues after an error
Problem: Vim9: script sourcing continues after an error.
Solution: Make an error in any command in "vim9script" abort sourcing.
Bram Moolenaar [Wed, 28 Apr 2021 18:00:40 +0000 (20:00 +0200)]
patch 8.2.2816: Vim9: comment below expression in lambda causes problems
Problem: Vim9: comment below expression in lambda causes problems.
Solution: Use a single space for empty and comment lines. (closes #8156)
Bram Moolenaar [Tue, 27 Apr 2021 18:06:57 +0000 (20:06 +0200)]
patch 8.2.2815: status line flickers when redrawing popup menu info
Problem: Status line flickers when redrawing popup menu info.
Solution: Do not redraw the status line when the focus is in the popup
window. (issue #8144)
Bram Moolenaar [Mon, 26 Apr 2021 19:39:25 +0000 (21:39 +0200)]
patch 8.2.2814: Vim9: unused variable
Problem: Vim9: unused variable. (John Marriott)
Solution: Adjust #ifdef.
Yegappan Lakshmanan [Mon, 26 Apr 2021 19:17:52 +0000 (21:17 +0200)]
patch 8.2.2813: cannot grep using fuzzy matching
Problem: Cannot grep using fuzzy matching.
Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
Bram Moolenaar [Mon, 26 Apr 2021 18:32:59 +0000 (20:32 +0200)]
patch 8.2.2812: Vim9: still crash when using substitute expression
Problem: Vim9: still crash when using substitute expression.
Solution: Put the instruction list in the stack frame. (closes #8154)
Bram Moolenaar [Sun, 25 Apr 2021 14:35:55 +0000 (16:35 +0200)]
patch 8.2.2811: Vim9: error for missing white space doesn't say where
Problem: Vim9: error for missing white space doesn't say where it is
missing
Solution: Mention the command. (closes #8149)
Bram Moolenaar [Sun, 25 Apr 2021 12:48:49 +0000 (14:48 +0200)]
patch 8.2.2810: Vim9: crash when calling a function in a substitute expression
Problem: Vim9: crash when calling a function in a substitute expression.
Solution: Set the instructions back to the substitute expression
instrunctions. (closes #8148)
Bram Moolenaar [Sun, 25 Apr 2021 11:54:42 +0000 (13:54 +0200)]
patch 8.2.2809: Vim9: :def function compilation fails when using :legacy
Problem: Vim9: :def function compilation fails when using :legacy.
Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
Bram Moolenaar [Sat, 24 Apr 2021 18:43:56 +0000 (20:43 +0200)]
patch 8.2.2808: Vim9: increment and decrement not sufficiently tested
Problem: Vim9: increment and decrement not sufficiently tested.
Solution: Add assertions.
Bram Moolenaar [Sat, 24 Apr 2021 18:37:03 +0000 (20:37 +0200)]
patch 8.2.2807: build fails with tiny features
Problem: Build fails with tiny features.
Solution: Use a dummy function for ex_incdec().
Bram Moolenaar [Sat, 24 Apr 2021 17:08:24 +0000 (19:08 +0200)]
patch 8.2.2806: Vim9: using "++nr" as a command might not work
Problem: Vim9: using "++nr" as a command might not work.
Solution: Do not recognize "++" and "--" in a following line as addition or
subtraction.
Bram Moolenaar [Sat, 24 Apr 2021 12:15:41 +0000 (14:15 +0200)]
patch 8.2.2805: Vim9: cannot use legacy syntax in Vim9 script
Problem: Vim9: cannot use legacy syntax in Vim9 script.
Solution: Add the :legacy command.
Bram Moolenaar [Sat, 24 Apr 2021 11:12:38 +0000 (13:12 +0200)]
patch 8.2.2804: setting buffer local mapping with mapset() changes global
Problem: Setting buffer local mapping with mapset() changes global mapping.
Solution: Only set the local mapping. (closes #8143)
Bram Moolenaar [Fri, 23 Apr 2021 19:01:34 +0000 (21:01 +0200)]
patch 8.2.2803: flicker when the popup menu has an info popup
Problem: Flicker when the popup menu has an info popup.
Solution: Avoid drawing over the popup when it's going to be redrawn in the
same position. (closes #8131) Also avoid redrawing the scrollbar.
Bram Moolenaar [Fri, 23 Apr 2021 17:32:23 +0000 (19:32 +0200)]
patch 8.2.2802: Vim9: illegal memory access
Problem: Vim9: illegal memory access.
Solution: Check for comment before checking for white space. (closes #8142)
Bram Moolenaar [Fri, 23 Apr 2021 16:06:48 +0000 (18:06 +0200)]
patch 8.2.2801: free Pascal makefile not recognized
Problem: Free Pascal makefile not recognized.
Solution: Add the fpcmake filetype. (Doug Kearns)
Bram Moolenaar [Thu, 22 Apr 2021 19:39:30 +0000 (21:39 +0200)]
patch 8.2.2800: after a timer displays text a hit-enter prompt is given
Problem: After a timer displays text a hit-enter prompt is given.
Solution: Reset msg_didany and need_wait_return. (closes #8136)
Bram Moolenaar [Wed, 21 Apr 2021 16:09:37 +0000 (18:09 +0200)]
Update runtime files
Bram Moolenaar [Wed, 21 Apr 2021 15:57:26 +0000 (17:57 +0200)]
patch 8.2.2799: Vim9: type casts don't fully work at the script level
Problem: Vim9: type casts don't fully work at the script level.
Solution: Implement the missing piece.
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.