| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: When a dict contains a partial it can't be redefined as a
function. (Nikolai Pavlov)
Solution: Remove the partial when overwriting with a function.
|
|
|
|
|
|
|
| |
Problem: Using string() on a partial that exists in the dictionary it binds
results in an error. (Nikolai Pavlov)
Solution: Make string() not fail on a recursively nested structure. (Ken
Takta)
|
|
|
|
|
| |
Problem: Terminating file name has side effects.
Solution: Restore the character. (mostly by James McCoy, closes #713)
|
|
|
|
|
| |
Problem: Using unterminated string.
Solution: Add NUL before calling vim_strsave_shellescape(). (James McCoy)
|
|
|
|
|
|
| |
Problem: Crash when an autocommand changes a quickfix list. (Dominique)
Solution: Check wether an entry is still valid. (Yegappan Lakshmanan,
Hirohito Higashi)
|
|
|
|
|
|
| |
Problem: When binding a function to a dict the reference count is wrong.
Solution: Decrement dict reference count, only reference the function when
actually making a copy. (Ken Takata)
|
|
|
|
|
| |
Problem: Channel test is a bit flaky.
Solution: Remove 'DETACH' if it's there.
|
|
|
|
|
|
| |
Problem: Vertical movement after CTRL-A ends up in the wrong column.
(Urtica Dioica)
Solution: Set curswant when appropriate. (Hirohito Higashi)
|
|
|
|
|
| |
Problem: Channel out_cb and err_cb are not tested.
Solution: Add a test.
|
|
|
|
|
| |
Problem: Can't get info about a channel.
Solution: Add ch_info().
|
|
|
|
|
| |
Problem: Channel test doesn't work with Python 2.6.
Solution: Add number in formatting placeholder. (Wiredool)
|
|
|
|
|
| |
Problem: When a JSON message is split it isn't decoded.
Solution: Wait a short time for the rest of the message to arrive.
|
|
|
|
|
| |
Problem: Malformed channel request causes a hang.
Solution: Drop malformed message. (Damien)
|
|
|
|
|
| |
Problem: Still quickfix test in old style.
Solution: Turn test 10 into a new style test.
|
|
|
|
|
| |
Problem: string() doesn't handle a partial.
Solution: Make a string from a partial.
|
|
|
|
|
|
| |
Problem: Comparing a function that exists on two dicts is not backwards
compatible. (Thinca)
Solution: Only compare the function, not what the partial adds.
|
|
|
|
|
|
| |
Problem: Having type() handle a Funcref that is or isn't a partial
differently causes problems for existing scripts.
Solution: Make type() return the same value. (Thinca)
|
|
|
|
|
| |
Problem: Catching exception that won't be thrown.
Solution: Remove try/catch.
|
|
|
|
|
| |
Problem: Quickfix code using memory after being freed. (Dominique Pelle)
Solution: Detect that the window was closed. (Hirohito Higashi)
|
|
|
|
|
| |
Problem: The quickfix title is truncated.
Solution: Save the command before it is truncated. (Anton Lindqvist)
|
|
|
|
|
| |
Problem: Combining dict and args with partial doesn't always work.
Solution: Use the arguments from the partial.
|
|
|
|
|
| |
Problem: Old style test for quickfix.
Solution: Turn test 96 into a new style test.
|
|
|
|
|
| |
Problem: Nesting partials doesn't work.
Solution: Append arguments. (Ken Takata)
|
|
|
|
|
|
| |
Problem: Partial is not recognized everywhere.
Solution: Check for partial in trans_function_name(). (Yasuhiro Matsumoto)
Add a test.
|
|
|
|
|
|
|
| |
Problem: Get E923 when using function(dict.func, [], dict). (Kent Sibilev)
Storing a function with a dict in a variable drops the dict if the
function is script-local.
Solution: Translate the function name. Use dict arg if present.
|
|
|
|
|
|
|
| |
Problem: Using ":call dict.func()" where the function is a partial does
not work. Using "dict.func()" where the function does not take a
Dictionary does not work.
Solution: Handle partial properly in ":call". (Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Crash when using function reference. (Luchr)
Solution: Set initial refcount. (Ken Takata, closes #690)
|
|
|
|
|
| |
Problem: There is no way to invoke a function later or periodically.
Solution: Add timer support.
|
|
|
|
|
| |
Problem: Cannot pass "dict.Myfunc" around as a partial.
Solution: Create a partial when expected.
|
| |
|
|
|
|
|
| |
Problem: ":undo 0" does not work. (Florent Fayolle)
Solution: Make it undo all the way. (closes #688)
|
|
|
|
|
| |
Problem: Tests get stuck at the more prompt.
Solution: Move the backspace test out of test_alot.
|
|
|
|
|
| |
Problem: Setting 'compatible' in test influences following tests.
Solution: Turn 'compatible' off again.
|
|
|
|
|
| |
Problem: No test for ":help".
Solution: Add a test for what 7.4.1568 fixed. (Higashi Higashi)
|
|
|
|
|
| |
Problem: Using old style tests for quickfix.
Solution: Change them to new style tests. (Yegappan Lakshmanan)
|
|
|
|
|
| |
Problem: Crash in assert_fails().
Solution: Check for NULL. (Dominique Pelle) Add a test.
|
|
|
|
|
| |
Problem: Crash when assert_equal() runs into a NULL string.
Solution: Check for NULL. (Dominique) Add a test.
|
|
|
|
|
| |
Problem: An empty list in function() causes an error.
Solution: Handle an empty list like there is no list of arguments.
|
|
|
|
|
| |
Problem: Partial test fails on windows.
Solution: Return 1 or -1 from compare function.
|
|
|
|
|
| |
Problem: Dict options with a dash are more difficult to use.
Solution: Use an underscore, so that dict.err_io can be used.
|
|
|
|
|
| |
Problem: Passing cookie to a callback is clumsy.
Solution: Change function() to take arguments and return a partial.
|
|
|
|
|
| |
Problem: It is not easy to find out what windows display a buffer.
Solution: Add win_findbuf().
|
|
|
|
|
| |
Problem: Windows cannot be identified.
Solution: Add a unique window number to each window and functions to use it.
|
|
|
|
|
| |
Problem: Completion for :colorscheme does not use 'packpath'.
Solution: Make it work, add a test. (Hirohito Higashi)
|
|
|
|
|
| |
Problem: ":runtime" does not use 'packpath'.
Solution: Add "what" argument.
|
|
|
|
|
| |
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
|
|
|
|
|
| |
Problem: Cannot generate help tags in all doc directories.
Solution: Make ":helptags ALL" work.
|
|
|
|
|
| |
Problem: Cannot load packages early.
Solution: Add the ":packloadall" command.
|
|
|
|
|
| |
Problem: Test for syntax attributes fails in Win32 GUI.
Solution: Use an existing font name.
|
|
|
|
|
| |
Problem: Two tests fail.
Solution: Adjust the expected error number. Remove check for type.
|