]> granicus.if.org Git - vim/log
vim
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.

5 years agopatch 8.1.1381: MS-Windows: missing build dependency v8.1.1381
Bram Moolenaar [Fri, 24 May 2019 15:17:54 +0000 (17:17 +0200)]
patch 8.1.1381: MS-Windows: missing build dependency

Problem:    MS-Windows: missing build dependency.
Solution:   Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata,
            closes #4423

5 years agopatch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set v8.1.1380
Bram Moolenaar [Fri, 24 May 2019 15:05:44 +0000 (17:05 +0200)]
patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set

Problem:    MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set.
Solution:   Invert condition. (closes #4422)

5 years agopatch 8.1.1379: filechanged test hangs v8.1.1379
Bram Moolenaar [Fri, 24 May 2019 14:46:01 +0000 (16:46 +0200)]
patch 8.1.1379: filechanged test hangs

Problem:    Filechanged test hangs.
Solution:   Do not check 'autoread'.

5 years agopatch 8.1.1378: delete() can not handle a file name that looks like a pattern v8.1.1378
Bram Moolenaar [Fri, 24 May 2019 12:14:14 +0000 (14:14 +0200)]
patch 8.1.1378: delete() can not handle a file name that looks like a pattern

Problem:    Delete() can not handle a file name that looks like a pattern.
Solution:   Use readdir() instead of appending "/*" and expanding wildcards.
            (Ken Takata, closes #4424, closes #696)

5 years agopatch 8.1.1377: MS-Windows GUI uses wrong shell command for bash v8.1.1377
Bram Moolenaar [Fri, 24 May 2019 11:32:36 +0000 (13:32 +0200)]
patch 8.1.1377: MS-Windows GUI uses wrong shell command for bash

Problem:    MS-Windows GUI uses wrong shell command for bash. (Robert Bogomip)
Solution:   Check that 'shellcmdflag' is "/c". (Ken Takata, closes #4418)

5 years agopatch 8.1.1376: warnings for size_t/int mixups v8.1.1376
Bram Moolenaar [Fri, 24 May 2019 11:22:22 +0000 (13:22 +0200)]
patch 8.1.1376: warnings for size_t/int mixups

Problem:    Warnings for size_t/int mixups.
Solution:   Change types, add type casts. (Mike Williams)

5 years agopatch 8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt often v8.1.1375
Bram Moolenaar [Fri, 24 May 2019 11:11:47 +0000 (13:11 +0200)]
patch 8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt often

Problem:    Without "TS" in 'shortmess' get a hit-enter prompt often.
Solution:   Always truncate the search message.  Also avoid putting it in the
            message history. (closes #4413)

5 years agopatch 8.1.1374: check for file changed triggers too often v8.1.1374
Bram Moolenaar [Fri, 24 May 2019 09:45:22 +0000 (11:45 +0200)]
patch 8.1.1374: check for file changed triggers too often

Problem:    Check for file changed triggers too often.
Solution:   Don't use "b_p_ar" when it is negative.

5 years agopatch 8.1.1373: "[p" in Visual mode puts in wrong line v8.1.1373
Bram Moolenaar [Thu, 23 May 2019 21:27:36 +0000 (23:27 +0200)]
patch 8.1.1373: "[p" in Visual mode puts in wrong line

Problem:    "[p" in Visual mode puts in wrong line.
Solution:   Call nv_put() instead of duplicating the functionality.
            (closes #4408)

5 years agopatch 8.1.1372: when evaluating 'statusline' the current window is unknown v8.1.1372
Bram Moolenaar [Thu, 23 May 2019 20:11:59 +0000 (22:11 +0200)]
patch 8.1.1372: when evaluating 'statusline' the current window is unknown

Problem:    When evaluating 'statusline' the current window is unknown.
            (Daniel Hahler)
Solution:   Set "g:actual_curwin" for %{} items.  Set "g:statusline_winid"
            when evaluationg %!. (closes #4406, closes #3299)

5 years agopatch 8.1.1371: cannot recover from a swap file v8.1.1371
Bram Moolenaar [Thu, 23 May 2019 19:35:48 +0000 (21:35 +0200)]
patch 8.1.1371: cannot recover from a swap file

Problem:    Cannot recover from a swap file.
Solution:   Do not expand environment variables in the swap file name.
            Do not check the extension when we already know a file is a swap
            file.  (Ken Takata, closes 4415, closes #4369)

5 years agopatch 8.1.1370: not using the new github feature for donations v8.1.1370
Bram Moolenaar [Thu, 23 May 2019 18:42:10 +0000 (20:42 +0200)]
patch 8.1.1370: not using the new github feature for donations

Problem:    Not using the new github feature for donations.
Solution:   Add a Sponsor button. (closes #4417)

5 years agopatch 8.1.1369: get E484 when using system() during GUI startup v8.1.1369
Bram Moolenaar [Thu, 23 May 2019 18:12:46 +0000 (20:12 +0200)]
patch 8.1.1369: get E484 when using system() during GUI startup

Problem:    Get E484 when using system() during GUI startup.
Solution:   Check "gui.starting". (Ken Takata)

5 years agopatch 8.1.1368: modeline test fails with python but without pythonhome v8.1.1368
Bram Moolenaar [Thu, 23 May 2019 15:35:55 +0000 (17:35 +0200)]
patch 8.1.1368: modeline test fails with python but without pythonhome

Problem:    Modeline test fails with python but without pythonhome.
Solution:   Correct test argument.

5 years agopatch 8.1.1367: can set 'modelineexpr' in modeline v8.1.1367
Bram Moolenaar [Thu, 23 May 2019 15:08:49 +0000 (17:08 +0200)]
patch 8.1.1367: can set 'modelineexpr' in modeline

Problem:    can set 'modelineexpr' in modeline.
Solution:   Add P_SECURE flag.

5 years agopatch 8.1.1366: using expressions in a modeline is unsafe v8.1.1366
Bram Moolenaar [Thu, 23 May 2019 13:38:06 +0000 (15:38 +0200)]
patch 8.1.1366: using expressions in a modeline is unsafe

Problem:    Using expressions in a modeline is unsafe.
Solution:   Disallow using expressions in a modeline, unless the
            'modelineexpr' option is set.  Update help, add more tests.

5 years agopatch 8.1.1365: source command doesn't check for the sandbox v8.1.1365
Bram Moolenaar [Wed, 22 May 2019 20:38:25 +0000 (22:38 +0200)]
patch 8.1.1365: source command doesn't check for the sandbox

Problem:    Source command doesn't check for the sandbox. (Armin Razmjou)
Solution:   Check for the sandbox when sourcing a file.

5 years agopatch 8.1.1364: design for popup window support needs more details v8.1.1364
Bram Moolenaar [Tue, 21 May 2019 21:09:01 +0000 (23:09 +0200)]
patch 8.1.1364: design for popup window support needs more details

Problem:    Design for popup window support needs more details.
Solution:   Add details about using a window and buffer.  Rename popup_show()
            to popup_create() and add popup_show() and popup_hide().

5 years agopatch 8.1.1363: ":vert options" does not make a vertical split v8.1.1363
Bram Moolenaar [Tue, 21 May 2019 18:54:45 +0000 (20:54 +0200)]
patch 8.1.1363: ":vert options" does not make a vertical split

Problem:    ":vert options" does not make a vertical split.
Solution:   Pass the right modifiers in $OPTWIN_CMD. (Ken Takata,
            closes #4401)

5 years agopatch 8.1.1362: code and data in tests can be hard to read v8.1.1362
Bram Moolenaar [Mon, 20 May 2019 20:12:34 +0000 (22:12 +0200)]
patch 8.1.1362: code and data in tests can be hard to read

Problem:    Code and data in tests can be hard to read.
Solution:   Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)

5 years agopatch 8.1.1361: Python setuptools don't work with Python 3 v8.1.1361
Bram Moolenaar [Mon, 20 May 2019 19:52:45 +0000 (21:52 +0200)]
patch 8.1.1361: Python setuptools don't work with Python 3

Problem:    Python setuptools don't work with Python 3.
Solution:   Add dummy implementation for find_module. (Joel Frederico,
            closes #4402, closes #3984

5 years agopatch 8.1.1360: buffer left 'nomodifiable' after :substitute v8.1.1360
Bram Moolenaar [Mon, 20 May 2019 18:34:51 +0000 (20:34 +0200)]
patch 8.1.1360: buffer left 'nomodifiable' after :substitute

Problem:    Buffer left 'nomodifiable' after :substitute. (Ingo Karkat)
Solution:   Save the value of 'modifiable' earlier' (Christian Brabandt,
            closes #4403)

5 years agopatch 8.1.1359: text property wrong after :substitute with backslash v8.1.1359
Bram Moolenaar [Sun, 19 May 2019 20:53:40 +0000 (22:53 +0200)]
patch 8.1.1359: text property wrong after :substitute with backslash

Problem:    Text property wrong after :substitute with backslash.
Solution:   Adjust text property columns when removing backslashes.
            (closes #4397)

5 years agopatch 8.1.1358: cannot enter character with a CSI byte v8.1.1358
Bram Moolenaar [Sun, 19 May 2019 19:57:11 +0000 (21:57 +0200)]
patch 8.1.1358: cannot enter character with a CSI byte

Problem:    Cannot enter character with a CSI byte.
Solution:   Only check "gui.in_use" when VIMDLL is defined. (Ken Takata,
            closes #4396)

5 years agopatch 8.1.1357: test 37 is old style v8.1.1357
Bram Moolenaar [Sun, 19 May 2019 19:44:08 +0000 (21:44 +0200)]
patch 8.1.1357: test 37 is old style

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

5 years agopatch 8.1.1356: some text in heredoc assignment ends the text v8.1.1356
Bram Moolenaar [Sun, 19 May 2019 19:37:18 +0000 (21:37 +0200)]
patch 8.1.1356: some text in heredoc assignment ends the text

Problem:    Some text in heredoc assignment ends the text. (Ozaki Kiichi)
Solution:   Recognize "let v =<<" and skip until the end.

5 years agopatch 8.1.1355: obvious mistakes are accepted as valid expressions v8.1.1355
Bram Moolenaar [Sun, 19 May 2019 17:59:35 +0000 (19:59 +0200)]
patch 8.1.1355: obvious mistakes are accepted as valid expressions

Problem:    Obvious mistakes are accepted as valid expressions.
Solution:   Be more strict about parsing numbers. (Yasuhiro Matsumoto,
            closes #3981)

5 years agopatch 8.1.1354: getting a list of text lines is clumsy v8.1.1354
Bram Moolenaar [Sun, 19 May 2019 16:41:26 +0000 (18:41 +0200)]
patch 8.1.1354: getting a list of text lines is clumsy

Problem:    Getting a list of text lines is clumsy.
Solution:   Add the =<< assignment. (Yegappan Lakshmanan, closes #4386)

5 years agopatch 8.1.1353: undo test fails on Mac v8.1.1353
Bram Moolenaar [Sun, 19 May 2019 14:38:56 +0000 (16:38 +0200)]
patch 8.1.1353: undo test fails on Mac

Problem:    Undo test fails on Mac.
Solution:   Expect "private" on the Mac.

5 years agopatch 8.1.1352: undofile() reports wrong name v8.1.1352
Bram Moolenaar [Sun, 19 May 2019 13:27:14 +0000 (15:27 +0200)]
patch 8.1.1352: undofile() reports wrong name

Problem:    Undofile() reports wrong name. (Francisco Giordano)
Solution:   Clean up the name before changing path separators. (closes #4392,
            closes #4394)

5 years agopatch 8.1.1351: text property wrong after :substitute v8.1.1351
Bram Moolenaar [Sun, 19 May 2019 13:19:57 +0000 (15:19 +0200)]
patch 8.1.1351: text property wrong after :substitute

Problem:    Text property wrong after :substitute.
Solution:   Save for undo before changing any text properties.

5 years agopatch 8.1.1350: "W" for wrapping not shown when more than 99 matches v8.1.1350
Bram Moolenaar [Sat, 18 May 2019 17:26:29 +0000 (19:26 +0200)]
patch 8.1.1350: "W" for wrapping not shown when more than 99 matches

Problem:    "W" for wrapping not shown when more than 99 matches.
Solution:   Adjust check for length. (Masato Nishihata, closes #4388)