| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Leaking memory when assigning to list or dict.
Solution: Free the list or dict type before overwriting it.
|
|
|
|
|
| |
Problem: Using freed memory when replacing. (Dhiraj Mishra)
Solution: Get the line pointer after calling ins_copychar().
|
|
|
|
|
|
|
| |
Problem: Double free when list is copied.
Solution: Allocate the type when making a copy. (closes #8862)
Clear the type for flattennew(). Avoid a memory leak when
flattennew() fails.
|
|
|
|
|
|
| |
Problem: Crash when deleting a listener in a listener callback. (Naohiro
Ono)
Solution: Mark the listener and delete it later.
|
|
|
|
|
| |
Problem: Warning for using uninitialized variable.
Solution: Initialize it. (John Marriott)
|
|
|
|
|
| |
Problem: A sequence of spaces is hard to see in list mode.
Solution: Add the "multispace" option to 'listchars'. (closes #8834)
|
|
|
|
|
| |
Problem: Vim9: list += list creates a new list in :def function.
Solution: Append to the existing list.
|
|
|
|
|
| |
Problem: Vim9: no failure if return type differs from returned variable.
Solution: Copy type when copying a list. (closes #8847)
|
| |
|
|
|
|
|
| |
Problem: A bit of code is not covered by tests.
Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
|
|
|
|
|
| |
Problem: _REENTRANT defined more than once.
Solution: Fix configure script. (Christian Brabandt, closes #8852)
|
|
|
|
|
| |
Problem: A failing debug expression may make Vim unusable.
Solution: Suppress error messages. (closes #8848)
|
|
|
|
|
|
| |
Problem: Garbage collection while evaluating may cause trouble.
Solution: Disable garbage collection while evaluating an expression.
(Christian Brabandt, issue #8848)
|
|
|
|
|
| |
Problem: Vim9: a failing debug expression aborts script sourcing.
Solution: Do not let expression failure abort script sourcing. (closes #8848)
|
|
|
|
|
|
| |
Problem: Second error is reported while exception is being thrown.
Solution: Do not check for trailing characters when already aborting.
(closes #8842)
|
|
|
|
|
|
| |
Problem: Vim9: Not all function argument types are properly checked.
Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
closes #8839)
|
|
|
|
|
|
|
| |
Problem: fullcommand() gives the wrong name if there is a buffer-local user
command. (Naohiro Ono)
Solution: Use a separate function to get the user command name.
(closes #8840)
|
|
|
|
|
| |
Problem: Vim9: too many characters are allowed in import name.
Solution: Disallow ':' and '#', check for white space. (closes #8845)
|
|
|
|
|
| |
Problem: Vim9: importing the wrong file.
Solution: Correct the file name. Delete the file afterwards.
|
|
|
|
|
| |
Problem: Vim9: crash when using base name of import. (Naohiro Ono)
Solution: Check the import flags. (closes #8843)
|
|
|
|
|
| |
Problem: Crash with linebreak, listchars and large tabstop.
Solution: Account for different size listchars for a tab. (closes #8841)
|
|
|
|
|
| |
Problem: Reading beyond end of line with invalid utf-8 character.
Solution: Check for NUL when advancing.
|
|
|
|
|
| |
Problem: Can delete a numbered function. (Naohiro Ono)
Solution: Disallow deleting a numbered function. (closes #8760)
|
|
|
|
|
| |
Problem: Using uninitialized memory with "let g:['bar'] = 2".
Solution: Initialize v_type of a new dict item.
|
|
|
|
|
|
| |
Problem: On some systems tests fail without _REENTRANT. (Elimar
Riesebieter)
Solution: Add -D_REENTRANT in configure. (closes #7402)
|
|
|
|
|
| |
Problem: Cannot have a comment line in a {} block of a user command.
Solution: Continue after the line break. (closes #8837)
|
|
|
|
|
| |
Problem: Vim9: no error for white space before "(".
Solution: Give an error, like in a compiled function.
|
|
|
|
|
| |
Problem: Memory leak for :retab with invalid argument.
Solution: Free the memory. Make error messages consistent.
|
|
|
|
|
| |
Problem: Invalid memory access when using :retab with large value.
Solution: Check the number is positive.
|
|
|
|
|
| |
Problem: Vim9: cannot use a negative count with finddir() and findfile().
Solution: Adjust the return type. (closes #8776)
|
|
|
|
|
|
| |
Problem: ":z!" is not supported.
Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
Use display height instead of current window height.
|
|
|
|
|
| |
Problem: Octave files are not recognized.
Solution: Detect Octave files. (Doug Kearns)
|
|
|
|
|
|
| |
Problem: Html text objects are not fully tested.
Solution: Add tests for dbcs encoding and different number of backslashes.
(Dominique Pellé, closes #8831)
|
|
|
|
|
| |
Problem: No test for what 8.2.3391 fixes.
Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
|
|
|
|
|
| |
Problem: When libcall() fails invalid pointer may be used.
Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
|
|
|
|
|
|
| |
Problem: Vim9: expression breakpoint not checked in :def function.
Solution: Always compile a function for debugging if there is an expression
breakpoint. (closes #8803)
|
|
|
|
|
|
| |
Problem: Filler lines are wrong when changing text in diff mode.
Solution: Don't change the filler lines on every change. Check
scrollbinding when updating the filler lines. (closes #8809)
|
|
|
|
|
|
| |
Problem: Escaping for fish shell is skipping some characters.
Solution: Escape character after backslash if needed. (Jason Cox,
closes #8827)
|
|
|
|
|
| |
Problem: augroup completion escapes regexp pattern characters.
Solution: Do not escape the augroup name. (closes #8826)
|
|
|
|
|
|
| |
Problem: Crash with combination of 'linebreak' and other options.
Solution: Avoid n_extra to become negative. (Christian Brabandt,
closes #8817)
|
|
|
|
|
| |
Problem: Included xdiff code is outdated.
Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
|
|
|
|
|
| |
Problem: Cannot stop insert mode completion without side effects.
Solution: Add CTRL-X CTRL-Z. (closes #8821)
|
|
|
|
|
| |
Problem: fnamemodify('path/..', ':p') differs from using 'path/../'.
Solution: Include the "/.." in the directory name. (closes #8808)
|
|
|
|
|
| |
Problem: Compiler warning for non-static function.
Solution: Make the function static. (Dominique Pellé, closes #8816)
|
|
|
|
|
| |
Problem: Using uninitialized memory.
Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
|
| |
|
|
|
|
|
| |
Problem: Escaping for fish shell does not work properly.
Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
|
|
|
|
|
| |
Problem: Cannot disable modeline for an individual file.
Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
|
|
|
|
|
| |
Problem: Vim9: completion for :disassemble adds parenthesis.
Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
|
|
|
|
|
| |
Problem: Crash when getting the type of a NULL partial.
Solution: Check for NULL. (closes #8260)
|