aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | Merge pull request #20816 from zeertzjq/vim-8.1.1826zeertzjq2022-10-26
| |\ \ \ | | | | | | | | | | vim-patch:8.1.1826,9.0.0019
| | * | | vim-patch:9.0.0019: timers test not run where possiblezeertzjq2022-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Timers test not run where possible. Solution: Adjust platform checks. (closes vim/vim#10645) https://github.com/vim/vim/commit/eb273cd7b036c35ae9070bd6352101914f273e71 Cherry-pick a line from patch 8.2.0183.
| | * | | vim-patch:8.1.1826: tests use hand coded feature and option checkszeertzjq2022-10-26
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests. https://github.com/vim/vim/commit/8c5a278fc508da6dfe50e69b6ee734451aa4eafb Omit Test_wincolor(): there are later patches that touch that function. Omit test_memory_usage.vim: a Lua test is used for that file. Cherry-pick Test_issue_3969() from patch 8.1.0969. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | Merge pull request #20814 from zeertzjq/vim-8.2.0610zeertzjq2022-10-26
| |\ \ \ | | | | | | | | | | vim-patch:8.2.{0610,0619,1852}
| | * | | vim-patch:8.2.1852: map() returing zero for NULL list is unexpectedzeertzjq2022-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: map() returing zero for NULL list is unexpected. Solution: Return the empty list. (closes vim/vim#7133) https://github.com/vim/vim/commit/ffdf8adfa8108d4765fdc68abbd2fe49a4292b25 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * | | vim-patch:8.2.0619: null dict is not handled like an empty dictzeertzjq2022-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Null dict is not handled like an empty dict. Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes vim/vim#5968) https://github.com/vim/vim/commit/ea04a6e8baff2f27da7cdd54bf70a5525994f76d Nvim doesn't support modifying NULL list, so comment out a line.
| | * | | vim-patch:8.2.0610: some tests are still old stylezeertzjq2022-10-26
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some tests are still old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#5957) https://github.com/vim/vim/commit/08f4157c5cabc55bcb22f04dd7c717aba40caa34 Fix missing error message when sort() compare function fails. Cherry-pick a line in test_utf8.vim from patch 8.2.0448. Cherry-pick builtin_function() change from patch 8.2.0595.
| * | | Merge pull request #20813 from zeertzjq/vim-8.2.0163zeertzjq2022-10-26
| |\ \ \ | | | | | | | | | | vim-patch:8.2.{0162,0163}
| | * | | vim-patch:8.2.0163: test hangs on MS-Windows consolezeertzjq2022-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test hangs on MS-Windows console. Solution: use feedkeys() instead of test_feedinput(). (Ken Takata) https://github.com/vim/vim/commit/272ca95fc3d21ae1e2626a7aec38a6990e88ad6b Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * | | vim-patch:8.2.0162: balloon test fails in the GUIzeertzjq2022-10-26
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Balloon test fails in the GUI. Solution: Skip test in the GUI. https://github.com/vim/vim/commit/7d8ea0b24191d64155fcf9e8d2d2eefff91ae549 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | fix(spell): fix wrong cast (#20810)zeertzjq2022-10-26
| | | | | | | | | | | | Fix #20787
| * | | Merge pull request #20806 from zeertzjq/vim-8.2.0401zeertzjq2022-10-26
| |\ \ \ | | | | | | | | | | vim-patch:7.4.{1081,1097},8.2.{0401,0418}: eval tests
| | * | | vim-patch:8.2.0418: code in eval.c not sufficiently covered by testszeertzjq2022-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Code in eval.c not sufficiently covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5815) https://github.com/vim/vim/commit/8b633135106dda8605463b780573c45b00c22afe Nvim does not have v:none, so comment out test for it.
| | * | | vim-patch:8.2.0401: not enough test coverage for evalvars.czeertzjq2022-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not enough test coverage for evalvars.c. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5804) https://github.com/vim/vim/commit/8dfcce3a78ccb520cc9d09081f998091494c50bf Assert E475 instead of E474 in :redir test because a later patch changed the error number. Comment out the test for :echo with a deeply nested container as Nvim implements :echo very differently.
| | * | | vim-patch:7.4.1097zeertzjq2022-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Looking up the alloc ID for tests fails. Solution: Fix the line computation. Use assert_fails() for unlet test. https://github.com/vim/vim/commit/065ee9aebf9abe08ae8c0dba7d05cbdcc423c8e0 Use v:count and v:errmsg instead of count and errmsg. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * | | vim-patch:7.4.1081zeertzjq2022-10-26
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for what previously caused a crash. Solution: Add test for unletting errmsg. https://github.com/vim/vim/commit/254b105b755d9736ece5f7f28db92acaf3e7bf76 Use v:errmsg instead of errmsg. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | Merge pull request #20803 from zeertzjq/vim-8.2.0179zeertzjq2022-10-26
| |\ \ \ | | | | | | | | | | vim-patch:8.2.{0179,0211}: tests for range()
| | * | | vim-patch:8.2.0211: test for ANSI colors fails without an "ls" commandzeertzjq2022-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for ANSI colors fails without an "ls" command. Solution: Use "dir". (Ken Takata, closes vim/vim#5582) https://github.com/vim/vim/commit/94255df057afa0b7dde77612f3274d4440871bd1 Cherry-pick test_functions.vim change from patch 8.2.0186.
| | * | | vim-patch:8.2.0179: still a few places where range() does not workzeertzjq2022-10-26
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Still a few places where range() does not work. Solution: Fix using range() causing problems. https://github.com/vim/vim/commit/b09920203a0f2b202497ef9632f8447f73d0f1fb Code is mostly N/A. Cherry-pick all of Test_range() from patch 8.2.0159. - Use nvim_input() instead of test_feedinput() - Assert a different result from json_encode() - Assert a different error for sign_undefine() Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | Merge pull request #20775 from shadmansaleh/fix/opt_tal_not_redrawing_tablinebfredl2022-10-24
| |\ \ \ | | |/ / | |/| | fix: setting tabline option not redrawing tabline
| | * | fix: setting tabline option not redrawing tablineshadmansaleh2022-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With #20374 tabline option is marked with 'statuslines' redraw flag. But 'statuslines' doesn't redraw tabline. As a result, tabline doesn't get redrawn when tabline option is set and statuslines get unnecessarily redrawn. This patch fixes the issue by adding a new redraw flag P_RTABL to redraw tabline.
| * | | Merge pull request #20785 from lewis6991/refactor/diff.c_2Lewis Russell2022-10-24
| |\ \ \
| | * | | refactor(diff.c): internal does not need diffstyleLewis Russell2022-10-24
| | | | |
| | * | | refactor(diff.c): simplify diff_buf_idx()Lewis Russell2022-10-24
| | | | |
| | * | | refactor(diff.c): factor out hunk processingLewis Russell2022-10-24
| | | | |
| | * | | refactor(diff.c): factor out hunk extractionLewis Russell2022-10-24
| | | | |
| | * | | refactor(diff.c): allocate hunks directly in ga_arrayLewis Russell2022-10-24
| | | | |
| | * | | refactor(diff.c): remove char_u declarationsLewis Russell2022-10-24
| | | | |
| | * | | refactor(diff.c): break up ex_diffgetput()Lewis Russell2022-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ex_diffgetput is too big Solution: factor out main loop into function Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * | | | build: preprocess vim patches with uncrustify #20786dundargoc2022-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will enable a larger amount of chunks being automatically included due to fewer formatting differences between the vim and neovim files. The strategy is straightforward, if a bit tedious: - Get a list of all changed files. - Checkout parent commit. Copy all relevant files to a temporary location. - Checkout patch commit. Copy all relevant files to a temporary location. - Format .c and .h files with uncrustify. - Generate a diff from from these files. Closes https://github.com/neovim/neovim/issues/6226
| * | | | fix(lua): pesc, tbl_islist result types #20751NAKAI Tsuyoshi2022-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: - pesc() returns multiple results, it should return a single result. - tbl_islist() returns non-boolean in some branches. - Docstring: @generic must be declared first Solution: Constrain docstring annotations. Fix return types. Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
| * | | | ci(lintcommit): enforce common scope names #20393dundargoc2022-10-24
| | | | | | | | | | | | | | | | | | | | This is useful to ensure related commits aren't spread out when generating the changelog.
| * | | | Merge pull request #20791 from zeertzjq/vim-8.2.0908zeertzjq2022-10-24
| |\ \ \ \ | | | | | | | | | | | | vim-patch:8.2.0908: crash when changing the function table while listing it
| | * | | | test: add a test for a crash fixed by patch 8.2.0908zeertzjq2022-10-24
| | | | | |
| | * | | | vim-patch:8.2.0908: crash when changing the function table while listing itzeertzjq2022-10-24
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when changing the function table while listing it. Solution: Bail out when the function table changes. (closes vim/vim#6209) https://github.com/vim/vim/commit/3fffa97159a427067b60c80ed4645e168cc5c4bd Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | build(deps): bump vimdoc parser and queries to v1.2.4 (#20788)Christian Clason2022-10-24
| | | | |
| * | | | docs: ":che" is ":checkhealth" #20147ii142022-10-23
| | | | |
| * | | | feat(vim-patch): mention original author #20772Maxime Brunet2022-10-23
| | | | |
| * | | | docs(maintain): CI strategy #20778dundargoc2022-10-22
| | | | | | | | | | | | | | | | | | | | It's only focused on GitHub Actions since that is the primary CI provider we use at the moment.
| * | | | docs: fix typos (#20724)dundargoc2022-10-23
| |/ / / | | | | | | | | Co-authored-by: Marco Lehmann <m99@posteo.de>
| * | | refactor(diff.c): reduce scope of variables (#20781)Lewis Russell2022-10-23
| | | | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * | | fix(ui): send grid_resize events before triggering VimResized (#20760)zeertzjq2022-10-22
| | | |
| * | | Merge pull request #20770 from dundargoc/refactor/lintbfredl2022-10-21
| |\ \ \ | | |/ / | |/| | refactor: fix uncrustify lint errors
| | * | refactor: fix uncrustify lint errorsdundargoc2022-10-21
| |/ /
| * | vim-patch:9.0.0814: aws config files are not recognized (#20769)Christian Clason2022-10-21
| | | | | | | | | | | | | | | | | | | | | | | | vim-patch:436e5d395fd6 (since upstream tagged the wrong commit) Problem: Aws config files are not recognized. Solution: Use "confini" for aws config files. (Justin M. Keyes, closes vim/vim#11416) https://github.com/vim/vim/commit/436e5d395fd629c8d33b5cf7b373aad007f16851
| * | Merge pull request #20664 from dundargoc/refactor/uncrustifydundargoc2022-10-21
| |\ \ | | | | | | | | refactor(uncrustify): improved formatting rules
| | * | docs(dev-style): remove rules covered by uncrustifydundargoc2022-10-21
| | | | | | | | | | | | | | | | | | | | There's no reason for contributors to learn rules that can be automated away.
| | * | refactor(uncrustify): improved formatting rulesdundargoc2022-10-21
| | | |
| | * | refactor(uncrustify): move macros definitions to enable formattingdundargoc2022-10-21
| |/ / | | | | | | | | | | | | | | | Uncrustify struggles to format function-like macros which are defined in deeply nested areas of the code. Un-nesting them unblocks useful formatting rules from uncrustify.
| * | refactor: clang-tidy fixes to silence clangd warning (#20683)dundargoc2022-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor: readability-uppercase-literal-suffix * refactor: readability-named-parameter * refactor: bugprone-suspicious-string-compare * refactor: google-readability-casting * refactor: readability-redundant-control-flow * refactor: bugprone-too-small-loop-variable * refactor: readability-non-const-parameter * refactor: readability-avoid-const-params-in-decls * refactor: google-readability-todo * refactor: readability-inconsistent-declaration-parameter-name * refactor: bugprone-suspicious-missing-comma * refactor: remove noisy or slow warnings