]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
2 years agopatch 9.0.1519: global 'filetype' is set when detected from file content v9.0.1519
Bram Moolenaar [Sat, 6 May 2023 20:21:52 +0000 (21:21 +0100)] 
patch 9.0.1519: global 'filetype' is set when detected from file content

Problem:    Global 'filetype' is set when it is detected from the file content.
Solution:   Set the local 'filetype' option value.

2 years agopatch 9.0.1518: search stats not always visible when searching backwards v9.0.1518
Christian Brabandt [Sat, 6 May 2023 18:20:20 +0000 (19:20 +0100)] 
patch 9.0.1518: search stats not always visible when searching backwards

Problem:    Search stats not always visible when searching backwards.
Solution:   Do not display the top/bot message on top of the search stats.
            (Christian Brabandt, closes #12322, closes #12222)

2 years agopatch 9.0.1517: MacOS: configure removes -O2 from $CFLAGS v9.0.1517
Rose [Sat, 6 May 2023 17:07:14 +0000 (18:07 +0100)] 
patch 9.0.1517: MacOS: configure removes -O2 from $CFLAGS

Problem:    MacOS: configure removes -O2 from $CFLAGS.
Solution:   Only adjust $CFLAGS for gcc. (closes #12351)

2 years agopatch 9.0.1516: cannot use special keys in <Cmd> mapping v9.0.1516
zeertzjq [Sat, 6 May 2023 15:22:04 +0000 (16:22 +0100)] 
patch 9.0.1516: cannot use special keys in <Cmd> mapping

Problem:    Cannot use special keys in <Cmd> mapping.
Solution:   Do allow for special keys in <Cmd> and <ScriptCmd> mappings.
            (closes #12326)

2 years agopatch 9.0.1515: reverse() does not work for a String v9.0.1515
Yegappan Lakshmanan [Sat, 6 May 2023 13:08:21 +0000 (14:08 +0100)] 
patch 9.0.1515: reverse() does not work for a String

Problem:    reverse() does not work for a String.
Solution:   Implement reverse() for a String. (Yegappan Lakshmanan,
            closes #12179)

2 years agopatch 9.0.1514: test waits unnecessarily long before checking screendump v9.0.1514
Bram Moolenaar [Sat, 6 May 2023 12:01:27 +0000 (13:01 +0100)] 
patch 9.0.1514: test waits unnecessarily long before checking screendump

Problem:    Test waits unnecessarily long before checking screendump.
Solution:   Remove TermWait() call.

2 years agopatch 9.0.1513: text scrolls unnecessarily when splitting v9.0.1513
Luuk van Baal [Sat, 6 May 2023 11:53:50 +0000 (12:53 +0100)] 
patch 9.0.1513: text scrolls unnecessarily when splitting

Problem:    Text scrolls unnecessarily when splitting and 'splitkeep' is not
            "cursor".
Solution:   Avoid resetting w_skipcol. (Luuk van Baal, closes #12334)

2 years agopatch 9.0.1512: inserting lines when scrolling with 'smoothscroll' set v9.0.1512
Luuk van Baal [Sat, 6 May 2023 11:40:15 +0000 (12:40 +0100)] 
patch 9.0.1512: inserting lines when scrolling with 'smoothscroll' set

Problem:    Inserting lines when scrolling with 'smoothscroll' set.
Solution:   Adjust line height computation for w_skipcol. (Luuk van Baal,
            closes #12350)

2 years agopatch 9.0.1511: crash when using wrong arg types to assert_match() v9.0.1511
zeertzjq [Sat, 6 May 2023 11:20:05 +0000 (12:20 +0100)] 
patch 9.0.1511: crash when using wrong arg types to assert_match()

Problem:    Crash when using wrong arg types to assert_match().
Solution:   Check for NULL pointer. (closes #12349)

2 years agopatch 9.0.1510: misleading variable name for error message v9.0.1510
Bram Moolenaar [Fri, 5 May 2023 21:58:34 +0000 (22:58 +0100)] 
patch 9.0.1510: misleading variable name for error message

Problem:    Misleading variable name for error message.
Solution:   Change "name" to "number".  (closes #12345)

2 years agopatch 9.0.1509: error message lacks mentioning the erroneous argument v9.0.1509
Bram Moolenaar [Fri, 5 May 2023 21:12:22 +0000 (22:12 +0100)] 
patch 9.0.1509: error message lacks mentioning the erroneous argument

Problem:    Error message lacks mentioning the erroneous argument.
Solution:   Specify the argument that the error is for.

2 years agopatch 9.0.1508: catch does not work when lines are joined with a newline v9.0.1508
zeertzjq [Fri, 5 May 2023 16:22:35 +0000 (17:22 +0100)] 
patch 9.0.1508: catch does not work when lines are joined with a newline

Problem:    Catch does not work when lines are joined with a newline.
Solution:   Set "nextcmd" appropriately. (closes #12348)

2 years agopatch 9.0.1507: assert message is confusing with boolean result v9.0.1507
zeertzjq [Thu, 4 May 2023 17:58:22 +0000 (18:58 +0100)] 
patch 9.0.1507: assert message is confusing with boolean result

Problem:    Assert message is confusing with boolean result.  assert_inrange()
            replaces message instead of adding it.
Solution:   Don't put quotes around expected boolean value.  Append message
            for assert_inrange(). (closes #12342, closes #12341)

2 years agopatch 9.0.1506: line number not displayed when using 'smoothscroll' v9.0.1506
zeertzjq [Tue, 2 May 2023 19:52:59 +0000 (20:52 +0100)] 
patch 9.0.1506: line number not displayed when using 'smoothscroll'

Problem:    Line number not displayed when using 'smoothscroll'.
Solution:   Adjust condition for showing the line number. (closes #12333)

2 years agopatch 9.0.1505: error when heredoc content looks like heredoc v9.0.1505
zeertzjq [Tue, 2 May 2023 15:25:47 +0000 (16:25 +0100)] 
patch 9.0.1505: error when heredoc content looks like heredoc

Problem:    Error when heredoc content looks like heredoc.
Solution:   Handle curly expressions. (closes #12325)

2 years agopatch 9.0.1504: no error when calling remote_startserver("") v9.0.1504
h-east [Mon, 1 May 2023 21:36:56 +0000 (22:36 +0100)] 
patch 9.0.1504: no error when calling remote_startserver("")

Problem:    No error when calling remote_startserver() with an empty string.
Solution:   Give an error for an empty string. (Hirohito Higashi,
            closes #12327)

2 years agopatch 9.0.1503: Luau files are not recognized v9.0.1503
Amaan Qureshi [Sun, 30 Apr 2023 20:24:39 +0000 (21:24 +0100)] 
patch 9.0.1503: Luau files are not recognized

Problem:    Luau files are not recognized.
Solution:   Add a patter for Luau files. (Amaan Qureshi, closes #12317)

2 years agopatch 9.0.1502: no test for deleting the end of a long wrapped line v9.0.1502
Luuk van Baal [Sun, 30 Apr 2023 18:15:30 +0000 (19:15 +0100)] 
patch 9.0.1502: no test for deleting the end of a long wrapped line

Problem:    No test for deleting the end of a long wrapped line.
Solution:   Add a test to check the right text is displayed. (Luuk van Baal,
            closes #12318)

2 years agopatch 9.0.1501: crash with nested :try and :throw in catch block v9.0.1501
Bram Moolenaar [Sun, 30 Apr 2023 17:50:48 +0000 (18:50 +0100)] 
patch 9.0.1501: crash with nested :try and :throw in catch block

Problem:    Crash with nested :try and :throw in catch block.
Solution:   Jump to :endtry before returning from function. (closes #12245)

2 years agopatch 9.0.1500: The falsy operator is not tested properly v9.0.1500
zeertzjq [Sun, 30 Apr 2023 14:29:56 +0000 (15:29 +0100)] 
patch 9.0.1500: The falsy operator is not tested properly

Problem:    The falsy operator is not tested properly.
Solution:   Add a few more test cases. (closes #12319)

2 years agopatch 9.0.1499: using uninitialized memory with fuzzy matching v9.0.1499
Bram Moolenaar [Sat, 29 Apr 2023 20:38:04 +0000 (21:38 +0100)] 
patch 9.0.1499: using uninitialized memory with fuzzy matching

Problem:    Using uninitialized memory with fuzzy matching.
Solution:   Initialize the arrays used to store match positions.

2 years agopatch 9.0.1498: in a terminal window the cursor may jump around v9.0.1498
Bram Moolenaar [Sat, 29 Apr 2023 13:26:02 +0000 (14:26 +0100)] 
patch 9.0.1498: in a terminal window the cursor may jump around

Problem:    In a terminal window the cursor may jump around. (Kenny Stauffer)
Solution:   Do not move the cursor to the position for terminal-normal mode.
            (closes #12312)

2 years agopatch 9.0.1497: the ruler percentage can't be localized v9.0.1497
Emir SARI [Sat, 29 Apr 2023 11:09:53 +0000 (12:09 +0100)] 
patch 9.0.1497: the ruler percentage can't be localized

Problem:    The ruler percentage can't be localized.
Solution:   Use a string that can be translated. (Emir Sari, closes #12311)

2 years agopatch 9.0.1496: test restoring register with wrong value v9.0.1496
zeertzjq [Fri, 28 Apr 2023 17:44:50 +0000 (18:44 +0100)] 
patch 9.0.1496: test restoring register with wrong value

Problem:    Test restoring register with wrong value.
Solution:   Correct name of variable. (closes #12310)

2 years agopatch 9.0.1495: GTK3: hiding the mouse pointer does not work v9.0.1495
Kenny Stauffer [Fri, 28 Apr 2023 15:36:51 +0000 (16:36 +0100)] 
patch 9.0.1495: GTK3: hiding the mouse pointer does not work

Problem:    GTK3: hiding the mouse pointer does not work. (Rory O’Kane)
Solution:   Set alpha level to zero. (Kenny Stauffer, closes #12293,
            closes #3256)

2 years agopatch 9.0.1494: crash when recovering from corrupted swap file v9.0.1494
Bram Moolenaar [Thu, 27 Apr 2023 20:13:12 +0000 (21:13 +0100)] 
patch 9.0.1494: crash when recovering from corrupted swap file

Problem:    Crash when recovering from corrupted swap file.
Solution:   Bail out when the line index looks wrong. (closes #12276)

2 years agopatch 9.0.1493: popup menu position wrong in window with toolbar v9.0.1493
zeertzjq [Thu, 27 Apr 2023 18:36:55 +0000 (19:36 +0100)] 
patch 9.0.1493: popup menu position wrong in window with toolbar

Problem:    Popup menu position wrong in window with toolbar.
Solution:   Take the window toolbar into account when positioning the popup
            menu. (closes #12308)

2 years agopatch 9.0.1492: using uninitialized memory when argument is missing v9.0.1492
Bram Moolenaar [Thu, 27 Apr 2023 15:24:07 +0000 (16:24 +0100)] 
patch 9.0.1492: using uninitialized memory when argument is missing

Problem:    Using uninitialized memory when argument is missing.
Solution:   Check there are sufficient arguments before the base.
            (closes #12302)

2 years agopatch 9.0.1491: wrong scrolling with ls=0 and :botright split v9.0.1491
zeertzjq [Wed, 26 Apr 2023 18:01:44 +0000 (19:01 +0100)] 
patch 9.0.1491: wrong scrolling with ls=0 and :botright split

Problem:    Wrong scrolling with ls=0 and :botright split.
Solution:   Add statusline before calling frame_new_height(). (closes #12299)

2 years agopatch 9.0.1490: the ModeChanged event may be triggered too often v9.0.1490
zeertzjq [Wed, 26 Apr 2023 15:50:19 +0000 (16:50 +0100)] 
patch 9.0.1490: the ModeChanged event may be triggered too often

Problem:    The ModeChanged event may be triggered too often.
Solution:   Only trigger ModeChanged when no operator is pending.
            (closes #12298)

2 years agopatch 9.0.1489: crypt with libsodium is not tested on CI v9.0.1489
ichizok [Wed, 26 Apr 2023 14:43:39 +0000 (15:43 +0100)] 
patch 9.0.1489: crypt with libsodium is not tested on CI

Problem:    Crypt with libsodium is not tested on CI.
Solution:   Configure testing with libsodium. (Ozaki Kiichi, closes #12297)

2 years agopatch 9.0.1488: xchacha20v2 crypt header is platform dependent v9.0.1488
ichizok [Tue, 25 Apr 2023 14:27:27 +0000 (15:27 +0100)] 
patch 9.0.1488: xchacha20v2 crypt header is platform dependent

Problem:    xchacha20v2 crypt header is platform dependent.
Solution:   Avoid using "size_t". (Ozaki Kiichi, closses #12296)

2 years agopatch 9.0.1487: Content-type header for LSP channel not according to spec v9.0.1487
Yegappan Lakshmanan [Tue, 25 Apr 2023 13:54:54 +0000 (14:54 +0100)] 
patch 9.0.1487: Content-type header for LSP channel not according to spec

Problem:    Content-type header for LSP channel not according to spec.
Solution:   Use "vscode-jsonrpc" instead of "vim-jsonrpc". (Yegappan
            Lakshmanan, closes #12295)

2 years agopatch 9.0.1486: parallel make might not work v9.0.1486
Samuel Dionne-Riel [Mon, 24 Apr 2023 21:41:53 +0000 (22:41 +0100)] 
patch 9.0.1486: parallel make might not work

Problem:    Parallel make might not work.
Solution:   Add missing dependencies. (Samuel Dionne-Riel, closes #12288)

2 years agopatch 9.0.1485: no functions for converting from/to UTF-16 index v9.0.1485
Christian Brabandt [Mon, 24 Apr 2023 20:09:54 +0000 (21:09 +0100)] 
patch 9.0.1485: no functions for converting from/to UTF-16 index

Problem:    no functions for converting from/to UTF-16 index.
Solution:   Add UTF-16 flag to existing funtions and add strutf16len() and
            utf16idx(). (Yegappan Lakshmanan, closes #12216)

2 years agopatch 9.0.1484: Coverity warns for using invalid array index v9.0.1484
Bram Moolenaar [Mon, 24 Apr 2023 17:11:35 +0000 (18:11 +0100)] 
patch 9.0.1484: Coverity warns for using invalid array index

Problem:    Coverity warns for using invalid array index.
Solution:   Add entry for Xchacha, even though it is not used.

2 years agopatch 9.0.1483: += operator does not work on class member v9.0.1483
Bram Moolenaar [Mon, 24 Apr 2023 16:15:25 +0000 (17:15 +0100)] 
patch 9.0.1483: += operator does not work on class member

Problem:    += operator does not work on class member.
Solution:   Do not skip as if "this." was used. (Christian Brabandt,
            closes #12263)

2 years agopatch 9.0.1482: crash when textprop has a very large "padding" value v9.0.1482
Bram Moolenaar [Sun, 23 Apr 2023 20:42:25 +0000 (21:42 +0100)] 
patch 9.0.1482: crash when textprop has a very large "padding" value

Problem:    Crash when textprop has a very large "padding" value. (Yegappan
            Lakshmanan)
Solution:   Avoid the "after" count to go negative.

2 years agopatch 9.0.1481: decrypting with libsodium may fail if the library changes v9.0.1481
Christian Brabandt [Sun, 23 Apr 2023 16:50:22 +0000 (17:50 +0100)] 
patch 9.0.1481: decrypting with libsodium may fail if the library changes

Problem:    Decrypting with libsodium may fail if the library changes.
Solution:   Add parameters used to the encrypted file header. (Christian
            Brabandt, closes #12279)

2 years agopatch 9.0.1480: using popup menu may leave text in the command line v9.0.1480
Luuk van Baal [Sun, 23 Apr 2023 15:24:08 +0000 (16:24 +0100)] 
patch 9.0.1480: using popup menu may leave text in the command line

Problem:    Using popup menu may leave text in the command line.
Solution:   Clear the command line if the popup menu covered it. (Luuk van
            Baal, closes #12286)

2 years agopatch 9.0.1479: small source file problems; outdated list of distrib. files v9.0.1479
Bram Moolenaar [Sat, 22 Apr 2023 21:54:40 +0000 (22:54 +0100)] 
patch 9.0.1479: small source file problems; outdated list of distrib. files

Problem:    Small source file problems; outdated list of distributed files.
Solution:   Small updates to source files and list of distributed files.

2 years agoUpdate runtime files
Bram Moolenaar [Sat, 22 Apr 2023 21:40:14 +0000 (22:40 +0100)] 
Update runtime files

2 years agopatch 9.0.1478: filetypes for *.v files not detected properly v9.0.1478
Turiiya [Sat, 22 Apr 2023 20:38:47 +0000 (21:38 +0100)] 
patch 9.0.1478: filetypes for *.v files not detected properly

Problem:    Filetypes for *.v files not detected properly.
Solution:   Use the file contents to detect the filetype. (Turiiya,
            closes #12281)

2 years agopatch 9.0.1477: crash when recovering from corrupted swap file v9.0.1477
Bram Moolenaar [Sat, 22 Apr 2023 20:14:26 +0000 (21:14 +0100)] 
patch 9.0.1477: crash when recovering from corrupted swap file

Problem:    Crash when recovering from corrupted swap file.
Solution:   Check for a valid page count. (closes #12275)

2 years agopatch 9.0.1476: lines put in non-current window are not displayed v9.0.1476
Bram Moolenaar [Sat, 22 Apr 2023 14:35:28 +0000 (15:35 +0100)] 
patch 9.0.1476: lines put in non-current window are not displayed

Problem:    Lines put in non-current window are not displayed. (Marius
            Gedminas)
Solution:   Don't increment the topline when inserting just above it.
            (closes #12212)

2 years agopatch 9.0.1474: CI runs with old version of Ubuntu and tools v9.0.1474
Philip H [Fri, 21 Apr 2023 18:51:22 +0000 (19:51 +0100)] 
patch 9.0.1474: CI runs with old version of Ubuntu and tools

Problem:    CI runs with old version of Ubuntu and tools.
Solution:   Update CI to more recent versions. (closes #11092)

2 years agopatch 9.0.1473: CI does not run sound tests v9.0.1473
ichizok [Fri, 21 Apr 2023 16:46:57 +0000 (17:46 +0100)] 
patch 9.0.1473: CI does not run sound tests

Problem:    CI does not run sound tests.
Solution:   Re-enable sound tests.  Use "apt-get" instead of "apt". (Ozaki
            Kiichi, closes #12280)

2 years agopatch 9.0.1472: ":drop fname" may change the last used tab page v9.0.1472
Bram Moolenaar [Thu, 20 Apr 2023 17:07:57 +0000 (18:07 +0100)] 
patch 9.0.1472: ":drop fname" may change the last used tab page

Problem:    ":drop fname" may change the last used tab page.
Solution:   Restore the last used tab page when :drop has changed it.
            (closes #12087)

2 years agopatch 9.0.1471: warnings for function declarations v9.0.1471
Michael Jarvis [Wed, 19 Apr 2023 19:28:48 +0000 (20:28 +0100)] 
patch 9.0.1471: warnings for function declarations

Problem:    Warnings for function declarations.
Solution:   Add argument types. (Michael Jarvis, closes #12277)

2 years agopatch 9.0.1470: deferred functions invoked in unexpected order v9.0.1470
zeertzjq [Wed, 19 Apr 2023 13:21:24 +0000 (14:21 +0100)] 
patch 9.0.1470: deferred functions invoked in unexpected order

Problem:    Deferred functions invoked in unexpected order when using :qa and
            autocommands.
Solution:   Call deferred functions for the current funccal before using the
            stack. (closes #12278)

2 years agopatch 9.0.1469: deferred functions not called from autocommands v9.0.1469
zeertzjq [Tue, 18 Apr 2023 20:52:54 +0000 (21:52 +0100)] 
patch 9.0.1469: deferred functions not called from autocommands

Problem:    Deferred functions not called from autocommands.
Solution:   Also go through the funccal_stack. (closes #12267)

2 years agopatch 9.0.1468: recursively calling :defer function if it does :qa v9.0.1468
zeertzjq [Tue, 18 Apr 2023 20:04:53 +0000 (21:04 +0100)] 
patch 9.0.1468: recursively calling :defer function if it does :qa

Problem:    Recursively calling :defer function if it does :qa in a compiled
            function.
Solution:   Clear the defer entry before calling the function. (closes #12271)

2 years agopatch 9.0.1467: Jenkinsfiles are not recognized as groovy v9.0.1467
dundargoc [Tue, 18 Apr 2023 19:53:22 +0000 (20:53 +0100)] 
patch 9.0.1467: Jenkinsfiles are not recognized as groovy

Problem:    Jenkinsfiles are not recognized as groovy.
Solution:   Add a pattern for Jenkinsfiles. (closes #12236)

2 years agopatch 9.0.1466: cannot use an object member name as a method argument v9.0.1466
h-east [Tue, 18 Apr 2023 18:07:29 +0000 (19:07 +0100)] 
patch 9.0.1466: cannot use an object member name as a method argument

Problem:    Cannot use an object member name as a method argument.
Solution:   Do not give an error for using an object member name for a method
            argument. (Hirohito Higashi, closes #12241, closes #12225)
            Fix line number for other argument error.

2 years agopatch 9.0.1465: Haiku build fails v9.0.1465
ichizok [Tue, 18 Apr 2023 16:20:08 +0000 (17:20 +0100)] 
patch 9.0.1465: Haiku build fails

Problem:    Haiku build fails.
Solution:   Do not include globals.h and proto.h twice. (Ozaki Kiichi,
            closes #12273)

2 years agopatch 9.0.1464: strace filetype detection is expensive v9.0.1464
Federico Mengozzi [Mon, 17 Apr 2023 21:31:38 +0000 (22:31 +0100)] 
patch 9.0.1464: strace filetype detection is expensive

Problem:    Strace filetype detection is expensive.
Solution:   Match with a cheap pattern first. (Federico Mengozzi,
            closes #12220)

2 years agopatch 9.0.1463: virtual text truncation only works with Unicode 'encoding' v9.0.1463
h-east [Mon, 17 Apr 2023 20:44:57 +0000 (21:44 +0100)] 
patch 9.0.1463: virtual text truncation only works with Unicode 'encoding'

Problem:    Virtual text truncation only works with Unicode 'encoding'.
Solution:   Convert the ellipsis character to 'encoding' if needed. (Hirohito
            Higashi, closes #12233)

2 years agopatch 9.0.1462: recursively calling :defer function if it does :qa v9.0.1462
Bram Moolenaar [Mon, 17 Apr 2023 18:23:45 +0000 (19:23 +0100)] 
patch 9.0.1462: recursively calling :defer function if it does :qa

Problem:    Recursively calling :defer function if it does :qa.
Solution:   Clear the defer entry before calling the function. (closes #12266)

2 years agopatch 9.0.1461: ruler not drawn correctly when using 'rulerformat' v9.0.1461
Sean Dewar [Mon, 17 Apr 2023 15:41:20 +0000 (16:41 +0100)] 
patch 9.0.1461: ruler not drawn correctly when using 'rulerformat'

Problem:    Ruler not drawn correctly when using 'rulerformat'.
Solution:   Adjust formatting depending on whether the ruler is drawn in the
            statusline or the command line. (Sean Dewar, closes #12246)

2 years agopatch 9.0.1460: insufficient testing for getcmdcompltype() v9.0.1460
zeertzjq [Mon, 17 Apr 2023 14:53:24 +0000 (15:53 +0100)] 
patch 9.0.1460: insufficient testing for getcmdcompltype()

Problem:    Insufficient testing for getcmdcompltype().
Solution:   Add a few more test cases. (closes #12268)

2 years agopatch 9.0.1459: typo in name of type v9.0.1459
zeertzjq [Sun, 16 Apr 2023 19:53:55 +0000 (20:53 +0100)] 
patch 9.0.1459: typo in name of type

Problem:    Typo in name of type.
Solution:   Change funccal_T to funccall_T. (closes #12265)

2 years agopatch 9.0.1458: buffer overflow when expanding long file name v9.0.1458
Yee Cheng Chin [Sun, 16 Apr 2023 19:13:12 +0000 (20:13 +0100)] 
patch 9.0.1458: buffer overflow when expanding long file name

Problem:    Buffer overflow when expanding long file name.
Solution:   Use a larger buffer and avoid overflowing it. (Yee Cheng Chin,
            closes #12201)

2 years agopatch 9.0.1457: no regression test for what patch 9.0.1333 fixes v9.0.1457
Bram Moolenaar [Sun, 16 Apr 2023 16:17:37 +0000 (17:17 +0100)] 
patch 9.0.1457: no regression test for what patch 9.0.1333 fixes

Problem:    No regression test for what patch 9.0.1333 fixes.
Solution:   Extend existing test to cover the fixed problem. (issue #11930)

2 years agopatch 9.0.1456: shortmess test depends on order of test execution v9.0.1456
zeertzjq [Sat, 15 Apr 2023 20:28:02 +0000 (21:28 +0100)] 
patch 9.0.1456: shortmess test depends on order of test execution

Problem:    Shortmess test depends on order of test execution.
Solution:   Clear messages. (closes #12264)

2 years agopatch 9.0.1455: C++ 20 modules are not recognized v9.0.1455
Ben Jackson [Sat, 15 Apr 2023 17:17:17 +0000 (18:17 +0100)] 
patch 9.0.1455: C++ 20 modules are not recognized

Problem:    C++ 20 modules are not recognized.
Solution:   Add patterns to recognize C++ 20 modules as "cpp". (Ben Jackson,
            closes #12261)

2 years agopatch 9.0.1454: code indenting is confused by macros v9.0.1454
ichizok [Sat, 15 Apr 2023 12:17:50 +0000 (13:17 +0100)] 
patch 9.0.1454: code indenting is confused by macros

Problem:    Code indenting is confused by macros.
Solution:   Put semicolon after the macros instead of inside. (Ozaki Kiichi,
            closes #12257)

2 years agopatch 9.0.1453: typos in source code and tests v9.0.1453
Dominique Pelle [Fri, 14 Apr 2023 20:54:25 +0000 (21:54 +0100)] 
patch 9.0.1453: typos in source code and tests

Problem:    Typos in source code and tests.
Solution:   Fi the typos. (Dominique Pellé, closes #12217)

2 years agopatch 9.0.1452: code using EVAL_CONSTANT is dead, it is never set v9.0.1452
zeertzjq [Thu, 13 Apr 2023 21:12:50 +0000 (22:12 +0100)] 
patch 9.0.1452: code using EVAL_CONSTANT is dead, it is never set

Problem:    Code using EVAL_CONSTANT is dead, it is never set.
Solution:   Remove EVAL_CONSTANT. (closes #12252)

2 years agopatch 9.0.1451: unnecessary redrawing when 'showcmdloc' is not "last" v9.0.1451
Luuk van Baal [Thu, 13 Apr 2023 20:47:38 +0000 (21:47 +0100)] 
patch 9.0.1451: unnecessary redrawing when 'showcmdloc' is not "last"

Problem:    Unnecessary redrawing when 'showcmdloc' is not "last".
Solution:   Redraw later when "showcmd_is_clear" is set. (Luuk van Baal,
            closes #12260)

2 years agopatch 9.0.1450: MacOS: building fails if clock_gettime() is not available v9.0.1450
Bram Moolenaar [Thu, 13 Apr 2023 18:15:54 +0000 (19:15 +0100)] 
patch 9.0.1450: MacOS: building fails if clock_gettime() is not available

Problem:    MacOS: building fails if clock_gettime() is not available.
Solution:   Add a configure check for clock_gettime(). (closes #12242)

2 years agopatch 9.0.1449: test for prompt buffer is flaky v9.0.1449
Bram Moolenaar [Thu, 13 Apr 2023 16:32:23 +0000 (17:32 +0100)] 
patch 9.0.1449: test for prompt buffer is flaky

Problem:    Test for prompt buffer is flaky.
Solution:   Use WaitForAssert() instead of TermWait(). (Ozaki Kiichi,
            closes #12247)

2 years agopatch 9.0.1448: diff test fails on MacOS 13 v9.0.1448
ichizok [Thu, 13 Apr 2023 16:23:45 +0000 (17:23 +0100)] 
patch 9.0.1448: diff test fails on MacOS 13

Problem:    Diff test fails on MacOS 13.
Solution:   Install GNU diffutils. (Ozaki Kiichi, closes #12258)

2 years agopatch 9.0.1447: condition is always true v9.0.1447
zeertzjq [Wed, 12 Apr 2023 20:36:03 +0000 (21:36 +0100)] 
patch 9.0.1447: condition is always true

Problem:    Condition is always true.
Solution:   Remove the useless condition. (closes #12253)

2 years agopatch 9.0.1446: unnecessary checks for the "skip" flag when skipping v9.0.1446
zeertzjq [Wed, 12 Apr 2023 19:48:16 +0000 (20:48 +0100)] 
patch 9.0.1446: unnecessary checks for the "skip" flag when skipping

Problem:    Unnecessary checks for the "skip" flag when skipping.
Solution:   Remove the unnecessary checks. (closes #12254)

2 years agopatch 9.0.1445: openSUSE: configure doesn't find the Motif library v9.0.1445
Bram Moolenaar [Wed, 12 Apr 2023 15:24:03 +0000 (16:24 +0100)] 
patch 9.0.1445: openSUSE: configure doesn't find the Motif library

Problem:    openSUSE: configure doesn't find the Motif library. (Tony
            Mechelynck)
Solution:   Also search in /usr/lib64.

2 years agopatch 9.0.1444: crash when passing NULL to setcmdline() v9.0.1444
zeertzjq [Wed, 12 Apr 2023 15:21:14 +0000 (16:21 +0100)] 
patch 9.0.1444: crash when passing NULL to setcmdline()

Problem:    Crash when passing NULL to setcmdline(). (Andreas Louv)
Solution:   Use tv_get_string() instead of using v_string directly.
            (closes #12231, closes #12227)

2 years agopatch 9.0.1443: ending Insert mode when accessing a hidden prompt buffer v9.0.1443
Bram Moolenaar [Sun, 9 Apr 2023 21:01:31 +0000 (22:01 +0100)] 
patch 9.0.1443: ending Insert mode when accessing a hidden prompt buffer

Problem:    Ending Insert mode when accessing a hidden prompt buffer.
Solution:   Don't stop Insert mode when it was active before. (closes #12237)

2 years agopatch 9.0.1442: mapset() does not restore non-script context v9.0.1442
zeertzjq [Fri, 7 Apr 2023 21:09:46 +0000 (22:09 +0100)] 
patch 9.0.1442: mapset() does not restore non-script context

Problem:    mapset() does not restore non-script context.
Solution:   Also accept negative sid. (closes #12132)

2 years agopatch 9.0.1441: MacOS: Python 3 using framework do not set dll name properly v9.0.1441
Yee Cheng Chin [Wed, 5 Apr 2023 17:24:50 +0000 (18:24 +0100)] 
patch 9.0.1441: MacOS: Python 3 using framework do not set dll name properly

Problem:    MacOS: Python 3 using framework do not set dll name properly.
Solution:   Use the framework prefix. (Yee Cheng Chin, closes #12189)

2 years agopatch 9.0.1440: "rvim" can execute a shell through :diffpatch v9.0.1440
Bram Moolenaar [Tue, 4 Apr 2023 21:04:53 +0000 (22:04 +0100)] 
patch 9.0.1440: "rvim" can execute a shell through :diffpatch

Problem:    "rvim" can execute a shell through :diffpatch.
Solution:   Disallow the shell "patch" command.

2 years agopatch 9.0.1439: start Insert mode when accessing a hidden prompt buffer v9.0.1439
orbital [Sun, 2 Apr 2023 21:05:13 +0000 (22:05 +0100)] 
patch 9.0.1439: start Insert mode when accessing a hidden prompt buffer

Problem:    Start Insert mode when accessing a hidden prompt buffer.
Solution:   Call leaving_window() in aucmd_restbuf(). (Thorben Tröbst,
            closes #12148, closes #12147)

2 years agopatch 9.0.1438: .fs files are falsely recognized as forth files v9.0.1438
Johan Kotlinski [Sun, 2 Apr 2023 19:29:38 +0000 (20:29 +0100)] 
patch 9.0.1438: .fs files are falsely recognized as forth files

Problem:    .fs files are falsely recognized as forth files.
Solution:   Check 100 lines for something that looks like forth. (Johan
            Kotlinski, closes #12219, closes #11988)

2 years agopatch 9.0.1437: test fails with different error number v9.0.1437
Bram Moolenaar [Sat, 1 Apr 2023 21:24:18 +0000 (22:24 +0100)] 
patch 9.0.1437: test fails with different error number

Problem:    Test fails with different error number.
Solution:   Adjust the expected error.

2 years agopatch 9.0.1436: cannot compare a typed variable with v:none v9.0.1436
Bram Moolenaar [Sat, 1 Apr 2023 21:05:38 +0000 (22:05 +0100)] 
patch 9.0.1436: cannot compare a typed variable with v:none

Problem:    Cannot compare a typed variable with v:none.
Solution:   Allow for "x is v:none" and "x isnot v:none". (issue #12194)

2 years agopatch 9.0.1435: scrolling too many lines when 'wrap' and 'diff' are set v9.0.1435
Bram Moolenaar [Sat, 1 Apr 2023 18:54:40 +0000 (19:54 +0100)] 
patch 9.0.1435: scrolling too many lines when 'wrap' and 'diff' are set

Problem:    Scrolling too many lines when 'wrap' and 'diff' are set.
Solution:   Only scroll by screenlines for 'diff' when 'wrap' is not set.
            (closes #12211)

2 years agopatch 9.0.1434: crash when adding package already in 'runtimepath' v9.0.1434
zeertzjq [Sat, 1 Apr 2023 12:52:03 +0000 (13:52 +0100)] 
patch 9.0.1434: crash when adding package already in 'runtimepath'

Problem:    Crash when adding package already in 'runtimepath'.
Solution:   Change order for using 'runtimepath' entries. (closes #12215)

2 years agopatch 9.0.1433: on some systems the Lua library is not found v9.0.1433
Bram Moolenaar [Fri, 31 Mar 2023 20:29:00 +0000 (21:29 +0100)] 
patch 9.0.1433: on some systems the Lua library is not found

Problem:    On some systems the Lua library is not found.
Solution:   Check if a subdirectory for Lua exists.  (closes #4475)

2 years agopatch 9.0.1432: completion popup in wrong position with virtual text "above" v9.0.1432
Bram Moolenaar [Fri, 31 Mar 2023 18:32:29 +0000 (19:32 +0100)] 
patch 9.0.1432: completion popup in wrong position with virtual text "above"

Problem:    Completion popup in wrong position with virtual text "above".
Solution:   Adjust the column. (closes #12210)

2 years agopatch 9.0.1431: getscriptinfo() loops even when specific SID is given v9.0.1431
zeertzjq [Thu, 30 Mar 2023 20:50:37 +0000 (21:50 +0100)] 
patch 9.0.1431: getscriptinfo() loops even when specific SID is given

Problem:    getscriptinfo() loops even when specific SID is given.
Solution:   Only loop when needed.  Give a clearer error message.
            (closes #12207)

2 years agopatch 9.0.1430: Livebook files are not recognized v9.0.1430
Mathias Jean Johansen [Tue, 28 Mar 2023 20:28:36 +0000 (21:28 +0100)] 
patch 9.0.1430: Livebook files are not recognized

Problem:    Livebook files are not recognized.
Solution:   Add a pattern for Livebook files. (Mathias Jean Johansen,
            closes #12203)

2 years agopatch 9.0.1429: invalid memory access when ending insert mode v9.0.1429
Bram Moolenaar [Sun, 26 Mar 2023 20:27:24 +0000 (21:27 +0100)] 
patch 9.0.1429: invalid memory access when ending insert mode

Problem:    Invalid memory access when ending insert mode.
Solution:   Check if the insert_skip value is valid.

2 years agopatch 9.0.1428: cursor in wrong position when leaving insert mode v9.0.1428
Bram Moolenaar [Sat, 25 Mar 2023 20:06:49 +0000 (20:06 +0000)] 
patch 9.0.1428: cursor in wrong position when leaving insert mode

Problem:    Cursor in wrong position when leaving insert mode.
Solution:   Update the w_valid flags.  Position the cursor also when not
            redrawing. (closes #12137)

2 years agopatch 9.0.1427: warning for uninitialized variable v9.0.1427
Bram Moolenaar [Sat, 25 Mar 2023 11:31:32 +0000 (11:31 +0000)] 
patch 9.0.1427: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Add #ifdef.

2 years agopatch 9.0.1426: indent wrong after "export namespace" in C++ v9.0.1426
Virginia Senioria [Fri, 24 Mar 2023 19:25:06 +0000 (19:25 +0000)] 
patch 9.0.1426: indent wrong after "export namespace" in C++

Problem:    Indent wrong after "export namespace" in C++.
Solution:   Skip over "inline" and "export" in any order. (Virginia Senioria,
            closes #12134, closes #12133)

2 years agopatch 9.0.1425: "wat" and "wast" files are one filetype v9.0.1425
Amaan Qureshi [Thu, 23 Mar 2023 15:45:46 +0000 (15:45 +0000)] 
patch 9.0.1425: "wat" and "wast" files are one filetype

Problem:    "wat" and "wast" files are one filetype.
Solution:   Add a separate filetype for "wat" files. (Amaan Qureshi,
            closes #12165)

2 years agopatch 9.0.1424: unused macros are defined v9.0.1424
Bram Moolenaar [Wed, 22 Mar 2023 22:03:16 +0000 (22:03 +0000)] 
patch 9.0.1424: unused macros are defined

Problem:    Unused macros are defined.
Solution:   Remove the unused macros.

2 years agopatch 9.0.1423: WebAssembly Interface Type files are not recognized v9.0.1423
Amaan Qureshi [Tue, 21 Mar 2023 22:03:15 +0000 (22:03 +0000)] 
patch 9.0.1423: WebAssembly Interface Type files are not recognized

Problem:    WebAssembly Interface Type files are not recognized.
Solution:   Add a pattern for WIT files. (Amaan Qureshi, closes #12173)

2 years agopatch 9.0.1422: Sage files are not recognized v9.0.1422
Amaan Qureshi [Tue, 21 Mar 2023 21:31:55 +0000 (21:31 +0000)] 
patch 9.0.1422: Sage files are not recognized

Problem:    Sage files are not recognized.
Solution:   Add a pattern for Sage files. (Amaan Qureshi, closes #12176)

2 years agopatch 9.0.1421: Nu files are not recognized v9.0.1421
Amaan Qureshi [Tue, 21 Mar 2023 21:28:06 +0000 (21:28 +0000)] 
patch 9.0.1421: Nu files are not recognized

Problem:    Nu files are not recognized.
Solution:   Add a pattern for Nu files. (Amaan Qureshi, closes #12172)

2 years agopatch 9.0.1420: build failure because SIZE_MAX is not defined v9.0.1420
Bram Moolenaar [Tue, 21 Mar 2023 20:04:58 +0000 (20:04 +0000)] 
patch 9.0.1420: build failure because SIZE_MAX is not defined

Problem:    Build failure because SIZE_MAX is not defined.
Solution:   Define SIZE_MAX when missing. (John Marriott)