]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.2009: MS-Windows: setting $LANG in gvimext only causes problems v8.2.2009
Bram Moolenaar [Wed, 18 Nov 2020 14:30:09 +0000 (15:30 +0100)]
patch 8.2.2009: MS-Windows: setting $LANG in gvimext only causes problems

Problem:    MS-Windows: setting $LANG in gvimext only causes problems.
Solution:   Do not set $LANG. (Ken Takata, closes #7325)

4 years agopatch 8.2.2008: MS-Windows GUI: handling channel messages lags v8.2.2008
Bram Moolenaar [Wed, 18 Nov 2020 14:21:50 +0000 (15:21 +0100)]
patch 8.2.2008: MS-Windows GUI: handling channel messages lags

Problem:    MS-Windows GUI: handling channel messages lags.
Solution:   Reduce the wait time from 100 to 10 msec. (closes #7097)

4 years agopatch 8.2.2007: test for insert mode in popup is not reliable v8.2.2007
Bram Moolenaar [Wed, 18 Nov 2020 11:24:01 +0000 (12:24 +0100)]
patch 8.2.2007: test for insert mode in popup is not reliable

Problem:    Test for insert mode in popup is not reliable.
Solution:   Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)

4 years agopatch 8.2.2006: .pbtxt files are not recognized v8.2.2006
Bram Moolenaar [Wed, 18 Nov 2020 11:12:39 +0000 (12:12 +0100)]
patch 8.2.2006: .pbtxt files are not recognized

Problem:    .pbtxt files are not recognized.
Solution:   Recognize .pbtxt as protobuf text buffers. (closes #7326)

4 years agopatch 8.2.2005: redoing a mapping with <Cmd> doesn't work properly v8.2.2005
Bram Moolenaar [Wed, 18 Nov 2020 10:34:37 +0000 (11:34 +0100)]
patch 8.2.2005: redoing a mapping with <Cmd> doesn't work properly

Problem:    Redoing a mapping with <Cmd> doesn't work properly.
Solution:   Fill the redo buffer.  Use "<SNR>" instead of a key code.
            (closes #7282)

4 years agopatch 8.2.2004: compiler warning for uninitialized variable v8.2.2004
Bram Moolenaar [Tue, 17 Nov 2020 18:56:09 +0000 (19:56 +0100)]
patch 8.2.2004: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize "ufunc". (John Marriott)

4 years agopatch 8.2.2003: build error with +conceal but without +popupwin v8.2.2003
Bram Moolenaar [Tue, 17 Nov 2020 18:22:06 +0000 (19:22 +0100)]
patch 8.2.2003: build error with +conceal but without +popupwin

Problem:    Build error with +conceal but without +popupwin.
Solution:   Add #ifdef. (Tom Ryder, closes #7316)

4 years agopatch 8.2.2002: Vim9: lambda argument shadowed by function name v8.2.2002
Bram Moolenaar [Tue, 17 Nov 2020 17:50:44 +0000 (18:50 +0100)]
patch 8.2.2002: Vim9: lambda argument shadowed by function name

Problem:    Vim9: lambda argument shadowed by function name.
Solution:   Let function name be shadowed by lambda argument. (closes #7313)

4 years agopatch 8.2.2001: Vim9: :def function does not apply 'maxfuncdepth' v8.2.2001
Bram Moolenaar [Tue, 17 Nov 2020 17:23:19 +0000 (18:23 +0100)]
patch 8.2.2001: Vim9: :def function does not apply 'maxfuncdepth'

Problem:    Vim9: :def function does not apply 'maxfuncdepth'.
Solution:   Use 'maxfuncdepth'. (issue #7313)

4 years agopatch 8.2.2000: Vim9: dict.key assignment not implemented yet v8.2.2000
Bram Moolenaar [Mon, 16 Nov 2020 21:11:49 +0000 (22:11 +0100)]
patch 8.2.2000: Vim9: dict.key assignment not implemented yet

Problem:    Vim9: dict.key assignment not implemented yet.
Solution:   Implement dict.key assignment. (closes #7312)

4 years agopatch 8.2.1999: terminal popup test sometimes fails v8.2.1999
Bram Moolenaar [Mon, 16 Nov 2020 20:10:34 +0000 (21:10 +0100)]
patch 8.2.1999: terminal popup test sometimes fails

Problem:    Terminal popup test sometimes fails.
Solution:   Wait for the popup to close.

4 years agopatch 8.2.1998: terminal Cmd test sometimes fails to close popup v8.2.1998
Bram Moolenaar [Mon, 16 Nov 2020 20:02:28 +0000 (21:02 +0100)]
patch 8.2.1998: terminal Cmd test sometimes fails to close popup

Problem:    Terminal Cmd test sometimes fails to close popup.
Solution:   Add "term_finish" option.

4 years agopatch 8.2.1997: window changes when using bufload() while in a terminal popup v8.2.1997
Bram Moolenaar [Mon, 16 Nov 2020 19:47:31 +0000 (20:47 +0100)]
patch 8.2.1997: window changes when using bufload() while in a terminal popup

Problem:    Window changes when using bufload() while in a terminal popup.
Solution:   When searching for a window by ID also find a popup window.
            (closes #7307)

4 years agopatch 8.2.1996: Vim9: invalid error for argument of extend() v8.2.1996
Bram Moolenaar [Mon, 16 Nov 2020 19:08:35 +0000 (20:08 +0100)]
patch 8.2.1996: Vim9: invalid error for argument of extend()

Problem:    Vim9: invalid error for argument of extend().
Solution:   Check if the type could match. (closes #7299)

4 years agopatch 8.2.1995: the popup menu can cause too much redrawing v8.2.1995
Bram Moolenaar [Mon, 16 Nov 2020 18:12:00 +0000 (19:12 +0100)]
patch 8.2.1995: the popup menu can cause too much redrawing

Problem:    The popup menu can cause too much redrawing.
Solution:   Reduce the length of the displayed text. (Yasuhiro Matsumoto,
            closes #7306)

4 years agopatch 8.2.1994: MS-Windows: MinGW always does a full build v8.2.1994
Bram Moolenaar [Mon, 16 Nov 2020 17:49:47 +0000 (18:49 +0100)]
patch 8.2.1994: MS-Windows: MinGW always does a full build

Problem:    MS-Windows: MinGW always does a full build.
Solution:   Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)

4 years agopatch 8.2.1993: occasional failure of the netbeans test v8.2.1993
Bram Moolenaar [Mon, 16 Nov 2020 17:39:43 +0000 (18:39 +0100)]
patch 8.2.1993: occasional failure of the netbeans test

Problem:    Occasional failure of the netbeans test.
Solution:   Add "silent!". (Yegappan Lakshmanan, closes #7304)

4 years agopatch 8.2.1992: build fails with small features v8.2.1992
Bram Moolenaar [Sun, 15 Nov 2020 20:11:18 +0000 (21:11 +0100)]
patch 8.2.1992: build fails with small features

Problem:    Build fails with small features.
Solution:   Add #ifdef.

4 years agopatch 8.2.1991: Coverity warns for not using the ga_grow() return value v8.2.1991
Bram Moolenaar [Sun, 15 Nov 2020 19:49:41 +0000 (20:49 +0100)]
patch 8.2.1991: Coverity warns for not using the ga_grow() return value

Problem:    Coverity warns for not using the ga_grow() return value.
Solution:   Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)

4 years agopatch 8.2.1990: cursor position wrong in terminal popup with finished job v8.2.1990
Bram Moolenaar [Sun, 15 Nov 2020 19:32:58 +0000 (20:32 +0100)]
patch 8.2.1990: cursor position wrong in terminal popup with finished job

Problem:    Cursor position wrong in terminal popup with finished job.
Solution:   Only add the top and left offset when not done already.
            (closes #7298)

4 years agopatch 8.2.1989: info popup triggers WinEnter and WinLeave autocommands v8.2.1989
Bram Moolenaar [Sun, 15 Nov 2020 13:09:37 +0000 (14:09 +0100)]
patch 8.2.1989: info popup triggers WinEnter and WinLeave autocommands

Problem:    Info popup triggers WinEnter and WinLeave autocommands.
Solution:   Suppress autocommands for the info popup. (closes #7296)

4 years agopatch 8.2.1988: still in Insert mode when opening terminal popup v8.2.1988
Bram Moolenaar [Sat, 14 Nov 2020 20:34:59 +0000 (21:34 +0100)]
patch 8.2.1988: still in Insert mode when opening terminal popup

Problem:    Still in Insert mode when opening terminal popup with a <Cmd>
            mapping in Insert mode.
Solution:   Exit Insert mode. (closes #7295)

4 years agopatch 8.2.1987: MS-Windows: Win32.mak is no longer needed v8.2.1987
Bram Moolenaar [Sat, 14 Nov 2020 20:04:33 +0000 (21:04 +0100)]
patch 8.2.1987: MS-Windows: Win32.mak is no longer needed

Problem:    MS-Windows: Win32.mak is no longer needed.
Solution:   Do not include Win32.mak. (Jason McHugh, closes #7290)

4 years agopatch 8.2.1986: expression test is flaky on Appveyor v8.2.1986
Bram Moolenaar [Sat, 14 Nov 2020 19:57:20 +0000 (20:57 +0100)]
patch 8.2.1986: expression test is flaky on Appveyor

Problem:    Expression test is flaky on Appveyor.
Solution:   Temporarily disable the test in MS-Windows.

4 years agopatch 8.2.1985: crash when closing terminal popup with <Cmd> mapping v8.2.1985
Bram Moolenaar [Sat, 14 Nov 2020 19:21:55 +0000 (20:21 +0100)]
patch 8.2.1985: crash when closing terminal popup with <Cmd> mapping

Problem:    Crash when closing terminal popup with <Cmd> mapping.
Solution:   Check b_term is not NULL. (closes #7294)

4 years agopatch 8.2.1984: cannot use :vimgrep in omni completion v8.2.1984
Bram Moolenaar [Sat, 14 Nov 2020 16:25:51 +0000 (17:25 +0100)]
patch 8.2.1984: cannot use :vimgrep in omni completion

Problem:    Cannot use :vimgrep in omni completion, causing C completion to
            fail.
Solution:   Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)

4 years agopatch 8.2.1983: ml_get error when using <Cmd> to open a terminal v8.2.1983
Bram Moolenaar [Sat, 14 Nov 2020 13:22:28 +0000 (14:22 +0100)]
patch 8.2.1983: ml_get error when using <Cmd> to open a terminal

Problem:    ml_get error when using <Cmd> to open a terminal.
Solution:   If the window changed reset the incsearch state. (closes #7289)

4 years agopatch 8.2.1982: quickfix window now updated when adding invalid entries v8.2.1982
Bram Moolenaar [Sat, 14 Nov 2020 12:15:24 +0000 (13:15 +0100)]
patch 8.2.1982: quickfix window now updated when adding invalid entries

Problem:    Quickfix window now updated when adding invalid entries.
Solution:   Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
            #7291, closes #7271)

4 years agopatch 8.2.1981: MinGW: parallel compilation might fail v8.2.1981
Bram Moolenaar [Fri, 13 Nov 2020 16:47:33 +0000 (17:47 +0100)]
patch 8.2.1981: MinGW: parallel compilation might fail

Problem:    MinGW: parallel compilation might fail.
Solution:   Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)

4 years agopatch 8.2.1980: Vim9: some tests are not done at the script level v8.2.1980
Bram Moolenaar [Thu, 12 Nov 2020 19:16:39 +0000 (20:16 +0100)]
patch 8.2.1980: Vim9: some tests are not done at the script level

Problem:    Vim9: some tests are not done at the script level.
Solution:   Use CheckDefAndScriptSuccess() in more places.  Fix uncovered
            problems.

4 years agopatch 8.2.1979: "term_opencmd" option of term_start() is truncated v8.2.1979
Bram Moolenaar [Thu, 12 Nov 2020 14:12:15 +0000 (15:12 +0100)]
patch 8.2.1979: "term_opencmd" option of term_start() is truncated

Problem:    "term_opencmd" option of term_start() is truncated. (Sergey
            Vlasov)
Solution:   Allocate the buffer to hold the command. (closes #7284)

4 years agopatch 8.2.1978: making a mapping work in all modes is complicated v8.2.1978
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)

4 years agopatch 8.2.1977: Vim9: error for using a string in a condition is confusing v8.2.1977
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 &&.

4 years agopatch 8.2.1976: cannot backspace in prompt buffer after using cursor-left v8.2.1976
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)

4 years agopatch 8.2.1975: Win32: memory leak when encoding conversion fails v8.2.1975
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)

4 years agopatch 8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL v8.2.1974
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)

4 years agopatch 8.2.1973: finding a patch number can be a bit slow v8.2.1973
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)

4 years agopatch 8.2.1972: crash when recreating nested fold v8.2.1972
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)

4 years agopatch 8.2.1971: memory leak when map() fails v8.2.1971
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.

4 years agopatch 8.2.1970: it is easy to make mistakes when cleaning up swap files v8.2.1970
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)

4 years agopatch 8.2.1969: Vim9: map() may change the list or dict item type v8.2.1969
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().

4 years agopatch 8.2.1968: Vim9: has() assumes a feature does not change dynamically v8.2.1968
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)

4 years agopatch 8.2.1967: the session file does not restore the alternate file v8.2.1967
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)

4 years agopatch 8.2.1966: popup becomes current window after closing a terminal window v8.2.1966
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)

4 years agopatch 8.2.1965: Vim9: tests fail without the channel feature v8.2.1965
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)

4 years agopatch 8.2.1964: not all ConTeXt files are recognized v8.2.1964
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)

4 years agopatch 8.2.1963: crash when using a popup window with "latin1" encoding v8.2.1963
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)

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)