summaryrefslogtreecommitdiff
path: root/src/testdir
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1779: some debian changelog files are not recognizedv8.2.1779Bram Moolenaar2020-10-011-0/+1
| | | | | Problem: Some debian changelog files are not recognized. Solution: Add */debian/changelog. (Jason Franklin)
* patch 8.2.1778: Vim9: returning from a partial call clears outer contextv8.2.1778Bram Moolenaar2020-10-011-0/+15
| | | | | | Problem: Vim9: returning from a partial call clears outer context, causing a crash. Solution: Put the outer context in the stack frame. (closes #7044)
* patch 8.2.1777: Vim9: some assignment tests in the wrong filev8.2.1777Bram Moolenaar2020-09-302-194/+195
| | | | | Problem: Vim9: some assignment tests in the wrong file. Solution: Move assignment tests to test_vim9_assign.
* patch 8.2.1775: MS-Windows: adding a long quickfix list is slowv8.2.1775Bram Moolenaar2020-09-291-0/+12
| | | | | | Problem: MS-Windows: adding a long quickfix list is slow. Solution: Shorten the buffer name only for the first entry. (Yegappan Lakshmanan, closes #7039, closes #7033)
* patch 8.2.1773: crash when calling mapset() with a list as first argumentv8.2.1773Bram Moolenaar2020-09-291-0/+2
| | | | | Problem: Crash when calling mapset() with a list as first argument. Solution: Check for NULL. (closes #7040)
* patch 8.2.1772: cannot use CTRL-W <Down> to move out of a terminal windowv8.2.1772Bram Moolenaar2020-09-291-0/+17
| | | | | Problem: Cannot use CTRL-W <Down> to move out of a terminal window. Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
* patch 8.2.1771: synIDattr() cannot get the value of ctermulv8.2.1771Bram Moolenaar2020-09-291-0/+1
| | | | | Problem: synIDattr() cannot get the value of ctermul. Solution: Add the "ul" value for "what". (closes #7037)
* patch 8.2.1770: invalid memory use when using SpellFileMissing autocmdv8.2.1770Bram Moolenaar2020-09-281-0/+23
| | | | | | Problem: Invalid memory use when using SpellFileMissing autocmd. Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window that was closed.
* patch 8.2.1769: popup filter interferes with using :normal to move the cursorv8.2.1769Bram Moolenaar2020-09-282-8/+9
| | | | | | Problem: A popup filter interferes with using :normal to move the cursor in a popup. Solution: Do not invoke the filter when ex_normal_busy is set.
* patch 8.2.1768: cannot use the help menu from a terminal windowv8.2.1768Bram Moolenaar2020-09-281-0/+3
| | | | | Problem: Cannot use the help menu from a terminal window. Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
* patch 8.2.1767: Vim9: test fails with python supportv8.2.1767Bram Moolenaar2020-09-271-1/+1
| | | | | Problem: Vim9: test fails with python support. Solution: Use "let" in legacy function.
* patch 8.2.1766: Vim9: Some tests are still using :letv8.2.1766Bram Moolenaar2020-09-2710-187/+175
| | | | | Problem: Vim9: Some tests are still using :let. Solution: Change the last few declarations to use :var.
* patch 8.2.1765: Vim9: some tests use "var var"v8.2.1765Bram Moolenaar2020-09-272-74/+74
| | | | | Problem: Vim9: some tests use "var var". Solution: Use "var name". (closes #7032)
* patch 8.2.1764: Vim9: no error when assigning to script var with wrong typev8.2.1764Bram Moolenaar2020-09-271-0/+10
| | | | | Problem: Vim9: no error when assigning to script var with wrong type. Solution: Fix off-by-one error. (closes #7028)
* patch 8.2.1763: Vim9: cannot use "true" for popup window scrollbar optionv8.2.1763Bram Moolenaar2020-09-271-12/+16
| | | | | Problem: Vim9: cannot use "true" for popup window scrollbar option. Solution: use dict_get_bool(). (closes #7029)
* patch 8.2.1762: when a timer uses :stopinsert completion isn't stoppedv8.2.1762Bram Moolenaar2020-09-272-0/+34
| | | | | | Problem: When a timer uses :stopinsert Insert mode completion isn't stopped. (Stanley Chan) Solution: Call ins_compl_prep(ESC).
* patch 8.2.1761: Vim9: Some tests are still using :letv8.2.1761Bram Moolenaar2020-09-273-198/+207
| | | | | Problem: Vim9: Some tests are still using :let. Solution: Change more declarations to use :var.
* patch 8.2.1760: Vim9: crash when end marker is missingv8.2.1760Bram Moolenaar2020-09-271-0/+16
| | | | | Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra) Solution: Check for end of function lines. (closes #7031)
* patch 8.2.1759: Vim9: Some tests are still using :letv8.2.1759Bram Moolenaar2020-09-271-371/+373
| | | | | Problem: Vim9: Some tests are still using :let. Solution: Change more declarations to use :var.
* patch 8.2.1758: Vim9: type of unmaterialized list is wrongv8.2.1758Bram Moolenaar2020-09-271-0/+4
| | | | | Problem: Vim9: type of unmaterialized list is wrong. Solution: Use list<number>.
* patch 8.2.1757: Mac: default locale is lacking the encodingv8.2.1757Bram Moolenaar2020-09-271-0/+21
| | | | | Problem: Mac: default locale is lacking the encoding. Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
* patch 8.2.1756: Vim9: :let will soon be disallowedv8.2.1756Bram Moolenaar2020-09-271-205/+213
| | | | | Problem: Vim9: :let will soon be disallowed. Solution: Add v:disallow_let temporarily. Fix tests.
* patch 8.2.1755: Vim9: crash when using invalid heredoc markerv8.2.1755Bram Moolenaar2020-09-271-0/+10
| | | | | Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra) Solution: Check for NULL list. (closes #7027) Fix comment character.
* patch 8.2.1754: completion with spell checking not testedv8.2.1754Bram Moolenaar2020-09-271-0/+37
| | | | | Problem: Completion with spell checking not tested. Solution: Add a test case. (Dominique Pellé, closes #7024)
* patch 8.2.1752: GTK GUI: cannot map alt-? with <A-?>v8.2.1752Bram Moolenaar2020-09-271-0/+14
| | | | | | Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat) Solution: Adjust the characters for which the shift modifier is removed. (closes #7016) Make Motif and Win32 use the same function as GTK.
* patch 8.2.1751: using 2 where bool is expected may throw an errorv8.2.1751Bram Moolenaar2020-09-262-2/+5
| | | | | Problem: Using 2 where bool is expected may throw an error. Solution: Make this backwards compatible.
* patch 8.2.1750: popup_setoptions() setting firstline fails if cursorline setv8.2.1750Bram Moolenaar2020-09-264-3/+63
| | | | | | | Problem: Setting firstline with popup_setoptions() fails if cursorline is set. Solution: Use apply_options(). Update the popup before applying "zz". (closes #7010)
* patch 8.2.1749: Vim9: crash when closure fails in nested functionv8.2.1749Bram Moolenaar2020-09-261-0/+14
| | | | | | Problem: Vim9: crash when closure fails in nested function. Solution: Handle function returns before dereferencing remaining closures. (closes #7008)
* patch 8.2.1748: closing split window in other tab may cause a crashv8.2.1748Bram Moolenaar2020-09-261-1/+17
| | | | | Problem: Closing split window in other tab may cause a crash. Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
* patch 8.2.1747: result of expand() unexpectedly depends on 'completeslash'v8.2.1747Bram Moolenaar2020-09-261-2/+15
| | | | | | Problem: Result of expand() unexpectedly depends on 'completeslash'. Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto, closes #7021)
* patch 8.2.1746: Vim9: cannot use "fina" for "finally"v8.2.1746Bram Moolenaar2020-09-262-5/+6
| | | | | Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino) Solution: Specifically check for "fina". (closes #7020)
* patch 8.2.1744: Vim9: using ":const!" is weirdv8.2.1744Bram Moolenaar2020-09-262-184/+191
| | | | | | Problem: Vim9: using ":const!" is weird. Solution: Use "var" - "final" - "const" like Dart. "let" still works for now.
* patch 8.2.1742: test still fails without the terminal featurev8.2.1742Bram Moolenaar2020-09-251-1/+6
| | | | | Problem: Test still fails without the terminal feature. Solution: Put check for terminal feature in separate function.
* patch 8.2.1741: pathshorten() only supports using one characterv8.2.1741Bram Moolenaar2020-09-251-0/+18
| | | | | Problem: pathshorten() only supports using one character. Solution: Add an argument to control the length. (closes #7006)
* patch 8.2.1740: test fails without the terminal featurev8.2.1740Bram Moolenaar2020-09-251-0/+2
| | | | | Problem: Test fails without the terminal feature. Solution: Skip test if the terminal feature is not available.
* patch 8.2.1739: Vim9: crash when compiling a manually defined functionv8.2.1739Bram Moolenaar2020-09-251-2/+23
| | | | | | Problem: Vim9: crash when compiling a manually defined function. (Antony Scriven) Solution: Check that the script ID is positive. (closes #7012)
* patch 8.2.1737: cursor line highlight in popup window is not always updatedv8.2.1737Bram Moolenaar2020-09-242-4/+43
| | | | | Problem: Cursor line highlight in popup window is not always updated. Solution: Check if the cursor has moved. (closes #7010)
* patch 8.2.1736: failure to compile a pattern not tested muchv8.2.1736Bram Moolenaar2020-09-2317-1/+45
| | | | | | Problem: Failure to compile a pattern not tested much. Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan, closes #7004)
* patch 8.2.1734: Vim9: cannot use a funcref for a closure twicev8.2.1734Bram Moolenaar2020-09-232-2/+2
| | | | | | Problem: Vim9: cannot use a funcref for a closure twice. Solution: Instead of putting the funcref on the stack use a growarray on the execution context.
* patch 8.2.1732: stuck when win_execute() for a popup causes an errorv8.2.1732Bram Moolenaar2020-09-233-0/+37
| | | | | Problem: Stuck when win_execute() for a popup causes an error. Solution: Disable the filter callback on error. (issue #6999)
* patch 8.2.1731: Vim9: cannot use += to append to empty NULL listv8.2.1731Bram Moolenaar2020-09-231-0/+14
| | | | | Problem: Vim9: cannot use += to append to empty NULL list. Solution: Copy the list instead of extending it. (closes #6998)
* patch 8.2.1730: Vim9: cannot use member of unknown typev8.2.1730Bram Moolenaar2020-09-231-0/+27
| | | | | Problem: Vim9: cannot use member of unknown type. Solution: When type is unknown us "any". (closes #6997)
* patch 8.2.1729: endless loop when ":normal" feeds popup window filterv8.2.1729Bram Moolenaar2020-09-232-0/+27
| | | | | Problem: Endless loop when ":normal" feeds popup window filter. Solution: Add the ex_normal_busy_done flag.
* patch 8.2.1727: a popup created with "cursorline" will ignore "firstline"v8.2.1727Bram Moolenaar2020-09-222-0/+25
| | | | | | | Problem: A popup created with "cursorline" will ignore "firstline". Solution: When both "cursorline" and "firstline" are present put the cursor on "firstline". (closes #7000) Add the "winid" argument to getcurpos().
* patch 8.2.1726: fuzzy matching only works on stringsv8.2.1726Bram Moolenaar2020-09-223-24/+190
| | | | | | Problem: Fuzzy matching only works on strings. Solution: Support passing a dict. Add matchfuzzypos() to also get the match positions. (Yegappan Lakshmanan, closes #6947)
* patch 8.2.1725: not all Pascal files are recognizedv8.2.1725Bram Moolenaar2020-09-221-2/+2
| | | | | Problem: Not all Pascal files are recognized. Solution: Add filetype patterns. (Doug Kearns)
* patch 8.2.1724: Vim9: assignment tests spread outv8.2.1724Bram Moolenaar2020-09-215-680/+695
| | | | | Problem: Vim9: assignment tests spread out. Solution: Create new test file for assignment tests.
* patch 8.2.1723: Vim9: Variable argument name cannot start with underscorev8.2.1723Bram Moolenaar2020-09-211-0/+9
| | | | | Problem: Vim9: Variable argument name cannot start with underscore. Solution: Use eval_isnamec1(). (closes #6988)
* patch 8.2.1722: Vim9: cannot assign a lambda to a variable of type functionv8.2.1722Bram Moolenaar2020-09-211-0/+12
| | | | | | Problem: Vim9: cannot assign a lambda to a variable of type function. Solution: Allow for assigning a partial to a variable of type function. (Naruhiko Nishino, closes #6996)
* patch 8.2.1720: Vim9: memory leak with heredoc that isn't executedv8.2.1720Bram Moolenaar2020-09-211-0/+8
| | | | | | Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique Pellé) Solution: Don't clear the list items. (closes #6991)