summaryrefslogtreecommitdiff
path: root/src/buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 7.4.898v7.4.898Bram Moolenaar2015-10-131-1/+0
| | | | | Problem: The 'fixendofline' option is set on with ":edit". Solution: Don't set the option when clearing a buffer. (Yasuhiro Matsumoto)
* patch 7.4.805v7.4.805Bram Moolenaar2015-08-041-0/+4
| | | | | | Problem: The ruler shows "Bot" even when there are only filler lines missing. (Gary Johnson) Solution: Use "All" when the first line and one filler line are visible.
* patch 7.4.791v7.4.791Bram Moolenaar2015-07-211-1/+14
| | | | | | Problem: The buffer list can be very long. Solution: Add an argument to ":ls" to specify the type of buffer to list. (Marcin Szamotulski)
* patch 7.4.785v7.4.785Bram Moolenaar2015-07-171-0/+1
| | | | | | Problem: On some systems automatically adding the missing EOL causes problems. Setting 'binary' has too many side effects. Solution: Add the 'fixeol' option, default on. (Pavel Samarkin)
* patch 7.4.742v7.4.742Bram Moolenaar2015-06-191-5/+9
| | | | | | Problem: Cannot specify a vertical split when loading a buffer for a quickfix command. Solution: Add the "vsplit" value to 'switchbuf'. (Brook Hong)
* updated for version 7.4.669v7.4.669Bram Moolenaar2015-03-201-0/+4
| | | | | | Problem: When netbeans is active the sign column always shows up. Solution: Only show the sign column once a sign has been added. (Xavier de Gaye)
* updated for version 7.4.645v7.4.645Bram Moolenaar2015-02-271-1/+3
| | | | | | Problem: When splitting the window in a BufAdd autocommand while still in the first, empty buffer the window count is wrong. Solution: Do not reset b_nwindows to zero and don't increment it.
* updated for version 7.4.605v7.4.605Bram Moolenaar2015-01-271-1/+1
| | | | | | Problem: The # register is not writable, it cannot be restored after jumping around. Solution: Make the # register writable. (Marcin Szamotulski)
* updated for version 7.4.562v7.4.562Bram Moolenaar2015-01-071-0/+2
| | | | | Problem: Segfault with wide screen and error in 'rulerformat'. (Ingo Karkat) Solution: Check there is enough space. (Christian Brabandt)
* updated for version 7.4.519v7.4.519Bram Moolenaar2014-11-191-24/+24
| | | | | Problem: Crash when using syntax highlighting. Solution: When regprog is freed and replaced, store the result.
* updated for version 7.4.456v7.4.456Bram Moolenaar2014-09-231-0/+1
| | | | | | Problem: 'backupcopy' is global, cannot write only some files in a different way. Solution: Make 'backupcopy' global-local. (Christian Brabandt)
* updated for version 7.4.455v7.4.455Bram Moolenaar2014-09-231-9/+12
| | | | | Problem: Completion for :buf does not use 'wildignorecase'. (Akshay H) Solution: Pass the 'wildignorecase' flag around.
* updated for version 7.4.369v7.4.369Bram Moolenaar2014-07-161-2/+2
| | | | | Problem: Using freed memory when exiting while compiled with EXITFREE. Solution: Set curwin to NULL and check for that. (Dominique Pelle)
* updated for version 7.4.320v7.4.320Bram Moolenaar2014-06-121-1/+5
| | | | | | 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)
* updated for version 7.4.277v7.4.277Bram Moolenaar2014-05-071-4/+12
| | | | | | Problem: Using ":sign unplace *" may leave the cursor in the wrong position (Christian Brabandt) Solution: Update the cursor position when removing all signs.
* updated for version 7.4.251v7.4.251Bram Moolenaar2014-04-061-1/+19
| | | | | | Problem: Crash when BufAdd autocommand wipes out the buffer. Solution: Check for buffer to still be valid. Postpone freeing the buffer structure. (Hirohito Higashi)
* updated for version 7.4.212v7.4.212Bram Moolenaar2014-03-231-2/+0
| | | | | | Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
* updated for version 7.4.201v7.4.201Bram Moolenaar2014-03-121-0/+3
| | | | | Problem: 'lispwords' is a global option. Solution: Make 'lispwords' global-local. (Sung Pae)
* updated for version 7.4.140v7.4.140Bram Moolenaar2014-01-101-26/+54
| | | | | | 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)
* updated for version 7.4.073v7.4.073Bram Moolenaar2013-11-061-0/+1
| | | | | Problem: Setting undolevels for one buffer changes undo in another. Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
* updated for version 7.4.070v7.4.070Bram Moolenaar2013-11-051-0/+2
| | | | | Problem: Can't compile with tiny features. (Tony Mechelynck) Solution: Add #ifdef.
* updated for version 7.4.069v7.4.069Bram Moolenaar2013-11-051-0/+3
| | | | | | | 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.
* updated for version 7.4.054v7.4.054Bram Moolenaar2013-11-021-1/+2
| | | | | | Problem: Reading past end of the 'stl' string. Solution: Don't increment pointer when already at the NUL. (Christian Brabandt)
* updated for version 7.4.004v7.4.004Bram Moolenaar2013-08-141-1/+4
| | | | | Problem: When closing a window fails ":bwipe" may hang. Solution: Let win_close() return FAIL and break out of the loop.
* updated for version 7.4a.030v7.4a.030Bram Moolenaar2013-07-171-6/+24
| | | | | Problem: Missing find_win_for_buf(). (toothpik) Solution: Add missing changes.
* updated for version 7.3.1265v7.3.1265Bram Moolenaar2013-06-291-0/+2
| | | | | Problem: Accepting "Vim:" for a modeline causes errors too often. Solution: Require "Vim:" to be followed by "set".
* updated for version 7.3.1249v7.3.1249Bram Moolenaar2013-06-261-1/+2
| | | | | Problem: Modeline not recognized when using "Vim" instead of "vim". Solution: Also accept "Vim".
* updated for version 7.3.1213v7.3.1213Bram Moolenaar2013-06-161-2/+5
| | | | | Problem: Can't build with small features and Python. Solution: Adjust #ifdefs.
* updated for version 7.3.1149v7.3.1149Bram Moolenaar2013-06-081-4/+4
| | | | | | Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
* updated for version 7.3.1144v7.3.1144Bram Moolenaar2013-06-071-2/+2
| | | | | Problem: "RO" is not translated everywhere. Solution: Put inside _(). (Sergey Alyoshin)
* updated for version 7.3.926v7.3.926Bram Moolenaar2013-05-061-6/+6
| | | | | | | 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)
* updated for version 7.3.925v7.3.925Bram Moolenaar2013-05-061-1/+1
| | | | | Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
* updated for version 7.3.916v7.3.916Bram Moolenaar2013-04-241-17/+17
| | | | | Problem: Using freed memory when pasting with the mouse (Issue 130). Solution: Get the byte value early. (hint by Dominique Pelle)
* updated for version 7.3.893v7.3.893Bram Moolenaar2013-04-151-6/+16
| | | | | | | 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)
* updated for version 7.3.872v7.3.872Bram Moolenaar2013-03-191-6/+1
| | | | | | | 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'.
* updated for version 7.3.869v7.3.869Bram Moolenaar2013-03-191-3/+23
| | | | | | Problem: bufwinnr() matches buffers in other tabs. Solution: For bufwinnr() and ? only match buffers in the current tab. (Alexey Radkov)
* updated for version 7.3.822v7.3.822Bram Moolenaar2013-02-171-7/+27
| | | | | Problem: Crash when accessing freed buffer. Solution: Get 'textwidth' in caller of enter_buffer(). (Christian Brabandt)
* updated for version 7.3.804v7.3.804Bram Moolenaar2013-02-061-0/+2
| | | | | Problem: Compiler warning for tiny build. (Tony Mechelynck) Solution: Add #ifdefs around variable.
* updated for version 7.3.799v7.3.799Bram Moolenaar2013-02-061-0/+4
| | | | | | | Problem: The color column is not correct when entering a buffer. (Ben Fritz) Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian Brabandt)
* updated for version 7.3.718v7.3.718Bram Moolenaar2012-11-201-0/+5
| | | | | Problem: When re-using the current buffer the buffer-local options stay. Solution: Re-initialize the buffer-local options. (Christian Brabandt)
* updated for version 7.3.677v7.3.677Bram Moolenaar2012-10-031-9/+9
| | | | | | Problem: buf_spname() is used inconsistently. Solution: Make the return type a char_u pointer. Check the size of the returned string.
* updated for version 7.3.675v7.3.675Bram Moolenaar2012-10-031-1/+1
| | | | | Problem: Using uninitialized memory with very long file name. Solution: Put NUL after text when it is truncated. (ZyX)
* updated for version 7.3.648v7.3.648Bram Moolenaar2012-09-051-9/+22
| | | | | Problem: Crash when using a very long file name. (ZyX) Solution: Properly check length of buffer space.
* updated for version 7.3.603v7.3.603Bram Moolenaar2012-07-161-1/+2
| | | | | | | 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)
* updated for version 7.3.596v7.3.596Bram Moolenaar2012-07-101-2/+1
| | | | | Problem: Can't remove all signs for a file or buffer. Solution: Support "*" for the sign id. (Christian Brabandt)
* updated for version 7.3.587v7.3.587Bram Moolenaar2012-07-061-6/+3
| | | | | Problem: Compiler warning for local var shadowing global var. Solution: Rename the var and move it to an inner block. (Christian Brabandt)
* updated for version 7.3.563v7.3.563Bram Moolenaar2012-06-201-4/+10
| | | | | Problem: Can't build with tiny features. Solution: Add #ifdef.
* updated for version 7.3.557v7.3.557Bram Moolenaar2012-06-201-6/+15
| | | | | Problem: Crash when an autocommand wipes out a buffer when it is hidden. Solution: Restore the current window when needed. (Christian Brabandt)
* updated for version 7.3.551v7.3.551Bram Moolenaar2012-06-131-6/+6
| | | | | | | Problem: When using :tablose a TabEnter autocommand is triggered too early. (Karthick) Solution: Don't trigger *Enter autocommands before closing the tab. (Christian Brabandt)
* updated for version 7.3.545v7.3.545Bram Moolenaar2012-06-061-10/+26
| | | | | | | 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.