aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | vim-patch:8.2.0511: Cscope code not fully testedJan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cscope code not fully tested. Solution: Add more test cases. (Dominique Pelle, closes vim/vim#5886) https://github.com/vim/vim/commit/d7ffc0ba8ccb039dd19b255368302d9bfe0e010b
* | | | | test/old: partial port of patch v8.2.1.0183Jan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | | | Prep for patch v8.2.0511.
* | | | | vim-patch:8.2.1689: 'colorcolumn' doesn't show in indentJan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'colorcolumn' doesn't show in indent. Solution: Also draw the column when draw_state is WL_BRI or WL_SBR. (Alexey Demin, closes vim/vim#6948, closes vim/vim#6619) https://github.com/vim/vim/commit/ad5e5631c5dc93a50bbe637be254c5e9968848ea
* | | | | vim-patch:8.2.1957: diff and cursorcolumn highlighting don't mixJan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Diff and cursorcolumn highlighting don't mix. Solution: Fix condition for what attribute to use. (Christian Brabandt, closes vim/vim#7258, closes vim/vim#7260) https://github.com/vim/vim/commit/fabc3ca896751277f18a3a68e5661179728db3ad
* | | | | vim-patch:8.2.2880: unified diff fails if actually usedJan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Unified diff fails if actually used. Solution: Invoke :diffupdate in the test. Fix the check for working external diff. (Ghjuvan Lacambre, Christian Brabandt, closes vim/vim#8197) https://github.com/vim/vim/commit/ad5c178a191cf2cf37a27c2a789d7afda3879831
* | | | | vim-patch:8.2.2879: file extension .hsig not recognized (#14628)Jan Edmund Lazo2021-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: File extension .hsig not recognized. Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski, closes vim/vim#8236) https://github.com/vim/vim/commit/f5409dbf66f4e4a0461d3f2079c1bffacbf12392
* | | | | vim-patch:8.2.2778: problem restoring 'packpath' in sessionJan Edmund Lazo2021-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Problem restoring 'packpath' in session. Solution: Let "skiprtp" also apply to 'packpath'. https://github.com/vim/vim/commit/d23b714d8b9ed8e16ef553098acc6da0979e94fc Port Test_mksession_skiprtp() to lua functional test.
* | | | | vim-patch:8.2.2772: problems when restoring 'runtimepath' from a session fileJan Edmund Lazo2021-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'. https://github.com/vim/vim/commit/635bd60804966803490287e97460ecdc91d5fe0a Allow "terminal" value for sessionoptions even if it's no-opt because patch v8.0.1592 is not ported yet. Omit vim9 test, Test_mksession_skiprtp().
* | | | | fixup! vim-patch:8.1.0734: the hlsearch state is not stored in a session ↵Jan Edmund Lazo2021-05-22
| | | | | | | | | | | | | | | | | | | | file (#13547)
* | | | | vim-patch:8.2.2875: cancelling inputlist() after a digit does not return zeroJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cancelling inputlist() after a digit does not return zero. Solution: Always return zero when cancelling. (closes vim/vim#8231) https://github.com/vim/vim/commit/5cf94577cf2045fec87344d7d89422fe6dfce62f
* | | | | vim-patch:8.2.0946: cannot use "q" to cancel a number promptJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use "q" to cancel a number prompt. Solution: Recognize "q" instead of ignoring it. https://github.com/vim/vim/commit/eebd555733491cb55b9f30fe28772c0fd0ebacf7
* | | | | vim-patch:8.2.1591: using winheight('.') in tests works but is wrongJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using winheight('.') in tests works but is wrong. Solution: Use winheight(0). (issue vim/vim#6863) https://github.com/vim/vim/commit/c05d1c043a25c7a52dbf0a740d3f715a9d2691f7
* | | | | vim-patch:8.1.2339: insufficient testing for quickfixJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Insufficient testing for quickfix. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#5261) https://github.com/vim/vim/commit/70077dd1ca63636afaf07acf22519981e3a8e4b7 TODO: Debug the following off-by-one error: call assert_equal(repeat('m', 1024), l[0].module)
* | | | | vim-patch:8.1.2320: insufficient test coverage for quickfixJan Edmund Lazo2021-05-21
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Insufficient test coverage for quickfix. Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan, closes vim/vim#5238) https://github.com/vim/vim/commit/f9ae154c512683ea7b933f870b0268232fd7ad38
* | | | Merge pull request #14490 from kevinhwang91/qftfJan Edmund Lazo2021-05-20
|\ \ \ \ | | | | | | | | | | vim-patch: 8.2.{0869,0933,0959} - port quickfixtextfunc
| * \ \ \ Merge remote-tracking branch 'origin/master' into qftfkevinhwang912021-05-20
| |\ \ \ \
| * | | | | fixup! vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slowkevinhwang912021-05-20
| | | | | |
| * | | | | vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slowkevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using 'quickfixtextfunc' is a bit slow. Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234) https://github.com/vim/vim/commit/00e260bb6cc33ff5dbba15ac87ca7fd465aa49c0
| * | | | | vim-patch:8.2.0933: 'quickfixtextfunc' does not get window ID of location listkevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'quickfixtextfunc' does not get window ID of location list. Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan, closes vim/vim#6222) https://github.com/vim/vim/commit/7ba5a7eff335dcce25afaa154f32eeadb6014b61
| * | | | | vim-patch:8.2.0869: it is not possible to customize the quickfix window contentskevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not possible to customize the quickfix window contents. Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes vim/vim#5465) https://github.com/vim/vim/commit/858ba06d5f577b187da0367b231f7fa9461cb32d
* | | | | | Merge pull request #14575 from vigoux/virtualedit-bytesThomas Vigouroux2021-05-20
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | fix(bufupdate): send events when inserting with virtualedit
| * | | | | 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