]>
granicus.if.org Git - vim/log
Yegappan Lakshmanan [Mon, 24 May 2021 13:15:47 +0000 (15:15 +0200)]
patch 8.2.2881: various pieces of code not covered by tests
Problem: Various pieces of code not covered by tests.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
glacambre [Mon, 24 May 2021 12:20:53 +0000 (14:20 +0200)]
patch 8.2.2880: unified diff fails if actually used
Problem: Unified diff fails if actually used.
Solution: Invoke :diffupdate in the test. Fix the check for working external
diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
Marcin Szamotulski [Sun, 23 May 2021 09:18:50 +0000 (11:18 +0200)]
patch 8.2.2879: file extension .hsig not recognized
Problem: File extension .hsig not recognized.
Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
closes #8236)
Bram Moolenaar [Sat, 22 May 2021 19:40:39 +0000 (21:40 +0200)]
patch 8.2.2878: Vim9: for loop list unpack only allows for one "_"
Problem: Vim9: for loop list unpack only allows for one "_".
Solution: Drop the value when the variable is "_". (closes #8232)
Yegappan Lakshmanan [Sat, 22 May 2021 15:12:46 +0000 (17:12 +0200)]
patch 8.2.2877: insufficient tests for popup menu rightleft
Problem: Insufficient tests for popup menu rightleft.
Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
Bram Moolenaar [Fri, 21 May 2021 09:43:58 +0000 (11:43 +0200)]
patch 8.2.2876: configure cannot detect Python 3.10
Problem: Configure cannot detect Python 3.10.
Solution: Use sys.version_info. (closes #8233)
=?UTF-8?q?Luka=20Marku=C5=A1i=C4=87?= [Thu, 20 May 2021 19:14:20 +0000 (21:14 +0200)]
patch 8.2.2875: cancelling inputlist() after a digit does not return zero
Problem: Cancelling inputlist() after a digit does not return zero.
Solution: Always return zero when cancelling. (closes #8231)
matveyt [Thu, 20 May 2021 09:54:10 +0000 (11:54 +0200)]
patch 8.2.2874: MS-Windows: screen redraws too often
Problem: MS-Windows: screen redraws too often.
Solution: Do not redraw when peeking for a character. (closes #8230,
closes #8211)
Yegappan Lakshmanan [Wed, 19 May 2021 15:15:04 +0000 (17:15 +0200)]
patch 8.2.2873: not enough tests for writing buffers
Problem: Not enough tests for writing buffers.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
Dominique Pelle [Tue, 18 May 2021 22:16:14 +0000 (00:16 +0200)]
patch 8.2.2872: Python tests fail without the channel feature
Problem: Python tests fail without the channel feature.
Solution: Add a feature check. (Dominique Pellé, closes #8226)
Dominique Pelle [Tue, 18 May 2021 19:46:31 +0000 (21:46 +0200)]
patch 8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented code
Problem: Unnessary VIM_ISDIGIT() calls, badly indented code.
Solution: Call skipdigits() on the next character. Improve indenting.
(Dominique Pellé, closes #8227)
Bram Moolenaar [Tue, 18 May 2021 19:38:45 +0000 (21:38 +0200)]
patch 8.2.2870: CmdlineChange event triggered twice for CTRL-R
Problem: CmdlineChange event triggered twice for CTRL-R.
Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
(closes #8219)
Bram Moolenaar [Tue, 18 May 2021 17:19:03 +0000 (19:19 +0200)]
patch 8.2.2869: using unified diff is not tested
Problem: Using unified diff is not tested.
Solution: Test all cases also with unified diff. (issue #8197)
Bram Moolenaar [Tue, 18 May 2021 15:49:59 +0000 (17:49 +0200)]
patch 8.2.2868: Vim9: when executing compiled expression trylevel is changed
Problem: Vim9: When executing a compiled expression the trylevel at start
is changed but not restored. (closes #8214)
Solution: Restore the trylevel at start.
Bram Moolenaar [Tue, 18 May 2021 13:32:11 +0000 (15:32 +0200)]
patch 8.2.2867: build failure
Problem: Build failure.
Solution: Add missing part of the change.
Bram Moolenaar [Tue, 18 May 2021 13:09:18 +0000 (15:09 +0200)]
patch 8.2.2866: Vim9: memory leak when using inline function
Problem: Vim9: memory leak when using inline function.
Solution: Remember what strings to free.
Bram Moolenaar [Tue, 18 May 2021 11:40:33 +0000 (13:40 +0200)]
patch 8.2.2865: skipping over function body fails
Problem: Skipping over function body fails.
Solution: Do not define the function when skipping.
Bram Moolenaar [Tue, 18 May 2021 09:47:44 +0000 (11:47 +0200)]
patch 8.2.2864: Vim9: crash when using inline function
Problem: Vim9: crash when using inline function.
Solution: Check for NULL pointer. Make using inline function work inside
lambda. (closes #8217)
Bram Moolenaar [Sun, 16 May 2021 22:22:06 +0000 (00:22 +0200)]
patch 8.2.2863: removing a text property does not redraw optimally
Problem: Removing a text property does not redraw optimally.
Solution: Only redraw the lines that mithg actually have been changed.
Bram Moolenaar [Sun, 16 May 2021 22:15:18 +0000 (00:15 +0200)]
patch 8.2.2862: removing a text property causes the whole window to be redawn
Problem: Removing a text property causes the whole window to be redawn.
Solution: Use changed_lines_buf() to only redraw the affected lines.
Bram Moolenaar [Sun, 16 May 2021 22:01:42 +0000 (00:01 +0200)]
patch 8.2.2861: Vim9: "legacy return" is not recognized as a return statement
Problem: Vim9: "legacy return" is not recognized as a return statement.
Solution: Specifically check for a return command. (closes #8213)
Bram Moolenaar [Sun, 16 May 2021 18:18:57 +0000 (20:18 +0200)]
patch 8.2.2860: adding a text property causes the whole window to be redawn
Problem: Adding a text property causes the whole window to be redawn.
Solution: Use changed_lines_buf() to only redraw the affected lines.
Bram Moolenaar [Sun, 16 May 2021 18:06:59 +0000 (20:06 +0200)]
patch 8.2.2859: Tcl test fails because of changed error message
Problem: Tcl test fails because of changed error message.
Solution: Adjust the expected error message.
Bram Moolenaar [Sun, 16 May 2021 14:19:37 +0000 (16:19 +0200)]
patch 8.2.2858: test fails because of changed error message
Problem: Test fails because of changed error message.
Solution: Adjust the expected error message.
Bram Moolenaar [Sun, 16 May 2021 13:24:49 +0000 (15:24 +0200)]
patch 8.2.2857: Vim9: exception in ISN_INSTR caught at wrong level
Problem: Vim9: exception in ISN_INSTR caught at wrong level.
Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
Bram Moolenaar [Sun, 16 May 2021 10:39:47 +0000 (12:39 +0200)]
Update runtime files
Bram Moolenaar [Sat, 15 May 2021 21:21:05 +0000 (23:21 +0200)]
patch 8.2.2856: get readonly error for device that can't be written to
Problem: Get readonly error for device that can't be written to.
Solution: Check for being able to write first. (closes #8205)
Bram Moolenaar [Sat, 15 May 2021 18:06:58 +0000 (20:06 +0200)]
patch 8.2.2855: white space after "->" does not give E274
Problem: White space after "->" does not give E274.
Solution: Do not skip white space in legacy script. (closes #8212)
shadmansaleh [Sat, 15 May 2021 15:23:28 +0000 (17:23 +0200)]
patch 8.2.2854: custom statusline cannot contain % items
Problem: Custom statusline cannot contain % items.
Solution: Add "%{% expr %}". (closes #8190)
Bram Moolenaar [Sat, 15 May 2021 13:09:06 +0000 (15:09 +0200)]
patch 8.2.2853: window is not updated after using <Cmd> mapping
Problem: Window is not updated after using <Cmd> mapping.
Solution: So jump to cmdline_changed but skip autocommand.
Natanael Copa [Sat, 15 May 2021 12:25:37 +0000 (14:25 +0200)]
patch 8.2.2852: configure can add --as-needed a second time
Problem: Configure can add --as-needed a second time.
Solution: Only add --as-needed if not already there. (Natanael Copa,
closes #8189, closes #8181)
Bram Moolenaar [Sat, 15 May 2021 11:19:16 +0000 (13:19 +0200)]
patch 8.2.2851: using <Cmd> mapping on the command line triggers CmdlineChanged
Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
(Naohiro Ono)
Solution: Jump to cmdline_not_changed if the command line didn't change.
(closes #8208)
obcat [Thu, 13 May 2021 18:23:10 +0000 (20:23 +0200)]
patch 8.2.2850: recalling commands from history is not tested
Problem: Recalling commands from history is not tested.
Solution: Add tests. (closes #8194)
Yegappan Lakshmanan [Thu, 13 May 2021 16:33:16 +0000 (18:33 +0200)]
patch 8.2.2849: bufwrite not sufficiently tested
Problem: Bufwrite not sufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
Dominique Pelle [Thu, 13 May 2021 12:55:55 +0000 (14:55 +0200)]
patch 8.2.2848: crash whn calling partial
Problem: Crash whn calling partial.
Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
Dominique Pelle [Mon, 10 May 2021 21:49:39 +0000 (23:49 +0200)]
patch 8.2.2847: Perl not tested sufficiently
Problem: Perl not tested sufficiently.
Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
Bram Moolenaar [Sun, 9 May 2021 21:19:22 +0000 (23:19 +0200)]
patch 8.2.2846: Vim9: "echo Func()" does not give an error for using void
Problem: Vim9: "echo Func()" does not give an error for a function without
a return value.
Solution: Give an error. Be more specific about why a value is invalid.
Bram Moolenaar [Sat, 8 May 2021 18:09:24 +0000 (20:09 +0200)]
patch 8.2.2845: MS-Windows: warning for signed/unsigned comparison
Problem: MS-Windows: warning for signed/unsigned comparison.
Solution: Add type cast.
Bram Moolenaar [Fri, 7 May 2021 18:43:54 +0000 (20:43 +0200)]
patch 8.2.2844: Vim9: memory leak when using searchpair()
Problem: Vim9: memory leak when using searchpair().
Solution: Free the v_instr field.
Bram Moolenaar [Fri, 7 May 2021 17:44:21 +0000 (19:44 +0200)]
patch 8.2.2843: Vim9: skip argument to searchpairpos() is not compiled
Problem: Vim9: skip argument to searchpairpos() is not compiled.
Solution: Handle like searchpair(). Also for search() and searchpos().
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.