]> granicus.if.org Git - vim/log
vim
2 years agopatch 8.2.5157: MS-Windows GUI: CTRL-key combinations do not always work v8.2.5157
LemonBoy [Fri, 24 Jun 2022 19:18:09 +0000 (20:18 +0100)]
patch 8.2.5157: MS-Windows GUI: CTRL-key combinations do not always work

Problem:    MS-Windows GUI: CTRL-key combinations do not always work.
Solution:   Handle special key combinations better. (closes #10613,
            closes #10602, closes #10579)

2 years agopatch 8.2.5156: search timeout test often fails with FreeBSD v8.2.5156
Bram Moolenaar [Fri, 24 Jun 2022 19:11:59 +0000 (20:11 +0100)]
patch 8.2.5156: search timeout test often fails with FreeBSD

Problem:    Search timeout test often fails with FreeBSD.
Solution:   Double the maximum time.

2 years agopatch 8.2.5155: in diff mode windows may get out of sync v8.2.5155
Bram Moolenaar [Fri, 24 Jun 2022 11:38:57 +0000 (12:38 +0100)]
patch 8.2.5155: in diff mode windows may get out of sync

Problem:    In diff mode windows may get out of sync. (Gary Johnson)
Solution:   Avoid that the other window scrolls for 'cursorbind'.

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 24 Jun 2022 10:48:03 +0000 (11:48 +0100)]
Update runtime files

2 years agopatch 8.2.5154: still mentioning version8, some cosmetic issues v8.2.5154
Bram Moolenaar [Thu, 23 Jun 2022 19:46:27 +0000 (20:46 +0100)]
patch 8.2.5154: still mentioning version8, some cosmetic issues

Problem:    Still mentioning version8, some cosmetic issues.
Solution:   Prefer mentioning version9, cosmetic improvements.

2 years agopatch 8.2.5153: "make uninstall" does not remove colors/lists v8.2.5153
towrang [Thu, 23 Jun 2022 14:54:09 +0000 (15:54 +0100)]
patch 8.2.5153: "make uninstall" does not remove colors/lists

Problem:    "make uninstall" does not remove colors/lists.
Solution:   Add a line to the Makefile. (closes #10609)

2 years agoUpdate runtime files
Bram Moolenaar [Thu, 23 Jun 2022 12:04:20 +0000 (13:04 +0100)]
Update runtime files

2 years agopatch 8.2.5152: search() gets stuck with "c" and skip evaluates to true v8.2.5152
zeertzjq [Thu, 23 Jun 2022 11:04:46 +0000 (12:04 +0100)]
patch 8.2.5152: search() gets stuck with "c" and skip evaluates to true

Problem:    search() gets stuck with "c" and skip evaluates to true.
Solution:   Reset the SEARCH_START option. (closes #10608)

2 years agopatch 8.2.5151: reading beyond the end of the line with lisp indenting v8.2.5151
Bram Moolenaar [Wed, 22 Jun 2022 18:59:28 +0000 (19:59 +0100)]
patch 8.2.5151: reading beyond the end of the line with lisp indenting

Problem:    Reading beyond the end of the line with lisp indenting.
Solution:   Avoid going over the NUL at the end of the line.

2 years agopatch 8.2.5150: read past the end of the first line with ":0;'{" v8.2.5150
Bram Moolenaar [Wed, 22 Jun 2022 18:08:38 +0000 (19:08 +0100)]
patch 8.2.5150: read past the end of the first line with ":0;'{"

Problem:    Read past the end of the first line with ":0;'{".
Solution:   When on line zero check the column is valid for line one.

2 years agopatch 8.2.5149: cannot build without the +eval feature v8.2.5149
Bram Moolenaar [Wed, 22 Jun 2022 17:14:29 +0000 (18:14 +0100)]
patch 8.2.5149: cannot build without the +eval feature

Problem:    Cannot build without the +eval feature. (Tony Mechelynck)
Solution:   Add #ifdefs.

2 years agopatch 8.2.5148: invalid memory access when using expression on command line v8.2.5148
Bram Moolenaar [Wed, 22 Jun 2022 12:51:54 +0000 (13:51 +0100)]
patch 8.2.5148: invalid memory access when using expression on command line

Problem:    Invalid memory access when using an expression on the command line.
Solution:   Make sure the position does not go negative.

2 years agopatch 8.2.5147: flaky test always fails on retry v8.2.5147
Bram Moolenaar [Tue, 21 Jun 2022 21:35:40 +0000 (22:35 +0100)]
patch 8.2.5147: flaky test always fails on retry

Problem:    Flaky test always fails on retry.
Solution:   Delete the created function.

2 years agopatch 8.2.5146: memory leak when substitute expression nests v8.2.5146
Bram Moolenaar [Tue, 21 Jun 2022 21:15:25 +0000 (22:15 +0100)]
patch 8.2.5146: memory leak when substitute expression nests

Problem:    Memory leak when substitute expression nests.
Solution:   Use an array of expression results.

2 years agopatch 8.2.5145: exit test causes spurious valgrind reports v8.2.5145
Bram Moolenaar [Tue, 21 Jun 2022 17:34:42 +0000 (18:34 +0100)]
patch 8.2.5145: exit test causes spurious valgrind reports

Problem:    Exit test causes spurious valgrind reports.
Solution:   Skip test.  Add CheckNotValgrind.

2 years agopatch 8.2.5144: with 'lazyredraw' set completion menu may be wrong v8.2.5144
Bram Moolenaar [Tue, 21 Jun 2022 17:10:39 +0000 (18:10 +0100)]
patch 8.2.5144: with 'lazyredraw' set completion menu may be wrong

Problem:    With 'lazyredraw' set completion menu may be displayed wrong.
Solution:   When the popup menu is visible do not insert a screen line.
            (closes #106010)

2 years agopatch 8.2.5143: some tests fail when using valgrind v8.2.5143
Bram Moolenaar [Tue, 21 Jun 2022 16:40:47 +0000 (17:40 +0100)]
patch 8.2.5143: some tests fail when using valgrind

Problem:    Some tests fail when using valgrind. Spurious leak reports.
Solution:   Use WaitForAssert().  Avoid failing fork/exec.  Skip tests where a
            job is killed when running valgrind.

2 years agopatch 8.2.5142: startup test fails if there is a status bar v8.2.5142
Bram Moolenaar [Tue, 21 Jun 2022 13:38:40 +0000 (14:38 +0100)]
patch 8.2.5142: startup test fails if there is a status bar

Problem:    Startup test fails if there is a status bar at the top of the
            screen. (Ernie Rael)
Solution:   Use a larger vertical offset in the test.

2 years agopatch 8.2.5141: using "volatile int" in a signal handler might be wrong v8.2.5141
Bram Moolenaar [Mon, 20 Jun 2022 12:38:33 +0000 (13:38 +0100)]
patch 8.2.5141: using "volatile int" in a signal handler might be wrong

Problem:    Using "volatile int" in a signal handler might be wrong.
Solution:   Use "volatile sig_atomic_t".

2 years agopatch 8.2.5140: seachpair timeout test is flaky v8.2.5140
Bram Moolenaar [Mon, 20 Jun 2022 11:39:39 +0000 (12:39 +0100)]
patch 8.2.5140: seachpair timeout test is flaky

Problem:    Seachpair timeout test is flaky.
Solution:   Mark the test as flaky so it is retried.

2 years agopatch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf v8.2.5139
Bram Moolenaar [Mon, 20 Jun 2022 11:01:10 +0000 (12:01 +0100)]
patch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf

Problem:    TIME_WITH_SYS_TIME is no longer supported by autoconf.
Solution:   Always include time.h.

2 years agopatch 8.2.5138: various small issues v8.2.5138
Bram Moolenaar [Mon, 20 Jun 2022 10:38:17 +0000 (11:38 +0100)]
patch 8.2.5138: various small issues

Problem:    Various small issues.
Solution:   Various small improvments.

2 years agopatch 8.2.5137: cannot build without the +channel feature v8.2.5137
Bram Moolenaar [Mon, 20 Jun 2022 10:23:01 +0000 (11:23 +0100)]
patch 8.2.5137: cannot build without the +channel feature

Problem:    Cannot build without the +channel feature. (Dominique PellĂ©)
Solution:   Add #ifdef around ch_log() calls. (closes #10598)

2 years agoUpdate runtime files
Bram Moolenaar [Mon, 20 Jun 2022 10:17:32 +0000 (11:17 +0100)]
Update runtime files

2 years agopatch 8.2.5136: debugger test fails when run with valgrind v8.2.5136
Bram Moolenaar [Sun, 19 Jun 2022 19:13:56 +0000 (20:13 +0100)]
patch 8.2.5136: debugger test fails when run with valgrind

Problem:    Debugger test fails when run with valgrind.
Solution:   Wait longer when using valgrind.

2 years agopatch 8.2.5135: running configure gives warnings for main() return type v8.2.5135
Bram Moolenaar [Sun, 19 Jun 2022 17:02:05 +0000 (18:02 +0100)]
patch 8.2.5135: running configure gives warnings for main() return type

Problem:    Running configure gives warnings for main() return type.
Solution:   Specify "int" return type.  Avoid a few more warnings.

2 years agopatch 8.2.5134: function has confusing name v8.2.5134
Bram Moolenaar [Sun, 19 Jun 2022 16:45:28 +0000 (17:45 +0100)]
patch 8.2.5134: function has confusing name

Problem:    Function has confusing name.
Solution:   Rename tgetent_error() to invoke_tgetent().

2 years agopatch 8.2.5133: MacOS: build fails v8.2.5133
Bram Moolenaar [Sun, 19 Jun 2022 16:22:49 +0000 (17:22 +0100)]
patch 8.2.5133: MacOS: build fails

Problem:    MacOS: build fails.
Solution:   Remove "#if 0" from timer_delete().

2 years agopatch 8.2.5132: :mkview test doesn't test much v8.2.5132
James McCoy [Sun, 19 Jun 2022 16:16:18 +0000 (17:16 +0100)]
patch 8.2.5132: :mkview test doesn't test much

Problem:    :mkview test doesn't test much.
Solution:   Save the view with the folds closed. (James McCoy, closes #10596)

2 years agopatch 8.2.5131: timeout implementation is not optimal v8.2.5131
Bram Moolenaar [Sun, 19 Jun 2022 16:05:47 +0000 (17:05 +0100)]
patch 8.2.5131: timeout implementation is not optimal

Problem:    Timeout implementation is not optimal.
Solution:   Further improvements for timeouts.  Add a test for searchpair()
            timeout. (partly by Paul Ollis)

2 years agopatch 8.2.5130: edit test for mode message fails when using valgrind v8.2.5130
Bram Moolenaar [Sun, 19 Jun 2022 14:22:36 +0000 (15:22 +0100)]
patch 8.2.5130: edit test for mode message fails when using valgrind

Problem:    Edit test for mode message fails when using valgrind.
Solution:   Use WaitForAssert().  Run beep test later.

2 years agopatch 8.2.5129: timeout handling is not optimal v8.2.5129
Bram Moolenaar [Sun, 19 Jun 2022 13:36:35 +0000 (14:36 +0100)]
patch 8.2.5129: timeout handling is not optimal

Problem:    Timeout handling is not optimal.
Solution:   Avoid setting timeout_flag twice.  Adjust the pointer when
            stopping the regexp timeout.  Adjust variable name.

2 years agopatch 8.2.5128: syntax disabled when using synID() in searchpair() skip expr v8.2.5128
Bram Moolenaar [Sun, 19 Jun 2022 11:27:45 +0000 (12:27 +0100)]
patch 8.2.5128: syntax disabled when using synID() in searchpair() skip expr

Problem:    Syntax highlighting disabled when using synID() in searchpair()
            skip expression and it times out. (Jaehwang Jung)
Solution:   Add the redrawtime_limit_set flag. (closes #10562)

2 years agopatch 8.2.5127: using assert_true() does not show value on failure v8.2.5127
zeertzjq [Sun, 19 Jun 2022 10:45:46 +0000 (11:45 +0100)]
patch 8.2.5127: using assert_true() does not show value on failure

Problem:    Using assert_true() does not show value on failure.
Solution:   Use assert_inrange(). (closes #10593)

2 years agopatch 8.2.5126: substitute may overrun destination buffer v8.2.5126
Bram Moolenaar [Sat, 18 Jun 2022 18:48:14 +0000 (19:48 +0100)]
patch 8.2.5126: substitute may overrun destination buffer

Problem:    Substitute may overrun destination buffer.
Solution:   Disallow switching buffers in a substitute expression.

2 years agopatch 8.2.5125: MS-Windows: warnings from MinGW compiler v8.2.5125
Yasuhiro Matsumoto [Sat, 18 Jun 2022 15:48:36 +0000 (16:48 +0100)]
patch 8.2.5125: MS-Windows: warnings from MinGW compiler

Problem:    MS-Windows: warnings from MinGW compyler.
Solution:   Use "volatile". (Yasuhiro Matsumoto, closes #10589)  Initialize
            variable.

2 years agopatch 8.2.5124: when syntax timeout test fails it does not show the time v8.2.5124
Bram Moolenaar [Sat, 18 Jun 2022 15:05:32 +0000 (16:05 +0100)]
patch 8.2.5124: when syntax timeout test fails it does not show the time

Problem:    When syntax timeout test fails it does not show the time.
Solution:   Use assert_inrange().

2 years agopatch 8.2.5123: using invalid index when looking for spell suggestions v8.2.5123
Bram Moolenaar [Sat, 18 Jun 2022 13:09:08 +0000 (14:09 +0100)]
patch 8.2.5123: using invalid index when looking for spell suggestions

Problem:    Using invalid index when looking for spell suggestions.
Solution:   Do not decrement the index when it is zero.

2 years agopatch 8.2.5122: lisp indenting my run over the end of the line v8.2.5122
Bram Moolenaar [Sat, 18 Jun 2022 11:51:11 +0000 (12:51 +0100)]
patch 8.2.5122: lisp indenting my run over the end of the line

Problem:    Lisp indenting my run over the end of the line.
Solution:   Check for NUL earlier.

2 years agopatch 8.2.5121: interrupt test sometimes fails v8.2.5121
Bram Moolenaar [Sat, 18 Jun 2022 10:54:47 +0000 (11:54 +0100)]
patch 8.2.5121: interrupt test sometimes fails

Problem:    Interrupt test sometimes fails.
Solution:   Use a different file name.

2 years agopatch 8.2.5120: searching for quotes may go over the end of the line v8.2.5120
Bram Moolenaar [Sat, 18 Jun 2022 10:22:40 +0000 (11:22 +0100)]
patch 8.2.5120: searching for quotes may go over the end of the line

Problem:    Searching for quotes may go over the end of the line.
Solution:   Check for running into the NUL.

2 years agopatch 8.2.5119: CI uses cache v2 v8.2.5119
Philip H [Fri, 17 Jun 2022 20:27:38 +0000 (21:27 +0100)]
patch 8.2.5119: CI uses cache v2

Problem:    CI uses cache v2.
Solution:   Use cache v3. (closes #10588)

2 years agopatch 8.2.5118: MS-Windows: sending a message to another Vim may hang v8.2.5118
K.Takata [Fri, 17 Jun 2022 19:05:40 +0000 (20:05 +0100)]
patch 8.2.5118: MS-Windows: sending a message to another Vim may hang

Problem:    MS-Windows: sending a message to another Vim may hang if that Vim
            is halted.
Solution:   Add a timeout to serverSendToVim(). (Ken Takata, closes #10585)

2 years agopatch 8.2.5117: crash when calling a Lua callback from a :def function v8.2.5117
Bram Moolenaar [Fri, 17 Jun 2022 18:23:34 +0000 (19:23 +0100)]
patch 8.2.5117: crash when calling a Lua callback from a :def function

Problem:    Crash when calling a Lua callback from a :def function. (Bohdan
            Makohin)
Solution:   Handle FC_CFUNC in call_user_func_check(). (closes #10587)

2 years agopatch 8.2.5116: "limit" option of matchfuzzy() not always respected v8.2.5116
Kazuyuki Miyagi [Fri, 17 Jun 2022 17:30:03 +0000 (18:30 +0100)]
patch 8.2.5116: "limit" option of matchfuzzy() not always respected

Problem:    "limit" option of matchfuzzy() not always respected.
Solution:   Remove "else". (Kazuyuki Miyagi, closes #10586)

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 17 Jun 2022 14:42:40 +0000 (15:42 +0100)]
Update runtime files

2 years agopatch 8.2.5115: search timeout is overrun with some patterns v8.2.5115
Bram Moolenaar [Fri, 17 Jun 2022 14:17:10 +0000 (15:17 +0100)]
patch 8.2.5115: search timeout is overrun with some patterns

Problem:    Search timeout is overrun with some patterns.
Solution:   Check for timeout in more places.  Make the flag volatile and
            atomic.  Use assert_inrange() to see what happened.

2 years agopatch 8.2.5114: time limit on searchpair() does not work properly v8.2.5114
Bram Moolenaar [Thu, 16 Jun 2022 20:20:48 +0000 (21:20 +0100)]
patch 8.2.5114: time limit on searchpair() does not work properly

Problem:    Time limit on searchpair() does not work properly.
Solution:   Set the time limit once instead of for each regexp. (closes #10562)

2 years agopatch 8.2.5113: timer becomes invalid after fork/exec, :gui gives errors v8.2.5113
Bram Moolenaar [Thu, 16 Jun 2022 17:47:20 +0000 (18:47 +0100)]
patch 8.2.5113: timer becomes invalid after fork/exec, :gui gives errors

Problem:    Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel
            Dupras)
Solution:   Delete the timer befor forking. (closes #10584)

2 years agopatch 8.2.5112: gui test hangs on MS-Windows v8.2.5112
Bram Moolenaar [Thu, 16 Jun 2022 15:36:43 +0000 (16:36 +0100)]
patch 8.2.5112: gui test hangs on MS-Windows

Problem:    Gui test hangs on MS-Windows.
Solution:   Use "!start" to start Vim.

2 years agopatch 8.2.5111: no test for --gui-dialog-file v8.2.5111
Bram Moolenaar [Thu, 16 Jun 2022 13:45:41 +0000 (14:45 +0100)]
patch 8.2.5111: no test for --gui-dialog-file

Problem:    No test for --gui-dialog-file.
Solution:   Add a test.

2 years agopatch 8.2.5110: icon filetype not recognized from the first line v8.2.5110
Bram Moolenaar [Thu, 16 Jun 2022 12:27:18 +0000 (13:27 +0100)]
patch 8.2.5110: icon filetype not recognized from the first line

Problem:    Icon filetype not recognized from the first line.
Solution:   Add a check for the first line. (Doug Kearns)

2 years agopatch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode v8.2.5109
Bram Moolenaar [Thu, 16 Jun 2022 12:04:45 +0000 (13:04 +0100)]
patch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode

Problem:    Mode not updated after CTRL-O CTRL-C in Insert mode.
Solution:   Set redraw_mode and use it. (closes #10581)

2 years agopatch 8.2.5108: retab test disabled because it hangs on MS-Windows v8.2.5108
Bram Moolenaar [Thu, 16 Jun 2022 11:10:48 +0000 (12:10 +0100)]
patch 8.2.5108: retab test disabled because it hangs on MS-Windows

Problem:    Retab test disabled because it hangs on MS-Windows.
Solution:   Also set got_int at the other place a overlong text is detected.

2 years agopatch 8.2.5107: some callers of rettv_list_alloc() check for not OK v8.2.5107
Bram Moolenaar [Thu, 16 Jun 2022 10:42:09 +0000 (11:42 +0100)]
patch 8.2.5107: some callers of rettv_list_alloc() check for not OK

Problem:    Some callers of rettv_list_alloc() check for not OK. (Christ van
            Willegen)
Solution:   Use "==" instead of "!=" when checking the return value.

2 years agopatch 8.2.5106: default cmdwin mappings are re-mappable v8.2.5106
zeertzjq [Thu, 16 Jun 2022 10:14:55 +0000 (11:14 +0100)]
patch 8.2.5106: default cmdwin mappings are re-mappable

Problem:    Default cmdwin mappings are re-mappable.
Solution:   Make the default mappings not re-mappable. (closes #10580)  Use
            symbols for the first do_map() argument.

2 years agopatch 8.2.5105: test still hangs on MS-Windows v8.2.5105
Bram Moolenaar [Wed, 15 Jun 2022 21:11:45 +0000 (22:11 +0100)]
patch 8.2.5105: test still hangs on MS-Windows

Problem:    Test still hangs on MS-Windows.
Solution:   Skip "nocatch" test the right way.

2 years agopatch 8.2.5104: test hangs on MS-Windows v8.2.5104
Bram Moolenaar [Wed, 15 Jun 2022 20:28:55 +0000 (21:28 +0100)]
patch 8.2.5104: test hangs on MS-Windows

Problem:    Test hangs on MS-Windows.
Solution:   Skip another test on MS-Windows.

2 years agopatch 8.2.5103: build fails with small features v8.2.5103
Bram Moolenaar [Wed, 15 Jun 2022 20:08:09 +0000 (21:08 +0100)]
patch 8.2.5103: build fails with small features

Problem:    Build fails with small features.
Solution:   Add #ifdef.  Skip test on MS-Windows.

2 years agopatch 8.2.5102: interrupt not caught in test v8.2.5102
Bram Moolenaar [Wed, 15 Jun 2022 19:49:35 +0000 (20:49 +0100)]
patch 8.2.5102: interrupt not caught in test

Problem:    Interrupt not caught in test.
Solution:   Consider an exception thrown in the current try/catch when got_int
            is set.  Also catch early exit when not using try/catch.

2 years agopatch 8.2.5101: MS-Windows with MinGW: $CC may be "cc" instead of "gcc" v8.2.5101
Yegappan Lakshmanan [Wed, 15 Jun 2022 17:31:45 +0000 (18:31 +0100)]
patch 8.2.5101: MS-Windows with MinGW: $CC may be "cc" instead of "gcc"

Problem:    MS-Windows with MinGW: $CC may be "cc" instead of "gcc".
Solution:   Set $CC if it is not matching "clang". (Yegappan Lakshmanan,
            closes #10578)

2 years agopatch 8.2.5100: memory usage tests are not retried v8.2.5100
Bram Moolenaar [Wed, 15 Jun 2022 17:08:42 +0000 (18:08 +0100)]
patch 8.2.5100: memory usage tests are not retried

Problem:    Memory usage tests are not retried.
Solution:   Mark memory usage tests as flaky.

2 years agopatch 8.2.5099: some terminal tests are not retried v8.2.5099
Bram Moolenaar [Wed, 15 Jun 2022 16:52:44 +0000 (17:52 +0100)]
patch 8.2.5099: some terminal tests are not retried

Problem:    Some terminal tests are not retried.
Solution:   Mark terminal tests as flaky.

2 years agopatch 8.2.5098: spelldump test sometimes hangs v8.2.5098
Bram Moolenaar [Wed, 15 Jun 2022 15:57:44 +0000 (16:57 +0100)]
patch 8.2.5098: spelldump test sometimes hangs

Problem:    Spelldump test sometimes hangs.
Solution:   Catch the problem of the spell file not being found to avoid
            hanging in the download dialog.

2 years agopatch 8.2.5097: using uninitialized memory when using 'listchars' v8.2.5097
Bram Moolenaar [Wed, 15 Jun 2022 11:12:44 +0000 (12:12 +0100)]
patch 8.2.5097: using uninitialized memory when using 'listchars'

Problem:    Using uninitialized memory when using 'listchars'.
Solution:   Use the length returned by mb_char2bytes(). (closes #10576)

2 years agopatch 8.2.5096: terminal test still fails with some shell commands v8.2.5096
Bram Moolenaar [Tue, 14 Jun 2022 20:22:12 +0000 (21:22 +0100)]
patch 8.2.5096: terminal test still fails with some shell commands

Problem:    Terminal test still fails with some shell commands.
Solution:   Add missing "call".  (closes #10530)

2 years agopatch 8.2.5095: terminal test still fails with some shell commands v8.2.5095
Bram Moolenaar [Tue, 14 Jun 2022 18:52:16 +0000 (19:52 +0100)]
patch 8.2.5095: terminal test still fails with some shell commands

Problem:    Terminal test still fails with some shell commands.
Solution:   Disable setting the window title in the Vim instance running in a
            terminal window. (closes #10530)

2 years agoUpdate runtime files
Bram Moolenaar [Tue, 14 Jun 2022 16:41:28 +0000 (17:41 +0100)]
Update runtime files

2 years agopatch 8.2.5094: MS-Windows GUI: empty command may cause a dialog v8.2.5094
Bram Moolenaar [Tue, 14 Jun 2022 16:13:59 +0000 (17:13 +0100)]
patch 8.2.5094: MS-Windows GUI: empty command may cause a dialog

Problem:    MS-Windows GUI: empty command may cause a dialog.
Solution:   Delete the dialog file.  Improve the message.

2 years agopatch 8.2.5093: error message for unknown command may have the command twice v8.2.5093
Bram Moolenaar [Tue, 14 Jun 2022 15:06:07 +0000 (16:06 +0100)]
patch 8.2.5093: error message for unknown command may have the command twice

Problem:    Error message for unknown command may mention the command twice.
            (Malcolm Rowe)
Solution:   Add the did_append_cmd flag. (closes #10570)

2 years agopatch 8.2.5092: using "'<,'>" in Ex mode may compare unrelated pointers v8.2.5092
Bram Moolenaar [Tue, 14 Jun 2022 14:43:18 +0000 (15:43 +0100)]
patch 8.2.5092: using "'<,'>" in Ex mode may compare unrelated pointers

Problem:    Using "'<,'>" in Ex mode may compare unrelated pointers.
Solution:   Set eap->cmd to "+" only later.

2 years agopatch 8.2.5091: terminal test fails with some shell commands v8.2.5091
Bram Moolenaar [Tue, 14 Jun 2022 14:00:28 +0000 (15:00 +0100)]
patch 8.2.5091: terminal test fails with some shell commands

Problem:    Terminal test fails with some shell commands.
Solution:   Disable setting the window title. (closes #10530)

2 years agopatch 8.2.5090: MS-Windows: vim.def is no longer used v8.2.5090
K.Takata [Tue, 14 Jun 2022 12:58:29 +0000 (13:58 +0100)]
patch 8.2.5090: MS-Windows: vim.def is no longer used

Problem:    MS-Windows: vim.def is no longer used.
Solution:   Delete vim.def. (Ken Takata, closes #10569)

2 years agopatch 8.2.5089: some functions return a different value on failure v8.2.5089
Yegappan Lakshmanan [Tue, 14 Jun 2022 12:42:26 +0000 (13:42 +0100)]
patch 8.2.5089: some functions return a different value on failure

Problem:    Some functions return a different value on failure.
Solution:   Initialize the return value earlier. (Yegappan Lakshmanan,
            closes #10568)

2 years agopatch 8.2.5088: value of cmod_verbose is a bit complicated to use v8.2.5088
zeertzjq [Tue, 14 Jun 2022 12:30:35 +0000 (13:30 +0100)]
patch 8.2.5088: value of cmod_verbose is a bit complicated to use

Problem:    Value of cmod_verbose is a bit complicated to use.
Solution:   Use zero for not set, value + 1 when set. (closes #10564)

2 years agopatch 8.2.5087: cannot build with clang on MS-Windows v8.2.5087
Yegappan Lakshmanan [Tue, 14 Jun 2022 11:30:25 +0000 (12:30 +0100)]
patch 8.2.5087: cannot build with clang on MS-Windows

Problem:    Cannot build with clang on MS-Windows.
Solution:   Add support for building with clang. (Yegappan Lakshmanan,
            closes #10557)

2 years agopatch 8.2.5086: CI runs on Windows 2019 v8.2.5086
Philip H [Tue, 14 Jun 2022 10:35:21 +0000 (11:35 +0100)]
patch 8.2.5086: CI runs on Windows 2019

Problem:    CI runs on Windows 2019.
Solution:   Switch to Windows 2022.

2 years agopatch 8.2.5085: gcc gives warning for signed/unsigned difference v8.2.5085
Bram Moolenaar [Mon, 13 Jun 2022 21:34:14 +0000 (22:34 +0100)]
patch 8.2.5085: gcc gives warning for signed/unsigned difference

Problem:    Gcc gives warning for signed/unsigned difference.
Solution:   Use a different pointer type. (John Marriott)

2 years agopatch 8.2.5084: when the GUI shows a dialog tests get stuck v8.2.5084
Bram Moolenaar [Mon, 13 Jun 2022 20:42:45 +0000 (21:42 +0100)]
patch 8.2.5084: when the GUI shows a dialog tests get stuck

Problem:    When the GUI shows a dialog tests get stuck.
Solution:   Add the --gui-dialog-file argument.

2 years agopatch 8.2.5083: autocmd test still fails on MS-Windows v8.2.5083
Bram Moolenaar [Sun, 12 Jun 2022 22:26:50 +0000 (23:26 +0100)]
patch 8.2.5083: autocmd test still fails on MS-Windows

Problem:    Autocmd test still fails on MS-Windows.
Solution:   Change backward to forward slashes.

2 years agopatch 8.2.5082: retab test fails v8.2.5082
Bram Moolenaar [Sun, 12 Jun 2022 22:05:07 +0000 (23:05 +0100)]
patch 8.2.5082: retab test fails

Problem:    Retab test fails.
Solution:   Disable the test for now.

2 years agopatch 8.2.5081: autocmd test fails on MS-Windows v8.2.5081
Bram Moolenaar [Sun, 12 Jun 2022 21:33:33 +0000 (22:33 +0100)]
patch 8.2.5081: autocmd test fails on MS-Windows

Problem:    Autocmd test fails on MS-Windows.
Solution:   Set shellslash to get forward slashes.

2 years agoUpdate runtime files.
Bram Moolenaar [Sun, 12 Jun 2022 21:15:57 +0000 (22:15 +0100)]
Update runtime files.

2 years agopatch 8.2.5080: when indenting gets out of hand it is hard to stop v8.2.5080
Bram Moolenaar [Sun, 12 Jun 2022 20:11:03 +0000 (21:11 +0100)]
patch 8.2.5080: when indenting gets out of hand it is hard to stop

Problem:    When indenting gets out of hand it is hard to stop.
Solution:   When line gets too long set got_int.

2 years agopatch 8.2.5079: DirChanged autocommand may use freed memory v8.2.5079
Bram Moolenaar [Sun, 12 Jun 2022 10:49:16 +0000 (11:49 +0100)]
patch 8.2.5079: DirChanged autocommand may use freed memory

Problem:    DirChanged autocommand may use freed memory. (Shane-XB Qian)
Solution:   Free the memory later. (closes #10555)

2 years agopatch 8.2.5078: substitute test has a one second delay v8.2.5078
zeertzjq [Sun, 12 Jun 2022 10:13:05 +0000 (11:13 +0100)]
patch 8.2.5078: substitute test has a one second delay

Problem:    Substitute test has a one second delay.
Solution:   Use ":silent!".  Add another test case. (closes #10558)

2 years agopatch 8.2.5077: various warnings from clang on MS-Windows v8.2.5077
Yegappan Lakshmanan [Sat, 11 Jun 2022 09:43:26 +0000 (10:43 +0100)]
patch 8.2.5077: various warnings from clang on MS-Windows

Problem:    Various warnings from clang on MS-Windows.
Solution:   Avoid the warnings. (Yegappan Lakshmanan, closes #10553)

2 years agopatch 8.2.5076: unnecessary code v8.2.5076
zeertzjq [Fri, 10 Jun 2022 14:30:32 +0000 (15:30 +0100)]
patch 8.2.5076: unnecessary code

Problem:    Unnecessary code.
Solution:   Remove code and replace with function call. (closes #10552)

2 years agopatch 8.2.5075: clang gives an out of bounds warning v8.2.5075
Bram Moolenaar [Fri, 10 Jun 2022 13:52:35 +0000 (14:52 +0100)]
patch 8.2.5075: clang gives an out of bounds warning

Problem:    Clang gives an out of bounds warning.
Solution:   adjust conditional expression (John Marriott)

2 years agopatch 8.2.5074: spell test fails on MS-Windows v8.2.5074
Bram Moolenaar [Thu, 9 Jun 2022 23:02:10 +0000 (00:02 +0100)]
patch 8.2.5074: spell test fails on MS-Windows

Problem:    Spell test fails on MS-Windows.
Solution:   Do not change 'encoding'

2 years agopatch 8.2.5073: clang on MS-Windows produces warnings v8.2.5073
Bram Moolenaar [Thu, 9 Jun 2022 19:53:54 +0000 (20:53 +0100)]
patch 8.2.5073: clang on MS-Windows produces warnings

Problem:    Clang on MS-Windows produces warnings.
Solution:   Avoid the warnings. (Yegappan Lakshmanan, closes #10546)

2 years agoUpdate runtime files
Bram Moolenaar [Thu, 9 Jun 2022 19:45:54 +0000 (20:45 +0100)]
Update runtime files

2 years agopatch 8.2.5072: using uninitialized value and freed memory in spell command v8.2.5072
Bram Moolenaar [Thu, 9 Jun 2022 18:54:24 +0000 (19:54 +0100)]
patch 8.2.5072: using uninitialized value and freed memory in spell command

Problem:    Using uninitialized value and freed memory in spell command.
Solution:   Initialize "attr".  Check for empty line early.

2 years agopatch 8.2.5071: with some Mac OS version clockid_t is redefined v8.2.5071
ichizok [Thu, 9 Jun 2022 13:50:10 +0000 (14:50 +0100)]
patch 8.2.5071: with some Mac OS version clockid_t is redefined

Problem:    With some Mac OS version clockid_t is redefined.
Solution:   Adjust #ifdefs. (Ozaki Kiichi, closes #10549)

2 years agopatch 8.2.5070: unnecessary code v8.2.5070
zeertzjq [Thu, 9 Jun 2022 12:55:28 +0000 (13:55 +0100)]
patch 8.2.5070: unnecessary code

Problem:    Unnecessary code.
Solution:   Remove code that isn't needed. (closes #10534)

2 years agopatch 8.2.5069: various warnings from clang on MS-Windows v8.2.5069
Yegappan Lakshmanan [Wed, 8 Jun 2022 14:14:09 +0000 (15:14 +0100)]
patch 8.2.5069: various warnings from clang on MS-Windows

Problem:    Various warnings from clang on MS-Windows.
Solution:   Fix the code to avoid the warnings. (Yegappan Lakshmanan,
            closes #10538)

2 years agopatch 8.2.5068: gcc 12.1 warning when building tee v8.2.5068
Bram Moolenaar [Wed, 8 Jun 2022 12:11:45 +0000 (13:11 +0100)]
patch 8.2.5068: gcc 12.1 warning when building tee

Problem:    Gcc 12.1 warning when building tee.
Solution:   Change type to size_t. (John Marriott)

2 years agopatch 8.2.5067: timer_create is not available on every Mac system v8.2.5067
Bram Moolenaar [Wed, 8 Jun 2022 09:48:18 +0000 (10:48 +0100)]
patch 8.2.5067: timer_create is not available on every Mac system

Problem:    Timer_create is not available on every Mac system. (Hisashi T
            Fujinaka)
Solution:   Adjust #ifdef.

2 years agopatch 8.2.5066: timer_create is not available on every Mac system v8.2.5066
Bram Moolenaar [Tue, 7 Jun 2022 09:16:15 +0000 (10:16 +0100)]
patch 8.2.5066: timer_create is not available on every Mac system

Problem:    Timer_create is not available on every Mac system. (Hisashi T
            Fujinaka)
Solution:   Adjust #ifdef.

2 years agopatch 8.2.5065: wrong return type for main() in tee.c v8.2.5065
Bram Moolenaar [Mon, 6 Jun 2022 21:16:09 +0000 (22:16 +0100)]
patch 8.2.5065: wrong return type for main() in tee.c

Problem:    Wrong return type for main() in tee.c.
Solution:   Use "int" instead of "void".  Remove unused variable.