aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | tests/ui: cleanup illegitimate usages of "attr_ignore"Björn Linse2019-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "attr_ignore" is an anti-pattern, with snapshot_util() just include all the highlights already.
| * | | | | tests/ui: make screen.lua use "linegrid" representation internallyBjörn Linse2019-10-13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR #8221 took a short-cut when implementing the tests: screen.lua would translate the linegrid highlight ids back into the old per-cell attribute description. Apart from cleaning up technical debt, this enables to check both rgb and cterm colors in the same expect(), which previously was needlessly restricted to ext_hlstate tests only.
* / / / / scripts/vim-patch.sh -l: display commit subjectsDaniel Hahler2019-10-13
|/ / / / | | | | | | | | | | | | Closes https://github.com/neovim/neovim/pull/11182.
* | | | recovery mode (-r/-L): use headless_mode (#11187)Daniel Hahler2019-10-11
| | | | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/11181.
* | | | vim-patch:8.1.2125: fnamemodify() fails when repeating :eJustin M. Keyes2019-10-10
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Fnamemodify() fails when repeating :e. Solution: Do not go before the tail. (Rob Pilling, closes vim/vim#5024) https://github.com/vim/vim/commit/b189295b72030f00c45c30d3daecf85d457221f8
* | | | fnamemodify: fix handling of :r after :e #11165Rob Pilling2019-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Test fnamemodify() - Test handling of `expand("%:e:e:r")`. - Fix :e:e:r on filenames with insufficiently many extensions During `fnamemodify()`, ensuring that we don't go before the filename's tail is insufficient in cases where we've already handled a ":e" modifier, for example: ``` "path/to/this.file.ext" :e:e:r:r ^ ^-------- *fnamep +------------- tail ``` This means for a ":r", we'll go before `*fnamep`, and outside the bounds of the filename. This is both incorrect and causes neovim to exit with an allocation error. We exit because we attempt to calculate `s - *fnamep` (line 23948). Since `s` is before `*fnamep`, we caluclate a negative length, which ends up being interpreted as an amount to allocate, causing neovim to exit with ENOMEM (`memory.c:xmalloc`). We must instead ensure we don't go before `*fnamep` nor `tail`. The check for `tail` is still relevant, for example: ``` "path/to/this.file.ext" :r:r:r ^ ^------------- tail +--------------------- *fnamep ``` Here we don't want to go before `tail`. close #11165
* | | | test: "!:&" works with powershell #11201Jan Edmund Lazo2019-10-10
| | | | | | | | | | | | Removed 'echo' alias because it does not behave like POSIX echo.
* | | | Remove "highbright bold" conversion. Fixes #11190Björn Linse2019-10-10
|/ / / | | | | | | | | | | | | | | | When using TUI host terminal should take care of this (regardless if 'termguicolors' is active or not). For GUI the behavior doesn't make sense (GUI should display bold attr as bold always).
* | | update_version_stamp: redirect stderr on first try, --first-parent #11186Daniel Hahler2019-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid noise during builds: > fatal: No annotated tags can describe '417449f468c4ba186954f6295b3338fb55ee7b4a'. > However, there were unannotated tags: try --tags. This might be useful in general, but is expected to not happen - and falling back is OK then. The fallback command would still display errors then. It also uses `--first-parent`, which is important for when a release branch gets merged back.
* | | doc: update shellquote for powershell #11122Jan Edmund Lazo2019-10-10
| | | | | | | | | shellquote is not treated like shellxquote for non-quote values.
* | | third-party: upgrade libvterm to 0.1.2 (#11177)Daniel Hahler2019-10-09
| | |
* | | ci: AppVeyor: coverage for Lua (Windows) (#10426)Daniel Hahler2019-10-09
| | |
* | | ci: OpenBSD: enable functionaltest (#11178)Daniel Hahler2019-10-08
| | |
* | | Merge #11077 'vim-patch:8.1.{1354,1356,1362,1588}'Justin M. Keyes2019-10-07
|\ \ \
| * | | vim-patch:8.1.1588: in :let-heredoc line continuation is recognizedJurica Bradaric2019-10-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes vim/vim#4580) https://github.com/vim/vim/commit/e96a2498f9a2d3e93ac07431f6d4afd77f30afdf
| * | | vim-patch:8.1.1362: code and data in tests can be hard to readJurica Bradaric2019-10-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Code and data in tests can be hard to read. Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes vim/vim#4400) https://github.com/vim/vim/commit/c79745a82faeb5a6058e915ca49a4c69fa60ea01
| * | | vim-patch:8.1.1356: some text in heredoc assignment ends the textJurica Bradaric2019-10-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi) Solution: Recognize "let v =<<" and skip until the end. https://github.com/vim/vim/commit/8471e57026714c5a0faf89288ceef5231fb88d4f
| * | | vim-patch:8.1.1354: getting a list of text lines is clumsyJurica Bradaric2019-10-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Getting a list of text lines is clumsy. Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes vim/vim#4386) https://github.com/vim/vim/commit/f5842c5a533346c4ff41ff666e465c85f1de35d5
* | | | cmake: only set LUA_PRG with successful check (#11172)Daniel Hahler2019-10-07
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is relevant for when using `USE_BUNDLED_LUAJIT=ON` with `USE_BUNDLED_LUAROCKS=OFF`, and then building without the necessary modules being installed/activated there yet: it would check the other (system) "lua" interpreters also, and in case all failed keep the `LUA_PRG` in the cache for the last failed entry - making it not re-check the previous ones on the next build (after you might have activated your custom LuaRocks installation). Only setting LUA_PRG if the check was successful handles the case better where it is configured already - we should not try to re-configure it then.
* | | Merge pull request #11154 from blueyed/bump-tree-sitterDaniel Hahler2019-10-07
|\ \ \ | | | | | | | | ci: upgrade tree-sitter from 0.15.2 to 0.15.9
| * | | lintDaniel Hahler2019-10-06
| | | |
| * | | ci: upgrade tree-sitter from 0.15.2 to 0.15.9Daniel Hahler2019-10-06
| | | | | | | | | | | | | | | | tree-sitter-c is still at 0.15.2 though.
* | | | ci: use cluacov for better performance (#11152)Daniel Hahler2019-10-07
| | | |
* | | | Merge #11170 from janlazo/vim-8.1.2120Justin M. Keyes2019-10-06
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.2120
| * | | | Remove dead codeJan Edmund Lazo2019-10-06
| | | | |
| * | | | vim-patch:8.1.2120: some MB_ macros are more complicated than necessaryJan Edmund Lazo2019-10-06
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some MB_ macros are more complicated than necessary. (Dominique Pelle) Solution: Simplify the macros. Expand inline. https://github.com/vim/vim/commit/1614a14901558ca091329315d14a7d5e1b53aa47
* | | | ci: submit_coverage: run luacov actually (#11169)Daniel Hahler2019-10-07
| | | | | | | | | | | | Apparently this got lost with #11127 / 77a551b65.
* | | | test/old: add test_fnamemodify.vim (#11168)Daniel Hahler2019-10-06
| | | | | | | | | | | | | | | | | | | | Moved to a new-style test in vim/vim@610cc1b9b (v7.4.1652). Ref: https://github.com/neovim/neovim/pull/11165#issuecomment-538785588
* | | | tests: retry: "wait() evaluates the condition on given interval" (#11155)Daniel Hahler2019-10-06
|/ / / | | | | | | Ref: https://github.com/neovim/neovim/issues/11137
* | | tests/functional: keep $TMPDIR in env (#11163)Daniel Hahler2019-10-06
| | |
* | | 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