]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3119: compiler warning for unused argument v8.2.3119
Bram Moolenaar [Wed, 7 Jul 2021 20:13:08 +0000 (22:13 +0200)]
patch 8.2.3119: compiler warning for unused argument

Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.

3 years agopatch 8.2.3118: Vim9: "any" type not handled correctly in for loop v8.2.3118
Bram Moolenaar [Wed, 7 Jul 2021 19:55:25 +0000 (21:55 +0200)]
patch 8.2.3118: Vim9: "any" type not handled correctly in for loop

Problem:    Vim9: "any" type not handled correctly in for loop.
Solution:   Change compile time check into runtime check. (closes #8516)

3 years agopatch 8.2.3117: Vim9: type not properly checked in for loop v8.2.3117
Bram Moolenaar [Wed, 7 Jul 2021 19:21:30 +0000 (21:21 +0200)]
patch 8.2.3117: Vim9: type not properly checked in for loop

Problem:    Vim9: type not properly checked in for loop.
Solution:   Have items() return a list of lists.  Add runtime type checks.
            (closes #8515)

3 years agoUpdate runtime files
Bram Moolenaar [Wed, 7 Jul 2021 18:26:08 +0000 (20:26 +0200)]
Update runtime files

3 years agopatch 8.2.3116: Vim9: crash when debugging a function with line continuation v8.2.3116
Bram Moolenaar [Wed, 7 Jul 2021 18:10:43 +0000 (20:10 +0200)]
patch 8.2.3116: Vim9: crash when debugging a function with line continuation

Problem:    Vim9: crash when debugging a function with line continuation.
Solution:   Check for a NULL pointer. (closes #8521)

3 years agopatch 8.2.3115: Coverity complains about free_wininfo() use v8.2.3115
Bram Moolenaar [Wed, 7 Jul 2021 17:26:19 +0000 (19:26 +0200)]
patch 8.2.3115: Coverity complains about free_wininfo() use

Problem:    Coverity complains about free_wininfo() use.
Solution:   Add a condition that "wip2" is not equal to "wip". (Neovim #14996)

3 years agopatch 8.2.3114: Amiga-like systems: build error using stat() v8.2.3114
=?UTF-8?q?Ola=20S=C3=B6der?= [Tue, 6 Jul 2021 18:15:46 +0000 (20:15 +0200)]
patch 8.2.3114: Amiga-like systems: build error using stat()

Problem:    Amiga-like systems: build error using stat().
Solution:   Only build swapfile_process_running() on systems where it is
            actually used. (Ola Söder, closes #8519)

3 years agopatch 8.2.3113: no error when for loop variable shadows script variable v8.2.3113
Bram Moolenaar [Mon, 5 Jul 2021 20:23:00 +0000 (22:23 +0200)]
patch 8.2.3113: no error when for loop variable shadows script variable

Problem:    No error when for loop variable shadows script variable.
Solution:   Check for the error. (closes #8512)

3 years agopatch 8.2.3112: in rare cases the cursor may be somewhere in a folded line v8.2.3112
Bram Moolenaar [Mon, 5 Jul 2021 20:03:04 +0000 (22:03 +0200)]
patch 8.2.3112: 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 when it is not on the first line
            of the fold.
Solution:   Check if he cursor is somewhere in the folded text.

3 years agopatch 8.2.3111: Vim9: confusing error with extra whitespace before colon v8.2.3111
Bram Moolenaar [Mon, 5 Jul 2021 19:41:48 +0000 (21:41 +0200)]
patch 8.2.3111: Vim9: confusing error with extra whitespace before colon

Problem:    Vim9: confusing error with extra whitespace before colon.
Solution:   Check for colon after white space. (closes #8513)

3 years agopatch 8.2.3110: a pattern that matches the cursor position is complicated v8.2.3110
Bram Moolenaar [Mon, 5 Jul 2021 18:15:23 +0000 (20:15 +0200)]
patch 8.2.3110: a pattern that matches the cursor position is complicated

Problem:    A pattern that matches the cursor position is bit complicated.
Solution:   Use a dot to indicate the cursor line and column. (Christian
            Brabandt, closes #8497, closes #8179)

3 years agopatch 8.2.3109: check for $DISPLAY never fails v8.2.3109
Bram Moolenaar [Mon, 5 Jul 2021 15:49:02 +0000 (17:49 +0200)]
patch 8.2.3109: check for $DISPLAY never fails

Problem:    Check for $DISPLAY never fails.
Solution:   Use eval().

3 years agopatch 8.2.3108: test for remote_foreground() fails v8.2.3108
Bram Moolenaar [Mon, 5 Jul 2021 12:10:04 +0000 (14:10 +0200)]
patch 8.2.3108: test for remote_foreground() fails

Problem:    Test for remote_foreground() fails. (Elimar Riesebieter)
Solution:   Check that $DISPLAY is set. (Christian Brabandt)

3 years agopatch 8.2.3107: Vim9: error for arguments while type didn't specify arguments v8.2.3107
Bram Moolenaar [Sun, 4 Jul 2021 21:29:30 +0000 (23:29 +0200)]
patch 8.2.3107: Vim9: error for arguments while type didn't specify arguments

Problem:    Vim9: error for arguments while type didn't specify arguments.
Solution:   Do not update that type to check when no argument count is
            specified. (closes #8492)

3 years agopatch 8.2.3106: Vim9: confusing line number reported for error v8.2.3106
Bram Moolenaar [Sun, 4 Jul 2021 20:48:12 +0000 (22:48 +0200)]
patch 8.2.3106: Vim9: confusing line number reported for error

Problem:    Vim9: confusing line number reported for error.
Solution:   Use the start line number for the store instruction.
            (closes #8488)

3 years agopatch 8.2.3105: Vim9: type of partial is wrong when it has arguments v8.2.3105
Bram Moolenaar [Sun, 4 Jul 2021 18:20:52 +0000 (20:20 +0200)]
patch 8.2.3105: Vim9: type of partial is wrong when it has arguments

Problem:    Vim9: type of partial is wrong when it has arguments.
Solution:   Subtract arguments from the count. (issue #8492)

3 years agopatch 8.2.3104: Vim9: unspecified function type causes type error v8.2.3104
Bram Moolenaar [Sun, 4 Jul 2021 16:28:15 +0000 (18:28 +0200)]
patch 8.2.3104: Vim9: unspecified function type causes type error

Problem:    Vim9: unspecified function type causes type error.
Solution:   Don't check type when min_argcount is negative. (issue #8492)

3 years agopatch 8.2.3103: swap test may fail on some systems v8.2.3103
Bram Moolenaar [Sun, 4 Jul 2021 15:36:54 +0000 (17:36 +0200)]
patch 8.2.3103: swap test may fail on some systems

Problem:    Swap test may fail on some systems when jobs take longer to exit.
Solution:   Use different file names.

3 years agopatch 8.2.3102: test for crash fix does not fail without the fix v8.2.3102
Bram Moolenaar [Sun, 4 Jul 2021 15:23:25 +0000 (17:23 +0200)]
patch 8.2.3102: test for crash fix does not fail without the fix

Problem:    Test for crash fix does not fail without the fix.
Solution:   Adjust the test sequence. (closes #8506)

3 years agopatch 8.2.3101: missing function prototype for vim_round()
Bram Moolenaar [Sun, 4 Jul 2021 15:21:04 +0000 (17:21 +0200)]
patch 8.2.3101: missing function prototype for vim_round()

Problem:    Missing function prototype for vim_round().
Solution:   Add the prototype

3 years agopatch 8.2.3101: missing function prototype for vim_round() v8.2.3101
Bram Moolenaar [Sun, 4 Jul 2021 14:50:55 +0000 (16:50 +0200)]
patch 8.2.3101: missing function prototype for vim_round()

Problem:    Missing function prototype for vim_round().
Solution:   Add the prototype.

3 years agopatch 8.2.3100: Vim9: no error when using type with unknown number of args v8.2.3100
Bram Moolenaar [Sun, 4 Jul 2021 13:54:08 +0000 (15:54 +0200)]
patch 8.2.3100: Vim9: no error when using type with unknown number of args

Problem:    Vim9: no error when using type with unknown number of arguments.
Solution:   Do not ignore argument count of -1. (closes #8492)

3 years agopatch 8.2.3099: Vim9: missing catch/finally not reported at script level v8.2.3099
Bram Moolenaar [Sun, 4 Jul 2021 12:47:30 +0000 (14:47 +0200)]
patch 8.2.3099: Vim9: missing catch/finally not reported at script level

Problem:    Vim9: missing catch/finally not reported at script level.
Solution:   Give an error. (closes #8487)

3 years agopatch 8.2.3098: popup window test is flaky on MS-Windows with GUI v8.2.3098
Bram Moolenaar [Sun, 4 Jul 2021 12:00:55 +0000 (14:00 +0200)]
patch 8.2.3098: popup window test is flaky on MS-Windows with GUI

Problem:    Popup window test is flaky on MS-Windows with GUI.
Solution:   Skip the check in this situation.

3 years agopatch 8.2.3097: crash when using "quit" at recovery prompt v8.2.3097
Bram Moolenaar [Sun, 4 Jul 2021 11:27:11 +0000 (13:27 +0200)]
patch 8.2.3097: crash when using "quit" at recovery prompt

Problem:    Crash when using "quit" at recovery prompt and autocommands are
            triggered.
Solution:   Block autocommands when creating an empty buffer to use as the
            current buffer. (closes #8506)

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.