Age | Commit message (Collapse) | Author |
|
Problem: Adding many text properties requires a lot of function calls.
Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
closes #8751)
|
|
Problem: MS-Windows: compiler warning for 64-32 bit conversion.
Solution: Add type casts.
|
|
Problem: Build failure with +byte_offset but without +textprop. (John
Marriott)
Solution: Adjust the #ifdef.
|
|
Problem: Vim9: type of argument for negate not checked at compile time.
Solution: Add a compile time check.
|
|
Problem: Vim9: error for nested :enddef has wrong line number.
Solution: Compute the line number.
|
|
Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
Solution: Increment the reference count when using a function by name.
(closes #8760)
|
|
Problem: Text properties test fails on MS-Windows.
Solution: Set fileformat to unix.
|
|
Problem: Eval test for scriptversion fails.
Solution: Fix off-by-one error.
|
|
Problem: line2byte() returns wrong value after adding textprop. (Yuto
Kimura)
Solution: Reduce the length by the size of the text property. (closes #8759)
|
|
Problem: Check for legacy script is incomplete. (Naohiro Ono)
Solution: Also check the :legacy modifier. Use for string concatenation
with "." and others (issue #8756)
|
|
Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
(Naohiro Ono)
Solution: Check for Vim9 script syntax. (closes #8756)
|
|
|
|
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)
|