| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: ":retab 0" may cause illegal memory access.
Solution: Limit the value of 'tabstop' to 10000.
|
|
|
|
|
|
| |
Problem: MS-Windows: warning from MSVC on debug build.
Solution: Adjust "/opt"o options. Remove unused variables. Make variables
uppercase for consistency. (Ken Takata, closes #9647)
|
|
|
|
|
| |
Problem: Lua tests fail with Lua 5.4.4.
Solution: Check messages like before Lua 5.4.3. (Jakub KulĂk, closes #9652)
|
|
|
|
|
|
| |
Problem: Put in Visual mode cannot be repeated.
Solution: Use "P" to put without yanking the deleted text into the unnamed
register. (Shougo Matsushita, closes #9591)
|
|
|
|
|
| |
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643)
|
|
|
|
|
| |
Problem: Error for using flatten() in Vim9 script is unclear.
Solution: Add a remark to use flattennew().
|
|
|
|
|
| |
Problem: Build fails with unusual configuration.
Solution: Adjust #ifdef. (closes #9651)
|
|
|
|
|
| |
Problem: *.tf file could be fileytpe "tf" or "terraform".
Solution: Detect the type from the file contents. (closes #9642)
|
|
|
|
|
|
| |
Problem: Record buffer wrong if character in Select mode was not typed.
Solution: Only delete the tail from the record buffer if the character was
typed. (closes #9650)
|
|
|
|
|
| |
Problem: Accessing freed memory.
Solution: Set the bh_curr pointer to NULL.
|
|
|
|
|
| |
Problem: Invalid check for NULL pointer.
Solution: Remove the check.
|
|
|
|
|
| |
Problem: test_garbagecollect_now() does not check v:testing as documented.
Solution: Give an error if v:testing is not set.
|
|
|
|
|
|
| |
Problem: Crash when recording and using Select mode.
Solution: When deleting the last recorded character check there is something
to delete.
|
|
|
|
|
| |
Problem: Some compilers don't like a goto label without statement.
Solution: Return instead of using a goto.
|
|
|
|
|
|
| |
Problem: Vim9: map() gives type error when type was not declared.
Solution: Only check the type when it was declared, like extend() does.
(closes #9635)
|
|
|
|
|
| |
Problem: MS-Windows: set_guifontwide() is included but won't work.
Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
|
|
|
|
|
|
| |
Problem: Possible crash when invoking timer callback fails.
Solution: Initialize the typval. Give an error for an empty callback.
(closes #9636)
|
|
|
|
|
|
| |
Problem: No tests for clicking in the GUI tabline.
Solution: Add test functions to generate the events. Add tests using the
functions. (Yegappan Lakshmanan, closes #9638)
|
|
|
|
|
| |
Problem: Vim9: using "lockvar!" in :def function does not work.
Solution: Add "!" instead of "-1". (closes #9634)
|
|
|
|
|
| |
Problem: Filter-map test fails.
Solution: Only reject number argument in Vim9 script.
|
|
|
|
|
|
| |
Problem: Vim9: depth argument of :lockvar not parsed in :def function.
Solution: Parse the optional depth argument. (closes #9629)
Fix that locking doesn't work for a non-materialize list.
|
|
|
|
|
| |
Problem: Vim9: no error when using a number for map() second argument
Solution: Disallow number to string conversion. (closes #9630)
|
|
|
|
|
| |
Problem: Long/int compiler warnings; function arguments swapped.
Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
|
|
|
|
|
| |
Problem: MS-Windows: clumsy way to suppress progress on CI.
Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
|
|
|
|
|
|
| |
Problem: Some functions in normal.c are very long.
Solution: Move code to separate functions. (Yegappan Lakshmanan,
closes #9628)
|
|
|
|
|
| |
Problem: MS-Windows: some old compiler support remains.
Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
|
|
|
|
|
| |
Problem: Reading before the start of the line.
Solution: Check boundary before trying to read the character.
|
|
|
|
|
| |
Problem: Illegal memory access with bracketed paste in Ex mode.
Solution: Reserve space for the trailing NUL.
|
|
|
|
|
| |
Problem: Illegal memory access when undo makes Visual area invalid.
Solution: Correct the Visual area after undo.
|
|
|
|
|
|
| |
Problem: Vim9: cannot use a function from an autoload import directly.
Solution: Add the AUTOLOAD instruction to figure out at runtime.
(closes #9620)
|
|
|
|
|
| |
Problem: Illegal memory access when copying lines in Visual mode.
Solution: Adjust the Visual position after copying lines.
|
|
|
|
|
| |
Problem: Illegal memory access with large 'tabstop' in Ex mode.
Solution: Allocate enough memory.
|
|
|
|
|
| |
Problem: Too much code for supporting old MSVC versions.
Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
|
|
|
|
|
| |
Problem: Window title test still fails in some configurations.
Solution: Explicitly set the 'title' option.
|
|
|
|
|
| |
Problem: Window title test still fails in some configurations.
Solution: Use WaitForAssert().
|
|
|
|
|
| |
Problem: Window title test fails in some configurations.
Solution: Only run the test if the title can be obtained.
|
|
|
|
|
| |
Problem: partial in 'opfunc' cannot use an imported function.
Solution: Also expand the function name in a partial. (closes #9614)
|
|
|
|
|
| |
Problem: Using setbufvar() may change the window title.
Solution: Do not redraw when creating the autocommand window. (closes #9613)
|
|
|
|
|
| |
Problem: Recursion test fails with MSVC.
Solution: Use a smaller limit for MSVC.
|
|
|
|
|
| |
Problem: Condition with many "(" causes a crash.
Solution: Limit recursion to 1000.
|
|
|
|
|
|
| |
Problem: The normal_cmd() function is too long.
Solution: Move parts to separate functions. (Yegappan Lakshmanan,
closes #9608)
|
|
|
|
|
| |
Problem: screenpos() has non-zero row for invisible text.
Solution: Only add the window row when the text is visible. (closes #9618)
|
|
|
|
|
|
| |
Problem: Entering a character with CTRL-V may include modifiers.
Solution: Reset "mod_mask" when entering a character with digits after
CTRL-V. (closes #9610)
|
|
|
|
|
|
| |
Problem: Vim9: cannot export function that exists globally.
Solution: When checking if a function already exists only check for
script-local functions. (closes #9615)
|
|
|
|
|
|
| |
Problem: When using the GUI CTRL-Z does not stop gvim.
Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
closes #9570)
|
|
|
|
|
| |
Problem: Some tests do not clean up properly.
Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
|
|
|
|
|
| |
Problem: MS-Windows: Support for MSVC 2003 is not useful.
Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616)
|
|
|
|
|
| |
Problem: Vim9: the switch for executing instructions is too long.
Solution: Move some code to separate functions.
|
|
|
|
|
| |
Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
|
|
|
|
|
| |
Problem: Various file types not recognized.
Solution: Add patterns to recognize more file types (closes #9607)
|