| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Manually deleting temp test files.
Solution: Use the 'D' flag of writefile() and mkdir().
|
|
|
|
|
|
| |
Problem: Jsonnet files are not recognized.
Solution: Add a pattern for Jsonnet files. (Cezary Drożak, closes #11073,
closes #11081)
|
|
|
|
|
|
| |
Problem: ml_get error when appending lines in popup window.
Solution: Only update w_topline when w_buffer matches curbuf.
(closes #11074)
|
|
|
|
|
|
| |
Problem: On MS-Windows some tests are flaky.
Solution: Add sleeps, disable swapfile, mark test as flaky. (Ken Takata,
closes #11082)
|
|
|
|
|
|
|
| |
Problem: matchstr() still does not match column offset when done after a
text search.
Solution: Only use the line number for a multi-line search. Fix the test.
(closes #10938)
|
|
|
|
|
|
| |
Problem: ASAN reports a memory leak.
Solution: Free the string received from the server. (Ken Takata,
closes #11080)
|
|
|
|
|
| |
Problem: Compiler warning for unused argument.
Solution: Add UNUSED.
|
|
|
|
|
|
|
| |
Problem: Only created files can be cleaned up with one call.
Solution: Add flags to mkdir() to delete with a deferred function.
Expand the writefile() name to a full path to handle changing
directory.
|
|
|
|
|
| |
Problem: Struct member cts_lnum is unused.
Solution: Delete it.
|
|
|
|
|
| |
Problem: #{g:x} was seen as a curly-braces expression.
Solution: Do never see #{} as a curly-braces expression. (closes #11075)
|
|
|
|
|
| |
Problem: GUI test sometimes fails on MS-Windows.
Solution: Make sure Vim is the foreground window. (Ken Takata, closes #11077)
|
|
|
|
|
| |
Problem: matchstr() does match column offset. (Yasuhiro Matsumoto)
Solution: Accept line number zero. (closes #10938)
|
|
|
|
|
| |
Problem: Deferred functions not invoked when partial func exits.
Solution: Create a funccall_T when calling a :def function.
|
|
|
|
|
| |
Problem: Arguments in a partial not used by a :def function.
Solution: Put the partial arguments on the stack.
|
|
|
|
|
| |
Problem: Crash when passing invalid arguments to assert_fails().
Solution: Check for NULL string.
|
|
|
|
|
|
| |
Problem: 'equalalways' may be off when 'laststatus' is zero.
Solution: call last_status() before win_equal(). (Luuk van Baal,
closes #11070)
|
|
|
|
|
|
| |
Problem: Javascript module files are not recoginzed.
Solution: Recognize "*.jsm" files as Javascript. (Brett Holman,
closes #11069)
|
|
|
|
|
| |
Problem: CI uses older clang version.
Solution: Switch from clang 14 to 15. (closes #11066)
|
|
|
|
|
| |
Problem: GUI test sometimes hangs on CI.
Solution: Delete a test file explicitly. (Ken Takata, closes #11072)
|
|
|
|
|
| |
Problem: Using :defer in expression funcref not tested.
Solution: Add a test. Fix uncovered problems.
|
|
|
|
|
| |
Problem: Members of funccall_T are inconsistently named.
Solution: Use the "fc_" prefix for all members.
|
|
|
|
|
|
| |
Problem: :defer not tested with exceptions and ":qa!".
Solution: Test :defer works when exceptions are thrown and when ":qa!" is
used. Invoke the deferred calls on exit.
|
|
|
|
|
| |
Problem: :findrepl does not escape '&' and '~' properly.
Solution: Escape depending on the value of 'magic'. (closes #11067)
|
|
|
|
|
| |
Problem: Clang warnings for function prototypes.
Solution: Remove incomplete function prototypes. (closes #11068)
|
|
|
|
|
|
| |
Problem: Cygwin: multibyte characters may be broken in terminal window.
Solution: Adjust how to read and write on the channel. (Ken Takata,
closes #11063)
|
|
|
|
|
|
| |
Problem: Signals test often fails on FreeBSD.
Solution: Use separate files for Suspend and Resume. (Ken Takata,
closes #11065)
|
|
|
|
|
| |
Problem: Inverted condition is a bit confusing.
Solution: Remove the "!" and swap the blocks. (Ken Takata)
|
|
|
|
|
| |
Problem: Using separate delete() call instead of writefile() 'D' flag.
Solution: Use the writefile 'D' flag.
|
|
|
|
|
|
| |
Problem: Cannot use a partial with :defer.
Solution: Add the partial arguments before the other arguments. Disallow
using a dictionary.
|
|
|
|
|
| |
Problem: Crash when 'tagfunc' closes the window.
Solution: Bail out when the window was closed.
|
|
|
|
|
|
| |
Problem: The do_arg_all() function is too long.
Solution: Split the function in smaller parts. (Yegappan Lakshmanan,
closes #11062)
|
|
|
|
|
|
|
| |
Problem: repeating a <ScriptCmd> mapping does not use the right script
context.
Solution: When using a mapping put <SID>{sid}; in the redo buffer.
(closes #11049)
|
|
|
|
|
| |
Problem: Some code blocks are nested too deep.
Solution: Bail out earlier. (Yegappan Lakshmanan, closes #11058)
|
|
|
|
|
|
| |
Problem: GUI: when CTRL-D is mapped in Insert mode it gets inserted.
(Yasuhiro Matsumoto)
Solution: Also recognize modifier starting with CSI. (closes #11057)
|
|
|
|
|
| |
Problem: Covertity still complains about using return value of getc().
Solution: Check for EOF.
|
|
|
|
|
| |
Problem: Coverity complains about unused value.
Solution: Use the value.
|
|
|
|
|
| |
Problem: Freeing the wrong string on failure.
Solution: Adjust the argument. Reorder the code.
|
|
|
|
|
|
| |
Problem: Writefile test leaves files behind.
Solution: Fix the file names of files to be deleted. (Dominique Pellé,
closes #11056)
|
|
|
|
|
| |
Problem: Deleting files in tests is a hassle.
Solution: Use the new 'D' flag of writefile().
|
| |
|
|
|
|
|
| |
Problem: Deleting files in tests is a hassle.
Solution: Use the new 'D' flag of writefile().
|
| |
|
|
|
|
|
|
| |
Problem: Cleaning up after writefile() is a hassle.
Solution: Add the 'D' flag to defer deleting the written file. Very useful
in tests.
|
|
|
|
|
| |
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
|
|
|
|
|
| |
Problem: Argument assignment does not work.
Solution: Skip over "=".
|
|
|
|
|
| |
Problem: Clang warns for dead assignments.
Solution: Adjust the code. (Yegappan Lakshmanan, closes #11048)
|
|
|
|
|
| |
Problem: The footer feature is unused.
Solution: Remove FEAT_FOOTER and code.
|
|
|
|
|
| |
Problem: Coverity still complains about dropping sign of character.
Solution: Add intermediate variable.
|
|
|
|
|
|
| |
Problem: Coverity warns for NULL check and unused return value.
Solution: Remove the NULL check, it was already checked earlier. Add (void)
to ignore the return value.
|
|
|
|
|
| |
Problem: MS-Windows: "%T" time format does not appear to work.
Solution: Use "%H:%M:%S" instead.
|