aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* test: Rename includes/pre/uv-errno.h to includes/pre/uv.hJames McCoy2018-07-11
| | | | | | | | | | | | | | | | | | libuv users are only supposed to directly include uv.h. In v1.21.0, all the uv-*.h headers were renamed to uv/*.h, which caused the unit tests to fail with [123/125] Generating post/uv-errno.h FAILED: test/includes/post/uv-errno.h cd «SRCDIR»/src/neovim/build/test/includes && /usr/bin/clang -std=c99 -E -P «SRCDIR»/src/neovim/test/includes/pre/uv-errno.h -I/usr/include -I/usr/include -o «SRCDIR»/neovim/build/test/includes/post/uv-errno.h «SRCDIR»/src/neovim/test/includes/pre/uv-errno.h:1:10: error: 'uv-errno.h' file not found with <angled> include; use "quotes" instead #include <uv-errno.h> ^~~~~~~~~~~~ "uv-errno.h" The intention of the file is to extend libuv's error constants with more values used by the unit tests. This can just as easily be achieved without poking into pseudo-private header files.
* Merge pull request #8716 from mhinz/vim-patch/wrapped-linesJames McCoy2018-07-10
|\ | | | | [RFC] vim-patch.sh: handle wrapped commit messages
| * vim-patch.sh: Unwrap commit messages when reviewing PRsJames McCoy2018-07-10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Longer summary lines for commits may be wrapped when downloading the commit from GitHub. Unwrapping the lines ensures they can be compared with the raw Vim commits. The difference before and after this patch using: ./scripts/vim-patch.sh -r 8684 Before: ✘ Wrong commit message. Expected: vim-patch:8.0.1464: completing directory after :find does not add slash Problem: Completing directory after :find does not add slash. Solution: Adjust the flags for globpath(). (Genki Sky) vim/vim@8a37b03 Actual: vim-patch:8.0.1464: completing directory after :find does not add slash Problem: Completing directory after :find does not add slash. Solution: Adjust the flags for globpath(). (Genki Sky) After: ✔ Found expected commit message. [ci skip]
* vim-patch:8.0.0522: Win32: clipboard=unnamed in :global (#8717)Jan Edmund Lazo2018-07-11
| | | | | | | Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a :global command. Solution: When setting the clipboard was postponed, do not clear the register. https://github.com/vim/vim/commit/3fcfa35f82b9d1ef5e95051b3a45578e10c14ec3
* transstr_buf: fix length comparison #8681Michael Hoffmann2018-07-10
| | | | | | | | | | | | | | | closes #8466 closes #8664 Regression by 0d7daaad98d5. - Fix length comparison. - Fix loop(s) which iterated over all fields of array `pcc` even if it was not filled up (try unicode 0x9f as statusline character). Note about the tests: - To input unicode with more than two hex digits you can use <C-v>U...: a + U+fe20: a︠ a + U+fe20 + U+fe21: a︠︡
* test: build_stl_str_hl (#8703)ZviRackover2018-07-10
| | | | Improve coverage of `build_stl_str_hl`. Minor removal of dead code in the tested function.
* vim-patch:8.0.1464: add slash when completing directory #8684Jan Edmund Lazo2018-07-10
| | | | | Problem: Completing directory after :find does not add slash. Solution: Adjust the flags for globpath(). (Genki Sky) https://github.com/vim/vim/commit/8a37b032895b40dd6953280c33585bcba0c7ef8b
* Merge pull request #8708 from blueyed/fix-standoutJames McCoy2018-07-10
|\ | | | | Fix standout mode
| * [WIP/RFC] Fix standout modeDaniel Hahler2018-07-08
| | | | | | | | | | | | | | | | | | | | It was not working for me in different terminals. This patch makes it work in the same way like reverse. Test: :hi jediUsage cterm=standout | hi jediUsage
* | Merge pull request #8712 from jamessan/unicode-11James McCoy2018-07-10
|\ \ | | | | | | Update unicode files
| * | Update unicode filesJames McCoy2018-07-10
|/ /
* | vim-patch.sh: review_commit: Fix regex for vim versionJames McCoy2018-07-09
| | | | | | | | | | 067bb1e9f changed the commit format to include a brief description in the summary line of the commit.
* | vim-patch.sh: Use single quotes to avoid doubling backslashesJames McCoy2018-07-09
| |
* | man.vim: fix for mandoc (#8698)Brayden Banks2018-07-08
| | | | | | | | | | When giving a section, the first candidate selection was not performed. followup/fixup #8341
* | TUI: urxvt: also send xterm focus-reporting seqs #8699Daniel Hahler2018-07-08
|/ | | | | | | | | | | | | | | | urxvt supports the xterm sequence for focus reporting in master / CVS since 2016 [1]. This has not been released yet, but is expected to be in 9.23. In 3d0ee17 a special case for rxvt was added, which requires a custom urxvt extension, see #7578. Since urxvt 9.23 is not released still, and extensions for handling this manually appear to be in use, this sends both escape sequences for rxvt. Fixes https://github.com/neovim/neovim/issues/8695. 1: https://github.com/exg/rxvt-unicode/commit/75264fa544529a21ff79d3da26eb3130c43444a5#diff-2c8f5590ce4fa7495edcf7572c89c77b
* Merge #8702 from janlazo/nvim-8.0.0654Justin M. Keyes2018-07-08
|\
| * tests: endfunc allows uncommented barJan Edmund Lazo2018-07-07
| |
| * vim-patch: finish port of 8.0.0{654,663,667}Jan Edmund Lazo2018-07-07
| | | | | | | | | | Fix ex_function so that :endfunction passes the test. Remove variables, added in 60c025267265ba4bfc2abd34ea02b13bd5c0e63f.
| * oldtests: fix func Test_echo_and_string()Jan Edmund Lazo2018-07-07
| |
* | clint: use stdout for normal/expected output (#8700)Daniel Hahler2018-07-08
|/
* vim-patch:8.0.0663: unexpected error with 'verbose' (#8692)Jan Edmund Lazo2018-07-06
| | | | | Problem: Giving an error message only when 'verbose' set is unexpected. Solution: Give a warning message instead. https://github.com/vim/vim/commit/f8be461d0284110b321be748fea206d4169b98bb
* Merge #8680 from janlazo/vim-8.0.0640Justin M. Keyes2018-07-04
|\
| * vim-patch:8.0.0686: extra redraw when using CTRL-L in second windowJan Edmund Lazo2018-07-03
| | | | | | | | | | | | | | Problem: When typing CTRL-L in a window that's not the first one, another redraw will happen later. (Christian Brabandt) Solution: Reset must_redraw after calling screenclear(). https://github.com/vim/vim/commit/9f5f7bf4d5f757ef885acf74ce03c25429a328aa
| * vim-patch:8.0.0640: mismatch between help and actual messageJan Edmund Lazo2018-07-03
| | | | | | | | | | | | Problem: Mismatch between help and actual message for ":syn conceal". Solution: Change the message to match the help. (Ken Takata) https://github.com/vim/vim/commit/83064068eaabf75a7d235b0eec561dccbcb96b31
* | provider/node: npm --loglevel silent (#8682)Takuya Matsuyama2018-07-04
|/ | | | closes #8674 npm log level may cause unexpected output.
* Merge #8672 'test: nvim_buf_attach after delay'Justin M. Keyes2018-07-02
|\
| * 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
| |
* | coverity/166184: Null pointer dereference (FP)Justin M. Keyes2018-07-02
|/ | | | | False positive: should never happen, because unibi_from_env() would return NULL if $TERM is undefined.
* Merge #8635 from janlazo/vim-8.0.0252Justin M. Keyes2018-07-01
|\
| * test: port kword_test to Lua for utf_char2bytes()Jan Edmund Lazo2018-07-01
| | | | | | | | | | | | Use LuaJIT FFI to create char pointer. Validate output with utf_ptr2char(), vim_iswordc() and vim_iswordp(). Use const for LuaJIT string-to-char conversion.
| * vim-patch:8.0.0252: not properly recognizing word characters between 128 and 255Jan Edmund Lazo2018-07-01
| | | | | | | | | | | | | | | | Problem: Characters below 256 that are not one byte are not always recognized as word characters. Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test for this. (Ozaki Kiichi) https://github.com/vim/vim/commit/4019cf90b8657d4ab1c39744db63550f44f405a2
* | coverity/108274: tty-test.c: Insecure data handling (#8666)Justin M. Keyes2018-07-01
| |
* | API: emit nvim_buf_lines_event from :terminal #8616KillTheMule2018-07-01
|/ | | | closes #8575
* vim-patch:8.0.0593: DRY: setting list/dict return value (#8639)Jan Edmund Lazo2018-06-30
| | | | | Problem: Duplication of code for adding a list or dict return value. Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/45cf6e910c6d162775ca9d470fac4b6db844001f
* Merge pull request #8661 from jamessan/gen_api_vimdocJames McCoy2018-06-29
|\ | | | | gen_api_vimdoc: Make executable and change #! to python3
| * gen_api_vimdoc: Make executable and change #! to python3James McCoy2018-06-29
|/
* Merge pull request #8656 from bfredl/wd_lsBjörn Linse2018-06-29
|\ | | | | ui: don't crash when 'writedelay' is set and redrawing inside an event handler
| * ui: don't crash when 'writedelay' is set and redrawing inside an event handlerBjörn Linse2018-06-28
|/
* highlight: high-priority CursorLine if fg is set. #8578Yichao Zhou2018-06-28
| | | | | | | | | | | | closes #7383 closes #7715 This implements the compromise described in #7383: * low-priority CursorLine if foreground is not set * high-priority ("same as Vim" priority) CursorLine if foreground is set ref d1874ab2821d076397290cc154d87ec2dc352c79 ref 56eda2aa17c80ba380b606f9466f288fb8162dd3
* doc (#8652)Justin M. Keyes2018-06-28
|
* Merge pull request #8650 from jamessan/skip-pydo-testsJames McCoy2018-06-27
|\ | | | | oldtest: Disable tests that :py(3)do stop executing when buffer changes
| * oldtest: Disable tests that :py(3)do stop executing when buffer changesJames McCoy2018-06-27
| | | | | | | | | | | | | | The current nvim <-> client handling of do_range needs to be adapted to handle these sorts of checks. See https://github.com/neovim/neovim/issues/8554
* | Merge #8645 from janlazo/vim-8.0.0677Justin M. Keyes2018-06-27
|\ \ | |/ |/|
| * vim-patch:8.0.0688: cannot resize the window in a FileType autocommandJan Edmund Lazo2018-06-26
| | | | | | | | | | | | | | Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat) Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat, closes vim/vim#1804) https://github.com/vim/vim/commit/9c4fefffb65a2ed9b4a5b0f1bde0da8f349470b5
| * vim-patch:8.0.0677: setting 'filetype' may switch buffersJan Edmund Lazo2018-06-26
|/ | | | | | | Problem: Setting 'filetype' internally may cause the current buffer and window to change unexpectedly. Solution: Set curbuf_lock. (closes vim/vim#1734) https://github.com/vim/vim/commit/1814183b865059679f6ee526ec23fc575e536e66
* API: nvim_win_set_cursor: set w_set_curswant #8640Justin M. Keyes2018-06-26
|\ | | | | | | | | This one behaves correctly eg in the presence of unicode. ref #8613
| * Improved version of #8613David Hotham2018-06-25
| | | | | | | | This one behaves correctly eg in the presence of unicode
* | Merge #8642 from janlazo/vim-8.0.0704Justin M. Keyes2018-06-26
|\ \ | |/ |/|