]>
granicus.if.org Git - vim/log
Yegappan Lakshmanan [Tue, 21 Dec 2021 13:19:42 +0000 (13:19 +0000)]
patch 8.2.3867: implementation of some list functions too complicated
Problem: Implementation of some list functions too complicated.
Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
Lakshmanan, closes #9378)
Bram Moolenaar [Tue, 21 Dec 2021 12:32:17 +0000 (12:32 +0000)]
patch 8.2.3866: Vim9: type checking global variables is inconsistent
Problem: Vim9: type checking global variables is inconsistent.
Solution: Use the "unknown" type in more places.
Bram Moolenaar [Tue, 21 Dec 2021 09:42:09 +0000 (09:42 +0000)]
patch 8.2.3865: Vim9: compiler complains about using "try" as a struct member
Problem: Vim9: compiler complains about using "try" as a struct member.
Solution: Rename "try" to "tryref".
Bram Moolenaar [Tue, 21 Dec 2021 09:12:23 +0000 (09:12 +0000)]
patch 8.2.3864: cannot disable requesting key codes from xterm
Problem: Cannot disable requesting key codes from xterm.
Solution: Add the 'xtermcodes' option, default on.
Bram Moolenaar [Mon, 20 Dec 2021 22:12:53 +0000 (22:12 +0000)]
patch 8.2.3863: various build flags accidentally enabled
Problem: Various build flags accidentally enabled.
Solution: Revert several lines in Makefile.
Bram Moolenaar [Mon, 20 Dec 2021 21:35:59 +0000 (21:35 +0000)]
patch 8.2.3862: crash on exit with EXITFREE and using win_execute()
Problem: Crash on exit with EXITFREE and using win_execute().
Solution: Also save and restore tp_topframe. (issue #9374)
Bram Moolenaar [Mon, 20 Dec 2021 15:53:13 +0000 (15:53 +0000)]
patch 8.2.3861: list of distributed files is outdated
Problem: List of distributed files is outdated.
Solution: Add new files.
Bram Moolenaar [Mon, 20 Dec 2021 15:04:29 +0000 (15:04 +0000)]
patch 8.2.3860: Vim9: codecov struggles with the file size
Problem: Vim9: codecov struggles with the file size.
Solution: Split vim9compile.c into four files.
Bram Moolenaar [Mon, 20 Dec 2021 12:25:03 +0000 (12:25 +0000)]
patch 8.2.3859: Vim9: some code lines not tested
Problem: Vim9: some code lines not tested.
Solution: Add a few specific tests.
Bram Moolenaar [Mon, 20 Dec 2021 10:55:35 +0000 (10:55 +0000)]
patch 8.2.3858: Vim9: not enough tests
Problem: Vim9: not enough tests.
Solution: Add tests for :try/:catch and :redir. Add missing type check.
Bram Moolenaar [Mon, 20 Dec 2021 09:36:27 +0000 (09:36 +0000)]
patch 8.2.3857: Vim9: inconsistent error for using function()
Problem: Vim9: inconsistent error for using function().
Solution: Use a runtime type check for the result of function().
(closes #8492)
Bram Moolenaar [Sun, 19 Dec 2021 21:34:05 +0000 (21:34 +0000)]
patch 8.2.3856: Vim9: not enough tests
Problem: Vim9: not enough tests.
Solution: Run more expression tests also with Vim9. Fix an uncovered
problem.
Yegappan Lakshmanan [Sun, 19 Dec 2021 19:19:31 +0000 (19:19 +0000)]
patch 8.2.3855: illegal memory access when displaying a blob
Problem: Illegal memory access when displaying a blob.
Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
Bram Moolenaar [Sun, 19 Dec 2021 18:33:23 +0000 (18:33 +0000)]
patch 8.2.3854: Vim9: inconsistent arguments for test functions
Problem: Vim9: inconsistent arguments for test functions.
Solution: When :def function and script have different arguments use a list
with two items instead of a separate function.
Bram Moolenaar [Sun, 19 Dec 2021 17:27:06 +0000 (17:27 +0000)]
patch 8.2.3853: Vim9: not enough tests
Problem: Vim9: not enough tests.
Solution: Run more existing tests for Vim9 script.
Bram Moolenaar [Sun, 19 Dec 2021 15:17:21 +0000 (15:17 +0000)]
patch 8.2.3852: Vim9: not enough tests
Problem: Vim9: not enough tests.
Solution: Also run existing tests for Vim9 script. Make errors more
consistent.
Bram Moolenaar [Sun, 19 Dec 2021 12:33:05 +0000 (12:33 +0000)]
patch 8.2.3851: Vim9: overhead when comparing string, dict or function
Problem: Vim9: overhead when comparing string, dict or function.
Solution: Call the intented compare function directly. Refactor to avoid
duplicated code.
Bram Moolenaar [Sun, 19 Dec 2021 11:06:35 +0000 (11:06 +0000)]
patch 8.2.3850: illegal memory access when displaying a partial
Problem: Illegal memory access when displaying a partial.
Solution: Terminate the string with a NUL. (closes #9371)
Yegappan Lakshmanan [Sun, 19 Dec 2021 10:35:15 +0000 (10:35 +0000)]
patch 8.2.3849: functions implementing reduce and map are too long
Problem: Functions implementing reduce and map are too long.
Solution: Use a function for each type of value. Add a few more test cases
and add to the help. (Yegappan Lakshmanan, closes #9370)
rbtnn [Sat, 18 Dec 2021 18:33:46 +0000 (18:33 +0000)]
patch 8.2.3848: cannot use reduce() for a string
Problem: Cannot use reduce() for a string.
Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
Bram Moolenaar [Sat, 18 Dec 2021 16:54:31 +0000 (16:54 +0000)]
patch 8.2.3847: illegal memory access when using a lambda with an error
Problem: Illegal memory access when using a lambda with an error.
Solution: Avoid skipping over the NUL after a string.
zeertzjq [Sat, 18 Dec 2021 15:32:46 +0000 (15:32 +0000)]
patch 8.2.3846: no error when using control character for 'lcs' or 'fcs'
Problem: No error when using control character for 'lcs' or 'fcs'.
Solution: Use char2cells() to check the width. (closes #9369)
Dominique Pelle [Sat, 18 Dec 2021 12:40:52 +0000 (12:40 +0000)]
patch 8.2.3845: Vim9: test fails when the channel feature is missing
Problem: Vim9: test fails when the channel feature is missing.
Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
Bram Moolenaar [Sat, 18 Dec 2021 12:31:33 +0000 (12:31 +0000)]
patch 8.2.3844: Vim9: no type error if assigning func(number) to func(string)
Problem: Vim9: no type error if assigning a value with type func(number) to
a variable of type func(string).
Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
useful. (issue #8492)
James McCoy [Fri, 17 Dec 2021 20:52:57 +0000 (20:52 +0000)]
patch 8.2.3843: dep3patch files are not recognized
Problem: Dep3patch files are not recognized.
Solution: Recognize dep3patch files by their location and content. (James
McCoy, closes #9367)
Bram Moolenaar [Fri, 17 Dec 2021 20:36:15 +0000 (20:36 +0000)]
patch 8.2.3842: Vim9: can change locked list and list items
Problem: Vim9: can change locked list and list items.
Solution: Check that a list and list item isn't locked.
Bram Moolenaar [Fri, 17 Dec 2021 20:15:38 +0000 (20:15 +0000)]
patch 8.2.3841: Vim9: outdated TODO items, disabled tests that work
Problem: Vim9: outdated TODO items, disabled tests that work.
Solution: Remove TODO items, run tests that work now. Check that a dict
item isn't locked.
rbtnn [Fri, 17 Dec 2021 18:01:31 +0000 (18:01 +0000)]
patch 8.2.3840: useless test for negative index in check functions
Problem: Useless test for negative index in check functions.
Solution: Remove the test for negative index. (Naruhiko Nishino,
closes #9364)
Dominique Pelle [Fri, 17 Dec 2021 17:32:29 +0000 (17:32 +0000)]
patch 8.2.3839: using \z() with \z1 not tested for syntax highlighting
Problem: Using \z() with \z1 not tested for syntax highlighting.
Solution: Add a test. (Dominique Pellé, closes #9365)
Yegappan Lakshmanan [Fri, 17 Dec 2021 16:21:20 +0000 (16:21 +0000)]
patch 8.2.3838: cannot use script-local function for setting *func options
Problem: Cannot use script-local function for setting *func options.
Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
Bram Moolenaar [Fri, 17 Dec 2021 16:00:04 +0000 (16:00 +0000)]
patch 8.2.3837: QNX: crash when compiled with GUI but using terminal
Problem: QNX: crash when compiled with GUI but using terminal.
Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
Bram Moolenaar [Fri, 17 Dec 2021 14:46:12 +0000 (14:46 +0000)]
patch 8.2.3836: Vim9: comment after expression not skipped to find NL
Problem: Vim9: comment after expression not skipped to find NL.
Solution: After evaluating an expression look for a newline after a #
comment.
Bram Moolenaar [Fri, 17 Dec 2021 12:45:22 +0000 (12:45 +0000)]
patch 8.2.3835: the inline-function example does not work
Problem: The inline-function example does not work.
Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
Bram Moolenaar [Fri, 17 Dec 2021 11:44:33 +0000 (11:44 +0000)]
patch 8.2.3834: Test_out_cb often fails on Mac
Problem: Test_out_cb often fails on Mac.
Solution: Increase the timeout with every retry.
ichizok [Fri, 17 Dec 2021 09:44:33 +0000 (09:44 +0000)]
patch 8.2.3833: error from term_start() not caught by try/catch
Problem: Error from term_start() not caught by try/catch.
Solution: save and restore did_emsg when applying autocommands. (Ozaki
Kiichi, closes #9361)
Bram Moolenaar [Thu, 16 Dec 2021 21:11:26 +0000 (21:11 +0000)]
patch 8.2.3832: test fails because of changed error message
Problem: Test fails because of changed error message.
Solution: Adjust the expected error message.
Bram Moolenaar [Thu, 16 Dec 2021 21:07:35 +0000 (21:07 +0000)]
patch 8.2.3831: opfunc test fails when missing feature changes function name
Problem: Opfunc test fails when missing feature changes function name.
(Dominique Pellé)
Solution: Check the relevant screen line instead of using a screendump.
(closes #9360)
Bram Moolenaar [Thu, 16 Dec 2021 20:56:57 +0000 (20:56 +0000)]
patch 8.2.3830: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Thu, 16 Dec 2021 19:45:47 +0000 (19:45 +0000)]
patch 8.2.3829: no error when setting a func option to script-local function
Problem: No error when setting a func option to a script-local function.
Solution: Give an error if the name starts with "s:". (closes #9358)
Bram Moolenaar [Thu, 16 Dec 2021 18:02:07 +0000 (18:02 +0000)]
patch 8.2.3828: when opening a terminal from a timer first typed char is lost
Problem: when opening a terminal from a timer the first typed character
is lost. (Virginia Senioria)
Solution: When opening a terminal while waiting for a character put K_IGNORE
in the input buffer.
Bram Moolenaar [Thu, 16 Dec 2021 16:14:11 +0000 (16:14 +0000)]
patch 8.2.3827: huntr badge does not really fit in the list
Problem: Huntr badge does not really fit in the list.
Solution: Move the link to Huntr to the issue template.
Bram Moolenaar [Thu, 16 Dec 2021 15:49:43 +0000 (15:49 +0000)]
patch 8.2.3826: Vim9: using "g:Func" as funcref doesn't work in :def function
Problem: Vim9: using "g:Func" as a funcref does not work in a :def
function.
Solution: Include "g:" in the function name. (closes #9336)
Bram Moolenaar [Thu, 16 Dec 2021 14:45:13 +0000 (14:45 +0000)]
patch 8.2.3825: various comments could be improved
Problem: Various comments could be improved.
Solution: Improve the comments.
Bram Moolenaar [Thu, 16 Dec 2021 14:41:10 +0000 (14:41 +0000)]
Update runtime files
Yegappan Lakshmanan [Thu, 16 Dec 2021 13:06:10 +0000 (13:06 +0000)]
patch 8.2.3824: no ASAN support for MSVC
Problem: No ASAN support for MSVC.
Solution: Add ASAN support and fix a coupld of uncovered problems. (Yegappan
Lakshmanan, closes #9357)
Bram Moolenaar [Thu, 16 Dec 2021 10:05:41 +0000 (10:05 +0000)]
patch 8.2.3823: test for visual replace is in wrong function
Problem: Test for visual replace is in wrong function.
Solution: Move it to another function.
Bram Moolenaar [Thu, 16 Dec 2021 08:21:09 +0000 (08:21 +0000)]
patch 8.2.3822: leaking memory in map() and filter(), no string in Vim9
Problem: Leaking memory in map() and filter(), cannot use a string argument
in Vim9 script.
Solution: Fix the leak, adjust the argument check, also run the tests as
Vim9 script. (Yegappan Lakshmanan, closes #9354)
Bram Moolenaar [Wed, 15 Dec 2021 21:29:19 +0000 (21:29 +0000)]
patch 8.2.3821: ASAN test run fails
Problem: ASAN test run fails.
Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
Bram Moolenaar [Wed, 15 Dec 2021 21:08:50 +0000 (21:08 +0000)]
patch 8.2.3820: "vrc" does not replace composing characters
Problem: "vrc" does not replace composing characters, while "rc" does.
Solution: Check the byte length including composing characters.
(closes #9351)
Bram Moolenaar [Wed, 15 Dec 2021 19:46:59 +0000 (19:46 +0000)]
patch 8.2.3819: test fails because error message changed
Problem: Test fails because error message changed.
Solution: Update screendumps.
rbtnn [Wed, 15 Dec 2021 19:14:54 +0000 (19:14 +0000)]
patch 8.2.3818: cannot filter or map characters in a string
Problem: Cannot filter or map characters in a string.
Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
closes #9327)
Bram Moolenaar [Wed, 15 Dec 2021 17:53:40 +0000 (17:53 +0000)]
patch 8.2.3817: Vim9: Not using NL as command end does not work for :autocmd
Problem: Vim9: Not using NL as command end does not work for :autocmd.
Solution: Only ignore NL for commands with an expression argument.
Mike Williams [Wed, 15 Dec 2021 16:38:33 +0000 (16:38 +0000)]
patch 8.2.3816: compiler warning for posible loss of data on MS-Windows
Problem: Compiler warning for posible loss of data on MS-Windows.
Solution: Add type cast. (Mike Williams, closes #9349)
Bram Moolenaar [Wed, 15 Dec 2021 15:41:44 +0000 (15:41 +0000)]
patch 8.2.3815: Vim9: cannot have a multi-line dict inside a block
Problem: Vim9: cannot have a multi-line dict inside a block.
Solution: Do not split the command at a line break, handle NL characters
as white space.
Bram Moolenaar [Wed, 15 Dec 2021 13:30:43 +0000 (13:30 +0000)]
patch 8.2.3814: .csx files and .sln files are not recognized
Problem: .csx files and .sln files are not recognized.
Solution: Add filetype patterns. (Doug Kearns)
Bram Moolenaar [Wed, 15 Dec 2021 12:28:22 +0000 (12:28 +0000)]
patch 8.2.3813: confusing error when using :cc without error list
Problem: confusing error when using :cc without error list. (Gary Johnson)
Solution: Give the "no errors" error.
Bram Moolenaar [Wed, 15 Dec 2021 12:06:43 +0000 (12:06 +0000)]
patch 8.2.3812: Vim9: leaking memory in numbered function test
Problem: Vim9: leaking memory in numbered function test.
Solution: Skip "g:" when checking for numbered function. Clean up after
errors properly.
Bram Moolenaar [Tue, 14 Dec 2021 20:26:53 +0000 (20:26 +0000)]
patch 8.2.3811: the opfunc error test fails on a slow machine
Problem: The opfunc error test fails on a slow machine.
Solution: Use WaitForAssert().
Bram Moolenaar [Tue, 14 Dec 2021 18:57:45 +0000 (18:57 +0000)]
patch 8.2.3810: Vim9: expr4 test fails on MS-Windows
Problem: Vim9: expr4 test fails on MS-Windows.
Solution: Do not give an error for a missing function name when skipping.
Bram Moolenaar [Tue, 14 Dec 2021 18:14:37 +0000 (18:14 +0000)]
patch 8.2.3809: Vim9: crash when garbage collecting a nested partial
Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
Senioria)
Solution: Set references in all the funcstacks. (closes #9348)
Bram Moolenaar [Tue, 14 Dec 2021 14:29:16 +0000 (14:29 +0000)]
patch 8.2.3808: Vim9: obsolete TODO items
Problem: Vim9: obsolete TODO items
Solution: Remove the comments.
Bram Moolenaar [Tue, 14 Dec 2021 12:06:16 +0000 (12:06 +0000)]
patch 8.2.3807: Vim9: can call import with star directly
Problem: Vim9: can call import with star directly.
Solution: Check that the import used star.
Bram Moolenaar [Tue, 14 Dec 2021 11:16:31 +0000 (11:16 +0000)]
patch 8.2.3806: terminal focus test fails sometimes
Problem: Terminal focus test fails sometimes.
Solution: Run the test function before others.
Quentin Hibon [Tue, 14 Dec 2021 09:34:41 +0000 (09:34 +0000)]
patch 8.2.3805: i3config files are not recognized
Problem: i3config files are not recognized.
Solution: Add patterns to match i3config files. (Quentin Hibon,
closes #7969)
Bram Moolenaar [Tue, 14 Dec 2021 09:01:38 +0000 (09:01 +0000)]
patch 8.2.3804: script context not set when copying 'swf' and 'ts'
Problem: Script context not set when copying 'swf' and 'ts'.
Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
Bram Moolenaar [Tue, 14 Dec 2021 08:41:38 +0000 (08:41 +0000)]
patch 8.2.3803: GUI: crash with 'writedelay' set using a terminal window
Problem: Crash when 'writedelay' is set and using a terminal window to
execute a shell command.
Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
Bram Moolenaar [Mon, 13 Dec 2021 22:17:44 +0000 (22:17 +0000)]
patch 8.2.3802: terminal in two windows test fails on some systems
Problem: Terminal in two windows test fails on some systems.
Solution: Wait a bit between commands.
Bram Moolenaar [Mon, 13 Dec 2021 21:59:09 +0000 (21:59 +0000)]
patch 8.2.3801: if a terminal shows in two windows, only one is redrawn
Problem: If a terminal shows in two windows, only one is redrawn.
Solution: Reset the dirty row range only after redrawing all windows.
(closes #9341)
Bram Moolenaar [Mon, 13 Dec 2021 20:37:59 +0000 (20:37 +0000)]
patch 8.2.3800: when cross compiling the output of "uname" cannot be set
Problem: When cross compiling the output of "uname" cannot be set. (Ben
Reeves)
Solution: Use cache variables. (closes #9338)
Bram Moolenaar [Mon, 13 Dec 2021 19:14:52 +0000 (19:14 +0000)]
patch 8.2.3799: edit test hangs or fails
Problem: Edit test hangs or fails.
Solution: Do not rethrow an exception when inside try/catch.
Bram Moolenaar [Mon, 13 Dec 2021 18:19:55 +0000 (18:19 +0000)]
patch 8.2.3798: a :def callback function postpones an error message
Problem: A :def callback function postpones an error message.
Solution: Display the error after calling the function. (closes #9340)
Bram Moolenaar [Mon, 13 Dec 2021 14:40:53 +0000 (14:40 +0000)]
patch 8.2.3797: no good reason to limit the message history in tiny version
Problem: No good reason to limit the message history in the tiny version.
Solution: Always use 200.
Bram Moolenaar [Mon, 13 Dec 2021 14:26:44 +0000 (14:26 +0000)]
patch 8.2.3796: the funcexe_T struct members are not named consistently
Problem: The funcexe_T struct members are not named consistently.
Solution: Prefix "fe_" to all the members.
Bram Moolenaar [Mon, 13 Dec 2021 13:12:53 +0000 (13:12 +0000)]
patch 8.2.3795: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the jumplist feature.
Bram Moolenaar [Mon, 13 Dec 2021 11:31:04 +0000 (11:31 +0000)]
patch 8.2.3794: Vim9: cannot find script-local func using "s:"
Problem: Vim9: cannot find script-local func using "s:". (Yegappan
Lakshmanan)
Solution: Skip the "s:".
Bram Moolenaar [Sun, 12 Dec 2021 21:02:03 +0000 (21:02 +0000)]
patch 8.2.3793: using "g:Func" as a funcref does not work in script context
Problem: Using "g:Func" as a funcref does not work in script context
because "g:" is dropped.
Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
operator prececence. (closes #9336)
Yegappan Lakshmanan [Sun, 12 Dec 2021 20:08:05 +0000 (20:08 +0000)]
patch 8.2.3792: setting *func options insufficiently tested
Problem: Setting *func options insufficiently tested.
Solution: Impove tests. (Yegappan Lakshmanan, closes #9337)
Bram Moolenaar [Sun, 12 Dec 2021 19:10:44 +0000 (19:10 +0000)]
patch 8.2.3791: build error with +cindent but without +smartindent
Problem: Build error with +cindent but without +smartindent.
Solution: Move declaration of "do_cindent". (John Marriott)
Bram Moolenaar [Sun, 12 Dec 2021 18:50:19 +0000 (18:50 +0000)]
patch 8.2.3790: test for term_gettitle() fails in some environments
Problem: Test for term_gettitle() fails in some environments.
Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
ichizok [Sun, 12 Dec 2021 16:42:09 +0000 (16:42 +0000)]
patch 8.2.3789: Test_window_minimal_size can fail on a slow machine
Problem: Test_window_minimal_size can fail on a slow machine.
Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
closes #9335)
Yegappan Lakshmanan [Sun, 12 Dec 2021 16:26:44 +0000 (16:26 +0000)]
patch 8.2.3788: lambda for option that is a function may be freed
Problem: Lambda for option that is a function may be garbage collected.
Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
closes #9330)
Bram Moolenaar [Sun, 12 Dec 2021 14:16:39 +0000 (14:16 +0000)]
patch 8.2.3787: no proper formatting of a C line comment after a statement
Problem: No proper formatting of a C line comment after a statement.
Solution: Find the start of the line comment, insert the comment leader and
indent the comment properly.
Bram Moolenaar [Sun, 12 Dec 2021 11:44:11 +0000 (11:44 +0000)]
Use text area for environment in the bug template.
Bram Moolenaar [Sun, 12 Dec 2021 11:34:22 +0000 (11:34 +0000)]
Update issue template.
Bram Moolenaar [Sat, 11 Dec 2021 18:46:29 +0000 (18:46 +0000)]
patch 8.2.3786: test fails because of using Vim9 syntax in legacy function
Problem: Test fails because of using Vim9 syntax in legacy function.
Solution: Add "call".
ichizok [Sat, 11 Dec 2021 17:34:19 +0000 (17:34 +0000)]
patch 8.2.3785: running CI on MacOS with gcc is not useful
Problem: Running CI on MacOS with gcc is not useful.
Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
normal features.
Bram Moolenaar [Sat, 11 Dec 2021 17:24:39 +0000 (17:24 +0000)]
patch 8.2.3784: the help for options is outdated
Problem: The help for options is outdated.
Solution: Include all the recent changes.
Bram Moolenaar [Sat, 11 Dec 2021 16:14:07 +0000 (16:14 +0000)]
patch 8.2.3783: confusing error for using a variable as a function
Problem: Confusing error for using a variable as a function.
Solution: If a function is not found but there is a variable, give a more
useful error. (issue #9310)
Bram Moolenaar [Sat, 11 Dec 2021 13:54:46 +0000 (13:54 +0000)]
patch 8.2.3782: Vim9: no error if a function shadows a script variable
Problem: Vim9: no error if a function shadows a script variable.
Solution: Check the function doesn't shadow a variable. (closes #9310)
Bram Moolenaar [Sat, 11 Dec 2021 12:33:52 +0000 (12:33 +0000)]
patch 8.2.3781: the option window script is outdated
Problem: The option window script is outdated.
Solution: Add several changes.
Bakudankun [Sat, 11 Dec 2021 12:28:08 +0000 (12:28 +0000)]
patch 8.2.3780: ":cd" works differently on MS-Windows
Problem: ":cd" works differently on MS-Windows.
Solution: Add the 'cdhome' option. (closes #9324)
Bram Moolenaar [Fri, 10 Dec 2021 21:46:09 +0000 (21:46 +0000)]
patch 8.2.3779: using freed memory when defining a user command recursively
Problem: Using freed memory when defining a user command from a user
command.
Solution: Do not use the command pointer after executing the command.
(closes #9318)
Bram Moolenaar [Fri, 10 Dec 2021 21:05:53 +0000 (21:05 +0000)]
patch 8.2.3778: lambda debug test fails in some configurations
Problem: Lambda debug test fails in some configurations.
Solution: Check feature in a legacy function.
=?UTF-8?q?Bj=C3=B6rn=20Linse?= [Fri, 10 Dec 2021 20:39:17 +0000 (20:39 +0000)]
patch 8.2.3777: spell file write error not checked
Problem: Spell file write error not checked.
Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
Bram Moolenaar [Fri, 10 Dec 2021 20:15:15 +0000 (20:15 +0000)]
patch 8.2.3776: when a tags file line is long a tag may not be found
Problem: When a tags file line is long a tag may not be found.
Solution: When increasing the buffer size read the same line again.
Bram Moolenaar [Fri, 10 Dec 2021 16:55:58 +0000 (16:55 +0000)]
patch 8.2.3775: Vim9: lambda compiled without outer context when debugging
Problem: Vim9: lambda compiled without outer context when debugging.
Solution: When compiling a lambda for debugging also compile it without.
(closes #9302)
Bram Moolenaar [Fri, 10 Dec 2021 13:40:08 +0000 (13:40 +0000)]
patch 8.2.3774: test for command line height fails
Problem: Test for command line height fails.
Solution: Use another way to handle window size change.
Bram Moolenaar [Fri, 10 Dec 2021 12:11:09 +0000 (12:11 +0000)]
patch 8.2.3773: wrong window size when a modeline changes 'columns'
Problem: Wrong window size when a modeline changes 'columns' and there is
more than one tabpage. (Michael Soyka)
Solution: Adjust the frames of all tabpages. (closes #9315)
Bram Moolenaar [Fri, 10 Dec 2021 10:57:08 +0000 (10:57 +0000)]
patch 8.2.3772: timer info test fails on slow machine
Problem: Timer info test fails on slow machine.
Solution: Use WaitForAssert().
Bram Moolenaar [Fri, 10 Dec 2021 10:37:38 +0000 (10:37 +0000)]
patch 8.2.3771: Vim9: accessing freed memory when checking type
Problem: Vim9: accessing freed memory when checking type.
Solution: Make a copy of a function type.