summaryrefslogtreecommitdiff
path: root/src/buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* updated for version 7.3.471v7.3.471Bram Moolenaar2012-03-161-2/+2
| | | | | Problem: Can't abort listing placed signs. Solution: Check "got_int". (Christian Brabandt)
* updated for version 7.3.469v7.3.469Bram Moolenaar2012-03-071-1/+1
| | | | | Problem: Compiler warning for unused argument without some features. Solution: Add UNUSED.
* updated for version 7.3.456v7.3.456Bram Moolenaar2012-02-221-24/+66
| | | | | | | 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)
* updated for version 7.3.449v7.3.449Bram Moolenaar2012-02-221-10/+28
| | | | | | Problem: Crash when a BufWinLeave autocommand closes the only other window. (Daniel Hunt) Solution: Abort closing a buffer when it becomes the only one.
* updated for version 7.3.407v7.3.407Bram Moolenaar2012-01-201-3/+2
| | | | | | | 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.
* updated for version 7.3.388v7.3.388Bram Moolenaar2011-12-301-0/+2
| | | | | Problem: Crash on exit when EXITFREE is defined and using tiny features. Solution: Check for NULL window pointer. (Dominique Pelle)
* updated for version 7.3.361v7.3.361Bram Moolenaar2011-11-301-2/+3
| | | | | Problem: Accessing memory after it is freed when EXITFREE is defined. Solution: Don't access curwin when firstwin is NULL. (Dominique Pelle)
* updated for version 7.3.312v7.3.312Bram Moolenaar2011-09-141-1/+5
| | | | | Problem: Can't compile with tiny features. Solution: Add #ifdef around win_valid().
* updated for version 7.3.306v7.3.306Bram Moolenaar2011-09-141-4/+14
| | | | | | | | | 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.
* updated for version 7.3.191v7.3.191Bram Moolenaar2011-05-191-3/+0
| | | | | | Problem: Still some RISC OS stuff to remove. Solution: Remove files and lines. (Hong Xu) Remove the 'osfiletype' option code.
* updated for version 7.3.175v7.3.175Bram Moolenaar2011-05-051-0/+3
| | | | | | | | Problem: When 'colorcolumn' is set locally to a window, ":new" opens a window with the same highlighting but 'colorcolumn' is empty. (Tyru) Solution: Call check_colorcolumn() after clearing and copying options. (Christian Brabandt)
* updated for version 7.3.160v7.3.160Bram Moolenaar2011-04-111-2/+2
| | | | | | Problem: Unsafe string copying. Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead of strcat().
* updated for version 7.3.121v7.3.121Bram Moolenaar2011-02-151-0/+12
| | | | | Problem: Complicated 'statusline' causes a crash. (Christian Brabandt) Solution: Check that the number of items is not too big.
* updated for version 7.3.112v7.3.112Bram Moolenaar2011-02-011-1/+4
| | | | | Problem: Setting 'statusline' to "%!'asdf%' reads uninitialized memory. Solution: Check for NUL after %.
* updated for version 7.3.042v7.3.042Bram Moolenaar2010-10-271-3/+3
| | | | | | Problem: No spell highlighting when re-using an empty buffer. Solution: Clear the spell checking info only when clearing the options for a buffer. (James Vega)
* updated for version 7.3.008v7.3.008Bram Moolenaar2010-09-211-5/+6
| | | | | Problem: 'cursorbind' is kept in places where 'scrollbind' is reset. Solution: Reset 'cursorbind'.
* Avoid warnings from the clang compiler. (Dominique Pelle)Bram Moolenaar2010-08-131-1/+1
|
* Remove unused code.Bram Moolenaar2010-08-081-6/+0
|
* Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)Bram Moolenaar2010-07-251-2/+14
|
* Fix: when resetting both 'title' and 'icon' the title would be set after aBram Moolenaar2010-07-251-1/+1
| | | | | shell command. Reset 'title' and 'icon' in test47 to avoid the xterm title getting messed up.
* Add the 'undoreload' option to be able to undo a file reload.Bram Moolenaar2010-07-241-15/+24
|
* Change 'cryptmethod' from a number to a string option. Make it global-local.Bram Moolenaar2010-07-201-0/+3
|
* Added support for Python 3. (Roland Puntaier)Bram Moolenaar2010-07-171-0/+3
|
* Added Lua interfae. (Luis Carvalho)Bram Moolenaar2010-07-141-0/+3
|
* Add file save counter to undo information. Add undotree() function.Bram Moolenaar2010-06-271-13/+6
|
* Fixed: after ":ownsyntax perl" and ":e" syntax was cleared in other window.Bram Moolenaar2010-06-061-6/+1
|
* Add the conceal patch from Vince Negri.Bram Moolenaar2010-06-051-11/+20
|
* Included patch for persistent undo. Lots of changes and added test.Bram Moolenaar2010-05-231-2/+3
|
* Add :nbstart and :nbclose.Bram Moolenaar2010-05-221-4/+2
|
* updated for version 7.2.375v7.2.375Bram Moolenaar2010-02-241-1/+4
| | | | | | Problem: ml_get errors when using ":bprevious" in a BufEnter autocmd. (Dominique Pelle) Solution: Clear w_valid when entering another buffer.
* updated for version 7.2.333v7.2.333Bram Moolenaar2010-01-191-1/+1
| | | | | Problem: Warnings from static code analysis. Solution: Small changes to various lines. (Dominique Pelle)
* updated for version 7.2-180v7.2.180Bram Moolenaar2009-05-171-5/+2
|
* updated for version 7.2-173v7.2.173Bram Moolenaar2009-05-141-9/+5
|
* updated for version 7.2-170v7.2.170Bram Moolenaar2009-05-131-5/+8
|
* updated for version 7.2-168Bram Moolenaar2009-05-131-41/+50
|
* updated for version 7.2-117v7.2.117Bram Moolenaar2009-02-211-1/+2
|