]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.0987: Vim9: cannot assign to [var; var] v8.2.0987
Bram Moolenaar [Tue, 16 Jun 2020 09:34:42 +0000 (11:34 +0200)]
patch 8.2.0987: Vim9: cannot assign to [var; var]

Problem:    Vim9: cannot assign to [var; var].
Solution:   Assign rest of items to a list.

4 years agopatch 8.2.0986: MS-Windows: functions test fails v8.2.0986
Bram Moolenaar [Mon, 15 Jun 2020 21:18:12 +0000 (23:18 +0200)]
patch 8.2.0986: MS-Windows: functions test fails

Problem:    MS-Windows: functions test fails.
Solution:   Only simplify ///path on Unix.

4 years agopatch 8.2.0985: simplify() does not remove slashes from "///path" v8.2.0985
Bram Moolenaar [Mon, 15 Jun 2020 19:41:56 +0000 (21:41 +0200)]
patch 8.2.0985: simplify() does not remove slashes from "///path"

Problem:    Simplify() does not remove slashes from "///path".
Solution:   Reduce > 2 slashes to one. (closes #6263)

4 years agopatch 8.2.0984: not using previous window when closing a shell popup window v8.2.0984
Bram Moolenaar [Mon, 15 Jun 2020 19:19:08 +0000 (21:19 +0200)]
patch 8.2.0984: not using previous window when closing a shell popup window

Problem:    Not using previous window when closing a shell popup window.
Solution:   Use "prevwin" if it was set. (closes #6267)

4 years agopatch 8.2.0983: SConstruct file type not recognized v8.2.0983
Bram Moolenaar [Mon, 15 Jun 2020 18:24:58 +0000 (20:24 +0200)]
patch 8.2.0983: SConstruct file type not recognized

Problem:    SConstruct file type not recognized.
Solution:   Use python for SConstruct files. (Roland Hieber)

4 years agopatch 8.2.0982: insufficient testing for reading/writing files v8.2.0982
Bram Moolenaar [Mon, 15 Jun 2020 17:51:56 +0000 (19:51 +0200)]
patch 8.2.0982: insufficient testing for reading/writing files

Problem:    Insufficient testing for reading/writing files.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #6257)
            Add "ui_delay" to test_override() and use it for the CTRL-O test.

4 years agopatch 8.2.0981: Vim9: cannot compile "[var, var] = list" v8.2.0981
Bram Moolenaar [Sun, 14 Jun 2020 21:05:10 +0000 (23:05 +0200)]
patch 8.2.0981: Vim9: cannot compile "[var, var] = list"

Problem:    Vim9: cannot compile "[var, var] = list".
Solution:   Implement list assignment.

4 years agopatch 8.2.0980: raku file extension not recognized v8.2.0980
Bram Moolenaar [Sun, 14 Jun 2020 18:04:32 +0000 (20:04 +0200)]
patch 8.2.0980: raku file extension not recognized

Problem:    Raku file extension not recognized. (Steven Penny)
Solution:   Recognize .raku and .rakumod. (closes #6255)

4 years agoUpdate runtime files
Bram Moolenaar [Sun, 14 Jun 2020 15:29:55 +0000 (17:29 +0200)]
Update runtime files

4 years agopatch 8.2.0979: a couple of screendump tests fail v8.2.0979
Bram Moolenaar [Sun, 14 Jun 2020 14:43:47 +0000 (16:43 +0200)]
patch 8.2.0979: a couple of screendump tests fail

Problem:    A couple of screendump tests fail.
Solution:   Do not redraw when clearing t_8u.

4 years agopatch 8.2.0978: leaking memory in termcodes test v8.2.0978
Bram Moolenaar [Sun, 14 Jun 2020 13:35:58 +0000 (15:35 +0200)]
patch 8.2.0978: leaking memory in termcodes test

Problem:    Leaking memory in termcodes test.
Solution:   Set t_8u with set_option_value().

4 years agopatch 8.2.0977: t_8u is made empty for the wrong terminals v8.2.0977
Bram Moolenaar [Sun, 14 Jun 2020 12:34:16 +0000 (14:34 +0200)]
patch 8.2.0977: t_8u is made empty for the wrong terminals

Problem:    t_8u is made empty for the wrong terminals. (Dominique Pelle)
Solution:   Invert the check for TPR_YES. (closes #6254)

4 years agopatch 8.2.0976: some 'cpoptions' not tested v8.2.0976
Bram Moolenaar [Sun, 14 Jun 2020 11:50:55 +0000 (13:50 +0200)]
patch 8.2.0976: some 'cpoptions' not tested

Problem:    Some 'cpoptions' not tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #6253)

4 years agopatch 8.2.0975: Vim9: script variable does not accept optional s: prefix v8.2.0975
Bram Moolenaar [Sun, 14 Jun 2020 10:50:24 +0000 (12:50 +0200)]
patch 8.2.0975: Vim9: script variable does not accept optional s: prefix

Problem:    Vim9: script variable does not accept optional s: prefix.
Solution:   Adjust the accepted syntax.

4 years agopatch 8.2.0974: Vim9: memory leak when script var has wrong type v8.2.0974
Bram Moolenaar [Sat, 13 Jun 2020 17:56:38 +0000 (19:56 +0200)]
patch 8.2.0974: Vim9: memory leak when script var has wrong type

Problem:    Vim9: memory leak when script var has wrong type.
Solution:   Free the variable name.

4 years agopatch 8.2.0973: Vim9: type is not checked when assigning to a script variable v8.2.0973
Bram Moolenaar [Sat, 13 Jun 2020 17:00:10 +0000 (19:00 +0200)]
patch 8.2.0973: Vim9: type is not checked when assigning to a script variable

Problem:    Vim9: type is not checked when assigning to a script variable.
Solution:   Check the type.

4 years agopatch 8.2.0972: Vim9 script variable declarations need a type v8.2.0972
Bram Moolenaar [Sat, 13 Jun 2020 16:09:19 +0000 (18:09 +0200)]
patch 8.2.0972: Vim9 script variable declarations need a type

Problem:    Vim9 script variable declarations need a type.
Solution:   Make "let var: type" declare a script-local variable.

4 years agopatch 8.2.0971: build with tiny features fails v8.2.0971
Bram Moolenaar [Sat, 13 Jun 2020 14:39:31 +0000 (16:39 +0200)]
patch 8.2.0971: build with tiny features fails

Problem:    Build with tiny features fails.
Solution:   Add #ifdef.

4 years agopatch 8.2.0970: terminal properties are not available in Vim script v8.2.0970
Bram Moolenaar [Sat, 13 Jun 2020 13:47:25 +0000 (15:47 +0200)]
patch 8.2.0970: terminal properties are not available in Vim script

Problem:    Terminal properties are not available in Vim script.
Solution:   Add the terminalprops() function.

4 years agopatch 8.2.0969: assert_equal() output for dicts is hard to figure out v8.2.0969
Bram Moolenaar [Sat, 13 Jun 2020 13:13:38 +0000 (15:13 +0200)]
patch 8.2.0969: assert_equal() output for dicts is hard to figure out

Problem:    Assert_equal() output for dicts is hard to figure out.
Solution:   Only show the different items.

4 years agopatch 8.2.0968: no proper testing of the 'cpoptions' flags v8.2.0968
Bram Moolenaar [Sat, 13 Jun 2020 11:20:48 +0000 (13:20 +0200)]
patch 8.2.0968: no proper testing of the 'cpoptions' flags

Problem:    No proper testing of the 'cpoptions' flags.
Solution:   Add tests. (Yegappan Lakshmanan, closes #6251)

4 years agopatch 8.2.0967: unnecessary type casts for vim_strnsave() v8.2.0967
Bram Moolenaar [Fri, 12 Jun 2020 20:59:11 +0000 (22:59 +0200)]
patch 8.2.0967: unnecessary type casts for vim_strnsave()

Problem:    Unnecessary type casts for vim_strnsave().
Solution:   Remove the type casts.

4 years agopatch 8.2.0966: 'shortmess' flag "n" not used in two places v8.2.0966
Bram Moolenaar [Fri, 12 Jun 2020 20:31:00 +0000 (22:31 +0200)]
patch 8.2.0966: 'shortmess' flag "n" not used in two places

Problem:    'shortmess' flag "n" not used in two places.
Solution:   Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
            closes #6244)

4 years agopatch 8.2.0965: has_funcundefined() is not used v8.2.0965
Bram Moolenaar [Fri, 12 Jun 2020 20:15:31 +0000 (22:15 +0200)]
patch 8.2.0965: has_funcundefined() is not used

Problem:    Has_funcundefined() is not used.
Solution:   Delete the function. (Dominique Pellé, closes #6242)

4 years agopatch 8.2.0964: TextYankPost does not provide info about Visual selection v8.2.0964
Bram Moolenaar [Fri, 12 Jun 2020 20:09:01 +0000 (22:09 +0200)]
patch 8.2.0964: TextYankPost does not provide info about Visual selection

Problem:    TextYankPost does not provide info about Visual selection.
Solution:   Add the 'visual' key in v:event. (closes #6249)

4 years agopatch 8.2.0963: number increment/decrement does not work with 'virtualedit' v8.2.0963
Bram Moolenaar [Fri, 12 Jun 2020 18:19:44 +0000 (20:19 +0200)]
patch 8.2.0963: number increment/decrement does not work with 'virtualedit'

Problem:    Number increment/decrement does not work with 'virtualedit'.
Solution:   Handle coladd changing. (Christian Brabandt, closes #6240,
            closes #923)

4 years agopatch 8.2.0962: terminal test sometimes hangs on Travis v8.2.0962
Bram Moolenaar [Fri, 12 Jun 2020 18:11:55 +0000 (20:11 +0200)]
patch 8.2.0962: terminal test sometimes hangs on Travis

Problem:    Terminal test sometimes hangs on Travis.
Solution:   Do show output for this test temporarily.

4 years agopatch 8.2.0961: MS-Windows: no completion for locales v8.2.0961
Bram Moolenaar [Fri, 12 Jun 2020 17:35:32 +0000 (19:35 +0200)]
patch 8.2.0961: MS-Windows: no completion for locales

Problem:    MS-Windows: no completion for locales.
Solution:   Use the directories in $VIMRUNTIME/lang to complete locales.
            (Christian Brabandt, closes 36248)

4 years agopatch 8.2.0960: cannot use :import in legacy Vim script v8.2.0960
Bram Moolenaar [Thu, 11 Jun 2020 21:10:46 +0000 (23:10 +0200)]
patch 8.2.0960: cannot use :import in legacy Vim script

Problem:    Cannot use :import in legacy Vim script.
Solution:   Support :import in any Vim script.

4 years agopatch 8.2.0959: using 'quickfixtextfunc' is a bit slow v8.2.0959
Bram Moolenaar [Thu, 11 Jun 2020 17:35:52 +0000 (19:35 +0200)]
patch 8.2.0959: using 'quickfixtextfunc' is a bit slow

Problem:    Using 'quickfixtextfunc' is a bit slow.
Solution:   Process a list of entries. (Yegappan Lakshmanan, closes #6234)

4 years agopatch 8.2.0958: not sufficient testing for buffer writing v8.2.0958
Bram Moolenaar [Thu, 11 Jun 2020 17:22:43 +0000 (19:22 +0200)]
patch 8.2.0958: not sufficient testing for buffer writing

Problem:    Not sufficient testing for buffer writing.
Solution:   Add a few tests. (Yegappan Lakshmanan, closes #6238)

4 years agopatch 8.2.0957: compiler warning for uninitialized variable v8.2.0957
Bram Moolenaar [Thu, 11 Jun 2020 10:30:13 +0000 (12:30 +0200)]
patch 8.2.0957: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize one variable.

4 years agopatch 8.2.0956: spell test fails v8.2.0956
Bram Moolenaar [Wed, 10 Jun 2020 20:17:58 +0000 (22:17 +0200)]
patch 8.2.0956: spell test fails

Problem:    Spell test fails.
Solution:   Add missing change the spell checking.

4 years agopatch 8.2.0955: build fails v8.2.0955
Bram Moolenaar [Wed, 10 Jun 2020 20:12:04 +0000 (22:12 +0200)]
patch 8.2.0955: build fails

Problem:    Build fails.
Solution:   Add missing struct change.

4 years agopatch 8.2.0954: not all desktop files are recognized v8.2.0954
Bram Moolenaar [Wed, 10 Jun 2020 20:07:52 +0000 (22:07 +0200)]
patch 8.2.0954: not all desktop files are recognized

Problem:    Not all desktop files are recognized.
Solution:   Add the *.directory pattern. (Eisuke Kawashima, closes #3317)

4 years agopatch 8.2.0953: spell checking doesn't work for CamelCased words v8.2.0953
Bram Moolenaar [Wed, 10 Jun 2020 19:47:00 +0000 (21:47 +0200)]
patch 8.2.0953: spell checking doesn't work for CamelCased words

Problem:    Spell checking doesn't work for CamelCased words.
Solution:   Add the "camel" value in the new option 'spelloptions'.
            (closes #1235)

4 years agopatch 8.2.0952: no simple way to interrupt Vim v8.2.0952
Bram Moolenaar [Wed, 10 Jun 2020 18:56:58 +0000 (20:56 +0200)]
patch 8.2.0952: no simple way to interrupt Vim

Problem:    No simple way to interrupt Vim.
Solution:   Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
            closes #1718)

4 years agopatch 8.2.0951: search stat test has leftover from debugging v8.2.0951
Bram Moolenaar [Wed, 10 Jun 2020 18:21:09 +0000 (20:21 +0200)]
patch 8.2.0951: search stat test has leftover from debugging

Problem:    Search stat test has leftover from debugging.
Solution:   Remove line that writes a file. (Christian Brabandt, closes #6224)

4 years agopatch 8.2.0950: tagjump test fails v8.2.0950
Bram Moolenaar [Wed, 10 Jun 2020 15:13:48 +0000 (17:13 +0200)]
patch 8.2.0950: tagjump test fails

Problem:    Tagjump test fails.
Solution:   Adjust expected text of the prompt.

4 years agopatch 8.2.0949: strptime() does not use DST v8.2.0949
Bram Moolenaar [Wed, 10 Jun 2020 14:54:13 +0000 (16:54 +0200)]
patch 8.2.0949: strptime() does not use DST

Problem:    Strptime() does not use DST.
Solution:   Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)

4 years agopatch 8.2.0948: spell test fails v8.2.0948
Bram Moolenaar [Wed, 10 Jun 2020 14:39:32 +0000 (16:39 +0200)]
patch 8.2.0948: spell test fails

Problem:    Spell test fails.
Solution:   Adjust expected text of the prompt.

4 years agopatch 8.2.0947: readdirex() doesn't handle broken link properly v8.2.0947
Bram Moolenaar [Wed, 10 Jun 2020 13:55:36 +0000 (15:55 +0200)]
patch 8.2.0947: readdirex() doesn't handle broken link properly

Problem:    Readdirex() doesn't handle broken link properly.
Solution:   Small fixes to readdirex(). (Christian Brabandt, closes #6226,
            closes #6213)

4 years agopatch 8.2.0946: cannot use "q" to cancel a number prompt v8.2.0946
Bram Moolenaar [Wed, 10 Jun 2020 13:45:57 +0000 (15:45 +0200)]
patch 8.2.0946: cannot use "q" to cancel a number prompt

Problem:    Cannot use "q" to cancel a number prompt.
Solution:   Recognize "q" instead of ignoring it.

4 years agopatch 8.2.0945: cannot use "z=" when 'spell' is off v8.2.0945
Bram Moolenaar [Wed, 10 Jun 2020 13:32:08 +0000 (15:32 +0200)]
patch 8.2.0945: cannot use "z=" when 'spell' is off

Problem:    Cannot use "z=" when 'spell' is off.
Solution:   Make "z=" work even when 'spell' is off. (Christian Brabandt,
            Gary Johnson, closes #6227)

4 years agopatch 8.2.0944: xxd test leaves file behind v8.2.0944
Bram Moolenaar [Wed, 10 Jun 2020 12:21:20 +0000 (14:21 +0200)]
patch 8.2.0944: xxd test leaves file behind

Problem:    Xxd test leaves file behind.
Solution:   Delete the file "XXDfile". (Christian Brabandt, closes #6228)

4 years agopatch 8.2.0943: displaying ^M or ^J depends on current buffer v8.2.0943
Bram Moolenaar [Wed, 10 Jun 2020 12:16:49 +0000 (14:16 +0200)]
patch 8.2.0943: displaying ^M or ^J depends on current buffer

Problem:    Displaying ^M or ^J depends on current buffer.
Solution:   Pass the displayed buffer to transchar(). (closes #6225)

4 years agopatch 8.2.0942: expanding to local dir after homedir keeps "~/" v8.2.0942
Bram Moolenaar [Wed, 10 Jun 2020 11:12:28 +0000 (13:12 +0200)]
patch 8.2.0942: expanding to local dir after homedir keeps "~/"

Problem:    Expanding to local dir after homedir keeps "~/".
Solution:   Adjust modify_fname(). (Christian Brabandt, closes #6205,
            closes #5979)

4 years agopatch 8.2.0941: detecting terminal properties is unstructured v8.2.0941
Bram Moolenaar [Wed, 10 Jun 2020 10:15:51 +0000 (12:15 +0200)]
patch 8.2.0941: detecting terminal properties is unstructured

Problem:    Detecting terminal properties is unstructured.
Solution:   Add a table with terminal properties.  Set properties when a
            terminal is detected.

4 years agopatch 8.2.0940: build failure with tiny features v8.2.0940
Bram Moolenaar [Tue, 9 Jun 2020 19:35:36 +0000 (21:35 +0200)]
patch 8.2.0940: build failure with tiny features

Problem:    Build failure with tiny features.
Solution:   Add #ifdef.  Add UNUSED.  A bit more cleaning up.

4 years agopatch 8.2.0939: checking for term escape sequences is long and confusing v8.2.0939
Bram Moolenaar [Tue, 9 Jun 2020 19:26:36 +0000 (21:26 +0200)]
patch 8.2.0939: checking for term escape sequences is long and confusing

Problem:    checking for term escape sequences is long and confusing
Solution:   Refactor code into separate functions.

4 years agopatch 8.2.0938: NFA regexp uses tolower ()to compare ignore-case v8.2.0938
Bram Moolenaar [Tue, 9 Jun 2020 17:34:54 +0000 (19:34 +0200)]
patch 8.2.0938: NFA regexp uses tolower ()to compare ignore-case

Problem:    NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
Solution:   Use utf_fold() when possible. (ref. neovim #12456)

4 years agopatch 8.2.0937: asan failure in the flatten() test v8.2.0937
Bram Moolenaar [Tue, 9 Jun 2020 15:30:04 +0000 (17:30 +0200)]
patch 8.2.0937: asan failure in the flatten() test

Problem:    Asan failure in the flatten() test.
Solution:   Free the flattened list.

4 years agopatch 8.2.0936: some terminals misinterpret the code for getting cursor style v8.2.0936
Bram Moolenaar [Tue, 9 Jun 2020 13:57:37 +0000 (15:57 +0200)]
patch 8.2.0936: some terminals misinterpret the code for getting cursor style

Problem:    Some terminals misinterpret the code for getting cursor style.
Solution:   Send a sequence to the terminal and check the result. (IWAMOTO
            Kouichi, closes #2126)  Merged with current code.

4 years agopatch 8.2.0935: flattening a list with existing code is slow v8.2.0935
Bram Moolenaar [Mon, 8 Jun 2020 18:50:43 +0000 (20:50 +0200)]
patch 8.2.0935: flattening a list with existing code is slow

Problem:    Flattening a list with existing code is slow.
Solution:   Add flatten(). (Mopp, closes #3676)

4 years agopatch 8.2.0934: lhelpgrep twice in help window doesn't jump to the help topic v8.2.0934
Bram Moolenaar [Mon, 8 Jun 2020 17:35:59 +0000 (19:35 +0200)]
patch 8.2.0934: lhelpgrep twice in help window doesn't jump to the help topic

Problem:    Running lhelpgrep twice in a help window doesn't jump to the help
            topic.
Solution:   Check whether any window with the location list is present.
            (Yegappan Lakshmanan, closes #6215)

4 years agopatch 8.2.0933: 'quickfixtextfunc' does not get window ID of location list v8.2.0933
Bram Moolenaar [Mon, 8 Jun 2020 17:20:27 +0000 (19:20 +0200)]
patch 8.2.0933: 'quickfixtextfunc' does not get window ID of location list

Problem:    'quickfixtextfunc' does not get window ID of location list.
Solution:   Add "winid" to the dict argument. (Yegappan Lakshmanan,
            closes #6222)

4 years agopatch 8.2.0932: missspelling spelllang v8.2.0932
Bram Moolenaar [Mon, 8 Jun 2020 16:54:49 +0000 (18:54 +0200)]
patch 8.2.0932: missspelling spelllang

Problem:    Missspelling spelllang.
Solution:   Add an "l". (Dominique Pelle)

4 years agopatch 8.2.0931: some remarks about BeOS remain v8.2.0931
Bram Moolenaar [Sun, 7 Jun 2020 20:23:19 +0000 (22:23 +0200)]
patch 8.2.0931: some remarks about BeOS remain

Problem:    Some remarks about BeOS remain.
Solution:   Remove BeOS remarks from the help and other files. (Emir Sari,
            closes #6221)

4 years agopatch 8.2.0930: script filetype detection trips over env -S argument v8.2.0930
Bram Moolenaar [Sun, 7 Jun 2020 19:58:54 +0000 (21:58 +0200)]
patch 8.2.0930: script filetype detection trips over env -S argument

Problem:    Script filetype detection trips over env -S argument.
Solution:   Remove "-S" and "--ignore-environment". (closes #5013)
            Add tests.

4 years agopatch 8.2.0929: v:register is not cleared after an operator was executed v8.2.0929
Bram Moolenaar [Sun, 7 Jun 2020 19:31:18 +0000 (21:31 +0200)]
patch 8.2.0929: v:register is not cleared after an operator was executed

Problem:    v:register is not cleared after an operator was executed.
Solution:   Clear v:register after finishing an operator (Andy Massimino,
            closes #5305)

4 years agoUpdate runtime files
Bram Moolenaar [Sun, 7 Jun 2020 19:07:18 +0000 (21:07 +0200)]
Update runtime files

4 years agopatch 8.2.0928: many type casts are used for vim_strnsave() v8.2.0928
Bram Moolenaar [Sun, 7 Jun 2020 18:49:05 +0000 (20:49 +0200)]
patch 8.2.0928: many type casts are used for vim_strnsave()

Problem:    Many type casts are used for vim_strnsave().
Solution:   Make the length argument size_t instead of int. (Ken Takata,
            closes #5633)  Remove some type casts.

4 years agopatch 8.2.0927: some sshconfig and ssdhconfig files are not recognized v8.2.0927
Bram Moolenaar [Sun, 7 Jun 2020 18:07:43 +0000 (20:07 +0200)]
patch 8.2.0927: some sshconfig and ssdhconfig files are not recognized

Problem:    Some sshconfig and ssdhconfig files are not recognized.
Solution:   Add filetype patterns.

4 years agopatch 8.2.0926: cmdline test fails on Appveyor v8.2.0926
Bram Moolenaar [Sun, 7 Jun 2020 17:38:10 +0000 (19:38 +0200)]
patch 8.2.0926: cmdline test fails on Appveyor

Problem:    Cmdline test fails on Appveyor.
Solution:   Add CR to the commands. (Naruhiko Nishino, closes #6220)

4 years agopatch 8.2.0925: getcompletion() does not return command line arguments v8.2.0925
Bram Moolenaar [Sun, 7 Jun 2020 16:45:14 +0000 (18:45 +0200)]
patch 8.2.0925: getcompletion() does not return command line arguments

Problem:    Getcompletion() does not return command line arguments.
Solution:   Add the "cmdline" option. (Shougo, closes #1140)

4 years agopatch 8.2.0924: cannot save and restore a register properly v8.2.0924
Bram Moolenaar [Sun, 7 Jun 2020 16:16:36 +0000 (18:16 +0200)]
patch 8.2.0924: cannot save and restore a register properly

Problem:    Cannot save and restore a register properly.
Solution:   Add getreginfo() and make setreg() accept a dictionary. (Andy
            Massimino, closes #3370)

4 years agopatch 8.2.0923: cmdline test is slow v8.2.0923
Bram Moolenaar [Sun, 7 Jun 2020 15:30:33 +0000 (17:30 +0200)]
patch 8.2.0923: cmdline test is slow

Problem:    Cmdline test is slow.
Solution:   Use WaitForAssert().

4 years agopatch 8.2.0922: search test fails v8.2.0922
Bram Moolenaar [Sun, 7 Jun 2020 15:20:02 +0000 (17:20 +0200)]
patch 8.2.0922: search test fails

Problem:    Search test fails.
Solution:   Remove failure tests for calls that no longer fail.

4 years agopatch 8.2.0921: CTRL-W T in cmdline window causes trouble v8.2.0921
Bram Moolenaar [Sun, 7 Jun 2020 15:03:21 +0000 (17:03 +0200)]
patch 8.2.0921: CTRL-W T in cmdline window causes trouble

Problem:    CTRL-W T in cmdline window causes trouble.
Solution:   Disallow CTRL-W T in the cmdline window.  Add more tests.
            (Naruhiko Nishino, closes #6219)

4 years agopatch 8.2.0920: writing viminfo fails with a circular reference v8.2.0920
Bram Moolenaar [Sun, 7 Jun 2020 14:08:08 +0000 (16:08 +0200)]
patch 8.2.0920: writing viminfo fails with a circular reference

Problem:    Writing viminfo fails with a circular reference.
Solution:   Use copyID to detect the cycle. (closes #6217)

4 years agopatch 8.2.0919: merging modifier for modifyOtherKeys is done twice v8.2.0919
Bram Moolenaar [Sun, 7 Jun 2020 13:46:11 +0000 (15:46 +0200)]
patch 8.2.0919: merging modifier for modifyOtherKeys is done twice

Problem:    Merging modifier for modifyOtherKeys is done twice.
Solution:   Remove the merging done in vgetc().

4 years agopatch 8.2.0918: duplicate code for evaluating expression argument v8.2.0918
Bram Moolenaar [Sun, 7 Jun 2020 12:50:50 +0000 (14:50 +0200)]
patch 8.2.0918: duplicate code for evaluating expression argument

Problem:    Duplicate code for evaluating expression argument.
Solution:   Merge the code and make the use more flexible.

4 years agopatch 8.2.0917: quickfix entries do not suport a "note" type v8.2.0917
Bram Moolenaar [Sun, 7 Jun 2020 12:10:47 +0000 (14:10 +0200)]
patch 8.2.0917: quickfix entries do not suport a "note" type

Problem:    Quickfix entries do not suport a "note" type.
Solution:   Add support for "note". (partly by Yegappan Lakshmanan,
            closes #5527, closes #6216)

4 years agopatch 8.2.0916: mapping with partly modifyOtherKeys code does not work v8.2.0916
Bram Moolenaar [Sat, 6 Jun 2020 20:36:24 +0000 (22:36 +0200)]
patch 8.2.0916: mapping with partly modifyOtherKeys code does not work

Problem:    Mapping with partly modifyOtherKeys code does not work.
Solution:   If there is no mapping with a separate modifier include the
            modifier in the key and then try mapping again. (closes #6200)

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)