aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui
Commit message (Collapse)AuthorAge
* Merge branch 'master' of https://github.com/neovim/neovim into rahmtmpJosh Rahm2022-08-19
|\
| * Merge pull request #19360 from famiu/feat/multibuffer-inccommandbfredl2022-08-19
| |\ | | | | | | feat: multibuffer preview support for inccommand
| | * feat: multibuffer preview support for inccommandFamiu Haque2022-08-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Allows preview callbacks to modify multiple buffers in order to show the preview. Previously, if multiple buffers were modified, only the current buffer would have its state restored. After this change, all buffers have their state restored after preview. Closes #19103.
| * | Merge pull request #19822 from bfredl/hldefbfredl2022-08-18
| |\ \ | | | | | | | | fix(api): make nvim_set_hl(ns=0, ...) redraw screen properly
| | * | fix(api): make nvim_set_hl(ns=0, ...) redraw screen properlybfredl2022-08-18
| | | | | | | | | | | | | | | | fixes #18160
| * | | fix(winhl): do not crash when unsetting winhl in just opened windowbfredl2022-08-18
| |/ / | | | | | | | | | fixes #19823
| * | fix(tests): remove irrelevant usage of display-=msgsepbfredl2022-08-17
| | | | | | | | | | | | | | | | | | | | | | | | These were just added to avoid churn when changing the default of 'display'. To simplify message handling logic, we might want to remove support for printing messages in default_grid later on. This would allow things like printing error messages safely in the middle of redraw, or a future graduation of the 'multigrid' feature.
| * | feat(ui): allow to set the highlight namespace per windowbfredl2022-08-17
| | | | | | | | | | | | | | | - reimplement 'winhl' in terms of highlight namespaces - check for EOF in screen tests (to indicate a likely crash)
| * | vim-patch:9.0.0190: the way 'cmdheight' can be made zero is inconsistentShougo Matsushita2022-08-17
| | | | | | | | | | | | | | | | | | | | | Problem: The way 'cmdheight' can be made zero is inconsistent. Solution: Only make 'cmdheight' zero when setting it explicitly, not when resizing windows. (closes vim/vim#10890) https://github.com/vim/vim/commit/f797e309caff48f7a56c73b16e62ff67c4dcbdd6
| * | fix(getchar): flush screen before doing a blocking waitzeertzjq2022-08-15
| |/
| * fix(winbar): do not always assume cursor is valid. fixes #19458bfredl2022-08-13
| |
| * fix(signs): priority of extmark signs (#19718)Lewis Russell2022-08-11
| |
| * fix(folds): fix fold remains when :delete makes buffer empty (#19673)zeertzjq2022-08-08
| |
* | Merge branch 'master' of https://github.com/neovim/neovim into rahmJosh Rahm2022-08-07
|\|
| * fix(ui): set redraw_cmdline when setting window height (#19630)zeertzjq2022-08-03
| |
* | Merge remote-tracking branch 'upstream/master' into rahmJosh Rahm2022-08-03
|\|
| * cmdheight=0: fix bugs part2 (#19185)Shougo2022-07-31
| |
| * fix(screen): check for col instead of vcol when drawing fold (#19572)zeertzjq2022-07-29
| |
| * fix(options): properly free string options (#19510)zeertzjq2022-07-27
| |
| * fix(cmdline): trigger CmdlineEnter and ModeChanged earlier (#19474)zeertzjq2022-07-26
| | | | | | | | Match Vim's ordering in code. These tests are unrelated to ext_cmdline. Move them out of that block.
| * vim-patch:9.0.0071: command overlaps with printed text in scrollback (#19505)zeertzjq2022-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Command overlaps with printed text in scrollback. Solution: Clear until end-of-line and use correct message chunk. (closes vim/vim#10765, closes vim/vim#10764) https://github.com/vim/vim/commit/ecdc82e74e6a7e73d9067ece1d5eac33abfde5ed N/A patches for version.c: vim-patch:9.0.0070: using utfc_ptr2char_len() when length is negative Problem: Using utfc_ptr2char_len() when length is negative. Solution: Check value of length. (closes vim/vim#10760) https://github.com/vim/vim/commit/4dc513a22c017b3061287deac74fa55f70a3214c
| * vim-patch:8.2.5155: in diff mode windows may get out of synczeertzjq2022-07-25
| | | | | | | | | | | | Problem: In diff mode windows may get out of sync. (Gary Johnson) Solution: Avoid that the other window scrolls for 'cursorbind'. https://github.com/vim/vim/commit/a315ce1f326b836167ca8b1037dafd93eb8d4d4e
| * test: improve some input testszeertzjq2022-07-25
| |
| * fix(input): do no reinterpret mouse keys with ALT modifierszeertzjq2022-07-25
| | | | | | | | | | Remove check for MOD_MASK_META as it is for <T- which never appears in TUI. Make small changes to docs.
| * fix(mouse): fix using uninitialized memory with K_MOUSEMOVE (#19480)zeertzjq2022-07-24
| | | | | | Fix a mistake in the porting of Vim patch 8.0.1309.
| * fix(grid): don't use utfc_ptr2char_len() when printing until NUL (#19456)zeertzjq2022-07-22
| |
| * Merge pull request #19445 from famiu/fix/local_winbar_tabsbfredl2022-07-20
| |\ | | | | | | fix: local winbar with tabs
| | * fix: local winbar with tabsFamiu Haque2022-07-20
| | | | | | | | | | | | Closes #19396
| * | Merge pull request #19409 from bfredl/uiunpackbfredl2022-07-19
| |\ \ | | | | | | | | perf(ui): some ui_client fixes/optimizations before externalized TUI
| | * | perf(ui): avoid ui_flush() work in headless modebfredl2022-07-18
| | | |
| | * | perf(ui): eliminate spurious memory allocations for hl_attr_define eventbfredl2022-07-18
| | |/
| * / fix(mouse): click on global statusline with splits (#19390)Munif Tanjim2022-07-19
| |/
* | Merge remote-tracking branch 'upstream/master' into rahmJosh Rahm2022-07-18
|\|
| * feat(defaults): mouse=nvi #19290matveyt2022-07-17
| | | | | | | | | | | | | | | | | | | | Problem: Since right-click can now show a popup menu, we can provide messaging to guide users who expect 'mouse' to be disabled by default. So 'mouse' can now be enabled by default. Solution: Do it. Closes #15521
| * fix(pum): make right drag in anchor grid to select work in multigrid UI (#19382)zeertzjq2022-07-16
| |
| * fix: remote UI may get invalid 'pumblend' value #19379Natasha England-Elbro2022-07-15
| | | | | | fixes: https://github.com/neovim/neovim/issues/19340
| * fix: right-click in clickable statusline #19252Famiu Haque2022-07-15
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 1. Right-click does not work in statusline unless you left-click first (to focus the statusline). 2. Modifier (e.g. shift+rightclick) does not work in statusline. Solution: Make clickable statusline sections receive right-clicks regardless of whether the statusline is focused. Closes #18994
| * test: improve searchhl testszeertzjq2022-07-15
| |
| * fix(winbar): make setting WinBar and WinBarNC in 'winhighlight' workzeertzjq2022-07-15
| |
| * fix(exmode): flush messages before printing a line after pressing Enter (#19341)zeertzjq2022-07-13
| |
| * test(float_spec): make indent more consistentzeertzjq2022-07-10
| |
| * fix(float): fix mouse drag position if float window turned to a splitzeertzjq2022-07-10
| |
| * fix(float): fix glitch when making float window with border a splitzeertzjq2022-07-10
| |
| * fix(float): fix float window with winbar cannot have screen heightzeertzjq2022-07-10
| |
| * fix(float): fix float window border drawing with winbarzeertzjq2022-07-10
| |
| * vim-patch:8.2.0614: get ml_get error when deleting a line in 'completefunc' ↵zeertzjq2022-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | (#19244) Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan Lakshmanan) Solution: Lock the text while evaluating 'completefunc'. https://github.com/vim/vim/commit/ff06f283e3e4b3ec43012dd3b83f8454c98f6639 Fix a mistake in the porting of patch 8.1.0098. Cherry-pick Test_run_excmd_with_text_locked() from patch 8.2.0270. Cherry-pick test_gf.vim changes from patch 8.2.0369. Cherry-pick message change from later patches.
| * fix(tui): resize at startup #17795Javier Lopez2022-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(test): screen.lua nil index When actual_rows and expected_rows are different avoid a nil index. * fix(tui): resize at startup The deleted code is not needed after 402b4e8. It caused the condition to false positive when the function was called more than once before startup (first normal mode). Being itself what set the dimension and not the user, locking the size of the screen to an incorrect size. Make got_winch an int to mitigate: tui_grid_resize changing the size of the host terminal between the signal handler and the call to sigwinch_cb. Since the actual signal handler uv__signal_handle doesn't directly call the callback, the event loop does. Fixes #17285 Fixes #15044 Fixes #11330
| * feat(ui): make right-click menu work properly with ext_multigridzeertzjq2022-07-01
| | | | | | | | Add tests both with and without ext_multigrid.
| * cmdheight=0: fix bugs #18961Shougo2022-06-30
| | | | | | | | | | | | | | | | | | | | | | | | Continue of #16251 Fix #18953 Fix #18960 Fix #18958 Fix #18955 Fix #18970 Fix #18983 Fix #18995 Fix #19112
| * refactor(highlight)!: rename attributes to match Vim (#19159)zeertzjq2022-06-30
| | | | | | | | | | | | | | | | | | Ref: https://github.com/vim/vim/commit/84f546363068e4ddfe14a8a2a2322bb8d3a25417 Rename: - `underlineline` to `underdouble` - `underdot` to `underdotted` - `underdash` to `underdashed` `underdouble` also now takes higher precedence than `undercurl`.