]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0596: CI on Mac M1 has the channel feature disabled v9.0.0596
Philip H [Mon, 26 Sep 2022 19:17:26 +0000 (20:17 +0100)]
patch 9.0.0596: CI on Mac M1 has the channel feature disabled

Problem:    CI on Mac M1 has the channel feature disabled.
Solution:   Include the channel feature.

2 years agopatch 9.0.0595: extra newline in messages after a verbose shell message v9.0.0595
Bram Moolenaar [Mon, 26 Sep 2022 18:50:44 +0000 (19:50 +0100)]
patch 9.0.0595: extra newline in messages after a verbose shell message

Problem:    Extra newline in messages after a verbose shell message.
Solution:   Output the newline with msg_putchar_attr(). (closes #11233)
            Make it possible to filter a screendump before comparing it.

2 years agopatch 9.0.0594: Makefile error message causes a shell error v9.0.0594
dundargoc [Mon, 26 Sep 2022 15:02:48 +0000 (16:02 +0100)]
patch 9.0.0594: Makefile error message causes a shell error

Problem:    Makefile error message causes a shell error.
Solution:   Put the message in single quotes. (closes #11232)

2 years agopatch 9.0.0593: CI actions have too many permissions v9.0.0593
Alex [Mon, 26 Sep 2022 14:52:46 +0000 (15:52 +0100)]
patch 9.0.0593: CI actions have too many permissions

Problem:    CI actions have too many permissions.
Solution:   Restrict permissions to what is required. (closes #11223)

2 years agopatch 9.0.0592: display not cleared when scrolling back in messages v9.0.0592
Bram Moolenaar [Mon, 26 Sep 2022 14:19:56 +0000 (15:19 +0100)]
patch 9.0.0592: display not cleared when scrolling back in messages

Problem:    Display not cleared when scrolling back in messages, a background
            color is set and t_ut is empty.
Solution:   Clear to the end of the display if needed. (closes #8973)

2 years agopatch 9.0.0591: message window popup shows on only one tab page v9.0.0591
Bram Moolenaar [Mon, 26 Sep 2022 11:57:11 +0000 (12:57 +0100)]
patch 9.0.0591: message window popup shows on only one tab page

Problem:    Message window popup shows on only one tab page. (Naruhiko
            Nishino)
Solution:   Show the message window popup on all tab pages. (closes #11231)

2 years agopatch 9.0.0590: after exiting Insert mode spelling not checked in next line v9.0.0590
Bram Moolenaar [Sun, 25 Sep 2022 19:58:30 +0000 (20:58 +0100)]
patch 9.0.0590: after exiting Insert mode spelling not checked in next line

Problem:    After exiting Insert mode spelling is not checked in the next
            line.
Solution:   When spelling is enabled redraw the next line after exiting Insert
            mode in case the spell highlight needs updating.

2 years agopatch 9.0.0589: on AmigaOS4 the pid is available but the task address is used v9.0.0589
=?UTF-8?q?Ola=20S=C3=B6der?= [Sun, 25 Sep 2022 19:12:21 +0000 (20:12 +0100)]
patch 9.0.0589: on AmigaOS4 the pid is available but the task address is used

Problem:    On AmigaOS4 the pid is available but the task address is used.
Solution:   Use getpid().  (Ola Söder, closes #11224)

2 years agopatch 9.0.0588: MorphOS build is broken v9.0.0588
=?UTF-8?q?Ola=20S=C3=B6der?= [Sun, 25 Sep 2022 18:36:38 +0000 (19:36 +0100)]
patch 9.0.0588: MorphOS build is broken

Problem:    MorphOS build is broken.
Solution:   Add "-lm" to LDFLAGS and "-noixemul" to CFLAGS. (Ola Söder,
            closes #11222)

2 years agopatch 9.0.0587: Unicode tables are outdated v9.0.0587
Christian Brabandt [Sun, 25 Sep 2022 18:25:51 +0000 (19:25 +0100)]
patch 9.0.0587: Unicode tables are outdated

Problem:    Unicode tables are outdated.
Solution:   Update to Unicode release 15. (Christian Brabandt, closes #11220)

2 years agopatch 9.0.0586: missing change in test v9.0.0586
Bram Moolenaar [Sun, 25 Sep 2022 17:44:03 +0000 (18:44 +0100)]
patch 9.0.0586: missing change in test

Problem:    Missing change in test.
Solution:   Add the test change.

2 years agopatch 9.0.0585: when long message test fails the error message is not visible v9.0.0585
Bram Moolenaar [Sun, 25 Sep 2022 17:41:14 +0000 (18:41 +0100)]
patch 9.0.0585: when long message test fails the error message is not visible

Problem:    When long message test fails the error message is not visible.
Solution:   Dump more lines.

2 years agopatch 9.0.0584: cscope test with wrong executable name fails v9.0.0584
Bram Moolenaar [Sun, 25 Sep 2022 16:03:26 +0000 (17:03 +0100)]
patch 9.0.0584: cscope test with wrong executable name fails

Problem:    Cscope test with wrong executable name fails.
Solution:   Use /bin/sh to execute the command. (Yegappan Lakshmanan)

2 years agopatch 9.0.0583: only recognizing .m3u8 files is inconsistent v9.0.0583
Bram Moolenaar [Sun, 25 Sep 2022 11:35:49 +0000 (12:35 +0100)]
patch 9.0.0583: only recognizing .m3u8 files is inconsistent

Problem:    Only recognizing .m3u8 files is inconsistent.
Solution:   Also matc .m3u files. (issue #11204)

2 years agopatch 9.0.0582: channel cwd test fails on Cirrus CI v9.0.0582
Bram Moolenaar [Sun, 25 Sep 2022 10:21:04 +0000 (11:21 +0100)]
patch 9.0.0582: channel cwd test fails on Cirrus CI

Problem:    Channel cwd test fails on Cirrus CI.
Solution:   Also remove /private from the expected directory.

2 years agopatch 9.0.0581: adding a character for incsearch fails at end of line v9.0.0581
Bram Moolenaar [Sat, 24 Sep 2022 20:06:39 +0000 (21:06 +0100)]
patch 9.0.0581: adding a character for incsearch fails at end of line

Problem:    Adding a character for incsearch fails at end of line.
Solution:   Only check cursor line number.

2 years agopatch 9.0.0580: no CI running for MacOS on M1 v9.0.0580
Philip H [Sat, 24 Sep 2022 18:32:11 +0000 (19:32 +0100)]
patch 9.0.0580: no CI running for MacOS on M1

Problem:    No CI running for MacOS on M1.
Solution:   Add a cirrus CI task. (closes #11203)

2 years agopatch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer v9.0.0579
Bram Moolenaar [Sat, 24 Sep 2022 18:20:30 +0000 (19:20 +0100)]
patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer

Problem:    Using freed memory when 'tagfunc' wipes out buffer that holds
            'complete'.
Solution:   Make a copy of the option.  Make sure cursor position is valid.

2 years agopatch 9.0.0578: one timer test fails on Mac M1 v9.0.0578
Bram Moolenaar [Sat, 24 Sep 2022 16:44:22 +0000 (17:44 +0100)]
patch 9.0.0578: one timer test fails on Mac M1

Problem:    One timer test fails on Mac M1.
Solution:   Skip the test on Mac M1.

2 years agopatch 9.0.0577: buffer underflow with unexpected :finally v9.0.0577
Bram Moolenaar [Sat, 24 Sep 2022 16:24:12 +0000 (17:24 +0100)]
patch 9.0.0577: buffer underflow with unexpected :finally

Problem:    Buffer underflow with unexpected :finally.
Solution:   Check CSF_TRY can be found.

2 years agopatch 9.0.0576: unused loop variables v9.0.0576
dundargoc [Sat, 24 Sep 2022 14:55:27 +0000 (15:55 +0100)]
patch 9.0.0576: unused loop variables

Problem:    Unused loop variables.
Solution:   Use a while loop instead. (closes #11214)

2 years agopatch 9.0.0575: the getchar() function behaves strangely with bracketed paste v9.0.0575
Bram Moolenaar [Sat, 24 Sep 2022 14:36:35 +0000 (15:36 +0100)]
patch 9.0.0575: the getchar() function behaves strangely with bracketed paste

Problem:    The getchar() function behaves strangely with bracketed paste.
Solution:   Do not handle paste-start in getchar(). (issue #11172)

2 years agopatch 9.0.0574: timer garbage collect test hangs on Mac M1 v9.0.0574
Bram Moolenaar [Sat, 24 Sep 2022 13:49:07 +0000 (14:49 +0100)]
patch 9.0.0574: timer garbage collect test hangs on Mac M1

Problem:    Timer garbage collect test hangs on Mac M1.
Solution:   Properly check for Mac M1 and skip the test.

2 years agopatch 9.0.0573: outdated dependencies go unnoticed v9.0.0573
Philip H [Sat, 24 Sep 2022 13:35:21 +0000 (14:35 +0100)]
patch 9.0.0573: outdated dependencies go unnoticed

Problem:    Outdated dependencies go unnoticed.
Solution:   Use github Dependabot. (closes #11213)

2 years agopatch 9.0.0572: insert complete tests leave a mapping behind v9.0.0572
zeertzjq [Sat, 24 Sep 2022 13:08:23 +0000 (14:08 +0100)]
patch 9.0.0572: insert complete tests leave a mapping behind

Problem:    Insert complete tests leave a mapping behind.
Solution:   Use a buffer-local mapping. (closes #11211)

2 years agopatch 9.0.0571: MS-Windows: CTRL-C can make Vim exit v9.0.0571
Bram Moolenaar [Sat, 24 Sep 2022 12:10:04 +0000 (13:10 +0100)]
patch 9.0.0571: MS-Windows: CTRL-C can make Vim exit

Problem:    MS-Windows: CTRL-C can make Vim exit.
Solution:   Check the not-a-term argument.

2 years agopatch 9.0.0570: CI for Windows is still using codecov action 3.1.0 v9.0.0570
Philip H [Sat, 24 Sep 2022 12:00:53 +0000 (13:00 +0100)]
patch 9.0.0570: CI for Windows is still using codecov action 3.1.0

Problem:    CI for Windows is still using codecov action 3.1.0.
Solution:   Use action 3.1.1. (closes #11212)

2 years agopatch 9.0.0569: cannot easily get out when using "vim file | grep word" v9.0.0569
Bram Moolenaar [Sat, 24 Sep 2022 11:50:45 +0000 (12:50 +0100)]
patch 9.0.0569: cannot easily get out when using "vim file | grep word"

Problem:    Cannot easily get out when using "vim file | grep word".
Solution:   Without changes let CTRL-C exit Vim.  Otherwise give a message on
            stderr. (closes #11209)

2 years agopatch 9.0.0568: autocmd code is indented more than needed v9.0.0568
Yegappan Lakshmanan [Sat, 24 Sep 2022 10:30:41 +0000 (11:30 +0100)]
patch 9.0.0568: autocmd code is indented more than needed

Problem:    Autocmd code is indented more than needed.
Solution:   Break out sooner. (Yegappan Lakshmanan, closes #11208)
            Also in user function code.

2 years agopatch 9.0.0567: 'completeopt' "longest" is not used for complete() v9.0.0567
bfredl [Sat, 24 Sep 2022 10:17:51 +0000 (11:17 +0100)]
patch 9.0.0567: 'completeopt' "longest" is not used for complete()

Problem:    'completeopt' "longest" is not used for complete().
Solution:   Also use "longest" for complete(). (Bjorn Linse, closes #11206)

2 years agopatch 9.0.0566: Nim files are not recognized v9.0.0566
Nbiba Bedis [Sat, 24 Sep 2022 10:04:38 +0000 (11:04 +0100)]
patch 9.0.0566: Nim files are not recognized

Problem:    Nim files are not recognized.
Solution:   Add patterns for Nim files. (Nbiba Bedis, closes #11205)

2 years agopatch 9.0.0565: cscope test causes problems with test timeout timer v9.0.0565
Bram Moolenaar [Fri, 23 Sep 2022 22:19:18 +0000 (23:19 +0100)]
patch 9.0.0565: cscope test causes problems with test timeout timer

Problem:    Cscope test causes problems when code for test timeout timer is
            included (even when commented out).
Solution:   Disable part of the cscope test for now.

2 years agopatch 9.0.0564: a few tests keep failing on MacOS M1 v9.0.0564
Bram Moolenaar [Fri, 23 Sep 2022 20:26:39 +0000 (21:26 +0100)]
patch 9.0.0564: a few tests keep failing on MacOS M1

Problem:    A few tests keep failing on MacOS M1.
Solution:   Add a test check CheckNotMacM1.  Fix timer tests.

2 years agopatch 9.0.0563: timer_info() test fails v9.0.0563
Bram Moolenaar [Fri, 23 Sep 2022 20:01:54 +0000 (21:01 +0100)]
patch 9.0.0563: timer_info() test fails

Problem:    Timer_info() test fails.
Solution:   Ignore test timeout timer.  Don't use test_null_job() when not
            available.

2 years agopatch 9.0.0562: HSL playlist files are not recognized v9.0.0562
=?UTF-8?q?Beno=C3=AEt=20Ryder?= [Fri, 23 Sep 2022 19:33:39 +0000 (20:33 +0100)]
patch 9.0.0562: HSL playlist files are not recognized

Problem:    HSL playlist files are not recognized.
Solution:   Add a pattern to recognize HSL palylist files. (Benoît Ryder,
            closes #11204)

2 years agopatch 9.0.0561: when a test gets stuck it just hangs forever v9.0.0561
Bram Moolenaar [Fri, 23 Sep 2022 19:25:55 +0000 (20:25 +0100)]
patch 9.0.0561: when a test gets stuck it just hangs forever

Problem:    When a test gets stuck it just hangs forever.
Solution:   Set a timeout of 30 seconds.

2 years agopatch 9.0.0560: elapsed time since testing started is not visible v9.0.0560
Bram Moolenaar [Fri, 23 Sep 2022 18:42:31 +0000 (19:42 +0100)]
patch 9.0.0560: elapsed time since testing started is not visible

Problem:    Elapsed time since testing started is not visible.
Solution:   Show the elapsed time while running tests.

2 years agopatch 9.0.0559: timer test may get stuck at hit-enter prompt v9.0.0559
Bram Moolenaar [Fri, 23 Sep 2022 17:22:21 +0000 (18:22 +0100)]
patch 9.0.0559: timer test may get stuck at hit-enter prompt

Problem:    Timer test may get stuck at hit-enter prompt.
Solution:   Feed some more characters.

2 years agopatch 9.0.0558: Coverity warns for possibly using NULL pointer v9.0.0558
Bram Moolenaar [Fri, 23 Sep 2022 15:37:18 +0000 (16:37 +0100)]
patch 9.0.0558: Coverity warns for possibly using NULL pointer

Problem:    Coverity warns for possibly using NULL pointer.
Solution:   Only use "evalarg" when not NULL.

2 years agopatch 9.0.0557: valgrind reports possibly leaked memory v9.0.0557
Bram Moolenaar [Fri, 23 Sep 2022 15:11:37 +0000 (16:11 +0100)]
patch 9.0.0557: valgrind reports possibly leaked memory

Problem:    Valgrind reports possibly leaked memory.
Solution:   Move the problematic test function to the "fails" test file to
            avoid obscuring real memory leaks.

2 years agopatch 9.0.0556: leaking memory with nested functions v9.0.0556
Bram Moolenaar [Fri, 23 Sep 2022 12:27:57 +0000 (13:27 +0100)]
patch 9.0.0556: leaking memory with nested functions

Problem:    Leaking memory with nested functions.
Solution:   Free saved pointer.

2 years agopatch 9.0.0555: scrolling with 'nosplitscroll' in callback changing curwin v9.0.0555
Luuk van Baal [Fri, 23 Sep 2022 11:57:09 +0000 (12:57 +0100)]
patch 9.0.0555: scrolling with 'nosplitscroll' in callback changing curwin

Problem:    Scrolling with 'nosplitscroll' in callback changing curwin.
Solution:   Invalidate w_cline_row in the right place. (Luuk van Baal,
            closes #11185)

2 years agopatch 9.0.0554: using freed memory when command follows lambda v9.0.0554
Bram Moolenaar [Fri, 23 Sep 2022 11:44:25 +0000 (12:44 +0100)]
patch 9.0.0554: using freed memory when command follows lambda

Problem:    Using freed memory when command follows lambda.
Solution:   Don't free what is still in use. (closes #11201)

2 years agopatch 9.0.0553: no error for "|" after "{" in lamda v9.0.0553
Bram Moolenaar [Thu, 22 Sep 2022 21:03:14 +0000 (22:03 +0100)]
patch 9.0.0553: no error for "|" after "{" in lamda

Problem:    No error for "|" after "{" in lamda.
Solution:   Check for invalid "|". (closes #11199)

2 years agopatch 9.0.0552: crash when using NUL in buffer that uses :source v9.0.0552
Bram Moolenaar [Thu, 22 Sep 2022 20:35:19 +0000 (21:35 +0100)]
patch 9.0.0552: crash when using NUL in buffer that uses :source

Problem:    Crash when using NUL in buffer that uses :source.
Solution:   Don't get a next line when skipping over NL.

2 years agopatch 9.0.0551: mode message is delayed when :echowin was used v9.0.0551
Bram Moolenaar [Thu, 22 Sep 2022 18:02:38 +0000 (19:02 +0100)]
patch 9.0.0551: mode message is delayed when :echowin was used

Problem:    Mode message is delayed when :echowin was used. (Maxim Kim)
Solution:   Save and restore msg_didout in :echowin. (closes #11193)

2 years agopatch 9.0.0550: crash when closing a tabpage and buffer is NULL v9.0.0550
zeertzjq [Thu, 22 Sep 2022 17:08:37 +0000 (18:08 +0100)]
patch 9.0.0550: crash when closing a tabpage and buffer is NULL

Problem:    Crash when closing a tabpage and buffer is NULL.
Solution:   Adjust how autocommands are triggered when closing a window.
            (closes #11198, closes #11197)

2 years agopatch 9.0.0549: duplicated code in calling a :def function v9.0.0549
Bram Moolenaar [Thu, 22 Sep 2022 16:34:01 +0000 (17:34 +0100)]
patch 9.0.0549: duplicated code in calling a :def function

Problem:    Duplicated code in calling a :def function.
Solution:   Simplify the code.

2 years agopatch 9.0.0548: reduce() with a compiled lambda could be faster v9.0.0548
Bram Moolenaar [Thu, 22 Sep 2022 16:07:00 +0000 (17:07 +0100)]
patch 9.0.0548: reduce() with a compiled lambda could be faster

Problem:    reduce() with a compiled lambda could be faster.
Solution:   Call eval_expr_typval() instead of call_func() directly.

2 years agopatch 9.0.0547: looping over empty out_loop[] entries v9.0.0547
Bram Moolenaar [Thu, 22 Sep 2022 15:36:25 +0000 (16:36 +0100)]
patch 9.0.0547: looping over empty out_loop[] entries

Problem:    Looping over empty out_loop[] entries.
Solution:   Store the array size.

2 years agopatch 9.0.0546: supporting Ruby 1.8 makes code complicated v9.0.0546
K.Takata [Thu, 22 Sep 2022 15:12:06 +0000 (16:12 +0100)]
patch 9.0.0546: supporting Ruby 1.8 makes code complicated

Problem:    Supporting Ruby 1.8 makes code complicated.
Solution:   Drop Ruby 1.8 support, it is ancient. (Ken Takata, closes #11195)

2 years agopatch 9.0.0545: when a test is slow and CI times out there is no time info v9.0.0545
Bram Moolenaar [Thu, 22 Sep 2022 14:13:00 +0000 (15:13 +0100)]
patch 9.0.0545: when a test is slow and CI times out there is no time info

Problem:    When a test is slow and CI times out there is no time info.
Solution:   Add the elapsed time to the "Executing" message.

2 years agopatch 9.0.0544: minor issues with setting a string option v9.0.0544
zeertzjq [Thu, 22 Sep 2022 12:57:32 +0000 (13:57 +0100)]
patch 9.0.0544: minor issues with setting a string option

Problem:    Minor issues with setting a string option.
Solution:   Adjust the code, add a test. (closes #11192)

2 years agopatch 9.0.0543: insufficient testing for assert and test functions v9.0.0543
Yegappan Lakshmanan [Thu, 22 Sep 2022 12:44:00 +0000 (13:44 +0100)]
patch 9.0.0543: insufficient testing for assert and test functions

Problem:    Insufficient testing for assert and test functions.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #11190)

2 years agopatch 9.0.0542: MSVC build still has support for 2012 edition v9.0.0542
Bram Moolenaar [Thu, 22 Sep 2022 12:17:30 +0000 (13:17 +0100)]
patch 9.0.0542: MSVC build still has support for 2012 edition

Problem:    MSVC build still has support for 2012 edition.
Solution:   Drop MSVC 2012 support. (Ken Takata, closes #11191)

2 years agopatch 9.0.0541: terminal pwd test fails with a very long path name v9.0.0541
Bram Moolenaar [Thu, 22 Sep 2022 11:57:06 +0000 (12:57 +0100)]
patch 9.0.0541: terminal pwd test fails with a very long path name

Problem:    Terminal pwd test fails with a very long path name.
Solution:   Join two lines.

2 years agopatch 9.0.0540: assigning stack variable to argument confuses Coverity v9.0.0540
Bram Moolenaar [Thu, 22 Sep 2022 11:48:58 +0000 (12:48 +0100)]
patch 9.0.0540: assigning stack variable to argument confuses Coverity

Problem:    Assigning stack variable to argument confuses Coverity.
Solution:   Use a local pointer, also makes the code simpler.

2 years agopatch 9.0.0539: long message test can be flaky v9.0.0539
Bram Moolenaar [Thu, 22 Sep 2022 11:01:34 +0000 (12:01 +0100)]
patch 9.0.0539: long message test can be flaky

Problem:    Long message test can be flaky.
Solution:   Wait for more prompt instead of ruler.

2 years agopatch 9.0.0538: manually deleting test temp files v9.0.0538
Bram Moolenaar [Wed, 21 Sep 2022 21:00:03 +0000 (22:00 +0100)]
patch 9.0.0538: manually deleting test temp files

Problem:    Manually deleting test temp files.
Solution:   Add the 'D' flag to writefile().

2 years agopatch 9.0.0537: the do_set() function is much too long v9.0.0537
Bram Moolenaar [Wed, 21 Sep 2022 20:12:53 +0000 (21:12 +0100)]
patch 9.0.0537: the do_set() function is much too long

Problem:    The do_set() function is much too long.
Solution:   Move setting of a string option to a separate function.

2 years agopatch 9.0.0536: CI: codecov action update available v9.0.0536
Philip H [Wed, 21 Sep 2022 18:41:54 +0000 (19:41 +0100)]
patch 9.0.0536: CI: codecov action update available

Problem:    CI: codecov action update available.
Solution:   Update Codecov 3.1.0 to 3.3.1. (closes #11188)

2 years agopatch 9.0.0535: closure gets wrong value in for loop with two loop variables v9.0.0535
Bram Moolenaar [Wed, 21 Sep 2022 17:59:14 +0000 (18:59 +0100)]
patch 9.0.0535: closure gets wrong value in for loop with two loop variables

Problem:    Closure gets wrong value in for loop with two loop variables.
Solution:   Correctly compute the number of loop variables to clear.

2 years agopatch 9.0.0534: line number is displayed at virtual text "above" v9.0.0534
Bram Moolenaar [Wed, 21 Sep 2022 15:38:13 +0000 (16:38 +0100)]
patch 9.0.0534: line number is displayed at virtual text "above"

Problem:    Line number is displayed at virtual text "above".
Solution:   Show the line number at the text line.

2 years agopatch 9.0.0533: the win_line() function is much too long v9.0.0533
Bram Moolenaar [Wed, 21 Sep 2022 14:41:28 +0000 (15:41 +0100)]
patch 9.0.0533: the win_line() function is much too long

Problem:    The win_line() function is much too long.
Solution:   Move code to separate functions.

2 years agopatch 9.0.0532: edit test is flaky when run under valgrind v9.0.0532
Bram Moolenaar [Wed, 21 Sep 2022 14:13:52 +0000 (15:13 +0100)]
patch 9.0.0532: edit test is flaky when run under valgrind

Problem:    Edit test is flaky when run under valgrind.
Solution:   Send some text to the terminal to trigger a redraw.

2 years agopatch 9.0.0531: the win_line() function is much too long v9.0.0531
Bram Moolenaar [Wed, 21 Sep 2022 13:34:28 +0000 (14:34 +0100)]
patch 9.0.0531: the win_line() function is much too long

Problem:    The win_line() function is much too long.
Solution:   Move code to separate functions.

2 years agopatch 9.0.0530: using freed memory when autocmd changes mark v9.0.0530
Bram Moolenaar [Wed, 21 Sep 2022 12:07:22 +0000 (13:07 +0100)]
patch 9.0.0530: using freed memory when autocmd changes mark

Problem:    Using freed memory when autocmd changes mark.
Solution:   Copy the mark before editing another buffer.

2 years agopatch 9.0.0529: appveyor setup contains outdated lines v9.0.0529
K.Takata [Wed, 21 Sep 2022 11:19:44 +0000 (12:19 +0100)]
patch 9.0.0529: appveyor setup contains outdated lines

Problem:    Appveyor setup contains outdated lines.
Solution:   Remove outdated lines. (Ken Takata, closes #11182)

2 years agopatch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions v9.0.0528
K.Takata [Wed, 21 Sep 2022 10:56:41 +0000 (11:56 +0100)]
patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions

Problem:    MS-Windows: no batch files for more recent MSVC versions.
Solution:   Add batch files for 2017, 2019 and 2022. (Ken Takata,
            closes #11184)

2 years agopatch 9.0.0527: long sign text may overflow buffer v9.0.0527
Bram Moolenaar [Wed, 21 Sep 2022 10:21:57 +0000 (11:21 +0100)]
patch 9.0.0527: long sign text may overflow buffer

Problem:    Long sign text may overflow buffer.
Solution:   Use a larger buffer.  Prevent for overflow.

2 years agopatch 9.0.0526: MS-Windows: still some support for XP and old compilers v9.0.0526
K.Takata [Wed, 21 Sep 2022 09:51:13 +0000 (10:51 +0100)]
patch 9.0.0526: MS-Windows: still some support for XP and old compilers

Problem:    MS-Windows: still some support for XP and old compilers.
Solution:   Remove XP support and mention of old compilers. (Ken Takata,
            closes #11183)

2 years agopatch 9.0.0525: manually deleting temp test files v9.0.0525
Bram Moolenaar [Tue, 20 Sep 2022 21:01:33 +0000 (22:01 +0100)]
patch 9.0.0525: manually deleting temp test files

Problem:    Manually deleting temp test files.
Solution:   Add the 'D' flag to writefile().

2 years agopatch 9.0.0524: build instructions for MS-Windows are outdated v9.0.0524
Bram Moolenaar [Tue, 20 Sep 2022 20:23:12 +0000 (21:23 +0100)]
patch 9.0.0524: build instructions for MS-Windows are outdated

Problem:    Build instructions for MS-Windows are outdated.
Solution:   Remove instructions for old MSVC versions.

2 years agopatch 9.0.0523: more compiler warnings for arguments in small version v9.0.0523
Bram Moolenaar [Tue, 20 Sep 2022 20:09:42 +0000 (21:09 +0100)]
patch 9.0.0523: more compiler warnings for arguments in small version

Problem:    more compiler warnings for arguments in small version
Solution:   Adjust #ifdefs.

2 years agopatch 9.0.0522: build fails on Appveyor v9.0.0522
Bram Moolenaar [Tue, 20 Sep 2022 19:52:33 +0000 (20:52 +0100)]
patch 9.0.0522: build fails on Appveyor

Problem:    Build fails on Appveyor.
Solution:   Select Visual Studio 2015 for the build tools.

2 years agopatch 9.0.0521: compiler warns for unused argument in small version v9.0.0521
Bram Moolenaar [Tue, 20 Sep 2022 19:25:36 +0000 (20:25 +0100)]
patch 9.0.0521: compiler warns for unused argument in small version

Problem:    Compiler warns for unused argument in small version.
Solution:   Add UNUSED.

2 years agopatch 9.0.0520: declaring a loop variable at the start of a block is clumsy v9.0.0520
Bram Moolenaar [Tue, 20 Sep 2022 18:04:32 +0000 (19:04 +0100)]
patch 9.0.0520: declaring a loop variable at the start of a block is clumsy

Problem:    Declaring a loop variable at the start of a block is clumsy.
Solution:   Declare the variable inside the loop in a few places to see if
            this works.

2 years agopatch 9.0.0519: the win_line() function is much too long v9.0.0519
Bram Moolenaar [Tue, 20 Sep 2022 17:59:30 +0000 (18:59 +0100)]
patch 9.0.0519: the win_line() function is much too long

Problem:    The win_line() function is much too long.
Solution:   Move the code to draw the line number to a separate function.

2 years agopatch 9.0.0518: virtual text highlight starts too early with 'nowrap' v9.0.0518
Bram Moolenaar [Tue, 20 Sep 2022 16:57:53 +0000 (17:57 +0100)]
patch 9.0.0518: virtual text highlight starts too early with 'nowrap'

Problem:    Virtual text highlight starts too early with 'nowrap' and 'number'
            set.
Solution:   Add the offset to the attribute skip count. (issue #11138)

2 years agopatch 9.0.0517: when at the command line :redrawstatus does not work well v9.0.0517
zeertzjq [Tue, 20 Sep 2022 16:12:13 +0000 (17:12 +0100)]
patch 9.0.0517: when at the command line :redrawstatus does not work well

Problem:    When at the command line :redrawstatus does not work well.
Solution:   Only update the statuslines instead of the screen. (closes #11180)

2 years agopatch 9.0.0516: virtual text "above" highlights gap after it v9.0.0516
Bram Moolenaar [Tue, 20 Sep 2022 15:15:30 +0000 (16:15 +0100)]
patch 9.0.0516: virtual text "above" highlights gap after it

Problem:    Virtual text "above" highlights gap after it.
Solution:   Do not highlight the gap. (closes #11138)

2 years agopatch 9.0.0515: virtual text highlight starts too early when 'number' is set v9.0.0515
Bram Moolenaar [Tue, 20 Sep 2022 14:59:22 +0000 (15:59 +0100)]
patch 9.0.0515: virtual text highlight starts too early when 'number' is set

Problem:    Virtual text highlight starts too early when 'number' is set.
Solution:   Set column offset when wrapping. (issue #11138)

2 years agopatch 9.0.0514: terminal test sometimes hangs v9.0.0514
Bram Moolenaar [Tue, 20 Sep 2022 14:10:31 +0000 (15:10 +0100)]
patch 9.0.0514: terminal test sometimes hangs

Problem:    Terminal test sometimes hangs.
Solution:   Add a bit more information to the test output. (issue #11179)

2 years agopatch 9.0.0513: may not be able to use a pattern ad the debug prompt v9.0.0513
Bram Moolenaar [Tue, 20 Sep 2022 12:51:25 +0000 (13:51 +0100)]
patch 9.0.0513: may not be able to use a pattern ad the debug prompt

Problem:    May not be able to use a pattern ad the debug prompt.
Solution:   Temporarily disable the timeout. (closes #11164)

2 years agopatch 9.0.0512: cannot redraw the status lines when editing a command v9.0.0512
zeertzjq [Tue, 20 Sep 2022 12:17:57 +0000 (13:17 +0100)]
patch 9.0.0512: cannot redraw the status lines when editing a command

Problem:    Cannot redraw the status lines when editing a command.
Solution:   Only postpone the redraw when messages have scrolled.
            (closes #11170)

2 years agopatch 9.0.0511: unnecessary scrolling for message of only one line v9.0.0511
zeertzjq [Tue, 20 Sep 2022 11:45:15 +0000 (12:45 +0100)]
patch 9.0.0511: unnecessary scrolling for message of only one line

Problem:    Unnecessary scrolling for message of only one line.
Solution:   Only set msg_scroll when needed. (closes #11178)

2 years agopatch 9.0.0510: Chatito files are not recognized v9.0.0510
ObserverOfTime [Tue, 20 Sep 2022 11:02:28 +0000 (12:02 +0100)]
patch 9.0.0510: Chatito files are not recognized

Problem:    Chatito files are not recognized.
Solution:   Add a pattern for Chatito files. (closes #11174)

2 years agopatch 9.0.0509: confusing error for "saveas" command with "nofile" buffer v9.0.0509
Bram Moolenaar [Tue, 20 Sep 2022 10:49:10 +0000 (11:49 +0100)]
patch 9.0.0509: confusing error for "saveas" command with "nofile" buffer

Problem:    Confusing error for "saveas" command with "nofile" buffer.
Solution:   Give a clearer error message. (closes #11171)

2 years agopatch 9.0.0508: when the channel test fails there is no clue why v9.0.0508
K.Takata [Tue, 20 Sep 2022 10:04:47 +0000 (11:04 +0100)]
patch 9.0.0508: when the channel test fails there is no clue why

Problem:    When the channel test fails there is no clue why.
Solution:   Add info about the job status. (Ken Takata, closes #11175)

2 years agopatch 9.0.0507: cmdline cleared when using :redrawstatus in CmdlineChanged v9.0.0507
Bram Moolenaar [Mon, 19 Sep 2022 20:16:12 +0000 (21:16 +0100)]
patch 9.0.0507: cmdline cleared when using :redrawstatus in CmdlineChanged

Problem:    Command line cleared when using :redrawstatus in CmdlineChanged
            autocommand event.
Solution:   Postpone the redraw. (closes #11162)

2 years agopatch 9.0.0506: line number argument for :badd does not work v9.0.0506
Bram Moolenaar [Mon, 19 Sep 2022 17:20:08 +0000 (18:20 +0100)]
patch 9.0.0506: line number argument for :badd does not work

Problem:    Line number argument for :badd does not work.
Solution:   Set the last cursor position in the new buffer. (closes #11161)

2 years agopatch 9.0.0505: various problems with 'nosplitscroll' v9.0.0505
Luuk van Baal [Mon, 19 Sep 2022 15:45:29 +0000 (16:45 +0100)]
patch 9.0.0505: various problems with 'nosplitscroll'

Problem:    Various problems with 'nosplitscroll'.
Solution:   Fix 'nosplitscroll' problems. (Luuk van Baal, closes #11166)

2 years agopatch 9.0.0504: still a build failure v9.0.0504
Bram Moolenaar [Mon, 19 Sep 2022 15:08:04 +0000 (16:08 +0100)]
patch 9.0.0504: still a build failure

Problem:    still a Build failure.
Solution:   Add another missing changes.  Avoid compiler warning.

2 years agopatch 9.0.0503: build failure v9.0.0503
Bram Moolenaar [Mon, 19 Sep 2022 15:02:43 +0000 (16:02 +0100)]
patch 9.0.0503: build failure

Problem:    Build failure.
Solution:   Add missing changes.

2 years agopatch 9.0.0502: a closure in a nested loop in a :def function does not work v9.0.0502
Bram Moolenaar [Mon, 19 Sep 2022 14:54:34 +0000 (15:54 +0100)]
patch 9.0.0502: a closure in a nested loop in a :def function does not work

Problem:    A closure in a nested loop in a :def function does not work.
Solution:   Use an array of loopvars, one per loop level.

2 years agopatch 9.0.0501: warning for using uninitialized value in mouse test v9.0.0501
Bram Moolenaar [Mon, 19 Sep 2022 10:44:11 +0000 (11:44 +0100)]
patch 9.0.0501: warning for using uninitialized value in mouse test

Problem:    Warning for using uninitialized value in mouse test.
Solution:   Clear ScreenCols when allocating it. (Dominique Pellé)

2 years agopatch 9.0.0500: when quitting cmdline window with CTRL-C it remains visible v9.0.0500
Bram Moolenaar [Sun, 18 Sep 2022 14:08:19 +0000 (15:08 +0100)]
patch 9.0.0500: when quitting cmdline window with CTRL-C it remains visible

Problem:    When quitting the cmdline window with CTRL-C it remains visible.
Solution:   Redraw to avoid confusion. Adjust the error message.
            (closes #11152)  Adjust the cursor position after CTRL-C.

2 years agopatch 9.0.0499: in :def function list created after const is locked v9.0.0499
Bram Moolenaar [Sun, 18 Sep 2022 12:46:08 +0000 (13:46 +0100)]
patch 9.0.0499: in :def function list created after const is locked

Problem:    In :def function list created after const is locked.
Solution:   Reset v_lock. (closes #11154)

2 years agopatch 9.0.0498: various small issues v9.0.0498
Bram Moolenaar [Sun, 18 Sep 2022 12:06:41 +0000 (13:06 +0100)]
patch 9.0.0498: various small issues

Problem:    Various small issues.
Solution:   Various small fixes.

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 18 Sep 2022 12:04:22 +0000 (13:04 +0100)]
Update runtime files