| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Text properties corrupted with substitute command. (Filipe
Brandenburger)
Solution: Get the changed line again after using u_savesub(). (closes #6984)
|
|
|
|
|
|
| |
Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
Solution: Add {} to make "n" incremented correctly. (closes #6989,
closes #5948)
|
| |
|
|
|
|
|
| |
Problem: Vim9: leaking memory when calling a lambda.
Solution: Decrement function reference from ISN_DCALL.
|
|
|
|
|
| |
Problem: Vim9: leaking memory when using partial.
Solution: Do delete the function even when it was compiled.
|
|
|
|
|
|
| |
Problem: Vim9: list of list type can be wrong.
Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
looking for a common type. (closes #6979)
|
|
|
|
|
| |
Problem: Vim9: memory leak when using multiple closures.
Solution: Free the partial.
|
|
|
|
|
| |
Problem: Vim9: error message for function has unpritable characters.
Solution: use printable_func_name(). (closes #6965)
|
|
|
|
|
| |
Problem: Small inconsitency in highlight test.
Solution: Use one argument for :execute. (Antony Scriven, #6975)
|
|
|
|
|
| |
Problem: Vim9: crash after running into the "Multiple closures" error.
Solution: When a function fails still update any closures. (closes #6973)
|
|
|
|
|
| |
Problem: "verbose hi Name" reports incorrect info after ":hi clear".
Solution: Store the script context. (Antony Scriven, closes #6975)
|
|
|
|
|
| |
Problem: Vim9: crash in for loop when autoload script has an error.
Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
|
|
|
|
|
|
| |
Problem: ":highlight clear" does not restore default link.
Solution: Remember the default link and restore it. (Antony Scriven,
closes #6970, closes #4405)
|
|
|
|
|
| |
Problem: Crash when using undo after deleting folded lines.
Solution: Check for NULL pointer. (closes #6968)
|
|
|
|
|
| |
Problem: Vim9: sort("i") does not work.
Solution: Don't try getting a number for a string argument. (closes #6958)
|
|
|
|
|
| |
Problem: Vim9: try/catch causes wrong value to be returned.
Solution: Reset tcd_return. (closes #6964)
|
|
|
|
|
| |
Problem: Build failure due to missing error message.
Solution: Add error message.
|
|
|
|
|
| |
Problem: Cannot lock a variable in legacy Vim script like in Vim9.
Solution: Make ":lockvar 0" work.
|
|
|
|
|
| |
Problem: Inconsistent capitalization of error messages.
Solution: Always start with a capital.
|
|
|
|
|
| |
Problem: Unused (duplicate) macros.
Solution: Remove the macros.
|
|
|
|
|
| |
Problem: Vim9: crash when using varargs type "any".
Solution: Check if uf_va_type is &t_any. (closes #6957)
|
|
|
|
|
| |
Problem: Compiler warning for loss if data.
Solution: Add typecast.
|
|
|
|
|
|
| |
Problem: "hi def" does not work for cleared highlight.
Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
closes #4405)
|
|
|
|
|
| |
Problem: Build fails because TTFLAG_STATIC is missing.
Solution: Include missing change.
|
|
|
|
|
|
| |
Problem: Vim9: list<any> is not accepted where list<number> is expected.
Solution: Add functions to allocate and free a type_T, use it in
ISN_CHECKTYPE. (closes #6959)
|
|
|
|
|
| |
Problem: Text properties not adjusted for "I" in Visual block mode.
Solution: Call inserted_bytes().
|
|
|
|
|
|
| |
Problem: 'colorcolumn' doesn't show in indent.
Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
(Alexey Demin, closes #6948, closes #6619)
|
|
|
|
|
| |
Problem: Increment/decrement removes text property.
Solution: Insert the new number before deleting the old one. (closes #6962)
|
|
|
|
|
| |
Problem: Vim9: out of bounds error.
Solution: Check that cmdidx is not negative.
|
|
|
|
|
| |
Problem: Vim9: "const!" not sufficiently tested.
Solution: Add a few more test cases. Fix type checking.
|
|
|
|
|
| |
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
|
|
|
|
|
| |
Problem: "gF" does not use line number after file in Visual mode.
Solution: Look for ":123" after the Visual area. (closes #6952)
|
|
|
|
|
| |
Problem: Vim9: assignment test fails.
Solution: Include changes to find Ex command.
|
|
|
|
|
|
| |
Problem: Vim9: const works in an unexpected way.
Solution: ":const" only disallows changing the variable, not the value.
Make "list[0] = 9" work at the script level.
|
|
|
|
|
| |
Problem: Vim9: unnessary :call commands in tests.
Solution: Remove the commands. (issue #6936)
|
|
|
|
|
| |
Problem: Vim9: line number for compare error is wrong.
Solution: Set SOURCING_LNUM. (closes #6936)
|
|
|
|
|
| |
Problem: Vim9: ":*" is not recognized as a range.
Solution: Move recognizing "*" into skip_range(). (closes #6838)
|
|
|
|
|
| |
Problem: Crash when using ":set" after ":ownsyntax".
Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
|
|
|
|
|
| |
Problem: Memory access errors when calling setloclist() in an autocommand.
Solution: Give an error if the list was changed unexpectedly. (closes #6946)
|
|
|
|
|
| |
Problem: Compiler warnings for function typecast.
Solution: Add an intermediate cast to "void *".
|
|
|
|
|
|
| |
Problem: MinGW: testdir makefile deletes non-existing file.
Solution: Use another way to delete the output file if it already exists.
(Michael Soyka)
|
|
|
|
|
| |
Problem: Vim9: internal error when using variable that was not set.
Solution: Give a meaningful error. (closes #6937)
|
|
|
|
|
|
| |
Problem: complete_info() selected index has an invalid value. (Ben Jackson)
Solution: Set the index when there is only one match. (closes #6945)
Add test for complete_info().
|
|
|
|
|
| |
Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
Solution: Initialize the typval in eval1().
|
|
|
|
|
| |
Problem: Vim9: stray error for missing white space.
Solution: Do not skip over white space after member. (closes #6817)
|
|
|
|
|
| |
Problem: A couple of gcc compiler warnings.
Solution: Initialize local variables. (Dominique Pellé, closes #6944)
|
|
|
|
|
| |
Problem: Vim9: memory leak when storing a value fails.
Solution: Free the value when not storing it.
|
|
|
|
|
| |
Problem: Vim9: not accepting 0 or 1 as bool when type is any.
Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
|
|
|
|
|
|
| |
Problem: Local function name cannot shadow a global function name.
Solution: Ignore global functions when checking a script-local or scoped
function name. (closes #6926)
|
|
|
|
|
|
| |
Problem: The initial value of 'backupskip' can have duplicate items.
Solution: Remove duplicates, like when it is set later. (Tom Ryder,
closes #6940)
|