aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | Merge pull request #10757 from bfredl/compfixBjörn Linse2019-08-14
|\ \ \ | |/ / |/| | compositor: handle invalid screen positions after resize gracefully
| * | compositor: handle invalid screen positions after resize gracefullyBjörn Linse2019-08-14
|/ / | | | | | | | | | | | | | | The screen resize logic needs to be refactored to be simpler and more deterministic. Until then, we need to handle attempts to draw outside of the screen size gracefully, just like the old vim code did. fixes #9989
* | Merge #10763 from justinmk/startup-guicursorJustin M. Keyes2019-08-14
|\ \ | | | | | | startup: handle 'guicursor' after user config
| * | styleJustin M. Keyes2019-08-13
| | |
| * | startup: handle 'guicursor' after user configJustin M. Keyes2019-08-13
| | | | | | | | | | | | | | | | | | | | | | | | If parse_shape_opt() is done before user config, the TUI may cause unwanted changes to the terminal cursor which cannot later be undone (see #4396). fix #10750
* | | clipboard: handle/avoid SIGTERM with previous owner #10765Daniel Hahler2019-08-14
| | | | | | | | | | | | | | | Fixes regression due to signal being reported with exit status. ref #10573 939d9053bdf2f56 ref https://github.com/neovim/neovim/issues/7054#issuecomment-520282429
* | | tests: fix/improve "jobwait returns -1 when timed out" #10767Daniel Hahler2019-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a longer timeout for Windows already, but unlike stated in 51d42917f it is not a worst-case, but gets waited for always. The test is only about "-1" on timeout, so reduce it to this. Fixes: 16:33:19,309 INFO - not ok 627 - jobs jobwait with timeout argument will return -1 if the wait timed out 16:33:19,309 INFO - # test/functional/core/job_spec.lua @ 707 16:33:19,309 INFO - # Failure message: test/functional/core/job_spec.lua:714: Expected objects to be the same. 16:33:19,309 INFO - # Passed in: 16:33:19,309 INFO - # (table: 0x0db1a3f0) { 16:33:19,309 INFO - # [1] = 'notification' 16:33:19,309 INFO - # [2] = 'wait' 16:33:19,309 INFO - # *[3] = { 16:33:19,309 INFO - # *[1] = { 16:33:19,309 INFO - # *[1] = -1 16:33:19,309 INFO - # [2] = -1 } } } 16:33:19,309 INFO - # Expected: 16:33:19,309 INFO - # (table: 0x0db1a480) { 16:33:19,309 INFO - # [1] = 'notification' 16:33:19,309 INFO - # [2] = 'wait' 16:33:19,309 INFO - # *[3] = { 16:33:19,309 INFO - # *[1] = { 16:33:19,309 INFO - # *[1] = 4 16:33:19,309 INFO - # [2] = -1 } } } 16:33:19,309 INFO - # stack traceback: 16:33:19,309 INFO - # test/functional/core/job_spec.lua:714: in function <test/functional/core/job_spec.lua:707>
* | | tests: include `timer_start` in duration #10772Daniel Hahler2019-08-14
| | | | | | | | | | | | This should not make much of a difference, but increases the timeout when `load_factor` is used slightly.
* | | mksession: use exists(':tcd'), not has('nvim') #10770mg9792019-08-14
| | | | | | | | | | | | Since recent vim versions also support :tcd, check for the actual availability of the command, rather than has('nvim').
* | | vim-patch:8.1.0456: running test hangs when the input file is being edited ↵Daniel Hahler2019-08-14
| | | | | | | | | | | | | | | | | | | | | (#10764) Problem: Running test hangs when the input file is being edited. Solution: Use a SwapExists autocommand to ignore editing the test script. https://github.com/vim/vim/commit/d8f27b30d6ec0bcfcb8f44c6201e36c003d1ce88
* | | tests: use larger timeout with "timers can be stopped from the handler" (#10760)Daniel Hahler2019-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seen on quickbuild: 23:01:01,289 INFO - not ok 1172 - timers can be stopped from the handler 23:01:01,289 INFO - # test/functional/eval/timer_spec.lua @ 154 23:01:01,289 INFO - # Failure message: test/functional/eval/timer_spec.lua:166: Expected objects to be the same. 23:01:01,289 INFO - # Passed in: 23:01:01,289 INFO - # (number) 3 23:01:01,289 INFO - # Expected: 23:01:01,289 INFO - # (number) 0 23:01:01,289 INFO - # stack traceback: 23:01:01,289 INFO - # test/functional/eval/timer_spec.lua:166: in function <test/functional/eval/timer_spec.lua:154> Log: http://neovim-qb.szakmeister.net/build/24288 Ref: https://github.com/neovim/neovim/pull/10364
* | | Merge pull request #10752 from blueyed/vim-8.0.1179Daniel Hahler2019-08-13
|\ \ \ | |/ / |/| |
| * | vim-patch:8.1.1842: test listed as flaky should no longer be flakyDaniel Hahler2019-08-13
| | | | | | | | | | | | | | | | | | | | | Problem: Test listed as flaky should no longer be flaky. Solution: Remove Test_popup_and_window_resize from the list of flaky tests. (Daniel Hahler, close vim/vim#4807) https://github.com/vim/vim/commit/9570aacdb82c1eb5645d0fbc35bf9728d7334b23
| * | vim-patch:8.0.1179: Test_popup_and_window_resize() does not always passDaniel Hahler2019-08-13
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test_popup_and_window_resize() does not always pass. Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file. (Ozaki Kiichi, closes vim/vim#2186) https://github.com/vim/vim/commit/631820536e4084e01bf990f9314ec385b60b21d7 vim-patch:8.0.1526: no test using a screen dump yet Problem: No test using a screen dump yet. Solution: Add a test for C syntax highlighting. Add helper functions. https://github.com/vim/vim/commit/da65058a9c4774dc534c7ae98d24c58b5db669fa NOTE: uses modified `GetVimProg()` (which is used with skipped tests only (mostly because of `!has('terminal')`)). Vim uses a 'vimcmd' file, while Nvim uses `$NVIM_TEST_ARGX` environment variables. Ref: https://github.com/vim/vim/pull/4806
* | clang/"null pointer dereference" #10755Ihor Antonov2019-08-13
| |
* | vim-patch:8.1.1843: might be freeing memory that was not allocated (#10756)Jan Edmund Lazo2019-08-13
| | | | | | | | | | Problem: Might be freeing memory that was not allocated. Solution: Have next_fenc() set the fenc_alloced flag. (closes vim/vim#4804) https://github.com/vim/vim/commit/f077db24230d10ef9a66ae14da34b639464d8fa2
* | build: link libraries by full path (for luv.so) (#10661)Daniel Hahler2019-08-12
| | | | | | | | | | | | | | | | Use "luv" as imported library to work around "-lluv" being used due to missing SONAME. Fixes https://github.com/neovim/neovim/issues/10407. Ref: https://gitlab.kitware.com/cmake/cmake/issues/19578 Ref: https://github.com/NixOS/nixpkgs/issues/64400#issuecomment-516557253
* | testdir/test_popup.vim: sync/align with Vim (#10751)Daniel Hahler2019-08-12
| |
* | ex_getln.c: fix compute_cmdrow() not resetting lines_left (#10749)Ghjuvan Lacambre2019-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, when `inccomand` was set to `nosplit`, multi-line substitutions collapsed the command-line. This happened because when ex_getln.c:cursorcmd() computed a msg_row, it was given a cmdline_row one line too high. This happened because message.c:msg_puts_display() was supposed to decrement cmdline_row but didn't, because of the `msg_no_more && lines_left == 0` check placed just before the decrementation part in msg_puts_display's while loop. Every time msg_puts_display writes a line, it decreases `lines_left` (a variable used to know how many lines are left for prompts). Since redrawcommandline() did not reset `lines_left` between calls to msg_puts_display, every time a character was pressed, `lines_left` was decremented. This meant that once the user pressed COLUMNS+ROWS numbers of characters, `lines_left` would reach 0 and prevent msg_row from being decremented. It makes sense to fix setting `lines_left` to `cmdline_row` in `compute_cmdrow` ; after all, computing where the command line row should be placed is equivalent to computing how many `lines_left` of output there are left. Closes #8254.
* | Merge #10098 'win: fix msg_puts_printf()'Justin M. Keyes2019-08-12
|\ \ | |/ |/|
| * Change to not test msg_puts_pirntf() in unix CIerw72019-06-09
| |
| * Change to use VV_PROGPATH instead os_exepath()erw72019-06-09
| |
| * Add msg_puts_printf() test for multibyte characterserw72019-06-09
| |
| * Fix problems with message catalog directoryerw72019-06-09
| | | | | | | | | | | | | | | | - In appimage, the message catalog is not used because there is no message catalog in LOCALE_INSTALL_DIR. Therefore, change to exepath/../share/locale instead of LOCALE_INSTALL_DIR. - The old vim style($runtime/lang) is no longer used. Thus all relevant code is removed.
| * Remove display_erros()erw72019-06-09
| | | | | | | | | | do_shell() in Nvim uses the Nvim UI, not the tty directly, so display_errors() is not necessary anymore.
| * Remove USE_MCH_ERRMSGerw72019-06-09
| | | | | | | | USE_MCH_ERRMSG has never been defined, so the dead code has been removed.
| * Change mch_errmsg and mch_msg from macro to functionerw72019-06-09
| |
| * Add test for #7967erw72019-06-09
| |
| * Fix garbled problem with msg_puts_printf on Windowserw72019-06-09
| |
* | Merge pull request #10745 from blueyed/vim-8.1.1461Daniel Hahler2019-08-11
|\ \ | | | | | | vim-patch:8.1.1461 / vim-patch:8.1.1462
| * | rebuild [skip travis]Daniel Hahler2019-08-11
| | |
| * | vim-patch:8.1.1462: MS-Windows: using special character requires quotingDaniel Hahler2019-08-11
| | | | | | | | | | | | | | | | | | Problem: MS-Windows: using special character requires quoting. Solution: Add quotes. (Ken Takata) https://github.com/vim/vim/commit/c974022c31e790136c62586eb0b0ace2d02d2afb
| * | vim-patch:8.1.1461: tests do not run or are not reliable on some systemsDaniel Hahler2019-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests do not run or are not reliable on some systems. Solution: Use "findstr" instead of "grep" on MS-Windows. Clear PROMPT_COMMAND in the terminal test. Delete temp file. Wait for output after executing a debug command. (Yegappan Lakshmanan, closes vim/vim#4479) https://github.com/vim/vim/commit/ddd3308782e931a2c390d692cb23c40d8169bd6f Ignored changes to testdir/test_terminal.vim.
| * | test_source.vim: move Test_source_sandboxDaniel Hahler2019-08-11
| | |
* | | ci: AppVeyor: branches: only: master (#10746)Daniel Hahler2019-08-11
| | | | | | | | | | | | Only build PRs for master, and not other branches on the main repo, e.g. when reverting via GitHub's UI.
* | | win/env: Vim-compat: Empty string deletes env var #10743erw72019-08-11
|/ / | | | | | | | | | | | | | | - Windows: `set FOO=` deletes environment variable FOO, and there is no way to set empty string expect by calling the API. - Vim-compatible: `:let $FOO=""` deletes the environment variable. - See also Test_WindowsHome(). ref: https://github.com/neovim/neovim/pull/10657#issuecomment-516368089
* | win: expand nested env var #10662erw72019-08-11
| | | | | | | | Vim-compatible behavior for a Windows edge case.
* | clang/"Argument with 'nonnull' attribute passed null" #10739Ihor Antonov2019-08-11
| | | | | | | | | | | | | | | | Problem: In screen.c grid_char_needs_redraw clang warns that grid->chars could be NULL Solution: Suggested by bfredl. Add explicit check grid->chars != NULL in grid_put_linebuf similar to grid_puts_len
* | Merge pull request #10738 from bfredl/cmdwincloseBjörn Linse2019-08-10
|\ \ | | | | | | api/window: disallow closing non-current window in cmdwin state
| * | api/window: disallow closing non-current window in cmdwin stateBjörn Linse2019-08-10
| | |
* | | Merge #10737 from blueyed/vim-8.1.0911Justin M. Keyes2019-08-10
|\ \ \ | |/ / |/| | vim-patch:8.1.0911: tag line with Ex command cannot have extra fields
| * | testdir/test_taglist.vim: move Test_tagsfile_without_trailing_newlineDaniel Hahler2019-08-10
| | | | | | | | | | | | Align with Vim. Added in a79c0c8f7.
| * | vim-patch:8.1.0911: tag line with Ex command cannot have extra fieldsDaniel Hahler2019-08-10
|/ / | | | | | | | | | | Problem: Tag line with Ex command cannot have extra fields. Solution: Recognize |;" as the end of the command. (closes vim/vim#2402) https://github.com/vim/vim/commit/943e9639a9ecb08bdec78ae6695c917bca6210b9
* | API: nvim_win_close: Fix closing cmdline-window #10087R. Simon2019-08-10
| |
* | win/os_env_exists(): workaround libuv bug #10734Justin M. Keyes2019-08-10
| | | | | | | | | | | | | | | | | | | | os_env_exists() fails on MSVC build: os_env_exists:104: uv_os_getenv(EMPTY_VAR) failed: -4094 UNKNOWN - Revert 396a3945c4eba733b3a99a7ded217af83a400791 - HACK: Windows: return TRUE if uv_os_getenv() returns UV_UNKNOWN, until libuv bug is fixed: https://github.com/libuv/libuv/issues/2413 ref https://github.com/neovim/neovim/commit/396a3945c4eba733b3a99a7ded217af83a400791#r34642361
* | test/cmdline_spec: adjust "no-op"Justin M. Keyes2019-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (<Cmd>0<cr> is not really a no-op, it moves the cursor.) Attempt to avoid flaky test: test/functional/ui/cmdline_spec.lua @ 830 Failure message: ./test/functional/ui/screen.lua:579: Row 2 did not match. Expected: | | |*{1:~ }| |{3: }| |:012345678901234567890123| |456789^ | Actual: | | |*{3: }| |:012345678901234567890123| |:012345678901234567890123| |456789^ | ./test/functional/ui/screen.lua:579: in function '_wait' ./test/functional/ui/screen.lua:367: in function 'expect' test/functional/ui/cmdline_spec.lua:841: in function <test/functional/ui/cmdline_spec.lua:830> ref https://github.com/neovim/neovim/pull/10171#issuecomment-520134344 ref #10171
* | test/environ_spec: Windows treats empty as undefinedJustin M. Keyes2019-08-10
| | | | | | | | ref #10657
* | vim-patch:8.1.1458: crash when using gtags #10704Jan Edmund Lazo2019-08-10
| | | | | | | | | | | | Problem: Crash when using gtags. (issue vim/vim#4102) Solution: Check for negative row or col in screen_puts_len(). (Christian Brabandt) https://github.com/vim/vim/commit/0b4c9eddb5752d46b65d16e42230b1228f230f40
* | exists(): return false for empty env var #10657Daniel Hahler2019-08-09
| | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/3266 close #10657
* | Merge #10706 from janlazo/vim-8.1.1465Justin M. Keyes2019-08-09
|\ \ | | | | | | vim-patch:8.1.{1465,1467}