]>
granicus.if.org Git - vim/log
Philip H [Sat, 16 Apr 2022 09:08:52 +0000 (10:08 +0100)]
patch 8.2.4757: list of libraries to suppress lsan errors is outdated
Problem: List of libraries to suppress lsan errors is outdated.
Solution: Add another library. (closes #10201)
Bram Moolenaar [Fri, 15 Apr 2022 22:29:23 +0000 (23:29 +0100)]
patch 8.2.4756: build error without the +eval feature
Problem: Build error without the +eval feature.
Solution: Adjust #ifdefs.
Bram Moolenaar [Fri, 15 Apr 2022 21:57:09 +0000 (22:57 +0100)]
patch 8.2.4755: cannot use <SID>FuncRef in completion spec
Problem: Cannot use <SID>FuncRef in completion spec.
Solution: Dereference a function name in another way. (closes #10197)
LemonBoy [Fri, 15 Apr 2022 19:50:46 +0000 (20:50 +0100)]
patch 8.2.4754: using cached values after unsetting some environment variables
Problem: Still using cached values after unsetting some known environment
variables.
Solution: Take care of the side effects. (closes #10194)
Bram Moolenaar [Fri, 15 Apr 2022 12:53:33 +0000 (13:53 +0100)]
patch 8.2.4753: error from setting an option is silently ignored
Problem: Error from setting an option is silently ignored.
Solution: Handle option value errors better. Fix uses of N_().
zeertzjq [Fri, 15 Apr 2022 12:17:57 +0000 (13:17 +0100)]
patch 8.2.4752: wrong 'statusline' value can cause illegal memory access
Problem: Wrong 'statusline' value can cause illegal memory access.
Solution: Properly check the value. (closes #10192)
Bram Moolenaar [Thu, 14 Apr 2022 20:36:15 +0000 (21:36 +0100)]
patch 8.2.4751: mapping <SID>name.Func does not work for autoload script
Problem: Mapping <SID>name.Func does not work for script in autoload
directory.
Solution: Use the # form for a script in the autoload directory.
(closes #10186)
=?UTF-8?q?Dundar=20G=C3=B6c?= [Thu, 14 Apr 2022 19:43:56 +0000 (20:43 +0100)]
patch 8.2.4750: small pieces of dead code
Problem: Small pieces of dead code.
Solution: Remove the dead code. (Goc Dundar, closes #10190) Rename the
qftf_cb struct member to avoid confusion.
LemonBoy [Thu, 14 Apr 2022 14:39:43 +0000 (15:39 +0100)]
patch 8.2.4749: <script> is not expanded in autocmd context
Problem: <script> is not expanded in autocmd context.
Solution: Add the context to the pattern struct. (closes #10144)
Rename AutoPatCmd to AutoPatCmd_T.
Bram Moolenaar [Thu, 14 Apr 2022 11:58:23 +0000 (12:58 +0100)]
patch 8.2.4748: cannot use an imported function in a mapping
Problem: Cannot use an imported function in a mapping.
Solution: Recognize <SID>name.Func.
KnoP-01 [Wed, 13 Apr 2022 19:46:21 +0000 (20:46 +0100)]
patch 8.2.4747: no filetype override for .sys files
Problem: No filetype override for .sys files.
Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes #10181)
ranjithshegde [Wed, 13 Apr 2022 14:29:21 +0000 (15:29 +0100)]
patch 8.2.4746: supercollider filetype not recognized
Problem: Supercollider filetype not recognized.
Solution: Match file extentions and check file contents to detect
supercollider. (closes #10142)
Bram Moolenaar [Wed, 13 Apr 2022 13:28:07 +0000 (14:28 +0100)]
patch 8.2.4745: using wrong flag for using bell in the terminal
Problem: Using wrong flag for using bell in the terminal.
Solution: Change to use BO_TERM.
LemonBoy [Wed, 13 Apr 2022 10:47:25 +0000 (11:47 +0100)]
patch 8.2.4744: a terminal window can't use the bell
Problem: A terminal window can't use the bell.
Solution: Add bell support for the terminal window. (closes #10178)
Philip H [Tue, 12 Apr 2022 14:40:12 +0000 (15:40 +0100)]
patch 8.2.4743: clang 14 is available on CI
Problem: Clang 14 is available on CI.
Solution: Switch from clang 13 to 14. (closes #10157)
Bram Moolenaar [Tue, 12 Apr 2022 14:09:23 +0000 (15:09 +0100)]
patch 8.2.4742: there is no way to start logging very early in startup
Problem: There is no way to start logging very early in startup.
Solution: Add the --log argument. Include the date in the start message in
the log file. Avoid a duplicate message when forking. Log an
executed shell command.
Bram Moolenaar [Tue, 12 Apr 2022 13:23:19 +0000 (14:23 +0100)]
patch 8.2.4741: startup test fails
Problem: Startup test fails.
Solution: Avoid an error for verbose expansion. Fix that the "0verbose"
command modifier doesn't work.
Bram Moolenaar [Tue, 12 Apr 2022 11:54:11 +0000 (12:54 +0100)]
patch 8.2.4740: when expand() fails there is no error message
Problem: When expand() fails there is no error message.
Solution: When 'verbose' is set give an error message.
zeertzjq [Tue, 12 Apr 2022 10:32:48 +0000 (11:32 +0100)]
patch 8.2.4739: accessing freed memory after WinScrolled autocmd event
Problem: Accessing freed memory after WinScrolled autocmd event.
Solution: Check the window pointer is still valid. (closes #10156)
Remove the argument from may_trigger_winscrolled().
Bram Moolenaar [Mon, 11 Apr 2022 18:38:56 +0000 (19:38 +0100)]
patch 8.2.4738: Esc on commandline executes command instead of abandoning it
Problem: Esc on commandline executes command instead of abandoning it.
Solution: Save and restore KeyTyped when removing the popup menu.
(closes #10154)
Bram Moolenaar [Mon, 11 Apr 2022 16:36:37 +0000 (17:36 +0100)]
patch 8.2.4737: // in JavaScript string recognized as comment
Problem: // in JavaScript string recognized as comment.
Solution: Only check for linecomment if 'cindent' is set. (closes #10151)
Bram Moolenaar [Mon, 11 Apr 2022 14:28:50 +0000 (15:28 +0100)]
patch 8.2.4736: build problem for Cygwin with Motif
Problem: Build problem for Cygwin with Motif.
Solution: Undefine ControlMask. (Kelvin Lee, closes #10152)
Yegappan Lakshmanan [Mon, 11 Apr 2022 14:11:39 +0000 (15:11 +0100)]
patch 8.2.4735: quickfix tests can be a bit hard to read
Problem: Quickfix tests can be a bit hard to read.
Solution: Use heredoc instead of strings and line continuation. (Yegappan
Lakshmanan, closes #10145)
Bram Moolenaar [Mon, 11 Apr 2022 12:05:16 +0000 (13:05 +0100)]
patch 8.2.4734: getcharpos() may change a mark position
Problem: getcharpos() may change a mark position.
Solution: Copy the mark position. (closes #10148)
Aaron Tinio [Mon, 11 Apr 2022 10:37:13 +0000 (11:37 +0100)]
patch 8.2.4733: HEEx and Surface do need a separate filetype
Problem: HEEx and Surface do need a separate filetype.
Solution: Revert 8.2.4729. (closes #10147)
Bram Moolenaar [Sun, 10 Apr 2022 17:09:06 +0000 (18:09 +0100)]
patch 8.2.4732: duplicate code to free fuzzy matches
Problem: Duplicate code to free fuzzy matches.
Solution: Bring back fuzmatch_str_free().
LemonBoy [Sun, 10 Apr 2022 16:59:26 +0000 (17:59 +0100)]
patch 8.2.4731: the changelist index is not remembered per buffer
Problem: The changelist index is not remembered per buffer.
Solution: Keep the changelist index per window and buffer. (closes #10135,
closes #2173)
Yasuhiro Matsumoto [Sun, 10 Apr 2022 11:37:48 +0000 (12:37 +0100)]
patch 8.2.4730: MS-Windows GUI: cannot use CTRL-/
Problem: MS-Windows GUI: cannot use CTRL-/.
Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)
Aaron Tinio [Sun, 10 Apr 2022 11:13:56 +0000 (12:13 +0100)]
patch 8.2.4729: HEEx and Surface templates do not need a separate filetype
Problem: HEEx and Surface templates do not need a separate filetype.
Solution: Use Eelixir for the similar filetypes. (Aaron Tinio, closes #10124)
zeertzjq [Sun, 10 Apr 2022 10:44:04 +0000 (11:44 +0100)]
patch 8.2.4728: no test that v:event cannot be modified
Problem: No test that v:event cannot be modified.
Solution: Add a test. (closes #10139)
Dominique Pelle [Sun, 10 Apr 2022 10:26:53 +0000 (11:26 +0100)]
patch 8.2.4727: unused code
Problem: Unused code.
Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
LemonBoy [Sat, 9 Apr 2022 20:42:10 +0000 (21:42 +0100)]
patch 8.2.4726: cannot use expand() to get the script name
Problem: Cannot use expand() to get the script name.
Solution: Support expand('<script>'). (closes #10121)
Bram Moolenaar [Sat, 9 Apr 2022 20:13:51 +0000 (21:13 +0100)]
patch 8.2.4725: unused variable in tiny build
Problem: Unused variable in tiny build.
Solution: Add #ifdef.
LemonBoy [Sat, 9 Apr 2022 20:04:08 +0000 (21:04 +0100)]
patch 8.2.4724: current instance of last search pattern not easily spotted
Problem: Current instance of last search pattern not easily spotted.
Solution: Add CurSearch highlighting. (closes #10133)
LemonBoy [Sat, 9 Apr 2022 17:17:34 +0000 (18:17 +0100)]
patch 8.2.4723: the ModeChanged autocmd event is inefficient
Problem: The ModeChanged autocmd event is inefficient.
Solution: Avoid allocating memory. (closes #10134) Rename
trigger_modechanged() to may_trigger_modechanged().
zeertzjq [Sat, 9 Apr 2022 16:58:49 +0000 (17:58 +0100)]
patch 8.2.4722: ending recording with mapping records too much
Problem: When a recording is ended with a mapped key that key is also
recorded.
Solution: Remember the previous last_recorded_len. (closes #10122)
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 9 Apr 2022 15:08:08 +0000 (16:08 +0100)]
patch 8.2.4721: cooklang files are not recognized
Problem: Cooklang files are not recognized.
Solution: recognize *.cook files. (Goc Dundar, closes #10120)
KnoP-01 [Sat, 9 Apr 2022 14:20:28 +0000 (15:20 +0100)]
patch 8.2.4720: ABB Rapid files are not recognized properly
Problem: ABB Rapid files are not recognized properly.
Solution: Add checks for ABB Rapid files. (Patrick Meiser-Knosowski,
closes #10104)
Bram Moolenaar [Sat, 9 Apr 2022 14:16:53 +0000 (15:16 +0100)]
patch 8.2.0003: Build file dependencies are incomplete
Problem: Build file dependencies are incomplete.
Solution: Fix the dependencies. (Ken Takata, closes #5356)
Christian Brabandt [Sat, 9 Apr 2022 12:35:00 +0000 (13:35 +0100)]
patch 8.2.4719: ">" marker sometimes not displayed in the jumplist
Problem: ">" marker sometimes not displayed in the jumplist.
Solution: If the buffer no longer exists show "-invalid-". (Christian
Brabandt, closes #10131, closes #10100)
Bram Moolenaar [Sat, 9 Apr 2022 11:40:13 +0000 (12:40 +0100)]
patch 8.2.4718: @@@ in the last line sometimes drawn in the wrong place
Problem: @@@ in the last line sometimes drawn in the wrong place.
Solution: Make sure the column is valid. (closes #10130)
Bram Moolenaar [Sat, 9 Apr 2022 10:37:38 +0000 (11:37 +0100)]
patch 8.2.4717: for TextYankPost v:event does not contain all information
Problem: For TextYankPost v:event does not contain information about the
operation being inclusive or not.
Solution: Add "inclusive" to v:event. (Justn M. Keyes, Yegappan Lakshmanan,
closes #10125)
Yegappan Lakshmanan [Sat, 9 Apr 2022 10:09:07 +0000 (11:09 +0100)]
patch 8.2.4716: memory allocation failure not tested when defining a function
Problem: Memory allocation failure not tested when defining a function.
Solution: Add a test. (Yegappan Lakshmanan, closes #10127)
Julien Voisin [Fri, 8 Apr 2022 18:55:39 +0000 (19:55 +0100)]
patch 8.2.4715: Vagrantfile not recognized
Problem: Vagrantfile not recognized.
Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119)
Bram Moolenaar [Fri, 8 Apr 2022 16:45:08 +0000 (17:45 +0100)]
Update runtime files
Bram Moolenaar [Fri, 8 Apr 2022 16:26:26 +0000 (17:26 +0100)]
patch 8.2.4714: using g:filetype_dat and g:filetype_src not tested
Problem: Using g:filetype_dat and g:filetype_src not tested.
Solution: Add a test. (Patrick Meiser-Knosowski, closes #10117)
LemonBoy [Fri, 8 Apr 2022 14:18:45 +0000 (15:18 +0100)]
patch 8.2.4713: plugins cannot track text scrolling
Problem: Plugins cannot track text scrolling.
Solution: Add the WinScrolled event. (closes #10102)
Yegappan Lakshmanan [Fri, 8 Apr 2022 12:23:19 +0000 (13:23 +0100)]
patch 8.2.4712: only get profiling information after exiting
Problem: Only get profiling information after exiting.
Solution: Add "profile dump" and "profile stop". (Marco Hinz, Yegappan
Lakshmanan, closes #10107)
zeertzjq [Fri, 8 Apr 2022 10:56:14 +0000 (11:56 +0100)]
patch 8.2.4711: when 'insermode' is set :edit from <Cmd> mapping misbehaves
Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
Solution: Don't set "need_start_insertmode" when already in Insert mode.
(closes #10116)
Christian Brabandt [Thu, 7 Apr 2022 20:00:53 +0000 (21:00 +0100)]
patch 8.2.4710: smart indenting does not work after completion
Problem: Smart indenting does not work after completion.
Solution: Set "can_si". (Christian Brabandt, closes #10113, closes #558)
Bram Moolenaar [Thu, 7 Apr 2022 17:06:08 +0000 (18:06 +0100)]
patch 8.2.4709: after :redraw the statusline highlight might be used
Problem: After :redraw the statusline highlight might be used.
Solution: Clear the screen attribute after redrawing the screen.
(closes #10108)
Julien Voisin [Thu, 7 Apr 2022 15:01:13 +0000 (16:01 +0100)]
patch 8.2.4708: PHP test files are not recognized
Problem: PHP test files are not recognized.
Solution: Add the *.phpt pattern. (Julien Voisin, closes #10112)
zeertzjq [Thu, 7 Apr 2022 14:08:01 +0000 (15:08 +0100)]
patch 8.2.4707: redrawing could be a bit more efficient
Problem: Redrawing could be a bit more efficient.
Solution: Optimize redrawing. (closes #10105)
zeertzjq [Thu, 7 Apr 2022 13:08:29 +0000 (14:08 +0100)]
patch 8.2.4706: buffer remains active with WinClosed and tabpages
Problem: Buffer remains active if a WinClosed event throws an exception
when there are multiple tabpages.
Solution: Ignore aborting() when closing the buffer. (closes #10101)
zeertzjq [Thu, 7 Apr 2022 12:58:04 +0000 (13:58 +0100)]
patch 8.2.4705: jump list marker disappears
Problem: Jump list marker disappears.
Solution: Reset reg_executing later. (closes #10111, closes #10100)
=?UTF-8?q?Dundar=20G=C3=B6c?= [Thu, 7 Apr 2022 12:26:34 +0000 (13:26 +0100)]
patch 8.2.4704: using "else" after return or break increases indent
Problem: Using "else" after return or break increases indent.
Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099)
Bram Moolenaar [Thu, 7 Apr 2022 12:08:00 +0000 (13:08 +0100)]
patch 8.2.4703: memory leak in handling 'cinscopedecls'
Problem: Memory leak in handling 'cinscopedecls'.
Solution: Free the memory before returning.
Tom Praschan [Thu, 7 Apr 2022 11:39:08 +0000 (12:39 +0100)]
patch 8.2.4702: C++ scope labels are hard-coded
Problem: C++ scope labels are hard-coded.
Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
closes #10109)
Bram Moolenaar [Wed, 6 Apr 2022 17:57:39 +0000 (18:57 +0100)]
patch 8.2.4701: Kuka Robot Language files not recognized
Problem: Kuka Robot Language files not recognized.
Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski,
closes #10096)
Bram Moolenaar [Wed, 6 Apr 2022 16:59:21 +0000 (17:59 +0100)]
patch 8.2.4700: buffer remains active if WinClosed event throws an exception
Problem: Buffer remains active if a WinClosed event throws an exception.
Solution: Ignore aborting() when closing the buffer. (closes #10097)
LemonBoy [Tue, 5 Apr 2022 21:03:30 +0000 (22:03 +0100)]
patch 8.2.4699: hard to reproduce hang when reading from a channel
Problem: Hard to reproduce hang when reading from a channel.
Solution: Check for readahead before starting to wait. (closes #10093,
closes #7781, closes #6364)
Bram Moolenaar [Tue, 5 Apr 2022 20:40:38 +0000 (21:40 +0100)]
patch 8.2.4698: Vim9: script variable has no flag that it was set
Problem: Vim9: script variable has no flag that it was set.
Solution: Add a flag that it was set, to avoid giving it a value when used.
(closes #10088)
Bram Moolenaar [Tue, 5 Apr 2022 16:30:29 +0000 (17:30 +0100)]
patch 8.2.4697: Vim9: crash when adding a duplicate key to a dictionary
Problem: Vim9: crash when adding a duplicate key to a dictionary.
Solution: Clear the stack item when it has been moved into the dictionary.
(closes #10087)
zeertzjq [Tue, 5 Apr 2022 14:31:01 +0000 (15:31 +0100)]
patch 8.2.4696: delete() with "rf" argument does not report a failure
Problem: delete() with "rf" argument does not report a failure.
Solution: Return -1 if the directory could not be removed. (closes #10078)
LemonBoy [Tue, 5 Apr 2022 14:07:32 +0000 (15:07 +0100)]
patch 8.2.4695: JSON encoding could be faster
Problem: JSON encoding could be faster.
Solution: Optimize encoding JSON strings. (closes #10086)
ichizok [Tue, 5 Apr 2022 13:18:44 +0000 (14:18 +0100)]
patch 8.2.4694: avoidance of #elif causes more preproc nesting
Problem: Avoidance of #elif causes more preproc nesting.
Solution: Use #elif where it is useful. (Ozaki Kiichi, closes #10081)
Bram Moolenaar [Tue, 5 Apr 2022 13:00:32 +0000 (14:00 +0100)]
patch 8.2.4693: new regexp does not accept pattern "\%>0v"
Problem: new regexp does not accept pattern "\%>0v".
Solution: Do accept digit zero.
zeertzjq [Tue, 5 Apr 2022 12:17:01 +0000 (13:17 +0100)]
patch 8.2.4692: no test for what 8.2.4691 fixes
Problem: No test for what 8.2.4691 fixes.
Solution: Add a test. Use a more generic sotlution. (closes #10090)
Bram Moolenaar [Mon, 4 Apr 2022 21:09:30 +0000 (22:09 +0100)]
patch 8.2.4691: solution for <Cmd> in a mapping causes trouble
Problem: Solution for <Cmd> in a mapping causes trouble.
Solution: Use another solution: put back CTRL-O after reading the <Cmd>
sequence.
LemonBoy [Mon, 4 Apr 2022 20:13:35 +0000 (21:13 +0100)]
patch 8.2.4690: channel tests fail on MS-Windows
Problem: Channel tests fail on MS-Windows.
Solution: Check if the AF_UNIX attribute exists. (closes #10083)
Bram Moolenaar [Mon, 4 Apr 2022 20:03:52 +0000 (21:03 +0100)]
patch 8.2.4689: using <Cmd> in a mapping does not work for mouse keys
Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
mode. (Sergey Vlasov)
Solution: When reading the <Cmd> argument do not use the stuff buffer.
(closes #10080)
Bram Moolenaar [Mon, 4 Apr 2022 17:32:32 +0000 (18:32 +0100)]
patch 8.2.4688: new regexp engine does not give an error for "\%v"
Problem: New regexp engine does not give an error for "\%v".
Solution: Check for a value argument. (issue #10079)
Bram Moolenaar [Mon, 4 Apr 2022 17:14:34 +0000 (18:14 +0100)]
patch 8.2.4687: "vimgrep /\%v/ *" may cause a crash
Problem: "vimgrep /\%v/ *" may cause a crash.
Solution: When compiling the pattern with the old engine fails, restore the
regprog of the new engine instead of leaving it NULL.
(closes #10079)
Kelvin Lee [Mon, 4 Apr 2022 16:20:01 +0000 (17:20 +0100)]
patch 8.2.4686: configure doesn't find the Motif library with Cygwin
Problem: Configure doesn't find the Motif library with Cygwin.
Solution: Check for libXm.dll.a. (Kelvin Lee, closes #10077)
Bram Moolenaar [Mon, 4 Apr 2022 15:57:21 +0000 (16:57 +0100)]
patch 8.2.4685: when a swap file is found for a popup there is no dialog
Problem: When a swap file is found for a popup there is no dialog and the
buffer is loaded anyway.
Solution: Silently load the buffer read-only. (closes #10073)
LemonBoy [Mon, 4 Apr 2022 14:46:58 +0000 (15:46 +0100)]
patch 8.2.4684: cannot open a channel on a Unix domain socket
Problem: Cannot open a channel on a Unix domain socket.
Solution: Add Unix domain socket support. (closes #10062)
Yegappan Lakshmanan [Mon, 4 Apr 2022 14:16:54 +0000 (15:16 +0100)]
patch 8.2.4683: verbose check with dict_find() to see if a key is present
Problem: Verbose check with dict_find() to see if a key is present.
Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
Bram Moolenaar [Mon, 4 Apr 2022 13:58:06 +0000 (14:58 +0100)]
patch 8.2.4682: Vim9: can use :unlockvar for const variable
Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael)
Solution: Check whether the variable is a const.
Bram Moolenaar [Sun, 3 Apr 2022 20:57:26 +0000 (21:57 +0100)]
patch 8.2.4681: build fails with a combination of features
Problem: Build fails with a combination of features.
Solution: Remove #ifdef for alloc_clear_id(). (John Marriott)
Bram Moolenaar [Sun, 3 Apr 2022 20:52:51 +0000 (21:52 +0100)]
patch 8.2.4680: build failure without +postscript
Problem: Build failure without +postscript.
Solution: Use another error message.
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.