summaryrefslogtreecommitdiffstats
path: root/src/eval.c
AgeCommit message (Collapse)Author
2023-01-11patch 9.0.1180: compiler warnings without the +job featurev9.0.1180Bram Moolenaar
Problem: Compiler warnings without the +job feature. Solution: Adjust #ifdefs. (John Marriott)
2023-01-11patch 9.0.1175: the set_ref_in_item() function is too longv9.0.1175Yegappan Lakshmanan
Problem: The set_ref_in_item() function is too long. Solution: Use a separate function for more complicated types. (Yegappan Lakshmanan, closes #11802)
2023-01-06patch 9.0.1152: class "implements" argument not implementedv9.0.1152Bram Moolenaar
Problem: Class "implements" argument not implemented. Solution: Implement "implements" argument. Add basic checks for when a class implements an interface.
2023-01-05patch 9.0.1149: class members may be garbage collectedv9.0.1149Bram Moolenaar
Problem: Class members may be garbage collected. Solution: Mark class members as being in use.
2023-01-04patch 9.0.1145: invalid memory access with recursive substitute expressionv9.0.1145Bram Moolenaar
Problem: Invalid memory access with recursive substitute expression. Solution: Check the return value of vim_regsub().
2023-01-02patch 9.0.1133: error message names do not match the itemsv9.0.1133Bram Moolenaar
Problem: Error message names do not match the items. Solution: Add "_str" when the text contains "%s".
2022-12-27patch 9.0.1105: code is indented too muchv9.0.1105Yegappan Lakshmanan
Problem: Code is indented too much. Solution: Use an early return. (Yegappan Lakshmanan, closes #11756)
2022-12-19patch 9.0.1081: using "->" with split lines does not always workv9.0.1081Bram Moolenaar
Problem: Using "->" with split lines does not always work. Solution: Avoid trying to get another line. (closes #11723)
2022-12-18patch 9.0.1074: class members are not supported yetv9.0.1074Bram Moolenaar
Problem: Class members are not supported yet. Solution: Add initial support for class members.
2022-12-14patch 9.0.1060: private and public object members are not implemented yetv9.0.1060Bram Moolenaar
problem: Private and public object members are not implemented yet. Solution: Implement private and public object members.
2022-12-14patch 9.0.1059: build failure with some compilersv9.0.1059Bram Moolenaar
Problem: Build failure with some compilers that can't handle a declaration directly after a "case" statement. Solution: Add a block to put the declarations in.
2022-12-14patch 9.0.1058: string value of class and object do not have informationv9.0.1058Bram Moolenaar
Problem: String value of class and object do not have useful information. Solution: Add the class name and for the object the member values.
2022-12-10patch 9.0.1045: in a class object members cannot be initializedv9.0.1045Bram Moolenaar
Problem: In a class object members cannot be initialized. Solution: Support initializing object members. Make "dissassemble" work on an object method.
2022-12-09patch 9.0.1041: cannot define a method in a classv9.0.1041Bram Moolenaar
Problem: Cannot define a method in a class. Solution: Implement defining an object method. Make calling an object method work.
2022-12-08patch 9.0.1035: object members are not being marked as usedv9.0.1035Bram Moolenaar
Problem: Object members are not being marked as used, garbage collection may free them. Solution: Mark object members as used. Fix reference counting.
2022-12-08patch 9.0.1031: Vim9 class is not implemented yetv9.0.1031Bram Moolenaar
Problem: Vim9 class is not implemented yet. Solution: Add very basic class support.
2022-11-28patch 9.0.0967: leaking memory from autocmd windowsv9.0.0967Bram Moolenaar
Problem: Leaking memory from autocmd windows. Solution: Free window when auc_win is not NULL.
2022-11-28patch 9.0.0965: using one window for executing autocommands is insufficientv9.0.0965Bram Moolenaar
Problem: Using one window for executing autocommands is insufficient. Solution: Use up to five windows for executing autocommands.
2022-11-18patch 9.0.0904: various comment and indent flawsv9.0.0904Bram Moolenaar
Problem: Various comment and indent flaws. Solution: Improve comments and indenting.
2022-11-05patch 9.0.0836: wrong error when using extend() with funcrefv9.0.0836zeertzjq
Problem: Wrong error when using extend() with funcref. Solution: Better check the variable type. (closes #11468, closes #11455)
2022-11-02patch 9.0.0828: various typosv9.0.0828dundargoc
Problem: Various typos. Solution: Correct typos. (closes #11432)
2022-10-20patch 9.0.0804: crash when trying to divide a number by -1v9.0.0804Bram Moolenaar
Problem: Crash when trying to divice the largest negative number by -1. Solution: Handle this case specifically.
2022-10-10patch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnumv9.0.0712Bram Moolenaar
Problem: Wrong column when calling setcursorcharpos() with zero lnum. Solution: Set the line number before calling buf_charidx_to_byteidx(). (closes #11329)
2022-10-07patch 9.0.0683: cannot specify a time for :echowindowv9.0.0683Bram Moolenaar
Problem: Cannot specify a time for :echowindow. Solution: A count can be used to specify the display time. Add popup_findecho().
2022-10-01patch 9.0.0634: evaluating "expr" options has more overhead than neededv9.0.0634Bram Moolenaar
Problem: Evaluating "expr" options has more overhead than needed. Solution: Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr', "expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr', 'formatexpr', 'indentexpr' and 'charconvert'.
2022-10-01patch 9.0.0632: calling a function from an "expr" option has overheadv9.0.0632Bram Moolenaar
Problem: Calling a function from an "expr" option has too much overhead. Solution: Add call_simple_func() and use it for 'foldexpr'
2022-09-28patch 9.0.0618: calling function for reduce() has too much overheadv9.0.0618Bram Moolenaar
Problem: Calling function for reduce() has too much overhead. Solution: Do not create a funccall_T every time.
2022-09-23patch 9.0.0558: Coverity warns for possibly using NULL pointerv9.0.0558Bram Moolenaar
Problem: Coverity warns for possibly using NULL pointer. Solution: Only use "evalarg" when not NULL.
2022-09-23patch 9.0.0556: leaking memory with nested functionsv9.0.0556Bram Moolenaar
Problem: Leaking memory with nested functions. Solution: Free saved pointer.
2022-09-23patch 9.0.0554: using freed memory when command follows lambdav9.0.0554Bram Moolenaar
Problem: Using freed memory when command follows lambda. Solution: Don't free what is still in use. (closes #11201)
2022-09-22patch 9.0.0552: crash when using NUL in buffer that uses :sourcev9.0.0552Bram Moolenaar
Problem: Crash when using NUL in buffer that uses :source. Solution: Don't get a next line when skipping over NL.
2022-09-19patch 9.0.0502: a closure in a nested loop in a :def function does not workv9.0.0502Bram Moolenaar
Problem: A closure in a nested loop in a :def function does not work. Solution: Use an array of loopvars, one per loop level.
2022-09-17patch 9.0.0491: no good reason to build without the float featurev9.0.0491Bram Moolenaar
Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
2022-09-17patch 9.0.0487: using freed memory with combination of closuresv9.0.0487Bram Moolenaar
Problem: Using freed memory with combination of closures. Solution: Do not use a partial after it has been freed through the funcstack.
2022-09-17patch 9.0.0485: in :def function all closures in loop get the same variablesv9.0.0485Bram Moolenaar
Problem: In a :def function all closures in a loop get the same variables. Solution: Make a copy of loop variables used in a closure.
2022-09-14patch 9.0.0460: loop variable can't be foundv9.0.0460Bram Moolenaar
Problem: Loop variable can't be found. Solution: Adjust block_id of the loop variable each round.
2022-09-11patch 9.0.0444: trying to declare g:variable gives confusing errorv9.0.0444Bram Moolenaar
Problem: Trying to declare g:variable gives confusing error. Solution: Give a better error message. (closes #11108)
2022-09-10patch 9.0.0437: no error when custom completion function returns wrong typev9.0.0437Bram Moolenaar
Problem: No error when a custom completion function returns something else than the expected list. Solution: Give an error. (closes #11100)
2022-09-10patch 9.0.0435: compiler warning for uninitialized variablev9.0.0435Bram Moolenaar
Problem: Compiler warning for uninitialized variable. Solution: Initialize it.
2022-09-10patch 9.0.0433: Coverity warns for not checking allocation failurev9.0.0433Bram Moolenaar
Problem: Coverity warns for not checking allocation failure. Solution: Check that allocating a list or blob succeeded.
2022-09-07patch 9.0.0406: deferred functions not invoked when partial func exitsv9.0.0406Bram Moolenaar
Problem: Deferred functions not invoked when partial func exits. Solution: Create a funccall_T when calling a :def function.
2022-09-07patch 9.0.0405: arguments in a partial not used by a :def functionv9.0.0405Bram Moolenaar
Problem: Arguments in a partial not used by a :def function. Solution: Put the partial arguments on the stack.
2022-09-06patch 9.0.0397: :defer not tested with exceptions and ":qa!"v9.0.0397Bram Moolenaar
Problem: :defer not tested with exceptions and ":qa!". Solution: Test :defer works when exceptions are thrown and when ":qa!" is used. Invoke the deferred calls on exit.
2022-09-03patch 9.0.0371: compiler warning for uninitialized variablev9.0.0371Bram Moolenaar
Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable. (John Marriott)
2022-09-03patch 9.0.0366: cannot use import->Func() in lambdav9.0.0366Bram Moolenaar
Problem: Cannot use import->Func() in lambda. (Israel Chauca Fuentes) Solution: Adjust how an expression in a lambda is parsed. (closes #11042)
2022-09-02patch 9.0.0356: :echowindow sets the in_echowindow flag too earlyv9.0.0356Yasuhiro Matsumoto
Problem: :echowindow sets the in_echowindow flag too early. Solution: Set in_echowindow only when outputting the text. (Yasuhiro Matsumoto, closes #11033)
2022-09-01patch 9.0.0351: message window may obscure the command linev9.0.0351Bram Moolenaar
Problem: Message window may obscure the command line. Solution: Reduce the maximum height of the message window.
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.