aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | Merge #11157 from janlazo/vim-8.1.2113Justin M. Keyes2019-10-06
|\ \ \ | | | | | | | | vim-patch:8.1.{59, 586, 2113}
| * | | vim-patch:8.1.0586: :digraph output is not easy to readJan Edmund Lazo2019-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :digraph output is not easy to read. Solution: Add highlighting for :digraphs. (Marcin Szamotulski, closes vim/vim#3572) Also add section headers for :digraphs!. https://github.com/vim/vim/commit/eae8ae1b2b4e532b125077d9838b70d966891be3
| * | | vim-patch:8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"Jan Edmund Lazo2019-10-06
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Displayed digraph for "ga" wrong with 'encoding' "cp1251". Solution: Convert from 'encoding' to "utf-8" if needed. (closes vim/vim#3015) https://github.com/vim/vim/commit/bc5020aa4d7ef4aea88395eff858f74fc881eab9
| * | | vim-patch:8.1.2113: ":help expr-!~?" only works after searchingJan Edmund Lazo2019-10-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: ":help expr-!~?" only works after searching. Solution: Escape "~" after "expr-". (closes vim/vim#5015) https://github.com/vim/vim/commit/9ca250855b55f4d3292b010525c827dc6992cb61
* | | | doc: Fix TEST_FILTER example #11158Vikram Pal2019-10-06
| | | |
* | | | vim-patch:8.1.1371: cannot recover from a swap file #11081Jurica Bradarić2019-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot recover from a swap file. Solution: Do not expand environment variables in the swap file name. Do not check the extension when we already know a file is a swap file. (Ken Takata, closes 4415, closes vim/vim#4369) https://github.com/vim/vim/commit/99499b1c05f85f83876b828eea3f6e14f0f407b4
* | | | version.c: update [ci skip] #10981Marvim the Paranoid Android2019-10-05
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0934: change to struts.h missing in patch vim-patch:8.0.1176: job_start() does not handle quote and backslash correctly vim-patch:8.0.1492: memory leak in balloon_split() vim-patch:8.0.1582: in the MS-Windows console mouse movement is not used vim-patch:8.0.1619: Win32 GUI: crash when winpty is not installed vim-patch:8.0.1624: options for term_dumpdiff() and term_dumpload() not implemented vim-patch:8.0.1665: when running a terminal from the GUI 'term' is not useful vim-patch:8.0.1666: % argument in ch_log() causes trouble vim-patch:8.0.1685: can't set ANSI colors of a terminal window vim-patch:8.0.1711: term_setsize() is not implemented yet vim-patch:8.0.1722: cannot specify a minimal size for a terminal window vim-patch:8.0.1725: terminal debugger doesn't handle command arguments vim-patch:8.0.1742: cannot get a list of all the jobs vim-patch:8.0.1798: MS-Windows: file considered read-only too often vim-patch:8.0.1835: print document name does not support multi-byte vim-patch:8.1.0080: can't see the breakpoint number in the terminal debugger vim-patch:8.1.0156: MS-Windows compiler warning vim-patch:8.1.0226: too many #ifdefs vim-patch:8.1.0722: cannot build without the virtualedit feature vim-patch:8.1.0745: compiler warnings for signed/unsigned string vim-patch:8.1.0752: one more compiler warning for signed/unsigned string vim-patch:8.1.2025: MS-Windows: Including shlguid.h causes problems for msys2 vim-patch:8.1.2027: MS-Windows: problem with ambiwidth characters vim-patch:8.1.2033: cannot build with tiny features vim-patch:8.1.2049: cannot build tiny version vim-patch:8.1.2061: MS-Windows GUI: ":sh" crashes when trying to use a terminal vim-patch:8.1.2075: get many log messages when waiting for a typed character vim-patch:8.1.2078: build error with +textprop but without +terminal vim-patch:8.1.2084: Amiga: cannot get the user name vim-patch:8.1.2086: missing a few changes for the renamed files vim-patch:8.1.2088: renamed libvterm mouse.c file not in distributed file list vim-patch:8.1.2090: not clear why channel log file ends vim-patch:8.1.2101: write_session_file() often defined but not used vim-patch:8.1.2102: can't build with GTK and FEAT_GUI_GNOME vim-patch:8.1.2112: build number for ConPTY is outdated The following `if_pyth` patch seems to be N/A. In `~/.local/`, python 2 and 3 have their own subfolders in `~/.local/include/` and `~/.local/lib/`. `PYTHONUSERBASE` is enough to make the user modules work (on my machine) for the legacy tests. vim-patch:8.0.1451: difficult to set the python home directories properly The following patch requires `set compatible` and unsupported `cpoptions`: vim-patch:8.1.1331: test 29 is old style
* | | Makefile: use `$TMPDIR` below `src/nvim/testdir` (#11153)Daniel Hahler2019-10-04
| | | | | | | | | | | | This makes it ignored/cleaned automatically. It was made absolute in 8821579ba, but to the root back then.
* | | Fix potential deadlock #11151erw72019-10-04
| | | | | | | | | | | | | | | ELOG may call os_getenv and os_setenv internally. In that case, a deadlock occurs.
* | | ci: coverage for Lua (no Windows, using luacov) (#11127)Daniel Hahler2019-10-04
| | |
* | | win_line: update `w_last_cursorline` alwaysDaniel Hahler2019-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vim patch 8.1.0856 (54d9ea6) caused a performance regression in Neovim, when `set conceallevel=1 nocursorline` was used, since then due to refactoring in 23c71d5 `w_last_cursorline` would never get updated anymore. Adds/uses `redrawdebug+=nodelta` for testing this. Fixes https://github.com/neovim/neovim/issues/11100. Closes https://github.com/neovim/neovim/pull/11101.
* | | tests: tui_spec: improve/merge OptionSet/deferredDaniel Hahler2019-10-04
| | | | | | | | | | | | Closes https://github.com/neovim/neovim/pull/11129.
* | | health: provider: skip checks with `g:loaded_X_provider = 0` (#11147)Daniel Hahler2019-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Python provider was special (via [1]), and would continue to do checks with `0` being set explicitly even. This was fixed in #11044 (45447e3b6), ref: #11040. This extends it to use the same method with all providers. 1: https://github.com/neovim/neovim/pull/8047
* | | test/old: align with Vim #11096Daniel Hahler2019-10-03
| | |
* | | refactor: wrap common plines() usage in plines_win_full() #11141Zach Wegner2019-10-02
| | |
* | | tui: fix handling of bg response after suspend (#11145)Daniel Hahler2019-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `tui_terminal_after_startup` gets called right after resuming from suspending (via `Ctrl-z`) already (not delayed as with the startup itself), and would set `waiting_for_bg_response` to false then directly. This results in the terminal response not being processed then anymore, and leaking into Neovim itself. This changes it to try 5 times always, which means that it typically would stop after a few characters of input from the user typically, e.g. with tmux, which does not send a reply. While it might be better to have something based on the time (e.g. only wait for max 1s), this appears to be easier to do. Fixes regression in 8a4ae3d.
* | | Merge #11087 from janlazo/vim-8.1.0010Justin M. Keyes2019-10-02
|\ \ \ | | | | | | | | vim-patch:8.1.{10,230,315,330,514,517,518,1327,1347,1758,2072,2074,2091,2095,2103}
| * | | vim-patch:8.1.0330: the qf_add_entries() function is too longJan Edmund Lazo2019-10-02
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The qf_add_entries() function is too long. Solution: Split in two parts. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/6f6ef7c1951b080843f3da049d3f5d0679de7348
| * | | vim-patch:8.1.0315: helpgrep with language doesn't work properlyJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Helpgrep with language doesn't work properly. (Takuya Fujiwara) Solution: Check for the language earlier. (Hirohito Higashi) https://github.com/vim/vim/commit/c631f2df624954184509df49479d52ad7fe5233b
| * | | vim-patch:8.1.2103: wrong error message if "termdebugger" is not executableJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: wrong error message if "termdebugger" is not executable. Solution: Check if "termdebugger" is executable and give a clear error message. (Ozaki Kiichi, closes vim/vim#5000) Fix indents. https://github.com/vim/vim/commit/18223a592efa4399e3951c86deeb712a13b05ca5
| * | | vim-patch:8.1.0230: directly checking 'buftype' valueJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Directly checking 'buftype' value. Solution: Add the bt_normal() function. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/91335e5a67aaa9937e65f1e779b9f3f10fd33ee4
| * | | vim-patch:8.1.2095: leaking memory when getting item from dictJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Leaking memory when getting item from dict. Solution: Also free the key when not evaluating. https://github.com/vim/vim/commit/a893194d91a2942d4d54085d746ed137a9251b69
| * | | vim-patch:8.1.2091: double free when memory allocation failsJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Double free when memory allocation fails. (Zu-Ming Jiang) Solution: Use VIM_CLEAR() instead of vim_free(). (closes vim/vim#4991) https://github.com/vim/vim/commit/0f1c6708fdf17bb9c7305b8af5d12189956195b6
| * | | quickfix: fix pvs/v547 errorsJan Edmund Lazo2019-10-01
| | | |
| * | | vim-patch:8.1.2074: test for SafeState autocommand is a bit flakyJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for SafeState autocommand is a bit flaky. Solution: Add to list of flaky tests. https://github.com/vim/vim/commit/0d0c3ca007940cdb64ccbfd0e70846eedfe6a4a6
| * | | test: fix screen assertionsJan Edmund Lazo2019-10-01
| | | |
| * | | vim-patch:8.1.1347: fractional scroll position not restored after closing windowJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Fractional scroll position not restored after closing window. Solution: Do restore fraction if topline is not one. https://github.com/vim/vim/commit/bd2d68c2f42c7689f681aeaf82606d17f8a0312f
| * | | vim-patch:8.1.1327: unnecessary scroll after horizontal splitJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Unnecessary scroll after horizontal split. Solution: Don't adjust to fraction if all the text fits in the window. (Martin Kunev, closes vim/vim#4367) https://github.com/vim/vim/commit/a9b2535f44f3265940a18d08520a9ad4ef7bda82
| * | | vim-patch:8.1.0518: Test_window_split_edit_bufnr() fails on AppVeyorJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test_window_split_edit_bufnr() fails on AppVeyor. Solution: Disable the failing part for now. https://github.com/vim/vim/commit/8617b401599451187fa0c0561a84944978536a90
| * | | vim-patch:8.1.0517: Test_window_split_edit_alternate() fails on AppVeyorJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test_window_split_edit_alternate() fails on AppVeyor. Solution: Disable the failing part for now. https://github.com/vim/vim/commit/d42333d8e9f6c157884f4f1acb458aa992f94f3d
| * | | vim-patch:8.1.0514: CTRL-W ^ does not work when alternate buffer has no nameJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: CTRL-W ^ does not work when alternate buffer has no name. Solution: Use another method to split and edit the alternate buffer. (Jason Franklin) https://github.com/vim/vim/commit/1bbb61948342b5cf6e363629f145c65eb455c388
| * | | vim-patch:8.1.1758: count of g$ not used correctly when text is not wrappedJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Count of g$ not used correctly when text is not wrapped. Solution: Do use the count. (Christian Brabandt, closes vim/vim#4729, closes vim/vim#4566) https://github.com/vim/vim/commit/d5c8234517c18fa059b78f59eb96c35eda323dae
| * | | vim-patch:8.1.2072: "gk" moves to start of line instead of upwardsJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: "gk" moves to start of line instead of upwards. Solution: Fix off-by-one error. (Christian Brabandt, closes vim/vim#4969) https://github.com/vim/vim/commit/03ac52fc025790c474030ea556cec799400aa046
| * | | vim-patch:8.1.0010: efm_to_regpat() is too longJan Edmund Lazo2019-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: efm_to_regpat() is too long. Solution: Split off three functions. (Yegappan Lakshmanan, closes vim/vim#2924) https://github.com/vim/vim/commit/6bff719f7e472e918c60aa336de03e799b806c4f
* | | | tests: unit: NVIM_TEST_TRACE_LEVEL: default to 0 #11144Daniel Hahler2019-10-02
| | | | | | | | | | | | | | | | Traces are not useful normally (unless debugging/fixing tests), but only add overhead. Disable them by default.
* | | | ci: Travis: simplify 32bit build (#11093)Daniel Hahler2019-10-03
| | | | | | | | | | | | | | | | | | | | | | | | - `CMAKE_SYSTEM_LIBRARY_PATH` should not be used, and is a semicolon-separated list anyway [1] 1: https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_LIBRARY_PATH.html
* | | | shell: improve displaying of pulse (#11130)Daniel Hahler2019-10-02
| | | | | | | | | | | | | | | | | | | | | | | | - output "[...]" to indicate throttling is being used, instead of just an empty line - go to beginning of line after displaying the pulse, so that following output is displayed over it
* | | | Fix flaky test: tui_spec: increase timeout (#11134)Daniel Hahler2019-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Meant to fix: [ ERROR ] test/functional/terminal/tui_spec.lua @ 925: TUI FocusGained/FocusLost in terminal-mode test/functional/ui/screen.lua:587: Row 6 did not match. Expected: |{1:r}eady $ | |[Process exited 0] | | | | | | | |*gained | |{3:-- TERMINAL --} | Actual: |{1:r}eady $ | |[Process exited 0] | | | | | | | |*:terminal | |{3:-- TERMINAL --} | 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/terminal/tui_spec.lua:934: in function <test/functional/terminal/tui_spec.lua:925> I've thought about adding this, but it might not be really relevant, and slows down the tests a bit (and a warning "warning: Screen test succeeded immediately" with another test): ```diff diff --git i/test/functional/terminal/tui_spec.lua w/test/functional/terminal/tui_spec.lua index ada073c4e..4bc2ab4e0 100644 --- i/test/functional/terminal/tui_spec.lua +++ w/test/functional/terminal/tui_spec.lua @@ -818,6 +818,11 @@ describe('TUI FocusGained/FocusLost', function() ..'", "-u", "NONE", "-i", "NONE", "--cmd", "set noswapfile noshowcmd noruler"]') feed_data(":autocmd FocusGained * echo 'gained'\n") feed_data(":autocmd FocusLost * echo 'lost'\n") + -- Wait for autocommand to be registered. + retry(nil, nil, function() + feed_data(":autocmd FocusLost\n") + screen:expect{any=" echo 'lost'"} + end) feed_data("\034\016") -- CTRL-\ CTRL-N end) ```
* | | | patch_terminfo_bugs: TERM=xterm with non-xterm: ignore smglr (#11132)Daniel Hahler2019-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "smglr" was added for TERM=xterm recently to the terminfo database, which causes display issues with terminals that use `TERM=xterm` by default for themselves, although not supporting it. This patch makes "smglr" to be ignored then. Fixes https://github.com/neovim/neovim/issues/10562
* | | | Fix redraw regression with w_p_cole in visual modeDaniel Hahler2019-10-02
|/ / / | | | | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/11024, regressed in 23c71d51. Closes https://github.com/neovim/neovim/pull/11120.
* | | Fix/revisit git-describe enhancement (#11124)Daniel Hahler2019-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix/keep massaging git-describe result Ref: https://github.com/neovim/neovim/pull/11117#issuecomment-536416223 * build: revisit generation of version from Git Fixes "make clean && make", where "auto/versiondef.h" would be missing since b18b84d - because BYPRODUCTS are apparently removed when cleaning. This includes the following improvements/changes: - do not run git-describe during CMake's configure phase just for reporting - do not print with changed Git version (too noisy, simplifies code) * Move to src/nvim (included before config) for easier flow * fallback to describe always, write empty include file * update_version_stamp.lua: use prefix always
* | | build: get rid of warnings with `cmake --debug-output` (#11131)Daniel Hahler2019-10-02
| | |
* | | tui: improve handle_background_color: short-circuit (#11067)Daniel Hahler2019-09-30
| | | | | | | | | | | | | | | | | | | | | | | | * handle_background_color: short-circuit if handled already * Unit tests for handle_background_color * set waiting_for_bg_response to false in tui_terminal_after_startup By then it should have been received.
* | | Merge pull request #11121 from bfredl/invalidcellBjörn Linse2019-09-30
|\ \ \ | | | | | | | | screen: don't crash on invalid cells being recomposed (tui_raw_line assert)
| * | | screen: don't crash on invalid grid cells being recomposedBjörn Linse2019-09-30
|/ / /
* | | third-party: upgrade libluv: 1.30.0-0 => 1.30.1-1 (#11092)Daniel Hahler2019-09-30
| | | | | | | | | Changes: https://github.com/luvit/luv/compare/1.30.0-0...1.30.1-1
* | | provider#pythonx: resolve/expand exe from host var (#11047)Daniel Hahler2019-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts part of ade88fe4c [1]. This is required for `let g:python3_host_prog = 'python'` etc, where it should get picked up from PATH. Without this it would show: ``` - INFO: pyenv: Path: /home/user/.pyenv/libexec/pyenv - INFO: pyenv: Root: /home/user/.pyenv - INFO: Using: g:python3_host_prog = "python" - ERROR: "python" was not found. - INFO: Executable: Not found - ERROR: Detected pip upgrade failure: Python executable can import "pynvim" but not "neovim": python - ADVICE: - Use that Python version to reinstall "pynvim" and optionally "neovim". pip3 uninstall pynvim neovim pip3 install pynvim pip3 install neovim # only if needed by third-party software ``` Note that it additionally causes a weird error ("Detected pip upgrade failure"), due to `s:check_bin` emptying `python_exe` (because the non-absolute file not being readable), and `provider#pythonx#DetectByModule('pynvim', a:version)` from 75593e6fce then just getting the value from the host var again (without actual checks). This is implicitly fixed via this patch now (because it is skipped), but could need some improvement in this regard probably. With this patch it resolves it (for a virtualenv where pynvim is not made available intentionally): ``` - INFO: pyenv: Path: /home/daniel/.pyenv/libexec/pyenv - INFO: pyenv: Root: /home/daniel/.pyenv - INFO: Using: g:python3_host_prog = "python" - WARNING: $VIRTUAL_ENV exists but appears to be inactive. This could lead to unexpected results. - ADVICE: - If you are using Zsh, see: http://vi.stackexchange.com/a/7654 - INFO: Executable: /home/daniel/.pyenv/shims/tmp-system-deoplete.nvim-f205aF/python - ERROR: Command error (job=11, exit code 1): `'/home/daniel/.pyenv/shims/tmp-system-deoplete.nvim-f205aF/python' -c 'import sys; sys.path.remove(""); import neovim; print(neovim.__file__)'` (in '/home/daniel/.dotfiles/vim/plugged/deoplete.nvim') Output: Traceback (most recent call last): File "<string>", line 1, in <module>ModuleNotFoundError: No module named 'neovim' Stderr: Traceback (most recent call last): File "<string>", line 1, in <module>ModuleNotFoundError: No module named 'neovim' - INFO: Python version: 3.7.4 - INFO: pynvim version: unable to load neovim Python module - ERROR: pynvim is not installed. Error: unable to load neovim Python module - ADVICE: - Run in shell: pip3 install pynvim ``` Note: this appears to display the error twice via "Output:" and "Stderr:". 1: https://github.com/neovim/neovim/pull/8784
* | | bundle: upgrade LuaJIT to latest v2.1 (#10321)Daniel Hahler2019-09-30
| | |
* | | build: run git-describe for dev version during build (#11117)Daniel Hahler2019-09-30
| | | | | | | | | | | | | | | | | | | | | | | | This avoids invoking CMake after a new commit, which might take 15s on some systems. Skipped on CMake < 3.2.0 (missing BYPRODUCTS support). Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
* | | Merge pull request #11115 from bfredl/wildmenumodeBjörn Linse2019-09-29
|\ \ \ | | | | | | | | cmdline: wildmenumode() should be true with wildoptions+=pum