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 )
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.
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 )
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 )
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 )
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.
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.
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.
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().
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 )
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.
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.
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 )
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.
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.
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 )
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)
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 )
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.
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.
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".
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.
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().
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 )
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.
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().
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.
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.
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.
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 )
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.
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.
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.
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.
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 )
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 )
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.
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.
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 )
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 )
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.
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.
2019-05-27 21:54:10 +02:00
Bram Moolenaar
b43683729b
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.
2019-05-27 20:01:41 +02:00
Bram Moolenaar
bf0ecb2cb6
patch 8.1.1408: PFL_HIDDEN conflicts with system header file
...
Problem: PFL_HIDDEN conflicts with system header file.
Solution: Rename to POPF_HIDDEN.
2019-05-27 10:04:40 +02:00
Bram Moolenaar
7a8d0278bd
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.
2019-05-26 23:32:06 +02:00
Bram Moolenaar
2cd0dce898
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.
2019-05-26 22:17:52 +02:00
Bram Moolenaar
68e6560b84
Update runtime files.
2019-05-26 21:33:31 +02:00
Bram Moolenaar
20c023aee0
patch 8.1.1405: "highlight" option of popup windows not supported
...
Problem: "highlight" option of popup windows not supported.
Solution: Implement the "highlight" option.
2019-05-26 21:03:24 +02:00
Bram Moolenaar
9d591525a5
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)
2019-05-26 20:49:42 +02:00