summaryrefslogtreecommitdiff
path: root/src/eval.c
AgeCommit message (Collapse)Author
2017-11-02patch 8.0.1242: function argument with only dash is seen as number zeroBram 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()Bram 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 fallthroughBram 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 unknownBram 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 setBram 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 windowBram 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 #ifdefsBram 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_RCBram 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 quotedBram 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/nullBram 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 collectedBram 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 valueBram 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 locationsBram 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 verbosefileBram 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 numberBram 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 failingBram 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 outputBram 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 caseBram 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 caseBram 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_itemBram 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"Bram 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 clearedBram 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 workBram Moolenaar
Problem: islocked('d.changedtick') does not work. Solution: Make it work.
2017-02-20patch 8.0.0344: unlet command leaks memoryBram 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 unlockedBram 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 referenceBram 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 incompleteBram 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 overflowBram 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()Bram 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 definedBram 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()Bram 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-WindowsBram 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.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.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.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.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.0016Bram Moolenaar
Problem: Build fails. Solution: Include missing change.
2016-08-29patch 7.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.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.2256Bram Moolenaar
Problem: Coverity complains about null pointer check. Solution: Remove wrong and superfluous error check.
2016-08-20patch 7.4.2231Bram Moolenaar
Problem: ":oldfiles" output is a very long list. Solution: Add a pattern argument. (Coot, closes #575)
2016-08-17patch 7.4.2224Bram Moolenaar
Problem: Compiler warnings with older compiler and 64 bit numbers. Solution: Add "LL" to large values. (Mike Williams)
2016-08-14patch 7.4.2209Bram Moolenaar
Problem: Cannot map <M-">. (Stephen Riehm) Solution: Solve the memory access problem in another way. (Dominique Pelle) Allow for using <M-\"> in a string.
2016-08-01patch 7.4.2143Bram Moolenaar
Problem: A funccal is garbage collected while it can still be used. Solution: Set copyID in all referenced functions. Do not list lambda functions with ":function".
2016-08-01patch 7.4.2141Bram Moolenaar
Problem: Coverity reports bogus NULL check. Solution: When checking for a variable in the funccal scope don't pass the varname.
2016-08-01patch 7.4.2137Bram Moolenaar
Problem: Using function() with a name will find another function when it is redefined. Solution: Add funcref(). Refer to lambda using a partial. Fix several reference counting issues.
2016-07-31patch 7.4.2134Bram Moolenaar
Problem: No error for using function() badly. Solution: Check for passing wrong function name. (Ken Takata)
2016-07-29patch 7.4.2120Bram Moolenaar
Problem: User defined functions can't be a closure. Solution: Add the "closure" argument. Allow using :unlet on a bound variable. (Yasuhiro Matsumoto, Ken Takata)
2016-07-29patch 7.4.2119Bram Moolenaar
Problem: Closures are not supported. Solution: Capture variables in lambdas from the outer scope. (Yasuhiro Matsumoto, Ken Takata)
2016-07-24patch 7.4.2101Bram Moolenaar
Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)