aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | list_features(): Hack around infinite loop.Justin M. Keyes2016-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msg_putchar() is not updating msg_col, this causes an infinite loop. Observed with execute('version') *nested* in another execute(), in particular this line: let buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+') when called by :CheckHealth (see runtime/autoload/health/nvim .. s:check_performance()). But invoking some variation of execute('...execute("version")') is not enough to provoke the bug, maybe it needs to be in a user function?
| * | | CheckHealth: more checksJustin M. Keyes2016-10-25
|/ / /
* | | version: Allow has("nvim-x"), has("nvim-x.y")Justin M. Keyes2016-10-25
| | |
* | | version: has("nvim-1.2.3")Justin M. Keyes2016-10-25
| | | | | | | | | | | | Helped-by: Daniel Hahler <git@thequod.de>
* | | doc; vim-patch.shJustin M. Keyes2016-10-24
| | | | | | | | | | | | | | | | | | Also include missing changes from: https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810 https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
* | | Merge #5483 from Shougo/vim-0648142Justin M. Keyes2016-10-24
|\ \ \ | | | | | | | | vim-patch 0648142, 91c4937, 06d2d38, 2685212, 269f595
| * | | vim-patch:269f595Shougo Matsushita2016-10-15
| | | | | | | | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/269f595f9eef584937e7eae70fde68cdd7da5bcf
| * | | vim-patch:2685212Shougo Matsushita2016-10-15
| | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
| * | | vim-patch:06d2d38Shougo Matsushita2016-10-15
| | | | | | | | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810
| * | | vim-patch:91c4937Shougo Matsushita2016-10-15
| | | | | | | | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/91c4937be15b0b743b6bc495df602c1abbff6b87
| * | | vim-patch:0648142Shougo Matsushita2016-10-15
| | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
* | | | test/api: Specify handling of VimL errors, v:errmsg.Justin M. Keyes2016-10-24
| |_|/ |/| | | | | | | | TODO: Also spec behavior of Press-Enter prompt for these API functions.
* | | Merge #5523 from justinmk/test-systemJustin M. Keyes2016-10-23
|\ \ \ | |_|/ |/| | test: system(): Avoid indeterminism. Also adjust docs.
| * | test: system(): Avoid indeterminism.Justin M. Keyes2016-10-23
| | |
| * | api: documentationJustin M. Keyes2016-10-23
|/ / | | | | | | Clarify behavior of v:errmsg and the Error object.
* | Merge #5499 from tweekmonster/vim-8.0.0041Justin M. Keyes2016-10-22
|\ \ | | | | | | vim-patch: 8.0.0041, 8.0.0042, 8.0.0043
| * | vim-patch:8.0.0043Tommy Allen2016-10-22
| | | | | | | | | | | | | | | | | | | | | Problem: When using Insert mode completion with 'completeopt' containing "noinsert" with CTRL-N the change is not saved for undo. (Tommy Allen) Solution: Call stop_arrow() before inserting for any key.
| * | vim-patch:8.0.0042Tommy Allen2016-10-22
| | | | | | | | | | | | | | | | | | Problem: When using Insert mode completion with 'completeopt' containing "noinsert" change is not saved for undo. (Tommy Allen) Solution: Call stop_arrow() before inserting for pressing Enter.
| * | vim-patch:8.0.0041Tommy Allen2016-10-22
| | | | | | | | | | | | | | | | | | Problem: When using Insert mode completion but not actually inserting anything an undo item is still created. (Tommy Allen) Solution: Do not call stop_arrow() when not inserting anything.
* | | vim-patch:7.4.2227 (#5521)Grzegorz2016-10-22
|/ / | | | | | | | | | | Problem: Tab page tests are old style. Solution: Change into new style tests. (Hirohito Higashi) https://github.com/vim/vim/commit/1381d791478ee77c8368b89a3d4954316bf839b5
* | Merge pull request #4568 from bfredl/multirequestBjörn Linse2016-10-22
|\ \ | | | | | | atomic multi request for async remote plugins
| * | api: call multiple methods atomically (useful in async contexts)Björn Linse2016-10-22
| | | | | | | | | | | | remove unused response_id parameter of handle_nvim_... helpers
* | | vim-patch: mark applied #5381Shougo Matsushita2016-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:b20617b Add OSX build to Travis CI. (Christian Brabandt) https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363 vim-patch:471a897 Update gitignore for new test binary. (Oyvind Holm, closes vim/vim#954) https://github.com/vim/vim/commit/471a8975690af01a1244b28d5b5f978ca623028f vim-patch:2cb70a2 Put building with interfaces on the right target. https://github.com/vim/vim/commit/2cb70a2744d484d1b2005be0fd0ea7d6a94a8db7 vim-patch:87776a1 Correct build condition. https://github.com/vim/vim/commit/87776a1ac12db3c800e87adcc08541cb609189a5 vim-patch:8de7465 Add missing "then". https://github.com/vim/vim/commit/8de7465d77bcb46eb8c53aaa4cb1f951937788ba vim-patch:1a9f947 Add a separate build target for the unittests. Hopefully the coverage will be merged then. https://github.com/vim/vim/commit/1a9f947cde3dbc802e186808242bbe097a4701c6 vim-patch:8211fcb Run unittests before scripttests. Hopefully does not mess up coverage. https://github.com/vim/vim/commit/8211fcbdc903b98e4a4ab331613c206292da4a1c vim-patch:8e77bad Add json_test to gitignore (Hirohito Higashi) https://github.com/vim/vim/commit/8e77bad3c18245f05a3db3acc566856d30667db8
* | | os_nodetype: open fd with O_NONBLOCK (#5515)Justin M. Keyes2016-10-21
| | | | | | | | | | | | | | | Closes #5267 Helped-by: oni-link <knil.ino@gmail.com>
* | | [RFC] vim-patch:7.4.1704 (#5487)Michael Ennen2016-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.1704 Problem: Using freed memory with "wincmd p". (Dominique Pelle) Solution: Also clear "prevwin" in other tab pages. https://github.com/vim/vim/commit/3dda7db4e1f7c4a8110a1f83001ec36b46693d27
* | | test: :terminal should not interrupt Press-ENTERJustin M. Keyes2016-10-20
| | | | | | | | | | | | References #2748
* | | Merge pull request #5441 from Shougo/vim-7.4.1588James McCoy2016-10-20
|\ \ \ | | | | | | | | | | | | vim-patch:7.4.1588
| * | | vim-patch:7.4.1588Shougo Matsushita2016-10-15
| | |/ | |/| | | | | | | | | | | | | | | | Problem: Old style test for quickfix. Solution: Turn test 96 into a new style test. https://github.com/vim/vim/commit/1ff2b64b11e7d263c6853745d5e594bd8f94b91e
* | | Merge pull request #5440 from Shougo/vim-7.4.1565James McCoy2016-10-20
|\ \ \ | | | | | | | | vim-patch:7.4.1565
| * | | vim-patch:7.4.1565Shougo Matsushita2016-10-15
| |/ / | | | | | | | | | | | | | | | | | | Problem: Crash when assert_equal() runs into a NULL string. Solution: Check for NULL. (Dominique) Add a test. https://github.com/vim/vim/commit/f1551964448607f8222de2d8f0992ea43eb2fe67
* | | Merge pull request #5503 from jamessan/vim-7.4.1494James McCoy2016-10-20
|\ \ \ | | | | | | | | vim-patch:7.4.1494
| * | | hist_char2type: Return '/' for NUL.James McCoy2016-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | During -S execution, ccline.cmdfirstc is NULL, so calling histadd() with a hist-name of '' would fail. Mimic Vim's behavior and fallback to '/' in this scenario, since '' is a documented hist-name as of vim/vim@3e496b0e.
| * | | vim-patch:7.4.1494Patrick2016-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: clr_history() does not work properly. Solution: Increment hisptr. Add a test. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/119d4693e06e68d4f099aa7287e375ae3d265fd0 Note: Only added a test. The change to `histptr` had already been made.
* | | | man.vim: silence `file` call (#5509)Colin Caine2016-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a file is opened by nvim with ft=man already set, and "has('vim_starting')", ftplugin/man.vim calls 'execute 'file man://'.ref', this causes nvim to display something like this: ```` "<name of original file>" 977, 41017C "man://foo(1)" [Not edited] 977 lines --0%-- Press ENTER or type command to continue ```` This is annoying, because nothing of note has actually happened. Use cases why you might want to read a man page from a file: `MANPAGER='bash -c "nvim -c \"set ft=man\" </dev/tty <(col -bx)"' man git` `nvim -c 'set ft=man' <(man -P cat git)`
* | | | Merge pull request #5507 from bfredl/terminal_apiBjörn Linse2016-10-19
|\ \ \ \ | | | | | | | | | | tests: fix racyness in terminal/api_spec.lua
| * | | | tests: fix racyness in terminal/api_spec.luaBjörn Linse2016-10-19
|/ / / / | | | | | | | | | | | | | | | | Previously, the nvim_input from the socket channels could be processed before the input from stdin in rare cases.
* | | | Merge pull request #5393 from bfredl/dispatchfixBjörn Linse2016-10-19
|\ \ \ \ | |_|_|/ |/| | | refactor gendispatch.lua to move verbatim c code to .c files
| * | | api: move verbatim c code out of gendispatch.lua and into c filesBjörn Linse2016-10-19
|/ / / | | | | | | | | | | | | Remove max_fname_len check, which caused false successful lookups, and was an optimization for a very rare case.
* | | folds: Do not auto-update folds for some foldmethods. #5426Shougo Matsushita2016-10-19
| | |
* | | Merge #5502 from justinmk/error-write-to-bg-processJustin M. Keyes2016-10-19
|\ \ \ | | | | | | | | system('foo &', 'bar'): Show error, don't crash.
| * | | system('foo &', 'bar'): Show error, don't crash.Justin M. Keyes2016-10-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #3529 Closes #5241 In Vim, :echo system('cat - &', 'foo') works because for both system() and :! Vim writes input to a temp file and uses shell syntax to redirect the file to the backgrounded `cat` (get_cmd_output() .. make_filter_cmd()). In Nvim, :echo system('cat - &', 'foo') fails because we write the input directly via pipes (shell.c:do_os_system()), but (per POSIX[1]) backgrounded process input stream is redirected from /dev/null (unless overridden by shell redirection; supported only by some shells [2]), so our writes are ignored, the process exits quickly, and if we are writing data larger than the buffer size we'll see EPIPE. This still works: :%w !tee > foo1358.txt & but this does not: :%w !tee foo1358.txt & though it *should* (why doesn't it?) because we still do the temp file dance in do_bang() .. do_filter(). [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02 [2] http://unix.stackexchange.com/a/71218
| * | | test: system(): backgrounded shell commandJustin M. Keyes2016-10-19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests are essentially affirming a regression vs Vim. In Vim, :echo system('cat - &', 'foo') returns "foo", because Vim internally wraps the command with shell-specific syntax to redirect the streams from /dev/null[1]. That can't work in Nvim because we use pipes directly (instead of temp files) and don't wrap the command with shell-specific redirection syntax. References #3529 References #5241 [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02
* / / rplugin: resolve paths in manifest file (#5501)Marco Hinz2016-10-18
|/ / | | | | | | | | | | | | `:CheckHealth nvim` would always report an outdated manifest if symlinks were used, because the manifest file contains unresolved paths that get compared against resolved paths. Now we resolve paths before they get written to the manifest file.
* | Doc: Ruby omni-completion works (#5497)Marco Hinz2016-10-17
| |
* | Merge #5493 from justinmk/checkhealthJustin M. Keyes2016-10-16
|\ \ | | | | | | CheckHealth: check tmux, terminfo
| * | CheckHealth: check terminfoJustin M. Keyes2016-10-16
| | |
| * | CheckHealth: check tmux configurationJustin M. Keyes2016-10-16
| | |
| * | docJustin M. Keyes2016-10-16
| | |
* | | Revert "Makefile: add PREFIX variable"Marco Hinz2016-10-16
|/ / | | | | | | | | | | This reverts commit c13f72ee0a6600963a10e57155d2e814d56599e2. References #5447.
* | test: execute_spec: Adjust screen assertion.Justin M. Keyes2016-10-15
| | | | | | | | | | | | The previous form was passing because it happens immediately before this form; but on a very fast(?) server the screen check might miss that form. It's also not really want we want to assert anyways.