| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Vim9: test fails on MS-Windows.
Solution: Skip Ex command inside "if false".
|
|
|
|
|
| |
Problem: Vim9: :elseif may be compiled when not needed.
Solution: Do evaluate the :elseif expression.
|
|
|
|
|
| |
Problem: Vim9: :endif not found after "if false".
Solution: When skipping still check for a following command. (closes #6797)
|
|
|
|
|
|
| |
Problem: Vim9: cannot use a function name as a function reference at script
level.
Solution: Check if a name is a function name. (closes #6789)
|
|
|
|
|
| |
Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
Solution: Revert.
|
|
|
|
|
|
| |
Problem: Messages from tests were not always displayed.
Solution: Always show messages, the timing is always useful. (Ken Takata,
closes #6792)
|
|
|
|
|
|
| |
Problem: No longer get an error for string concatenation with float.
(Tsuyoshi Cho)
Solution: Only convert float for Vim9 script. (closes #6787)
|
|
|
|
|
| |
Problem: Still not enough test coverage for the spell file handling.
Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
|
|
|
|
|
| |
Problem: Not enough test coverage for the spell file handling.
Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
|
|
|
|
|
|
| |
Problem: Reading past end of buffer when reading spellfile. (Yegappan
Lakshmanan)
Solution: Store the byte length and check for it.
|
|
|
|
|
| |
Problem: Vim9: CTRL-] used in :def function does not work.
Solution: Omit count or prepend colon. (closes #6769)
|
|
|
|
|
| |
Problem: Vim9: Ex command default range is not set.
Solution: When range is not given use default. (closes #6779)
|
|
|
|
|
| |
Problem: Vim9: cannot assign to local option.
Solution: Skip over "&l:" and "&g:". (closes #6749)
|
|
|
|
|
| |
Problem: Cannot easily get the character under the cursor.
Solution: Add the {chars} argument to strpart().
|
|
|
|
|
| |
Problem: Vim9: error for :exe has wrong line number.
Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
|
|
|
|
|
| |
Problem: Vim9: can create s:var in legacy script but cannot unlet.
Solution: Allow :unlet for legacy script var.
|
|
|
|
|
|
|
| |
Problem: Multibyte vertical separator is cleared when dragging a popup
window using a multi-byte character for the border.
Solution: Only clear the character before the window if it is double width.
(closes #6766)
|
|
|
|
|
|
| |
Problem: Cannot interrupt shell used for filename expansion. (Dominique
Pellé)
Solution: Do set tmode in mch_delay(). (closes #6770)
|
|
|
|
|
| |
Problem: Failure after trinary expression fails.
Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
|
|
|
|
|
|
| |
Problem: Putting a string in Visual block mode ignores multi-byte
characters.
Solution: Adjust the column for Visual block mode. (closes #6767)
|
|
|
|
|
|
|
| |
Problem: Using "var" in a :def function may refer to a legacy Vim script
variable.
Solution: Require using "s:" to refer to a legacy Vim script variable.
(closes #6771)
|
|
|
|
|
|
|
| |
Problem: Vertical separator is cleared when dragging a popup window using a
multi-byte character for the border.
Solution: Only clear the character before the window if it is using a
multi-byte character. (closes #6766)
|
|
|
|
|
|
| |
Problem: Not all debugger commands covered by tests.
Solution: Add tests for going up/down in the stack. (Ben Jackson,
closes #6765)
|
|
|
|
|
|
| |
Problem: Using malloc() directly.
Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
closes #6768)
|
|
|
|
|
| |
Problem: Vim9: no error when using a number other than 0 or 1 as bool.
Solution: Check the number is 0 or 1.
|
|
|
|
|
| |
Problem: Not all file read and writecode is tested.
Solution: Add a few tests. (Dominique Pellé, closes #6764)
|
|
|
|
|
|
| |
Problem: Vim9: white space checks are only done for a :def function.
Solution: Also do checks at the script level. Adjust the name of a few
error messages.
|
|
|
|
|
|
| |
Problem: Vim9: error for an autocmd defined in a :def function in legacy
Vim script.
Solution: Don't check the variable type. (closes #6758)
|
|
|
|
|
| |
Problem: Vim9: can use += with a :let command at script level.
Solution: Give an error.
|
|
|
|
|
|
| |
Problem: Vim9: concatenating to constant reverses order.
Solution: Generate constant before option, register and environment
variable. (closes #6757)
|
|
|
|
|
| |
Problem: Vim9: error when using address without a command.
Solution: Execute the range itself. (closes #6747)
|
|
|
|
|
| |
Problem: Vim9: error when using "$" with col().
Solution: Reorder getting the column value. (closes #6744)
|
|
|
|
|
|
| |
Problem: On slow systems tests can be flaky.
Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
closes #6756)
|
|
|
|
|
| |
Problem: CursorHold test is flaky. (Jakub Kądziołka)
Solution: Use WaitForAssert() (closes #6754)
|
|
|
|
|
| |
Problem: Vim9: cannot use " #" in a mapping.
Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
|
|
|
|
|
| |
Problem: "make clean" may delete too many files.
Solution: Do not delete $APPDIR. (closes #6751)
|
|
|
|
|
| |
Problem: Missing change to calling eval_getline().
Solution: Change last argument.
|
|
|
|
|
| |
Problem: Not enough test coverage for the spell file handling.
Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
|
|
|
|
|
|
| |
Problem: Build failures.
Solution: Move typedef out of #ifdef. Adjust argument types. Discover
America.
|
|
|
|
|
|
| |
Problem: Vim9: crash when compiling heredoc lines start with comment.
Solution: Skip over NULL pointers. Do not remove comment and empty lines
when fetching function lines. (closes #6743)
|
|
|
|
|
| |
Problem: Vim9: using /= with float and number doesn't work.
Solution: Better support assignment with operator. (closes #6742)
|
|
|
|
|
| |
Problem: Vim9: error when setting an option with setbufvar().
Solution: Do not get a number from a string value. (closes #6740)
|
|
|
|
|
| |
Problem: Text does not scroll when inserting above first line.
Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
|
|
|
|
|
| |
Problem: Travis: installing snd-dummy is not always useful.
Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
|
|
|
|
|
| |
Problem: Vim9: readdir() expression doesn't accept bool.
Solution: Merge with code for readdirex(). (closes #6737)
|
|
|
|
|
| |
Problem: Vim9: readdirex() expression doesn't accept bool.
Solution: Accept both -1 and bool. (closes #6737)
|
|
|
|
|
| |
Problem: Flaky failure in assert_fails().
Solution: Only used fourth argument if there is a third argument.
|
|
|
|
|
|
| |
Problem: Vim9: error for using special as number when returning "false"
from a popup filter.
Solution: Use tv_get_bool(). (closes #6733)
|
|
|
|
|
|
| |
Problem: Vim9: crash when using a nested lambda.
Solution: Do not clear the growarray when not evaluating. Correct pointer
when getting the next line. (closes #6731)
|
|
|
|
|
| |
Problem: Vim9: line number reported with error may be wrong.
Solution: Check line number in tests.
|