Bram Moolenaar
1aeddeb8bd
patch 8.2.3142: Vim9: type check for has_key() argument is too strict
...
Problem: Vim9: type check for has_key() argument is too strict.
Solution: Also allow for a number key argument. (closes #8542 )
2021-07-11 14:55:49 +02:00
Martin Tournoij
de69a7353e
patch 8.2.3141: no error when using :complete for :command without -nargs
...
Problem: No error when using :complete for :command without -nargs.
Solution: Give an error. (Martin Tournoij, closes #8544 , closes #8541 )
2021-07-11 14:28:25 +02:00
Bram Moolenaar
482d2f37a5
patch 8.2.3140: MS-Windows: ipv6 channel test is very flaky also without GUI
...
Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
Solution: Skip the test also without the GUI.
2021-07-10 22:21:40 +02:00
Yegappan Lakshmanan
a2438132a6
patch 8.2.3139: functions for string manipulation are spread out
...
Problem: Functions for string manipulation are spread out.
Solution: Move string related functions to a new source file. (Yegappan
Lakshmanan, closes #8470 )
2021-07-10 21:29:18 +02:00
Bram Moolenaar
31e21766d6
patch 8.2.3138: debugger test fails
...
Problem: Debugger test fails.
Solution: Adjust eval command.
2021-07-10 20:43:59 +02:00
Bram Moolenaar
c323527d67
patch 8.2.3137: Vim9: no error when a line only has a variable name
...
Problem: Vim9: no error when a line only has a variable name.
Solution: Give an error when an expression is evaluated without an effect.
(closes #8538 )
2021-07-10 19:42:03 +02:00
Dominique Pelle
fe3418abe0
patch 8.2.3136: no test for E187 and "No swap file"
...
Problem: No test for E187 and "No swap file".
Solution: Add a test. (Dominique Pellé, closes #8540 )
2021-07-10 17:59:48 +02:00
Yegappan Lakshmanan
5b73992d8f
patch 8.2.3135: Vim9: builtin function arguments not checked at compile time
...
Problem: Vim9: builtin function arguments not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539 )
2021-07-10 13:15:41 +02:00
Bram Moolenaar
9da32e4d57
patch 8.2.3134: crash when using typename() on a function reference
...
Problem: Crash when using typename() on a function reference. (Naohiro Ono)
Solution: Initialize pointer to NULL. (closes #8531 )
2021-07-09 19:53:57 +02:00
Bram Moolenaar
90fba5627b
patch 8.2.3133: Vim9: memory leak when add() fails
...
Problem: Vim9: memory leak when add() fails.
Solution: Allocate listitem_T after type check.
2021-07-09 19:17:55 +02:00
Bram Moolenaar
6bcb18253a
patch 8.2.3132: compiler warns for size_t to colnr_T conversion.
...
Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
Morris)
Solution: Add a type cast.
2021-07-09 15:54:00 +02:00
Bram Moolenaar
981217c11f
patch 8.2.3131: MS-Windows: ipv6 channel test is very flaky in the GUI
...
Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
Solution: Skip the test.
2021-07-08 22:20:50 +02:00
Bram Moolenaar
b885a7c72c
patch 8.2.3130: Vim9: import test fails
...
Problem: Vim9: import test fails.
Solution: Rename directory back to "import", use "p" to avoid an error when
the directory already exists.
2021-07-08 22:02:11 +02:00
Bram Moolenaar
c967d57aa9
patch 8.2.3129: Vim9: imported uninitialized list does not get type checked
...
Problem: Vim9: imported uninitialized list does not get type checked.
Solution: Get type from imported variable.
2021-07-08 21:38:50 +02:00
Bram Moolenaar
f055d45023
patch 8.2.3128: Vim9: uninitialzed list does not get type checked
...
Problem: Vim9: uninitialzed list does not get type checked.
Solution: Set the type when initializing the variable. (closes #8529 )
2021-07-08 20:57:24 +02:00
Bram Moolenaar
f32f099761
patch 8.2.3127: Vim9: no error when adding number to list of string
...
Problem: Vim9: no error when adding number to list of string.
Solution: Check the value type. (closes #8529 )
2021-07-08 20:53:40 +02:00
Bram Moolenaar
d4ab807d62
patch 8.2.3126: Vim9: for loop error reports wrong line number
...
Problem: Vim9: for loop error reports wrong line number.
Solution: Save and restore the line number when evaluating the expression.
(closes #8514 )
2021-07-08 19:22:12 +02:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
09f688c33a
patch 8.2.3125: variables are set but not used
...
Problem: Variables are set but not used.
Solution: Move the declarations to the block where they are used.
(closes #8527 )
2021-07-08 18:05:00 +02:00
Bram Moolenaar
deb108ba0a
patch 8.2.3124: Vim9: no error for white space between option and "=9"
...
Problem: Vim9: no error for white space between option and "=9".
Solution: Check for extraneous white space. (issue #8408 )
2021-07-08 17:35:36 +02:00
Bram Moolenaar
1594f31345
patch 8.2.3123: Vim9: confusing error when using white space after option
...
Problem: Vim9: confusing error when using white space after option, before
one of "!&<".
Solution: Give a specific error. (issue #8408 )
2021-07-08 16:40:13 +02:00
Bram Moolenaar
30441bb3d5
patch 8.2.3122: with 'nowrap' cursor position is unexected in narrow window
...
Problem: With 'nowrap' cursor position is unexected in narrow window.
(Leonid V. Fedorenchik)
Solution: Put cursor on the last non-empty line. (closes #8525 )
2021-07-08 13:19:31 +02:00
Bram Moolenaar
41fb723ee9
patch 8.2.3121: 'listchars' "exceeds" character appears in foldcolumn
...
Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
separator is missing. (Leonid V. Fedorenchik)
Solution: Only draw the "exceeds" character in the text area. Break the
loop when not drawing the text. (closes #8524 )
2021-07-08 12:40:05 +02:00
Bram Moolenaar
db86472770
patch 8.2.3120: crypt with sodium test fails on MS-Windows
...
Problem: Crypt with sodium test fails on MS-Windows.
Solution: Make the tests pass. (closes #8428 )
2021-07-08 11:37:50 +02:00
Bram Moolenaar
6a9e5c69cf
patch 8.2.3119: compiler warning for unused argument
...
Problem: Compiler warning for unused argument.
Solution: Add UNUSED.
2021-07-07 22:13:08 +02:00
Bram Moolenaar
5ede5b231e
patch 8.2.3118: Vim9: "any" type not handled correctly in for loop
...
Problem: Vim9: "any" type not handled correctly in for loop.
Solution: Change compile time check into runtime check. (closes #8516 )
2021-07-07 21:55:25 +02:00
Bram Moolenaar
efc5db5215
patch 8.2.3117: Vim9: type not properly checked in for loop
...
Problem: Vim9: type not properly checked in for loop.
Solution: Have items() return a list of lists. Add runtime type checks.
(closes #8515 )
2021-07-07 21:21:30 +02:00
Bram Moolenaar
303215d60c
patch 8.2.3116: Vim9: crash when debugging a function with line continuation
...
Problem: Vim9: crash when debugging a function with line continuation.
Solution: Check for a NULL pointer. (closes #8521 )
2021-07-07 20:10:43 +02:00
Bram Moolenaar
b5098060f4
patch 8.2.3115: Coverity complains about free_wininfo() use
...
Problem: Coverity complains about free_wininfo() use.
Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996 )
2021-07-07 19:26:19 +02:00
=?UTF-8?q?Ola=20S=C3=B6der?=
599a6e5b36
patch 8.2.3114: Amiga-like systems: build error using stat()
...
Problem: Amiga-like systems: build error using stat().
Solution: Only build swapfile_process_running() on systems where it is
actually used. (Ola Söder, closes #8519 )
2021-07-06 20:15:46 +02:00
Bram Moolenaar
442b29c968
patch 8.2.3113: no error when for loop variable shadows script variable
...
Problem: No error when for loop variable shadows script variable.
Solution: Check for the error. (closes #8512 )
2021-07-05 22:23:00 +02:00
Bram Moolenaar
5cb09620c1
patch 8.2.3112: in rare cases the cursor may be somewhere in a folded line
...
Problem: With concealing enabled and indirectly closing a fold the cursor
may be somewhere in a folded line when it is not on the first line
of the fold.
Solution: Check if he cursor is somewhere in the folded text.
2021-07-05 22:03:04 +02:00
Bram Moolenaar
404557e6a6
patch 8.2.3111: Vim9: confusing error with extra whitespace before colon
...
Problem: Vim9: confusing error with extra whitespace before colon.
Solution: Check for colon after white space. (closes #8513 )
2021-07-05 21:41:48 +02:00
Bram Moolenaar
04db26b360
patch 8.2.3110: a pattern that matches the cursor position is complicated
...
Problem: A pattern that matches the cursor position is bit complicated.
Solution: Use a dot to indicate the cursor line and column. (Christian
Brabandt, closes #8497 , closes #8179 )
2021-07-05 20:15:23 +02:00
Bram Moolenaar
f6d877975b
patch 8.2.3109: check for $DISPLAY never fails
...
Problem: Check for $DISPLAY never fails.
Solution: Use eval().
2021-07-05 17:49:02 +02:00
Bram Moolenaar
d6fa7bd5b9
patch 8.2.3108: test for remote_foreground() fails
...
Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
Solution: Check that $DISPLAY is set. (Christian Brabandt)
2021-07-05 14:10:04 +02:00
Bram Moolenaar
22f85d0459
patch 8.2.3107: Vim9: error for arguments while type didn't specify arguments
...
Problem: Vim9: error for arguments while type didn't specify arguments.
Solution: Do not update that type to check when no argument count is
specified. (closes #8492 )
2021-07-04 23:29:30 +02:00
Bram Moolenaar
6977dba04b
patch 8.2.3106: Vim9: confusing line number reported for error
...
Problem: Vim9: confusing line number reported for error.
Solution: Use the start line number for the store instruction.
(closes #8488 )
2021-07-04 22:48:12 +02:00
Bram Moolenaar
97f227d9c9
patch 8.2.3105: Vim9: type of partial is wrong when it has arguments
...
Problem: Vim9: type of partial is wrong when it has arguments.
Solution: Subtract arguments from the count. (issue #8492 )
2021-07-04 20:20:52 +02:00
Bram Moolenaar
b7480cd893
patch 8.2.3104: Vim9: unspecified function type causes type error
...
Problem: Vim9: unspecified function type causes type error.
Solution: Don't check type when min_argcount is negative. (issue #8492 )
2021-07-04 18:28:15 +02:00
Bram Moolenaar
f33cae6050
patch 8.2.3103: swap test may fail on some systems
...
Problem: Swap test may fail on some systems when jobs take longer to exit.
Solution: Use different file names.
2021-07-04 17:36:54 +02:00
Bram Moolenaar
3777d6e32b
patch 8.2.3102: test for crash fix does not fail without the fix
...
Problem: Test for crash fix does not fail without the fix.
Solution: Adjust the test sequence. (closes #8506 )
2021-07-04 17:23:25 +02:00
Bram Moolenaar
26e88ec8e2
patch 8.2.3101: missing function prototype for vim_round()
...
Problem: Missing function prototype for vim_round().
Solution: Add the prototype
2021-07-04 17:21:04 +02:00
Bram Moolenaar
7a40ff00ed
patch 8.2.3100: Vim9: no error when using type with unknown number of args
...
Problem: Vim9: no error when using type with unknown number of arguments.
Solution: Do not ignore argument count of -1. (closes #8492 )
2021-07-04 15:54:08 +02:00
Bram Moolenaar
4197828dc6
patch 8.2.3099: Vim9: missing catch/finally not reported at script level
...
Problem: Vim9: missing catch/finally not reported at script level.
Solution: Give an error. (closes #8487 )
2021-07-04 14:47:30 +02:00
Bram Moolenaar
999db2346b
patch 8.2.3098: popup window test is flaky on MS-Windows with GUI
...
Problem: Popup window test is flaky on MS-Windows with GUI.
Solution: Skip the check in this situation.
2021-07-04 14:00:55 +02:00
Bram Moolenaar
1d97efce0c
patch 8.2.3097: crash when using "quit" at recovery prompt
...
Problem: Crash when using "quit" at recovery prompt and autocommands are
triggered.
Solution: Block autocommands when creating an empty buffer to use as the
current buffer. (closes #8506 )
2021-07-04 13:27:11 +02:00
Dominique Pelle
6c72fd51a8
patch 8.2.3096: temp files remain after running tests
...
Problem: Temp files remain after running tests.
Solution: Delete the right files. (Dominique Pellé, closes #8509 )
2021-07-04 12:30:06 +02:00
Bram Moolenaar
b17ab86e7b
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
...
Problem: With 'virtualedit' set to "block" block selection is wrong after
using "$". (Marco Trosi)
Solution: Compute the longest selected line. (closes #8495 )
2021-07-03 22:15:17 +02:00
Dominique Pelle
c60e959cba
patch 8.2.3094: Test_popup_atcursor_pos() fails without the conceal feature
...
Problem: Test_popup_atcursor_pos() fails without the conceal feature.
Solution: Add a check for the conceal feature. (Dominique Pellé,
closes #8505 )
2021-07-03 21:41:38 +02:00
Bram Moolenaar
fb773a3e0a
patch 8.2.3093: tablabel_tooltip test fails with Athena
...
Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
Solution: Skip the test when using Athena. (closes #8508 )
2021-07-03 21:37:59 +02:00