aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Changes for new VTermColor structPaul "LeoNerd" Evans2019-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
* 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: |api-fast| [ci skip]Justin M. Keyes2019-09-09
| |
| * 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.
* 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
* 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
| |
* | 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
|/
* 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
* | 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.
* 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: 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
| * 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
| |
* | 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
| |
| * 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
* | 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
* | Merge pull request #10451 from bfredl/floatbufBjörn Linse2019-09-05
|\ \ | | | | | | anchor float to buffer position