]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3018: 'quickfixtextfunc' formatting is lost when switching buffers v8.2.3018
Yegappan Lakshmanan [Sat, 19 Jun 2021 16:22:53 +0000 (18:22 +0200)]
patch 8.2.3018: 'quickfixtextfunc' formatting is lost when switching buffers

Problem:    Formatting using quickfixtextfunc is lost when updating location
            lists for different buffers.  (Yorick Peterse)
Solution:   Use the right window for the locaiton list. (Yegappan Lakshmanan,
            closes #8400, closes #8403)

3 years agopatch 8.2.3017: Vim9: debugger shows too many lines v8.2.3017
Bram Moolenaar [Thu, 17 Jun 2021 20:27:48 +0000 (22:27 +0200)]
patch 8.2.3017: Vim9: debugger shows too many lines

Problem:    Vim9: debugger shows too many lines.
Solution:   Truncate at a comment, "enddef", etc. (closes #8392)

3 years agopatch 8.2.3016: confusing error when expression is followed by comma v8.2.3016
Bram Moolenaar [Thu, 17 Jun 2021 20:08:30 +0000 (22:08 +0200)]
patch 8.2.3016: confusing error when expression is followed by comma

Problem:    Confusing error when expression is followed by comma.
Solution:   Give a different error for trailing text. (closes #8395)

3 years agopatch 8.2.3015: Vim9: Assigning to @# requires a string v8.2.3015
Bram Moolenaar [Thu, 17 Jun 2021 19:03:07 +0000 (21:03 +0200)]
patch 8.2.3015: Vim9: Assigning to @# requires a string

Problem:    Vim9: Assigning to @# requires a string. (Naohiro Ono)
Solution:   Accent a number or a string. (closes #8396)

3 years agopatch 8.2.3014: Coverity warns for freeing static string v8.2.3014
Dominique Pelle [Thu, 17 Jun 2021 11:53:41 +0000 (13:53 +0200)]
patch 8.2.3014: Coverity warns for freeing static string

Problem:    Coverity warns for freeing static string.
Solution:   Do not assign static string to pointer. (Dominique Pellé,
            closes #8397)

3 years agopatch 8.2.3013: Vim: when debugging only first line of command is displayed v8.2.3013
Bram Moolenaar [Wed, 16 Jun 2021 20:24:40 +0000 (22:24 +0200)]
patch 8.2.3013: Vim: when debugging only first line of command is displayed

Problem:    Vim: when debugging only the first line of a command using line
            continuation is displayed.
Solution:   Find the next command and concatenate lines until that one.
            (closes #8392)

3 years agopatch 8.2.3012: when 'rightleft' is set the line number is drawn reversed v8.2.3012
Christian Brabandt [Wed, 16 Jun 2021 17:28:34 +0000 (19:28 +0200)]
patch 8.2.3012: when 'rightleft' is set the line number is drawn reversed

Problem:    When 'rightleft' is set the line number is sometimes drawn
            reversed.
Solution:   Adjust how space is handled. (Christian Brabandt, closes #8389,
            closes #8391)

3 years agopatch 8.2.3011: Vim9: cannot get argument values during debugging v8.2.3011
Bram Moolenaar [Wed, 16 Jun 2021 17:19:55 +0000 (19:19 +0200)]
patch 8.2.3011: Vim9: cannot get argument values during debugging

Problem:    Vim9: cannot get argument values during debugging.
Solution:   Lookup names in the list of arguments.  Put debug instruction
            halfway for command.

3 years agopatch 8.2.3010: not enough testing for viminfo code v8.2.3010
Yegappan Lakshmanan [Wed, 16 Jun 2021 13:53:17 +0000 (15:53 +0200)]
patch 8.2.3010: not enough testing for viminfo code

Problem:    Not enough testing for viminfo code.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #8390)

3 years agopatch 8.2.3009: startup test may hang v8.2.3009
Bram Moolenaar [Wed, 16 Jun 2021 08:59:36 +0000 (10:59 +0200)]
patch 8.2.3009: startup test may hang

Problem:    Startup test may hang.
Solution:   Do not run the test in the GUI.

3 years agopatch 8.2.3008: startup test may hang v8.2.3008
Bram Moolenaar [Tue, 15 Jun 2021 21:05:59 +0000 (23:05 +0200)]
patch 8.2.3008: startup test may hang

Problem:    Startup test may hang.
Solution:   Add quit command in the script.

3 years agopatch 8.2.3007: Vim9: test for void value fails v8.2.3007
Bram Moolenaar [Tue, 15 Jun 2021 20:54:28 +0000 (22:54 +0200)]
patch 8.2.3007: Vim9: test for void value fails

Problem:    Vim9: test for void value fails.
Solution:   Adjust expected error.  Do not make a copy of void.

3 years agopatch 8.2.3006: crash when echoing a value very early v8.2.3006
Bram Moolenaar [Tue, 15 Jun 2021 20:39:11 +0000 (22:39 +0200)]
patch 8.2.3006: crash when echoing a value very early

Problem:    Crash when echoing a value very early. (Naruhiko Nishino)
Solution:   Do not use a NUL to truncate the message, make a copy.
            (closes #8388)

3 years agopatch 8.2.3005: Vim9: using a void value does not give a proper error message v8.2.3005
Bram Moolenaar [Tue, 15 Jun 2021 20:13:27 +0000 (22:13 +0200)]
patch 8.2.3005: Vim9: using a void value does not give a proper error message

Problem:    Vim9: using a void value does not give a proper error message.
Solution:   Give a clear error message. (clodes #8387)

3 years agopatch 8.2.3004: Vim9: error for missing colon given while skipping v8.2.3004
Bram Moolenaar [Tue, 15 Jun 2021 18:06:34 +0000 (20:06 +0200)]
patch 8.2.3004: Vim9: error for missing colon given while skipping

Problem:    Vim9: error for missing colon given while skipping.
Solution:   Do not give the error when skipping. (closes #8385)

3 years agopatch 8.2.3003: Vim9: closure compiled with wrong compile type v8.2.3003
Bram Moolenaar [Tue, 15 Jun 2021 17:32:40 +0000 (19:32 +0200)]
patch 8.2.3003: Vim9: closure compiled with wrong compile type

Problem:    Vim9: closure compiled with wrong compile type.
Solution:   Use COMPILE_TYPE() when calling a function. (closes #8384)

3 years agopatch 8.2.3002: Vim doesn't abort on a fatal Tcl error v8.2.3002
Dominique Pelle [Tue, 15 Jun 2021 17:09:43 +0000 (19:09 +0200)]
patch 8.2.3002: Vim doesn't abort on a fatal Tcl error

Problem:    Vim doesn't abort on a fatal Tcl error.
Solution:   Change emsg() to iemsg(). (Dominique Pellé, closes #8383)

3 years agopatch 8.2.3001: Vim9: memory leak when compilation fails v8.2.3001
Bram Moolenaar [Tue, 15 Jun 2021 09:27:21 +0000 (11:27 +0200)]
patch 8.2.3001: Vim9: memory leak when compilation fails

Problem:    Vim9: memory leak when compilation fails.
Solution:   Free the list of variable names.

3 years agopatch 8.2.3000: Vim9: warning for uninitialized variable v8.2.3000
Bram Moolenaar [Tue, 15 Jun 2021 08:22:17 +0000 (10:22 +0200)]
patch 8.2.3000: Vim9: warning for uninitialized variable

Problem:    Vim9: warning for uninitialized variable.
Solution:   Add initialization. (John Marriott)

3 years agopatch 8.2.2999: balloon sometimes does not hide with GTK 3 v8.2.2999
Bram Moolenaar [Mon, 14 Jun 2021 20:08:46 +0000 (22:08 +0200)]
patch 8.2.2999: balloon sometimes does not hide with GTK 3

Problem:    Balloon sometimes does not hide with GTK 3.
Solution:   Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)

3 years agopatch 8.2.2998: Vim9: disassemble test fails v8.2.2998
Bram Moolenaar [Mon, 14 Jun 2021 19:32:21 +0000 (21:32 +0200)]
patch 8.2.2998: Vim9: disassemble test fails

Problem:    Vim9: disassemble test fails.
Solution:   Add missing call to lookup_debug_var().

3 years agopatch 8.2.2997: Vim9: disassemble test fails v8.2.2997
Bram Moolenaar [Mon, 14 Jun 2021 19:08:56 +0000 (21:08 +0200)]
patch 8.2.2997: Vim9: disassemble test fails

Problem:    Vim9: disassemble test fails.
Solution:   Adjust expected output.

3 years agopatch 8.2.2996: Vim9: when debugging cannot inspect local variables v8.2.2996
Bram Moolenaar [Mon, 14 Jun 2021 18:40:37 +0000 (20:40 +0200)]
patch 8.2.2996: Vim9: when debugging cannot inspect local variables

Problem:    Vim9: when debugging cannot inspect local variables.
Solution:   Make local variables available when debugging.

3 years agopatch 8.2.2995: linker errors with dynamic Python 3.10 v8.2.2995
Zdenek Dohnal [Mon, 14 Jun 2021 13:08:30 +0000 (15:08 +0200)]
patch 8.2.2995: linker errors with dynamic Python 3.10

Problem:    Linker errors with dynamic Python 3.10.
Solution:   Add a couple of library entries. (Zdenek Dohnal, closes #8381,
            closes #8356)

3 years agopatch 8.2.2994: various code is not fully tested v8.2.2994
Yegappan Lakshmanan [Sun, 13 Jun 2021 19:52:48 +0000 (21:52 +0200)]
patch 8.2.2994: various code is not fully tested

Problem:    Various code is not fully tested.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #8378)

3 years agopatch 8.2.2993: 'fileencodings' default value should depend on 'encoding' v8.2.2993
Bram Moolenaar [Sun, 13 Jun 2021 18:27:36 +0000 (20:27 +0200)]
patch 8.2.2993: 'fileencodings' default value should depend on 'encoding'

Problem:    'fileencodings' default value should depend on 'encoding'. (Gary
            Johnson)
Solution:   When 'encoding' is "utf-8" use a different default value for
            'fileencodings'.

3 years agoUpdate runtime files
Bram Moolenaar [Sun, 13 Jun 2021 17:02:49 +0000 (19:02 +0200)]
Update runtime files

3 years agopatch 8.2.2992: Vim9: completion for :disassemble is incomplete v8.2.2992
Bram Moolenaar [Sun, 13 Jun 2021 16:38:48 +0000 (18:38 +0200)]
patch 8.2.2992: Vim9: completion for :disassemble is incomplete

Problem:    Vim9: completion for :disassemble is incomplete.
Solution:   Recognize the "debug" and "profile" arguments.

3 years agopatch 8.2.2991: Vim9: no completion for :vim9 and :legacy v8.2.2991
Bram Moolenaar [Sun, 13 Jun 2021 15:20:08 +0000 (17:20 +0200)]
patch 8.2.2991: Vim9: no completion for :vim9 and :legacy

Problem:    Vim9: no completion for :vim9 and :legacy.
Solution:   Expand argument as a command. (closes #8377)

3 years agopatch 8.2.2990: Jupyter Notebook files are not recognized v8.2.2990
kompowiec2 [Sun, 13 Jun 2021 15:03:06 +0000 (17:03 +0200)]
patch 8.2.2990: Jupyter Notebook files are not recognized

Problem:    Jupyter Notebook files are not recognized.
Solution:   Recognize *.ipynb. (closes #8375)

3 years agopatch 8.2.2989: Vim9: memory leak when debugging a :def function v8.2.2989
Bram Moolenaar [Sun, 13 Jun 2021 13:39:00 +0000 (15:39 +0200)]
patch 8.2.2989: Vim9: memory leak when debugging a :def function

Problem:    Vim9: memory leak when debugging a :def function.
Solution:   Free the debug instructions.

3 years agopatch 8.2.2988: Vim9: debugger test fails v8.2.2988
Bram Moolenaar [Sun, 13 Jun 2021 13:16:01 +0000 (15:16 +0200)]
patch 8.2.2988: Vim9: debugger test fails

Problem:    Vim9: debugger test fails.
Solution:   Get the debugger instructions when needed.

3 years agopatch 8.2.2987: build failure with normal features v8.2.2987
Bram Moolenaar [Sun, 13 Jun 2021 12:33:20 +0000 (14:33 +0200)]
patch 8.2.2987: build failure with normal features

Problem:    Build failure with normal features.
Solution:   Remove #define.

3 years agopatch 8.2.2986: build failure without the profile feature v8.2.2986
Bram Moolenaar [Sun, 13 Jun 2021 12:15:29 +0000 (14:15 +0200)]
patch 8.2.2986: build failure without the profile feature

Problem:    Build failure without the profile feature.
Solution:   Add #ifdef.

3 years agopatch 8.2.2985: Vim9: a compiled function cannot be debugged v8.2.2985
Bram Moolenaar [Sun, 13 Jun 2021 12:01:26 +0000 (14:01 +0200)]
patch 8.2.2985: Vim9: a compiled function cannot be debugged

Problem:    Vim9: a compiled function cannot be debugged.
Solution:   Add initial debugging support.

3 years agopatch 8.2.2984: Vim9: test fails because of missing return statement v8.2.2984
Bram Moolenaar [Sat, 12 Jun 2021 16:30:56 +0000 (18:30 +0200)]
patch 8.2.2984: Vim9: test fails because of missing return statement

Problem:    Vim9: Test fails because of missing return statement.
Solution:   When type is unknown set type to void.

3 years agoAdd links to discussion forums.
Bram Moolenaar [Sat, 12 Jun 2021 14:12:16 +0000 (16:12 +0200)]
Add links to discussion forums.

3 years agopatch 8.2.2983: Vim9: an inline function requires specifying the return type v8.2.2983
Bram Moolenaar [Sat, 12 Jun 2021 13:58:16 +0000 (15:58 +0200)]
patch 8.2.2983: Vim9: an inline function requires specifying the return type

Problem:    Vim9: an inline function requires specifying the return type.
Solution:   Make the return type optional.

3 years agopatch 8.2.2982: Vim9: future commands are not reserved yet v8.2.2982
Bram Moolenaar [Sat, 12 Jun 2021 12:53:05 +0000 (14:53 +0200)]
patch 8.2.2982: Vim9: future commands are not reserved yet

Problem:    Vim9: future commands are not reserved yet.
Solution:   Add commands to be implemented later.  Make "this" a reserved
            name.

3 years agopatch 8.2.2981: recovery test is not run on big-endian systems v8.2.2981
James McCoy [Sat, 12 Jun 2021 12:05:41 +0000 (14:05 +0200)]
patch 8.2.2981: recovery test is not run on big-endian systems

Problem:    Recovery test is not run on big-endian systems.
Solution:   Make it work on big-endian systems. (James McCoy, closes #8368)

3 years agopatch 8.2.2980: popup window test is a bit flaky v8.2.2980
Bram Moolenaar [Sat, 12 Jun 2021 11:59:03 +0000 (13:59 +0200)]
patch 8.2.2980: popup window test is a bit flaky

Problem:    Popup window test is a bit flaky.
Solution:   Add a redraw command.

3 years agopatch 8.2.2979: not all options code is covered by tests v8.2.2979
Yegappan Lakshmanan [Sat, 12 Jun 2021 11:46:41 +0000 (13:46 +0200)]
patch 8.2.2979: not all options code is covered by tests

Problem:    Not all options code is covered by tests.
Solution:   Add more tests for options. (Yegappan Lakshmanan, closes #8369)

3 years agopatch 8.2.2978: warning for uninitialized variable v8.2.2978
Bram Moolenaar [Sat, 12 Jun 2021 10:33:48 +0000 (12:33 +0200)]
patch 8.2.2978: warning for uninitialized variable

Problem:    Warning for uninitialized variable.
Solution:   Set return value to FAIL.

3 years agopatch 8.2.2977: crash when using a null function reference v8.2.2977
Bram Moolenaar [Sat, 12 Jun 2021 10:16:55 +0000 (12:16 +0200)]
patch 8.2.2977: crash when using a null function reference

Problem:    Crash when using a null function reference. (Naohiro Ono)
Solution:   Check for an invalid function name. (closes #8367)

3 years agopatch 8.2.2976: build failure without the +eval feature v8.2.2976
Bram Moolenaar [Fri, 11 Jun 2021 20:21:24 +0000 (22:21 +0200)]
patch 8.2.2976: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add #ifdefs.

3 years agopatch 8.2.2975: Vim9: can only use an autoload function name as a string v8.2.2975
Bram Moolenaar [Fri, 11 Jun 2021 20:05:47 +0000 (22:05 +0200)]
patch 8.2.2975: Vim9: can only use an autoload function name as a string

Problem:    Vim9: can only use an autoload function name as a string.
Solution:   Load the autoload script when encountered. (closes #8124)

3 years agopatch 8.2.2974: Greek spell checking uses wrong case folding v8.2.2974
Bram Moolenaar [Fri, 11 Jun 2021 17:07:40 +0000 (19:07 +0200)]
patch 8.2.2974: Greek spell checking uses wrong case folding

Problem:    Greek spell checking uses wrong case folding.
Solution:   Fold capital sigma depending on whether it is at the end of a
            word or not. (closes #299)

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.