zeertzjq
d6733abc69
fix(ui-ext): backport win_viewport fixes to release-0.9
2023-07-25 22:56:02 +08:00
zeertzjq
42a735e524
fix(startup): don't truncate when printing with -l
2023-07-25 22:56:02 +08:00
zeertzjq
ada9443999
fix(mouse): handle folded lines with virt_lines attached to line above
2023-07-25 22:56:02 +08:00
zeertzjq
69f11f6d26
fix(plines): folded lines with virt_lines attached to line above
2023-07-25 22:56:02 +08:00
zeertzjq
badb6f4bc3
vim-patch:9.0.1607: screenpos() returns wrong row with diff filler lines
...
Problem: screenpos() returns wrong row with diff filler lines.
Solution: Only add filler lines when appropriate. Also don't add the
'smoothscroll' marker when w_skipcol is zero. (closes vim/vim#12485 ,
closes vim/vim#12484 )
55daae3921
2023-07-25 22:56:02 +08:00
zeertzjq
0afec352da
vim-patch:9.0.1600: screenpos() does not take w_skipcol into account
...
Problem: screenpos() does not take w_skipcol into account.
Solution: Subtract w_skipcol from column. (closes vim/vim#12486 , closes vim/vim#12476 )
f0e68c0e2a
2023-07-25 22:56:01 +08:00
zeertzjq
1da1e5a4f3
Merge pull request #24484 from neovim/backport-24481-to-release-0.9
...
[Backport release-0.9] test(core/startup_spec): use retry() instead of jobwait()
2023-07-25 20:48:04 +08:00
fredizzimo
dfed74188d
[Backport release-0.9] fix(ui): delay win_viewport until screen update #24182 ( #24480 )
...
fix(ui): delay win_viewport until screen update #24182
Problem:
Sometimes, when nvim sends the `win_viewport` event, for example when scrolling
with visible folds on the screen, it reports the `scroll_delta` value one batch
into "future". So when the client application is trying to show the new viewport
it's not yet updated, resulting in temporary corruption / screen flickering.
For more details see #23609 , and starting from [this comment](
https://github.com/neovide/neovide/pull/1790#issuecomment-1518697747 ) in
https://github.com/neovide/neovide/pull/1790 ,, where the issue was first
detected. Note that some of the conclusions in those are not fully accurate, but
the general observations are.
Solution:
When there are pending updates to a Window, delay the `win_viewport` UI event
until the updates are sent. This ensures that there's no flush between sending
the viewport and updating of the lines corresponding to the new viewport.
Document the existing viewport behaviour (for cases where there are no
extra flushes), give a hint about how applications can deal with the slightly
surprising behaviour of the viewport event being sent after the updates.
Fixes https://github.com/neovim/neovim/issues/23609
2023-07-25 05:37:07 -07:00
zeertzjq
d1a7aaa7f2
test(core/startup_spec): use retry() instead of jobwait()
...
This should work on Windows.
(cherry picked from commit 9ade0702b6
)
2023-07-25 12:33:21 +00:00
zeertzjq
76bbfb3cfd
Merge pull request #24479 from neovim/backport-24477-to-release-0.9
...
[Backport release-0.9] fix(startup): make recovery mode work without --headless
2023-07-25 19:46:52 +08:00
zeertzjq
11e90126ba
fix(startup): make recovery mode work without --headless
...
(cherry picked from commit e483d95289
)
2023-07-25 11:28:42 +00:00
zeertzjq
aefacff567
Merge pull request #24478 from neovim/backport-23910-to-release-0.9
...
[Backport release-0.9] test(core/startup_spec): add a test for #13720
2023-07-25 19:23:32 +08:00
zeertzjq
cba4362d85
test(core/startup_spec): add a test for #13720
...
(cherry picked from commit 3cd69055de
)
2023-07-25 11:11:31 +00:00
zeertzjq
8dd4a2bdd1
Merge pull request #24476 from neovim/backport-24425-to-release-0.9
...
[Backport release-0.9] fix(terminal): call validate_cursor to update the viewport
2023-07-25 11:44:24 +08:00
Fred Sundvik
dc2860d821
fix(terminal): call validate_cursor to update the viewport
...
(cherry picked from commit 0f5f0dd07b
)
2023-07-25 03:26:05 +00:00
zeertzjq
78b39d510a
Merge pull request #24463 from neovim/backport-24462-to-release-0.9
...
[Backport release-0.9] fix(mouse): drag vsep of window with 'statuscolumn'
2023-07-24 18:29:12 +08:00
zeertzjq
16e690d595
fix(mouse): drag vsep of window with 'statuscolumn'
...
Problem: Cannot drag a vertical separator to the right of a window
whose 'statuscolumn' is wider than itself.
Solution: Never treat a click on a vertical separator as a click on
'statuscolumn'.
(cherry picked from commit c0007e6300
)
2023-07-24 10:17:14 +00:00
zeertzjq
740cb0c7dd
Merge pull request #24460 from neovim/backport-24459-to-release-0.9
...
[Backport release-0.9] fix(statuscolumn): don't update clicks if current width is 0
2023-07-24 15:32:33 +08:00
zeertzjq
48d5eaffcd
fix(statuscolumn): don't update clicks if current width is 0
...
(cherry picked from commit f46241d8a8
)
2023-07-24 07:18:44 +00:00
zeertzjq
af1da51d11
Merge pull request #24449 from neovim/backport-24448-to-release-0.9
...
[Backport release-0.9] fix(highlight): make CurSearch work properly with 'winhl'
2023-07-23 21:56:01 +08:00
zeertzjq
e2d14926d7
fix(highlight): make CurSearch work properly with 'winhl'
...
(cherry picked from commit 56d7627e1a
)
2023-07-23 13:37:43 +00:00
zeertzjq
a3889e743f
Merge pull request #24439 from neovim/backport-24438-to-release-0.9
...
[Backport release-0.9] test: fix VimResume test flakiness
2023-07-23 10:14:06 +08:00
zeertzjq
8ac7491685
test: fix VimResume test flakiness
...
(cherry picked from commit 95c3f8be68
)
2023-07-23 02:03:28 +00:00
zeertzjq
776a9b59b6
Merge pull request #24434 from neovim/backport-24426-to-release-0.9
...
[Backport release-0.9] fix(events): trigger VimResume on next UI request
2023-07-23 07:31:07 +08:00
zeertzjq
e8ff921ed3
fix(events): trigger VimResume on next UI request
...
(cherry picked from commit cdd076d6c1
)
2023-07-22 23:17:02 +00:00
zeertzjq
d82f386201
Merge pull request #24419 from neovim/backport-24418-to-release-0.9
...
[Backport release-0.9] fix(terminal): send Shift-Home Shift-End Ctrl-Home Ctrl-End
2023-07-22 08:12:45 +08:00
zeertzjq
cf4b89f16b
fix(terminal): send Shift-Home Shift-End Ctrl-Home Ctrl-End
...
(cherry picked from commit fa898b6f92
)
2023-07-22 00:01:01 +00:00
zeertzjq
953904c006
Merge pull request #24384 from neovim/backport-23753-to-release-0.9
...
[Backport release-0.9] fix(fs.lua): normalize slash truncation
2023-07-18 14:46:07 +08:00
Mike
c0c6294123
fix(fs.lua): normalize slash truncation
...
Preserve last slash in windows' root drive directories
(cherry picked from commit 886996ff74
)
2023-07-18 06:36:24 +00:00
zeertzjq
b0abe426d6
Merge pull request #24379 from neovim/backport-24378-to-release-0.9
...
[Backport release-0.9] fix(terminal): don't send unknown special keys to terminal
2023-07-17 21:53:33 +08:00
zeertzjq
115fe762b4
fix(terminal): don't send unknown special keys to terminal
...
Special keys are negative integers, so sending them to terminal leads to
strange behavior.
(cherry picked from commit 6b76fd9109
)
2023-07-17 13:43:14 +00:00
zeertzjq
f0e4d284fd
Merge pull request #24370 from neovim/backport-23378-to-release-0.9
...
[Backport release-0.9] fix(clipboard): suppression exit warning if exit code is >= 128
2023-07-16 22:42:57 +08:00
Kai Ting
65d9407835
clipboard: suppression exit warning if exit code is >= 128
...
This is a matching change to 939d9053bd
Fixes: 7054
(cherry picked from commit 62b5d66e43
)
2023-07-16 14:24:57 +00:00
zeertzjq
d3ac249806
Merge pull request #24358 from neovim/backport-24357-to-release-0.9
...
[Backport release-0.9] feat(tui): support Super and Meta modifiers
2023-07-15 15:13:46 +08:00
zeertzjq
344bcb5f30
feat(tui): support Super and Meta modifiers
...
(cherry picked from commit 881835000d
)
2023-07-15 07:03:21 +00:00
zeertzjq
0bc272d0ea
Merge pull request #24321 from neovim/backport-24320-to-release-0.9
...
[Backport release-0.9] fix(mouse): copy the line before syntax matching
2023-07-12 09:04:35 +08:00
zeertzjq
7253cb3905
fix(mouse): copy the line before syntax matching
...
(cherry picked from commit 32e726e626
)
2023-07-12 00:50:53 +00:00
Sean Dewar
9fdaecba90
Merge pull request #24318 from neovim/backport-24316-to-release-0.9
...
[Backport release-0.9] fix(tutor): don't use concealed text in expected lines
2023-07-11 18:20:51 +01:00
Sean Dewar
6808f47ec5
fix(tutor): don't use concealed text in expected lines
...
(cherry picked from commit 24c3962a2e
)
2023-07-11 17:11:07 +00:00
zeertzjq
e9030d109e
Merge pull request #24307 from neovim/backport-24306-to-release-0.9
...
[Backport release-0.9] perf(extmarks): avoid unnecessary marktree traversal with folds
2023-07-11 09:09:20 +08:00
zeertzjq
541439b4ab
perf(extmarks): avoid unnecessary marktree traversal with folds
...
(cherry picked from commit 3fc4da17df
)
2023-07-11 00:59:41 +00:00
zeertzjq
160bdee527
Merge pull request #24298 from neovim/backport-24296-to-release-0.9
...
[Backport release-0.9] fix(completion): don't add backslashes to runtime pattern
2023-07-09 04:59:20 +08:00
zeertzjq
84086283ac
fix(completion): don't add backslash in runtime completion
...
Problem: Bashslashes added as regexp in runtime completion may be
treated as path separator with some 'isfname' value.
Solution: Make curly braces work for runtime completion and use it.
(cherry picked from commit 895cb173d2
)
2023-07-08 15:29:44 +00:00
zeertzjq
5174ed6735
Merge pull request #24269 from neovim/backport-24268-to-release-0.9
...
[Backport release-0.9] fix(column): fix wrong cursor with 'statuscolumn' and cpo+=n
2023-07-06 11:18:07 +08:00
zeertzjq
f36433f83a
fix(column): fix wrong cursor with 'statuscolumn' and cpo+=n
...
(cherry picked from commit 38bceb6269
)
2023-07-06 03:07:43 +00:00
zeertzjq
3fc024f238
Merge pull request #24259 from neovim/backport-24258-to-release-0.9
...
[Backport release-0.9] fix(edit): fix K_EVENT interfering with 'digraph'
2023-07-05 12:16:02 +08:00
zeertzjq
1234861183
fix(edit): fix K_EVENT interfering with 'digraph'
...
(cherry picked from commit b08549eb69
)
2023-07-05 04:06:37 +00:00
zeertzjq
8fe351b674
Merge pull request #24245 from neovim/backport-24244-to-release-0.9
...
[Backport release-0.9] fix(api, lua): make blank lines in a message work properly
2023-07-04 07:32:09 +08:00
zeertzjq
617c6014ea
fix(api, lua): make blank lines in a message work properly
...
(cherry picked from commit e6bb22e691
)
2023-07-03 23:19:26 +00:00
zeertzjq
041bc87333
Merge pull request #24243 from neovim/backport-23891-to-release-0.9
...
[Backport release-0.9] fix(ui): propagate line flags on grid_line events
2023-07-04 05:26:33 +08:00