aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* doc: job/channel, misc #7783Justin M. Keyes2018-06-11
| | | | | | | | | | | doc: termios defaults. ref #6992 doc: :help shell-powershell doc: provider: Python minimum version is 2.7, 3.4 doc: remove :!start special-case. #5844 doc: mention #7917 change which accepts empty Array for Dictionary parameter doc: <Cmd> pseudokey doc: lmap change #5658 doc: -s, -es
* test: fix startup_specJustin M. Keyes2018-06-10
| | | | | This behavior was changed (improved) by 5861dc596687 which actually makes -E more faithful to Vim's behavior.
* Merge #7679 'startup: treat stdin as text instead of commands'Justin M. Keyes2018-06-10
|\
| * cleanup, test interactive -EJustin M. Keyes2018-06-04
| |
| * win/startup: remove --literalJustin M. Keyes2018-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes 2 failing tests in startup_spec.lua. The Windows-only `--literal` option complicates support of "stdin-as-text + file-args" (#7679). Could work around it, but it's not worth the trouble: - users have a reasonable (and englightening) alternative: nvim +"n *" - "always literal" is more consistent/predictable - avoids platform-specific special-case Unrelated changes: - Replace fileno(stdxx) with STDXX_FILENO for consistency (not motivated by any observed technical reason).
| * startup: allow explicit "-" file arg with --headlessJustin M. Keyes2018-06-04
| |
| * startup: fix -es/-Es so they are actually silentJustin M. Keyes2018-06-04
| | | | | | | | | | | | silent-mode (-es/-Es) has been broken for years. The workaround up to now was to include --headless. But --headless is not equivalent because it prints all messages, not the limited subset defined by silent-mode.
| * startup: stdin as text instead of commandsJustin M. Keyes2018-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat stdin as text by default (so the "-" file is not needed): echo foo | nvim It works with file args (implemented in next commit), too: echo foo | nvim file1.txt file2.txt Why? Because: - Execution of input is (1) almost always unintentional/confusing, and (2) potentially destructive. - Avoids the need for time-delayed warning. #7659 - The _common_ case is to open text in a buffer, not send commands. Note: - Not for Ex-mode (-es) because it is used by scripts. But maybe `-Es`? - Not for --headless, because stdio may be a protocol stream and may be used for any purpose by stdioopen(). To treat stdin as Normal-mode commands, use `-s -` instead: echo ifoo | nvim -s - Other alternatives: - Replay a register. E.g. the following mostly works, except @q aborts on any "beep" (e.g. if the cursor can't move). nvim -c '%d q|norm @q' - - Future: Let `:%source` work with unsaved buffer contents? closes #2087 closes #7659
* | 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.
* | | terminal: flush vterm output buffer on pty output #8486林千里2018-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4151 libvterm uses an "output buffer" for terminal reporting (e.g. \e[6n to report cursor position) Flush it in on_channel_output() not just terminal_send_key() See also this line from pangoterm: https://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/607/pangoterm.c#L2159
* | | Merge #8491 from janlazo/vim-8.0.0255Justin M. Keyes2018-06-07
|\ \ \
| * | | vim-patch:8.0.0256: missing changes to one file breaks testJan Edmund Lazo2018-06-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests fail because some changes were not included. Solution: Add changes to evalfunc.c https://github.com/vim/vim/commit/3a29abcb6154d9f55ca8abd6d97e5822b97ac4b3
* | | | API: validation: mention invalid method name (#8489)Justin M. Keyes2018-06-07
| | | |
* | | | vim-patch:8.0.0254: error message of assert functions (#8488)Jan Edmund Lazo2018-06-07
|/ / / | | | | | | | | | | | | | | | Problem: When using an assert function one can either specify a message or get a message about what failed, not both. Solution: Concatenate the error with the message. https://github.com/vim/vim/commit/c7b831ca154537505f5a22d01335a86b2e9cb023
* | | Merge #8461 from bfredl/scrollstatusJustin M. Keyes2018-06-06
|\ \ \
| * | | ex_getln: remove msg_scrolled cargo-cult magic, fixes #8251Björn Linse2018-06-02
| | | |
| * | | ex_getln: don't redraw statusline on top of scrolled messagesBjörn Linse2018-06-02
| | | |
* | | | fixup: exclude node_modules/ for crash detectionJan Edmund Lazo2018-06-05
| | | | | | | | | | | | | | | | node.js client uses lodash which has core.js.
* | | | test: give more time for nodejsJan Edmund Lazo2018-06-04
| |_|/ |/| | | | | | | | | | | | | | Link neovim package to project root directory. Increase delay to 3 seconds. Reduce the total lines in temporary node scripts.
* | | Merge #8456 'API: nvim_list_uis: include channel id'Justin M. Keyes2018-06-03
|\ \ \ | |/ / |/| |
| * | nvim_list_uis: include channel idBjörn Linse2018-06-01
| | |
* | | wildmenu: close before redrawing statusline (#8453)Alexander Karle2018-06-02
|/ / | | | | Fixes #8385
* | fixup: always delete Xfile, fix exit code checkJan Edmund Lazo2018-05-25
| | | | | | | | | | after_each + os.remove ensures Xfile is deleted after every test. Windows exit code is inconsistent.
* | win: test: close shada file before os.removeJan Edmund Lazo2018-05-24
| |
* | win: test: delete sautest/Jan Edmund Lazo2018-05-24
| |
* | win: test: don't test symlink if not admin userJan Edmund Lazo2018-05-24
| |
* | win: test: disable non-admin failing testsJan Edmund Lazo2018-05-24
|/ | | | | | | mkfifo (msysgit) does not work outside of msys2 environment. gzip tests fail on Windows. mklink requires admin privs for file symbolic links so mklink fails.
* 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.
* Merge #8377 'TextChangedP autocommand'Justin M. Keyes2018-05-19
|\
| * vim-patch:8.0.1494: no autocmd triggered in Insert mode with visible popup menuShougo Matsushita2018-05-14
| | | | | | | | | | | | | | | | | | | | Problem: No autocmd triggered in Insert mode with visible popup menu. Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, closes vim/vim#2372, closes vim/vim#1691) Fix that the TextChanged autocommands are not always triggered when sourcing a script. https://github.com/vim/vim/commit/5a093437199001a0d60d8e18e2b9539b99a7757c
* | test: inccommand_spec: retry unreliable test (#8311)Justin M. Keyes2018-05-18
| |
* | Merge #8406 'stdpath(): handle NULL default values'Justin M. Keyes2018-05-18
|\ \
| * | do not pass NULL to os_getenvJustin M. Keyes2018-05-18
| | | | | | | | | | | | closes #8393
* | | channel: avoid references to non-rooted vimL list with outputBjörn Linse2018-05-17
|/ / | | | | | | | | | | | | likely fixes #7768 #7913 If multiple internal stream callbacks were recieved before vimL callbacks got called, only invoke one vimL callback with all data.
* | Merge #5658 'Apply :lmap in macros'Justin M. Keyes2018-05-17
|\ \