aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * vim-patch:8.0.0937: user highlight groups not adjusted for terminalJan Edmund Lazo2019-09-09
|/ | | | | | Problem: User highlight groups are not adjusted for StatusLineTerm. Solution: Combine attributes like for StatusLineNC. https://github.com/vim/vim/commit/bce4f62d3043f04fe29f3fef2b927b2268b15255
* Merge #10546 'doc'Justin M. Keyes2019-09-09
|\
| * doc/API/lua: detaching Lua buffer callbacksBjörn Linse2019-09-09
| |
| * doc: StatusLineTerm, StatusLineTermNCJustin M. Keyes2019-09-09
| | | | | | | | | | | | | | N/A: vim-patch:8.0.0941: existing color schemes don't like StatusLineTerm vim-patch:8.0.0937: user highlight groups not adjusted for terminal vim-patch:8.0.0825: not easy to see that a window is a terminal window
| * doc: |api-fast| [ci skip]Justin M. Keyes2019-09-09
| |
| * doc: eliminate msgpack_rpc.txt [ci skip]Justin M. Keyes2019-09-09
| | | | | | | | | | - Migrate msgpack_rpc.txt into api.txt, develop.txt. - fix #10740: Remove warning about "avoid hardcoding the type codes".
| * docJustin M. Keyes2019-09-09
| |
* | provider: has("python3_dynamic") et al. #10980Justin M. Keyes2019-09-09
| | | | | | | | | | | | | | | | | | | | | | Vim added more flags for testing yet more dimensions of its Python situation. Handle those in eval_has_provider(). vim-patch:8.0.1436: not enough information about what Python version may work Problem: Not enough information about what Python version may work. Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and "python3_dynamic" values for has(). ref: https://github.com/neovim/neovim/pull/10942#issuecomment-529479500
* | version.c: update [ci skip] #10961Marvim the Paranoid Android2019-09-09
|/ | | | | | | | | | | | | | | | | | | vim-patch:8.1.1680: the command table is not well aligned vim-patch:8.1.1994: MS-Windows: cannot build with eval but without cscope vim-patch:8.1.2002: version number 2000 missing vim-patch:8.1.2003: MS-Windows: code page 65001 is not recognized vim-patch:8.1.2006: build failure with huge features but without channel feature vim-patch:8.1.2015: terminal altscreen test still fails sometimes vim-patch:8.1.2016: terminal altscreen test now fails on MS-Windows `beval` patches are N/A now. See https://github.com/neovim/neovim/pull/10942#issuecomment-528029830 vim-patch:8.0.1366: https://github.com/vim/vim/commit/1ad022a9b81d7829d5dc98cf5b8d0ee410558040 vim-patch:8.1.0444: unnecessary check for NULL pointer vim-patch:8.1.0652: freeing memory for balloon eval too early vim-patch:8.1.1302: v:beval_text is not tested in Visual mode vim-patch:8.1.1648: MS-Windows: build error with normal feaures vim-patch:8.1.1650: warning for using uninitialized variable vim-patch:8.1.1654: GUI: screen updates from 'balloonexpr' are not displayed vim-patch:8.1.1708: Coverity warns for using uninitialized variable
* paste: fix normal-mode paste by different approach #10976Justin M. Keyes2019-09-09
| | | | | | | | Forcing insert-mode after the first paste-chunk seems to work, as an alternative to a9e2bae0eb69 (insert-before-cursor). NB: Dot-repeat needs to match the original action. Since a9e2bae0eb69 changed paste to insert-before-cursor, dot-repeat must also. But that makes dot-repeat unpleasant/unusual.
* Merge #10973 'vim-patch:8.1.1197'Justin M. Keyes2019-09-08
|\
| * vim-patch:8.1.1197: when starting with multiple tabs file messages is confusingJan Edmund Lazo2019-09-08
|/ | | | | | Problem: When starting with multiple tabs file messages is confusing. Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt) https://github.com/vim/vim/commit/c75e81262347e47a69faabd72caf89fec3f06e8f
* Merge #10975 'paste: fix various bugs'Justin M. Keyes2019-09-08
|\
| * paste: insert before cursor alwaysJustin M. Keyes2019-09-08
| | | | | | | | | | | | | | | | | | Inserting "after" the cursor in Normal-mode, for big paste-streams, is not reliable: sometimes the text "after" the cursor ends up in the middle of the pasted text. Maybe the cursor position is not updated? To avoid weird behavior, always paste "before". Maybe nvim_put() or vim.paste() can be fixed more properly later.
| * paste: do not clobber msg area for small pastesJustin M. Keyes2019-09-08
| |
| * paste/cmdline: discard all chunks after first lineJustin M. Keyes2019-09-08
|/ | | | | | Problem: If multiple paste "chunks" are streamed, chunks after the first line are pasted into the buffer. Solution: Check for cmdline-mode for all chunks in a paste-stream.
* vim-patch:8.0.0970: passing invalid highlight id #10972Justin M. Keyes2019-09-08
| | | | | | | | | (We don't implement StatusLineTerm{NC}, but this patch seems generally relevant.) Problem: if there is no StatusLine highlighting and there is StatusLineNC or StatusLineTermNC highlighting then an invalid highlight id is passed to combine_stl_hlt(). (Coverity) Solution: Check id_S to be -1 instead of zero. https://github.com/vim/vim/commit/d6a7b3e6bbb8f87507de68d86cf70eab806aab3a
* paste: reset 'paste' option immediately #10974Justin M. Keyes2019-09-08
| | | | | | - Workaround #10966: 'paste' option is not always reset. - In any case there's not much reason to wait until phase=3, because pasting in cmdline-mode skips lines after the first line (thus the `:set paste .. :set nopaste` dance happens only ~once).
* Merge pull request #10777 from glacambre/fix_10042Björn Linse2019-09-08
|\ | | | | ex_getln.c: fix <S-Tab> not triggering Pmenu when wildoptions=pum
| * ex_getln.c: fix <S-Tab> not triggering pum when wildoptions=pum (#10042)glacambre2019-09-08
| | | | | | | | | | | | Some of the logic that was present for <Tab> was missing from <S-Tab>. Closes https://github.com/neovim/neovim/issues/10042.
* | vim-patch:8.1.2007: no test for what 8.1.1926 fixes #10970Jan Edmund Lazo2019-09-08
|/ | | | | Problem: No test for what 8.1.1926 fixes. Solution: Add a test case. https://github.com/vim/vim/commit/fca068b977b1dc07b269e8c3e0ff7aa638357eff
* 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
| |