summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3201: crash in testv8.2.3201Bram Moolenaar2021-07-223-5/+5
| | | | | Problem: Crash in test. Solution: Initialize "where".
* patch 8.2.3200: Vim9: hard to guess where a type error is givenv8.2.3200Bram Moolenaar2021-07-2213-49/+78
| | | | | Problem: Vim9: hard to guess where a type error is given. Solution: Add the function name where possible. (closes #8608)
* patch 8.2.3199: Vim9: execution speed can be improvedv8.2.3199Bram Moolenaar2021-07-222-2/+4
| | | | | Problem: Vim9: execution speed can be improved. Solution: Make the break counter static.
* patch 8.2.3198: cannot use 'formatlistpat' for breakindentv8.2.3198Maxim Kim2021-07-223-7/+68
| | | | | Problem: Cannot use 'formatlistpat' for breakindent. Solution: Use a negative list indent. (Maxim Kim, closes #8594)
* patch 8.2.3197: error messages are spread outv8.2.3197Bram Moolenaar2021-07-2115-35/+61
| | | | | Problem: Error messages are spread out. Solution: Move a few more error messages to errors.h.
* patch 8.2.3196: Vim9: bool expression with numbers only fails at runtimev8.2.3196Bram Moolenaar2021-07-213-22/+57
| | | | | Problem: Vim9: bool expression with numbers only fails at runtime. Solution: Check constant to be bool at compile time. (closes #8603)
* patch 8.2.3195: Vim9: unclear error when passing too many arguments to lambdav8.2.3195Bram Moolenaar2021-07-213-2/+9
| | | | | | Problem: Vim9: unclear error when passing too many arguments to lambda. Solution: Pass the expression itself instead of "[expression]". (closes #8604)
* patch 8.2.3194: Vim9: argument types are not checked at compile timev8.2.3194Yegappan Lakshmanan2021-07-2110-139/+253
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, simplify some. (Yegappan Lakshmanan, closes #8598)
* patch 8.2.3193: screenpos() is wrong when 'display' is "lastline"v8.2.3193Bram Moolenaar2021-07-213-4/+22
| | | | | | | Problem: screenpos() is wrong when the last line is partially visible and 'display' is "lastline". Solution: Also compute the position for a partially visible line. (closes #8599)
* patch 8.2.3192: build failure with small versionv8.2.3192Bram Moolenaar2021-07-202-2/+2
| | | | | Problem: Build failure with small version (Tony Mechelynck). Solution: Remove stray #ifdef.
* patch 8.2.3191: Vim9: not enough code is testedv8.2.3191Bram Moolenaar2021-07-204-90/+148
| | | | | | Problem: Vim9: not enough code is tested. Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered problems.
* patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar2021-07-2029-98/+127
| | | | | Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
* patch 8.2.3189: Vim9: error when using "try|"v8.2.3189Bram Moolenaar2021-07-203-1/+6
| | | | | Problem: Vim9: error when using "try|". Solution: Allow for "|" right after a command.
* patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan2021-07-2034-299/+1417
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
* patch 8.2.3187: Vim9: popup timer callback is not compiledv8.2.3187Bram Moolenaar2021-07-194-2/+46
| | | | | Problem: Vim9: popup timer callback is not compiled. Solution: Compile the callback when creating the timer.
* patch 8.2.3186: Vim9: not all failures for import testedv8.2.3186Bram Moolenaar2021-07-194-5/+38
| | | | | Problem: Vim9: not all failures for import tested Solution: Test more import failures
* patch 8.2.3185: Vim9: start of inline function found in comment linev8.2.3185Bram Moolenaar2021-07-193-15/+24
| | | | | Problem: Vim9: start of inline function found in comment line. Solution: Do not check for inline function in comment line. (closes #8589)
* patch 8.2.3184: cannot add a digraph with a leading spacev8.2.3184mityu2021-07-198-37/+469
| | | | | | | Problem: Cannot add a digraph with a leading space. It is not easy to list existing digraphs. Solution: Add setdigraph(), setdigraphlist(), getdigraph() and getdigraphlist(). (closes #8580)
* patch 8.2.3183: duplicate error numbersv8.2.3183Bram Moolenaar2021-07-193-5/+7
| | | | | Problem: Duplicate error numbers. Solution: Adjust the error numbers.
* patch 8.2.3182: Vim9: crash when using removing items from a constant listv8.2.3182Bram Moolenaar2021-07-183-6/+34
| | | | | | Problem: Vim9: crash when using removing items from a constant list. (Yegappan Lakshmanan) Solution: When a list was allocated with items copy them.
* patch 8.2.3181: Vim9: builtin function test fails without channel featurev8.2.3181Dominique Pelle2021-07-182-15/+37
| | | | | | Problem: Vim9: builtin function test fails without channel feature. Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature checks more consistent.
* patch 8.2.3180: Vim9: memory leak when concatenating to an imported stringv8.2.3180Bram Moolenaar2021-07-182-14/+21
| | | | | Problem: Vim9: memory leak when concatenating to an imported string. Solution: Clear the destination.
* patch 8.2.3179: Vim9: cannot assign to an imported variable at script levelv8.2.3179Bram Moolenaar2021-07-185-157/+223
| | | | | Problem: Vim9: cannot assign to an imported variable at script level. Solution: Lookup imported items when assigning.
* patch 8.2.3178: Vim9: the file name of an :import cannot be an expressionv8.2.3178Bram Moolenaar2021-07-184-65/+21
| | | | | | Problem: Vim9: the file name of an :import cannot be an expression. Solution: Accept an expression that results in a string. Do not support :import in a function.
* patch 8.2.3177: Vim9: can not use "for _ in expr" at script levelv8.2.3177Bram Moolenaar2021-07-183-2/+20
| | | | | Problem: Vim9: can not use "for _ in expr" at script level. Solution: Skip assignment if the loop variable is "_".
* patch 8.2.3176: Vim9: no type error for comparing number with stringv8.2.3176Bram Moolenaar2021-07-184-4/+41
| | | | | Problem: Vim9: no type error for comparing number with string. Solution: Add a runtime type check. (closes #8571)
* patch 8.2.3175: Vim9: using illegal pointer with nested lambdas.v8.2.3175Bram Moolenaar2021-07-183-0/+23
| | | | | | Problem: Vim9: using illegal pointer with inline function inside a lambda. Solution: Clear eval_tofree_cmdline when advancing to the next line. (closes #8578)
* patch 8.2.3174: Vim9: "legacy undo" finds "undo" variablev8.2.3174Bram Moolenaar2021-07-173-1/+11
| | | | | Problem: Vim9: "legacy undo" finds "undo" variable. Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
* patch 8.2.3173: Vim9: argument types are not checked at compile timev8.2.3173Yegappan Lakshmanan2021-07-1711-31/+329
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
* patch 8.2.3172: MzScheme test failsv8.2.3172Bram Moolenaar2021-07-162-1/+3
| | | | | Problem: MzScheme test fails. (Christian Brabandt) Solution: Correct function name.
* patch 8.2.3171: another illegal memory access in testv8.2.3171Bram Moolenaar2021-07-152-1/+3
| | | | | Problem: Another illegal memory access in test. Solution: Check pointer is after the start of the line.
* patch 8.2.3170: Illegal memory access in testv8.2.3170Bram Moolenaar2021-07-152-1/+3
| | | | | Problem: Illegal memory access in test. Solution: Check pointer is not before the start of the line.
* patch 8.2.3169: Vim9: cannot handle nested inline functionv8.2.3169Bram Moolenaar2021-07-154-6/+47
| | | | | Problem: Vim9: cannot handle nested inline function. Solution: Check for nested inline function. (closes #8575)
* patch 8.2.3168: Vim9: type error for constant of type anyv8.2.3168Bram Moolenaar2021-07-153-1/+14
| | | | | | Problem: Vim9: type error for constant of type any. Solution: Do add a runtime type check if a constant has type any. (closes #8570)
* patch 8.2.3167: get E12 in a job callback when searching for tagsv8.2.3167Bram Moolenaar2021-07-152-16/+18
| | | | | | Problem: Get E12 in a job callback when searching for tags. (Andy Stewart) Solution: Use the sandbox only for executing a command, not for searching. (closes #8511)
* patch 8.2.3166: Vim9: nested autoload call error overruled by "Unknown error"v8.2.3166Bram Moolenaar2021-07-153-1/+44
| | | | | | Problem: Vim9: nested autoload call error overruled by "Unknown error". Solution: Check need_rethrow before giving an "Unknown error". (closes #8568)
* patch 8.2.3165: Vim9: in a || expression the error line number may be wrongv8.2.3165Bram Moolenaar2021-07-153-0/+12
| | | | | | Problem: Vim9: in a || expression the error line number may be wrong. Solution: Save and restore the line number when checking the type. (closes #8569)
* patch 8.2.3164: MS-Windows: reported version lacks patchlevelv8.2.3164Bram Moolenaar2021-07-152-1/+6
| | | | | | Problem: MS-Windows: reported version lacks patchlevel, causing some update tools to update too often. (Klaus Frank) Solution: Add the patchlevel to the version. (Christian Brabandt)
* patch 8.2.3163: location list window may open a wrong filev8.2.3163Wei-Chung Wen2021-07-153-0/+36
| | | | | | Problem: Location list window may open a wrong file. Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565, closes #8566)
* patch 8.2.3162: Vim9: argument types are not checked at compile timev8.2.3162Yegappan Lakshmanan2021-07-1521-268/+779
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
* patch 8.2.3161: Vim9: no error when reltime() has invalid argumentsv8.2.3161Bram Moolenaar2021-07-143-0/+27
| | | | | Problem: Vim9: no error when reltime() has invalid arguments. Solution: Add an error. (closes #8562)
* patch 8.2.3160: 'breakindent' does not work well for bulleted listsv8.2.3160Christian Brabandt2021-07-144-0/+96
| | | | | | Problem: 'breakindent' does not work well for bulleted and numbered lists. Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt, closes #8564, closes #1661)
* patch 8.2.3159: cursor displayed in wrong position after deleting linev8.2.3159Bram Moolenaar2021-07-132-3/+8
| | | | | Problem: Cursor displayed in wrong position after deleting line. Solution: When deleting lines do not approximate botline. (fixes #8559)
* patch 8.2.3158: strange error message when using islocked() with a numberv8.2.3158Bram Moolenaar2021-07-133-1/+11
| | | | | | Problem: Strange error message when using islocked() with a number. (Yegappan Lakshmanan) Solution: Check that the name is empty.
* patch 8.2.3157: crypt test may fail on MS-Windowsv8.2.3157Christian Brabandt2021-07-132-2/+4
| | | | | | Problem: Crypt test may fail on MS-Windows. Solution: Ignore "[unix]" in the file message. (Christian Brabandt, closes #8561)
* patch 8.2.3156: Vim9: term_getansicolors() test fails without +termguicolorsv8.2.3156Dominique Pelle2021-07-122-0/+3
| | | | | Problem: Vim9: term_getansicolors() test fails without +termguicolors. Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
* patch 8.2.3155: some option related code not covered by testsv8.2.3155Dominique Pelle2021-07-123-0/+65
| | | | | Problem: Some option related code not covered by tests. Solution: Add a few test cases. (Dominique Pellé, closes #8552)
* patch 8.2.3154: Vim9: some type checks for builtin functions failv8.2.3154Yegappan Lakshmanan2021-07-113-3/+21
| | | | | | Problem: Vim9: some type checks for builtin functions fail. Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551, closes #8550)
* patch 8.2.3153: URLs with a dash in the scheme are not recognizedv8.2.3153Tsuyoshi CHO2021-07-113-3/+49
| | | | | | Problem: URLs with a dash in the scheme are not recognized. Solution: Allow for a scheme with a dash, but not at the start or end. (Tsuyoshi CHO, closes #8299)
* patch 8.2.3152: Vim9: accessing "s:" results in an errorv8.2.3152Bram Moolenaar2021-07-113-1/+11
| | | | | Problem: Vim9: accessing "s:" results in an error. Solution: Do not try to lookup a script variable for "s:". (closes #8549)