]>
granicus.if.org Git - vim/log
Bram Moolenaar [Tue, 30 Jun 2020 20:11:44 +0000 (22:11 +0200)]
patch 8.2.1101: no error when using wrong arguments for setqflist()
Problem: No error when using wrong arguments for setqflist() or
setloclist().
Solution: Check for the error.
Bram Moolenaar [Tue, 30 Jun 2020 20:02:02 +0000 (22:02 +0200)]
patch 8.2.1100: Vim9: cannot use line break in :execute argument
Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
argument.
Solution: Check for line break.
Bram Moolenaar [Tue, 30 Jun 2020 19:18:36 +0000 (21:18 +0200)]
patch 8.2.1099: Vim9: cannot use line break in :cexpr argument
Problem: Vim9: cannot use line break in :cexpr argument.
Solution: Check for line break.
Bram Moolenaar [Tue, 30 Jun 2020 18:55:15 +0000 (20:55 +0200)]
patch 8.2.1098: Vim9: cannot use line break in :throw argument
Problem: Vim9: cannot use line break in :throw argument.
Solution: Check for line break.
Bram Moolenaar [Tue, 30 Jun 2020 18:38:27 +0000 (20:38 +0200)]
Runtime file updates
Bram Moolenaar [Tue, 30 Jun 2020 16:45:43 +0000 (18:45 +0200)]
patch 8.2.1097: highlight code not sufficiently tested
Problem: Highlight code not sufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
Bram Moolenaar [Tue, 30 Jun 2020 11:38:01 +0000 (13:38 +0200)]
patch 8.2.1096: Vim9: return type of getqflist() is wrong
Problem: Vim9: return type of getqflist() is wrong.
Solution: Let the return type depend on the arguments. Also for
getloclist(). (closes #6367)
Bram Moolenaar [Mon, 29 Jun 2020 21:18:42 +0000 (23:18 +0200)]
patch 8.2.1095: may use pointer after freeing it
Problem: May use pointer after freeing it when text properties are used.
Solution: Update redo buffer before calling ml_replace().
Bram Moolenaar [Mon, 29 Jun 2020 21:14:02 +0000 (23:14 +0200)]
patch 8.2.1094: dead code in libvterm
Problem: Dead code in libvterm.
Solution: Remove condition that is always true.
Bram Moolenaar [Mon, 29 Jun 2020 21:07:44 +0000 (23:07 +0200)]
patch 8.2.1093: Python: double free when adding item to dict fails
Problem: Python: double free when adding item to dict fails.
Solution: Remove vim_free() call.
Bram Moolenaar [Mon, 29 Jun 2020 21:02:21 +0000 (23:02 +0200)]
patch 8.2.1092: not checking if saving for undo succeeds
Problem: Not checking if saving for undo succeeds.
Solution: Bail out if u_savesub() returns FAIL.
Bram Moolenaar [Mon, 29 Jun 2020 20:40:42 +0000 (22:40 +0200)]
patch 8.2.1091: no check if opening a pty works
Problem: No check if opening a pty works.
Solution: Check for invalid file descriptor.
Bram Moolenaar [Mon, 29 Jun 2020 20:31:36 +0000 (22:31 +0200)]
patch 8.2.1090: may use NULL pointer when skipping over name
Problem: May use NULL pointer when skipping over name.
Solution: Always set ll_name_end.
Bram Moolenaar [Mon, 29 Jun 2020 20:24:56 +0000 (22:24 +0200)]
patch 8.2.1089: Coverity warns for pointer computation
Problem: Coverity warns for pointer computation.
Solution: Avoid computing a pointer to invalid memory.
Bram Moolenaar [Mon, 29 Jun 2020 19:32:06 +0000 (21:32 +0200)]
patch 8.2.1088: a very long translation might cause a buffer overflow
Problem: A very long translation might cause a buffer overflow.
Solution: Trunctate the message if needed.
Bram Moolenaar [Mon, 29 Jun 2020 19:14:51 +0000 (21:14 +0200)]
patch 8.2.1087: possible memory leak when file expansion fails
Problem: Possible memory leak when file expansion fails.
Solution: Clear the grow array when returning FAIL. Use an error message
instead of an empty string.
Bram Moolenaar [Mon, 29 Jun 2020 18:40:37 +0000 (20:40 +0200)]
patch 8.2.1086: possibly using freed memory when text properties used
Problem: Possibly using freed memory when text properties used when
changing indent of a line.
Solution: Compute the offset before calling ml_replace().
Bram Moolenaar [Mon, 29 Jun 2020 18:23:32 +0000 (20:23 +0200)]
patch 8.2.1085: Coverity complains about ignoring dict_add() return value
Problem: Coverity complains about ignoring dict_add() return value.
Solution: Add (void).
Bram Moolenaar [Mon, 29 Jun 2020 18:20:33 +0000 (20:20 +0200)]
patch 8.2.1084: Lua: registering function has useless code
Problem: Lua: registering function has useless code.
Solution: Remove clearing grow arrays.
Bram Moolenaar [Mon, 29 Jun 2020 18:09:36 +0000 (20:09 +0200)]
patch 8.2.1083: crash when using reduce() on a NULL list
Problem: Crash when using reduce() on a NULL list.
Solution: Only access the list when not NULL.
Bram Moolenaar [Mon, 29 Jun 2020 17:55:58 +0000 (19:55 +0200)]
patch 8.2.1082: Coverity complains about ignoring dict_add() return value
Problem: Coverity complains about ignoring dict_add() return value.
Solution: Add (void).
Bram Moolenaar [Sun, 28 Jun 2020 20:41:26 +0000 (22:41 +0200)]
patch 8.2.1081: Lua: cannot use table.insert() and table.remove()
Problem: Lua: cannot use table.insert() and table.remove().
Solution: Add the list functions. (Prabir Shrestha, closes #6353)
Bram Moolenaar [Sun, 28 Jun 2020 16:43:40 +0000 (18:43 +0200)]
patch 8.2.1080: Vim9: no line break allowed in a for loop
Problem: Vim9: no line break allowed in a for loop.
Solution: Skip line breaks in for command.
Bram Moolenaar [Sun, 28 Jun 2020 13:51:16 +0000 (15:51 +0200)]
patch 8.2.1079: Vim9: no line break allowed in a while loop
Problem: Vim9: no line break allowed in a while loop.
Solution: Update stored loop lines when finding line breaks.
Bram Moolenaar [Sun, 28 Jun 2020 11:17:26 +0000 (13:17 +0200)]
patch 8.2.1078: highlight and match functionality together in one file
Problem: Highlight and match functionality together in one file.
Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
closes #6352)
Bram Moolenaar [Sun, 28 Jun 2020 11:10:22 +0000 (13:10 +0200)]
patch 8.2.1077: no enough test coverage for highlighting
Problem: No enough test coverage for highlighting.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
Bram Moolenaar [Sat, 27 Jun 2020 21:07:36 +0000 (23:07 +0200)]
patch 8.2.1076: Vim9: no line break allowed in :if expression
Problem: Vim9: no line break allowed in :if expression.
Solution: Skip linebreak.
Bram Moolenaar [Sat, 27 Jun 2020 19:56:17 +0000 (21:56 +0200)]
patch 8.2.1075: Vim9: no line break allowed in :echo expression
Problem: Vim9: no line break allowed in :echo expression.
Solution: Skip linebreak.
Bram Moolenaar [Sat, 27 Jun 2020 19:18:00 +0000 (21:18 +0200)]
patch 8.2.1074: Vim9: no line break allowed after some operators
Problem: Vim9: no line break allowed after some operators.
Solution: Skip a line break after the operator. Add
eval_may_get_next_line() to simplify checking for a line break.
Bram Moolenaar [Sat, 27 Jun 2020 18:46:29 +0000 (20:46 +0200)]
patch 8.2.1073: Vim9: no line break allowed in () expression
Problem: Vim9: no line break allowed in () expression.
Solution: Skip a line break.
Bram Moolenaar [Sat, 27 Jun 2020 16:13:10 +0000 (18:13 +0200)]
patch 8.2.1072: missing libvterm test
Problem: Missing libvterm test.
Solution: Sync with libvterm revision 768.
Bram Moolenaar [Sat, 27 Jun 2020 16:06:45 +0000 (18:06 +0200)]
patch 8.2.1071: Vim9: no line break allowed inside a lambda
Problem: Vim9: no line break allowed inside a lambda.
Solution: Handle line break inside a lambda in Vim9 script.
Bram Moolenaar [Sat, 27 Jun 2020 15:04:05 +0000 (17:04 +0200)]
patch 8.2.1070: Vim9: leaking memory when lacking white space in dict
Problem: Vim9: leaking memory when lacking white space in dict.
Solution: Clear the typval.
Bram Moolenaar [Sat, 27 Jun 2020 14:36:05 +0000 (16:36 +0200)]
patch 8.2.1069: Vim9: fail to check for white space in list
Problem: Vim9: fail to check for white space in list.
Solution: Add check for white space.
Bram Moolenaar [Sat, 27 Jun 2020 12:11:53 +0000 (14:11 +0200)]
patch 8.2.1068: Vim9: no line break allowed inside a dict
Problem: Vim9: no line break allowed inside a dict.
Solution: Handle line break inside a dict in Vim9 script.
Bram Moolenaar [Sat, 27 Jun 2020 11:11:50 +0000 (13:11 +0200)]
patch 8.2.1067: expression "!expr->func()" does not work
Problem: Expression "!expr->func()" does not work.
Solution: Apply plus and minus earlier. (closes #6348)
Bram Moolenaar [Sat, 27 Jun 2020 10:32:57 +0000 (12:32 +0200)]
patch 8.2.1066: Lua arrays are zero based
Problem: Lua arrays are zero based.
Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
Note: this is not backwards compatible.
Bram Moolenaar [Fri, 26 Jun 2020 20:46:27 +0000 (22:46 +0200)]
patch 8.2.1065: Vim9: no line break allowed inside a list
Problem: Vim9: no line break allowed inside a list.
Solution: Handle line break inside a list in Vim9 script.
Bram Moolenaar [Fri, 26 Jun 2020 20:00:38 +0000 (22:00 +0200)]
patch 8.2.1064: Vim9: no line break allowed before comperators
Problem: Vim9: no line break allowed before comperators.
Solution: Check for comperator after line break.
Bram Moolenaar [Fri, 26 Jun 2020 19:38:51 +0000 (21:38 +0200)]
patch 8.2.1063: Vim9: no line break allowed before || or &&
Problem: Vim9: no line break allowed before || or &&.
Solution: Check for operator after line break.
Bram Moolenaar [Fri, 26 Jun 2020 19:28:25 +0000 (21:28 +0200)]
patch 8.2.1062: Vim9: no line break allowed inside "cond ? val1 : val2"
Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
Solution: Check for operator after line break.
Bram Moolenaar [Fri, 26 Jun 2020 18:41:39 +0000 (20:41 +0200)]
patch 8.2.1061: insufficient testing for src/window.c
Problem: Insufficient testing for src/window.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
Bram Moolenaar [Fri, 26 Jun 2020 18:23:45 +0000 (20:23 +0200)]
patch 8.2.1060: not all elinks files are recognized
Problem: Not all elinks files are recognized.
Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
Bram Moolenaar [Fri, 26 Jun 2020 17:44:06 +0000 (19:44 +0200)]
patch 8.2.1059: crash when using :tabonly in an autocommand
Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
Solution: Do not allow the autocommand window to be closed.
Bram Moolenaar [Thu, 25 Jun 2020 20:23:48 +0000 (22:23 +0200)]
patch 8.2.1058: multiline conceal causes display errors
Problem: Multiline conceal causes display errors.
Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
closes #6302)
Bram Moolenaar [Thu, 25 Jun 2020 18:56:42 +0000 (20:56 +0200)]
patch 8.2.1057: cannot build with dynamic Lua
Problem: Cannot build with dynamic Lua.
Solution: Add dll variables.
Bram Moolenaar [Thu, 25 Jun 2020 18:07:04 +0000 (20:07 +0200)]
patch 8.2.1056: wrong display when mixing match conceal and syntax conceal
Problem: Wrong display when mixing match conceal and syntax conceal.
Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
Bram Moolenaar [Thu, 25 Jun 2020 17:53:24 +0000 (19:53 +0200)]
patch 8.2.1055: no filetype set for pacman config files
Problem: No filetype set for pacman config files.
Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
Bram Moolenaar [Thu, 25 Jun 2020 17:27:56 +0000 (19:27 +0200)]
patch 8.2.1054: not so easy to pass a lua function to Vim
Problem: Not so easy to pass a lua function to Vim.
Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
Shrestha, closes #6246)
Bram Moolenaar [Thu, 25 Jun 2020 17:01:36 +0000 (19:01 +0200)]
patch 8.2.1053: insufficient testing for 'statusline' and 'tabline'
Problem: Insufficient testing for 'statusline' and 'tabline'.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
Bram Moolenaar [Wed, 24 Jun 2020 21:02:40 +0000 (23:02 +0200)]
patch 8.2.1052: build failure with older compilers
Problem: Build failure with older compilers.
Solution: Move declaration to start of block.
Bram Moolenaar [Wed, 24 Jun 2020 20:07:46 +0000 (22:07 +0200)]
patch 8.2.1051: crash when changing a list while using reduce() on it
Problem: Crash when changing a list while using reduce() on it.
Solution: Lock the list. (closes #6330)
Bram Moolenaar [Wed, 24 Jun 2020 19:00:25 +0000 (21:00 +0200)]
patch 8.2.1050: missing change in struct
Problem: Missing change in struct.
Solution: Add missing change.
Bram Moolenaar [Wed, 24 Jun 2020 18:34:03 +0000 (20:34 +0200)]
patch 8.2.1049: Vim9: leaking memory when using continuation line
Problem: Vim9: leaking memory when using continuation line.
Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
checking for a next command.
Bram Moolenaar [Wed, 24 Jun 2020 17:05:29 +0000 (19:05 +0200)]
patch 8.2.1048: build failure without the eval feature
Problem: Build failure without the eval feature.
Solution: Add dummy typedef.
Bram Moolenaar [Wed, 24 Jun 2020 16:37:35 +0000 (18:37 +0200)]
patch 8.2.1047: Vim9: script cannot use line continuation like :def function
Problem: Vim9: script cannot use line continuation like in a :def function.
Solution: Pass the getline function pointer to the eval() functions. Use it
for addition and multiplication operators.
Bram Moolenaar [Wed, 24 Jun 2020 11:37:35 +0000 (13:37 +0200)]
patch 8.2.1046: insufficient tests for src/buffer.c
Problem: Insufficient tests for src/buffer.c.
Solution: Add more tests. Move comments related tests to a separate file.
(Yegappan Lakshmanan, closes #6325)
Bram Moolenaar [Tue, 23 Jun 2020 20:26:05 +0000 (22:26 +0200)]
patch 8.2.1045: Vim9: line break before operator does not work
Problem: Vim9: line break before operator does not work.
Solution: Peek the next line for an operator.
Bram Moolenaar [Tue, 23 Jun 2020 19:01:38 +0000 (21:01 +0200)]
patch 8.2.1044: not all systemd file types are recognized
Problem: Not all systemd file types are recognized.
Solution: Match several more files. (Guido Cella, closes #6319)
Bram Moolenaar [Tue, 23 Jun 2020 18:00:50 +0000 (20:00 +0200)]
patch 8.2.1043: %a item in 'statusline' not tested
Problem: %a item in 'statusline' not tested.
Solution: Add a test. (Dominique Pellé, closes #6318)
Bram Moolenaar [Mon, 22 Jun 2020 21:02:51 +0000 (23:02 +0200)]
patch 8.2.1042: Vim9: cannot put an operator on the next line
Problem: Vim9: cannot put an operator on the next line.
Solution: Require a colon before a range to see if that causes problems.
Bram Moolenaar [Mon, 22 Jun 2020 20:10:06 +0000 (22:10 +0200)]
patch 8.2.1041: test summary is missing executed count
Problem: Test summary is missing executed count.
Solution: Adjust pattern used for counting.
Bram Moolenaar [Mon, 22 Jun 2020 19:34:30 +0000 (21:34 +0200)]
patch 8.2.1040: not enough testing for movement commands
Problem: Not enough testing for movement commands.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
Bram Moolenaar [Mon, 22 Jun 2020 18:30:27 +0000 (20:30 +0200)]
patch 8.2.1039: cannot put NUL byte on clipboard
Problem: Cannot put NUL byte on clipboard.
Solution: Use the text length. (Christian Brabandt, closes #6312,
closes #6149)
Bram Moolenaar [Mon, 22 Jun 2020 18:22:19 +0000 (20:22 +0200)]
patch 8.2.1038: popupwin test fails
Problem: Popupwin test fails.
Solution: Fix WaitForAssert() argument.
Bram Moolenaar [Mon, 22 Jun 2020 17:39:03 +0000 (19:39 +0200)]
patch 8.2.1037: Vim9: crash when using line continuation inside :def
Problem: Vim9: crash when using line continuation inside :def.
Solution: Check for no more lines available.
Bram Moolenaar [Mon, 22 Jun 2020 17:24:23 +0000 (19:24 +0200)]
patch 8.2.1036: popupwin test fails sometimes
Problem: Popupwin test fails sometimes.
Solution: Use WaitForAssert() instead of a sleep.
Bram Moolenaar [Mon, 22 Jun 2020 17:10:56 +0000 (19:10 +0200)]
patch 8.2.1035: setreg() does not always clear the register
Problem: setreg() does not always clear the register.
Solution: Clear the register if the dict argument is empty. (Andy Massimino,
closes #3370)
Bram Moolenaar [Sun, 21 Jun 2020 20:17:18 +0000 (22:17 +0200)]
patch 8.2.1034: compiler warning for uninitialized variables
Problem: Compiler warning for uninitialized variables.
Solution: Add initializations. (John Marriott)
Bram Moolenaar [Sun, 21 Jun 2020 20:12:03 +0000 (22:12 +0200)]
Update runtime files
Bram Moolenaar [Sun, 21 Jun 2020 18:39:37 +0000 (20:39 +0200)]
patch 8.2.1033: not easy to read the test time in the test output
Problem: Not easy to read the test time in the test output.
Solution: Align the times. Make slow tests bold.
Bram Moolenaar [Sun, 21 Jun 2020 18:38:28 +0000 (20:38 +0200)]
patch 8.2.1032: error message for declaring a variable cannot be translated
Problem: Error message for declaring a variable cannot be translated.
Solution: Enclose in _(). Make environment variable a separate message.
Bram Moolenaar [Sun, 21 Jun 2020 18:06:54 +0000 (20:06 +0200)]
patch 8.2.1031: build failure with Perl5.32
Problem: Build failure with Perl5.32.
Solution: Define a few more functions. (Felix Yan, closes #6310)
Bram Moolenaar [Sun, 21 Jun 2020 15:57:32 +0000 (17:57 +0200)]
patch 8.2.1030: reducing size of a terminal window may cause a crash
Problem: Reducing size of a terminal window may cause a crash.
Solution: Make sure the row and column don't become negative. (closes #6273)
Bram Moolenaar [Sun, 21 Jun 2020 14:58:13 +0000 (16:58 +0200)]
patch 8.2.1029: Vim9: cannot chain function calls with -> at line start
Problem: Vim9: cannot chain function calls with -> at line start.
Solution: Peek ahead for a following line starting with "->". (closes #6306)
Bram Moolenaar [Sun, 21 Jun 2020 13:52:59 +0000 (15:52 +0200)]
patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable
Problem: Vim9: no error for declaring buffer, window, etc. variable.
Solution: Give an error. Unify the error messages.
Bram Moolenaar [Sun, 21 Jun 2020 13:09:14 +0000 (15:09 +0200)]
patch 8.2.1027: GUI: multi-byte characters do not work in a terminal
Problem: GUI: multi-byte characters do not work in a terminal.
Solution: Do not assume a key is one byte. (closes #6304)
Bram Moolenaar [Sun, 21 Jun 2020 12:12:17 +0000 (14:12 +0200)]
patch 8.2.1026: Vim9: cannot break the line after "->"
Problem: Vim9: cannot break the line after "->".
Solution: Check for a continuation line after "->", "[" and ".". Ignore
trailing white space.
Bram Moolenaar [Sun, 21 Jun 2020 11:23:45 +0000 (13:23 +0200)]
patch 8.2.1025: tabpage menu and tabline not sufficiently tested
Problem: Tabpage menu and tabline not sufficiently tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
Bram Moolenaar [Sat, 20 Jun 2020 20:50:47 +0000 (22:50 +0200)]
patch 8.2.1024: Vim9: no error for using "let g:var = val"
Problem: Vim9: no error for using "let g:var = val".
Solution: Add an error.
Bram Moolenaar [Sat, 20 Jun 2020 16:19:09 +0000 (18:19 +0200)]
patch 8.2.1023: Vim9: redefining a function uses a new index every time
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
Bram Moolenaar [Sat, 20 Jun 2020 14:05:32 +0000 (16:05 +0200)]
patch 8.2.1022: various parts of code not covered by tests
Problem: Various parts of code not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
Bram Moolenaar [Sat, 20 Jun 2020 14:00:25 +0000 (16:00 +0200)]
patch 8.2.1021: Ruby interface not tested enough
Problem: Ruby interface not tested enough.
Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
Bram Moolenaar [Sat, 20 Jun 2020 13:03:38 +0000 (15:03 +0200)]
patch 8.2.1020: popupwin test fails in the GUI
Problem: Popupwin test fails in the GUI.
Solution: Send GUI byte sequence for <C-S-a>.
Bram Moolenaar [Sat, 20 Jun 2020 12:43:23 +0000 (14:43 +0200)]
patch 8.2.1019: mapping <M-S-a> does not work in the GUI
Problem: Mapping <M-S-a> does not work in the GUI.
Solution: Move the logic to remove the shift modifier to
may_remove_shift_modifier() and also use it in the GUI.
Bram Moolenaar [Sat, 20 Jun 2020 11:29:03 +0000 (13:29 +0200)]
patch 8.2.1018: typo in enum value
Problem: Typo in enum value. (James McCoy)
Solution: Fix the typo.
Bram Moolenaar [Fri, 19 Jun 2020 20:37:47 +0000 (22:37 +0200)]
patch 8.2.1017: Appveyor output doesn't show MinGW console features
Problem: Appveyor output doesn't show MinGW console features.
Solution: List the features of the console build.
Bram Moolenaar [Fri, 19 Jun 2020 20:35:44 +0000 (22:35 +0200)]
patch 8.2.1016: Vim9: test fails when channel feature is missing
Problem: Vim9: test fails when channel feature is missing.
Solution: Process an :if command when skipping
Bram Moolenaar [Fri, 19 Jun 2020 19:46:52 +0000 (21:46 +0200)]
patch 8.2.1015: popup filter gets key with modifier prepended
Problem: Popup filter gets key with modifier prepended when using
modifyOtherKeys.
Solution: Remove the shift modifier when it is included in the key, also
when the Alt or Meta modifier is used.
Bram Moolenaar [Fri, 19 Jun 2020 17:30:53 +0000 (19:30 +0200)]
patch 8.2.1014: using "name" for a string result is confusing
Problem: Using "name" for a string result is confusing.
Solution: Rename to "end".
Bram Moolenaar [Fri, 19 Jun 2020 17:10:59 +0000 (19:10 +0200)]
patch 8.2.1013: channel tests can be a bit flaky
Problem: Channel tests can be a bit flaky.
Solution: Set the g:test_is_flaky flag in SetUp().
Bram Moolenaar [Fri, 19 Jun 2020 17:01:43 +0000 (19:01 +0200)]
patch 8.2.1012: Vim9: cannot declare single character script variables
Problem: Vim9: cannot declare single character script variables.
Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
sn_var_vals.
Bram Moolenaar [Fri, 19 Jun 2020 16:34:15 +0000 (18:34 +0200)]
patch 8.2.1011: Vim9: some code not tested
Problem: Vim9: some code not tested.
Solution: Add a few more test cases. Reorder checks for clearer error.
Remove unreachable code.
Bram Moolenaar [Fri, 19 Jun 2020 15:20:41 +0000 (17:20 +0200)]
patch 8.2.1010: build failure in libvterm with debug enabled
Problem: Build failure in libvterm with debug enabled. (John Little)
Solution: Use "->" instead of ".".
Bram Moolenaar [Thu, 18 Jun 2020 20:43:27 +0000 (22:43 +0200)]
patch 8.2.1009: Vim9: some failures not checked for
Problem: Vim9: some failures not checked for.
Solution: Add test cases. Remove unused code.
Bram Moolenaar [Thu, 18 Jun 2020 20:18:18 +0000 (22:18 +0200)]
patch 8.2.1008: Vim9: no test for disassambling newly added instructions
Problem: Vim9: no test for disassambling newly added instructions.
Solution: Add a function and check disassembly.
Bram Moolenaar [Thu, 18 Jun 2020 19:14:30 +0000 (21:14 +0200)]
patch 8.2.1007: completion doesn't work after ":r ++arg !"
Problem: Completion doesn't work after ":r ++arg !".
Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
closes #6258)
Bram Moolenaar [Thu, 18 Jun 2020 18:50:10 +0000 (20:50 +0200)]
patch 8.2.1006: Vim9: require unnecessary return statement
Problem: Vim9: require unnecessary return statement.
Solution: Improve the use of the had_return flag. (closes #6270)
Bram Moolenaar [Thu, 18 Jun 2020 17:31:08 +0000 (19:31 +0200)]
patch 8.2.1005: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing
Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
Solution: Use an enum value.
Bram Moolenaar [Thu, 18 Jun 2020 17:15:27 +0000 (19:15 +0200)]
patch 8.2.1004: line numbers below filler lines not always updated
Problem: Line numbers below filler lines not always updated.
Solution: Don't break out of the win_line() loop too early. (Christian
Brabandt, closes #6294, closes #6138)