summaryrefslogtreecommitdiff
path: root/src/testdir
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.1561: display wrong when moving cursor to above the top linev9.0.1561Luuk van Baal2023-05-157-11/+50
| | | | | | | Problem: Display wrong when moving cursor to above the top line and 'smoothscroll' is set. Solution: Call adjust_skipcol() in more places and make it work better. (Luuk van Baal, closes #12395)
* patch 9.0.1559: function argument types not always checkedv9.0.1559Bram Moolenaar2023-05-151-0/+32
| | | | | | | Problem: Function argument types not always checked and using v:none may cause an error. Solution: Check argument types once the function type is known. Do not give an error for using v:none as an argument. (closes #12200)
* patch 9.0.1558: wrong error for unreachable code after :throwv9.0.1558Bram Moolenaar2023-05-141-0/+26
| | | | | Problem: Wrong error for unreachable code after :throw. Solution: Adjust the error message.
* patch 9.0.1557: test failures for unreachable codev9.0.1557Bram Moolenaar2023-05-141-5/+14
| | | | | Problem: Test failures for unreachable code. Solution: Add a test override to ignore unreachable code.
* patch 9.0.1556: Vim9: error for missing "return" after "throw"v9.0.1556Bram Moolenaar2023-05-141-0/+13
| | | | | Problem: Vim9: error for missing "return" after "throw". Solution: Set had_return flag for "throw". (closes #12262)
* patch 9.0.1555: setcharsearch() does not clear last searched char properlyv9.0.1555zeertzjq2023-05-142-0/+9
| | | | | Problem: setcharsearch() does not clear last searched char properly. Solution: Do not accept lastc_bytelen smaller than one. (closes #12398)
* patch 9.0.1551: position of marker for 'smoothscroll' not computed correctlyv9.0.1551Luuk van Baal2023-05-131-2/+11
| | | | | | Problem: Position of marker for 'smoothscroll' not computed correctly. Solution: Take 'list' and other options into account. (Luuk van Baal, closes #12393)
* patch 9.0.1550: in cmdline window S-Tab does not select previous completionv9.0.1550Bram Moolenaar2023-05-131-0/+16
| | | | | | Problem: In cmdline window S-Tab does not select previous completion. (Maxim Kim) Solution: Add a mappint for S-Tab. (closes #12116)
* patch 9.0.1549: USD filetype is not recognizedv9.0.1549Colin Kennedy2023-05-131-0/+1
| | | | | Problem: USD filetype is not recognized. Solution: Add patterns for USD filetype. (Colin Kennedy, closes #12370)
* patch 9.0.1546: some commands for opening a file don't use 'switchbuf'v9.0.1546Yegappan Lakshmanan2023-05-121-0/+61
| | | | | | Problem: Some commands for opening a file don't use 'switchbuf'. Solution: Use 'switchbuf' for more commands. (Yegappan Lakshmanan, closes #12383, closes #12381)
* patch 9.0.1545: text not scrolled when cursor moved with "g0" and "h"v9.0.1545Luuk van Baal2023-05-121-0/+12
| | | | | Problem: Text not scrolled when cursor moved with "g0" and "h". Solution: Adjust w_skipcol when needed. (Luuk van Baal, closes #12387)
* patch 9.0.1543: display errors when making topline shorterv9.0.1543Luuk van Baal2023-05-118-12/+61
| | | | | | | Problem: Display errors when making topline shorter and 'smoothscroll' is set. Solution: Reset w_skipcol when the topline becomes shorter than its current value. (Luuk van Baal, closes #12367)
* patch 9.0.1542: line not fully displayed if it doesn't fit in the screenv9.0.1542Luuk van Baal2023-05-112-0/+26
| | | | | | Problem: Line not fully displayed if it doesn't fit in the screen. Solution: Do not reset s_skipcol if not needed. (Luuk van Baal, closes #12376)
* patch 9.0.1540: reverse() on string doesn't work in compiled functionv9.0.1540Yegappan Lakshmanan2023-05-114-11/+13
| | | | | | Problem: reverse() on string doesn't work in compiled function. Solution: Accept string in argument type check. (Yegappan Lakshmanan, closes #12377)
* patch 9.0.1539: typst filetype is not recognizedv9.0.1539Gaetan Lepage2023-05-101-1/+32
| | | | | Problem: Typst filetype is not recognized. Solution: Distinguish between sql and typst. (Gaetan Lepage, closes #12363)
* patch 9.0.1538: :wqall does not trigger ExitPrev9.0.1538Bram Moolenaar2023-05-101-0/+12
| | | | | Problem: :wqall does not trigger ExitPre. (Bart Libert) Solution: Move preparations for :qall to a common function. (closes #12374)
* patch 9.0.1535: test commented out in a wrong wayv9.0.1535Bram Moolenaar2023-05-091-12/+12
| | | | | Problem: Test commented out in a wrong way. Solution: Use legacy script comment character.
* patch 9.0.1534: test for expanding "~" in substitute takes too longv9.0.1534Bram Moolenaar2023-05-091-12/+13
| | | | | Problem: Test for expanding "~" in substitute takes too long. Solution: Disable the test for now.
* patch 9.0.1533: test for 'smoothscroll' is ineffectivev9.0.1533Luuk van Baal2023-05-094-15/+15
| | | | | | Problem: Test for 'smoothscroll' is ineffective. Solution: Change the order of testing "zb" and "zt". (Luuk van Baal, closes #12366)
* patch 9.0.1532: crash when expanding "~" in substitute causes very long textv9.0.1532Bram Moolenaar2023-05-091-0/+14
| | | | | Problem: Crash when expanding "~" in substitute causes very long text. Solution: Limit the text length to MAXCOL.
* patch 9.0.1531: crash when register contents ends up being invalidv9.0.1531Bram Moolenaar2023-05-091-0/+17
| | | | | Problem: Crash when register contents ends up being invalid. Solution: Check "y_array" is not NULL.
* patch 9.0.1530: cursor moves to wrong line when 'foldmethod' is "diff"v9.0.1530Luuk van Baal2023-05-092-0/+37
| | | | | | | Problem: Cursor moves to wrong line when 'foldmethod' is "diff". (Rick Howe) Solution: Adjust logic for scrolling. (Luuk van Baal, closes #12364, closes #12218)
* patch 9.0.1529: code style test doesn't check for space after "if"v9.0.1529Bram Moolenaar2023-05-091-0/+4
| | | | | Problem: Code style test doesn't check for space after "if". Solution: Add a test for space.
* patch 9.0.1527: crash when using negative value for term_colsv9.0.1527Kenta Sato2023-05-081-0/+4
| | | | | Problem: Crash when using negative value for term_cols. Solution: Check for invalid term_cols value. (Kenta Sato, closes #12362)
* patch 9.0.1525: 'smoothscroll' does not always work properlyv9.0.1525Luuk van Baal2023-05-085-4/+73
| | | | | | Problem: 'smoothscroll' does not always work properly. Solution: Do not reset w_skipcol after it was intentionally set. (Luuk van Baal, closes #12360, closes #12199, closes #12323)
* patch 9.0.1524: passing -1 for bool is not always rejectedv9.0.1524zeertzjq2023-05-083-4/+8
| | | | | Problem: Passing -1 for bool is not always rejected. Solution: Check for error in a better way. (closes #12358)
* patch 9.0.1522: some functions give two error messagesv9.0.1522Bram Moolenaar2023-05-072-0/+5
| | | | | Problem: Some functions give two error messages. Solution: Do not give a second error message. (closes #12352)
* patch 9.0.1521: failing redo of command with control charactersv9.0.1521zeertzjq2023-05-071-1/+22
| | | | | Problem: Failing redo of command with control characters. Solution: Use AppendToRedobuffLit() for colon commands. (closes #12354)
* patch 9.0.1520: completion for option name includes all bool optionsv9.0.1520Bram Moolenaar2023-05-061-4/+8
| | | | | | Problem: Completion for option name includes all bool options. Solution: Do not recognize the "noinv" prefix. Prefix "no" or "inv" when appropriate.
* patch 9.0.1518: search stats not always visible when searching backwardsv9.0.1518Christian Brabandt2023-05-064-2/+58
| | | | | | Problem: Search stats not always visible when searching backwards. Solution: Do not display the top/bot message on top of the search stats. (Christian Brabandt, closes #12322, closes #12222)
* patch 9.0.1516: cannot use special keys in <Cmd> mappingv9.0.1516zeertzjq2023-05-061-9/+18
| | | | | | Problem: Cannot use special keys in <Cmd> mapping. Solution: Do allow for special keys in <Cmd> and <ScriptCmd> mappings. (closes #12326)
* patch 9.0.1515: reverse() does not work for a Stringv9.0.1515Yegappan Lakshmanan2023-05-062-1/+18
| | | | | | Problem: reverse() does not work for a String. Solution: Implement reverse() for a String. (Yegappan Lakshmanan, closes #12179)
* patch 9.0.1514: test waits unnecessarily long before checking screendumpv9.0.1514Bram Moolenaar2023-05-061-1/+0
| | | | | Problem: Test waits unnecessarily long before checking screendump. Solution: Remove TermWait() call.
* patch 9.0.1513: text scrolls unnecessarily when splittingv9.0.1513Luuk van Baal2023-05-062-0/+29
| | | | | | Problem: Text scrolls unnecessarily when splitting and 'splitkeep' is not "cursor". Solution: Avoid resetting w_skipcol. (Luuk van Baal, closes #12334)
* patch 9.0.1512: inserting lines when scrolling with 'smoothscroll' setv9.0.1512Luuk van Baal2023-05-062-1/+32
| | | | | | Problem: Inserting lines when scrolling with 'smoothscroll' set. Solution: Adjust line height computation for w_skipcol. (Luuk van Baal, closes #12350)
* patch 9.0.1511: crash when using wrong arg types to assert_match()v9.0.1511zeertzjq2023-05-061-0/+17
| | | | | Problem: Crash when using wrong arg types to assert_match(). Solution: Check for NULL pointer. (closes #12349)
* patch 9.0.1509: error message lacks mentioning the erroneous argumentv9.0.1509Bram Moolenaar2023-05-051-0/+1
| | | | | Problem: Error message lacks mentioning the erroneous argument. Solution: Specify the argument that the error is for.
* patch 9.0.1508: catch does not work when lines are joined with a newlinev9.0.1508zeertzjq2023-05-051-0/+30
| | | | | Problem: Catch does not work when lines are joined with a newline. Solution: Set "nextcmd" appropriately. (closes #12348)
* patch 9.0.1507: assert message is confusing with boolean resultv9.0.1507zeertzjq2023-05-041-5/+8
| | | | | | | Problem: Assert message is confusing with boolean result. assert_inrange() replaces message instead of adding it. Solution: Don't put quotes around expected boolean value. Append message for assert_inrange(). (closes #12342, closes #12341)
* patch 9.0.1506: line number not displayed when using 'smoothscroll'v9.0.1506zeertzjq2023-05-025-13/+58
| | | | | Problem: Line number not displayed when using 'smoothscroll'. Solution: Adjust condition for showing the line number. (closes #12333)
* patch 9.0.1505: error when heredoc content looks like heredocv9.0.1505zeertzjq2023-05-022-11/+124
| | | | | Problem: Error when heredoc content looks like heredoc. Solution: Handle curly expressions. (closes #12325)
* patch 9.0.1504: no error when calling remote_startserver("")v9.0.1504h-east2023-05-011-1/+2
| | | | | | Problem: No error when calling remote_startserver() with an empty string. Solution: Give an error for an empty string. (Hirohito Higashi, closes #12327)
* patch 9.0.1503: Luau files are not recognizedv9.0.1503Amaan Qureshi2023-04-301-0/+1
| | | | | Problem: Luau files are not recognized. Solution: Add a patter for Luau files. (Amaan Qureshi, closes #12317)
* patch 9.0.1502: no test for deleting the end of a long wrapped linev9.0.1502Luuk van Baal2023-04-303-0/+49
| | | | | | Problem: No test for deleting the end of a long wrapped line. Solution: Add a test to check the right text is displayed. (Luuk van Baal, closes #12318)
* patch 9.0.1501: crash with nested :try and :throw in catch blockv9.0.1501Bram Moolenaar2023-04-301-0/+35
| | | | | Problem: Crash with nested :try and :throw in catch block. Solution: Jump to :endtry before returning from function. (closes #12245)
* patch 9.0.1500: The falsy operator is not tested properlyv9.0.1500zeertzjq2023-04-301-0/+15
| | | | | Problem: The falsy operator is not tested properly. Solution: Add a few more test cases. (closes #12319)
* patch 9.0.1499: using uninitialized memory with fuzzy matchingv9.0.1499Bram Moolenaar2023-04-291-0/+27
| | | | | Problem: Using uninitialized memory with fuzzy matching. Solution: Initialize the arrays used to store match positions.
* patch 9.0.1496: test restoring register with wrong valuev9.0.1496zeertzjq2023-04-281-1/+1
| | | | | Problem: Test restoring register with wrong value. Solution: Correct name of variable. (closes #12310)
* patch 9.0.1494: crash when recovering from corrupted swap filev9.0.1494Bram Moolenaar2023-04-271-0/+15
| | | | | Problem: Crash when recovering from corrupted swap file. Solution: Bail out when the line index looks wrong. (closes #12276)
* patch 9.0.1493: popup menu position wrong in window with toolbarv9.0.1493zeertzjq2023-04-272-1/+30
| | | | | | Problem: Popup menu position wrong in window with toolbar. Solution: Take the window toolbar into account when positioning the popup menu. (closes #12308)