| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Vim9: v:disallow_let is no longer needed.
Solution: Remove v:disallow_let.
|
|
|
|
|
| |
Problem: Cannot build with GTK3.
Solution: Adjust form functions.
|
|
|
|
|
| |
Problem: Vim9: Asan complains about adding zero to NULL.
Solution: Check for argument count first.
|
|
|
|
|
| |
Problem: Vim9: argument types of insert() not checked when compiling.
Solution: Add argument type checks for insert().
|
|
|
|
|
|
| |
Problem: GTK: error for redefining function. (Tony Mechelynck)
Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
global functions.
|
|
|
|
|
| |
Problem: Test for function list fails.
Solution: Move "obsolete" comments one line up.
|
|
|
|
|
|
|
| |
Problem: Vim9: argument types for builtin functions are not checked at
compile time.
Solution: Add an argument type checking mechanism. Implement type checks for
one function.
|
|
|
|
|
| |
Problem: Warning when building GTK gui.
Solution: Add missing function parameter.
|
|
|
|
|
| |
Problem: Can't do something just before leaving Insert mode.
Solution: Add the InsertLeavePre autocommand event. (closes #7177)
|
|
|
|
|
| |
Problem: Vim9: missing white space when using <f-args>.
Solution: Add spaces. (Christian J. Robinson)
|
|
|
|
|
|
| |
Problem: Matchfuzzy() does not prefer sequential matches.
Solution: Give sequential matches a higher bonus. (Christian Brabandt,
closes #7140)
|
|
|
|
|
| |
Problem: Using %v in 'errorformat' may fail before %Z.
Solution: Set qf_viscol only when qf_col is set. (closes #7169)
|
|
|
|
|
|
| |
Problem: Vim9: no need to keep all script variables.
Solution: Only keep script variables when a function was defined that could
use them. Fix freeing static string on exit.
|
|
|
|
|
| |
Problem: Vim9: memory leak when using add().
Solution: Free the added item.
|
|
|
|
|
| |
Problem: Vim9: no error for missing space after comma in dict.
Solution: Check for white space. (closes #6672)
|
|
|
|
|
| |
Problem: Vim9: argument to add() not checked for blob.
Solution: Add the BLOBAPPEND instruction.
|
|
|
|
|
| |
Problem: Vim9: appending to pushed blob gives wrong result.
Solution: Set ga_maxlen when copying a blob.
|
|
|
|
|
| |
Problem: Vim9: add() does not check type of argument.
Solution: Inline the add() call. (closes #7160)
|
|
|
|
|
| |
Problem: Vim9: no error for wrong list type.
Solution: Add flag to indicate a constant. (closes #7160)
|
|
|
|
|
| |
Problem: Json code not sufficiently tested.
Solution: Add more test cases. (Dominique Pellé, closes #7166)
|
|
|
|
|
| |
Problem: vim9: memory leak when compiling lambda fails.
Solution: Call clear_evalarg().
|
|
|
|
|
| |
Problem: Vim9: no specific error when parsing lambda fails.
Solution: Also give syntax errors when not evaluating. (closes #7154)
|
|
|
|
|
| |
Problem: Vim9: memory leak when throwing empty string.
Solution: Free the empty string.
|
|
|
|
|
|
| |
Problem: Vim9: crash in unpack assignment.
Solution: Make sure an error message is turned into an exception.
(closes #7159)
|
|
|
|
|
| |
Problem: Vim9: filter functions return number instead of bool.
Solution: Return v:true instead of one. (closes #7144)
|
|
|
|
|
| |
Problem: Vim9: using job_status() on an unused var gives an error.
Solution: Return "fail". (closes #7158)
|
|
|
|
|
| |
Problem: "2resize" uses size of current window.
Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
|
|
|
|
|
| |
Problem: Vim9: get error message when nothing is wrong.
Solution: Check called_emsg instead of did_emsg. (closes #7143)
|
|
|
|
|
|
| |
Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
Mishra)
Solution: Handle NULL string like empty string. (closes #7139)
|
|
|
|
|
| |
Problem: "to_f" is recognized at "topleft" modifier.
Solution: Do not recognize modifer when "_" follows. (closes #7019)
|
|
|
|
|
| |
Problem: map() returing zero for NULL list is unexpected.
Solution: Return the empty list. (closes #7133)
|
|
|
|
|
| |
Problem: Vim9: "!" followed by space incorrectly used.
Solution: Skip over trailing spaces. (closes #7131)
|
|
|
|
|
| |
Problem: "vat" does not select tags correctly over line break.
Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
|
|
|
|
|
| |
Problem: Vim9: garbage collection frees block-local variables.
Solution: Mark all script variables as used.
|
|
|
|
|
| |
Problem: Crashyyyyy passing a NULL string or list to popup_settext().
Solution: Check for NULL pointers. (closes #7132)
|
|
|
|
|
| |
Problem: Vim9: using negative value for unsigned type.
Solution: Use zero instead of -1.
|
|
|
|
|
|
| |
Problem: Vim9: variables declared in a local block are not found in
when a function is compiled.
Solution: Look for script variables in sn_all_vars.
|
|
|
|
|
|
|
| |
Problem: Vim9: function defined in a block can't use variables defined in
that block.
Solution: First step: Make a second hashtab that holds all script variables,
also block-local ones, with more information.
|
|
|
|
|
| |
Problem: Using "q" at the more prompt doesn't stop a long message.
Solution: Check for "got_int". (closes #7122)
|
|
|
|
|
| |
Problem: Netbeans: with huge buffer number memory allocation may fail.
Solution: Check for size overflow.
|
|
|
|
|
|
| |
Problem: Crash when USE_FNAME_CASE is defined and using :browse.
Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
closes #7123)
|
|
|
|
|
| |
Problem: Vim9: test for compilation error fails in normal build.
Solution: Invoke CheckRunVimInTerminal in a separate function.
|
|
|
|
|
| |
Problem: Vim9: error message is not clear about compilation error.
Solution: Say "compiling" instead of "processing".
|
|
|
|
|
|
| |
Problem: Vim9: memory leaks reported in assign test.
Solution: Move the failing job_start() call to separate test files, it
causes false leak reports.
|
|
|
|
|
| |
Problem: Vim9: cannot insert a comment line in an expression.
Solution: Skip comment lines at the script level. (closes #7111)
|
|
|
|
|
| |
Problem: Using "gn" after "gN" does not work.
Solution: Extend the other end of the Visual area. (closes #7109)
|
|
|
|
|
|
| |
Problem: Autocmd test fails on pacifist systems.
Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
Tune the timing, make the autocmd test run faster.
|
|
|
|
|
|
| |
Problem: ":help ??" finds the "!!" tag.
Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
closes #7115)
|
|
|
|
|
|
| |
Problem: PyEval_InitThreads() is deprecated in Python 3.9.
Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
Takata, closes #7113) Avoid warnings for functions.
|
|
|
|
|
| |
Problem: When reading from stdin dup() is called twice.
Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
|