]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0810: readblob() returns empty when trying to read too much v9.0.0810
Bram Moolenaar [Fri, 21 Oct 2022 10:25:30 +0000 (11:25 +0100)]
patch 9.0.0810: readblob() returns empty when trying to read too much

Problem:    readblob() returns empty when trying to read too much.
Solution:   Return what is available.

2 years agopatch 9.0.0809: test for job writing to buffer fails v9.0.0809
Bram Moolenaar [Thu, 20 Oct 2022 20:14:19 +0000 (21:14 +0100)]
patch 9.0.0809: test for job writing to buffer fails

Problem:    Test for job writing to buffer fails.
Solution:   Correct w_topline when deleting a buffer line.

2 years agopatch 9.0.0808: jsonnet filetype detection has a typo v9.0.0808
Maxime Brunet [Thu, 20 Oct 2022 19:52:44 +0000 (20:52 +0100)]
patch 9.0.0808: jsonnet filetype detection has a typo

Problem:    jsonnet filetype detection has a typo.
Solution:   Change "libjsonnet" to "libsonnet". (Maxime Brunet, closes #11412)

2 years agopatch 9.0.0807: with 'smoothscroll' typing "0" may not go to the first column v9.0.0807
Bram Moolenaar [Thu, 20 Oct 2022 19:15:47 +0000 (20:15 +0100)]
patch 9.0.0807: with 'smoothscroll' typing "0" may not go to the first column

Problem:    With 'smoothscroll' typing "0" may not go to the first column.
Solution:   Recompute w_cline_height when needed.  Do not scroll up when it
            would move the cursor.

2 years agopatch 9.0.0806: 'langmap' works differently when there are modifiers v9.0.0806
zeertzjq [Thu, 20 Oct 2022 16:59:38 +0000 (17:59 +0100)]
patch 9.0.0806: 'langmap' works differently when there are modifiers

Problem:    'langmap' works differently when there are modifiers.
Solution:   Only apply 'langmap' to a character where modifiers have no
            effect. (closes #11395, closes #11404)

2 years agopatch 9.0.0805: filetype autocmd may cause freed memory access v9.0.0805
Bram Moolenaar [Thu, 20 Oct 2022 15:03:33 +0000 (16:03 +0100)]
patch 9.0.0805: filetype autocmd may cause freed memory access

Problem:    Filetype autocmd may cause freed memory access.
Solution:   Set the quickfix-busy flag while filling the buffer.

2 years agopatch 9.0.0804: crash when trying to divide a number by -1 v9.0.0804
Bram Moolenaar [Thu, 20 Oct 2022 13:17:18 +0000 (14:17 +0100)]
patch 9.0.0804: crash when trying to divide a number by -1

Problem:    Crash when trying to divice the largest negative number by -1.
Solution:   Handle this case specifically.

2 years agopatch 9.0.0803: readblob() cannot read from character device v9.0.0803
K.Takata [Thu, 20 Oct 2022 12:28:51 +0000 (13:28 +0100)]
patch 9.0.0803: readblob() cannot read from character device

Problem:    readblob() cannot read from character device.
Solution:   Use S_ISCHR() to not check the size. (Ken Takata, closes #11407)

2 years agopatch 9.0.0802: MS-Windows: cannot map console mouse scroll events v9.0.0802
Christopher Plewright [Thu, 20 Oct 2022 12:11:15 +0000 (13:11 +0100)]
patch 9.0.0802: MS-Windows: cannot map console mouse scroll events

Problem:    MS-Windows: cannot map console mouse scroll events.
Solution:   Change CSI to K_SPECIAL when checking for a mapping. (Christopher
            Plewright, closes #11410)

2 years agopatch 9.0.0801: the modifyOtherKeys flag is set when it should not v9.0.0801
Bram Moolenaar [Wed, 19 Oct 2022 19:07:09 +0000 (20:07 +0100)]
patch 9.0.0801: the modifyOtherKeys flag is set when it should not

Problem:    The modifyOtherKeys flag is set when it should not.
Solution:   Do not handle special key codes with a modifer value above 16 as a
            modifyOtherKeys value. (issue #11403)

2 years agopatch 9.0.0800: compiler complains about repeated typedef v9.0.0800
Bram Moolenaar [Wed, 19 Oct 2022 18:24:48 +0000 (19:24 +0100)]
patch 9.0.0800: compiler complains about repeated typedef

Problem:    Compiler complains about repeated typedef.
Solution:   Remove one typedef.

2 years agopatch 9.0.0799: in compiled function ->() on next line not recognized v9.0.0799
Bram Moolenaar [Wed, 19 Oct 2022 17:04:49 +0000 (18:04 +0100)]
patch 9.0.0799: in compiled function ->() on next line not recognized

Problem:    In compiled function ->() on next line not recognized.
Solution:   Also check for "(". (closes #11405)

2 years agopatch 9.0.0798: clang format configuration files are not recognized v9.0.0798
Marwin Glaser [Wed, 19 Oct 2022 14:39:49 +0000 (15:39 +0100)]
patch 9.0.0798: clang format configuration files are not recognized

Problem:    Clang format configuration files are not recognized.
Solution:   Use yaml for Clang format configuration files. (Marwin Glaser,
            closes #11398)

2 years agopatch 9.0.0797: order of assert function arguments is reverted v9.0.0797
zeertzjq [Wed, 19 Oct 2022 14:12:54 +0000 (15:12 +0100)]
patch 9.0.0797: order of assert function arguments is reverted

Problem:    Order of assert function arguments is reverted.
Solution:   Swap the arguments. (closes #11399)

2 years agopatch 9.0.0796: mapping test fails in some situations v9.0.0796
Bram Moolenaar [Wed, 19 Oct 2022 13:48:14 +0000 (14:48 +0100)]
patch 9.0.0796: mapping test fails in some situations

Problem:    Mapping test fails in some situations.
Solution:   Find the line with the verbose information.

2 years agopatch 9.0.0795: readblob() always reads the whole file v9.0.0795
K.Takata [Wed, 19 Oct 2022 13:02:40 +0000 (14:02 +0100)]
patch 9.0.0795: readblob() always reads the whole file

Problem:    readblob() always reads the whole file.
Solution:   Add arguments to read part of the file. (Ken Takata,
            closes #11402)

2 years agopatch 9.0.0794: there is no way to find out if modifyOtherKeys has been seen v9.0.0794
Bram Moolenaar [Wed, 19 Oct 2022 12:07:03 +0000 (13:07 +0100)]
patch 9.0.0794: there is no way to find out if modifyOtherKeys has been seen

Problem:    There is no way to find out if an escape sequence with
            modifyOtherKeys has been seen.
Solution:   Add a notice with ":verbose map".

2 years agopatch 9.0.0793: MS-Windows: mouse scroll events only work with the dll v9.0.0793
Christopher Plewright [Wed, 19 Oct 2022 10:54:46 +0000 (11:54 +0100)]
patch 9.0.0793: MS-Windows: mouse scroll events only work with the dll

Problem:    MS-Windows: mouse scroll events only work with the dll.
Solution:   Accept CSI codes for MS-Windows without the GUI. (Christopher
            Plewright, closes #11401)

2 years agopatch 9.0.0792: MS-Windows: compiler complains about unused function v9.0.0792
Bram Moolenaar [Tue, 18 Oct 2022 20:48:14 +0000 (21:48 +0100)]
patch 9.0.0792: MS-Windows: compiler complains about unused function

Problem:    MS-Windows: compiler complains about unused function.
Solution:   Add #ifdef. (John Marriott)

2 years agopatch 9.0.0791: at the hit-Enter prompt the End and Home keys may not work v9.0.0791
Trygve Aaberge [Tue, 18 Oct 2022 18:22:25 +0000 (19:22 +0100)]
patch 9.0.0791: at the hit-Enter prompt the End and Home keys may not work

Problem:    At the hit-Enter prompt the End and Home keys may not work.
Solution:   Use the special "@" code for End and Home, like it was done for
            the cursor keys in patch 8.2.2246. (Trygve Aaberge, closes #11396)

2 years agopatch 9.0.0790: test for dummy buffer does not always produce the E86 error v9.0.0790
Bram Moolenaar [Tue, 18 Oct 2022 16:25:03 +0000 (17:25 +0100)]
patch 9.0.0790: test for dummy buffer does not always produce the E86 error

Problem:    Test for dummy buffer does not always produce the E86 error.
Solution:   Do not check if the error is produced.

2 years agopatch 9.0.0789: dummy buffer ends up in a window v9.0.0789
Bram Moolenaar [Tue, 18 Oct 2022 16:05:54 +0000 (17:05 +0100)]
patch 9.0.0789: dummy buffer ends up in a window

Problem:    Dummy buffer ends up in a window.
Solution:   Disallow navigating to a dummy buffer.

2 years agopatch 9.0.0788: ModeChanged autocmd not executed when Visual ends with CTRL-C v9.0.0788
Bram Moolenaar [Tue, 18 Oct 2022 14:10:11 +0000 (15:10 +0100)]
patch 9.0.0788: ModeChanged autocmd not executed when Visual ends with CTRL-C

Problem:    ModeChanged autocmd not executed when Visual mode is ended with
            CTRL-C.
Solution:   Do not trigger the autocmd when got_int is set. (closes #11394)

2 years agopatch 9.0.0787: mouse scrolling in terminal misbehaves without dll v9.0.0787
Christopher Plewright [Tue, 18 Oct 2022 12:33:26 +0000 (13:33 +0100)]
patch 9.0.0787: mouse scrolling in terminal misbehaves without dll

Problem:    MS-Windows: mouse scrolling in terminal misbehaves without dll.
Solution:   Add #ifdef as a temporary solution. (Christopher Plewright,
            closes #11392)

2 years agopatch 9.0.0786: user command does not get number from :tab modifier v9.0.0786
zeertzjq [Tue, 18 Oct 2022 12:11:21 +0000 (13:11 +0100)]
patch 9.0.0786: user command does not get number from :tab modifier

Problem:    User command does not get number from :tab modifier.
Solution:   Include the number. (closes #11393, closes #6801)

2 years agopatch 9.0.0785: memory leak with empty shell command v9.0.0785
Bram Moolenaar [Mon, 17 Oct 2022 19:00:26 +0000 (20:00 +0100)]
patch 9.0.0785: memory leak with empty shell command

Problem:    Memory leak with empty shell command.
Solution:   Free the allocated memory when bailing out.

2 years agopatch 9.0.0784: text prop "above" not right with 'number' and "n" in 'cpo' v9.0.0784
Bram Moolenaar [Mon, 17 Oct 2022 17:55:03 +0000 (18:55 +0100)]
patch 9.0.0784: text prop "above" not right with 'number' and "n" in 'cpo'

Problem:    Text prop "above" not displayed correctly with 'number' and "n" in
            'cpo'.
Solution:   Draw the line number column until the line text is reached.

2 years agopatch 9.0.0783: ":!" doesn't do anything but does update the previous command v9.0.0783
Bram Moolenaar [Mon, 17 Oct 2022 17:00:23 +0000 (18:00 +0100)]
patch 9.0.0783: ":!" doesn't do anything but does update the previous command

Problem:    ":!" doesn't do anything but does update the previous command.
Solution:   Do not have ":!" change the previous command. (Martin Tournoij,
            closes #11372)

2 years agopatch 9.0.0782: OpenVPN files are not recognized v9.0.0782
ObserverOfTime [Mon, 17 Oct 2022 14:28:47 +0000 (15:28 +0100)]
patch 9.0.0782: OpenVPN files are not recognized

Problem:    OpenVPN files are not recognized.
Solution:   Add patterns for OpenVPN files. (closes #11391)

2 years agopatch 9.0.0781: workaround to rename "small" to "smallfont" is clumsy v9.0.0781
Bram Moolenaar [Mon, 17 Oct 2022 13:51:36 +0000 (14:51 +0100)]
patch 9.0.0781: workaround to rename "small" to "smallfont" is clumsy

Problem:    Workaround to rename "small" to "smallfont" is clumsy.
Solution:   Undefine "small" after including windows.h. (Ken Takata)

2 years agopatch 9.0.0780: 'scroll' value computed in unexpected location v9.0.0780
Luuk van Baal [Mon, 17 Oct 2022 13:22:03 +0000 (14:22 +0100)]
patch 9.0.0780: 'scroll' value computed in unexpected location

Problem:    'scroll' value computed in unexpected location.
Solution:   Compute 'scroll' when the window height is changed. (Luuk van
            Baal, closes #11387)

2 years agopatch 9.0.0779: lsl and lm3 file extensions are not recognized v9.0.0779
Doug Kearns [Mon, 17 Oct 2022 12:32:17 +0000 (13:32 +0100)]
patch 9.0.0779: lsl and lm3 file extensions are not recognized

Problem:    lsl and lm3 file extensions are not recognized.
Solution:   Add *.lsl and *.lm3 patterns. (Doug Kearns, closes #11384)

2 years agopatch 9.0.0778: indexing of unknown const type fails during compilation v9.0.0778
Bram Moolenaar [Mon, 17 Oct 2022 12:13:32 +0000 (13:13 +0100)]
patch 9.0.0778: indexing of unknown const type fails during compilation

Problem:    Indexing of unknown const type fails during compilation.
Solution:   Check for "any" properly. (closes #11389)

2 years agopatch 9.0.0777: code is indented too much v9.0.0777
Yegappan Lakshmanan [Sun, 16 Oct 2022 20:43:07 +0000 (21:43 +0100)]
patch 9.0.0777: code is indented too much

Problem:    Code is indented too much.
Solution:   Use an early return. (Yegappan Lakshmanan, closes #11386)

2 years agopatch 9.0.0776: MSVC can't have field name "small" v9.0.0776
Bram Moolenaar [Sun, 16 Oct 2022 19:24:16 +0000 (20:24 +0100)]
patch 9.0.0776: MSVC can't have field name "small"

Problem:    MSVC can't have field name "small".
Solution:   Rename small to smallfont.

2 years agopatch 9.0.0775: MS-Windows: mouse scrolling not supported in the console v9.0.0775
Christopher Plewright [Sun, 16 Oct 2022 18:47:45 +0000 (19:47 +0100)]
patch 9.0.0775: MS-Windows: mouse scrolling not supported in the console

Problem:    MS-Windows: mouse scrolling not supported in the console.
Solution:   Add event handling for mouse scroll events. (Christopher
            Plewright, closes #11374)

2 years agopatch 9.0.0774: the libvterm code is outdated v9.0.0774
Bram Moolenaar [Sun, 16 Oct 2022 18:26:52 +0000 (19:26 +0100)]
patch 9.0.0774: the libvterm code is outdated

Problem:    The libvterm code is outdated.
Solution:   Include libvterm changes from revision 802 to 817.  Revert some
            changes made for C89.

2 years agopatch 9.0.0773: huge build on macos uses dynamic Perl v9.0.0773
Philip H [Sun, 16 Oct 2022 13:53:34 +0000 (14:53 +0100)]
patch 9.0.0773: huge build on macos uses dynamic Perl

Problem:    Huge build on macos uses dynamic Perl.
Solution:   Use built-in Perl, uninstall the brew one. (closes #11382)

2 years agopatch 9.0.0772: the libvterm code is outdated v9.0.0772
Bram Moolenaar [Sun, 16 Oct 2022 13:35:46 +0000 (14:35 +0100)]
patch 9.0.0772: the libvterm code is outdated

Problem:    The libvterm code is outdated.
Solution:   Include libvterm changes from revision 790 to 801.

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 16 Oct 2022 12:11:12 +0000 (13:11 +0100)]
Update runtime files

2 years agopatch 9.0.0771: cannot always tell the difference beween tex and rexx files v9.0.0771
Martin Tournoij [Sun, 16 Oct 2022 11:49:12 +0000 (12:49 +0100)]
patch 9.0.0771: cannot always tell the difference beween tex and rexx files

Problem:    Cannot always tell the difference beween tex and rexx files.
Solution:   Recognize tex by a leading backslash. (Martin Tournoij,
            closes #11380)

2 years agopatch 9.0.0770: quickfix commands may keep memory allocated v9.0.0770
Yegappan Lakshmanan [Sun, 16 Oct 2022 10:30:48 +0000 (11:30 +0100)]
patch 9.0.0770: quickfix commands may keep memory allocated

Problem:    Quickfix commands may keep memory allocated.
Solution:   Free memory when it's a bit much. (Yegappan Lakshmanan,
            closes #11379)

2 years agopatch 9.0.0769: too many delete() calls in tests v9.0.0769
Bram Moolenaar [Sat, 15 Oct 2022 21:06:06 +0000 (22:06 +0100)]
patch 9.0.0769: too many delete() calls in tests

Problem:    Too many delete() calls in tests.
Solution:   Use deferred delete where possible.

2 years agopatch 9.0.0768: too many delete() calls in tests v9.0.0768
Bram Moolenaar [Sat, 15 Oct 2022 20:35:56 +0000 (21:35 +0100)]
patch 9.0.0768: too many delete() calls in tests

Problem:    Too many delete() calls in tests.
Solution:   Use deferred delete where possible.

2 years agopatch 9.0.0767: too many delete() calls in tests v9.0.0767
Bram Moolenaar [Sat, 15 Oct 2022 19:52:26 +0000 (20:52 +0100)]
patch 9.0.0767: too many delete() calls in tests

Problem:    Too many delete() calls in tests.
Solution:   Use deferred delete where possible.

2 years agopatch 9.0.0766: too many delete() calls in tests v9.0.0766
Bram Moolenaar [Sat, 15 Oct 2022 19:06:33 +0000 (20:06 +0100)]
patch 9.0.0766: too many delete() calls in tests

Problem:    Too many delete() calls in tests.
Solution:   Use deferred delete where possible.

2 years agopatch 9.0.0765: with a Visual block a put command column may go negative v9.0.0765
Bram Moolenaar [Sat, 15 Oct 2022 18:04:05 +0000 (19:04 +0100)]
patch 9.0.0765: with a Visual block a put command column may go negative

Problem:    With a Visual block a put command column may go negative.
Solution:   Check that the column does not become negative.

2 years agopatch 9.0.0764: indent and option tests fail v9.0.0764
Bram Moolenaar [Sat, 15 Oct 2022 15:41:53 +0000 (16:41 +0100)]
patch 9.0.0764: indent and option tests fail

Problem:    Indent and option tests fail.
Solution:   Change OP_INDENT.  Add entry to options test table.

2 years agopatch 9.0.0763: MS-Windows: warning for using int for size_t v9.0.0763
Bram Moolenaar [Sat, 15 Oct 2022 15:29:03 +0000 (16:29 +0100)]
patch 9.0.0763: MS-Windows: warning for using int for size_t

Problem:    MS-Windows: warning for using int for size_t.
Solution:   Declare variable as size_t.

2 years agopatch 9.0.0762: build failure v9.0.0762
Bram Moolenaar [Sat, 15 Oct 2022 15:25:27 +0000 (16:25 +0100)]
patch 9.0.0762: build failure

Problem:    Build failure.
Solution:   Add missing change.

2 years agopatch 9.0.0761: cannot use 'indentexpr' for Lisp indenting v9.0.0761
Bram Moolenaar [Sat, 15 Oct 2022 15:05:33 +0000 (16:05 +0100)]
patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting

Problem:    Cannot use 'indentexpr' for Lisp indenting.
Solution:   Add the 'lispoptions' option.

2 years agopatch 9.0.0760: display test for 'listchars' "precedes" fails v9.0.0760
Bram Moolenaar [Sat, 15 Oct 2022 13:24:29 +0000 (14:24 +0100)]
patch 9.0.0760: display test for 'listchars' "precedes" fails

Problem:    Display test for 'listchars' "precedes" fails.
Solution:   Correct the expected result.

2 years agopatch 9.0.0759: huge build on macos does not use Perl v9.0.0759
Philip H [Sat, 15 Oct 2022 13:17:37 +0000 (14:17 +0100)]
patch 9.0.0759: huge build on macos does not use Perl

Problem:    Huge build on macos does not use Perl.
Solution:   Re-enable the Perl interface using "dynamic". (closes #11375)

2 years agopatch 9.0.0758: "precedes" from 'listchars' overwritten by <<< v9.0.0758
Bram Moolenaar [Sat, 15 Oct 2022 13:07:48 +0000 (14:07 +0100)]
patch 9.0.0758: "precedes" from 'listchars' overwritten by <<<

Problem:    "precedes" from 'listchars' overwritten by <<< for 'smoothscroll'.
Solution:   Keep the "precedes" character.

2 years agopatch 9.0.0757: line number not visisble with 'smoothscroll', 'nu' and 'rnu' v9.0.0757
Bram Moolenaar [Sat, 15 Oct 2022 12:42:17 +0000 (13:42 +0100)]
patch 9.0.0757: line number not visisble with 'smoothscroll', 'nu' and 'rnu'

Problem:    Line number not visisble with 'smoothscroll', 'nu' and 'rnu'.
Solution:   Put the ">>>" after the line number instead of on top.

2 years agopatch 9.0.0756: no autocmd event for changing text in a terminal window v9.0.0756
Shougo Matsushita [Sat, 15 Oct 2022 10:48:00 +0000 (11:48 +0100)]
patch 9.0.0756: no autocmd event for changing text in a terminal window

Problem:    No autocmd event for changing text in a terminal window.
Solution:   Add TextChangedT. (Shougo Matsushita, closes #11366)

2 years agopatch 9.0.0755: huge build on macos always fails on CI v9.0.0755
Bram Moolenaar [Sat, 15 Oct 2022 09:54:27 +0000 (10:54 +0100)]
patch 9.0.0755: huge build on macos always fails on CI

Problem:    Huge build on macos always fails on CI.
Solution:   Temporarily disable the perl interface.

2 years agopatch 9.0.0754: 'indentexpr' overrules lisp indenting in one situation v9.0.0754
Bram Moolenaar [Sat, 15 Oct 2022 09:49:36 +0000 (10:49 +0100)]
patch 9.0.0754: 'indentexpr' overrules lisp indenting in one situation

Problem:    'indentexpr' overrules lisp indenting in one situation.
Solution:   Add "else" to keep the lisp indent. (issue #11327)

2 years agopatch 9.0.0753: some Ex commands are not in the help index v9.0.0753
Yee Cheng Chin [Sat, 15 Oct 2022 09:22:19 +0000 (10:22 +0100)]
patch 9.0.0753: some Ex commands are not in the help index

Problem:    Some Ex commands are not in the help index.
Solution:   Add the missing commands.  Add a script to check all Ex commands
            are in the help index. (Yee Cheng Chin, closes #11371)

2 years agopatch 9.0.0752: Rprofile files are not recognized v9.0.0752
ObserverOfTime [Fri, 14 Oct 2022 19:24:24 +0000 (20:24 +0100)]
patch 9.0.0752: Rprofile files are not recognized

Problem:    Rprofile files are not recognized.
Solution:   Recognize Rprofile files as "r". (closes #11369)

2 years agopatch 9.0.0751: 'scrolloff' does not work well with 'smoothscroll' v9.0.0751
Bram Moolenaar [Fri, 14 Oct 2022 19:09:04 +0000 (20:09 +0100)]
patch 9.0.0751: 'scrolloff' does not work well with 'smoothscroll'

Problem:    'scrolloff' does not work well with 'smoothscroll'.
Solution:   Make positioning the cursor a bit better.  Rename functions.

2 years agopatch 9.0.0750: crash when popup closed in callback v9.0.0750
Bram Moolenaar [Fri, 14 Oct 2022 16:04:09 +0000 (17:04 +0100)]
patch 9.0.0750: crash when popup closed in callback

Problem:    Crash when popup closed in callback. (Maxim Kim)
Solution:   In syntax_end_parsing() check that syn_block is valid.

2 years agopatch 9.0.0749: alloc/free of buffer for each quickfix entry is inefficient v9.0.0749
Yegappan Lakshmanan [Fri, 14 Oct 2022 12:11:13 +0000 (13:11 +0100)]
patch 9.0.0749: alloc/free of buffer for each quickfix entry is inefficient

Problem:    Alloc/free of buffer for each quickfix entry is inefficient.
Solution:   Use a shared grow array. (Yegappan Lakshmanan, closes #11365)

2 years agopatch 9.0.0748: Kitty may send key without modifiers with CSI u code v9.0.0748
Trygve Aaberge [Fri, 14 Oct 2022 11:08:24 +0000 (12:08 +0100)]
patch 9.0.0748: Kitty may send key without modifiers with CSI u code

Problem:    Kitty may send key without modifiers with CSI u code.
Solution:   Handle CSI u code without modifiers. (Trygve Aaberge,
            closes #11364)

2 years agopatch 9.0.0747: too many #ifdefs v9.0.0747
Martin Tournoij [Thu, 13 Oct 2022 21:12:15 +0000 (22:12 +0100)]
patch 9.0.0747: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Gradudate the +cmdline_info feature. (Martin Tournoij,
            closes #11330)

2 years agopatch 9.0.0746: breakindent test cases are commented out v9.0.0746
Bram Moolenaar [Thu, 13 Oct 2022 20:54:28 +0000 (21:54 +0100)]
patch 9.0.0746: breakindent test cases are commented out

Problem:    Breakindent test cases are commented out.
Solution:   Adjust expected result to slightly different behavior.  Correct
            computations for cursor position.

2 years agopatch 9.0.0745: wrong cursor position when using "gj" and "gk" in a long line v9.0.0745
Bram Moolenaar [Thu, 13 Oct 2022 19:23:28 +0000 (20:23 +0100)]
patch 9.0.0745: wrong cursor position when using "gj" and "gk" in a long line

Problem:    Wrong cursor position when using "gj" and "gk" in a long line.
Solution:   Adjust computations for the cursor position and skipcol. Re-enable
            tests that pass now, disable failing breakindent test.

2 years agopatch 9.0.0744: in script in autoload dir exported variable is not found v9.0.0744
Bram Moolenaar [Thu, 13 Oct 2022 16:47:42 +0000 (17:47 +0100)]
patch 9.0.0744: in script in autoload dir exported variable is not found

Problem:    In script in autoload dir exported variable is not found. (Doug
            Kearns)
Solution:   Find the variable with the "script#" prefix. (closes #11361)

2 years agopatch 9.0.0743: starting cscope on Unix does not quote the arguments right v9.0.0743
Bram Moolenaar [Thu, 13 Oct 2022 15:34:30 +0000 (16:34 +0100)]
patch 9.0.0743: starting cscope on Unix does not quote the arguments right

Problem:    Starting cscope on Unix does not quote the arguments correctly.
            (Gary Johnson)
Solution:   Move the final quote after the arguments.

2 years agopatch 9.0.0742: reading past end of the line when compiling a function v9.0.0742
Bram Moolenaar [Thu, 13 Oct 2022 15:12:57 +0000 (16:12 +0100)]
patch 9.0.0742: reading past end of the line when compiling a function

Problem:    Reading past end of the line when compiling a function with
            errors.
Solution:   Do not return an invalid pointer.  Fix skipping redirection.

2 years agopatch 9.0.0741: cannot specify an ID for each item with prop_add_list() v9.0.0741
Bram Moolenaar [Thu, 13 Oct 2022 13:35:24 +0000 (14:35 +0100)]
patch 9.0.0741: cannot specify an ID for each item with prop_add_list()

Problem:    Cannot specify an ID for each item with prop_add_list(). (Sergey
            Vlasov)
Solution:   Add an optional fifth number to the item. (closes #11360)

2 years agopatch 9.0.0740: prop_add_list() gives multiple errors for invalid argument v9.0.0740
Bram Moolenaar [Thu, 13 Oct 2022 13:00:45 +0000 (14:00 +0100)]
patch 9.0.0740: prop_add_list() gives multiple errors for invalid argument

Problem:    prop_add_list() gives multiple errors for invalid argument.
Solution:   Only give one error message.

2 years agopatch 9.0.0739: mouse column not correctly used for popup_setpos v9.0.0739
Yee Cheng Chin [Thu, 13 Oct 2022 12:17:40 +0000 (13:17 +0100)]
patch 9.0.0739: mouse column not correctly used for popup_setpos

Problem:    Mouse column not correctly used for popup_setpos.
Solution:   Adjust off-by-one error and handle Visual line selection properly.
            (Yee Cheng Chin, closes #11356)

2 years agopatch 9.0.0738: cannot suppress completion "scanning" messages v9.0.0738
=?UTF-8?q?Bj=C3=B6rn=20Linse?= [Thu, 13 Oct 2022 11:51:13 +0000 (12:51 +0100)]
patch 9.0.0738: cannot suppress completion "scanning" messages

Problem:    Cannot suppress completion "scanning" messages.
Solution:   Add the "C" flag in 'shortmess'. (Bjorn Linse, closes #11354)

2 years agopatch 9.0.0737: Lisp word only recognized when a space follows v9.0.0737
Bram Moolenaar [Thu, 13 Oct 2022 11:30:08 +0000 (12:30 +0100)]
patch 9.0.0737: Lisp word only recognized when a space follows

Problem:    Lisp word only recognized when a space follows.
Solution:   Also match a word at the end of a line.  Rename the test.  Use a
            compiled function to avoid backslashes.

2 years agopatch 9.0.0736: quickfix listing does not handle very long messages v9.0.0736
Yegappan Lakshmanan [Thu, 13 Oct 2022 10:59:22 +0000 (11:59 +0100)]
patch 9.0.0736: quickfix listing does not handle very long messages

Problem:    Quickfix listing does not handle very long messages.
Solution:   Use a growarray instead of a fixed size buffer. (Yegappan
            Lakshmanan, closes #11357)

2 years agopatch 9.0.0735: breakindent and scrolloff tests fail v9.0.0735
Bram Moolenaar [Wed, 12 Oct 2022 20:32:42 +0000 (21:32 +0100)]
patch 9.0.0735: breakindent and scrolloff tests fail

Problem:    Breakindent and scrolloff tests fail.
Solution:   Temporarily skip the assertions.

2 years agopatch 9.0.0734: cursor position invalid when scrolling with 'smoothscroll' v9.0.0734
Bram Moolenaar [Wed, 12 Oct 2022 18:53:38 +0000 (19:53 +0100)]
patch 9.0.0734: cursor position invalid when scrolling with 'smoothscroll'

Problem:    Cursor position invalid when scrolling with 'smoothscroll' set.
            (Ernie Rael)
Solution:   Add w_valid_skipcol and clear flags when it changes.  Adjust
            w_skipcol after moving the cursor.

2 years agopatch 9.0.0733: use of strftime() is not safe v9.0.0733
Dominique Pelle [Wed, 12 Oct 2022 12:30:25 +0000 (13:30 +0100)]
patch 9.0.0733: use of strftime() is not safe

Problem:    Use of strftime() is not safe.
Solution:   Check the return value of strftime().  Use a larger buffer and
            correctly pass the available space. (Dominique PellĂ©, closes
            #11348)

2 years agopatch 9.0.0732: no check for white space before and after "=<<" v9.0.0732
Bram Moolenaar [Wed, 12 Oct 2022 11:58:54 +0000 (12:58 +0100)]
patch 9.0.0732: no check for white space before and after "=<<"

Problem:    No check for white space before and after "=<<". (Doug Kearns)
Solution:   Check for white space in Vim9 script. (closes #11351)

2 years agopatch 9.0.0731: clang-tidy configuration files are not recognized v9.0.0731
dundargoc [Wed, 12 Oct 2022 11:09:40 +0000 (12:09 +0100)]
patch 9.0.0731: clang-tidy configuration files are not recognized

Problem:    clang-tidy configuration files are not recognized.
Solution:   Recognize clang-tidy files as yaml. (closes #11350)

2 years agopatch 9.0.0730: startup test fails with right-left feature v9.0.0730
Bram Moolenaar [Wed, 12 Oct 2022 10:54:34 +0000 (11:54 +0100)]
patch 9.0.0730: startup test fails with right-left feature

Problem:    Startup test fails with right-left feature.
Solution:   Do not delete test file too early.

2 years agopatch 9.0.0729: the rightleft and arabic features are disabled v9.0.0729
Bram Moolenaar [Wed, 12 Oct 2022 10:12:49 +0000 (11:12 +0100)]
patch 9.0.0729: the rightleft and arabic features are disabled

Problem:    The rightleft and arabic features are disabled.
Solution:   Re-enable the features, some users want to use the functionality.

2 years agopatch 9.0.0728: extend() test fails v9.0.0728
Bram Moolenaar [Tue, 11 Oct 2022 22:12:59 +0000 (23:12 +0100)]
patch 9.0.0728: extend() test fails

Problem:    extend() test fails.
Solution:   Item is final, not const.

2 years agopatch 9.0.0727: help in the repository differs from patched version too much v9.0.0727
Bram Moolenaar [Tue, 11 Oct 2022 20:54:04 +0000 (21:54 +0100)]
patch 9.0.0727: help in the repository differs from patched version too much

Problem:    Help in the repository differs from patched version too much.
Solution:   Make a patch for a few help files.

2 years agopatch 9.0.0726: looping over list of lists works in script, not in function v9.0.0726
Bram Moolenaar [Tue, 11 Oct 2022 20:41:25 +0000 (21:41 +0100)]
patch 9.0.0726: looping over list of lists works in script, not in function

Problem:    Looping over list of lists and changing the list contents works in
            Vim9 script, not in a compiled function.
Solution:   Mark the loop variable final instead of const. (closes #11347)

2 years agopatch 9.0.0725: virtual text "after" wraps to next line when 'wrap' is off v9.0.0725
Bram Moolenaar [Tue, 11 Oct 2022 20:02:09 +0000 (21:02 +0100)]
patch 9.0.0725: virtual text "after" wraps to next line when 'wrap' is off

Problem:    Virtual text "after" wraps to next line even when 'wrap' is off
            and 'list' is set.
Solution:   Do not use the minimum width when 'wrap' is off. (issue #11336)

2 years agopatch 9.0.0724: closure in compiled function gets same variable in block v9.0.0724
Bram Moolenaar [Tue, 11 Oct 2022 19:04:09 +0000 (20:04 +0100)]
patch 9.0.0724: closure in compiled function gets same variable in block

Problem:    Closure in compiled function gets same variable in block.
Solution:   At the end of a block to not always reset the variable count.
            (issue #11094)

2 years agopatch 9.0.0723: extra empty line below virtual text when 'list' is set v9.0.0723
Bram Moolenaar [Tue, 11 Oct 2022 15:47:22 +0000 (16:47 +0100)]
patch 9.0.0723: extra empty line below virtual text when 'list' is set

Problem:    Extra empty line below virtual text when 'list' is set.
Solution:   Do not reset lcs_eol_one but set text_prop_follows. (closes #11339)

2 years agopatch 9.0.0722: virtual text "after" does not show with 'list' set v9.0.0722
Bram Moolenaar [Tue, 11 Oct 2022 14:29:50 +0000 (15:29 +0100)]
patch 9.0.0722: virtual text "after" does not show with 'list' set

Problem:    Virtual text "after" does not show with 'list' set.
Solution:   Do not break out of the loop when another text prop follows.
            (closes #11337)

2 years agopatch 9.0.0721: virtual text "above" with padding not displayed correctly v9.0.0721
Bram Moolenaar [Tue, 11 Oct 2022 13:54:42 +0000 (14:54 +0100)]
patch 9.0.0721: virtual text "above" with padding not displayed correctly

Problem:    Virtual text "above" with padding not displayed correctly.
Solution:   Take padding into account when truncating. (closes #11340)

2 years agopatch 9.0.0720: MS-Windows GUI may have pixel dust from antialiasing v9.0.0720
Bram Moolenaar [Tue, 11 Oct 2022 11:48:44 +0000 (12:48 +0100)]
patch 9.0.0720: MS-Windows GUI may have pixel dust from antialiasing

Problem:    MS-Windows GUI may have pixel dust from antialiasing.
Solution:   When a character changes also redraw the next one. (issue #8532)

2 years agopatch 9.0.0719: too many delete() calls in tests v9.0.0719
Bram Moolenaar [Mon, 10 Oct 2022 21:39:42 +0000 (22:39 +0100)]
patch 9.0.0719: too many delete() calls in tests

Problem:    Too many delete() calls in tests.
Solution:   Use deferred delete where possible.

2 years agopatch 9.0.0718: extra empty line between two virtual text "below" v9.0.0718
Bram Moolenaar [Mon, 10 Oct 2022 20:10:03 +0000 (21:10 +0100)]
patch 9.0.0718: extra empty line between two virtual text "below"

Problem:    Extra empty line between two virtual text "below" when 'wrap' and
            'number' are set.
Solution:   Reset "before" when there is no text in the screen line.
            (closes #11334)

2 years agopatch 9.0.0717: compiler warning for unused variable in tiny build v9.0.0717
Bram Moolenaar [Mon, 10 Oct 2022 19:33:25 +0000 (20:33 +0100)]
patch 9.0.0717: compiler warning for unused variable in tiny build

Problem:    Compiler warning for unused variable in tiny build.
Solution:   Add #ifdefs.

2 years agopatch 9.0.0716: with 'nowrap' virtual text "after" does not scroll left v9.0.0716
Bram Moolenaar [Mon, 10 Oct 2022 18:50:42 +0000 (19:50 +0100)]
patch 9.0.0716: with 'nowrap' virtual text "after" does not scroll left

Problem:    With 'nowrap' virtual text "after" does not scroll left.
Solution:   Skip part of the virtual text that is left of the window.
            (closes #11320)  Fix going beyond the last column of the window.

2 years agopatch 9.0.0715: wrong argument for append() gives two error messages v9.0.0715
Bram Moolenaar [Mon, 10 Oct 2022 15:08:16 +0000 (16:08 +0100)]
patch 9.0.0715: wrong argument for append() gives two error messages

Problem:    Wrong argument for append() gives two error messages.
Solution:   When getting an error for a number argument don't try using it as
            a string. (closes #11335)

2 years agopatch 9.0.0714: with 'nowrap' two virtual text below not displayed correctly v9.0.0714
Bram Moolenaar [Mon, 10 Oct 2022 14:40:04 +0000 (15:40 +0100)]
patch 9.0.0714: with 'nowrap' two virtual text below not displayed correctly

Problem:    With 'nowrap' two virtual text below not displayed correctly.
Solution:   Set text_prop_follows before continuing.  Correct for number
            column. (closes #11333)

2 years agopatch 9.0.0713: <amatch> of MenuPopup event is expanded like a file name v9.0.0713
zeertzjq [Mon, 10 Oct 2022 12:46:15 +0000 (13:46 +0100)]
patch 9.0.0713: <amatch> of MenuPopup event is expanded like a file name

Problem:    <amatch> of MenuPopup event is expanded like a file name.
Solution:   Do not expand <amatch> for MenuPopup. (closes #11328)

2 years agopatch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnum v9.0.0712
Bram Moolenaar [Mon, 10 Oct 2022 11:42:57 +0000 (12:42 +0100)]
patch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnum

Problem:    Wrong column when calling setcursorcharpos() with zero lnum.
Solution:   Set the line number before calling buf_charidx_to_byteidx().
            (closes #11329)