aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| | * 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.
| | * 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.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
| | | * 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
| | * | 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
| | * | 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
| | * 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.
| | * screen: don't crash on invalid grid cells being recomposedBjörn Linse2019-09-30
| | |
| | * Merge pull request #11115 from bfredl/wildmenumodeBjörn Linse2019-09-29
| | |\ | | | | | | | | cmdline: wildmenumode() should be true with wildoptions+=pum
| | | * cmdline: wildmenumode() should be true with wildoptions+=pumBjörn Linse2019-09-28
| | | |
| | * | terminfo_start: keep first flushing of ui buffer (#11118)Daniel Hahler2019-09-29
| | |/ | | | | | | | | | | | | | | | | | | | | | Initially done in 3626d2107 (#11074, for #11062), it was reverted then in 445f2f409 (#11083, which added flushing later). But it is still required here to avoid the reporting of the background response with urxvt/kitty (`nvim -u NONE -cq`). Apparently I've tested this not enough with 445f2f409 (probably only within tmux).
| | * tree-sitter: handle node equalityBjörn Linse2019-09-28
| | |
| | * tree-sitter: use "range" instead of "point_range" consistently in lua APIBjörn Linse2019-09-28
| | |
| | * tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests)Björn Linse2019-09-28
| | |
| | * tree-sitter: cleanup tree refcountingBjörn Linse2019-09-28
| | |
| | * tree-sitter: inspect languageBjörn Linse2019-09-28
| | |
| | * tree-sitter: add some more APIBjörn Linse2019-09-28
| | |
| | * tree-sitter: styleBjörn Linse2019-09-28
| | |
| | * tree-sitter: use standard luaL_newmetatable and luaL_checkudata patternBjörn Linse2019-09-28
| | |
| | * tree-sitter: rename tree_sitter => treesitter for consistencyBjörn Linse2019-09-28
| | |
| | * tree-sitter: add basic testing on ciBjörn Linse2019-09-28
| | | | | | | | | | | | build tree-sitter c parser on ci for testing purposes
| | * tree-sitter: support pre-registration of languagesBjörn Linse2019-09-28
| | |
| | * tree-sitter: objectify APIBjörn Linse2019-09-28
| | |
| | * tree-sitter: cleanup build codeBjörn Linse2019-09-28
| | |
| | * Create BuildUtf8proc.cmake and FindUtf8proc.cmakeBjörn Linse2019-09-28
| | | | | | | | | | | | Using advanced search and replace technology
| | * tree-sitter: load parsers as .so filesBjörn Linse2019-09-28
| | |
| | * tree-sitter: initial tree-sitter supportBjörn Linse2019-09-28
| | |
| | * tree-sitter: change vendored tree-sitter to use nvim memory managementBjörn Linse2019-09-28
| | |
| | * tree-sitter: vendor tree-sitter runtimeBjörn Linse2019-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | tree-sitter/tree-sitter commit 7685b7861ca475664b6ef57e14d1da9acf741275 Included files are: lib/include/tree-sitter/*.h lib/src/*.[ch] LICENSE
| | * vim-patch:8.1.2083: multi-byte chars do not work properly with "%.*S" in ↵Daniel Hahler2019-09-28
| | | | | | | | | | | | | | | | | | | | | printf() (#11106) Problem: Multi-byte chars do not work properly with "%.*S" in printf(). Solution: Use mb_ptr2cells(). Daniel Hahler, closes vim/vim#4989) https://github.com/vim/vim/commit/ce0fac28977af31f1dec411d3535b4de2c3169b3
| | * vim-patch:8.0.0914: highlight attributes are always combined (#10256)Daniel Hahler2019-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Highlight attributes are always combined. Solution: Add the 'nocombine' value to replace attributes instead of combining them. (scauligi, closes vim/vim#1963) https://github.com/vim/vim/commit/0cd2a94a4030f6bd12eaec44db92db108e33c913 Closes https://github.com/neovim/neovim/pull/10256.
| | * Merge pull request #10978 from blueyed/update-libuvDaniel Hahler2019-09-25
| | |\ | | | | | | | | third-party: update libuv to v1.32.0