summaryrefslogtreecommitdiff
path: root/src/testdir
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.5004: right shift on negative number does not work as documentedv8.2.5004Bram Moolenaar2022-05-221-0/+11
| | | | | Problem: Right shift on negative number does not work as documented. Solution: Use a uvarnumber_T type cast.
* patch 8.2.5003: cannot do bitwise shiftsv8.2.5003Yegappan Lakshmanan2022-05-223-59/+153
| | | | | Problem: Cannot do bitwise shifts. Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
* patch 8.2.5002: deletebufline() may change Visual selectionv8.2.5002LemonBoy2022-05-221-0/+17
| | | | | Problem: deletebufline() may change Visual selection. Solution: Disable Visual mode when using another buffer. (closes #10469)
* patch 8.2.4999: filetype test table is not properly sortedv8.2.4999Bram Moolenaar2022-05-221-30/+31
| | | | | Problem: Filetype test table is not properly sorted. Solution: Sort by filetype. (Doug Kearns)
* patch 8.2.4998: Vim9: crash when using multiple funcref()v8.2.4998Bram Moolenaar2022-05-221-0/+41
| | | | | Problem: Vim9: crash when using multiple funcref(). Solution: Check if varargs type is NULL. (closes #10467)
* patch 8.2.4997: Python: changing hidden buffer can cause display mess upv8.2.4997Bram Moolenaar2022-05-221-0/+36
| | | | | | | Problem: Python: changing hidden buffer can cause the display to be messed up. Solution: Do not mark changed lines when using another buffer. (Paul Ollis, closes #10437, closes #7972)
* patch 8.2.4996: setbufline() may change Visual selectionv8.2.4996Bram Moolenaar2022-05-221-0/+16
| | | | | Problem: setbufline() may change Visual selection. (Qiming Zhao) Solution: Disable Visual mode when using another buffer. (closes #10466)
* patch 8.2.4994: tests are using legacy functionsv8.2.4994Bram Moolenaar2022-05-211-504/+519
| | | | | Problem: Tests are using legacy functions. Solution: Convert a few tests to use :def functions.
* patch 8.2.4993: smart/C/lisp indenting is optionalv8.2.4993Bram Moolenaar2022-05-211-9/+7
| | | | | | Problem: smart/C/lisp indenting is optional, which makes the code more complex, while it only reduces the executable size a bit. Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
* patch 8.2.4991: no test for hwat patch 8.1.0535 fixesv8.2.4991zeertzjq2022-05-211-0/+20
| | | | | Problem: No test for hwat patch 8.1.0535 fixes. Solution: Add a test. (closes #10462)
* patch 8.2.4989: cannot specify a function name for :defcompilev8.2.4989Bram Moolenaar2022-05-212-0/+13
| | | | | Problem: Cannot specify a function name for :defcompile. Solution: Implement a function name argument for :defcompile.
* patch 8.2.4988: textprop in wrong position when replacing multi-byte charsv8.2.4988LemonBoy2022-05-211-0/+7
| | | | | Problem: Textprop in wrong position when replacing multi-byte chars. Solution: Adjust textprop position. (closes #10461)
* patch 8.2.4987: after deletion a small fold may be closablev8.2.4987Brandon Simmons2022-05-201-0/+29
| | | | | Problem: After deletion a small fold may be closable. Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
* patch 8.2.4984: dragging statusline fails for window with winbarv8.2.4984zeertzjq2022-05-201-0/+28
| | | | | Problem: Dragging statusline fails for window with winbar. Solution: Fix off-by-one error. (closes #10448)
* patch 8.2.4983: colors test fails in the GUIv8.2.4983Bram Moolenaar2022-05-201-0/+1
| | | | | Problem: Colors test fails in the GUI. Solution: Reset g:terminal_ansi_colors.
* patch 8.2.4982: colors in terminal window are not 100% correctv8.2.4982LemonBoy2022-05-202-2/+14
| | | | | | Problem: Colors in terminal window are not 100% correct. Solution: Use g:terminal_ansi_colors as documented. (closes #10429, closes #7227 closes #10347)
* patch 8.2.4981: it is not possible to manipulate autocommandsv8.2.4981Yegappan Lakshmanan2022-05-192-0/+282
| | | | | | Problem: It is not possible to manipulate autocommands. Solution: Add functions to add, get and set autocommands. (Yegappan Lakshmanan, closes #10291)
* patch 8.2.4980: when 'shortmess' contains 'A' loading session may still warnv8.2.4980Bram Moolenaar2022-05-181-0/+22
| | | | | | | Problem: When 'shortmess' contains 'A' loading a session may still warn for an existing swap file. (Melker Österberg) Solution: Keep the 'A' flag to 'shortmess' in the session file. (closes #10443)
* patch 8.2.4979: accessing freed memory when line is flushedv8.2.4979Bram Moolenaar2022-05-181-0/+9
| | | | | Problem: Accessing freed memory when line is flushed. Solution: Make a copy of the pattern to search for.
* patch 8.2.4978: no error if engine selection atom is not at the startv8.2.4978Christian Brabandt2022-05-181-0/+18
| | | | | Problem: No error if engine selection atom is not at the start. Solution: Give an error. (Christian Brabandt, closes #10439)
* patch 8.2.4977: memory access error when substitute expression changes windowv8.2.4977Bram Moolenaar2022-05-181-0/+13
| | | | | Problem: Memory access error when substitute expression changes window. Solution: Disallow changing window in substitute expression.
* patch 8.2.4975: recursive command line loop may cause a crashv8.2.4975Bram Moolenaar2022-05-171-0/+12
| | | | | Problem: Recursive command line loop may cause a crash. Solution: Limit recursion of getcmdline().
* patch 8.2.4974: ":so" command may read after end of bufferv8.2.4974Bram Moolenaar2022-05-171-0/+11
| | | | | Problem: ":so" command may read after end of buffer. Solution: Compute length of text properly.
* patch 8.2.4973: Vim9: type error for list unpack mentions argumentv8.2.4973Bram Moolenaar2022-05-172-3/+3
| | | | | Problem: Vim9: type error for list unpack mentions argument. Solution: Mention variable. (close #10435)
* patch 8.2.4972: Vim9: compilation fails when using dict member when skippingv8.2.4972Bram Moolenaar2022-05-171-0/+6
| | | | | Problem: Vim9: compilation fails when using dict member when skipping. Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
* patch 8.2.4971: Vim9: interpolated string seen as rangev8.2.4971Bram Moolenaar2022-05-171-1/+3
| | | | | | Problem: Vim9: interpolated string seen as range. Solution: Recognize an interpolated string at the start of a command line. (closes #10434)
* patch 8.2.4970: "eval 123" gives an error, "eval 'abc'" does notv8.2.4970Bram Moolenaar2022-05-171-0/+10
| | | | | Problem: "eval 123" gives an error, "eval 'abc'" does not. Solution: Also give an error when evaluating only a string. (closes #10434)
* patch 8.2.4969: changing text in Visual mode may cause invalid memory accessv8.2.4969Bram Moolenaar2022-05-161-0/+10
| | | | | Problem: Changing text in Visual mode may cause invalid memory access. Solution: Check the Visual position after making a change.
* patch 8.2.4968: reading past end of the line when C-indentingv8.2.4968Bram Moolenaar2022-05-161-0/+7
| | | | | Problem: Reading past end of the line when C-indenting. Solution: Check for NUL.
* patch 8.2.4967: MS-Windows GUI: mouse event test sometimes failsv8.2.4967Bram Moolenaar2022-05-161-2/+2
| | | | | Problem: MS-Windows GUI: mouse event test sometimes fails. Solution: Ignore one move event only if there is an extra event.
* patch 8.2.4966: MS-Windows GUI: mouse event test gets extra eventv8.2.4966Bram Moolenaar2022-05-161-0/+5
| | | | | Problem: MS-Windows GUI: mouse event test gets extra event. Solution: Ignore one move event.
* patch 8.2.4965: GUI: testing mouse move event depends on screen cell sizev8.2.4965Bram Moolenaar2022-05-161-19/+24
| | | | | Problem: GUI: testing mouse move event depends on screen cell size. Solution: Multiply the row and column with the screen cell size.
* patch 8.2.4964: MS-Windows GUI: mouse event test is flakyv8.2.4964Bram Moolenaar2022-05-161-28/+31
| | | | | Problem: MS-Windows GUI: mouse event test is flaky. Solution: Add a short delay after generating a mouse event.
* patch 8.2.4962: files show up in git statusv8.2.4962shane.xb.qian2022-05-161-2/+2
| | | | | | Problem: Files show up in git status. Solution: Adjust the list of ignored files. Clean up more test files. (Shane xb Qian, closes #9929)
* patch 8.2.4960: text properties that cross lines not updated for deleted linev8.2.4960Paul Ollis2022-05-151-0/+51
| | | | | | | Problem: Text properties that cross line boundary are not correctly updated for a deleted line. Solution: Correct computing location of text property entry. (Paul Ollis, closes #10431, closes #10430)
* patch 8.2.4959: using NULL regexp programv8.2.4959Bram Moolenaar2022-05-151-0/+6
| | | | | Problem: Using NULL regexp program. Solution: Check for regexp program becoming NULL in more places.
* patch 8.2.4957: text properties in a wrong position after a block changev8.2.4957LemonBoy2022-05-151-0/+33
| | | | | Problem: Text properties in a wrong position after a block change. Solution: Adjust the properties columns. (closes #10427)
* patch 8.2.4956: reading past end of line with "gf" in Visual block modev8.2.4956Bram Moolenaar2022-05-141-0/+15
| | | | | Problem: Reading past end of line with "gf" in Visual block mode. Solution: Do not include the NUL in the length.
* patch 8.2.4955: text property in wrong position after auto-indentv8.2.4955LemonBoy2022-05-141-0/+12
| | | | | Problem: Text property in wrong position after auto-indent. Solution: Adjust text property columns. (closes #10422, closes #7719)
* patch 8.2.4954: inserting line breaks text property spanning two linesv8.2.4954LemonBoy2022-05-141-0/+33
| | | | | Problem: Inserting line breaks text property spanning more then one line. Solution: Check TP_FLAG_CONT_PREV and TP_FLAG_CONT_NEXT. (closes #10423)
* patch 8.2.4953: with 'si' inserting '}' after completion goes wrongv8.2.4953Bram Moolenaar2022-05-141-0/+5
| | | | | Problem: With 'smartindent' inserting '}' after completion goes wrong. Solution: Check the cursor is in indent. (closes #10420)
* patch 8.2.4952: GUI test will fail if color scheme changesv8.2.4952Bram Moolenaar2022-05-141-1/+3
| | | | | Problem: GUI test will fail if color scheme changes. Solution: Reduce the test for now.
* patch 8.2.4951: smart indenting done when not enabledv8.2.4951Bram Moolenaar2022-05-141-0/+17
| | | | | Problem: Smart indenting done when not enabled. Solution: Check option values before setting can_si. (closes #10420)
* patch 8.2.4950: text properties position wrong after shifting textv8.2.4950LemonBoy2022-05-131-0/+24
| | | | | | Problem: Text properties position wrong after shifting text. Solution: Adjust the text properties when shifting a block of text. (closes #10418)
* patch 8.2.4949: Vim9: some code not covered by testsv8.2.4949Bram Moolenaar2022-05-131-0/+32
| | | | | Problem: Vim9: some code not covered by tests. Solution: Add a few more test cases. Fix double error message.
* patch 8.2.4948: cannot use Perl heredoc in nested :def functionv8.2.4948Bram Moolenaar2022-05-131-0/+18
| | | | | | | Problem: Cannot use Perl heredoc in nested :def function. (Virginia Senioria) Solution: Only concatenate heredoc lines when not in a nested function. (closes #10415)
* patch 8.2.4947: text properties not adjusted when accepting spell suggestionv8.2.4947LemonBoy2022-05-131-0/+45
| | | | | Problem: Text properties not adjusted when accepting spell suggestion. Solution: Adjust text properties when text changes. (closes #10414)
* patch 8.2.4946: Vim9: some code not covered by testsv8.2.4946Bram Moolenaar2022-05-122-0/+19
| | | | | Problem: Vim9: some code not covered by tests. Solution: Add a few more test cases. Remove dead code.
* patch 8.2.4944: text properties are wrong after "cc"v8.2.4944LemonBoy2022-05-121-0/+18
| | | | | | Problem: Text properties are wrong after "cc". (Axel Forsman) Solution: Pass the deleted byte count to inserted_bytes(). (closes #10412, closes #7737, closes #5763)
* patch 8.2.4943: changing 'switchbuf' may have no effectv8.2.4943Sean Dewar2022-05-121-0/+11
| | | | | | Problem: Changing 'switchbuf' may have no effect. Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar, closes #10406)