summaryrefslogtreecommitdiffstats
path: root/src/eval.c
AgeCommit message (Collapse)Author
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.
2017-03-12patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
2017-02-25patch 8.0.0371: leaking memory when setting v:completed_itemv8.0.0371Bram Moolenaar
Problem: Leaking memory when setting v:completed_item. Solution: Or the flags instead of setting them.
2017-02-23patch 8.0.0360: sometimes VimL is used instead of "Vim script"v8.0.0360Bram Moolenaar
Problem: Sometimes VimL is used, which is confusing. Solution: Consistently use "Vim script". (Hirohito Higashi)
2017-02-23patch 8.0.0352: not easy to see when a typval needs to be clearedv8.0.0352Bram Moolenaar
Problem: The condition for when a typval needs to be cleared is too complicated. Solution: Init the type to VAR_UNKNOWN and clear it always.
2017-02-21patch 8.0.0345: islocked('d.changedtick') does not workv8.0.0345Bram Moolenaar
Problem: islocked('d.changedtick') does not work. Solution: Make it work.
2017-02-20patch 8.0.0344: unlet command leaks memoryv8.0.0344Bram Moolenaar
Problem: Unlet command leaks memory. (Nikolai Pavlov) Solution: Free the memory on error. (closes #1497)
2017-02-20patch 8.0.0343: b:changedtick can be unlockedv8.0.0343Bram Moolenaar
Problem: b:changedtick can be unlocked, even though it has no effect. (Nikolai Pavlov) Solution: Add a check and error E940. (closes #1496)
2017-02-17patch 8.0.0334: can't access b:changedtick from a dict referencev8.0.0334Bram Moolenaar
Problem: Can't access b:changedtick from a dict reference. Solution: Make changedtick a member of the b: dict. (inspired by neovim #6112)
2017-01-28patch 8.0.0254: error message of assert functions is sometimes incompletev8.0.0254Bram Moolenaar
Problem: When using an assert function one can either specify a message or get a message about what failed, not both. Solution: Concatenate the error with the message.
2017-01-22patch 8.0.0219: ubsan reports errors for overflowv8.0.0219Bram Moolenaar
Problem: Ubsan reports errors for integer overflow. Solution: Define macros for minimum and maximum values. Select an expression based on the value. (Mike Williams)
2017-01-14patch 8.0.0186: confusing error message from assert_notequal()v8.0.0186Bram Moolenaar
Problem: The error message from assert_notequal() is confusing. Solution: Only mention the expected value.
2017-01-12patch 8.0.0173: build fails with EBCDIC definedv8.0.0173Bram Moolenaar
Problem: When compiling with EBCDIC defined the build fails. (Yaroslav Kuzmin) Solution: Move sortFunctions() to the right file. Avoid warning for redefining __SUSV3.
2017-01-08patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG()v8.0.0160Bram Moolenaar
Problem: EMSG() is sometimes used for internal errors. Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
2017-01-08patch 8.0.0158: float funcion test fails on MS-Windowsv8.0.0158Bram Moolenaar
Problem: On MS-Windows some float functions return a different value when passed unusual values. strtod() doesn't work for "inf" and "nan". Solution: Accept both results. Fix str2float() for MS-Windows. Also reorder assert function arguments.
2016-11-17patch 8.0.0087v8.0.0087Bram Moolenaar
Problem: When the channel callback gets job info the job may already have been deleted. (lifepillar) Solution: Do not delete the job when the channel is still useful. (ichizok, closes #1242, closes #1245)
2016-11-14patch 8.0.0085v8.0.0085Bram Moolenaar
Problem: Using freed memory with recursive function call. (Dominique Pelle) Solution: Make a copy of the function name.
2016-11-10patch 8.0.0074v8.0.0074Bram Moolenaar
Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where.
2016-10-09patch 8.0.0027v8.0.0027Bram Moolenaar
Problem: A channel is closed when reading on stderr or stdout fails, but there may still be something to read on another part. Solution: Turn ch_to_be_closed into a bitfield. (Ozaki Kiichi)
2016-09-26patch 8.0.0016v8.0.0016Bram Moolenaar
Problem: Build fails. Solution: Include missing change.
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-27patch 7.4.2273v7.4.2273Bram Moolenaar
Problem: getwininfo() and getbufinfo() are inefficient. Solution: Do not make a copy of all window/buffer-local options. Make it possible to get them with gettabwinvar() or getbufvar().
2016-08-26patch 7.4.2256v7.4.2256Bram Moolenaar
Problem: Coverity complains about null pointer check. Solution: Remove wrong and superfluous error check.
2016-08-20patch 7.4.2231v7.4.2231Bram Moolenaar
Problem: ":oldfiles" output is a very long list. Solution: Add a pattern argument. (Coot, closes #575)