Bram Moolenaar
9d00e4a814
patch 8.2.4010: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 17:49:15 +00:00
Bram Moolenaar
ac78dd4a35
patch 8.2.3985: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 19:25:26 +00:00
Bram Moolenaar
cbadefe25a
patch 8.2.3975: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-01 19:33:50 +00:00
Bram Moolenaar
74409f6279
patch 8.2.3970: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 15:58:22 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Dominique Pelle
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
Bram Moolenaar
e124204c4f
patch 8.2.3830: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2021-12-16 20:56:57 +00:00
Bram Moolenaar
739f13a55b
patch 8.2.3795: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the jumplist feature.
2021-12-13 13:12:53 +00:00
Bram Moolenaar
b711814cb6
patch 8.2.3774: test for command line height fails
...
Problem: Test for command line height fails.
Solution: Use another way to handle window size change.
2021-12-10 13:40:08 +00:00
Bram Moolenaar
8a7374f8c4
patch 8.2.3773: wrong window size when a modeline changes 'columns'
...
Problem: Wrong window size when a modeline changes 'columns' and there is
more than one tabpage. (Michael Soyka)
Solution: Adjust the frames of all tabpages. (closes #9315 )
2021-12-10 12:11:09 +00:00
Bram Moolenaar
d0fb907253
patch 8.2.3764: cannot see any text when window was made zero lines
...
Problem: Cannot see any text when window was made zero lines or zero
columns.
Solution: Ensure there is at least one line and column. (fixes #9307 )
2021-12-09 11:57:22 +00:00
Yegappan Lakshmanan
78a61068cf
patch 8.2.3759: quickfix buffer becomes hidden while still in a window
...
Problem: Quickfix buffer becomes hidden while still in a window.
Solution: Check if the closed window is the last window showing the quickfix
buffer. (Yegappan Lakshmanan, closes #9303 , closes #9300 )
2021-12-08 20:03:31 +00:00
Bram Moolenaar
dea4a61637
patch 8.2.3739: in wrong directory when using win_execute() with 'acd' set
...
Problem: In wrong directory when using win_execute() with 'acd' set.
Solution: Restore the directory when returning to the window. (closes #9276 )
2021-12-04 22:03:34 +00:00
Bram Moolenaar
651fca85c7
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
...
Problem: The +title feature adds a lot of #ifdef but little code.
Solution: Graduate the +title feature.
2021-11-29 20:39:38 +00:00
Bram Moolenaar
34c20ff85b
patch 8.2.3671: restarting Insert mode in prompt buffer too often
...
Problem: Restarting Insert mode in prompt buffer too often when a callback
switches windows and comes back. (Sean Dewar)
Solution: Do not set "restart_edit" when already in Insert mode.
2021-11-25 13:04:48 +00:00
Bram Moolenaar
87fd0924e2
patch 8.2.3628: looking terminal colors is a bit slow
...
Problem: Looking terminal colors is a bit slow.
Solution: Cache the terminal colors. (closes #9130 , closes #9058 )
2021-11-20 13:47:45 +00:00
Bram Moolenaar
0526815c15
patch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied
...
Problem: ":verbose pwd" does not mention 'autochdir' was applied.
Solution: Remember the last chdir was done by 'autochdir'. (issue #9142 )
2021-11-18 18:53:45 +00:00
Bram Moolenaar
7f13b24ab6
patch 8.2.3593: directory is wrong after executing "lcd" with win_execute()
...
Problem: Directory is wrong after executing "lcd" with win_execute().
Solution: Correct the directory when going back to the original window.
(closes #9132 )
2021-11-14 11:41:31 +00:00
naohiro ono
23beefed73
patch 8.2.3591: no event is triggered when closing a window
...
Problem: No event is triggered when closing a window.
Solution: Add the WinClosed event. (Naohiro Ono, closes #9110 )
2021-11-13 12:38:49 +00:00
zeertzjq
7a33ebfc5b
patch 8.2.3572: memory leak when closing window and using "multispace"
...
Problem: Memory leak when closing window and using "multispace" in
'listchars'.
Solution: Free the memory. (closes #9071 )
2021-11-02 20:56:07 +00:00
Yegappan Lakshmanan
8ee52affe7
patch 8.2.3320: some local functions are not static
...
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734 )
2021-08-09 19:59:06 +02:00
gmntroll
9e2fa4bb9e
patch 8.2.3313: unused code in win_exchange() and frame_remove()
...
Problem: Unused code in win_exchange() and frame_remove().
Solution: Remove the code. (closes #8728 )
2021-08-07 22:35:52 +02:00
Bram Moolenaar
f18e8a969a
patch 8.2.3289: compiler warning for unused variable with small features
...
Problem: Compiler warning for unused variable with small features.
Solution: Rearrange #ifdefs.
2021-08-04 21:16:50 +02:00
Bram Moolenaar
57942237c1
patch 8.2.3287: channel events not handled in BufEnter autocommand
...
Problem: Channel events not handled in BufEnter autocommand.
Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697 )
2021-08-04 20:54:55 +02:00
Bram Moolenaar
d61f2f772a
patch 8.2.3286: win_enter_ext() has too many boolean arguments
...
Problem: win_enter_ext() has too many boolean arguments.
Solution: use one flags argument with defined values.
2021-08-04 20:26:19 +02:00
Bram Moolenaar
e29a27f6f8
patch 8.2.3190: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
2021-07-20 21:07:36 +02:00
Bram Moolenaar
b5098060f4
patch 8.2.3115: Coverity complains about free_wininfo() use
...
Problem: Coverity complains about free_wininfo() use.
Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996 )
2021-07-07 19:26:19 +02:00
Bram Moolenaar
108010aa47
patch 8.2.3069: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
2021-06-27 22:03:33 +02:00
Bram Moolenaar
1ff89deeaa
patch 8.2.2649: Vim9: some wincmd arguments cause a white space error
...
Problem: Vim9: some wincmd arguments cause a white space error.
Solution: Insert a space before the count. (closes #8001 )
2021-03-24 20:08:12 +01:00
Bram Moolenaar
9e813b3dea
patch 8.2.2595: setting 'winminheight' may cause 'lines' to change
...
Problem: Setting 'winminheight' may cause 'lines' to change.
Solution: Also take minimal height of other tabpages into account. (#7899 )
2021-03-13 14:29:05 +01:00
Bram Moolenaar
39d4cab494
patch 8.2.2560: setting 'winminheigt' does not take tabline into account
...
Problem: Setting 'winminheigt' does not take tabline into account.
Solution: Subtract the tabline from the available height. (closes #7899 )
2021-03-01 21:02:46 +01:00
Bram Moolenaar
983d83ff1c
patch 8.2.2476: using freed memory when splitting window while closing buffer
...
Problem: Using freed memory when using an autocommand to split a window
while a buffer is being closed.
Solution: Disallow splitting when the buffer has b_locked_split set.
2021-02-07 12:12:43 +01:00
Bram Moolenaar
89015a6759
patch 8.2.2244: crash when making the window width negative
...
Problem: Crash when making the window width of the not-current window
negative.
Solution: Make sure the window width is not negative. (closes #7568 )
2020-12-29 12:46:51 +01:00
Bram Moolenaar
746670604a
patch 8.2.2236: 'scroll' option can change when setting the statusline
...
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes #7533 )
2020-12-28 15:41:41 +01:00
Bram Moolenaar
8adc8d9b73
patch 8.2.1997: window changes when using bufload() while in a terminal popup
...
Problem: Window changes when using bufload() while in a terminal popup.
Solution: When searching for a window by ID also find a popup window.
(closes #7307 )
2020-11-16 20:47:31 +01:00
Bram Moolenaar
cbcd9cbd77
patch 8.2.1966: popup becomes current window after closing a terminal window
...
Problem: Popup becomes current window after closing a terminal window.
Solution: When restoring the window after executing autocommands, check that
the window ID is still the same. (Naruhiko Nishino,
closes #7272 )
2020-11-07 16:58:59 +01:00
Bram Moolenaar
4778b4d0e1
patch 8.2.1948: GUI: crash when handling message while closing a window
...
Problem: GUI: crash when handling message while closing a window. (Srinath
Avadhanula)
Solution: Don't handle message while closing a window. (closes #7250 )
2020-11-04 11:03:12 +01:00
Bram Moolenaar
4882d98339
patch 8.2.1905: the wininfo list may contain stale entries
...
Problem: The wininfo list may contain stale entries.
Solution: When closing a window remove any other entry where the window
pointer is NULL.
2020-10-25 17:55:09 +01:00
Bram Moolenaar
e100440158
patch 8.2.1898: command modifier parsing always uses global cmdmod
...
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-24 20:49:43 +02:00
Bram Moolenaar
bdf931c25b
patch 8.2.1783: try-catch test fails
...
Problem: Try-catch test fails.
Solution: Don't call win_enter(), only call enterering_window().
2020-10-01 22:37:40 +02:00
Bram Moolenaar
668008be66
patch 8.2.1780: statusline not updated when splitting windows
...
Problem: Statusline not updated when splitting windows.
Solution: Call status_redraw_all(). (Jason Franklin, closes #5496 )
2020-10-01 19:06:35 +02:00
Bram Moolenaar
f3c51bbff1
patch 8.2.1748: closing split window in other tab may cause a crash
...
Problem: Closing split window in other tab may cause a crash.
Solution: Set tp_curwin properly. (Rob Pilling, closes #7018 )
2020-09-26 19:11:39 +02:00
Bram Moolenaar
94f4ffa770
patch 8.2.1413: previous tab page not usable from an Ex command
...
Problem: Previous tab page not usable from an Ex command.
Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
closes #6677 )
2020-08-10 19:21:15 +02:00
Bram Moolenaar
a9a47d157a
patch 8.2.1411: when splitting a window localdir is copied but prevdir is not
...
Problem: when splitting a window localdir is copied but prevdir is not.
Solution: Also copy prevdir. (closes #6667 )
2020-08-09 21:45:52 +02:00
Bram Moolenaar
62a232506d
patch 8.2.1401: cannot jump to the last used tabpage
...
Problem: Cannot jump to the last used tabpage.
Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661 ,
neovim #11626 )
2020-08-09 14:04:42 +02:00
Bram Moolenaar
5d3c9f8c2a
patch 8.2.1061: insufficient testing for src/window.c
...
Problem: Insufficient testing for src/window.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6345 )
2020-06-26 20:41:39 +02:00
Bram Moolenaar
cf8441704d
patch 8.2.1059: crash when using :tabonly in an autocommand
...
Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
Solution: Do not allow the autocommand window to be closed.
2020-06-26 19:44:06 +02:00
Bram Moolenaar
4fdb8bd054
patch 8.2.0921: CTRL-W T in cmdline window causes trouble
...
Problem: CTRL-W T in cmdline window causes trouble.
Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
(Naruhiko Nishino, closes #6219 )
2020-06-07 17:03:21 +02:00
Bram Moolenaar
002bc79991
patch 8.2.0909: cannot go back to the previous local directory
...
Problem: Cannot go back to the previous local directory.
Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362 )
2020-06-05 22:33:42 +02:00
Bram Moolenaar
03a9f84817
patch 8.2.0747: cannot forcefully close all popups
...
Problem: Cannot forcefully close all popups.
Solution: Add the "force" argument to popup_clear(). Use it after running a
test. Put back the check for a popup when editing a file.
2020-05-13 13:40:16 +02:00