| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Test for undo is flaky.
Solution: Turn it into a new style test. Use test_settime() to avoid
flakyness.
|
|
|
|
|
|
|
|
| |
Problem: getcompletion(.., 'dir') returns a match with trailing "*" when
there are no matches. (Chdiza)
Solution: Return an empty list when there are no matches. Add a trailing
slash to directories. (Yegappan Lakshmanan) Add tests for no
matches. (closes #947)
|
| |
|
|
|
|
|
|
| |
Problem: Defaults are very conservative.
Solution: Move settings from vimrc_example.vim to defaults.vim. Load
defaults.vim if no .vimrc was found.
|
|
|
|
|
|
| |
Problem: When there is an CmdUndefined autocmd then the error for a missing
command is E464 instead of E492. (Manuel Ortega)
Solution: Don't let the pointer be NULL.
|
|
|
|
|
|
| |
Problem: Setting 'display' to "lastline" is a drastic change, while
omitting it results in lots of "@" lines.
Solution: Add "truncate" to show "@@@" for a truncated line.
|
|
|
|
|
| |
Problem: Netbeans test is flaky.
Solution: Wait for the cursor to be positioned.
|
|
|
|
|
| |
Problem: Misplaced equal sign.
Solution: Remove it.
|
|
|
|
|
| |
Problem: Clang warns about missing field in initializer.
Solution: Define COMMA and use it. (Kazunobu Kuriyama)
|
|
|
|
|
|
| |
Problem: Configure reports default features to be "normal" while it is
"huge".
Solution: Change the default text.
|
|
|
|
|
| |
Problem: Code duplication when unreferencing a function.
Solution: De-duplicate.
|
|
|
|
|
| |
Problem: Can't have "augroup END" right after ":au!".
Solution: Check for the bar character before the command argument.
|
|
|
|
|
| |
Problem: Tiny build with GUI fails.
Solution: Revert one FOR_ALL_ change.
|
|
|
|
|
| |
Problem: Looping over windows, buffers and tab pages is inconsistant.
Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
|
|
|
|
|
|
|
|
| |
Problem: "cgn" and "dgn" do not work correctly with a single character
match and the replacement includes the searched pattern. (John
Beckett)
Solution: If the match is found in the wrong column try in the next column.
Turn the test into new style. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: When a keymap is active only "(lang)" is displayed. (Ilya
Dogolazky)
Solution: Show the keymap name. (Dmitri Vereshchagin, closes #933)
|
| |
|
|
|
|
|
| |
Problem: Text object tests are old style.
Solution: Turn them into new style tests. (James McCoy, closes #941)
|
|
|
|
|
| |
Problem: Warning from 64 bit compiler.
Solution: use size_t instead of int. (Mike Williams)
|
|
|
|
|
| |
Problem: Lambda functions show up with completion.
Solution: Don't show lambda functions. (Ken Takata)
|
|
|
|
|
| |
Problem: Man test fails when run with the GUI.
Solution: Adjust for different behavior of GUI. Add assert_inrange().
|
|
|
|
|
|
| |
Problem: The color allocation in X11 is overly complicated.
Solution: Remove find_closest_color(), XAllocColor() already does this.
(Kazunobu Kuriyama)
|
|
|
|
|
| |
Problem: Netbeans test fails once in a while. Leaving log file behind.
Solution: Add it to the list of flaky tests. Disable logfile.
|
|
|
|
|
| |
Problem: GTK 3 build fails with older GTK version.
Solution: Check the pango version. (Kazunobu Kuriyama)
|
|
|
|
|
| |
Problem: Coverity reports a resource leak when out of memory.
Solution: Close the file before returning.
|
|
|
|
|
|
| |
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
|
|
|
|
|
|
| |
Problem: Color handling of X11 GUIs is too complicated.
Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu
Kuriyama)
|
|
|
|
|
| |
Problem: Keymap test fails with normal features.
Solution: Bail out if the keymap feature is not supported.
|
|
|
|
|
| |
Problem: Digraph code test coverage is still low.
Solution: Add more tests. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: Using the system default encoding makes tests unpredictable.
Solution: Always use utf-8 or latin1 in the new style tests. Remove setting
encoding and scriptencoding where it is not needed.
|
|
|
|
|
| |
Problem: Digraph tests fails on some systems.
Solution: Run it separately and set 'encoding' early.
|
|
|
|
|
| |
Problem: New digraph test makes testing hang.
Solution: Don't set "nocp".
|
|
|
|
|
|
| |
Problem: Coverity complains about not restoring a value.
Solution: Restore the value, although it's not really needed. Change return
to jump to cleanup, might leak memory.
|
|
|
|
|
| |
Problem: Not much test coverage for digraphs.
Solution: Add a new style digraph test. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Line numbers in the error list are not always adjusted.
Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan)
|
|
|
|
|
|
| |
Problem: When using PERROR() on some systems assert_fails() does not see
the error.
Solution: Make PERROR() always report the error.
|
|
|
|
|
| |
Problem: Netbeans test fails on non-Unix systems.
Solution: Only do the permission check on Unix systems.
|
|
|
|
|
| |
Problem: Running checks in po diretory fails.
Solution: Add colors used in syntax.c to the builtiin color table.
|
|
|
|
|
| |
Problem: Cannot update 'tabline' when a tab was closed.
Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
|
|
|
|
|
| |
Problem: Syntax error when dict has '>' key.
Solution: Check for endchar. (Ken Takata)
|
|
|
|
|
| |
Problem: No autocommand event to initialize a window or tab page.
Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
|
|
|
|
|
| |
Problem: One more place using a dummy variable.
Solution: Use offsetof(). (Ken Takata)
|
|
|
|
|
| |
Problem: rgb.txt is read for every color name.
Solution: Load rgb.txt once. (Christian Brabandt) Add a test.
|
|
|
|
|
| |
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
|
|
|
|
|
| |
Problem: The return value of type() is difficult to use.
Solution: Define v:t_ constants. (Ken Takata)
|
|
|
|
|
| |
Problem: Missing change to include file.
Solution: Include the spell header file.
|
|
|
|
|
| |
Problem: spell.c is too big.
Solution: Split it in spell file handling and spell checking.
|
|
|
|
|
|
|
| |
Problem: Not all arguments of trunc_string() are tested. Memory access
error when running the message tests.
Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run
unittests with valgrind. Fix the access error.
|
|
|
|
|
|
| |
Problem: Compiler warning for char/char_u conversion. (Tony Mechelynck)
Inefficient code.
Solution: Use more lines to fill with spaces. (Nikolai Pavlov) Add type cast.
|
|
|
|
|
| |
Problem: getcompletion() not well tested.
Solution: Add more testing.
|