K.Takata
b7057bdd09
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 )
v8.2.4170
2022-01-21 11:37:07 +00:00
K.Takata
45f9cfbdc7
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 )
v8.2.4169
2022-01-21 11:11:00 +00:00
Bram Moolenaar
e6a4200ff4
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.
v8.2.4168
2022-01-21 10:32:58 +00:00
Bram Moolenaar
dd5893be34
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.
v8.2.4167
2022-01-20 21:32:54 +00:00
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 )
v8.2.4166
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 )
v8.2.4165
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.
v8.2.4164
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 )
v8.2.4163
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 )
v8.2.4162
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 )
v8.2.4161
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 )
v8.2.4160
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 )
v8.2.4159
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 )
v8.2.4158
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 )
v8.2.4157
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 )
v8.2.4156
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.
v8.2.4155
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.
v8.2.4154
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 )
v8.2.4153
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.
v8.2.4152
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.
v8.2.4151
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.
v8.2.4150
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.
v8.2.4149
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 )
v8.2.4148
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 )
v8.2.4147
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 )
v8.2.4146
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().
v8.2.4145
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 )
v8.2.4144
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 )
v8.2.4143
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 )
v8.2.4142
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.
v8.2.4141
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".
v8.2.4140
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.
v8.2.4139
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 )
v8.2.4138
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.
v8.2.4137
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 )
v8.2.4136
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 )
v8.2.4135
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.
v8.2.4134
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 )
v8.2.4133
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.
v8.2.4132
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 )
v8.2.4131
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 )
v8.2.4130
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 )
v8.2.4129
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.
v8.2.4128
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.
v8.2.4127
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 )
v8.2.4126
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.
v8.2.4125
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 )
v8.2.4124
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 )
v8.2.4123
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".
v8.2.4122
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.
v8.2.4121
2022-01-17 17:52:22 +00:00