| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: The terminal debugger uses various global variables.
Solution: Add a dictionary to hold the terminal debugger preferences.
|
|
|
|
|
| |
Problem: Fold may not be closeable after appending.
Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
|
|
|
|
|
|
| |
Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
comment.
Solution: Pass the OPENLINE_FORMAT flag.
|
|
|
|
|
| |
Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
Solution: Avoid going over the end of the word.
|
|
|
|
|
| |
Problem: Asan warns for undefined behavior.
Solution: Cast the shifted value to unsigned.
|
|
|
|
|
| |
Problem: Compiler warning for uninitialized variable. (John Marriott)
Solution: Initialize the pointer to NULL.
|
|
|
|
|
| |
Problem: Right shift on negative number does not work as documented.
Solution: Use a uvarnumber_T type cast.
|
|
|
|
|
| |
Problem: Cannot do bitwise shifts.
Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
|
|
|
|
|
| |
Problem: deletebufline() may change Visual selection.
Solution: Disable Visual mode when using another buffer. (closes #10469)
|
|
|
|
|
| |
Problem: Checking translations affects the search pattern history.
Solution: Use "keeppatterns". (Doug Kearns)
|
|
|
|
|
| |
Problem: No patch for documentation updates.
Solution: Update documentation files.
|
|
|
|
|
| |
Problem: Filetype test table is not properly sorted.
Solution: Sort by filetype. (Doug Kearns)
|
|
|
|
|
| |
Problem: Vim9: crash when using multiple funcref().
Solution: Check if varargs type is NULL. (closes #10467)
|
|
|
|
|
|
|
| |
Problem: Python: changing hidden buffer can cause the display to be messed
up.
Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
closes #10437, closes #7972)
|
|
|
|
|
| |
Problem: setbufline() may change Visual selection. (Qiming Zhao)
Solution: Disable Visual mode when using another buffer. (closes #10466)
|
|
|
|
|
|
| |
Problem: Still a compiler warning for possibly uninitialized variable.
(Tony Mechelynck)
Solution: Initialize variables.
|
|
|
|
|
| |
Problem: Tests are using legacy functions.
Solution: Convert a few tests to use :def functions.
|
|
|
|
|
|
| |
Problem: smart/C/lisp indenting is optional, which makes the code more
complex, while it only reduces the executable size a bit.
Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
|
|
|
|
|
|
| |
Problem: Compiler warning for possibly uninitialized variable. (Tony
Mechelynck)
Solution: Initialize variable in the caller instead of in the function.
|
|
|
|
|
| |
Problem: No test for hwat patch 8.1.0535 fixes.
Solution: Add a test. (closes #10462)
|
|
|
|
|
| |
Problem: Memory leak when :defcompile fails.
Solution: Free fname when returning early.
|
|
|
|
|
| |
Problem: Cannot specify a function name for :defcompile.
Solution: Implement a function name argument for :defcompile.
|
| |
|
|
|
|
|
| |
Problem: Textprop in wrong position when replacing multi-byte chars.
Solution: Adjust textprop position. (closes #10461)
|
|
|
|
|
| |
Problem: After deletion a small fold may be closable.
Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
|
|
|
|
|
| |
Problem: Some github actions are outdated.
Solution: Update CodeQl to v2, update checkout to v3. (closes #10450)
|
|
|
|
|
| |
Problem: PVS warns for possible array underrun.
Solution: Add a check for a positive value. (closes #10451)
|
|
|
|
|
| |
Problem: Dragging statusline fails for window with winbar.
Solution: Fix off-by-one error. (closes #10448)
|
|
|
|
|
| |
Problem: Colors test fails in the GUI.
Solution: Reset g:terminal_ansi_colors.
|
|
|
|
|
|
| |
Problem: Colors in terminal window are not 100% correct.
Solution: Use g:terminal_ansi_colors as documented. (closes #10429,
closes #7227 closes #10347)
|
|
|
|
|
|
| |
Problem: It is not possible to manipulate autocommands.
Solution: Add functions to add, get and set autocommands. (Yegappan
Lakshmanan, closes #10291)
|
|
|
|
|
|
|
| |
Problem: When 'shortmess' contains 'A' loading a session may still warn for
an existing swap file. (Melker Österberg)
Solution: Keep the 'A' flag to 'shortmess' in the session file.
(closes #10443)
|
|
|
|
|
| |
Problem: Accessing freed memory when line is flushed.
Solution: Make a copy of the pattern to search for.
|
|
|
|
|
| |
Problem: No error if engine selection atom is not at the start.
Solution: Give an error. (Christian Brabandt, closes #10439)
|
|
|
|
|
| |
Problem: Memory access error when substitute expression changes window.
Solution: Disallow changing window in substitute expression.
|
|
|
|
|
| |
Problem: Coverity complains about not restoring a saved value.
Solution: Restore value before handling error.
|
|
|
|
|
| |
Problem: Recursive command line loop may cause a crash.
Solution: Limit recursion of getcmdline().
|
|
|
|
|
| |
Problem: ":so" command may read after end of buffer.
Solution: Compute length of text properly.
|
|
|
|
|
| |
Problem: Vim9: type error for list unpack mentions argument.
Solution: Mention variable. (close #10435)
|
|
|
|
|
| |
Problem: Vim9: compilation fails when using dict member when skipping.
Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
|
|
|
|
|
|
| |
Problem: Vim9: interpolated string seen as range.
Solution: Recognize an interpolated string at the start of a command line.
(closes #10434)
|
|
|
|
|
| |
Problem: "eval 123" gives an error, "eval 'abc'" does not.
Solution: Also give an error when evaluating only a string. (closes #10434)
|
|
|
|
|
| |
Problem: Changing text in Visual mode may cause invalid memory access.
Solution: Check the Visual position after making a change.
|
|
|
|
|
| |
Problem: Reading past end of the line when C-indenting.
Solution: Check for NUL.
|
|
|
|
|
| |
Problem: MS-Windows GUI: mouse event test sometimes fails.
Solution: Ignore one move event only if there is an extra event.
|
|
|
|
|
| |
Problem: MS-Windows GUI: mouse event test gets extra event.
Solution: Ignore one move event.
|
|
|
|
|
| |
Problem: GUI: testing mouse move event depends on screen cell size.
Solution: Multiply the row and column with the screen cell size.
|
|
|
|
|
| |
Problem: MS-Windows GUI: mouse event test is flaky.
Solution: Add a short delay after generating a mouse event.
|
|
|
|
|
| |
Problem: Expanding path with "/**" may overrun end of buffer.
Solution: Use vim_snprintf().
|
|
|
|
|
|
| |
Problem: Files show up in git status.
Solution: Adjust the list of ignored files. Clean up more test files.
(Shane xb Qian, closes #9929)
|