aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* eval: wait(): always spin up dummy-timer #10990Justin M. Keyes2019-09-11
| | | | This avoids getting "stuck". If user actually _wants_ to get stuck forever, they could use `:sleep` or specify a really big `interval`.
* Merge #10995 'paste: fix paste in terminal mode'Justin M. Keyes2019-09-11
|\
| * paste: fix paste in terminal modeBjörn Linse2019-09-11
|/
* Merge #10986 'doc'Justin M. Keyes2019-09-11
|\
| * docJustin M. Keyes2019-09-11
| | | | | | | | | | fix #10127 fix #5972
| * doc: nvim_ui_pum_set_height [ci skip]Daniel Hahler2019-09-10
|/
* Merge #10969 from janlazo/clang_pvsJustin M. Keyes2019-09-10
|\
| * spell: assert nonull pointersJan Edmund Lazo2019-09-10
| |
| * cursor_shape: check if modep is nonnullJan Edmund Lazo2019-09-10
| |
| * regexp: assert nonnull pointer for regnext()Jan Edmund Lazo2019-09-10
| |
| * quickfix: fix pvs/v547 warningJan Edmund Lazo2019-09-10
|/
* Merge pull request #9494 from leonerd/leonerd/vterm-color-structBjörn Linse2019-09-10
|\ | | | | Changes for new VTermColor struct (libvterm 0.1)
| * terminal: fix rgb rendering of palette colorsBjörn Linse2019-09-10
| | | | | | | | | | | | | | | | | | | | simplify handling of default colors nvim is always true color internally, remove ui_rgb_attached() check. Fix "runtime termguicolors" test. The test actually reflected broken behavior in (parent) nvim: nvim_ui_set_option("rgb", true) was not respected by existing :terminal instances, so all 16-palette colors became dark blue.
| * lint / test groupingDaniel Hahler2019-09-10
| |
| * Changes for new VTermColor structPaul "LeoNerd" Evans2019-09-10
| |
| * bump libvterm to 0.1 + memleak patchBjörn Linse2019-09-10
|/
* vim-patch:8.0.1309: cannot use 'balloonexpr' in a terminal #10983Jan Edmund Lazo2019-09-09
| | | | | | | | (Port some refactoring, but ignore "balloon" changes.) Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI. https://github.com/vim/vim/commit/51b0f3701ecb440aa72ab6017c1df6940c0e0f6f
* Merge #10982 from janlazo/vim-8.0.0937Justin M. Keyes2019-09-09
|\ | | | | vim-patch:8.0.{937,941}
| * vim-patch:8.0.0941: existing color schemes don't like StatusLineTermJan Edmund Lazo2019-09-09
| | | | | | | | | | | | | | Problem: Existing color schemes don't work well with StatusLineTerm. Solution: Don't use "reverse", use fg and bg colors. Also add StatusLineTermNC. https://github.com/vim/vim/commit/05fbfdcda48a564e7a778c67251f732481f3ceaa
| * 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}