summaryrefslogtreecommitdiffstats
path: root/src/change.c
AgeCommit message (Collapse)Author
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.4907: some users do not want a line comment always insertedv8.2.4907Bram Moolenaar
Problem: Some users do not want a line comment always inserted. Solution: Add the '/' flag to 'formatoptions' to not repeat the comment leader after a statement when using "o".
2022-04-11patch 8.2.4737: // in JavaScript string recognized as commentv8.2.4737Bram Moolenaar
Problem: // in JavaScript string recognized as comment. Solution: Only check for linecomment if 'cindent' is set. (closes #10151)
2022-04-07patch 8.2.4707: redrawing could be a bit more efficientv8.2.4707zeertzjq
Problem: Redrawing could be a bit more efficient. Solution: Optimize redrawing. (closes #10105)
2022-03-29patch 8.2.4644: redrawing too often when 'relativenumber' is setv8.2.4644Lewis Russell
Problem: Redrawing too often when 'relativenumber' is set. Solution: Only redraw when the cursor line changed. (Lewis Russell, closes #10040)
2022-02-16patch 8.2.4405: compiler warning for unused variable without +foldingv8.2.4405Bram Moolenaar
Problem: Compiler warning for unused variable without the +folding feature. (Tony Mechelynck) Solution: Add #ifdef.
2022-02-16patch 8.2.4403: ml_get error with nested folds and deleting linesv8.2.4403Bram Moolenaar
Problem: ml_get error with nested folds and deleting lines. Solution: Correct the last line number before calling hasFoldingWin().
2022-02-14patch 8.2.4379: an empty change is reported to a listenerv8.2.4379Bram Moolenaar
Problem: An empty change is reported to a listener. Solution: Do not report an empty change. (closes #9768) Remove unused return value.
2022-02-03patch 8.2.4288: preprocessor indents are inconsistentv8.2.4288K.Takata
Problem: Preprocessor indents are inconsistent. Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
2022-01-01patch 8.2.3977: error messages are spread outv8.2.3977Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2021-12-29patch 8.2.3934: repeating line comment is undesired for "O" commandv8.2.3934Bram Moolenaar
Problem: Repeating line comment is undesired for "O" command. Solution: Do not copy line comment leader for "O". (closes #9426)
2021-12-13patch 8.2.3795: too many #ifdefsv8.2.3795Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the jumplist feature.
2021-12-12patch 8.2.3791: build error with +cindent but without +smartindentv8.2.3791Bram Moolenaar
Problem: Build error with +cindent but without +smartindent. Solution: Move declaration of "do_cindent". (John Marriott)
2021-12-12patch 8.2.3787: no proper formatting of a C line comment after a statementv8.2.3787Bram Moolenaar
Problem: No proper formatting of a C line comment after a statement. Solution: Find the start of the line comment, insert the comment leader and indent the comment properly.
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-09-11patch 8.2.3426: crash when deleting a listener in a listener callbackv8.2.3426Bram Moolenaar
Problem: Crash when deleting a listener in a listener callback. (Naohiro Ono) Solution: Mark the listener and delete it later.
2021-07-27patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan
Problem: Vim9: runtime and compile time type checks are not the same. Solution: Add more runtime type checks for builtin functions. (Yegappan Lakshmanan, closes #8646)
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-24patch 8.2.3215: Vim9: argument types are not checked at compile timev8.2.3215Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. Sort the argument lists. (Yegappan Lakshmanan, closes #8626)
2021-07-13patch 8.2.3159: cursor displayed in wrong position after deleting linev8.2.3159Bram Moolenaar
Problem: Cursor displayed in wrong position after deleting line. Solution: When deleting lines do not approximate botline. (fixes #8559)
2021-05-16patch 8.2.2860: adding a text property causes the whole window to be redawnv8.2.2860Bram Moolenaar
Problem: Adding a text property causes the whole window to be redawn. Solution: Use changed_lines_buf() to only redraw the affected lines.
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-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-09-15patch 8.2.1690: text properties not adjusted for "I" in Visual block modev8.2.1690Bram Moolenaar
Problem: Text properties not adjusted for "I" in Visual block mode. Solution: Call inserted_bytes().
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-30patch 8.2.0670: cannot change window when evaluating 'completefunc'v8.2.0670Bram Moolenaar
Problem: Cannot change window when evaluating 'completefunc'. Solution: Make a difference between not changing text or buffers and also not changing window.
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-02-26patch 8.2.0324: text property not updated correctly when inserting/deletingv8.2.0324Bram Moolenaar
Problem: Text property not updated correctly when inserting/deleting. Solution: Use the right column when deleting. Make zero-width text properties respect start_incl and end_incl. (Axel Forsman, closes #5696, closes #5679)
2020-01-01patch 8.2.0074: Python 3 unicode test someitmes failsv8.2.0074Bram Moolenaar
Problem: Python 3 unicode test someitmes fails. Solution: Make 'termencoding' empty. Correct number of error message.
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-21patch 8.1.2331: the option.c file is still very bigv8.1.2331Bram Moolenaar
Problem: The option.c file is still very big. Solution: Move a few functions to where they fit better. (Yegappan Lakshmanan, closes #4895)
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-10-24patch 8.1.2214: too much is redrawn when 'cursorline' is setv8.1.2214Bram Moolenaar
Problem: Too much is redrawn when 'cursorline' is set. Solution: Don't do a complete redraw. (closes #5079)
2019-10-24patch 8.1.2211: listener callback "added" argument is not the totalv8.1.2211Bram Moolenaar
Problem: Listener callback "added" argument is not the total. (Andy Massimino) Solution: Compute the total. (closes #5105)
2019-10-09patch 8.1.2127: the indent.c file is a bit bigv8.1.2127Bram Moolenaar
Problem: The indent.c file is a bit big. Solution: Move C-indent code a a new cindent.c file. Move other indent-related code to indent.c. (Yegappan Lakshmanan, closes #5031)
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-14patch 8.1.2029: cannot control 'cursorline' highlighting wellv8.1.2029Bram Moolenaar
Problem: Cannot control 'cursorline' highlighting well. Solution: Add "screenline". (Christian Brabandt, closes #4933)
2019-08-25patch 8.1.1926: cursorline not redrawn when putting a line above the cursorv8.1.1926Bram Moolenaar
Problem: Cursorline not redrawn when putting a line above the cursor. Solution: Redraw when the curor line is below a change. (closes #4862)
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.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-03patch 8.1.1800: function call functions have too many argumentsv8.1.1800Bram Moolenaar
Problem: Function call functions have too many arguments. Solution: Pass values in a funcexe_T struct.
2019-07-17patch 8.1.1710: Coverity found dead codev8.1.1710Bram Moolenaar
Problem: Coverity found dead code. Solution: Remove merging of listener changes.
2019-07-13patch 8.1.1675: listener list not correctly updated on listener_remove()v8.1.1675Bram Moolenaar
Problem: Listener list not correctly updated on listener_remove(). Solution: Only set "prev" when not removing a listener. Return one if the listener was found and removed.
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-06patch 8.1.1486: a listener change is merged even when it adds a linev8.1.1486Bram Moolenaar
Problem: A listener change is merged even when it adds a line. (Paul Jolly) Solution: Do not merge a change that adds or removes a line. (closes #4490)
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-29patch 8.1.1419: listener callbacks may be called recursivelyv8.1.1419Bram Moolenaar
Problem: Listener callbacks may be called recursively. Solution: Set "updating_screen" while listener callbacks are invoked.
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.