summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
AgeCommit message (Collapse)Author
2021-12-31patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-31patch 8.2.3956: duplicate assignmentv8.2.3956zeertzjq
Problem: Duplicate assignment. Solution: Remove the second assignment. (closes #9442)
2021-12-27patch 8.2.3911: Vim9: type check for filter() does not accept unknownv8.2.3911Bram Moolenaar
Problem: Vim9: type check for filter() does not accept unknown. Solution: Also accept unknown for the return type. (closes #9413)
2021-12-26patch 8.2.3904: Vim9: skip expression type is not checked at compile timev8.2.3904Bram Moolenaar
Problem: Vim9: skip expression type is not checked at compile time. Solution: Add argument type checks.
2021-12-25patch 8.2.3899: Vim9: test for map() on string failsv8.2.3899Bram Moolenaar
Problem: Vim9: test for map() on string fails. Solution: Expect string return type.
2021-12-25patch 8.2.3897: Vim9: second argument of map() and filter() not checkedv8.2.3897Bram Moolenaar
Problem: Vim9: the second argument of map() and filter() is not checked at compile time. Solution: Add more specific type check for the second argument.
2021-12-25patch 8.2.3895: Vim9: confusing error when using function() with a numberv8.2.3895Bram Moolenaar
Problem: Vim9: confusing error when using function() with a number. Solution: Check for a function or string argument.
2021-12-25patch 8.2.3894: Vim9: no proper type check for first argument of call()v8.2.3894Bram Moolenaar
Problem: Vim9: no proper type check for first argument of call(). Solution: Add specific type check.
2021-12-24patch 8.2.3889: duplicate code for translating script-local function namev8.2.3889Yegappan Lakshmanan
Problem: Duplicate code for translating script-local function name. Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan, closes #9393)
2021-12-24patch 8.2.3882: more duplicated code in f_getreginfo()v8.2.3882zeertzjq
Problem: More duplicated code in f_getreginfo(). Solution: Also use getreg_get_regname(). (closes #9398)
2021-12-24patch 8.2.3879: getreg() and getregtype() contain dead codev8.2.3879Bram Moolenaar
Problem: getreg() and getregtype() contain dead code. Solution: Remove the needless check. (closes #9392) Also refactor to put common code in a shared function.
2021-12-22patch 8.2.3872: Vim9: finddir() and uniq() return types can be more specificv8.2.3872Bram Moolenaar
Problem: Vim9: finddir() and uniq() return types can be more specific. Solution: Adjust the return type.
2021-12-21patch 8.2.3866: Vim9: type checking global variables is inconsistentv8.2.3866Bram Moolenaar
Problem: Vim9: type checking global variables is inconsistent. Solution: Use the "unknown" type in more places.
2021-12-20patch 8.2.3857: Vim9: inconsistent error for using function()v8.2.3857Bram Moolenaar
Problem: Vim9: inconsistent error for using function(). Solution: Use a runtime type check for the result of function(). (closes #8492)
2021-12-18patch 8.2.3848: cannot use reduce() for a stringv8.2.3848rbtnn
Problem: Cannot use reduce() for a string. Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
2021-12-16patch 8.2.3830: error messages are spread outv8.2.3830Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2021-12-16patch 8.2.3822: leaking memory in map() and filter(), no string in Vim9v8.2.3822Bram Moolenaar
Problem: Leaking memory in map() and filter(), cannot use a string argument in Vim9 script. Solution: Fix the leak, adjust the argument check, also run the tests as Vim9 script. (Yegappan Lakshmanan, closes #9354)
2021-12-13patch 8.2.3795: too many #ifdefsv8.2.3795Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the jumplist feature.
2021-11-30patch 8.2.3705: cannot pass a lambda name to function() or funcref()v8.2.3705Bram Moolenaar
Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan Lakshmanan) Solution: Handle a lambda name differently.
2021-11-29patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
2021-11-03patch 8.2.3578: manipulating highlighting is complicatedv8.2.3578Yegappan Lakshmanan
Problem: Manipulating highlighting is complicated. Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan, closes #9039)
2021-11-03patch 8.2.3576: some functions are not documented for use with a methodv8.2.3576Sean Dewar
Problem: Some functions are not documented for use with a method. Solution: Add examples. Fix that sign_unplacelist() only takes one argument. (Sean Dewar, closes #9081)
2021-10-17patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" worksv8.2.3530Bram Moolenaar
Problem: ":buf \{a}" fails while ":edit \{a}" works. Solution: Unescape "\{". (closes #8917)
2021-10-14patch 8.2.3510: changes are only detected with one second accuracyv8.2.3510Leah Neukirchen
Problem: Changes are only detected with one second accuracy. Solution: Use the nanosecond time if possible. (Leah Neukirchen, closes #8873, closes #8875)
2021-09-26patch 8.2.3456: Vim9: not all functions are tested with empty string argumentv8.2.3456Yegappan Lakshmanan
Problem: Vim9: Not all functions are tested with an empty string argument. Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
2021-09-14patch 8.2.3438: cannot manipulate blobsv8.2.3438Yegappan Lakshmanan
Problem: Cannot manipulate blobs. Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan, closes #8868)
2021-09-08patch 8.2.3415: Vim9: not all function argument types are properly checkedv8.2.3415Yegappan Lakshmanan
Problem: Vim9: Not all function argument types are properly checked. Solution: Add and improve argument type checks. (Yegappan Lakshmanan, closes #8839)
2021-09-04patch 8.2.3401: Vim9: cannot use negative count with finddir() and findfile()v8.2.3401Bram Moolenaar
Problem: Vim9: cannot use a negative count with finddir() and findfile(). Solution: Adjust the return type. (closes #8776)
2021-09-02patch 8.2.3396: when libcall() fails invalid pointer may be usedv8.2.3396Bram Moolenaar
Problem: When libcall() fails invalid pointer may be used. Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
2021-08-28patch 8.2.3380: crash when using NULL string for funcref()v8.2.3380Bram Moolenaar
Problem: Crash when using NULL string for funcref(). Solution: Check for NULL argument. (issue #8260)
2021-08-19patch 8.2.3360: user function completion fails with dict functionv8.2.3360naohiro ono
Problem: User function completion fails with dict function. Solution: Do not stop sequencing through the list if user functions when encountering an empty name. (Naohiro Ono, closes #8765, closes #8774)
2021-08-16patch 8.2.3356: adding many text properties requires a lot of function callsv8.2.3356Yegappan Lakshmanan
Problem: Adding many text properties requires a lot of function calls. Solution: Add the prop_add_list() function. (Yegappan Lakshmanan, closes #8751)
2021-08-13patch 8.2.3337: completing "call g:" returns entries with just "g:"v8.2.3337Bram Moolenaar
Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono) Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
2021-08-12patch 8.2.3334: Vim9: not enough tests run with Vim9v8.2.3334Bram Moolenaar
Problem: Vim9: not enough tests run with Vim9. Solution: Run a few more tests in Vim9 script and :def function. Fix islocked(). Fix error for locking local variable.
2021-08-08patch 8.2.3316: float test failsv8.2.3316Bram Moolenaar
Problem: Float test fails. Solution: Add missing change.
2021-08-08patch 8.2.3314: behavior of exists() in a :def function is unpredictablev8.2.3314Bram Moolenaar
Problem: Behavior of exists() in a :def function is unpredictable. Solution: Add exists_compiled().
2021-08-06patch 8.2.3300: Lua: can only execute on Vim command at a timev8.2.3300Yegappan Lakshmanan
Problem: Lua: can only execute on Vim command at a time. Not easy to get the Vim version. Solution: Make vim.command() accept multiple lines. Add vim.version(). (Yegappan Lakshmanan, closes #8716)
2021-08-05patch 8.2.3299: Vim9: exists() does not handle much at compile timev8.2.3299Bram Moolenaar
Problem: Vim9: exists() does not handle much at compile time. Solution: Handle variable names. (closes #8688)
2021-08-02patch 8.2.3276: Vim9: exists() can only be evaluated at runtimev8.2.3276Bram Moolenaar
Problem: Vim9: exists() can only be evaluated at runtime. Solution: Evaluate at compile time for option name literals. (closes #8437)
2021-08-01patch 8.2.3269: Vim9: wrong argument check for partialv8.2.3269Bram Moolenaar
Problem: Vim9: wrong argument check for partial. (Naohiro Ono) Solution: Handle getting return type without arguments. Correct the minimal number of arguments for what is included in the partial. (closes #8667)
2021-07-31patch 8.2.3261: Vim9: when compiling repeat(123, N) return type is numberv8.2.3261Bram Moolenaar
Problem: Vim9: when compiling repeat(123, N) return type is number. Solution: Make return type a string. (closes #8664)
2021-07-30patch 8.2.3252: duplicated code for adding buffer linesv8.2.3252Yegappan Lakshmanan
Problem: Duplicated code for adding buffer lines. Solution: Move code to a common function. Also move map functions to map.c. (Yegappan Lakshmanan, closes #8665)
2021-07-27patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan
Problem: Vim9: runtime and compile time type checks are not the same. Solution: Add more runtime type checks for builtin functions. (Yegappan Lakshmanan, closes #8646)
2021-07-26patch 8.2.3226: new digraph functions use old naming schemev8.2.3226h-east
Problem: New digraph functions use old naming scheme. Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580)
2021-07-25patch 8.2.3221: Vim9: argument types are not checked at compile timev8.2.3221Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
2021-07-24patch 8.2.3215: Vim9: argument types are not checked at compile timev8.2.3215Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. Sort the argument lists. (Yegappan Lakshmanan, closes #8626)
2021-07-24patch 8.2.3211: Vim9: argument types are not checked at compile timev8.2.3211Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. Fix type check for matchaddpos(). (Yegappan Lakshmanan, closes #8619)
2021-07-23patch 8.2.3206: Vim9: argument types are not checked at compile timev8.2.3206Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
2021-07-22patch 8.2.3203: Vim9: compiled string expression causes type errorv8.2.3203Bram Moolenaar
Problem: Vim9: compiled string expression causes type error. (Yegappan Lakshmanan) Solution: Remove the string type from the stack.
2021-07-21patch 8.2.3194: Vim9: argument types are not checked at compile timev8.2.3194Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, simplify some. (Yegappan Lakshmanan, closes #8598)