aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api
Commit message (Collapse)AuthorAge
* test/api: verify that UI options from stable metadata are preservedBjörn Linse2018-12-21
|
* RPC: turn errors from async calls into notificationsBjörn Linse2018-12-03
| | | | | Previously, nvim sent a response with invalid request id (UINT64_MAX). In functionaltests, catch unexpected error notifications in after_each().
* docJustin M. Keyes2018-11-28
| | | | | | | | | | - develop.txt is for design/guidelines; architecture/concepts should live elsewhere (currently src/nvim/README.md) - move dev-jargon to intro.txt - replace https://neovim.io/community (deprecated) with https://neovim.io/#chat - <Cmd> avoids CmdlineEnter/Leave https://github.com/vim/vim/issues/2889
* API: Implement nvim_win_set_buf() #9100Justin M. Keyes2018-11-25
| | | | closes #9100
* api: implement object namespacesBjörn Linse2018-11-24
| | | | | | | | | Namespaces is a lightweight concept that should be used to group objects for purposes of bulk operations and introspection. This is initially used for highlights and virtual text in buffers, and is planned to also be used for extended marks. There is no plan use them for privileges or isolation, neither to introduce nanespace-level options.
* api: simplify nvim_buf_get_offset functionBjörn Linse2018-11-01
|
* api: implement nvim_buf_get_offset_for_lineBjörn Linse2018-11-01
| | | | | Like line2byte, but works for any buffer, and uses zero-based indexing (API conventions).
* functionaltest: enable job channel testJan Edmund Lazo2018-10-31
|
* functionaltest: win: enable diffput,diffget testJan Edmund Lazo2018-10-31
|
* api/ui: verify compatibility of UI eventsBjörn Linse2018-10-21
|
* tests: improve robustness of immediate successes in screen testsBjörn Linse2018-10-15
|
* ui: rename ext_newgrid to ext_linegridBjörn Linse2018-10-01
|
* startup: always wait for UI with --embed, unless --headless also is suppliedBjörn Linse2018-09-22
|
* test: API validation: assert exact stringJustin M. Keyes2018-09-05
| | | | | | | expect_err() matches against a pattern. Terminate the pattern with "$" to check against buffer overrun. ref #8931
* API: Avoid overrun when formatting error-messageJustin M. Keyes2018-09-05
| | | | | | | msgpack_rpc_to_object (called by handle_request .. msgpack_rpc_to_array) always NUL-terminates API Strings. But handle_request .. msgpack_rpc_get_handler_for operates on a raw msgpack_object, before preparation.
* API: nvim_unsubscribe(): Handle unknown events #8745Daniel Hahler2018-08-28
| | | | close #8745
* functests: tests related to operations on unloaded buffers #7688Peter Hodge2018-07-25
|
* ui: use line-based rather than char-based updates in screen.cBjörn Linse2018-07-21
| | | | | | | | | | | | | Add ext_newgrid and ext_hlstate extensions. These use predefined highlights and line-segment based updates, for efficiency and simplicity.. The ext_hlstate extension in addition allows semantic identification of builtin and syntax highlights. Reimplement the old char-based updates in the remote UI layer, for compatibility. For the moment, this is still the default. The bulitin TUI uses the new line-based protocol. cmdline uses curwin cursor position when ext_cmdline is active.
* tests: <SNR> is represented as 'R' (ASCII)Jan Edmund Lazo2018-07-12
|
* test: nvim_buf_attach: reduce delayJustin M. Keyes2018-07-02
| | | | | | This test is mostly a demo/reference for: https://github.com/neovim/neovim/issues/8634#issuecomment-400940467 so let's not pay a 1s penalty.
* test: nvim_buf_attach response after initial delayJustin M. Keyes2018-07-01
| | | | ref #8634
* test: buffer_updates: 10s timeoutJustin M. Keyes2018-07-01
|
* API: emit nvim_buf_lines_event from :terminal #8616KillTheMule2018-07-01
| | | | closes #8575
* API: nvim_win_set_cursor: set curswant #8613David Hotham2018-06-25
| | | Fixes #8591
* Merge #7917 'API: buffer updates'Justin M. Keyes2018-06-08
|\
| * Add empty options dict to buf_attachKillTheMule2018-05-23
| |
| * Rename some more, fixe borked renamingKillTheMule2018-05-23
| |
| * Send changedtick as first event if buffer contents weren't requestedKillTheMule2018-05-23
| |
| * Unify updates_start and updates to lines_eventKillTheMule2018-05-23
| | | | | | | | Also rename changedtick -> changedtick_event
| * Update testKillTheMule2018-05-23
| |
| * Some renamings and doc changesKillTheMule2018-05-23
| |
| * Try fixing that test on travisKillTheMule2018-05-23
| |
| * Increase sendkeys timeoutKillTheMule2018-05-23
| |
| * The grand renamingKillTheMule2018-05-23
| |
| * Fix tests on windowsKillTheMule2018-05-23
| | | | | | | | | | | | | | | | `cat` is distributed with neovim, so when can use it everywhere, as opposed to `sort`. The diffget test fails for unknown reasons on appveyor, mark it pending for now.
| * Make LiveUpdate return lastline instead of numreplacedKillTheMule2018-05-23
| | | | | | | | In analogy to `nvim_buf_set_lines`.
| * LintKillTheMule2018-05-23
| |
| * Make separate functions to start/stop live updatesKillTheMule2018-05-23
| |
| * Add argument to not send a buffers content when updates are enabledKillTheMule2018-05-23
| | | | | | | | Add a test.
| * Tests for buffer updatesPeter Hodge2018-05-23
| | | | | | | | | | Originally written by @phodge in https://github.com/neovim/neovim/pull/5269.
* | API: validation: mention invalid method name (#8489)Justin M. Keyes2018-06-07
| |
* | nvim_list_uis: include channel idBjörn Linse2018-06-01
|/
* api: list information about all channels/jobs.Björn Linse2018-05-23
| | | | | Fire autocmd when channel opens or its info changes. Add a way for API clients can describe themselves.
* API: nvim_get_commands(): return DictionaryJustin M. Keyes2018-05-12
|
* API: nvim_get_commands(): builtin is irrelevant for buffer-localJustin M. Keyes2018-05-12
| | | | | builtin commands are never buffer-local, so we can return empty for that case.
* API: nvim_get_commands(): more attributesJustin M. Keyes2018-05-11
| | | | | | | Support more :command attributes: -bang -bar -register
* API: nvim_get_commands(): always return keysJustin M. Keyes2018-05-11
| | | | | | - Always return all keys, with at least NIL value. - Require `opts` param to be {"builtin":false} - Validate `opts` param
* API: nvim_get_commands()Nimit Bhardwaj2018-05-11
|
* Merge #8329 'API: Make nvim_set_option() update `:verbose set …`'Justin M. Keyes2018-05-11
|\
| * api: Make nvim_set_option() update `:verbose set ...`b-r-o-c-k2018-05-03
| | | | | | | | | | | | Make `:verbose set ...` show when an option was last modified by an API client or Lua script/chunk. In the case of an API client, the channel ID is displayed.