]>
granicus.if.org Git - vim/log
Yegappan Lakshmanan [Sun, 3 Apr 2022 20:30:32 +0000 (21:30 +0100)]
patch 8.2.4679: cannot have expandcmd() give an error message for mistakes
Problem: Cannot have expandcmd() give an error message for mistakes.
Solution: Add an optional argument to give errors. Fix memory leak when
expanding files fails. (Yegappan Lakshmanan, closes #10071)
Bram Moolenaar [Sun, 3 Apr 2022 20:11:34 +0000 (21:11 +0100)]
patch 8.2.4678: Vim9: not all code is tested
Problem: Vim9: not all code is tested.
Solution: Add a few more tests.
Bram Moolenaar [Sun, 3 Apr 2022 17:02:37 +0000 (18:02 +0100)]
patch 8.2.4677: the Athena GUI support is outdated
Problem: The Athena GUI support is outdated.
Solution: Remove the Athena GUI code.
Bram Moolenaar [Sun, 3 Apr 2022 15:59:02 +0000 (16:59 +0100)]
patch 8.2.4676: test fails with different error
Problem: Test fails with different error.
Solution: Add argument for :elseif.
Bram Moolenaar [Sun, 3 Apr 2022 15:13:07 +0000 (16:13 +0100)]
patch 8.2.4675: no error for missing expression after :elseif
Problem: No error for missing expression after :elseif. (Ernie Rael)
Solution: Check for missing expression. (closes #10068)
Ernie Rael [Sun, 3 Apr 2022 14:47:28 +0000 (15:47 +0100)]
patch 8.2.4674: cannot force getting MouseMove events
Problem: Cannot force getting MouseMove events.
Solution: Add the 'mousemoveevent' option with implementaiton for the GUI.
(Ernie Rael, closes #10044)
Bram Moolenaar [Sun, 3 Apr 2022 12:23:22 +0000 (13:23 +0100)]
patch 8.2.4673: redrawing a split window is slow when using CTRL-F and CTRL-B
Problem: Redrawing a vertically split window is slow when using CTRL-F and
CTRL-B.
Solution: When deciding on USE_REDRAW bail out if scrolling more than three
lines. (issue #8002)
Bram Moolenaar [Sun, 3 Apr 2022 11:59:34 +0000 (12:59 +0100)]
patch 8.2.4672: using :normal with Ex mode may make :substitute hang
Problem: Using :normal with Ex mode may make :substitute hang.
Solution: When getting an empty line behave like 'q' was typed.
(closes #10070)
LemonBoy [Sun, 3 Apr 2022 10:58:31 +0000 (11:58 +0100)]
patch 8.2.4671: 'wildignorecase' is sometimes not used for glob()
Problem: 'wildignorecase' is sometimes not used for glob().
Solution: Also use 'wildignorecase' when there are no wildcards.
(closes #10066, closes #8350)
Yegappan Lakshmanan [Sun, 3 Apr 2022 10:22:38 +0000 (11:22 +0100)]
patch 8.2.4670: memory allocation failures for new tab page not tested
Problem: Memory allocation failures for new tab page not tested.
Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
closes #10067)
LemonBoy [Sat, 2 Apr 2022 20:59:06 +0000 (21:59 +0100)]
patch 8.2.4669: in compiled code len('string') is not inlined
Problem: In compiled code len('string') is not inlined.
Solution: Compute the length at compile time if possible. (closes #10065)
Yegappan Lakshmanan [Sat, 2 Apr 2022 20:46:19 +0000 (21:46 +0100)]
patch 8.2.4668: buffer allocation failures insufficiently tested
Problem: Buffer allocation failures insufficiently tested.
Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
closes #10064)
Yegappan Lakshmanan [Sat, 2 Apr 2022 20:12:21 +0000 (21:12 +0100)]
patch 8.2.4667: expandcmd() fails on an error
Problem: expandcmd() fails on an error.
Solution: On failure return the command unmodified. (yegappan Lakshmanan,
closes #10063)
Bram Moolenaar [Sat, 2 Apr 2022 18:43:57 +0000 (19:43 +0100)]
patch 8.2.4666: Vim9: assignment not recognized in skipped block
Problem: Vim9: assignment not recognized in skipped block.
Solution: When skipping assume identifier exists. (closes #10059)
Bram Moolenaar [Sat, 2 Apr 2022 14:32:16 +0000 (15:32 +0100)]
patch 8.2.4665: popup with "minwidth" and scrollbar not updated properly
Problem: Popup with "minwidth" and scrollbar not updated properly.
Solution: Adjust the computation if the window width. (closes #10061)
Bruno Roque [Sat, 2 Apr 2022 09:48:24 +0000 (10:48 +0100)]
patch 8.2.4664: Elvish files are not recognized
Problem: Elvish files are not recognized.
Solution: Recognize .elv files. (Bruno Roque, closes #10058)
Bram Moolenaar [Fri, 1 Apr 2022 18:44:47 +0000 (19:44 +0100)]
patch 8.2.4663: occasional crash when running the GUI tests
Problem: Occasional crash when running the GUI tests.
Solution: Check that the line index is not too high. (closes #8681)
Bram Moolenaar [Fri, 1 Apr 2022 14:26:58 +0000 (15:26 +0100)]
patch 8.2.4662: no error for using out of range list index
Problem: No error for using out of range list index.
Solution: Check list index at script level like in compiled function.
(closes #10051)
Bram Moolenaar [Fri, 1 Apr 2022 12:23:47 +0000 (13:23 +0100)]
patch 8.2.4661: Coverity warning for using uninitialized variable
Problem: Coverity warning for using uninitialized variable.
Solution: Initialize variable to NULL.
Bram Moolenaar [Fri, 1 Apr 2022 11:06:31 +0000 (12:06 +0100)]
patch 8.2.4660: cursorcolumn is sometimes not correct
Problem: Cursorcolumn is sometimes not correct.
Solution: Recompute the cursor column when entering Insert mode and the
cursor is on a character wider than a screen cell.
Bram Moolenaar [Thu, 31 Mar 2022 20:40:33 +0000 (21:40 +0100)]
patch 8.2.4659: invalid memory access when using printable function name
Problem: Invalid memory access when using printable function name.
Solution: Adjust copied name length.
ranjithshegde [Thu, 31 Mar 2022 19:24:35 +0000 (20:24 +0100)]
patch 8.2.4658: org-mode files are not recognized
Problem: Org-mode files are not recognized.
Solution: Add patterns to recognize "org" files. (closes #10046)
Bram Moolenaar [Thu, 31 Mar 2022 19:02:56 +0000 (20:02 +0100)]
patch 8.2.4657: errors for functions are sometimes hard to read
Problem: Errors for functions are sometimes hard to read.
Solution: Use printable_func_name() in more places.
Bram Moolenaar [Thu, 31 Mar 2022 15:18:23 +0000 (16:18 +0100)]
patch 8.2.4656: Vim9: can't use item from "import autoload" with autoload dir
Problem: Vim9: can't use items from "import autoload" with autoload
directory name.
Solution: Let sn_autoload_prefix overrule sn_import_autoload.
(closes #10054)
Yegappan Lakshmanan [Thu, 31 Mar 2022 11:34:15 +0000 (12:34 +0100)]
patch 8.2.4655: cmdline completion popup menu positioned wrong
Problem: Command line completion popup menu positioned wrong when using a
terminal window.
Solution: Position the popup menu differently when editing the command line.
(Yegappan Lakshmanan, closes #10050, closes #10035)
Bram Moolenaar [Thu, 31 Mar 2022 10:51:21 +0000 (11:51 +0100)]
patch 8.2.4654: missing changes for import check
Problem: Missing changes for import check.
Solution: Add missing changes.
Bram Moolenaar [Thu, 31 Mar 2022 10:37:57 +0000 (11:37 +0100)]
patch 8.2.4653: "import autoload" does not check the file name
Problem: "import autoload" does not check the file name.
Solution: Give an error if the file is not readable. (closes #10049)
Bram Moolenaar [Thu, 31 Mar 2022 09:13:47 +0000 (10:13 +0100)]
patch 8.2.4652: leaking memory if assignment fails
Problem: Leaking memory if assignment fails.
Solution: Clear assigned value on failure.
Bram Moolenaar [Wed, 30 Mar 2022 20:57:50 +0000 (21:57 +0100)]
patch 8.2.4651: test fails because path differs
Problem: Test fails because path differs.
Solution: Only compare the tail of the path.
Bram Moolenaar [Wed, 30 Mar 2022 20:12:27 +0000 (21:12 +0100)]
patch 8.2.4650: "import autoload" only works with using 'runtimepath'
Problem: "import autoload" only works with using 'runtimepath'.
Solution: Also support a relative and absolute file name.
Bram Moolenaar [Wed, 30 Mar 2022 09:57:45 +0000 (10:57 +0100)]
patch 8.2.4649: various formatting problems
Problem: Various formatting problems.
Solution: Improve the code formatting.
Bram Moolenaar [Wed, 30 Mar 2022 09:51:39 +0000 (10:51 +0100)]
Update runtime files
Yegappan Lakshmanan [Wed, 30 Mar 2022 09:16:05 +0000 (10:16 +0100)]
patch 8.2.4648: handling LSP messages is a bit slow
Problem: Handling LSP messages is a bit slow.
Solution: Included support for LSP messages. (Yegappan Lakshmanan,
closes #10025)
Bram Moolenaar [Tue, 29 Mar 2022 18:52:12 +0000 (19:52 +0100)]
patch 8.2.4647: "source" can read past end of copied line
Problem: "source" can read past end of copied line.
Solution: Add a terminating NUL.
Bram Moolenaar [Tue, 29 Mar 2022 12:24:58 +0000 (13:24 +0100)]
patch 8.2.4646: using buffer line after it has been freed
Problem: Using buffer line after it has been freed in old regexp engine.
Solution: After getting mark get the line again.
James Cherti [Tue, 29 Mar 2022 11:02:57 +0000 (12:02 +0100)]
patch 8.2.4645: 'shortmess' changed when session does not store options
Problem: 'shortmess' changed when session does not store options.
Solution: Save and restore 'shortmess' if needed. (James Charti,
closes #10037)
Lewis Russell [Tue, 29 Mar 2022 10:38:17 +0000 (11:38 +0100)]
patch 8.2.4644: redrawing too often when 'relativenumber' is set
Problem: Redrawing too often when 'relativenumber' is set.
Solution: Only redraw when the cursor line changed. (Lewis Russell,
closes #10040)
Bram Moolenaar [Mon, 28 Mar 2022 17:16:52 +0000 (18:16 +0100)]
patch 8.2.4643: Vim9: variable may be locked unintentionally
Problem: Vim9: variable may be locked unintentionally.
Solution: Clear "v_lock". (closes #10036)
Bram Moolenaar [Mon, 28 Mar 2022 14:22:35 +0000 (15:22 +0100)]
patch 8.2.4642: Vim9: in :def function script var cannot be null
Problem: Vim9: in :def function script var cannot be null.
Solution: Only initialize a script variable when not set to a null value.
(closes #10034)
Bram Moolenaar [Mon, 28 Mar 2022 11:41:19 +0000 (12:41 +0100)]
patch 8.2.4641: may mark the wrong window for redrawing
Problem: May mark the wrong window for redrawing.
Solution: Use redraw_win_later(). (closes #10032)
James McCoy [Mon, 28 Mar 2022 10:55:12 +0000 (11:55 +0100)]
patch 8.2.4640: some boolean options use "long" instead of "int"
Problem: Some boolean options use "long" instead of "int".
Solution: Adjust the type. (James McCoy, closes #10033)
kylo252 [Sun, 27 Mar 2022 19:05:17 +0000 (20:05 +0100)]
patch 8.2.4639: not sufficient parenthesis in preprocessor macros
Problem: Not sufficient parenthesis in preprocessor macros.
Solution: Add more parenthesis. (closes #10031)
zeertzjq [Sun, 27 Mar 2022 18:26:55 +0000 (19:26 +0100)]
patch 8.2.4638: superfluous check if a redraw is needed for 'cursorline'
Problem: Superfluous check if a redraw is needed for 'cursorline'.
Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
Bram Moolenaar [Sun, 27 Mar 2022 17:11:05 +0000 (18:11 +0100)]
patch 8.2.4637: warning for using uninitialized variable
Problem: Warning for using uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
Bram Moolenaar [Sun, 27 Mar 2022 15:56:21 +0000 (16:56 +0100)]
patch 8.2.4636: not using Visual range
Problem: Not using Visual range.
Solution: Put the command pointer back to the range.
Bram Moolenaar [Sun, 27 Mar 2022 15:51:04 +0000 (16:51 +0100)]
patch 8.2.4635: tests using null list or dict fail
Problem: Tests using null list or dict fail.
Solution: Only use the new rules for Vim9 script.
Bram Moolenaar [Sun, 27 Mar 2022 15:29:53 +0000 (16:29 +0100)]
patch 8.2.4634: Vim9: cannot initialize a variable to null_list
Problem: Vim9: cannot initialize a variable to null_list.
Solution: Give negative count to NEWLIST. (closes #10027)
Also fix inconsistencies in comparing with null values.
Bram Moolenaar [Sun, 27 Mar 2022 12:36:50 +0000 (13:36 +0100)]
patch 8.2.4633: Visual range does not work before command modifiers
Problem: Visual range does not work before command modifiers.
Solution: Move Visual range to after command modifiers.
Bram Moolenaar [Sat, 26 Mar 2022 16:42:23 +0000 (16:42 +0000)]
patch 8.2.4632: using freed memory in flatten()
Problem: Using freed memory in flatten().
Solution: Clear typval after recursing into list.
Bram Moolenaar [Sat, 26 Mar 2022 16:28:06 +0000 (16:28 +0000)]
patch 8.2.4631: crash when switching window in BufWipeout autocommand
Problem: Crash when switching window in BufWipeout autocommand.
Solution: Put any buffer in the window to avoid it being NULL.
(closes #10024)
Bram Moolenaar [Sat, 26 Mar 2022 13:28:14 +0000 (13:28 +0000)]
patch 8.2.4630: 'cursorline' not always updated with 'culopt' is "screenline"
Problem: 'cursorline' not always updated with 'cursorlineopt' is
"screenline".
Solution: Call check_redraw_cursorline() more often. (closes #10013)
Bram Moolenaar [Sat, 26 Mar 2022 10:50:11 +0000 (10:50 +0000)]
patch 8.2.4629: flattennew() makes a deep copy unnecessarily
Problem: flattennew() makes a deep copy unnecessarily.
Solution: Use a shallow copy. (issue #10012)
Yegappan Lakshmanan [Fri, 25 Mar 2022 21:19:26 +0000 (21:19 +0000)]
patch 8.2.4628: not enough testing for 2/3 letter substitute commands
Problem: Not enough testing for 2/3 letter substitute commands.
Solution: Add more tests. (Yegappan Lakshmanan, closes #10019)
Bram Moolenaar [Fri, 25 Mar 2022 19:50:57 +0000 (19:50 +0000)]
patch 8.2.4627: flatten() does not use maxdepth correctly
Problem: flatten() does not use maxdepth correctly.
Solution: Use a recursive implementation. (closes #10020)
Bram Moolenaar [Fri, 25 Mar 2022 15:42:27 +0000 (15:42 +0000)]
patch 8.2.4626: Visual area not updated when removing sign in Visual mode
Problem: Visual area not fully updated when removing sign in Visual mode
while scrolling.
Solution: Adjust check for topline. (closes #10017)
Bram Moolenaar [Fri, 25 Mar 2022 14:54:18 +0000 (14:54 +0000)]
patch 8.2.4625: old Coverity warning for resource leak
Problem: Old Coverity warning for resource leak.
Solution: Call FreeWild() if expanding matches did not fail.
Bram Moolenaar [Fri, 25 Mar 2022 14:46:47 +0000 (14:46 +0000)]
patch 8.2.4624: old Coverity warning for resource leak
Problem: Old Coverity warning for resource leak.
Solution: Close the file if memory allocation fails.
Bram Moolenaar [Fri, 25 Mar 2022 14:39:51 +0000 (14:39 +0000)]
patch 8.2.4623: Coverity warns for using uninitialized field
Problem: Coverity warns for using uninitialized field.
Solution: Initialize he field to zero.
Bram Moolenaar [Fri, 25 Mar 2022 11:16:28 +0000 (11:16 +0000)]
patch 8.2.4622: Vim9: crash with :execute and :finish
Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov)
Solution: Check for NULL. (closes #10011)
Bram Moolenaar [Thu, 24 Mar 2022 18:04:49 +0000 (18:04 +0000)]
patch 8.2.4621: crash when using the tabline right-click menu
Problem: Crash when using the tabline right-click menu.
Solution: Use XtPointer for XmNuserData. (closes #10009)
Bram Moolenaar [Thu, 24 Mar 2022 15:24:45 +0000 (15:24 +0000)]
patch 8.2.4620: two letter substitute commands don't work
Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan)
Solution: Invert condition.
Bram Moolenaar [Thu, 24 Mar 2022 15:15:15 +0000 (15:15 +0000)]
patch 8.2.4619: mapping is cancelled when mouse moves and popup is visible
Problem: Mapping is cancelled when mouse moves and popup is visible.
Solution: Only generate mouse moved events when a popup may use them.
(closes #10004)
Bram Moolenaar [Thu, 24 Mar 2022 13:08:36 +0000 (13:08 +0000)]
patch 8.2.4618: cmdline completion does not recognize single letter commands
Problem: Command line completion does not recognize single letter commands.
Solution: Use the condition from find_ex_command().
Yegappan Lakshmanan [Thu, 24 Mar 2022 11:22:13 +0000 (11:22 +0000)]
patch 8.2.4617: no completion for :scriptnames
Problem: No completion for :scriptnames.
Solution: Implement :scriptnames completion. (Yegappan Lakshmanan,
closes #10005)
Bram Moolenaar [Wed, 23 Mar 2022 21:36:27 +0000 (21:36 +0000)]
patch 8.2.4616: Vim9: Declarations in a {} block of a user command remain
Problem: Vim9: Declarations in a {} block of a user command do not use Vim9
rules if defined in a legacy script. (Yegappan Lakshmanan)
Solution: Pretend the script is Vim9 script.
Bram Moolenaar [Wed, 23 Mar 2022 19:45:01 +0000 (19:45 +0000)]
patch 8.2.4615: mapping with escaped bar does not work in :def function
Problem: Mapping with escaped bar does not work in :def function. (Sergey
Vlasov)
Solution: Do not remove the backslash. (closes #10002)
zeertzjq [Wed, 23 Mar 2022 14:55:23 +0000 (14:55 +0000)]
patch 8.2.4614: redrawing too much when 'cursorline' is set
Problem: Redrawing too much when 'cursorline' is set and jumping around.
Solution: Rely on win_update() to redraw the current and previous cursor
line, do not mark lines as modified. (closes #9996)
zeertzjq [Wed, 23 Mar 2022 13:54:51 +0000 (13:54 +0000)]
patch 8.2.4613: return type of swapfile_unchanged() is wrong
Problem: Return type of swapfile_unchanged() is wrong.
Solution: Use "int". (closes #10000 Yeah!)
Bram Moolenaar [Wed, 23 Mar 2022 11:29:15 +0000 (11:29 +0000)]
patch 8.2.4612: Vim9: cannot use a recursive call in a nested function
Problem: Vim9: cannot use a recursive call in a nested function. (Sergey
Vlasov)
Solution: Define the funcref before compiling the function. (closes #9989)
Dominique Pelle [Tue, 22 Mar 2022 21:14:55 +0000 (21:14 +0000)]
patch 8.2.4611: typos in tests; one lua line not covered by test
Problem: Typos in tests; one lua line not covered by test.
Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994)
Bram Moolenaar [Tue, 22 Mar 2022 20:42:12 +0000 (20:42 +0000)]
patch 8.2.4610: some conditions are always true
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993)
Bram Moolenaar [Tue, 22 Mar 2022 18:13:01 +0000 (18:13 +0000)]
patch 8.2.4609: :unhide does not check for failing to close a window
Problem: :unhide does not check for failing to close a window.
Solution: When closing a window fails continue with the next one. Do not
try closing the autocmd window. (closes #9984)
Yegappan Lakshmanan [Tue, 22 Mar 2022 16:06:31 +0000 (16:06 +0000)]
patch 8.2.4608: getcompletion() does not work when 'wildoptions' has "fuzzy"
Problem: getcompletion() does not work properly when 'wildoptions
contains "fuzzy".
Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992,
closes #9986)
Yegappan Lakshmanan [Tue, 22 Mar 2022 12:13:54 +0000 (12:13 +0000)]
patch 8.2.4607: sourcing buffer lines may lead to errors for conflicts
Problem: Sourcing buffer lines may lead to errors for conflicts.
Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes #9991)
Bram Moolenaar [Mon, 21 Mar 2022 20:40:35 +0000 (20:40 +0000)]
patch 8.2.4606: test fails because of changed error message
Problem: Test fails because of changed error message.
Solution: Update the expected error message
Bram Moolenaar [Mon, 21 Mar 2022 19:47:31 +0000 (19:47 +0000)]
patch 8.2.4604: error for redefining a script item may be confusing
Problem: Error for redefining a script item may be confusing.
Solution: Put quotes around the name.
Yegappan Lakshmanan [Mon, 21 Mar 2022 19:45:17 +0000 (19:45 +0000)]
patch 8.2.4603: sourcing buffer lines is too complicated
Problem: Sourcing buffer lines is too complicated.
Solution: Simplify the code. Make it possible to source Vim9 script lines.
(Yegappan Lakshmanan, closes #9974)
Bram Moolenaar [Sun, 20 Mar 2022 21:14:15 +0000 (21:14 +0000)]
patch 8.2.4602: Vim9: not enough test coverage for executing :def function
Problem: Vim9: not enough test coverage for executing :def function.
Solution: Add a few more tests. Fix uncovered problem. Remove dead code.
Bram Moolenaar [Sun, 20 Mar 2022 18:51:00 +0000 (18:51 +0000)]
patch 8.2.4601: Vim9: not enough test coverage for executing :def function
Problem: Vim9: not enough test coverage for executing :def function.
Solution: Add a few more tests.
Bram Moolenaar [Sun, 20 Mar 2022 17:46:06 +0000 (17:46 +0000)]
patch 8.2.4600: Vim9: not enough test coverage for executing :def function
Problem: Vim9: not enough test coverage for executing :def function.
Solution: Add a few more tests. Fix inconsistencies.
Bram Moolenaar [Sun, 20 Mar 2022 15:43:01 +0000 (15:43 +0000)]
patch 8.2.4599: GTK: get assertion errors when scrolling a split window
Problem: GTK: get assertion errors when scrolling a split window.
Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)
Bram Moolenaar [Sun, 20 Mar 2022 13:40:41 +0000 (13:40 +0000)]
patch 8.2.4598: profile completion test sometimes fails
Problem: Profile completion test sometimes fails.
Solution: Delete the .res file before running tests.
Dominique Pelle [Sun, 20 Mar 2022 11:46:01 +0000 (11:46 +0000)]
patch 8.2.4597: LuaV_debug() not covered by tests
Problem: LuaV_debug() not covered by tests.
Solution: Add a test. (Dominique Pellé, closes #9980)
Sergei Trofimovich [Sun, 20 Mar 2022 11:26:36 +0000 (11:26 +0000)]
patch 8.2.4596: installing tutor binary may fail
Problem: Installing tutor binary may fail.
Solution: Fix the dependency. (Sergei Trofimovich, closes #9978)
jsecchiero [Sun, 20 Mar 2022 11:07:17 +0000 (11:07 +0000)]
patch 8.2.4595: X11: using --remote-wait may keep the CPU busy
Problem: X11: using --remote-wait may keep the CPU busy.
Solution: Set the timeout for select() on every call. (Jacopo Secchiero,
closes #9973)
Bram Moolenaar [Sat, 19 Mar 2022 15:18:53 +0000 (15:18 +0000)]
Update runtime files
Yegappan Lakshmanan [Sat, 19 Mar 2022 12:56:51 +0000 (12:56 +0000)]
patch 8.2.4594: need to write script to a file to be able to source them
Problem: Need to write script to a file to be able to source them.
Solution: Make ":source" use lines from the current buffer. (Yegappan
Lakshmanan et al., closes #9967)
zeertzjq [Sat, 19 Mar 2022 11:42:16 +0000 (11:42 +0000)]
patch 8.2.4593: unnecessary call to redraw_later()
Problem: Unnecessary call to redraw_later().
Solution: Remove the call to redraw_later() in op_yank(). (closes #9971)
Bram Moolenaar [Sat, 19 Mar 2022 11:31:38 +0000 (11:31 +0000)]
patch 8.2.4592: search continues after giving E1204
Problem: Search continues after giving E1204.
Solution: Return failure after giving E1204. (closes #9972)
Bram Moolenaar [Sat, 19 Mar 2022 11:10:15 +0000 (11:10 +0000)]
patch 8.2.4591: cursor line not updated when a callback moves the cursor
Problem: Cursor line not updated when a callback moves the cursor.
Solution: Check if the cursor moved. (closes #9970)
Bram Moolenaar [Fri, 18 Mar 2022 21:41:47 +0000 (21:41 +0000)]
patch 8.2.4590: Vim9: range type check has wrong offset
Problem: Vim9: range type check has wrong offset.
Solution: Adjust offset for CHECKTYPE. Remove other type check.
Bram Moolenaar [Fri, 18 Mar 2022 19:44:48 +0000 (19:44 +0000)]
patch 8.2.4589: cannot index the g: dictionary
Problem: Cannot index the g: dictionary.
Solution: Recognize using "g:[key]". (closes #9969)
Bram Moolenaar [Fri, 18 Mar 2022 15:41:17 +0000 (15:41 +0000)]
patch 8.2.4588: mapping with key after other matching mapping does not work
Problem: Mapping with key code after other matching mapping does not work.
Solution: Change ">" to ">=". (closes #9903)
Bram Moolenaar [Fri, 18 Mar 2022 13:10:48 +0000 (13:10 +0000)]
patch 8.2.4587: Vim9: double free after unpacking a list
Problem: Vim9: double free after unpacking a list.
Solution: Make a copy of the value instead of moving it. (closes #9968)
Bram Moolenaar [Thu, 17 Mar 2022 16:30:03 +0000 (16:30 +0000)]
patch 8.2.4586: Vim9: no error for using lower case name for "func" argument
Problem: Vim9: no error for using lower case name for "func" argument.
(Ernie Rael)
Solution: Check the name as soon as the type is known.
Yegappan Lakshmanan [Thu, 17 Mar 2022 13:03:09 +0000 (13:03 +0000)]
patch 8.2.4585: cannot use keypad page-up/down for completion menu
Problem: Cannot use keypad page-up/down for completion menu.
Solution: Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963)
Bram Moolenaar [Thu, 17 Mar 2022 11:46:55 +0000 (11:46 +0000)]
patch 8.2.4584: error for using autoload function in custom completion
Problem: Error for using autoload function in custom completion.
Solution: Do not check for errors when using an autoload function.
(closes #9962)
Bram Moolenaar [Wed, 16 Mar 2022 20:26:02 +0000 (20:26 +0000)]
patch 8.2.4583: screendump test fails
Problem: Screendump test fails.
Solution: Check that making a screendump is possible.
Bram Moolenaar [Wed, 16 Mar 2022 20:01:39 +0000 (20:01 +0000)]
patch 8.2.4582: useless code handling a type declaration
Problem: Useless code handling a type declaration.
Solution: Remove the code and give an error.
Bram Moolenaar [Wed, 16 Mar 2022 17:56:33 +0000 (17:56 +0000)]
patch 8.2.4581: null types not fully tested
Problem: Null types not fully tested.
Solution: Add some more tests using null types.