aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fixtures
Commit message (Collapse)AuthorAge
...
* shell: handle split-up UTF-8 sequencesBjörn Linse2018-02-10
|
* shell: add test for binary and multibyte outputBjörn Linse2018-02-06
| | | | Also update existing tests for new (vim-compatible) newline behavior
* Fix warning unused static functionGeorge Zhao2018-01-18
|
* Fix warning when assing size_t type value to uv_buf_t.len, convert type to ↵George Zhao2018-01-18
| | | | ULONG on Windows.
* NVIM v0.2.1v0.2.1Justin M. Keyes2017-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FEATURES: 0e873a30f307 Lua(Jit) built-in #4411 5b32bce73c93 Windows: `:terminal` #7007 7b0ceb3726e6 UI/API: externalize cmdline #7173 b67f58b2845a UI/API: externalize wildmenu #7454 b23aa1cf099e UI: 'winhighlight' #6597 17531ed0825c UI: command-line coloring (`:help input()-highlight`) #6364 244a1f97db6d API: execute lua directly from the remote api #6704 45626de63f2b API: `get_keymap()` #6236 db999821d45c API: `nvim_get_hl_by_name()`, `nvim_get_hl_by_id()` #7082 dc685387a3d6 menu_get() function #6322 9db42d4ce99c :cquit : take an error code argument #7336 9cc185dc6d9d job-control: serverstart(): support ipv6 #6680 1b7a9bf4d202 job-control: sockopen() #6594 6efe84af6813 clipboard: fallback to tmux clipboard #6894 6016ac270f54 clipboard: customize clipboard with `g:clipboard` #6030 3a86dd54f387 ruby: override ruby host via `g:ruby_host_prog` #6841 16cce1ac1745 debug: $NVIM_LOG_FILE #6827 0cba3da26e46 `:checkhealth` built-in, validates $VIMRUNTIME #7399 FIXES: 105d680aea9f TUI: more terminals, improve scroll/resize #6816 cb912a3edaad :terminal : handle F1-F12, other keys #7241 619838f85da2 inccommand: improve performance #6949 04b3c3277235 inccommand: Fix matches for zero-width #7487 60b1e8ad1237 inccommand: multiline, other fixes #7315 f1f7f3b5123e inccommand: Ignore leading modifiers in the command #6967 1551f7132152 inccommand: fix 'gdefault' lockup #7262 6338199b76e6 API: bufhl: support creating new groups #7414 541dde36e330 API: allow K_EVENT during operator-pending 8c732f727414 terminal: adjust for 'number' #7440 5bec94652c9d UI: preserve wildmenu during jobs/events #7110 c349083155cc UI: disable 'lazyredraw' during ui_refresh. #6259 51808a244eca send FocusGained/FocusLost event instead of pseudokey #7221 133f8bc628c2 shada: preserve unnamed register on restart #4700 1b70a1da0438 shada: avoid assertion on corrupt shada file #6958 9f534f338adf mksession: Restore tab-local working directory #6859 de1084f3c488 fix buf_write() crash #7140 7f7698649fc1 syntax: register 'Normal' highlight group #6973 6e7a8c3fe282 RPC: close channel if stream was closed #7081 85f3084e21e1 clipboard: disallow recursion; show hint only once #7203 8d1ccb606d38 clipboard: performance, avoid weird edge-cases #7193 01487d4385ae 'titleold' #7358 01e53a5cbe67 Windows: better path-handling, separator (slash) hygiene #7349 0f2873ce9943 Windows: multibyte startup arguments #7060 CHANGES: 9ff0cc70855f :terminal : start in normal-mode #6808 032b088c8485 lower priority of 'cursorcolumn', 'colorcolumn' #7364 2a3bcd1ff883 RPC: Don't delay notifications when request is pending #6544 023f67cad8d6 :terminal : Do not change 'number', 'relativenumber' #6796 1ef2d768e719 socket.c: Disable Nagle's algorithm on TCP sockets #6915 6720fe253e92 help: `K` tries Vim help instead of manpage #3104 70683705603e help, man.vim: change "outline" map to `gO` #7405
* clipboard: remove start_batch_changes() in redir_write()Justin M. Keyes2017-08-20
| | | | | | | | | | | | | | | | | | | | | | | | start_batch_changes() doesn't avoid invoking the clipboard once-per-line, because the loop is actually in ex_echo(), which calls redir_write() for each message. But we've already entered start_batch_changes() by then, so that was never the problem. redir_write at /home/vagrant/old.neovim/build/../src/nvim/message.c:2523 msg_puts_attr_len at /home/vagrant/old.neovim/build/../src/nvim/message.c:1600 msg_outtrans_len_attr at /home/vagrant/old.neovim/build/../src/nvim/message.c:1221 ex_echo at /home/vagrant/old.neovim/build/../src/nvim/eval.c:19433 do_one_cmd at /home/vagrant/old.neovim/build/../src/nvim/ex_docmd.c:2242 Trying to defer _explicit_ clipboard updates is difficult. :redir @+ | silent echo system('cat foo') | redir END is essentially equivalent to: for l in readfile('foo') let @+ .= l endfor We cannot make judgements about when to ignore a script's bad decisions. start_batch_changes() only works around the case of clipboard=unnamed, i.e. _implicit_ clipboard updates (`:g/foo/d`). Not explicit assignment.
* test: tty-test.c: keep `tty_out` handle aroundJustin M. Keyes2017-08-16
| | | | | Now the window_split_tab_spec.lua test seems to work. Also do some cleanup.
* test: tty-test.c: restore win32 SIGWINCH handlerJustin M. Keyes2017-08-16
|
* test: cleanupJustin M. Keyes2017-08-16
|
* win/pty: log errorserw72017-08-16
|
* win/test: tty-test: print screen size explicitly with CTRL-Qerw72017-08-16
| | | | | tty-test.exe causes abnormal termination with low repeatability, try changing it so as not to use SIGWINCH.
* win: support :terminalerw72017-08-16
|
* inccommand: improve performance #6949KillTheMule2017-07-08
| | | | | | | | During a preview, we can stop looking for matches after we got enough lines for the preview buffer. Because of this perf improvement, the 'redrawtime' test needs to be slowed down in a different way: _long_ lines instead of just many lines.
* *: Fix all V641 errorsZyX2017-05-20
|
* NVIM v0.2.0v0.2.0Justin M. Keyes2017-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FEATURES: bc4a2e1576c6 help, man.vim: "outline" (TOC) feature #5169 58422f17d8e7 'guicursor' works in the TUI (and sends info to UIs) #6423 129f107c0c26 api: nvim_get_mode() #6247 0b59f988f447 api/ui: externalize tabline #6583 bc6d868d00a7 'listchars': `Whitespace` highlight group #6367 6afa7d66cd63 writefile() obeys 'fsync' option #6427 c60e409471c5 eval.c refactor (also improves some error messages) #5119 9d200cd0a3ef getcompletion("cmdline") #6376 2ea7bfc627e5 terminal: Support extra arguments in 'shell'. #4504 bf5110266ca9 DirChanged autocmd #5928 #6262 1743df82f900 'cpoptions': "_" flag to toggle `cw` behaviour #6235 22337b1c0144 CTRL-R omits trailing ^M when pasting to cmdline #6137 0e44916fff88 :edit allows unescaped spaces in filename #6119 abdbfd26bc7f eval: Add id() function and make printf("%p") useful #6095 bdfa1479d296 findfile(), :find, gf work in :terminal. #6009 2f38ed11c98a providers: Disable if `g:loaded_*` exists. b5560a69b12b setpos() can set lowercase marks in other buffers #5753 7c513d646d87 Throttle :! output, pulse "..." message. #5396 d2e8c76dc224 v:exiting #5651 :terminal improvements #6185 #6142 - cursor keeps position after leaving insert-mode. - 4ceec30cd0b4 Follows output only if cursor is at end of buffer. - e7bbd35c812d new option: 'scrollback' - fedb8443d58a quasi-support for undo and 'modifiable' - b45ddf731be5 disables 'list' by default - disables 'relativenumber' by default :help now contains full API documentation at `:help api`. man.vim saw numerous improvements. Windows support: - Windows is no longer "experimental", it is fully supported. - Windows package includes a GUI, curl.exe and other utilities. "Vim 8" features: partials, lambdas. SECURITY FIXES: CVE-2017-5953 CVE-2017-6349 CVE-2017-6350 #6485 CHANGES: NVIM_TUI_ENABLE_CURSOR_SHAPE was removed. Use 'guicursor' instead. See https://github.com/neovim/neovim/wiki/Following-HEAD#20170402 81525dc5c35c 'mouse=a' is no longer the default. (This will probably change again after it is improved.) #6022 0c1f7831649e defaults: 'showcmd', 'belloff', 'ruler' #6087 eb0e94f71b1f api: {get,set}_option update local options as appropriate #6405 bdcb2a38b366 "Reading from stdin..." message was removed. #6298 FIXES: 12fc1defd6a1 ops: fix i<c-r> with multi-byte text #6524 dd391bfca1f3 Windows: system() and friends #6497 13352c00f190 Windows: os_get_hostname() #6413 16babc66870b tui: Less-noisy mouse seqs #6411 3a9dd13f9e64 (vim bug) folding edge-cases #6207 f6946c68aee9 job-control: set CLOEXEC on pty processes. #5986 d1afd434f302 rplugin: Call s:LoadRemotePlugins() on startup. 1215084676f0 backtick-expansion works with `shell=fish` #6224 e32ec03d67ee tui: Improved behavior after resize. #6202 86c2adc07463 edit.c: CTRL-SPC: Insert previously-inserted text. #6090 c318d8e672a3 b:changedtick now follows VimL rules #6112 34e24cb2f734 terminal: Initialize colors in reverse order #6160 e8899178ec34 undo: Don't set b_u_curhead in ex_undojoin() #5869 d25649fa0120 undo: :earlier, g-: Set b_u_seq_cur correctly. (#6016) 043d8ba422b4 'Visual-mode put from @. register' #5782 42c922b32c0a open_buffer(): Do `BufEnter` for directories. 50d0d891299c inccommand: Preview :sub commands only after delimiter #5932 1420e1047454 CheckHealth improvements #5519 c8d5e9230ee3 jobstart(): Return -1 if cmd is not executable. #5671
* *: Add comment to all C filesZyX2017-04-19
|
* terminal: Support extra arguments in 'shell'. #4504Jack Bracewell2017-03-17
| | | | | | | | | | | | | Tokenize p_sh if used as default in ex_terminal(). Previously p_sh was used as the first arg in a list when calling termopen(), this would try to call an untokenized version of shell, meaning if you had an argument in 'shell': set shell=/bin/bash\ --login the command would fail. Helped-by: oni-link <knil.ino@gmail.com> Closes #3999
* api: add api_level_1 fixureBjörn Linse2017-03-15
|
* test: system([...])Rui Abreu Ferreira2017-01-11
|
* jobstart(): Return -1 if cmd is not executable. #5671Aaron Williamson2016-12-10
| | | | Closes #5465
* test: Handle SIGHUP in tty-test fixture.Justin M. Keyes2016-12-07
| | | | Closes #5727
* 'inccommand': Add tests.Justin M. Keyes2016-11-15
|
* api: api_info()['version']Justin M. Keyes2016-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | API level is disconnected from NVIM version. The API metadata holds the current API level, and the lowest backwards-compatible level supported by this instance. Release 0.1.6 is the first release that reports the Nvim version and API level. metadata['version'] = { major: 0, minor: 1, patch: 6, api_level: 1, api_compatible: 0, api_prerelease: false, } The API level may remain unchanged across Nvim releases if the API has not changed. When changing the API, - set NVIM_API_PRERELEASE to true - increment NVIM_API_LEVEL (at most once per Nvim version) - adjust NVIM_API_LEVEL_COMPAT if backwards-compatibility was broken api_level_0.mpack was generated from Nvim 0.1.5 with: nvim --api-info
* api: Nvim version, API level #5386Rui Abreu Ferreira2016-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The API level is disconnected from the NVIM version. The API metadata holds the current API level, and the lowest backwards-compatible level supported by this instance. Release 0.1.6 will be the first release reporting the Nvim version and API level. metadata['version'] = { major: 0, minor: 1, patch: 6, prerelease: true, api_level: 1, api_compatible: 0, } The API level may remain unchanged across Neovim releases if the API has not changed. When changing the API the CMake variable NVIM_API_PRERELEASE is set to true, and NVIM_API_CURRENT/NVIM_API_COMPATIBILITY are incremented accordingly. The functional tests check the API table against fixtures of past versions of Neovim. It compares all the functions in the old table with the new one, it does ignore some metadata attributes that do not alter the function signature or were removed since 0.1.5. Currently the only fixture is 0.mpack, generated from Neovim 0.1.5 with nvim --api-info.
* CheckHealth: Accept [plugin1 [, plugin2 [, ...]]] args.Justin M. Keyes2016-08-21
| | | | | | | | | To healthcheck the "foo" plugin: :CheckHealth foo To healthcheck the "foo" and "bar" plugins: :CheckHealth foo bar To run all auto-discovered healthchecks: :CheckHealth
* Windows: Fix functionaltest fixturesRui Abreu Ferreira2016-08-07
|
* clipboard: fix v:register when clipboard=unnamed,unnamedplusBjörn Linse2016-07-12
|
* functests: Make sure that setting scrollback size works from TermOpenZyX2016-02-28
|
* clipboard: support clipboard=unnamedplus,unnamedBjörn Linse2015-08-07
|
* clipboard: add tests for error fallback and middleclick pasteBjörn Linse2015-07-20
|
* tests: Migrate legacy test 60. #2721Lucas Hoffmann2015-05-27
| | | | Helped-By: Justin M. Keyes <justinkz@gmail.com>
* term: use an argument vector for termopen().Scott Prager2015-05-02
| | | | | | | | | | | | | | | | | | | | | | Old behaviour: termopen('cmd') would run `&shell &shcf "cmd"`, which caused the functional tests to fail on some systems due to the process not "owning" the terminal. Also, it is inconsistent with jobstart(). Modify termopen() so that &shell is not invoked, but maintain the old behaviour with :terminal. Factor the common code for building the argument vector from jobstart() and modify the functional tests to call termopen() instead of :terminal (fixes #2354). Also: * Add a 'name' option for termopen() so that `:terminal {cmd}` produces a buffer named "term//{cwd}/{cmd}" and termopen() users can customize the name. * Update the documentation. * Add functional tests for `:terminal` sinse its behaviour now differs from termopen(). Add "test/functional/fixtures/shell-test.c" and move "test/functional/job/tty-test.c" there, too. Helped-by: Justin M. Keyes <@justinmk>
* legacy tests: migrate test104Rainer Borene2014-11-20