| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Vim9: import test failure in wrong line.
Solution: Adjust line number.
|
|
|
|
|
| |
Problem: Vim9: not fully implementing the autoload mechanism.
Solution: Allow for exporting a legacy function. Improve test coverage.
|
|
|
|
|
| |
Problem: Vim9: memory leak when exporting function in autoload script.
Solution: Fee the name if replacing it.
|
|
|
|
|
|
| |
Problem: Vim9: line break in expression causes v:errmsg to be filled.
(Yegappan Lakshmanan)
Solution: Do not give an error when skipping over an expression.
|
|
|
|
|
| |
Problem: Vim9 script test fails.
Solution: Add missing change.
|
|
|
|
|
|
|
| |
Problem: Vim9: autoload mechanism doesn't fully work yet.
Solution: Define functions and variables with their autoload name, add the
prefix when calling a function, find the variable in the table of
script variables.
|
|
|
|
|
|
| |
Problem: Not easy to resize a window from a plugin.
Solution: Add win_move_separator() and win_move_statusline() functions.
(Daniel Steinberg, closes #9486)
|
|
|
|
|
| |
Problem: Compiler complains about possibly uninitialized variable.
Solution: Add code to avoid a compiler warning. (John Marriott)
|
|
|
|
|
|
| |
Problem: Vim9: need to prefix every item in an autoload script.
Solution: First step in supporting "vim9script autoload" and "import
autoload".
|
|
|
|
|
| |
Problem: Vim9: reading before the start of the line with "$" by itself.
Solution: Do not subtract one when reporting the error.
|
|
|
|
|
| |
Problem: gcc complains about use of "%p" in printf.
Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
|
|
|
|
|
| |
Problem: Depending on the build features error messages are unused.
Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
|
| |
|
|
|
|
|
| |
Problem: Some error messages not in the right place.
Solution: Adjust the errors file. Fix typo.
|
|
|
|
|
| |
Problem: Some global functions are only used in one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
|
|
|
|
|
| |
Problem: Vim9: no error when importing the same script twice.
Solution: Give an error, unless it is a reload.
|
|
|
|
|
| |
Problem: Using int for second argument of ga_init2().
Solution: Remove unnessary type cast (int) when using sizeof().
|
|
|
|
|
| |
Problem: Vim9: build error.
Solution: Use grow array instead of character pointer.
|
|
|
|
|
| |
Problem: Using unitialized pointer.
Solution: Store "ht" when variable is in another script.
|
|
|
|
|
|
| |
Problem: Keeping track of allocated lines in user functions is too
complicated.
Solution: Instead of freeing individual lines keep them all until the end.
|
|
|
|
|
| |
Problem: The xdiff library is linked in even when not used.
Solution: Use configure to decide whether xdiff object files are included.
|
|
|
|
|
| |
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
|
|
|
|
|
|
| |
Problem: Insert mode completion is insufficiently tested.
Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
closes #9489)
|
|
|
|
|
| |
Problem: Vim9: script test file is getting too long.
Solution: Split the import/export functionality to a separate file.
|
|
|
|
|
| |
Problem: Timer triggered at the debug prompt may cause trouble.
Solution: Do not trigger any timer at the debug prompt. (closes #9481)
|
|
|
|
|
| |
Problem: Coverity warns for possibly using a NULL pointer.
Solution: Check v_partial is not NULL.
|
|
|
|
|
| |
Problem: Running filetype tests leaves directory behind.
Solution: Delete the top directory. (closes #9483)
|
|
|
|
|
| |
Problem: ATTRIBUTE_NORETURN is not needed.
Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
|
|
|
|
|
| |
Problem: Crash in xterm with only two lines. (Dominique Pellé)
Solution: Only perform xterm compatibility test if possible. (closes #9488)
|
|
|
|
|
|
| |
Problem: A script local funcref is not found from a mapping.
Solution: When looking for a function, also find a script-local funcref.
(closes #9485)
|
|
|
|
|
|
|
| |
Problem: Debugging NFA regexp my crash, cached indent may be wrong.
Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
is set when used. Fix breakindent and indent caching. (Christian
Brabandt, closes #9482)
|
|
|
|
|
| |
Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
Solution: Disable Visual mode while executing autocommands.
|
|
|
|
|
| |
Problem: Import test fails on MS-Windows.
Solution: Use a different directory name.
|
|
|
|
|
| |
Problem: ml_get error with specific win_execute() command. (Sean Dewar)
Solution: Check cursor and Visual area are OK.
|
|
|
|
|
| |
Problem: Error for import not ending in .vim does not work for .vimrc.
Solution: Check that .vim is the end. (closes #9484)
|
|
|
|
|
| |
Problem: Confusing error message if imported name is used directly.
Solution: Give a better error message.
|
|
|
|
|
| |
Problem: Using uninitialized variable.
Solution: Initialize "ufunc" also when an item is not exported.
|
|
|
|
|
| |
Problem: Two error messages in the wrong file.
Solution: Use the error message from errors.h.
|
|
|
|
|
| |
Problem: Missing part of the :import changes.
Solution: Add changes in vim9cmds.c.
|
|
|
|
|
| |
Problem: Debugger test fails.
Solution: Fix import statement.
|
|
|
|
|
| |
Problem: Vim9: import mechanism is too complicated.
Solution: Do not use the Javascript mechanism but a much simpler one.
|
|
|
|
|
| |
Problem: ml_get error when win_execute redraws with Visual selection.
Solution: Disable Visual area temporarily. (closes #9479)
|
|
|
|
|
|
| |
Problem: Gcc warns for misleading indent in Athena menu code.
Solution: Add curlies around the two statements. (Dominique Pellé,
closes #9480)
|
|
|
|
|
|
| |
Problem: Vim9: incorrect error for argument that is shadowing var.
Solution: Ignore variable that is not in block where the function was
defined.
|
|
|
|
|
| |
Problem: Build failure with tiny features. (Tony Mechelynck)
Solution: Adjust #ifdefs.
|
|
|
|
|
| |
Problem: Git and gitcommit file types not properly recognized.
Solution: Adjust filetype detection. (Tim Pope, closes #9477)
|
|
|
|
|
| |
Problem: Build failure without the spell feature.
Solution: Adjust #ifdefs.
|
|
|
|
|
| |
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
|
|
|
|
|
| |
Problem: Test fails because of changed error number.
Solution: Restore old duplicate error message.
|
|
|
|
|
| |
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
|