]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3096: temp files remain after running tests v8.2.3096
Dominique Pelle [Sun, 4 Jul 2021 10:30:06 +0000 (12:30 +0200)]
patch 8.2.3096: temp files remain after running tests

Problem:    Temp files remain after running tests.
Solution:   Delete the right files. (Dominique Pellé, closes #8509)

3 years agopatch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong v8.2.3095
Bram Moolenaar [Sat, 3 Jul 2021 20:15:17 +0000 (22:15 +0200)]
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong

Problem:    With 'virtualedit' set to "block" block selection is wrong after
            using "$".  (Marco Trosi)
Solution:   Compute the longest selected line. (closes #8495)

3 years agopatch 8.2.3094: Test_popup_atcursor_pos() fails without the conceal feature v8.2.3094
Dominique Pelle [Sat, 3 Jul 2021 19:41:38 +0000 (21:41 +0200)]
patch 8.2.3094: Test_popup_atcursor_pos() fails without the conceal feature

Problem:    Test_popup_atcursor_pos() fails without the conceal feature.
Solution:   Add a check for the conceal feature. (Dominique Pellé,
            closes #8505)

3 years agopatch 8.2.3093: tablabel_tooltip test fails with Athena v8.2.3093
Bram Moolenaar [Sat, 3 Jul 2021 19:37:59 +0000 (21:37 +0200)]
patch 8.2.3093: tablabel_tooltip test fails with Athena

Problem:    tablabel_tooltip test fails with Athena. (Dominique Pellé)
Solution:   Skip the test when using Athena. (closes #8508)

3 years agopatch 8.2.3092: Vim9: builtin function test fails without +channel feature v8.2.3092
Dominique Pelle [Sat, 3 Jul 2021 17:27:37 +0000 (19:27 +0200)]
patch 8.2.3092: Vim9: builtin function test fails without +channel feature

Problem:    Vim9: builtin function test fails without the +channel feature.
Solution:   Check the +channel feature is supported. (Dominique Pellé,
            closes #8507)

3 years agopatch 8.2.3091: Vim9: default argument expr. cannot use previous argument v8.2.3091
Bram Moolenaar [Sat, 3 Jul 2021 16:56:53 +0000 (18:56 +0200)]
patch 8.2.3091: Vim9: default argument expr. cannot use previous argument

Problem:    Vim9: default argument expression cannot use previous argument
Solution:   Correct argument index. (closes #8496)

3 years agopatch 8.2.3090: in rare cases the cursor may be somewhere in a folded line v8.2.3090
Bram Moolenaar [Sat, 3 Jul 2021 16:04:11 +0000 (18:04 +0200)]
patch 8.2.3090: in rare cases the cursor may be somewhere in a folded line

Problem:    With concealing enabled and indirectly closing a fold the cursor
            may be somewhere in a folded line.
Solution:   Recompute the cursor position when the cursor line can be
            concealed. (closes #8480)

3 years agopatch 8.2.3089: garbage collection has useless code v8.2.3089
Bram Moolenaar [Sat, 3 Jul 2021 14:33:16 +0000 (16:33 +0200)]
patch 8.2.3089: garbage collection has useless code

Problem:    Garbage collection has useless code.
Solution:   Bail out when aborting. (closes #8504)

3 years agopatch 8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrong v8.2.3088
Bram Moolenaar [Sat, 3 Jul 2021 13:08:37 +0000 (15:08 +0200)]
patch 8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrong

Problem:    With 'virtualedit' set to "block" Visual highlight is wrong after
            using "$".  (Marco Trosi)
Solution:   Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)

3 years agopatch 8.2.3087: Gemtext files are not recognized v8.2.3087
Bram Moolenaar [Sat, 3 Jul 2021 11:51:44 +0000 (13:51 +0200)]
patch 8.2.3087: Gemtext files are not recognized

Problem:    Gemtext files are not recognized.
Solution:   Recognize .gmi and .gemini files. (closes #8427)

3 years agopatch 8.2.3086: Vim9: breakpoint on "for" does not work v8.2.3086
Bram Moolenaar [Sat, 3 Jul 2021 11:36:31 +0000 (13:36 +0200)]
patch 8.2.3086: Vim9: breakpoint on "for" does not work

Problem:    Vim9: breakpoint on "for" does not work.
Solution:   Use the right line number in ISN_DEBUG. (closes #8486)

3 years agopatch 8.2.3085: JSONC files are not recognized v8.2.3085
Izhak Jakov [Sat, 3 Jul 2021 11:09:37 +0000 (13:09 +0200)]
patch 8.2.3085: JSONC files are not recognized

Problem:    JSONC files are not recognized.
Solution:   Recognize .jsonc files. (Izhak Jakov, closes #8500)

3 years agopatch 8.2.3084: Vim9: builtin function argument types are not checked v8.2.3084
Yegappan Lakshmanan [Sat, 3 Jul 2021 09:58:12 +0000 (11:58 +0200)]
patch 8.2.3084: Vim9: builtin function argument types are not checked

Problem:    Vim9: builtin function argument types are not checked at compile
            time.
Solution:   Add argument types. (Yegappan Lakshmanan, closes #8503)

3 years agopatch 8.2.3083: crash when passing null string to charclass() v8.2.3083
Christian Brabandt [Fri, 2 Jul 2021 18:19:31 +0000 (20:19 +0200)]
patch 8.2.3083: crash when passing null string to charclass()

Problem:    Crash when passing null string to charclass().
Solution:   Bail out when string pointer is NULL. (Christian Brabandt,
            closes #8498, closes #8260)

3 years agopatch 8.2.3082: a channel command "echoerr" does not show anything v8.2.3082
Bram Moolenaar [Thu, 1 Jul 2021 20:11:28 +0000 (22:11 +0200)]
patch 8.2.3082: a channel command "echoerr" does not show anything

Problem:    A channel command "echoerr" does not show anything.
Solution:   Do not use silent errors when using an "echoerr" command.
            (closes #8494)

3 years agopatch 8.2.3081: cannot catch errors in a channel command v8.2.3081
Alisue [Wed, 30 Jun 2021 20:01:02 +0000 (22:01 +0200)]
patch 8.2.3081: cannot catch errors in a channel command

Problem:    Cannot catch errors in a channel command.
Solution:   Instead of skipping the error make it silent. (closes #8477)

3 years agopatch 8.2.3080: recover test fails on 32bit systems v8.2.3080
Yegappan Lakshmanan [Wed, 30 Jun 2021 19:30:10 +0000 (21:30 +0200)]
patch 8.2.3080: recover test fails on 32bit systems

Problem:    Recover test fails on 32bit systems. (Ondřej Súkup)
Solution:   Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
            closes #8479)

3 years agopatch 8.2.3079: Powershell core not supported by default v8.2.3079
Mike Williams [Wed, 30 Jun 2021 18:56:00 +0000 (20:56 +0200)]
patch 8.2.3079: Powershell core not supported by default

Problem:    Powershell core not supported by default.
Solution:   Set option defaults for "pwsh". (Mike Williams, closes #8481)

3 years agopatch 8.2.3078: Vim9: profile test fails v8.2.3078
Bram Moolenaar [Wed, 30 Jun 2021 18:39:15 +0000 (20:39 +0200)]
patch 8.2.3078: Vim9: profile test fails

Problem:    Vim9: profile test fails.
Solution:   Make throw in :catch jump to :finally.

3 years agopatch 8.2.3077: Vim9: an error in a catch block is not reported v8.2.3077
Bram Moolenaar [Wed, 30 Jun 2021 17:54:43 +0000 (19:54 +0200)]
patch 8.2.3077: Vim9: an error in a catch block is not reported

Problem:    Vim9: an error in a catch block is not reported.
Solution:   Put the "in catch" flag in the try stack. (closes #8478)

3 years agopatch 8.2.3076: Vim9: using try in catch block causes a hang v8.2.3076
Bram Moolenaar [Wed, 30 Jun 2021 10:02:24 +0000 (12:02 +0200)]
patch 8.2.3076: Vim9: using try in catch block causes a hang

Problem:    Vim9: using try in catch block causes a hang.
Solution:   Save and restore the ec_in_catch flag. (closes #8478)

3 years agopatch 8.2.3075: xxd always reports an old version string v8.2.3075
=?UTF-8?q?J=C3=BCrgen=20Weigert?= [Tue, 29 Jun 2021 18:36:25 +0000 (20:36 +0200)]
patch 8.2.3075: xxd always reports an old version string

Problem:    Xxd always reports an old version string. (Åsmund Ervik)
Solution:   Update the version string with the last known change date.
            (Jürgen Weigert, closes #8475)

3 years agopatch 8.2.3074: popup_atcursor() uses wrong position with concealing v8.2.3074
Bram Moolenaar [Tue, 29 Jun 2021 18:22:32 +0000 (20:22 +0200)]
patch 8.2.3074: popup_atcursor() uses wrong position with concealing

Problem:    popup_atcursor() uses wrong position with concealing.
Solution:   Keep w_wcol in conceal_check_cursor_line(). (closes #8476)

3 years agopatch 8.2.3073: when cursor is move for block append wrong text is inserted v8.2.3073
Bram Moolenaar [Tue, 29 Jun 2021 16:54:35 +0000 (18:54 +0200)]
patch 8.2.3073: when cursor is move for block append wrong text is inserted

Problem:    When cursor is move for block append wrong text is inserted.
Solution:   Calculate an offset. (Christian Brabandt, closes #8433,
            closes #8288)

3 years agopatch 8.2.3072: "zy" does not work well when "virtualedit' is "block" v8.2.3072
Bram Moolenaar [Mon, 28 Jun 2021 19:54:27 +0000 (21:54 +0200)]
patch 8.2.3072: "zy" does not work well when "virtualedit' is "block"

Problem:    The "zy" command does not work well when 'virtualedit' is set to
            "block". (Johann Höchtl)
Solution:   Make endspaces zero. (Christian Brabandt, closes #8468,
            closes #8448)

3 years agopatch 8.2.3071: shell options are not set properly for PowerShell v8.2.3071
Mike Williams [Mon, 28 Jun 2021 18:53:58 +0000 (20:53 +0200)]
patch 8.2.3071: shell options are not set properly for PowerShell

Problem:    Shell options are not set properly for PowerShell.
Solution:   Use better option defaults. (Mike Willams, closes #8459)

3 years agopatch 8.2.3070: not enough testing for shell use v8.2.3070
Yegappan Lakshmanan [Sun, 27 Jun 2021 20:09:59 +0000 (22:09 +0200)]
patch 8.2.3070: not enough testing for shell use

Problem:    Not enough testing for shell use.
Solution:   Add a bit more testing. (Yegappan Lakshmanan, closes #8469)

3 years agopatch 8.2.3069: error messages are spread out v8.2.3069
Bram Moolenaar [Sun, 27 Jun 2021 20:03:33 +0000 (22:03 +0200)]
patch 8.2.3069: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move some error messages to errors.h.  Use clearer names.

3 years agopatch 8.2.3068: Unicode tables are slightly outdated v8.2.3068
Christian Brabandt [Sun, 27 Jun 2021 19:30:14 +0000 (21:30 +0200)]
patch 8.2.3068: Unicode tables are slightly outdated

Problem:    Unicode tables are slightly outdated.
Solution:   Update the tables for Unicode release 13. (Christian Brabandt
            closes #8430)

3 years agopatch 8.2.3067: building fails with Athena v8.2.3067
Bram Moolenaar [Sun, 27 Jun 2021 17:02:52 +0000 (19:02 +0200)]
patch 8.2.3067: building fails with Athena

Problem:    Building fails with Athena. (Elimar Riesebieter)
Solution:   Adjust #ifdefs and add the 'drop_file' feature.

3 years agopatch 8.2.3066: Vim9: debugging lambda does not work v8.2.3066
Bram Moolenaar [Sun, 27 Jun 2021 14:29:53 +0000 (16:29 +0200)]
patch 8.2.3066: Vim9: debugging lambda does not work

Problem:    Vim9: debugging lambda does not work.
Solution:   Use the compile type of the function when compiling a lambda.
            (closes #8412)

3 years agopatch 8.2.3065: Vim9: error when sourcing script twice and reusing function v8.2.3065
Bram Moolenaar [Sun, 27 Jun 2021 13:35:40 +0000 (15:35 +0200)]
patch 8.2.3065: Vim9: error when sourcing script twice and reusing function

Problem:    Vim9: error when sourcing script twice and reusing a function
            name.
Solution:   Check if the function is dead. (closes #8463)

3 years agoUpdate runtime files
Bram Moolenaar [Sun, 27 Jun 2021 13:18:56 +0000 (15:18 +0200)]
Update runtime files

3 years agopatch 8.2.3064: Vim9: in script cannot set item in uninitialized list v8.2.3064
Bram Moolenaar [Sun, 27 Jun 2021 13:04:05 +0000 (15:04 +0200)]
patch 8.2.3064: Vim9: in script cannot set item in uninitialized list

Problem:    Vim9: in script cannot set item in uninitialized list.
Solution:   When a list is NULL allocate an empty one. (closes #8461)

3 years agopatch 8.2.3063: crash when switching 'cryptmethod' to xchaha20 with undo file v8.2.3063
Bram Moolenaar [Sun, 27 Jun 2021 12:08:24 +0000 (14:08 +0200)]
patch 8.2.3063: crash when switching 'cryptmethod' to xchaha20 with undo file

Problem:    Crash when switching 'cryptmethod' to xchaha20 with an existing
            undo file. (Martin Tournoij)
Solution:   Disable reading undo file when decoding can't be done inplace.
            (issue #8467)

3 years agopatch 8.2.3062: internal error when adding several text properties v8.2.3062
Bram Moolenaar [Sun, 27 Jun 2021 11:04:00 +0000 (13:04 +0200)]
patch 8.2.3062: internal error when adding several text properties

Problem:    Internal error when adding several text properties.
Solution:   Do not handle text properties when deleting a line for splitting a
            data block. (closes #8466)

3 years agopatch 8.2.3061: testing the shell option is incomplete and spread out v8.2.3061
Yegappan Lakshmanan [Sun, 27 Jun 2021 10:07:49 +0000 (12:07 +0200)]
patch 8.2.3061: testing the shell option is incomplete and spread out

Problem:    Testing the shell option is incomplete and spread out.
Solution:   Move shell tests to one file and increase coverage. (Yegappan
            Lakshmanan, closes #8464)

3 years agopatch 8.2.3060: Vim9: cannot use ternary operator in parenthesis v8.2.3060
Bram Moolenaar [Sat, 26 Jun 2021 20:22:38 +0000 (22:22 +0200)]
patch 8.2.3060: Vim9: cannot use ternary operator in parenthesis

Problem:    Vim9: cannot use ternary operator in parenthesis.
Solution:   Do not use "=~" for a default argument value.  (closes #8462)

3 years agopatch 8.2.3059: Vim9: memory leak when using lambda v8.2.3059
Bram Moolenaar [Sat, 26 Jun 2021 20:17:35 +0000 (22:17 +0200)]
patch 8.2.3059: Vim9: memory leak when using lambda

Problem:    Vim9: memory leak when using lambda.
Solution:   Do not store the default value strings when skipping.

3 years agopatch 8.2.3058: Vim9: cannot use ternary operator in parenthesis v8.2.3058
Bram Moolenaar [Sat, 26 Jun 2021 19:52:02 +0000 (21:52 +0200)]
patch 8.2.3058: Vim9: cannot use ternary operator in parenthesis

Problem:    Vim9: cannot use ternary operator in parenthesis.
Solution:   Do not use "==" for a default argument value.  (closes #8462)

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().