Age | Commit message (Collapse) | Author |
|
Problem: Crash when using syntax highlighting.
Solution: When regprog is freed and replaced, store the result.
|
|
Problem: 'backupcopy' is global, cannot write only some files in a
different way.
Solution: Make 'backupcopy' global-local. (Christian Brabandt)
|
|
Problem: Completion for :buf does not use 'wildignorecase'. (Akshay H)
Solution: Pass the 'wildignorecase' flag around.
|
|
Problem: Using freed memory when exiting while compiled with EXITFREE.
Solution: Set curwin to NULL and check for that. (Dominique Pelle)
|
|
Problem: Possible crash when an BufLeave autocommand deletes the buffer.
Solution: Check for the window pointer being valid. Postpone freeing the
window until autocommands are done. (Yasuhiro Matsumoto)
|
|
Problem: Using ":sign unplace *" may leave the cursor in the wrong position
(Christian Brabandt)
Solution: Update the cursor position when removing all signs.
|
|
Problem: Crash when BufAdd autocommand wipes out the buffer.
Solution: Check for buffer to still be valid. Postpone freeing the buffer
structure. (Hirohito Higashi)
|
|
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
|
|
Problem: 'lispwords' is a global option.
Solution: Make 'lispwords' global-local. (Sung Pae)
|
|
Problem: Crash when wiping out buffer triggers autocommand that wipes out
only other buffer.
Solution: Do not delete the last buffer, make it empty. (Hirohito Higashi)
|
|
Problem: Setting undolevels for one buffer changes undo in another.
Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
|
|
Problem: Can't compile with tiny features. (Tony Mechelynck)
Solution: Add #ifdef.
|
|
Problem: Cannot right shift lines starting with #.
Solution: Allow the right shift when 'cino' contains #N with N > 0.
(Christian Brabandt)
Refactor parsing 'cino', store the values in the buffer.
|
|
Problem: Reading past end of the 'stl' string.
Solution: Don't increment pointer when already at the NUL. (Christian
Brabandt)
|
|
Problem: When closing a window fails ":bwipe" may hang.
Solution: Let win_close() return FAIL and break out of the loop.
|
|
Problem: Missing find_win_for_buf(). (toothpik)
Solution: Add missing changes.
|
|
Problem: Accepting "Vim:" for a modeline causes errors too often.
Solution: Require "Vim:" to be followed by "set".
|
|
Problem: Modeline not recognized when using "Vim" instead of "vim".
Solution: Also accept "Vim".
|
|
Problem: Can't build with small features and Python.
Solution: Adjust #ifdefs.
|
|
Problem: New regexp engine: Matching plain text could be faster.
Solution: Detect a plain text match and handle it specifically. Add
vim_regfree().
|
|
Problem: "RO" is not translated everywhere.
Solution: Put inside _(). (Sergey Alyoshin)
|
|
Problem: Autocommands are triggered by setwinvar() et al. Missing BufEnter
on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of
events for :tablose and :tabnew.
Solution: Fix these autocommand events. (Zyx)
|
|
Problem: Typos in source files.
Solution: Fix the typos. (Ken Takata)
|
|
Problem: Using freed memory when pasting with the mouse (Issue 130).
Solution: Get the byte value early. (hint by Dominique Pelle)
|
|
Problem: Crash when using b:, w: or t: after closing the buffer, window or
tabpage.
Solution: Allocate the dictionary instead of having it part of the
buffer/window/tabpage struct. (Yukihiro Nakadaira)
|
|
Problem: On some systems case of file names is always ignored, on others
never.
Solution: Add the 'fileignorecase' option to control this at runtime.
Implies 'wildignorecase'.
|
|
Problem: bufwinnr() matches buffers in other tabs.
Solution: For bufwinnr() and ? only match buffers in the current tab.
(Alexey Radkov)
|
|
Problem: Crash when accessing freed buffer.
Solution: Get 'textwidth' in caller of enter_buffer(). (Christian Brabandt)
|
|
Problem: Compiler warning for tiny build. (Tony Mechelynck)
Solution: Add #ifdefs around variable.
|
|
Problem: The color column is not correct when entering a buffer. (Ben
Fritz)
Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian
Brabandt)
|
|
Problem: When re-using the current buffer the buffer-local options stay.
Solution: Re-initialize the buffer-local options. (Christian Brabandt)
|
|
Problem: buf_spname() is used inconsistently.
Solution: Make the return type a char_u pointer. Check the size of the
returned string.
|
|
Problem: Using uninitialized memory with very long file name.
Solution: Put NUL after text when it is truncated. (ZyX)
|
|
Problem: Crash when using a very long file name. (ZyX)
Solution: Properly check length of buffer space.
|
|
Problem: It is possible to add replace builtin functions by calling
extend() on g:.
Solution: Add a flag to a dict to indicate it is a scope. Check for
existing functions. (ZyX)
|
|
Problem: Can't remove all signs for a file or buffer.
Solution: Support "*" for the sign id. (Christian Brabandt)
|
|
Problem: Compiler warning for local var shadowing global var.
Solution: Rename the var and move it to an inner block. (Christian Brabandt)
|
|
Problem: Can't build with tiny features.
Solution: Add #ifdef.
|
|
Problem: Crash when an autocommand wipes out a buffer when it is hidden.
Solution: Restore the current window when needed. (Christian Brabandt)
|
|
Problem: When using :tablose a TabEnter autocommand is triggered too early.
(Karthick)
Solution: Don't trigger *Enter autocommands before closing the tab.
(Christian Brabandt)
|
|
Problem: When closing a window or buffer autocommands may close it too,
causing problems for where the autocommand was invoked from.
Solution: Add the w_closing and b_closing flags. When set disallow ":q" and
":close" to prevent recursive closing.
|
|
Problem: Can't abort listing placed signs.
Solution: Check "got_int". (Christian Brabandt)
|
|
Problem: Compiler warning for unused argument without some features.
Solution: Add UNUSED.
|
|
Problem: ":tab drop file" has several problems, including moving the
current window and opening a new tab for a file that already has a
window.
Solution: Refactor ":tab drop" handling. (Hirohito Higashi)
|
|
Problem: Crash when a BufWinLeave autocommand closes the only other window.
(Daniel Hunt)
Solution: Abort closing a buffer when it becomes the only one.
|
|
Problem: ":12verbose call F()" may duplicate text while trying to truncate.
(Thinca)
Solution: Only truncate when there is not enough room. Also check the byte
length of the buffer.
|
|
Problem: Crash on exit when EXITFREE is defined and using tiny features.
Solution: Check for NULL window pointer. (Dominique Pelle)
|
|
Problem: Accessing memory after it is freed when EXITFREE is defined.
Solution: Don't access curwin when firstwin is NULL. (Dominique Pelle)
|
|
Problem: Can't compile with tiny features.
Solution: Add #ifdef around win_valid().
|
|
Problem: When closing a window there is a chance that deleting a scrollbar
triggers a GUI resize, which uses the window while it is not in a
valid state.
Solution: Set the buffer pointer to NULL to be able to detect the invalid
situation. Fix a few places that used the buffer pointer
incorrectly.
|