summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3922: cannot build with dynamic Ruby 3.1v8.2.3922ichizok2021-12-2810-31/+98
| | | | | | Problem: Cannot build with dynamic Ruby 3.1. Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki Kiichi, closes #9420)
* patch 8.2.3921: the way xdiff is used is inefficientv8.2.3921Lewis Russell2021-12-282-116/+146
| | | | | | Problem: The way xdiff is used is inefficient. Solution: Use hunk_func instead of the out_line callback. (Lewis Russell, closes #9344)
* patch 8.2.3920: restoring directory after using another window is inefficientv8.2.3920Bram Moolenaar2021-12-283-4/+41
| | | | | | Problem: Restoring directory after using another window is inefficient. Solution: Only restore the directory for win_execute(). Apply 'autochdir' only when needed.
* patch 8.2.3919: Vim9: wrong argument for append() results in two errorsv8.2.3919Bram Moolenaar2021-12-285-14/+39
| | | | | | Problem: Vim9: wrong argument for append() results in two errors. Solution: Check did_emsg. Also for setline(). Adjust the help for appendbufline().
* patch 8.2.3918: function list test failsv8.2.3918Bram Moolenaar2021-12-272-6/+7
| | | | | Problem: Function list test fails. Solution: Adjust the test for the new location of the function list.
* Update runtime filesBram Moolenaar2021-12-2716-1485/+1773
|
* patch 8.2.3917: the eval.txt help file is way too bigv8.2.3917Bram Moolenaar2021-12-276-10092/+10137
| | | | | Problem: The eval.txt help file is way too big. Solution: Move the builtin function details to a separate file.
* patch 8.2.3916: no error for passing an invalid line number to append()v8.2.3916Bram Moolenaar2021-12-277-8/+31
| | | | | Problem: No error for passing an invalid line number to append(). Solution: In Vim9 script check for a non-negative number. (closes #9417)
* patch 8.2.3915: illegal memory access when completing with invalid bytesv8.2.3915Bram Moolenaar2021-12-273-1/+21
| | | | | Problem: illegal memory access when completing with invalid bytes. Solution: Avoid going over the end of the completion text.
* patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle2021-12-2758-107/+109
| | | | | Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
* patch 8.2.3913: help for expressions does not mention Vim9 syntaxv8.2.3913Bram Moolenaar2021-12-274-125/+204
| | | | | | Problem: Help for expressions does not mention Vim9 syntax. Solution: Add the rules for Vim9 to the expression help. Rename functions to match the help.
* patch 8.2.3912: the ins_complete() function is much too longv8.2.3912Bram Moolenaar2021-12-272-258/+368
| | | | | | Problem: The ins_complete() function is much too long. Solution: Split it up into multiple functions. (Yegappan Lakshmanan, closes #9414)
* patch 8.2.3911: Vim9: type check for filter() does not accept unknownv8.2.3911Bram Moolenaar2021-12-273-0/+9
| | | | | Problem: Vim9: type check for filter() does not accept unknown. Solution: Also accept unknown for the return type. (closes #9413)
* patch 8.2.3910: when compare function of sort() fails it does not abortv8.2.3910Bram Moolenaar2021-12-273-1/+15
| | | | | | Problem: When the compare function of sort() produces and error then sort() does not abort. Solution: Check if did_emsg was incremented.
* patch 8.2.3909: Containerfile using prefix name not recognizedv8.2.3909Bram Moolenaar2021-12-273-2/+4
| | | | | Problem: Containerfile using prefix name not recognized. Solution: Recognize Containerfile.*.
* patch 8.2.3908: cannot use a script-local function for 'foldtext'v8.2.3908Yegappan Lakshmanan2021-12-269-4/+60
| | | | | Problem: Cannot use a script-local function for 'foldtext'. Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
* patch 8.2.3907: error messages are spread outv8.2.3907Bram Moolenaar2021-12-266-30/+61
| | | | | Problem: Error messages are spread out. Solution: Move error messages to errors.h. Avoid duplicates.
* patch 8.2.3906: Vim9 help still contains "under development" warningsv8.2.3906Bram Moolenaar2021-12-262-16/+8
| | | | | Problem: Vim9 help still contains "under development" warnings. Solution: Remove the explicit warning.
* patch 8.2.3905: Dockerfile using prefix name not recognizedv8.2.3905Bram Moolenaar2021-12-263-1/+7
| | | | | Problem: Dockerfile using prefix name not recognized. Solution: Recognize Dockerfile.*. (closes #9410)
* patch 8.2.3904: Vim9: skip expression type is not checked at compile timev8.2.3904Bram Moolenaar2021-12-263-9/+65
| | | | | Problem: Vim9: skip expression type is not checked at compile time. Solution: Add argument type checks.
* patch 8.2.3903: "gM" does not count tabs as expectedv8.2.3903Bram Moolenaar2021-12-263-6/+11
| | | | | Problem: "gM" does not count tabs as expected. Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
* patch 8.2.3902: Vim9: double free with nested :def functionv8.2.3902Bram Moolenaar2021-12-266-26/+62
| | | | | | Problem: Vim9: double free with nested :def function. Solution: Pass "line_to_free" from compile_def_function() and make sure cmdlinep is valid.
* patch 8.2.3901: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 scriptv8.2.3901Bram Moolenaar2021-12-266-3/+68
| | | | | Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script. Solution: Do not restore 'cpo' at the end of the main .vimrc.
* patch 8.2.3900: it is not easy to use a script-local function for an optionv8.2.3900Yegappan Lakshmanan2021-12-2613-8/+265
| | | | | | Problem: It is not easy to use a script-local function for an option. Solution: recognize s: and <SID> at the start of the expression. (Yegappan Lakshmanan, closes #9401)
* patch 8.2.3899: Vim9: test for map() on string failsv8.2.3899Bram Moolenaar2021-12-252-2/+5
| | | | | Problem: Vim9: test for map() on string fails. Solution: Expect string return type.
* patch 8.2.3898: Vim9: not sufficient testing for variable initializationv8.2.3898Bram Moolenaar2021-12-252-0/+20
| | | | | Problem: Vim9: not sufficient testing for variable initialization. Solution: Add another test case.
* patch 8.2.3897: Vim9: second argument of map() and filter() not checkedv8.2.3897Bram Moolenaar2021-12-257-12/+80
| | | | | | Problem: Vim9: the second argument of map() and filter() is not checked at compile time. Solution: Add more specific type check for the second argument.
* patch 8.2.3896: Vim9: no test for nested function not available laterv8.2.3896Bram Moolenaar2021-12-252-0/+17
| | | | | Problem: Vim9: no test for nested function not available later. Solution: Add a test.
* patch 8.2.3895: Vim9: confusing error when using function() with a numberv8.2.3895Bram Moolenaar2021-12-253-1/+6
| | | | | Problem: Vim9: confusing error when using function() with a number. Solution: Check for a function or string argument.
* patch 8.2.3894: Vim9: no proper type check for first argument of call()v8.2.3894Bram Moolenaar2021-12-256-1/+27
| | | | | Problem: Vim9: no proper type check for first argument of call(). Solution: Add specific type check.
* patch 8.2.3893: Vim9: many local variables are initialized with an instructionv8.2.3893Bram Moolenaar2021-12-257-23/+51
| | | | | Problem: Vim9: many local variables are initialized with an instruction. Solution: Initialize local variables to zero to avoid the instructions.
* patch 8.2.3892: when modifyOtherKeys is used CTRL-C is not recognizedv8.2.3892Bram Moolenaar2021-12-252-5/+12
| | | | | Problem: When modifyOtherKeys is used CTRL-C is not recognized. Solution: Check for uppercase C as well, fix minimum length.
* patch 8.2.3891: github CI: workflows may overlapv8.2.3891Yegappan Lakshmanan2021-12-253-0/+16
| | | | | | Problem: Github CI: workflows may overlap. Solution: Cancel previous workflows when starting a new one. (Yegappan Lakshmanan, closes #9400)
* patch 8.2.3890: Vim9: type check for using v: variables is basicv8.2.3890Bram Moolenaar2021-12-245-117/+141
| | | | | Problem: Vim9: type check for using v: variables is basic. Solution: Specify a more precise type.
* patch 8.2.3889: duplicate code for translating script-local function namev8.2.3889Yegappan Lakshmanan2021-12-248-39/+84
| | | | | | Problem: Duplicate code for translating script-local function name. Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan, closes #9393)
* patch 8.2.3888: the argument list may contain duplicatesv8.2.3888Nir Lichtman2021-12-248-29/+99
| | | | | Problem: The argument list may contain duplicates. Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
* patch 8.2.3887: E1135 is used for two different errorsv8.2.3887Bram Moolenaar2021-12-243-4/+6
| | | | | Problem: E1135 is used for two different errors. Solution: Renumber one error.
* patch 8.2.3886: can define autocmd for every event by using "au!"v8.2.3886Bram Moolenaar2021-12-244-2/+5
| | | | | Problem: Can define autocmd for every event by using "au!". Solution: Check if a command is present also for "au!".
* patch 8.2.3885: arglist test failsv8.2.3885Bram Moolenaar2021-12-242-10/+8
| | | | | Problem: Arglist test fails. Solution: Adjust for locking the arglist for ":all".
* patch 8.2.3884: crash when clearing the argument list while using itv8.2.3884Bram Moolenaar2021-12-243-0/+12
| | | | | Problem: Crash when clearing the argument list while using it. Solution: Lock the argument list for ":all".
* patch 8.2.3883: crash when switching to other regexp engine failsv8.2.3883Bram Moolenaar2021-12-242-0/+4
| | | | | Problem: Crash when switching to other regexp engine fails. Solution: Check for regprog being NULL.
* Update runtime filesBram Moolenaar2021-12-2429-1203/+1666
|
* patch 8.2.3882: more duplicated code in f_getreginfo()v8.2.3882zeertzjq2021-12-242-18/+8
| | | | | Problem: More duplicated code in f_getreginfo(). Solution: Also use getreg_get_regname(). (closes #9398)
* patch 8.2.3881: QNX: crash when compiled with GUI but using terminalv8.2.3881h-east2021-12-242-1/+3
| | | | | Problem: QNX: crash when compiled with GUI but using terminal. Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
* patch 8.2.3880: Solution filter files are not recognizedv8.2.3880Bram Moolenaar2021-12-243-1/+4
| | | | | Problem: Solution filter files are not recognized. Solution: Add pattern *.slnf and use json. (Doug Kearns)
* patch 8.2.3879: getreg() and getregtype() contain dead codev8.2.3879Bram Moolenaar2021-12-242-47/+48
| | | | | | Problem: getreg() and getregtype() contain dead code. Solution: Remove the needless check. (closes #9392) Also refactor to put common code in a shared function.
* patch 8.2.3878: Vim9: debugger tries to read more lines than there arev8.2.3878Bram Moolenaar2021-12-233-1/+44
| | | | | Problem: Vim9: debugger tries to read more lines than there are. Solution: Check the number of lines. (closes #9394)
* patch 8.2.3877: function does not abort after a type error in comparev8.2.3877Bram Moolenaar2021-12-223-6/+61
| | | | | Problem: Function does not abort after a type error in compare Solution: Check getting number fails. (closes #9384)
* patch 8.2.3876: 'cindent' does not recognize inline namespacev8.2.3876zeertzjq2021-12-223-0/+54
| | | | | Problem: 'cindent' does not recognize inline namespace. Solution: Skip over "inline" to find "namespace". (closes #9383)
* patch 8.2.3875: gcc complains about buffer overrunv8.2.3875Bram Moolenaar2021-12-222-2/+5
| | | | | Problem: gcc complains about buffer overrun. Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)