]> granicus.if.org Git - vim/log
vim
2 years agopatch 8.2.4823: concat more than 2 strings in :def function is inefficient v8.2.4823
LemonBoy [Mon, 25 Apr 2022 11:43:20 +0000 (12:43 +0100)]
patch 8.2.4823: concat more than 2 strings in :def function is inefficient

Problem:    Concatenating more than 2 strings in a :def function is
            inefficient.
Solution:   Add a count to the CONCAT instruction. (closes #10276)

2 years agopatch 8.2.4822: setting ufunc to NULL twice v8.2.4822
LemonBoy [Sun, 24 Apr 2022 20:55:00 +0000 (21:55 +0100)]
patch 8.2.4822: setting ufunc to NULL twice

Problem:    Setting ufunc to NULL twice.
Solution:   Set ufunc to NULL in find_exported(). (closes #19275)

2 years agopatch 8.2.4821: crash when imported autoload script was deleted v8.2.4821
Bram Moolenaar [Sun, 24 Apr 2022 20:33:20 +0000 (21:33 +0100)]
patch 8.2.4821: crash when imported autoload script was deleted

Problem:    Crash when imported autoload script was deleted.
Solution:   Initialize local variable. (closes #10274)  Give a more meaningful
            error message.

2 years agopatch 8.2.4820: not simple programmatic way to find a specific mapping v8.2.4820
Ernie Rael [Sun, 24 Apr 2022 17:40:28 +0000 (18:40 +0100)]
patch 8.2.4820: not simple programmatic way to find a specific mapping

Problem:    Not simple programmatic way to find a specific mapping.
Solution:   Add getmappings(). (Ernie Rael, closes #10273)

2 years agopatch 8.2.4819: unmapping simplified keys also deletes other mapping v8.2.4819
zeertzjq [Sun, 24 Apr 2022 16:07:53 +0000 (17:07 +0100)]
patch 8.2.4819: unmapping simplified keys also deletes other mapping

Problem:    Unmapping simplified keys also deletes other mapping.
Solution:   Only unmap a mapping with m_simplified set. (closes #10270)

2 years agopatch 8.2.4818: no test for what 8.2.4806 fixes v8.2.4818
zeertzjq [Sun, 24 Apr 2022 14:58:30 +0000 (15:58 +0100)]
patch 8.2.4818: no test for what 8.2.4806 fixes

Problem:    No test for what 8.2.4806 fixes.
Solution:   Add a test. (closes #10727)

2 years agopatch 8.2.4817: Win32 GUI: modifiers are not always used v8.2.4817
LemonBoy [Sun, 24 Apr 2022 14:46:42 +0000 (15:46 +0100)]
patch 8.2.4817: Win32 GUI: modifiers are not always used

Problem:    Win32 GUI: modifiers are not always used.
Solution:   Handle more modifiers. (closes #10269)

2 years agopatch 8.2.4816: still using older codecov app in some places of CI v8.2.4816
Philip H [Sun, 24 Apr 2022 11:44:32 +0000 (12:44 +0100)]
patch 8.2.4816: still using older codecov app in some places of CI

Problem:    Still using older codecov app in some places of CI.
Solution:   Use v3.1.0. (closes #10209)

2 years agopatch 8.2.4815: cannot build with older GTK version v8.2.4815
Ernie Rael [Sat, 23 Apr 2022 18:52:23 +0000 (19:52 +0100)]
patch 8.2.4815: cannot build with older GTK version

Problem:    Cannot build with older GTK version.
Solution:   Use gtk_window_get_size() instead of gdk_window_get_width() and
            gdk_window_get_height(). (Ernie Rael, closes #10257)

2 years agopatch 8.2.4814: possible to leave a popup window with win_gotoid() v8.2.4814
LemonBoy [Sat, 23 Apr 2022 13:07:56 +0000 (14:07 +0100)]
patch 8.2.4814: possible to leave a popup window with win_gotoid()

Problem:    Possible to leave a popup window with win_gotoid().
Solution:   Give an error when trying to leave a popup window with
            win_gotoid(). (closes #10253)

2 years agopatch 8.2.4813: pasting text while indent folding may mess up folds v8.2.4813
Brandon Simmons [Sat, 23 Apr 2022 12:50:17 +0000 (13:50 +0100)]
patch 8.2.4813: pasting text while indent folding may mess up folds

Problem:    Pasting text while indent folding may mess up folds.
Solution:   Adjust the way folds are split. (Brandon Simmons, closes #10254)

2 years agopatch 8.2.4812: unused struct item v8.2.4812
zeertzjq [Sat, 23 Apr 2022 11:05:51 +0000 (12:05 +0100)]
patch 8.2.4812: unused struct item

Problem:    Unused struct item.
Solution:   Remove "lines" match_T.  Simplify the code. (closes #10256)

2 years agopatch 8.2.4811: Win32 GUI: caps lock doesn't work v8.2.4811
LemonBoy [Sat, 23 Apr 2022 10:08:11 +0000 (11:08 +0100)]
patch 8.2.4811: Win32 GUI: caps lock doesn't work

Problem:    Win32 GUI: caps lock doesn't work.
Solution:   Handle VK_CAPITAL. (closes #10260, closes #10258)

2 years agopatch 8.2.4810: missing changes in one file v8.2.4810
Bram Moolenaar [Sat, 23 Apr 2022 10:03:58 +0000 (11:03 +0100)]
patch 8.2.4810: missing changes in one file

Problem:    Missing changes in one file.
Solution:   Also change the struct initializers.

2 years agopatch 8.2.4809: various things no6 properly tested v8.2.4809
Yegappan Lakshmanan [Sat, 23 Apr 2022 09:51:14 +0000 (10:51 +0100)]
patch 8.2.4809: various things no6 properly tested

Problem:    Various things no6 properly tested.
Solution:   Add various test cases. (Yegappan Lakshmanan, closes #10259)

2 years agopatch 8.2.4808: unused item in engine struct v8.2.4808
Bram Moolenaar [Sat, 23 Apr 2022 09:41:35 +0000 (10:41 +0100)]
patch 8.2.4808: unused item in engine struct

Problem:    Unused item in engine struct.
Solution:   Remove "expr".  Add comment with tags.

2 years agopatch 8.2.4807: processing key eveints in Win32 GUI is not ideal v8.2.4807
LemonBoy [Fri, 22 Apr 2022 21:45:52 +0000 (22:45 +0100)]
patch 8.2.4807: processing key eveints in Win32 GUI is not ideal

Problem:    Processing key eveints in Win32 GUI is not ideal.
Solution:   Improve processing of key events. (closes #10155)

2 years agopatch 8.2.4806: a mapping using <LeftDrag> does not start Select mode v8.2.4806
Bram Moolenaar [Fri, 22 Apr 2022 20:20:26 +0000 (21:20 +0100)]
patch 8.2.4806: a mapping using <LeftDrag> does not start Select mode

Problem:    A mapping using <LeftDrag> does not start Select mode.
Solution:   When checking for starting select mode with the mouse also do this
            when there is typeahead. (closes #10249)

2 years agopatch 8.2.4805: CurSearch used for all matches in current line v8.2.4805
Bram Moolenaar [Fri, 22 Apr 2022 19:07:21 +0000 (20:07 +0100)]
patch 8.2.4805: CurSearch used for all matches in current line

Problem:    CurSearch used for all matches in current line.
Solution:   Don't use the non-zero line count. (closes #10247)

2 years agopatch 8.2.4804: expression in heredoc doesn't work for compiled function v8.2.4804
Yegappan Lakshmanan [Thu, 21 Apr 2022 22:30:15 +0000 (23:30 +0100)]
patch 8.2.4804: expression in heredoc doesn't work for compiled function

Problem:    Expression in heredoc doesn't work for compiled function.
Solution:   Implement compiling the heredoc expressions. (Yegappan Lakshmanan,
            closes #10232)

2 years agopatch 8.2.4803: WinScrolled not always triggered when scrolling with mouse v8.2.4803
LemonBoy [Thu, 21 Apr 2022 21:52:11 +0000 (22:52 +0100)]
patch 8.2.4803: WinScrolled not always triggered when scrolling with mouse

Problem:    WinScrolled not always triggered when scrolling with the mouse.
Solution:   Add calls to may_trigger_winscrolled(). (closes #10246)

2 years agopatch 8.2.4802: test is not cleaned up v8.2.4802
zeertzjq [Thu, 21 Apr 2022 10:14:01 +0000 (11:14 +0100)]
patch 8.2.4802: test is not cleaned up

Problem:    Test is not cleaned up.
Solution:   Make test clean up after itself.  Avoid NUL. (closes #10233)

2 years agopatch 8.2.4801: fix for cursorbind fix not fully tested v8.2.4801
Christian Brabandt [Wed, 20 Apr 2022 21:07:41 +0000 (22:07 +0100)]
patch 8.2.4801: fix for cursorbind fix not fully tested

Problem:    Fix for cursorbind fix not fully tested.
Solution:   Add another test case. (Christian Brabandt, closes #10240)

2 years agopatch 8.2.4800: missing test update for adjusted t_8u behavior v8.2.4800
Bram Moolenaar [Wed, 20 Apr 2022 18:55:37 +0000 (19:55 +0100)]
patch 8.2.4800: missing test update for adjusted t_8u behavior

Problem:    Missing test update for adjusted t_8u behavior.
Solution:   Update and extend the test.

2 years agopatch 8.2.4799: popup does not use correct topline v8.2.4799
LemonBoy [Wed, 20 Apr 2022 18:47:37 +0000 (19:47 +0100)]
patch 8.2.4799: popup does not use correct topline

Problem:    Popup does not use correct topline.
Solution:   Also add one when firstline is negative. (closes #10229)

2 years agopatch 8.2.4798: t_8u option was reset even when set by the user v8.2.4798
Bram Moolenaar [Wed, 20 Apr 2022 18:08:50 +0000 (19:08 +0100)]
patch 8.2.4798: t_8u option was reset even when set by the user

Problem:    t_8u option was reset even when set by the user.
Solution:   Only reset t_8u when using the default value. (closes #10239)

2 years agopatch 8.2.4797: getwininfo() may get oudated values v8.2.4797
LemonBoy [Wed, 20 Apr 2022 18:00:36 +0000 (19:00 +0100)]
patch 8.2.4797: getwininfo() may get oudated values

Problem:    getwininfo() may get oudated values.
Solution:   Make sure w_botline is up-to-date. (closes #10226)

2 years agopatch 8.2.4796: file left behind after running cursorline tests v8.2.4796
Bram Moolenaar [Wed, 20 Apr 2022 17:41:49 +0000 (18:41 +0100)]
patch 8.2.4796: file left behind after running cursorline tests

Problem:    File left behind after running cursorline tests.
Solution:   Uncomment the line that deletes the file.

2 years agopatch 8.2.4795: 'cursorbind' scrolling depends on whether 'cursorline' is set v8.2.4795
Christian Brabandt [Wed, 20 Apr 2022 13:52:01 +0000 (14:52 +0100)]
patch 8.2.4795: 'cursorbind' scrolling depends on whether 'cursorline' is set

Problem:    'cursorbind' scrolling depends on whether 'cursorline' is set.
Solution:   Always call validate_cursor(). (Christian Brabandt, closes #10230,
            closes #10014)

2 years agopatch 8.2.4794: compiler warning for not initialized variable v8.2.4794
Bram Moolenaar [Wed, 20 Apr 2022 09:22:54 +0000 (10:22 +0100)]
patch 8.2.4794: compiler warning for not initialized variable

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

2 years agopatch 8.2.4793: recognizing Maxima filetype even though it might be another v8.2.4793
Bram Moolenaar [Tue, 19 Apr 2022 18:38:38 +0000 (19:38 +0100)]
patch 8.2.4793: recognizing Maxima filetype even though it might be another

Problem:    Recognizing Maxima filetype even though it might be another.
Solution:   Remove *.mc and *.dem patterns from Maxima files

2 years agopatch 8.2.4792: indent operator creates an undo entry for every line v8.2.4792
Bram Moolenaar [Tue, 19 Apr 2022 17:28:45 +0000 (18:28 +0100)]
patch 8.2.4792: indent operator creates an undo entry for every line

Problem:    Indent operator creates an undo entry for every line.
Solution:   Create one undo entry for all lines. (closes #10227)

2 years agopatch 8.2.4791: events triggered in different order when reusing buffer v8.2.4791
Charlie Groves [Tue, 19 Apr 2022 15:24:12 +0000 (16:24 +0100)]
patch 8.2.4791: events triggered in different order when reusing buffer

Problem:    Autocmd events triggered in different order when reusing an empty
            buffer.
Solution:   Call buff_freeall() earlier. (Charlie Groves, closes #10198)

2 years agopatch 8.2.4790: lilypond filetype not recognized v8.2.4790
Bram Moolenaar [Tue, 19 Apr 2022 14:29:57 +0000 (15:29 +0100)]
patch 8.2.4790: lilypond filetype not recognized

Problem:    Lilypond filetype not recognized.
Solution:   Add patterns for lilypond. (Doug Kearns)

2 years agopatch 8.2.4789: cursor pos wrong when using :redraw while editing the cmdline v8.2.4789
Bram Moolenaar [Tue, 19 Apr 2022 10:38:24 +0000 (11:38 +0100)]
patch 8.2.4789: cursor pos wrong when using :redraw while editing the cmdline

Problem:    The cursor may be in the in wrong place when using :redraw while
            editing the cmdline.
Solution:   When editing the command line let :redraw update the command line
            too. (closes #10210)

2 years agopatch 8.2.4788: large payload for LSP message not tested v8.2.4788
Yegappan Lakshmanan [Tue, 19 Apr 2022 09:25:13 +0000 (10:25 +0100)]
patch 8.2.4788: large payload for LSP message not tested

Problem:    Large payload for LSP message not tested.
Solution:   Add a test with a large LSP payload. (Yegappan Lakshmanan,
            closes #10223)

2 years agopatch 8.2.4787: prop_find() does not find the right property v8.2.4787
LemonBoy [Mon, 18 Apr 2022 20:54:02 +0000 (21:54 +0100)]
patch 8.2.4787: prop_find() does not find the right property

Problem:    prop_find() does not find the right property.
Solution:   Fix the scan order. (closes #10220)

2 years agopatch 8.2.4786: test for win_gotoid() in Visual mode fails on Mac v8.2.4786
Bram Moolenaar [Mon, 18 Apr 2022 18:16:55 +0000 (19:16 +0100)]
patch 8.2.4786: test for win_gotoid() in Visual mode fails on Mac

Problem:    Test for win_gotoid() in Visual mode fails on Mac.
Solution:   Skip the test on MacOS.

2 years agopatch 8.2.4785: Visual mode not stopped if win_gotoid() goes to other buffer v8.2.4785
Bram Moolenaar [Mon, 18 Apr 2022 17:32:19 +0000 (18:32 +0100)]
patch 8.2.4785: Visual mode not stopped if win_gotoid() goes to other buffer

Problem:    Visual mode not stopped early enough if win_gotoid() goes to
            another buffer. (Sergey Vlasov)
Solution:   Stop Visual mode before jumping to another buffer. (closes #10217)

2 years agopatch 8.2.4784: lamba test with timer is flaky v8.2.4784
Bram Moolenaar [Mon, 18 Apr 2022 15:14:10 +0000 (16:14 +0100)]
patch 8.2.4784: lamba test with timer is flaky

Problem:    Lamba test with timer is flaky.
Solution:   Adjust sleep time on retry.

2 years agopatch 8.2.4783: Coverity warns for leaking memory v8.2.4783
Bram Moolenaar [Mon, 18 Apr 2022 14:45:23 +0000 (15:45 +0100)]
patch 8.2.4783: Coverity warns for leaking memory

Problem:    Coverity warns for leaking memory.
Solution:   Use another strategy freeing "theline".

2 years agoUpdate runtime files
Bram Moolenaar [Mon, 18 Apr 2022 14:36:40 +0000 (15:36 +0100)]
Update runtime files

2 years agopatch 8.2.4782: accessing freed memory v8.2.4782
Bram Moolenaar [Mon, 18 Apr 2022 14:21:17 +0000 (15:21 +0100)]
patch 8.2.4782: accessing freed memory

Problem:    Accessing freed memory.
Solution:   Clear evalarg after checking for trailing characters.
            (issue #10218)

2 years agopatch 8.2.4781: Maxima files are not recognized v8.2.4781
Doron Behar [Mon, 18 Apr 2022 13:32:42 +0000 (14:32 +0100)]
patch 8.2.4781: Maxima files are not recognized

Problem:    Maxima files are not recognized.
Solution:   Add patterns to detect Maxima files. (Doron Behar, closes #10211)

2 years agopatch 8.2.4780: parsing an LSP message fails when it is split v8.2.4780
Yegappan Lakshmanan [Mon, 18 Apr 2022 13:07:46 +0000 (14:07 +0100)]
patch 8.2.4780: parsing an LSP message fails when it is split

Problem:    Parsing an LSP message fails when it is split.
Solution:   Collapse the received data before parsing. (Yegappan Lakshmanan,
            closes #10215)

2 years agopatch 8.2.4779: lsan suppression is too version specific v8.2.4779
Christian Brabandt [Sun, 17 Apr 2022 20:36:37 +0000 (21:36 +0100)]
patch 8.2.4779: lsan suppression is too version specific

Problem:    lsan suppression is too version specific.
Solution:   Leave out the version number. (Christian Brabandt, closes #10214)

2 years agopatch 8.2.4778: pacman files use dosini filetype v8.2.4778
Chaoren Lin [Sun, 17 Apr 2022 20:15:48 +0000 (21:15 +0100)]
patch 8.2.4778: pacman files use dosini filetype

Problem:    Pacman files use dosini filetype.
Solution:   Use conf instead. (Chaoren Lin, closes #10213)

2 years agopatch 8.2.4777: screendump tests fail because of a redraw v8.2.4777
Bram Moolenaar [Sun, 17 Apr 2022 18:20:33 +0000 (19:20 +0100)]
patch 8.2.4777: screendump tests fail because of a redraw

Problem:    Screendump tests fail because of a redraw.
Solution:   Do not output t_8u before receiving termresponse.  Redraw only
            when t_8u is not reset and termresponse is received.

2 years agopatch 8.2.4776: GTK: 'lines' and 'columns' may change during startup v8.2.4776
Ernie Rael [Sun, 17 Apr 2022 17:27:49 +0000 (18:27 +0100)]
patch 8.2.4776: GTK: 'lines' and 'columns' may change during startup

Problem:    GTK: 'lines' and 'columns' may change during startup.
Solution:   Ignore stale GTK resize events. (Ernie Rael, closes #10179)

2 years agopatch 8.2.4775: SpellBad highlighting does not work in Konsole v8.2.4775
Bram Moolenaar [Sun, 17 Apr 2022 16:34:42 +0000 (17:34 +0100)]
patch 8.2.4775: SpellBad highlighting does not work in Konsole

Problem:    SpellBad highlighting does not work in Konsole.
Solution:   Do not keep t_8u defined for Konsole.  Redraw when t_8u is reset.
            (closes #10177)

2 years agopatch 8.2.4774: crash when using a number for lambda name v8.2.4774
Bram Moolenaar [Sun, 17 Apr 2022 14:06:35 +0000 (15:06 +0100)]
patch 8.2.4774: crash when using a number for lambda name

Problem:    Crash when using a number for lambda name.
Solution:   Check the type of the lambda reference.

2 years agopatch 8.2.4773: build failure without the +eval feature v8.2.4773
Bram Moolenaar [Sun, 17 Apr 2022 13:18:11 +0000 (14:18 +0100)]
patch 8.2.4773: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Use other error message.  Avoid warnings.

2 years agopatch 8.2.4772: old Coverity warning for not checking ftell() return value v8.2.4772
Bram Moolenaar [Sun, 17 Apr 2022 13:01:51 +0000 (14:01 +0100)]
patch 8.2.4772: old Coverity warning for not checking ftell() return value

Problem:    Old Coverity warning for not checking ftell() return value.
Solution:   Check return value of fseek() and ftell().

2 years agopatch 8.2.4771: Coverity warns for not checking return value v8.2.4771
Bram Moolenaar [Sun, 17 Apr 2022 12:17:40 +0000 (13:17 +0100)]
patch 8.2.4771: Coverity warns for not checking return value

Problem:    Coverity warns for not checking return value.
Solution:   Check return value of rettv_dict_alloc().

2 years agopatch 8.2.4770: cannot easily mix expression and heredoc v8.2.4770
Yegappan Lakshmanan [Sun, 17 Apr 2022 11:47:40 +0000 (12:47 +0100)]
patch 8.2.4770: cannot easily mix expression and heredoc

Problem:    Cannot easily mix expression and heredoc.
Solution:   Support  in heredoc. (Yegappan Lakshmanan, closes #10138)

2 years agopatch 8.2.4769: build warning with UCRT v8.2.4769
Bram Moolenaar [Sun, 17 Apr 2022 09:57:44 +0000 (10:57 +0100)]
patch 8.2.4769: build warning with UCRT

Problem:    Build warning with UCRT.
Solution:   Adjust #ifdef for _wenviron. (John Marriott)

2 years agopatch 8.2.4768: CI: codecov upload sometimes does not work v8.2.4768
Philip H [Sat, 16 Apr 2022 20:46:38 +0000 (21:46 +0100)]
patch 8.2.4768: CI: codecov upload sometimes does not work

Problem:    CI: codecov upload sometimes does not work.
Solution:   Use action v3 instead of v2. (closes #10209)

2 years agopatch 8.2.4767: openscad files are not recognized v8.2.4767
salkin-mada [Sat, 16 Apr 2022 20:33:54 +0000 (21:33 +0100)]
patch 8.2.4767: openscad files are not recognized

Problem:    Openscad files are not recognized.
Solution:   Add a filetype pattern. (Niklas Adam, closes #10199)

2 years agopatch 8.2.4766: KRL files using "deffct" not recognized v8.2.4766
KnoP-01 [Sat, 16 Apr 2022 20:14:04 +0000 (21:14 +0100)]
patch 8.2.4766: KRL files using "deffct" not recognized

Problem:    KRL files using "deffct" not recognized.
Solution:   Adjust the pattern used for matching. (Patrick Meiser-Knosowski,
            closes #10200)

2 years agopatch 8.2.4765: function matchfuzzy() sorts too many items v8.2.4765
Yegappan Lakshmanan [Sat, 16 Apr 2022 19:42:40 +0000 (20:42 +0100)]
patch 8.2.4765: function matchfuzzy() sorts too many items

Problem:    Function matchfuzzy() sorts too many items.
Solution:   Only put matches in the array. (Yegappan Lakshmanan,
            closes #10208)

2 years agopatch 8.2.4764: CI uses an older gcc version v8.2.4764
Philip H [Sat, 16 Apr 2022 19:04:30 +0000 (20:04 +0100)]
patch 8.2.4764: CI uses an older gcc version

Problem:    CI uses an older gcc version.
Solution:   Use GCC 11. (closes #10185)

2 years agopatch 8.2.4763: using invalid pointer with "V:" in Ex mode v8.2.4763
Bram Moolenaar [Sat, 16 Apr 2022 17:52:17 +0000 (18:52 +0100)]
patch 8.2.4763: using invalid pointer with "V:" in Ex mode

Problem:    Using invalid pointer with "V:" in Ex mode.
Solution:   Correctly handle the command being changed to "+".

2 years agopatch 8.2.4762: using freed memory using synstack() and synID() in WinEnter v8.2.4762
zeertzjq [Sat, 16 Apr 2022 15:49:24 +0000 (16:49 +0100)]
patch 8.2.4762: using freed memory using synstack() and synID() in WinEnter

Problem:    Using freed memory when using synstack() and synID() in WinEnter.
Solution:   Check using the syntax window. (closes #10204)

2 years agopatch 8.2.4761: documentation for using LSP messages is incomplete v8.2.4761
Yegappan Lakshmanan [Sat, 16 Apr 2022 14:18:23 +0000 (15:18 +0100)]
patch 8.2.4761: documentation for using LSP messages is incomplete

Problem:    Documentation for using LSP messages is incomplete.
Solution:   Update the documentation. (Yegappan Lakshmanan, closes #10206)

2 years agopatch 8.2.4760: using matchfuzzy() on a long list can take a while v8.2.4760
Yasuhiro Matsumoto [Sat, 16 Apr 2022 11:35:35 +0000 (12:35 +0100)]
patch 8.2.4760: using matchfuzzy() on a long list can take a while

Problem:    Using matchfuzzy() on a long list can take a while.
Solution:   Add a limit to the number of matches. (Yasuhiro Matsumoto,
            closes #10189)

2 years agopatch 8.2.4759: CurSearch highlight does not work for multi-line match v8.2.4759
Bram Moolenaar [Sat, 16 Apr 2022 11:04:37 +0000 (12:04 +0100)]
patch 8.2.4759: CurSearch highlight does not work for multi-line match

Problem:    CurSearch highlight does not work for multi-line match.
Solution:   Check cursor position before adjusting columns. (closes #10133)

2 years agopatch 8.2.4758: when using an LSP channel want to get the message ID v8.2.4758
Yegappan Lakshmanan [Sat, 16 Apr 2022 09:41:27 +0000 (10:41 +0100)]
patch 8.2.4758: when using an LSP channel want to get the message ID

Problem:    When using an LSP channel want to get the message ID.
Solution:   Have ch_sendexpr() return the ID. (Yegappan Lakshmanan,
            closes #10202)

2 years agopatch 8.2.4757: list of libraries to suppress lsan errors is outdated v8.2.4757
Philip H [Sat, 16 Apr 2022 09:08:52 +0000 (10:08 +0100)]
patch 8.2.4757: list of libraries to suppress lsan errors is outdated

Problem:    List of libraries to suppress lsan errors is outdated.
Solution:   Add another library. (closes #10201)

2 years agopatch 8.2.4756: build error without the +eval feature v8.2.4756
Bram Moolenaar [Fri, 15 Apr 2022 22:29:23 +0000 (23:29 +0100)]
patch 8.2.4756: build error without the +eval feature

Problem:    Build error without the +eval feature.
Solution:   Adjust #ifdefs.

2 years agopatch 8.2.4755: cannot use <SID>FuncRef in completion spec v8.2.4755
Bram Moolenaar [Fri, 15 Apr 2022 21:57:09 +0000 (22:57 +0100)]
patch 8.2.4755: cannot use <SID>FuncRef in completion spec

Problem:    Cannot use <SID>FuncRef in completion spec.
Solution:   Dereference a function name in another way. (closes #10197)

2 years agopatch 8.2.4754: using cached values after unsetting some environment variables v8.2.4754
LemonBoy [Fri, 15 Apr 2022 19:50:46 +0000 (20:50 +0100)]
patch 8.2.4754: using cached values after unsetting some environment variables

Problem:    Still using cached values after unsetting some known environment
            variables.
Solution:   Take care of the side effects. (closes #10194)

2 years agopatch 8.2.4753: error from setting an option is silently ignored v8.2.4753
Bram Moolenaar [Fri, 15 Apr 2022 12:53:33 +0000 (13:53 +0100)]
patch 8.2.4753: error from setting an option is silently ignored

Problem:    Error from setting an option is silently ignored.
Solution:   Handle option value errors better.  Fix uses of N_().

2 years agopatch 8.2.4752: wrong 'statusline' value can cause illegal memory access v8.2.4752
zeertzjq [Fri, 15 Apr 2022 12:17:57 +0000 (13:17 +0100)]
patch 8.2.4752: wrong 'statusline' value can cause illegal memory access

Problem:    Wrong 'statusline' value can cause illegal memory access.
Solution:   Properly check the value. (closes #10192)

2 years agopatch 8.2.4751: mapping <SID>name.Func does not work for autoload script v8.2.4751
Bram Moolenaar [Thu, 14 Apr 2022 20:36:15 +0000 (21:36 +0100)]
patch 8.2.4751: mapping <SID>name.Func does not work for autoload script

Problem:    Mapping <SID>name.Func does not work for script in autoload
            directory.
Solution:   Use the # form for a script in the autoload directory.
            (closes #10186)

2 years agopatch 8.2.4750: small pieces of dead code v8.2.4750
=?UTF-8?q?Dundar=20G=C3=B6c?= [Thu, 14 Apr 2022 19:43:56 +0000 (20:43 +0100)]
patch 8.2.4750: small pieces of dead code

Problem:    Small pieces of dead code.
Solution:   Remove the dead code. (Goc Dundar, closes #10190) Rename the
            qftf_cb struct member to avoid confusion.

2 years agopatch 8.2.4749: <script> is not expanded in autocmd context v8.2.4749
LemonBoy [Thu, 14 Apr 2022 14:39:43 +0000 (15:39 +0100)]
patch 8.2.4749: <script> is not expanded in autocmd context

Problem:    <script> is not expanded in autocmd context.
Solution:   Add the context to the pattern struct. (closes #10144)
            Rename AutoPatCmd to AutoPatCmd_T.

2 years agopatch 8.2.4748: cannot use an imported function in a mapping v8.2.4748
Bram Moolenaar [Thu, 14 Apr 2022 11:58:23 +0000 (12:58 +0100)]
patch 8.2.4748: cannot use an imported function in a mapping

Problem:    Cannot use an imported function in a mapping.
Solution:   Recognize <SID>name.Func.

2 years agopatch 8.2.4747: no filetype override for .sys files v8.2.4747
KnoP-01 [Wed, 13 Apr 2022 19:46:21 +0000 (20:46 +0100)]
patch 8.2.4747: no filetype override for .sys files

Problem:    No filetype override for .sys files.
Solution:   Add g:filetype_sys. (Patrick Meiser-Knosowski, closes #10181)

2 years agopatch 8.2.4746: supercollider filetype not recognized v8.2.4746
ranjithshegde [Wed, 13 Apr 2022 14:29:21 +0000 (15:29 +0100)]
patch 8.2.4746: supercollider filetype not recognized

Problem:    Supercollider filetype not recognized.
Solution:   Match file extentions and check file contents to detect
            supercollider. (closes #10142)

2 years agopatch 8.2.4745: using wrong flag for using bell in the terminal v8.2.4745
Bram Moolenaar [Wed, 13 Apr 2022 13:28:07 +0000 (14:28 +0100)]
patch 8.2.4745: using wrong flag for using bell in the terminal

Problem:    Using wrong flag for using bell in the terminal.
Solution:   Change to use BO_TERM.

2 years agopatch 8.2.4744: a terminal window can't use the bell v8.2.4744
LemonBoy [Wed, 13 Apr 2022 10:47:25 +0000 (11:47 +0100)]
patch 8.2.4744: a terminal window can't use the bell

Problem:    A terminal window can't use the bell.
Solution:   Add bell support for the terminal window. (closes #10178)

2 years agopatch 8.2.4743: clang 14 is available on CI v8.2.4743
Philip H [Tue, 12 Apr 2022 14:40:12 +0000 (15:40 +0100)]
patch 8.2.4743: clang 14 is available on CI

Problem:    Clang 14 is available on CI.
Solution:   Switch from clang 13 to 14. (closes #10157)

2 years agopatch 8.2.4742: there is no way to start logging very early in startup v8.2.4742
Bram Moolenaar [Tue, 12 Apr 2022 14:09:23 +0000 (15:09 +0100)]
patch 8.2.4742: there is no way to start logging very early in startup

Problem:    There is no way to start logging very early in startup.
Solution:   Add the --log argument.  Include the date in the start message in
            the log file.  Avoid a duplicate message when forking.  Log an
            executed shell command.

2 years agopatch 8.2.4741: startup test fails v8.2.4741
Bram Moolenaar [Tue, 12 Apr 2022 13:23:19 +0000 (14:23 +0100)]
patch 8.2.4741: startup test fails

Problem:    Startup test fails.
Solution:   Avoid an error for verbose expansion.  Fix that the "0verbose"
            command modifier doesn't work.

2 years agopatch 8.2.4740: when expand() fails there is no error message v8.2.4740
Bram Moolenaar [Tue, 12 Apr 2022 11:54:11 +0000 (12:54 +0100)]
patch 8.2.4740: when expand() fails there is no error message

Problem:    When expand() fails there is no error message.
Solution:   When 'verbose' is set give an error message.

2 years agopatch 8.2.4739: accessing freed memory after WinScrolled autocmd event v8.2.4739
zeertzjq [Tue, 12 Apr 2022 10:32:48 +0000 (11:32 +0100)]
patch 8.2.4739: accessing freed memory after WinScrolled autocmd event

Problem:    Accessing freed memory after WinScrolled autocmd event.
Solution:   Check the window pointer is still valid. (closes #10156)
            Remove the argument from may_trigger_winscrolled().

2 years agopatch 8.2.4738: Esc on commandline executes command instead of abandoning it v8.2.4738
Bram Moolenaar [Mon, 11 Apr 2022 18:38:56 +0000 (19:38 +0100)]
patch 8.2.4738: Esc on commandline executes command instead of abandoning it

Problem:    Esc on commandline executes command instead of abandoning it.
Solution:   Save and restore KeyTyped when removing the popup menu.
            (closes #10154)

2 years agopatch 8.2.4737: // in JavaScript string recognized as comment v8.2.4737
Bram Moolenaar [Mon, 11 Apr 2022 16:36:37 +0000 (17:36 +0100)]
patch 8.2.4737: // in JavaScript string recognized as comment

Problem:    // in JavaScript string recognized as comment.
Solution:   Only check for linecomment if 'cindent' is set. (closes #10151)

2 years agopatch 8.2.4736: build problem for Cygwin with Motif v8.2.4736
Bram Moolenaar [Mon, 11 Apr 2022 14:28:50 +0000 (15:28 +0100)]
patch 8.2.4736: build problem for Cygwin with Motif

Problem:    Build problem for Cygwin with Motif.
Solution:   Undefine ControlMask. (Kelvin Lee, closes #10152)

2 years agopatch 8.2.4735: quickfix tests can be a bit hard to read v8.2.4735
Yegappan Lakshmanan [Mon, 11 Apr 2022 14:11:39 +0000 (15:11 +0100)]
patch 8.2.4735: quickfix tests can be a bit hard to read

Problem:    Quickfix tests can be a bit hard to read.
Solution:   Use heredoc instead of strings and line continuation. (Yegappan
            Lakshmanan, closes #10145)

2 years agopatch 8.2.4734: getcharpos() may change a mark position v8.2.4734
Bram Moolenaar [Mon, 11 Apr 2022 12:05:16 +0000 (13:05 +0100)]
patch 8.2.4734: getcharpos() may change a mark position

Problem:    getcharpos() may change a mark position.
Solution:   Copy the mark position. (closes #10148)

2 years agopatch 8.2.4733: HEEx and Surface do need a separate filetype v8.2.4733
Aaron Tinio [Mon, 11 Apr 2022 10:37:13 +0000 (11:37 +0100)]
patch 8.2.4733: HEEx and Surface do need a separate filetype

Problem:    HEEx and Surface do need a separate filetype.
Solution:   Revert 8.2.4729. (closes #10147)

2 years agopatch 8.2.4732: duplicate code to free fuzzy matches v8.2.4732
Bram Moolenaar [Sun, 10 Apr 2022 17:09:06 +0000 (18:09 +0100)]
patch 8.2.4732: duplicate code to free fuzzy matches

Problem:    Duplicate code to free fuzzy matches.
Solution:   Bring back fuzmatch_str_free().

2 years agopatch 8.2.4731: the changelist index is not remembered per buffer v8.2.4731
LemonBoy [Sun, 10 Apr 2022 16:59:26 +0000 (17:59 +0100)]
patch 8.2.4731: the changelist index is not remembered per buffer

Problem:    The changelist index is not remembered per buffer.
Solution:   Keep the changelist index per window and buffer. (closes #10135,
            closes #2173)

2 years agopatch 8.2.4730: MS-Windows GUI: cannot use CTRL-/ v8.2.4730
Yasuhiro Matsumoto [Sun, 10 Apr 2022 11:37:48 +0000 (12:37 +0100)]
patch 8.2.4730: MS-Windows GUI: cannot use CTRL-/

Problem:    MS-Windows GUI: cannot use CTRL-/.
Solution:   Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)

2 years agopatch 8.2.4729: HEEx and Surface templates do not need a separate filetype v8.2.4729
Aaron Tinio [Sun, 10 Apr 2022 11:13:56 +0000 (12:13 +0100)]
patch 8.2.4729: HEEx and Surface templates do not need a separate filetype

Problem:    HEEx and Surface templates do not need a separate filetype.
Solution:   Use Eelixir for the similar filetypes. (Aaron Tinio, closes #10124)

2 years agopatch 8.2.4728: no test that v:event cannot be modified v8.2.4728
zeertzjq [Sun, 10 Apr 2022 10:44:04 +0000 (11:44 +0100)]
patch 8.2.4728: no test that v:event cannot be modified

Problem:    No test that v:event cannot be modified.
Solution:   Add a test. (closes #10139)

2 years agopatch 8.2.4727: unused code v8.2.4727
Dominique Pelle [Sun, 10 Apr 2022 10:26:53 +0000 (11:26 +0100)]
patch 8.2.4727: unused code

Problem:    Unused code.
Solution:   Remove code and add #ifdefs. (Dominique PellĂ©, closes #10136)

2 years agopatch 8.2.4726: cannot use expand() to get the script name v8.2.4726
LemonBoy [Sat, 9 Apr 2022 20:42:10 +0000 (21:42 +0100)]
patch 8.2.4726: cannot use expand() to get the script name

Problem:    Cannot use expand() to get the script name.
Solution:   Support expand('<script>'). (closes #10121)

2 years agopatch 8.2.4725: unused variable in tiny build v8.2.4725
Bram Moolenaar [Sat, 9 Apr 2022 20:13:51 +0000 (21:13 +0100)]
patch 8.2.4725: unused variable in tiny build

Problem:    Unused variable in tiny build.
Solution:   Add #ifdef.