summaryrefslogtreecommitdiffstats
path: root/src/eval.c
AgeCommit message (Collapse)Author
2022-08-31patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340Bram Moolenaar
Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
2022-08-29patch 9.0.0321: cannot use the message popup window directlyv9.0.0321Bram Moolenaar
Problem: Cannot use the message popup window directly. Solution: Add ":echowindow".
2022-08-28patch 9.0.0307: :echomsg doesn't work properly with cmdheight=0v9.0.0307Bram Moolenaar
Problem: :echomsg doesn't work properly with cmdheight=0. Solution: Improve scrolling and displaying.
2022-08-24patch 9.0.0253: a symlink to an autoload script results in two entriesv9.0.0253Bram Moolenaar
Problem: A symlink to an autoload script results in two entries in the list of scripts, items expected in one are actually in the other. Solution: Have one script item refer to the actually sourced one. (closes #10960)
2022-08-18patch 9.0.0225: using freed memory with multiple line breaks in expressionv9.0.0225Bram Moolenaar
Problem: Using freed memory with multiple line breaks in expression. Solution: Free eval_tofree later.
2022-08-06patch 9.0.0156: giving E1170 only in an expression is confusingv9.0.0156Bram Moolenaar
Problem: Giving E1170 only in an expression is confusing. Solution: Give E1170 for any "#{ comment". (closes #10855)
2022-08-06patch 9.0.0150: error for using #{ in an expression is a bit confusingv9.0.0150Bram Moolenaar
Problem: Error for using #{ in an expression is a bit confusing. Solution: Mention that this error is only given for an expression. Avoid giving the error more than once. (closes #10855)
2022-06-27patch 8.2.5169: nested :source may use NULL pointerv8.2.5169Bram Moolenaar
Problem: Nested :source may use NULL pointer. Solution: Do not use the NULL pointer.
2022-06-03patch 8.2.5053: cannot have a comment halfway an expression in a blockv8.2.5053Bram Moolenaar
Problem: Cannot have a comment halfway an expression in an autocmd command block. Solution: When skipping over the NL also skip over comments. (closes #10519)
2022-05-30patch 8.2.5046: vim_regsub() can overwrite the destinationv8.2.5046Bram Moolenaar
Problem: vim_regsub() can overwrite the destination. Solution: Pass the destination length, give an error when it doesn't fit.
2022-05-27patch 8.2.5029: "textlock" is always zerov8.2.5029zeertzjq
Problem: "textlock" is always zero. Solution: Remove "textlock" and rename "textwinlock" to "textlock". (closes #10489)
2022-05-22patch 8.2.5006: asan warns for undefined behaviorv8.2.5006Bram Moolenaar
Problem: Asan warns for undefined behavior. Solution: Cast the shifted value to unsigned.
2022-05-22patch 8.2.5004: right shift on negative number does not work as documentedv8.2.5004Bram Moolenaar
Problem: Right shift on negative number does not work as documented. Solution: Use a uvarnumber_T type cast.
2022-05-22patch 8.2.5003: cannot do bitwise shiftsv8.2.5003Yegappan Lakshmanan
Problem: Cannot do bitwise shifts. Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
2022-05-10patch 8.2.4930: interpolated string expression requires escapingv8.2.4930Bram Moolenaar
Problem: Interpolated string expression requires escaping. Solution: Do not require escaping in the expression.
2022-05-07patch 8.2.4912: using execute() to define a lambda doesn't workv8.2.4912Bram Moolenaar
Problem: Using execute() to define a lambda doesn't work. (Ernie Rael) Solution: Put the getline function in evalarg. (closes #10375)
2022-05-06patch 8.2.4897: comment inside an expression in lambda ignores the restv8.2.4897Bram Moolenaar
Problem: Comment inside an expression in lambda ignores the rest of the expression. Solution: Truncate the line at the comment. (closes #10367)
2022-05-06patch 8.2.4896: expression in command block does not look after NLv8.2.4896Bram Moolenaar
Problem: Expression in command block does not look after NL when command is typed. Solution: Skip over NL also when not in a script. (closes #10358)
2022-05-06patch 8.2.4883: string interpolation only works in heredocv8.2.4883LemonBoy
Problem: String interpolation only works in heredoc. Solution: Support interpolated strings. Use syntax for heredoc consistent with strings, similar to C#. (closes #10327)
2022-05-05patch 8.2.4869: expression in command block does not look after NLv8.2.4869Bram Moolenaar
Problem: Expression in command block does not look after NL. Solution: Skip over NL to check what follows. (closes #10358)
2022-04-29patch 8.2.4847: crash when using uninitialized function pointerv8.2.4847LemonBoy
Problem: Crash when using uninitialized function pointer. Solution: Check for NULL pointer. (closes #10319, closes #10319)
2022-04-24patch 8.2.4822: setting ufunc to NULL twicev8.2.4822LemonBoy
Problem: Setting ufunc to NULL twice. Solution: Set ufunc to NULL in find_exported(). (closes #19275)
2022-04-24patch 8.2.4821: crash when imported autoload script was deletedv8.2.4821Bram Moolenaar
Problem: Crash when imported autoload script was deleted. Solution: Initialize local variable. (closes #10274) Give a more meaningful error message.
2022-04-17patch 8.2.4774: crash when using a number for lambda namev8.2.4774Bram Moolenaar
Problem: Crash when using a number for lambda name. Solution: Check the type of the lambda reference.
2022-04-15patch 8.2.4755: cannot use <SID>FuncRef in completion specv8.2.4755Bram Moolenaar
Problem: Cannot use <SID>FuncRef in completion spec. Solution: Dereference a function name in another way. (closes #10197)
2022-04-15patch 8.2.4753: error from setting an option is silently ignoredv8.2.4753Bram Moolenaar
Problem: Error from setting an option is silently ignored. Solution: Handle option value errors better. Fix uses of N_().
2022-04-11patch 8.2.4734: getcharpos() may change a mark positionv8.2.4734Bram Moolenaar
Problem: getcharpos() may change a mark position. Solution: Copy the mark position. (closes #10148)
2022-04-04patch 8.2.4682: Vim9: can use :unlockvar for const variablev8.2.4682Bram Moolenaar
Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael) Solution: Check whether the variable is a const.
2022-04-01patch 8.2.4662: no error for using out of range list indexv8.2.4662Bram Moolenaar
Problem: No error for using out of range list index. Solution: Check list index at script level like in compiled function. (closes #10051)
2022-03-31patch 8.2.4657: errors for functions are sometimes hard to readv8.2.4657Bram Moolenaar
Problem: Errors for functions are sometimes hard to read. Solution: Use printable_func_name() in more places.
2022-03-25patch 8.2.4622: Vim9: crash with :execute and :finishv8.2.4622Bram Moolenaar
Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov) Solution: Check for NULL. (closes #10011)
2022-03-19patch 8.2.4594: need to write script to a file to be able to source themv8.2.4594Yegappan Lakshmanan
Problem: Need to write script to a file to be able to source them. Solution: Make ":source" use lines from the current buffer. (Yegappan Lakshmanan et al., closes #9967)
2022-03-18patch 8.2.4589: cannot index the g: dictionaryv8.2.4589Bram Moolenaar
Problem: Cannot index the g: dictionary. Solution: Recognize using "g:[key]". (closes #9969)
2022-03-17patch 8.2.4584: error for using autoload function in custom completionv8.2.4584Bram Moolenaar
Problem: Error for using autoload function in custom completion. Solution: Do not check for errors when using an autoload function. (closes #9962)
2022-03-16patch 8.2.4582: useless code handling a type declarationv8.2.4582Bram Moolenaar
Problem: Useless code handling a type declaration. Solution: Remove the code and give an error.
2022-03-16patch 8.2.4578: no warning when autoload script for completion has an errorv8.2.4578Bram Moolenaar
Problem: No warning when an autoload script for completion function has an error. Solution: Do not ignore errors when a function name is given with a dot or '#' character. (closes #9958)
2022-03-15patch 8.2.4575: Vim9: test for profiling still failsv8.2.4575Bram Moolenaar
Problem: Vim9: test for profiling still fails. Solution: Update flags for profiling and breakpoints when obtaining the compile type. Do not set the FC_CLOSURE flag for a toplevel function.
2022-03-13patch 8.2.4556: test fails without the +job or +channel featurev8.2.4556Bram Moolenaar
Problem: Test fails without the +job or +channel feature. (Dominique Pellé) Solution: Adjust #ifdefs. Pass on skip flag. (closes #9942)
2022-03-10patch 8.2.4540: line number for error is off by onev8.2.4540Bram Moolenaar
Problem: Line number for error is off by one. Solution: Remember the line number of the comparison. (closes #9923)
2022-03-08patch 8.2.4526: Vim9: cannot set variables to a null valuev8.2.4526Bram Moolenaar
Problem: Vim9: cannot set variables to a null value. Solution: Add null_list, null_job, etc.
2022-02-13patch 8.2.4375: ctx_imports is not usedv8.2.4375Bram Moolenaar
Problem: ctx_imports is not used. Solution: Delete ctx_imports. Add missing dependency.
2022-02-13patch 8.2.4367: calling in_vim9script() multiple timesv8.2.4367Bram Moolenaar
Problem: Calling in_vim9script() multiple times. Solution: Call it once and keep the result.
2022-02-12patch 8.2.4360: Vim9: allowing use of "s:" leads to inconsistenciesv8.2.4360Bram Moolenaar
Problem: Vim9: allowing use of "s:" leads to inconsistencies. Solution: Disallow using "s:" in Vim9 script at the script level.
2022-02-11patch 8.2.4348: "legacy exe cmd" does not do what one would expectv8.2.4348Bram Moolenaar
Problem: "legacy exe cmd" does not do what one would expect. Solution: Apply the "legacy" and "vim9script" command modifiers to the argument of ":execute".
2022-02-08patch 8.2.4333: cstack not always passed to where it is neededv8.2.4333Bram Moolenaar
Problem: cstack not always passed to where it is needed. Solution: Pass ctack through functions.
2022-02-07patch 8.2.4322: Vim9: crash when using funcref with closurev8.2.4322Bram Moolenaar
Problem: Vim9: crash when using funcref with closure. Solution: Keep a reference to the funcref that has the outer context. (closes #9716)
2022-02-07patch 8.2.4318: various comment and indent mistakes, returning wrong zerov8.2.4318Bram Moolenaar
Problem: Various comment and indent mistakes, returning wrong zero. Solution: Fix the mistakes. Return NULL instead of FAIL.
2022-02-02patch 8.2.4286: Vim9: strict type checking after copy() and deepcopy()v8.2.4286Bram Moolenaar
Problem: Vim9: strict type checking after copy() and deepcopy(). Solution: Allow type to change after making a copy. (closes #9644)
2022-01-31patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar
Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
2022-01-29patch 8.2.4257: Vim9: finding global function without g: prefix inconsistentv8.2.4257Bram Moolenaar
Problem: Vim9: finding global function without g: prefix but not finding global variable is inconsistent. Solution: Require using g: for a global function. Change the vim9.vim script into a Vim9 script with exports. Fix that import in legacy script does not work.