]> granicus.if.org Git - vim/log
vim
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)

2 years agopatch 9.0.0298: compiler warning for size_t to int conversion v9.0.0298
Wilhelm Payne [Sun, 28 Aug 2022 16:08:18 +0000 (17:08 +0100)]
patch 9.0.0298: compiler warning for size_t to int conversion

Problem:    Compiler warning for size_t to int conversion.
Solution:   Add a type cast. (Wilhelm Payne, closes #11000)

2 years agopatch 9.0.0297: cursor position wrong after right aligned virtual text v9.0.0297
Bram Moolenaar [Sun, 28 Aug 2022 15:39:22 +0000 (16:39 +0100)]
patch 9.0.0297: cursor position wrong after right aligned virtual text

Problem:    Cursor position wrong after right aligned virtual text. (Iizuka
            Masashi)
Solution:   Take the width of the column offset into account. (closes #10997)
            Also fix virtual text positioning.

2 years agopatch 9.0.0296: message in popup is shortened unnecessary v9.0.0296
Bram Moolenaar [Sun, 28 Aug 2022 13:39:53 +0000 (14:39 +0100)]
patch 9.0.0296: message in popup is shortened unnecessary

Problem:    Message in popup is shortened unnecessary.
Solution:   Do not use 'showcmd' and 'ruler' for a message in the popup.
            Set the timer when unhiding the message popup.

2 years agopatch 9.0.0295: GUI drop files test sometimes fails v9.0.0295
Bram Moolenaar [Sun, 28 Aug 2022 12:38:43 +0000 (13:38 +0100)]
patch 9.0.0295: GUI drop files test sometimes fails

Problem:    GUI drop files test sometimes fails.
Solution:   Mark the test as flaky.

2 years agopatch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used v9.0.0294
Bram Moolenaar [Sun, 28 Aug 2022 12:02:45 +0000 (13:02 +0100)]
patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used

Problem:    Crash when 'cmdheight' is 0 and popup_clear() used.
Solution:   Reset "message_win" when the message popup is cleared.  Close the
            popup when 'cmdheight' is non-zero.  Add a screendump test.

2 years agopatch 9.0.0293: messages window not hidden when starting a command line v9.0.0293
Bram Moolenaar [Sun, 28 Aug 2022 11:06:21 +0000 (12:06 +0100)]
patch 9.0.0293: messages window not hidden when starting a command line

Problem:    Messages window not hidden when starting a command line.
Solution:   Hide the messages window. (closes #10996)

2 years agopatch 9.0.0292: test causes another test to fail v9.0.0292
Bram Moolenaar [Sat, 27 Aug 2022 21:51:25 +0000 (22:51 +0100)]
patch 9.0.0292: test causes another test to fail

Problem:    Test causes another test to fail.
Solution:   Redraw to remove the popup window

2 years agopatch 9.0.0291: test failing v9.0.0291
Bram Moolenaar [Sat, 27 Aug 2022 21:21:07 +0000 (22:21 +0100)]
patch 9.0.0291: test failing

Problem:    Test failing.
Solution:   Run test with cmdheight=0 last.

2 years agopatch 9.0.0290: compiler warning for variable set but not used v9.0.0290
Bram Moolenaar [Sat, 27 Aug 2022 21:05:13 +0000 (22:05 +0100)]
patch 9.0.0290: compiler warning for variable set but not used

Problem:    Compiler warning for variable set but not used.
Solution:   Add #ifdef.

2 years agopatch 9.0.0289: invalid memory write v9.0.0289
Bram Moolenaar [Sat, 27 Aug 2022 20:52:52 +0000 (21:52 +0100)]
patch 9.0.0289: invalid memory write

Problem:    Invalid memory write.
Solution:   Do not put NUL in a static string.

2 years agopatch 9.0.0288: when 'cmdheight' is zero some messages are not displayed v9.0.0288
Bram Moolenaar [Sat, 27 Aug 2022 20:30:03 +0000 (21:30 +0100)]
patch 9.0.0288: when 'cmdheight' is zero some messages are not displayed

Problem:    When 'cmdheight' is zero some messages are not displayed.
Solution:   Use a popup notification window.

2 years agopatch 9.0.0287: Irix systems no longer exist v9.0.0287
Yegappan Lakshmanan [Sat, 27 Aug 2022 20:24:26 +0000 (21:24 +0100)]
patch 9.0.0287: Irix systems no longer exist

Problem:    Irix systems no longer exist.
Solution:   Remove references to Irix. (Yegappan Lakshmanan, closes #10994)

2 years agopatch 9.0.0286: using freed memory when location list changed in autocmd v9.0.0286
Yegappan Lakshmanan [Sat, 27 Aug 2022 19:59:57 +0000 (20:59 +0100)]
patch 9.0.0286: using freed memory when location list changed in autocmd

Problem:    Using freed memory when location list changed in autocmd.
Solution:   Return QF_ABORT and handle it. (Yegappan Lakshmanan,
            closes #10993)

2 years agopatch 9.0.0285: it is not easy to change the command line from a plugin v9.0.0285
Shougo Matsushita [Sat, 27 Aug 2022 11:22:25 +0000 (12:22 +0100)]
patch 9.0.0285: it is not easy to change the command line from a plugin

Problem:    It is not easy to change the command line from a plugin.
Solution:   Add setcmdline(). (Shougo Matsushita, closes #10869)

2 years agopatch 9.0.0284: using static buffer for multiple completion functions v9.0.0284
Bram Moolenaar [Fri, 26 Aug 2022 21:36:41 +0000 (22:36 +0100)]
patch 9.0.0284: using static buffer for multiple completion functions

Problem:    Using static buffer for multiple completion functions.
Solution:   Use one buffer in expand_T.

2 years agopatch 9.0.0283: cannot complete "syn list @cluster" v9.0.0283
bfredl [Fri, 26 Aug 2022 20:58:31 +0000 (21:58 +0100)]
patch 9.0.0283: cannot complete "syn list @cluster"

Problem:    Cannot complete "syn list @cluster".
Solution:   Recognize and handle "list @". (Björn Linse, closes #10990)

2 years agopatch 9.0.0282: a nested timout stops the previous timeout v9.0.0282
Bram Moolenaar [Fri, 26 Aug 2022 20:33:04 +0000 (21:33 +0100)]
patch 9.0.0282: a nested timout stops the previous timeout

Problem:    A nested timout stops the previous timeout.
Solution:   Ignore any nested timeout.

2 years agopatch 9.0.0281: build failure without the +eval feature v9.0.0281
Bram Moolenaar [Fri, 26 Aug 2022 18:58:49 +0000 (19:58 +0100)]
patch 9.0.0281: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef.

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 26 Aug 2022 17:01:12 +0000 (18:01 +0100)]
Update runtime files

2 years agopatch 9.0.0280: the builtin termcap list depends on the version v9.0.0280
Bram Moolenaar [Fri, 26 Aug 2022 16:53:44 +0000 (17:53 +0100)]
patch 9.0.0280: the builtin termcap list depends on the version

Problem:    The builtin termcap list depends on the version.
Solution:   Always include all termcap entries.  Remove duplicate lines.

2 years agopatch 9.0.0279: the tiny version has the popup menu but not 'wildmenu' v9.0.0279
Bram Moolenaar [Fri, 26 Aug 2022 15:58:51 +0000 (16:58 +0100)]
patch 9.0.0279: the tiny version has the popup menu but not 'wildmenu'

Problem:    The tiny version has the popup menu but not 'wildmenu'.
Solution:   Graduate the wildmenu feature.

2 years agopatch 9.0.0278: the +wildignore feature is nearly always available v9.0.0278
Bram Moolenaar [Fri, 26 Aug 2022 15:41:14 +0000 (16:41 +0100)]
patch 9.0.0278: the +wildignore feature is nearly always available

Problem:    The +wildignore feature is nearly always available.
Solution:   Graduate +wildignore for consistency.

2 years agopatch 9.0.0277: Coverity CI: update-alternatives not needed with Ubuntu 20.04 v9.0.0277
Philip H [Fri, 26 Aug 2022 14:48:55 +0000 (15:48 +0100)]
patch 9.0.0277: Coverity CI: update-alternatives not needed with Ubuntu 20.04

Problem:    Coverity CI: update-alternatives not needed with Ubuntu 20.04.
Solution:   Remove update-alternatives for Lua. (closes #10987)

2 years agopatch 9.0.0276: 'buftype' values not sufficiently tested v9.0.0276
zeertzjq [Fri, 26 Aug 2022 14:34:52 +0000 (15:34 +0100)]
patch 9.0.0276: 'buftype' values not sufficiently tested

Problem:    'buftype' values not sufficiently tested.
Solution:   Add and extend tests with 'buftype' values. (closes #10988)

2 years agopatch 9.0.0275: BufEnter not triggered when using ":edit" in "nofile" buffer v9.0.0275
Bram Moolenaar [Fri, 26 Aug 2022 12:16:20 +0000 (13:16 +0100)]
patch 9.0.0275: BufEnter not triggered when using ":edit" in "nofile" buffer

Problem:    BufEnter not triggered when using ":edit" in "nofile" buffer.
Solution:   Let readfile() return NOTDONE. (closes #10986)

2 years agopatch 9.0.0274: netrw plugin does not show remote files v9.0.0274
Bram Moolenaar [Fri, 26 Aug 2022 11:58:17 +0000 (12:58 +0100)]
patch 9.0.0274: netrw plugin does not show remote files

Problem:    Netrw plugin does not show remote files.
Solution:   Do read a file when 'buftype' is "acwrite". (closes #10983)

2 years agopatch 9.0.0273: Konsole termresponse not recognized v9.0.0273
Bram Moolenaar [Fri, 26 Aug 2022 11:26:07 +0000 (12:26 +0100)]
patch 9.0.0273: Konsole termresponse not recognized

Problem:    Konsole termresponse not recognized.
Solution:   Handle Konsole like libvterm, set 'ttymouse' to "sgr".
            (closes #10990)

2 years agopatch 9.0.0272: BufReadCmd not triggered when loading a "nofile" buffer v9.0.0272
Bram Moolenaar [Fri, 26 Aug 2022 10:55:01 +0000 (11:55 +0100)]
patch 9.0.0272: BufReadCmd not triggered when loading a "nofile" buffer

Problem:    BufReadCmd not triggered when loading a "nofile" buffer. (Maxim
            Kim)
Solution:   Call readfile() but bail out before reading a file.
            (closes #10983)

2 years agopatch 9.0.0271: using INIT() in non-header files v9.0.0271
zeertzjq [Fri, 26 Aug 2022 09:33:54 +0000 (10:33 +0100)]
patch 9.0.0271: using INIT() in non-header files

Problem:    Using INIT() in non-header files.
Solution:   Remove INIT(). (closes #10981)

2 years agopatch 9.0.0270: some values of 'path' and 'tags' invalid in the tiny version v9.0.0270
Bram Moolenaar [Thu, 25 Aug 2022 17:12:06 +0000 (18:12 +0100)]
patch 9.0.0270: some values of 'path' and 'tags' invalid in the tiny version

Problem:    Some values of 'path' and 'tags' do not work in the tiny version.
Solution:   Graduate the +path_extra feature.

2 years agopatch 9.0.0269: getscriptinfo() does not include the version v9.0.0269
Yegappan Lakshmanan [Thu, 25 Aug 2022 16:40:40 +0000 (17:40 +0100)]
patch 9.0.0269: getscriptinfo() does not include the version

Problem:    getscriptinfo() does not include the version.  Cannot select
            entries by script name.
Solution:   Add the "version" item and the "name" argument. (Yegappan
            Lakshmanan, closes #10962)

2 years agopatch 9.0.0268: build error without the +eval feature v9.0.0268
Bram Moolenaar [Thu, 25 Aug 2022 15:30:01 +0000 (16:30 +0100)]
patch 9.0.0268: build error without the +eval feature

Problem:    Build error without the +eval feature.
Solution:   Remove #ifdef.

2 years agopatch 9.0.0267: Coverity workflow still uses Ubuntu 18.04 v9.0.0267
Philip H [Thu, 25 Aug 2022 15:24:56 +0000 (16:24 +0100)]
patch 9.0.0267: Coverity workflow still uses Ubuntu 18.04

Problem:    Coverity workflow still uses Ubuntu 18.04.
Solution:   Use Ubuntu 20.04

2 years agopatch 9.0.0266: compiler warning for unused argument v9.0.0266
Bram Moolenaar [Thu, 25 Aug 2022 15:16:45 +0000 (16:16 +0100)]
patch 9.0.0266: compiler warning for unused argument

Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.

2 years agopatch 9.0.0265: no good reason why the "gf" command isn't in the tiny version v9.0.0265
Bram Moolenaar [Thu, 25 Aug 2022 15:02:23 +0000 (16:02 +0100)]
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version

Problem:    No good reason why the "gf" command is not in the tiny version.
Solution:   Graduate the file_in_path feature.

2 years agopatch 9.0.0264: CI still runs on Ubuntu 18.04 v9.0.0264
Philip H [Thu, 25 Aug 2022 14:21:24 +0000 (15:21 +0100)]
patch 9.0.0264: CI still runs on Ubuntu 18.04

Problem:    CI still runs on Ubuntu 18.04.
Solution:   Run CI on Ubuntu 20.04. (closes #10582)

2 years agopatch 9.0.0263: too many #ifdefs v9.0.0263
Bram Moolenaar [Thu, 25 Aug 2022 14:11:15 +0000 (15:11 +0100)]
patch 9.0.0263: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Make some functions always available.

2 years agopatch 9.0.0262: build failure without the +quickfix feature v9.0.0262
Bram Moolenaar [Thu, 25 Aug 2022 12:54:16 +0000 (13:54 +0100)]
patch 9.0.0262: build failure without the +quickfix feature

Problem:    Build failure without the +quickfix feature.
Solution:   Add #ifdef.

2 years agopatch 9.0.0261: bufload() reads a file even if the name is not a file name v9.0.0261
Bram Moolenaar [Thu, 25 Aug 2022 11:45:21 +0000 (12:45 +0100)]
patch 9.0.0261: bufload() reads a file even if the name is not a file name

Problem:    bufload() reads a file even if the name is not a file name. (Cyker
            Way)
Solution:   Do not read the file when the buffer name is not a file name.
            (closes #10975)

2 years agopatch 9.0.0260: using freed memory when using 'quickfixtextfunc' recursively v9.0.0260
Bram Moolenaar [Wed, 24 Aug 2022 19:07:22 +0000 (20:07 +0100)]
patch 9.0.0260: using freed memory when using 'quickfixtextfunc' recursively

Problem:    Using freed memory when using 'quickfixtextfunc' recursively.
Solution:   Do not allow for recursion.

2 years agopatch 9.0.0259: crash with mouse click when not initialized v9.0.0259
Bram Moolenaar [Wed, 24 Aug 2022 18:27:45 +0000 (19:27 +0100)]
patch 9.0.0259: crash with mouse click when not initialized

Problem:    Crash with mouse click when not initialized.
Solution:   Check TabPageIdxs[] is not NULL.

2 years agoUpdate runtime files
Bram Moolenaar [Wed, 24 Aug 2022 17:30:14 +0000 (18:30 +0100)]
Update runtime files

2 years agopatch 9.0.0258: MS-Windows installer skips syntax/shared v9.0.0258
K.Takata [Wed, 24 Aug 2022 17:08:00 +0000 (18:08 +0100)]
patch 9.0.0258: MS-Windows installer skips syntax/shared

Problem:    MS-Windows installer skips syntax/shared.
Solution:   Use "File /r" in the installer script. (Ken Takata, closes #10972)

2 years agopatch 9.0.0257: "->" in ":scriptnames" output not tested yet v9.0.0257
Bram Moolenaar [Wed, 24 Aug 2022 16:46:12 +0000 (17:46 +0100)]
patch 9.0.0257: "->" in ":scriptnames" output not tested yet

Problem:    "->" in ":scriptnames" output not tested yet.
Solution:   Add a check.

2 years agopatch 9.0.0256: compiler warning for uninitialized variables v9.0.0256
Bram Moolenaar [Wed, 24 Aug 2022 16:32:35 +0000 (17:32 +0100)]
patch 9.0.0256: compiler warning for uninitialized variables

Problem:    Compiler warning for uninitialized variables.
Solution:   Initilize the variables.

2 years agopatch 9.0.0255: build failure without the eval feature v9.0.0255
Bram Moolenaar [Wed, 24 Aug 2022 16:05:56 +0000 (17:05 +0100)]
patch 9.0.0255: build failure without the eval feature

Problem:    Build failure without the eval feature.
Solution:   Add #ifdef.

2 years agopatch 9.0.0254: typo in function name v9.0.0254
zeertzjq [Wed, 24 Aug 2022 15:48:23 +0000 (16:48 +0100)]
patch 9.0.0254: typo in function name

Problem:    Typo in function name.
Solution:   Rename the function. (closes #10971)

2 years agopatch 9.0.0253: a symlink to an autoload script results in two entries v9.0.0253
Bram Moolenaar [Wed, 24 Aug 2022 15:30:36 +0000 (16:30 +0100)]
patch 9.0.0253: a symlink to an autoload script results in two entries

Problem:    A symlink to an autoload script results in two entries in the list
            of scripts, items expected in one are actually in the other.
Solution:   Have one script item refer to the actually sourced one.
            (closes #10960)

2 years agopatch 9.0.0252: cursor in wrong place after virtual text v9.0.0252
Bram Moolenaar [Wed, 24 Aug 2022 11:24:37 +0000 (12:24 +0100)]
patch 9.0.0252: cursor in wrong place after virtual text

Problem:    Cursor in wrong place after virtual text.
Solution:   Do not change the length of a virtual text property.
            (closes #10964)

2 years agopatch 9.0.0251: test output shows up in git v9.0.0251
huang06 [Wed, 24 Aug 2022 10:26:16 +0000 (11:26 +0100)]
patch 9.0.0251: test output shows up in git

Problem:    Test output shows up in git.
Solution:   Ignore the "failed" directory. (Yao-Ching Huang, closes #10969)

2 years agopatch 9.0.0250: slightly inconsistent error messages v9.0.0250
Bram Moolenaar [Tue, 23 Aug 2022 20:41:15 +0000 (21:41 +0100)]
patch 9.0.0250: slightly inconsistent error messages

Problem:    Slightly inconsistent error messages.
Solution:   Make it "Using a Float". (closes #10959)

2 years agopatch 9.0.0249: no test for what 9.0.0234 fixes v9.0.0249
Bram Moolenaar [Tue, 23 Aug 2022 18:54:27 +0000 (19:54 +0100)]
patch 9.0.0249: no test for what 9.0.0234 fixes

Problem:    No test for what 9.0.0234 fixes.
Solution:   Add a test. (issue #10950)

2 years agopatch 9.0.0248: duplicate code in finding a script in the execution stack v9.0.0248
zeertzjq [Tue, 23 Aug 2022 18:26:05 +0000 (19:26 +0100)]
patch 9.0.0248: duplicate code in finding a script in the execution stack

Problem:    Duplicate code in finding a script in the execution stack.
Solution:   Reduce duplicate code. (closes #10961)

2 years agopatch 9.0.0247: cannot add padding to virtual text without highlight v9.0.0247
Bram Moolenaar [Tue, 23 Aug 2022 17:39:37 +0000 (18:39 +0100)]
patch 9.0.0247: cannot add padding to virtual text without highlight

Problem:    Cannot add padding to virtual text without highlight.
Solution:   Add the "text_padding_left" argument. (issue #10906)

2 years agopatch 9.0.0246: using freed memory when 'tagfunc' deletes the buffer v9.0.0246
Bram Moolenaar [Mon, 22 Aug 2022 15:35:45 +0000 (16:35 +0100)]
patch 9.0.0246: using freed memory when 'tagfunc' deletes the buffer

Problem:    Using freed memory when 'tagfunc' deletes the buffer.
Solution:   Make a copy of the tag name.

2 years agopatch 9.0.0245: mechanism to prevent recursive screen updating is incomplete v9.0.0245
Bram Moolenaar [Mon, 22 Aug 2022 14:19:16 +0000 (15:19 +0100)]
patch 9.0.0245: mechanism to prevent recursive screen updating is incomplete

Problem:    Mechanism to prevent recursive screen updating is incomplete.
Solution:   Add "redraw_not_allowed" and set it in build_stl_str_hl().
            (issue #10952)

2 years agopatch 9.0.0244: cannot easily get the list of sourced scripts v9.0.0244
Yegappan Lakshmanan [Mon, 22 Aug 2022 12:15:13 +0000 (13:15 +0100)]
patch 9.0.0244: cannot easily get the list of sourced scripts

Problem:    Cannot easily get the list of sourced scripts.
Solution:   Add the getscriptinfo() function. (Yegappan Lakshmanan,
            closes #10957)

2 years agopatch 9.0.0243: text properties "below" sort differently on MS-Windows v9.0.0243
Bram Moolenaar [Mon, 22 Aug 2022 12:00:16 +0000 (13:00 +0100)]
patch 9.0.0243: text properties "below" sort differently on MS-Windows

Problem:    Text properties "below" sort differently on MS-Windows.
Solution:   Use the ID as a tie breaker. (closes #10958)

2 years agopatch 9.0.0242: "make install" still fails v9.0.0242
Bram Moolenaar [Sun, 21 Aug 2022 21:20:20 +0000 (22:20 +0100)]
patch 9.0.0242: "make install" still fails

Problem:    "make install" still fails. (Wilhelm Payne)
Solution:   Also add the directory to installrtbase. (Dominique Pellé)

2 years agopatch 9.0.0241: "make install" does not install shared syntax file v9.0.0241
Bram Moolenaar [Sun, 21 Aug 2022 20:05:08 +0000 (21:05 +0100)]
patch 9.0.0241: "make install" does not install shared syntax file

Problem:    "make install" does not install shared syntax file. (James McCoy)
Solution:   Install and uninstall the shared syntax files. (closes #10956)

2 years agopatch 9.0.0240: crash when using ":mkspell" with an empty .dic file v9.0.0240
Bram Moolenaar [Sun, 21 Aug 2022 19:33:47 +0000 (20:33 +0100)]
patch 9.0.0240: crash when using ":mkspell" with an empty .dic file

Problem:    Crash when using ":mkspell" with an empty .dic file.
Solution:   Check for an empty word tree.

2 years agopatch 9.0.0239: build failure without the +wildmenu feature v9.0.0239
Bram Moolenaar [Sun, 21 Aug 2022 18:08:50 +0000 (19:08 +0100)]
patch 9.0.0239: build failure without the +wildmenu feature

Problem:    Build failure without the +wildmenu feature.
Solution:   Move parenthesis.

2 years agopatch 9.0.0238: Shift-Tab shows matches on cmdline when 'wildmenu' is off v9.0.0238
Bram Moolenaar [Sun, 21 Aug 2022 17:38:21 +0000 (18:38 +0100)]
patch 9.0.0238: Shift-Tab shows matches on cmdline when 'wildmenu' is off

Problem:    Shift-Tab shows matches on cmdline when 'wildmenu' is off.
Solution:   Only show matches when 'wildmode' contains "list". (closes #10951)

2 years agopatch 9.0.0237: Mac: cannot build if dispatch.h is not available v9.0.0237
Evan Miller [Sun, 21 Aug 2022 16:24:00 +0000 (17:24 +0100)]
patch 9.0.0237: Mac: cannot build if dispatch.h is not available

Problem:    Mac: cannot build if dispatch.h is not available.
Solution:   Add #ifdef. (Evan Miller, closes #10954)

2 years agopatch 9.0.0236: popup menu not removed when 'wildmenu' reset while visible v9.0.0236
zeertzjq [Sun, 21 Aug 2022 13:33:57 +0000 (14:33 +0100)]
patch 9.0.0236: popup menu not removed when 'wildmenu' reset while visible

Problem:    Popup menu not removed when 'wildmenu' reset while it is visible.
Solution:   Do not check p_wmnu, only pum_visible(). (closes #10953)

2 years agopatch 9.0.0235: 'autoshelldir' does not work with chunked respose v9.0.0235
Bram Moolenaar [Sun, 21 Aug 2022 10:37:17 +0000 (11:37 +0100)]
patch 9.0.0235: 'autoshelldir' does not work with chunked respose

Problem:    'autoshelldir' does not work with chunked respose.
Solution:   Collect chunks before parsing OSC 7. (closes #10949)

2 years agopatch 9.0.0234: cannot make difference between :normal end and argument char v9.0.0234
Bram Moolenaar [Sun, 21 Aug 2022 09:40:07 +0000 (10:40 +0100)]
patch 9.0.0234: cannot make difference between :normal end and argument char

Problem:    Cannot make difference between the end of :normal and a character
            in its argument.
Solution:   Add the "typebuf_was_empty" flag. (closes #10950)

2 years agopatch 9.0.0233: removing multiple text properties takes many calls v9.0.0233
Ben Jackson [Sat, 20 Aug 2022 19:54:51 +0000 (20:54 +0100)]
patch 9.0.0233: removing multiple text properties takes many calls

Problem:    Removing multiple text properties takes many calls.
Solution:   Pass a list to prop_remove(). (Ben Jackson, closes #10945)

2 years agopatch 9.0.0232: test with BufNewFile autocmd is flaky v9.0.0232
Bram Moolenaar [Sat, 20 Aug 2022 19:09:14 +0000 (20:09 +0100)]
patch 9.0.0232: test with BufNewFile autocmd is flaky

Problem:    Test with BufNewFile autocmd is flaky.
Solution:   Use another file name.

2 years agopatch 9.0.0231: expanding "**" may loop forever with directory links v9.0.0231
Bram Moolenaar [Sat, 20 Aug 2022 18:26:14 +0000 (19:26 +0100)]
patch 9.0.0231: expanding "**" may loop forever with directory links

Problem:    Expanding "**" may loop forever with directory links.
Solution:   Check for being interrupted. (closes #10946)

2 years agopatch 9.0.0230: no error for comma missing in list in :def function v9.0.0230
Bram Moolenaar [Sat, 20 Aug 2022 13:51:17 +0000 (14:51 +0100)]
patch 9.0.0230: no error for comma missing in list in :def function

Problem:    No error for comma missing in list in :def function.
Solution:   Check for missing comma. (closes #10943)

2 years agopatch 9.0.0229: Vim9: error message for missing type is not clear v9.0.0229
Bram Moolenaar [Sat, 20 Aug 2022 11:07:58 +0000 (12:07 +0100)]
patch 9.0.0229: Vim9: error message for missing type is not clear

Problem:    Vim9: error message for missing type is not clear.
Solution:   Mention the context. (issue #10944)

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 19 Aug 2022 16:15:35 +0000 (17:15 +0100)]
Update runtime files

2 years agopatch 9.0.0228: crash when pattern looks below the last line v9.0.0228
Bram Moolenaar [Fri, 19 Aug 2022 12:59:25 +0000 (13:59 +0100)]
patch 9.0.0228: crash when pattern looks below the last line

Problem:    Crash when pattern looks below the last line.
Solution:   Consider invalid lines to be empty. (closes #10938)

2 years agopatch 9.0.0227: cannot read error message when abort() is called v9.0.0227
Bram Moolenaar [Fri, 19 Aug 2022 12:17:21 +0000 (13:17 +0100)]
patch 9.0.0227: cannot read error message when abort() is called

Problem:    Cannot read error message when abort() is called.
Solution:   Output a newline before calling abort().

2 years agopatch 9.0.0226: job_start() test may fail under valgrind v9.0.0226
Bram Moolenaar [Thu, 18 Aug 2022 14:22:09 +0000 (15:22 +0100)]
patch 9.0.0226: job_start() test may fail under valgrind

Problem:    job_start() test may fail under valgrind.
Solution:   Wait until the job is running.

2 years agopatch 9.0.0225: using freed memory with multiple line breaks in expression v9.0.0225
Bram Moolenaar [Thu, 18 Aug 2022 12:28:31 +0000 (13:28 +0100)]
patch 9.0.0225: using freed memory with multiple line breaks in expression

Problem:    Using freed memory with multiple line breaks in expression.
Solution:   Free eval_tofree later.

2 years agopatch 9.0.0224: Using NULL pointer when skipping compiled code v9.0.0224
Bram Moolenaar [Wed, 17 Aug 2022 14:55:51 +0000 (15:55 +0100)]
patch 9.0.0224: Using NULL pointer when skipping compiled code

Problem:    Using NULL pointer when skipping compiled code.
Solution:   Check for skipping.

2 years agopatch 9.0.0223: typo in diffmode test v9.0.0223
zeertzjq [Wed, 17 Aug 2022 11:09:45 +0000 (12:09 +0100)]
patch 9.0.0223: typo in diffmode test

Problem:    Typo in diffmode test.
Solution:   Fix the typo. (closes #10932)

2 years agopatch 9.0.0222: no good reason why text objects are only in larger builds v9.0.0222
Bram Moolenaar [Tue, 16 Aug 2022 19:24:29 +0000 (20:24 +0100)]
patch 9.0.0222: no good reason why text objects are only in larger builds

Problem:    No good reason why text objects are only in larger builds.
Solution:   Graduate +textobjects.

2 years agopatch 9.0.0221: accessing freed memory if compiling nested function fails v9.0.0221
Bram Moolenaar [Tue, 16 Aug 2022 18:34:44 +0000 (19:34 +0100)]
patch 9.0.0221: accessing freed memory if compiling nested function fails

Problem:    Accessing freed memory if compiling nested function fails.
Solution:   Mess up the variable name so that it won't be found.

2 years agopatch 9.0.0220: invalid memory access with for loop over NULL string v9.0.0220
Bram Moolenaar [Tue, 16 Aug 2022 16:50:38 +0000 (17:50 +0100)]
patch 9.0.0220: invalid memory access with for loop over NULL string

Problem:    Invalid memory access with for loop over NULL string.
Solution:   Make sure mb_ptr2len() consistently returns zero for NUL.

2 years agopatch 9.0.0219: cannot make a funcref with "s:func" in a def function v9.0.0219
Kota Kato [Tue, 16 Aug 2022 15:09:59 +0000 (16:09 +0100)]
patch 9.0.0219: cannot make a funcref with "s:func" in a def function

Problem:    Cannot make a funcref with "s:func" in a def function in legacy
            script.
Solution:   Allow for using a lower case function name after "s:". (Kota Kato,
            closes #10926)