Yegappan Lakshmanan
14113fdf9c
patch 9.0.1390: FOR_ALL_ macros are defined in an unexpected file
...
Problem: FOR_ALL_ macros are defined in an unexpected file.
Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS.
(Yegappan Lakshmanan, closes #12109 )
2023-03-07 17:13:51 +00:00
Bram Moolenaar
99ad3a8bb9
patch 9.0.1362: ml_get error when going to another tab
...
Problem: ml_get error when going to another tab. (Daniel J. Perry)
Solution: Do not call update_topline() if "curwin" is invalid.
(closes #11907 )
2023-02-27 17:18:01 +00:00
Yegappan Lakshmanan
a23a11b5bf
patch 9.0.1336: functions without arguments are not always declared properly
...
Problem: Functions without arguments are not always declared properly.
Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031 )
2023-02-21 14:27:41 +00:00
Luuk van Baal
bc3dc298b3
patch 9.0.1312: Cursor position wrong when splitting window in insert mode
...
Problem: Cursor position wrong when splitting window in insert mode.
Solution: Pass the actual mode to win_fix_cursor(). (Luuk van Baal,
closes #11999 ,
2023-02-15 16:45:27 +00:00
Yegappan Lakshmanan
142ed77898
patch 9.0.1246: code is indented more than necessary
...
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11887 )
2023-01-26 12:00:00 +00:00
Rob Pilling
cb94c91070
patch 9.0.1051: after a failed CTRL-W ] next command splits window
...
Problem: After a failed CTRL-W ] next command splits window.
Solution: Reset postponed_split. (Rob Pilling, closes #11698 )
2022-12-13 12:26:09 +00:00
zeertzjq
3fc84dc2c7
patch 9.0.1025: WinScrolled is not triggered when filler lines change
...
Problem: WinScrolled is not triggered when filler lines change.
Solution: Add "topfill" to the values that WinScrolled triggers on.
(closes #11668 )
2022-12-07 09:17:59 +00:00
Bram Moolenaar
84497cd06f
patch 9.0.0967: leaking memory from autocmd windows
...
Problem: Leaking memory from autocmd windows.
Solution: Free window when auc_win is not NULL.
2022-11-28 20:34:52 +00:00
Bram Moolenaar
e76062c078
patch 9.0.0965: using one window for executing autocommands is insufficient
...
Problem: Using one window for executing autocommands is insufficient.
Solution: Use up to five windows for executing autocommands.
2022-11-28 18:51:43 +00:00
Luuk van Baal
74a694dbe2
patch 9.0.0964: status line not redrawn when 'splitkeep' is "screen"
...
Problem: Status line of other window not redrawn when dragging it when
'splitkeep' is set to "screen".
Solution: Set w_redr_status earlier. (Luuk van Baal, closes #11635 ,
closes #11632 )
2022-11-28 16:49:36 +00:00
Bram Moolenaar
cc762a48d4
patch 9.0.0947: invalid memory access in substitute with function
...
Problem: Invalid memory access in substitute with function that goes to
another file.
Solution: Check for text locked in CTRL-W gf.
2022-11-25 13:03:31 +00:00
Bram Moolenaar
0b6d6a186e
patch 9.0.0929: build failure with tiny version
...
Problem: Build failure with tiny version. (Tony Mechelynck)
Solution: Add #ifdef.
2022-11-23 14:33:01 +00:00
Bram Moolenaar
96cbbe29de
patch 9.0.0927: Coverity warns for using a NULL pointer
...
Problem: Coverity warns for using a NULL pointer.
Solution: Check for memory allocaion failure.
2022-11-23 11:36:22 +00:00
Bram Moolenaar
9c5b7cb4cf
patch 9.0.0919: build failure with tiny features
...
Problem: Build failure with tiny features.
Solution: Adjust #ifdef's.
2022-11-22 13:29:20 +00:00
Bram Moolenaar
35fc61cb5b
patch 9.0.0917: the WinScrolled autocommand event is not enough
...
Problem: The WinScrolled autocommand event is not enough.
Solution: Add WinResized and provide information about what changed.
(closes #11576 )
2022-11-22 12:40:50 +00:00
Bram Moolenaar
2996773276
patch 9.0.0915: WinScrolled may trigger immediately when defined
...
Problem: WinScrolled may trigger immediately when defined.
Solution: Initialize the fields in all windows. (closes #11582 )
2022-11-20 12:11:45 +00:00
Bram Moolenaar
0a60f79fd0
patch 9.0.0913: only change in current window triggers the WinScrolled event
...
Problem: Only a change in the current window triggers the WinScrolled
event.
Solution: Trigger WinScrolled if any window scrolled or changed size.
(issue #11576 )
2022-11-19 21:18:11 +00:00
Bram Moolenaar
9fda81515b
patch 9.0.0909: error message for layout change does not match action
...
Problem: Error message for layout change does not match action.
Solution: Pass the command to where the error is given. (closes #11573 )
2022-11-19 13:14:10 +00:00
Bram Moolenaar
d63a85592c
patch 9.0.0907: restoring window after WinScrolled may fail
...
Problem: Restoring window after WinScrolled may fail.
Solution: Lock the window layout when triggering WinScrolled.
2022-11-19 11:41:30 +00:00
zeertzjq
8e0ccb6bc2
patch 9.0.0825: cannot drag an entry in the tabpage line
...
Problem: Cannot drag an entry in the tabpage line.
Solution: Clear dragwin instead of got_click. (closes #11483 ,
closes #11482 )
2022-11-01 18:35:27 +00:00
Bram Moolenaar
7a7db047dc
patch 9.0.0823: mouse drag test fails
...
Problem: Mouse drag test fails.
Solution: Only reset the mouse click flag when actually switching to another
tab page. Disable test that keeps failing.
2022-10-31 23:07:11 +00:00
Bram Moolenaar
8ab9ca93ee
patch 9.0.0822: crash when dragging the statusline with a mapping
...
Problem: Crash when dragging the statusline with a mapping.
Solution: Check for valid window pointer. (issue #11427 )
2022-10-31 13:06:26 +00:00
Luuk van Baal
a1a46da87d
patch 9.0.0780: 'scroll' value computed in unexpected location
...
Problem: 'scroll' value computed in unexpected location.
Solution: Compute 'scroll' when the window height is changed. (Luuk van
Baal, closes #11387 )
2022-10-17 14:22:03 +01:00
Martin Tournoij
ba43e76fcd
patch 9.0.0747: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330 )
2022-10-13 22:12:15 +01:00
Bram Moolenaar
cf3d0eaf47
patch 9.0.0682: crash when popup with deleted timer is closed
...
Problem: Crash when popup with deleted timer is closed. (Igbanam
Ogbuluijah)
Solution: Check the timer still exists. (closes #11301 )
2022-10-07 11:20:29 +01:00
Bram Moolenaar
c9f5f73206
patch 9.0.0670: no space for command line when there is a tabline
...
Problem: No space for command line when there is a tabline.
Solution: Correct computation of where the command line should be.
(closes #11295 )
2022-10-06 11:39:06 +01:00
Luuk van Baal
346823d3e5
patch 9.0.0667: ml_get error when 'splitkeep' is "screen"
...
Problem: ml_get error when 'splitkeep' is "screen". (Marius Gedminas)
Solution: Check the botline is not too large. (Luuk van Baal,
closes #11293 , closes #11292 )
2022-10-05 18:26:42 +01:00
Bram Moolenaar
0816f473ab
patch 9.0.0665: setting 'cmdheight' has no effect if last window was resized
...
Problem: Setting 'cmdheight' has no effect if last window was resized.
Solution: Do apply 'cmdheight' when told to. Use the frame height instead
of the cmdline_row. (closes #11286 )
2022-10-05 15:42:32 +01:00
Martin Tournoij
7904fa420e
patch 9.0.0657: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268 )
2022-10-04 16:28:45 +01:00
Luuk van Baal
13ece2ae1d
patch 9.0.0647: the 'splitscroll' option is not a good name
...
Problem: The 'splitscroll' option is not a good name.
Solution: Rename 'splitscroll' to 'splitkeep' and make it a string option,
also supporting "topline". (Luuk van Baal, closes #11258 )
2022-10-03 15:28:08 +01:00
Bram Moolenaar
9f573a8df0
patch 9.0.0622: matchaddpos() can get slow when adding many matches
...
Problem: matchaddpos() can get slow when adding many matches.
Solution: Update the next available match ID when manually picking an ID and
remove check if the available ID can be used. (idea by Rick Howe)
2022-09-29 13:50:08 +01:00
Luuk van Baal
7c1cbb6cd4
patch 9.0.0603: with 'nosplitscroll' folds are not handled correctly
...
Problem: With 'nosplitscroll' folds are not handled correctly.
Solution: Take care of closed folds when moving the cursor. (Luuk van Baal,
closes #11234 )
2022-09-27 12:31:15 +01:00
Bram Moolenaar
8279af514c
patch 9.0.0598: using negative array index with negative width window
...
Problem: Using negative array index with negative width window.
Solution: Make sure the window width does not become negative.
2022-09-26 23:08:22 +01:00
Luuk van Baal
20e58561ab
patch 9.0.0555: scrolling with 'nosplitscroll' in callback changing curwin
...
Problem: Scrolling with 'nosplitscroll' in callback changing curwin.
Solution: Invalidate w_cline_row in the right place. (Luuk van Baal,
closes #11185 )
2022-09-23 12:57:09 +01:00
zeertzjq
62de54b48d
patch 9.0.0550: crash when closing a tabpage and buffer is NULL
...
Problem: Crash when closing a tabpage and buffer is NULL.
Solution: Adjust how autocommands are triggered when closing a window.
(closes #11198 , closes #11197 )
2022-09-22 18:08:37 +01:00
Luuk van Baal
faf1d412f5
patch 9.0.0505: various problems with 'nosplitscroll'
...
Problem: Various problems with 'nosplitscroll'.
Solution: Fix 'nosplitscroll' problems. (Luuk van Baal, closes #11166 )
2022-09-19 16:45:29 +01:00
Luuk van Baal
d5bc762dea
patch 9.0.0486: text scrolled with 'nosplitscroll', autocmd win and help
...
Problem: Text scrolled with 'nosplitscroll', autocmd win opened and help
window closed.
Solution: Skip win_fix_scroll() in more situations. (Luuk van Baal,
closes #11150 )
2022-09-17 16:16:35 +01:00
Luuk van Baal
594f9e09cd
patch 9.0.0478: test for 'splitscroll' takes too much time
...
Problem: Test for 'splitscroll' takes too much time.
Solution: Only test some of the combinations. (Luuk van Baal, closes #11139 )
2022-09-16 12:52:58 +01:00
Luuk van Baal
3735f11050
patch 9.0.0469: cursor moves if cmdwin is closed when 'splitscroll' is off
...
Problem: Cursor moves if cmdwin is closed when 'splitscroll' is off.
Solution: Skip win_fix_cursor if called when cmdwin is open or closing.
(Luuk van Baal, closes #11134 )
2022-09-15 12:43:26 +01:00
Luuk van Baal
470a14140b
patch 9.0.0461: 'scroll' is not always updated
...
Problem: 'scroll' is not always updated.
Solution: Call win_init_size() at the right place.
2022-09-14 01:27:23 +01:00
Luuk van Baal
5ed391708a
patch 9.0.0455: a few problems with 'splitscroll'
...
Problem: A few problems with 'splitscroll'.
Solution: Fix 'splitscroll' problems. (Luuk van Baal, closes #11117 )
2022-09-13 11:55:10 +01:00
Luuk van Baal
29ab524358
patch 9.0.0445: when opening/closing window text moves up/down
...
Problem: When opening/closing window text moves up/down.
Solution: Add the 'splitscroll' option. When off text will keep its
position as much as possible.
2022-09-11 16:59:53 +01:00
Luuk van Baal
fd7e60a33d
patch 9.0.0403: 'equalalways' may be off when 'laststatus' is zero
...
Problem: 'equalalways' may be off when 'laststatus' is zero.
Solution: call last_status() before win_equal(). (Luuk van Baal,
closes #11070 )
2022-09-07 14:42:49 +01:00
Bram Moolenaar
21c3a80a7f
patch 9.0.0342: ":wincmd =" equalizes in two directions
...
Problem: ":wincmd =" equalizes in two directions.
Solution: Make ":vertical wincmd =" equalize vertically only and
":horizontal wincmd =" equalize horizontally only.
2022-08-31 17:49:14 +01:00
Bram Moolenaar
a2a8973e51
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
...
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
2022-08-31 14:46:18 +01:00
Shougo Matsushita
0e412be00f
patch 9.0.0326: some changes for cmdheight=0 are not needed
...
Problem: Some changes for cmdheight=0 are not needed.
Solution: Revert resize behavior if height is greater than the available
space. (Shougo Matsushita, closes #11008 )
2022-08-30 11:54:21 +01:00
zeertzjq
670ab0334b
patch 9.0.0304: WinScrolled is not triggered when only skipcol changes
...
Problem: WinScrolled is not triggered when only skipcol changes.
Solution: Add w_last_skipcol and use it. (closes #10998 )
2022-08-28 19:16:15 +01:00
Bram Moolenaar
43568648df
patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used
...
Problem: Crash when 'cmdheight' is 0 and popup_clear() used.
Solution: Reset "message_win" when the message popup is cleared. Close the
popup when 'cmdheight' is non-zero. Add a screendump test.
2022-08-28 13:02:45 +01:00
Bram Moolenaar
f80f40a55c
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version
...
Problem: No good reason why the "gf" command is not in the tiny version.
Solution: Graduate the file_in_path feature.
2022-08-25 16:02:23 +01:00
Bram Moolenaar
6d4b2f54df
patch 9.0.0263: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Make some functions always available.
2022-08-25 15:11:15 +01:00