]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3875: gcc complains about buffer overrun v8.2.3875
Bram Moolenaar [Wed, 22 Dec 2021 20:29:09 +0000 (20:29 +0000)]
patch 8.2.3875: gcc complains about buffer overrun

Problem:    gcc complains about buffer overrun.
Solution:   Use mch_memmove() instead of STRCPY(). (John Marriott)

3 years agopatch 8.2.3874: cannot highlight the number column for a sign v8.2.3874
James McCoy [Wed, 22 Dec 2021 19:45:28 +0000 (19:45 +0000)]
patch 8.2.3874: cannot highlight the number column for a sign

Problem:    Cannot highlight the number column for a sign.
Solution:   Add the "numhl" argument. (James McCoy, closes #9381)

3 years agopatch 8.2.3873: go.mod files are not recognized v8.2.3873
Bram Moolenaar [Wed, 22 Dec 2021 19:19:08 +0000 (19:19 +0000)]
patch 8.2.3873: go.mod files are not recognized

Problem:    go.mod files are not recognized.
Solution:   Check for the file name. (closes #9380)

3 years agopatch 8.2.3872: Vim9: finddir() and uniq() return types can be more specific v8.2.3872
Bram Moolenaar [Wed, 22 Dec 2021 18:45:37 +0000 (18:45 +0000)]
patch 8.2.3872: Vim9: finddir() and uniq() return types can be more specific

Problem:    Vim9: finddir() and uniq() return types can be more specific.
Solution:   Adjust the return type.

3 years agopatch 8.2.3871: list.c contains code for dict and blob v8.2.3871
Yegappan Lakshmanan [Wed, 22 Dec 2021 18:19:26 +0000 (18:19 +0000)]
patch 8.2.3871: list.c contains code for dict and blob

Problem:    List.c contains code for dict and blob.
Solution:   Refactor to put code where it belongs. (Yegappan Lakshmanan,
            closes #9386)

3 years agopatch 8.2.3870: MS-Windows: wrong dir when using right-click context menu v8.2.3870
Nir Lichtman [Wed, 22 Dec 2021 15:21:15 +0000 (15:21 +0000)]
patch 8.2.3870: MS-Windows: wrong dir when using right-click context menu

Problem:    MS-Windows: wrong working directory when opening two files with
            right-click context menu. (Gabriel Dupras)
Solution:   Use the working directory and pass it on to the process creation.
            (Nir Lichtman, closes #9382, closes #8874)

3 years agopatch 8.2.3869: Vim9: type checking for "any" is inconsistent v8.2.3869
Bram Moolenaar [Wed, 22 Dec 2021 13:18:39 +0000 (13:18 +0000)]
patch 8.2.3869: Vim9: type checking for "any" is inconsistent

Problem:    Vim9: type checking for "any" is inconsistent.
Solution:   Always use a runtime type check for using "any" for a more
            specific type.

3 years agopatch 8.2.3868: Vim9: function test fails v8.2.3868
Bram Moolenaar [Tue, 21 Dec 2021 13:30:42 +0000 (13:30 +0000)]
patch 8.2.3868: Vim9: function test fails

Problem:    Vim9: function test fails.
Solution:   Add missing changes.  Add test for earlier patch.

3 years agopatch 8.2.3867: implementation of some list functions too complicated v8.2.3867
Yegappan Lakshmanan [Tue, 21 Dec 2021 13:19:42 +0000 (13:19 +0000)]
patch 8.2.3867: implementation of some list functions too complicated

Problem:    Implementation of some list functions too complicated.
Solution:   Refactor do_sort_uniq(), f_count() and extend() (Yegappan
            Lakshmanan, closes #9378)

3 years agopatch 8.2.3866: Vim9: type checking global variables is inconsistent v8.2.3866
Bram Moolenaar [Tue, 21 Dec 2021 12:32:17 +0000 (12:32 +0000)]
patch 8.2.3866: Vim9: type checking global variables is inconsistent

Problem:    Vim9: type checking global variables is inconsistent.
Solution:   Use the "unknown" type in more places.

3 years agopatch 8.2.3865: Vim9: compiler complains about using "try" as a struct member v8.2.3865
Bram Moolenaar [Tue, 21 Dec 2021 09:42:09 +0000 (09:42 +0000)]
patch 8.2.3865: Vim9: compiler complains about using "try" as a struct member

Problem:    Vim9: compiler complains about using "try" as a struct member.
Solution:   Rename "try" to "tryref".

3 years agopatch 8.2.3864: cannot disable requesting key codes from xterm v8.2.3864
Bram Moolenaar [Tue, 21 Dec 2021 09:12:23 +0000 (09:12 +0000)]
patch 8.2.3864: cannot disable requesting key codes from xterm

Problem:    Cannot disable requesting key codes from xterm.
Solution:   Add the 'xtermcodes' option, default on.

3 years agopatch 8.2.3863: various build flags accidentally enabled v8.2.3863
Bram Moolenaar [Mon, 20 Dec 2021 22:12:53 +0000 (22:12 +0000)]
patch 8.2.3863: various build flags accidentally enabled

Problem:    Various build flags accidentally enabled.
Solution:   Revert several lines in Makefile.

3 years agopatch 8.2.3862: crash on exit with EXITFREE and using win_execute() v8.2.3862
Bram Moolenaar [Mon, 20 Dec 2021 21:35:59 +0000 (21:35 +0000)]
patch 8.2.3862: crash on exit with EXITFREE and using win_execute()

Problem:    Crash on exit with EXITFREE and using win_execute().
Solution:   Also save and restore tp_topframe. (issue #9374)

3 years agopatch 8.2.3861: list of distributed files is outdated v8.2.3861
Bram Moolenaar [Mon, 20 Dec 2021 15:53:13 +0000 (15:53 +0000)]
patch 8.2.3861: list of distributed files is outdated

Problem:    List of distributed files is outdated.
Solution:   Add new files.

3 years agopatch 8.2.3860: Vim9: codecov struggles with the file size v8.2.3860
Bram Moolenaar [Mon, 20 Dec 2021 15:04:29 +0000 (15:04 +0000)]
patch 8.2.3860: Vim9: codecov struggles with the file size

Problem:    Vim9: codecov struggles with the file size.
Solution:   Split vim9compile.c into four files.

3 years agopatch 8.2.3859: Vim9: some code lines not tested v8.2.3859
Bram Moolenaar [Mon, 20 Dec 2021 12:25:03 +0000 (12:25 +0000)]
patch 8.2.3859: Vim9: some code lines not tested

Problem:    Vim9: some code lines not tested.
Solution:   Add a few specific tests.

3 years agopatch 8.2.3858: Vim9: not enough tests v8.2.3858
Bram Moolenaar [Mon, 20 Dec 2021 10:55:35 +0000 (10:55 +0000)]
patch 8.2.3858: Vim9: not enough tests

Problem:    Vim9: not enough tests.
Solution:   Add tests for :try/:catch and :redir. Add missing type check.

3 years agopatch 8.2.3857: Vim9: inconsistent error for using function() v8.2.3857
Bram Moolenaar [Mon, 20 Dec 2021 09:36:27 +0000 (09:36 +0000)]
patch 8.2.3857: Vim9: inconsistent error for using function()

Problem:    Vim9: inconsistent error for using function().
Solution:   Use a runtime type check for the result of function().
            (closes #8492)

3 years agopatch 8.2.3856: Vim9: not enough tests v8.2.3856
Bram Moolenaar [Sun, 19 Dec 2021 21:34:05 +0000 (21:34 +0000)]
patch 8.2.3856: Vim9: not enough tests

Problem:    Vim9: not enough tests.
Solution:   Run more expression tests also with Vim9. Fix an uncovered
            problem.

3 years agopatch 8.2.3855: illegal memory access when displaying a blob v8.2.3855
Yegappan Lakshmanan [Sun, 19 Dec 2021 19:19:31 +0000 (19:19 +0000)]
patch 8.2.3855: illegal memory access when displaying a blob

Problem:    Illegal memory access when displaying a blob.
Solution:   Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)

3 years agopatch 8.2.3854: Vim9: inconsistent arguments for test functions v8.2.3854
Bram Moolenaar [Sun, 19 Dec 2021 18:33:23 +0000 (18:33 +0000)]
patch 8.2.3854: Vim9: inconsistent arguments for test functions

Problem:    Vim9: inconsistent arguments for test functions.
Solution:   When :def function and script have different arguments use a list
            with two items instead of a separate function.

3 years agopatch 8.2.3853: Vim9: not enough tests v8.2.3853
Bram Moolenaar [Sun, 19 Dec 2021 17:27:06 +0000 (17:27 +0000)]
patch 8.2.3853: Vim9: not enough tests

Problem:    Vim9: not enough tests.
Solution:   Run more existing tests for Vim9 script.

3 years agopatch 8.2.3852: Vim9: not enough tests v8.2.3852
Bram Moolenaar [Sun, 19 Dec 2021 15:17:21 +0000 (15:17 +0000)]
patch 8.2.3852: Vim9: not enough tests

Problem:    Vim9: not enough tests.
Solution:   Also run existing tests for Vim9 script.  Make errors more
            consistent.

3 years agopatch 8.2.3851: Vim9: overhead when comparing string, dict or function v8.2.3851
Bram Moolenaar [Sun, 19 Dec 2021 12:33:05 +0000 (12:33 +0000)]
patch 8.2.3851: Vim9: overhead when comparing string, dict or function

Problem:    Vim9: overhead when comparing string, dict or function.
Solution:   Call the intented compare function directly.  Refactor to avoid
            duplicated code.

3 years agopatch 8.2.3850: illegal memory access when displaying a partial v8.2.3850
Bram Moolenaar [Sun, 19 Dec 2021 11:06:35 +0000 (11:06 +0000)]
patch 8.2.3850: illegal memory access when displaying a partial

Problem:    Illegal memory access when displaying a partial.
Solution:   Terminate the string with a NUL. (closes #9371)

3 years agopatch 8.2.3849: functions implementing reduce and map are too long v8.2.3849
Yegappan Lakshmanan [Sun, 19 Dec 2021 10:35:15 +0000 (10:35 +0000)]
patch 8.2.3849: functions implementing reduce and map are too long

Problem:    Functions implementing reduce and map are too long.
Solution:   Use a function for each type of value.  Add a few more test cases
            and add to the help. (Yegappan Lakshmanan, closes #9370)

3 years agopatch 8.2.3848: cannot use reduce() for a string v8.2.3848
rbtnn [Sat, 18 Dec 2021 18:33:46 +0000 (18:33 +0000)]
patch 8.2.3848: cannot use reduce() for a string

Problem:    Cannot use reduce() for a string.
Solution:   Make reduce() work with a string. (Naruhiko Nishino, closes #9366)

3 years agopatch 8.2.3847: illegal memory access when using a lambda with an error v8.2.3847
Bram Moolenaar [Sat, 18 Dec 2021 16:54:31 +0000 (16:54 +0000)]
patch 8.2.3847: illegal memory access when using a lambda with an error

Problem:    Illegal memory access when using a lambda with an error.
Solution:   Avoid skipping over the NUL after a string.

3 years agopatch 8.2.3846: no error when using control character for 'lcs' or 'fcs' v8.2.3846
zeertzjq [Sat, 18 Dec 2021 15:32:46 +0000 (15:32 +0000)]
patch 8.2.3846: no error when using control character for 'lcs' or 'fcs'

Problem:    No error when using control character for 'lcs' or 'fcs'.
Solution:   Use char2cells() to check the width. (closes #9369)

3 years agopatch 8.2.3845: Vim9: test fails when the channel feature is missing v8.2.3845
Dominique Pelle [Sat, 18 Dec 2021 12:40:52 +0000 (12:40 +0000)]
patch 8.2.3845: Vim9: test fails when the channel feature is missing

Problem:    Vim9: test fails when the channel feature is missing.
Solution:   Check for the channel feature. (Dominique PellĂ©, closes #9368)

3 years agopatch 8.2.3844: Vim9: no type error if assigning func(number) to func(string) v8.2.3844
Bram Moolenaar [Sat, 18 Dec 2021 12:31:33 +0000 (12:31 +0000)]
patch 8.2.3844: Vim9: no type error if assigning func(number) to func(string)

Problem:    Vim9: no type error if assigning a value with type func(number) to
            a variable of type func(string).
Solution:   Use check_type_maybe(): return MAYBE if a runtime type check is
            useful.  (issue #8492)

3 years agopatch 8.2.3843: dep3patch files are not recognized v8.2.3843
James McCoy [Fri, 17 Dec 2021 20:52:57 +0000 (20:52 +0000)]
patch 8.2.3843: dep3patch files are not recognized

Problem:    Dep3patch files are not recognized.
Solution:   Recognize dep3patch files by their location and content. (James
            McCoy, closes #9367)

3 years agopatch 8.2.3842: Vim9: can change locked list and list items v8.2.3842
Bram Moolenaar [Fri, 17 Dec 2021 20:36:15 +0000 (20:36 +0000)]
patch 8.2.3842: Vim9: can change locked list and list items

Problem:    Vim9: can change locked list and list items.
Solution:   Check that a list and list item isn't locked.

3 years agopatch 8.2.3841: Vim9: outdated TODO items, disabled tests that work v8.2.3841
Bram Moolenaar [Fri, 17 Dec 2021 20:15:38 +0000 (20:15 +0000)]
patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work

Problem:    Vim9: outdated TODO items, disabled tests that work.
Solution:   Remove TODO items, run tests that work now.  Check that a dict
            item isn't locked.

3 years agopatch 8.2.3840: useless test for negative index in check functions v8.2.3840
rbtnn [Fri, 17 Dec 2021 18:01:31 +0000 (18:01 +0000)]
patch 8.2.3840: useless test for negative index in check functions

Problem:    Useless test for negative index in check functions.
Solution:   Remove the test for negative index. (Naruhiko Nishino,
            closes #9364)

3 years agopatch 8.2.3839: using \z() with \z1 not tested for syntax highlighting v8.2.3839
Dominique Pelle [Fri, 17 Dec 2021 17:32:29 +0000 (17:32 +0000)]
patch 8.2.3839: using \z() with \z1 not tested for syntax highlighting

Problem:    Using \z() with \z1 not tested for syntax highlighting.
Solution:   Add a test. (Dominique PellĂ©, closes #9365)

3 years agopatch 8.2.3838: cannot use script-local function for setting *func options v8.2.3838
Yegappan Lakshmanan [Fri, 17 Dec 2021 16:21:20 +0000 (16:21 +0000)]
patch 8.2.3838: cannot use script-local function for setting *func options

Problem:    Cannot use script-local function for setting *func options.
Solution:   Use the script context. (Yegappan Lakshmanan, closes #9362)

3 years agopatch 8.2.3837: QNX: crash when compiled with GUI but using terminal v8.2.3837
Bram Moolenaar [Fri, 17 Dec 2021 16:00:04 +0000 (16:00 +0000)]
patch 8.2.3837: QNX: crash when compiled with GUI but using terminal

Problem:    QNX: crash when compiled with GUI but using terminal.
Solution:   Check gui.in_use is set. (Hirohito Higashi, closes #9363)

3 years agopatch 8.2.3836: Vim9: comment after expression not skipped to find NL v8.2.3836
Bram Moolenaar [Fri, 17 Dec 2021 14:46:12 +0000 (14:46 +0000)]
patch 8.2.3836: Vim9: comment after expression not skipped to find NL

Problem:    Vim9: comment after expression not skipped to find NL.
Solution:   After evaluating an expression look for a newline after a #
            comment.

3 years agopatch 8.2.3835: the inline-function example does not work v8.2.3835
Bram Moolenaar [Fri, 17 Dec 2021 12:45:22 +0000 (12:45 +0000)]
patch 8.2.3835: the inline-function example does not work

Problem:    The inline-function example does not work.
Solution:   Drop ":let".  Add EX_EXPR_ARG to CMD_var. (issue #9352)

3 years agopatch 8.2.3834: Test_out_cb often fails on Mac v8.2.3834
Bram Moolenaar [Fri, 17 Dec 2021 11:44:33 +0000 (11:44 +0000)]
patch 8.2.3834: Test_out_cb often fails on Mac

Problem:    Test_out_cb often fails on Mac.
Solution:   Increase the timeout with every retry.

3 years agopatch 8.2.3833: error from term_start() not caught by try/catch v8.2.3833
ichizok [Fri, 17 Dec 2021 09:44:33 +0000 (09:44 +0000)]
patch 8.2.3833: error from term_start() not caught by try/catch

Problem:    Error from term_start() not caught by try/catch.
Solution:   save and restore did_emsg when applying autocommands. (Ozaki
            Kiichi, closes #9361)

3 years agopatch 8.2.3832: test fails because of changed error message v8.2.3832
Bram Moolenaar [Thu, 16 Dec 2021 21:11:26 +0000 (21:11 +0000)]
patch 8.2.3832: test fails because of changed error message

Problem:    Test fails because of changed error message.
Solution:   Adjust the expected error message.

3 years agopatch 8.2.3831: opfunc test fails when missing feature changes function name v8.2.3831
Bram Moolenaar [Thu, 16 Dec 2021 21:07:35 +0000 (21:07 +0000)]
patch 8.2.3831: opfunc test fails when missing feature changes function name

Problem:    Opfunc test fails when missing feature changes function name.
            (Dominique PellĂ©)
Solution:   Check the relevant screen line instead of using a screendump.
            (closes #9360)

3 years agopatch 8.2.3830: error messages are spread out v8.2.3830
Bram Moolenaar [Thu, 16 Dec 2021 20:56:57 +0000 (20:56 +0000)]
patch 8.2.3830: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.

3 years agopatch 8.2.3829: no error when setting a func option to script-local function v8.2.3829
Bram Moolenaar [Thu, 16 Dec 2021 19:45:47 +0000 (19:45 +0000)]
patch 8.2.3829: no error when setting a func option to script-local function

Problem:    No error when setting a func option to a script-local function.
Solution:   Give an error if the name starts with "s:". (closes #9358)

3 years agopatch 8.2.3828: when opening a terminal from a timer first typed char is lost v8.2.3828
Bram Moolenaar [Thu, 16 Dec 2021 18:02:07 +0000 (18:02 +0000)]
patch 8.2.3828: when opening a terminal from a timer first typed char is lost

Problem:    when opening a terminal from a timer the first typed character
            is lost. (Virginia Senioria)
Solution:   When opening a terminal while waiting for a character put K_IGNORE
            in the input buffer.

3 years agopatch 8.2.3827: huntr badge does not really fit in the list v8.2.3827
Bram Moolenaar [Thu, 16 Dec 2021 16:14:11 +0000 (16:14 +0000)]
patch 8.2.3827: huntr badge does not really fit in the list

Problem:    Huntr badge does not really fit in the list.
Solution:   Move the link to Huntr to the issue template.

3 years agopatch 8.2.3826: Vim9: using "g:Func" as funcref doesn't work in :def function v8.2.3826
Bram Moolenaar [Thu, 16 Dec 2021 15:49:43 +0000 (15:49 +0000)]
patch 8.2.3826: Vim9: using "g:Func" as funcref doesn't work in :def function

Problem:    Vim9: using "g:Func" as a funcref does not work in a :def
            function.
Solution:   Include "g:" in the function name. (closes #9336)

3 years agopatch 8.2.3825: various comments could be improved v8.2.3825
Bram Moolenaar [Thu, 16 Dec 2021 14:45:13 +0000 (14:45 +0000)]
patch 8.2.3825: various comments could be improved

Problem:    Various comments could be improved.
Solution:   Improve the comments.

3 years agoUpdate runtime files
Bram Moolenaar [Thu, 16 Dec 2021 14:41:10 +0000 (14:41 +0000)]
Update runtime files

3 years agopatch 8.2.3824: no ASAN support for MSVC v8.2.3824
Yegappan Lakshmanan [Thu, 16 Dec 2021 13:06:10 +0000 (13:06 +0000)]
patch 8.2.3824: no ASAN support for MSVC

Problem:    No ASAN support for MSVC.
Solution:   Add ASAN support and fix a coupld of uncovered problems. (Yegappan
            Lakshmanan, closes #9357)

3 years agopatch 8.2.3823: test for visual replace is in wrong function v8.2.3823
Bram Moolenaar [Thu, 16 Dec 2021 10:05:41 +0000 (10:05 +0000)]
patch 8.2.3823: test for visual replace is in wrong function

Problem:    Test for visual replace is in wrong function.
Solution:   Move it to another function.

3 years agopatch 8.2.3822: leaking memory in map() and filter(), no string in Vim9 v8.2.3822
Bram Moolenaar [Thu, 16 Dec 2021 08:21:09 +0000 (08:21 +0000)]
patch 8.2.3822: leaking memory in map() and filter(), no string in Vim9

Problem:    Leaking memory in map() and filter(), cannot use a string argument
            in Vim9 script.
Solution:   Fix the leak, adjust the argument check, also run the tests as
            Vim9 script. (Yegappan Lakshmanan, closes #9354)

3 years agopatch 8.2.3821: ASAN test run fails v8.2.3821
Bram Moolenaar [Wed, 15 Dec 2021 21:29:19 +0000 (21:29 +0000)]
patch 8.2.3821: ASAN test run fails

Problem:    ASAN test run fails.
Solution:   Use asan_symbolize-13 instead of asan_symbolize-11.

3 years agopatch 8.2.3820: "vrc" does not replace composing characters v8.2.3820
Bram Moolenaar [Wed, 15 Dec 2021 21:08:50 +0000 (21:08 +0000)]
patch 8.2.3820: "vrc" does not replace composing characters

Problem:    "vrc" does not replace composing characters, while "rc" does.
Solution:   Check the byte length including composing characters.
            (closes #9351)

3 years agopatch 8.2.3819: test fails because error message changed v8.2.3819
Bram Moolenaar [Wed, 15 Dec 2021 19:46:59 +0000 (19:46 +0000)]
patch 8.2.3819: test fails because error message changed

Problem:    Test fails because error message changed.
Solution:   Update screendumps.

3 years agopatch 8.2.3818: cannot filter or map characters in a string v8.2.3818
rbtnn [Wed, 15 Dec 2021 19:14:54 +0000 (19:14 +0000)]
patch 8.2.3818: cannot filter or map characters in a string

Problem:    Cannot filter or map characters in a string.
Solution:   Make filter() and map() work on a string. (Naruhiko Nishino,
            closes #9327)

3 years agopatch 8.2.3817: Vim9: Not using NL as command end does not work for :autocmd v8.2.3817
Bram Moolenaar [Wed, 15 Dec 2021 17:53:40 +0000 (17:53 +0000)]
patch 8.2.3817: Vim9: Not using NL as command end does not work for :autocmd

Problem:    Vim9: Not using NL as command end does not work for :autocmd.
Solution:   Only ignore NL for commands with an expression argument.

3 years agopatch 8.2.3816: compiler warning for posible loss of data on MS-Windows v8.2.3816
Mike Williams [Wed, 15 Dec 2021 16:38:33 +0000 (16:38 +0000)]
patch 8.2.3816: compiler warning for posible loss of data on MS-Windows

Problem:    Compiler warning for posible loss of data on MS-Windows.
Solution:   Add type cast. (Mike Williams, closes #9349)

3 years agopatch 8.2.3815: Vim9: cannot have a multi-line dict inside a block v8.2.3815
Bram Moolenaar [Wed, 15 Dec 2021 15:41:44 +0000 (15:41 +0000)]
patch 8.2.3815: Vim9: cannot have a multi-line dict inside a block

Problem:    Vim9: cannot have a multi-line dict inside a block.
Solution:   Do not split the command at a line break, handle NL characters
            as white space.

3 years agopatch 8.2.3814: .csx files and .sln files are not recognized v8.2.3814
Bram Moolenaar [Wed, 15 Dec 2021 13:30:43 +0000 (13:30 +0000)]
patch 8.2.3814: .csx files and .sln files are not recognized

Problem:    .csx files and .sln files are not recognized.
Solution:   Add filetype patterns. (Doug Kearns)

3 years agopatch 8.2.3813: confusing error when using :cc without error list v8.2.3813
Bram Moolenaar [Wed, 15 Dec 2021 12:28:22 +0000 (12:28 +0000)]
patch 8.2.3813: confusing error when using :cc without error list

Problem:    confusing error when using :cc without error list. (Gary Johnson)
Solution:   Give the "no errors" error.

3 years agopatch 8.2.3812: Vim9: leaking memory in numbered function test v8.2.3812
Bram Moolenaar [Wed, 15 Dec 2021 12:06:43 +0000 (12:06 +0000)]
patch 8.2.3812: Vim9: leaking memory in numbered function test

Problem:    Vim9: leaking memory in numbered function test.
Solution:   Skip "g:" when checking for numbered function.  Clean up after
            errors properly.

3 years agopatch 8.2.3811: the opfunc error test fails on a slow machine v8.2.3811
Bram Moolenaar [Tue, 14 Dec 2021 20:26:53 +0000 (20:26 +0000)]
patch 8.2.3811: the opfunc error test fails on a slow machine

Problem:    The opfunc error test fails on a slow machine.
Solution:   Use WaitForAssert().

3 years agopatch 8.2.3810: Vim9: expr4 test fails on MS-Windows v8.2.3810
Bram Moolenaar [Tue, 14 Dec 2021 18:57:45 +0000 (18:57 +0000)]
patch 8.2.3810: Vim9: expr4 test fails on MS-Windows

Problem:    Vim9: expr4 test fails on MS-Windows.
Solution:   Do not give an error for a missing function name when skipping.

3 years agopatch 8.2.3809: Vim9: crash when garbage collecting a nested partial v8.2.3809
Bram Moolenaar [Tue, 14 Dec 2021 18:14:37 +0000 (18:14 +0000)]
patch 8.2.3809: Vim9: crash when garbage collecting a nested partial

Problem:    Vim9: crash when garbage collecting a nested partial. (Virginia
            Senioria)
Solution:   Set references in all the funcstacks. (closes #9348)

3 years agopatch 8.2.3808: Vim9: obsolete TODO items v8.2.3808
Bram Moolenaar [Tue, 14 Dec 2021 14:29:16 +0000 (14:29 +0000)]
patch 8.2.3808: Vim9: obsolete TODO items

Problem:    Vim9: obsolete TODO items
Solution:   Remove the comments.

3 years agopatch 8.2.3807: Vim9: can call import with star directly v8.2.3807
Bram Moolenaar [Tue, 14 Dec 2021 12:06:16 +0000 (12:06 +0000)]
patch 8.2.3807: Vim9: can call import with star directly

Problem:    Vim9: can call import with star directly.
Solution:   Check that the import used star.

3 years agopatch 8.2.3806: terminal focus test fails sometimes v8.2.3806
Bram Moolenaar [Tue, 14 Dec 2021 11:16:31 +0000 (11:16 +0000)]
patch 8.2.3806: terminal focus test fails sometimes

Problem:    Terminal focus test fails sometimes.
Solution:   Run the test function before others.

3 years agopatch 8.2.3805: i3config files are not recognized v8.2.3805
Quentin Hibon [Tue, 14 Dec 2021 09:34:41 +0000 (09:34 +0000)]
patch 8.2.3805: i3config files are not recognized

Problem:    i3config files are not recognized.
Solution:   Add patterns to match i3config files. (Quentin Hibon,
            closes #7969)

3 years agopatch 8.2.3804: script context not set when copying 'swf' and 'ts' v8.2.3804
Bram Moolenaar [Tue, 14 Dec 2021 09:01:38 +0000 (09:01 +0000)]
patch 8.2.3804: script context not set when copying 'swf' and 'ts'

Problem:    Script context not set when copying 'swf' and 'ts'.
Solution:   Use COPY_OPT_SCTX with the right argument. (closes #9347)

3 years agopatch 8.2.3803: GUI: crash with 'writedelay' set using a terminal window v8.2.3803
Bram Moolenaar [Tue, 14 Dec 2021 08:41:38 +0000 (08:41 +0000)]
patch 8.2.3803: GUI: crash with 'writedelay' set using a terminal window

Problem:    Crash when 'writedelay' is set and using a terminal window to
            execute a shell command.
Solution:   Check that "tl_vterm" isn't NULL. (closes #9346)

3 years agopatch 8.2.3802: terminal in two windows test fails on some systems v8.2.3802
Bram Moolenaar [Mon, 13 Dec 2021 22:17:44 +0000 (22:17 +0000)]
patch 8.2.3802: terminal in two windows test fails on some systems

Problem:    Terminal in two windows test fails on some systems.
Solution:   Wait a bit between commands.

3 years agopatch 8.2.3801: if a terminal shows in two windows, only one is redrawn v8.2.3801
Bram Moolenaar [Mon, 13 Dec 2021 21:59:09 +0000 (21:59 +0000)]
patch 8.2.3801: if a terminal shows in two windows, only one is redrawn

Problem:    If a terminal shows in two windows, only one is redrawn.
Solution:   Reset the dirty row range only after redrawing all windows.
            (closes #9341)

3 years agopatch 8.2.3800: when cross compiling the output of "uname" cannot be set v8.2.3800
Bram Moolenaar [Mon, 13 Dec 2021 20:37:59 +0000 (20:37 +0000)]
patch 8.2.3800: when cross compiling the output of "uname" cannot be set

Problem:    When cross compiling the output of "uname" cannot be set. (Ben
            Reeves)
Solution:   Use cache variables. (closes #9338)

3 years agopatch 8.2.3799: edit test hangs or fails v8.2.3799
Bram Moolenaar [Mon, 13 Dec 2021 19:14:52 +0000 (19:14 +0000)]
patch 8.2.3799: edit test hangs or fails

Problem:    Edit test hangs or fails.
Solution:   Do not rethrow an exception when inside try/catch.

3 years agopatch 8.2.3798: a :def callback function postpones an error message v8.2.3798
Bram Moolenaar [Mon, 13 Dec 2021 18:19:55 +0000 (18:19 +0000)]
patch 8.2.3798: a :def callback function postpones an error message

Problem:    A :def callback function postpones an error message.
Solution:   Display the error after calling the function. (closes #9340)

3 years agopatch 8.2.3797: no good reason to limit the message history in tiny version v8.2.3797
Bram Moolenaar [Mon, 13 Dec 2021 14:40:53 +0000 (14:40 +0000)]
patch 8.2.3797: no good reason to limit the message history in tiny version

Problem:    No good reason to limit the message history in the tiny version.
Solution:   Always use 200.

3 years agopatch 8.2.3796: the funcexe_T struct members are not named consistently v8.2.3796
Bram Moolenaar [Mon, 13 Dec 2021 14:26:44 +0000 (14:26 +0000)]
patch 8.2.3796: the funcexe_T struct members are not named consistently

Problem:    The funcexe_T struct members are not named consistently.
Solution:   Prefix "fe_" to all the members.

3 years agopatch 8.2.3795: too many #ifdefs v8.2.3795
Bram Moolenaar [Mon, 13 Dec 2021 13:12:53 +0000 (13:12 +0000)]
patch 8.2.3795: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Graduate the jumplist feature.

3 years agopatch 8.2.3794: Vim9: cannot find script-local func using "s:" v8.2.3794
Bram Moolenaar [Mon, 13 Dec 2021 11:31:04 +0000 (11:31 +0000)]
patch 8.2.3794: Vim9: cannot find script-local func using "s:"

Problem:    Vim9: cannot find script-local func using "s:". (Yegappan
            Lakshmanan)
Solution:   Skip the "s:".

3 years agopatch 8.2.3793: using "g:Func" as a funcref does not work in script context v8.2.3793
Bram Moolenaar [Sun, 12 Dec 2021 21:02:03 +0000 (21:02 +0000)]
patch 8.2.3793: using "g:Func" as a funcref does not work in script context

Problem:    Using "g:Func" as a funcref does not work in script context
            because "g:" is dropped.
Solution:   Keep "g:" in the name.  Also add parenthesis to avoid confusing
            operator prececence. (closes #9336)

3 years agopatch 8.2.3792: setting *func options insufficiently tested v8.2.3792
Yegappan Lakshmanan [Sun, 12 Dec 2021 20:08:05 +0000 (20:08 +0000)]
patch 8.2.3792: setting *func options insufficiently tested

Problem:    Setting *func options insufficiently tested.
Solution:   Impove tests. (Yegappan Lakshmanan, closes #9337)

3 years agopatch 8.2.3791: build error with +cindent but without +smartindent v8.2.3791
Bram Moolenaar [Sun, 12 Dec 2021 19:10:44 +0000 (19:10 +0000)]
patch 8.2.3791: build error with +cindent but without +smartindent

Problem:    Build error with +cindent but without +smartindent.
Solution:   Move declaration of "do_cindent". (John Marriott)

3 years agopatch 8.2.3790: test for term_gettitle() fails in some environments v8.2.3790
Bram Moolenaar [Sun, 12 Dec 2021 18:50:19 +0000 (18:50 +0000)]
patch 8.2.3790: test for term_gettitle() fails in some environments

Problem:    Test for term_gettitle() fails in some environments.
Solution:   Make the digits after "VIM" optional. (Kenta Sato, closes #9334)

3 years agopatch 8.2.3789: Test_window_minimal_size can fail on a slow machine v8.2.3789
ichizok [Sun, 12 Dec 2021 16:42:09 +0000 (16:42 +0000)]
patch 8.2.3789: Test_window_minimal_size can fail on a slow machine

Problem:    Test_window_minimal_size can fail on a slow machine.
Solution:   Do not rely on timers firing at the expected time. (Ozaki Kiichi,
            closes #9335)

3 years agopatch 8.2.3788: lambda for option that is a function may be freed v8.2.3788
Yegappan Lakshmanan [Sun, 12 Dec 2021 16:26:44 +0000 (16:26 +0000)]
patch 8.2.3788: lambda for option that is a function may be freed

Problem:    Lambda for option that is a function may be garbage collected.
Solution:   Set a reference in the funcref. (Yegappan Lakshmanan,
            closes #9330)

3 years agopatch 8.2.3787: no proper formatting of a C line comment after a statement v8.2.3787
Bram Moolenaar [Sun, 12 Dec 2021 14:16:39 +0000 (14:16 +0000)]
patch 8.2.3787: no proper formatting of a C line comment after a statement

Problem:    No proper formatting of a C line comment after a statement.
Solution:   Find the start of the line comment, insert the comment leader and
            indent the comment properly.

3 years agoUse text area for environment in the bug template.
Bram Moolenaar [Sun, 12 Dec 2021 11:44:11 +0000 (11:44 +0000)]
Use text area for environment in the bug template.

3 years agoUpdate issue template.
Bram Moolenaar [Sun, 12 Dec 2021 11:34:22 +0000 (11:34 +0000)]
Update issue template.

3 years agopatch 8.2.3786: test fails because of using Vim9 syntax in legacy function v8.2.3786
Bram Moolenaar [Sat, 11 Dec 2021 18:46:29 +0000 (18:46 +0000)]
patch 8.2.3786: test fails because of using Vim9 syntax in legacy function

Problem:    Test fails because of using Vim9 syntax in legacy function.
Solution:   Add "call".

3 years agopatch 8.2.3785: running CI on MacOS with gcc is not useful v8.2.3785
ichizok [Sat, 11 Dec 2021 17:34:19 +0000 (17:34 +0000)]
patch 8.2.3785: running CI on MacOS with gcc is not useful

Problem:    Running CI on MacOS with gcc is not useful.
Solution:   Only use clang. (Ozaki Kiichi, closes #9326)  Also build with
            normal features.

3 years agopatch 8.2.3784: the help for options is outdated v8.2.3784
Bram Moolenaar [Sat, 11 Dec 2021 17:24:39 +0000 (17:24 +0000)]
patch 8.2.3784: the help for options is outdated

Problem:    The help for options is outdated.
Solution:   Include all the recent changes.

3 years agopatch 8.2.3783: confusing error for using a variable as a function v8.2.3783
Bram Moolenaar [Sat, 11 Dec 2021 16:14:07 +0000 (16:14 +0000)]
patch 8.2.3783: confusing error for using a variable as a function

Problem:    Confusing error for using a variable as a function.
Solution:   If a function is not found but there is a variable, give a more
            useful error. (issue #9310)

3 years agopatch 8.2.3782: Vim9: no error if a function shadows a script variable v8.2.3782
Bram Moolenaar [Sat, 11 Dec 2021 13:54:46 +0000 (13:54 +0000)]
patch 8.2.3782: Vim9: no error if a function shadows a script variable

Problem:    Vim9: no error if a function shadows a script variable.
Solution:   Check the function doesn't shadow a variable. (closes #9310)

3 years agopatch 8.2.3781: the option window script is outdated v8.2.3781
Bram Moolenaar [Sat, 11 Dec 2021 12:33:52 +0000 (12:33 +0000)]
patch 8.2.3781: the option window script is outdated

Problem:    The option window script is outdated.
Solution:   Add several changes.

3 years agopatch 8.2.3780: ":cd" works differently on MS-Windows v8.2.3780
Bakudankun [Sat, 11 Dec 2021 12:28:08 +0000 (12:28 +0000)]
patch 8.2.3780: ":cd" works differently on MS-Windows

Problem:    ":cd" works differently on MS-Windows.
Solution:   Add the 'cdhome' option. (closes #9324)

3 years agopatch 8.2.3779: using freed memory when defining a user command recursively v8.2.3779
Bram Moolenaar [Fri, 10 Dec 2021 21:46:09 +0000 (21:46 +0000)]
patch 8.2.3779: using freed memory when defining a user command recursively

Problem:    Using freed memory when defining a user command from a user
            command.
Solution:   Do not use the command pointer after executing the command.
            (closes #9318)