]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.1962: netbeans may access freed memory v8.2.1962
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)

4 years agoCorrect list of patches.
Bram Moolenaar [Fri, 6 Nov 2020 11:03:08 +0000 (12:03 +0100)]
Correct list of patches.

4 years agopatch 8.2.1961: various comments can be improved v8.2.1961
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.

4 years agopatch 8.2.1960: warning for uninitialized variable v8.2.1960
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.

4 years agoUpdate runtime files
Bram Moolenaar [Thu, 5 Nov 2020 19:41:49 +0000 (20:41 +0100)]
Update runtime files

4 years agopatch 8.2.1959: crash when terminal buffer name is made empty v8.2.1959
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)

4 years agopatch 8.2.1958: build failure with timers v8.2.1958
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.

4 years agopatch 8.2.1957: diff and cursorcolumn highlighting don't mix v8.2.1957
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)

4 years agopatch 8.2.1956: Vim9: cannot specify argument types for lambda v8.2.1956
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.

4 years agopatch 8.2.1955: Vim9: not all command modifiers are tested v8.2.1955
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.

4 years agopatch 8.2.1954: Vim9: not all command modifiers are tested v8.2.1954
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.

4 years agopatch 8.2.1953: Vim9: extra "unknown" error after other error v8.2.1953
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()

4 years agopatch 8.2.1952: Vim9: crash when using a NULL dict key v8.2.1952
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)

4 years agopatch 8.2.1951: test for list and dict fails v8.2.1951
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.

4 years agopatch 8.2.1950: Vim9: crash when compiling function fails when getting type v8.2.1950
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)

4 years agopatch 8.2.1949: Vim9: using extend() on null dict is silently ignored v8.2.1949
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)

4 years agopatch 8.2.1948: GUI: crash when handling message while closing a window v8.2.1948
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)

4 years agopatch 8.2.1947: crash when using "zj" without folds v8.2.1947
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)

4 years agopatch 8.2.1946: sort() with NULL string not tested v8.2.1946
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)

4 years agopatch 8.2.1945: crash when passing NULL function to reduce() v8.2.1945
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)

4 years agopatch 8.2.1944: Netbeans test is flaky v8.2.1944
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)

4 years agopatch 8.2.1943: Vim9: wrong error message when colon is missing v8.2.1943
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)

4 years agopatch 8.2.1942: insufficient test coverage for the Netbeans interface v8.2.1942
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)

4 years agopatch 8.2.1941: Ex mode test fails on MS-Windows with GUI v8.2.1941
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.

4 years agopatch 8.2.1940: Vim9: browse modifier test fails on Mac v8.2.1940
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.

4 years agopatch 8.2.1939: invalid memory access in Ex mode with global command v8.2.1939
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)

4 years agopatch 8.2.1938: wiping out a terminal buffer makes some tests fail v8.2.1938
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.

4 years agopatch 8.2.1937: Vim9: test for confirm modifier fails in some situations v8.2.1937
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.

4 years agopatch 8.2.1936: session sets the local 'scrolloff' value to the global value v8.2.1936
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.

4 years agopatch 8.2.1935: sort test fails on Mac v8.2.1935
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.

4 years agopatch 8.2.1934: Vim9: command modifiers in :def function not tested v8.2.1934
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.

4 years agopatch 8.2.1933: cannot sort using locale ordering v8.2.1933
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)

4 years agopatch 8.2.1932: compiler warnings when building with Athena GUI v8.2.1932
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.

4 years agopatch 8.2.1931: Vim9: arguments of extend() not checked at compile time v8.2.1931
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().

4 years agopatch 8.2.1930: wrong input if removing shift results in special key code v8.2.1930
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)

4 years agopatch 8.2.1929: MS-Windows: problem loading Perl 5.32 v8.2.1929
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)

4 years agopatch 8.2.1928: Vim9: "silent!" not effective when list index is wrong v8.2.1928
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)

4 years agopatch 8.2.1927: Vim9: get unknown error with an error in a timer function v8.2.1927
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)

4 years agopatch 8.2.1926: cannot use a space in 'spellfile' v8.2.1926
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)

4 years agopatch 8.2.1925: list/dict test fails v8.2.1925
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.

4 years agopatch 8.2.1924: Vim9: crash when indexing dict with NULL key v8.2.1924
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.

4 years agopatch 8.2.1923: Vim9: "filter" command modifier doesn't work v8.2.1923
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)

4 years agopatch 8.2.1922: Win32: scrolling problems when part of window is off-screen v8.2.1922
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)

4 years agopatch 8.2.1921: fuzzy matching does not recognize path separators v8.2.1921
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)

4 years agopatch 8.2.1920: listlbr test fails when run after another test v8.2.1920
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.

4 years agopatch 8.2.1919: assert_fails() setting emsg_silent changes normal execution v8.2.1919
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.

4 years agopatch 8.2.1918: Vim9: E1100 mentions :let v8.2.1918
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)

4 years agopatch 8.2.1917: no test for improved Man command v8.2.1917
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.

4 years agopatch 8.2.1916: Vim9: function call is aborted even when "silent!" is used v8.2.1916
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)

4 years agopatch 8.2.1915: Vim9: error for wrong number of arguments is not useful v8.2.1915
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)

4 years agopatch 8.2.1914: Vim9: cannot put line break in expression for '=' register v8.2.1914
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)

4 years agopatch 8.2.1913: GTK GUI: rounding for the cell height is too strict v8.2.1913
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)

4 years agopatch 8.2.1912: with Python 3.9 some tests fail v8.2.1912
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)

4 years agopatch 8.2.1911: tiny build fails v8.2.1911
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.

4 years agopatch 8.2.1910: reading past the end of the command line v8.2.1910
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)

4 years agoUpdate runtime files.
Bram Moolenaar [Mon, 26 Oct 2020 20:12:46 +0000 (21:12 +0100)]
Update runtime files.

4 years agopatch 8.2.1909: number of status line items is limited to 80 v8.2.1909
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)

4 years agopatch 8.2.1908: Lua is initialized even when not used v8.2.1908
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.

4 years agopatch 8.2.1907: complete_info().selected may be wrong v8.2.1907
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)

4 years agopatch 8.2.1906: warning for signed/unsigned v8.2.1906
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)

4 years agopatch 8.2.1905: the wininfo list may contain stale entries v8.2.1905
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.

4 years agopatch 8.2.1904: still using default option values after using ":badd +1" v8.2.1904
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".

4 years agopatch 8.2.1903: buffer test fails with normal features v8.2.1903
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.

4 years agopatch 8.2.1902: default option values changed with :badd for existing buffer v8.2.1902
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)

4 years agopatch 8.2.1901: variable completion does not work in command line window v8.2.1901
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)

4 years agopatch 8.2.1900: Vim9: command modifiers do not work v8.2.1900
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.

4 years agopatch 8.2.1899: crash in out-of-memory situation v8.2.1899
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)

4 years agopatch 8.2.1898: command modifier parsing always uses global cmdmod v8.2.1898
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.

4 years agopatch 8.2.1897: command modifiers are saved and set inconsistently v8.2.1897
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.

4 years agopatch 8.2.1896: valgrind warns for using uninitialized memory v8.2.1896
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)

4 years agopatch 8.2.1895: Vim9: silent command modifier test fails v8.2.1895
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.

4 years agopatch 8.2.1894: Vim9: command modifiers are not supported v8.2.1894
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!".

4 years agopatch 8.2.1893: fuzzy matching does not support multiple words v8.2.1893
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)

4 years agopatch 8.2.1892: valgrind warns for using uninitialized access in tests v8.2.1892
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)

4 years agopatch 8.2.1891: Vim9: skipping over expression doesn't handle line breaks v8.2.1891
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)

4 years agopatch 8.2.1890: Vim9: strange error for subtracting from a list v8.2.1890
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)

4 years agopatch 8.2.1889: Vim9: errornous error for missing white space after {} v8.2.1889
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)

4 years agopatch 8.2.1888: Vim9: getbufline(-1, 1, '$') gives an error v8.2.1888
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)

4 years agopatch 8.2.1887: Github actions not optimally configured v8.2.1887
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)

4 years agopatch 8.2.1886: using ":silent!" in a popup filter has unexpected effect v8.2.1886
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)

4 years agopatch 8.2.1885: filetype tests unnessarily creates swap files v8.2.1885
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)

4 years agopatch 8.2.1884: compiler warning for uninitialized variable v8.2.1884
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.

4 years agopatch 8.2.1883: compiler warnings when using Python v8.2.1883
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.

4 years agopatch 8.2.1882: Vim9: v:disallow_let is no longer needed v8.2.1882
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.

4 years agopatch 8.2.1881: cannot build with GTK3 v8.2.1881
Bram Moolenaar [Wed, 21 Oct 2020 15:28:27 +0000 (17:28 +0200)]
patch 8.2.1881: cannot build with GTK3

Problem:    Cannot build with GTK3.
Solution:   Adjust form functions.

4 years agopatch 8.2.1880: Vim9: asan complains about adding zero to NULL v8.2.1880
Bram Moolenaar [Wed, 21 Oct 2020 14:49:17 +0000 (16:49 +0200)]
patch 8.2.1880: Vim9: asan complains about adding zero to NULL

Problem:    Vim9: Asan complains about adding zero to NULL.
Solution:   Check for argument count first.

4 years agopatch 8.2.1879: Vim9: argument types of insert() not checked when compiling v8.2.1879
Bram Moolenaar [Wed, 21 Oct 2020 14:42:22 +0000 (16:42 +0200)]
patch 8.2.1879: Vim9: argument types of insert() not checked when compiling

Problem:    Vim9: argument types of insert() not checked when compiling.
Solution:   Add argument type checks for insert().

4 years agopatch 8.2.1878: GTK: error for redefining function v8.2.1878
Bram Moolenaar [Wed, 21 Oct 2020 14:10:21 +0000 (16:10 +0200)]
patch 8.2.1878: GTK: error for redefining function

Problem:    GTK: error for redefining function. (Tony Mechelynck)
Solution:   Remove "gtk_" prefix from local functions and prepend "gui_" to
            global functions.

4 years agopatch 8.2.1877: test for function list fails v8.2.1877
Bram Moolenaar [Wed, 21 Oct 2020 12:49:08 +0000 (14:49 +0200)]
patch 8.2.1877: test for function list fails

Problem:    Test for function list fails.
Solution:   Move "obsolete" comments one line up.

4 years agopatch 8.2.1876: Vim9: argument types are not checked at compile time v8.2.1876
Bram Moolenaar [Wed, 21 Oct 2020 12:25:07 +0000 (14:25 +0200)]
patch 8.2.1876: Vim9: argument types are not checked at compile time

Problem:    Vim9: argument types for builtin functions are not checked at
            compile time.
Solution:   Add an argument type checking mechanism. Implement type checks for
            one function.

4 years agopatch 8.2.1875: warning when building GTK gui v8.2.1875
Bram Moolenaar [Wed, 21 Oct 2020 10:38:00 +0000 (12:38 +0200)]
patch 8.2.1875: warning when building GTK gui

Problem:    Warning when building GTK gui.
Solution:   Add missing function parameter.

4 years agopatch 8.2.1874: can't do something just before leaving Insert mode v8.2.1874
Bram Moolenaar [Wed, 21 Oct 2020 10:19:53 +0000 (12:19 +0200)]
patch 8.2.1874: can't do something just before leaving Insert mode

Problem:    Can't do something just before leaving Insert mode.
Solution:   Add the InsertLeavePre autocommand event. (closes #7177)

4 years agopatch 8.2.1873: Vim9: missing white space when using <f-args> v8.2.1873
Bram Moolenaar [Tue, 20 Oct 2020 21:11:33 +0000 (23:11 +0200)]
patch 8.2.1873: Vim9: missing white space when using <f-args>

Problem:    Vim9: missing white space when using <f-args>.
Solution:   Add spaces. (Christian J. Robinson)

4 years agopatch 8.2.1872: matchfuzzy() does not prefer sequential matches v8.2.1872
Bram Moolenaar [Tue, 20 Oct 2020 17:01:30 +0000 (19:01 +0200)]
patch 8.2.1872: matchfuzzy() does not prefer sequential matches

Problem:    Matchfuzzy() does not prefer sequential matches.
Solution:   Give sequential matches a higher bonus. (Christian Brabandt,
            closes #7140)

4 years agopatch 8.2.1871: using %v in 'errorformat' may fail before %Z v8.2.1871
Bram Moolenaar [Tue, 20 Oct 2020 12:59:12 +0000 (14:59 +0200)]
patch 8.2.1871: using %v in 'errorformat' may fail before %Z

Problem:    Using %v in 'errorformat' may fail before %Z.
Solution:   Set qf_viscol only when qf_col is set. (closes #7169)

4 years agopatch 8.2.1870: Vim9: no need to keep all script variables v8.2.1870
Bram Moolenaar [Tue, 20 Oct 2020 12:25:07 +0000 (14:25 +0200)]
patch 8.2.1870: Vim9: no need to keep all script variables

Problem:    Vim9: no need to keep all script variables.
Solution:   Only keep script variables when a function was defined that could
            use them.  Fix freeing static string on exit.

4 years agopatch 8.2.1869: Vim9: memory leak when using add() v8.2.1869
Bram Moolenaar [Mon, 19 Oct 2020 21:01:46 +0000 (23:01 +0200)]
patch 8.2.1869: Vim9: memory leak when using add()

Problem:    Vim9: memory leak when using add().
Solution:   Free the added item.

4 years agopatch 8.2.1868: Vim9: no error for missing space after comma in dict v8.2.1868
Bram Moolenaar [Mon, 19 Oct 2020 19:45:07 +0000 (21:45 +0200)]
patch 8.2.1868: Vim9: no error for missing space after comma in dict

Problem:    Vim9: no error for missing space after comma in dict.
Solution:   Check for white space. (closes #6672)

4 years agopatch 8.2.1867: Vim9: argument to add() not checked for blob v8.2.1867
Bram Moolenaar [Mon, 19 Oct 2020 18:45:36 +0000 (20:45 +0200)]
patch 8.2.1867: Vim9: argument to add() not checked for blob

Problem:    Vim9: argument to add() not checked for blob.
Solution:   Add the BLOBAPPEND instruction.

4 years agopatch 8.2.1866: Vim9: appending to pushed blob gives wrong result v8.2.1866
Bram Moolenaar [Mon, 19 Oct 2020 18:21:03 +0000 (20:21 +0200)]
patch 8.2.1866: Vim9: appending to pushed blob gives wrong result

Problem:    Vim9: appending to pushed blob gives wrong result.
Solution:   Set ga_maxlen when copying a blob.