summaryrefslogtreecommitdiffstats
path: root/src/eval.c
AgeCommit message (Collapse)Author
2018-12-22patch 8.1.0619: :echomsg and :echoerr do not handle List and Dictv8.1.0619Bram Moolenaar
Problem: :echomsg and :echoerr do not handle List and Dict like :echo does. (Daniel Hahler) Solution: Be more tolerant about the expression result type.
2018-12-21patch 8.1.0615: get_tv function names are not consistentv8.1.0615Bram Moolenaar
Problem: Get_tv function names are not consistent. Solution: Rename to tv_get.
2018-12-14patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string()v8.1.0583Bram Moolenaar
Problem: Using illogical name for get_dict_number()/get_dict_string(). Solution: Rename to start with dict_.
2018-12-05patch 8.1.0564: setting v:errors to wrong type still possiblev8.1.0564Bram Moolenaar
Problem: Setting v:errors to wrong type still possible. Solution: Return after giving an error message. (Christian Brabandt)
2018-12-04patch 8.1.0563: setting v:errors to a string give confusing errorv8.1.0563Bram Moolenaar
Problem: Setting v:errors to a string give confusing error. (Christian Brabandt) Solution: Change internal error into normal error message.
2018-11-28patch 8.1.0551: expression evaluation may repeat an error messagev8.1.0551Bram Moolenaar
Problem: Expression evaluation may repeat an error message. (Jason Franklin) Solution: Check for the value of did_emsg when giving an error for the :execute command.
2018-11-28patch 8.1.0550: expression evaluation may repeat an error messagev8.1.0550Bram Moolenaar
Problem: Expression evaluation may repeat an error message. (Jason Franklin) Solution: Increment did_emsg and check for the value when giving an error for the echo command.
2018-10-25patch 8.1.0495: :filter only supports some commandsv8.1.0495Bram Moolenaar
Problem: :filter only supports some commands. Solution: Add :filter support for more commands. (Marcin Szamotulski, closes #2856)
2018-10-25patch 8.1.0493: argv() and argc() only work on the current argument listv8.1.0493Bram Moolenaar
Problem: argv() and argc() only work on the current argument list. Solution: Add a window ID argument. (Yegappan Lakshmanan, closes #832)
2018-10-14patch 8.1.0475: memory not freed on exit when quit in autocmdv8.1.0475Bram Moolenaar
Problem: Memory not freed on exit when quit in autocmd. Solution: Remember funccal stack when executing autocmd.
2018-10-07patch 8.1.0460: assert_fails() does not take a message argumentv8.1.0460Bram Moolenaar
Problem: assert_fails() does not take a message argument Solution: Add the argument.
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-09-10patch 8.1.0362: cannot get the script line number when executing a functionv8.1.0362Bram Moolenaar
Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes #3362) Also display the line number with ":verbose set".
2018-08-01patch 8.1.0233: "safe" argument of call_vim_function() is always FALSEv8.1.0233Bram Moolenaar
Problem: "safe" argument of call_vim_function() is always FALSE. Solution: Remove the argument.
2018-07-25patch 8.1.0211: expanding a file name "~" results in $HOMEv8.1.0211Bram Moolenaar
Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran) Solution: Change "~" to "./~" before expanding. (closes #3072)
2018-07-25patch 8.1.0210: still a few K&R function declarationsv8.1.0210Bram Moolenaar
Problem: Still a few K&R function declarations. Solution: Use ANSI function declarations (Hirohito Higashi)
2018-07-14patch 8.1.0181: memory leak with trailing characters in skip expressionv8.1.0181Bram Moolenaar
Problem: Memory leak with trailing characters in skip expression. Solution: Free the return value.
2018-06-12patch 8.1.0053: first argument of 'completefunc' has inconsistent typev8.1.0053Bram Moolenaar
Problem: The first argument given to 'completefunc' can be Number or String, depending on the value. Solution: Avoid guessing the type of an argument, use typval_T in the callers of call_vim_function(). (Ozaki Kiichi, closes #2993)
2018-05-13patch 8.0.1832: cannot use :unlet for an environment variablev8.0.1832Bram Moolenaar
Problem: Cannot use :unlet for an environment variable. Solution: Make it work. Use unsetenv() if available. (Ken Takata, closes #2855)
2018-05-12patch 8.0.1817: a timer may change v:count unexpectedlyv8.0.1817Bram Moolenaar
Problem: A timer may change v:count unexpectedly. Solution: Save and restore v:count and similar variables when a timer callback is invoked. (closes #2897)
2018-04-28patch 8.0.1770: assert functions don't return anythingv8.0.1770Bram Moolenaar
Problem: Assert functions don't return anything. Solution: Return non-zero when the assertion fails.
2018-04-08patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()v8.0.1677Bram Moolenaar
Problem: No compiler warning for wrong format in vim_snprintf(). Solution: Add printf attribute for gcc. Fix reported problems.
2018-04-04patch 8.0.1660: the terminal API "drop" command doesn't support optionsv8.0.1660Bram Moolenaar
Problem: The terminal API "drop" command doesn't support options. Solution: Implement the options.
2018-03-04patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
2018-02-20patch 8.0.1529: assert_equalfile() does not close file descriptorsv8.0.1529Bram Moolenaar
Problem: Assert_equalfile() does not close file descriptors. (Coverity) Solution: Close the file descriptors.
2018-02-18patch 8.0.1523: cannot write and read terminal screendumpsv8.0.1523Bram Moolenaar
Problem: Cannot write and read terminal screendumps. Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). Also add assert_equalfile().
2018-02-13patch 8.0.1511: some code for the debugger watch expression is clumsyv8.0.1511Bram Moolenaar
Problem: Some code for the debugger watch expression is clumsy. Solution: Clean up the code.
2018-02-13patch 8.0.1510: cannot test if a command causes a beepv8.0.1510Bram Moolenaar
Problem: Cannot test if a command causes a beep. Solution: Add assert_beeps().
2018-02-11patch 8.0.1505: debugger can't break on a conditionv8.0.1505Bram Moolenaar
Problem: Debugger can't break on a condition. (Charles Campbell) Solution: Add ":breakadd expr". (Christian Brabandt, closes #859)
2018-02-10patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2017-12-16patch 8.0.1394: cannot intercept a yank commandv8.0.1394Bram Moolenaar
Problem: Cannot intercept a yank command. Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al., closes #2333)
2017-12-07patch 8.0.1377: cannot call a dict function in autoloaded dictv8.0.1377Bram Moolenaar
Problem: Cannot call a dict function in autoloaded dict. Solution: Call get_lval() passing the read-only flag.
2017-11-02patch 8.0.1242: function argument with only dash is seen as number zerov8.0.1242Bram Moolenaar
Problem: Function argument with only dash is seen as number zero. (Wang Shidong) Solution: See a dash as a string. (Christian Brabandt)
2017-10-30patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()v8.0.1239Bram Moolenaar
Problem: Cannot use a lambda for the skip argument to searchpair(). Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454, closes #2265)
2017-10-24patch 8.0.1215: newer gcc warns for implicit fallthroughv8.0.1215Bram Moolenaar
Problem: Newer gcc warns for implicit fallthrough. Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2017-10-14patch 8.0.1194: actual fg and bg colors of terminal are unknownv8.0.1194Bram Moolenaar
Problem: Actual fg and bg colors of terminal are unknown. Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
2017-10-02patch 8.0.1172: when E734 is given option is still setv8.0.1172Bram Moolenaar
Problem: When E734 is given option is still set. Solution: Assign NULL to "s". (Christian Brabandt)
2017-09-17patch 8.0.1123: cannot define a toolbar for a windowv8.0.1123Bram Moolenaar
Problem: Cannot define a toolbar for a window. Solution: Add a window-local toolbar.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
2017-08-30patch 8.0.1016: gnome terminal echoes t_RCv8.0.1016Bram Moolenaar
Problem: Gnome terminal echoes t_RC. Solution: Detect Gnome terminal by the version string. Add v: variables for all the term responses.
2017-08-05patch 8.0.0867: job and channel in a dict value not quotedv8.0.0867Bram Moolenaar
Problem: When using a job or channel value as a dict value, when turning it into a string the quotes are missing. Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto, closes #1930)
2017-07-29patch 8.0.0804: running tests fails when stdin is /dev/nullv8.0.0804Bram Moolenaar
Problem: Running tests fails when stdin is /dev/null. (James McCoy) Solution: Do not bail out from getting input if the --not-a-term argument was given. (closes #1460)
2017-07-27patch 8.0.0784: job of terminal may be garbage collectedv8.0.0784Bram Moolenaar
Problem: Job of terminal may be garbage collected. Solution: Set copyID on job in terminal. (Ozaki Kiichi)
2017-04-30patch 8.0.0593: duplication of code for adding a list or dict return valuev8.0.0593Bram Moolenaar
Problem: Duplication of code for adding a list or dict return value. Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)
2017-04-30patch 8.0.0590: cannot add a context to locationsv8.0.0590Bram Moolenaar
Problem: Cannot add a context to locations. Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan, closes #1012)
2017-04-07patch 8.0.0547: extra line break in verbosefilev8.0.0547Bram Moolenaar
Problem: Extra line break in verbosefile when using ":echomsg". (Ingo Karkat) Solution: Don't call msg_start(). (closes #1618)
2017-04-03patch 8.0.0542: getpos() can return a negative line numberv8.0.0542Bram Moolenaar
Problem: getpos() can return a negative line number. (haya14busa) Solution: Handle a zero topline and botline. (closes #1613)
2017-03-18patch 8.0.0477: the client-server test may hang when failingv8.0.0477Bram Moolenaar
Problem: The client-server test may hang when failing. Solution: Set a timer. Add assert_report()
2017-03-16patch 8.0.0467: using g< after :for does not show the right outputv8.0.0467Bram Moolenaar
Problem: Using g< after :for does not show the right output. (Marcin Szamotulski) Solution: Call msg_sb_eol() in :echomsg.
2017-03-12patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.