summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
AgeCommit message (Collapse)Author
2014-11-19updated for version 7.4.519v7.4.519Bram Moolenaar
Problem: Crash when using syntax highlighting. Solution: When regprog is freed and replaced, store the result.
2014-09-23updated for version 7.4.456v7.4.456Bram Moolenaar
Problem: 'backupcopy' is global, cannot write only some files in a different way. Solution: Make 'backupcopy' global-local. (Christian Brabandt)
2014-09-23updated for version 7.4.455v7.4.455Bram Moolenaar
Problem: Completion for :buf does not use 'wildignorecase'. (Akshay H) Solution: Pass the 'wildignorecase' flag around.
2014-07-16updated for version 7.4.369v7.4.369Bram Moolenaar
Problem: Using freed memory when exiting while compiled with EXITFREE. Solution: Set curwin to NULL and check for that. (Dominique Pelle)
2014-06-12updated for version 7.4.320v7.4.320Bram Moolenaar
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)
2014-05-07updated for version 7.4.277v7.4.277Bram Moolenaar
Problem: Using ":sign unplace *" may leave the cursor in the wrong position (Christian Brabandt) Solution: Update the cursor position when removing all signs.
2014-04-06updated for version 7.4.251v7.4.251Bram Moolenaar
Problem: Crash when BufAdd autocommand wipes out the buffer. Solution: Check for buffer to still be valid. Postpone freeing the buffer structure. (Hirohito Higashi)
2014-03-23updated for version 7.4.212v7.4.212Bram Moolenaar
Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
2014-03-12updated for version 7.4.201v7.4.201Bram Moolenaar
Problem: 'lispwords' is a global option. Solution: Make 'lispwords' global-local. (Sung Pae)
2014-01-10updated for version 7.4.140v7.4.140Bram Moolenaar
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)
2013-11-06updated for version 7.4.073v7.4.073Bram Moolenaar
Problem: Setting undolevels for one buffer changes undo in another. Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
2013-11-05updated for version 7.4.070v7.4.070Bram Moolenaar
Problem: Can't compile with tiny features. (Tony Mechelynck) Solution: Add #ifdef.
2013-11-05updated for version 7.4.069v7.4.069Bram Moolenaar
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.
2013-11-02updated for version 7.4.054v7.4.054Bram Moolenaar
Problem: Reading past end of the 'stl' string. Solution: Don't increment pointer when already at the NUL. (Christian Brabandt)
2013-08-14updated for version 7.4.004v7.4.004Bram Moolenaar
Problem: When closing a window fails ":bwipe" may hang. Solution: Let win_close() return FAIL and break out of the loop.
2013-07-17updated for version 7.4a.030v7.4a.030Bram Moolenaar
Problem: Missing find_win_for_buf(). (toothpik) Solution: Add missing changes.
2013-06-29updated for version 7.3.1265v7.3.1265Bram Moolenaar
Problem: Accepting "Vim:" for a modeline causes errors too often. Solution: Require "Vim:" to be followed by "set".
2013-06-26updated for version 7.3.1249v7.3.1249Bram Moolenaar
Problem: Modeline not recognized when using "Vim" instead of "vim". Solution: Also accept "Vim".
2013-06-16updated for version 7.3.1213v7.3.1213Bram Moolenaar
Problem: Can't build with small features and Python. Solution: Adjust #ifdefs.
2013-06-08updated for version 7.3.1149v7.3.1149Bram Moolenaar
Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
2013-06-07updated for version 7.3.1144v7.3.1144Bram Moolenaar
Problem: "RO" is not translated everywhere. Solution: Put inside _(). (Sergey Alyoshin)
2013-05-06updated for version 7.3.926v7.3.926Bram Moolenaar
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)
2013-05-06updated for version 7.3.925v7.3.925Bram Moolenaar
Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
2013-04-24updated for version 7.3.916v7.3.916Bram Moolenaar
Problem: Using freed memory when pasting with the mouse (Issue 130). Solution: Get the byte value early. (hint by Dominique Pelle)
2013-04-15updated for version 7.3.893v7.3.893Bram Moolenaar
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)
2013-03-19updated for version 7.3.872v7.3.872Bram Moolenaar
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'.
2013-03-19updated for version 7.3.869v7.3.869Bram Moolenaar
Problem: bufwinnr() matches buffers in other tabs. Solution: For bufwinnr() and ? only match buffers in the current tab. (Alexey Radkov)
2013-02-17updated for version 7.3.822v7.3.822Bram Moolenaar
Problem: Crash when accessing freed buffer. Solution: Get 'textwidth' in caller of enter_buffer(). (Christian Brabandt)
2013-02-06updated for version 7.3.804v7.3.804Bram Moolenaar
Problem: Compiler warning for tiny build. (Tony Mechelynck) Solution: Add #ifdefs around variable.
2013-02-06updated for version 7.3.799v7.3.799Bram Moolenaar
Problem: The color column is not correct when entering a buffer. (Ben Fritz) Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian Brabandt)
2012-11-20updated for version 7.3.718v7.3.718Bram Moolenaar
Problem: When re-using the current buffer the buffer-local options stay. Solution: Re-initialize the buffer-local options. (Christian Brabandt)
2012-10-03updated for version 7.3.677v7.3.677Bram Moolenaar
Problem: buf_spname() is used inconsistently. Solution: Make the return type a char_u pointer. Check the size of the returned string.
2012-10-03updated for version 7.3.675v7.3.675Bram Moolenaar
Problem: Using uninitialized memory with very long file name. Solution: Put NUL after text when it is truncated. (ZyX)
2012-09-05updated for version 7.3.648v7.3.648Bram Moolenaar
Problem: Crash when using a very long file name. (ZyX) Solution: Properly check length of buffer space.
2012-07-16updated for version 7.3.603v7.3.603Bram Moolenaar
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)
2012-07-10updated for version 7.3.596v7.3.596Bram Moolenaar
Problem: Can't remove all signs for a file or buffer. Solution: Support "*" for the sign id. (Christian Brabandt)
2012-07-06updated for version 7.3.587v7.3.587Bram Moolenaar
Problem: Compiler warning for local var shadowing global var. Solution: Rename the var and move it to an inner block. (Christian Brabandt)
2012-06-20updated for version 7.3.563v7.3.563Bram Moolenaar
Problem: Can't build with tiny features. Solution: Add #ifdef.
2012-06-20updated for version 7.3.557v7.3.557Bram Moolenaar
Problem: Crash when an autocommand wipes out a buffer when it is hidden. Solution: Restore the current window when needed. (Christian Brabandt)
2012-06-13updated for version 7.3.551v7.3.551Bram Moolenaar
Problem: When using :tablose a TabEnter autocommand is triggered too early. (Karthick) Solution: Don't trigger *Enter autocommands before closing the tab. (Christian Brabandt)
2012-06-06updated for version 7.3.545v7.3.545Bram Moolenaar
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.
2012-03-16updated for version 7.3.471v7.3.471Bram Moolenaar
Problem: Can't abort listing placed signs. Solution: Check "got_int". (Christian Brabandt)
2012-03-07updated for version 7.3.469v7.3.469Bram Moolenaar
Problem: Compiler warning for unused argument without some features. Solution: Add UNUSED.
2012-02-22updated for version 7.3.456v7.3.456Bram Moolenaar
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)
2012-02-22updated for version 7.3.449v7.3.449Bram Moolenaar
Problem: Crash when a BufWinLeave autocommand closes the only other window. (Daniel Hunt) Solution: Abort closing a buffer when it becomes the only one.
2012-01-20updated for version 7.3.407v7.3.407Bram Moolenaar
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.
2011-12-30updated for version 7.3.388v7.3.388Bram Moolenaar
Problem: Crash on exit when EXITFREE is defined and using tiny features. Solution: Check for NULL window pointer. (Dominique Pelle)
2011-11-30updated for version 7.3.361v7.3.361Bram Moolenaar
Problem: Accessing memory after it is freed when EXITFREE is defined. Solution: Don't access curwin when firstwin is NULL. (Dominique Pelle)
2011-09-14updated for version 7.3.312v7.3.312Bram Moolenaar
Problem: Can't compile with tiny features. Solution: Add #ifdef around win_valid().
2011-09-14updated for version 7.3.306v7.3.306Bram Moolenaar
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.