summaryrefslogtreecommitdiffstats
path: root/src/evalbuffer.c
AgeCommit message (Collapse)Author
2022-06-16patch 8.2.5107: some callers of rettv_list_alloc() check for not OKv8.2.5107Bram Moolenaar
Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van Willegen) Solution: Use "==" instead of "!=" when checking the return value.
2022-05-22patch 8.2.5002: deletebufline() may change Visual selectionv8.2.5002LemonBoy
Problem: deletebufline() may change Visual selection. Solution: Disable Visual mode when using another buffer. (closes #10469)
2022-05-22patch 8.2.4996: setbufline() may change Visual selectionv8.2.4996Bram Moolenaar
Problem: setbufline() may change Visual selection. (Qiming Zhao) Solution: Disable Visual mode when using another buffer. (closes #10466)
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-06patch 8.2.4018: ml_get error when win_execute redraws with Visual selectionv8.2.4018Bram Moolenaar
Problem: ml_get error when win_execute redraws with Visual selection. Solution: Disable Visual area temporarily. (closes #9479)
2022-01-04patch 8.2.3996: Vim9: type checking lacks information about declared typev8.2.3996Bram Moolenaar
Problem: Vim9: type checking for list and dict lacks information about declared type. Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to store two types in each entry.
2021-12-28patch 8.2.3919: Vim9: wrong argument for append() results in two errorsv8.2.3919Bram Moolenaar
Problem: Vim9: wrong argument for append() results in two errors. Solution: Check did_emsg. Also for setline(). Adjust the help for appendbufline().
2021-12-27patch 8.2.3916: no error for passing an invalid line number to append()v8.2.3916Bram Moolenaar
Problem: No error for passing an invalid line number to append(). Solution: In Vim9 script check for a non-negative number. (closes #9417)
2021-12-12patch 8.2.3788: lambda for option that is a function may be freedv8.2.3788Yegappan Lakshmanan
Problem: Lambda for option that is a function may be garbage collected. Solution: Set a reference in the funcref. (Yegappan Lakshmanan, closes #9330)
2021-07-30patch 8.2.3252: duplicated code for adding buffer linesv8.2.3252Yegappan Lakshmanan
Problem: Duplicated code for adding buffer lines. Solution: Move code to a common function. Also move map functions to map.c. (Yegappan Lakshmanan, closes #8665)
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-21patch 8.2.3194: Vim9: argument types are not checked at compile timev8.2.3194Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, simplify some. (Yegappan Lakshmanan, closes #8598)
2021-07-20patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
2021-03-27patch 8.2.2665: test failuresv8.2.2665Bram Moolenaar
Problem: Test failures. Solution: Check more specific feature. Add missing change.
2021-02-09patch 8.2.2489: current buffer is wrong after deletebufline() failsv8.2.2489Bram Moolenaar
Problem: current buffer is wrong after deletebufline() fails to delete a line in another buffer. Solution: Restore the current buffer.
2021-01-31patch 8.2.2435: setline() gives an error for some typesv8.2.2435Bram Moolenaar
Problem: setline() gives an error for some types. Solution: Allow any type, convert each item to a string.
2021-01-03patch 8.2.2289: Vim9: 'cpo' can become emptyv8.2.2289Bram Moolenaar
Problem: Vim9: 'cpo' can become empty. Solution: Use empty_option instead of an empty string. Update quickfix buffer after restoring 'cpo'. (closes #7608)
2021-01-02patch 8.2.2271: ml_get error when changing hidden buffer in Pythonv8.2.2271Bram Moolenaar
Problem: ml_get error when changing hidden buffer in Python. Solution: Block updating folds. (closes #7598)
2020-10-22patch 8.2.1888: Vim9: getbufline(-1, 1, '$') gives an errorv8.2.1888Bram Moolenaar
Problem: Vim9: Getbufline(-1, 1, '$') gives an error. Solution: Return an empty list. (closes #7180)
2020-09-05patch 8.2.1602: Vim9: cannot use 'true" with getbufinfo()v8.2.1602Bram Moolenaar
Problem: Vim9: cannot use 'true" with getbufinfo(). Solution: Use dict_get_bool(). (closes #6873)
2020-09-04patch 8.2.1590: Vim9: bufnr() doesn't take "true" argumentv8.2.1590Bram Moolenaar
Problem: Vim9: bufnr() doesn't take "true" argument. Solution: use tv_get_bool_chk(). (closes #6863)
2020-09-01patch 8.2.1562: Vim9: error when using "%" where a buffer is expectedv8.2.1562Bram Moolenaar
Problem: Vim9: error when using "%" where a buffer is expected. Solution: Add tv_get_buf_from_arg(). (closes #6814)
2020-08-30patch 8.2.1550: Vim9: bufname('%') gives an errorv8.2.1550Bram Moolenaar
Problem: Vim9: bufname('%') gives an error. Solution: Only give an error for wrong argument type. (closes #6807)
2020-08-17patch 8.2.1477: Vim9: error when using bufnr('%')v8.2.1477Bram Moolenaar
Problem: Vim9: error when using bufnr('%'). Solution: Don't give an error for using a string argument. (closes #6723)
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-05-13patch 8.2.0751: Vim9: performance can be improvedv8.2.0751Bram Moolenaar
Problem: Vim9: performance can be improved. Solution: Don't call break. Inline check for list materialize. Make an inline version of ga_grow().
2020-04-21patch 8.2.0615: regexp benchmark stest is old stylev8.2.0615Bram Moolenaar
Problem: Regexp benchmark stest is old style. Solution: Make it a new style test. Fix using a NULL list. Add more tests. (Yegappan Lakshmanan, closes #5963)
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-01patch 8.2.0339: Vim9: function return type may depend on argumentsv8.2.0339Bram Moolenaar
Problem: Vim9: function return type may depend on arguments. Solution: Instead of a fixed return type use a function to figure out the return type.
2020-01-26patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar
Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
2019-12-17patch 8.2.0019: cannot number of lines of another bufferv8.2.0019Bram Moolenaar
Problem: Cannot number of lines of another buffer. Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto, closes #5370)
2019-12-01patch 8.1.2378: using old C style commentsv8.1.2378Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
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-10-27patch 8.1.2225: the "last used" info of a buffer is under usedv8.1.2225Bram Moolenaar
Problem: The "last used" info of a buffer is under used. Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used field. (Andi Massimino, closes #4722)
2019-09-07patch 8.1.2001: some source files are too bigv8.1.2001Bram Moolenaar
Problem: Some source files are too big. Solution: Move buffer and window related functions to evalbuffer.c and evalwindow.c. (Yegappan Lakshmanan, closes #4898)