| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: No testing for -C and -N command line flags, file arguments,
startuptime.
Solution: Add tests.
|
|
|
|
|
|
| |
Problem: #ifdefs in main() are complicated.
Solution: Always define vim_main2(). Move params to the file level.
(suggested by Ken Takata)
|
|
|
|
|
| |
Problem: Insufficient testing of cscope.
Solution: Add more tests. (Dominique Pelle)
|
|
|
|
|
| |
Problem: Adding duplicate flags to 'whichwrap' leaves commas behind.
Solution: Also remove the commas. (Naruhiko Nishino)
|
|
|
|
|
| |
Problem: Can't test help on MS-Windows.
Solution: Skip the test.
|
|
|
|
|
| |
Problem: No test for "vim --help".
Solution: Add a test.
|
|
|
|
|
| |
Problem: MS-Windows build fails.
Solution: Add QueryPerformanceCounter().
|
|
|
|
|
| |
Problem: Cannot get information about timers.
Solution: Add timer_info().
|
|
|
|
|
| |
Problem: Startup test gets stuck on MS-Windows.
Solution: Use double quotes.
|
|
|
|
|
| |
Problem: Not running the startup test on MS-Windows.
Solution: Write vimcmd.
|
|
|
|
|
| |
Problem: Small build can't run tests.
Solution: Don't try setting 'packpath'.
|
|
|
|
|
| |
Problem: Small build can't run startup test.
Solution: Skip the test.
|
|
|
|
|
| |
Problem: Startup test fails on MS-Windows.
Solution: Don't check output if RunVim() returns zero.
|
|
|
|
|
|
|
|
| |
Problem: It is not possible to use plugins in an "after" directory to tune
the behavior of a package.
Solution: First load plugins from non-after directories, then packages and
finally plugins in after directories.
Reset 'loadplugins' before executing --cmd arguments.
|
|
|
|
|
| |
Problem: match() and related functions tested with old style test.
Solution: Convert to new style test. (Hirohito Higashi)
|
|
|
|
|
|
| |
Problem: Result of getcompletion('', 'sign') depends on previous
completion.
Solution: Call set_context_in_sign_cmd(). (Dominique Pelle)
|
|
|
|
|
| |
Problem: Expression test fails without conceal feature.
Solution: Only check "conceal" with the conceal feature.
|
|
|
|
|
| |
Problem: setmatches() mixes up values. (Nikolai Pavlov)
Solution: Save the string instead of reusing a shared buffer.
|
|
|
|
|
| |
Problem: Insufficient testing for cscope.
Solution: Add more tests. (Dominique Pelle)
|
|
|
|
|
|
| |
Problem: Result of getcompletion('', 'cscope') depends on previous
completion. (Christian Brabandt)
Solution: Call set_context_in_cscope_cmd().
|
|
|
|
|
|
| |
Problem: Test_job_start_fails() is expected to report memory leaks, making
it hard to see other leaks in test_partial.
Solution: Move Test_job_start_fails() to a separate test file.
|
|
|
|
|
| |
Problem: Compiler warning.
Solution: Add type cast. (Ken Takata, Mike Williams)
|
|
|
|
|
| |
Problem: Quotes make GUI test fail on MS-Windows.
Solution: Remove quotes, strip white space.
|
|
|
|
|
| |
Problem: Test_communicate() fails sometimes.
Solution: Add it to the flaky tests.
|
|
|
|
|
| |
Problem: GUI test isn't testing much.
Solution: Turn into a new style test. Execute a shell command.
|
|
|
|
|
| |
Problem: No proper translation of messages with a count.
Solution: Use ngettext(). (Sergey Alyoshin)
|
|
|
|
|
| |
Problem: Quickfix test fails on MS-Windows.
Solution: Close the help window. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Warning with MinGW 64. (John Marriott)
Solution: Change return type. (Ken Takata)
|
|
|
|
|
| |
Problem: If a test leaves a window open a following test may fail.
Solution: Always close extra windows after running a test.
|
|
|
|
|
| |
Problem: Not much testing for cscope.
Solution: Add a test that uses the cscope program. (Christian Brabandt)
|
|
|
|
|
| |
Problem: test_alot fails.
Solution: Close window.
|
|
|
|
|
|
|
| |
Problem: Not enough testing for popup menu. CTRL-E does not always work
properly.
Solution: Add more tests. When using CTRL-E check if the popup menu is
visible. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Win32: Using CreateThread/ExitThread is not safe.
Solution: Use _beginthreadex and return from the thread. (Ken Takata)
|
|
|
|
|
|
| |
Problem: On MS-Windows quickix does not handle a line with 1023 bytes
ending in CR-LF properly.
Solution: Don't consider CR a line break. (Ken Takata)
|
| |
|
|
|
|
|
|
| |
Problem: A funccal is garbage collected while it can still be used.
Solution: Set copyID in all referenced functions. Do not list lambda
functions with ":function".
|
|
|
|
|
|
|
| |
Problem: Leaking memory when redefining a function.
Solution: Don't increment the function reference count when it's found by
name. Don't remove the wrong function from the hashtab. More
reference counting fixes.
|
|
|
|
|
|
| |
Problem: Coverity reports bogus NULL check.
Solution: When checking for a variable in the funccal scope don't pass the
varname.
|
|
|
|
|
| |
Problem: Tiny build fails.
Solution: Add dummy typedefs.
|
|
|
|
|
| |
Problem: :delfunction causes illegal memory access.
Solution: Correct logic when deciding to free a function.
|
|
|
|
|
| |
Problem: Test 86 and 87 fail.
Solution: Call func_ref() also for regular functions.
|
|
|
|
|
|
|
| |
Problem: Using function() with a name will find another function when it is
redefined.
Solution: Add funcref(). Refer to lambda using a partial. Fix several
reference counting issues.
|
|
|
|
|
| |
Problem: Closure function fails.
Solution: Don't reset uf_scoped when it points to another funccal.
|
|
|
|
|
| |
Problem: Various tiny issues.
Solution: Update comments, white space, etc.
|
|
|
|
|
| |
Problem: No error for using function() badly.
Solution: Check for passing wrong function name. (Ken Takata)
|
|
|
|
|
| |
Problem: Can't build with tiny features.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: test_partial has memory leaks reported.
Solution: Add a note about why this happens.
|
|
|
|
|
| |
Problem: More memory leaks when using partial, e.g. for "exit-cb".
Solution: Don't copy the callback when using a partial.
|
|
|
|
|
| |
Problem: Pending timers cause false memory leak reports.
Solution: Free all timers on exit.
|
|
|
|
|
| |
Problem: Memory leak when using timer_start(). (Dominique Pelle)
Solution: Don't copy the callback when using a partial.
|