aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | Merge pull request #17459 from rktjmp/lua-error-tostringbfredl2022-03-18
| |\ \ \ | | | | | | | | | | feat: __tostring lua errors if possible before showing in messages
| | * | | feat: call __tostring on lua errors if possible before reporting to userOliver Marriott2022-02-25
| | | | |
| * | | | feat(api, lua): support converting nested Funcref back to LuaRef (#17749)zeertzjq2022-03-17
| | | | |
| * | | | Merge pull request #17747 from bfredl/ui_inputbfredl2022-03-17
| |\ \ \ \ | | | | | | | | | | | | feat(ui_client): input and resize
| | * | | | feat(ui_client): implement async paste handlingbfredl2022-03-17
| | | | | |
| | * | | | feat(ui_client): handle resize eventshlpr982022-03-17
| | | | | |
| | * | | | feat(ui_client): pass user input to remote serverhlpr982022-03-17
| | | | | |
| * | | | | Merge pull request #17266 from famiu/feat/ui/global-statuslinebfredl2022-03-17
| |\ \ \ \ \ | | |/ / / / | |/| | | | feat(statusline): add global statusline
| | * | | | feat: add support for global statuslineFamiu Haque2022-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref: #9342 Adds the option to have a single global statusline for the current window at the bottom of the screen instead of a statusline at the bottom of every window. Enabled by setting `laststatus = 3`. Due to the fact that statuslines at the bottom of windows are removed when global statusline is enabled, horizontal separators are used instead to separate horizontal splits. The horizontal separator character is configurable through the`horiz` item in `'fillchars'`. Separator connector characters are also used to connect the horizontal and vertical separators together, which are also configurable through the `horizup`, `horizdown`, `vertleft`, `vertright` and `verthoriz` items in `fillchars`. The window separators are highlighted using the `WinSeparator` highlight group, which supersedes `VertSplit` and is linked to `VertSplit` by default in order to maintain backwards compatibility.
| * | | | | chore: fix typos (#17670)dundargoc2022-03-17
| | | | | | | | | | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * | | | | Merge pull request #17739 from dundargoc/doxygen/ex_cmdsbfredl2022-03-16
| |\ \ \ \ \ | | | | | | | | | | | | | | refactor(ex_cmds): convert function comments to doxygen format
| | * | | | | refactor(ex_cmds): convert function comments to doxygen formatDundar Göc2022-03-16
| | | | | | |
| * | | | | | Merge pull request #17741 from dundargoc/doxygen/messagebfredl2022-03-16
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | refactor(message): convert function comments to doxygen format
| | * | | | | | refactor(message): convert function comments to doxygen formatDundar Göc2022-03-16
| | | |_|_|_|/ | | |/| | | |
| * | | | | | Merge pull request #17732 from dundargoc/doxygen/foldbfredl2022-03-16
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | | refactor(fold): convert function comments to doxygen format
| | * | | | | refactor(fold): convert function comments to doxygen formatDundar Göc2022-03-16
| | | | | | |
| * | | | | | Merge pull request #17708 from bfredl/ui_clientbfredl2022-03-16
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | | feat(ui): UI client episode II: event handlers
| | * | | | | refactor(ui): make auto-generated ui client handlers typesafebfredl2022-03-15
| | | | | | |
| | * | | | | refactor(ui): make ui_client_event_grid_line typesafebfredl2022-03-15
| | | | | | |
| | * | | | | refactor(ui): use "ui_client" instead of "redraw" as general prefixbfredl2022-03-15
| | | | | | |
| | * | | | | feat(ui): invoke ui client handlersbfredl2022-03-15
| | | | | | |
| | * | | | | feat(ui): implement ui_client event handlershlpr982022-03-15
| | | | | | |
| * | | | | | vim-patch:8.2.4571: not all gdb files are recognized (#17727)Jade Lovelace2022-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not all gdb files are recognized. Solution: Add a few more patterns for gdb. (closes https://github.com/vim/vim/pull/9956) https://github.com/vim/vim/commit/8d5e514d77bd4b1956656ad2be2ce7094bd43a72
| * | | | | | Merge pull request #17731 from dundargoc/doxygen/ex_evalbfredl2022-03-15
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | refactor(ex_eval): convert function comments to doxygen format
| | * | | | | refactor: convert function comments to doxygen formatDundar Göc2022-03-15
| | |/ / / /
| * | | | | vim-patch:8.2.4568: getmousepos() does not compute the column below the last ↵Sean Dewar2022-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | line Problem: getmousepos() does not compute the column below the last line. Solution: Also compute the column when the mouse is below the last line. (Sean Dewar, closes vim/vim#9946) https://github.com/vim/vim/commit/10792feebd237aee89270669e509e85cafdfac60 test_setmouse is N/A.
| * | | | | vim-patch:8.2.4559: getmousepos() returns the screen columnSean Dewar2022-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: getmousepos() returns the screen column. (Ernie Rael) Solution: Return the text column, as documented. https://github.com/vim/vim/commit/533870a98501fac2b51ef4bc489fac3a055a41a9 Re-introduce vcol2col, which was removed in 71b1f4e for being unused. Move it to mouse.c (like in v8.1.2062, which hasn't been ported yet).
| * | | | | vim-patch:8.2.4555: getmousepos() returns the wrong columnSean Dewar2022-03-15
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: getmousepos() returns the wrong column. (Ernie Rael) Solution: Limit to the text size, not the number of bytes. https://github.com/vim/vim/commit/986b0fd0c550d9834a3cc45dd87555c13152c391 test_setmouse is N/A; adjust test for Nvim. N/A patches for version.c: vim-patch:8.2.4569: Coverity warning for not using a return value Problem: Coverity warning for not using a return value. Solution: Add "(void)". https://github.com/vim/vim/commit/977525fea662b7f37ad0e052894c1f62b5b03269
| * | | | vim-patch:8.2.4566: check for existing buffer in session file may not workzeertzjq2022-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Check for existing buffer in session file does not work for files in the home directory. Solution: Use fnamemodify(). (James Cherti, closes vim/vim#9945) Add a test. https://github.com/vim/vim/commit/7d42840033aedf36389208b62e28b4e0b251c199
| * | | | Merge pull request #17718 from dundargoc/doxygen/eval_cbfredl2022-03-14
| |\ \ \ \ | | | | | | | | | | | | refactor(eval): convert function comments to doxygen format
| | * | | | refactor(eval): convert function comments to doxygen formatDundar Göc2022-03-14
| | | | | |
| * | | | | vim-patch:8.2.1413: previous tab page not usable from an Ex commandSean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Previous tab page not usable from an Ex command. Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan, closes vim/vim#6677) https://github.com/vim/vim/commit/94f4ffa7704921a3634e56b878e6dc362bc3d508 Do not rename old_curtab to prev_tp in win_new_tabpage, this can be confused with the previous tabpage (`:tabprevious`). Cherry-pick ex_errmsg from v8.2.1280. https://github.com/vim/vim/commit/8930caaa1a283092aca81fdbc3fcf15c7eadb197
| * | | | | vim-patch:8.2.1401: cannot jump to the last used tabpageSean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot jump to the last used tabpage. Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes vim/vim#6661, neovim #11626) https://github.com/vim/vim/commit/62a232506d06f6d1b3b7271801c907d6294dfe84 Nvim implemented this feature before Vim, but Vim made some useful changes (e.g: beeping on failure). Port the changes to closer match Vim (also makes porting future patches easier). Also note that because CHECK_CMDWIN was added to goto_tabpage_tp, there is no need to do the extra work with tabpage_index and goto_tabpage inside goto_tabpage_lastused to fix cmdwin issues any more (#11692). Note that while goto_tabpage_tp doesn't check for textlock like goto_tabpage does, it shouldn't matter as it is already checked for earlier. Add tags for <C-Tab> to tabpage.txt, and refer to <C-Tab> over CTRL-Tab to be consistent with other docs like the patch. Remove mention of "previous tabpage" (it can be confused with the tabpage to the left, e.g: `:tabprevious`). Similarly, don't rename old_curtab to last_tab in enter_tabpage (it might be confused with the right-most tabpage, e.g: `:tablast`). Cherry-pick Test_tabpage change from v8.2.0634. https://github.com/vim/vim/commit/92b83ccfda7a1d654ccaaf161a9c8a8e01fbcf76
| * | | | | vim-patch:8.2.4454: resetting cmdwin_type only for one situationSean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Resetting cmdwin_type only for one situation. Solution: Reset cmdwin_type before closing windows. (closes vim/vim#9822) https://github.com/vim/vim/commit/6a8b13614e5bcb233d20403ae9f008ccba152be3 Move the check to win_free_all to match Vim.
| * | | | | vim-patch:8.2.4445: exit test fails on MS-Windows anywaySean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Exit test fails on MS-Windows anyway. Solution: Skip the test on MS-Windows. https://github.com/vim/vim/commit/29a9e6971849b4a9eabf14fee1130d51cecfbaa7
| * | | | | vim-patch:8.2.4444: beep caused by testSean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Beep caused by test. ASAN reports leaks. Solution: Do not put a NL at the end of the script. Make the text work on MS-Windows. Do not run the test with ASAN. https://github.com/vim/vim/commit/68eab67119734ea1efc7cef1287276d969f2713a The test is skipped, but cherry-pick CheckNotAsan from v8.2.2424 anyway. https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571
| * | | | | vim-patch:8.2.4442: test for error reading input fails on MS-WindowsSean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for error reading input fails on MS-Windows. Solution: Don't run the test on MS-Windows. https://github.com/vim/vim/commit/70b9e4f4c3a62e325fd16ac108bd12feb026ede5
| * | | | | vim-patch:8.2.4438: crash on exit when using cmdline windowSean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash on exit when using cmdline window. Solution: Reset "cmdwin_type" before exiting. (closes vim/vim#9817) https://github.com/vim/vim/commit/ca0c1caa36823ea8e61184268d7337e79995352f Bram also went with the cmdwin_type = 0 solution, but putting it in read_error_exit isn't ideal and only fixes one specific variant of the bug, so don't port that change. Port the test only, but skip it as Nvim does not exit after stdin is exhausted. Using -es instead does exit, but read_error_exit does not run preserve_exit in that case, and does not have issues exiting even without resetting cmdwin_type. Note that the test has problems and is fixed in later patches.
| * | | | | vim-patch:8.2.4432: cannot use settabvar() while the cmdline window is openSean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use settabvar() while the cmdline window is open. Solution: Only give an error when actually switching tabpage. (closes vim/vim#9813) https://github.com/vim/vim/commit/592f6250017c31c8996325403e511f4502077ba5
| * | | | | vim-patch:8.2.4428: crash when switching tabpage while in the cmdline windowSean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when switching tabpage while in the cmdline window. Solution: Disallow switching tabpage when in the cmdline window. https://github.com/vim/vim/commit/0f6e28f686dbb59ab3b562408ab9b2234797b9b1 Ensure cmdline window doesn't stop us from closing tabs with EXITFREE. mem_free_all -> win_free_all -> tabpage_close -> ... -> goto_tabpage_tp -> CHECK_CMDWIN can cause an infinite loop if Nvim is exited without using standard methods such as :qa! and friends (e.g: killed via a signal). This issue had caused the ASAN CI's functionaltests to timeout. Cherry-pick Test_cmdwin_tabpage from v8.2.4463. https://github.com/vim/vim/commit/38b85cb4d7216705058708bacbc25ab90cd61595 This bug was already fixed in Nvim. Note that g<Tab> inside cmdwin is already tested for in tabnewentered_spec.lua anyway. E492 is thrown after E11 when using ":norm" in assert_fails for some reason (except after v8.2.1919, which isn't ported yet). As v8.2.1183 isn't ported yet, so we cannot assert E11 directly. Modify the test to check for E11 and E492 seperately; when v8.2.1183 is ported, the assertion for E492 will fail and the changes can be reverted to match upstream. Remove redundant CHECK_CMDWIN from goto_tabpage; it's handled with text_locked() and text_locked_msg() above: vim-patch:8.2.4434: duplicate check for cmdline window Problem: Duplicate check for cmdline window. Solution: Remove the second check. (Sean Dewar, closes vim/vim#9816) https://github.com/vim/vim/commit/16b51d26fe2cc3afb09afd439069220dea74581d
| * | | | | refactor(eval/funcs): convert function comments to doxygen formatDundar Göc2022-03-14
| |/ / / /
| * | | | Merge pull request #17696 from dundargoc/refactor/minimize-scopebfredl2022-03-13
| |\ \ \ \ | | | | | | | | | | | | refactor: minimize variable scope and eliminate empty declarations
| | * | | | refactor: minimize variable scope and eliminate empty declarationsDundar Göc2022-03-13
| | | | | |
| * | | | | refactor: column drawingLewis Russell2022-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move some logic out of win_line into specific easy to read sub-functions. - remove drawing logic from get_sign_display_info.
| * | | | | vim-patch:8.2.4557: confusing comment about 'cursorlineopt'zeertzjq2022-03-13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Confusing comment about 'cursorlineopt'. Solution: Adjust comment. (closes vim/vim#9939) Add parenthesis around logical OR. https://github.com/vim/vim/commit/754d2b40369d8fdcf77fc05cc608f86387016bd9
| * | | | refactor: fix clint warnings (#17682)dundargoc2022-03-13
| | | | |
| * | | | test: fix runnvim.sh (#17690)zeertzjq2022-03-13
| | | | |
| * | | | docs(api): improve section on nvim_set_hl (#17692)adrian52022-03-13
| | | | |
| * | | | vim-patch:8.2.3762: if quickfix buffer is wiped out getqflist() still returns itVVKot2022-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If the quickfix buffer is wiped out getqflist() still returns its number. Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan, closes vim/vim#9306) https://github.com/vim/vim/commit/56150da6879a96db1c84c7ec4ceedeb84969f606
| * | | | vim-patch:8.2.3759: quickfix buffer becomes hidden while still in a windowVVKot2022-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Quickfix buffer becomes hidden while still in a window. Solution: Check if the closed window is the last window showing the quickfix buffer. (Yegappan Lakshmanan, closes vim/vim#9303, closes vim/vim#9300) https://github.com/vim/vim/commit/78a61068cf2c83e611d954a0fb413a09ad59dc07