]>
granicus.if.org Git - vim/log
Bram Moolenaar [Sat, 22 Jan 2022 19:17:31 +0000 (19:17 +0000)]
patch 8.2.4183: cannot use an import in 'formatexpr'
Problem: Cannot use an import in 'formatexpr'.
Solution: Set the script context when evaluating 'formatexpr'.
Bram Moolenaar [Sat, 22 Jan 2022 18:21:36 +0000 (18:21 +0000)]
patch 8.2.4182: memory leak when evaluating 'diffexpr'
Problem: Memory leak when evaluating 'diffexpr'.
Solution: Use free_tv() instead of clear_tv().
Bram Moolenaar [Sat, 22 Jan 2022 17:58:13 +0000 (17:58 +0000)]
patch 8.2.4181: Vim9: cannot use an import in 'diffexpr'
Problem: Vim9: cannot use an import in 'diffexpr'.
Solution: Set the script context when evaluating 'diffexpr'. Do not require
'diffexpr' to return a bool, it was ignored anyway.
Bram Moolenaar [Sat, 22 Jan 2022 15:09:36 +0000 (15:09 +0000)]
patch 8.2.4180: 'balloonexpr' is evaluated in the current script context
Problem: 'balloonexpr' is evaluated in the current script context.
Solution: Use the script context where the option was set.
Bram Moolenaar [Sat, 22 Jan 2022 13:39:08 +0000 (13:39 +0000)]
patch 8.2.4179: 'foldtext' is evaluated in the current script context
Problem: 'foldtext' is evaluated in the current script context.
Solution: Use the script context where the option was set.
Bram Moolenaar [Sat, 22 Jan 2022 12:27:04 +0000 (12:27 +0000)]
patch 8.2.4178: Vim9: invalid error for return type of lambda when debugging
Problem: Vim9: invalid error for return type of lambda when debugging.
Solution: Do not check the return type of a lambda. (closes #9589)
Bram Moolenaar [Sat, 22 Jan 2022 11:27:29 +0000 (11:27 +0000)]
patch 8.2.4177: Vim9: autoload script not loaded after "vim9script noclear"
Problem: Vim9: autoload script not loaded after "vim9script noclear".
Solution: Check IMP_FLAGS_AUTOLOAD properly.
Bram Moolenaar [Sat, 22 Jan 2022 11:00:02 +0000 (11:00 +0000)]
patch 8.2.4176: Vim9: cannot use imported function with call()
Problem: Vim9: cannot use imported function with call().
Solution: Translate the function name. (closes #9590)
Bram Moolenaar [Sat, 22 Jan 2022 10:24:47 +0000 (10:24 +0000)]
patch 8.2.4175: MS-Windows: runtime check for multi-line balloon is obsolete
Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
Solution: Remove the obsolete code. (Ken Takata, closes #9592)
Bram Moolenaar [Fri, 21 Jan 2022 20:37:05 +0000 (20:37 +0000)]
patch 8.2.4174: Vim9: can use an autoload name in normal script
Problem: Vim9: can use an autoload name in normal script.
Solution: Disallow using an autoload name.
Bram Moolenaar [Fri, 21 Jan 2022 16:31:11 +0000 (16:31 +0000)]
patch 8.2.4173: cannot use an import in 'foldexpr'
Problem: Cannot use an import in 'foldexpr'.
Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
Fix that the script context was not set for all buffers.
Bram Moolenaar [Fri, 21 Jan 2022 14:55:13 +0000 (14:55 +0000)]
patch 8.2.4172: filetype detection for BASIC is not optimal
Problem: Filetype detection for BASIC is not optimal.
Solution: Improve BASIC filetype detection. (Doug Kearns)
Bram Moolenaar [Fri, 21 Jan 2022 13:29:56 +0000 (13:29 +0000)]
patch 8.2.4171: cannot invoke option function using autoload import
Problem: Cannot invoke option function using autoload import.
Solution: Expand the import to an autoload function name. (closes #9578)
K.Takata [Fri, 21 Jan 2022 11:37:07 +0000 (11:37 +0000)]
patch 8.2.4170: MS-Windows: still using old message API calls
Problem: MS-Windows: still using old message API calls.
Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
K.Takata [Fri, 21 Jan 2022 11:11:00 +0000 (11:11 +0000)]
patch 8.2.4169: MS-Windows: unnessary casts and other minor things
Problem: MS-Windows: unnessary casts and other minor things.
Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
Bram Moolenaar [Fri, 21 Jan 2022 10:32:58 +0000 (10:32 +0000)]
patch 8.2.4168: disallowing empty function name breaks existing plugins
Problem: Disallowing empty function name breaks existing plugins.
Solution: Allow empty function name in legacy script.
Bram Moolenaar [Thu, 20 Jan 2022 21:32:54 +0000 (21:32 +0000)]
patch 8.2.4167: Vim9: error message for old style import
Problem: Vim9: error message for old style import.
Solution: Use another error message. Add a test.
Bram Moolenaar [Thu, 20 Jan 2022 21:00:54 +0000 (21:00 +0000)]
patch 8.2.4166: undo synced when switching buffer in another window
Problem: Undo synced when switching buffer in another window.
Solution: Do not sync undo when not needed. (closes #9575)
Yegappan Lakshmanan [Thu, 20 Jan 2022 20:18:27 +0000 (20:18 +0000)]
patch 8.2.4165: the nv_g_cmd() function is too long
Problem: The nv_g_cmd() function is too long.
Solution: Move code to separate functions. (Yegappan Lakshmanan,
closes #9576)
Bram Moolenaar [Thu, 20 Jan 2022 19:56:49 +0000 (19:56 +0000)]
patch 8.2.4164: error in legacy code for function shadowing variable
Problem: Error in legacy code for function shadowing variable.
Solution: Only give the error in Vim9 script.
Bram Moolenaar [Thu, 20 Jan 2022 19:38:46 +0000 (19:38 +0000)]
patch 8.2.4163: no error for omitting function name after autoload prefix
Problem: No error for omitting function name after autoload prefix.
Solution: Check for missing function name. (issue #9577)
Bram Moolenaar [Thu, 20 Jan 2022 19:10:25 +0000 (19:10 +0000)]
patch 8.2.4162: Vim9: no error for redefining function with export
Problem: Vim9: no error for redefining function with export.
Solution: Check for existing function with/without prefix. (closes #9577)
Bram Moolenaar [Thu, 20 Jan 2022 17:35:49 +0000 (17:35 +0000)]
patch 8.2.4161: Vim9: warning for missing white space after imported variable
Problem: Vim9: warning for missing white space after imported variable.
Solution: Do not skip white space. (closes #9567)
Shougo Matsushita [Thu, 20 Jan 2022 15:26:03 +0000 (15:26 +0000)]
patch 8.2.4160: cannot change the register used for Select mode delete
Problem: Cannot change the register used for Select mode delete.
Solution: Make CTRL-R set the register to be used when deleting text for
Select mode. (Shougo Matsushita, closes #9531)
K.Takata [Thu, 20 Jan 2022 15:10:57 +0000 (15:10 +0000)]
patch 8.2.4159: MS-Windows: _WndProc() is very long
Problem: MS-Windows: _WndProc() is very long.
Solution: Move code to separate functions. (Ken Takata, closes #9573)
K.Takata [Thu, 20 Jan 2022 15:05:22 +0000 (15:05 +0000)]
patch 8.2.4158: MS-Windows: memory leak in :browse
Problem: MS-Windows: memory leak in :browse.
Solution: Free stuff before returning. (Ken Takata, closes #9574)
ichizok [Thu, 20 Jan 2022 14:57:29 +0000 (14:57 +0000)]
patch 8.2.4157: terminal test fails because Windows sets the title
Problem: Terminal test fails because Windows sets the title.
Solution: Add the "vterm_title" testing override and use it in the test.
(Ozaki Kiichi, closes #9556)
Rob Pilling [Thu, 20 Jan 2022 14:44:38 +0000 (14:44 +0000)]
patch 8.2.4156: fileinfo message overwrites echo'ed message
Problem: Fileinfo message overwrites echo'ed message.
Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
closes #9569)
Bram Moolenaar [Thu, 20 Jan 2022 14:25:57 +0000 (14:25 +0000)]
patch 8.2.4155: translating strftime() argument results in check error
Problem: Translating strftime() argument results in check error.
Solution: Add gettext comment.
Bram Moolenaar [Thu, 20 Jan 2022 13:32:50 +0000 (13:32 +0000)]
patch 8.2.4154: ml_get error when exchanging windows in Visual mode
Problem: ml_get error when exchanging windows in Visual mode.
Solution: Correct end of Visual area when entering another buffer.
K.Takata [Thu, 20 Jan 2022 12:44:28 +0000 (12:44 +0000)]
patch 8.2.4153: MS-Windows: Global IME is no longer supported
Problem: MS-Windows: Global IME is no longer supported.
Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
Bram Moolenaar [Thu, 20 Jan 2022 12:22:35 +0000 (12:22 +0000)]
patch 8.2.4152: block insert with double wide character fails
Problem: Block insert with double wide character fails.
Solution: Adjust the expected output.
Bram Moolenaar [Thu, 20 Jan 2022 12:10:48 +0000 (12:10 +0000)]
patch 8.2.4151: reading beyond the end of a line
Problem: Reading beyond the end of a line.
Solution: For block insert only use the offset for correcting the length.
Bram Moolenaar [Thu, 20 Jan 2022 11:27:58 +0000 (11:27 +0000)]
patch 8.2.4150: Coverity warns for using pointer after free
Problem: Coverity warns for using pointer after free.
Solution: Swap statements, even though using the pointer is no problem.
Bram Moolenaar [Thu, 20 Jan 2022 11:17:18 +0000 (11:17 +0000)]
patch 8.2.4149: test override not restored, autocommand left behind
Problem: Test override not restored, autocommand left behind.
Solution: Correct restoring test override. Delete autocommand afterwards.
Bram Moolenaar [Wed, 19 Jan 2022 22:51:48 +0000 (22:51 +0000)]
patch 8.2.4148: deleting any mapping may cause <ScritpCmd> to fail
Problem: Deleting any mapping may cause <ScritpCmd> to not set the script
context.
Solution: Only reset last_used_map if it is the deleted mapping.
(closes #9568)
Bram Moolenaar [Wed, 19 Jan 2022 20:48:37 +0000 (20:48 +0000)]
patch 8.2.4147: E464 does not always include the offending command
Problem: E464 does not always include the offending command.
Solution: Add another error message with "%s". (closes #9564)
Bram Moolenaar [Wed, 19 Jan 2022 17:23:05 +0000 (17:23 +0000)]
patch 8.2.4146: Vim9: shadowed function can be used in compiled function
Problem: Vim9: shadowed function can be used in compiled function but not
at script level.
Solution: Also give an error in a compiled function. (closes #9563)
Bram Moolenaar [Wed, 19 Jan 2022 17:21:29 +0000 (17:21 +0000)]
patch 8.2.4145: confusing error when using name of import for a function
Problem: Confusing error when using name of import for a function.
Solution: Pass a flag to trans_function_name().
K.Takata [Wed, 19 Jan 2022 13:32:57 +0000 (13:32 +0000)]
patch 8.2.4144: cannot load libsodium dynamically
Problem: Cannot load libsodium dynamically.
Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
K.Takata [Wed, 19 Jan 2022 12:59:21 +0000 (12:59 +0000)]
patch 8.2.4143: MS-Windows: IME support for Win9x is obsolete
Problem: MS-Windows: IME support for Win9x is obsolete.
Solution: Remove the Win9x code. (Ken Takata, closes #9559)
Bram Moolenaar [Wed, 19 Jan 2022 11:24:40 +0000 (11:24 +0000)]
patch 8.2.4142: build failure with normal features without persistent undo
Problem: Build failure with normal features without persistent undo.
Solution: Adjust #ifdef. (closes #9557)
Bram Moolenaar [Tue, 18 Jan 2022 21:42:37 +0000 (21:42 +0000)]
patch 8.2.4141: Vim9 builtin functions test fails
Problem: Vim9 builtin functions test fails.
Solution: Add "scriptversion" item to maparg() result.
Bram Moolenaar [Tue, 18 Jan 2022 20:51:35 +0000 (20:51 +0000)]
patch 8.2.4140: maparg() does not indicate the type of script
Problem: maparg() does not indicate the type of script where it was defined.
Solution: Add "scriptversion".
Bram Moolenaar [Tue, 18 Jan 2022 20:30:39 +0000 (20:30 +0000)]
patch 8.2.4139: using freed memory in expression abbreviation
Problem: Using freed memory if an expression abbreviation deletes the
abbreviation.
Solution: Do not access the pointer after evaluating the expression.
Bram Moolenaar [Tue, 18 Jan 2022 18:46:07 +0000 (18:46 +0000)]
patch 8.2.4138: Vim9: no error for return with argument when invalid
Problem: Vim9: no error for return with argument when the function does not
return anything.
Solution: Give an error for the invalid argument. (issue #9497)
Bram Moolenaar [Tue, 18 Jan 2022 17:43:04 +0000 (17:43 +0000)]
patch 8.2.4137: Vim9: calling import with and without method is inconsistent
Problem: Vim9: calling import with and without method is inconsistent.
Solution: Set a flag that a parenthsis follows to compile_load_scriptvar().
Add some more tests. Improve error message.
Bram Moolenaar [Tue, 18 Jan 2022 16:26:24 +0000 (16:26 +0000)]
patch 8.2.4136: Vim9: the "autoload" argument of ":vim9script" is not useful
Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
Solution: Remove the argument. (closes #9555)
Bram Moolenaar [Tue, 18 Jan 2022 14:16:59 +0000 (14:16 +0000)]
patch 8.2.4135: Vim9: ":scriptnames" shows unloaded imported autoload script
Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
Solution: Mark the unloaded script with "A". (closes #9552)
Bram Moolenaar [Tue, 18 Jan 2022 13:43:58 +0000 (13:43 +0000)]
patch 8.2.4134: MS-Windows: test for import with absolute path fails
Problem: MS-Windows: test for import with absolute path fails.
Solution: Handle path starting with slash as an absolute path.
Bram Moolenaar [Tue, 18 Jan 2022 13:34:05 +0000 (13:34 +0000)]
patch 8.2.4133: output of ":scriptnames" goes into the message history
Problem: output of ":scriptnames" goes into the message history, while this
des not happen for other commands, such as ":ls".
Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
Bram Moolenaar [Tue, 18 Jan 2022 13:14:47 +0000 (13:14 +0000)]
patch 8.2.4132: Vim9: wrong error message when autoload script can't be found
Problem: Vim9: wrong error message when autoload script can't be found.
Solution: Correct check for using autoload with wrong name.
Bram Moolenaar [Tue, 18 Jan 2022 12:58:28 +0000 (12:58 +0000)]
patch 8.2.4131: Vim9: calling function in autoload import does not work
Problem: Vim9: calling function in autoload import does not work in a :def
function.
Solution: When a variable is not found and a PCALL follows use a funcref.
(closes #9550)
K.Takata [Tue, 18 Jan 2022 11:34:57 +0000 (11:34 +0000)]
patch 8.2.4130: MS-Windows: MSVC build may have libraries duplicated
Problem: MS-Windows: MSVC build may have libraries duplicated.
Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
Bram Moolenaar [Tue, 18 Jan 2022 11:11:25 +0000 (11:11 +0000)]
patch 8.2.4129: building with +sound but without +eval fails
Problem: Building with +sound but without +eval fails. (Dominique Pellé)
Solution: Disable canberra in tiny and small build. (closes #9548)
Bram Moolenaar [Tue, 18 Jan 2022 10:37:29 +0000 (10:37 +0000)]
patch 8.2.4128: crash when method cannot be found
Problem: Crash when method cannot be found. (Christian J. Robinson)
Solution: Don't mix up pointer names.
Bram Moolenaar [Mon, 17 Jan 2022 22:16:33 +0000 (22:16 +0000)]
patch 8.2.4127: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
Bram Moolenaar [Mon, 17 Jan 2022 21:34:38 +0000 (21:34 +0000)]
patch 8.2.4126: crash on exit when built with dynamic Tcl
Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
(Dominique Pellé)
Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
Bram Moolenaar [Mon, 17 Jan 2022 21:13:28 +0000 (21:13 +0000)]
patch 8.2.4125: completion tests fail
Problem: Completion tests fail.
Solution: Disable error messages while dereferencing the function name.
Bram Moolenaar [Mon, 17 Jan 2022 20:50:40 +0000 (20:50 +0000)]
patch 8.2.4124: Vim9: method in compiled function may not see script item
Problem: Vim9: method in compiled function may not see script item.
Solution: Make sure not to skip to the next line. (closes #9496)
Bram Moolenaar [Mon, 17 Jan 2022 20:09:08 +0000 (20:09 +0000)]
patch 8.2.4123: complete function cannot be import.Name
Problem: Complete function cannot be import.Name.
Solution: Dereference the function name if needed. Also: do not see
"import.Name" as a builtin function. (closes #9541)
Bram Moolenaar [Mon, 17 Jan 2022 19:06:56 +0000 (19:06 +0000)]
patch 8.2.4122: ":command Cmd" does not show custom completion argument
Problem: ":command Cmd" does not show custom completion argument.
Solution: Show the completion argument when using ":verbose".
Bram Moolenaar [Mon, 17 Jan 2022 17:52:22 +0000 (17:52 +0000)]
patch 8.2.4121: Visual test fails on MS-Windows
Problem: Visual test fails on MS-Windows.
Solution: Set 'isprint' so that the character used is not printable.
Bram Moolenaar [Mon, 17 Jan 2022 17:30:21 +0000 (17:30 +0000)]
patch 8.2.4120: block insert goes over the end of the line
Problem: Block insert goes over the end of the line.
Solution: Handle invalid byte better. Fix inserting the wrong text.
Dominique Pelle [Mon, 17 Jan 2022 11:23:45 +0000 (11:23 +0000)]
patch 8.2.4119: build failure when disabling the channel feature
Problem: Build failure when disabling the channel feature.
Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
Bram Moolenaar [Sun, 16 Jan 2022 21:54:19 +0000 (21:54 +0000)]
patch 8.2.4118: using UNUSED for argument that is used
Problem: Using UNUSED for argument that is used.
Solution: Remove UNUSED.
Bram Moolenaar [Sun, 16 Jan 2022 21:18:53 +0000 (21:18 +0000)]
patch 8.2.4117: Vim9: wrong white space error after using imported item
Problem: Vim9: wrong white space error after using imported item.
Solution: Don't skip over white space. (closes #9544)
Bram Moolenaar [Sun, 16 Jan 2022 20:59:39 +0000 (20:59 +0000)]
patch 8.2.4116: Vim9: cannot use a method with a complex expression in :def
Problem: Vim9: cannot use a method with a complex expression in a :def
function.
Solution: Implement compiling the expression.
Bram Moolenaar [Sun, 16 Jan 2022 19:38:07 +0000 (19:38 +0000)]
patch 8.2.4115: cannot use a method with a complex expression
Problem: Cannot use a method with a complex expression.
Solution: Evaluate the expression after "->" and use the result.
Bram Moolenaar [Sun, 16 Jan 2022 18:06:21 +0000 (18:06 +0000)]
patch 8.2.4114: Vim9: type checking for a funcref does not work for method
Problem: Vim9: type checking for a funcref does not work for when it is
used in a method.
Solution: Pass the base to where the type is checked.
Bram Moolenaar [Sun, 16 Jan 2022 15:52:35 +0000 (15:52 +0000)]
patch 8.2.4113: typo on DOCMD_RANGEOK results in not recognizing command
Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
Solution: Correct the typo. (closes #9539)
Bram Moolenaar [Sun, 16 Jan 2022 15:00:08 +0000 (15:00 +0000)]
patch 8.2.4112: function not deleted at end of test
Problem: Function not deleted at end of test.
Solution: Delete the function.
Bram Moolenaar [Sun, 16 Jan 2022 14:58:34 +0000 (14:58 +0000)]
patch 8.2.4111: potential proglem when map is deleted while executing
Problem: Potential proglem when map is deleted while executing.
Solution: Reset last used map pointer when deleting a mapping.
Bram Moolenaar [Sun, 16 Jan 2022 14:51:30 +0000 (14:51 +0000)]
patch 8.2.4110: Coverity warns for using NULL pointer
Problem: Coverity warns for using NULL pointer.
Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
Bram Moolenaar [Sun, 16 Jan 2022 14:46:06 +0000 (14:46 +0000)]
Update runtime files
K.Takata [Sun, 16 Jan 2022 14:15:49 +0000 (14:15 +0000)]
patch 8.2.4109: MS-Windows: high dpi support is outdated
Problem: MS-Windows: high dpi support is outdated.
Solution: Improve High DPI support by using PerMonitorV2. (closes #9525,
closes #3102)
Bram Moolenaar [Sun, 16 Jan 2022 13:58:33 +0000 (13:58 +0000)]
patch 8.2.4108: going over the end of the w_lines array
Problem: Going over the end of the w_lines array.
Solution: Check not going over the end and limit to Rows. (issue #9540)
Bram Moolenaar [Sun, 16 Jan 2022 13:30:33 +0000 (13:30 +0000)]
patch 8.2.4107: script context not restored after using <ScriptCmd>
Problem: Script context not restored after using <ScriptCmd>.
Solution: Also restore context when not in a script. (closes #9536)
Add the 'c' flag to feedkeys() to be able to test this.
Bram Moolenaar [Sun, 16 Jan 2022 11:42:20 +0000 (11:42 +0000)]
patch 8.2.4106: going over the end of the w_lines array
Problem: Going over the end of the w_lines array.
Solution: Break out of the loop when "idx" is too big. (issue #9540)
K.Takata [Sun, 16 Jan 2022 11:25:26 +0000 (11:25 +0000)]
patch 8.2.4105: translation related comment in the wrong place
Problem: Translation related comment in the wrong place.
Solution: Move it back with the text. (Ken Takata, closes #9537)
Bram Moolenaar [Sun, 16 Jan 2022 11:12:12 +0000 (11:12 +0000)]
patch 8.2.4104: Vim9: lower casing the autoload prefix causes problems
Problem: Vim9: lower casing the autoload prefix causes problems.
Solution: Always store the prefix with case preserved.
Bram Moolenaar [Sat, 15 Jan 2022 21:44:44 +0000 (21:44 +0000)]
patch 8.2.4103: Vim9: variable declared in for loop not initialzed
Problem: Vim9: variable declared in for loop not initialzed.
Solution: Always initialze the variable. (closes #9535)
Bram Moolenaar [Sat, 15 Jan 2022 21:08:19 +0000 (21:08 +0000)]
patch 8.2.4102: Vim9: import cannot be used after method
Problem: Vim9: import cannot be used after method.
Solution: Recognize an imported function name. (closes #9496)
Bram Moolenaar [Sat, 15 Jan 2022 18:48:32 +0000 (18:48 +0000)]
patch 8.2.4101: warning for unused argument in tiny version
Problem: Warning for unused argument in tiny version.
Solution: Add "UNUSED".
Bram Moolenaar [Sat, 15 Jan 2022 18:31:43 +0000 (18:31 +0000)]
patch 8.2.4100: early return when getting the 'formatlistpat' value
Problem: Early return when getting the 'formatlistpat' value.
Solution: Remove the first line. (Christian Brabandt)
Bram Moolenaar [Sat, 15 Jan 2022 18:26:04 +0000 (18:26 +0000)]
patch 8.2.4099: Vim9: cannot use Vim9 syntax in mapping
Problem: Vim9: cannot use Vim9 syntax in mapping.
Solution: Add <ScriptCmd> to use the script context for a command.
Bram Moolenaar [Sat, 15 Jan 2022 15:23:44 +0000 (15:23 +0000)]
patch 8.2.4098: typing "interrupt" at debug prompt may keep exception around
Problem: Typing "interrupt" at debug prompt may keep exception around,
causing function calls to fail.
Solution: Discard any exception at the toplevel. (closes #9532)
Bram Moolenaar [Sat, 15 Jan 2022 14:16:37 +0000 (14:16 +0000)]
patch 8.2.4097: wrong number in error message on 32 bit system
Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
Glaubitz)
Solution: Add type cast. (closes #9527)
ichizok [Sat, 15 Jan 2022 13:37:14 +0000 (13:37 +0000)]
patch 8.2.4096: Linux CI: unnecessarily installing packages
Problem: Linux CI: unnecessarily installing packages
Solution: Only install packages for huge build. (Ozaki Kiichi,
closes #9530)
Bram Moolenaar [Sat, 15 Jan 2022 12:27:09 +0000 (12:27 +0000)]
patch 8.2.4095: sed script not recognized by the first line
Problem: Sed script not recognized by the first line.
Solution: Recognize a sed script starting with "#n". (Doug Kearns)
zeertzjq [Sat, 15 Jan 2022 10:52:16 +0000 (10:52 +0000)]
patch 8.2.4094: 'virtualedit' is window-local but using buffer-local enum
Problem: 'virtualedit' is window-local but using buffer-local enum.
Solution: Use window-local enum. (closes #9529)
Christian Brabandt [Sat, 15 Jan 2022 10:01:05 +0000 (10:01 +0000)]
patch 8.2.4093: cached breakindent values not initialized properly
Problem: Cached breakindent values not initialized properly.
Solution: Initialize and cache formatlistpat. (Christian Brabandt,
closes #9526, closes #9512)
ichizok [Fri, 14 Jan 2022 21:28:59 +0000 (21:28 +0000)]
patch 8.2.4092: MacOS CI: unnecessarily doing "Install packages"
Problem: MacOS CI: unnecessarily doing "Install packages".
Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
closes #9521)
zeertzjq [Fri, 14 Jan 2022 20:11:38 +0000 (20:11 +0000)]
patch 8.2.4091: virtcol is recomputed for statusline unnecessarily
Problem: Virtcol is recomputed for statusline unnecessarily.
Solution: Just use "w_virtcol". (closes #9523)
Evgeni Chasnovski [Fri, 14 Jan 2022 13:19:43 +0000 (13:19 +0000)]
patch 8.2.4090: after restoring a session buffer order can be quite different
Problem: After restoring a session buffer order can be quite different.
Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
Bram Moolenaar [Fri, 14 Jan 2022 12:06:47 +0000 (12:06 +0000)]
patch 8.2.4089: terminal test for current directory fails on FreeBSD
Problem: Terminal test for current directory fails on FreeBSD.
Solution: Skip the test.
Erik Auerswald [Fri, 14 Jan 2022 11:58:48 +0000 (11:58 +0000)]
patch 8.2.4088: xxd cannot output everything in one line
Problem: Xxd cannot output everything in one line.
Solution: Make zero columns mean infinite columns. (Erik Auerswald,
closes #9524)
Bram Moolenaar [Thu, 13 Jan 2022 22:05:09 +0000 (22:05 +0000)]
patch 8.2.4087: cannot test items from an autoload script easily
Problem: Cannot test items from an autoload script easily.
Solution: Add the "autoload" value for test_override().
Bram Moolenaar [Thu, 13 Jan 2022 21:15:21 +0000 (21:15 +0000)]
patch 8.2.4086: "cctx" argument of find_func_even_dead() is unused
Problem: "cctx" argument of find_func_even_dead() is unused.
Solution: Remove the argument.
Bram Moolenaar [Thu, 13 Jan 2022 20:51:56 +0000 (20:51 +0000)]
patch 8.2.4085: Vim9: no test for using import in legacy script
Problem: Vim9: no test for using import in legacy script.
Solution: Add a test.