summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
AgeCommit message (Collapse)Author
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)
2019-01-20patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar
Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-17patch 8.1.0763: nobody is using the Sun Workshop supportv8.1.0763Bram Moolenaar
Problem: Nobody is using the Sun Workshop support. Solution: Remove the Workshop support.
2019-01-15patch 8.1.0753: printf format not checked for semsg()v8.1.0753Bram Moolenaar
Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes #3805)
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
2019-01-01patch 8.1.0673: functionality for signs is spread out over several filesv8.1.0673Bram Moolenaar
Problem: Functionality for signs is spread out over several files. Solution: Move most of the sign functionality into sign.c. (Yegappan Lakshmanan, closes #3751)
2018-12-29patch 8.1.0658: deleting signs and completion for :sign is insufficientv8.1.0658Bram Moolenaar
Problem: Deleting signs and completion for :sign is insufficient. Solution: Add deleting signs in a specified or any group from the current cursor location. Add group and priority to sign command completion. Add tests for different sign unplace commands. Update help text. Add tests for sign jump with group. Update help for sign jump. (Yegappan Lakshmanan, closes #3731)
2018-12-27patch 8.1.0644: finding next sign ID is inefficientv8.1.0644Bram Moolenaar
Problem: Finding next sign ID is inefficient. Solution: Add next_sign_id. (Yegappan Lakshmanan, closes #3717)
2018-12-24patch 8.1.0632: using sign group names is inefficientv8.1.0632Bram Moolenaar
Problem: Using sign group names is inefficient. Solution: Store group names in a hash table and use a reference to them. Also remove unnecessary use of ":exe" from the tests. (Yegappan Lakshmanan, closes #3715)
2018-12-21patch 8.1.0614: placing signs can be complicatedv8.1.0614Bram Moolenaar
Problem: Placing signs can be complicated. Solution: Add functions for defining and placing signs. Introduce a group name to avoid different plugins using the same signs. (Yegappan Lakshmanan, closes #3652)
2018-12-21patch 8.1.0613: when executing an insecure function the secure flag is stuckv8.1.0613Bram Moolenaar
Problem: When executing an insecure function the secure flag is stuck. (Gabriel Barta) Solution: Restore "secure" instead of decrementing it. (closes #3705)