]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0883: a silent mapping may cause dots on the command line v9.0.0883
Bram Moolenaar [Mon, 14 Nov 2022 22:07:45 +0000 (22:07 +0000)]
patch 9.0.0883: a silent mapping may cause dots on the command line

Problem:    A silent mapping may cause dots on the command line.
Solution:   Don't show dots for completion if they are not going to be removed
            again. (closes #11501)

2 years agopatch 9.0.0882: using freed memory after SpellFileMissing autocmd uses bwipe v9.0.0882
Bram Moolenaar [Mon, 14 Nov 2022 20:52:14 +0000 (20:52 +0000)]
patch 9.0.0882: using freed memory after SpellFileMissing autocmd uses bwipe

Problem:    Using freed memory after SpellFileMissing autocmd uses bwipe.
Solution:   Bail out if the window no longer exists.

2 years agopatch 9.0.0881: cannot get the currently showing mouse shape v9.0.0881
Bram Moolenaar [Mon, 14 Nov 2022 19:49:15 +0000 (19:49 +0000)]
patch 9.0.0881: cannot get the currently showing mouse shape

Problem:    Cannot get the currently showing mouse shape.
Solution:   Add getmouseshape().

2 years agopatch 9.0.0880: preprocessor indenting is off v9.0.0880
K.Takata [Mon, 14 Nov 2022 15:31:07 +0000 (15:31 +0000)]
patch 9.0.0880: preprocessor indenting is off

Problem:    Preprocessor indenting is off.
Solution:   Adjust preprocessor indentation. (Ken Takata, closes #11546)

2 years agopatch 9.0.0879: unnecessary nesting in makefile v9.0.0879
K.Takata [Mon, 14 Nov 2022 14:50:15 +0000 (14:50 +0000)]
patch 9.0.0879: unnecessary nesting in makefile

Problem:    Unnecessary nesting in makefile.
Solution:   Join "else" and "ifeq". (Ken Takata, closes #11547)

2 years agopatch 9.0.0878: Coverity warns for dead code v9.0.0878
Bram Moolenaar [Mon, 14 Nov 2022 14:36:41 +0000 (14:36 +0000)]
patch 9.0.0878: Coverity warns for dead code

Problem:    Coverity warns for dead code.
Solution:   Remove the dead code.

2 years agopatch 9.0.0877: using freed memory with :comclear while listing commands v9.0.0877
Bram Moolenaar [Sun, 13 Nov 2022 23:30:06 +0000 (23:30 +0000)]
patch 9.0.0877: using freed memory with :comclear while listing commands

Problem:    Using freed memory with :comclear while listing commands.
Solution:   Bail out when the command list has changed. (closes #11440)

2 years agopatch 9.0.0876: code is indented more than needed v9.0.0876
Yegappan Lakshmanan [Sun, 13 Nov 2022 22:38:10 +0000 (22:38 +0000)]
patch 9.0.0876: code is indented more than needed

Problem:    Code is indented more than needed.
Solution:   Split ExpandEscape() in two. (Yegappan Lakshmanan, closes #11539)

2 years agopatch 9.0.0875: using freed memory when executing delfunc at more prompt v9.0.0875
Bram Moolenaar [Sun, 13 Nov 2022 22:13:33 +0000 (22:13 +0000)]
patch 9.0.0875: using freed memory when executing delfunc at more prompt

Problem:    Using freed memory when executing delfunc at the more prompt.
Solution:   Check function list not changed in another place. (closes #11437)

2 years agopatch 9.0.0874: using freed memory when executing unmenu at more prompt v9.0.0874
Bram Moolenaar [Sun, 13 Nov 2022 21:10:02 +0000 (21:10 +0000)]
patch 9.0.0874: using freed memory when executing unmenu at more prompt

Problem:    Using freed memory when executing unmenu at the more prompt.
Solution:   Do not clear menus while listing them. (closes #11439)

2 years agopatch 9.0.0873: using freed memory when executing mapclear at more prompt v9.0.0873
Bram Moolenaar [Sun, 13 Nov 2022 20:43:19 +0000 (20:43 +0000)]
patch 9.0.0873: using freed memory when executing mapclear at more prompt

Problem:    Using freed memory when executing mapclear at the more prompt.
Solution:   Do not clear mappings while listing them. (closes #11438)

2 years agopatch 9.0.0872: code is indented more than needed v9.0.0872
Yegappan Lakshmanan [Sun, 13 Nov 2022 18:11:17 +0000 (18:11 +0000)]
patch 9.0.0872: code is indented more than needed

Problem:    Code is indented more than needed.
Solution:   Return early. (Yegappan Lakshmanan, closes #11538)

2 years agopatch 9.0.0871: using freed memory when clearing augroup at more prompt v9.0.0871
Bram Moolenaar [Sun, 13 Nov 2022 17:53:46 +0000 (17:53 +0000)]
patch 9.0.0871: using freed memory when clearing augroup at more prompt

Problem:    Using freed memory when clearing augroup at more prompt.
Solution:   Delay clearing augroup until it's safe. (closes #11441)

2 years agopatch 9.0.0870: get E967 when using text property in quickfix window v9.0.0870
Bram Moolenaar [Sun, 13 Nov 2022 12:54:50 +0000 (12:54 +0000)]
patch 9.0.0870: get E967 when using text property in quickfix window

Problem:    Get E967 when using text property in quickfix window. (Sergey
            Vlasov)
Solution:   Do not add an extra NUL and compute the text length correctly.
            (closes #11513)

2 years agopatch 9.0.0869: bogus error when string used after :elseif v9.0.0869
Bram Moolenaar [Sat, 12 Nov 2022 23:12:55 +0000 (23:12 +0000)]
patch 9.0.0869: bogus error when string used after :elseif

Problem:    Bogus error when string used after :elseif.
Solution:   Do not consider a double quote the start of a comment.
            (closes #11534)

2 years agopatch 9.0.0868: MS-Windows: after Vim exits console resizing problem v9.0.0868
Christopher Plewright [Sat, 12 Nov 2022 18:46:05 +0000 (18:46 +0000)]
patch 9.0.0868: MS-Windows: after Vim exits console resizing problem

Problem:    MS-Windows: after Vim exits console resizing does not work
            properly.
Solution:   Restore screen behavior checks for various WT and VTP
            combinations. (Christopher Plewright, closes #11526,
            closes #11507)

2 years agopatch 9.0.0867: wildmenu redrawing code is spread out v9.0.0867
Bram Moolenaar [Sat, 12 Nov 2022 17:44:13 +0000 (17:44 +0000)]
patch 9.0.0867: wildmenu redrawing code is spread out

Problem:    Wildmenu redrawing code is spread out.
Solution:   Refactor to move code together. (closes #11528)

2 years agopatch 9.0.0866: no test for what patch 8.2.2207 fixes v9.0.0866
zeertzjq [Sat, 12 Nov 2022 17:30:25 +0000 (17:30 +0000)]
patch 9.0.0866: no test for what patch 8.2.2207 fixes

Problem:    No test for what patch 8.2.2207 fixes.
Solution:   Add a test case. (closes #11531)

2 years agopatch 9.0.0865: duplicate arguments are not always detected v9.0.0865
Nir Lichtman [Sat, 12 Nov 2022 17:00:31 +0000 (17:00 +0000)]
patch 9.0.0865: duplicate arguments are not always detected

Problem:    Duplicate arguments are not always detected.
Solution:   Expand to full path before comparing arguments. (Nir Lichtman,
            closes #11505, closes #9402)

2 years agopatch 9.0.0864: crash when using "!!" without a previous shell command v9.0.0864
Bram Moolenaar [Sat, 12 Nov 2022 16:36:35 +0000 (16:36 +0000)]
patch 9.0.0864: crash when using "!!" without a previous shell command

Problem:    Crash when using "!!" without a previous shell command.
Solution:   Check "prevcmd" is not NULL. (closes #11487)

2 years agopatch 9.0.0863: col() and charcol() only work for the current window v9.0.0863
Yegappan Lakshmanan [Sat, 12 Nov 2022 16:07:47 +0000 (16:07 +0000)]
patch 9.0.0863: col() and charcol() only work for the current window

Problem:    col() and charcol() only work for the current window.
Solution:   Add an optional winid argument. (Yegappan Lakshmanan,
            closes #11466, closes #11461)

2 years agopatch 9.0.0862: default value of 'endoffile' is wrong v9.0.0862
Bram Moolenaar [Sat, 12 Nov 2022 11:54:26 +0000 (11:54 +0000)]
patch 9.0.0862: default value of 'endoffile' is wrong

Problem:    Default value of 'endoffile' is wrong.
Solution:   The default must be 'noendoffile'.

2 years agopatch 9.0.0861: solution for "!!sort" in closed fold is not optimal v9.0.0861
Bram Moolenaar [Fri, 11 Nov 2022 22:58:36 +0000 (22:58 +0000)]
patch 9.0.0861: solution for "!!sort" in closed fold is not optimal

Problem:    Solution for "!!sort" in closed fold is not optimal.
Solution:   Use a different range instead of the subtle difference in handling
            a range with an offset. (issue #11487)

2 years agopatch 9.0.0860: MS-Windows: windres fails with clang 15.0.4 v9.0.0860
Bram Moolenaar [Fri, 11 Nov 2022 21:24:18 +0000 (21:24 +0000)]
patch 9.0.0860: MS-Windows: windres fails with clang 15.0.4

Problem:    MS-Windows: windres fails with clang 15.0.4.
Solution:   Use llvm-windres. (John Marriott)

2 years agopatch 9.0.0859: compiler warning for unused variable v9.0.0859
Bram Moolenaar [Fri, 11 Nov 2022 01:40:48 +0000 (01:40 +0000)]
patch 9.0.0859: compiler warning for unused variable

Problem:    Compiler warning for unused variable.
Solution:   Add #ifdef.

2 years agopatch 9.0.0858: "!!sort" in a closed fold sorts too many lines v9.0.0858
Bram Moolenaar [Fri, 11 Nov 2022 01:20:35 +0000 (01:20 +0000)]
patch 9.0.0858: "!!sort" in a closed fold sorts too many lines

Problem:    "!!sort" in a closed fold sorts too many lines.
Solution:   Round to end of fold after adding the line count. (closes #11487)

2 years agopatch 9.0.0857: selecting MSVC 2017 does not set $PLATFORM v9.0.0857
K.Takata [Thu, 10 Nov 2022 23:17:19 +0000 (23:17 +0000)]
patch 9.0.0857: selecting MSVC 2017 does not set $PLATFORM

Problem:    Selecting MSVC 2017 does not set $PLATFORM.
Solution:   Use $VSCMD_ARG_TGT_ARCH. (Ken Takata, closes #11485)

2 years agopatch 9.0.0856: MS-Windows: executable not found when running test v9.0.0856
Christopher Plewright [Thu, 10 Nov 2022 18:21:30 +0000 (18:21 +0000)]
patch 9.0.0856: MS-Windows: executable not found when running test

Problem:    MS-Windows: executable not found when running individual test.
Solution:   Also look for vimd.exe. (Christopher Plewright, closes #11525)

2 years agopatch 9.0.0855: comment not located above the code it refers to v9.0.0855
zeertzjq [Thu, 10 Nov 2022 17:05:28 +0000 (17:05 +0000)]
patch 9.0.0855: comment not located above the code it refers to

Problem:    Comment not located above the code it refers to.
Solution:   Move the comment. (closes #11527)

2 years agopatch 9.0.0854: no proper test for what 9.0.0846 fixes v9.0.0854
zeertzjq [Thu, 10 Nov 2022 13:21:34 +0000 (13:21 +0000)]
patch 9.0.0854: no proper test for what 9.0.0846 fixes

Problem:    No proper test for what 9.0.0846 fixes.
Solution:   Run test in a terminal so that the hit-enter prompt can show up.
            (closes #11523)

2 years agopatch 9.0.0853: terminal mouse test is still flaky on MacOS M1 v9.0.0853
Bram Moolenaar [Thu, 10 Nov 2022 12:38:16 +0000 (12:38 +0000)]
patch 9.0.0853: terminal mouse test is still flaky on MacOS M1

Problem:    Terminal mouse test is still flaky on MacOS M1.
Solution:   Also wait for the file to have some contents.

2 years agopatch 9.0.0852: crypt test is skipped if xxd is not found v9.0.0852
Bram Moolenaar [Thu, 10 Nov 2022 00:25:05 +0000 (00:25 +0000)]
patch 9.0.0852: crypt test is skipped if xxd is not found

Problem:    Crypt test is skipped if xxd is not found.
Solution:   Find xxd where it was supposed to be build.

2 years agopatch 9.0.0851: terminal mouse test is still flaky v9.0.0851
Bram Moolenaar [Thu, 10 Nov 2022 00:09:22 +0000 (00:09 +0000)]
patch 9.0.0851: terminal mouse test is still flaky

Problem:    Terminal mouse test is still flaky.
Solution:   Also use WaitForAssert().

2 years agopatch 9.0.0850: MS-Windows Terminal has unstable color control v9.0.0850
Christopher Plewright [Wed, 9 Nov 2022 23:55:52 +0000 (23:55 +0000)]
patch 9.0.0850: MS-Windows Terminal has unstable color control

Problem:    MS-Windows Terminal has unstable color control.
Solution:   Do not try to read the old command prompt colortable, use modern
            VT sequences. (Christopher Plewright, closes #11450,
            closes #11373)

2 years agopatch 9.0.0849: terminal mouse test is a bit flaky v9.0.0849
James McCoy [Wed, 9 Nov 2022 23:29:14 +0000 (23:29 +0000)]
patch 9.0.0849: terminal mouse test is a bit flaky

Problem:    Terminal mouse test is a bit flaky.
Solution:   Add WaitFor() calls. (James McCoy closes #11519)  Tune wait times
            to reduce flakiness.

2 years agoUpdate runtime files
Bram Moolenaar [Wed, 9 Nov 2022 21:21:04 +0000 (21:21 +0000)]
Update runtime files

2 years agopatch 9.0.0848: help item for --log argument is not aligned nicely v9.0.0848
K.Takata [Wed, 9 Nov 2022 16:29:24 +0000 (16:29 +0000)]
patch 9.0.0848: help item for --log argument is not aligned nicely

Problem:    Help item for --log argument is not aligned nicely.
Solution:   Add a Tab. (Ken Takata, closes #11521)

2 years agopatch 9.0.0847: CI: not totally clear what MS-Windows version is used v9.0.0847
K.Takata [Wed, 9 Nov 2022 16:12:47 +0000 (16:12 +0000)]
patch 9.0.0847: CI: not totally clear what MS-Windows version is used

Problem:    CI: not totally clear what MS-Windows version is used.
Solution:   Show the Windows version. (Ken Takata, closes #11524)

2 years agopatch 9.0.0846: using assert_fails() may cause hit-enter prompt v9.0.0846
Bram Moolenaar [Wed, 9 Nov 2022 00:44:30 +0000 (00:44 +0000)]
patch 9.0.0846: using assert_fails() may cause hit-enter prompt

Problem:    Using assert_fails() may cause hit-enter prompt.
Solution:   Set no_wait_return. (closes #11522)

2 years agopatch 9.0.0845: shell command with just space gives strange error v9.0.0845
shane.xb.qian [Tue, 8 Nov 2022 21:40:04 +0000 (21:40 +0000)]
patch 9.0.0845: shell command with just space gives strange error

Problem:    Shell command with just space gives strange error.
Solution:   Skip white space at start of the argument. (Christian Brabandt,
            Shane-XB-Qian, closes #11515, closes #11495)

2 years agopatch 9.0.0844: handling 'statusline' errors is spread out v9.0.0844
Luuk van Baal [Mon, 7 Nov 2022 12:16:51 +0000 (12:16 +0000)]
patch 9.0.0844: handling 'statusline' errors is spread out

Problem:    Handling 'statusline' errors is spread out.
Solution:   Pass the option name to the lower levels so the option can be
            reset there when an error is encountered. (Luuk van Baal,
            closes #11467)

2 years agopatch 9.0.0843: VHS tape files are not recognized v9.0.0843
Carlos A Becker [Mon, 7 Nov 2022 11:17:29 +0000 (11:17 +0000)]
patch 9.0.0843: VHS tape files are not recognized

Problem:    VHS tape files are not recognized.
Solution:   Add a filetype pattern. (Carlos Alexandro Becker, closes #11452)

2 years agopatch 9.0.0842: Unicode range for Apple SF symbols is outdated v9.0.0842
Yee Cheng Chin [Mon, 7 Nov 2022 11:05:52 +0000 (11:05 +0000)]
patch 9.0.0842: Unicode range for Apple SF symbols is outdated

Problem:    Unicode range for Apple SF symbols is outdated.
Solution:   Update to SF Symbols 4. (Yee Cheng Chin, closes #11474)

2 years agopatch 9.0.0841: deletebufline() does not always return 1 on failure v9.0.0841
zeertzjq [Sun, 6 Nov 2022 22:26:05 +0000 (22:26 +0000)]
patch 9.0.0841: deletebufline() does not always return 1 on failure

Problem:    deletebufline() does not always return 1 on failure.
Solution:   Refactor the code to make it work more predictable. (closes #11511)

2 years agopatch 9.0.0840: cannot change a slice of a const list v9.0.0840
Bram Moolenaar [Sun, 6 Nov 2022 18:27:17 +0000 (18:27 +0000)]
patch 9.0.0840: cannot change a slice of a const list

Problem:    Cannot change a slice of a const list. (Takumi KAGIYAMA)
Solution:   Remove the const flag from the slice type. (closes #11490)

2 years agopatch 9.0.0839: test may fail depending on sequence of events v9.0.0839
Yee Cheng Chin [Sun, 6 Nov 2022 12:25:47 +0000 (12:25 +0000)]
patch 9.0.0839: test may fail depending on sequence of events

Problem:    Test may fail depending on sequence of events.
Solution:   Accept error codes in either order. (Yee Cheng Chin,
            closes #11510)

2 years agopatch 9.0.0838: compiler warnings for unused variables v9.0.0838
Bram Moolenaar [Sun, 6 Nov 2022 11:27:46 +0000 (11:27 +0000)]
patch 9.0.0838: compiler warnings for unused variables

Problem:    Compiler warnings for unused variables.
Solution:   Addjust #ifdef and remove unused variables. (John Marriott)

2 years agopatch 9.0.0837: append() reports failure when not appending anything v9.0.0837
Bram Moolenaar [Sat, 5 Nov 2022 23:46:43 +0000 (23:46 +0000)]
patch 9.0.0837: append() reports failure when not appending anything

Problem:    append() reports failure when not appending anything.
Solution:   Only report failure when appending something. (closes #11498)

2 years agopatch 9.0.0836: wrong error when using extend() with funcref v9.0.0836
zeertzjq [Sat, 5 Nov 2022 20:21:58 +0000 (20:21 +0000)]
patch 9.0.0836: wrong error when using extend() with funcref

Problem:    Wrong error when using extend() with funcref.
Solution:   Better check the variable type. (closes #11468, closes #11455)

2 years agopatch 9.0.0835: the window title is not redrawn when 'endoffile' changes v9.0.0835
K.Takata [Sat, 5 Nov 2022 18:31:19 +0000 (18:31 +0000)]
patch 9.0.0835: the window title is not redrawn when 'endoffile' changes

Problem:    The window title is not redrawn when 'endoffile' changes.
Solution:   redraw the window title when 'endoffile' is changed. (Ken Takata,
            closes #11488)

2 years agopatch 9.0.0834: warning for missing return type v9.0.0834
Sam James [Sat, 5 Nov 2022 15:13:50 +0000 (15:13 +0000)]
patch 9.0.0834: warning for missing return type

Problem:    Warning for missing return type.
Solution:   Add "int". (San James, closes #11496)

2 years agopatch 9.0.0833: Mac: no +sound feature in huge build v9.0.0833
Yee Cheng Chin [Sat, 5 Nov 2022 14:23:14 +0000 (14:23 +0000)]
patch 9.0.0833: Mac: no +sound feature in huge build

Problem:    Mac: no +sound feature in huge build.
Solution:   Enable +sound in Mac huge build. (closes #11497)

2 years agopatch 9.0.0832: deprecation warning causes build failure v9.0.0832
Philip H [Sat, 5 Nov 2022 14:05:31 +0000 (14:05 +0000)]
patch 9.0.0832: deprecation warning causes build failure

Problem:    Deprecation warning causes build failure.
Solution:   Suppress deprecation warning. (closes #11503)

2 years agopatch 9.0.0831: compiler warning for redefining HAVE_DUP v9.0.0831
ichizok [Fri, 4 Nov 2022 22:38:11 +0000 (22:38 +0000)]
patch 9.0.0831: compiler warning for redefining HAVE_DUP

Problem:    Compiler warning for redefining HAVE_DUP.
Solution:   Undefine HAVE_DUP if needed. (Ozaki Kiichi, closes #11484)

2 years agopatch 9.0.0830: compiling with Perl on Mac 12 fails v9.0.0830
Philip H [Fri, 4 Nov 2022 22:32:21 +0000 (22:32 +0000)]
patch 9.0.0830: compiling with Perl on Mac 12 fails

Problem:    Compiling with Perl on Mac 12 fails.
Solution:   Suppress infinite warnings. (closes #11499)

2 years agopatch 9.0.0829: wrong counts in macro comment v9.0.0829
zeertzjq [Fri, 4 Nov 2022 21:58:36 +0000 (21:58 +0000)]
patch 9.0.0829: wrong counts in macro comment

Problem:    Wrong counts in macro comment.
Solution:   Update the value counts. (closes #11480)

2 years agopatch 9.0.0828: various typos v9.0.0828
dundargoc [Wed, 2 Nov 2022 13:30:51 +0000 (13:30 +0000)]
patch 9.0.0828: various typos

Problem:    Various typos.
Solution:   Correct typos. (closes #11432)

2 years agopatch 9.0.0827: <Home> key in tmux doesn't work when 'term' set to "xterm" v9.0.0827
Bram Moolenaar [Tue, 1 Nov 2022 22:04:40 +0000 (22:04 +0000)]
patch 9.0.0827: <Home> key in tmux doesn't work when 'term' set to "xterm"

Problem:    The <Home> key in tmux doesn't work when 'term' is set to "xterm".
            (Dominique PellĂ©)
Solution:   Only use '@' in a termcap key entry for "1" when ";" follows.
            (closes #11429)

2 years agopatch 9.0.0826: if 'endofline' is set CTRL-Z may be written in a wrong place v9.0.0826
K.Takata [Tue, 1 Nov 2022 20:36:19 +0000 (20:36 +0000)]
patch 9.0.0826: if 'endofline' is set CTRL-Z may be written in a wrong place

Problem:    If 'endofline' is set the CTRL-Z may be written in the wrong
            place.
Solution:   Write CTRL-Z at the end of the file.  Update the help to explain
            the possibilities better. (Ken Takata, closes #11486)

2 years agopatch 9.0.0825: cannot drag an entry in the tabpage line v9.0.0825
zeertzjq [Tue, 1 Nov 2022 18:35:27 +0000 (18:35 +0000)]
patch 9.0.0825: cannot drag an entry in the tabpage line

Problem:    Cannot drag an entry in the tabpage line.
Solution:   Clear dragwin instead of got_click. (closes #11483,
            closes #11482)

2 years agopatch 9.0.0824: crash when using win_move_separator() in other tab page v9.0.0824
zeertzjq [Tue, 1 Nov 2022 11:44:43 +0000 (11:44 +0000)]
patch 9.0.0824: crash when using win_move_separator() in other tab page

Problem:    Crash when using win_move_separator() in other tab page.
Solution:   Check for valid window in current tab page.
            (closes #11479, closes #11427)

2 years agopatch 9.0.0823: mouse drag test fails v9.0.0823
Bram Moolenaar [Mon, 31 Oct 2022 23:07:11 +0000 (23:07 +0000)]
patch 9.0.0823: mouse drag test fails

Problem:    Mouse drag test fails.
Solution:   Only reset the mouse click flag when actually switching to another
            tab page.  Disable test that keeps failing.

2 years agopatch 9.0.0822: crash when dragging the statusline with a mapping v9.0.0822
Bram Moolenaar [Mon, 31 Oct 2022 13:06:26 +0000 (13:06 +0000)]
patch 9.0.0822: crash when dragging the statusline with a mapping

Problem:    Crash when dragging the statusline with a mapping.
Solution:   Check for valid window pointer. (issue #11427)

2 years agopatch 9.0.0820: memory leak with empty shell command v9.0.0821
Bram Moolenaar [Mon, 31 Oct 2022 12:24:12 +0000 (12:24 +0000)]
patch 9.0.0820: memory leak with empty shell command

Problem:    Memory leak with empty shell command.
Solution:   Free the empty string.

2 years agopatch 9.0.0820: memory leak with empty shell command v9.0.0820
Bram Moolenaar [Sat, 29 Oct 2022 20:53:08 +0000 (21:53 +0100)]
patch 9.0.0820: memory leak with empty shell command

Problem:    Memory leak with empty shell command.
Solution:   Free the empty string.

2 years agopatch 9.0.0819 v9.0.0819
Bram Moolenaar [Sat, 29 Oct 2022 19:01:52 +0000 (20:01 +0100)]
patch 9.0.0819

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 28 Oct 2022 19:47:54 +0000 (20:47 +0100)]
Update runtime files

2 years agoAdd missing entry for the 'endoffile' option.
Bram Moolenaar [Fri, 28 Oct 2022 16:04:21 +0000 (17:04 +0100)]
Add missing entry for the 'endoffile' option.

2 years agoFix wrong struct access for member.
Bram Moolenaar [Fri, 28 Oct 2022 15:51:46 +0000 (16:51 +0100)]
Fix wrong struct access for member.

2 years agoRevert unintended Makefile change
Bram Moolenaar [Fri, 28 Oct 2022 15:47:14 +0000 (16:47 +0100)]
Revert unintended Makefile change

2 years agopatch 9.0.0818 v9.0.0818
Bram Moolenaar [Sat, 22 Oct 2022 11:23:12 +0000 (12:23 +0100)]
patch 9.0.0818

2 years agopatch 9.0.0817 v9.0.0816 v9.0.0817
Bram Moolenaar [Sat, 22 Oct 2022 10:25:19 +0000 (11:25 +0100)]
patch 9.0.0817

2 years agopatch 9.0.0815 v9.0.0814436e5d395f v9.0.0815
Martin Tournoij [Sat, 22 Oct 2022 08:02:56 +0000 (09:02 +0100)]
patch 9.0.0815

2 years agopatch 9.0.0814: aws config files are not recognized 9.0.0813 v9.0.0814436e5d395fd629c8d33b5cf7b373aad007f16851
Justin M. Keyes [Fri, 21 Oct 2022 13:34:25 +0000 (14:34 +0100)]
patch 9.0.0814: aws config files are not recognized

Problem:    Aws config files are not recognized.
Solution:   Use "confini" for aws config files. (Justin M. Keyes,
            closes #11416)

2 years agopatch 9.0.0813: Kitty terminal is not recognized v9.0.0813 v9.0.0814
Bram Moolenaar [Fri, 21 Oct 2022 13:17:24 +0000 (14:17 +0100)]
patch 9.0.0813: Kitty terminal is not recognized

Problem:    Kitty terminal is not recognized.
Solution:   Recognize Kitty by the termresponse and then do not set
            seenModifyOtherKeys, since Kitty doesn't support that.
            (issue #11413)

2 years agopatch 9.0.0812: GUI mouse scrollwheel mappings don't work v9.0.0812
Christopher Plewright [Fri, 21 Oct 2022 12:03:33 +0000 (13:03 +0100)]
patch 9.0.0812: GUI mouse scrollwheel mappings don't work

Problem:    GUI mouse scrollwheel mappings don't work.
Solution:   Add check for "gui.in_use". (Christopher Plewright, closes #11418)

2 years agopatch 9.0.0811: error if :echowin is preceded by a command modifier v9.0.0811
Bram Moolenaar [Fri, 21 Oct 2022 11:05:46 +0000 (12:05 +0100)]
patch 9.0.0811: error if :echowin is preceded by a command modifier

Problem:    Error if :echowin is preceded by a command modifier.
Solution:   Do not give an error for range when there is a modifier.
            (closes #11414)

2 years agopatch 9.0.0810: readblob() returns empty when trying to read too much v9.0.0810
Bram Moolenaar [Fri, 21 Oct 2022 10:25:30 +0000 (11:25 +0100)]
patch 9.0.0810: readblob() returns empty when trying to read too much

Problem:    readblob() returns empty when trying to read too much.
Solution:   Return what is available.

2 years agopatch 9.0.0809: test for job writing to buffer fails v9.0.0809
Bram Moolenaar [Thu, 20 Oct 2022 20:14:19 +0000 (21:14 +0100)]
patch 9.0.0809: test for job writing to buffer fails

Problem:    Test for job writing to buffer fails.
Solution:   Correct w_topline when deleting a buffer line.

2 years agopatch 9.0.0808: jsonnet filetype detection has a typo v9.0.0808
Maxime Brunet [Thu, 20 Oct 2022 19:52:44 +0000 (20:52 +0100)]
patch 9.0.0808: jsonnet filetype detection has a typo

Problem:    jsonnet filetype detection has a typo.
Solution:   Change "libjsonnet" to "libsonnet". (Maxime Brunet, closes #11412)

2 years agopatch 9.0.0807: with 'smoothscroll' typing "0" may not go to the first column v9.0.0807
Bram Moolenaar [Thu, 20 Oct 2022 19:15:47 +0000 (20:15 +0100)]
patch 9.0.0807: with 'smoothscroll' typing "0" may not go to the first column

Problem:    With 'smoothscroll' typing "0" may not go to the first column.
Solution:   Recompute w_cline_height when needed.  Do not scroll up when it
            would move the cursor.

2 years agopatch 9.0.0806: 'langmap' works differently when there are modifiers v9.0.0806
zeertzjq [Thu, 20 Oct 2022 16:59:38 +0000 (17:59 +0100)]
patch 9.0.0806: 'langmap' works differently when there are modifiers

Problem:    'langmap' works differently when there are modifiers.
Solution:   Only apply 'langmap' to a character where modifiers have no
            effect. (closes #11395, closes #11404)

2 years agopatch 9.0.0805: filetype autocmd may cause freed memory access v9.0.0805
Bram Moolenaar [Thu, 20 Oct 2022 15:03:33 +0000 (16:03 +0100)]
patch 9.0.0805: filetype autocmd may cause freed memory access

Problem:    Filetype autocmd may cause freed memory access.
Solution:   Set the quickfix-busy flag while filling the buffer.

2 years agopatch 9.0.0804: crash when trying to divide a number by -1 v9.0.0804
Bram Moolenaar [Thu, 20 Oct 2022 13:17:18 +0000 (14:17 +0100)]
patch 9.0.0804: crash when trying to divide a number by -1

Problem:    Crash when trying to divice the largest negative number by -1.
Solution:   Handle this case specifically.

2 years agopatch 9.0.0803: readblob() cannot read from character device v9.0.0803
K.Takata [Thu, 20 Oct 2022 12:28:51 +0000 (13:28 +0100)]
patch 9.0.0803: readblob() cannot read from character device

Problem:    readblob() cannot read from character device.
Solution:   Use S_ISCHR() to not check the size. (Ken Takata, closes #11407)

2 years agopatch 9.0.0802: MS-Windows: cannot map console mouse scroll events v9.0.0802
Christopher Plewright [Thu, 20 Oct 2022 12:11:15 +0000 (13:11 +0100)]
patch 9.0.0802: MS-Windows: cannot map console mouse scroll events

Problem:    MS-Windows: cannot map console mouse scroll events.
Solution:   Change CSI to K_SPECIAL when checking for a mapping. (Christopher
            Plewright, closes #11410)

2 years agopatch 9.0.0801: the modifyOtherKeys flag is set when it should not v9.0.0801
Bram Moolenaar [Wed, 19 Oct 2022 19:07:09 +0000 (20:07 +0100)]
patch 9.0.0801: the modifyOtherKeys flag is set when it should not

Problem:    The modifyOtherKeys flag is set when it should not.
Solution:   Do not handle special key codes with a modifer value above 16 as a
            modifyOtherKeys value. (issue #11403)

2 years agopatch 9.0.0800: compiler complains about repeated typedef v9.0.0800
Bram Moolenaar [Wed, 19 Oct 2022 18:24:48 +0000 (19:24 +0100)]
patch 9.0.0800: compiler complains about repeated typedef

Problem:    Compiler complains about repeated typedef.
Solution:   Remove one typedef.

2 years agopatch 9.0.0799: in compiled function ->() on next line not recognized v9.0.0799
Bram Moolenaar [Wed, 19 Oct 2022 17:04:49 +0000 (18:04 +0100)]
patch 9.0.0799: in compiled function ->() on next line not recognized

Problem:    In compiled function ->() on next line not recognized.
Solution:   Also check for "(". (closes #11405)

2 years agopatch 9.0.0798: clang format configuration files are not recognized v9.0.0798
Marwin Glaser [Wed, 19 Oct 2022 14:39:49 +0000 (15:39 +0100)]
patch 9.0.0798: clang format configuration files are not recognized

Problem:    Clang format configuration files are not recognized.
Solution:   Use yaml for Clang format configuration files. (Marwin Glaser,
            closes #11398)

2 years agopatch 9.0.0797: order of assert function arguments is reverted v9.0.0797
zeertzjq [Wed, 19 Oct 2022 14:12:54 +0000 (15:12 +0100)]
patch 9.0.0797: order of assert function arguments is reverted

Problem:    Order of assert function arguments is reverted.
Solution:   Swap the arguments. (closes #11399)

2 years agopatch 9.0.0796: mapping test fails in some situations v9.0.0796
Bram Moolenaar [Wed, 19 Oct 2022 13:48:14 +0000 (14:48 +0100)]
patch 9.0.0796: mapping test fails in some situations

Problem:    Mapping test fails in some situations.
Solution:   Find the line with the verbose information.

2 years agopatch 9.0.0795: readblob() always reads the whole file v9.0.0795
K.Takata [Wed, 19 Oct 2022 13:02:40 +0000 (14:02 +0100)]
patch 9.0.0795: readblob() always reads the whole file

Problem:    readblob() always reads the whole file.
Solution:   Add arguments to read part of the file. (Ken Takata,
            closes #11402)

2 years agopatch 9.0.0794: there is no way to find out if modifyOtherKeys has been seen v9.0.0794
Bram Moolenaar [Wed, 19 Oct 2022 12:07:03 +0000 (13:07 +0100)]
patch 9.0.0794: there is no way to find out if modifyOtherKeys has been seen

Problem:    There is no way to find out if an escape sequence with
            modifyOtherKeys has been seen.
Solution:   Add a notice with ":verbose map".

2 years agopatch 9.0.0793: MS-Windows: mouse scroll events only work with the dll v9.0.0793
Christopher Plewright [Wed, 19 Oct 2022 10:54:46 +0000 (11:54 +0100)]
patch 9.0.0793: MS-Windows: mouse scroll events only work with the dll

Problem:    MS-Windows: mouse scroll events only work with the dll.
Solution:   Accept CSI codes for MS-Windows without the GUI. (Christopher
            Plewright, closes #11401)

2 years agopatch 9.0.0792: MS-Windows: compiler complains about unused function v9.0.0792
Bram Moolenaar [Tue, 18 Oct 2022 20:48:14 +0000 (21:48 +0100)]
patch 9.0.0792: MS-Windows: compiler complains about unused function

Problem:    MS-Windows: compiler complains about unused function.
Solution:   Add #ifdef. (John Marriott)

2 years agopatch 9.0.0791: at the hit-Enter prompt the End and Home keys may not work v9.0.0791
Trygve Aaberge [Tue, 18 Oct 2022 18:22:25 +0000 (19:22 +0100)]
patch 9.0.0791: at the hit-Enter prompt the End and Home keys may not work

Problem:    At the hit-Enter prompt the End and Home keys may not work.
Solution:   Use the special "@" code for End and Home, like it was done for
            the cursor keys in patch 8.2.2246. (Trygve Aaberge, closes #11396)

2 years agopatch 9.0.0790: test for dummy buffer does not always produce the E86 error v9.0.0790
Bram Moolenaar [Tue, 18 Oct 2022 16:25:03 +0000 (17:25 +0100)]
patch 9.0.0790: test for dummy buffer does not always produce the E86 error

Problem:    Test for dummy buffer does not always produce the E86 error.
Solution:   Do not check if the error is produced.

2 years agopatch 9.0.0789: dummy buffer ends up in a window v9.0.0789
Bram Moolenaar [Tue, 18 Oct 2022 16:05:54 +0000 (17:05 +0100)]
patch 9.0.0789: dummy buffer ends up in a window

Problem:    Dummy buffer ends up in a window.
Solution:   Disallow navigating to a dummy buffer.

2 years agopatch 9.0.0788: ModeChanged autocmd not executed when Visual ends with CTRL-C v9.0.0788
Bram Moolenaar [Tue, 18 Oct 2022 14:10:11 +0000 (15:10 +0100)]
patch 9.0.0788: ModeChanged autocmd not executed when Visual ends with CTRL-C

Problem:    ModeChanged autocmd not executed when Visual mode is ended with
            CTRL-C.
Solution:   Do not trigger the autocmd when got_int is set. (closes #11394)