summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
AgeCommit message (Collapse)Author
2019-11-30patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
2019-11-30patch 8.1.2368: using old C style commentsv8.1.2368Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-11-30patch 8.1.2363: ml_get error when accessing Visual area in 'statusline'v8.1.2363Bram Moolenaar
Problem: ml_get error when accessing Visual area in 'statusline'. Solution: Disable Visual mode when using another window. (closes #5278)
2019-11-17patch 8.1.2313: debugging where a delay comes from is not easyv8.1.2313Bram Moolenaar
Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay().
2019-11-06patch 8.1.2267: compiler warning for uninitialized variablev8.1.2267Bram Moolenaar
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Rearrange the code.
2019-11-02patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
2019-10-27patch 8.1.2225: the "last used" info of a buffer is under usedv8.1.2225Bram Moolenaar
Problem: The "last used" info of a buffer is under used. Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used field. (Andi Massimino, closes #4722)
2019-10-01patch 8.1.2107: various memory leaks reported by asanv8.1.2107Bram Moolenaar
Problem: Various memory leaks reported by asan. Solution: Free the memory. (Ozaki Kiichi, closes #5003)
2019-09-28patch 8.1.2096: too many #ifdefsv8.1.2096Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_COMMENTS.
2019-09-25patch 8.1.2073: when editing a buffer 'colorcolumn' may not workv8.1.2073Bram Moolenaar
Problem: When editing a buffer 'colorcolumn' may not work. Solution: Set the buffer before copying option values. Call check_colorcolumn() after copying window options.
2019-09-07patch 8.1.2001: some source files are too bigv8.1.2001Bram Moolenaar
Problem: Some source files are too big. Solution: Move buffer and window related functions to evalbuffer.c and evalwindow.c. (Yegappan Lakshmanan, closes #4898)
2019-09-03patch 8.1.1971: manually enabling features causes build errorsv8.1.1971Bram Moolenaar
Problem: Manually enabling features causes build errors. (John Marriott) Solution: Adjust #ifdefs.
2019-08-21patch 8.1.1908: every popup window consumes a buffer numberv8.1.1908Bram Moolenaar
Problem: Every popup window consumes a buffer number. Solution: Recycle buffers only used for popup windows. Do not list popup window buffers.
2019-08-21patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar
Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
2019-08-20patch 8.1.1895: using NULL pointer when out of memoryv8.1.1895Bram Moolenaar
Problem: Using NULL pointer when out of memory. Solution: Bail out or skip the code using the pointer. (Zu-Ming Jiang, closes #4805, closes #4843, closes #4939, closes #4844)
2019-08-20patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar
Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
2019-08-18patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar
Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
2019-08-17patch 8.1.1869: code for the argument list is spread outv8.1.1869Bram Moolenaar
Problem: Code for the argument list is spread out. Solution: Put argument list code in arglist.c. (Yegappan Lakshmanan, closes #4819)
2019-08-01patch 8.1.1785: map functionality mixed with character inputv8.1.1785Bram Moolenaar
Problem: Map functionality mixed with character input. Solution: Move the map functionality to a separate file. (Yegappan Lakshmanan, closes #4740) Graduate the +localmap feature.
2019-07-27patch 8.1.1756: autocommand that splits window messes up window layoutv8.1.1756Bram Moolenaar
Problem: Autocommand that splits window messes up window layout. Solution: Disallow splitting a window while closing one. In ":all" give an error when moving a window will not work.
2019-07-21patch 8.1.1727: code for viminfo support is spread outv8.1.1727Bram Moolenaar
Problem: Code for viminfo support is spread out. Solution: Move to code to viminfo.c. (Yegappan Lakshmanan, closes #4686)
2019-06-30patch 8.1.1612: cannot show an existing buffer in a popup windowv8.1.1612Bram Moolenaar
Problem: Cannot show an existing buffer in a popup window. Solution: Support buffer number argument in popup_create().
2019-06-20patch 8.1.1575: callbacks may be garbage collectedv8.1.1575Bram Moolenaar
Problem: Callbacks may be garbage collected. Solution: Set reference in callbacks. (Ozaki Kiichi, closes #4564)
2019-06-15patch 8.1.1547: functionality of bt_nofile() is confusingv8.1.1547Bram Moolenaar
Problem: Functionality of bt_nofile() is confusing. Solution: Split into bt_nofile() and bt_nofilename().
2019-06-08patch 8.1.1498: ":write" increments b:changedtick even though nothing changedv8.1.1498Bram Moolenaar
Problem: ":write" increments b:changedtick even though nothing changed. (Daniel Hahler) Solution: Only increment b:changedtick if the modified flag is reset.
2019-06-01patch 8.1.1437: code to handle callbacks is duplicatedv8.1.1437Bram Moolenaar
Problem: Code to handle callbacks is duplicated. Solution: Add callback_T and functions to deal with it.
2019-05-30patch 8.1.1431: popup window listed as "Scratch"v8.1.1431Bram Moolenaar
Problem: Popup window listed as "Scratch". Solution: List them as "Popup".
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
2019-05-25patch 8.1.1391: no popup window supportv8.1.1391Bram Moolenaar
Problem: No popup window support. Solution: Add initial code for popup windows. Add the 'wincolor' option.
2019-05-24patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar
Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
2019-05-23patch 8.1.1372: when evaluating 'statusline' the current window is unknownv8.1.1372Bram Moolenaar
Problem: When evaluating 'statusline' the current window is unknown. (Daniel Hahler) Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid" when evaluationg %!. (closes #4406, closes #3299)
2019-05-23patch 8.1.1371: cannot recover from a swap filev8.1.1371Bram Moolenaar
Problem: Cannot recover from a swap file. Solution: Do not expand environment variables in the swap file name. Do not check the extension when we already know a file is a swap file. (Ken Takata, closes 4415, closes #4369)
2019-05-16patch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not usedv8.1.1334Bram Moolenaar
Problem: When buffer is hidden "F" in 'shortmess' is not used. Solution: Check the "F" flag in 'shortmess' when the buffer is already loaded. (Jason Franklin) Add test_getvalue() to be able to test this.
2019-04-28patch 8.1.1231: asking about existing swap file unnecessarilyv8.1.1231Bram Moolenaar
Problem: Asking about existing swap file unnecessarily. Solution: When it is safe, delete the swap file. Remove HAS_SWAP_EXISTS_ACTION, it is always defined. (closes #1237)
2019-04-28patch 8.1.1228: not possible to process tags with a functionv8.1.1228Bram Moolenaar
Problem: Not possible to process tags with a function. Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010)
2019-04-27patch 8.1.1210: support for user commands is spread outv8.1.1210Bram Moolenaar
Problem: Support for user commands is spread out. No good reason to make user commands optional. Solution: Move user command support to usercmd.c. Always enable the user_commands feature.
2019-04-07patch 8.1.1135: build failure for small versionv8.1.1135Bram Moolenaar
Problem: Build failure for small version. (Tony Mechelynck) Solution: Add #ifdef.
2019-04-07patch 8.1.1134: buffer for quickfix window is reused for another filev8.1.1134Bram Moolenaar
Problem: Buffer for quickfix window is reused for another file. Solution: Don't reuse the quickfx buffer. (Yegappan Lakshmanan)
2019-04-04patch 8.1.1116: cannot enforce a Vim script stylev8.1.1116Bram Moolenaar
Problem: Cannot enforce a Vim script style. Solution: Add the :scriptversion command. (closes #3857)
2019-03-30patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
2019-03-24patch 8.1.1046: the "secure" variable is used inconsistentlyv8.1.1046Bram Moolenaar
Problem: the "secure" variable is used inconsistently. (Justin M. Keyes) Solution: Set it to one instead of incrementing.
2019-03-02patch 8.1.0989: various small code uglinessv8.1.0989Bram Moolenaar
Problem: Various small code ugliness. Solution: Remove pointless NULL checks. Fix function calls. Fix typos. (Dominique Pelle, closes #4060)
2019-02-16patch 8.1.0936: may leak memory when using 'vartabstop'v8.1.0936Bram Moolenaar
Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu) Solution: Fix handling allocated memory for 'vartabstop'. (closes #3976)
2019-02-12patch 8.1.0904: USE_LONG_FNAME never definedv8.1.0904Bram Moolenaar
Problem: USE_LONG_FNAME never defined. Solution: Remove using USE_LONG_FNAME. (Ken Takata, closes #3938)
2019-02-10patch 8.1.0894: MS-Windows: resolve() does not return a reparse pointv8.1.0894Bram Moolenaar
Problem: MS-Windows: resolve() does not return a reparse point. Solution: Improve resolve(). (Yasuhiro Matsumoto, closes #3896)
2019-02-05patch 8.1.0877: new buffer used every time the quickfix window is openedv8.1.0877Bram Moolenaar
Problem: New buffer used every time the quickfix window is opened. Solution: Reuse the buffer. (Yegappan Lakshmanan, closes #3902)
2019-01-26patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-24patch 8.1.0805: too many #ifdefsv8.1.0805Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 1.
2019-01-20patch 8.1.0786: ml_get error when updating the status linev8.1.0786Bram Moolenaar
Problem: ml_get error when updating the status line and a terminal had its scrollback cleared. (Chris Patuzzo) Solution: Check the cursor position when drawing the status line. (closes #3830)