summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
AgeCommit message (Collapse)Author
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-21patch 8.0.0210: no support for bracketed pastev8.0.0210Bram Moolenaar
Problem: Vim does not support bracketed paste, as implemented by xterm and other terminals. Solution: Add t_BE, t_BD, t_PS and t_PE.
2017-01-20patch 8.0.0207: leaking file descriptor when system() failsv8.0.0207Bram Moolenaar
Problem: Leaking file descriptor when system() cannot find the buffer. (Coverity) Solution: Close the file descriptor. (Dominique Pelle, closes #1398)
2017-01-17patch 8.0.0199: compiler warnings for libcallv8.0.0199Bram Moolenaar
Problem: Warning for an unused parameter when the libcall feature is disabled. Warning for a function type cast when compiling with -pedantic. Solution: Add UNUSED. Use a different type cast. (Damien Molinier)
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-10patch 8.0.0167: str2nr()/str2float() fail with negative valuesv8.0.0167Bram Moolenaar
Problem: str2nr() and str2float() do not always work with negative values. Solution: Be more flexible about handling signs. (LemonBoy, closes #1332) Add more tests.
2017-01-10patch 8.0.0166: JSON with a duplicate key gives an internal errorv8.0.0166Bram Moolenaar
Problem: JSON with a duplicate key gives an internal error. (Lcd) Solution: Give a normal error. Avoid an error when parsing JSON from a remote client fails.
2017-01-08patch 8.0.0151: passing buffer content to system() is clumsyv8.0.0151Bram Moolenaar
Problem: To pass buffer content to system() and systemlist() one has to first create a string or list. Solution: Allow passing a buffer number. (LemonBoy, closes #1240)
2017-01-06patch 8.0.0147: searchpair() fails when 'magic' is offv8.0.0147Bram Moolenaar
Problem: searchpair() does not work when 'magic' is off. (Chris Paul) Solution: Add \m in the pattern. (Christian Brabandt, closes #1341)
2017-01-06patch 8.0.0143: line number of current buffer in getbufinfo() is wrongv8.0.0143Bram Moolenaar
Problem: Line number of current buffer in getbufinfo() is wrong. Solution: For the current buffer use the current line number. (Ken Takata)
2016-12-04patch 8.0.0124v8.0.0124Bram Moolenaar
Problem: Internal error for assert_inrange(1, 1). Solution: Adjust number of allowed arguments. (Dominique Pelle)
2016-12-01patch 8.0.0107v8.0.0107Bram Moolenaar
Problem: When reading channel output in a timer, messages may go missing. (Skywind) Solution: Add the "drop" option. Write error messages in the channel log. Don't have ch_canread() check for the channel being open.
2016-11-29patch 8.0.0105v8.0.0105Bram Moolenaar
Problem: When using ch_read() with zero timeout, can't tell the difference between reading an empty line and nothing available. Solution: Add ch_canread().
2016-11-24patch 8.0.0096v8.0.0096Bram Moolenaar
Problem: When the input or output is not a tty Vim appears to hang. Solution: Add the --ttyfail argument. Also add the "ttyin" and "ttyout" features to be able to check in Vim script.
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-15patch 8.0.0035v8.0.0035Bram Moolenaar
Problem: Order of matches for 'omnifunc' is messed up. (Danny Su) Solution: Do not set compl_curr_match when called from complete_check(). (closes #1168)
2016-10-12patch 8.0.0029v8.0.0029Bram Moolenaar
Problem: Code for MS-Windows is complicated because of the exceptions for old systems. Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
2016-09-26patch 8.0.0015v8.0.0015Bram Moolenaar
Problem: Can't tell which part of a channel has "buffered" status. Solution: Add an optional argument to ch_status(). Let ch_info() also return "buffered" for out_status and err_status.
2016-09-25patch 8.0.0012v8.0.0012Bram Moolenaar
Problem: Typos in comments. Solution: Change "its" to "it's". (Matthew Brener, closes #1088)
2016-09-14patch 8.0.0004v8.0.0004Bram Moolenaar
Problem: A string argument for function() that is not a function name results in an error message with NULL. (Christian Brabandt) Solution: Use the argument for the error message.
2016-09-10patch 7.4.2359v7.4.2359Bram Moolenaar
Problem: Memory leak in timer_start(). Solution: Check the right field to be NULL.
2016-09-05patch 7.4.2332v7.4.2332Bram Moolenaar
Problem: Crash when stop_timer() is called in a callback of a callback. Vim hangs when the timer callback uses too much time. Solution: Set tr_id to -1 when a timer is to be deleted. Don't keep calling callbacks forever. (Ozaki Kiichi)
2016-09-04patch 7.4.2329v7.4.2329Bram Moolenaar
Problem: Error for min() and max() contains %s. (Nikolay Pavlov) Solution: Pass the function name. (closes #1040)
2016-09-01patch 7.4.2298v7.4.2298Bram Moolenaar
Problem: It is not possible to close the "in" part of a channel. Solution: Add ch_close_in().
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-28patch 7.4.2277v7.4.2277Bram Moolenaar
Problem: Memory leak in getbufinfo() when there is a sign. (Dominique Pelle) Solution: Remove extra vim_strsave().
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-27patch 7.4.2272v7.4.2272Bram Moolenaar
Problem: getbufinfo(), getwininfo() and gettabinfo() are inefficient. Solution: Instead of making a copy of the variables dictionary, use a reference.
2016-08-25patch 7.4.2253v7.4.2253Bram Moolenaar
Problem: Check for Windows 3.1 will always return false. (Christian Brabandt) Solution: Remove the dead code.
2016-08-24patch 7.4.2250v7.4.2250Bram Moolenaar
Problem: Some error message cannot be translated. Solution: Enclose them in _() and N_(). (Dominique Pelle)
2016-08-21patch 7.4.2235v7.4.2235Bram Moolenaar
Problem: submatch() does not check for a valid argument. Solution: Give an error if the argument is out of range. (Dominique Pelle)
2016-08-21patch 7.4.2233v7.4.2233Bram Moolenaar
Problem: Crash when using funcref() with invalid name. (Dominique Pelle) Solution: Check for NULL translated name.
2016-08-18patch 7.4.2226v7.4.2226Bram Moolenaar
Problem: The field names used by getbufinfo(), gettabinfo() and getwininfo() are not consistent. Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan)
2016-08-17patch 7.4.2224v7.4.2224Bram Moolenaar
Problem: Compiler warnings with older compiler and 64 bit numbers. Solution: Add "LL" to large values. (Mike Williams)
2016-08-17patch 7.4.2223v7.4.2223Bram Moolenaar
Problem: Buffer overflow when using latin1 character with feedkeys(). Solution: Check for an illegal character. Add a test.
2016-08-15patch 7.4.2215v7.4.2215Bram Moolenaar
Problem: It's not easy to find out if a window is a quickfix or location list window. Solution: Add "loclist" and "quickfix" entries to the dict returnec by getwininfo(). (Yegappan Lakshmanan)
2016-08-13patch 7.4.2206v7.4.2206Bram Moolenaar
Problem: Warning for unused function. Solution: Put the function inside #ifdef. (John Marriott)
2016-08-13patch 7.4.2205v7.4.2205Bram Moolenaar
Problem: 'wildignore' always applies to getcompletion(). Solution: Add an option to use 'wildignore' or not. (Yegappan Lakshmanan)
2016-08-12patch 7.4.2204v7.4.2204Bram Moolenaar
Problem: It is not easy to get information about buffers, windows and tabpages. Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan Lakshmanan)
2016-08-12patch 7.4.2200v7.4.2200Bram Moolenaar
Problem: Cannot get all information about a quickfix list. Solution: Add an optional argument to get/set loc/qf list(). (Yegappan Lakshmanan)
2016-08-07patch 7.4.2180v7.4.2180Bram Moolenaar
Problem: There is no easy way to stop all timers. There is no way to temporary pause a timer. Solution: Add timer_stopall() and timer_pause().
2016-08-06patch 7.4.2170v7.4.2170Bram Moolenaar
Problem: Cannot get information about timers. Solution: Add timer_info().
2016-08-06patch 7.4.2162v7.4.2162Bram Moolenaar
Problem: Result of getcompletion('', 'sign') depends on previous completion. Solution: Call set_context_in_sign_cmd(). (Dominique Pelle)
2016-08-05patch 7.4.2160v7.4.2160Bram Moolenaar
Problem: setmatches() mixes up values. (Nikolai Pavlov) Solution: Save the string instead of reusing a shared buffer.
2016-08-05patch 7.4.2158v7.4.2158Bram Moolenaar
Problem: Result of getcompletion('', 'cscope') depends on previous completion. (Christian Brabandt) Solution: Call set_context_in_cscope_cmd().
2016-08-03patch 7.4.2152v7.4.2152Bram Moolenaar
Problem: No proper translation of messages with a count. Solution: Use ngettext(). (Sergey Alyoshin)
2016-08-01patch 7.4.2137v7.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.2134v7.4.2134Bram Moolenaar
Problem: No error for using function() badly. Solution: Check for passing wrong function name. (Ken Takata)
2016-07-30patch 7.4.2129v7.4.2129Bram Moolenaar
Problem: Memory leak when using timer_start(). (Dominique Pelle) Solution: Don't copy the callback when using a partial.
2016-07-29patch 7.4.2121v7.4.2121Bram Moolenaar
Problem: No easy way to check if lambda and closure are supported. Solution: Add the +lambda feature.