0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

10820 Commits

Author SHA1 Message Date
Bram Moolenaar
0b4c9eddb5 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)
v8.1.1458
2019-06-03 22:04:23 +02:00
Bram Moolenaar
87abab92f5 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.
v8.1.1457
2019-06-03 21:14:59 +02:00
Bram Moolenaar
98fb65cb05 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)
v8.1.1456
2019-06-02 20:33:32 +02:00
Bram Moolenaar
1762731f20 patch 8.1.1455: popup_atcursor() not completely implemented
Problem:    Popup_atcursor() not completely implemented.
Solution:   Add the default for the "moved" property.
v8.1.1455
2019-06-02 19:53:44 +02:00
Bram Moolenaar
6116b6abb1 patch 8.1.1454: build failure without the conceal feature
Problem:    Build failure without the conceal feature.
Solution:   Remove #ifdef.
v8.1.1454
2019-06-02 19:02:27 +02:00
Bram Moolenaar
3397f74ac2 patch 8.1.1453: popup window "moved" property not implemented yet
Problem:    Popup window "moved" property not implemented yet.
Solution:   Implement it.
v8.1.1453
2019-06-02 18:40:06 +02:00
Bram Moolenaar
b0ebbda06c 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.
v8.1.1452
2019-06-02 16:51:21 +02:00
Bram Moolenaar
ca2f7037c1 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)
v8.1.1451
2019-06-02 15:56:15 +02:00
Bram Moolenaar
399d898ac1 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.
v8.1.1450
2019-06-02 15:34:29 +02:00
Bram Moolenaar
042fb4b449 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)
v8.1.1449
2019-06-02 14:49:56 +02:00
Bram Moolenaar
988c43310a 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)
v8.1.1448
2019-06-02 14:12:11 +02:00
Bram Moolenaar
7b29dd8507 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)
v8.1.1447
2019-06-02 13:22:11 +02:00
Bram Moolenaar
9eaac89650 patch 8.1.1446: popup window callback not implemented yet
Problem:    Popup window callback not implemented yet.
Solution:   Implement the callback.
v8.1.1446
2019-06-01 22:49:29 +02:00
Bram Moolenaar
790498b509 patch 8.1.1445: popup window border highlight not implemented yet
Problem:    Popup window border highlight not implemented yet.
Solution:   Implement the "borderhighlight" option.
v8.1.1445
2019-06-01 22:15:29 +02:00
Bram Moolenaar
3bfd04e672 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.
v8.1.1444
2019-06-01 20:45:21 +02:00
Bram Moolenaar
2fd8e35e16 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().
v8.1.1443
2019-06-01 20:16:48 +02:00
Bram Moolenaar
8caaf82569 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)
v8.1.1442
2019-06-01 18:11:22 +02:00
Bram Moolenaar
bf0eff0b72 patch 8.1.1441: popup window filter not yet implemented
Problem:    Popup window filter not yet implemented.
Solution:   Implement the popup filter.
v8.1.1441
2019-06-01 17:13:36 +02:00
Bram Moolenaar
2d247849ce patch 8.1.1440: win_execute() test fails
Problem:    Win_execute() test fails.
Solution:   Adjust the expected error number.  Move to popup test.
v8.1.1440
2019-06-01 17:06:25 +02:00
Bram Moolenaar
c47ed44be7 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)
v8.1.1439
2019-06-01 14:36:26 +02:00
Bram Moolenaar
815b76bff6 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.
v8.1.1438
2019-06-01 14:15:52 +02:00
Bram Moolenaar
3a97bb3f0f 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.
v8.1.1437
2019-06-01 13:28:35 +02:00
Bram Moolenaar
7dd64a3e57 Update runtime files. 2019-05-31 21:41:05 +02:00
Bram Moolenaar
c28cb5b16d 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)
v8.1.1436
2019-05-31 20:42:09 +02:00
Bram Moolenaar
5d508dd39e 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)
v8.1.1435
2019-05-31 20:23:25 +02:00
Bram Moolenaar
1ab74a5af3 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)
v8.1.1434
2019-05-31 20:02:53 +02:00
Bram Moolenaar
eea1699836 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.
v8.1.1433
2019-05-31 17:34:48 +02:00
Bram Moolenaar
ccd6e3471d patch 8.1.1432: can't build with eval feature
Problem:    Can't build with eval feature.
Solution:   Add missing rename.
v8.1.1432
2019-05-30 22:35:18 +02:00
Bram Moolenaar
c6896e20f8 patch 8.1.1431: popup window listed as "Scratch"
Problem:    Popup window listed as "Scratch".
Solution:   List them as "Popup".
v8.1.1431
2019-05-30 22:32:34 +02:00
Bram Moolenaar
402502d0e4 patch 8.1.1430: popup window option "wrap" not supported
Problem:    Popup window option "wrap" not supported.
Solution:   Implement it.
v8.1.1430
2019-05-30 22:07:36 +02:00
Bram Moolenaar
ac1f1bc222 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().
v8.1.1429
2019-05-30 21:24:26 +02:00
Bram Moolenaar
cc31ad9f9b patch 8.1.1428: popup_atcursor() not implemented yet
Problem:    Popup_atcursor() not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4456)
v8.1.1428
2019-05-30 19:25:06 +02:00
Bram Moolenaar
54fabd4b5e patch 8.1.1427: popup window screenshot test fails
Problem:    Popup window screenshot test fails.
Solution:   Add missing change to popup window code.
v8.1.1427
2019-05-30 19:03:22 +02:00
Bram Moolenaar
b42301247d 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().
v8.1.1426
2019-05-30 18:40:53 +02:00
Bram Moolenaar
89adc3a137 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.
v8.1.1425
2019-05-30 17:29:40 +02:00
Bram Moolenaar
5c3fb04623 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.
v8.1.1424
2019-05-30 15:53:29 +02:00
Bram Moolenaar
cacc6a5c98 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.
v8.1.1423
2019-05-30 15:22:43 +02:00
Bram Moolenaar
8c2a600f72 patch 8.1.1422: popup_getoptions() not implemented yet
Problem:    Popup_getoptions() not implemented yet.
Solution:   Implement it. (closes #4452)
v8.1.1422
2019-05-30 14:29:45 +02:00
Bram Moolenaar
1714696600 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.
v8.1.1421
2019-05-30 00:12:11 +02:00
Bram Moolenaar
88c4e1f069 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.
v8.1.1420
2019-05-29 23:14:28 +02:00
Bram Moolenaar
68a4b04a8d 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.
v8.1.1419
2019-05-29 22:28:29 +02:00
Bram Moolenaar
868b7b6712 patch 8.1.1418: win_execute() is not implemented yet
Problem:    Win_execute() is not implemented yet.
Solution:   Implement it.
v8.1.1418
2019-05-29 21:44:40 +02:00
Bram Moolenaar
1bbebab525 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)
v8.1.1417
2019-05-29 20:36:54 +02:00
Bram Moolenaar
bc133543b8 patch 8.1.1416: popup_getposition() not implemented yet
Problem:    Popup_getposition() not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4449)
v8.1.1416
2019-05-29 20:26:46 +02:00
Bram Moolenaar
59edb00e22 patch 8.1.1415: build error in MS-Windows GUI
Problem:    Build error in MS-Windows GUI.
Solution:   Fix the LALLOC_MULT() argument.
v8.1.1415
2019-05-28 23:32:47 +02:00
Bram Moolenaar
c799fe206e 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.
v8.1.1414
2019-05-28 23:08:19 +02:00
Bram Moolenaar
b58a4b938c 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)
v8.1.1413
2019-05-27 23:36:21 +02:00
Bram Moolenaar
72fcf07b06 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)
v8.1.1412
2019-05-27 22:21:44 +02:00
Bram Moolenaar
7833dab73c 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.
v8.1.1411
2019-05-27 22:01:40 +02:00
Bram Moolenaar
60cdb3004a 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.
v8.1.1410
2019-05-27 21:54:10 +02:00