Bram Moolenaar
e615db0604
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 )
2022-01-20 21:00:54 +00:00
Yegappan Lakshmanan
05386ca1d4
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 )
2022-01-20 20:18:27 +00:00
Bram Moolenaar
6f0ddbf00d
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.
2022-01-20 19:56:49 +00:00
Bram Moolenaar
2017d6f3b1
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 )
2022-01-20 19:38:46 +00:00
Bram Moolenaar
9c7cae66bc
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 )
2022-01-20 19:10:25 +00:00
Bram Moolenaar
21f0d6cbca
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 )
2022-01-20 17:35:49 +00:00
Shougo Matsushita
4ede01f188
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 )
2022-01-20 15:26:03 +00:00
K.Takata
92000e2e71
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 )
2022-01-20 15:10:57 +00:00
K.Takata
14b8d6ac6b
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 )
2022-01-20 15:05:22 +00:00
ichizok
ae1bd87fe8
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 )
2022-01-20 14:57:29 +00:00
Rob Pilling
726f7f91fd
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 )
2022-01-20 14:44:38 +00:00
Bram Moolenaar
7e93577a95
patch 8.2.4155: translating strftime() argument results in check error
...
Problem: Translating strftime() argument results in check error.
Solution: Add gettext comment.
2022-01-20 14:25:57 +00:00
Bram Moolenaar
05b2761548
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.
2022-01-20 13:32:50 +00:00
K.Takata
4ac893f321
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 )
2022-01-20 12:44:28 +00:00
Bram Moolenaar
fc6ccebea6
patch 8.2.4152: block insert with double wide character fails
...
Problem: Block insert with double wide character fails.
Solution: Adjust the expected output.
2022-01-20 12:22:35 +00:00
Bram Moolenaar
57df9e8a9f
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.
2022-01-20 12:10:48 +00:00
Bram Moolenaar
8aa0e6c60d
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.
2022-01-20 11:27:58 +00:00
Bram Moolenaar
ca34db3bde
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.
2022-01-20 11:17:18 +00:00
Bram Moolenaar
f61c89d2e6
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 )
2022-01-19 22:51:48 +00:00
Bram Moolenaar
bed34f0a8a
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 )
2022-01-19 20:48:37 +00:00
Bram Moolenaar
f67c717e34
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 )
2022-01-19 17:23:05 +00:00
Bram Moolenaar
937610bc9f
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().
2022-01-19 17:21:29 +00:00
K.Takata
1a8825d7a3
patch 8.2.4144: cannot load libsodium dynamically
...
Problem: Cannot load libsodium dynamically.
Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554 )
2022-01-19 13:32:57 +00:00
K.Takata
b0b2b73dca
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 )
2022-01-19 12:59:21 +00:00
Bram Moolenaar
b4868eddd9
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 )
2022-01-19 11:24:40 +00:00
Bram Moolenaar
17dd519633
patch 8.2.4141: Vim9 builtin functions test fails
...
Problem: Vim9 builtin functions test fails.
Solution: Add "scriptversion" item to maparg() result.
2022-01-18 21:42:37 +00:00
Bram Moolenaar
a9528b39a6
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".
2022-01-18 20:51:35 +00:00
Bram Moolenaar
94075b2b0e
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.
2022-01-18 20:30:39 +00:00
Bram Moolenaar
ef7aadbe36
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 )
2022-01-18 18:46:07 +00:00
Bram Moolenaar
d02dce2bb5
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.
2022-01-18 17:43:04 +00:00
Bram Moolenaar
fd218c8a36
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 )
2022-01-18 16:26:24 +00:00
Bram Moolenaar
6079da7cfb
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 )
2022-01-18 14:16:59 +00:00
Bram Moolenaar
113b8dc111
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.
2022-01-18 13:43:58 +00:00
Bram Moolenaar
840f16202e
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 )
2022-01-18 13:34:05 +00:00
Bram Moolenaar
1836d61578
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.
2022-01-18 13:14:47 +00:00
Bram Moolenaar
cbbc48f64b
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 )
2022-01-18 12:58:28 +00:00
K.Takata
31dcc8de46
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 )
2022-01-18 11:34:57 +00:00
Bram Moolenaar
1247126956
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 )
2022-01-18 11:11:25 +00:00
Bram Moolenaar
64283d5e1f
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.
2022-01-18 10:37:29 +00:00
Bram Moolenaar
78f60322f7
patch 8.2.4127: build failure without the +eval feature
...
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
2022-01-17 22:16:33 +00:00
Bram Moolenaar
afa76e1cf2
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 )
2022-01-17 21:34:38 +00:00
Bram Moolenaar
b3d9ceed2b
patch 8.2.4125: completion tests fail
...
Problem: Completion tests fail.
Solution: Disable error messages while dereferencing the function name.
2022-01-17 21:13:28 +00:00
Bram Moolenaar
6389baa669
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 )
2022-01-17 20:50:40 +00:00
Bram Moolenaar
15d1635e50
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 )
2022-01-17 20:09:08 +00:00
Bram Moolenaar
3f3597be3f
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".
2022-01-17 19:06:56 +00:00
Bram Moolenaar
262898ae43
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.
2022-01-17 17:52:22 +00:00
Bram Moolenaar
9f8c304c8a
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.
2022-01-17 17:30:21 +00:00
Dominique Pelle
e8741a73e2
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 )
2022-01-17 11:23:45 +00:00
Bram Moolenaar
0023f82a76
patch 8.2.4118: using UNUSED for argument that is used
...
Problem: Using UNUSED for argument that is used.
Solution: Remove UNUSED.
2022-01-16 21:54:19 +00:00
Bram Moolenaar
47036b6bd7
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 )
2022-01-16 21:18:53 +00:00