]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.0915: search() cannot skip over matches like searchpair() can v8.2.0915
Bram Moolenaar [Sat, 6 Jun 2020 16:37:51 +0000 (18:37 +0200)]
patch 8.2.0915: search() cannot skip over matches like searchpair() can

Problem:    Search() cannot skip over matches like searchpair() can.
Solution:   Add an optional "skip" argument. (Christian Brabandt, closes #861)

4 years agopatch 8.2.0914: MS-Windows: cannot specify a "modified by" text v8.2.0914
Bram Moolenaar [Sat, 6 Jun 2020 14:18:46 +0000 (16:18 +0200)]
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text

Problem:    MS-Windows: cannot specify a "modified by" text.
Solution:   Add MODIFIED_BY in the MSVC build file.  (Chen Lei, closes #1275)

4 years agopatch 8.2.0913: code for resetting v:register is duplicated v8.2.0913
Bram Moolenaar [Sat, 6 Jun 2020 13:58:03 +0000 (15:58 +0200)]
patch 8.2.0913: code for resetting v:register is duplicated

Problem:    Code for resetting v:register is duplicated.
Solution:   Add reset_reg_var().

4 years agopatch 8.2.0912: a few test cases for CJK formatting are disabled v8.2.0912
Bram Moolenaar [Sat, 6 Jun 2020 13:23:26 +0000 (15:23 +0200)]
patch 8.2.0912: a few test cases for CJK formatting are disabled

Problem:    A few test cases for CJK formatting are disabled.
Solution:   Fix the tests and enable them. (closes #6212)

4 years agopatch 8.2.0911: crash when opening a buffer for the cmdline window fails v8.2.0911
Bram Moolenaar [Sat, 6 Jun 2020 13:14:08 +0000 (15:14 +0200)]
patch 8.2.0911: crash when opening a buffer for the cmdline window fails

Problem:    Crash when opening a buffer for the cmdline window fails. (Chris
            Barber)
Solution:   Check do_ecmd() succeeds.  Reset got_int if "q" was used at the
            more prompt. (closes #6211)

4 years agoAlso fix the patch number.
Bram Moolenaar [Sat, 6 Jun 2020 11:25:31 +0000 (13:25 +0200)]
Also fix the patch number.

4 years agoFix duplicated code that only appears in git.
Bram Moolenaar [Sat, 6 Jun 2020 11:17:59 +0000 (13:17 +0200)]
Fix duplicated code that only appears in git.

4 years agopatch 8.2.0910: Vim is not reproducibly buildable v8.2.0910
Bram Moolenaar [Fri, 5 Jun 2020 21:16:29 +0000 (23:16 +0200)]
patch 8.2.0910: Vim is not reproducibly buildable

Problem:    Vim is not reproducibly buildable.
Solution:   Use the $SOURCE_DATE_EPOCH environment variable in configure.
            (James McCoy, closes #513)  Give a warning about using it.

4 years agopatch 8.2.0909: cannot go back to the previous local directory v8.2.0909
Bram Moolenaar [Fri, 5 Jun 2020 20:33:42 +0000 (22:33 +0200)]
patch 8.2.0909: cannot go back to the previous local directory

Problem:    Cannot go back to the previous local directory.
Solution:   Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)

4 years agopatch 8.2.0908: crash when changing the function table while listing it v8.2.0908
Bram Moolenaar [Fri, 5 Jun 2020 19:06:10 +0000 (21:06 +0200)]
patch 8.2.0908: crash when changing the function table while listing it

Problem:    Crash when changing the function table while listing it.
Solution:   Bail out when the function table changes. (closes #6209)

4 years agopatch 8.2.0907: when using :global clipboard isn't set correctly v8.2.0907
Bram Moolenaar [Fri, 5 Jun 2020 18:03:16 +0000 (20:03 +0200)]
patch 8.2.0907: when using :global clipboard isn't set correctly

Problem:    When using :global clipboard isn't set correctly.
Solution:   Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
            Brabandt, closes #6203, closes #6198)

4 years agopatch 8.2.0906: when setting 'termguicolors' SpellBad is no longer red v8.2.0906
Bram Moolenaar [Fri, 5 Jun 2020 17:36:57 +0000 (19:36 +0200)]
patch 8.2.0906: when setting 'termguicolors' SpellBad is no longer red

Problem:    When setting 'termguicolors' SpellBad is no longer red.
Solution:   Only use the RGB guisp color for cterm when using the "underline"
            or "undercurl" attributes to avoid the background color to be
            cleared. Also make t_8u empty when the termresponse indicates a
            real xterm. (closes #6207)

4 years agopatch 8.2.0905: test coverage could be better v8.2.0905
Bram Moolenaar [Thu, 4 Jun 2020 20:46:04 +0000 (22:46 +0200)]
patch 8.2.0905: test coverage could be better

Problem:    Test coverage could be better.
Solution:   Add a couple of tests. (Dominique Pelle, closes #6202)

4 years agopatch 8.2.0904: assuming modifyOtherKeys for rhs of mapping v8.2.0904
Bram Moolenaar [Thu, 4 Jun 2020 20:22:11 +0000 (22:22 +0200)]
patch 8.2.0904: assuming modifyOtherKeys for rhs of mapping

Problem:    Assuming modifyOtherKeys for rhs of mapping.
Solution:   Ignore seenModifyOtherKeys for mapped characters. (closes #6200)

4 years agopatch 8.2.0903: comparing WINVER does not work correctly v8.2.0903
Bram Moolenaar [Thu, 4 Jun 2020 19:32:49 +0000 (21:32 +0200)]
patch 8.2.0903: comparing WINVER does not work correctly

Problem:    comparing WINVER does not work correctly.
Solution:   Use arithmethic expansion. (Ozaki Kiichi, closes #6197)

4 years agopatch 8.2.0902: using searchcount() in 'statusline' causes an error v8.2.0902
Bram Moolenaar [Thu, 4 Jun 2020 18:56:09 +0000 (20:56 +0200)]
patch 8.2.0902: using searchcount() in 'statusline' causes an error

Problem:    Using searchcount() in 'statusline' causes an error.
Solution:   Avoid saving/restoring the search patten recursively.
            (closes #6194)

4 years agopatch 8.2.0901: formatting CJK text isn't optimal v8.2.0901
Bram Moolenaar [Thu, 4 Jun 2020 16:22:13 +0000 (18:22 +0200)]
patch 8.2.0901: formatting CJK text isn't optimal

Problem:    Formatting CJK text isn't optimal.
Solution:   Properly break CJK lines. (closes #3875)

4 years agopatch 8.2.0900: function list test fails on MS-Windows v8.2.0900
Bram Moolenaar [Thu, 4 Jun 2020 15:19:05 +0000 (17:19 +0200)]
patch 8.2.0900: function list test fails on MS-Windows

Problem:    Function list test fails on MS-Windows.
Solution:   Make sure the fileformat is "unix"

4 years agopatch 8.2.0899: assert_equalfile() does not give a hint about the difference v8.2.0899
Bram Moolenaar [Thu, 4 Jun 2020 14:52:40 +0000 (16:52 +0200)]
patch 8.2.0899: assert_equalfile() does not give a hint about the difference

Problem:    Assert_equalfile() does not give a hint about the difference.
Solution:   Display the last seen text.

4 years agopatch 8.2.0898: missing help for a function goes unnoticed v8.2.0898
Bram Moolenaar [Thu, 4 Jun 2020 13:52:25 +0000 (15:52 +0200)]
patch 8.2.0898: missing help for a function goes unnoticed

Problem:    Missing help for a function goes unnoticed.
Solution:   Add a test. (Gary Johnson)

4 years agopatch 8.2.0897: list of functions in patched version is outdated v8.2.0897
Bram Moolenaar [Thu, 4 Jun 2020 13:22:21 +0000 (15:22 +0200)]
patch 8.2.0897: list of functions in patched version is outdated

Problem:    List of functions in patched version is outdated.
Solution:   Update the function lists only.

4 years agopatch 8.2.0896: crash when calling searchcount() with a string v8.2.0896
Bram Moolenaar [Wed, 3 Jun 2020 20:57:39 +0000 (22:57 +0200)]
patch 8.2.0896: crash when calling searchcount() with a string

Problem:    Crash when calling searchcount() with a string.
Solution:   Check the argument is a dict. (closes #6192)

4 years agopatch 8.2.0895: :mkspell output does not mention the tree type v8.2.0895
Bram Moolenaar [Wed, 3 Jun 2020 20:15:45 +0000 (22:15 +0200)]
patch 8.2.0895: :mkspell output does not mention the tree type

Problem:    :mkspell output does not mention the tree type.
Solution:   Back out increasing the limits, it has no effect.  Mention the
            tree being compressed.  Only give a message once per second.

4 years agopatch 8.2.0894: :mkspell can take very long if the word count is high v8.2.0894
Bram Moolenaar [Wed, 3 Jun 2020 18:51:11 +0000 (20:51 +0200)]
patch 8.2.0894: :mkspell can take very long if the word count is high

Problem:    :mkspell can take very long if the word count is high.
Solution:   Use long to avoid negative numbers.  Increase the limits by 20% if
            the compression did not have effect.

4 years agopatch 8.2.0893: assert_equalfile() does not take a third argument v8.2.0893
Bram Moolenaar [Wed, 3 Jun 2020 17:55:35 +0000 (19:55 +0200)]
patch 8.2.0893: assert_equalfile() does not take a third argument

Problem:    Assert_equalfile() does not take a third argument.
Solution:   Implement the third argument. (Gary Johnson)

4 years agopatch 8.2.0892: ubsan warns for undefined behavior v8.2.0892
Bram Moolenaar [Wed, 3 Jun 2020 16:55:38 +0000 (18:55 +0200)]
patch 8.2.0892: ubsan warns for undefined behavior

Problem:    Ubsan warns for undefined behavior.
Solution:   Use unsigned instead of signed variable. (Dominique Pelle,
            closes #6193)

4 years agopatch 8.2.0891: clang warns for invalid conversion v8.2.0891
Bram Moolenaar [Wed, 3 Jun 2020 08:04:49 +0000 (10:04 +0200)]
patch 8.2.0891: clang warns for invalid conversion

Problem:    Clang warns for invalid conversion.
Solution:   Use zero instead of INVALCOLOR.

4 years agopatch 8.2.0890: no color in terminal window when 'termguicolor' is set v8.2.0890
Bram Moolenaar [Tue, 2 Jun 2020 21:18:24 +0000 (23:18 +0200)]
patch 8.2.0890: no color in terminal window when 'termguicolor' is set

Problem:    No color in terminal window when 'termguicolor' is set.
Solution:   Clear the underline color. (closes #6186)

4 years agopatch 8.2.0889: using old style comments v8.2.0889
Bram Moolenaar [Tue, 2 Jun 2020 20:24:36 +0000 (22:24 +0200)]
patch 8.2.0889: using old style comments

Problem:    Using old style comments.
Solution:   Use // comments. (Yegappan Lakshmanan, closes #6190)

4 years agopatch 8.2.0888: readdirex() returns size -2 for a directory v8.2.0888
Bram Moolenaar [Tue, 2 Jun 2020 20:19:50 +0000 (22:19 +0200)]
patch 8.2.0888: readdirex() returns size -2 for a directory

Problem:    Readdirex() returns size -2 for a directory.
Solution:   Add missing "else". (Ken Takata, closes #6185)

4 years agopatch 8.2.0887: searchcount().exact_match is 1 right after a match v8.2.0887
Bram Moolenaar [Tue, 2 Jun 2020 20:06:21 +0000 (22:06 +0200)]
patch 8.2.0887: searchcount().exact_match is 1 right after a match

Problem:    Searchcount().exact_match is 1 right after a match.
Solution:   Use LT_POS() instead of LTOREQ_POS(). (closes #6189)

4 years agopatch 8.2.0886: cannot use octal numbers in scriptversion 4 v8.2.0886
Bram Moolenaar [Tue, 2 Jun 2020 19:38:22 +0000 (21:38 +0200)]
patch 8.2.0886: cannot use octal numbers in scriptversion 4

Problem:    Cannot use octal numbers in scriptversion 4.
Solution:   Add the "0o" notation. (Ken Takata, closes #5304)

4 years agopatch 8.2.0885: "make shadow" does not link new lua test dir v8.2.0885
Bram Moolenaar [Tue, 2 Jun 2020 18:25:36 +0000 (20:25 +0200)]
patch 8.2.0885: "make shadow" does not link new lua test dir

Problem:    "make shadow" does not link new lua test dir.
Solution:   Also link testdir/testluaplugin. (Elimar Riesebieter)

4 years agopatch 8.2.0884: searchcount() test fails on slower systems v8.2.0884
Bram Moolenaar [Mon, 1 Jun 2020 19:32:45 +0000 (21:32 +0200)]
patch 8.2.0884: searchcount() test fails on slower systems

Problem:    Searchcount() test fails on slower systems.
Solution:   Set a longer timeout.

4 years agopatch 8.2.0883: memory leak in test 49 v8.2.0883
Bram Moolenaar [Mon, 1 Jun 2020 19:13:11 +0000 (21:13 +0200)]
patch 8.2.0883: memory leak in test 49

Problem:    Memory leak in test 49.
Solution:   Free "sfile" from the exception.

4 years agopatch 8.2.0882: leaking memory when using reduce() v8.2.0882
Bram Moolenaar [Mon, 1 Jun 2020 18:11:02 +0000 (20:11 +0200)]
patch 8.2.0882: leaking memory when using reduce()

Problem:    Leaking memory when using reduce().
Solution:   Free the intermediate value.

4 years agopatch 8.2.0881: compiler warning for argument type v8.2.0881
Bram Moolenaar [Mon, 1 Jun 2020 17:14:12 +0000 (19:14 +0200)]
patch 8.2.0881: compiler warning for argument type

Problem:    Compiler warning for argument type.
Solution:   Add type cast. (Mike Williams)

4 years agopatch 8.2.0880: leaking memory when using searchcount() v8.2.0880
Bram Moolenaar [Mon, 1 Jun 2020 17:08:54 +0000 (19:08 +0200)]
patch 8.2.0880: leaking memory when using searchcount()

Problem:    Leaking memory when using searchcount().
Solution:   Free the last used search pattern.

4 years agopatch 8.2.0879: compiler warning for unused function argument v8.2.0879
Bram Moolenaar [Mon, 1 Jun 2020 16:56:03 +0000 (18:56 +0200)]
patch 8.2.0879: compiler warning for unused function argument

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

4 years agopatch 8.2.0878: no reduce() function v8.2.0878
Bram Moolenaar [Mon, 1 Jun 2020 16:39:20 +0000 (18:39 +0200)]
patch 8.2.0878: no reduce() function

Problem:    No reduce() function.
Solution:   Add a reduce() function. (closes #5481)

4 years agopatch 8.2.0877: cannot get the search statistics v8.2.0877
Bram Moolenaar [Mon, 1 Jun 2020 15:28:35 +0000 (17:28 +0200)]
patch 8.2.0877: cannot get the search statistics

Problem:    Cannot get the search statistics.
Solution:   Add the searchcount() function. (Fujiwara Takuya, closes #4446)

4 years agopatch 8.2.0876: :pwd does not give a hint about the scope of the directory v8.2.0876
Bram Moolenaar [Mon, 1 Jun 2020 14:26:19 +0000 (16:26 +0200)]
patch 8.2.0876: :pwd does not give a hint about the scope of the directory

Problem:    :pwd does not give a hint about the scope of the directory
Solution:   Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)

4 years agopatch 8.2.0875: getting attributes for directory entries is slow v8.2.0875
Bram Moolenaar [Mon, 1 Jun 2020 14:09:41 +0000 (16:09 +0200)]
patch 8.2.0875: getting attributes for directory entries is slow

Problem:    Getting attributes for directory entries is slow.
Solution:   Add readdirex(). (Ken Takata, closes #5619)

4 years agopatch 8.2.0874: signals test is a bit flaky v8.2.0874
Bram Moolenaar [Mon, 1 Jun 2020 13:05:19 +0000 (15:05 +0200)]
patch 8.2.0874: signals test is a bit flaky

Problem:    Signals test is a bit flaky.
Solution:   Flush the XautoOut file.  Delete files that may be left behind
            from a failure. (Dominique Pelle, closes #6179)

4 years agopatch 8.2.0873: a .jl file can be sawfish (lisp) or Julia v8.2.0873
Bram Moolenaar [Mon, 1 Jun 2020 12:43:59 +0000 (14:43 +0200)]
patch 8.2.0873: a .jl file can be sawfish (lisp) or Julia

Problem:    A .jl file can be sawfish (lisp) or Julia.
Solution:   Do not recognize *.jl as lisp, since it might be Julia.
            (closes #6178)

4 years agopatch 8.2.0872: XIM code is mixed with multi-byte code v8.2.0872
Bram Moolenaar [Mon, 1 Jun 2020 12:34:43 +0000 (14:34 +0200)]
patch 8.2.0872: XIM code is mixed with multi-byte code

Problem:    XIM code is mixed with multi-byte code.
Solution:   Move the XIM code to a separate file. (Yegappan Lakshmanan,
            closes #6177)

4 years agopatch 8.2.0871: cannot use getmarklist() as a method v8.2.0871
Bram Moolenaar [Mon, 1 Jun 2020 12:14:44 +0000 (14:14 +0200)]
patch 8.2.0871: cannot use getmarklist() as a method

Problem:    Cannot use getmarklist() as a method.
Solution:   Make getmarklist() work as a method.  Add one to the column
            number to match getpos(). (Yegappan Lakshmanan, closes #6176)

4 years agopatch 8.2.0870: MS-Windows: Control keys don't work in the GUI v8.2.0870
Bram Moolenaar [Mon, 1 Jun 2020 12:07:49 +0000 (14:07 +0200)]
patch 8.2.0870: MS-Windows: Control keys don't work in the GUI

Problem:    MS-Windows: Control keys don't work in the GUI.
Solution:   Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
            closes #6175)

4 years agopatch 8.2.0869: it is not possible to customize the quickfix window contents v8.2.0869
Bram Moolenaar [Sun, 31 May 2020 21:11:59 +0000 (23:11 +0200)]
patch 8.2.0869: it is not possible to customize the quickfix window contents

Problem:    It is not possible to customize the quickfix window contents.
Solution:   Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)

4 years agopatch 8.2.0868: trim() always trims both ends v8.2.0868
Bram Moolenaar [Sun, 31 May 2020 20:20:36 +0000 (22:20 +0200)]
patch 8.2.0868: trim() always trims both ends

Problem:    trim() always trims both ends.
Solution:   Add an argument to only trim the beginning or end. (Yegappan
            Lakshmanan, closes #6126)

4 years agopatch 8.2.0867: using \{xxx} for encoding a modifier is not nice v8.2.0867
Bram Moolenaar [Sun, 31 May 2020 20:06:51 +0000 (22:06 +0200)]
patch 8.2.0867: using \{xxx} for encoding a modifier is not nice

Problem:    Using \{xxx} for encoding a modifier is not nice.
Solution:   Use \<*xxx> instead, since it's the same as \<xxx> but producing a
            different code.

4 years agopatch 8.2.0866: not enough tests for buffer writing v8.2.0866
Bram Moolenaar [Sun, 31 May 2020 19:28:02 +0000 (21:28 +0200)]
patch 8.2.0866: not enough tests for buffer writing

Problem:    Not enough tests for buffer writing.
Solution:   Add more tests. Use CheckRunVimInTerminal in more places.
            (Yegappan Lakshmanan, closes #6167)

4 years agopatch 8.2.0865: syntax foldlevel is taken from the start of the line v8.2.0865
Bram Moolenaar [Sun, 31 May 2020 17:48:53 +0000 (19:48 +0200)]
patch 8.2.0865: syntax foldlevel is taken from the start of the line

Problem:    Syntax foldlevel is taken from the start of the line.
Solution:   Add ":syn foldlevel" to be able to use the minimal foldlevel in
            the line. (Brad King, closes #6087)

4 years agopatch 8.2.0864: pragmas are indented all the way to the left v8.2.0864
Bram Moolenaar [Sun, 31 May 2020 15:49:30 +0000 (17:49 +0200)]
patch 8.2.0864: pragmas are indented all the way to the left

Problem:    Pragmas are indented all the way to the left.
Solution:   Add an option to indent progmas like normal code. (Max Rumpf,
            closes #5468)

4 years agopatch 8.2.0863: cannot set a separate color for underline/undercurl v8.2.0863
Bram Moolenaar [Sun, 31 May 2020 14:42:30 +0000 (16:42 +0200)]
patch 8.2.0863: cannot set a separate color for underline/undercurl

Problem:    Cannot set a separate color for underline/undercurl.
Solution:   Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)

4 years agopatch 8.2.0862: ":term ++curwin" makes the current buffer hidden v8.2.0862
Bram Moolenaar [Sun, 31 May 2020 14:04:42 +0000 (16:04 +0200)]
patch 8.2.0862: ":term ++curwin" makes the current buffer hidden

Problem:    ":term ++curwin" makes the current buffer hidden. (Harm te
            Hennepe)
Solution:   Do not hide the current buffer. (closes #6170)

4 years agopatch 8.2.0861: cannot easily get all the current marks v8.2.0861
Bram Moolenaar [Sun, 31 May 2020 13:41:57 +0000 (15:41 +0200)]
patch 8.2.0861: cannot easily get all the current marks

Problem:    Cannot easily get all the current marks.
Solution:   Add getmarklist(). (Yegappan Lakshmanan, closes #6032)

4 years agopatch 8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbers v8.2.0860
Bram Moolenaar [Sun, 31 May 2020 13:08:59 +0000 (15:08 +0200)]
patch 8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbers

Problem:    Cannot use CTRL-A and CTRL-X on unsigned numbers.
Solution:   Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)

4 years agopatch 8.2.0859: no Turkish translation of the manual v8.2.0859
Bram Moolenaar [Sun, 31 May 2020 12:25:22 +0000 (14:25 +0200)]
patch 8.2.0859: no Turkish translation of the manual

Problem:    No Turkish translation of the manual.
Solution:   Add Turkish translations. (Emir Sarı, closes #5641)

4 years agopatch 8.2.0858: not easy to require Lua modules v8.2.0858
Bram Moolenaar [Sun, 31 May 2020 12:08:12 +0000 (14:08 +0200)]
patch 8.2.0858: not easy to require Lua modules

Problem:    Not easy to require Lua modules.
Solution:   Improve use of Lua path. (Prabir Shrestha, closes #6098)

4 years agopatch 8.2.0857: GTK cell height can be a pixel too much v8.2.0857
Bram Moolenaar [Sun, 31 May 2020 11:53:04 +0000 (13:53 +0200)]
patch 8.2.0857: GTK cell height can be a pixel too much

Problem:    GTK cell height can be a pixel too much.
Solution:   Subtract 3 instead of 1 when rounding. (closes #6168)

4 years agopatch 8.2.0856: CTRL-S stops output v8.2.0856
Bram Moolenaar [Sun, 31 May 2020 11:09:47 +0000 (13:09 +0200)]
patch 8.2.0856: CTRL-S stops output

Problem:    CTRL-S stops output.
Solution:   Invert the IXON flag. (closes #6166)

4 years agopatch 8.2.0855: GUI tests fail because the test doesn't use a modifier v8.2.0855
Bram Moolenaar [Sat, 30 May 2020 19:52:54 +0000 (21:52 +0200)]
patch 8.2.0855: GUI tests fail because the test doesn't use a modifier

Problem:    GUI tests fail because the test doesn't use a modifier.
Solution:   Add "\{xxx}" to be able to encode a modifier.

4 years agopatch 8.2.0854: xxd cannot show offset as a decimal number v8.2.0854
Bram Moolenaar [Sat, 30 May 2020 18:50:25 +0000 (20:50 +0200)]
patch 8.2.0854: xxd cannot show offset as a decimal number

Problem:    Xxd cannot show offset as a decimal number.
Solution:   Add the "-d" flag. (Aapo Rantalainen, closes #5616

4 years agopatch 8.2.0853: ml_delete() often called with FALSE argument v8.2.0853
Bram Moolenaar [Sat, 30 May 2020 18:30:46 +0000 (20:30 +0200)]
patch 8.2.0853: ml_delete() often called with FALSE argument

Problem:    ml_delete() often called with FALSE argument.
Solution:   Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.

4 years agopatch 8.2.0852: cannot map CTRL-S on some systems v8.2.0852
Bram Moolenaar [Sat, 30 May 2020 18:05:02 +0000 (20:05 +0200)]
patch 8.2.0852: cannot map CTRL-S on some systems

Problem:    Cannot map CTRL-S on some systems.
Solution:   Do not use CTRL-S for flow control.

4 years agopatch 8.2.0851: can't distinguish <M-a> from accented "a" in the GUI v8.2.0851
Bram Moolenaar [Sat, 30 May 2020 17:52:46 +0000 (19:52 +0200)]
patch 8.2.0851: can't distinguish <M-a> from accented "a" in the GUI

Problem:    Can't distinguish <M-a> from accented "a" in the GUI.
Solution:   Use another way to make mapping <C-bslash> work. (closes #6163)

4 years agopatch 8.2.0850: MS-Windows: exepath() works different from cmd.exe v8.2.0850
Bram Moolenaar [Sat, 30 May 2020 16:37:55 +0000 (18:37 +0200)]
patch 8.2.0850: MS-Windows: exepath() works different from cmd.exe

Problem:    MS-Windows: exepath() works different from cmd.exe.
Solution:   Make exepath() work better on MS-Windows. (closes #6115)

4 years agopatch 8.2.0849: BeOS code is not maintained and probably unused v8.2.0849
Bram Moolenaar [Sat, 30 May 2020 16:14:57 +0000 (18:14 +0200)]
patch 8.2.0849: BeOS code is not maintained and probably unused

Problem:    BeOS code is not maintained and probably unused.
Solution:   Remove the BeOS code. (Emir Sari, closes #5817)

4 years agopatch 8.2.0848: MS-Windows: the Windows terminal code has some flaws v8.2.0848
Bram Moolenaar [Sat, 30 May 2020 15:49:25 +0000 (17:49 +0200)]
patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws

Problem:    MS-Windows: the Windows terminal code has some flaws.
Solution:   Do not redraw the right edge of the screen.  Remove the background
            color trick.  Flush the screen output buffer often.  (Nobuhiro
            Takasaki, #5546)

4 years agopatch 8.2.0847: typval related code is spread out v8.2.0847
Bram Moolenaar [Sat, 30 May 2020 15:06:14 +0000 (17:06 +0200)]
patch 8.2.0847: typval related code is spread out

Problem:    Typval related code is spread out.
Solution:   Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)

4 years agopatch 8.2.0846: build failure with small features v8.2.0846
Bram Moolenaar [Sat, 30 May 2020 14:17:33 +0000 (16:17 +0200)]
patch 8.2.0846: build failure with small features

Problem:    Build failure with small features.
Solution:   Add #ifdef.

4 years agopatch 8.2.0845: text properties crossing lines not handled correctly v8.2.0845
Bram Moolenaar [Sat, 30 May 2020 13:32:02 +0000 (15:32 +0200)]
patch 8.2.0845: text properties crossing lines not handled correctly

Problem:    Text properties crossing lines not handled correctly.
Solution:   When joining lines merge text properties if possible.
            (Axel Forsman, closes #5839, closes #5683)

4 years agopatch 8.2.0844: text properties crossing lines not handled correctly v8.2.0844
Bram Moolenaar [Sat, 30 May 2020 12:46:52 +0000 (14:46 +0200)]
patch 8.2.0844: text properties crossing lines not handled correctly

Problem:    Text properties crossing lines not handled correctly.
Solution:   When saving for undo include an extra line when needed and do not
            adjust properties when undoing. (Axel Forsman, closes #5875)

4 years agopatch 8.2.0843: filetype elm not detected v8.2.0843
Bram Moolenaar [Sat, 30 May 2020 11:15:14 +0000 (13:15 +0200)]
patch 8.2.0843: filetype elm not detected

Problem:    Filetype elm not detected.
Solution:   Recognize *.elm files. (closes #6157)

4 years agopatch 8.2.0842: MS-Windows: channel tests fail v8.2.0842
Bram Moolenaar [Sat, 30 May 2020 11:07:39 +0000 (13:07 +0200)]
patch 8.2.0842: MS-Windows: channel tests fail

Problem:    MS-Windows: channel tests fail.
Solution:   Adjust #ifdefs. (closes #6162)

4 years agopatch 8.2.0841: 'verbose' value 16 causes duplicate output v8.2.0841
Bram Moolenaar [Fri, 29 May 2020 21:03:09 +0000 (23:03 +0200)]
patch 8.2.0841: 'verbose' value 16 causes duplicate output

Problem:    'verbose' value 16 causes duplicate output.
Solution:   Combine levels 15 and 16 into one message. (Christian Brabandt,
            closes #6153)

4 years agopatch 8.2.0840: search match count wrong when only match is in fold v8.2.0840
Bram Moolenaar [Fri, 29 May 2020 20:49:43 +0000 (22:49 +0200)]
patch 8.2.0840: search match count wrong when only match is in fold

Problem:    Search match count wrong when only match is in fold.
Solution:   Update search stats when in a closed fold. (Christian Brabandt,
            closes #6160, closes #6152)

4 years agopatch 8.2.0839: dropping modifier when putting a character back in typeahead v8.2.0839
Bram Moolenaar [Fri, 29 May 2020 20:41:41 +0000 (22:41 +0200)]
patch 8.2.0839: dropping modifier when putting a character back in typeahead

Problem:    Dropping modifier when putting a character back in typeahead.
Solution:   Add modifier to ins_char_typebuf(). (closes #6158)

4 years agopatch 8.2.0838: MS-Windows: compiler warning for uninitialized variables v8.2.0838
Bram Moolenaar [Fri, 29 May 2020 19:42:55 +0000 (21:42 +0200)]
patch 8.2.0838: MS-Windows: compiler warning for uninitialized variables

Problem:    MS-Windows: compiler warning for uninitialized variables.
Solution:   Initialize variables.

4 years agopatch 8.2.0837: compiler warning for value set but not used v8.2.0837
Bram Moolenaar [Fri, 29 May 2020 19:38:42 +0000 (21:38 +0200)]
patch 8.2.0837: compiler warning for value set but not used

Problem:    Compiler warning for value set but not used.
Solution:   Move variable inside #ifdef.

4 years agopatch 8.2.0836: not all :cdo output is visible v8.2.0836
Bram Moolenaar [Thu, 28 May 2020 19:30:11 +0000 (21:30 +0200)]
patch 8.2.0836: not all :cdo output is visible

Problem:    Not all :cdo output is visible.
Solution:   Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)

4 years agopatch 8.2.0835: Motif: mapping <C-bslash> still doesn't work v8.2.0835
Bram Moolenaar [Thu, 28 May 2020 19:03:53 +0000 (21:03 +0200)]
patch 8.2.0835: Motif: mapping <C-bslash> still doesn't work

Problem:    Motif: mapping <C-bslash> still doesn't work.
Solution:   Accept CSI for K_SPECIAL.  Do not apply CTRL to the character
            early.  (closes #6150)

4 years agopatch 8.2.0834: :drop command in terminal popup causes problems v8.2.0834
Bram Moolenaar [Wed, 27 May 2020 21:15:16 +0000 (23:15 +0200)]
patch 8.2.0834: :drop command in terminal popup causes problems

Problem:    :drop command in terminal popup causes problems.
Solution:   Check for using a popup window. (closes #6151)

4 years agopatch 8.2.0833: mapping <C-bslash> doesn't work in the GUI v8.2.0833
Bram Moolenaar [Wed, 27 May 2020 20:08:34 +0000 (22:08 +0200)]
patch 8.2.0833: mapping <C-bslash> doesn't work in the GUI

Problem:    Mapping <C-bslash> doesn't work in the GUI.
Solution:   Reset seenModifyOtherKeys when starting the GUI. (closes #6150)

4 years agopatch 8.2.0832: compiler warning for uninitialized variable v8.2.0832
Bram Moolenaar [Wed, 27 May 2020 19:29:04 +0000 (21:29 +0200)]
patch 8.2.0832: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Add initial value.

4 years agopatch 8.2.0831: compiler warnings for integer sizes v8.2.0831
Bram Moolenaar [Wed, 27 May 2020 19:22:14 +0000 (21:22 +0200)]
patch 8.2.0831: compiler warnings for integer sizes

Problem:    Compiler warnings for integer sizes.
Solution:   Add type casts. (Mike Williams)

4 years agopatch 8.2.0830: Motif: can't map "!" v8.2.0830
Bram Moolenaar [Tue, 26 May 2020 20:14:27 +0000 (22:14 +0200)]
patch 8.2.0830: Motif: can't map "!"

Problem:    Motif: can't map "!". (Ben Jackson)
Solution:   Remove the shift modifier if it's already included in the key.
            (closes #6147)

4 years agoUpdate runtime files
Bram Moolenaar [Tue, 26 May 2020 19:20:45 +0000 (21:20 +0200)]
Update runtime files

4 years agopatch 8.2.0829: filter() may give misleading error message v8.2.0829
Bram Moolenaar [Tue, 26 May 2020 18:22:01 +0000 (20:22 +0200)]
patch 8.2.0829: filter() may give misleading error message

Problem:    filter() may give misleading error message.
Solution:   Also mention Blob as an allowed argument.

4 years agopatch 8.2.0828: Travis: regexp patttern doesn't work everywhere v8.2.0828
Bram Moolenaar [Tue, 26 May 2020 18:09:11 +0000 (20:09 +0200)]
patch 8.2.0828: Travis: regexp patttern doesn't work everywhere

Problem:    Travis: regexp patttern doesn't work everywhere.
Solution:   Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)

4 years agopatch 8.2.0827: Vim9: crash in :defcompile v8.2.0827
Bram Moolenaar [Tue, 26 May 2020 09:37:26 +0000 (11:37 +0200)]
patch 8.2.0827: Vim9: crash in :defcompile

Problem:    Vim9: crash in :defcompile.
Solution:   Fix off-by-one error.

4 years agopatch 8.2.0826: Vim9: crash in :defcompile v8.2.0826
Bram Moolenaar [Tue, 26 May 2020 09:08:28 +0000 (11:08 +0200)]
patch 8.2.0826: Vim9: crash in :defcompile

Problem:    Vim9: crash in :defcompile.
Solution:   Restart the loop after a call to compile_def_function() caused the
            hash table to resize.

4 years agopatch 8.2.0825: def_function() may return pointer that was freed v8.2.0825
Bram Moolenaar [Mon, 25 May 2020 21:29:28 +0000 (23:29 +0200)]
patch 8.2.0825: def_function() may return pointer that was freed

Problem:    def_function() may return pointer that was freed.
Solution:   Set "fp" to NULL after freeing it.

4 years agopatch 8.2.0824: still not enough memory allocated when converting string v8.2.0824
Bram Moolenaar [Mon, 25 May 2020 21:01:42 +0000 (23:01 +0200)]
patch 8.2.0824: still not enough memory allocated when converting string

Problem:    Still not enough memory allocated when converting string with
            special character.
Solution:   Reserve space for expanding K_SPECIAL. (closes #6130)

4 years agopatch 8.2.0823: Vim9: script reload test is disabled v8.2.0823
Bram Moolenaar [Mon, 25 May 2020 20:36:50 +0000 (22:36 +0200)]
patch 8.2.0823: Vim9: script reload test is disabled

Problem:    Vim9: script reload test is disabled.
Solution:   Compile a function in the context of the script where it was
            defined.  Set execution stack for compiled function.  Add a test
            that an error is reported for the right file/function.

4 years agopatch 8.2.0822: Vim9: code left over from discovery phase v8.2.0822
Bram Moolenaar [Mon, 25 May 2020 18:33:55 +0000 (20:33 +0200)]
patch 8.2.0822: Vim9: code left over from discovery phase

Problem:    Vim9: code left over from discovery phase.
Solution:   Remove the dead code.

4 years agopatch 8.2.0821: Vim9: memory leak in expr test v8.2.0821
Bram Moolenaar [Sun, 24 May 2020 22:28:33 +0000 (00:28 +0200)]
patch 8.2.0821: Vim9: memory leak in expr test

Problem:    Vim9: memory leak in expr test.
Solution:   Do not decrement the length of the list of functions if the
            current function is not at the end.

4 years agopatch 8.2.0820: Vim9: function type isn't set until compiled v8.2.0820
Bram Moolenaar [Sun, 24 May 2020 21:45:24 +0000 (23:45 +0200)]
patch 8.2.0820: Vim9: function type isn't set until compiled

Problem:    Vim9: function type isn't set until compiled.
Solution:   Set function type early.

4 years agopatch 8.2.0819: compiler warning for unused variable v8.2.0819
Bram Moolenaar [Sun, 24 May 2020 21:14:23 +0000 (23:14 +0200)]
patch 8.2.0819: compiler warning for unused variable

Problem:    Compiler warning for unused variable.
Solution:   Remove the variable.