aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * fix(grid): don't use utfc_ptr2char_len() when printing until NUL (#19456)zeertzjq2022-07-22
| |
| * refactor: fix clang warnings (#19453)zeertzjq2022-07-21
| |
| * fix(mark): give correct error message when mark is in another buffer (#19454)zeertzjq2022-07-21
| |
| * vim-patch:9.0.0047: using freed memory with recursive substitute (#19457)zeertzjq2022-07-21
| | | | | | | | | | Problem: Using freed memory with recursive substitute. Solution: Always make a copy for reg_prev_sub. https://github.com/vim/vim/commit/32acf1f1a72ebb9d8942b9c9d80023bf1bb668ea
| * vim-patch:8.2.4502 (#19439)zeertzjq2022-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.4502: in the GUI a modifier is not recognized after CTRL-X Problem: In the GUI a modifier is not recognized for the key typed after CTRL-X, which may result in a mapping to be used. (Daniel Steinberg) Solution: Recognize a modifier starting with CSI. (closes vim/vim#9889) https://github.com/vim/vim/commit/d979d64fa269ff47a96fc6aed2f4cdd066753c0c Code is N/A. This just ports the test change. Test depends on README.txt in testdir. Add that file. Reorder test_ins_complete.vim to match upstream.
| * Merge pull request #19445 from famiu/fix/local_winbar_tabsbfredl2022-07-20
| |\ | | | | | | fix: local winbar with tabs
| | * fix: local winbar with tabsFamiu Haque2022-07-20
| | | | | | | | | | | | Closes #19396
| * | test(old): set 'display' to an empty string (#19450)zeertzjq2022-07-20
| | |
| * | refactor(object): get rid of redundant FIXED_TEMP_ARRAYbfredl2022-07-20
| | | | | | | | | | | | | | | use the MAXSIZE_TEMP_ARRAY + ADD_C pattern instead, as exemplified by the changes in this commit.
| * | vim-patch:8.1.1849zeertzjq2022-07-20
| | | | | | | | | | | | https://github.com/vim/vim/commit/9bca58f36d1f6a2ac0e4022caa5f355d39357a05
| * | vim-patch:8.1.1076: file for Insert mode is much too bigzeertzjq2022-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: File for Insert mode is much too big. Solution: Split off the code for Insert completion. (Yegappan Lakshmanan, closes vim/vim#4044) https://github.com/vim/vim/commit/7591bb39d58ece38a5fef984a08ea9012616c1f9 Cherry-pick ins_compl_len() -> get_compl_len() from patch 8.2.4001. Revert a71c5e9eb98fbb2ca88510269935cdcda37369fc: ctrl_x_mode is no longer a global variable, so l_ctrl_x_mode is no longer needed.
| * | fix(tmpdir): invalid tempname() if username has slashes #19323August Masquelier2022-07-19
| | | | | | | | | | | | | | | fix #19240 Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
| * | vim-patch:8.2.2632: not all command line arguments are testedzeertzjq2022-07-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Not all command line arguments are tested. Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes vim/vim#7992) https://github.com/vim/vim/commit/c5cf369e9543ff065e2e1da91da3218c223840e2 Cherry-pick two deletions from patch 8.2.1799.
| * | vim-patch:8.2.0509: various code is not properly tested.zeertzjq2022-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: various code is not properly tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5871) https://github.com/vim/vim/commit/cde0ff39da2459b16007fef701ebaa449fb6fe9d Cherry-pick test_clientserver.vim change from patch 8.1.1826. Cherry-pick a comment from patch 8.2.0301. Omit test_viminfo.vim.
| * | Merge pull request #19409 from bfredl/uiunpackbfredl2022-07-19
| |\ \ | | | | | | | | perf(ui): some ui_client fixes/optimizations before externalized TUI
| | * | fix(rpc): break nvim_error_event feedback loop between two nvim instancesbfredl2022-07-19
| | | | | | | | | | | | | | | | | | | | | | | | In case nvim A sends nvim_error_event to nvim B, it would respond with another nvim_error_event due to unknown request name. Fix this by adding dummy request handler for now.
| | * | perf(ui): unpack grid_line (screen contents) directlybfredl2022-07-19
| | | |
| | * | perf(ui): avoid ui_flush() work in headless modebfredl2022-07-18
| | | |
| | * | perf(ui): eliminate spurious memory allocations for hl_attr_define eventbfredl2022-07-18
| | | |
| | * | perf(ui): unpack a single ui event at a time, instead of a "redraw" batchbfredl2022-07-18
| | | | | | | | | | | | | | | | | | | | This reduces the memory overhead for large redraw batches, as a much smaller prefix of the api object buffer is used and needs to be hot in cache.
| * | | vim-patch:8.2.1147 (#19425)zeertzjq2022-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.1147: :confirm may happen in cooked mode Problem: :confirm may happen in cooked mode. (Jason Franklin) Solution: Switch to raw mode before prompting. (Brandon Pfeifer) https://github.com/vim/vim/commit/27321dbeedf8bb833c48b01bf18536125794f65e Code is N/A, but this improves tests. Port the improved tests to Lua.
| * | | fix(lua): make it possible to cancel vim.wait() with Ctrl-C (#19217)JP2022-07-19
| | | |
| * | | fix(mouse): click on global statusline with splits (#19390)Munif Tanjim2022-07-19
| | | |
| * | | fix(powershell): filter ":!" commands with args #19268Enan Ajmain2022-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Since 0b9664f5240be4d9e9d6882fcd398970fd3a9532 powershell filtered :[range]! commands with args causes error: "Start-Process: A positional parameter cannot be found that accepts argument ..." Solution: Pass args to Start-Process via `-ArgumentList`. closes #19250
| * | | Merge pull request #19167 from dundargoc/refactor/conversionLewis Russell2022-07-18
| |\ \ \ | | |/ / | |/| | refactor: enable -Wconversion warning for memline.c
| | * | refactor: enable -Wconversion warning for memline.cDundar Goc2022-06-30
| | | | | | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
* | | | Merge remote-tracking branch 'upstream/master' into rahmJosh Rahm2022-07-18
|\| | |
| * | | fix(windows):exepath, stdpath return wrong slashes #19111Enan Ajmain2022-07-17
| | |/ | |/| | | | | | | | | | | | | exepath and stdpath should respect shellslash and return path with proper file separator. Closes #13787
| * | vim-patch:9.0.0055 (#19392)Gregory Anders2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | vim-patch:9.0.0055: bitbake files are not detected Problem: Bitbake files are not detected. Solution: Add bitbake filetype detection by file name and contents. (Gregory Anders, closes vim/vim#10697) https://github.com/vim/vim/commit/fa49eb482729a5fe7da9c9a5ed8d14f68afa55c7
| * | feat(defaults): mouse=nvi #19290matveyt2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Since right-click can now show a popup menu, we can provide messaging to guide users who expect 'mouse' to be disabled by default. So 'mouse' can now be enabled by default. Solution: Do it. Closes #15521
| * | vim-patch:8.2.2427: can still switch windows for 'completefunc'zeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Can still switch windows for 'completefunc'. Solution: Also disallow switching windows for other completions. https://github.com/vim/vim/commit/3eb6bd9c2b36dcce471bfb543c8d5488f1dc17a4 Assert E565 instead of E578. Need to assert a different string because patch 8.2.1919 hasn't been ported yet.
| * | vim-patch:8.2.2426: allowing 'completefunc' to switch windows causes troublezeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Allowing 'completefunc' to switch windows causes trouble. Solution: use "textwinlock" instead of "textlock". https://github.com/vim/vim/commit/28976e2accf11591c60e8a658a9e03544f0408b2 Assert E565 instead of E578. vim-patch:8.2.0670: cannot change window when evaluating 'completefunc' Problem: Cannot change window when evaluating 'completefunc'. Solution: Make a difference between not changing text or buffers and also not changing window. https://github.com/vim/vim/commit/6adb9ea0a6ca01414f4b591f379b0f829a8273c0 vim-patch:8.2.5029: "textlock" is always zero Problem: "textlock" is always zero. Solution: Remove "textlock" and rename "textwinlock" to "textlock". (closes vim/vim#10489) https://github.com/vim/vim/commit/cfe456543e840d133399551f8626d985e1fb1958
| * | vim-patch:8.2.2424: some tests are known to cause an error with ASANzeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some tests are known to cause an error with ASAN. Solution: Add CheckNotAsan. https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571 Move CheckNotMSWindows to the right place. Omit test_memory_usage.vim: a Lua test is used for this file.
| * | vim-patch:8.2.1984: cannot use :vimgrep in omni completionzeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use :vimgrep in omni completion, causing C completion to fail. Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes vim/vim#7292) https://github.com/vim/vim/commit/33aecb1f2c85711d53858b71f5f3c2cbe076435f Cherry-pick Test_resize_from_copen() indent change from patch 8.2.1432.
| * | vim-patch:8.2.1294: Vim9: error when using vim9script in TextYankPostzeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | Problem: Vim9: error when using vim9script in TextYankPost. Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can be used when text is locked. (closes vim/vim#6529) https://github.com/vim/vim/commit/37394ff75270877a032422abcd079a6732a29730
| * | vim-patch:8.2.0698: insert mode completion not fully testedzeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Insert mode completion not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6041) https://github.com/vim/vim/commit/f9ab52e155dc13f59b654d754041fe78e17b9074 Cherry-pick test_ins_complete.vim changes from patches 8.2.{0522,0615}.
| * | vim-patch:8.2.1040: not enough testing for movement commandszeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not enough testing for movement commands. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6313) https://github.com/vim/vim/commit/bdd2c290d3cda69e0046c42f0c651f60bc510a16 Cherry-pick test_functions.vim changes from patch 8.2.0183. Cherry-pick Test_normal18_z_fold() change from patch 8.2.0540.
| * | vim-patch:8.2.0655: search code not sufficiently testedzeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Search code not sufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5999) https://github.com/vim/vim/commit/224a5f17c6ec9e98322a4c6792ce4f9bb31a4cce Cherry-pick test_charsearch.vim change from patch 8.2.0448. Cherry-pick test_search.vim changes from patch 8.2.0619.
| * | fix(api): fix nvim_parse_cmd interfere with printing line in Ex mode (#19400)zeertzjq2022-07-17
| | |
| * | vim-patch:8.2.2643: various code not covered by testszeertzjq2022-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Various code not covered by tests. Solution: Add a few more test. (Yegappan Lakshmanan, closes vim/vim#7995) https://github.com/vim/vim/commit/1f448d906b3c516e5864dc5bae3ddbf3664ee649 Cherry-pick some test_edit.vim changes from patches 8.2.{1022,1432}. Reorder test_undo.vim to match upstream.
| * | vim-patch:8.2.2608: character input not fully testedzeertzjq2022-07-16
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Character input not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7963) https://github.com/vim/vim/commit/f4fcedc59d4cc5ae6b5270a933e8377030283c1c Cherry-pick related changes from patches 8.2.{0433,0866}.
| * | vim-patch:8.2.0198: no tests for y/n promptzeertzjq2022-07-16
| | | | | | | | | | | | | | | | | | Problem: No tests for y/n prompt. Solution: Add tests. (Dominique Pelle, closes vim/vim#5564) https://github.com/vim/vim/commit/43c60eda2aa22ba3d7aaf418cfbdb75f1a008e67
| * | vim-patch:8.2.0052: more-prompt not properly testedzeertzjq2022-07-16
| | | | | | | | | | | | | | | | | | Problem: More-prompt not properly tested. Solution: Add a test case. (Dominique Pelle, closes vim/vim#5404) https://github.com/vim/vim/commit/c6d539b67181ad573452e919e58ecbfa362f4c49
| * | fix(ex_cmds): correct flags for :const (#19387)zeertzjq2022-07-16
| | |
| * | vim-patch:8.2.0593: finding a user command is not optimal (#19386)zeertzjq2022-07-16
| | | | | | | | | | | | | | | Problem: Finding a user command is not optimal. Solution: Start further down in the list of commands. https://github.com/vim/vim/commit/a494f56f885876c98a276f7acfa386bfbb344680
| * | vim-patch:8.2.1061: insufficient testing for src/window.c (#19384)zeertzjq2022-07-16
| | | | | | | | | | | | | | | | | | | | | Problem: Insufficient testing for src/window.c. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6345) https://github.com/vim/vim/commit/5d3c9f8c2a0fc29ba4ac8e0f052378b64d9e3dd3 Cherry-pick test_tagjump.vim changes from patch 8.1.2373.
| * | fix(api): do not switch win/buf if getting option in current win/buf (#19383)zeertzjq2022-07-16
| | |
| * | fix(pum): make right drag in anchor grid to select work in multigrid UI (#19382)zeertzjq2022-07-16
| | |
| * | fix: remote UI may get invalid 'pumblend' value #19379Natasha England-Elbro2022-07-15
| | | | | | | | | fixes: https://github.com/neovim/neovim/issues/19340
| * | fix: right-click in clickable statusline #19252Famiu Haque2022-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 1. Right-click does not work in statusline unless you left-click first (to focus the statusline). 2. Modifier (e.g. shift+rightclick) does not work in statusline. Solution: Make clickable statusline sections receive right-clicks regardless of whether the statusline is focused. Closes #18994