Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor(ui_refresh): only save/restore p_lz if calling screen_resize() (#17794) | zeertzjq | 2022-03-23 |
| | |||
* | feat(ui_client): handle resize events | hlpr98 | 2022-03-17 |
| | |||
* | refactor: remove redundant casts | Dundar Göc | 2022-03-06 |
| | |||
* | feat(lua): add api and lua autocmds | TJ DeVries | 2022-02-27 |
| | |||
* | refactor(misc1): move out high-level input functions to a new file: input.c | Björn Linse | 2021-12-10 |
| | | | | | Possibly dialog code is messages.c could be moved here as well. misc1.c is now empty, so delete it. | ||
* | refactor(misc1): move way beep functions elsewhere | Björn Linse | 2021-12-10 |
| | |||
* | refactor: format with uncrustify #15872 | dundargoc | 2021-10-02 |
| | | | | * refactor: format with uncrustify * refactor: fix function parameter comments | ||
* | fix(ui): don't log from UI events during free_all_mem() | Björn Linse | 2021-09-14 |
| | | | | | | | | | | | | | | Example assertion failure: %0 in logmsg neovim/src/nvim/log.c:139:17 %1 in ui_call_update_menu neovim/build/src/nvim/auto/ui_events_call.generated.h:8:3 %2 in ex_menu neovim/src/nvim/menu.c:263:3 %3 in do_one_cmd neovim/src/nvim/ex_docmd.c:1981:5 %4 in do_cmdline neovim/src/nvim/ex_docmd.c:602:20 %5 in do_cmdline_cmd neovim/src/nvim/ex_docmd.c:287:10 %6 in free_all_mem neovim/src/nvim/memory.c:596:3 %7 in os_exit neovim/src/nvim/main.c:574:3 %8 in exit_event neovim/src/nvim/msgpack_rpc/channel.c:569:5 | ||
* | screen: setup scrolling main screen when starting with display-=msgsep | Björn Linse | 2021-03-23 |
| | |||
* | ui: make 'mouse' handling in external UI more consistent | Björn Linse | 2021-01-01 |
| | | | | | | | | | before the behaviour of 'mouse' was inconsistent in external UI, as some remapping logic would check has_mouse() and others don't (no difference in TUI or vim classic). With this change, the behaviour is consistently up to the UI decide (see ui.txt edit) Behaviour of tui.c is unaffected by this change. | ||
* | api/ui: simplify popup menu position get/set logic; fix test | Yatao Li | 2020-04-28 |
| | |||
* | api/ui: allow set bounds row and col to be less than 0; ui_pum_get_pos: ↵ | Yatao Li | 2020-04-28 |
| | | | | return first extui bounds information instead of reducing | ||
* | external pum: use floating point geometry; typval: add tv_dict_add_float | Yatao Li | 2020-04-28 |
| | |||
* | ui_pum_get_pos: return internal pum position if external pum pos not found | Yatao Li | 2020-04-28 |
| | |||
* | API/UI: Allow UI to set PUM position and size, and pass the position to ↵ | Yatao Li | 2020-04-28 |
| | | | | CompleteChanged | ||
* | api/ui: win_viewport event for visible range and cursor position in window | Björn Linse | 2020-04-01 |
| | |||
* | ui_grid_resize: fix resize logic for floating window #11655 | Ville Hakulinen | 2020-01-06 |
| | |||
* | rename: UIAttach/UIDetach => UIEnter/UILeave | Justin M. Keyes | 2019-09-12 |
| | | | | | "enter"/"leave" is more conventional for Vim events, and "attach"/"detach" distinction does not gain much. | ||
* | API/nvim_list_uis(): include "chan" field for TUI | Justin M. Keyes | 2019-09-12 |
| | | | | | Even though it's always zero currently, it's less confusing if all UIs have the same fields. | ||
* | UIAttach, UIDetach | Justin M. Keyes | 2019-09-12 |
| | | | | | doc: ginit.vim, gvimrc fix #3656 | ||
* | Merge pull request #10475 from erw7/fix-ext-popupmenu | Björn Linse | 2019-09-08 |
|\ | | | | | Fix some keys not working in ext_popupmenu | ||
| * | Add nvim_ui_pum_set_height to api | erw7 | 2019-09-08 |
| | | |||
* | | refactor: allow us to process a child queue only while waiting on input | Björn Linse | 2019-09-08 |
|/ | |||
* | screen: use dedicated message grid | Björn Linse | 2019-09-01 |
| | | | | | | | | add proper msg_set_pos event, delet win_scroll_over_* make compositor click through unfocusable grids add MsgArea attribute for the message/cmdline area, and add docs and tests | ||
* | events: loop_schedule() is unclear, rename it loop_schedule_fast() | Björn Linse | 2019-08-31 |
| | |||
* | ui: add 'redrawdebug' option for flexible debugging of redrawing | Björn Linse | 2019-07-09 |
| | |||
* | window: allow resize wincmds for floats | Björn Linse | 2019-07-08 |
| | |||
* | UI/nvim_ui_attach(): add `override` option | Justin M. Keyes | 2019-05-09 |
| | | | | | | | | | | | | | | | | | | | | Before now, Nvim always degrades UI capabilities to the lowest-common denominator. For example, if any connected UI has `ext_messages=false` then `ext_messages=true` requested by any other connected UI is ignored. Now `nvim_ui_attach()` supports `override=true`, which flips the behavior: if any UI requests an `ext_*` UI capability then the capability is enabled (and the legacy behavior is disabled). Legacy UIs will be broken while a `override=true` UI is connected, but it's useful for debugging: you can type into the TUI and observe the UI events from another connected (UI) client. And the legacy UI will "recover" after the `override=true` UI disconnects. Example using pynvim: >>> n.ui_attach(2048, 2048, rgb=True, override=True, ext_multigrid=True, ext_messages=True, ext_popupmenu=True) >>> while True: n.next_message(); | ||
* | api: add width/height to FloatConfig | Marco Hinz | 2019-03-16 |
| | |||
* | floats: implement floating windows | Björn Linse | 2019-03-02 |
| | | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com> | ||
* | ui: implement ext_messages | Björn Linse | 2019-02-10 |
| | | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com> | ||
* | UI: always use contrete colors for default_colors_set | Björn Linse | 2019-02-05 |
| | | | | | But add an escape hatch needed for external TUI, so it still can use terminal emulator defaults. | ||
* | rename ui_is_external to ui_has (#9576) | Justin M. Keyes | 2019-02-03 |
| | |||
* | ui/compositor: add redraws needed due to intersected doublewidth chars. | Björn Linse | 2019-02-02 |
| | |||
* | UI: add "compositor" layer to merge grids for TUI use in a correct way | Björn Linse | 2019-02-02 |
| | | | | | | | | Initially we will use this for the popupmenu, floating windows will follow soon NB: writedelay + compositor is weird, we need more flexible redraw introspection. | ||
* | terminal: handle size when switching buffers in window | Björn Linse | 2019-01-27 |
| | |||
* | window/ui: reorganize size variables, fix terminal window size with multigrid. | Björn Linse | 2019-01-27 |
| | | | | | | | wp->w_height_inner now contains the "inner" size, regardless if the window has been drawn yet or not. It should be used instead of wp->w_grid.Rows, for stuff that is not directly related to accessing the allocated grid memory, such like cursor movement and terminal size | ||
* | ui: multigrid mouse support | Björn Linse | 2019-01-20 |
| | |||
* | build: enable -Wshadow | Justin M. Keyes | 2019-01-02 |
| | | | | | | | | | | Note about shada.c: - shada_read_next_item_start was intentionally shadowing `unpacked` and `i` because many of the macros (e.g. ADDITIONAL_KEY) implicitly depended on those variable names. - Macros were changed to parameterize `unpacked` (but not `i`). Macros like CLEAR_GA_AND_ERROR_OUT do control-flow (goto), so any other approach is messy. | ||
* | multigrid: do all adjustment in screen.c | Björn Linse | 2019-01-01 |
| | | | | | Adjustment will get more complex with floats, tabgrid etc, so make it into a function. | ||
* | multigrid: rename grid->ScreenLines and other grid arrays | Björn Linse | 2018-12-31 |
| | |||
* | multigrid: rename to grid.row_offset and grid.requested_rows | Björn Linse | 2018-12-31 |
| | |||
* | multigrid: reorganize types and global varaibles | Björn Linse | 2018-12-31 |
| | |||
* | multigrid: Fix lint errors | Utkarsh Maheshwari | 2018-12-31 |
| | |||
* | multigrid: Fix sending window grid handle in ext_newline mode | Utkarsh Maheshwari | 2018-12-31 |
| | |||
* | multigrid: Put everything on default_grid if not ext_multigrid | Utkarsh Maheshwari | 2018-12-31 |
| | |||
* | multigrid: Add win_position event | Utkarsh Maheshwari | 2018-12-31 |
| | | | | Throttle win_position events | ||
* | multigrid: Allow UIs to set grid size different from window size | Utkarsh Maheshwari | 2018-12-31 |
| | |||
* | multigrid: Change screen_* functions to grid_* functions | Utkarsh Maheshwari | 2018-12-31 |
| | |||
* | log: rename do_log to logmsg | Justin M. Keyes | 2018-09-19 |
| |