summaryrefslogtreecommitdiffstats
path: root/src/change.c
AgeCommit message (Collapse)Author
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.
2019-05-24patch 8.1.1389: changes are not flushed when end and start overlapv8.1.1389Bram Moolenaar
Problem: Changes are not flushed when end and start overlap. (Paul Jolly) Solution: When end of a previous changes overlaps with start of a new change, first flush listeners.
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-19patch 8.1.1359: text property wrong after :substitute with backslashv8.1.1359Bram Moolenaar
Problem: Text property wrong after :substitute with backslash. Solution: Adjust text property columns when removing backslashes. (closes #4397)
2019-05-19patch 8.1.1351: text property wrong after :substitutev8.1.1351Bram Moolenaar
Problem: Text property wrong after :substitute. Solution: Save for undo before changing any text properties.
2019-05-18patch 8.1.1344: Coverity complains about possibly using a NULL pointerv8.1.1344Bram Moolenaar
Problem: Coverity complains about possibly using a NULL pointer and copying a string into a fixed size buffer. Solution: Check for NULL, even though it should not happen. Use vim_strncpy() instead of strcpy().
2019-05-16patch 8.1.1335: listener callback is called after inserting textv8.1.1335Bram Moolenaar
Problem: Listener callback is called after inserting text. Solution: Flush the changes before inserting or deleting a line. Store changes per buffer.
2019-05-15patch 8.1.1333: text properties don't always move after changesv8.1.1333Bram Moolenaar
Problem: Text properties don't always move after changes. Solution: Update properties before reporting changes to listeners. Move text property when splitting a line.
2019-05-14patch 8.1.1332: cannot flush listeners without redrawing, mix of changesv8.1.1332Bram Moolenaar
Problem: Cannot flush change listeners without also redrawing. The line numbers in the list of changes may become invalid. Solution: Add listener_flush(). Invoke listeners before adding a change that makes line numbers invalid.
2019-05-11patch 8.1.1321: no docs or tests for listener functionsv8.1.1321Bram Moolenaar
Problem: No docs or tests for listener functions. Solution: Add help and tests for listener_add() and listener_remove(). Invoke the callbacks before redrawing.
2019-05-11patch 8.1.1320: it is not possible to track changes to a bufferv8.1.1320Bram Moolenaar
Problem: It is not possible to track changes to a buffer. Solution: Add listener_add() and listener_remove(). No docs or tests yet.
2019-05-11Add missing files from patch 8.1.1318Bram Moolenaar