aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
| * | vim-patch:8.2.0687: some tests do not work on FreeBSDzeertzjq2022-02-04
| | | | | | | | | | | | | | | | | | | | | Problem: Some tests do not work on FreeBSD. Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi, closes vim/vim#6036) https://github.com/vim/vim/commit/41d4299f26cc98e253f9c63f8adc9dbb9d49ed5c
| * | vim-patch:8.2.0352: FreeBSD: test for sourcing utf-8 is skippedzeertzjq2022-02-04
| | | | | | | | | | | | | | | | | | | | | | | | Problem: FreeBSD: test for sourcing utf-8 is skipped. Solution: Run the matchadd_conceal test separately to avoid that setting 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi, closes vim/vim#5721) https://github.com/vim/vim/commit/36ddf9383181f93b080eb26121bdff37e394d2db
| * | vim-patch:8.2.0305: relativenumber test fails on some systemszeertzjq2022-02-04
| | | | | | | | | | | | | | | | | | Problem: Relativenumber test fails on some systems. (James McCoy) Solution: Clear the command line. https://github.com/vim/vim/commit/8040a7147f5b896a702d1684e7831df107490f45
| * | vim-patch:8.1.2358: tests fail on Cirrus CI for FreeBSDzeertzjq2022-02-04
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests fail on Cirrus CI for FreeBSD. Solution: Fix a test and skip some. (Christian Brabandt, closes vim/vim#5281) https://github.com/vim/vim/commit/9134f1ecd41207045db3cb47f0269497980395ad Skip test_normal.vim: already applied in #11483.
| * | vim-patch:8.1.0884: double check for bsd systemszeertzjq2022-02-04
| | | | | | | | | | | | | | | | | | Problem: Double check for bsd systems. Solution: Delete the old line. https://github.com/vim/vim/commit/af630d4f7f8daa7edbda0b607d32d39a5feae9d9
| * | vim-patch:8.1.0878: test for has('bsd') fails on some BSD systemszeertzjq2022-02-04
| | | | | | | | | | | | | | | | | | Problem: Test for has('bsd') fails on some BSD systems. Solution: Adjust the uname match. (James McCoy, closes vim/vim#3909) https://github.com/vim/vim/commit/a02e3f65c52a2c8c987e7dcac5df1f8db9a7b0de
| * | vim-patch:8.1.0846: not easy to recognize the system Vim runs onzeertzjq2022-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not easy to recognize the system Vim runs on. Solution: Add more items to the features list. (Ozaki Kiichi, closes vim/vim#3855) https://github.com/vim/vim/commit/39536dd557e847e80572044c2be319db5886abe3 Some doc changes have already been applied. Some others are N/A. "moon" was removed in patch 8.2.0427 so I did not add it.
* | | vim-patch:8.2.4028: ml_get error with :doautoall and Visual areaSean Dewar2022-02-03
| | | | | | | | | | | | | | | | | | | | | | | | Problem: ml_get error with :doautoall and Visual area. (Sean Dewar) Solution: Disable Visual mode while executing autocommands. https://github.com/vim/vim/commit/cb1956d6f2aece8ad93e19e5d4c7e0b5e405f056 This should also fix #16937 for nvim_buf_call, so test for it.
* | | vim-patch:8.2.4026: ml_get error with specific win_execute() commandSean Dewar2022-02-03
| | | | | | | | | | | | | | | | | | Problem: ml_get error with specific win_execute() command. (Sean Dewar) Solution: Check cursor and Visual area are OK. https://github.com/vim/vim/commit/e664a327014f4aa8baf8549a34a4caab2f3116a3
* | | vim-patch:8.2.4018: ml_get error when win_execute redraws with Visual selectionSean Dewar2022-02-03
|/ / | | | | | | | | | | | | | | | | | | | | Problem: ml_get error when win_execute redraws with Visual selection. Solution: Disable Visual area temporarily. (closes vim/vim#9479) https://github.com/vim/vim/commit/18f4740f043b353abe47b7a00131317052457686 {switch_to/restore}_win_for_buf is N/A (marked as such in v8.0.0860; currently only used in Vim's if_py). Add a modeline to test_execute_func.vim.
* | Merge pull request #16818 from zeertzjq/vim-8.2.3454zeertzjq2022-02-03
|\ \ | | | | | | vim-patch:8.2.{3454,3455,3497,3540,3581,3678}: some "p" and "gp" patches
| * | vim-patch:8.2.3581: reading character past end of linezeertzjq2022-01-29
| | | | | | | | | | | | | | | | | | Problem: Reading character past end of line. Solution: Correct the cursor column. https://github.com/vim/vim/commit/0b5b06cb4777d1401fdf83e7d48d287662236e7e
| * | vim-patch:8.2.3540: the mark '] is wrong after put with a countzeertzjq2022-01-29
| | | | | | | | | | | | | | | | | | Problem: The mark '] is wrong after put with a count. (Naohiro Ono) Solution: Use the right line number. (closes vim/vim#8956) https://github.com/vim/vim/commit/f47ebf1e1a0a6473b10fb4c92c9c6427aab4dc91
| * | vim-patch:8.2.3497: put test fails when run by itselfzeertzjq2022-01-29
| | | | | | | | | | | | | | | | | | Problem: Put test fails when run by itself. Solution: Source check.vim. (Dominique Pellé, closes vim/vim#8990) https://github.com/vim/vim/commit/a9173d06f7ca320fc84f4ffa993861d21710bc41
| * | vim-patch:8.2.3455: using a count with "gp" leaves '] in wrong positionzeertzjq2022-01-29
| | | | | | | | | | | | | | | | | | Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono) Solution: Correct the mark position. (closes vim/vim#8899) https://github.com/vim/vim/commit/56858e4ed4e338e15821767b8303b06099e40384
| * | vim-patch:8.2.3454: using a count with "gp" leave cursor in wrong positionzeertzjq2022-01-29
| | | | | | | | | | | | | | | | | | | | | Problem: Using a count with "gp" leave cursor in wrong position. (Naohiro Ono) Solution: Count the inserted lines. (closes vim/vim#8899) https://github.com/vim/vim/commit/23003e51e18371afda4420d9e171a3dcba5a31cc
* | | Merge pull request #17245 from zeertzjq/vim-8.2.3219zeertzjq2022-02-02
|\ \ \ | | | | | | | | vim-patch:8.2.3219: :find searches non-existing directories
| * | | vim-patch:8.2.3219: :find searches non-existing directorieszeertzjq2022-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :find searches non-existing directories. Solution: Check the path is not "..". Update help. (Christian Brabandt, closes vim/vim#8612, closes vim/vim#8533) https://github.com/vim/vim/commit/7a4ca32175bef0f9a177052796bd9addd10dc218 Change STRNCAT to STRLCAT as clint doesn't like the former. Include a typo fix from https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b#diff-7e9292cae1f2ba70dd5b17d2d162693a91044ada6ac99e9c3e8917f32878c097
* | | | vim-patch:8.2.3966: when using feedkeys() abbreviations may be blockedzeertzjq2022-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using feedkeys() abbreviations may be blocked. Solution: Reset tb_no_abbr_cnt when running out of characters. (closes vim/vim#9448) https://github.com/vim/vim/commit/b37a65e4bf08c4eec4fa5b81a5efc3945fca44de
* | | | Merge pull request #17113 from zeertzjq/vim-8.2.2569zeertzjq2022-02-01
|\ \ \ \ | |/ / / |/| | | feat(statusline): support multibyte fillchar
| * | | feat(statusline): support multibyte fillcharzeertzjq2022-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes a partial port of Vim patch 8.2.2569 and some changes to nvim_eval_statusline() to allow a multibyte fillchar. Literally every line of C code touched by that patch has been refactored in Nvim, and that patch contains some irrelevant foldcolumn tests I'm not sure how to port (as Nvim's foldcolumn behavior has diverged from Vim's).
* | | | vim-patch:8.2.4274: Basic and form filetype detection is incomplete (#17259)Christian Clason2022-02-01
| | | | | | | | | | | | | | | | | | | | Problem: Basic and form filetype detection is incomplete. Solution: Add a separate function for .frm files. (Doug Kearns, closes vim/vim#9675) https://github.com/vim/vim/commit/c570e9cf68c0fe30366e82c96be460047dd659b9
* | | | vim-patch:8.2.4273: the EBCDIC support is outdatedzeertzjq2022-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support. https://github.com/vim/vim/commit/424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7 Also remove a comment in buf_init_chartab() as it is for enc_dbcs only. Skip test_expr.vim: the check was already removed when patch 7.4.2265 was first ported.
* | | | Merge pull request #17254 from zeertzjq/vim-8.2.3787zeertzjq2022-02-01
|\ \ \ \ | | | | | | | | | | vim-patch:8.2.{3787,3932,3934,3935,3938}: text formatting patches
| * | | | vim-patch:8.2.3938: line comment start is also found in a stringzeertzjq2022-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Line comment start is also found in a string. Solution: Skip line comments in a string. https://github.com/vim/vim/commit/ba26367fea3b63df49d274f3d5cca0af38402add
| * | | | vim-patch:8.2.3935: CTRL-U in Insert mode does not fix the indentzeertzjq2022-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: CTRL-U in Insert mode does not fix the indent. Solution: Fix the indent when 'cindent' is set. https://github.com/vim/vim/commit/5d20fbf2e79b96a39abbdadc486b656cdcc67ed6
| * | | | vim-patch:8.2.3934: repeating line comment is undesired for "O" commandzeertzjq2022-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Repeating line comment is undesired for "O" command. Solution: Do not copy line comment leader for "O". (closes vim/vim#9426) https://github.com/vim/vim/commit/5ea5f373729589acb38ce3f3ca338e8a6d398bdc
| * | | | vim-patch:8.2.3932: C line comment not formatted properlyzeertzjq2022-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: C line comment not formatted properly. Solution: If a line comment follows after "#if" the next line is not the end of a paragraph. https://github.com/vim/vim/commit/264d3ddac0f9474816c20a0e92014d6f7f4b08ac
| * | | | vim-patch:8.2.3787: no proper formatting of a C line comment after a statementzeertzjq2022-01-31
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Problem: No proper formatting of a C line comment after a statement. Solution: Find the start of the line comment, insert the comment leader and indent the comment properly. https://github.com/vim/vim/commit/6e371ecb27227ff8fedd8561d0f3880a17576848
* | | | Merge pull request #17231 from seandewar/vim-8.2.4245Sean Dewar2022-01-31
|\ \ \ \ | |/ / / |/| | | vim-patch:8.2.4245: ":retab 0" may cause illegal memory access
| * | | vim-patch:8.2.4245: ":retab 0" may cause illegal memory accessSean Dewar2022-01-29
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ":retab 0" may cause illegal memory access. Solution: Limit the value of 'tabstop' to 10000. https://github.com/vim/vim/commit/652dee448618589de5528a9e9a36995803f5557a ex_retab change is N/A (+vartabs always available). Nvim's set_num_option validation logic was refactored, hence why it looks different from Vim's. Also use XFREE_CLEAR in other places.
* | | Merge pull request #17239 from seandewar/vim-8.2.3629Sean Dewar2022-01-31
|\ \ \ | | | | | | | | vim-patch:8.2.{3433,3629}
| * | | test(oldtest): unskip Test_addr_allSean Dewar2022-01-30
| | | | | | | | | | | | | | | | v8.1.0341 has since been ported
| * | | vim-patch:8.2.3629: command completion in cmdline window uses global commandsSean Dewar2022-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Command completion in cmdline window uses global user commands, not local commands for the window where it was opened from. Solution: Use local commands. (closes vim/vim#9168) https://github.com/vim/vim/commit/a1198124370a366ff02811a43845a631b5c6e7f0
| * | | vim-patch:8.2.3433: :delcommand does not take a -buffer optionSean Dewar2022-01-30
| | | | | | | | | | | | | | | | | | | | | | | | Problem: :delcommand does not take a -buffer option. Solution: Add the -buffer option. https://github.com/vim/vim/commit/bdcba24d8597abd5af509c2fb9206e64e713c711
* | | | Merge pull request #17068 from VVKot/vim-8.2.3933Sean Dewar2022-01-31
|\ \ \ \ | | | | | | | | | | vim-patch:8.2.{3933,3973,3978,4013,4032,4048}
| * | | | vim-patch:8.2.3933: after ":cd" fails ":cd -" is incorrectVVKot2022-01-31
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: After ":cd" fails ":cd -" is incorrect. Solution: Set the previous directory only after successfully changing directory. (Richard Doty, closes vim/vim#9419, closes vim/vim#8983) https://github.com/vim/vim/commit/3d0abad5bf4fe125e219f1b56c4e8200cb900e2a Adjust the test's error message check due to missing patch vim-patch:8.2.3973: tiny build fails Problem: Tiny build fails. Solution: Adjust #ifdefs https://github.com/vim/vim/commit/0f7a5e758c5d8be2d8f1ab4a145d1636a36d18b2 vim-patch:8.2.3978: build error when using dynamycally loaded Python 3 Problem: Build error when using dynamycally loaded Python 3. Solution: Adjust #ifdef. https://github.com/vim/vim/commit/6b1a99dfe33cf5a1d7f82febd81face85ac1b8a6 vim-patch:8.2.4013: build failure without the spell feature Problem: Build failure without the spell feature. Solution: Adjust #ifdefs. https://github.com/vim/vim/commit/e60b3c47d701e73ecbadb1b9a12bf82010cadae8 vim-patch:8.2.4032: ATTRIBUTE_NORETURN is not needed Problem: ATTRIBUTE_NORETURN is not needed. Solution: Use NORETURN(). (Ozaki Kiichi, closes vim/vim#9487) https://github.com/vim/vim/commit/e12406526a24768e6121450112eb2f9f92445ac5 vim-patch:8.2.4048: gcc complains about use of "%p" in printf Problem: gcc complains about use of "%p" in printf. Solution: Add (void *) typecast. (Dominique Pellé, closes vim/vim#9494) https://github.com/vim/vim/commit/c14f667626ba677a767d474324306e39096dc43e
* | | | vim-patch:8.1.2412: crash when evaluating expression with error (#17109)zeertzjq2022-01-31
| | | |
* | | | vim-patch:8.2.3532: the previous '' mark is restored after moving the cursor ↵zeertzjq2022-01-31
| | | | | | | | | | | | | | | | (#17246)
* | | | vim-patch:8.2.3475: expression register set by not executed put command (#17211)zeertzjq2022-01-31
|/ / /
* | | Merge pull request #16748 from zeertzjq/vim-8.1.1434zeertzjq2022-01-31
|\ \ \ | | | | | | | | vim-patch:8.1.{1434,1585},8.2.{3482,3625,3876}: some cindent patches
| * | | vim-patch:8.2.3876: 'cindent' does not recognize inline namespacezeertzjq2021-12-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'cindent' does not recognize inline namespace. Solution: Skip over "inline" to find "namespace". (closes vim/vim#9383) https://github.com/vim/vim/commit/f2f0bddf303e37d4d532ca22e2d53179c20b1d19
| * | | vim-patch:8.2.3625: illegal memory access when C-indentingzeertzjq2021-12-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access when C-indenting. Solution: Also set the cursor column. https://github.com/vim/vim/commit/2de9b7c7c8791da8853a9a7ca9c467867465b655
| * | | vim-patch:8.2.3482: reading beyond end of line ending in quote and backslashzeertzjq2021-12-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Reading beyond end of line ending in quote and backslash. Solution: Check for non-NUL after backslash. (closes vim/vim#8964) https://github.com/vim/vim/commit/78e0fa4cf4fcd563c0bc8c87afa54d4f5dc22020
| * | | vim-patch:8.1.1585: :let-heredoc does not trim enoughzeertzjq2021-12-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :let-heredoc does not trim enough. Solution: Trim indent from the contents based on the indent of the first line. Use let-heredoc in more tests. https://github.com/vim/vim/commit/e7eb92708ec2092a2fc11e78703b5dcf83844412 This is a missing part of Vim patch 8.1.1585 from #11211.
| * | | vim-patch:8.1.1434: test 3 is old stylezeertzjq2021-12-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test 3 is old style. Solution: Turn into a new style test. (Yegappan Lakshmanan, closes vim/vim#4460) https://github.com/vim/vim/commit/1ab74a5af36933f1c3023a910af20280bb79bd6c
* | | | vim-patch:8.2.0950: tagjump test failszeertzjq2022-01-30
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Tagjump test fails. Solution: Adjust expected text of the prompt. https://github.com/vim/vim/commit/13b8205b442f52f34deac98e3312a27dec14d8e2
* | | | vim-patch:8.2.0092: tags functionality insufficiently testedzeertzjq2022-01-30
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Tags functionality insufficiently tested. Solution: Add more tags tests. (Yegappan Lakshmanan, closes vim/vim#5446) https://github.com/vim/vim/commit/a1353b5352f0797fc651a0dd363876f1c2fa60c5
* | | | chore: typo fixes (#16921)dundargoc2022-01-29
| | | | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | | | feat(provider)!: remove support for python2 and python3.[3-5]Björn Linse2022-01-29
| | | | | | | | | | | | | | | | | | | | | | | | These versions of python has reached End-of-life. getting rid of python2 support removes a lot of logic to support two incompatible python versions in the same version.