]> granicus.if.org Git - vim/log
vim
2 years agopatch 8.2.4901: NULL pointer access when using invalid pattern v8.2.4901
Bram Moolenaar [Sat, 7 May 2022 10:28:06 +0000 (11:28 +0100)]
patch 8.2.4901: NULL pointer access when using invalid pattern

Problem:    NULL pointer access when using invalid pattern.
Solution:   Check for failed regexp program.

2 years agopatch 8.2.4900: Vim9 expression test fails without the job feature v8.2.4900
Dominique Pelle [Sat, 7 May 2022 10:00:08 +0000 (11:00 +0100)]
patch 8.2.4900: Vim9 expression test fails without the job feature

Problem:    Vim9 expression test fails without the job feature.
Solution:   Add a check for the job feature. (Dominique Pellé, closes #10373)

2 years agopatch 8.2.4899: with latin1 encoding CTRL-W might go before the cmdline v8.2.4899
Bram Moolenaar [Sat, 7 May 2022 09:49:10 +0000 (10:49 +0100)]
patch 8.2.4899: with latin1 encoding CTRL-W might go before the cmdline

Problem:    With latin1 encoding CTRL-W might go before the start of the
            command line.
Solution:   Check already being at the start of the command line.

2 years agopatch 8.2.4898: Coverity complains about pointer usage v8.2.4898
Bram Moolenaar [Sat, 7 May 2022 09:03:27 +0000 (10:03 +0100)]
patch 8.2.4898: Coverity complains about pointer usage

Problem:    Coverity complains about pointer usage.
Solution:   Move code for increment/decerment.

2 years agopatch 8.2.4897: comment inside an expression in lambda ignores the rest v8.2.4897
Bram Moolenaar [Fri, 6 May 2022 20:51:50 +0000 (21:51 +0100)]
patch 8.2.4897: comment inside an expression in lambda ignores the rest

Problem:    Comment inside an expression in lambda ignores the rest of the
            expression.
Solution:   Truncate the line at the comment. (closes #10367)

2 years agopatch 8.2.4896: expression in command block does not look after NL v8.2.4896
Bram Moolenaar [Fri, 6 May 2022 20:24:31 +0000 (21:24 +0100)]
patch 8.2.4896: expression in command block does not look after NL

Problem:    Expression in command block does not look after NL when command is
            typed.
Solution:   Skip over NL also when not in a script. (closes #10358)

2 years agopatch 8.2.4895: buffer overflow with invalid command with composing chars v8.2.4895
Bram Moolenaar [Fri, 6 May 2022 19:38:47 +0000 (20:38 +0100)]
patch 8.2.4895: buffer overflow with invalid command with composing chars

Problem:    Buffer overflow with invalid command with composing chars.
Solution:   Check that the whole character fits in the buffer.

2 years agopatch 8.2.4894: MS-Windows: not using italics v8.2.4894
LemonBoy [Fri, 6 May 2022 17:38:41 +0000 (18:38 +0100)]
patch 8.2.4894: MS-Windows: not using italics

Problem:    MS-Windows: not using italics.
Solution:   Use italics.  Simplify the code. (closes #10359)

2 years agopatch 8.2.4893: distributed import files are not installed v8.2.4893
Bram Moolenaar [Fri, 6 May 2022 17:08:52 +0000 (18:08 +0100)]
patch 8.2.4893: distributed import files are not installed

Problem:    Distributed import files are not installed.
Solution:   Add rules to Makefile and NSIS.

2 years agopatch 8.2.4892: test failures because of changed error messages v8.2.4892
Bram Moolenaar [Fri, 6 May 2022 16:53:06 +0000 (17:53 +0100)]
patch 8.2.4892: test failures because of changed error messages

Problem:    Test failures because of changed error messages.
Solution:   Adjust the exptected error messages.

2 years agopatch 8.2.4891: Vim help presentation could be better v8.2.4891
Bram Moolenaar [Fri, 6 May 2022 15:32:46 +0000 (16:32 +0100)]
patch 8.2.4891: Vim help presentation could be better

Problem:    Vim help presentation could be better.
Solution:   Add an imported file for extra Vim help support.  Show highlight
            names in the color they have.

2 years agopatch 8.2.4890: inconsistent capitalization in error messages v8.2.4890
Bram Moolenaar [Fri, 6 May 2022 15:18:41 +0000 (16:18 +0100)]
patch 8.2.4890: inconsistent capitalization in error messages

Problem:    Inconsistent capitalization in error messages.
Solution:   Make capitalization consistent. (Doug Kearns)

2 years agopatch 8.2.4889: CI only tests with FreeBSD 12 v8.2.4889
Philip H [Fri, 6 May 2022 15:10:50 +0000 (16:10 +0100)]
patch 8.2.4889: CI only tests with FreeBSD 12

Problem:    CI only tests with FreeBSD 12.
Solution:   Also test with FreeBSD 13. (closes #10366)

2 years agopatch 8.2.4888: line number of lambda ignores line continuation v8.2.4888
Bram Moolenaar [Fri, 6 May 2022 14:47:07 +0000 (15:47 +0100)]
patch 8.2.4888: line number of lambda ignores line continuation

Problem:    Line number of lambda ignores line continuation.
Solution:   Use the line number of where the arguments are. Avoid outputting
            "..." twice. (closes #10364)

2 years agopatch 8.2.4887: channel log does not show invoking a timer callback v8.2.4887
Bram Moolenaar [Fri, 6 May 2022 13:59:04 +0000 (14:59 +0100)]
patch 8.2.4887: channel log does not show invoking a timer callback

Problem:    Channel log does not show invoking a timer callback.
Solution:   Add a ch_log() call.

2 years agopatch 8.2.4886: Vim9: redir in skipped block seen as assignment v8.2.4886
Bram Moolenaar [Fri, 6 May 2022 13:29:09 +0000 (14:29 +0100)]
patch 8.2.4886: Vim9: redir in skipped block seen as assignment

Problem:    Vim9: redir in skipped block seen as assignment.
Solution:   Check for valid assignment.

2 years agopatch 8.2.4885: test fails with the job/channel feature v8.2.4885
Bram Moolenaar [Fri, 6 May 2022 12:37:42 +0000 (13:37 +0100)]
patch 8.2.4885: test fails with the job/channel feature

Problem:    Test fails with the job/channel feature.
Solution:   Move check for job/channel separately.

2 years agopatch 8.2.4884: test fails without the job/channel feature v8.2.4884
Bram Moolenaar [Fri, 6 May 2022 12:27:08 +0000 (13:27 +0100)]
patch 8.2.4884: test fails without the job/channel feature

Problem:    Test fails without the job/channel feature. (Dominique Pellé)
Solution:   Add condition.

2 years agopatch 8.2.4883: string interpolation only works in heredoc v8.2.4883
LemonBoy [Fri, 6 May 2022 12:14:50 +0000 (13:14 +0100)]
patch 8.2.4883: string interpolation only works in heredoc

Problem:    String interpolation only works in heredoc.
Solution:   Support interpolated strings.  Use syntax for heredoc consistent
            with strings, similar to C#. (closes #10327)

2 years agopatch 8.2.4882: cannot make 'breakindent' use a specific column v8.2.4882
Christian Brabandt [Fri, 6 May 2022 11:21:04 +0000 (12:21 +0100)]
patch 8.2.4882: cannot make 'breakindent' use a specific column

Problem:    Cannot make 'breakindent' use a specific column.
Solution:   Add the "column" entry in 'breakindentopt'. (Christian Brabandt,
            closes #10362, closes #10325)

2 years agopatch 8.2.4881: "P" in Visual mode still changes some registers v8.2.4881
Shougo Matsushita [Fri, 6 May 2022 10:45:09 +0000 (11:45 +0100)]
patch 8.2.4881: "P" in Visual mode still changes some registers

Problem:    "P" in Visual mode still changes some registers.
Solution:   Make "P" in Visual mode not change any register. (Shougo
            Matsushita, closes #10349)

2 years agopatch 8.2.4880: Vim9: misplaced elseif causes invalid memory access v8.2.4880
Bram Moolenaar [Fri, 6 May 2022 10:27:52 +0000 (11:27 +0100)]
patch 8.2.4880: Vim9: misplaced elseif causes invalid memory access

Problem:    Vim9: misplaced elseif causes invalid memory access.
Solution:   Check cs_idx not to be negative.

2 years agopatch 8.2.4879: screendump test may fail when using valgrind v8.2.4879
Bram Moolenaar [Fri, 6 May 2022 10:21:19 +0000 (11:21 +0100)]
patch 8.2.4879: screendump test may fail when using valgrind

Problem:    Screendump test may fail when using valgrind.
Solution:   Wait longer for the first screendump.

2 years agopatch 8.2.4878: valgrind warning for using uninitialized variable v8.2.4878
Bram Moolenaar [Fri, 6 May 2022 10:02:05 +0000 (11:02 +0100)]
patch 8.2.4878: valgrind warning for using uninitialized variable

Problem:    Valgrind warning for using uninitialized variable.
Solution:   Initialize the type of newtv.

2 years agopatch 8.2.4877: MS-Windows: Wrongly using Normal colors for termguicolors v8.2.4877
Christian Brabandt [Thu, 5 May 2022 20:09:54 +0000 (21:09 +0100)]
patch 8.2.4877: MS-Windows: Wrongly using Normal colors for termguicolors

Problem:    MS-Windows: Using Normal colors for termguicolors causes problems.
Solution:   Do not use Normal colors to set sg_gui_fg and sg_gui_bg.
            (Christian Brabandt, closes #10317, closes #10241)

2 years agopatch 8.2.4876: MS-Windows: Shift-BS results in strange char in powershell v8.2.4876
Christian Brabandt [Thu, 5 May 2022 19:46:47 +0000 (20:46 +0100)]
patch 8.2.4876: MS-Windows: Shift-BS results in strange char in powershell

Problem:    MS-Windows: Shift-BS results in strange character in powershell.
Solution:   Add K_S_BS. (Christian Brabandt, closes #10283, closes #10279)

2 years agopatch 8.2.4875: MS-Windows: some .exe files are not recognized v8.2.4875
LemonBoy [Thu, 5 May 2022 19:18:16 +0000 (20:18 +0100)]
patch 8.2.4875: MS-Windows: some .exe files are not recognized

Problem:    MS-Windows: some .exe files are not recognized.
Solution:   Parse APPEXECLINK junctions. (closes #10302)

2 years agopatch 8.2.4874: Win32 GUI: horizontal scroll wheel not handled properly v8.2.4874
LemonBoy [Thu, 5 May 2022 18:23:07 +0000 (19:23 +0100)]
patch 8.2.4874: Win32 GUI: horizontal scroll wheel not handled properly

Problem:    Win32 GUI: horizontal scroll wheel not handled properly.
Solution:   Also handle WM_MOUSEHWHEEL. (closes #10309)

2 years agopatch 8.2.4873: Vim9: using "else" differs from using "endif/if !cond" v8.2.4873
Bram Moolenaar [Thu, 5 May 2022 16:02:46 +0000 (17:02 +0100)]
patch 8.2.4873: Vim9: using "else" differs from using "endif/if !cond"

Problem:    Vim9: using "else" differs from using "endif/if !cond".
Solution:   Leave the block and enter another one. (closes #10320)

2 years agopatch 8.2.4872: Vim9: no error for using an expression only v8.2.4872
Bram Moolenaar [Thu, 5 May 2022 15:08:55 +0000 (16:08 +0100)]
patch 8.2.4872: Vim9: no error for using an expression only

Problem:    Vim9: no error for using an expression only at the script level
            when followed by an empty line.
Solution:   Do not check the line number but whether something follows.
            (closes #10357)

2 years agopatch 8.2.4871: Vim9: in :def function no error for misplaced range v8.2.4871
Bram Moolenaar [Thu, 5 May 2022 14:20:03 +0000 (15:20 +0100)]
patch 8.2.4871: Vim9: in :def function no error for misplaced range

Problem:    Vim9: in :def function no error for using a range with a command
            that does not accept one.
Solution:   Check for the command to accept a range. (closes #10330)

2 years agopatch 8.2.4870: Vim9: expression in :substitute is not compiled v8.2.4870
LemonBoy [Thu, 5 May 2022 12:53:03 +0000 (13:53 +0100)]
patch 8.2.4870: Vim9: expression in :substitute is not compiled

Problem:    Vim9: expression in :substitute is not compiled.
Solution:   Use an INSTR instruction if possible. (closes #10334)

2 years agopatch 8.2.4869: expression in command block does not look after NL v8.2.4869
Bram Moolenaar [Thu, 5 May 2022 11:20:28 +0000 (12:20 +0100)]
patch 8.2.4869: expression in command block does not look after NL

Problem:    Expression in command block does not look after NL.
Solution:   Skip over NL to check what follows. (closes #10358)

2 years agopatch 8.2.4868: when closing help window autocmds triggered for wrong window v8.2.4868
LemonBoy [Wed, 4 May 2022 21:13:47 +0000 (22:13 +0100)]
patch 8.2.4868: when closing help window autocmds triggered for wrong window

Problem:    When closing help window autocmds triggered for the wrong window.
Solution:   Figure out the new current window earlier. (closes #10348)

2 years agopatch 8.2.4867: listing of mapping with K_SPECIAL is wrong v8.2.4867
zeertzjq [Wed, 4 May 2022 17:51:43 +0000 (18:51 +0100)]
patch 8.2.4867: listing of mapping with K_SPECIAL is wrong

Problem:    Listing of mapping with K_SPECIAL is wrong.
Solution:   Adjust escaping of special characters. (closes #10351)

2 years agopatch 8.2.4866: duplicate code in "get" functions v8.2.4866
LemonBoy [Wed, 4 May 2022 17:12:55 +0000 (18:12 +0100)]
patch 8.2.4866: duplicate code in "get" functions

Problem:    Duplicate code in "get" functions.
Solution:   Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
            and getbufvar(). (closes #10335)

2 years agopatch 8.2.4865: :startinsert right after :stopinsert may not work v8.2.4865
zeertzjq [Wed, 4 May 2022 16:51:50 +0000 (17:51 +0100)]
patch 8.2.4865: :startinsert right after :stopinsert may not work

Problem:    :startinsert right after :stopinsert does not work when popup menu
            is still visible.
Solution:   Use ins_compl_active() instead of pum_visible(). (closes #10352)

2 years agopatch 8.2.4864: Vim9: script test fails v8.2.4864
Bram Moolenaar [Wed, 4 May 2022 16:29:15 +0000 (17:29 +0100)]
patch 8.2.4864: Vim9: script test fails

Problem:    Vim9: script test fails.
Solution:   Remove "if" around declaration.

2 years agopatch 8.2.4863: accessing freed memory in test without the +channel feature v8.2.4863
Bram Moolenaar [Wed, 4 May 2022 15:46:54 +0000 (16:46 +0100)]
patch 8.2.4863: accessing freed memory in test without the +channel feature

Problem:    Accessing freed memory in test without the +channel feature.
            (Dominique Pellé)
Solution:   Do not generted PUSHCHANNEL or PUSHJOB if they are not
            implemented. (closes #10350)

2 years agopatch 8.2.4862: Vim9: test may fail when run with valgrind v8.2.4862
Bram Moolenaar [Wed, 4 May 2022 15:24:57 +0000 (16:24 +0100)]
patch 8.2.4862: Vim9: test may fail when run with valgrind

Problem:    Vim9: test may fail when run with valgrind.
Solution:   Wait longer for callback if needed.

2 years agopatch 8.2.4861: it is not easy to restore saved mappings v8.2.4861
Ernie Rael [Wed, 4 May 2022 14:40:22 +0000 (15:40 +0100)]
patch 8.2.4861: it is not easy to restore saved mappings

Problem:    It is not easy to restore saved mappings.
Solution:   Make mapset() accept a dict argument. (Ernie Rael, closes #10295)

2 years agopatch 8.2.4860: MS-Windows: always uses current directory for executables v8.2.4860
Yasuhiro Matsumoto [Tue, 3 May 2022 10:02:28 +0000 (11:02 +0100)]
patch 8.2.4860: MS-Windows: always uses current directory for executables

Problem:    MS-Windows: always uses current directory for executables.
Solution:   Check the NoDefaultCurrentDirectoryInExePath environment variable.
            (Yasuhiro Matsumoto, closes #10341)

2 years agopatch 8.2.4859: wget2 files are not recognized v8.2.4859
Bram Moolenaar [Mon, 2 May 2022 22:51:13 +0000 (23:51 +0100)]
patch 8.2.4859: wget2 files are not recognized

Problem:    wget2 files are not recognized.
Solution:   Add patterns to recognize wget2. (Doug Kearns)

2 years agopatch 8.2.4858: K_SPECIAL may be escaped twice v8.2.4858
zeertzjq [Mon, 2 May 2022 21:53:45 +0000 (22:53 +0100)]
patch 8.2.4858: K_SPECIAL may be escaped twice

Problem:    K_SPECIAL may be escaped twice.
Solution:   Avoid double escaping. (closes #10340)

2 years agopatch 8.2.4857: Yaml indent for multiline is wrong v8.2.4857
asmka [Mon, 2 May 2022 09:46:49 +0000 (10:46 +0100)]
patch 8.2.4857: Yaml indent for multiline is wrong

Problem:    Yaml indent for multiline is wrong.
Solution:   Adjust patterns. (closes #10328, closes #8740)

2 years agopatch 8.2.4856: MinGW compiler complains about unknown escape sequence v8.2.4856
Christian Brabandt [Mon, 2 May 2022 09:34:15 +0000 (10:34 +0100)]
patch 8.2.4856: MinGW compiler complains about unknown escape sequence

Problem:    MinGW compiler complains about unknown escape sequence.
Solution:   Avoid using a backslash in path. (Christian Brabandt,
            closes #10337)

2 years agopatch 8.2.4855: robot files are not recognized v8.2.4855
Zoe Roux [Mon, 2 May 2022 09:29:31 +0000 (10:29 +0100)]
patch 8.2.4855: robot files are not recognized

Problem:    Robot files are not recognized.
Solution:   Add patterns for robot files. (Zoe Roux, closes #10339)

2 years agopatch 8.2.4854: array size does not match usage v8.2.4854
Christian Brabandt [Sun, 1 May 2022 23:06:51 +0000 (00:06 +0100)]
patch 8.2.4854: array size does not match usage

Problem:    Array size does not match usage.
Solution:   Make array size 3 instead of 4. (Christian Brabandt, closes #10336)

2 years agopatch 8.2.4853: CI with FreeBSD is a bit outdated v8.2.4853
Philip H [Sun, 1 May 2022 19:43:50 +0000 (20:43 +0100)]
patch 8.2.4853: CI with FreeBSD is a bit outdated

Problem:    CI with FreeBSD is a bit outdated.
Solution:   Use 12.3 instead of 12.1. (closes #10333)

2 years agopatch 8.2.4852: ANSI color index to RGB value not correct v8.2.4852
LemonBoy [Sun, 1 May 2022 16:43:33 +0000 (17:43 +0100)]
patch 8.2.4852: ANSI color index to RGB value not correct

Problem:    ANSI color index to RGB value not correct.
Solution:   Convert the cterm index to ANSI index. (closes #10321,
            closes #9836))

2 years agopatch 8.2.4851: compiler warning for uninitialized variable v8.2.4851
Bram Moolenaar [Sat, 30 Apr 2022 23:42:24 +0000 (00:42 +0100)]
patch 8.2.4851: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Use another variable to decide to restore option values.

2 years agopatch 8.2.4850: mksession mixes up "tabpages" and "curdir" arguments v8.2.4850
LemonBoy [Sat, 30 Apr 2022 15:10:27 +0000 (16:10 +0100)]
patch 8.2.4850: mksession mixes up "tabpages" and "curdir" arguments

Problem:    Mksession mixes up "tabpages" and "curdir" arguments.
Solution:   Correct logic for storing tabpage in session. (closes #10312)

2 years agopatch 8.2.4849: Gleam filetype not detected v8.2.4849
Mathias Jean Johansen [Sat, 30 Apr 2022 14:10:07 +0000 (15:10 +0100)]
patch 8.2.4849: Gleam filetype not detected

Problem:    Gleam filetype not detected.
Solution:   Add a pattern for Gleam files. (Mathias Jean Johansen,
            closes #10326)

2 years agopatch 8.2.4848: local completion with mappings and simplification not working v8.2.4848
zeertzjq [Sat, 30 Apr 2022 14:02:22 +0000 (15:02 +0100)]
patch 8.2.4848: local completion with mappings and simplification not working

Problem:    Local completion with mappings and simplification not working.
Solution:   Fix local completion <C-N>/<C-P> mappings not ignored if keys are
            not simplified. (closes #10323)

2 years agopatch 8.2.4847: crash when using uninitialized function pointer v8.2.4847
LemonBoy [Fri, 29 Apr 2022 20:15:02 +0000 (21:15 +0100)]
patch 8.2.4847: crash when using uninitialized function pointer

Problem:    Crash when using uninitialized function pointer.
Solution:   Check for NULL pointer. (closes #10319, closes #10319)

2 years agopatch 8.2.4846: termcodes test fails v8.2.4846
zeertzjq [Fri, 29 Apr 2022 15:44:00 +0000 (16:44 +0100)]
patch 8.2.4846: termcodes test fails

Problem:    Termcodes test fails.
Solution:   use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)

2 years agopatch 8.2.4845: duplicate code v8.2.4845
zeertzjq [Fri, 29 Apr 2022 10:29:54 +0000 (11:29 +0100)]
patch 8.2.4845: duplicate code

Problem:    Duplicate code.
Solution:   Move code below if/else. (closes #10314)

2 years agopatch 8.2.4844: <C-S-I> is simplified to <S-Tab> v8.2.4844
zeertzjq [Fri, 29 Apr 2022 10:06:34 +0000 (11:06 +0100)]
patch 8.2.4844: <C-S-I> is simplified to <S-Tab>

Problem:    <C-S-I> is simplified to <S-Tab>.
Solution:   Do not simplify CTRL if there is also SHIFT. (closes #10313)

2 years agopatch 8.2.4843: treating CTRL + ALT as AltGr is not backwards compatible v8.2.4843
LemonBoy [Thu, 28 Apr 2022 18:50:54 +0000 (19:50 +0100)]
patch 8.2.4843: treating CTRL + ALT as AltGr is not backwards compatible

Problem:    Win32 GUI: Treating CTRL + ALT as AltGr is not backwards
            compatible. (Axel Bender)
Solution:   Make a difference between left and right menu keys.
            (closes #10308)

2 years agopatch 8.2.4842: expand("%:p") is not empty when there is no buffer name v8.2.4842
Bram Moolenaar [Thu, 28 Apr 2022 18:09:03 +0000 (19:09 +0100)]
patch 8.2.4842: expand("%:p") is not empty when there is no buffer name

Problem:    expand("%:p") is not empty when there is no buffer name.
Solution:   When ignoring errors still return NULL. (closes #10311)

2 years agopatch 8.2.4841: empty string considered an error for expand() v8.2.4841
Bram Moolenaar [Thu, 28 Apr 2022 16:52:24 +0000 (17:52 +0100)]
patch 8.2.4841: empty string considered an error for expand()

Problem:    Empty string considered an error for expand() when 'verbose' is
            set. (Christian Brabandt)
Solution:   Do not give an error for an empty result. (closes #10307)

2 years agopatch 8.2.4840: heredoc expression evaluated even when skipping v8.2.4840
Bram Moolenaar [Thu, 28 Apr 2022 15:51:41 +0000 (16:51 +0100)]
patch 8.2.4840: heredoc expression evaluated even when skipping

Problem:    Heredoc expression evaluated even when skipping.
Solution:   Don't evaluate when "skip" is set. (closes #10306)

2 years agopatch 8.2.4839: compiler warning for unused argument v8.2.4839
Bram Moolenaar [Thu, 28 Apr 2022 14:39:08 +0000 (15:39 +0100)]
patch 8.2.4839: compiler warning for unused argument

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

2 years agopatch 8.2.4838: checking for absolute path is not trivial v8.2.4838
LemonBoy [Thu, 28 Apr 2022 14:26:33 +0000 (15:26 +0100)]
patch 8.2.4838: checking for absolute path is not trivial

Problem:    Checking for absolute path is not trivial.
Solution:   Add isabsolutepath(). (closes #10303)

2 years agopatch 8.2.4837: modifiers not simplified when timed out v8.2.4837
zeertzjq [Thu, 28 Apr 2022 13:10:01 +0000 (14:10 +0100)]
patch 8.2.4837: modifiers not simplified when timed out

Problem:    Modifiers not simplified when timed out or using feedkeys() with
            'n" flag.
Solution:   Adjust how mapped flag and timeout are used. (closes #10305)

2 years agopatch 8.2.4836: Vim9: some lines not covered by tests v8.2.4836
Bram Moolenaar [Thu, 28 Apr 2022 11:00:49 +0000 (12:00 +0100)]
patch 8.2.4836: Vim9: some lines not covered by tests

Problem:    Vim9: some lines not covered by tests.
Solution:   Remove dead code.  Add disassemble tests.

2 years agopatch 8.2.4835: Vim9: some lines not covered by tests v8.2.4835
Bram Moolenaar [Wed, 27 Apr 2022 21:15:40 +0000 (22:15 +0100)]
patch 8.2.4835: Vim9: some lines not covered by tests

Problem:    Vim9: some lines not covered by tests.
Solution:   Add a few more tests.  Fix disassemble output.

2 years agopatch 8.2.4834: Vim9: some lines not covered by tests v8.2.4834
Bram Moolenaar [Wed, 27 Apr 2022 16:54:25 +0000 (17:54 +0100)]
patch 8.2.4834: Vim9: some lines not covered by tests

Problem:    Vim9: some lines not covered by tests.
Solution:   Add a few more tests.  Remove dead code.

2 years agoUpdate runtime files
Bram Moolenaar [Wed, 27 Apr 2022 14:25:03 +0000 (15:25 +0100)]
Update runtime files

2 years agopatch 8.2.4833: failure of mapping not checked for v8.2.4833
zeertzjq [Wed, 27 Apr 2022 10:58:01 +0000 (11:58 +0100)]
patch 8.2.4833: failure of mapping not checked for

Problem:    Failure of mapping not checked for.
Solution:   Check return value of ins_typebuf(). (closes #10299)

2 years agopatch 8.2.4832: passing zero instead of NULL to a pointer argument v8.2.4832
zeertzjq [Tue, 26 Apr 2022 21:11:38 +0000 (22:11 +0100)]
patch 8.2.4832: passing zero instead of NULL to a pointer argument

Problem:    Passing zero instead of NULL to a pointer argument.
Solution:   Use NULL. (closes #10296)

2 years agopatch 8.2.4831: crash when using maparg() and unmapping simplified keys v8.2.4831
zeertzjq [Tue, 26 Apr 2022 20:36:21 +0000 (21:36 +0100)]
patch 8.2.4831: crash when using maparg() and unmapping simplified keys

Problem:    Crash when using maparg() and unmapping simplified keys.
Solution:   Do not keep a mapblock pointer. (closes #10294)

2 years agopatch 8.2.4830: possible endless loop if there is unused typahead v8.2.4830
Bram Moolenaar [Tue, 26 Apr 2022 17:52:22 +0000 (18:52 +0100)]
patch 8.2.4830: possible endless loop if there is unused typahead

Problem:    Possible endless loop if there is unused typahead.
Solution:   Only loop when the typeahead changed.

2 years agopatch 8.2.4829: a key may be simplified to NUL v8.2.4829
zeertzjq [Tue, 26 Apr 2022 11:51:07 +0000 (12:51 +0100)]
patch 8.2.4829: a key may be simplified to NUL

Problem:    A key may be simplified to NUL.
Solution:   Use K_ZERO instead.  Use macros instead of hard coded values.
            (closes #10290)

2 years agopatch 8.2.4828: fix for unmapping simplified key not fully tested v8.2.4828
zeertzjq [Tue, 26 Apr 2022 11:29:43 +0000 (12:29 +0100)]
patch 8.2.4828: fix for unmapping simplified key not fully tested

Problem:    Fix for unmapping simplified key not fully tested.
Solution:   Add a test case. (closes #10292)

2 years agopatch 8.2.4827: typo in variable name v8.2.4827
Bram Moolenaar [Mon, 25 Apr 2022 17:59:25 +0000 (18:59 +0100)]
patch 8.2.4827: typo in variable name

Problem:    Typo in variable name. (Gabriel Dupras)
Solution:   Rename the variable.

2 years agopatch 8.2.4826: .cshtml files are not recognized v8.2.4826
jvoisin [Mon, 25 Apr 2022 16:40:56 +0000 (17:40 +0100)]
patch 8.2.4826: .cshtml files are not recognized

Problem:    .cshtml files are not recognized.
Solution:   Use html filetype for .cshtml files. (Julien Voisin, closes #10212)

2 years agopatch 8.2.4825: can only get a list of mappings v8.2.4825
Ernie Rael [Mon, 25 Apr 2022 13:40:44 +0000 (14:40 +0100)]
patch 8.2.4825: can only get a list of mappings

Problem:    Can only get a list of mappings.
Solution:   Add the optional {abbr} argument. (Ernie Rael, closes #10277)
            Rename to maplist().  Rename test file.

2 years agopatch 8.2.4824: expression is evaluated multiple times v8.2.4824
zeertzjq [Mon, 25 Apr 2022 12:28:00 +0000 (13:28 +0100)]
patch 8.2.4824: expression is evaluated multiple times

Problem:    Expression is evaluated multiple times.
Solution:   Evaluate expression once and store the result. (closes #10278)

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)