aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Merge pull request #10475 from erw7/fix-ext-popupmenuBjörn Linse2019-09-08
|\ | | | | Fix some keys not working in ext_popupmenu
| * Add nvim_ui_pum_set_height to apierw72019-09-08
| |
* | Merge pull request #10959 from bfredl/resizequeueBjörn Linse2019-09-08
|\ \ | | | | | | fix crash on :!tmux split, redraw after resize in pager
| * | update tests for new resize behavior (resize at pager, but not at :!cmd)Björn Linse2019-09-08
| | |
| * | rpc: allow handling of nvim_ui_try_resize at the pagerBjörn Linse2019-09-08
| | | | | | | | | | | | | | | | | | This makes external UI behave consistenly with TUI w.r.t resizes. Which will be needed anyway as TUI will use the external UI protocol soon.
| * | messages: redraw after resize in pagerBjörn Linse2019-09-08
| | | | | | | | | | | | note: does not "return" space at the bottom to the caller
| * | messages: batch draw :mapBjörn Linse2019-09-08
| | |
| * | refactor: allow us to process a child queue only while waiting on inputBjörn Linse2019-09-08
|/ /
* / tests: fix flaky "TUI FocusGained/FocusLost in terminal-mode" #10754Daniel Hahler2019-09-07
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * longer timeout with first expect * Wait for :term to be ready Failure seen on quickbuild (note the "retry() attempts: 1"): 09:41:07,627 INFO - # test/functional/terminal/tui_spec.lua @ 437: TUI FocusGained/FocusLost in terminal-mode 09:41:07,627 INFO - not ok 2976 - TUI FocusGained/FocusLost in terminal-mode 09:41:07,627 INFO - # test/functional/terminal/tui_spec.lua @ 437 09:41:07,627 INFO - # Failure message: ./test/functional/helpers.lua:403: 09:41:07,627 INFO - # retry() attempts: 1 09:41:07,627 INFO - # ./test/functional/ui/screen.lua:579: Row 1 did not match. 09:41:07,627 INFO - # Expected: 09:41:07,627 INFO - # |*{1:r}eady $ | 09:41:07,627 INFO - # |[Process exited 0] | 09:41:07,627 INFO - # | | 09:41:07,627 INFO - # | | 09:41:07,627 INFO - # | | 09:41:07,627 INFO - # |gained | 09:41:07,628 INFO - # |{3:-- TERMINAL --} | 09:41:07,628 INFO - # Actual: 09:41:07,628 INFO - # |*{1: } | 09:41:07,628 INFO - # |{4:~ }| 09:41:07,628 INFO - # |{4:~ }| 09:41:07,628 INFO - # |{4:~ }| 09:41:07,628 INFO - # |{5:[No Name] }| 09:41:07,628 INFO - # | | 09:41:07,628 INFO - # |{3:-- TERMINAL --} | 09:41:07,628 INFO - # 09:41:07,628 INFO - # To print the expect() call that would assert the current screen state, use 09:41:07,628 INFO - # screen:snapshot_util(). In case of non-deterministic failures, use 09:41:07,628 INFO - # screen:redraw_debug() to show all intermediate screen states. 09:41:07,628 INFO - # stack traceback: 09:41:07,628 INFO - # ./test/functional/helpers.lua:403: in function 'retry' 09:41:07,628 INFO - # test/functional/terminal/tui_spec.lua:441: in function <test/functional/terminal/tui_spec.lua:437>
* Merge #10963 from janlazo/vim-8.1.1988Justin M. Keyes2019-09-07
|\ | | | | vim-patch:8.0.1550,8.1.{1716,1988}
| * vim-patch:8.1.1716: old style comments are wasting spaceJan Edmund Lazo2019-09-07
| | | | | | | | | | | | Problem: Old style comments are wasting space Solution: Use new style comments in option header file. https://github.com/vim/vim/commit/ab0a789808ecf8de8f0805ec332f69029897fdb5
| * vim-patch:8.0.1550: various small problems in source filesJan Edmund Lazo2019-09-07
| | | | | | | | | | | | Problem: Various small problems in source files. Solution: Fix the problems. https://github.com/vim/vim/commit/792f0e36593d1ec13ccb8a622ca5542c500577b4
| * vim-patch:8.1.1988: :startinsert! does not work the same way as "A"Jan Edmund Lazo2019-09-06
| | | | | | | | | | | | Problem: :startinsert! does not work the same way as "A". Solution: Use the same code to move the cursor. (closes vim/vim#4896) https://github.com/vim/vim/commit/8d3b51084a5bdcd2ee9e31bc03cba0d16c43d428
* | Merge #10962 from justinmk/vim-088e8e344352Justin M. Keyes2019-09-07
|\ \ | | | | | | vim-patch: runtime updates
| * | vim-patch:06fe74aef726Justin M. Keyes2019-09-06
| | | | | | | | | | | | | | | Runtime files update. https://github.com/vim/vim/commit/06fe74aef72606ac34c9f494186e52614b8fb59a
| * | vim-patch:56c860c315c5Justin M. Keyes2019-09-06
| | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/56c860c315c517d304320e12bf7b5c1479546dae
| * | vim-patch:088e8e344352Justin M. Keyes2019-09-06
| |/ | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/088e8e3443520dec91a384081e66445a104810bb
* / shada: initialize jumplist before search pattern (#10964)Abdelhakeem Osama2019-09-07
|/ | | | | | | Since 8b8ecf4, the shada module loads files in the jumplist to properly clear duplicates. This can trigger some autocommands, which in turn saves and restores search and substitute patterns, freeing the previous strings in "spats" which are held in "wms" as well (heap-use-after-free). To avoid this, initialize the jumplist in "wms" before search patterns.
* Merge #10932 'test: Eliminate expect_err'Justin M. Keyes2019-09-06
|\
| * test: Eliminate expect_errJustin M. Keyes2019-09-06
| | | | | | | | Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
| * test: Rename meth_pcall to pcall_errJustin M. Keyes2019-09-06
|/ | | | | | | - Rename `meth_pcall`. - Make `pcall_err` raise an error if the function does not fail. - Add `vim.pesc()` to treat a string as literal where a Lua pattern is expected.
* termdebug.vim: use style=minimal in popups #10904Jean Mertz2019-09-06
| | | | | | - line numbers weren't hidden (which means the variable is cut off, as the number column isn't considered when calculating the width of the float). - spurious duplicate line to disable signcolumn, and nonumber was indeed missed when porting the original implementation to Neovim.
* version.c: update [ci skip] #10942Marvim the Paranoid Android2019-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0396: 'balloonexpr' only works synchronously vim-patch:8.0.0932: terminal may not use right characters for BS and Enter vim-patch-8.0.0934: change to struts.h missing in patch vim-patch:8.0.0956: scrolling in a terminal window has flicker vim-patch:8.0.0976: cannot send lines to a terminal job vim-patch:8.0.1002: unnecessarily updating screen after timer callback vim-patch:8.0.1096: terminal window in Normal mode has wrong background vim-patch:8.0.1097: background color wrong if job changes background color vim-patch:8.0.1102: terminal window does not use Normal colors vim-patch:8.0.1293: setting a breakpoint in the terminal debugger sometimes fails vim-patch:8.0.1309: cannot use 'balloonexpr' in a terminal vim-patch:8.0.1312: balloon_show() only works in terminal when compiled with GUI vim-patch:8.0.1318: terminal balloon only shows one line vim-patch:8.0.1320: popup test fails on GUI-only build vim-patch:8.0.1321: can't build huge version with Athena # VIM_SERVERNAME is NA because we will have NVIM env var: vim-patch:8.0.1330: MS-Windows: job in terminal can't get back to Vim vim-patch:8.0.1346: crash when passing 50 char string to balloon_split() vim-patch:8.0.1810: buffer of a terminal only updated in Terminal-Normal mode vim-patch:8.0.1815: crash with terminal window and with 'lazyredraw' set vim-patch:8.0.1842: popup menu inside terminal window isn't cleared vim-patch:8.1.1973: cannot build without the quickfix feature vim-patch:8.1.1974: Coverity warns for using pointer as array vim-patch:8.1.1975: MS-Windows GUI responds slowly to timer vim-patch:8.1.1976: Travis log always shows test output vim-patch:8.1.1990: cannot build with eval but without cscope vim-patch:8.1.1991: still cannot build with eval but without cscope
* build: rename CMake find modules for LibFindMacros #10928Daniel Hahler2019-09-06
| | | | | | | | | | | | | | | We are using "LIBFOO" prefixes for `LIBFOO_INCLUDE_DIRS` etc, and therefore need to use this for the PREFIX with LibFindMacros also, so that `"${${PREFIX}_FIND_VERSION}"` gets handled there properly. The alternative would be to either manually handle/set the upper/mixed case variants of those variable additionally, which is not as easy. Keeping the existing names is useful for packagers. Before this the version requirements with `find_package(Unibilium 2.0 REQUIRED)` was not handled (a49cf5126), and it prepares for using a required version with libvterm (initially/wrongly ported in 1896c72a5).
* runtime: :TOhtml workaround for missing 'vts' option #10960Björn Linse2019-09-06
| | | | | | Hot fix for 0.4 This commit should be reverted when &vts option is added. close #10831
* build: cmake: GetCompileFlags: include CMAKE_C_FLAGS (#10957)Daniel Hahler2019-09-06
| | | | Calls `GetCompileFlags` from `src/nvim` directory, to include `--coverage` (and any others).
* Merge pull request #10930 from bfredl/pagerthrottleBjörn Linse2019-09-06
|\ | | | | fixes for pager glitches and crashes
| * test: properly test missing clears after scrollBjörn Linse2019-09-06
| | | | | | | | | | NB: happened to be irrelevant to the present failure, which only occured with the compositor and not exteral UI for some reason
| * test: add tests for pager glitches and crashesBjörn Linse2019-09-06
| |
| * messages: fix crashes with scrollbackBjörn Linse2019-09-06
| |
| * messages: fix missing MsgArea highlighting on/after "-- more --" messageBjörn Linse2019-09-06
| |
| * messages: fix cut lines in scrollback upon overflowBjörn Linse2019-09-06
| |
| * screen: redrawdebug=nothrottleBjörn Linse2019-09-06
| |
* | tests: do_rmdir(): improve error handling #10955Daniel Hahler2019-09-06
| |
* | vim-patch:8.0.1332: enhance quickfix highlighting #10259Daniel Hahler2019-09-06
| | | | | | | | | | | | | | | | Problem: Highlighting in quickfix window could be better. (Axel Bender) Solution: Use the qfSeparator highlight item. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/93a32e2ec4b5a391c5006ca09f196e6510c8c2e9 This adds `syn_name2attr` already (from previous patch 8.0.1123, vim/vim@1b9645de3).
* | stdpaths_get_xdg_var: consider empty env vars #10953Daniel Hahler2019-09-06
| | | | | | | | | | Without this "sysinit uses VIM if XDG_CONFIG_DIRS unset" fails with an existing `/etc/xdg/nvim/sysinit.vim` file, because `XDG_CONFIG_DIRS=` is not considered, but the default ("/etc/xdg") used then.
* | build: fail with CLANG_TSAN + USE_GCOV #10958Daniel Hahler2019-09-06
|/ | | This is better than skipping it silently.
* Merge #10869 'vim-patch:8.1.{0309,0362,0365,0515,1946}'Justin M. Keyes2019-09-05
|\
| * vim-patch:8.1.1946: memory error when profiling a function without a script IDerw72019-09-04
| | | | | | | | | | | | Problem: Memory error when profiling a function without a script ID. Solution: Check for missing script ID. (closes vim/vim#4877) https://github.com/vim/vim/commit/163588005da3a240e49416093d0d0251951d60a1
| * vim-patch:8.1.0515: reloading a script gives errors for existing functionserw72019-09-04
| | | | | | | | | | | | Problem: Reloading a script gives errors for existing functions. Solution: Allow redefining a function once when reloading a script. https://github.com/vim/vim/commit/ded5f1bed7ff2d138b3ee0f9610d17290b62692d
| * vim-patch:8.1.0365: function profile doesn't specify where it was definederw72019-09-04
| | | | | | | | | | | | Problem: Function profile doesn't specify where it was defined. Solution: Show the script name and line number. https://github.com/vim/vim/commit/4c7b08f6409349cf5324a26f7523c438590550ef
| * vim-patch:8.1.0309: profiling does not show a count for condition lineserw72019-09-04
| | | | | | | | | | | | | | Problem: Profiling does not show a count for condition lines. (Daniel Hahler) Solution: Count lines when not skipping. (Ozaki Kiichi, closes #2499) https://github.com/vim/vim/commit/7feb35e7782907b44659a2748ff5d7489deeed74
| * [squash] Fix errors when portingerw72019-09-04
| |
| * Change test because maparg was changed to also return lnumerw72019-09-04
| |
| * vim-patch:8.1.0362: cannot get the script line number when executing a functionerw72019-09-04
| | | | | | | | | | | | | | Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes vim/vim#3362) Also display the line number with ":verbose set". https://github.com/vim/vim/commit/f29c1c6aa3f365c025890fab5fb9efbe88eb1761
* | test/wildmode_spec: fix flaky test (#10947)Justin M. Keyes2019-09-05
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/wildmode_spec: fix flaky test a00eb23c27da fixed one race, but not this one: [ ERROR ] test/functional/ui/wildmode_spec.lua @ 84: 'wildmenu' is preserved during :terminal activity test/functional/ui/screen.lua:587: Row 1 did not match. Expected: |* | | | | | |define jump list > | |:sign define^ | Actual: |*0: !terminal_output! | | | | | |define jump list > | |:sign define^ | To print the expect() call that would assert the current screen state, use screen:snapshot_util(). In case of non-deterministic failures, use screen:redraw_debug() to show all intermediate screen states. stack traceback: test/functional/ui/screen.lua:587: in function '_wait' test/functional/ui/screen.lua:370: in function 'expect' test/functional/ui/wildmode_spec.lua:22: in function 'expect_stay_unchanged' test/functional/ui/wildmode_spec.lua:92: in function <test/functional/ui/wildmode_spec.lua:84> * fixup! test/wildmode_spec: fix flaky test
| * | fixup! test/wildmode_spec: fix flaky testJustin M. Keyes2019-09-04
| | |
| * | test/wildmode_spec: fix flaky testJustin M. Keyes2019-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a00eb23c27da fixed one race, but not this one: [ ERROR ] test/functional/ui/wildmode_spec.lua @ 84: 'wildmenu' is preserved during :terminal activity test/functional/ui/screen.lua:587: Row 1 did not match. Expected: |* | | | | | |define jump list > | |:sign define^ | Actual: |*0: !terminal_output! | | | | | |define jump list > | |:sign define^ | To print the expect() call that would assert the current screen state, use screen:snapshot_util(). In case of non-deterministic failures, use screen:redraw_debug() to show all intermediate screen states. stack traceback: test/functional/ui/screen.lua:587: in function '_wait' test/functional/ui/screen.lua:370: in function 'expect' test/functional/ui/wildmode_spec.lua:22: in function 'expect_stay_unchanged' test/functional/ui/wildmode_spec.lua:92: in function <test/functional/ui/wildmode_spec.lua:84>
* | | vim-patch:8.1.0561: MSCV error format has changed #10952Justin M. Keyes2019-09-05
| | | | | | | | | | | | | | | | | | This was marked as NA, but maybe we want the Windows-specific default 'errorformat'? https://github.com/vim/vim/commit/97195685334c800c5ad1328d957d1bf21f5fa1fa
* | | test/shada_spec: avoid exit_event race #10951Justin M. Keyes2019-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Doing clear() multiple times in quick succession provokes the `exit_event` race described in #8813. - Avoid it by removing unnecessary reset() call. - Replace unnecessary nested describe() blocks with it() blocks. ref d4a0b6c4e1d7