aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | | | fix(bufupdate): send events when inserting with virtualeditThomas Vigouroux2021-05-18
| |/ / / / | | | | | | | | | | | | | | | | | | | | Problem first raised https://github.com/nvim-treesitter/nvim-treesitter/issues/1304
* | | | | Merge pull request #14579 from jamessan/windows-env-varsJames McCoy2021-05-19
|\ \ \ \ \ | | | | | | | | | | | | Deduplicate env var names on Windows
| * | | | | fix(job): Deduplicate env var names on WindowsJames McCoy2021-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows handles environment variable names case-insensitively (i.e., %Path% can be accessed via %PATH%). Since nvim explicitly creates the environment block for jobs, we need to ensure it doesn't contain duplicate names with different cases (e.g., both %Path% and %PATH%) as that can confuse processes using the environment. `f_environ()` now converts all env var names to upper-case on Windows, since it does duplicate detection and also provides the base environment for jobs. Similarly, `create_environment()` converts any env var names supplied in the job opts to upper-case so they can be compared against what we get from `f_environ()`. Closes #14541
* | | | | | Remove '- 1' for sizes passed to xstrlcpyJan Edmund Lazo2021-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xstrlcpy() NUL-terminates the destination string such that reducing the destination string length by 1 to reserve the last byte for NUL is pointless. https://github.com/neovim/neovim/pull/14490#discussion_r635661185
* | | | | | vim-patch:8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented codeJan Edmund Lazo2021-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Unnessary VIM_ISDIGIT() calls, badly indented code. Solution: Call skipdigits() on the next character. Improve indenting. (Dominique Pellé, closes vim/vim#8227) https://github.com/vim/vim/commit/4781d6fd8670af415c3b78f00d70036af85bd286
* | | | | | vim-patch:8.2.2869: using unified diff is not testedJan Edmund Lazo2021-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using unified diff is not tested. Solution: Test all cases also with unified diff. (issue vim/vim#8197) https://github.com/vim/vim/commit/485b62710004431a16feb4eb861365d082304a08
* | | | | | lua: use proper conversion of vim.g valuesBjörn Linse2021-05-19
| |/ / / / |/| | | |
* | | | | fix(tui): Stop sending extra parameter for save/restore titleJames McCoy2021-05-18
| | | | | | | | | | | | | | | | | | | | Closes #14573
* | | | | win/package: update wintools.zip for curl v7.76.1 (#14570)Jan Edmund Lazo2021-05-17
|/ / / / | | | | | | | | https://github.com/neovim/neovim/issues/14078
* | | | Merge pull request #14406 from shadmansaleh/vim-8.2.0877Jan Edmund Lazo2021-05-15
|\ \ \ \ | | | | | | | | | | vim-patch:8.2.{0877, 0880, 0884, 0887, 0896} - port searchcount()
| * | | | STRLEN -> strlenshadmansaleh2021-05-09
| | | | |
| * | | | Use bool for boolean valuesshadmansaleh2021-05-09
| | | | |
| * | | | vim-patch:8.2.0896: crash when calling searchcount() with a stringshadmansaleh2021-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when calling searchcount() with a string. Solution: Check the argument is a dict. (closes vim/vim#6192) https://github.com/vim/vim/commit/14681627f39421cce289345d4ec9927c10fa3b1c
| * | | | vim-patch:8.2.0887: searchcount().exact_match is 1 right after a matchshadmansaleh2021-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Searchcount().exact_match is 1 right after a match. Solution: Use LT_POS() instead of LTOREQ_POS(). (closes vim/vim#6189) https://github.com/vim/vim/commit/57f75a5a364ad4d8334fdf6b6b41420b48e08390
| * | | | vim-patch:8.2.0884: searchcount() test fails on slower systemsshadmansaleh2021-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Searchcount() test fails on slower systems. Solution: Set a longer timeout. https://github.com/vim/vim/commit/ea6561af92eeb26fa0b4966575da7cadd98af1cd
| * | | | vim-patch:8.2.0880: leaking memory when using searchcount()shadmansaleh2021-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Leaking memory when using searchcount(). Solution: Free the last used search pattern. https://github.com/vim/vim/commit/109aece79d1b5f14f6a84ff2ac068cfffebeba80
| * | | | vim-patch:8.2.0877: cannot get the search statisticsshadmansaleh2021-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot get the search statistics. Solution: Add the searchcount() function. (Fujiwara Takuya, closes vim/vim#4446) https://github.com/vim/vim/commit/e8f5ec0d30b629d7166f0ad03434065d8bc822df Additional changes: - Tests weren't passing because the test ran assuming the cursor was at start of buffer but append() left the cursor at end of buffer . So cursor is moved to start of buffer after append. - searchcount() added to list of builtin functions.
* | | | | Add 'FUNC_ATTR_NONNULL_RET' to nonnull alloc funcs (#14559)Jan Edmund Lazo2021-05-15
| | | | |
* | | | | vim-patch:8.2.2854: custom statusline cannot contain % items (#14558)Shadman2021-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Custom statusline cannot contain % items. Solution: Add "%{% expr %}". (closes vim/vim#8190) https://github.com/vim/vim/commit/30e3de21fc36153c5f7c9cf9db90bcc60dd67fb9
* | | | | Merge pull request #14468 from bfredl/zindexBjörn Linse2021-05-15
|\ \ \ \ \ | | | | | | | | | | | | [WIP] z-index!
| * | | | | floats: z-indexBjörn Linse2021-05-15
| | | | | |
* | | | | | vim-patch:8.2.2850: recalling commands from history is not testedJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Recalling commands from history is not tested. Solution: Add tests. (closes vim/vim#8194) https://github.com/vim/vim/commit/71c6f7a665eb467054fbf319989d97c252af28d2
* | | | | | fixup! vim-patch:8.1.1228: not possible to process tags with a functionJan Edmund Lazo2021-05-13
| | | | | |
* | | | | | fixup! vim-patch:8.0.1449: slow redrawing with DirectXJan Edmund Lazo2021-05-13
| | | | | |
* | | | | | vim-patch:8.0.1394: cannot intercept a yank commandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot intercept a yank command. Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al., closes vim/vim#2333) https://github.com/vim/vim/commit/7e1652c63c96585b9e2235c195a3c322b1f11595
* | | | | | vim-patch:8.2.2473: crash when leaving command line window triggers autocommandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when leaving command line window triggers autocommand. (houyunsong) Solution: Make sure not to close the current window or buffer. https://github.com/vim/vim/commit/8c6951fa2836a1ae3257770e7b927a9380439912 N/A patches for version.c: vim-patch:8.2.2414: using freed memory when closing the cmdline window Problem: Using freed memory when closing the cmdline window. Solution: Check the window is still valid. https://github.com/vim/vim/commit/b7e2670b6a1de02c772af5097ba24f2a15b26eec
* | | | | | lintJan Edmund Lazo2021-05-13
| | | | | |
* | | | | | vim-patch:8.2.2433: opening cmdline window gives error in BufLeave autocommandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Opening cmdline window gives error in BufLeave autocommand. Solution: Reset cmdwin_type when triggering the autocommand. https://github.com/vim/vim/commit/b63f3ca66db20f7b135aae706d36be538f91f8cc
* | | | | | vim-patch:8.2.2419: autocmd test was failing on MS-Windows with GUIJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Autocmd test was failing on MS-Windows with GUI. Solution: Remove stray feedkeys(). https://github.com/vim/vim/commit/d697ddea1466d877a79f8c56d46361dc54e9baef
* | | | | | vim-patch:8.2.2359: strange test failure with MS-WindowsJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Strange test failure with MS-Windows. Solution: Skip the system() call for now. https://github.com/vim/vim/commit/e2924328c165f1fc549f91bf212c93c87bb1d9ed
* | | | | | vim-patch:8.2.2354: crash with a weird combination of autocommandsJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash with a weird combination of autocommands. Solution: Increment b_nwindows when needed. (closes vim/vim#7674) https://github.com/vim/vim/commit/797e63b9f2baa1853e7063aac478d663cd02f207
* | | | | | Revert "XXX: ex_tabonly(): aucmd_win is not part of the window list."Jan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7214d0bc846179a862e8d3061d00270a6caa0d7b. Cannot test patch v8.2.1059 without reverting this commit.
* | | | | | vim-patch:8.2.1059: crash when using :tabonly in an autocommandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan) Solution: Do not allow the autocommand window to be closed. https://github.com/vim/vim/commit/cf8441704d6e517bda1899f4afa82c6b4eecbaec E813 error message does not mention 'popup' window because Neovim floating window are regular windows, unlike Vim popups. https://github.com/neovim/neovim/pull/14532#discussion_r631731829
* | | | | | vim-patch:8.2.1000: get error when leaving Ex mode with :visualJan Edmund Lazo2021-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter autocommand was used. Solution: Reset ex_pressedreturn. (closes vim/vim#6293) https://github.com/vim/vim/commit/158ea175a99fc23eae1b0a5ee9a81cdd973854a6
* | | | | | vim-patch:8.2.0023: command line editing not sufficiently testedJan Edmund Lazo2021-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Command line editing not sufficiently tested. Solution: Add more tests. (Dominique Pelle, closes vim/vim#5374) https://github.com/vim/vim/commit/59cb041d0a56d8555857da7e063ec61504ee1fa7 Ported to commit test_ex_mode.vim for later patches. Test fails because feedkeys() filters out modifier keys on output.
* | | | | | vim-patch:8.1.1967: line() only works for the current windowJan Edmund Lazo2021-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Line() only works for the current window. Solution: Add an optional argument for the window to use. https://github.com/vim/vim/commit/8e0a8e7eb7c177807f44db6b76d8e52314248ab5
* | | | | | fixup! refactor nvim_buf_set_lines to use extmark_spliceJan Edmund Lazo2021-05-12
| | | | | |
* | | | | | Revert "vim-patch:8.1.1378: delete() can not handle a file name that looks ↵Marco Hinz2021-05-12
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like a pattern (#12784)" This reverts commit 4be0e92db01a502863ac4bb26dd0fee16d833145. Unfortunately, that commit stalled the Windows builds on GHA and likely requires other patches to work properly.
* | | | | Merge pull request #14243 from shadmansaleh/Allow_cterm_colors_nvim_set_hlBjörn Linse2021-05-11
|\ \ \ \ \ | |_|/ / / |/| | | | API: Adding cterm support to nvim_set_hl
| * | | | Make clint happy about spaces.shadmansaleh2021-03-29
| | | | |
| * | | | Api: Adding cterm color support to nvim_set_hlshadmansaleh2021-03-29
| | | | |
* | | | | Merge pull request #14528 from disrupted/fix/nvim_buf_set_linesBjörn Linse2021-05-10
|\ \ \ \ \ | | | | | | | | | | | | Fix nvim_buf_set_lines
| * | | | | Apply patch from clasondisrupted2021-05-10
| | | | | |
| * | | | | Fix nvim_buf_set_linesdisrupted2021-05-10
| | | | | |
* | | | | | lua: use WarningMsg for vim.notify() warnings (#14508)Shadman2021-05-10
|/ / / / /
* | | | | make get_region_bytecount end-exclusivechentau2021-05-09
| | | | |
* | | | | refactor nvim_buf_set_lines to use extmark_splicechentau2021-05-09
| | | | |
* | | | | Merge pull request #14403 from seandewar/vim-8.2.1933Jan Edmund Lazo2021-05-09
|\ \ \ \ \ | |_|/ / / |/| | | | vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
| * | | | vim-patch:8.2.2287: sort test fails when locale is French CanadianSean Dewar2021-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sort test fails when locale is French Canadian. Solution: Expect a different sort order. (Dominique Pellé, closes vim/vim#7609) https://github.com/vim/vim/commit/cec77d4530ae51ee9ffe0ab57fa7a37cced2b181
| * | | | vim-patch:8.2.2286: sort test fails when locale is Canadian EnglishSean Dewar2021-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sort test fails when locale is Canadian English. (Neil H Watson) Solution: Expect a different sort order. (closes vim/vim#7609) https://github.com/vim/vim/commit/fefa6c347e2c7f01ed2b095084f4aa694ff72149