aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * vim-patch:9.0.1017: test for srand() fails on MS-Windows (#21308)zeertzjq2022-12-06
| | | | | | | | | | | | | | | | Problem: Test for srand() fails on MS-Windows. Solution: Do not expect the same result a second time. https://github.com/vim/vim/commit/9dacdb1d56ee0f9272f3fc956a12f15f84ffb205 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.1622: loop to handle keys for the command line is too long ↵zeertzjq2022-12-06
| | | | | | | | | | | | | | | | | | | | (#21307) Problem: Loop to handle keys for the command line is too long. Solution: Move code to functions. (Yegappan Lakshmanan, closes vim/vim#6880) https://github.com/vim/vim/commit/2f3cd2e4ec5617e3697ec4f4c6e1c9449061ad30 Use the command line state as only argument instead.
| * vim-patch:8.2.4393: possible number overflow with nested folds (#21305)zeertzjq2022-12-06
| | | | | | | | | | | | | | | | Problem: Possible number overflow with nested folds. Solution: Avoid a negative line number. https://github.com/vim/vim/commit/6b43471da4516e8f6c17e5dc2eccbb9d0ba2e0a4 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * version.c: update [skip ci] (#20958)github-actions[bot]2022-12-06
| | | | | | | | | | | | | | | | Co-authored-by: marvim <marvim@users.noreply.github.com> N/A patches: vim-patch:8.1.0820: test for sending large data over channel sometimes fails vim-patch:8.1.1133: compiler warning for uninitialized struct member vim-patch:8.1.1699: highlight_ga can be local instead of global
| * vim-patch:9.0.1015: without /dev/urandom srand() seed is too predictable ↵zeertzjq2022-12-06
| | | | | | | | | | | | | | | | | | | | | | (#21303) Problem: Without /dev/urandom srand() seed is too predictable. Solution: Use micro seconds and XOR with process ID. (Yasuhiro Matsumoto, closes vim/vim#11656) https://github.com/vim/vim/commit/f0a9c004825ab686270ee57260652cce25e61049 Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
| * Merge pull request #21302 from zeertzjq/vim-8.2.3193zeertzjq2022-12-06
| |\ | | | | | | vim-patch:8.2.{3193,4204,4389},9.0.{1011,1016}: screenpos() fixes
| | * vim-patch:9.0.1016: screenpos() does not count filler lines for diff modezeertzjq2022-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: screenpos() does not count filler lines for diff mode. Solution: Add filler lines. (closes 11658) https://github.com/vim/vim/commit/1cb16c3a20a9d17df1a8dc3813ef64dc98e42637 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:9.0.1011: ml_get error when using screenpos()zeertzjq2022-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ml_get error when using screenpos(). Solution: Give an error for the line number. (closes vim/vim#11661) https://github.com/vim/vim/commit/99d19438cabaf13074229d9a32e3a4af9ce98744 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.4389: screenpos() does not handle a position in a closed foldzeertzjq2022-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: screenpos() does not handle a position in a closed fold. Solution: Check if the position is inside a closed fold. (closes vim/vim#9778) https://github.com/vim/vim/commit/4556a2e8681c5c98fb4c7ca0a016924a69b4452a Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.4204: screenpos() has non-zero row for invisible textzeertzjq2022-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: screenpos() has non-zero row for invisible text. Solution: Only add the window row when the text is visible. (closes vim/vim#9618) https://github.com/vim/vim/commit/7924a17791217d50be5a91989a9641bf68e7a735 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * fix(float): fix ml_get error with bufposzeertzjq2022-12-06
| | |
| | * vim-patch:8.2.3193: screenpos() is wrong when 'display' is "lastline"zeertzjq2022-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: screenpos() is wrong when the last line is partially visible and 'display' is "lastline". Solution: Also compute the position for a partially visible line. (closes vim/vim#8599) https://github.com/vim/vim/commit/189663bdac1156237c49925f77bd197c1bdea12c Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | vim-patch:9.0.1014: zir files are not recognized (#21301)Gregory Anders2022-12-05
| |/ | | | | | | | | | | | | | | Problem: Zir files are not recognized. Solution: Add a pattern for Zir files. (closes vim/vim#11664) https://github.com/vim/vim/commit/25201016d5043954689a4c9f7833935294149404 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * fix(secure): crash when hitting escape in prompt (#21283)ii142022-12-05
| | | | | | | | | | | | | | | | - use pcall when calling vim.secure.read from C - catch keyboard interrupts in vim.secure.read, rethrow other errors - selecting "view" in prompt runs :view command - simplify lua stack cleanup with lua_gettop and lua_settop Co-authored-by: ii14 <ii14@users.noreply.github.com>
| * docs: add missing docs from some Vim patches (#21296)zeertzjq2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | This is cherry-picked from these Vim patches: Only applicable change outside vi_diff.txt in patch 8.1.1226: https://github.com/vim/vim/commit/6c60f47fb9251e686217d51cf81847e14d0dd26d Most changes outside starting.txt and vi_diff.txt in patch 8.1.1280: https://github.com/vim/vim/commit/25c9c680ec4dfbb51f4ef21c3460a48d3c67ffc8 Missing docs for 'mousemoveevent': https://github.com/vim/vim/commit/cbaff5e06ec525d31dc44093125c42029e01d508
| * ci: create CI job to check if news needs to be updated (#21142)dundargoc2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | If any commit message in the PR is either of type "feat" or is a breaking change, then there's a high probability that news.txt should be updated. Give an error if news.txt hasn't been updated in that case. This workflow cannot 100% correctly determine if news.txt should be updated even if the commit messages were exactly correct. The entries in news.txt is determined by changes between releases, while the commit messages are based on the master branch. While it is an approximation, it is still a useful enough one that it's still valuable to have this job as a reminder even if it gives an error if it shouldn't. In these cases it is perfectly fine to ignore the failure for this job.
| * ci: use shell script to deduplicate workflow (#21079)dundargoc2022-12-05
| |
| * ci: use local action to make make cache keys consistent (#20538)dundargoc2022-12-05
| | | | | | | | The advantages of using an action is that it reduces boilerplate and repetition from the main ci.yml workflow.
| * vim-patch:8.2.2328: some test files may not be deleted (#21194)zeertzjq2022-12-05
| | | | | | | | | | | | Problem: Some test files may not be deleted. Solution: Add a delete() call, correct name. (Dominique Pellé, closes vim/vim#7654) https://github.com/vim/vim/commit/48e11c10548782f573411b6302f77adb69c40401
| * Merge pull request #21292 from zeertzjq/vim-8.2.1195zeertzjq2022-12-05
| |\ | | | | | | vim-patch:8.2.{1195,1197,2240,3108,3109,3495,3499,3526,5145}
| | * vim-patch:8.2.5145: exit test causes spurious valgrind reportszeertzjq2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Exit test causes spurious valgrind reports. Solution: Skip test. Add CheckNotValgrind. https://github.com/vim/vim/commit/cf801d4b95180ddaee1bf633ef482232625dd80b Cherry-pick RunningWithValgrind() from patch 8.2.5136. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.3526: tests have clumsy check for X11 based GUIzeertzjq2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests have clumsy check for X11 based GUI. Solution: Add CheckX11BasedGui. https://github.com/vim/vim/commit/40bd5a15405206b130d487af0ca61b5d9b5859f8 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.3499: GUI geometry startup test failszeertzjq2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: GUI geometry startup test fails. Solution: Check string values instead of numbers https://github.com/vim/vim/commit/3d031a0ae791f901c0c2dedd5d8b9de137c23acc Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.3495: GUI geometry startup test fails on some systemszeertzjq2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: GUI geometry startup test fails on some systems. (Drew Vogel) Solution: Add tolerance to the size check. (closes vim/vim#8815) https://github.com/vim/vim/commit/b376aa2da4211fee7eaf16450bb8b37674e45bb0 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.3109: check for $DISPLAY never failszeertzjq2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Check for $DISPLAY never fails. Solution: Use eval(). https://github.com/vim/vim/commit/f6d877975ba93fc9b4bee2c5d2aff88dbf9bea59 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.3108: test for remote_foreground() failszeertzjq2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for remote_foreground() fails. (Elimar Riesebieter) Solution: Check that $DISPLAY is set. (Christian Brabandt) https://github.com/vim/vim/commit/d6fa7bd5b900dd363d3a824e0ebe3619a1634df6 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.2240: clientserver test fails if full path is usedzeertzjq2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Clientserver test fails if full path is used. Solution: Ignore the path preceding the file name. https://github.com/vim/vim/commit/41a834d1e3dbf9c8759737bcd6524159a9b93d2a Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.1197: clientserver test still fails on MS-Windowszeertzjq2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Clientserver test still fails on MS-Windows. Solution: Expect a different error message. https://github.com/vim/vim/commit/c212dd0a346d57f62013094ea6861eb28e33023c Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.1195: clientserver test fails on MS-Windowszeertzjq2022-12-05
| |/ | | | | | | | | | | | | | | | | Problem: Clientserver test fails on MS-Windows. Solution: Expect a different error message. https://github.com/vim/vim/commit/4d57ba02029071e5947a54766e9f5d42e3bb3008 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * fix(lsp): ensure open_logfile is safe for fast events (#21288)Mathias Fußenegger2022-12-04
| | | | | | Closes https://github.com/neovim/neovim/issues/21052
| * Merge pull request #21287 from mfussenegger/lsp-show-documentMathias Fußenegger2022-12-04
| |\ | | | | | | fix(lsp): call show_document with correct args
| | * fix(lsp): call show_document with correct argsMathias Fussenegger2022-12-04
| | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/21177
| | * refactor(lsp): extract a _create_server method in lsp_specMathias Fussenegger2022-12-04
| |/
| * fix(lsp): remove workspaceFolders field (#21284)Raphael2022-12-04
| |
| * vim-patch:9.0.0610: global interrupt test fails when run under valgrind (#21285)zeertzjq2022-12-04
| | | | | | | | | | | | | | | | Problem: Global interrupt test fails when run under valgrind. Solution: Use TermWait(). https://github.com/vim/vim/commit/859ea4bc76699232e41aea0f308463bab887b0c1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0259: crash with mouse click when not initialized (#21282)zeertzjq2022-12-04
| | | | | | | | | | | | | | | | Problem: Crash with mouse click when not initialized. Solution: Check TabPageIdxs[] is not NULL. https://github.com/vim/vim/commit/80525751c5ce9ed82c41d83faf9ef38667bf61b1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * Merge pull request #21281 from zeertzjq/vim-8.2.4163zeertzjq2022-12-04
| |\ | | | | | | vim-patch:8.2.{4163,4168}
| | * vim-patch:8.2.4168: disallowing empty function name breaks existing pluginszeertzjq2022-12-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Disallowing empty function name breaks existing plugins. Solution: Allow empty function name in legacy script. https://github.com/vim/vim/commit/e6a4200ff47708febcd7cb2b8c3dd3801a975d43 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:8.2.4163: no error for omitting function name after autoload prefixzeertzjq2022-12-04
| |/ | | | | | | | | | | | | | | | | Problem: No error for omitting function name after autoload prefix. Solution: Check for missing function name. (issue vim/vim#9577) https://github.com/vim/vim/commit/2017d6f3b1d523204e5471e941cfa687b4da0058 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * Merge pull request #21279 from zeertzjq/vim-8.2.2182zeertzjq2022-12-04
| |\ | | | | | | vim-patch:8.2.{2182,2295,3265,3292}: search fixes
| | * vim-patch:8.2.3292: underscore in very magic pattern causes a hangzeertzjq2022-12-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Underscore in very magic pattern causes a hang. Pattern with \V are case sensitive. (Yutao Yuan) Solution: Adjust condition for magicness and advance pointer. (Christian Brabandt, closes vim/vim#8707, closes vim/vim#8704, closes vim/vim#8705) https://github.com/vim/vim/commit/bc67e5a0a494f5fc48e872d747371e31a782d171 Co-authored-by: Christian Brabandt <cb@256bit.org>
| | * vim-patch:8.2.3265: smartcase does not work correctly in very magic patternzeertzjq2022-12-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Smartcase does not work correctly in very magic pattern. Solution: Take the magicness into account when skipping over regexp items. (Christian Brabandt, closes vim/vim#8682, closes vim/vim#7845) https://github.com/vim/vim/commit/78ba933d18439ff1a02f6be4c571e73ddceb3cd4 Co-authored-by: Christian Brabandt <cb@256bit.org>
| | * vim-patch:8.2.2295: incsearch does not detect empty pattern properlyzeertzjq2022-12-04
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Incsearch does not detect empty pattern properly. Solution: Return magic state when skipping over a pattern. (Christian Brabandt, closes vim/vim#7612, closes vim/vim#6420) https://github.com/vim/vim/commit/d93a7fc1a98a58f8101ee780d4735079ad99ae35
| | * vim-patch:8.2.2182: Vim9: value of 'magic' is still relevantzeertzjq2022-12-04
| |/ | | | | | | | | | | | | | | | | | | | | Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes vim/vim#7509) https://github.com/vim/vim/commit/f4e2099e39ed4d71aed0f9a9579455aed5ec6cc2 EX_NONWHITE_OK is N/A: only applies to Vim9 script. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * fix(syntax): correct conceal for annotated code blocks (#21272)Christian Clason2022-12-03
| | | | | | fixup for https://github.com/neovim/neovim/pull/21154
| * Merge pull request #21274 from zeertzjq/vim-8.2.3992zeertzjq2022-12-03
| |\ | | | | | | vim-patch:8.2.{3992,4261,4262},9.0.{0110,0577}
| | * vim-patch:9.0.0577: buffer underflow with unexpected :finallyzeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Buffer underflow with unexpected :finally. Solution: Check CSF_TRY can be found. https://github.com/vim/vim/commit/96b9bf8f74af8abf1e30054f996708db7dc285be Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:9.0.0110: help tag generation picks up words in code exampleszeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Help tag generation picks up words in code examples. Solution: Skip over examples. (Carlo Teubner, closes vim/vim#10813) https://github.com/vim/vim/commit/ddab3ce3457aadffb16ce0127f67a99966a065a8 Also fix mistakes in help files. Co-authored-by: Carlo Teubner <carlo@cteubner.net>
| | * test(old): skip Vim9 script with less divergencezeertzjq2022-12-03
| | |
| | * vim-patch:8.2.4262: some search tests failzeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some search tests fail. Solution: Use a better way to reject searching for the Visual area. https://github.com/vim/vim/commit/44a4d947bbc2c5ddb2908346a7c61ef93b59a3ca Co-authored-by: Bram Moolenaar <Bram@vim.org>