]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3057: Vim9: debugger test fails with normal features and +terminal v8.2.3057
Bram Moolenaar [Sat, 26 Jun 2021 19:21:03 +0000 (21:21 +0200)]
patch 8.2.3057: Vim9: debugger test fails with normal features and +terminal

Problem:    Vim9: debugger test fails with normal features and +terminal.
            (Dominique Pellé)
Solution:   Adjust the INSTRUCTIONS macro. (closes #8460)

3 years agopatch 8.2.3056: Vim9: using default value in lambda gives confusing error v8.2.3056
Bram Moolenaar [Sat, 26 Jun 2021 17:25:49 +0000 (19:25 +0200)]
patch 8.2.3056: Vim9: using default value in lambda gives confusing error

Problem:    Vim9: using default value in lambda gives confusing error.
Solution:   Pass "default_args" on the first pass to get the arguments.
            (closes #8455)

3 years agopatch 8.2.3055: strange error for assigning to "x.key" on non-dictionary v8.2.3055
Bram Moolenaar [Sat, 26 Jun 2021 13:00:59 +0000 (15:00 +0200)]
patch 8.2.3055: strange error for assigning to "x.key" on non-dictionary

Problem:    Strange error for assigning to "x.key" on non-dictionary.
Solution:   Add a specific error message. (closes #8451)

3 years agopatch 8.2.3054: Vim9: unpack assignment using "_" after semicolon fails v8.2.3054
Bram Moolenaar [Sat, 26 Jun 2021 11:59:29 +0000 (13:59 +0200)]
patch 8.2.3054: Vim9: unpack assignment using "_" after semicolon fails

Problem:    Vim9: unpack assignment using "_" after semicolon fails.
Solution:   Drop the expression result. (closes #8453)

3 years agopatch 8.2.3053: Vim9: cannot assign to @@ in :def function v8.2.3053
Bram Moolenaar [Sat, 26 Jun 2021 11:28:35 +0000 (13:28 +0200)]
patch 8.2.3053: Vim9: cannot assign to @@ in :def function

Problem:    Vim9: cannot assign to @@ in :def function
Solution:   Handle '@' like '"'.

3 years agopatch 8.2.3052: Vim9: "legacy call" does not work v8.2.3052
Bram Moolenaar [Sat, 26 Jun 2021 11:00:49 +0000 (13:00 +0200)]
patch 8.2.3052: Vim9: "legacy call" does not work

Problem:    Vim9: "legacy call" does not work.
Solution:   Do not skip "call" after "legacy". (closes #8454)

3 years agopatch 8.2.3051: Vim9: for loop with one list variable does not work v8.2.3051
Bram Moolenaar [Sat, 26 Jun 2021 10:40:56 +0000 (12:40 +0200)]
patch 8.2.3051: Vim9: for loop with one list variable does not work

Problem:    Vim9: for loop with one list variable does not work.
Solution:   Use a separate flag for unpacking a list. (closes #8452)

3 years agopatch 8.2.3050: cannot recognize elixir files v8.2.3050
Austin Gatlin [Sat, 26 Jun 2021 10:02:55 +0000 (12:02 +0200)]
patch 8.2.3050: cannot recognize elixir files

Problem:    Cannot recognize elixir files.
Solution:   Recognize Elixir-specific files.  Check if an .ex file is Euphoria
            or Elixir. (Austin Gatlin, closes #8401, closes #8446)

3 years agopatch 8.2.3049: JSON patch file not recognized v8.2.3049
Kevin Locke [Fri, 25 Jun 2021 19:54:25 +0000 (21:54 +0200)]
patch 8.2.3049: JSON patch file not recognized

Problem:    JSON patch file not recognized.
Solution:   Recognize json-patch as json. (Kevin Locke, closes #8450)

3 years agopatch 8.2.3048: strange error for white space after ++ command v8.2.3048
Bram Moolenaar [Fri, 25 Jun 2021 19:31:09 +0000 (21:31 +0200)]
patch 8.2.3048: strange error for white space after ++ command

Problem:    Strange error for white space after ++ command.
Solution:   Check for white space explicitly. (closes #8440)

3 years agopatch 8.2.3047: increment and decrement don't allow for next command v8.2.3047
Bram Moolenaar [Fri, 25 Jun 2021 17:29:30 +0000 (19:29 +0200)]
patch 8.2.3047: increment and decrement don't allow for next command

Problem:    Increment and decrement don't allow for next command.
Solution:   Allow for comment and next command. (closes #8442)

3 years agopatch 8.2.3046: Amiga MorphOS: Term mode is set using DOS packets v8.2.3046
ola.soder@axis.com [Thu, 24 Jun 2021 19:43:31 +0000 (21:43 +0200)]
patch 8.2.3046: Amiga MorphOS: Term mode is set using DOS packets

Problem:    Amiga MorphOS: Term mode is set using DOS packets.
Solution:   Use the same way of setting term mdoe on all next gen Amiga-like
            systems.  (Ola Söder, closes #8445)

3 years agopatch 8.2.3045: minor typos v8.2.3045
Christian Brabandt [Thu, 24 Jun 2021 17:55:27 +0000 (19:55 +0200)]
patch 8.2.3045: minor typos

Problem:    Minor typos.
Solution:   Fix the typos. (Christian Brabandt, closes #8441)

3 years agopatch 8.2.3044: Amiga MorphOS and AROS: process ID is not valid v8.2.3044
ola.soder@axis.com [Thu, 24 Jun 2021 16:50:30 +0000 (18:50 +0200)]
patch 8.2.3044: Amiga MorphOS and AROS: process ID is not valid

Problem:    Amiga MorphOS and AROS: process ID is not valid.
Solution:   Use FindTask to return something which is unique to all processes.
            (Ola Söder, closes #8444)

3 years agopatch 8.2.3043: Amiga: cannot get the shell size on MorphOS and AROS v8.2.3043
ola.soder@axis.com [Wed, 23 Jun 2021 20:05:27 +0000 (22:05 +0200)]
patch 8.2.3043: Amiga: cannot get the shell size on MorphOS and AROS

Problem:    Amiga: cannot get the shell size on MorphOS and AROS.
Solution:   Use control sequences. (Ola Söder, closes #8438)

3 years agopatch 8.2.3042: swap file test fails v8.2.3042
Bram Moolenaar [Wed, 23 Jun 2021 19:44:06 +0000 (21:44 +0200)]
patch 8.2.3042: swap file test fails

Problem:    Swap file test fails.
Solution:   Check for a very high process ID instead of one, which should be
            running.

3 years agopatch 8.2.3041: detecting if the process of a swap file is running fails v8.2.3041
Bram Moolenaar [Wed, 23 Jun 2021 19:13:20 +0000 (21:13 +0200)]
patch 8.2.3041: detecting if the process of a swap file is running fails

Problem:    Detecting if the process of a swap file is running fails if the
            process is owned by another user.
Solution:   Check for the ESRCH error. (closes #8436)

3 years agopatch 8.2.3040: GUI: dropping files not tested v8.2.3040
Yegappan Lakshmanan [Wed, 23 Jun 2021 18:46:52 +0000 (20:46 +0200)]
patch 8.2.3040: GUI: dropping files not tested

Problem:    GUI: dropping files not tested.
Solution:   Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
            closes #8434)

3 years agopatch 8.2.3039: Vim9: breakpoint at a comment line does not work v8.2.3039
Bram Moolenaar [Wed, 23 Jun 2021 18:20:53 +0000 (20:20 +0200)]
patch 8.2.3039: Vim9: breakpoint at a comment line does not work

Problem:    Vim9: breakpoint at a comment line does not work.
Solution:   Add the comment line number to the debug instruction.
            (closes #8429)

3 years agopatch 8.2.3038: Amiga built-in version string doesn't include build date v8.2.3038
ola.soder@axis.com [Wed, 23 Jun 2021 13:52:46 +0000 (15:52 +0200)]
patch 8.2.3038: Amiga built-in version string doesn't include build date

Problem:    Amiga built-in version string doesn't include build date.
Solution:   Add the build date if available. (Ola Söder, closes #8437)

3 years agopatch 8.2.3037: configure reports libcanberra when checking for libsodium v8.2.3037
ichizok [Wed, 23 Jun 2021 13:41:52 +0000 (15:41 +0200)]
patch 8.2.3037: configure reports libcanberra when checking for libsodium

Problem:    Configure reports libcanberra when checking for libsodium.
Solution:   Adjust the message. (Ozaki Kiichi, closes #8435)

3 years agopatch 8.2.3036: Vim9: builtin function arguments not checked at compile time v8.2.3036
Yegappan Lakshmanan [Tue, 22 Jun 2021 17:52:27 +0000 (19:52 +0200)]
patch 8.2.3036: Vim9: builtin function arguments not checked at compile time

Problem:    Vim9: builtin function arguments not checked at compile time.
Solution:   Add more argument type specs. Check arguments to test_setmouse()
            and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)

3 years agopatch 8.2.3035: Vim9: crash when calling :def function with partial v8.2.3035
Bram Moolenaar [Tue, 22 Jun 2021 17:32:17 +0000 (19:32 +0200)]
patch 8.2.3035: Vim9: crash when calling :def function with partial

Problem:    Vim9: crash when calling :def function with partial and return
            type is not set.
Solution:   When the return type is not set handle like the return type is
            unknown. (closes #8422)

3 years agopatch 8.2.3034: installing packages on github CI sometimes fails v8.2.3034
Christian Brabandt [Tue, 22 Jun 2021 16:21:19 +0000 (18:21 +0200)]
patch 8.2.3034: installing packages on github CI sometimes fails

Problem:    Installing packages on github CI sometimes fails.
Solution:   Update package information first. (Christian Brabandt,
            closes #8432)

3 years agopatch 8.2.3033: no error when using alpha delimiter with :global v8.2.3033
Bram Moolenaar [Mon, 21 Jun 2021 19:55:18 +0000 (21:55 +0200)]
patch 8.2.3033: no error when using alpha delimiter with :global

Problem:    No error when using alpha delimiter with :global.
Solution:   Check the delimiter like with :substitute. (closes #8415)

3 years agopatch 8.2.3032: build problems with MSVC, other crypt issues with libsodium v8.2.3032
Christian Brabandt [Mon, 21 Jun 2021 19:08:08 +0000 (21:08 +0200)]
patch 8.2.3032: build problems with MSVC, other crypt issues with libsodium

Problem:    Build problems with MSVC, other crypt issues with libsodium.
Solution:   Adjust MSVC makefile. Disable swap file only when 'key' is set.
            Adjust error message used when key is wrong.  Fix Coverity issues.
            (Christian Brabandt, closes #8420, closes #8411)

3 years agopatch 8.2.3031: no error if a function name starts with an underscore v8.2.3031
Bram Moolenaar [Mon, 21 Jun 2021 18:48:58 +0000 (20:48 +0200)]
patch 8.2.3031: no error if a function name starts with an underscore

Problem:    No error if a function name starts with an underscore. (Naohiro
            Ono)
Solution:   In Vim9 script disallow a function name starting with an
            underscore, as is mentioned in the help. (closes #8414)

3 years agopatch 8.2.3030: Coverity reports a memory leak v8.2.3030
Dominique Pelle [Mon, 21 Jun 2021 18:15:37 +0000 (20:15 +0200)]
patch 8.2.3030: Coverity reports a memory leak

Problem:    Coverity reports a memory leak.
Solution:   Fix the leak and a few typos. (Dominique Pellé, closes #8418)

3 years agopatch 8.2.3029: Vim9: crash when using operator and list unpack assignment v8.2.3029
Bram Moolenaar [Mon, 21 Jun 2021 17:44:11 +0000 (19:44 +0200)]
patch 8.2.3029: Vim9: crash when using operator and list unpack assignment

Problem:    Vim9: crash when using operator and list unpack assignment.
            (Naohiro Ono)
Solution:   Get variable value before operation. (closes #8416)

3 years agopatch 8.2.3028: GUI mouse events not tested v8.2.3028
Yegappan Lakshmanan [Mon, 21 Jun 2021 16:44:26 +0000 (18:44 +0200)]
patch 8.2.3028: GUI mouse events not tested

Problem:    GUI mouse events not tested.
Solution:   Add test_gui_mouse_event().  Add mouse tests. Also add a few
            viminfo tests. (Yegappan Lakshmanan, closes #8407)

3 years agopatch 8.2.3027: Vim9: breakpoint in compiled function not always checked v8.2.3027
Bram Moolenaar [Sun, 20 Jun 2021 18:09:42 +0000 (20:09 +0200)]
patch 8.2.3027: Vim9: breakpoint in compiled function not always checked

Problem:    Vim9: breakpoint in compiled function not always checked.
Solution:   Check for breakpoint when calling compiled function from compiled
            function.

3 years agopatch 8.2.3026: Vim9: cannot set breakpoint in compiled function v8.2.3026
Bram Moolenaar [Sun, 20 Jun 2021 17:28:14 +0000 (19:28 +0200)]
patch 8.2.3026: Vim9: cannot set breakpoint in compiled function

Problem:    Vim9: cannot set breakpoint in compiled function.
Solution:   Check for breakpoint when calling a function.

3 years agopatch 8.2.3025: not enough tests for quickfix end_col and end_lnum v8.2.3025
shane.xb.qian [Sun, 20 Jun 2021 14:31:00 +0000 (16:31 +0200)]
patch 8.2.3025: not enough tests for quickfix end_col and end_lnum

Problem:    Not enough tests for quickfix end_col and end_lnum.
Solution:   Add a few more test cases. (Shane-XB-Qian, closes #8409)

3 years agopatch 8.2.3024: execute() function test fails v8.2.3024
Bram Moolenaar [Sun, 20 Jun 2021 13:03:15 +0000 (15:03 +0200)]
patch 8.2.3024: execute() function test fails

Problem:    execute() function test fails.
Solution:   Adjust test for different error.

3 years agopatch 8.2.3023: Vim9: arguments for execute() not checked at compile time v8.2.3023
Bram Moolenaar [Sun, 20 Jun 2021 12:41:01 +0000 (14:41 +0200)]
patch 8.2.3023: Vim9: arguments for execute() not checked at compile time

Problem:    Vim9: arguments for execute() not checked at compile time.
Solution:   Add a function to check the argument types.

3 years agopatch 8.2.3022: available encryption methods are not strong enough v8.2.3022
Christian Brabandt [Sun, 20 Jun 2021 12:02:16 +0000 (14:02 +0200)]
patch 8.2.3022: available encryption methods are not strong enough

Problem:    Available encryption methods are not strong enough.
Solution:   Add initial support for xchaha20. (Christian Brabandt,
            closes #8394)

3 years agopatch 8.2.3021: spaces allowed between option name and "!", "?", etc. v8.2.3021
Bram Moolenaar [Sun, 20 Jun 2021 10:40:08 +0000 (12:40 +0200)]
patch 8.2.3021: spaces allowed between option name and "!", "?", etc.

Problem:    Spaces allowed between option name and "!", "?", etc.
Solution:   Disallow spaces in Vim9 script, it was not documented.
            (closes #8408)

3 years agopatch 8.2.3020: unreachable code v8.2.3020
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 19 Jun 2021 19:38:25 +0000 (21:38 +0200)]
patch 8.2.3020: unreachable code

Problem:    Unreachable code.
Solution:   Remove the code. (closes #8406)

3 years agopatch 8.2.3019: location list only has the start position. v8.2.3019
thinca [Sat, 19 Jun 2021 18:45:20 +0000 (20:45 +0200)]
patch 8.2.3019: location list only has the start position.

Problem:    Location list only has the start position.
Solution:   Make it possible to add an end position. (Shane-XB-Qian,
            closes #8393)

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)