0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

14798 Commits

Author SHA1 Message Date
Bram Moolenaar
3efd65c557 patch 8.2.5134: function has confusing name
Problem:    Function has confusing name.
Solution:   Rename tgetent_error() to invoke_tgetent().
2022-06-19 17:45:28 +01:00
Bram Moolenaar
1f68d992cd patch 8.2.5133: MacOS: build fails
Problem:    MacOS: build fails.
Solution:   Remove "#if 0" from timer_delete().
2022-06-19 17:22:49 +01:00
James McCoy
c829faa821 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)
2022-06-19 17:16:18 +01:00
Bram Moolenaar
e530395c2c 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)
2022-06-19 17:05:47 +01:00
Bram Moolenaar
c5382b667a 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.
2022-06-19 15:22:36 +01:00
Bram Moolenaar
1f30caff8b 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.
2022-06-19 14:36:35 +01:00
Bram Moolenaar
6f0cf62df9 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)
2022-06-19 12:27:45 +01:00
zeertzjq
cdc6a43559 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)
2022-06-19 11:45:46 +01:00
Bram Moolenaar
d6211a52ab patch 8.2.5126: substitute may overrun destination buffer
Problem:    Substitute may overrun destination buffer.
Solution:   Disallow switching buffers in a substitute expression.
2022-06-18 19:48:14 +01:00
Yasuhiro Matsumoto
09f68a5e78 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.
2022-06-18 16:48:36 +01:00
Bram Moolenaar
620aa8eb5b 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().
2022-06-18 16:05:32 +01:00
Bram Moolenaar
156d391195 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.
2022-06-18 14:09:08 +01:00
Bram Moolenaar
0e8e938d49 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.
2022-06-18 12:51:11 +01:00
Bram Moolenaar
8d6420631c patch 8.2.5121: interrupt test sometimes fails
Problem:    Interrupt test sometimes fails.
Solution:   Use a different file name.
2022-06-18 11:54:47 +01:00
Bram Moolenaar
2f074f4685 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.
2022-06-18 11:22:40 +01:00
Philip H
2ff7e7e16d patch 8.2.5119: CI uses cache v2
Problem:    CI uses cache v2.
Solution:   Use cache v3. (closes #10588)
2022-06-17 21:27:38 +01:00
K.Takata
f9f2a330b9 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)
2022-06-17 20:05:40 +01:00
Bram Moolenaar
7d149f899d 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)
2022-06-17 19:23:34 +01:00
Kazuyuki Miyagi
47f1a55849 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)
2022-06-17 18:30:03 +01:00
Bram Moolenaar
616592e081 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.
2022-06-17 15:17:10 +01:00
Bram Moolenaar
5ea38d1e7f 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)
2022-06-16 21:20:48 +01:00
Bram Moolenaar
c72e31dfcc 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)
2022-06-16 18:47:20 +01:00
Bram Moolenaar
a272624c76 patch 8.2.5112: gui test hangs on MS-Windows
Problem:    Gui test hangs on MS-Windows.
Solution:   Use "!start" to start Vim.
2022-06-16 16:36:43 +01:00
Bram Moolenaar
de8be2beae patch 8.2.5111: no test for --gui-dialog-file
Problem:    No test for --gui-dialog-file.
Solution:   Add a test.
2022-06-16 14:45:41 +01:00
Bram Moolenaar
bf6614643f 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)
2022-06-16 13:27:18 +01:00
Bram Moolenaar
7a1d32809b 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)
2022-06-16 13:04:45 +01:00
Bram Moolenaar
308660bd26 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.
2022-06-16 12:10:48 +01:00
Bram Moolenaar
93a1096fe4 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.
2022-06-16 11:42:09 +01:00
zeertzjq
44068e97db 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.
2022-06-16 11:14:55 +01:00
Bram Moolenaar
83497f8758 patch 8.2.5105: test still hangs on MS-Windows
Problem:    Test still hangs on MS-Windows.
Solution:   Skip "nocatch" test the right way.
2022-06-15 22:11:45 +01:00
Bram Moolenaar
b31cb04771 patch 8.2.5104: test hangs on MS-Windows
Problem:    Test hangs on MS-Windows.
Solution:   Skip another test on MS-Windows.
2022-06-15 21:28:55 +01:00
Bram Moolenaar
34f99584c7 patch 8.2.5103: build fails with small features
Problem:    Build fails with small features.
Solution:   Add #ifdef.  Skip test on MS-Windows.
2022-06-15 21:08:09 +01:00
Bram Moolenaar
8bea171f15 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.
2022-06-15 20:49:35 +01:00
Yegappan Lakshmanan
cf65d88ff8 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)
2022-06-15 18:31:45 +01:00
Bram Moolenaar
dad5d2f87b patch 8.2.5100: memory usage tests are not retried
Problem:    Memory usage tests are not retried.
Solution:   Mark memory usage tests as flaky.
2022-06-15 18:08:42 +01:00
Bram Moolenaar
62eb239c1c patch 8.2.5099: some terminal tests are not retried
Problem:    Some terminal tests are not retried.
Solution:   Mark terminal tests as flaky.
2022-06-15 17:52:44 +01:00
Bram Moolenaar
fc9f0fd6d1 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.
2022-06-15 16:57:44 +01:00
Bram Moolenaar
74ac29cecd 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)
2022-06-15 12:12:44 +01:00
Bram Moolenaar
377d92a912 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)
2022-06-14 21:22:12 +01:00
Bram Moolenaar
99f4b6e082 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)
2022-06-14 19:52:16 +01:00
Bram Moolenaar
217ea51ee4 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.
2022-06-14 17:13:59 +01:00
Bram Moolenaar
6ce1b59228 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)
2022-06-14 16:06:07 +01:00
Bram Moolenaar
48ce135e6d 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.
2022-06-14 15:43:18 +01:00
Bram Moolenaar
e564c7009d 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)
2022-06-14 15:00:28 +01:00
K.Takata
831d6d4c02 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)
2022-06-14 13:58:29 +01:00
Yegappan Lakshmanan
ca195cc84f 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)
2022-06-14 13:42:26 +01:00
zeertzjq
cd7496382e 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)
2022-06-14 13:30:35 +01:00
Yegappan Lakshmanan
1630bd980a 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)
2022-06-14 12:30:25 +01:00
Philip H
361f9d2da4 patch 8.2.5086: CI runs on Windows 2019
Problem:    CI runs on Windows 2019.
Solution:   Switch to Windows 2022.
2022-06-14 11:35:21 +01:00
Bram Moolenaar
819ab82f7e 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)
2022-06-13 22:34:14 +01:00