]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.2973: fix for recovery and diff mode not tested v8.2.2973
Yegappan Lakshmanan [Thu, 10 Jun 2021 19:52:15 +0000 (21:52 +0200)]
patch 8.2.2973: fix for recovery and diff mode not tested

Problem:    Fix for recovery and diff mode not tested.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #8352)

3 years agopatch 8.2.2972: "%bd" tries to delete popup window buffers, which fails v8.2.2972
Bram Moolenaar [Thu, 10 Jun 2021 19:07:48 +0000 (21:07 +0200)]
patch 8.2.2972: "%bd" tries to delete popup window buffers, which fails

Problem:    "%bd" tries to delete popup window buffers, which fails. (Ralf
            Schandl)
Solution:   Do not try to delete a popup window buffer. (closes #8349)

3 years agopatch 8.2.2971: cannot yank a block without trailing spaces v8.2.2971
Christian Brabandt [Thu, 10 Jun 2021 17:39:11 +0000 (19:39 +0200)]
patch 8.2.2971: cannot yank a block without trailing spaces

Problem:    Cannot yank a block without trailing spaces.
Solution:   Add the "zy" command. (Christian Brabandt, closes #8292)

3 years agopatch 8.2.2970: Python configure check uses deprecated command v8.2.2970
Zdenek Dohnal [Thu, 10 Jun 2021 16:50:55 +0000 (18:50 +0200)]
patch 8.2.2970: Python configure check uses deprecated command

Problem:    Python configure check uses deprecated command.
Solution:   Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
            closes #8354)

3 years agopatch 8.2.2969: subtracting from number option fails when result is zero v8.2.2969
Bram Moolenaar [Thu, 10 Jun 2021 16:43:25 +0000 (18:43 +0200)]
patch 8.2.2969: subtracting from number option fails when result is zero

Problem:    Subtracting from number option fails when result is zero. (Ingo
            Karkat)
Solution:   Reset the string value when using the numeric value.
            (closes #8351)

3 years agopatch 8.2.2968: Vim9: memory leak v8.2.2968
Bram Moolenaar [Wed, 9 Jun 2021 18:50:46 +0000 (20:50 +0200)]
patch 8.2.2968: Vim9: memory leak

Problem:    Vim9: memory leak
Solution:   Unreference pt_outer of partial.

3 years agopatch 8.2.2967: Vim9: crash when using two levels of partials v8.2.2967
Bram Moolenaar [Wed, 9 Jun 2021 17:30:03 +0000 (19:30 +0200)]
patch 8.2.2967: Vim9: crash when using two levels of partials

Problem:    Vim9: crash when using two levels of partials.
Solution:   Add outer_ref_T and use it in the execution context.

3 years agopatch 8.2.2966: ml_get errors after recovering a file v8.2.2966
Bram Moolenaar [Wed, 9 Jun 2021 10:33:40 +0000 (12:33 +0200)]
patch 8.2.2966: ml_get errors after recovering a file

Problem:    ml_get errors after recovering a file. (Yegappan Lakshmanan)
Solution:   Fix the cursor position after deleting lines.

3 years agopatch 8.2.2965: Vim9: crash when calling function that failed to compile v8.2.2965
Bram Moolenaar [Tue, 8 Jun 2021 20:01:53 +0000 (22:01 +0200)]
patch 8.2.2965: Vim9: crash when calling function that failed to compile

Problem:    Vim9: crash when calling function that failed to compile.
Solution:   Fail when trying to call the function. (closes #8344)

3 years agopatch 8.2.2964: Vim9: hang when using space after -> v8.2.2964
Bram Moolenaar [Tue, 8 Jun 2021 18:46:45 +0000 (20:46 +0200)]
patch 8.2.2964: Vim9: hang when using space after ->

Problem:    Vim9: hang when using space after ->. (Naohiro Ono)
Solution:   Skip over white space to find the function name. (closes #8341)

3 years agopatch 8.2.2963: GUI: mouse move may start Visual mode with a popup visible v8.2.2963
Bram Moolenaar [Tue, 8 Jun 2021 18:13:31 +0000 (20:13 +0200)]
patch 8.2.2963: GUI: mouse move may start Visual mode with a popup visible

Problem:    GUI: mouse move may start Visual mode with a popup visible.
Solution:   Add special code for mouse move. (closes #8318)

3 years agopatch 8.2.2962: MS-Windows command line arguments have wrong encoding v8.2.2962
K.Takata [Tue, 8 Jun 2021 16:32:36 +0000 (18:32 +0200)]
patch 8.2.2962: MS-Windows command line arguments have wrong encoding

Problem:    MS-Windows command line arguments have wrong encoding.
Solution:   Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)

3 years agopatch 8.2.2961: keys typed during a :normal command are discarded v8.2.2961
Bram Moolenaar [Mon, 7 Jun 2021 20:04:52 +0000 (22:04 +0200)]
patch 8.2.2961: keys typed during a :normal command are discarded

Problem:    Keys typed during a :normal command are discarded.
Solution:   Concatenate saved typeahead and typed kesy. (closes #8340)

3 years agopatch 8.2.2960: swap file recovery not sufficiently tested v8.2.2960
Yegappan Lakshmanan [Mon, 7 Jun 2021 18:41:22 +0000 (20:41 +0200)]
patch 8.2.2960: swap file recovery not sufficiently tested

Problem:    Swap file recovery not sufficiently tested.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #8339)

3 years agopatch 8.2.2959: sound_playfile() is not tested on MS-Windows v8.2.2959
Dominique Pelle [Mon, 7 Jun 2021 18:28:45 +0000 (20:28 +0200)]
patch 8.2.2959: sound_playfile() is not tested on MS-Windows

Problem:    sound_playfile() is not tested on MS-Windows.
Solution:   Make it work and enable the test. (Dominique Pellé, closes #8338)

3 years agopatch 8.2.2958: function list test fails v8.2.2958
Bram Moolenaar [Mon, 7 Jun 2021 16:50:01 +0000 (18:50 +0200)]
patch 8.2.2958: function list test fails

Problem:    Function list test fails.
Solution:   Add newly added function to the list.  Fix typo.

3 years agopatch 8.2.2957: using getchar() in Vim9 script is problematic v8.2.2957
Bram Moolenaar [Mon, 7 Jun 2021 16:29:17 +0000 (18:29 +0200)]
patch 8.2.2957: using getchar() in Vim9 script is problematic

Problem:    Using getchar() in Vim9 script is problematic.
Solution:   Add getcharstr(). (closes #8343)

3 years agopatch 8.2.2956: Vim9: need to plan for future additions v8.2.2956
Bram Moolenaar [Sun, 6 Jun 2021 20:02:16 +0000 (22:02 +0200)]
patch 8.2.2956: Vim9: need to plan for future additions

Problem:    Vim9: need to plan for future additions.
Solution:   Reserve commands for future use: :type, :class, :enum.

3 years agopatch 8.2.2955: Vim9: using filter in compiled command does not work v8.2.2955
Bram Moolenaar [Sun, 6 Jun 2021 19:38:09 +0000 (21:38 +0200)]
patch 8.2.2955: Vim9: using filter in compiled command does not work

Problem:    Vim9: using filter in compiled command does not work.
Solution:   Generate EXEC including the command modifier.

3 years agopatch 8.2.2954: short file name extension for Scala not recognized v8.2.2954
Brennon M [Sun, 6 Jun 2021 18:15:53 +0000 (20:15 +0200)]
patch 8.2.2954: short file name extension for Scala not recognized

Problem:    Short file name extension for Scala not recognized.
Solution:   Recognize *.sc. (closes #8337)

3 years agopatch 8.2.2953: Vim9: leaking memory when using heredoc script v8.2.2953
Bram Moolenaar [Sun, 6 Jun 2021 15:34:13 +0000 (17:34 +0200)]
patch 8.2.2953: Vim9: leaking memory when using heredoc script

Problem:    Vim9: leaking memory when using heredoc script.
Solution:   Free the first line.

3 years agopatch 8.2.2952: recover test fails on big endian systems v8.2.2952
Yegappan Lakshmanan [Sun, 6 Jun 2021 15:12:46 +0000 (17:12 +0200)]
patch 8.2.2952: recover test fails on big endian systems

Problem:    Recover test fails on big endian systems.
Solution:   Disable the failing test on big endian systems. (Yegappan
            Lakshmanan, closes #8335)

3 years agopatch 8.2.2951: Vim9: cannot use heredoc for :python, :lua, etc. v8.2.2951
Bram Moolenaar [Sun, 6 Jun 2021 15:02:53 +0000 (17:02 +0200)]
patch 8.2.2951: Vim9: cannot use heredoc for :python, :lua, etc.

Problem:    Vim9: cannot use heredoc in :def function for :python, :lua, etc.
Solution:   Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
            instruction.

3 years agopatch 8.2.2950: sound code not fully tested v8.2.2950
Dominique Pelle [Sun, 6 Jun 2021 13:07:09 +0000 (15:07 +0200)]
patch 8.2.2950: sound code not fully tested

Problem:    Sound code not fully tested.
Solution:   Add more sound tests. (Dominique Pellé, closes #8332)

3 years agopatch 8.2.2949: tests failing because no error for float to string conversion v8.2.2949
Bram Moolenaar [Sun, 6 Jun 2021 12:14:39 +0000 (14:14 +0200)]
patch 8.2.2949: tests failing because no error for float to string conversion

Problem:    Tests failing because there is no error for float to string
            conversion.
Solution:   Change the check for failure to check for correct result.  Make
            some conversions strict in Vim9 script.

3 years agopatch 8.2.2948: substitute() accepts a number but not a float expression v8.2.2948
Bram Moolenaar [Sun, 6 Jun 2021 10:33:49 +0000 (12:33 +0200)]
patch 8.2.2948: substitute() accepts a number but not a float expression

Problem:    Substitute() accepts a number but not a float expression.
Solution:   Also accept a float. (closes #8331)

3 years agopatch 8.2.2947: build failure without the channel feature v8.2.2947
Bram Moolenaar [Sun, 6 Jun 2021 10:07:54 +0000 (12:07 +0200)]
patch 8.2.2947: build failure without the channel feature

Problem:    Build failure without the channel feature.
Solution:   Add back #ifdef. (John Marriott)

3 years agopatch 8.2.2946: Vim9: substitute expression cannot be a List v8.2.2946
Bram Moolenaar [Sat, 5 Jun 2021 19:36:19 +0000 (21:36 +0200)]
patch 8.2.2946: Vim9: substitute expression cannot be a List

Problem:    Vim9: substitute expression cannot be a List in a :def function.
Solution:   Use typval2string(). (closes #8330)

3 years agopatch 8.2.2945: some buffer related code is not tested v8.2.2945
Yegappan Lakshmanan [Sat, 5 Jun 2021 18:59:22 +0000 (20:59 +0200)]
patch 8.2.2945: some buffer related code is not tested

Problem:    Some buffer related code is not tested.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #8320)

3 years agopatch 8.2.2944: Vim9: no error when using job or channel as a string v8.2.2944
Bram Moolenaar [Sat, 5 Jun 2021 18:51:38 +0000 (20:51 +0200)]
patch 8.2.2944: Vim9: no error when using job or channel as a string

Problem:    Vim9: no error when using job or channel as a string.
Solution:   Be more strict about conversion to string. (closes #8312)

3 years agopatch 8.2.2943: Vim9: check for argument count ignores default values v8.2.2943
Bram Moolenaar [Sat, 5 Jun 2021 16:49:38 +0000 (18:49 +0200)]
patch 8.2.2943: Vim9: check for argument count ignores default values

Problem:    Vim9: check for argument count ignores default values.
Solution:   Take default argument values into account.

3 years agopatch 8.2.2942: Vim9: error when calling function with too few arguments v8.2.2942
Bram Moolenaar [Sat, 5 Jun 2021 16:15:09 +0000 (18:15 +0200)]
patch 8.2.2942: Vim9: error when calling function with too few arguments

Problem:    Vim9: internal error when calling function with too few arguments
Solution:   Check for argument count to be too few. (closes #8325)

3 years agopatch 8.2.2941: Vim9: using does not handle a list of strings v8.2.2941
Bram Moolenaar [Sat, 5 Jun 2021 15:10:55 +0000 (17:10 +0200)]
patch 8.2.2941: Vim9: using  does not handle a list of strings

Problem:    Vim9: using  does not handle a list of strings.
Solution:   Convert a list to a string and escape each item. (closes #8310)

3 years agopatch 8.2.2940: MS-Windows: cannot see the size when resizing v8.2.2940
K.Takata [Sat, 5 Jun 2021 14:25:32 +0000 (16:25 +0200)]
patch 8.2.2940: MS-Windows: cannot see the size when resizing

Problem:    MS-Windows: cannot see the size of the text area when resizing the
            gvim window.
Solution:   Show a tooltip with the text size. (Ken Takata, closes #8326)

3 years agopatch 8.2.2939: GTK: righthand scrollbar does not show with split window v8.2.2939
Bram Moolenaar [Sat, 5 Jun 2021 14:07:37 +0000 (16:07 +0200)]
patch 8.2.2939: GTK: righthand scrollbar does not show with split window

Problem:    GTK: righthand scrollbar does not show with split window.
Solution:   Adjust padding when two scrollbars are used. (Matt Wozniski,
            closes #8324)

3 years agopatch 8.2.2938: after using motion force from feedkeys() it sticks v8.2.2938
Bram Moolenaar [Fri, 4 Jun 2021 19:57:57 +0000 (21:57 +0200)]
patch 8.2.2938: after using motion force from feedkeys() it sticks

Problem:    After using motion force from feedkeys() it may not be reset.
Solution:   Clear motion_force in clearop(). (closes #8323)

3 years agopatch 8.2.2937: popup test fails if rightleft feature not enabled v8.2.2937
Dominique Pelle [Fri, 4 Jun 2021 19:09:55 +0000 (21:09 +0200)]
patch 8.2.2937: popup test fails if rightleft feature not enabled

Problem:    Popup test fails if rightleft feature not enabled.
Solution:   Check that the rightleft feature is available. (Dominique Pellé,
            closes #8321)

3 years agopatch 8.2.2936: Vim9: converting number to bool uses wrong stack offset v8.2.2936
Bram Moolenaar [Fri, 4 Jun 2021 19:00:32 +0000 (21:00 +0200)]
patch 8.2.2936: Vim9: converting number to bool uses wrong stack offset

Problem:    Vim9: converting number to bool uses wrong stack offset. (Salman
            Halim)
Solution:   Include the offset in the 2BOOL command.

3 years agopatch 8.2.2935: calculating register width is not always needed v8.2.2935
Bram Moolenaar [Fri, 4 Jun 2021 17:17:07 +0000 (19:17 +0200)]
patch 8.2.2935: calculating register width is not always needed

Problem:    Calculating register width is not always needed. (Christian
            Brabandt)
Solution:   Only calculate the width when the type is MBLOCK.

3 years agopatch 8.2.2934: ASAN error when using text from the clipboard v8.2.2934
Bram Moolenaar [Fri, 4 Jun 2021 16:33:49 +0000 (18:33 +0200)]
patch 8.2.2934: ASAN error when using text from the clipboard

Problem:    ASAN error when using text from the clipboard.
Solution:   Get width of each character.

3 years agopatch 8.2.2933: when 'clipboard' is "unnamed" zp does not work correctly v8.2.2933
Bram Moolenaar [Fri, 4 Jun 2021 15:11:47 +0000 (17:11 +0200)]
patch 8.2.2933: when 'clipboard' is "unnamed" zp does not work correctly

Problem:    When 'clipboard' is "unnamed" zp and zP do not work correctly.
Solution:   Pass -1 to str_to_reg() and fix computing the character width
            instead of using the byte length. (Christian Brabandt,
            closes #8301, closes #8317)

3 years agopatch 8.2.2932: select mode test fails v8.2.2932
Bram Moolenaar [Thu, 3 Jun 2021 20:11:08 +0000 (22:11 +0200)]
patch 8.2.2932: select mode test fails

Problem:    Select mode test fails.
Solution:   Do not always reset the held mouse button.

3 years agopatch 8.2.2931: Vim9: line continuation comment uses legacy syntax v8.2.2931
Bram Moolenaar [Thu, 3 Jun 2021 19:56:10 +0000 (21:56 +0200)]
patch 8.2.2931: Vim9: line continuation comment uses legacy syntax

Problem:    Vim9: line continuation comment still uses legacy syntax in one
            place.
Solution:   Check for #\ instead of "\ earlier. (closes #8316)

3 years agopatch 8.2.2930: when a popup is visible a mouse move my restart Visual mode v8.2.2930
Bram Moolenaar [Thu, 3 Jun 2021 18:34:57 +0000 (20:34 +0200)]
patch 8.2.2930: when a popup is visible a mouse move my restart Visual mode

Problem:    When a popup is visible a mouse move my restart Visual mode.
Solution:   Reset held_button when ending Visual mode. (closes #8318)

3 years agopatch 8.2.2929: accidentally enable tcl by default v8.2.2929
Bram Moolenaar [Wed, 2 Jun 2021 17:22:45 +0000 (19:22 +0200)]
patch 8.2.2929: accidentally enable tcl by default

Problem:    Accidentally enable tcl by default.
Solution:   Revert change to Makefile

3 years agopatch 8.2.2928: the evalfunc.c file is too big v8.2.2928
Yegappan Lakshmanan [Wed, 2 Jun 2021 15:07:18 +0000 (17:07 +0200)]
patch 8.2.2928: the evalfunc.c file is too big

Problem:    The evalfunc.c file is too big.
Solution:   Move float related functionality to a separate file. (Yegappan
            Lakshmanan, closes #8287)

3 years agopatch 8.2.2927: test commented out because it fails with ASAN v8.2.2927
Bram Moolenaar [Wed, 2 Jun 2021 14:49:32 +0000 (16:49 +0200)]
patch 8.2.2927: test commented out because it fails with ASAN

Problem:    Test commented out because it fails with ASAN.
Solution:   Only skip the test when running with ASAN.

3 years agopatch 8.2.2926: Vim9: no good error for using :legacy in a :def function v8.2.2926
Bram Moolenaar [Wed, 2 Jun 2021 14:47:53 +0000 (16:47 +0200)]
patch 8.2.2926: Vim9: no good error for using :legacy in a :def function

Problem:    Vim9: no good error for using :legacy in a :def function.
Solution:   Give an explicit error where :legacy is not working.
            (closes #8309)

3 years agopatch 8.2.2925: Vim9: line continuation comment uses legacy syntax v8.2.2925
Bram Moolenaar [Wed, 2 Jun 2021 13:28:15 +0000 (15:28 +0200)]
patch 8.2.2925: Vim9: line continuation comment uses legacy syntax

Problem:    Vim9: line continuation comment uses legacy syntax.
Solution:   Check for #\ instead of "\. (closes #8295)

3 years agopatch 8.2.2924: superfluous extern declaration v8.2.2924
K.Takata [Wed, 2 Jun 2021 13:08:50 +0000 (15:08 +0200)]
patch 8.2.2924: superfluous extern declaration

Problem:    Superfluous extern declaration.
Solution:   Delete the declaration. (Ken Takata, closes #8307)

3 years agopatch 8.2.2923: EBCDIC build is broken v8.2.2923
K.Takata [Wed, 2 Jun 2021 12:56:39 +0000 (14:56 +0200)]
patch 8.2.2923: EBCDIC build is broken

Problem:    EBCDIC build is broken.
Solution:   Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)

3 years agopatch 8.2.2922: computing array length is done in various ways v8.2.2922
K.Takata [Wed, 2 Jun 2021 11:28:16 +0000 (13:28 +0200)]
patch 8.2.2922: computing array length is done in various ways

Problem:    Computing array length is done in various ways.
Solution:   Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)

3 years agopatch 8.2.2921: E704 for script local variable is not backwards compatible v8.2.2921
Bram Moolenaar [Wed, 2 Jun 2021 09:49:23 +0000 (11:49 +0200)]
patch 8.2.2921: E704 for script local variable is not backwards compatible

Problem:    E704 for script local variable is not backwards compatible.
            (Yasuhiro Matsumoto)
Solution:   Only give the error in Vim9 script.  Also check for function-local
            variable.

3 years agopatch 8.2.2920: still a way to shadow a builtin function v8.2.2920
Bram Moolenaar [Tue, 1 Jun 2021 19:21:55 +0000 (21:21 +0200)]
patch 8.2.2920: still a way to shadow a builtin function

Problem:    Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
Solution:   Check the key when using extend(). (issue #8302)

3 years agopatch 8.2.2919: using ":!command" does not work if it uses posix_spawn() v8.2.2919
Bram Moolenaar [Tue, 1 Jun 2021 18:48:40 +0000 (20:48 +0200)]
patch 8.2.2919: using ":!command" does not work if it uses posix_spawn()

Problem:    Using ":!command" does not work if the command uses posix_spawn().
Solution:   Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)

3 years agopatch 8.2.2918: builtin function can be shadowed by global variable v8.2.2918
Bram Moolenaar [Mon, 31 May 2021 20:15:26 +0000 (22:15 +0200)]
patch 8.2.2918: builtin function can be shadowed by global variable

Problem:    Builtin function can be shadowed by global variable.
Solution:   Check for builtin function before variable. (Yasuhiro Matsumoto,
            closes #8302)

3 years agopatch 8.2.2917: spellfile functionality not fully tested v8.2.2917
Dominique Pelle [Mon, 31 May 2021 18:04:07 +0000 (20:04 +0200)]
patch 8.2.2917: spellfile functionality not fully tested

Problem:    Spellfile functionality not fully tested.
Solution:   Add tests for SFX with removal of characters, spelling
            suggestions with NOBREAK and others. (Dominique Pellé,
            closes #8293)

3 years agopatch 8.2.2916: operators are not fully tested v8.2.2916
Yegappan Lakshmanan [Mon, 31 May 2021 17:23:01 +0000 (19:23 +0200)]
patch 8.2.2916: operators are not fully tested

Problem:    Operators are not fully tested.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #8290)

3 years agopatch 8.2.2915: MS-Windows: when using "default" for encoding utf-8 is used v8.2.2915
K.Takata [Mon, 31 May 2021 16:40:49 +0000 (18:40 +0200)]
patch 8.2.2915: MS-Windows: when using "default" for encoding utf-8 is used

Problem:    MS-Windows: when using "default" for encoding utf-8 is used.
Solution:   Use the system encoding. (Ken Takata, closes #8300)

3 years agopatch 8.2.2914: cannot paste a block without adding padding v8.2.2914
Christian Brabandt [Sun, 30 May 2021 20:17:25 +0000 (22:17 +0200)]
patch 8.2.2914: cannot paste a block without adding padding

Problem:    Cannot paste a block without adding padding.
Solution:   Add "zp" and "zP" which paste without adding padding. (Christian
            Brabandt, closes #8289)

3 years agoUpdate runtime files
Bram Moolenaar [Sun, 30 May 2021 18:54:13 +0000 (20:54 +0200)]
Update runtime files

3 years agopatch 8.2.2913: MS-Windows conpty supports using mouse events v8.2.2913
Wez Furlong [Sun, 30 May 2021 17:29:41 +0000 (19:29 +0200)]
patch 8.2.2913: MS-Windows conpty supports using mouse events

Problem:    MS-Windows conpty supports using mouse events.
Solution:   When enabling the mouse enable mouse input and disable quick edit
            mode. (Wez Furlong, closes #8280)

3 years agopatch 8.2.2912: MS-Windows: most users expect using Unicode v8.2.2912
K.Takata [Sun, 30 May 2021 16:04:19 +0000 (18:04 +0200)]
patch 8.2.2912: MS-Windows: most users expect using Unicode

Problem:    MS-Windows: most users expect using Unicode.
Solution:   Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
            closes #3907)

3 years agopatch 8.2.2911: pattern "\%V" does not match all of block selection v8.2.2911
Bram Moolenaar [Sun, 30 May 2021 14:43:11 +0000 (16:43 +0200)]
patch 8.2.2911: pattern "\%V" does not match all of block selection

Problem:    Pattern "\%V" does not match all of block selection. (Rick Howe)
Solution:   Use the value of vi_curswant. (closes #8285)

3 years agopatch 8.2.2910: test for cmdline window and terminal fails on MS-Windows v8.2.2910
Bram Moolenaar [Sun, 30 May 2021 12:21:57 +0000 (14:21 +0200)]
patch 8.2.2910: test for cmdline window and terminal fails on MS-Windows

Problem:    Test for cmdline window and terminal fails on MS-Windows.
Solution:   Skip the test on MS-Windows.

3 years agopatch 8.2.2909: build error with non-Unix system v8.2.2909
Bram Moolenaar [Sun, 30 May 2021 12:02:05 +0000 (14:02 +0200)]
patch 8.2.2909: build error with non-Unix system

Problem:    Build error with non-Unix system.
Solution:   Always include limits.h.

3 years agopatch 8.2.2908: crash when using a terminal popup window from cmdline window v8.2.2908
Bram Moolenaar [Sun, 30 May 2021 11:54:03 +0000 (13:54 +0200)]
patch 8.2.2908: crash when using a terminal popup window from cmdline window

Problem:    Crash when using a terminal popup window from the cmdline window.
Solution:   Instead of checking cmdwin_type call cmdwin_is_active().
            (closes #8286)

3 years agopatch 8.2.2907: memory leak when running out of memory v8.2.2907
Dominique Pelle [Sat, 29 May 2021 20:34:19 +0000 (22:34 +0200)]
patch 8.2.2907: memory leak when running out of memory

Problem:    Memory leak when running out of memory.
Solution:   Free the allocated memory. (Dominique Pellé, closes #8284)

3 years agopatch 8.2.2906: ASAN reports errors for test_startup v8.2.2906
Bram Moolenaar [Sat, 29 May 2021 20:25:17 +0000 (22:25 +0200)]
patch 8.2.2906: ASAN reports errors for test_startup

Problem:    ASAN reports errors for test_startup for unknown reasons.
Solution:   Temporarily disable the new test.

3 years agopatch 8.2.2905: no error when defaults.vim cannot be loaded v8.2.2905
Christian Brabandt [Sat, 29 May 2021 17:53:50 +0000 (19:53 +0200)]
patch 8.2.2905: no error when defaults.vim cannot be loaded

Problem:    No error when defaults.vim cannot be loaded.
Solution:   Add an error message. (Christian Brabandt, closes #8248)

3 years agopatch 8.2.2904: "g$" causes scroll if half a double width char is visible v8.2.2904
Bram Moolenaar [Sat, 29 May 2021 17:18:01 +0000 (19:18 +0200)]
patch 8.2.2904: "g$" causes scroll if half a double width char is visible

Problem:    "g$" causes scroll if half a double width char is visible.
Solution:   Advance to the last fully visible character. (closes #8254)

3 years agopatch 8.2.2903: cursor position wrong on wrapped line with 'signcolumn' v8.2.2903
Bram Moolenaar [Sat, 29 May 2021 15:56:37 +0000 (17:56 +0200)]
patch 8.2.2903: cursor position wrong on wrapped line with 'signcolumn'

Problem:    Cursor position wrong on wrapped line with 'signcolumn'.
Solution:   Don't add space for showbreak twice. (Christian Brabandt,
            closes #8262)

3 years agopatch 8.2.2902: spellfile functionality not fully tested v8.2.2902
Dominique Pelle [Sat, 29 May 2021 15:29:33 +0000 (17:29 +0200)]
patch 8.2.2902: spellfile functionality not fully tested

Problem:    Spellfile functionality not fully tested.
Solution:   Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
            closes #8283)

3 years agopatch 8.2.2901: some operators not fully tested v8.2.2901
Bram Moolenaar [Sat, 29 May 2021 14:30:12 +0000 (16:30 +0200)]
patch 8.2.2901: some operators not fully tested

Problem:    Some operators not fully tested.
Solution:   Add a few test cases. (Yegappan Lakshmanan, closes #8282)

3 years agopatch 8.2.2900: QuitPre is triggered before :wq writes the file v8.2.2900
Bram Moolenaar [Sat, 29 May 2021 12:30:43 +0000 (14:30 +0200)]
patch 8.2.2900: QuitPre is triggered before :wq writes the file

Problem:    QuitPre is triggered before :wq writes the file, which is
            different from other commands.
Solution:   Trigger QuitPre after writing the file. (closes #8279)

3 years agopatch 8.2.2899: Appveyor script does not detect nmake failure v8.2.2899
K.Takata [Sat, 29 May 2021 10:42:47 +0000 (12:42 +0200)]
patch 8.2.2899: Appveyor script does not detect nmake failure

Problem:    Appveyor script does not detect nmake failure.
Solution:   Explicitly check for executable. (Ken Takata, closes #8281)

3 years agopatch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed v8.2.2898
Bram Moolenaar [Sat, 29 May 2021 10:21:58 +0000 (12:21 +0200)]
patch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed

Problem:    QuitPre and ExitPre not triggered when GUI window is closed.
Solution:   Call before_quit_autocmds(). (closes #8242)

3 years agopatch 8.2.2897: Vim9: can use reserved words at the script level v8.2.2897
Bram Moolenaar [Fri, 28 May 2021 19:06:08 +0000 (21:06 +0200)]
patch 8.2.2897: Vim9: can use reserved words at the script level

Problem:    Vim9: can use reserved words at the script level.
Solution:   Check variable names for reserved words. (closes #8253)

3 years agopatch 8.2.2896: spellfile functionality not fully tested v8.2.2896
Dominique Pelle [Fri, 28 May 2021 16:32:12 +0000 (18:32 +0200)]
patch 8.2.2896: spellfile functionality not fully tested

Problem:    Spellfile functionality not fully tested.
Solution:   Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
            closes #8270)

3 years agopatch 8.2.2895: Vim9: random characters appear in some error messages v8.2.2895
mityu [Fri, 28 May 2021 15:52:40 +0000 (17:52 +0200)]
patch 8.2.2895: Vim9: random characters appear in some error messages

Problem:    Vim9: random characters appear in some error messages.
Solution:   Pass the correct pointer. (closes #8277)

3 years agopatch 8.2.2894: MS-Windows: using enc_locale() for strftime() might not work v8.2.2894
K.Takata [Fri, 28 May 2021 13:49:34 +0000 (15:49 +0200)]
patch 8.2.2894: MS-Windows: using enc_locale() for strftime() might not work

Problem:    MS-Windows: using enc_locale() for strftime() might not work.
Solution:   Use wcsftime(). (Ken Takata, closes #8271)

3 years agopatch 8.2.2893: multi-byte text in popup title shows up wrong v8.2.2893
Ralf Schandl [Fri, 28 May 2021 12:12:14 +0000 (14:12 +0200)]
patch 8.2.2893: multi-byte text in popup title shows up wrong

Problem:    Multi-byte text in popup title shows up wrong.
Solution:   Use the character width instead of the byte length. (Ralf Schandl,
            closes #8267, closes #8264)

3 years agopatch 8.2.2892: error message contains random characters v8.2.2892
mityu [Fri, 28 May 2021 11:50:17 +0000 (13:50 +0200)]
patch 8.2.2892: error message contains random characters

Problem:    Error message contains random characters.
Solution:   Pass the right pointer to error_white_both(). (closes #8272,
            closes #8263)

3 years agopatch 8.2.2891: cannot build with Perl 5.34 v8.2.2891
ichizok [Thu, 27 May 2021 16:05:14 +0000 (18:05 +0200)]
patch 8.2.2891: cannot build with Perl 5.34

Problem:    Cannot build with Perl 5.34.
Solution:   Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
            closes #8250)

3 years agopatch 8.2.2890: text property duplicated when data block splits v8.2.2890
Bram Moolenaar [Wed, 26 May 2021 20:32:10 +0000 (22:32 +0200)]
patch 8.2.2890: text property duplicated when data block splits

Problem:    Text property duplicated when data block splits.
Solution:   Do not continue text prop from previous line. (closes #8261)

3 years agopatch 8.2.2889: typo and verbose comment in Makefiles v8.2.2889
K.Takata [Wed, 26 May 2021 19:49:18 +0000 (21:49 +0200)]
patch 8.2.2889: typo and verbose comment in Makefiles

Problem:    Typo and verbose comment in Makefiles.
Solution:   Fix typo. Use @#. (Ken Takata, closes #8252)

3 years agopatch 8.2.2888: Vim9: "k" command recognized in Vim9 script v8.2.2888
Bram Moolenaar [Wed, 26 May 2021 19:10:11 +0000 (21:10 +0200)]
patch 8.2.2888: Vim9: "k" command recognized in Vim9 script

Problem:    Vim9: "k" command recognized in Vim9 script.
Solution:   Do not recognize "k" or "s" and "d" with flags.

3 years agopatch 8.2.2887: crash when passing null string to fullcommand() v8.2.2887
Bram Moolenaar [Wed, 26 May 2021 17:49:09 +0000 (19:49 +0200)]
patch 8.2.2887: crash when passing null string to fullcommand()

Problem:    Crash when passing null string to fullcommand().
Solution:   Check for NULL pointer. (closes #8256)

3 years agopatch 8.2.2886: various pieces of code not covered by tests v8.2.2886
Yegappan Lakshmanan [Tue, 25 May 2021 18:14:00 +0000 (20:14 +0200)]
patch 8.2.2886: 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 #8255)

3 years agopatch 8.2.2885: searching for \%'> does not match linewise end of line v8.2.2885
Bram Moolenaar [Mon, 24 May 2021 20:56:15 +0000 (22:56 +0200)]
patch 8.2.2885: searching for \%'> does not match linewise end of line

Problem:    searching for \%'> does not match linewise end of line. (Tim Chase)
Solution:   Match end of line if column is MAXCOL. (closes #8238)

3 years agopatch 8.2.2884: not enough cscope code is covered by tests v8.2.2884
Dominique Pelle [Mon, 24 May 2021 17:37:26 +0000 (19:37 +0200)]
patch 8.2.2884: not enough cscope code is covered by tests

Problem:    Not enough cscope code is covered by tests.
Solution:   Add a few test cases. (Dominique Pellé, closes #8246)

3 years agopatch 8.2.2883: MS-Windows manifest file name is misleading v8.2.2883
matveyt [Mon, 24 May 2021 16:48:27 +0000 (18:48 +0200)]
patch 8.2.2883: MS-Windows manifest file name is misleading

Problem:    MS-Windows manifest file name is misleading.
Solution:   Rename the file. (closes #8241)

3 years agopatch 8.2.2882: Vim9: memory leak when lambda has an error v8.2.2882
Bram Moolenaar [Mon, 24 May 2021 13:45:29 +0000 (15:45 +0200)]
patch 8.2.2882: Vim9: memory leak when lambda has an error

Problem:    Vim9: memory leak when lambda has an error.
Solution:   Free the list of argument types on failure.

3 years agopatch 8.2.2881: various pieces of code not covered by tests v8.2.2881
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)

3 years agopatch 8.2.2880: unified diff fails if actually used v8.2.2880
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)

3 years agopatch 8.2.2879: file extension .hsig not recognized v8.2.2879
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)

3 years agopatch 8.2.2878: Vim9: for loop list unpack only allows for one "_" v8.2.2878
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)

3 years agopatch 8.2.2877: insufficient tests for popup menu rightleft v8.2.2877
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)

3 years agopatch 8.2.2876: configure cannot detect Python 3.10 v8.2.2876
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)

3 years agopatch 8.2.2875: cancelling inputlist() after a digit does not return zero v8.2.2875
=?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)