]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.1478: still an error when running tests with the tiny version v8.1.1478
Bram Moolenaar [Thu, 6 Jun 2019 12:28:54 +0000 (14:28 +0200)]
patch 8.1.1478: still an error when running tests with the tiny version

Problem:    Still an error when running tests with the tiny version.
Solution:   Do not try reading test.log

5 years agopatch 8.1.1477: test summary fails in the tiny version v8.1.1477
Bram Moolenaar [Thu, 6 Jun 2019 12:08:50 +0000 (14:08 +0200)]
patch 8.1.1477: test summary fails in the tiny version

Problem:    Test summary fails in the tiny version.
Solution:   set 'nocompatible'.

5 years agopatch 8.1.1476: no statistics displayed after running tests v8.1.1476
Bram Moolenaar [Thu, 6 Jun 2019 11:38:15 +0000 (13:38 +0200)]
patch 8.1.1476: no statistics displayed after running tests

Problem:    No statistics displayed after running tests.
Solution:   Summarize the test results. (Christian Brabandt, closes #4391)
            Also make it possible to report a skipped file.

5 years agopatch 8.1.1475: search string not displayed when 'rightleft' is set v8.1.1475
Bram Moolenaar [Thu, 6 Jun 2019 10:49:29 +0000 (12:49 +0200)]
patch 8.1.1475: search string not displayed when 'rightleft' is set

Problem:    Search string not displayed when 'rightleft' is set.
Solution:   Clear the right part of the old text. (closes #4488, closes #4489)

5 years agopatch 8.1.1474: 'ttybuiltin' is not tested v8.1.1474
Bram Moolenaar [Thu, 6 Jun 2019 10:36:15 +0000 (12:36 +0200)]
patch 8.1.1474: 'ttybuiltin' is not tested

Problem:    'ttybuiltin' is not tested.
Solution:   At least test that it doesn't break things.

5 years agopatch 8.1.1473: new resolve() implementation causes problem for plugins v8.1.1473
Bram Moolenaar [Thu, 6 Jun 2019 10:22:41 +0000 (12:22 +0200)]
patch 8.1.1473: new resolve() implementation causes problem for plugins

Problem:    New resolve() implementation causes problem for plugins.
Solution:   Only resolve a resparse point after checking it is needed. (Ken
            Takata, closes #4492)

5 years agoUpdate runtime files.
Bram Moolenaar [Thu, 6 Jun 2019 10:14:49 +0000 (12:14 +0200)]
Update runtime files.

5 years agopatch 8.1.1472: add_termcap_entry() is not tested v8.1.1472
Bram Moolenaar [Thu, 6 Jun 2019 09:59:18 +0000 (11:59 +0200)]
patch 8.1.1472: add_termcap_entry() is not tested

Problem:    Add_termcap_entry() is not tested.
Solution:   Add a simple test.

5 years agopatch 8.1.1471: 'background' not correctly set for 2-digit rgb termresponse v8.1.1471
Bram Moolenaar [Wed, 5 Jun 2019 20:57:04 +0000 (22:57 +0200)]
patch 8.1.1471: 'background' not correctly set for 2-digit rgb termresponse

Problem:    'background' not correctly set for 2-digit rgb termresponse.
Solution:   Adjust what digit to use. (closes #4495)

5 years agopatch 8.1.1470: new Unicode character U32FF missing from double-width table v8.1.1470
Bram Moolenaar [Wed, 5 Jun 2019 20:46:13 +0000 (22:46 +0200)]
patch 8.1.1470: new Unicode character U32FF missing from double-width table

Problem:    New Unicode character U32FF missing from double-width table.
Solution:   Add the character.

5 years agopatch 8.1.1469: no test for checking the cursor style response v8.1.1469
Bram Moolenaar [Wed, 5 Jun 2019 20:07:51 +0000 (22:07 +0200)]
patch 8.1.1469: no test for checking the cursor style response

Problem:    No test for checking the cursor style response.
Solution:   Add a simple test.  Also include the missing part of 8.1.1464.

5 years agopatch 8.1.1468: the generated desktop files may be invalid v8.1.1468
Bram Moolenaar [Wed, 5 Jun 2019 19:25:34 +0000 (21:25 +0200)]
patch 8.1.1468: the generated desktop files may be invalid

Problem:    The generated desktop files may be invalid.
Solution:   Check validity with desktop-file-validate. (Christian Brabandt,
            Will Thompson, closes #4480)

5 years agopatch 8.1.1467: cscope test fails v8.1.1467
Bram Moolenaar [Tue, 4 Jun 2019 21:20:23 +0000 (23:20 +0200)]
patch 8.1.1467: cscope test fails

Problem:    Cscope test fails.
Solution:   Update expected text.

5 years agopatch 8.1.1466: not updating priority on existing sign v8.1.1466
Bram Moolenaar [Tue, 4 Jun 2019 20:48:15 +0000 (22:48 +0200)]
patch 8.1.1466: not updating priority on existing sign

Problem:    Not updating priority on existing sign.
Solution:   Set the sign priority.  Add a test. (Yegappan Lakshmanan)

5 years agopatch 8.1.1465: allocating wrong amount of memory v8.1.1465
Bram Moolenaar [Tue, 4 Jun 2019 20:29:10 +0000 (22:29 +0200)]
patch 8.1.1465: allocating wrong amount of memory

Problem:    Allocating wrong amount of memory. (Yegappan Lakshmanan)
Solution:   Use sizeof() for right type of struct.

5 years agopatch 8.1.1464: only 4-digit rgb termresponse is recognized v8.1.1464
Bram Moolenaar [Tue, 4 Jun 2019 19:41:28 +0000 (21:41 +0200)]
patch 8.1.1464: only 4-digit rgb termresponse is recognized

Problem:    Only 4-digit rgb termresponse is recognized.
Solution:   Also recognize 2-digit rgb response. (closes #4486)

5 years agopatch 8.1.1463: gcc warns for uninitialized variable v8.1.1463
Bram Moolenaar [Tue, 4 Jun 2019 17:16:29 +0000 (19:16 +0200)]
patch 8.1.1463: gcc warns for uninitialized variable

Problem:    Gcc warns for uninitialized variable.
Solution:   Put usage inside "if".  (Ken Takata)

5 years agopatch 8.1.1462: MS-Windows: using special character requires quoting v8.1.1462
Bram Moolenaar [Tue, 4 Jun 2019 06:22:53 +0000 (08:22 +0200)]
patch 8.1.1462: MS-Windows: using special character requires quoting

Problem:    MS-Windows: using special character requires quoting.
Solution:   Add quotes. (Ken Takata)

5 years agopatch 8.1.1461: tests do not run or are not reliable on some systems v8.1.1461
Bram Moolenaar [Mon, 3 Jun 2019 21:07:25 +0000 (23:07 +0200)]
patch 8.1.1461: tests do not run or are not reliable on some systems

Problem:    Tests do not run or are not reliable on some systems.
Solution:   Use "findstr" instead of "grep" on MS-Windows. Clear
            PROMPT_COMMAND in the terminal test. Delete temp file. Wait for
            output after executing a debug command. (Yegappan Lakshmanan,
            closes #4479)

5 years agopatch 8.1.1460: popup window border characters may be wrong v8.1.1460
Bram Moolenaar [Mon, 3 Jun 2019 20:53:30 +0000 (22:53 +0200)]
patch 8.1.1460: popup window border characters may be wrong

Problem:    Popup window border characters may be wrong.
Solution:   Reset the border characters for each popup.  Correct use of
            'ambiwidth'.

5 years agopatch 8.1.1459: popup window border looks bad when 'ambiwidth' is "double" v8.1.1459
Bram Moolenaar [Mon, 3 Jun 2019 20:21:27 +0000 (22:21 +0200)]
patch 8.1.1459: popup window border looks bad when 'ambiwidth' is "double"

Problem:    Popup window border looks bad when 'ambiwidth' is "double".
            (Yasuhiro Matsumoto)
Solution:   Only use line drawing characters when 'ambiwidth' is "single".
            (Ken Takata, closes #4477)

5 years agopatch 8.1.1458: crash when using gtags v8.1.1458
Bram Moolenaar [Mon, 3 Jun 2019 20:04:23 +0000 (22:04 +0200)]
patch 8.1.1458: crash when using gtags

Problem:    Crash when using gtags. (issue #4102)
Solution:   Check for negative row or col in screen_puts_len(). (Christian
            Brabandt)

5 years agopatch 8.1.1457: cannot reuse a buffer when loading a screen dump v8.1.1457
Bram Moolenaar [Mon, 3 Jun 2019 19:14:59 +0000 (21:14 +0200)]
patch 8.1.1457: cannot reuse a buffer when loading a screen dump

Problem:    Cannot reuse a buffer when loading a screen dump.
Solution:   Add the "bufnr" option.

5 years agopatch 8.1.1456: WinBar not redrawn after scrolling one line v8.1.1456
Bram Moolenaar [Sun, 2 Jun 2019 18:33:32 +0000 (20:33 +0200)]
patch 8.1.1456: WinBar not redrawn after scrolling one line

Problem:    WinBar not redrawn after scrolling one line.
Solution:   Exclude the winbar height when deciding what to redraw.
            (closes #4473)

5 years agopatch 8.1.1455: popup_atcursor() not completely implemented v8.1.1455
Bram Moolenaar [Sun, 2 Jun 2019 17:53:44 +0000 (19:53 +0200)]
patch 8.1.1455: popup_atcursor() not completely implemented

Problem:    Popup_atcursor() not completely implemented.
Solution:   Add the default for the "moved" property.

5 years agopatch 8.1.1454: build failure without the conceal feature v8.1.1454
Bram Moolenaar [Sun, 2 Jun 2019 17:02:27 +0000 (19:02 +0200)]
patch 8.1.1454: build failure without the conceal feature

Problem:    Build failure without the conceal feature.
Solution:   Remove #ifdef.

5 years agopatch 8.1.1453: popup window "moved" property not implemented yet v8.1.1453
Bram Moolenaar [Sun, 2 Jun 2019 16:40:06 +0000 (18:40 +0200)]
patch 8.1.1453: popup window "moved" property not implemented yet

Problem:    Popup window "moved" property not implemented yet.
Solution:   Implement it.

5 years agopatch 8.1.1452: line and col property of popup windows not properly checked v8.1.1452
Bram Moolenaar [Sun, 2 Jun 2019 14:51:21 +0000 (16:51 +0200)]
patch 8.1.1452: line and col property of popup windows not properly checked

Problem:    Line and col property of popup windows not properly checked.
Solution:   Check for "+" or "-" sign.

5 years agopatch 8.1.1451: CTRL-L does not clear screen with a popup window v8.1.1451
Bram Moolenaar [Sun, 2 Jun 2019 13:56:15 +0000 (15:56 +0200)]
patch 8.1.1451: CTRL-L does not clear screen with a popup window

Problem:    CTRL-L does not clear screen with a popup window.
Solution:   Do not change the type to NOT_VALID.  Redraw all windows.
            (closes #4471)

5 years agopatch 8.1.1450: popup window positioning wrong when using padding or borders v8.1.1450
Bram Moolenaar [Sun, 2 Jun 2019 13:34:29 +0000 (15:34 +0200)]
patch 8.1.1450: popup window positioning wrong when using padding or borders

Problem:    Popup window positioning wrong when using padding or borders.
Solution:   Fix computing the position.

5 years agopatch 8.1.1449: popup text truncated at end of screen v8.1.1449
Bram Moolenaar [Sun, 2 Jun 2019 12:49:56 +0000 (14:49 +0200)]
patch 8.1.1449: popup text truncated at end of screen

Problem:    Popup text truncated at end of screen.
Solution:   Move popup left if needed.  Add the "fixed" property to disable
            that. (Ben Jackson , closes #4466)

5 years agopatch 8.1.1448: statusline is sometimes drawn on top of popup v8.1.1448
Bram Moolenaar [Sun, 2 Jun 2019 12:12:11 +0000 (14:12 +0200)]
patch 8.1.1448: statusline is sometimes drawn on top of popup

Problem:    Statusline is sometimes drawn on top of popup.
Solution:   Redraw popups after the statusline. (Naruhiko Nishino,
            closes #4468)

5 years agopatch 8.1.1447: not allowed to create an empty popup v8.1.1447
Bram Moolenaar [Sun, 2 Jun 2019 11:22:11 +0000 (13:22 +0200)]
patch 8.1.1447: not allowed to create an empty popup

Problem:    Not allowed to create an empty popup.
Solution:   Remove restriction that there is some text. (closes #4470)

5 years agopatch 8.1.1446: popup window callback not implemented yet v8.1.1446
Bram Moolenaar [Sat, 1 Jun 2019 20:49:29 +0000 (22:49 +0200)]
patch 8.1.1446: popup window callback not implemented yet

Problem:    Popup window callback not implemented yet.
Solution:   Implement the callback.

5 years agopatch 8.1.1445: popup window border highlight not implemented yet v8.1.1445
Bram Moolenaar [Sat, 1 Jun 2019 20:15:29 +0000 (22:15 +0200)]
patch 8.1.1445: popup window border highlight not implemented yet

Problem:    Popup window border highlight not implemented yet.
Solution:   Implement the "borderhighlight" option.

5 years agopatch 8.1.1444: not using double line characters for popup border v8.1.1444
Bram Moolenaar [Sat, 1 Jun 2019 18:45:21 +0000 (20:45 +0200)]
patch 8.1.1444: not using double line characters for popup border

Problem:    Not using double line characters for popup border.
Solution:   Use double line characters if using utf-8.

5 years agopatch 8.1.1443: popup window padding and border not implemented yet v8.1.1443
Bram Moolenaar [Sat, 1 Jun 2019 18:16:48 +0000 (20:16 +0200)]
patch 8.1.1443: popup window padding and border not implemented yet

Problem:    Popup window padding and border not implemented yet.
Solution:   Implement padding and border.  Add core position and size to
            popup_getpos().

5 years agopatch 8.1.1442: popup windows not considered when the Vim window is resized v8.1.1442
Bram Moolenaar [Sat, 1 Jun 2019 16:11:22 +0000 (18:11 +0200)]
patch 8.1.1442: popup windows not considered when the Vim window is resized

Problem:    Popup windows not considered when the Vim window is resized.
            (Ben Jackson)
Solution:   Reallocate the w_lines structure. (closes #4467)

5 years agopatch 8.1.1441: popup window filter not yet implemented v8.1.1441
Bram Moolenaar [Sat, 1 Jun 2019 15:13:36 +0000 (17:13 +0200)]
patch 8.1.1441: popup window filter not yet implemented

Problem:    Popup window filter not yet implemented.
Solution:   Implement the popup filter.

5 years agopatch 8.1.1440: win_execute() test fails v8.1.1440
Bram Moolenaar [Sat, 1 Jun 2019 15:06:25 +0000 (17:06 +0200)]
patch 8.1.1440: win_execute() test fails

Problem:    Win_execute() test fails.
Solution:   Adjust the expected error number.  Move to popup test.

5 years agopatch 8.1.1439: json_encode() is very slow for large results v8.1.1439
Bram Moolenaar [Sat, 1 Jun 2019 12:36:26 +0000 (14:36 +0200)]
patch 8.1.1439: json_encode() is very slow for large results

Problem:    Json_encode() is very slow for large results.
Solution:   In the growarray use a growth of at least 50%. (Ken Takata,
            closes #4461)

5 years agopatch 8.1.1438: some commands cause trouble in a popup window v8.1.1438
Bram Moolenaar [Sat, 1 Jun 2019 12:15:52 +0000 (14:15 +0200)]
patch 8.1.1438: some commands cause trouble in a popup window

Problem:    Some commands cause trouble in a popup window.
Solution:   Add NOT_IN_POPUP_WINDOW.

5 years agopatch 8.1.1437: code to handle callbacks is duplicated v8.1.1437
Bram Moolenaar [Sat, 1 Jun 2019 11:28:35 +0000 (13:28 +0200)]
patch 8.1.1437: code to handle callbacks is duplicated

Problem:    Code to handle callbacks is duplicated.
Solution:   Add callback_T and functions to deal with it.

5 years agoUpdate runtime files.
Bram Moolenaar [Fri, 31 May 2019 19:41:05 +0000 (21:41 +0200)]
Update runtime files.

5 years agopatch 8.1.1436: writefile test fails when run under /tmp v8.1.1436
Bram Moolenaar [Fri, 31 May 2019 18:42:09 +0000 (20:42 +0200)]
patch 8.1.1436: writefile test fails when run under /tmp

Problem:    Writefile test fails when run under /tmp.
Solution:   Adjust 'backupskip. (Kenta Sato, closes #4462)

5 years agopatch 8.1.1435: memory usage test is a bit too flaky v8.1.1435
Bram Moolenaar [Fri, 31 May 2019 18:23:25 +0000 (20:23 +0200)]
patch 8.1.1435: memory usage test is a bit too flaky

Problem:    Memory usage test is a bit too flaky.
Solution:   Adjust the tolerances a bit. (Christian Brabandt)

5 years agopatch 8.1.1434: test 3 is old style v8.1.1434
Bram Moolenaar [Fri, 31 May 2019 18:02:53 +0000 (20:02 +0200)]
patch 8.1.1434: test 3 is old style

Problem:    Test 3 is old style.
Solution:   Turn into a new style test. (Yegappan Lakshmanan, closes #4460)

5 years agopatch 8.1.1433: win_execute() may leave popup window focused v8.1.1433
Bram Moolenaar [Fri, 31 May 2019 15:34:48 +0000 (17:34 +0200)]
patch 8.1.1433: win_execute() may leave popup window focused

Problem:    Win_execute() may leave popup window focused, eventually leading
            to a crash. (Bjorn Linse)
Solution:   When previous window was closed, go to the first window.

5 years agopatch 8.1.1432: can't build with eval feature v8.1.1432
Bram Moolenaar [Thu, 30 May 2019 20:35:18 +0000 (22:35 +0200)]
patch 8.1.1432: can't build with eval feature

Problem:    Can't build with eval feature.
Solution:   Add missing rename.

5 years agopatch 8.1.1431: popup window listed as "Scratch" v8.1.1431
Bram Moolenaar [Thu, 30 May 2019 20:32:34 +0000 (22:32 +0200)]
patch 8.1.1431: popup window listed as "Scratch"

Problem:    Popup window listed as "Scratch".
Solution:   List them as "Popup".

5 years agopatch 8.1.1430: popup window option "wrap" not supported v8.1.1430
Bram Moolenaar [Thu, 30 May 2019 20:07:36 +0000 (22:07 +0200)]
patch 8.1.1430: popup window option "wrap" not supported

Problem:    Popup window option "wrap" not supported.
Solution:   Implement it.

5 years agopatch 8.1.1429: "pos" option of popup window not supported yet v8.1.1429
Bram Moolenaar [Thu, 30 May 2019 19:24:26 +0000 (21:24 +0200)]
patch 8.1.1429: "pos" option of popup window not supported yet

Problem:    "pos" option of popup window not supported yet.
Solution:   Implement the option. Rename popup_getposition() to
            popup_getpos().

5 years agopatch 8.1.1428: popup_atcursor() not implemented yet v8.1.1428
Bram Moolenaar [Thu, 30 May 2019 17:25:06 +0000 (19:25 +0200)]
patch 8.1.1428: popup_atcursor() not implemented yet

Problem:    Popup_atcursor() not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4456)

5 years agopatch 8.1.1427: popup window screenshot test fails v8.1.1427
Bram Moolenaar [Thu, 30 May 2019 17:03:22 +0000 (19:03 +0200)]
patch 8.1.1427: popup window screenshot test fails

Problem:    Popup window screenshot test fails.
Solution:   Add missing change to popup window code.

5 years agopatch 8.1.1426: no test for syntax highlight in popup window v8.1.1426
Bram Moolenaar [Thu, 30 May 2019 16:40:53 +0000 (18:40 +0200)]
patch 8.1.1426: no test for syntax highlight in popup window

Problem:    No test for syntax highlight in popup window.
Solution:   Add a screenshot test.  Update associated documentation. Avoid
            'buftype' being reset by setbufvar().

5 years agopatch 8.1.1425: win_execute() does not set window pointers properly v8.1.1425
Bram Moolenaar [Thu, 30 May 2019 15:29:40 +0000 (17:29 +0200)]
patch 8.1.1425: win_execute() does not set window pointers properly

Problem:    Win_execute() does not set window pointers properly.
Solution:   Use switch_win_noblock().  Also execute autocommands in a popup
            window.

5 years agopatch 8.1.1424: crash when popup menu is deleted while waiting for char v8.1.1424
Bram Moolenaar [Thu, 30 May 2019 13:53:29 +0000 (15:53 +0200)]
patch 8.1.1424: crash when popup menu is deleted while waiting for char

Problem:    Crash when popup menu is deleted while waiting for char.
Solution:   Bail out when pum_array was cleared.

5 years agopatch 8.1.1423: popup windows use options from current window and buffer v8.1.1423
Bram Moolenaar [Thu, 30 May 2019 13:22:43 +0000 (15:22 +0200)]
patch 8.1.1423: popup windows use options from current window and buffer

Problem:    Popup windows use options from current window and buffer.
Solution:   Clear all local options when creating a popup window.

5 years agopatch 8.1.1422: popup_getoptions() not implemented yet v8.1.1422
Bram Moolenaar [Thu, 30 May 2019 12:29:45 +0000 (14:29 +0200)]
patch 8.1.1422: popup_getoptions() not implemented yet

Problem:    Popup_getoptions() not implemented yet.
Solution:   Implement it. (closes #4452)

5 years agopatch 8.1.1421: drawing "~" line in popup window v8.1.1421
Bram Moolenaar [Wed, 29 May 2019 22:12:11 +0000 (00:12 +0200)]
patch 8.1.1421: drawing "~" line in popup window

Problem:    Drawing "~" line in popup window.
Solution:   Just draw text in the last line of the popup window.

5 years agopatch 8.1.1420: popup window size only uses first line length v8.1.1420
Bram Moolenaar [Wed, 29 May 2019 21:14:28 +0000 (23:14 +0200)]
patch 8.1.1420: popup window size only uses first line length

Problem:    Popup window size only uses first line length.
Solution:   Use the longest line. (Ben Jackson, closes #4451)  Also deal with
            wrapping lines.

5 years agopatch 8.1.1419: listener callbacks may be called recursively v8.1.1419
Bram Moolenaar [Wed, 29 May 2019 20:28:29 +0000 (22:28 +0200)]
patch 8.1.1419: listener callbacks may be called recursively

Problem:    Listener callbacks may be called recursively.
Solution:   Set "updating_screen" while listener callbacks are invoked.

5 years agopatch 8.1.1418: win_execute() is not implemented yet v8.1.1418
Bram Moolenaar [Wed, 29 May 2019 19:44:40 +0000 (21:44 +0200)]
patch 8.1.1418: win_execute() is not implemented yet

Problem:    Win_execute() is not implemented yet.
Solution:   Implement it.

5 years agopatch 8.1.1417: MS-Windows: resolve() does not resolve all components of path v8.1.1417
Bram Moolenaar [Wed, 29 May 2019 18:36:54 +0000 (20:36 +0200)]
patch 8.1.1417: MS-Windows: resolve() does not resolve all components of path

Problem:    MS-Windows: resolve() does not resolve all components of the path.
            (David Briscoe)
Solution:   Do not bail out for a reparse point. (Yasuhiro Matsumoto,
            closes #4211, closes #4447)

5 years agopatch 8.1.1416: popup_getposition() not implemented yet v8.1.1416
Bram Moolenaar [Wed, 29 May 2019 18:26:46 +0000 (20:26 +0200)]
patch 8.1.1416: popup_getposition() not implemented yet

Problem:    Popup_getposition() not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4449)

5 years agopatch 8.1.1415: build error in MS-Windows GUI v8.1.1415
Bram Moolenaar [Tue, 28 May 2019 21:32:47 +0000 (23:32 +0200)]
patch 8.1.1415: build error in MS-Windows GUI

Problem:    Build error in MS-Windows GUI.
Solution:   Fix the LALLOC_MULT() argument.

5 years agopatch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts v8.1.1414
Bram Moolenaar [Tue, 28 May 2019 21:08:19 +0000 (23:08 +0200)]
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts

Problem:    Alloc() returning "char_u *" causes a lot of type casts.
Solution:   Have it return "void *". (Mike Williams)  Define ALLOC_ONE() to
            check the simple allocations.

5 years agopatch 8.1.1413: error when the drive of the swap file was disconnected v8.1.1413
Bram Moolenaar [Mon, 27 May 2019 21:36:21 +0000 (23:36 +0200)]
patch 8.1.1413: error when the drive of the swap file was disconnected

Problem:    Error when the drive of the swap file was disconnected.
Solution:   Try closing and re-opening the swap file. (closes #4378)

5 years agopatch 8.1.1412: test 30 is old style v8.1.1412
Bram Moolenaar [Mon, 27 May 2019 20:21:44 +0000 (22:21 +0200)]
patch 8.1.1412: test 30 is old style

Problem:    Test 30 is old style.
Solution:   Turn it into a new style test. (Yegappan Lakshmanan, closes #4440)

5 years agopatch 8.1.1411: Coverity warns for divide by zero v8.1.1411
Bram Moolenaar [Mon, 27 May 2019 20:01:40 +0000 (22:01 +0200)]
patch 8.1.1411: Coverity warns for divide by zero

Problem:    Coverity warns for divide by zero.
Solution:   Make sure width is larger than zero.

5 years agopatch 8.1.1410: popup_move() is not implemented yet v8.1.1410
Bram Moolenaar [Mon, 27 May 2019 19:54:10 +0000 (21:54 +0200)]
patch 8.1.1410: popup_move() is not implemented yet

Problem:    Popup_move() is not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4441)  Improve the
            positioning and resizing.

5 years agopatch 8.1.1409: Coverity warns for using uninitialized memory v8.1.1409
Bram Moolenaar [Mon, 27 May 2019 18:01:41 +0000 (20:01 +0200)]
patch 8.1.1409: Coverity warns for using uninitialized memory

Problem:    Coverity warns for using uninitialized memory.
Solution:   Add a condition to clearing the growarray.

5 years agopatch 8.1.1408: PFL_HIDDEN conflicts with system header file v8.1.1408
Bram Moolenaar [Mon, 27 May 2019 08:04:40 +0000 (10:04 +0200)]
patch 8.1.1408: PFL_HIDDEN conflicts with system header file

Problem:    PFL_HIDDEN conflicts with system header file.
Solution:   Rename to POPF_HIDDEN.

5 years agopatch 8.1.1407: popup_create() does not support text properties v8.1.1407
Bram Moolenaar [Sun, 26 May 2019 21:32:06 +0000 (23:32 +0200)]
patch 8.1.1407: popup_create() does not support text properties

Problem:    Popup_create() does not support text properties.
Solution:   Support the third form of the text argument.

5 years agopatch 8.1.1406: popup_hide() and popup_show() not implemented yet v8.1.1406
Bram Moolenaar [Sun, 26 May 2019 20:17:52 +0000 (22:17 +0200)]
patch 8.1.1406: popup_hide() and popup_show() not implemented yet

Problem:    popup_hide() and popup_show() not implemented yet.
Solution:   Implement the functions.

5 years agoUpdate runtime files.
Bram Moolenaar [Sun, 26 May 2019 19:33:31 +0000 (21:33 +0200)]
Update runtime files.

5 years agopatch 8.1.1405: "highlight" option of popup windows not supported v8.1.1405
Bram Moolenaar [Sun, 26 May 2019 19:03:24 +0000 (21:03 +0200)]
patch 8.1.1405: "highlight" option of popup windows not supported

Problem:    "highlight" option of popup windows not supported.
Solution:   Implement the "highlight" option.

5 years agopatch 8.1.1404: cannot change the patch level when building with NSIS v8.1.1404
Bram Moolenaar [Sun, 26 May 2019 18:49:42 +0000 (20:49 +0200)]
patch 8.1.1404: cannot change the patch level when building with NSIS

Problem:    Cannot change the patch level when building with NSIS.
Solution:   Use $PATCHLEVEL if defined. (Christian Brabandt)

5 years agopatch 8.1.1403: cannot build without the timer feature v8.1.1403
Bram Moolenaar [Sun, 26 May 2019 18:44:10 +0000 (20:44 +0200)]
patch 8.1.1403: cannot build without the timer feature

Problem:    Cannot build without the timer feature.
Solution:   Add #ifdef.

5 years agopatch 8.1.1402: "timer" option of popup windows not supported v8.1.1402
Bram Moolenaar [Sun, 26 May 2019 18:10:06 +0000 (20:10 +0200)]
patch 8.1.1402: "timer" option of popup windows not supported

Problem:    "timer" option of popup windows not supported.
Solution:   Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439)

5 years agopatch 8.1.1401: misspelled mkspellmem as makespellmem v8.1.1401
Bram Moolenaar [Sun, 26 May 2019 17:20:43 +0000 (19:20 +0200)]
patch 8.1.1401: misspelled mkspellmem as makespellmem

Problem:    Misspelled mkspellmem as makespellmem.
Solution:   Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken
            Takata, closes #4437)

5 years agopatch 8.1.1400: using global pointer for tab-local popups is clumsy v8.1.1400
Bram Moolenaar [Sun, 26 May 2019 16:48:13 +0000 (18:48 +0200)]
patch 8.1.1400: using global pointer for tab-local popups is clumsy

Problem:    Using global pointer for tab-local popups is clumsy.
Solution:   Use the pointer in tabpage_T.

5 years agopatch 8.1.1399: popup windows not adjusted when switching tabs v8.1.1399
Bram Moolenaar [Sun, 26 May 2019 12:11:23 +0000 (14:11 +0200)]
patch 8.1.1399: popup windows not adjusted when switching tabs

Problem:    Popup windows not adjusted when switching tabs.
Solution:   Save and restore first_tab_popupwin. Fix closing a tabpage.

5 years agopatch 8.1.1398: duplicate line in MSVC build file v8.1.1398
Bram Moolenaar [Sun, 26 May 2019 11:14:02 +0000 (13:14 +0200)]
patch 8.1.1398: duplicate line in MSVC build file

Problem:    Duplicate line in MSVC build file.
Solution:   Remove the line. (Ken Takata, closes #4436)

5 years agopatch 8.1.1397: build fails in tiny version v8.1.1397
Bram Moolenaar [Sat, 25 May 2019 21:42:13 +0000 (23:42 +0200)]
patch 8.1.1397: build fails in tiny version

Problem:    Build fails in tiny version.
Solution:   Always define hl_combine_attr().

5 years agopatch 8.1.1396: 'wincolor' does not apply to lines below the buffer v8.1.1396
Bram Moolenaar [Sat, 25 May 2019 20:57:30 +0000 (22:57 +0200)]
patch 8.1.1396: 'wincolor' does not apply to lines below the buffer

Problem:    'wincolor' does not apply to lines below the buffer.
Solution:   Also apply 'wincolor' to the "~" lines and the number column.

5 years agopatch 8.1.1395: saving for undo may access invalid memory v8.1.1395
Bram Moolenaar [Sat, 25 May 2019 20:11:45 +0000 (22:11 +0200)]
patch 8.1.1395: saving for undo may access invalid memory

Problem:    Saving for undo may access invalid memory. (Dominique Pelle)
Solution:   Set ml_line_len also when returning a constant string.

5 years agopatch 8.1.1394: not restoring t_F2 in registers test v8.1.1394
Bram Moolenaar [Sat, 25 May 2019 19:52:30 +0000 (21:52 +0200)]
patch 8.1.1394: not restoring t_F2 in registers test

Problem:    Not restoring t_F2 in registers test.
Solution:   Assign to &t_F2 instead of t_F2. (Andy Massimino, closes #4434)

5 years agopatch 8.1.1393: unnecessary type casts v8.1.1393
Bram Moolenaar [Sat, 25 May 2019 18:21:28 +0000 (20:21 +0200)]
patch 8.1.1393: unnecessary type casts

Problem:    Unnecessary type casts.
Solution:   Remove type casts from alloc() and lalloc() calls. (Mike Williams)

5 years agopatch 8.1.1392: build failure in tiny version v8.1.1392
Bram Moolenaar [Sat, 25 May 2019 18:10:37 +0000 (20:10 +0200)]
patch 8.1.1392: build failure in tiny version

Problem:    Build failure in tiny version.
Solution:   Define ex_popupclear to ex_ni if not implemented.  Add UNUSED.

5 years agopatch 8.1.1391: no popup window support v8.1.1391
Bram Moolenaar [Sat, 25 May 2019 17:51:39 +0000 (19:51 +0200)]
patch 8.1.1391: no popup window support

Problem:    No popup window support.
Solution:   Add initial code for popup windows.  Add the 'wincolor' option.

5 years agopatch 8.1.1390: search stats are off when using count or offset v8.1.1390
Bram Moolenaar [Fri, 24 May 2019 20:08:15 +0000 (22:08 +0200)]
patch 8.1.1390: search stats are off when using count or offset

Problem:    Search stats are off when using count or offset.
Solution:   Recompute the stats when needed. (Masato Nishihata, closes #4410)

5 years agopatch 8.1.1389: changes are not flushed when end and start overlap v8.1.1389
Bram Moolenaar [Fri, 24 May 2019 19:39:27 +0000 (21:39 +0200)]
patch 8.1.1389: changes are not flushed when end and start overlap

Problem:    Changes are not flushed when end and start overlap. (Paul Jolly)
Solution:   When end of a previous changes overlaps with start of a new
            change, first flush listeners.

5 years agopatch 8.1.1388: errors when calling prop_remove() for an unloaded buffer v8.1.1388
Bram Moolenaar [Fri, 24 May 2019 19:22:29 +0000 (21:22 +0200)]
patch 8.1.1388: errors when calling prop_remove() for an unloaded buffer

Problem:    Errors when calling prop_remove() for an unloaded buffer.
Solution:   Bail out when the buffer is not loaded.  Add a few more tests for
            failing when the buffer number is invalid.

5 years agopatch 8.1.1387: calling prop_add() in an empty buffer doesn't work v8.1.1387
Bram Moolenaar [Fri, 24 May 2019 18:41:55 +0000 (20:41 +0200)]
patch 8.1.1387: calling prop_add() in an empty buffer doesn't work

Problem:    Calling prop_add() in an empty buffer doesn't work. (Dominique
            Pelle)
Solution:   Open the memline before adding a text property. (closes #4412)

5 years agopatch 8.1.1386: unessesary type casts for lalloc() v8.1.1386
Bram Moolenaar [Fri, 24 May 2019 17:39:03 +0000 (19:39 +0200)]
patch 8.1.1386: unessesary type casts for lalloc()

Problem:    Unessesary type casts for lalloc().
Solution:   Remove type casts.  Change lalloc(size, TRUE) to alloc(size).

5 years agopatch 8.1.1385: signed/unsigned compiler warning v8.1.1385
Bram Moolenaar [Fri, 24 May 2019 17:04:29 +0000 (19:04 +0200)]
patch 8.1.1385: signed/unsigned compiler warning

Problem:    Signed/unsigned compiler warning.
Solution:   Use STRLEN() instead of strlen().

5 years agopatch 8.1.1384: using "int" for alloc() often results in compiler warnings v8.1.1384
Bram Moolenaar [Fri, 24 May 2019 16:54:09 +0000 (18:54 +0200)]
patch 8.1.1384: using "int" for alloc() often results in compiler warnings

Problem:    Using "int" for alloc() often results in compiler warnings.
Solution:   Use "size_t" and remove type casts.  Remove alloc_check(), Vim
            only works with 32 bit ints anyway.

5 years agopatch 8.1.1383: warning for size_t/int mixup v8.1.1383
Bram Moolenaar [Fri, 24 May 2019 15:56:14 +0000 (17:56 +0200)]
patch 8.1.1383: warning for size_t/int mixup

Problem:    Warning for size_t/int mixup.
Solution:   Change type. (Mike Williams)

5 years agopatch 8.1.1382: error when editing test file v8.1.1382
Bram Moolenaar [Fri, 24 May 2019 15:33:01 +0000 (17:33 +0200)]
patch 8.1.1382: error when editing test file

Problem:    Error when editing test file.
Solution:   Remove part of modeline.