]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.0373: type of term_sendkeys() is unknown v8.2.0373
Bram Moolenaar [Wed, 11 Mar 2020 18:30:01 +0000 (19:30 +0100)]
patch 8.2.0373: type of term_sendkeys() is unknown

Problem:    Type of term_sendkeys() is unknown.
Solution:   Just return zero. (closes #5762)

4 years agopatch 8.2.0372: prop_find() may not find text property at start of the line v8.2.0372
Bram Moolenaar [Wed, 11 Mar 2020 18:15:52 +0000 (19:15 +0100)]
patch 8.2.0372: prop_find() may not find text property at start of the line

Problem:    Prop_find() may not find text property at start of the line.
Solution:   Adjust the loop to find properties. (Axel Forsman, closes #5761,
            closes #5663)

4 years agopatch 8.2.0371: crash with combination of terminal popup and autocmd v8.2.0371
Bram Moolenaar [Wed, 11 Mar 2020 13:19:58 +0000 (14:19 +0100)]
patch 8.2.0371: crash with combination of terminal popup and autocmd

Problem:    Crash with combination of terminal popup and autocmd.
Solution:   Disallow closing a popup that is the current window.  Add a check
            that the current buffer is valid. (closes #5754)

4 years agopatch 8.2.0370: the typebuf_was_filled flag is sometimes not reset v8.2.0370
Bram Moolenaar [Wed, 11 Mar 2020 12:01:40 +0000 (13:01 +0100)]
patch 8.2.0370: the typebuf_was_filled flag is sometimes not reset

Problem:    The typebuf_was_filled flag is sometimes not reset, which may
            cause a hang.
Solution:   Make sure typebuf_was_filled is reset when the typeahead buffer is
            empty.

4 years agopatch 8.2.0369: various Normal mode commands not fully tested v8.2.0369
Bram Moolenaar [Tue, 10 Mar 2020 06:48:13 +0000 (07:48 +0100)]
patch 8.2.0369: various Normal mode commands not fully tested

Problem:    Various Normal mode commands not fully tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5751)

4 years agopatch 8.2.0368: Vim9: import that redefines local variable does not fail v8.2.0368
Bram Moolenaar [Mon, 9 Mar 2020 18:25:27 +0000 (19:25 +0100)]
patch 8.2.0368: Vim9: import that redefines local variable does not fail

Problem:    Vim9: import that redefines local variable does not fail.
Solution:   Check for already defined symbols.

4 years agopatch 8.2.0367: can use :pedit in a popup window v8.2.0367
Bram Moolenaar [Mon, 9 Mar 2020 15:40:41 +0000 (16:40 +0100)]
patch 8.2.0367: can use :pedit in a popup window

Problem:    Can use :pedit in a popup window.
Solution:   Disallow it.

4 years agopatch 8.2.0366: hardcopy command not tested enough v8.2.0366
Bram Moolenaar [Mon, 9 Mar 2020 11:13:27 +0000 (12:13 +0100)]
patch 8.2.0366: hardcopy command not tested enough

Problem:    Hardcopy command not tested enough.
Solution:   Add tests for printing. (Dominique Pelle, closes #5748)

4 years agopatch 8.2.0365: tag kind can't be a multi-byte character v8.2.0365
Bram Moolenaar [Mon, 9 Mar 2020 07:17:52 +0000 (08:17 +0100)]
patch 8.2.0365: tag kind can't be a multi-byte character

Problem:    Tag kind can't be a multi-byte character. (Marcin Szamotulski)
Solution:   Recognize multi-byte character. (closes #5724)

4 years agopatch 8.2.0364: printf test failing on Haiku v8.2.0364
Bram Moolenaar [Sun, 8 Mar 2020 17:41:09 +0000 (18:41 +0100)]
patch 8.2.0364: printf test failing on Haiku

Problem:    Printf test failing on Haiku.
Solution:   Make a difference between int and short. (Dominique Pelle,
            closes #5749)

4 years agopatch 8.2.0363: some Normal mode commands not tested v8.2.0363
Bram Moolenaar [Sun, 8 Mar 2020 04:13:15 +0000 (05:13 +0100)]
patch 8.2.0363: some Normal mode commands not tested

Problem:    Some Normal mode commands not tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5746)

4 years agopatch 8.2.0362: MS-Windows: channel test fails if grep is not available v8.2.0362
Bram Moolenaar [Sat, 7 Mar 2020 16:24:59 +0000 (17:24 +0100)]
patch 8.2.0362: MS-Windows: channel test fails if grep is not available

Problem:    MS-Windows: channel test fails if grep is not available.
Solution:   Use another command. (Ken Takata, closes #5739)

4 years agopatch 8.2.0361: internal error when using "0" for a callback v8.2.0361
Bram Moolenaar [Sat, 7 Mar 2020 15:59:25 +0000 (16:59 +0100)]
patch 8.2.0361: internal error when using "0" for a callback

Problem:    Internal error when using "0" for a callback.
Solution:   Give a normal error. (closes #5743)

4 years agopatch 8.2.0360: yaml files are only recognized by the file extension v8.2.0360
Bram Moolenaar [Fri, 6 Mar 2020 21:25:56 +0000 (22:25 +0100)]
patch 8.2.0360: yaml files are only recognized by the file extension

Problem:    Yaml files are only recognized by the file extension.
Solution:   Check for a line starting with "%YAML". (Jason Franklin)

4 years agopatch 8.2.0359: popup_atcursor() may hang v8.2.0359
Bram Moolenaar [Fri, 6 Mar 2020 20:43:17 +0000 (21:43 +0100)]
patch 8.2.0359: popup_atcursor() may hang

Problem:    popup_atcursor() may hang. (Yasuhiro Matsumoto)
Solution:   Take the decoration into account. (closes #5728)

4 years agopatch 8.2.0358: insufficient testing for indent.c v8.2.0358
Bram Moolenaar [Fri, 6 Mar 2020 19:36:04 +0000 (20:36 +0100)]
patch 8.2.0358: insufficient testing for indent.c

Problem:    Insufficient testing for indent.c.
Solution:   Add indent tests. (Yegappan Lakshmanan, closes #5736)

4 years agopatch 8.2.0357: cannot delete a text property matching both id and type v8.2.0357
Bram Moolenaar [Thu, 5 Mar 2020 20:52:55 +0000 (21:52 +0100)]
patch 8.2.0357: cannot delete a text property matching both id and type

Problem:    Cannot delete a text property matching both id and type. (Axel
            Forsman)
Solution:   Add the "both" argument.

4 years agopatch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSI v8.2.0356
Bram Moolenaar [Wed, 4 Mar 2020 22:21:35 +0000 (23:21 +0100)]
patch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSI

Problem:    MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
Solution:   Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
            Takata, closes #5726)

4 years agopatch 8.2.0355: Vim9: str_val is confusing, it's a number v8.2.0355
Bram Moolenaar [Wed, 4 Mar 2020 21:20:26 +0000 (22:20 +0100)]
patch 8.2.0355: Vim9: str_val is confusing, it's a number

Problem:    Vim9: str_val is confusing, it's a number
Solution:   Rename to stnr_val.

4 years agopatch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL v8.2.0354
Bram Moolenaar [Wed, 4 Mar 2020 21:06:07 +0000 (22:06 +0100)]
patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL

Problem:    Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
Solution:   Remove it, it was only for debugging.

4 years agopatch 8.2.0353: Vim9: while loop not tested v8.2.0353
Bram Moolenaar [Wed, 4 Mar 2020 20:50:46 +0000 (21:50 +0100)]
patch 8.2.0353: Vim9: while loop not tested

Problem:    Vim9: while loop not tested.
Solution:   Add test with "while", "break" and "continue"

4 years agopatch 8.2.0352: FreeBSD: test for sourcing utf-8 is skipped v8.2.0352
Bram Moolenaar [Tue, 3 Mar 2020 22:06:48 +0000 (23:06 +0100)]
patch 8.2.0352: FreeBSD: test for sourcing utf-8 is skipped

Problem:    FreeBSD: test for sourcing utf-8 is skipped.
Solution:   Run the matchadd_conceal test separately to avoid that setting
            'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
            closes #5721)

4 years agopatch 8.2.0351: terminal in popup test is still a bit flaky v8.2.0351
Bram Moolenaar [Tue, 3 Mar 2020 21:56:39 +0000 (22:56 +0100)]
patch 8.2.0351: terminal in popup test is still a bit flaky

Problem:    Terminal in popup test is still a bit flaky.
Solution:   Clear and redraw before opening the popup.

4 years agopatch 8.2.0350: Vim9: expression tests don't use recognized constants v8.2.0350
Bram Moolenaar [Tue, 3 Mar 2020 20:53:32 +0000 (21:53 +0100)]
patch 8.2.0350: Vim9: expression tests don't use recognized constants

Problem:    Vim9: expression tests don't use recognized constants.
Solution:   Recognize "true" and "false" as constants.  Make skipping work for
            assignment and expression evaluation.

4 years agopatch 8.2.0349: Vim9: constant expression not well tested v8.2.0349
Bram Moolenaar [Tue, 3 Mar 2020 18:02:12 +0000 (19:02 +0100)]
patch 8.2.0349: Vim9: constant expression not well tested

Problem:    Vim9: constant expression not well tested.
Solution:   Add tests for "if" with constant expression.

4 years agopatch 8.2.0348: Vim9: not all code tested v8.2.0348
Bram Moolenaar [Mon, 2 Mar 2020 21:53:32 +0000 (22:53 +0100)]
patch 8.2.0348: Vim9: not all code tested

Problem:    Vim9: not all code tested.
Solution:   Add a few more tests. fix using "b:" in literal dictionary.

4 years agopatch 8.2.0347: various code not covered by tests v8.2.0347
Bram Moolenaar [Mon, 2 Mar 2020 19:54:22 +0000 (20:54 +0100)]
patch 8.2.0347: various code not covered by tests

Problem:    Various code not covered by tests.
Solution:   Add more test coverage. (Yegappan Lakshmanan, closes #5720)

4 years agopatch 8.2.0346: Vim9: finding common list type not tested v8.2.0346
Bram Moolenaar [Sun, 1 Mar 2020 22:32:25 +0000 (23:32 +0100)]
patch 8.2.0346: Vim9: finding common list type not tested

Problem:    Vim9: finding common list type not tested.
Solution:   Add more tests.  Fix listing function.  Fix overwriting type.

4 years agopatch 8.2.0345: compiler warning when building without the float feature v8.2.0345
Bram Moolenaar [Sun, 1 Mar 2020 19:34:26 +0000 (20:34 +0100)]
patch 8.2.0345: compiler warning when building without the float feature

Problem:    Compiler warning when building without the float feature.
Solution:   Add #ifdef. (John Marriott)

4 years agopatch 8.2.0344: ":def" not skipped properly v8.2.0344
Bram Moolenaar [Sun, 1 Mar 2020 18:41:43 +0000 (19:41 +0100)]
patch 8.2.0344: ":def" not skipped properly

Problem:    ":def" not skipped properly.
Solution:   Add CMD_def to list of commands the require evaluation even when
            not being executed.

4 years agoUpdate runtime files
Bram Moolenaar [Sun, 1 Mar 2020 18:06:45 +0000 (19:06 +0100)]
Update runtime files

4 years agopatch 8.2.0343: Vim9: using wrong instruction, limited test coverage v8.2.0343
Bram Moolenaar [Sun, 1 Mar 2020 16:55:14 +0000 (17:55 +0100)]
patch 8.2.0343: Vim9: using wrong instruction, limited test coverage

Problem:    Vim9: using wrong instruction, limited test coverage.
Solution:   Use ISN_PUSHJOB.  Add a few more tests.

4 years agopatch 8.2.0342: some code in ex_getln.c not covered by tests v8.2.0342
Bram Moolenaar [Sun, 1 Mar 2020 15:53:09 +0000 (16:53 +0100)]
patch 8.2.0342: some code in ex_getln.c not covered by tests

Problem:    Some code in ex_getln.c not covered by tests.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5717)

4 years agopatch 8.2.0341: using ":for" in Vim9 script gives an error v8.2.0341
Bram Moolenaar [Sun, 1 Mar 2020 15:22:40 +0000 (16:22 +0100)]
patch 8.2.0341: using ":for" in Vim9 script gives an error

Problem:    Using ":for" in Vim9 script gives an error.
Solution:   Pass the LET_NO_COMMAND flag. (closes #5715)

4 years agopatch 8.2.0340: Vim9: function and partial types not tested v8.2.0340
Bram Moolenaar [Sun, 1 Mar 2020 14:36:42 +0000 (15:36 +0100)]
patch 8.2.0340: Vim9: function and partial types not tested

Problem:    Vim9: function and partial types not tested.
Solution:   Support more for partial, add tests.

4 years agopatch 8.2.0339: Vim9: function return type may depend on arguments v8.2.0339
Bram Moolenaar [Sun, 1 Mar 2020 13:04:46 +0000 (14:04 +0100)]
patch 8.2.0339: Vim9: function return type may depend on arguments

Problem:    Vim9: function return type may depend on arguments.
Solution:   Instead of a fixed return type use a function to figure out the
            return type.

4 years agopatch 8.2.0338: build failure without the channel feature v8.2.0338
Bram Moolenaar [Sun, 1 Mar 2020 12:01:16 +0000 (13:01 +0100)]
patch 8.2.0338: build failure without the channel feature

Problem:    Build failure without the channel feature.
Solution:   Add #ifdef

4 years agopatch 8.2.0337: build fails on a few systems v8.2.0337
Bram Moolenaar [Sun, 1 Mar 2020 00:05:53 +0000 (01:05 +0100)]
patch 8.2.0337: build fails on a few systems

Problem:    Build fails on a few systems.
Solution:   Use vim_snprintf() instead of snprintf().

4 years agopatch 8.2.0336: Vim9: insufficient test coverage for compiling v8.2.0336
Bram Moolenaar [Sat, 29 Feb 2020 22:23:47 +0000 (23:23 +0100)]
patch 8.2.0336: Vim9: insufficient test coverage for compiling

Problem:    Vim9: insufficient test coverage for compiling.
Solution:   Add more tests.

4 years agopatch 8.2.0335: no completion for :disassemble v8.2.0335
Bram Moolenaar [Sat, 29 Feb 2020 21:06:30 +0000 (22:06 +0100)]
patch 8.2.0335: no completion for :disassemble

Problem:    No completion for :disassemble.
Solution:   Make completion work.  Also complete script-local functions if the
            name starts with "s:".

4 years agopatch 8.2.0334: abort called when using test_void() v8.2.0334
Bram Moolenaar [Sat, 29 Feb 2020 16:38:12 +0000 (17:38 +0100)]
patch 8.2.0334: abort called when using test_void()

Problem:    Abort called when using test_void(). (Dominique Pelle)
Solution:   Only give an error, don't abort.

5 years agopatch 8.2.0333: terminal in popup test is flaky v8.2.0333
Bram Moolenaar [Sat, 29 Feb 2020 15:09:16 +0000 (16:09 +0100)]
patch 8.2.0333: terminal in popup test is flaky

Problem:    Terminal in popup test is flaky.
Solution:   Make sure redraw is done before opening the popup.

5 years agopatch 8.2.0332: some code in ex_getln.c not covered by tests v8.2.0332
Bram Moolenaar [Sat, 29 Feb 2020 13:23:58 +0000 (14:23 +0100)]
patch 8.2.0332: some code in ex_getln.c not covered by tests

Problem:    Some code in ex_getln.c not covered by tests.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #5710)

5 years agopatch 8.2.0331: internal error when using test_void() and test_unknown() v8.2.0331
Bram Moolenaar [Sat, 29 Feb 2020 12:43:27 +0000 (13:43 +0100)]
patch 8.2.0331: internal error when using test_void() and test_unknown()

Problem:    Internal error when using test_void() and test_unknown().
            (Dominique Pelle)
Solution:   Give a normal error.

5 years agopatch 8.2.0330: build error with popup window but without terminal v8.2.0330
Bram Moolenaar [Fri, 28 Feb 2020 21:51:54 +0000 (22:51 +0100)]
patch 8.2.0330: build error with popup window but without terminal

Problem:    Build error with popup window but without terminal.
Solution:   Add #ifdef.

5 years agopatch 8.2.0329: popup filter converts 0x80 bytes v8.2.0329
Bram Moolenaar [Fri, 28 Feb 2020 21:44:47 +0000 (22:44 +0100)]
patch 8.2.0329: popup filter converts 0x80 bytes

Problem:    Popup filter converts 0x80 bytes.
Solution:   Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)

5 years agopatch 8.2.0328: no redraw when leaving term-normal mode in popup terminal v8.2.0328
Bram Moolenaar [Fri, 28 Feb 2020 21:20:10 +0000 (22:20 +0100)]
patch 8.2.0328: no redraw when leaving term-normal mode in popup terminal

Problem:    No redraw when leaving terminal-normal mode in a terminal popup
            window.
Solution:   Redraw the popup window. (closes #5708)

5 years agopatch 8.2.0327: crash when opening and closing two popup terminal windows v8.2.0327
Bram Moolenaar [Fri, 28 Feb 2020 18:11:18 +0000 (19:11 +0100)]
patch 8.2.0327: crash when opening and closing two popup terminal windows

Problem:    Crash when opening and closing two popup terminal windows.
Solution:   Check that prevwin is valid. (closes #5707)

5 years agopatch 8.2.0326: compiler warning for using uninitialized variable v8.2.0326
Bram Moolenaar [Thu, 27 Feb 2020 20:48:51 +0000 (21:48 +0100)]
patch 8.2.0326: compiler warning for using uninitialized variable

Problem:    Compiler warning for using uninitialized variable. (Yegappan
            Lakshmanan)
Solution:   Do not jump to failed but return.

5 years agopatch 8.2.0325: ex_getln.c code not covered by tests v8.2.0325
Bram Moolenaar [Thu, 27 Feb 2020 20:32:51 +0000 (21:32 +0100)]
patch 8.2.0325: ex_getln.c code not covered by tests

Problem:    Ex_getln.c code not covered by tests.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #5702)

5 years agopatch 8.2.0324: text property not updated correctly when inserting/deleting v8.2.0324
Bram Moolenaar [Wed, 26 Feb 2020 21:06:00 +0000 (22:06 +0100)]
patch 8.2.0324: text property not updated correctly when inserting/deleting

Problem:    Text property not updated correctly when inserting/deleting.
Solution:   Use the right column when deleting. Make zero-width text
            properties respect start_incl and end_incl. (Axel Forsman,
            closes #5696, closes #5679)

5 years agopatch 8.2.0323: Vim9: calling a function that is defined later is slow v8.2.0323
Bram Moolenaar [Wed, 26 Feb 2020 20:24:23 +0000 (21:24 +0100)]
patch 8.2.0323: Vim9: calling a function that is defined later is slow

Problem:    Vim9: calling a function that is defined later is slow.
Solution:   Once the function is found update the instruction so it can be
            called directly.

5 years agopatch 8.2.0322: Vim9: error checks not tested v8.2.0322
Bram Moolenaar [Wed, 26 Feb 2020 19:15:18 +0000 (20:15 +0100)]
patch 8.2.0322: Vim9: error checks not tested

Problem:    Vim9: error checks not tested.
Solution:   Add more test cases.  Avoid error for function loaded later.

5 years agopatch 8.2.0321: Vim9: ":execute" does not work yet v8.2.0321
Bram Moolenaar [Wed, 26 Feb 2020 17:23:43 +0000 (18:23 +0100)]
patch 8.2.0321: Vim9: ":execute" does not work yet

Problem:    Vim9: ":execute" does not work yet.
Solution:   Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
            than one argument.

5 years agopatch 8.2.0320: no Haiku support v8.2.0320
Bram Moolenaar [Wed, 26 Feb 2020 15:16:53 +0000 (16:16 +0100)]
patch 8.2.0320: no Haiku support

Problem:    No Haiku support.
Solution:   Add support for Haiku. (Emir Sari, closes #5605)

5 years agopatch 8.2.0319: file missing in distribution, comments outdated v8.2.0319
Bram Moolenaar [Wed, 26 Feb 2020 12:43:51 +0000 (13:43 +0100)]
patch 8.2.0319: file missing in distribution, comments outdated

Problem:    File missing in distribution, comments outdated.
Solution:   Correct path of README file.  Update comments.

5 years agoUpdate runtime files.
Bram Moolenaar [Wed, 26 Feb 2020 12:36:21 +0000 (13:36 +0100)]
Update runtime files.

5 years agopatch 8.2.0318: Vim9: types not sufficiently tested v8.2.0318
Bram Moolenaar [Tue, 25 Feb 2020 21:58:29 +0000 (22:58 +0100)]
patch 8.2.0318: Vim9: types not sufficiently tested

Problem:    Vim9: types not sufficiently tested.
Solution:   Add tests with more types.

5 years agopatch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build v8.2.0317
Bram Moolenaar [Tue, 25 Feb 2020 21:04:55 +0000 (22:04 +0100)]
patch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build

Problem:    MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
Solution:   Move where CFLAGS is updated. (Ken Takata, closes #5692)

5 years agopatch 8.2.0316: ex_getln.c code has insufficient test coverage v8.2.0316
Bram Moolenaar [Tue, 25 Feb 2020 20:47:45 +0000 (21:47 +0100)]
patch 8.2.0316: ex_getln.c code has insufficient test coverage

Problem:    ex_getln.c code has insufficient test coverage.
Solution:   Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)

5 years agopatch 8.2.0315: build failure on HP-UX system v8.2.0315
Bram Moolenaar [Tue, 25 Feb 2020 20:26:49 +0000 (21:26 +0100)]
patch 8.2.0315: build failure on HP-UX system

Problem:    Build failure on HP-UX system.
Solution:   Use LONG_LONG_MIN instead of LLONG_MIN.  Add type casts for switch
            statement. (John Marriott)

5 years agopatch 8.2.0314: short name not set for terminal buffer v8.2.0314
Bram Moolenaar [Mon, 24 Feb 2020 20:37:54 +0000 (21:37 +0100)]
patch 8.2.0314: short name not set for terminal buffer

Problem:    Short name not set for terminal buffer.
Solution:   Set the short name. (closes #5687)

5 years agopatch 8.2.0313: Vim9: insufficient script tests v8.2.0313
Bram Moolenaar [Sun, 23 Feb 2020 21:35:05 +0000 (22:35 +0100)]
patch 8.2.0313: Vim9: insufficient script tests

Problem:    Vim9: insufficient script tests.
Solution:   Add tests.  Make import of alphanumeric name work.

5 years agopatch 8.2.0312: Vim9: insufficient script tests v8.2.0312
Bram Moolenaar [Sun, 23 Feb 2020 20:25:54 +0000 (21:25 +0100)]
patch 8.2.0312: Vim9: insufficient script tests

Problem:    Vim9: insufficient script tests.
Solution:   Add more tests.  Make "import * as Name" work.

5 years agopatch 8.2.0311: Vim9: insufficient script tests v8.2.0311
Bram Moolenaar [Sun, 23 Feb 2020 17:08:33 +0000 (18:08 +0100)]
patch 8.2.0311: Vim9: insufficient script tests

Problem:    Vim9: insufficient script tests.
Solution:   Add tests.  Free imports when re-using a script.

5 years agopatch 8.2.0310: autocmd test fails on a slow system v8.2.0310
Bram Moolenaar [Sun, 23 Feb 2020 15:16:26 +0000 (16:16 +0100)]
patch 8.2.0310: autocmd test fails on a slow system

Problem:    Autocmd test fails on a slow system.
Solution:   Adjust the expectations. (James McCoy, closes #5685)

5 years agopatch 8.2.0309: window-local values have confusing name v8.2.0309
Bram Moolenaar [Sun, 23 Feb 2020 14:29:46 +0000 (15:29 +0100)]
patch 8.2.0309: window-local values have confusing name

Problem:    Window-local values have confusing name.
Solution:   Rename w_p_bri* to w_briopt_*.

5 years agopatch 8.2.0308: 'showbreak' does not work for a very long line v8.2.0308
Bram Moolenaar [Sun, 23 Feb 2020 14:17:27 +0000 (15:17 +0100)]
patch 8.2.0308: 'showbreak' does not work for a very long line

Problem:    'showbreak' does not work for a very long line. (John Little)
Solution:   Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
            closes #5684)

5 years agopatch 8.2.0307: Python 3 vim.eval not well tested v8.2.0307
Bram Moolenaar [Sun, 23 Feb 2020 14:10:16 +0000 (15:10 +0100)]
patch 8.2.0307: Python 3 vim.eval not well tested

Problem:    Python 3 vim.eval not well tested.
Solution:   Add a test. (Dominique Pelle, closes #5680)

5 years agopatch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 script v8.2.0306
Bram Moolenaar [Sun, 23 Feb 2020 13:35:01 +0000 (14:35 +0100)]
patch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 script

Problem:    Vim9: :substitute(pat(repl does not work in Vim9 script.
Solution:   Remember starting with a colon. (closes #5676)

5 years agopatch 8.2.0305: relativenumber test fails on some systems v8.2.0305
Bram Moolenaar [Sun, 23 Feb 2020 12:38:08 +0000 (13:38 +0100)]
patch 8.2.0305: relativenumber test fails on some systems

Problem:    Relativenumber test fails on some systems. (James McCoy)
Solution:   Clear the command line.

5 years agopatch 8.2.0304: terminal test if failing on some systems v8.2.0304
Bram Moolenaar [Sun, 23 Feb 2020 12:29:31 +0000 (13:29 +0100)]
patch 8.2.0304: terminal test if failing on some systems

Problem:    Terminal test if failing on some systems.
Solution:   Wait for the job to finish. (James McCoy)

5 years agopatch 8.2.0303: TermChanged test fails in the GUI v8.2.0303
Bram Moolenaar [Sat, 22 Feb 2020 22:08:52 +0000 (23:08 +0100)]
patch 8.2.0303: TermChanged test fails in the GUI

Problem:    TermChanged test fails in the GUI.
Solution:   Skip the test when running the GUI.

5 years agopatch 8.2.0302: setting 'term' may cause error in TermChanged autocommand v8.2.0302
Bram Moolenaar [Sat, 22 Feb 2020 21:45:55 +0000 (22:45 +0100)]
patch 8.2.0302: setting 'term' may cause error in TermChanged autocommand

Problem:    Setting 'term' may cause error in TermChanged autocommand.
Solution:   Use aucmd_prepbuf() to switch to the buffer where the autocommand
            is to be executed. (closes #5682)

5 years agopatch 8.2.0301: insufficient testing for exception handling v8.2.0301
Bram Moolenaar [Sat, 22 Feb 2020 20:21:27 +0000 (21:21 +0100)]
patch 8.2.0301: insufficient testing for exception handling

Problem:    Insufficient testing for exception handling and the "attention"
            prompt.
Solution:   Add test cases. (Yegappan Lakshmanan, closes #5681)

5 years agopatch 8.2.0300: Vim9: expression test fails without channel support v8.2.0300
Bram Moolenaar [Sat, 22 Feb 2020 19:33:08 +0000 (20:33 +0100)]
patch 8.2.0300: Vim9: expression test fails without channel support

Problem:    Vim9: expression test fails without channel support.
Solution:   Add has('channel') check.

5 years agopatch 8.2.0299: Vim9: ISN_STORE with argument not tested v8.2.0299
Bram Moolenaar [Sat, 22 Feb 2020 18:07:28 +0000 (19:07 +0100)]
patch 8.2.0299: Vim9: ISN_STORE with argument not tested

Problem:    Vim9: ISN_STORE with argument not tested.  Some cases in tv2bool()
            not tested.
Solution:   Add tests.  Add test_unknown() and test_void().

5 years agopatch 8.2.0298: Vim9 script: cannot start command with a string constant v8.2.0298
Bram Moolenaar [Sat, 22 Feb 2020 17:36:32 +0000 (18:36 +0100)]
patch 8.2.0298: Vim9 script: cannot start command with a string constant

Problem:    Vim9 script: cannot start command with a string constant.
Solution:   Recognize expression starting with '('.

5 years agopatch 8.2.0297: compiler warnings for the Ruby interface v8.2.0297
Bram Moolenaar [Sat, 22 Feb 2020 14:01:00 +0000 (15:01 +0100)]
patch 8.2.0297: compiler warnings for the Ruby interface

Problem:    Compiler warnings for the Ruby interface.
Solution:   Undefine a few macros, fix initialization. (Ozaki Kiichi,
            closes #5677)

5 years agopatch 8.2.0296: mixing up "long long" and __int64 may cause problems v8.2.0296
Bram Moolenaar [Sat, 22 Feb 2020 13:27:04 +0000 (14:27 +0100)]
patch 8.2.0296: mixing up "long long" and __int64 may cause problems

Problem:    Mixing up "long long" and __int64 may cause problems. (John
            Marriott)
Solution:   Pass varnumber_T to vim_snprintf().  Add v:numbersize.

5 years agopatch 8.2.0295: highlighting for :s wrong when using different separator v8.2.0295
Bram Moolenaar [Fri, 21 Feb 2020 20:30:52 +0000 (21:30 +0100)]
patch 8.2.0295: highlighting for :s wrong when using different separator

Problem:    Highlighting for :s wrong when using different separator.
Solution:   Use separat argument for search direction and separator. (Rob
            Pilling, closes #5665)

5 years agopatch 8.2.0294: cannot use Ex command that is also a function name v8.2.0294
Bram Moolenaar [Fri, 21 Feb 2020 17:42:43 +0000 (18:42 +0100)]
patch 8.2.0294: cannot use Ex command that is also a function name

Problem:    Cannot use Ex command that is also a function name.
Solution:   Recognize an Ex command by a colon prefix.

5 years agopatch 8.2.0293: various Ex commands not sufficiently tested v8.2.0293
Bram Moolenaar [Fri, 21 Feb 2020 16:54:45 +0000 (17:54 +0100)]
patch 8.2.0293: various Ex commands not sufficiently tested

Problem:    Various Ex commands not sufficiently tested.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes #5673)

5 years agopatch 8.2.0292: Vim9: CHECKNR and CHECKTYPE instructions not tested v8.2.0292
Bram Moolenaar [Thu, 20 Feb 2020 22:08:34 +0000 (23:08 +0100)]
patch 8.2.0292: Vim9: CHECKNR and CHECKTYPE instructions not tested

Problem:    Vim9: CHECKNR and CHECKTYPE instructions not tested.
Solution:   Add tests.

5 years agopatch 8.2.0291: Vim9: assigning [] to list<string> doesn't work v8.2.0291
Bram Moolenaar [Thu, 20 Feb 2020 21:54:43 +0000 (22:54 +0100)]
patch 8.2.0291: Vim9: assigning [] to list<string> doesn't work

Problem:    Vim9: assigning [] to list<string> doesn't work.
Solution:   Use void for empty list and dict. (Ken Takata, closes #5669)

5 years agopatch 8.2.0290: running individual test differs from all tests v8.2.0290
Bram Moolenaar [Thu, 20 Feb 2020 21:35:02 +0000 (22:35 +0100)]
patch 8.2.0290: running individual test differs from all tests

Problem:    Running individual test differs from all tests.
Solution:   Pass on environment variables. (Yee Cheng Chin, closes #5672)

5 years agopatch 8.2.0289: Vim9: :echo did not clear the rest of the line v8.2.0289
Bram Moolenaar [Thu, 20 Feb 2020 21:18:06 +0000 (22:18 +0100)]
patch 8.2.0289: Vim9: :echo did not clear the rest of the line

Problem:    Vim9: :echo did not clear the rest of the line.
Solution:   Call msg_clr_eos(). (Ken Takata, closes #5668)

5 years agopatch 8.2.0288: Vim9: some float and blob operators not tested v8.2.0288
Bram Moolenaar [Thu, 20 Feb 2020 21:14:31 +0000 (22:14 +0100)]
patch 8.2.0288: Vim9: some float and blob operators not tested

Problem:    Vim9: some float and blob operators not tested.
Solution:   Add float and blob tests.  Fix addition.

5 years agopatch 8.2.0287: Vim9: return in try block not tested; catch not tested v8.2.0287
Bram Moolenaar [Thu, 20 Feb 2020 19:41:06 +0000 (20:41 +0100)]
patch 8.2.0287: Vim9: return in try block not tested; catch not tested

Problem:    Vim9: return in try block not tested; catch with pattern not
            tested.
Solution:   Add tests.  Make it work.

5 years agopatch 8.2.0286: cannot use popup_close() for a terminal popup v8.2.0286
Bram Moolenaar [Thu, 20 Feb 2020 19:12:29 +0000 (20:12 +0100)]
patch 8.2.0286: cannot use popup_close() for a terminal popup

Problem:    Cannot use popup_close() for a terminal popup.
Solution:   Allow using popup_close(). (closes #5666)

5 years agopatch 8.2.0285: unused error message; cannot create s:var v8.2.0285
Bram Moolenaar [Wed, 19 Feb 2020 21:31:48 +0000 (22:31 +0100)]
patch 8.2.0285: unused error message; cannot create s:var

Problem:    Unused error message. Cannot create s:var.
Solution:   Remove the error message. Make assignment to s:var work.

5 years agopatch 8.2.0284: Vim9: assignment test fails v8.2.0284
Bram Moolenaar [Wed, 19 Feb 2020 20:12:40 +0000 (21:12 +0100)]
patch 8.2.0284: Vim9: assignment test fails

Problem:    Vim9: assignment test fails.
Solution:   Avoid duplicating "s:".

5 years agopatch 8.2.0283: Vim9: failing to load script var not tested v8.2.0283
Bram Moolenaar [Wed, 19 Feb 2020 19:23:11 +0000 (20:23 +0100)]
patch 8.2.0283: Vim9: failing to load script var not tested

Problem:    Vim9: failing to load script var not tested.
Solution:   Add more tests.   Fix using s: in old script.

5 years agopatch 8.2.0282: Vim9: setting number option not tested v8.2.0282
Bram Moolenaar [Wed, 19 Feb 2020 17:14:44 +0000 (18:14 +0100)]
patch 8.2.0282: Vim9: setting number option not tested

Problem:    Vim9: setting number option not tested.
Solution:   Add more tests.   Fix assigning to global variable.

5 years agopatch 8.2.0281: two placed signs in the same line are not combined v8.2.0281
Bram Moolenaar [Wed, 19 Feb 2020 16:13:04 +0000 (17:13 +0100)]
patch 8.2.0281: two placed signs in the same line are not combined

Problem:    Two placed signs in the same line are not combined.  E.g. in the
            terminal debugger a breakpoint and the PC cannot be both be
            displayed.
Solution:   Combine the sign column and line highlight attributes.

5 years agopatch 8.2.0280: Vim9: throw in :def function not caught higher up v8.2.0280
Bram Moolenaar [Wed, 19 Feb 2020 16:06:11 +0000 (17:06 +0100)]
patch 8.2.0280: Vim9: throw in :def function not caught higher up

Problem:    Vim9: throw in :def function not caught higher up.
Solution:   Set "need_rethrow".

5 years agopatch 8.2.0279: Vim9: no test for deleted :def function v8.2.0279
Bram Moolenaar [Wed, 19 Feb 2020 14:46:48 +0000 (15:46 +0100)]
patch 8.2.0279: Vim9: no test for deleted :def function

Problem:    Vim9: no test for deleted :def function.
Solution:   Add a test.  Clear uf_cleared flag when redefining a function.

5 years agopatch 8.2.0278: channel test is flaky on Mac v8.2.0278
Bram Moolenaar [Wed, 19 Feb 2020 13:31:33 +0000 (14:31 +0100)]
patch 8.2.0278: channel test is flaky on Mac

Problem:    Channel test is flaky on Mac.
Solution:   Reset variable before sending message.

5 years agopatch 8.2.0277: Vim9: not all instructions covered by tests v8.2.0277
Bram Moolenaar [Wed, 19 Feb 2020 13:17:18 +0000 (14:17 +0100)]
patch 8.2.0277: Vim9: not all instructions covered by tests

Problem:    Vim9: not all instructions covered by tests.
Solution:   Add more test cases.

5 years agopatch 8.2.0276: Vim9: not allowing space before ")" in function call v8.2.0276
Bram Moolenaar [Wed, 19 Feb 2020 11:40:39 +0000 (12:40 +0100)]
patch 8.2.0276: Vim9: not allowing space before ")" in function call

Problem:    Vim9: not allowing space before ")" in function call is too
            restrictive. (Ben Jackson)
Solution:   Skip space before the ")".  Adjust other space checks.