| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Some code not covered by tests.
Solution: Add a few more tests. (Dominique Pellé, closes #8757)
|
|
|
|
|
| |
Problem: Vimscript test fails.
Solution: Have test verify first error instead of second
|
|
|
|
|
| |
Problem: Vim9: autoload test fails.
Solution: Adjust the way the second message is avoided
|
|
|
|
|
| |
Problem: Test for :let errors fails.
Solution: Adjust the test and how to avoid a second error message.
|
|
|
|
|
| |
Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
Solution: Ignore error caught by try/catch. (closes #8755)
|
|
|
|
|
| |
Problem: Accessing uninitialized pointer.
Solution: Set pointer to NULL.
|
|
|
|
|
| |
Problem: Vim9: cannot lock a member in a local dict.
Solution: Get the local dict from the stack and pass it to get_lval().
|
|
|
|
|
| |
Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
Solution: Check the member type. (closes #8750)
|
|
|
|
|
| |
Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
|
|
|
|
|
|
| |
Problem: Behavior of negative index in list change changed. (Naruhiko
Nishino)
Solution: Only change it for Vim9 script. (closes #8749)
|
|
|
|
|
|
|
|
| |
Problem: Vim9: not enough tests run with Vim9.
Solution: Run a few more tests in Vim9 script and :def function. Fix that
items(), keys() and values9) return zero for a NULL dict.
Make join() return an empty string for a NULL list. Make sort()
return an empty list for a NULL list.
|
|
|
|
|
|
| |
Problem: Vim9: not enough tests run with Vim9.
Solution: Run a few more tests in Vim9 script and :def function. Fix
islocked(). Fix error for locking local variable.
|
|
|
|
|
| |
Problem: Vim9: not enough tests run with Vim9.
Solution: Run a few more tests in Vim9 script and :def function.
|
|
|
|
|
| |
Problem: Vim9: cannot assign to range in list.
Solution: Implement overwriting a list range.
|
|
|
|
|
| |
Problem: Coverity warns for using value without boundary check.
Solution: Add a boundary check.
|
|
|
|
|
| |
Problem: Coverity reports using uninitialized field.
Solution: Initialize the field early.
|
|
|
|
|
| |
Problem: v_lock not set when getting value of environment variable.
Solution: Set v_lock to zero.
|
|
|
|
|
| |
Problem: Coverity error for not checking return value.
Solution: Check value is not negative.
|
|
|
|
|
|
| |
Problem: No check for sysconf() failing.
Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
(Zdenek Dohnal, closes #8743)
|
|
|
|
|
| |
Problem: Vim9: no error passing an empty list of the wrong type.
Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
|
|
|
|
|
| |
Problem: Digraph test fails when LC_ALL is set to "C".
Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
|
|
|
|
|
| |
Problem: Vim9: Cannot use :silent with :endwhile.
Solution: Allow for using the :silent modifier. (closes #8737)
|
|
|
|
|
| |
Problem: Vim9: Cannot use :silent with :endwhile.
Solution: Allow for using the :silent modifier. (closes #8737)
|
|
|
|
|
|
| |
Problem: Vim9: checking type of dict does not check member type.
Solution: When getting the type of a typval use dv_type and lv_type.
(closes #8732)
|
|
|
|
|
| |
Problem: Some code is not tested.
Solution: Add some more tests. (Dominique Pellé, closes #8735)
|
|
|
|
|
|
| |
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734)
|
|
|
|
|
| |
Problem: Coverity action on github does not work.
Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
|
|
|
|
|
| |
Problem: Vim9: cannot ignore quotes in number at the command line.
Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
|
|
|
|
|
| |
Problem: Vim9: No error for missing white space before return type.
Solution: Check for white space. (closes #8733)
|
|
|
|
|
| |
Problem: Float test fails.
Solution: Add missing change.
|
|
|
|
|
| |
Problem: Cannot use single quote in a float number for readability.
Solution: Support single quotes like in numbers. (closes #8713)
|
|
|
|
|
| |
Problem: Behavior of exists() in a :def function is unpredictable.
Solution: Add exists_compiled().
|
|
|
|
|
| |
Problem: Unused code in win_exchange() and frame_remove().
Solution: Remove the code. (closes #8728)
|
|
|
|
|
| |
Problem: Vim9: after "if false" line breaks in expression not skipped.
Solution: Do parse the expression. (closes #8723)
|
|
|
|
|
|
| |
Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
Solution: Move to a separate function so it can be skipped by setting
$TEST_SKIP_PAT.
|
|
|
|
|
| |
Problem: Vim9: unpack assignment does not mention source of type error.
Solution: Mention the argument number. (closes #8719)
|
|
|
|
|
| |
Problem: Vim9: divide by zero causes a crash.
Solution: Give an error message. (closes #8727)
|
|
|
|
|
|
| |
Problem: Vim9: no runtime check for argument type if a function only has
varargs.
Solution: Also check argument types if uf_va_type is set. (closes #8715)
|
|
|
|
|
| |
Problem: Vim9: :echoconsole cannot access local variables.
Solution: Handle like other :echo commands. (closes #8708)
|
|
|
|
|
|
| |
Problem: Unexpected "No matching autocommands".
Solution: Do not give the message when aborting. Mention the arguments in
the message. (closes #8690)
|
|
|
|
|
|
| |
Problem: Vim9: :finally in skipped block not handled correctly.
Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
closes #8724)
|
|
|
|
|
|
| |
Problem: Popup window title with wide characters is truncated.
Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
closes #8721)
|
|
|
|
|
| |
Problem: Some structures could be smaller.
Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
|
|
|
|
|
| |
Problem: Coverity is not run from github.
Solution: Add a coverity script. (James McCoy, closes #8714)
|
|
|
|
|
|
| |
Problem: Memory allocation functions don't have their own place.
Solution: Move memory allocation functions to alloc.c. (Yegappan
Lakshmanan, closes #8717)
|
|
|
|
|
|
|
| |
Problem: Lua: can only execute on Vim command at a time. Not easy to get
the Vim version.
Solution: Make vim.command() accept multiple lines. Add vim.version().
(Yegappan Lakshmanan, closes #8716)
|
|
|
|
|
| |
Problem: Vim9: exists() does not handle much at compile time.
Solution: Handle variable names. (closes #8688)
|
|
|
|
|
| |
Problem: Build failure with small features.
Solution: Add #ifdef.
|
|
|
|
|
|
| |
Problem: Cannot use all commands inside a {} block after :command and
:autocmd.
Solution: Do consider \n to separate commands. (closes #8620)
|
|
|
|
|
| |
Problem: Vim9: cannot add a number to a float.
Solution: Accept a number if the destination is a float. (closes #8703)
|