]>
granicus.if.org Git - vim/log
Bram Moolenaar [Sun, 6 Mar 2022 14:51:22 +0000 (14:51 +0000)]
patch 8.2.4519: Vim9: Can still use ":fini" and ":finis" for ":finish"
Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
Solution: Require using ":finish".
Yegappan Lakshmanan [Sun, 6 Mar 2022 14:27:10 +0000 (14:27 +0000)]
patch 8.2.4518: the binary tag search feature is always enabled
Problem: The binary tag search feature is always enabled.
Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
closes #9893)
K.Takata [Sun, 6 Mar 2022 14:01:52 +0000 (14:01 +0000)]
patch 8.2.4517: MS-Windows: cannot specify location of sodium library
Problem: MS-Windows: cannot specify location of sodium library.
Solution: Allow for using a path for SODIUM. (Ken Takata, closes #9896)
Bram Moolenaar [Sat, 5 Mar 2022 22:07:32 +0000 (22:07 +0000)]
patch 8.2.4516: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Move error message outside of #ifdef.
Bram Moolenaar [Sat, 5 Mar 2022 21:13:26 +0000 (21:13 +0000)]
patch 8.2.4515: old subsitute syntax is still supported
Problem: Old subsitute syntax is still supported.
Solution: Disallow using backslash after ":s" in Vim9 script.
Bram Moolenaar [Sat, 5 Mar 2022 20:24:41 +0000 (20:24 +0000)]
patch 8.2.4514: Vim9: some flow commands can be shortened
Problem: Vim9: some flow commands can be shortened.
Solution: Also require using the full name for ":return", ":enddef",
":continue", ":export" and ":import".
zeertzjq [Sat, 5 Mar 2022 17:00:31 +0000 (17:00 +0000)]
patch 8.2.4513: window-local directory is not applied if 'acd' fails
Problem: Window-local directory is not applied if 'acd' fails.
Solution: Don't call do_autochdir(). (closes #9891)
Yegappan Lakshmanan [Sat, 5 Mar 2022 14:35:12 +0000 (14:35 +0000)]
patch 8.2.4512: the find_tags_in_file() function is much too long
Problem: The find_tags_in_file() function is much too long.
Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
closes #9892)
Bram Moolenaar [Sat, 5 Mar 2022 13:45:56 +0000 (13:45 +0000)]
patch 8.2.4511: filetype test fails
Problem: Filetype test fails.
Solution: Change "endw" to "endwhile".
Bram Moolenaar [Sat, 5 Mar 2022 12:56:44 +0000 (12:56 +0000)]
patch 8.2.4510: Vim9: shortening commands leads to confusing script
Problem: Vim9: shortening commands leads to confusing script.
Solution: In Vim9 script require at least ":cont" for ":continue", "const"
instead of "cons", "break" instead of "brea", "catch" instead of
"cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
instead of "endfo" "endif" instead of "en" "endtry" instead of
"endt", "finally" instead of "fina", "throw" instead of "th",
"while" instead of "wh".
Bram Moolenaar [Sat, 5 Mar 2022 11:37:48 +0000 (11:37 +0000)]
patch 8.2.4509: Vim9: can declare a variable with ":va"
Problem: Vim9: can declare a variable with ":va".
Solution: Disallow using ":va", require using ":var".
Bram Moolenaar [Sat, 5 Mar 2022 11:05:57 +0000 (11:05 +0000)]
patch 8.2.4508: Vim9: cannot assign to a global variable on the command line
Problem: Vim9: cannot assign to a global variable on the command line.
Solution: Allow using :vim9cmd for assignment on the command line.
Bram Moolenaar [Fri, 4 Mar 2022 23:22:27 +0000 (23:22 +0000)]
patch 8.2.4507: test fails because of new error message
Problem: Test fails because of new error message.
Solution: Avoid the test fails.
Bram Moolenaar [Fri, 4 Mar 2022 21:34:31 +0000 (21:34 +0000)]
patch 8.2.4506: "pattern not found" for :global is not an error message
Problem: "pattern not found" for :global is not an error message.
Solution: In Vim9 script make this an actual error, so that try/catch can be
used as expected.
Bram Moolenaar [Fri, 4 Mar 2022 20:10:38 +0000 (20:10 +0000)]
patch 8.2.4505: Vim9: outdated "autocmd nested" still works
Problem: Vim9: outdated "autocmd nested" still works.
Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
script.
Bram Moolenaar [Fri, 4 Mar 2022 19:22:36 +0000 (19:22 +0000)]
patch 8.2.4504: when there is a partially matching map full map may not work
Problem: When there is a partially matching map and modifyOtherKeys is
active a full map may not work.
Solution: Only simplify modifiers when there is no matching mapping.
(closes #8792)
Bram Moolenaar [Fri, 4 Mar 2022 17:10:19 +0000 (17:10 +0000)]
patch 8.2.4503: Vim9: there is no point in supporting :Print and :mode
Problem: Vim9: there is no point in supporting :Print and :mode.
Solution: Do not recognize :Print and :mode as commands. (closes #9870)
Bram Moolenaar [Fri, 4 Mar 2022 14:51:06 +0000 (14:51 +0000)]
patch 8.2.4502: in the GUI a modifier is not recognized after CTRL-X
Problem: In the GUI a modifier is not recognized for the key typed after
CTRL-X, which may result in a mapping to be used. (Daniel
Steinberg)
Solution: Recognize a modifier starting with CSI. (closes #9889)
Bram Moolenaar [Thu, 3 Mar 2022 20:04:03 +0000 (20:04 +0000)]
patch 8.2.4501: with 'showbreak' set cursor displayed in wrong position
Problem: With 'showbreak' set and after the end of the line the cursor
may be displayed in the wrong position.
Solution: Do not apply 'showbreak' after the end of the line. (closes #9884)
Bram Moolenaar [Thu, 3 Mar 2022 17:05:35 +0000 (17:05 +0000)]
patch 8.2.4500: Vim9: can declare a global variable on the command line
Problem: Vim9: can declare a global variable on the command line.
Solution: Disallow declaring a variable on the command line. (closes #9881)
Bram Moolenaar [Thu, 3 Mar 2022 15:11:20 +0000 (15:11 +0000)]
patch 8.2.4499: Vim9: at the script level declarations leak to next block
Problem: Vim9: at the script level declarations leak from try block to
catch and finally block.
Solution: End the block and start a new one. (closes #9883)
Bram Moolenaar [Thu, 3 Mar 2022 13:56:24 +0000 (13:56 +0000)]
patch 8.2.4498: using <Plug> with "noremap" does not work
Problem: Using <Plug> with "noremap" does not work.
Solution: Always remap <Plug>. (closes #9879, closes #9789)
Bram Moolenaar [Thu, 3 Mar 2022 11:46:00 +0000 (11:46 +0000)]
patch 8.2.4497: wrong color for half of wide character next to pum scrollbar
Problem: Wrong color for half of wide character next to pum scrollbar.
Solution: Redraw the screen cell with the right color. (closes #9874)
Bram Moolenaar [Thu, 3 Mar 2022 10:44:17 +0000 (10:44 +0000)]
patch 8.2.4496: Coverity gives warnings after tags code refactoring
Problem: Coverity gives warnings after tags code refactoring.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882)
Bram Moolenaar [Wed, 2 Mar 2022 20:49:50 +0000 (20:49 +0000)]
patch 8.2.4495: help test fails in 24 line terminal
Problem: Help test fails in 24 line terminal.
Solution: Use up to 23 lines for text.
Yegappan Lakshmanan [Wed, 2 Mar 2022 20:29:35 +0000 (20:29 +0000)]
patch 8.2.4494: the find_tags() function is much too long
Problem: The find_tags() function is much too long.
Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869)
Bram Moolenaar [Wed, 2 Mar 2022 20:12:03 +0000 (20:12 +0000)]
patch 8.2.4493: options test fails in the GUI
Problem: Options test fails in the GUI.
Solution: Do not save and restore 'term'.
Bram Moolenaar [Wed, 2 Mar 2022 19:49:38 +0000 (19:49 +0000)]
patch 8.2.4492: no error if an option is given a value with ":let &opt = val"
Problem: No error if an option is given an invalid value with
":let &opt = val".
Solution: Give the error. (closes #9864)
K.Takata [Wed, 2 Mar 2022 17:34:56 +0000 (17:34 +0000)]
patch 8.2.4491: MS-Windows makefile dependencies are outdated
Problem: MS-Windows makefile dependencies are outdated.
Solution: Update dependencies. (Ken Takata, closes #9876)
Bram Moolenaar [Wed, 2 Mar 2022 17:16:39 +0000 (17:16 +0000)]
patch 8.2.4490: terminal focus reporting only works for xterm-like terminals
Problem: Terminal focus reporting only works for xterm-like terminals.
(Jonathan Rascher)
Solution: Remove the "focus_mode" flag. (closes #9859)
Bram Moolenaar [Wed, 2 Mar 2022 13:13:30 +0000 (13:13 +0000)]
patch 8.2.4489: failing test for comparing v:null with number
Problem: Failing test for comparing v:null with number.
Solution: Allow comparing v:null with number in legacy script.
(Ken Takata, closes #9873) Also do this for float.
Bram Moolenaar [Tue, 1 Mar 2022 19:52:48 +0000 (19:52 +0000)]
patch 8.2.4488: build error with +eval but without +channel or +job
Problem: Build error with +eval but without +channel or +job.
Solution: Add #ifdef. (John Marriott)
Bram Moolenaar [Tue, 1 Mar 2022 19:23:24 +0000 (19:23 +0000)]
patch 8.2.4487: Vim9: cannot compare with v:null
Problem: Vim9: cannot compare with v:null.
Solution: Allow comparing anything with v:null. (closes #9866)
Bram Moolenaar [Tue, 1 Mar 2022 16:02:26 +0000 (16:02 +0000)]
patch 8.2.4486: MS-Windows GUI: slow scrolling with maximized window
Problem: MS-Windows GUI: slow scrolling with maximized window.
Solution: Use a better way to check the window is on screen. (Ken Takata,
closes #9865)
Bram Moolenaar [Mon, 28 Feb 2022 21:02:19 +0000 (21:02 +0000)]
patch 8.2.4485: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable.
Solution: Initialize the variable. (John Marriott)
Bram Moolenaar [Mon, 28 Feb 2022 20:55:02 +0000 (20:55 +0000)]
patch 8.2.4484: Vim9: some error messages are not tested
Problem: Vim9: some error messages are not tested.
Solution: Add a few more test cases. Delete dead code.
Yegappan Lakshmanan [Mon, 28 Feb 2022 13:28:38 +0000 (13:28 +0000)]
patch 8.2.4483: command completion makes two rounds to collect matches
Problem: Command completion makes two rounds to collect matches.
Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
closes #9860)
Yegappan Lakshmanan [Sun, 27 Feb 2022 21:03:21 +0000 (21:03 +0000)]
patch 8.2.4482: no fuzzy cmdline completion for user defined completion
Problem: No fuzzy cmdline completion for user defined completion.
Solution: Add fuzzy completion for user defined completion. (Yegappan
Lakshmanan, closes #9858)
Bram Moolenaar [Sun, 27 Feb 2022 14:28:31 +0000 (14:28 +0000)]
patch 8.2.4481: cmdline popup menu not removed when 'lazyredraw' is set
Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
(closes #9857)
xtkoba [Sun, 27 Feb 2022 12:31:52 +0000 (12:31 +0000)]
patch 8.2.4480: suspending with CTRL-Z does not work on Android
Problem: Suspending with CTRL-Z does not work on Android.
Solution: Do not handle SIGTSTP. (closes #9854)
Yegappan Lakshmanan [Sun, 27 Feb 2022 12:07:30 +0000 (12:07 +0000)]
patch 8.2.4479: no fuzzy completieon for maps and abbreviations
Problem: No fuzzy completieon for maps and abbreviations.
Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
closes #9856)
Yegappan Lakshmanan [Sat, 26 Feb 2022 16:05:08 +0000 (16:05 +0000)]
patch 8.2.4478: crash when using fuzzy completion
Problem: Crash when using fuzzy completion.
Solution: Temporary fix: put back regexp. (closes #9852, closes #9851)
Bram Moolenaar [Sat, 26 Feb 2022 15:52:08 +0000 (15:52 +0000)]
patch 8.2.4477: crash when using fuzzy completion
Problem: Crash when using fuzzy completion.
Solution: Temporary fix: put back regexp. (closes #9851)
Bram Moolenaar [Sat, 26 Feb 2022 12:25:45 +0000 (12:25 +0000)]
Update runtime files.
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 26 Feb 2022 11:46:13 +0000 (11:46 +0000)]
patch 8.2.4476: operator name spelled wrong
Problem: Operator name spelled wrong.
Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
Yegappan Lakshmanan [Sat, 26 Feb 2022 11:04:42 +0000 (11:04 +0000)]
patch 8.2.4475: fuzzy cmdline completion does not work for lower case
Problem: Fuzzy cmdline completion does not work for lower case.
Solution: Also use fuzzy completion for lower case input. (Yegappan
Lakshmanan, closes #9849)
Yegappan Lakshmanan [Sat, 26 Feb 2022 10:31:32 +0000 (10:31 +0000)]
patch 8.2.4474: memory allocation failures not tested in quickfix code
Problem: Memory allocation failures not tested in quickfix code.
Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848)
Bram Moolenaar [Fri, 25 Feb 2022 21:47:48 +0000 (21:47 +0000)]
patch 8.2.4473: Coverity warnds for not checking return value of ftell()
Problem: Coverity warnds for not checking return value of ftell().
Solution: Bail out if ftell() returns a negative value.
Bram Moolenaar [Fri, 25 Feb 2022 21:35:17 +0000 (21:35 +0000)]
patch 8.2.4472: Coverity warns for use of a freed function name
Problem: Coverity warns for use of a freed function name.
Solution: Only check an autoload name when is prefixed.
Bram Moolenaar [Fri, 25 Feb 2022 21:10:53 +0000 (21:10 +0000)]
patch 8.2.4471: Coverity warns for uninitialized variable
Problem: Coverity warns for uninitialized variable.
Solution: Set flags to zero.
Bram Moolenaar [Fri, 25 Feb 2022 21:05:36 +0000 (21:05 +0000)]
patch 8.2.4470: Coverity warns for uninitialized variable
Problem: Coverity warns for uninitialized variable.
Solution: Set can_spell to zero.
Bram Moolenaar [Fri, 25 Feb 2022 20:57:11 +0000 (20:57 +0000)]
patch 8.2.4469: Coverity warns for uninitialized variable
Problem: Coverity warns for uninitialized variable.
Solution: Set the value to zero.
Bram Moolenaar [Fri, 25 Feb 2022 20:48:26 +0000 (20:48 +0000)]
patch 8.2.4468: Coverity warns for uninitialized struct member
Problem: Coverity warns for uninitialized struct member.
Solution: Set color.index to zero.
Bram Moolenaar [Fri, 25 Feb 2022 17:45:04 +0000 (17:45 +0000)]
patch 8.2.4467: running filetype test leaves file behind
Problem: Running filetype test leaves file behind.
Solution: Delete the file.
Cam Sinclair [Fri, 25 Feb 2022 17:42:23 +0000 (17:42 +0000)]
patch 8.2.4466: MS-Windows: illegal memory access in installer
Problem: MS-Windows: illegal memory access in installer when using
"create-directories" as the final argument.
Solution: Check the argument count. (Cam Sinclair, closes #9844)
Yegappan Lakshmanan [Fri, 25 Feb 2022 15:24:24 +0000 (15:24 +0000)]
patch 8.2.4465: fuzzy completion does not order matches properly
Problem: Fuzzy completion does not order matches properly.
Solution: Do not use regular expression match. (Yegappan Lakshmanan,
closes #9843)
=?UTF-8?q?Teubel=20Gy=C3=B6rgy?= [Thu, 24 Feb 2022 17:59:09 +0000 (17:59 +0000)]
patch 8.2.4464: Dtrace files are recognized as filetype D
Problem: Dtrace files are recognized as filetype D.
Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841)
Add some more testing.
Yegappan Lakshmanan [Thu, 24 Feb 2022 13:28:41 +0000 (13:28 +0000)]
patch 8.2.4463: completion only uses strict matching
Problem: Completion only uses strict matching.
Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
closes #9803)
Yegappan Lakshmanan [Thu, 24 Feb 2022 12:33:17 +0000 (12:33 +0000)]
patch 8.2.4462: not enough testing for quickfix code
Problem: Not enough testing for quickfix code.
Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
closes #9839)
Bram Moolenaar [Thu, 24 Feb 2022 11:39:43 +0000 (11:39 +0000)]
patch 8.2.4461: MS-Windows: garbage characters on stdout with VIMDLL
Problem: MS-Windows: garbage characters on stdout with VIMDLL.
Solution: Don't call gui_focus_change() when about to quit. (Ken Takata,
closes #9840)
Bram Moolenaar [Wed, 23 Feb 2022 22:12:02 +0000 (22:12 +0000)]
patch 8.2.4460: Vim9: wrong error for defining dict function
Problem: Vim9: wrong error for defining dict function.
Solution: Explicitly check for trying to define a dict function.
(closes 9827)
Bram Moolenaar [Wed, 23 Feb 2022 21:03:32 +0000 (21:03 +0000)]
patch 8.2.4459: Vim9: compiling sort() call fails with unknown arguments
Problem: Vim9: compiling sort() call fails with a funcref that has unknown
arguments.
Solution: Do not check the arguments if they are unknown at compile time.
(closes #9835)
Bram Moolenaar [Wed, 23 Feb 2022 19:11:49 +0000 (19:11 +0000)]
patch 8.2.4458: Vim9: compiling filter() call fails with unknown arguments
Problem: Vim9: compiling filter() call fails with funcref that has unknown
arguments.
Solution: Do not check the arguments if they are unknown at compile time.
(closes #9835)
Bram Moolenaar [Wed, 23 Feb 2022 18:07:38 +0000 (18:07 +0000)]
patch 8.2.4457: the GPM library can only be linked statically
Problem: The GPM library can only be linked statically.
Solution: Make it possible to load the GPM library dynamically. (Damien)
Zdenek Dohnal [Wed, 23 Feb 2022 14:25:17 +0000 (14:25 +0000)]
patch 8.2.4456: terminal test may fail on some machines
Problem: Terminal test may fail on some machines.
Solution: Increase wait time. (Zdenek Dohnal, closes #9834)
Bram Moolenaar [Wed, 23 Feb 2022 13:17:47 +0000 (13:17 +0000)]
patch 8.2.4455: accepting one and zero for second sort() argument is strange
Problem: Accepting one and zero for the second sort() argument is strange.
Solution: Disallow using one and zero in Vim9 script.
zeertzjq [Wed, 23 Feb 2022 12:23:08 +0000 (12:23 +0000)]
patch 8.2.4454: resetting cmdwin_type only for one situation
Problem: Resetting cmdwin_type only for one situation.
Solution: Reset cmdwin_type before closing windows. (closes #9822)
Bram Moolenaar [Wed, 23 Feb 2022 12:06:00 +0000 (12:06 +0000)]
patch 8.2.4453: :helpgrep may free an option that was not allocated
Problem: :helpgrep may free an option that was not allocated. (Yegappan
Lakshmanan)
Solution: Check if the value was allocated.
Bram Moolenaar [Wed, 23 Feb 2022 10:52:41 +0000 (10:52 +0000)]
patch 8.2.4452: test for what 8.2.4436 fixes does not check for regression
Problem: Test for what 8.2.4436 fixes does not check for regression.
Solution: Set several options. (Ken Takata, closes #9830)
Bram Moolenaar [Tue, 22 Feb 2022 22:53:10 +0000 (22:53 +0000)]
patch 8.2.4451: sort() fails when ignoring case
Problem: sort() fails when ignoring case.
Solution: Accept a number one argument in sort().
Bram Moolenaar [Tue, 22 Feb 2022 22:17:00 +0000 (22:17 +0000)]
patch 8.2.4450: list sort test fails
Problem: List sort test fails.
Solution: Pass a valid "how" argument.
Bram Moolenaar [Tue, 22 Feb 2022 21:54:44 +0000 (21:54 +0000)]
patch 8.2.4449: vim9: function argument of sort() not checked at compile time
Problem: vim9: function argument of sort() not checked at compile time.
Solution: Add a compile time check.
Bram Moolenaar [Tue, 22 Feb 2022 21:17:40 +0000 (21:17 +0000)]
patch 8.2.4448: filetype detection is failing
Problem: Filetype detection is failing.
Solution: Do not use "s:" where it is no longer allowed.
Bram Moolenaar [Tue, 22 Feb 2022 20:43:36 +0000 (20:43 +0000)]
patch 8.2.4447: Vim9: can still use s:var in a compiled function
Problem: Vim9: can still use s:var in a compiled function.
Solution: Disallow using s:var for Vim9 script. (closes #9824)
Bram Moolenaar [Tue, 22 Feb 2022 19:39:13 +0000 (19:39 +0000)]
patch 8.2.4446: Vim9: cannot refer to a global function like a local one
Problem: Vim9: cannot refer to a global function like a local one.
Solution: When g:name is not a variable but a function, use a function
reference. (closes #9826)
Bram Moolenaar [Tue, 22 Feb 2022 18:48:11 +0000 (18:48 +0000)]
patch 8.2.4445: exit test fails on MS-Windows anyway
Problem: Exit test fails on MS-Windows anyway.
Solution: Skip the test on MS-Windows.
Bram Moolenaar [Tue, 22 Feb 2022 17:42:48 +0000 (17:42 +0000)]
patch 8.2.4444: beep caused by test
Problem: Beep caused by test. ASAN reports leaks.
Solution: Do not put a NL at the end of the script. Make the text work on
MS-Windows. Do not run the test with ASAN.
Bram Moolenaar [Tue, 22 Feb 2022 16:19:37 +0000 (16:19 +0000)]
patch 8.2.4443: regexp pattern test fails on Mac
Problem: Regexp pattern test fails on Mac.
Solution: Do not use a swapfile for the buffer.
Bram Moolenaar [Tue, 22 Feb 2022 15:24:51 +0000 (15:24 +0000)]
patch 8.2.4442: test for error reading input fails on MS-Windows
Problem: Test for error reading input fails on MS-Windows.
Solution: Don't run the test on MS-Windows.
Bram Moolenaar [Tue, 22 Feb 2022 15:12:14 +0000 (15:12 +0000)]
patch 8.2.4441: Vim9: function argument of filter() not checked like map()
Problem: Vim9: function argument of filter() not checked like map().
Solution: Also check the function argument of filter().
Bram Moolenaar [Tue, 22 Feb 2022 13:37:31 +0000 (13:37 +0000)]
patch 8.2.4440: crash with specific regexp pattern and string
Problem: Crash with specific regexp pattern and string.
Solution: Stop at the start of the string.
Bram Moolenaar [Tue, 22 Feb 2022 12:34:28 +0000 (12:34 +0000)]
patch 8.2.4439: accepting "iso8859" 'encoding' as "iso-8859-"
Problem: Accepting "iso8859" 'encoding' as "iso-8859-".
Solution: use "iso8859" as "iso-8859-1".
Bram Moolenaar [Tue, 22 Feb 2022 12:08:07 +0000 (12:08 +0000)]
patch 8.2.4438: crash on exit when using cmdline window
Problem: Crash on exit when using cmdline window.
Solution: Reset "cmdwin_type" before exiting. (closes #9817)
K.Takata [Tue, 22 Feb 2022 11:04:50 +0000 (11:04 +0000)]
patch 8.2.4437: vartabs test fails on MS-Windows
Problem: Vartabs test fails on MS-Windows.
Solution: Use iso8859-1 'encoding'. (Ken Takata, closes #9818)
Bram Moolenaar [Mon, 21 Feb 2022 19:36:12 +0000 (19:36 +0000)]
patch 8.2.4436: crash with weird 'vartabstop' value
Problem: Crash with weird 'vartabstop' value.
Solution: Check for running into the end of the line.
Bram Moolenaar [Mon, 21 Feb 2022 18:34:30 +0000 (18:34 +0000)]
patch 8.2.4435: dead code in checking map() arguments
Problem: Dead code in checking map() arguments. (Dominique Pellé)
Solution: Remove the first return statement. (closes #9815)
Sean Dewar [Mon, 21 Feb 2022 17:56:33 +0000 (17:56 +0000)]
patch 8.2.4434: duplicate check for cmdline window
Problem: Duplicate check for cmdline window.
Solution: Remove the second check. (Sean Dewar, closes #9816)
K.Takata [Mon, 21 Feb 2022 17:49:28 +0000 (17:49 +0000)]
patch 8.2.4433: CI: cannot see interface versions for MS-Windows
Problem: CI: cannot see interface versions for MS-Windows.
Solution: List the interface versions. (Ken Takata, closes #9811)
Bram Moolenaar [Mon, 21 Feb 2022 16:13:49 +0000 (16:13 +0000)]
patch 8.2.4432: cannot use settabvar() while the cmdline window is open
Problem: Cannot use settabvar() while the cmdline window is open.
Solution: Only give an error when actually switching tabpage.
(closes #9813)
Bram Moolenaar [Mon, 21 Feb 2022 15:59:11 +0000 (15:59 +0000)]
patch 8.2.4431: unnecessary condition when assigning to a variable
Problem: Unnecessary condition when assigning to a variable.
Solution: Remove the condition.
Amon Sha [Mon, 21 Feb 2022 15:07:12 +0000 (15:07 +0000)]
patch 8.2.4430: GTK: crash when using 'guiligatures' and reading from stdin
Problem: GTK: crash when using 'guiligatures' and reading from stdin.
Solution: Make a copy of the message. (Amon Sha, closes #9719, closes #9814)
Bram Moolenaar [Mon, 21 Feb 2022 13:13:50 +0000 (13:13 +0000)]
patch 8.2.4429: using script-local function from the wrong script
Problem: Using script-local function from the wrong script when using a
partial. (Yegappan Lakshmanan)
Solution: Include the script ID in the partial name.
Bram Moolenaar [Sun, 20 Feb 2022 20:49:35 +0000 (20:49 +0000)]
patch 8.2.4428: crash when switching tabpage while in the cmdline window
Problem: Crash when switching tabpage while in the cmdline window.
Solution: Disallow switching tabpage when in the cmdline window.
Bram Moolenaar [Sun, 20 Feb 2022 19:48:20 +0000 (19:48 +0000)]
Update runtime files
zeertzjq [Sun, 20 Feb 2022 19:05:10 +0000 (19:05 +0000)]
patch 8.2.4427: getchar() may return modifiers if no character is available
Problem: getchar() may return modifiers if no character is available.
Solution: Do not process modifiers when there is no character. (closes #9806)
Bram Moolenaar [Sun, 20 Feb 2022 18:26:46 +0000 (18:26 +0000)]
patch 8.2.4426: map() function on string and blob does not check types
Problem: map() function on string and blob does not check argument types at
compile time.
Solution: Check string and blob argument types. Support "0z1234->func()".
Bram Moolenaar [Sun, 20 Feb 2022 15:52:28 +0000 (15:52 +0000)]
patch 8.2.4425: map() function does not check function arguments
Problem: map() function does not check function arguments at compile time.
Solution: Give an error if the arguments of a map() function are wrong.
NullVoxPopuli [Sat, 19 Feb 2022 16:35:58 +0000 (16:35 +0000)]
patch 8.2.4424: ".gts" and ".gjs" files are not recognized
Problem: ".gts" and ".gjs" files are not recognized.
Solution: Recognize Glimmer flavored typescript and javascript.
(closes #9799)
Bram Moolenaar [Sat, 19 Feb 2022 16:00:16 +0000 (16:00 +0000)]
patch 8.2.4423: "make nvcmdidxs" fails
Problem: "make nvcmdidxs" fails.
Solution: Use "-S" instead of "-u" to source the script.
Bram Moolenaar [Sat, 19 Feb 2022 14:49:51 +0000 (14:49 +0000)]
patch 8.2.4422: autochdir test fails on MS-Windows
Problem: Autochdir test fails on MS-Windows.
Solution: Expecta nother error on MS-Windows.