| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Timeout handling is not optimal.
Solution: Avoid setting timeout_flag twice. Adjust the pointer when
stopping the regexp timeout. Adjust variable name.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Using assert_true() does not show value on failure.
Solution: Use assert_inrange(). (closes #10593)
|
|
|
|
|
| |
Problem: Substitute may overrun destination buffer.
Solution: Disallow switching buffers in a substitute expression.
|
|
|
|
|
|
| |
Problem: MS-Windows: warnings from MinGW compyler.
Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize
variable.
|
|
|
|
|
| |
Problem: When syntax timeout test fails it does not show the time.
Solution: Use assert_inrange().
|
|
|
|
|
| |
Problem: Using invalid index when looking for spell suggestions.
Solution: Do not decrement the index when it is zero.
|
|
|
|
|
| |
Problem: Lisp indenting my run over the end of the line.
Solution: Check for NUL earlier.
|
|
|
|
|
| |
Problem: Interrupt test sometimes fails.
Solution: Use a different file name.
|
|
|
|
|
| |
Problem: Searching for quotes may go over the end of the line.
Solution: Check for running into the NUL.
|
|
|
|
|
| |
Problem: CI uses cache v2.
Solution: Use cache v3. (closes #10588)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Problem: Crash when calling a Lua callback from a :def function. (Bohdan
Makohin)
Solution: Handle FC_CFUNC in call_user_func_check(). (closes #10587)
|
|
|
|
|
| |
Problem: "limit" option of matchfuzzy() not always respected.
Solution: Remove "else". (Kazuyuki Miyagi, closes #10586)
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Time limit on searchpair() does not work properly.
Solution: Set the time limit once instead of for each regexp. (closes #10562)
|
|
|
|
|
|
| |
Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel
Dupras)
Solution: Delete the timer befor forking. (closes #10584)
|
|
|
|
|
| |
Problem: Gui test hangs on MS-Windows.
Solution: Use "!start" to start Vim.
|
|
|
|
|
| |
Problem: No test for --gui-dialog-file.
Solution: Add a test.
|
|
|
|
|
| |
Problem: Icon filetype not recognized from the first line.
Solution: Add a check for the first line. (Doug Kearns)
|
|
|
|
|
| |
Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
Solution: Set redraw_mode and use it. (closes #10581)
|
|
|
|
|
| |
Problem: Retab test disabled because it hangs on MS-Windows.
Solution: Also set got_int at the other place a overlong text is detected.
|
|
|
|
|
|
| |
Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van
Willegen)
Solution: Use "==" instead of "!=" when checking the return value.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Test still hangs on MS-Windows.
Solution: Skip "nocatch" test the right way.
|
|
|
|
|
| |
Problem: Test hangs on MS-Windows.
Solution: Skip another test on MS-Windows.
|
|
|
|
|
| |
Problem: Build fails with small features.
Solution: Add #ifdef. Skip test on MS-Windows.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Memory usage tests are not retried.
Solution: Mark memory usage tests as flaky.
|
|
|
|
|
| |
Problem: Some terminal tests are not retried.
Solution: Mark terminal tests as flaky.
|
|
|
|
|
|
| |
Problem: Spelldump test sometimes hangs.
Solution: Catch the problem of the spell file not being found to avoid
hanging in the download dialog.
|
|
|
|
|
| |
Problem: Using uninitialized memory when using 'listchars'.
Solution: Use the length returned by mb_char2bytes(). (closes #10576)
|
|
|
|
|
| |
Problem: Terminal test still fails with some shell commands.
Solution: Add missing "call". (closes #10530)
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
Problem: MS-Windows GUI: empty command may cause a dialog.
Solution: Delete the dialog file. Improve the message.
|
|
|
|
|
|
| |
Problem: Error message for unknown command may mention the command twice.
(Malcolm Rowe)
Solution: Add the did_append_cmd flag. (closes #10570)
|
|
|
|
|
| |
Problem: Using "'<,'>" in Ex mode may compare unrelated pointers.
Solution: Set eap->cmd to "+" only later.
|
|
|
|
|
| |
Problem: Terminal test fails with some shell commands.
Solution: Disable setting the window title. (closes #10530)
|
|
|
|
|
| |
Problem: MS-Windows: vim.def is no longer used.
Solution: Delete vim.def. (Ken Takata, closes #10569)
|
|
|
|
|
|
| |
Problem: Some functions return a different value on failure.
Solution: Initialize the return value earlier. (Yegappan Lakshmanan,
closes #10568)
|
|
|
|
|
| |
Problem: Value of cmod_verbose is a bit complicated to use.
Solution: Use zero for not set, value + 1 when set. (closes #10564)
|
|
|
|
|
|
| |
Problem: Cannot build with clang on MS-Windows.
Solution: Add support for building with clang. (Yegappan Lakshmanan,
closes #10557)
|
|
|
|
|
| |
Problem: CI runs on Windows 2019.
Solution: Switch to Windows 2022.
|
|
|
|
|
| |
Problem: Gcc gives warning for signed/unsigned difference.
Solution: Use a different pointer type. (John Marriott)
|
|
|
|
|
| |
Problem: When the GUI shows a dialog tests get stuck.
Solution: Add the --gui-dialog-file argument.
|
|
|
|
|
| |
Problem: Autocmd test still fails on MS-Windows.
Solution: Change backward to forward slashes.
|
|
|
|
|
| |
Problem: Retab test fails.
Solution: Disable the test for now.
|