summaryrefslogtreecommitdiffstats
path: root/src/eval.c
AgeCommit message (Collapse)Author
2019-01-26patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-25patch 8.1.0819: a failed assert with a long string is hard to readv8.1.0819Bram Moolenaar
Problem: A failed assert with a long string is hard to read. Solution: Shorten the assert message.
2019-01-24patch 8.1.0805: too many #ifdefsv8.1.0805Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 1.
2019-01-24patch 8.1.0804: crash when setting v:errmsg to empty listv8.1.0804Bram Moolenaar
Problem: Crash when setting v:errmsg to empty list. (Jaon Franklin) Solution: Separate getting value and assigning result.
2019-01-24patch 8.1.0802: negative index doesn't work for Blobv8.1.0802Bram Moolenaar
Problem: Negative index doesn't work for Blob. Solution: Make it work, add a test. (closes #3856)
2019-01-23patch 8.1.0798: changing a blob while iterating over it works strangelyv8.1.0798Bram Moolenaar
Problem: Changing a blob while iterating over it works strangely. Solution: Make a copy of the Blob before iterating.
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-17patch 8.1.0766: various problems when using Vim on VMSv8.1.0766Bram Moolenaar
Problem: Various problems when using Vim on VMS. Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
2019-01-17patch 8.1.0765: string format of a Blob can't be parsed backv8.1.0765Bram Moolenaar
Problem: String format of a Blob can't be parsed back. Solution: Use 0z format.
2019-01-15patch 8.1.0756: copy() does not make a copy of a Blobv8.1.0756Bram Moolenaar
Problem: copy() does not make a copy of a Blob. Solution: Make a copy.
2019-01-15patch 8.1.0753: printf format not checked for semsg()v8.1.0753Bram Moolenaar
Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes #3805)
2019-01-14patch 8.1.0749: error message contains garbagev8.1.0749Bram Moolenaar
Problem: Error message contains garbage. (Dominique Pelle) Solution: Use correct pointer to failed expression.
2019-01-14patch 8.1.0747: map() with a bad expression doesn't give an errorv8.1.0747Bram Moolenaar
Problem: map() with a bad expression doesn't give an error. (Ingo Karkat) Solution: Check for giving an error message. (closes #3800)
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
2019-01-13patch 8.1.0741: viminfo with Blob is not testedv8.1.0741Bram Moolenaar
Problem: Viminfo with Blob is not tested. Solution: Extend the viminfo test. Fix reading a blob. Fixed storing a special variable value.
2019-01-13patch 8.1.0740: Tcl test failsv8.1.0740Bram Moolenaar
Problem: Tcl test fails. Solution: When the argument is empty don't give an error, instead rely on the error reporting higher up.
2019-01-13patch 8.1.0738: using freed memory, for loop over blob leaks memoryv8.1.0738Bram Moolenaar
Problem: Using freed memory, for loop over blob leaks memory. Solution: Clear pointer after freeing memory. Decrement reference count after for loop over blob.
2019-01-13patch 8.1.0737: compiler warning for uninitialized variablev8.1.0737Bram Moolenaar
Problem: Compiler warning for uninitialized variable. Solution: Add initialization. (John Marriott)
2019-01-13patch 8.1.0736: code for Blob not sufficiently testedv8.1.0736Bram Moolenaar
Problem: Code for Blob not sufficiently tested. Solution: Add more tests. Fix uncovered crash. Add test_null_blob().
2019-01-12patch 8.1.0735: cannot handle binary datav8.1.0735Bram Moolenaar
Problem: Cannot handle binary data. Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
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)