aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | vim-patch:8.2.2623: some tests fail when run as rootzeertzjq2022-11-06
| | | | | | | | | | | | | | | | | | Problem: Some tests fail when run as root. Solution: Use CheckNotRoot. https://github.com/vim/vim/commit/17709e280ac5ba234b04641cde88d38e3522cedf Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.2.2570: tests fail when run as rootzeertzjq2022-11-06
| | | | | | | | | | | | | | | | | | Problem: Tests fail when run as root. Solution: Add a comment mentioning the expected failure. (issue vim/vim#7919) https://github.com/vim/vim/commit/f9a65505d1d93f3e67e5b8646bde3bbc44c70f7d Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.2.2592: code coverage could be improved (#20969)zeertzjq2022-11-06
| | | | | | | | | | | | | | | | Problem: Code coverage could be improved. Solution: Add a few more tests. (Dominique Pellé, closes vim/vim#7957) https://github.com/vim/vim/commit/6fd367a97c8653a2d734a38252c7d68d4b2ebaa7 Test case in test_viminfo.vim is applicable.
* | vim-patch:8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD (#20967)zeertzjq2022-11-06
| | | | | | | | | | | | | | Problem: Some tests fail on Cirrus CI and/or with FreeBSD. Solution: Make 'backupskip' empty. Do not run tests as root. Check for directory when using viminfo. (Ozaki Kiichi, closes vim/vim#6596) https://github.com/vim/vim/commit/b86abadf87bd0f85f800077171ec4b98aefff776
* | vim-patch:8.1.1200: old style comments in debugger sourcezeertzjq2022-11-06
| | | | | | | | | | | | Problem: Old style comments in debugger source. Solution: Use new style comments. (Yegappan Lakshmanan, closes vim/vim#4286) https://github.com/vim/vim/commit/31fc39e47b3cc5e9ef4fa05943d42a4fb22de55e
* | test(old): remove stray test42 files (#20966)zeertzjq2022-11-06
| | | | | | Forgot to remove in #17350.
* | feat(ui): add support to display a title in the border of a float (#20184)Raphael2022-11-06
|/ | | add "title" and "title_pos" keys to win config dict.
* vim-patch:9.0.0265: no good reason why the "gf" command isn't in the tiny ↵zeertzjq2022-11-06
| | | | | | | | | | version (#20964) Problem: No good reason why the "gf" command is not in the tiny version. Solution: Graduate the file_in_path feature. https://github.com/vim/vim/commit/f80f40a55ccff0a4331c5fbd1ac446511f622ed0 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.3744: E854 is not tested; some spelling suggestions are not testedzeertzjq2022-11-06
| | | | | | | | | | | Problem: E854 is not tested; some spelling suggestions are not tested. Solution: Add a couple of tests. (Dominique Pellé, closes vim/vim#9279) https://github.com/vim/vim/commit/f645ee47c85940d05f492a1b3932fbcdfd4204b3 Add missing Test_signcolumn() from patch 7.4.2201. Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
* vim-patch:8.2.3719: MS-Windows: test sometimes runs into existing swap filezeertzjq2022-11-06
| | | | | | | | | Problem: MS-Windows: test sometimes runs into existing swap file. Solution: Use a different file name. https://github.com/vim/vim/commit/f8bc0ce2671d7f7f73760f665b52e4f00a1bbcac Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.1736: failure to compile a pattern not tested muchzeertzjq2022-11-06
| | | | | | | | Problem: Failure to compile a pattern not tested much. Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan, closes vim/vim#7004) https://github.com/vim/vim/commit/531be47ac5522807b265c6287021a01c9b895ac9
* vim-patch:9.0.0355: check for uppercase char in autoload name is wrongzeertzjq2022-11-06
| | | | | | | | | | Problem: Check for uppercase char in autoload name is wrong, it checks the name of the script. Solution: Remove the check. (closes vim/vim#11031) https://github.com/vim/vim/commit/6c667bdc9489963102bd6c46b1b73e4d43c034ce Co-authored-by: thinca <thinca@gmail.com>
* vim-patch:8.2.3055: strange error for assigning to "x.key" on non-dictionaryzeertzjq2022-11-06
| | | | | | | | | Problem: Strange error for assigning to "x.key" on non-dictionary. Solution: Add a specific error message. (closes vim/vim#8451) https://github.com/vim/vim/commit/3a3b10e87a10dd0bc355618dbfc4a0a6c828aad7 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* refactor(eval): make get_lval() explicitly check for v:luazeertzjq2022-11-06
| | | | Needed for Vim patch 8.2.3055.
* vim-patch:9.0.0836: wrong error when using extend() with funcrefzeertzjq2022-11-06
| | | | | | | Problem: Wrong error when using extend() with funcref. Solution: Better check the variable type. (closes vim/vim#11468, closes vim/vim#11455) https://github.com/vim/vim/commit/91c75d18d9cdc32df57e648640de7476fbcb4d76
* vim-patch:8.2.2921: E704 for script local variable is not backwards compatiblezeertzjq2022-11-06
| | | | | | | | | | | Problem: E704 for script local variable is not backwards compatible. (Yasuhiro Matsumoto) Solution: Only give the error in Vim9 script. Also check for function-local variable. https://github.com/vim/vim/commit/b54abeeafb074248597878a874fed9a66b114c06 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2920: still a way to shadow a builtin functionzeertzjq2022-11-06
| | | | | | | | | Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto) Solution: Check the key when using extend(). (issue vim/vim#8302) https://github.com/vim/vim/commit/6f1d2aa437744a7cb0206fdaa543a788c5a56c79 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2918: builtin function can be shadowed by global variablezeertzjq2022-11-06
| | | | | | | | | | Problem: Builtin function can be shadowed by global variable. Solution: Check for builtin function before variable. (Yasuhiro Matsumoto, closes vim/vim#8302) https://github.com/vim/vim/commit/3d9c4eefe656ee8bf58c0496a48bd56bac180056 Cherry-pick Test_gettext() from patch 8.2.2886.
* fix(eval): change some tv_dict_add() usages back to hash_add()zeertzjq2022-11-06
| | | | Needed for Vim patch 8.2.2920.
* vim-patch:8.2.3016: confusing error when expression is followed by commazeertzjq2022-11-06
| | | | | | | | | | | Problem: Confusing error when expression is followed by comma. Solution: Give a different error for trailing text. (closes vim/vim#8395) https://github.com/vim/vim/commit/fae55a9cb0838e4c2e634e55a3468af4a75fbdf2 Omit test_eval_stuff.vim and test_viminfo.vim: changes tests are N/A. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2723: assignment test failszeertzjq2022-11-06
| | | | | | | | | Problem: Assignment test fails. Solution: Adjust error number. https://github.com/vim/vim/commit/58fb7c39a04aabfa399ae4f2142ee0728bc22483 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2722: Vim9: crash when using LHS with double indexzeertzjq2022-11-06
| | | | | | | | | | Problem: Vim9: crash when using LHS with double index. Solution: Handle lhs_dest which is "dest_expr". (closes vim/vim#8068) Fix confusing error message for missing dict item. https://github.com/vim/vim/commit/b9c0cd897ab4ad54f514187e89719c0241393f8b Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.1306: checking for first character of dict key is inconsistentzeertzjq2022-11-06
| | | | | | | | | | | Problem: Checking for first character of dict key is inconsistent. Solution: Add eval_isdictc(). (closes vim/vim#6546) https://github.com/vim/vim/commit/b13ab99908097d54e21ab5adad22f4ad2a8ec688 Omit handle_subscript() change: only affects Vim9 script. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.1274: Vim9: no error for missing white space at script levelzeertzjq2022-11-06
| | | | | | | | | | | | Problem: Vim9: no error for missing white space in assignment at script level. Solution: Check for white space. (closes vim/vim#6495) https://github.com/vim/vim/commit/63be3d4ba01d565e645d8bf7f4dc900fc9011534 Cherry-pick Test_let_errors() change from patch 8.2.0633. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.0835: the window title is not redrawn when 'endoffile' changes ↵zeertzjq2022-11-06
| | | | | | | | | | | (#20951) Problem: The window title is not redrawn when 'endoffile' changes. Solution: redraw the window title when 'endoffile' is changed. (Ken Takata, closes vim/vim#11488) https://github.com/vim/vim/commit/845bbb72ed2da4b5fb2a503d91cfd6435df2f584 Co-authored-by: K.Takata <kentkt@csc.jp>
* Merge pull request #20858 from dundargoc/build/lintshdundargoc2022-11-05
|\ | | | | build: add more shell scripts to the `lintsh` target
| * build: add EXCLUDE option to add_glob_targetdundargoc2022-11-01
| | | | | | | | | | | | | | | | EXCLUDE filters out all elements containing regex, meaning it works on both files and directories. Also rename add_glob_targets to add_glob_target since only one target is being created.
* | vim-patch:8.2.3713: MS-Windows: no error if vimgrep pattern is not matching ↵zeertzjq2022-11-06
| | | | | | | | | | | | | | | | | | | | | | (#20947) Problem: MS-Windows: No error message if vimgrep pattern is not matching. Solution: Give an error message. (Christian Brabandt, closes vim/vim#9245, closes vim/vim#8762) https://github.com/vim/vim/commit/0b226f60be5c30c32fb01fc0b6dc11286e7e2313 Co-authored-by: Christian Brabandt <cb@256bit.org>
* | vim-patch:8.2.1417: test 49 is old stylezeertzjq2022-11-05
| | | | | | | | | | | | | | | | Problem: Test 49 is old style. Solution: Convert more parts to new style test. (Yegappan Lakshmanan, closes vim/vim#6682) https://github.com/vim/vim/commit/efb6482949580ab89e6d7c5e1cb8d744ddd6ef80
* | vim-patch:8.2.1383: test 49 is old stylezeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | | | Problem: Test 49 is old style. Solution: Convert test cases to new style. (Yegappan Lakshmanan, closes vim/vim#6638) https://github.com/vim/vim/commit/9470a4d88acf948af1596101527b3a505f8c14e9 Cherry-pick AssertException() from patch 8.2.1146.
* | vim-patch:8.2.1366: test 49 is old stylezeertzjq2022-11-05
| | | | | | | | | | | | | | | | Problem: Test 49 is old style. Solution: Convert several tests to new style. (Yegappan Lakshmanan, closes vim/vim#6629) https://github.com/vim/vim/commit/a6296200bd5191bab7efcdcc16c9e79eb498e8e0
* | vim-patch:8.2.1106: crash when trying to use s: variable in typed commandzeertzjq2022-11-05
| | | | | | | | | | | | | | | | Problem: Crash when trying to use s: variable in typed command. Solution: Don't use the script index when not set. (Ken Takata, closes vim/vim#6366) https://github.com/vim/vim/commit/8e6cbb72324b6fb25d1a9abd6cc4d102d0e5f14e
* | vim-patch:8.2.0883: memory leak in test 49zeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: Memory leak in test 49. Solution: Free "sfile" from the exception. https://github.com/vim/vim/commit/5fbf3bc3f9d007ab91eb005f9e3da6570992cb43 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.2.4882: cannot make 'breakindent' use a specific columnzeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | | | Problem: Cannot make 'breakindent' use a specific column. Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt, closes vim/vim#10362, closes vim/vim#10325) https://github.com/vim/vim/commit/e7d6dbc5721342e3d6b04cf285e4510b5569e707 Co-authored-by: Christian Brabandt <cb@256bit.org>
* | vim-patch:8.2.4501: with 'showbreak' set cursor displayed in wrong positionzeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | | | Problem: With 'showbreak' set and after the end of the line the cursor may be displayed in the wrong position. Solution: Do not apply 'showbreak' after the end of the line. (closes vim/vim#9884) https://github.com/vim/vim/commit/21efafe4c25373929979c72dc8aafa119f12dd8b Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.2.4100: early return when getting the 'formatlistpat' valuezeertzjq2022-11-05
| | | | | | | | | | | | Problem: Early return when getting the 'formatlistpat' value. Solution: Remove the first line. (Christian Brabandt) https://github.com/vim/vim/commit/04b871da800768287a8a432de568b11297db8686
* | vim-patch:8.2.4093: cached breakindent values not initialized properlyzeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: Cached breakindent values not initialized properly. Solution: Initialize and cache formatlistpat. (Christian Brabandt, closes vim/vim#9526, closes vim/vim#9512) https://github.com/vim/vim/commit/c53b467473160b5cfce77277fbae414bf43e66ce Co-authored-by: Christian Brabandt <cb@256bit.org>
* | vim-patch:8.2.4029: debugging NFA regexp my crash, cached indent may be wrongzeertzjq2022-11-05
| | | | | | | | | | | | | | | | Problem: Debugging NFA regexp my crash, cached indent may be wrong. Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd is set when used. Fix breakindent and indent caching. (Christian Brabandt, closes vim/vim#9482) https://github.com/vim/vim/commit/b2d85e3784ac89f5209489844c1ee0f54d117abb
* | fix(eval): make error number of charidx() same as Vimzeertzjq2022-11-05
| |
* | vim-patch:8.2.4679: cannot have expandcmd() give an error message for mistakeszeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: Cannot have expandcmd() give an error message for mistakes. Solution: Add an optional argument to give errors. Fix memory leak when expanding files fails. (Yegappan Lakshmanan, closes vim/vim#10071) https://github.com/vim/vim/commit/2b74b6805b5c8c4836b66df5d949f5ff6a77f8c7 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* | vim-patch:8.2.2606: strchars() defaults to counting composing characterszeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | | | | | Problem: strchars() defaults to counting composing characters. Solution: Add strcharlen() which ignores composing characters. https://github.com/vim/vim/commit/70ce8a1561c5396e4c4381f76a005cbb97646f80 Use docs from latest Vim instead. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.2.1626: test for strchars() fails with different error numberzeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: Test for strchars() fails with different error number. Solution: Adjust the error number. https://github.com/vim/vim/commit/707be5f3524accb8b36e80bd2532e00b8246df55 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.2.1624: Vim9: cannot pass "true" to split(), str2nr() and strchars()zeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars(). Solution: Use tv_get_bool_chk(). (closes vim/vim#6884, closes vim/vim#6885, closes vim/vim#6886) https://github.com/vim/vim/commit/3986b94b090ea258109630008611230a599999ab Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.2.1600: Vim9: cannot use "true" with deepcopy()zeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: Vim9: cannot use "true" with deepcopy(). Solution: Use tv_get_bool_chk(). (closes vim/vim#6867) https://github.com/vim/vim/commit/44b4a246b62e0622550b963bcf3034dce3bcfc0c Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.2.1751: using 2 where bool is expected may throw an errorzeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using 2 where bool is expected may throw an error. Solution: Make this backwards compatible. https://github.com/vim/vim/commit/bade44e5cad1b08c85d4a8ba08d94a30458dddfb In legacy Vim script get_bool functions do the same thing as get_number functions, so just add aliases using #define. N/A patches for version.c: vim-patch:8.2.1506: Vim9: no error when using a number other than 0 or 1 as bool Problem: Vim9: no error when using a number other than 0 or 1 as bool. Solution: Check the number is 0 or 1. https://github.com/vim/vim/commit/d70840ed68296c1144d743e6335003c81c558c24 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.1.1949: cannot scroll a popup window to the very bottomzeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: Cannot scroll a popup window to the very bottom. Solution: Scroll to the bottom when the "firstline" property was set to -1. (closes vim/vim#4577) Allow resetting min/max width/height. https://github.com/vim/vim/commit/8c6173c7d3431dd8bc2b6ffc076ef49512a7e175 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:9.0.0053: E1281 not tested with the old regexp enginezeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: E1281 not tested with the old regexp engine. Solution: Loop over the values of 'regexp'. (Dominique Pellé, closes vim/vim#10695) https://github.com/vim/vim/commit/3a393790a4fd7a5edcafbb55cd79438b6e641714 Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
* | vim-patch:8.2.4978: no error if engine selection atom is not at the startzeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: No error if engine selection atom is not at the start. Solution: Give an error. (Christian Brabandt, closes vim/vim#10439) https://github.com/vim/vim/commit/360da40b47a84ee8586c3b5d062f8c64a2ac9cc6 Co-authored-by: Christian Brabandt <cb@256bit.org>
* | vim-patch:8.2.4693: new regexp does not accept pattern "\%>0v"zeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: new regexp does not accept pattern "\%>0v". Solution: Do accept digit zero. https://github.com/vim/vim/commit/72bb10df1fb3eb69bc91f5babfb8881ce098cba1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:8.2.4688: new regexp engine does not give an error for "\%v"zeertzjq2022-11-05
| | | | | | | | | | | | | | | | | | Problem: New regexp engine does not give an error for "\%v". Solution: Check for a value argument. (issue vim/vim#10079) https://github.com/vim/vim/commit/91ff3d4f52a55a7c37a52aaad524cd9dd12efae4 Co-authored-by: Bram Moolenaar <Bram@vim.org>