summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
AgeCommit message (Collapse)Author
2022-07-27patch 9.0.0095: conditions are always truev9.0.0095zeertzjq
Problem: Conditions are always true. Solution: Remove useless conditions. (closes #10802)
2022-07-25patch 9.0.0069: leaking memory when using text prop with inserted textv9.0.0069Bram Moolenaar
Problem: Leaking memory when using text prop with inserted text. Solution: Clear the growarray with text.
2022-06-29patch 9.0.0002: map functionality outside of map.cv9.0.0002zeertzjq
Problem: Map functionality outside of map.c. Solution: Move f_hasmapto() to map.c. Rename a function. (closes #10611)
2022-05-30patch 8.2.5043: can open a cmdline window from a substitute expressionv8.2.5043Bram Moolenaar
Problem: Can open a cmdline window from a substitute expression. Solution: Disallow opening a command line window when text or buffer is locked.
2022-05-29patch 8.2.5041: cannot close a terminal popup with "NONE" jobv8.2.5041Bram Moolenaar
Problem: Cannot close a terminal popup with "NONE" job. Solution: Adjust the conditions for whether a job is running. (closes #10498)
2022-05-21patch 8.2.4993: smart/C/lisp indenting is optionalv8.2.4993Bram Moolenaar
Problem: smart/C/lisp indenting is optional, which makes the code more complex, while it only reduces the executable size a bit. Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
2022-05-15patch 8.2.4959: using NULL regexp programv8.2.4959Bram Moolenaar
Problem: Using NULL regexp program. Solution: Check for regexp program becoming NULL in more places.
2022-05-11patch 8.2.4938: crash when matching buffer with invalid patternv8.2.4938Bram Moolenaar
Problem: Crash when matching buffer with invalid pattern. Solution: Check for NULL regprog.
2022-05-09patch 8.2.4929: off-by-one error in in statusline itemv8.2.4929LemonBoy
Problem: Off-by-one error in in statusline item. Solution: Subtrace one less. (closes #10394, closes #5599)
2022-05-07patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07patch 8.2.4901: NULL pointer access when using invalid patternv8.2.4901Bram Moolenaar
Problem: NULL pointer access when using invalid pattern. Solution: Check for failed regexp program.
2022-04-19patch 8.2.4791: events triggered in different order when reusing bufferv8.2.4791Charlie Groves
Problem: Autocmd events triggered in different order when reusing an empty buffer. Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198)
2022-04-10patch 8.2.4731: the changelist index is not remembered per bufferv8.2.4731LemonBoy
Problem: The changelist index is not remembered per buffer. Solution: Keep the changelist index per window and buffer. (closes #10135, closes #2173)
2022-04-07patch 8.2.4702: C++ scope labels are hard-codedv8.2.4702Tom Praschan
Problem: C++ scope labels are hard-coded. Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan, closes #10109)
2022-04-04patch 8.2.4685: when a swap file is found for a popup there is no dialogv8.2.4685Bram Moolenaar
Problem: When a swap file is found for a popup there is no dialog and the buffer is loaded anyway. Solution: Silently load the buffer read-only. (closes #10073)
2022-04-03patch 8.2.4670: memory allocation failures for new tab page not testedv8.2.4670Yegappan Lakshmanan
Problem: Memory allocation failures for new tab page not tested. Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan, closes #10067)
2022-04-02patch 8.2.4668: buffer allocation failures insufficiently testedv8.2.4668Yegappan Lakshmanan
Problem: Buffer allocation failures insufficiently tested. Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan, closes #10064)
2022-03-26patch 8.2.4631: crash when switching window in BufWipeout autocommandv8.2.4631Bram Moolenaar
Problem: Crash when switching window in BufWipeout autocommand. Solution: Put any buffer in the window to avoid it being NULL. (closes #10024)
2022-03-22patch 8.2.4609: :unhide does not check for failing to close a windowv8.2.4609Bram Moolenaar
Problem: :unhide does not check for failing to close a window. Solution: When closing a window fails continue with the next one. Do not try closing the autocmd window. (closes #9984)
2022-02-28patch 8.2.4483: command completion makes two rounds to collect matchesv8.2.4483Yegappan Lakshmanan
Problem: Command completion makes two rounds to collect matches. Solution: Use a growarray to collect matches. (Yegappan Lakshmanan, closes #9860)
2022-02-24patch 8.2.4463: completion only uses strict matchingv8.2.4463Yegappan Lakshmanan
Problem: Completion only uses strict matching. Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan, closes #9803)
2022-02-19patch 8.2.4419: illegal memory access when using 20 highlightsv8.2.4419Brandon Richardson
Problem: Illegal memory access when using exactly 20 highlights. Solution: Add one more item in the array. (Brandon Richardson, closes #9800)
2022-02-15patch 8.2.4391: command line executed when typing Esc in the GUIv8.2.4391Bram Moolenaar
Problem: Command line executed when typing Esc in the GUI. Solution: Move saving/restoring KeyTyped to build_stl_str_hl(). (closes #9783)
2022-02-08patch 8.2.4327: may end up with no current bufferv8.2.4327Bram Moolenaar
Problem: May end up with no current buffer. Solution: When deleting the current buffer to not pick a quickfix buffer as the new current buffer.
2022-02-01patch 8.2.4281: using freed memory with :lopen and :bwipev8.2.4281Bram Moolenaar
Problem: Using freed memory with :lopen and :bwipe. Solution: Do not use a wiped out buffer.
2022-01-28patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
2022-01-22patch 8.2.4179: 'foldtext' is evaluated in the current script contextv8.2.4179Bram Moolenaar
Problem: 'foldtext' is evaluated in the current script context. Solution: Use the script context where the option was set.
2022-01-20patch 8.2.4166: undo synced when switching buffer in another windowv8.2.4166Bram Moolenaar
Problem: Undo synced when switching buffer in another window. Solution: Do not sync undo when not needed. (closes #9575)
2022-01-19patch 8.2.4144: cannot load libsodium dynamicallyv8.2.4144K.Takata
Problem: Cannot load libsodium dynamically. Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
2022-01-14patch 8.2.4091: virtcol is recomputed for statusline unnecessarilyv8.2.4091zeertzjq
Problem: Virtcol is recomputed for statusline unnecessarily. Solution: Just use "w_virtcol". (closes #9523)
2022-01-08patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle
Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
2022-01-01patch 8.2.3970: error messages are spread outv8.2.3970Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-31patch 8.2.3960: error messages are spread outv8.2.3960Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-27patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle
Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
2021-12-16patch 8.2.3830: error messages are spread outv8.2.3830Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2021-12-13patch 8.2.3795: too many #ifdefsv8.2.3795Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the jumplist feature.
2021-12-05patch 8.2.3750: error messages are everywherev8.2.3750Bram Moolenaar
Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
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)