]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0394: Cygwin: multibyte characters may be broken in terminal window v9.0.0394
K.Takata [Tue, 6 Sep 2022 10:26:56 +0000 (11:26 +0100)]
patch 9.0.0394: Cygwin: multibyte characters may be broken in terminal window

Problem:    Cygwin: multibyte characters may be broken in terminal window.
Solution:   Adjust how to read and write on the channel. (Ken Takata,
            closes #11063)

2 years agopatch 9.0.0393: signals test often fails on FreeBSD v9.0.0393
K.Takata [Tue, 6 Sep 2022 09:56:19 +0000 (10:56 +0100)]
patch 9.0.0393: signals test often fails on FreeBSD

Problem:    Signals test often fails on FreeBSD.
Solution:   Use separate files for Suspend and Resume. (Ken Takata,
            closes #11065)

2 years agopatch 9.0.0392: inverted condition is a bit confusing v9.0.0392
K.Takata [Mon, 5 Sep 2022 20:45:11 +0000 (21:45 +0100)]
patch 9.0.0392: inverted condition is a bit confusing

Problem:    Inverted condition is a bit confusing.
Solution:   Remove the "!" and swap the blocks. (Ken Takata)

2 years agopatch 9.0.0391: using separate delete() call instead of writefile() 'D' flag v9.0.0391
Bram Moolenaar [Mon, 5 Sep 2022 20:40:44 +0000 (21:40 +0100)]
patch 9.0.0391: using separate delete() call instead of writefile() 'D' flag

Problem:    Using separate delete() call instead of writefile() 'D' flag.
Solution:   Use the writefile 'D' flag.

2 years agopatch 9.0.0390: cannot use a partial with :defer v9.0.0390
Bram Moolenaar [Mon, 5 Sep 2022 20:21:25 +0000 (21:21 +0100)]
patch 9.0.0390: cannot use a partial with :defer

Problem:    Cannot use a partial with :defer.
Solution:   Add the partial arguments before the other arguments.  Disallow
            using a dictionary.

2 years agopatch 9.0.0389: crash when 'tagfunc' closes the window v9.0.0389
Bram Moolenaar [Mon, 5 Sep 2022 18:51:13 +0000 (19:51 +0100)]
patch 9.0.0389: crash when 'tagfunc' closes the window

Problem:    Crash when 'tagfunc' closes the window.
Solution:   Bail out when the window was closed.

2 years agopatch 9.0.0388: the do_arg_all() function is too long v9.0.0388
Yegappan Lakshmanan [Mon, 5 Sep 2022 17:27:47 +0000 (18:27 +0100)]
patch 9.0.0388: the do_arg_all() function is too long

Problem:    The do_arg_all() function is too long.
Solution:   Split the function in smaller parts. (Yegappan Lakshmanan,
            closes #11062)

2 years agopatch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script context v9.0.0387
Bram Moolenaar [Mon, 5 Sep 2022 15:53:21 +0000 (16:53 +0100)]
patch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script context

Problem:    repeating a <ScriptCmd> mapping does not use the right script
            context.
Solution:   When using a mapping put <SID>{sid}; in the redo buffer.
            (closes #11049)

2 years agopatch 9.0.0386: some code blocks are nested too deep v9.0.0386
Yegappan Lakshmanan [Mon, 5 Sep 2022 13:33:47 +0000 (14:33 +0100)]
patch 9.0.0386: some code blocks are nested too deep

Problem:    Some code blocks are nested too deep.
Solution:   Bail out earlier. (Yegappan Lakshmanan, closes #11058)

2 years agopatch 9.0.0385: GUI: when CTRL-D is mapped in Insert mode it gets inserted v9.0.0385
zeertzjq [Mon, 5 Sep 2022 12:05:29 +0000 (13:05 +0100)]
patch 9.0.0385: GUI: when CTRL-D is mapped in Insert mode it gets inserted

Problem:    GUI: when CTRL-D is mapped in Insert mode it gets inserted.
            (Yasuhiro Matsumoto)
Solution:   Also recognize modifier starting with CSI. (closes #11057)

2 years agopatch 9.0.0384: Covertity still complains about using return value of getc() v9.0.0384
Bram Moolenaar [Mon, 5 Sep 2022 10:04:14 +0000 (11:04 +0100)]
patch 9.0.0384: Covertity still complains about using return value of getc()

Problem:    Covertity still complains about using return value of getc().
Solution:   Check for EOF.

2 years agopatch 9.0.0383: Coverity complains about unused value v9.0.0383
Bram Moolenaar [Mon, 5 Sep 2022 09:55:27 +0000 (10:55 +0100)]
patch 9.0.0383: Coverity complains about unused value

Problem:    Coverity complains about unused value.
Solution:   Use the value.

2 years agopatch 9.0.0382: freeing the wrong string on failure v9.0.0382
Bram Moolenaar [Mon, 5 Sep 2022 09:47:13 +0000 (10:47 +0100)]
patch 9.0.0382: freeing the wrong string on failure

Problem:    Freeing the wrong string on failure.
Solution:   Adjust the argument.  Reorder the code.

2 years agopatch 9.0.0381: writefile test leaves files behind v9.0.0381
Dominique Pelle [Sun, 4 Sep 2022 20:29:46 +0000 (21:29 +0100)]
patch 9.0.0381: writefile test leaves files behind

Problem:    Writefile test leaves files behind.
Solution:   Fix the file names of files to be deleted. (Dominique Pellé,
            closes #11056)

2 years agopatch 9.0.0380: deleting files in tests is a hassle
Bram Moolenaar [Sun, 4 Sep 2022 20:29:08 +0000 (21:29 +0100)]
patch 9.0.0380: deleting files in tests is a hassle

Problem:    Deleting files in tests is a hassle.
Solution:   Use the new 'D' flag of writefile().

2 years agoRevert part of patch merged twice
Bram Moolenaar [Sun, 4 Sep 2022 17:22:16 +0000 (18:22 +0100)]
Revert part of patch merged twice

2 years agopatch 9.0.0380: deleting files in tests is a hassle v9.0.0380
Bram Moolenaar [Sun, 4 Sep 2022 17:10:11 +0000 (18:10 +0100)]
patch 9.0.0380: deleting files in tests is a hassle

Problem:    Deleting files in tests is a hassle.
Solution:   Use the new 'D' flag of writefile().

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 4 Sep 2022 16:45:43 +0000 (17:45 +0100)]
Update runtime files

2 years agopatch 9.0.0379: cleaning up after writefile() is a hassle v9.0.0379
Bram Moolenaar [Sun, 4 Sep 2022 14:40:36 +0000 (15:40 +0100)]
patch 9.0.0379: cleaning up after writefile() is a hassle

Problem:    Cleaning up after writefile() is a hassle.
Solution:   Add the 'D' flag to defer deleting the written file.  Very useful
            in tests.

2 years agopatch 9.0.0378: compiler warning for uninitialized variable v9.0.0378
Bram Moolenaar [Sun, 4 Sep 2022 12:45:15 +0000 (13:45 +0100)]
patch 9.0.0378: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.

2 years agopatch 9.0.0377: argument assignment does not work v9.0.0377
Bram Moolenaar [Sun, 4 Sep 2022 12:41:37 +0000 (13:41 +0100)]
patch 9.0.0377: argument assignment does not work

Problem:    Argument assignment does not work.
Solution:   Skip over "=".

2 years agopatch 9.0.0376: clang warns for dead assignments v9.0.0376
Yegappan Lakshmanan [Sun, 4 Sep 2022 11:47:21 +0000 (12:47 +0100)]
patch 9.0.0376: clang warns for dead assignments

Problem:    Clang warns for dead assignments.
Solution:   Adjust the code. (Yegappan Lakshmanan, closes #11048)

2 years agopatch 9.0.0375: the footer feature is unused v9.0.0375
Bram Moolenaar [Sun, 4 Sep 2022 11:29:28 +0000 (12:29 +0100)]
patch 9.0.0375: the footer feature is unused

Problem:    The footer feature is unused.
Solution:   Remove FEAT_FOOTER and code.

2 years agopatch 9.0.0374: Coverity still complains about dropping sign of character v9.0.0374
Bram Moolenaar [Sun, 4 Sep 2022 10:55:19 +0000 (11:55 +0100)]
patch 9.0.0374: Coverity still complains about dropping sign of character

Problem:    Coverity still complains about dropping sign of character.
Solution:   Add intermediate variable.

2 years agopatch 9.0.0373: Coverity warns for NULL check and unused return value v9.0.0373
Bram Moolenaar [Sun, 4 Sep 2022 10:42:22 +0000 (11:42 +0100)]
patch 9.0.0373: Coverity warns for NULL check and unused return value

Problem:    Coverity warns for NULL check and unused return value.
Solution:   Remove the NULL check, it was already checked earlier.  Add (void)
            to ignore the return value.

2 years agopatch 9.0.0372: MS-Windows: "%T" time format does not appear to work v9.0.0372
Bram Moolenaar [Sat, 3 Sep 2022 21:08:11 +0000 (22:08 +0100)]
patch 9.0.0372: MS-Windows: "%T" time format does not appear to work

Problem:    MS-Windows: "%T" time format does not appear to work.
Solution:   Use "%H:%M:%S" instead.

2 years agopatch 9.0.0371: compiler warning for uninitialized variable v9.0.0371
Bram Moolenaar [Sat, 3 Sep 2022 20:53:28 +0000 (21:53 +0100)]
patch 9.0.0371: compiler warning for uninitialized variable

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

2 years agopatch 9.0.0370: cleaning up afterwards can make a function messy v9.0.0370
Bram Moolenaar [Sat, 3 Sep 2022 20:35:53 +0000 (21:35 +0100)]
patch 9.0.0370: cleaning up afterwards can make a function messy

Problem:    Cleaning up afterwards can make a function messy.
Solution:   Add the :defer command.

2 years agopatch 9.0.0369: a failing flaky test doesn't mention the time v9.0.0369
Bram Moolenaar [Sat, 3 Sep 2022 12:58:47 +0000 (13:58 +0100)]
patch 9.0.0369: a failing flaky test doesn't mention the time

Problem:    A failing flaky test doesn't mention the time.
Solution:   Add the time for debugging.  Improve error message.

2 years agopatch 9.0.0368: old Coverity warning for using NULL pointer v9.0.0368
Bram Moolenaar [Sat, 3 Sep 2022 11:59:19 +0000 (12:59 +0100)]
patch 9.0.0368: old Coverity warning for using NULL pointer

Problem:    Old Coverity warning for using NULL pointer.
Solution:   Bail out if dictionary allocation fails.

2 years agopatch 9.0.0367: Coverity complains about dropping sign of character v9.0.0367
Bram Moolenaar [Sat, 3 Sep 2022 11:53:20 +0000 (12:53 +0100)]
patch 9.0.0367: Coverity complains about dropping sign of character

Problem:    Coverity complains about dropping sign of character.
Solution:   Add explicit type cast.

2 years agopatch 9.0.0366: cannot use import->Func() in lambda v9.0.0366
Bram Moolenaar [Sat, 3 Sep 2022 11:09:07 +0000 (12:09 +0100)]
patch 9.0.0366: cannot use import->Func() in lambda

Problem:    Cannot use import->Func() in lambda. (Israel Chauca Fuentes)
Solution:   Adjust how an expression in a lambda is parsed. (closes #11042)

2 years agopatch 9.0.0365: file name used in test is unusual v9.0.0365
Dominique Pelle [Sat, 3 Sep 2022 09:59:32 +0000 (10:59 +0100)]
patch 9.0.0365: file name used in test is unusual

Problem:    File name used in test is unusual.
Solution:   Rename it. (Dominique Pellé, closes #11044)

2 years agopatch 9.0.0364: clang static analyzer gives warnings v9.0.0364
Yegappan Lakshmanan [Sat, 3 Sep 2022 09:52:24 +0000 (10:52 +0100)]
patch 9.0.0364: clang static analyzer gives warnings

Problem:    Clang static analyzer gives warnings.
Solution:   Avoid the warnings. (Yegappan Lakshmanan, closes #11043)

2 years agopatch 9.0.0363: common names in test files causes tests to be flaky v9.0.0363
Bram Moolenaar [Fri, 2 Sep 2022 20:55:50 +0000 (21:55 +0100)]
patch 9.0.0363: common names in test files causes tests to be flaky

Problem:    Common names in test files causes tests to be flaky.
Solution:   Use more specific names.

2 years agopatch 9.0.0362: expanding ":e %" does not work for remote files v9.0.0362
Bram Moolenaar [Fri, 2 Sep 2022 18:45:15 +0000 (19:45 +0100)]
patch 9.0.0362: expanding ":e %" does not work for remote files

Problem:    Expanding ":e %" does not work for remote files.
Solution:   If the "%" or "#" file does not exist add the expansion anyway.

2 years agopatch 9.0.0361: removing a listener may result in a memory leak v9.0.0361
Yegappan Lakshmanan [Fri, 2 Sep 2022 16:12:07 +0000 (17:12 +0100)]
patch 9.0.0361: removing a listener may result in a memory leak

Problem:    Removing a listener may result in a memory leak and remove
            subsequent listerns.
Solution:   Init the "prev" pointer only once. (Yegappan Lakshmanan,
            closes #11039)

2 years agopatch 9.0.0360: crash when invalid line number on :for is ignored v9.0.0360
Bram Moolenaar [Fri, 2 Sep 2022 15:47:16 +0000 (16:47 +0100)]
patch 9.0.0360: crash when invalid line number on :for is ignored

Problem:    Crash when invalid line number on :for is ignored.
Solution:   Do not check breakpoint for non-existing line.

2 years agopatch 9.0.0359: error message for wrong argument type is not specific v9.0.0359
Yegappan Lakshmanan [Fri, 2 Sep 2022 14:15:27 +0000 (15:15 +0100)]
patch 9.0.0359: error message for wrong argument type is not specific

Problem:    Error message for wrong argument type is not specific.
Solution:   Include more information in the error. (Yegappan Lakshmanan,
            closes #11037)

2 years agopatch 9.0.0358: 'breakindent' does not indent non-lists v9.0.0358
Maxim Kim [Fri, 2 Sep 2022 13:08:53 +0000 (14:08 +0100)]
patch 9.0.0358: 'breakindent' does not indent non-lists

Problem:    'breakindent' does not indent non-lists with
            "breakindentopt=list:-1".
Solution:   Adjust indent computation. (Maxim Kim, closes #11038)

2 years agopatch 9.0.0357: 'linebreak' interferes with text property highlight v9.0.0357
Bram Moolenaar [Fri, 2 Sep 2022 12:26:29 +0000 (13:26 +0100)]
patch 9.0.0357: 'linebreak' interferes with text property highlight

Problem:    'linebreak' interferes with text property highlight if there is
            syntax highlighting.
Solution:   Check the text prop attributes after combining with syntax
            attributes. (closes #11035)

2 years agopatch 9.0.0356: :echowindow sets the in_echowindow flag too early v9.0.0356
Yasuhiro Matsumoto [Fri, 2 Sep 2022 11:16:21 +0000 (12:16 +0100)]
patch 9.0.0356: :echowindow sets the in_echowindow flag too early

Problem:    :echowindow sets the in_echowindow flag too early.
Solution:   Set in_echowindow only when outputting the text. (Yasuhiro
            Matsumoto, closes #11033)

2 years agopatch 9.0.0355: check for uppercase char in autoload name is wrong v9.0.0355
thinca [Fri, 2 Sep 2022 10:25:37 +0000 (11:25 +0100)]
patch 9.0.0355: check for uppercase char in autoload name is wrong

Problem:    Check for uppercase char in autoload name is wrong, it checks the
            name of the script.
Solution:   Remove the check. (closes #11031)

2 years agopatch 9.0.0354: MS-Windows: starting a python server for test sometimes fails v9.0.0354
Bram Moolenaar [Thu, 1 Sep 2022 17:42:32 +0000 (18:42 +0100)]
patch 9.0.0354: MS-Windows: starting a python server for test sometimes fails

Problem:    MS-Windows: starting a python server for test sometimes fails.
Solution:   Increase the waiting time for the port.

2 years agopatch 9.0.0353: missing entry in switch v9.0.0353
Bram Moolenaar [Thu, 1 Sep 2022 16:26:17 +0000 (17:26 +0100)]
patch 9.0.0353: missing entry in switch

Problem:    Missing entry in switch.
Solution:   Add ISN_ECHOWINDOW.

2 years agopatch 9.0.0352: using :echowindow in a timer clears part of message v9.0.0352
Bram Moolenaar [Thu, 1 Sep 2022 16:01:32 +0000 (17:01 +0100)]
patch 9.0.0352: using :echowindow in a timer clears part of message

Problem:    using :echowindow in a timer clears part of message
Solution:   Do not use msg_clr_eos().

2 years agopatch 9.0.0351: message window may obscure the command line v9.0.0351
Bram Moolenaar [Thu, 1 Sep 2022 15:43:17 +0000 (16:43 +0100)]
patch 9.0.0351: message window may obscure the command line

Problem:    Message window may obscure the command line.
Solution:   Reduce the maximum height of the message window.

2 years agopatch 9.0.0350: :echowindow does not work in a compiled function v9.0.0350
Bram Moolenaar [Thu, 1 Sep 2022 15:00:53 +0000 (16:00 +0100)]
patch 9.0.0350: :echowindow does not work in a compiled function

Problem:    :echowindow does not work in a compiled function.
Solution:   Handle the expression at compile time.

2 years agopatch 9.0.0349: filetype of *.sil files not well detected v9.0.0349
Bram Moolenaar [Thu, 1 Sep 2022 14:01:25 +0000 (15:01 +0100)]
patch 9.0.0349: filetype of *.sil files not well detected

Problem:    Filetype of *.sil files not well detected.
Solution:   Inspect the file contents to guess the filetype.

2 years agopatch 9.0.0348: MS-Windows: GUI mouse move event test is flaky v9.0.0348
Bram Moolenaar [Thu, 1 Sep 2022 13:38:01 +0000 (14:38 +0100)]
patch 9.0.0348: MS-Windows: GUI mouse move event test is flaky

Problem:    MS-Windows: GUI mouse move event test is flaky.
Solution:   Wait for a little while for the first move event.

2 years agopatch 9.0.0347: MS-Windows: cannot set cursor shape in Windows Terminal v9.0.0347
K.Takata [Thu, 1 Sep 2022 12:20:16 +0000 (13:20 +0100)]
patch 9.0.0347: MS-Windows: cannot set cursor shape in Windows Terminal

Problem:    MS-Windows: cannot set cursor shape in Windows Terminal.
Solution:   Make cursor shape work with Windows Terminal. (Ken Takata,
            closes #11028, closes #6576)

2 years agopatch 9.0.0346: :horizontal modifier not fully supported v9.0.0346
zeertzjq [Thu, 1 Sep 2022 11:58:52 +0000 (12:58 +0100)]
patch 9.0.0346: :horizontal modifier not fully supported

Problem:    :horizontal modifier not fully supported.
Solution:   Also use :horizontal for completion and user commands.
            (closes #11025)

2 years agopatch 9.0.0345: error message for list argument could be clearer v9.0.0345
Bram Moolenaar [Thu, 1 Sep 2022 11:22:46 +0000 (12:22 +0100)]
patch 9.0.0345: error message for list argument could be clearer

Problem:    Error message for list argument could be clearer.
Solution:   Include the argument number. (Yegappan Lakshmanan, closes #11027)

2 years agopatch 9.0.0344: MS-Windows: background color wrong in Console v9.0.0344
Yasuhiro Matsumoto [Thu, 1 Sep 2022 10:31:45 +0000 (11:31 +0100)]
patch 9.0.0344: MS-Windows: background color wrong in Console

Problem:    MS-Windows: background color wrong in Console.
Solution:   Figure out the default console background color. (Yasuhiro
            Matsumoto, issue #10310)

2 years agopatch 9.0.0343: ColorScheme autocommand triggered when colorscheme not found v9.0.0343
Bram Moolenaar [Wed, 31 Aug 2022 20:17:10 +0000 (21:17 +0100)]
patch 9.0.0343: ColorScheme autocommand triggered when colorscheme not found

Problem:    ColorScheme autocommand triggered when colorscheme is not found.
            (Romain Lafourcade)
Solution:   Only trigger ColorScheme when loading the colorscheme succeeds.
            (closes #11024)

2 years agopatch 9.0.0342: ":wincmd =" equalizes in two directions v9.0.0342
Bram Moolenaar [Wed, 31 Aug 2022 16:49:14 +0000 (17:49 +0100)]
patch 9.0.0342: ":wincmd =" equalizes in two directions

Problem:    ":wincmd =" equalizes in two directions.
Solution:   Make ":vertical wincmd =" equalize vertically only and
            ":horizontal wincmd =" equalize horizontally only.

2 years agopatch 9.0.0341: mapset() does not restore <Nop> mapping properly v9.0.0341
zeertzjq [Wed, 31 Aug 2022 15:40:17 +0000 (16:40 +0100)]
patch 9.0.0341: mapset() does not restore <Nop> mapping properly

Problem:    mapset() does not restore <Nop> mapping properly.
Solution:   Use an empty string for <Nop>. (closes #11022)

2 years agopatch 9.0.0340: the 'cmdheight' zero support causes too much trouble v9.0.0340
Bram Moolenaar [Wed, 31 Aug 2022 13:46:18 +0000 (14:46 +0100)]
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble

Problem:    The 'cmdheight' zero support causes too much trouble.
Solution:   Revert support for 'cmdheight' being zero.

2 years agopatch 9.0.0339: no check if the return value of XChangeGC() is NULL v9.0.0339
Bram Moolenaar [Wed, 31 Aug 2022 11:01:54 +0000 (12:01 +0100)]
patch 9.0.0339: no check if the return value of XChangeGC() is NULL

Problem:    No check if the return value of XChangeGC() is NULL.
Solution:   Only use the return value when it is not NULL. (closes #11020)

2 years agopatch 9.0.0338: return value of list_append_list() not always checked v9.0.0338
Bram Moolenaar [Wed, 31 Aug 2022 10:25:06 +0000 (11:25 +0100)]
patch 9.0.0338: return value of list_append_list() not always checked

Problem:    Return value of list_append_list() not always checked.
Solution:   Check return value and handle failure.

2 years agopatch 9.0.0337: flicker when resetting cmdline_row after updating the screen v9.0.0337
Bram Moolenaar [Tue, 30 Aug 2022 21:24:26 +0000 (22:24 +0100)]
patch 9.0.0337: flicker when resetting cmdline_row after updating the screen

Problem:    Flicker when resetting cmdline_row after updating the screen.
Solution:   Do not update cmdline_row. (issue #11017)

2 years agopatch 9.0.0336: tests are flaky because of using a common file name v9.0.0336
Bram Moolenaar [Tue, 30 Aug 2022 20:46:08 +0000 (21:46 +0100)]
patch 9.0.0336: tests are flaky because of using a common file name

Problem:    Tests are flaky because of using a common file name.
Solution:   Rename files and directories to be more unique.

2 years agoUpdate runtime files
Bram Moolenaar [Tue, 30 Aug 2022 19:26:34 +0000 (20:26 +0100)]
Update runtime files

2 years agopatch 9.0.0335: checks for Dictionary argument often give a vague error v9.0.0335
Yegappan Lakshmanan [Tue, 30 Aug 2022 18:48:24 +0000 (19:48 +0100)]
patch 9.0.0335: checks for Dictionary argument often give a vague error

Problem:    Checks for Dictionary argument often give a vague error message.
Solution:   Give a useful error message. (Yegappan Lakshmanan, closes #11009)

2 years agopatch 9.0.0334: test does not properly clean up v9.0.0334
Dominique Pelle [Tue, 30 Aug 2022 17:42:16 +0000 (18:42 +0100)]
patch 9.0.0334: test does not properly clean up

Problem:    Test does not properly clean up.
Solution:   Fix typo in argument of delete(). (Dominique Pellé, closes #11010)

2 years agopatch 9.0.0333: method test fails v9.0.0333
Bram Moolenaar [Tue, 30 Aug 2022 17:26:19 +0000 (18:26 +0100)]
patch 9.0.0333: method test fails

Problem:    Method test fails.
Solution:   Adjust test for items() now working on string.

2 years agopatch 9.0.0332: overwrite check may block BufWriteCmd v9.0.0332
zeertzjq [Tue, 30 Aug 2022 17:17:15 +0000 (18:17 +0100)]
patch 9.0.0332: overwrite check may block BufWriteCmd

Problem:    Overwrite check may block BufWriteCmd.
Solution:   Do not use overwrite check when 'buftype' is "acwrite".
            (closes #11011)

2 years agopatch 9.0.0331: cannot use items() on a string v9.0.0331
Bram Moolenaar [Tue, 30 Aug 2022 16:45:33 +0000 (17:45 +0100)]
patch 9.0.0331: cannot use items() on a string

Problem:    Cannot use items() on a string.
Solution:   Make items() work on a string. (closes #11016)

2 years agopatch 9.0.0330: method tests fail v9.0.0330
Bram Moolenaar [Tue, 30 Aug 2022 15:40:45 +0000 (16:40 +0100)]
patch 9.0.0330: method tests fail

Problem:    Method tests fail.
Solution:   Adjust for change of items().

2 years agopatch 9.0.0329: ":highlight" hangs when 'cmdheight' is zero v9.0.0329
Bram Moolenaar [Tue, 30 Aug 2022 14:44:22 +0000 (15:44 +0100)]
patch 9.0.0329: ":highlight" hangs when 'cmdheight' is zero

Problem:    ":highlight" hangs when 'cmdheight' is zero.
Solution:   Add to msg_col when using the message window. (closes #11014)

2 years agopatch 9.0.0328: OLD_DIGRAPHS is unused v9.0.0328
Bram Moolenaar [Tue, 30 Aug 2022 14:05:30 +0000 (15:05 +0100)]
patch 9.0.0328: OLD_DIGRAPHS is unused

Problem:    OLD_DIGRAPHS is unused.
Solution:   Remove OLD_DIGRAPHS.  Also drop HPUX_DIGRAPHS.

2 years agopatch 9.0.0327: items() does not work on a list v9.0.0327
Bram Moolenaar [Tue, 30 Aug 2022 13:34:52 +0000 (14:34 +0100)]
patch 9.0.0327: items() does not work on a list

Problem:    items() does not work on a list. (Sergey Vlasov)
Solution:   Make items() work on a list. (closes #11013)

2 years agopatch 9.0.0326: some changes for cmdheight=0 are not needed v9.0.0326
Shougo Matsushita [Tue, 30 Aug 2022 10:54:21 +0000 (11:54 +0100)]
patch 9.0.0326: some changes for cmdheight=0 are not needed

Problem:    Some changes for cmdheight=0 are not needed.
Solution:   Revert resize behavior if height is greater than the available
            space. (Shougo Matsushita, closes #11008)

2 years agopatch 9.0.0325: MS-Windows: completion test fails v9.0.0325
Bram Moolenaar [Mon, 29 Aug 2022 22:01:45 +0000 (23:01 +0100)]
patch 9.0.0325: MS-Windows: completion test fails

Problem:    MS-Windows: completion test fails.
Solution:   Adjust directory prefix.

2 years agopatch 9.0.0324: MS-Windows: resolve() test fails v9.0.0324
Bram Moolenaar [Mon, 29 Aug 2022 21:51:38 +0000 (22:51 +0100)]
patch 9.0.0324: MS-Windows: resolve() test fails

Problem:    MS-Windows: resolve() test fails.
Solution:   Revert renaming the directory.

2 years agopatch 9.0.0323: using common name in tests leads to flaky tests v9.0.0323
Bram Moolenaar [Mon, 29 Aug 2022 21:31:20 +0000 (22:31 +0100)]
patch 9.0.0323: using common name in tests leads to flaky tests

Problem:    Using common name in tests leads to flaky tests.
Solution:   Rename files and directories to be more specific.

2 years agopatch 9.0.0322: crash when no errors and 'quickfixtextfunc' is set v9.0.0322
Bram Moolenaar [Mon, 29 Aug 2022 19:45:16 +0000 (20:45 +0100)]
patch 9.0.0322: crash when no errors and 'quickfixtextfunc' is set

Problem:    Crash when no errors and 'quickfixtextfunc' is set.
Solution:   Do not handle errors if there aren't any.

2 years agopatch 9.0.0321: cannot use the message popup window directly v9.0.0321
Bram Moolenaar [Mon, 29 Aug 2022 17:16:32 +0000 (18:16 +0100)]
patch 9.0.0321: cannot use the message popup window directly

Problem:    Cannot use the message popup window directly.
Solution:   Add ":echowindow".

2 years agopatch 9.0.0320: command line type of CmdlineChange differs from getcmdtype() v9.0.0320
zeertzjq [Mon, 29 Aug 2022 15:21:25 +0000 (16:21 +0100)]
patch 9.0.0320: command line type of CmdlineChange differs from getcmdtype()

Problem:    Command line type of CmdlineChange differs from getcmdtype().
Solution:   Use the same type. (closes #11005)

2 years agopatch 9.0.0319: Godot shader files are not recognized v9.0.0319
Maxim Kim [Mon, 29 Aug 2022 14:28:53 +0000 (15:28 +0100)]
patch 9.0.0319: Godot shader files are not recognized

Problem:    Godot shader files are not recognized.
Solution:   Add patterns for "gdshader". (Maxim Kim, closes #11006)

2 years agopatch 9.0.0318: clearing screen causes flicker v9.0.0318
Bram Moolenaar [Mon, 29 Aug 2022 14:06:50 +0000 (15:06 +0100)]
patch 9.0.0318: clearing screen causes flicker

Problem:    Clearing screen causes flicker.
Solution:   Do not clear but redraw in more cases.  Add () to "wait_return".

2 years agopatch 9.0.0317: when updating the whole screen a popup may not be redrawn v9.0.0317
Bram Moolenaar [Mon, 29 Aug 2022 12:44:28 +0000 (13:44 +0100)]
patch 9.0.0317: when updating the whole screen a popup may not be redrawn

Problem:    When updating the whole screen a popup may not be redrawn.
Solution:   Mark the screen and windows for redraw also when not clearing.
            Also mark popup windows for redraw.

2 years agopatch 9.0.0316: screen flickers when 'cmdheight' is zero v9.0.0316
Bram Moolenaar [Mon, 29 Aug 2022 11:41:06 +0000 (12:41 +0100)]
patch 9.0.0316: screen flickers when 'cmdheight' is zero

Problem:    Screen flickers when 'cmdheight' is zero.
Solution:   Redraw over existing text instead of clearing.

2 years agopatch 9.0.0315: shell command is displayed in message window v9.0.0315
Bram Moolenaar [Mon, 29 Aug 2022 11:23:39 +0000 (12:23 +0100)]
patch 9.0.0315: shell command is displayed in message window

Problem:    Shell command is displayed in message window.
Solution:   Do not echo the shell command in the message window.

2 years agopatch 9.0.0314: VDM files are not recognized v9.0.0314
Alessandro Pezzoni [Mon, 29 Aug 2022 10:57:30 +0000 (11:57 +0100)]
patch 9.0.0314: VDM files are not recognized

Problem:    VDM files are not recognized.
Solution:   Add patterns for VDM files. (Alessandro Pezzoni, closes #11004)

2 years agopatch 9.0.0313: using common name in tests leads to flaky tests v9.0.0313
Bram Moolenaar [Mon, 29 Aug 2022 10:02:59 +0000 (11:02 +0100)]
patch 9.0.0313: using common name in tests leads to flaky tests

Problem:    Using common name in tests leads to flaky tests.
Solution:   Rename files and directories to be more specific.

2 years agopatch 9.0.0312: test for cmdheight zero fails v9.0.0312
Bram Moolenaar [Sun, 28 Aug 2022 23:08:39 +0000 (00:08 +0100)]
patch 9.0.0312: test for cmdheight zero fails

Problem:    Test for cmdheight zero fails.
Solution:   Do not close the messages window for CTRL-C.

2 years agopatch 9.0.0311: test for hit-Enter prompt fails v9.0.0311
Bram Moolenaar [Sun, 28 Aug 2022 22:36:52 +0000 (23:36 +0100)]
patch 9.0.0311: test for hit-Enter prompt fails

Problem:    Test for hit-Enter prompt fails.
Solution:   Only reset cmdline_row when 'cmdheight' is zero.

2 years agopatch 9.0.0310: output of :messages dissappears when cmdheight is zero v9.0.0310
Bram Moolenaar [Sun, 28 Aug 2022 21:46:21 +0000 (22:46 +0100)]
patch 9.0.0310: output of :messages dissappears when cmdheight is zero

Problem:    Output of :messages dissappears when cmdheight is zero.
Solution:   Do not use the messages window for :messages.  Make Esc close the
            messages window.

2 years agopatch 9.0.0309: invalid memory access when cmdheight is zero v9.0.0309
Bram Moolenaar [Sun, 28 Aug 2022 21:21:01 +0000 (22:21 +0100)]
patch 9.0.0309: invalid memory access when cmdheight is zero

Problem:    Invalid memory access when cmdheight is zero.
Solution:   Check index in w_lines is smaller than Rows.

2 years agopatch 9.0.0308: when cmdheight is zero the attention prompt doesn't show v9.0.0308
Bram Moolenaar [Sun, 28 Aug 2022 21:17:50 +0000 (22:17 +0100)]
patch 9.0.0308: when cmdheight is zero the attention prompt doesn't show

Problem:    When cmdheight is zero the attention prompt doesn't show.
Solution:   Do not use the message window for a prompt.

2 years agopatch 9.0.0307: :echomsg doesn't work properly with cmdheight=0 v9.0.0307
Bram Moolenaar [Sun, 28 Aug 2022 20:36:43 +0000 (21:36 +0100)]
patch 9.0.0307: :echomsg doesn't work properly with cmdheight=0

Problem:    :echomsg doesn't work properly with cmdheight=0.
Solution:   Improve scrolling and displaying.

2 years agopatch 9.0.0306: buffer write message is two lines in message popup window v9.0.0306
Bram Moolenaar [Sun, 28 Aug 2022 19:58:51 +0000 (20:58 +0100)]
patch 9.0.0306: buffer write message is two lines in message popup window

Problem:    Buffer write message is two lines in message popup window.
Solution:   Overwrite message if "msg_scroll" is off.

2 years agopatch 9.0.0305: CI lists useless deprecation warnings v9.0.0305
Philip H [Sun, 28 Aug 2022 18:41:36 +0000 (19:41 +0100)]
patch 9.0.0305: CI lists useless deprecation warnings

Problem:    CI lists useless deprecation warnings.
Solution:   Ignore deprecation warnings. (closes #11003)

2 years agopatch 9.0.0304: WinScrolled is not triggered when only skipcol changes v9.0.0304
zeertzjq [Sun, 28 Aug 2022 18:16:15 +0000 (19:16 +0100)]
patch 9.0.0304: WinScrolled is not triggered when only skipcol changes

Problem:    WinScrolled is not triggered when only skipcol changes.
Solution:   Add w_last_skipcol and use it. (closes #10998)

2 years agopatch 9.0.0303: it is not easy to get information about a script v9.0.0303
Yegappan Lakshmanan [Sun, 28 Aug 2022 17:52:10 +0000 (18:52 +0100)]
patch 9.0.0303: it is not easy to get information about a script

Problem:    It is not easy to get information about a script.
Solution:   Make getscriptinf() return the version.  When selecting a specific
            script return functions and variables. (Yegappan Lakshmanan,
            closes #10991)

2 years agopatch 9.0.0302: CI for Coverity is bothered by deprecation warnings v9.0.0302
Philip H [Sun, 28 Aug 2022 16:59:05 +0000 (17:59 +0100)]
patch 9.0.0302: CI for Coverity is bothered by deprecation warnings

Problem:    CI for Coverity is bothered by deprecation warnings.
Solution:   Ignore deprecation warnings. (closes #11002)

2 years agopatch 9.0.0301: the message window popup is delayed after an error message v9.0.0301
Bram Moolenaar [Sun, 28 Aug 2022 16:53:23 +0000 (17:53 +0100)]
patch 9.0.0301: the message window popup is delayed after an error message

Problem:    The message window popup is delayed after an error message.
Solution:   Do not set emsg_on_display when using the message window.

2 years agopatch 9.0.0300: 'cpoptions' tests are flaky v9.0.0300
Bram Moolenaar [Sun, 28 Aug 2022 16:44:20 +0000 (17:44 +0100)]
patch 9.0.0300: 'cpoptions' tests are flaky

Problem:    'cpoptions' tests are flaky.
Solution:   Use a different file name for each test.

2 years agopatch 9.0.0299: error messages for setcmdline() could be better v9.0.0299
Yegappan Lakshmanan [Sun, 28 Aug 2022 16:25:04 +0000 (17:25 +0100)]
patch 9.0.0299: error messages for setcmdline() could be better

Problem:    Error messages for setcmdline() could be better.
Solution:   Use more specific error messages. (Yegappan Lakshmanan,
            closes #10995)