]>
granicus.if.org Git - vim/log
Bram Moolenaar [Thu, 12 Nov 2020 13:21:06 +0000 (14:21 +0100)]
patch 8.2.1978: making a mapping work in all modes is complicated
Problem: Making a mapping work in all modes is complicated.
Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
closes 4784, based on patch by Bjorn Linse)
Bram Moolenaar [Thu, 12 Nov 2020 11:08:51 +0000 (12:08 +0100)]
patch 8.2.1977: Vim9: error for using a string in a condition is confusing
Problem: Vim9: error for using a string in a condition is confusing.
Solution: Give a more specific error. Also adjust the compile time type
checking for || and &&.
Bram Moolenaar [Wed, 11 Nov 2020 19:52:40 +0000 (20:52 +0100)]
patch 8.2.1976: cannot backspace in prompt buffer after using cursor-left
Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
Kim)
Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
Bram Moolenaar [Tue, 10 Nov 2020 21:03:40 +0000 (22:03 +0100)]
patch 8.2.1975: Win32: memory leak when encoding conversion fails
Problem: Win32: memory leak when encoding conversion fails.
Solution: Free the allocated memory. (Ken Takata, closes #7277)
Bram Moolenaar [Tue, 10 Nov 2020 19:58:00 +0000 (20:58 +0100)]
patch 8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL
Problem: Vim9: test for has('gui_running') fails with VIMDLL.
Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
Bram Moolenaar [Tue, 10 Nov 2020 19:54:29 +0000 (20:54 +0100)]
patch 8.2.1973: finding a patch number can be a bit slow
Problem: Finding a patch number can be a bit slow.
Solution: Use binary search. (closes #7279)
Bram Moolenaar [Tue, 10 Nov 2020 17:23:52 +0000 (18:23 +0100)]
patch 8.2.1972: crash when recreating nested fold
Problem: Crash when recreating nested fold.
Solution: Check for empty growarray. (closes #7278)
Bram Moolenaar [Tue, 10 Nov 2020 10:43:56 +0000 (11:43 +0100)]
patch 8.2.1971: memory leak when map() fails
Problem: Memory leak when map() fails.
Solution: Clear the typval.
Bram Moolenaar [Mon, 9 Nov 2020 20:04:17 +0000 (21:04 +0100)]
patch 8.2.1970: it is easy to make mistakes when cleaning up swap files
Problem: It is easy to make mistakes when cleaning up swap files after the
system crashed.
Solution: Warn for the process still running after recovery. Do not
automatically delete a swap file created on another system.
(David Fries, closes #7273)
Bram Moolenaar [Mon, 9 Nov 2020 17:31:39 +0000 (18:31 +0100)]
patch 8.2.1969: Vim9: map() may change the list or dict item type
Problem: Vim9: map() may change the list or dict item type.
Solution: Add mapnew().
Bram Moolenaar [Sun, 8 Nov 2020 11:49:47 +0000 (12:49 +0100)]
patch 8.2.1968: Vim9: has() assumes a feature does not change dynamically
Problem: Vim9: has() assumes a feature does not change dynamically.
Solution: Check whether a feature may change dynamically. (closes #7265)
Bram Moolenaar [Sat, 7 Nov 2020 17:41:10 +0000 (18:41 +0100)]
patch 8.2.1967: the session file does not restore the alternate file
Problem: The session file does not restore the alternate file.
Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
alternate file. Use it in the session file. (closes #7269,
closes #6714)
Bram Moolenaar [Sat, 7 Nov 2020 15:58:59 +0000 (16:58 +0100)]
patch 8.2.1966: popup becomes current window after closing a terminal window
Problem: Popup becomes current window after closing a terminal window.
Solution: When restoring the window after executing autocommands, check that
the window ID is still the same. (Naruhiko Nishino,
closes #7272)
Bram Moolenaar [Sat, 7 Nov 2020 12:09:18 +0000 (13:09 +0100)]
patch 8.2.1965: Vim9: tests fail without the channel feature
Problem: Vim9: tests fail without the channel feature.
Solution: Check if the channel feature is present. (Dominique Pellé,
closes 7270)
Bram Moolenaar [Fri, 6 Nov 2020 17:52:55 +0000 (18:52 +0100)]
patch 8.2.1964: not all ConTeXt files are recognized
Problem: Not all ConTeXt files are recognized.
Solution: Add two patterns. (closes #7263)
Bram Moolenaar [Fri, 6 Nov 2020 16:58:35 +0000 (17:58 +0100)]
patch 8.2.1963: crash when using a popup window with "latin1" encoding
Problem: Crash when using a popup window with "latin1" encoding.
Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
Bram Moolenaar [Fri, 6 Nov 2020 12:44:21 +0000 (13:44 +0100)]
patch 8.2.1962: netbeans may access freed memory
Problem: Netbeans may access freed memory.
Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
Lakshmanan, closes #7248)
Bram Moolenaar [Fri, 6 Nov 2020 11:03:08 +0000 (12:03 +0100)]
Correct list of patches.
Bram Moolenaar [Thu, 5 Nov 2020 19:50:51 +0000 (20:50 +0100)]
patch 8.2.1961: various comments can be improved
Problem: Various comments can be improved.
Solution: Various comment adjustments.
Bram Moolenaar [Thu, 5 Nov 2020 19:46:32 +0000 (20:46 +0100)]
patch 8.2.1960: warning for uninitialized variable
Problem: Warning for uninitialized variable.
Solution: Initialize the variable.
Bram Moolenaar [Thu, 5 Nov 2020 19:41:49 +0000 (20:41 +0100)]
Update runtime files
Bram Moolenaar [Thu, 5 Nov 2020 18:36:38 +0000 (19:36 +0100)]
patch 8.2.1959: crash when terminal buffer name is made empty
Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
Solution: Fall back to "[No Name]". (closes #7262)
Bram Moolenaar [Thu, 5 Nov 2020 18:34:41 +0000 (19:34 +0100)]
patch 8.2.1958: build failure with timers
Problem: Build failure with timers.
Solution: Add missing change.
Bram Moolenaar [Thu, 5 Nov 2020 18:07:21 +0000 (19:07 +0100)]
patch 8.2.1957: diff and cursorcolumn highlighting don't mix
Problem: Diff and cursorcolumn highlighting don't mix.
Solution: Fix condition for what attribute to use. (Christian Brabandt,
closes #7258, closes #7260)
Bram Moolenaar [Thu, 5 Nov 2020 17:45:46 +0000 (18:45 +0100)]
patch 8.2.1956: Vim9: cannot specify argument types for lambda
Problem: Vim9: cannot specify argument types for lambda.
Solution: Allow adding argument types. Check arguments when calling a
function reference.
Bram Moolenaar [Wed, 4 Nov 2020 17:53:35 +0000 (18:53 +0100)]
patch 8.2.1955: Vim9: not all command modifiers are tested
Problem: Vim9: not all command modifiers are tested.
Solution: Add tests for remaining modifiers.
Bram Moolenaar [Wed, 4 Nov 2020 17:02:44 +0000 (18:02 +0100)]
patch 8.2.1954: Vim9: not all command modifiers are tested
Problem: Vim9: not all command modifiers are tested.
Solution: Add tests for "keep" modifiers. Fix that marks are lost even
though ":lockmarks" is used.
Bram Moolenaar [Wed, 4 Nov 2020 14:07:16 +0000 (15:07 +0100)]
patch 8.2.1953: Vim9: extra "unknown" error after other error
Problem: Vim9: extra "unknown" error after other error.
Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
Improve error message from assert_fails()
Bram Moolenaar [Wed, 4 Nov 2020 12:38:28 +0000 (13:38 +0100)]
patch 8.2.1952: Vim9: crash when using a NULL dict key
Problem: Vim9: crash when using a NULL dict key.
Solution: Use a NULL dict key like an empty string. (closes #7249)
Bram Moolenaar [Wed, 4 Nov 2020 11:23:06 +0000 (12:23 +0100)]
patch 8.2.1951: test for list and dict fails
Problem: Test for list and dict fails.
Solution: Adjust for using an empty list/dict for a null one.
Bram Moolenaar [Wed, 4 Nov 2020 11:00:53 +0000 (12:00 +0100)]
patch 8.2.1950: Vim9: crash when compiling function fails when getting type
Problem: Vim9: crash when compiling function fails when getting type.
Solution: Handle NULL type. (closes #7253)
Bram Moolenaar [Wed, 4 Nov 2020 10:36:35 +0000 (11:36 +0100)]
patch 8.2.1949: Vim9: using extend() on null dict is silently ignored
Problem: Vim9: using extend() on null dict is silently ignored.
Solution: Give an error message. Initialize a dict variable with an empty
dictionary. (closes #7251)
Bram Moolenaar [Wed, 4 Nov 2020 10:03:12 +0000 (11:03 +0100)]
patch 8.2.1948: GUI: crash when handling message while closing a window
Problem: GUI: crash when handling message while closing a window. (Srinath
Avadhanula)
Solution: Don't handle message while closing a window. (closes #7250)
Bram Moolenaar [Tue, 3 Nov 2020 19:05:40 +0000 (20:05 +0100)]
patch 8.2.1947: crash when using "zj" without folds
Problem: Crash when using "zj" without folds. (Sean Dewar)
Solution: Check for at least one fold. (closes #7245)
Bram Moolenaar [Tue, 3 Nov 2020 17:51:54 +0000 (18:51 +0100)]
patch 8.2.1946: sort() with NULL string not tested
Problem: sort() with NULL string not tested.
Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
Bram Moolenaar [Tue, 3 Nov 2020 17:20:19 +0000 (18:20 +0100)]
patch 8.2.1945: crash when passing NULL function to reduce()
Problem: Crash when passing NULL function to reduce().
Solution: Check for NULL pointer and give an error. (Dominique Pellé,
closes #7243)
Bram Moolenaar [Tue, 3 Nov 2020 10:53:29 +0000 (11:53 +0100)]
patch 8.2.1944: Netbeans test is flaky
Problem: Netbeans test is flaky.
Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
Bram Moolenaar [Mon, 2 Nov 2020 20:08:47 +0000 (21:08 +0100)]
patch 8.2.1943: Vim9: wrong error message when colon is missing
Problem: Vim9: wrong error message when colon is missing.
Solution: Check for a missing colon. (issue #7239)
Bram Moolenaar [Mon, 2 Nov 2020 19:04:22 +0000 (20:04 +0100)]
patch 8.2.1942: insufficient test coverage for the Netbeans interface
Problem: Insufficient test coverage for the Netbeans interface.
Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
closes #7240)
Bram Moolenaar [Sun, 1 Nov 2020 21:31:08 +0000 (22:31 +0100)]
patch 8.2.1941: Ex mode test fails on MS-Windows with GUI
Problem: Ex mode test fails on MS-Windows with GUI.
Solution: Skip the test when using gvim.
Bram Moolenaar [Sun, 1 Nov 2020 21:15:44 +0000 (22:15 +0100)]
patch 8.2.1940: Vim9: browse modifier test fails on Mac
Problem: Vim9: browse modifier test fails on Mac.
Solution: Only test when the +browse feature is available.
Bram Moolenaar [Sun, 1 Nov 2020 20:56:40 +0000 (21:56 +0100)]
patch 8.2.1939: invalid memory access in Ex mode with global command
Problem: Invalid memory access in Ex mode with global command.
Solution: Make sure the cursor is on a valid line. (closes #7238)
Bram Moolenaar [Sun, 1 Nov 2020 19:58:26 +0000 (20:58 +0100)]
patch 8.2.1938: wiping out a terminal buffer makes some tests fail
Problem: Wiping out a terminal buffer makes some tests fail.
Solution: Do not wipe out the terminal buffer unless wanted.
Bram Moolenaar [Sun, 1 Nov 2020 19:04:57 +0000 (20:04 +0100)]
patch 8.2.1937: Vim9: test for confirm modifier fails in some situations
Problem: Vim9: test for confirm modifier fails in some situations.
Solution: Add a short wait. Handle failure better.
Bram Moolenaar [Sun, 1 Nov 2020 16:40:54 +0000 (17:40 +0100)]
patch 8.2.1936: session sets the local 'scrolloff' value to the global value
Problem: Session sets the local 'scrolloff' value to the global value.
Solution: Do not let restoring the global option value change the local
value.
Bram Moolenaar [Sun, 1 Nov 2020 16:19:07 +0000 (17:19 +0100)]
patch 8.2.1935: sort test fails on Mac
Problem: Sort test fails on Mac.
Solution: Disable the sort test with locale on Mac.
Bram Moolenaar [Sun, 1 Nov 2020 16:03:37 +0000 (17:03 +0100)]
patch 8.2.1934: Vim9: command modifiers in :def function not tested
Problem: Vim9: command modifiers in :def function not tested.
Solution: Add tests. Fix using modifier before filter command.
Bram Moolenaar [Sun, 1 Nov 2020 12:57:44 +0000 (13:57 +0100)]
patch 8.2.1933: cannot sort using locale ordering
Problem: Cannot sort using locale ordering.
Solution: Add a flag for :sort and sort() to use the locale. (Dominique
Pellé, closes #7237)
Bram Moolenaar [Sun, 1 Nov 2020 12:33:49 +0000 (13:33 +0100)]
patch 8.2.1932: compiler warnings when building with Athena GUI
Problem: Compiler warnings when building with Athena GUI.
Solution: Fix function signatures.
Bram Moolenaar [Sat, 31 Oct 2020 18:33:38 +0000 (19:33 +0100)]
patch 8.2.1931: Vim9: arguments of extend() not checked at compile time
Problem: Vim9: arguments of extend() not checked at compile time.
Solution: Add argument type checking for extend().
Bram Moolenaar [Sat, 31 Oct 2020 15:33:47 +0000 (16:33 +0100)]
patch 8.2.1930: wrong input if removing shift results in special key code
Problem: Wrong input if removing shift results in special key code.
Solution: Handle special key codes. (closes #7189)
Bram Moolenaar [Sat, 31 Oct 2020 12:05:11 +0000 (13:05 +0100)]
patch 8.2.1929: MS-Windows: problem loading Perl 5.32
Problem: MS-Windows: problem loading Perl 5.32.
Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
Bram Moolenaar [Fri, 30 Oct 2020 20:49:40 +0000 (21:49 +0100)]
patch 8.2.1928: Vim9: "silent!" not effective when list index is wrong
Problem: Vim9: "silent!" not effective when list index is wrong.
Solution: Ignore list indes failure when emsg_silent is set. (closes #7232)
Bram Moolenaar [Fri, 30 Oct 2020 19:46:26 +0000 (20:46 +0100)]
patch 8.2.1927: Vim9: get unknown error with an error in a timer function
Problem: Vim9: get unknown error with an error in a timer function.
Solution: Use did_emsg instead of called_emsg. (closes #7231)
Bram Moolenaar [Fri, 30 Oct 2020 18:25:09 +0000 (19:25 +0100)]
patch 8.2.1926: cannot use a space in 'spellfile'
Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
Solution: Permit using a space. (closes #7230)
Bram Moolenaar [Fri, 30 Oct 2020 18:06:18 +0000 (19:06 +0100)]
patch 8.2.1925: list/dict test fails
Problem: List/dict test fails.
Solution: Correct expected exception.
Bram Moolenaar [Fri, 30 Oct 2020 17:33:02 +0000 (18:33 +0100)]
patch 8.2.1924: Vim9: crash when indexing dict with NULL key
Problem: Vim9: crash when indexing dict with NULL key.
Solution: Use empty string instead of NULL. (closes #7229) Make error
message more useful for empty string.
Bram Moolenaar [Thu, 29 Oct 2020 19:24:34 +0000 (20:24 +0100)]
patch 8.2.1923: Vim9: "filter" command modifier doesn't work
Problem: Vim9: "filter" command modifier doesn't work.
Solution: Check for space on char before argument. (closes #7216,
closes #7222)
Bram Moolenaar [Thu, 29 Oct 2020 19:08:21 +0000 (20:08 +0100)]
patch 8.2.1922: Win32: scrolling problems when part of window is off-screen
Problem: Win32: scrolling doesn't work properly when part of window is
off-screen.
Solution: Fall back to GDI scrolling if part of the window is off-screen.
Handle multi-monitor setup better. (Ken Takata, closes #7219)
Bram Moolenaar [Thu, 29 Oct 2020 17:58:01 +0000 (18:58 +0100)]
patch 8.2.1921: fuzzy matching does not recognize path separators
Problem: Fuzzy matching does not recognize path separators.
Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
closes #7225)
Bram Moolenaar [Wed, 28 Oct 2020 21:46:42 +0000 (22:46 +0100)]
patch 8.2.1920: listlbr test fails when run after another test
Problem: Listlbr test fails when run after another test.
Solution: Add test separately to list of test targets.
Bram Moolenaar [Wed, 28 Oct 2020 19:20:00 +0000 (20:20 +0100)]
patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution
Problem: Assert_fails() setting emsg_silent changes normal execution.
Solution: Use a separate flag in_assert_fails.
Bram Moolenaar [Wed, 28 Oct 2020 16:55:31 +0000 (17:55 +0100)]
patch 8.2.1918: Vim9: E1100 mentions :let
Problem: Vim9: E1100 mentions :let.
Solution: Mention "var". (closes #7207)
Bram Moolenaar [Wed, 28 Oct 2020 16:21:26 +0000 (17:21 +0100)]
patch 8.2.1917: no test for improved Man command
Problem: No test for improved Man command.
Solution: Test that shell arguments are properly escaped.
Bram Moolenaar [Wed, 28 Oct 2020 15:54:47 +0000 (16:54 +0100)]
patch 8.2.1916: Vim9: function call is aborted even when "silent!" is used
Problem: Vim9: function call is aborted even when "silent!" is used.
Solution: Use did_emsg instead of called_emsg. (closes #7213)
Bram Moolenaar [Wed, 28 Oct 2020 13:31:16 +0000 (14:31 +0100)]
patch 8.2.1915: Vim9: error for wrong number of arguments is not useful
Problem: Vim9: error for wrong number of arguments is not useful.
Solution: Mention whatever we have for the name. (closes #7208)
Bram Moolenaar [Wed, 28 Oct 2020 12:53:50 +0000 (13:53 +0100)]
patch 8.2.1914: Vim9: cannot put line break in expression for '=' register
Problem: Vim9: cannot put line break in expression for '=' register.
Solution: Pass fgetline to set_expr_line(). (closes #7209)
Bram Moolenaar [Tue, 27 Oct 2020 19:43:26 +0000 (20:43 +0100)]
patch 8.2.1913: GTK GUI: rounding for the cell height is too strict
Problem: GTK GUI: rounding for the cell height is too strict.
Solution: Round up above 15/16 of a pixel. (closes #7203)
Bram Moolenaar [Tue, 27 Oct 2020 18:59:10 +0000 (19:59 +0100)]
patch 8.2.1912: with Python 3.9 some tests fail
Problem: With Python 3.9 some tests fail.
Solution: Take into account the different error message. (James McCoy,
closes #7210)
Bram Moolenaar [Tue, 27 Oct 2020 08:12:45 +0000 (09:12 +0100)]
patch 8.2.1911: tiny build fails
Problem: Tiny build fails.
Solution: Add #ifdef.
Bram Moolenaar [Mon, 26 Oct 2020 20:39:13 +0000 (21:39 +0100)]
patch 8.2.1910: reading past the end of the command line
Problem: Reading past the end of the command line.
Solution: Check for NUL. (closes #7204)
Bram Moolenaar [Mon, 26 Oct 2020 20:12:46 +0000 (21:12 +0100)]
Update runtime files.
Bram Moolenaar [Mon, 26 Oct 2020 20:05:27 +0000 (21:05 +0100)]
patch 8.2.1909: number of status line items is limited to 80
Problem: Number of status line items is limited to 80.
Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
Bram Moolenaar [Mon, 26 Oct 2020 19:18:08 +0000 (20:18 +0100)]
patch 8.2.1908: Lua is initialized even when not used
Problem: Lua is initialized even when not used.
Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
closes #7191). Avoid compiler warnings.
Bram Moolenaar [Mon, 26 Oct 2020 18:22:42 +0000 (19:22 +0100)]
patch 8.2.1907: complete_info().selected may be wrong
Problem: Complete_info().selected may be wrong.
Solution: Update cp_number if it was never set. (issue #6945)
Bram Moolenaar [Mon, 26 Oct 2020 17:46:53 +0000 (18:46 +0100)]
patch 8.2.1906: warning for signed/unsigned
Problem: Warning for signed/unsigned.
Solution: Use size_t instead of int. (Mike Williams)
Bram Moolenaar [Sun, 25 Oct 2020 16:55:09 +0000 (17:55 +0100)]
patch 8.2.1905: the wininfo list may contain stale entries
Problem: The wininfo list may contain stale entries.
Solution: When closing a window remove any other entry where the window
pointer is NULL.
Bram Moolenaar [Sun, 25 Oct 2020 16:09:50 +0000 (17:09 +0100)]
patch 8.2.1904: still using default option values after using ":badd +1"
Problem: Still using default option values after using ":badd +1".
Solution: Find a window where options were set. Don't set the window when
using ":badd".
Bram Moolenaar [Sun, 25 Oct 2020 15:18:26 +0000 (16:18 +0100)]
patch 8.2.1903: buffer test fails with normal features
Problem: Buffer test fails with normal features.
Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
Bram Moolenaar [Sun, 25 Oct 2020 14:02:51 +0000 (15:02 +0100)]
patch 8.2.1902: default option values changed with :badd for existing buffer
Problem: Default option values are changed when using :badd for an existing
buffer.
Solution: When calling buflist_new() pass a zero line number. (closes #7195)
Bram Moolenaar [Sun, 25 Oct 2020 12:22:42 +0000 (13:22 +0100)]
patch 8.2.1901: variable completion does not work in command line window
Problem: Variable completion does not work in command line window.
Solution: Use the "prevwin". (closes #7198)
Bram Moolenaar [Sat, 24 Oct 2020 21:08:38 +0000 (23:08 +0200)]
patch 8.2.1900: Vim9: command modifiers do not work
Problem: Vim9: command modifiers do not work.
Solution: Make most command modifiers work.
Bram Moolenaar [Sat, 24 Oct 2020 18:58:06 +0000 (20:58 +0200)]
patch 8.2.1899: crash in out-of-memory situation
Problem: Crash in out-of-memory situation.
Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
Bram Moolenaar [Sat, 24 Oct 2020 18:49:43 +0000 (20:49 +0200)]
patch 8.2.1898: command modifier parsing always uses global cmdmod
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
Bram Moolenaar [Sat, 24 Oct 2020 15:19:16 +0000 (17:19 +0200)]
patch 8.2.1897: command modifiers are saved and set inconsistently
Problem: Command modifiers are saved and set inconsistently.
Solution: Separate parsing and applying command modifiers. Save values in
cmdmod_T.
Bram Moolenaar [Sat, 24 Oct 2020 11:30:51 +0000 (13:30 +0200)]
patch 8.2.1896: valgrind warns for using uninitialized memory
Problem: Valgrind warns for using uninitialized memory.
Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
Pellé, closes #7194)
Bram Moolenaar [Fri, 23 Oct 2020 16:51:06 +0000 (18:51 +0200)]
patch 8.2.1895: Vim9: silent command modifier test fails
Problem: Vim9: silent command modifier test fails.
Solution: Add missing changes.
Bram Moolenaar [Fri, 23 Oct 2020 16:02:32 +0000 (18:02 +0200)]
patch 8.2.1894: Vim9: command modifiers are not supported
Problem: Vim9: command modifiers are not supported.
Solution: Support "silent" and "silent!".
Bram Moolenaar [Fri, 23 Oct 2020 14:50:30 +0000 (16:50 +0200)]
patch 8.2.1893: fuzzy matching does not support multiple words
Problem: Fuzzy matching does not support multiple words.
Solution: Add support for matching white space separated words. (Yegappan
Lakshmanan, closes #7163)
Bram Moolenaar [Fri, 23 Oct 2020 13:40:39 +0000 (15:40 +0200)]
patch 8.2.1892: valgrind warns for using uninitialized access in tests
Problem: Valgrind warns for using uninitialized access in tests.
Solution: Fix condition for breaking out of loop. (Dominique Pellé,
closes #7187)
Bram Moolenaar [Thu, 22 Oct 2020 19:22:58 +0000 (21:22 +0200)]
patch 8.2.1891: Vim9: skipping over expression doesn't handle line breaks
Problem: Vim9: skipping over expression doesn't handle line breaks.
Solution: Pass evalarg to skip_expr(). (closes #7157)
Bram Moolenaar [Thu, 22 Oct 2020 18:09:43 +0000 (20:09 +0200)]
patch 8.2.1890: Vim9: strange error for subtracting from a list
Problem: Vim9: strange error for subtracting from a list.
Solution: Check getting a number, not a string. (closes #7167)
Bram Moolenaar [Thu, 22 Oct 2020 17:00:01 +0000 (19:00 +0200)]
patch 8.2.1889: Vim9: errornous error for missing white space after {}
Problem: Vim9: errornous error for missing white space after {}.
Solution: Don't skip over white space after {}. (issue #7167)
Bram Moolenaar [Thu, 22 Oct 2020 16:23:38 +0000 (18:23 +0200)]
patch 8.2.1888: Vim9: getbufline(-1, 1, '$') gives an error
Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
Solution: Return an empty list. (closes #7180)
Bram Moolenaar [Thu, 22 Oct 2020 15:33:17 +0000 (17:33 +0200)]
patch 8.2.1887: Github actions not optimally configured
Problem: Github actions not optimally configured.
Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
closes #7184)
Bram Moolenaar [Thu, 22 Oct 2020 11:44:54 +0000 (13:44 +0200)]
patch 8.2.1886: using ":silent!" in a popup filter has unexpected effect
Problem: Using ":silent!" in a popup filter has unexpected effect.
Solution: Use did_emsg instead of called_emsg. (closes #7178)
Bram Moolenaar [Thu, 22 Oct 2020 10:33:32 +0000 (12:33 +0200)]
patch 8.2.1885: filetype tests unnessarily creates swap files
Problem: Filetype tests unnessarily creates swap files.
Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
Bram Moolenaar [Thu, 22 Oct 2020 10:31:49 +0000 (12:31 +0200)]
patch 8.2.1884: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. (John Marriott)
Solution: Initialize with NULL.
Bram Moolenaar [Wed, 21 Oct 2020 19:01:59 +0000 (21:01 +0200)]
patch 8.2.1883: compiler warnings when using Python
Problem: Compiler warnings when using Python.
Solution: Adjust PyCFunction to also have the second argument. Use "int"
return type for some functions. Insert "(void *)" to get rid of
the remaining warnings.
Bram Moolenaar [Wed, 21 Oct 2020 18:58:52 +0000 (20:58 +0200)]
patch 8.2.1882: Vim9: v:disallow_let is no longer needed
Problem: Vim9: v:disallow_let is no longer needed.
Solution: Remove v:disallow_let.