]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.1033: not easy to read the test time in the test output v8.2.1033
Bram Moolenaar [Sun, 21 Jun 2020 18:39:37 +0000 (20:39 +0200)]
patch 8.2.1033: not easy to read the test time in the test output

Problem:    Not easy to read the test time in the test output.
Solution:   Align the times.  Make slow tests bold.

4 years agopatch 8.2.1032: error message for declaring a variable cannot be translated v8.2.1032
Bram Moolenaar [Sun, 21 Jun 2020 18:38:28 +0000 (20:38 +0200)]
patch 8.2.1032: error message for declaring a variable cannot be translated

Problem:    Error message for declaring a variable cannot be translated.
Solution:   Enclose in _().  Make environment variable a separate message.

4 years agopatch 8.2.1031: build failure with Perl5.32 v8.2.1031
Bram Moolenaar [Sun, 21 Jun 2020 18:06:54 +0000 (20:06 +0200)]
patch 8.2.1031: build failure with Perl5.32

Problem:    Build failure with Perl5.32.
Solution:   Define a few more functions. (Felix Yan, closes #6310)

4 years agopatch 8.2.1030: reducing size of a terminal window may cause a crash v8.2.1030
Bram Moolenaar [Sun, 21 Jun 2020 15:57:32 +0000 (17:57 +0200)]
patch 8.2.1030: reducing size of a terminal window may cause a crash

Problem:    Reducing size of a terminal window may cause a crash.
Solution:   Make sure the row and column don't become negative. (closes #6273)

4 years agopatch 8.2.1029: Vim9: cannot chain function calls with -> at line start v8.2.1029
Bram Moolenaar [Sun, 21 Jun 2020 14:58:13 +0000 (16:58 +0200)]
patch 8.2.1029: Vim9: cannot chain function calls with -> at line start

Problem:    Vim9: cannot chain function calls with -> at line start.
Solution:   Peek ahead for a following line starting with "->". (closes #6306)

4 years agopatch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable v8.2.1028
Bram Moolenaar [Sun, 21 Jun 2020 13:52:59 +0000 (15:52 +0200)]
patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable

Problem:    Vim9: no error for declaring buffer, window, etc. variable.
Solution:   Give an error.  Unify the error messages.

4 years agopatch 8.2.1027: GUI: multi-byte characters do not work in a terminal v8.2.1027
Bram Moolenaar [Sun, 21 Jun 2020 13:09:14 +0000 (15:09 +0200)]
patch 8.2.1027: GUI: multi-byte characters do not work in a terminal

Problem:    GUI: multi-byte characters do not work in a terminal.
Solution:   Do not assume a key is one byte. (closes #6304)

4 years agopatch 8.2.1026: Vim9: cannot break the line after "->" v8.2.1026
Bram Moolenaar [Sun, 21 Jun 2020 12:12:17 +0000 (14:12 +0200)]
patch 8.2.1026: Vim9: cannot break the line after "->"

Problem:    Vim9: cannot break the line after "->".
Solution:   Check for a continuation line after "->", "[" and ".".  Ignore
            trailing white space.

4 years agopatch 8.2.1025: tabpage menu and tabline not sufficiently tested v8.2.1025
Bram Moolenaar [Sun, 21 Jun 2020 11:23:45 +0000 (13:23 +0200)]
patch 8.2.1025: tabpage menu and tabline not sufficiently tested

Problem:    Tabpage menu and tabline not sufficiently tested.
Solution:   Add tests. (Yegappan Lakshmanan, closes #6307)

4 years agopatch 8.2.1024: Vim9: no error for using "let g:var = val" v8.2.1024
Bram Moolenaar [Sat, 20 Jun 2020 20:50:47 +0000 (22:50 +0200)]
patch 8.2.1024: Vim9: no error for using "let g:var = val"

Problem:    Vim9: no error for using "let g:var = val".
Solution:   Add an error.

4 years agopatch 8.2.1023: Vim9: redefining a function uses a new index every time v8.2.1023
Bram Moolenaar [Sat, 20 Jun 2020 16:19:09 +0000 (18:19 +0200)]
patch 8.2.1023: Vim9: redefining a function uses a new index every time

Problem:    Vim9: redefining a function uses a new index every time.
Solution:   When redefining a function clear the contents and re-use the
            index.

4 years agopatch 8.2.1022: various parts of code not covered by tests v8.2.1022
Bram Moolenaar [Sat, 20 Jun 2020 14:05:32 +0000 (16:05 +0200)]
patch 8.2.1022: various parts of code not covered by tests

Problem:    Various parts of code not covered by tests.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #6300)

4 years agopatch 8.2.1021: Ruby interface not tested enough v8.2.1021
Bram Moolenaar [Sat, 20 Jun 2020 14:00:25 +0000 (16:00 +0200)]
patch 8.2.1021: Ruby interface not tested enough

Problem:    Ruby interface not tested enough.
Solution:   Add a couple more tests. (Dominique Pellé, closes #6301)

4 years agopatch 8.2.1020: popupwin test fails in the GUI v8.2.1020
Bram Moolenaar [Sat, 20 Jun 2020 13:03:38 +0000 (15:03 +0200)]
patch 8.2.1020: popupwin test fails in the GUI

Problem:    Popupwin test fails in the GUI.
Solution:   Send GUI byte sequence for <C-S-a>.

4 years agopatch 8.2.1019: mapping <M-S-a> does not work in the GUI v8.2.1019
Bram Moolenaar [Sat, 20 Jun 2020 12:43:23 +0000 (14:43 +0200)]
patch 8.2.1019: mapping <M-S-a> does not work in the GUI

Problem:    Mapping <M-S-a> does not work in the GUI.
Solution:   Move the logic to remove the shift modifier to
            may_remove_shift_modifier() and also use it in the GUI.

4 years agopatch 8.2.1018: typo in enum value v8.2.1018
Bram Moolenaar [Sat, 20 Jun 2020 11:29:03 +0000 (13:29 +0200)]
patch 8.2.1018: typo in enum value

Problem:    Typo in enum value. (James McCoy)
Solution:   Fix the typo.

4 years agopatch 8.2.1017: Appveyor output doesn't show MinGW console features v8.2.1017
Bram Moolenaar [Fri, 19 Jun 2020 20:37:47 +0000 (22:37 +0200)]
patch 8.2.1017: Appveyor output doesn't show MinGW console features

Problem:    Appveyor output doesn't show MinGW console features.
Solution:   List the features of the console build.

4 years agopatch 8.2.1016: Vim9: test fails when channel feature is missing v8.2.1016
Bram Moolenaar [Fri, 19 Jun 2020 20:35:44 +0000 (22:35 +0200)]
patch 8.2.1016: Vim9: test fails when channel feature is missing

Problem:    Vim9: test fails when channel feature is missing.
Solution:   Process an :if command when skipping

4 years agopatch 8.2.1015: popup filter gets key with modifier prepended v8.2.1015
Bram Moolenaar [Fri, 19 Jun 2020 19:46:52 +0000 (21:46 +0200)]
patch 8.2.1015: popup filter gets key with modifier prepended

Problem:    Popup filter gets key with modifier prepended when using
            modifyOtherKeys.
Solution:   Remove the shift modifier when it is included in the key, also
            when the Alt or Meta modifier is used.

4 years agopatch 8.2.1014: using "name" for a string result is confusing v8.2.1014
Bram Moolenaar [Fri, 19 Jun 2020 17:30:53 +0000 (19:30 +0200)]
patch 8.2.1014: using "name" for a string result is confusing

Problem:    Using "name" for a string result is confusing.
Solution:   Rename to "end".

4 years agopatch 8.2.1013: channel tests can be a bit flaky v8.2.1013
Bram Moolenaar [Fri, 19 Jun 2020 17:10:59 +0000 (19:10 +0200)]
patch 8.2.1013: channel tests can be a bit flaky

Problem:    Channel tests can be a bit flaky.
Solution:   Set the g:test_is_flaky flag in SetUp().

4 years agopatch 8.2.1012: Vim9: cannot declare single character script variables v8.2.1012
Bram Moolenaar [Fri, 19 Jun 2020 17:01:43 +0000 (19:01 +0200)]
patch 8.2.1012: Vim9: cannot declare single character script variables

Problem:    Vim9: cannot declare single character script variables.
Solution:   Don't see "b:", "s:", etc. as namespace.  Fix item size of
            sn_var_vals.

4 years agopatch 8.2.1011: Vim9: some code not tested v8.2.1011
Bram Moolenaar [Fri, 19 Jun 2020 16:34:15 +0000 (18:34 +0200)]
patch 8.2.1011: Vim9: some code not tested

Problem:    Vim9: some code not tested.
Solution:   Add a few more test cases.  Reorder checks for clearer error.
            Remove unreachable code.

4 years agopatch 8.2.1010: build failure in libvterm with debug enabled v8.2.1010
Bram Moolenaar [Fri, 19 Jun 2020 15:20:41 +0000 (17:20 +0200)]
patch 8.2.1010: build failure in libvterm with debug enabled

Problem:    Build failure in libvterm with debug enabled. (John Little)
Solution:   Use "->" instead of ".".

4 years agopatch 8.2.1009: Vim9: some failures not checked for v8.2.1009
Bram Moolenaar [Thu, 18 Jun 2020 20:43:27 +0000 (22:43 +0200)]
patch 8.2.1009: Vim9: some failures not checked for

Problem:    Vim9: some failures not checked for.
Solution:   Add test cases.  Remove unused code.

4 years agopatch 8.2.1008: Vim9: no test for disassambling newly added instructions v8.2.1008
Bram Moolenaar [Thu, 18 Jun 2020 20:18:18 +0000 (22:18 +0200)]
patch 8.2.1008: Vim9: no test for disassambling newly added instructions

Problem:    Vim9: no test for disassambling newly added instructions.
Solution:   Add a function and check disassembly.

4 years agopatch 8.2.1007: completion doesn't work after ":r ++arg !" v8.2.1007
Bram Moolenaar [Thu, 18 Jun 2020 19:14:30 +0000 (21:14 +0200)]
patch 8.2.1007: completion doesn't work after ":r ++arg !"

Problem:    Completion doesn't work after ":r ++arg !".
Solution:   Skip over "++arg". (Christian Brabandt, closes #6275,
            closes #6258)

4 years agopatch 8.2.1006: Vim9: require unnecessary return statement v8.2.1006
Bram Moolenaar [Thu, 18 Jun 2020 18:50:10 +0000 (20:50 +0200)]
patch 8.2.1006: Vim9: require unnecessary return statement

Problem:    Vim9: require unnecessary return statement.
Solution:   Improve the use of the had_return flag. (closes #6270)

4 years agopatch 8.2.1005: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing v8.2.1005
Bram Moolenaar [Thu, 18 Jun 2020 17:31:08 +0000 (19:31 +0200)]
patch 8.2.1005: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing

Problem:    Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
Solution:   Use an enum value.

4 years agopatch 8.2.1004: line numbers below filler lines not always updated v8.2.1004
Bram Moolenaar [Thu, 18 Jun 2020 17:15:27 +0000 (19:15 +0200)]
patch 8.2.1004: line numbers below filler lines not always updated

Problem:    Line numbers below filler lines not always updated.
Solution:   Don't break out of the win_line() loop too early. (Christian
            Brabandt, closes #6294, closes #6138)

4 years agopatch 8.2.1003: Vim9: return type of sort() is too generic v8.2.1003
Bram Moolenaar [Thu, 18 Jun 2020 16:45:49 +0000 (18:45 +0200)]
patch 8.2.1003: Vim9: return type of sort() is too generic

Problem:    Vim9: return type of sort() is too generic.
Solution:   Get type from the first argument. (closes #6292)

4 years agopatch 8.2.1002: test may fail when run directly v8.2.1002
Bram Moolenaar [Thu, 18 Jun 2020 16:33:59 +0000 (18:33 +0200)]
patch 8.2.1002: test may fail when run directly

Problem:    Test may fail when run directly.
Solution:   Check if g:run_nr exists. (Christian Brabandt, closes #6285)

4 years agopatch 8.2.1001: Vim9: crash with nested "if" and assignment v8.2.1001
Bram Moolenaar [Thu, 18 Jun 2020 16:26:24 +0000 (18:26 +0200)]
patch 8.2.1001: Vim9: crash with nested "if" and assignment

Problem:    Vim9: crash with nested "if" and assignment.
Solution:   Skip more of the assignment.  Do not set ctx_skip when code is
            reachable.

4 years agopatch 8.2.1000: get error when leaving Ex mode with :visual v8.2.1000
Bram Moolenaar [Thu, 18 Jun 2020 15:28:39 +0000 (17:28 +0200)]
patch 8.2.1000: get error when leaving Ex mode with :visual

Problem:    Get error when leaving Ex mode with :visual and a CmdLineEnter
            autocommand was used.
Solution:   Reset ex_pressedreturn. (closes #6293)

4 years agopatch 8.2.0999: moving to next sentence gets stuck on quote v8.2.0999
Bram Moolenaar [Thu, 18 Jun 2020 13:33:25 +0000 (15:33 +0200)]
patch 8.2.0999: moving to next sentence gets stuck on quote

Problem:    Moving to next sentence gets stuck on quote.
Solution:   When moving to the next sentence doesn't result in moving, advance
            a character and try again. (closes #6291)

4 years agopatch 8.2.0998: not all tag code is tested v8.2.0998
Bram Moolenaar [Wed, 17 Jun 2020 20:58:35 +0000 (22:58 +0200)]
patch 8.2.0998: not all tag code is tested

Problem:    Not all tag code is tested.
Solution:   Add a few more test cases. (Yegappan Lakshmanan, closes #6284)

4 years agopatch 8.2.0997: cannot execute a register containing line continuation v8.2.0997
Bram Moolenaar [Wed, 17 Jun 2020 19:47:23 +0000 (21:47 +0200)]
patch 8.2.0997: cannot execute a register containing line continuation

Problem:    Cannot execute a register containing line continuation.
Solution:   Concatenate lines where needed. (Yegappan Lakshmanan,
            closes #6272)

4 years agopatch 8.2.0996: using "aucmdwin" in win_gettype() is not ideal v8.2.0996
Bram Moolenaar [Wed, 17 Jun 2020 19:41:35 +0000 (21:41 +0200)]
patch 8.2.0996: using "aucmdwin" in win_gettype() is not ideal

Problem:    Using "aucmdwin" in win_gettype() is not ideal.
Solution:   Rename to "autocmd".

4 years agopatch 8.2.0995: insufficient testing for the readdir() sort option v8.2.0995
Bram Moolenaar [Wed, 17 Jun 2020 18:30:44 +0000 (20:30 +0200)]
patch 8.2.0995: insufficient testing for the readdir() sort option

Problem:    Insufficient testing for the readdir() sort option.
Solution:   Add a few more tests. (Christian Brabandt, closes #6278)

4 years agopatch 8.2.0994: Vim9: missing function causes compilation error v8.2.0994
Bram Moolenaar [Wed, 17 Jun 2020 18:03:36 +0000 (20:03 +0200)]
patch 8.2.0994: Vim9: missing function causes compilation error

Problem:    Vim9: missing function causes compilation error.
Solution:   Call test function indirectly.

4 years agopatch 8.2.0993: Vim9 script test fails with normal features v8.2.0993
Bram Moolenaar [Wed, 17 Jun 2020 10:04:54 +0000 (12:04 +0200)]
patch 8.2.0993: Vim9 script test fails with normal features

Problem:    Vim9 script test fails with normal features.
Solution:   Use :func instead of :def for now.

4 years agopatch 8.2.0992: Vim9: crash when using :import in the Vim command v8.2.0992
Bram Moolenaar [Tue, 16 Jun 2020 21:18:51 +0000 (23:18 +0200)]
patch 8.2.0992: Vim9: crash when using :import in the Vim command

Problem:    Vim9: crash when using :import in the Vim command.
Solution:   Give an error when using :import outside of a script.
            (closes #6271)

4 years agopatch 8.2.0991: cannot get window type for autocmd and preview window v8.2.0991
Bram Moolenaar [Tue, 16 Jun 2020 20:42:04 +0000 (22:42 +0200)]
patch 8.2.0991: cannot get window type for autocmd and preview window

Problem:    Cannot get window type for autocmd and preview window.
Solution:   Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)

4 years agopatch 8.2.0990: Using duplicate error number v8.2.0990
Bram Moolenaar [Tue, 16 Jun 2020 20:27:39 +0000 (22:27 +0200)]
patch 8.2.0990: Using duplicate error number

Problem:    Using duplicate error number.
Solution:   Use an unused error number.  Add a test for it.

4 years agopatch 8.2.0989: crash after resizing a terminal window v8.2.0989
Bram Moolenaar [Tue, 16 Jun 2020 18:58:07 +0000 (20:58 +0200)]
patch 8.2.0989: crash after resizing a terminal window

Problem:    Crash after resizing a terminal window. (August Masquelier)
Solution:   Add check for valid row in libvterm. (closes #6273)

4 years agopatch 8.2.0988: getting directory contents is always case sorted v8.2.0988
Bram Moolenaar [Tue, 16 Jun 2020 18:03:43 +0000 (20:03 +0200)]
patch 8.2.0988: getting directory contents is always case sorted

Problem:    Getting directory contents is always case sorted.
Solution:   Add sort options and v:collate. (Christian Brabandt, closes #6229)

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)