summaryrefslogtreecommitdiffstats
path: root/src/eval.c
AgeCommit message (Collapse)Author
2023-05-05patch 9.0.1508: catch does not work when lines are joined with a newlinev9.0.1508zeertzjq
Problem: Catch does not work when lines are joined with a newline. Solution: Set "nextcmd" appropriately. (closes #12348)
2023-05-02patch 9.0.1505: error when heredoc content looks like heredocv9.0.1505zeertzjq
Problem: Error when heredoc content looks like heredoc. Solution: Handle curly expressions. (closes #12325)
2023-04-13patch 9.0.1452: code using EVAL_CONSTANT is dead, it is never setv9.0.1452zeertzjq
Problem: Code using EVAL_CONSTANT is dead, it is never set. Solution: Remove EVAL_CONSTANT. (closes #12252)
2023-03-11patch 9.0.1401: condition is always truev9.0.1401zeertzjq
Problem: Condition is always true. Solution: Remove the condition. (closes #12139)
2023-03-07patch 9.0.1390: FOR_ALL_ macros are defined in an unexpected filev9.0.1390Yegappan Lakshmanan
Problem: FOR_ALL_ macros are defined in an unexpected file. Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS. (Yegappan Lakshmanan, closes #12109)
2023-03-05patch 9.0.1381: ACCESS_ names have a conflict with on some systemsv9.0.1381=?UTF-8?q?Ola=20S=C3=B6der?=
Problem: ACCESS_ names have a conflict with on some systems. Solution: Rename by prepending VIM_. (Ola Söder, closes #12105)
2023-02-21patch 9.0.1338: :defcompile and :disassemble can't find class methodv9.0.1338Bram Moolenaar
Problem: :defcompile and :disassemble can't find class method. (Ernie Rael) Solution: Make a class name and class.method name work. (closes #11984)
2023-01-30patch 9.0.1266: error for space before ": type" is inconsistentv9.0.1266Bram Moolenaar
Problem: Error for space before ": type" is inconsistent. Solution: Give E1059 in more places. (closes #11868)
2023-01-24patch 9.0.1239: cannot have a line break before an object member accessv9.0.1239Bram Moolenaar
Problem: Cannot have a line break before an object member access. Solution: Check for "." in next line. (closes #11864)
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.