]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.1508: sound keeps failing on Travis v8.1.1508
Bram Moolenaar [Sun, 9 Jun 2019 13:35:41 +0000 (15:35 +0200)]
patch 8.1.1508: sound keeps failing on Travis

Problem:    Sound keeps failing on Travis.
Solution:   Throw a skipped exception in the test.

5 years agopatch 8.1.1507: sound test still fails on Travis v8.1.1507
Bram Moolenaar [Sun, 9 Jun 2019 13:21:27 +0000 (15:21 +0200)]
patch 8.1.1507: sound test still fails on Travis

Problem:    Sound test still fails on Travis.
Solution:   Try another dummy sound approach.

5 years agopatch 8.1.1506: syntax error in Travis config v8.1.1506
Bram Moolenaar [Sun, 9 Jun 2019 12:51:30 +0000 (14:51 +0200)]
patch 8.1.1506: syntax error in Travis config

Problem:    Syntax error in Travis config.
Solution:   Set AUDIODEV in another section.

5 years agopatch 8.1.1505: running "make clean" twice gives errors v8.1.1505
Bram Moolenaar [Sun, 9 Jun 2019 12:39:13 +0000 (14:39 +0200)]
patch 8.1.1505: running "make clean" twice gives errors

Problem:    Running "make clean" twice gives errors.
Solution:   Add "-f" to "rm". (closes #4516)

5 years agopatch 8.1.1504: sound test still fails on Travis v8.1.1504
Bram Moolenaar [Sun, 9 Jun 2019 12:15:29 +0000 (14:15 +0200)]
patch 8.1.1504: sound test still fails on Travis

Problem:    Sound test still fails on Travis.
Solution:   Add more lines to the install section.

5 years agopatch 8.1.1503: sound test fails on Travis v8.1.1503
Bram Moolenaar [Sun, 9 Jun 2019 11:56:27 +0000 (13:56 +0200)]
patch 8.1.1503: sound test fails on Travis

Problem:    Sound test fails on Travis.
Solution:   Set AUDIODEV to "null".

5 years agopatch 8.1.1502: cannot play any sound v8.1.1502
Bram Moolenaar [Sun, 9 Jun 2019 11:43:51 +0000 (13:43 +0200)]
patch 8.1.1502: cannot play any sound

Problem:    Cannot play any sound.
Solution:   Use libcanberra if available.  Add sound functions.

5 years agopatch 8.1.1501: new behavior of b:changedtick not tested v8.1.1501
Bram Moolenaar [Sat, 8 Jun 2019 18:48:36 +0000 (20:48 +0200)]
patch 8.1.1501: new behavior of b:changedtick not tested

Problem:    New behavior of b:changedtick not tested.
Solution:   Add a few test cases. (Daniel Hahler)

5 years agopatch 8.1.1500: wrong shell command when building with VIMDLL and "!" in 'go' v8.1.1500
Bram Moolenaar [Sat, 8 Jun 2019 18:17:18 +0000 (20:17 +0200)]
patch 8.1.1500: wrong shell command when building with VIMDLL and "!" in 'go'

Problem:    Wrong shell command when building with VIMDLL and "!" in
            'guioptions'.
Solution:   Add check for GUI in use. (Ken Takata)

5 years agopatch 8.1.1499: ruler not updated after popup window was removed v8.1.1499
Bram Moolenaar [Sat, 8 Jun 2019 17:01:18 +0000 (19:01 +0200)]
patch 8.1.1499: ruler not updated after popup window was removed

Problem:    Ruler not updated after popup window was removed.
Solution:   use popup_mask in screen_puts().

5 years agopatch 8.1.1498: ":write" increments b:changedtick even though nothing changed v8.1.1498
Bram Moolenaar [Sat, 8 Jun 2019 16:07:21 +0000 (18:07 +0200)]
patch 8.1.1498: ":write" increments b:changedtick even though nothing changed

Problem:    ":write" increments b:changedtick even though nothing changed.
            (Daniel Hahler)
Solution:   Only increment b:changedtick if the modified flag is reset.

5 years agopatch 8.1.1497: accessing memory beyond allocated space v8.1.1497
Bram Moolenaar [Sat, 8 Jun 2019 15:25:33 +0000 (17:25 +0200)]
patch 8.1.1497: accessing memory beyond allocated space

Problem:    Accessing memory beyond allocated space.
Solution:   Check column before accessing popup mask.

5 years agopatch 8.1.1496: popup window height is not recomputed v8.1.1496
Bram Moolenaar [Sat, 8 Jun 2019 15:15:51 +0000 (17:15 +0200)]
patch 8.1.1496: popup window height is not recomputed

Problem:    Popup window height is not recomputed.
Solution:   Recompute the height when needed.

5 years agopatch 8.1.1495: memory access error v8.1.1495
Bram Moolenaar [Sat, 8 Jun 2019 14:55:15 +0000 (16:55 +0200)]
patch 8.1.1495: memory access error

Problem:    Memory access error.
Solution:   Use the correct size for clearing the popup mask.

5 years agopatch 8.1.1494: build failure v8.1.1494
Bram Moolenaar [Sat, 8 Jun 2019 14:06:28 +0000 (16:06 +0200)]
patch 8.1.1494: build failure

Problem:    Build failure.
Solution:   Add missing changes.

5 years agopatch 8.1.1493: redrawing with popups is slow and causes flicker v8.1.1493
Bram Moolenaar [Sat, 8 Jun 2019 14:01:13 +0000 (16:01 +0200)]
patch 8.1.1493: redrawing with popups is slow and causes flicker

Problem:    Redrawing with popups is slow and causes flicker.
Solution:   Avoid clearing and redrawing using a zindex mask.

5 years agopatch 8.1.1492: MS-Windows: when "!" is in 'guioptions' ":!start" fails v8.1.1492
Bram Moolenaar [Sat, 8 Jun 2019 10:05:22 +0000 (12:05 +0200)]
patch 8.1.1492: MS-Windows: when "!" is in 'guioptions' ":!start" fails

Problem:    MS-Windows: when "!" is in 'guioptions' ":!start" fails.
Solution:   Do not use a terminal window when the shell command begins with
            "!start". (Yasuhiro Matsumoto, closes #4504)

5 years agopatch 8.1.1491: when skipping over code a function call may cause trouble v8.1.1491
Bram Moolenaar [Fri, 7 Jun 2019 21:15:22 +0000 (23:15 +0200)]
patch 8.1.1491: when skipping over code a function call may cause trouble

Problem:    When skipping over code after an exception was thrown expression
            evaluation is aborted after a function call. (Ingo Karkat)
Solution:   Do not fail if not executing the expression. (closes #4507)

5 years agopatch 8.1.1490: when a single test fails the exit code is not set v8.1.1490
Bram Moolenaar [Fri, 7 Jun 2019 20:40:25 +0000 (22:40 +0200)]
patch 8.1.1490: when a single test fails the exit code is not set

Problem:    When a single test fails the exit code is not set. (Daniel Hahler)
Solution:   Add an exit command. (closes #4506)

5 years agopatch 8.1.1489: sign order wrong when priority was changed v8.1.1489
Bram Moolenaar [Fri, 7 Jun 2019 19:37:13 +0000 (21:37 +0200)]
patch 8.1.1489: sign order wrong when priority was changed

Problem:    Sign order wrong when priority was changed.
Solution:   Reorder signs when priority is changed. (Yegappan Lakshmanan,
            closes #4502)

5 years agopatch 8.1.1488: summary of tests has incorrect failed count v8.1.1488
Bram Moolenaar [Fri, 7 Jun 2019 19:29:50 +0000 (21:29 +0200)]
patch 8.1.1488: summary of tests has incorrect failed count

Problem:    Summary of tests has incorrect failed count.
Solution:   Add to the failed count instead of setting it. (Christian Brabandt)

5 years agopatch 8.1.1487: older msgfmt cannot generate proper .desktop file v8.1.1487
Bram Moolenaar [Fri, 7 Jun 2019 18:44:40 +0000 (20:44 +0200)]
patch 8.1.1487: older msgfmt cannot generate proper .desktop file

Problem:    Older msgfmt cannot generate proper .desktop file.
Solution:   Add a configure check to not use this msgfmt version. (Ken Takata)

5 years agopatch 8.1.1486: a listener change is merged even when it adds a line v8.1.1486
Bram Moolenaar [Thu, 6 Jun 2019 20:50:35 +0000 (22:50 +0200)]
patch 8.1.1486: a listener change is merged even when it adds a line

Problem:    A listener change is merged even when it adds a line. (Paul Jolly)
Solution:   Do not merge a change that adds or removes a line. (closes #4490)

5 years agoUpdate runtime files - Add typescript syntax and indent.
Bram Moolenaar [Thu, 6 Jun 2019 18:39:55 +0000 (20:39 +0200)]
Update runtime files - Add typescript syntax and indent.

5 years agopatch 8.1.1485: double free when garbage_collect() is used in autocommand v8.1.1485
Bram Moolenaar [Thu, 6 Jun 2019 17:03:17 +0000 (19:03 +0200)]
patch 8.1.1485: double free when garbage_collect() is used in autocommand

Problem:    Double free when garbage_collect() is used in autocommand.
Solution:   Have garbage collection also set the copyID in funccal_stack.

5 years agopatch 8.1.1484: some tests are slow v8.1.1484
Bram Moolenaar [Thu, 6 Jun 2019 16:05:25 +0000 (18:05 +0200)]
patch 8.1.1484: some tests are slow

Problem:    Some tests are slow.
Solution:   Add timing to the test messages.  Fix double free when quitting in
            VimLeavePre autocmd.

5 years agopatch 8.1.1483: skipped tests are not properly listed v8.1.1483
Bram Moolenaar [Thu, 6 Jun 2019 14:12:12 +0000 (16:12 +0200)]
patch 8.1.1483: skipped tests are not properly listed

Problem:    Skipped tests are not properly listed.
Solution:   Throw a "Skipped" exception instead of using ":finish" or ":return".

5 years agopatch 8.1.1482: no test for wincol() depending on the 'number' option v8.1.1482
Bram Moolenaar [Thu, 6 Jun 2019 13:40:08 +0000 (15:40 +0200)]
patch 8.1.1482: no test for wincol() depending on the 'number' option

Problem:    No test for wincol() depending on the 'number' option.
Solution:   Add a couple of tests. (Christian Brabandt, closes #4500)

5 years agopatch 8.1.1481: length for two-digit rgb termresponse is off by one v8.1.1481
Bram Moolenaar [Thu, 6 Jun 2019 13:19:31 +0000 (15:19 +0200)]
patch 8.1.1481: length for two-digit rgb termresponse is off by one

Problem:    Length for two-digit rgb termresponse is off by one.
Solution:   Adjust the length. (closes #4494)

5 years agopatch 8.1.1480: desktop file check doesn't run on CI v8.1.1480
Bram Moolenaar [Thu, 6 Jun 2019 13:13:19 +0000 (15:13 +0200)]
patch 8.1.1480: desktop file check doesn't run on CI

Problem:    Desktop file check doesn't run on CI.
Solution:   Install the desktip-file-utils packages. (Christian Brabandt,
            closes #4498)

5 years agopatch 8.1.1479: change included for debugging only v8.1.1479
Bram Moolenaar [Thu, 6 Jun 2019 12:38:06 +0000 (14:38 +0200)]
patch 8.1.1479: change included for debugging only

Problem:    Change included for debugging only.
Solution:   Restore the REDIR_TEST_TO_NULL line.

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)