summaryrefslogtreecommitdiffstats
path: root/src/evalvars.c
AgeCommit message (Collapse)Author
2023-04-12patch 9.0.1447: condition is always truev9.0.1447zeertzjq
Problem: Condition is always true. Solution: Remove the useless condition. (closes #12253)
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-02-01patch 9.0.1271: using sizeof() and subtract array size is trickyv9.0.1271zeertzjq
Problem: Using sizeof() and subtract array size is tricky. Solution: Use offsetof() instead. (closes #11926)
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-12patch 9.0.1188: return value of type() for class and object unclearv9.0.1188Bram Moolenaar
Problem: Return value of type() for class and object unclear. Solution: Add v:t_object and v:t_class.
2023-01-12patch 9.0.1186: imported class does not work when used twice in a linev9.0.1186Bram Moolenaar
Problem: Imported class does not work when used twice in a line. Solution: Fix the type parsing.
2023-01-12patch 9.0.1185: using class from imported script not testedv9.0.1185Bram Moolenaar
Problem: Using class from imported script not tested. Solution: Add tests. Implement what is missing.
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-03patch 9.0.1137: some conditions are always falsev9.0.1137zeertzjq
Problem: Some conditions are always false. Solution: Remove the useless conditions. (closes #11776)
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".
2023-01-02patch 9.0.1132: code is indented more than neededv9.0.1132Yegappan Lakshmanan
Problem: Code is indented more than needed. Solution: Use an early return to reduce indentation. (Yegappan Lakshmanan, closes #11769)
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-12-02patch 9.0.0990: callback name argument is changed by setqflist()v9.0.0990Bram Moolenaar
Problem: Callback name argument is changed by setqflist(). Solution: Use the expanded function name for the callback, do not store it in the argument. (closes #11653)
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-25patch 9.0.0949: crash when unletting a variable while listing variablesv9.0.0949Bram Moolenaar
Problem: Crash when unletting a variable while listing variables. Solution: Disallow changing a hashtable while going over the entries. (closes #11435)
2022-11-16patch 9.0.0890: no test for what patch 9.0.0827 fixesv9.0.0890Bram Moolenaar
Problem: No test for what patch 9.0.0827 fixes. Solution: Add a test (still doesn't fail when fix is reverted).
2022-10-13patch 9.0.0744: in script in autoload dir exported variable is not foundv9.0.0744Bram Moolenaar
Problem: In script in autoload dir exported variable is not found. (Doug Kearns) Solution: Find the variable with the "script#" prefix. (closes #11361)
2022-10-12patch 9.0.0732: no check for white space before and after "=<<"v9.0.0732Bram Moolenaar
Problem: No check for white space before and after "=<<". (Doug Kearns) Solution: Check for white space in Vim9 script. (closes #11351)
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-09-21patch 9.0.0535: closure gets wrong value in for loop with two loop variablesv9.0.0535Bram Moolenaar
Problem: Closure gets wrong value in for loop with two loop variables. Solution: Correctly compute the number of loop variables to clear.
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-06patch 9.0.0398: members of funccall_T are inconsistently namedv9.0.0398Bram Moolenaar
Problem: Members of funccall_T are inconsistently named. Solution: Use the "fc_" prefix for all members.
2022-09-03patch 9.0.0364: clang static analyzer gives warningsv9.0.0364Yegappan Lakshmanan
Problem: Clang static analyzer gives warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #11043)
2022-09-02patch 9.0.0355: check for uppercase char in autoload name is wrongv9.0.0355thinca
Problem: Check for uppercase char in autoload name is wrong, it checks the name of the script. Solution: Remove the check. (closes #11031)
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-14patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-07-27patch 9.0.0092: plugins cannot change v:completed_itemv9.0.0092Shougo Matsushita
Problem: Plugins cannot change v:completed_item. Solution: Make v:completed_item writeable. (Shougo Matsushita, closes #10801)
2022-07-27patch 9.0.0090: no error when assigning bool to a string optionv9.0.0090Bram Moolenaar
Problem: No error when assigning bool to a string option with setwinvar(). Solution: Give an error (closes #10766)
2022-07-25patch 9.0.0066: switching window uneccarily when getting buffer optionsv9.0.0066zeertzjq
Problem: Switching window uneccarily when getting buffer options. Solution: Do not switch window when getting buffer options. (closes #10767)
2022-06-29patch 9.0.0003: functions are global while they could be localv9.0.0003Yegappan Lakshmanan
Problem: Functions are global while they could be local. Solution: Add "static". Add a few tests. (Yegappan Lakshmanan, closes #10612)
2022-05-25patch 8.2.5017: gcc 12.1 warns for uninitialized variablev8.2.5017mityu
Problem: Gcc 12.1 warns for uninitialized variable. Solution: Initialize the variable. (closes #10476)
2022-05-10patch 8.2.4934: string interpolation fails when not evaluatingv8.2.4934Bram Moolenaar
Problem: String interpolation fails when not evaluating. Solution: Skip the expression when not evaluating. (closes #10398)
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-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-04patch 8.2.4866: duplicate code in "get" functionsv8.2.4866LemonBoy
Problem: Duplicate code in "get" functions. Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar() and getbufvar(). (closes #10335)
2022-04-28patch 8.2.4840: heredoc expression evaluated even when skippingv8.2.4840Bram Moolenaar
Problem: Heredoc expression evaluated even when skipping. Solution: Don't evaluate when "skip" is set. (closes #10306)
2022-04-21patch 8.2.4804: expression in heredoc doesn't work for compiled functionv8.2.4804Yegappan Lakshmanan
Problem: Expression in heredoc doesn't work for compiled function. Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan, closes #10232)
2022-04-18patch 8.2.4783: Coverity warns for leaking memoryv8.2.4783Bram Moolenaar
Problem: Coverity warns for leaking memory. Solution: Use another strategy freeing "theline".
2022-04-17patch 8.2.4770: cannot easily mix expression and heredocv8.2.4770Yegappan Lakshmanan
Problem: Cannot easily mix expression and heredoc. Solution: Support in heredoc. (Yegappan Lakshmanan, closes #10138)
2022-04-15patch 8.2.4754: using cached values after unsetting some environment variablesv8.2.4754LemonBoy
Problem: Still using cached values after unsetting some known environment variables. Solution: Take care of the side effects. (closes #10194)
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-05patch 8.2.4698: Vim9: script variable has no flag that it was setv8.2.4698Bram Moolenaar
Problem: Vim9: script variable has no flag that it was set. Solution: Add a flag that it was set, to avoid giving it a value when used. (closes #10088)
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-28patch 8.2.4642: Vim9: in :def function script var cannot be nullv8.2.4642Bram Moolenaar
Problem: Vim9: in :def function script var cannot be null. Solution: Only initialize a script variable when not set to a null value. (closes #10034)
2022-03-27patch 8.2.4635: tests using null list or dict failv8.2.4635Bram Moolenaar
Problem: Tests using null list or dict fail. Solution: Only use the new rules for Vim9 script.
2022-03-27patch 8.2.4634: Vim9: cannot initialize a variable to null_listv8.2.4634Bram Moolenaar
Problem: Vim9: cannot initialize a variable to null_list. Solution: Give negative count to NEWLIST. (closes #10027) Also fix inconsistencies in comparing with null values.
2022-03-20patch 8.2.4600: Vim9: not enough test coverage for executing :def functionv8.2.4600Bram Moolenaar
Problem: Vim9: not enough test coverage for executing :def function. Solution: Add a few more tests. Fix inconsistencies.
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.