summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
AgeCommit message (Collapse)Author
2021-12-03patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'v8.2.3725Yegappan Lakshmanan
Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'. Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
2021-11-29patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
2021-11-24patch 8.2.3665: cannot use a lambda for 'tagfunc'v8.2.3665Yegappan Lakshmanan
Problem: Cannot use a lambda for 'tagfunc'. Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
2021-11-19patch 8.2.3624: when renaming a terminal buffer status text is not updatedv8.2.3624Bram Moolenaar
Problem: When renaming a terminal buffer the status text is not updated. Solution: Clear the cached status text when renaming a terminal buffer. (closes #9162)
2021-11-18patch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was appliedv8.2.3617Bram Moolenaar
Problem: ":verbose pwd" does not mention 'autochdir' was applied. Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
2021-10-20patch 8.2.3547: opening the quickfix window triggers BufWinEnter twicev8.2.3547Bram Moolenaar
Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick Peterse) Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
2021-10-19patch 8.2.3542: too many comments are old stylev8.2.3542Bram Moolenaar
Problem: Too many comments are old style. Solution: Change comments to // style. (closes #9021)
2021-10-16patch 8.2.3525: option variable name does not match option namev8.2.3525Bram Moolenaar
Problem: Option variable name does not match option name. (Christ van Willigen) Solution: Rename the variable.
2021-10-16patch 8.2.3520: cannot define a function for thesaurus completionv8.2.3520Yegappan Lakshmanan
Problem: Cannot define a function for thesaurus completion. Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987, closes 8950)
2021-10-16patch 8.2.3517: TextChanged does not trigger after TextChangedIv8.2.3517Christian Brabandt
Problem: TextChanged does not trigger after TextChangedI. Solution: Store the tick separately for TextChangedI. (Christian Brabandt, closes #8968, closes #8932)
2021-10-09patch 8.2.3490: superfluous return statementsv8.2.3490=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Superfluous return statements. Solution: Remove superfluous return statements from void functions. (closes #8977)
2021-10-04patch 8.2.3476: renaming a buffer on startup may cause using freed memoryv8.2.3476Bram Moolenaar
Problem: Renaming a buffer on startup may cause using freed memory. Solution: Check if the buffer is used in a window. (closes #8955)
2021-10-02patch 8.2.3460: some type casts are not neededv8.2.3460=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes #8934)
2021-08-28patch 8.2.3384: cannot disable modeline for an individual filev8.2.3384Hu Jialun
Problem: Cannot disable modeline for an individual file. Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
2021-08-03patch 8.2.3280: 'virtualedit' local to buffer is not the best solutionv8.2.3280Gary Johnson
Problem: 'virtualedit' local to buffer is not the best solution. Solution: Make it window-local. (Gary Johnson, closes #8685)
2021-07-29patch 8.2.3245: the crypt key may appear in a swap partitionv8.2.3245Bram Moolenaar
Problem: The crypt key may appear in a swap partition. Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt, closes #8657)
2021-07-26patch 8.2.3227: 'virtualedit' can only be set globallyv8.2.3227Gary Johnson
Problem: 'virtualedit' can only be set globally. Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
2021-07-20patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
2021-07-04patch 8.2.3097: crash when using "quit" at recovery promptv8.2.3097Bram Moolenaar
Problem: Crash when using "quit" at recovery prompt and autocommands are triggered. Solution: Block autocommands when creating an empty buffer to use as the current buffer. (closes #8506)
2021-06-27patch 8.2.3069: error messages are spread outv8.2.3069Bram Moolenaar
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
2021-06-10patch 8.2.2972: "%bd" tries to delete popup window buffers, which failsv8.2.2972Bram Moolenaar
Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf Schandl) Solution: Do not try to delete a popup window buffer. (closes #8349)
2021-05-15patch 8.2.2854: custom statusline cannot contain % itemsv8.2.2854shadmansaleh
Problem: Custom statusline cannot contain % items. Solution: Add "%{% expr %}". (closes #8190)
2021-03-04patch 8.2.2569: 'fillchars' "stl" and "stlnc" items must be single bytev8.2.2569Bram Moolenaar
Problem: 'fillchars' "stl" and "stlnc" items must be single byte. Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan Lakshmanan, closes #7927)
2021-02-15patch 8.2.2518: 'listchars' should be window-localv8.2.2518Bram Moolenaar
Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes #5206, closes #7850)
2021-02-07patch 8.2.2476: using freed memory when splitting window while closing bufferv8.2.2476Bram Moolenaar
Problem: Using freed memory when using an autocommand to split a window while a buffer is being closed. Solution: Disallow splitting when the buffer has b_locked_split set.
2021-01-23patch 8.2.2397: Vim9: "%%" not seen as alternate file name for ":bdel"v8.2.2397Bram Moolenaar
Problem: Vim9: "%%" not seen as alternate file name for commands with a buffer name argument. Solution: Recognize "%%" like "#". (closes #7732)
2021-01-15patch 8.2.2354: crash with a weird combination of autocommandsv8.2.2354Bram Moolenaar
Problem: Crash with a weird combination of autocommands. Solution: Increment b_nwindows when needed. (closes #7674)
2020-12-28patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval featurev8.2.2238Bram Moolenaar
Problem: Vim9: cannot load a Vim9 script without the +eval feature. Solution: Support Vim9 script syntax without the +eval feature.
2020-12-21patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar
Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
2020-11-24patch 8.2.2040: terminal buffer disappears even when 'bufhidden' is "hide"v8.2.2040Bram Moolenaar
Problem: Terminal buffer disappears even when 'bufhidden' is "hide". (Sergey Vlasov) Solution: Check 'bufhiddden' when a terminal buffer becomes hidden. (closes #7358)
2020-11-05patch 8.2.1959: crash when terminal buffer name is made emptyv8.2.1959Bram Moolenaar
Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra) Solution: Fall back to "[No Name]". (closes #7262)
2020-10-28patch 8.2.1919: assert_fails() setting emsg_silent changes normal executionv8.2.1919Bram Moolenaar
Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
2020-10-26patch 8.2.1909: number of status line items is limited to 80v8.2.1909Bram Moolenaar
Problem: Number of status line items is limited to 80. Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
2020-10-25patch 8.2.1905: the wininfo list may contain stale entriesv8.2.1905Bram Moolenaar
Problem: The wininfo list may contain stale entries. Solution: When closing a window remove any other entry where the window pointer is NULL.
2020-10-25patch 8.2.1904: still using default option values after using ":badd +1"v8.2.1904Bram Moolenaar
Problem: Still using default option values after using ":badd +1". Solution: Find a window where options were set. Don't set the window when using ":badd".
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-07-23patch 8.2.1280: Ex command error cannot contain an argumentv8.2.1280Bram Moolenaar
Problem: Ex command error cannot contain an argument. Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where possible.
2020-07-21patch 8.2.1259: empty group in 'tabline' may cause using an invalid pointerv8.2.1259Bram Moolenaar
Problem: Empty group in 'tabline' may cause using an invalid pointer. Solution: Set the group start position. (closes #6505)
2020-06-24patch 8.2.1049: Vim9: leaking memory when using continuation linev8.2.1049Bram Moolenaar
Problem: Vim9: leaking memory when using continuation line. Solution: Keep a pointer to the continuation line in evalarg_T. Centralize checking for a next command.
2020-06-12patch 8.2.0966: 'shortmess' flag "n" not used in two placesv8.2.0966Bram Moolenaar
Problem: 'shortmess' flag "n" not used in two places. Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245, closes #6244)
2020-06-10patch 8.2.0953: spell checking doesn't work for CamelCased wordsv8.2.0953Bram Moolenaar
Problem: Spell checking doesn't work for CamelCased words. Solution: Add the "camel" value in the new option 'spelloptions'. (closes #1235)
2020-05-30patch 8.2.0853: ml_delete() often called with FALSE argumentv8.2.0853Bram Moolenaar
Problem: ml_delete() often called with FALSE argument. Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-04-06patch 8.2.0523: loops are repeatedv8.2.0523Bram Moolenaar
Problem: Loops are repeated. Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
2020-04-02patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar
Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
2020-03-27patch 8.2.0464: typos and other small problemsv8.2.0464Bram Moolenaar
Problem: Typos and other small problems. Solution: Fix the typos. Add missing files to the distribution.
2020-03-11patch 8.2.0371: crash with combination of terminal popup and autocmdv8.2.0371Bram Moolenaar
Problem: Crash with combination of terminal popup and autocmd. Solution: Disallow closing a popup that is the current window. Add a check that the current buffer is valid. (closes #5754)
2020-02-08patch 8.2.0235: draw error when an empty group is removed from 'statusline'v8.2.0235Bram Moolenaar
Problem: Draw error when an empty group is removed from 'statusline'. Solution: Do not use highlighting from a removed group.
2020-01-26patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
2020-01-07patch 8.2.0098: exe stack length can be wrong without being detectedv8.2.0098Bram Moolenaar
Problem: Exe stack length can be wrong without being detected. Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
2020-01-03patch 8.2.0082: when reusing a buffer listeners are not clearedv8.2.0082Bram Moolenaar
Problem: When reusing a buffer listeners are not cleared. (Axel Forsman) Solution: Clear listeners when reusing a buffer. (closes #5431)