summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
AgeCommit message (Collapse)Author
2020-09-29patch 8.2.1771: synIDattr() cannot get the value of ctermulv8.2.1771Bram Moolenaar
Problem: synIDattr() cannot get the value of ctermul. Solution: Add the "ul" value for "what". (closes #7037)
2020-09-28patch 8.2.1769: popup filter interferes with using :normal to move the cursorv8.2.1769Bram Moolenaar
Problem: A popup filter interferes with using :normal to move the cursor in a popup. Solution: Do not invoke the filter when ex_normal_busy is set.
2020-09-26patch 8.2.1751: using 2 where bool is expected may throw an errorv8.2.1751Bram Moolenaar
Problem: Using 2 where bool is expected may throw an error. Solution: Make this backwards compatible.
2020-09-26patch 8.2.1747: result of expand() unexpectedly depends on 'completeslash'v8.2.1747Bram Moolenaar
Problem: Result of expand() unexpectedly depends on 'completeslash'. Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto, closes #7021)
2020-09-25patch 8.2.1741: pathshorten() only supports using one characterv8.2.1741Bram Moolenaar
Problem: pathshorten() only supports using one character. Solution: Add an argument to control the length. (closes #7006)
2020-09-23patch 8.2.1729: endless loop when ":normal" feeds popup window filterv8.2.1729Bram Moolenaar
Problem: Endless loop when ":normal" feeds popup window filter. Solution: Add the ex_normal_busy_done flag.
2020-09-22patch 8.2.1727: a popup created with "cursorline" will ignore "firstline"v8.2.1727Bram Moolenaar
Problem: A popup created with "cursorline" will ignore "firstline". Solution: When both "cursorline" and "firstline" are present put the cursor on "firstline". (closes #7000) Add the "winid" argument to getcurpos().
2020-09-22patch 8.2.1726: fuzzy matching only works on stringsv8.2.1726Bram Moolenaar
Problem: Fuzzy matching only works on strings. Solution: Support passing a dict. Add matchfuzzypos() to also get the match positions. (Yegappan Lakshmanan, closes #6947)
2020-09-16patch 8.2.1691: Vim9: list<any> is not accepted where list<number> is expectedv8.2.1691Bram Moolenaar
Problem: Vim9: list<any> is not accepted where list<number> is expected. Solution: Add functions to allocate and free a type_T, use it in ISN_CHECKTYPE. (closes #6959)
2020-09-11patch 8.2.1665: cannot do fuzzy string matchingv8.2.1665Bram Moolenaar
Problem: Cannot do fuzzy string matching. Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
2020-09-06patch 8.2.1631: test_fails() does not check the context of the line numberv8.2.1631Bram Moolenaar
Problem: test_fails() does not check the context of the line number. Solution: Use another argument to specify the context of the line number.
2020-09-06patch 8.2.1627: Vim9: cannot pass "true" to submatch/term_gettty/term_startv8.2.1627Bram Moolenaar
Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and term_start() Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
2020-09-06patch 8.2.1624: Vim9: cannot pass "true" to split(), str2nr() and strchars()v8.2.1624Bram Moolenaar
Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars(). Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
2020-09-05patch 8.2.1619: Vim9: cannot pass "true" to spellsuggest()v8.2.1619Bram Moolenaar
Problem: Vim9: cannot pass "true" to spellsuggest(). Solution: Use tv_get_bool_chk(). (closes #6883)
2020-09-05patch 8.2.1616: Vim9: cannot pass "true" to synID()v8.2.1616Bram Moolenaar
Problem: Vim9: cannot pass "true" to synID(). Solution: Use tv_get_bool_chk(). (closes #6860)
2020-09-05patch 8.2.1615: Vim9: cannot pass "true" to searchdecl()v8.2.1615Bram Moolenaar
Problem: Vim9: cannot pass "true" to searchdecl(). Solution: use tv_get_bool_chk(). (closes #6881)
2020-09-05patch 8.2.1611: Vim9: cannot pass "true" to nr2char()v8.2.1611Bram Moolenaar
Problem: Vim9: cannot pass "true" to nr2char(). Solution: use tv_get_bool_chk(). (closes #6878)
2020-09-05patch 8.2.1610: Vim9: cannot pass "true" to list2str() and str2list()v8.2.1610Bram Moolenaar
Problem: Vim9: cannot pass "true" to list2str() and str2list(). Solution: Use tv_get_bool_chk(). (closes #6877)
2020-09-05patch 8.2.1606: Vim9: cannot use "true" with has()v8.2.1606Bram Moolenaar
Problem: Vim9: cannot use "true" with has(). Solution: Use tv_get_bool(). (closes #6876)
2020-09-05patch 8.2.1601: Vim9: cannot use 'true" with garbagecollect()v8.2.1601Bram Moolenaar
Problem: Vim9: cannot use 'true" with garbagecollect(). Solution: Use tv_get_bool(). (closes #6871)
2020-09-05patch 8.2.1600: Vim9: cannot use "true" with deepcopy()v8.2.1600Bram Moolenaar
Problem: Vim9: cannot use "true" with deepcopy(). Solution: Use tv_get_bool_chk(). (closes #6867)
2020-09-04patch 8.2.1592: Vim9: passing "true" to char2nr() failsv8.2.1592Bram Moolenaar
Problem: Vim9: passing "true" to char2nr() fails. Solution: Use tv_get_bool_chk(). (closes #6865)
2020-09-04patch 8.2.1588: cannot read back the prompt of a prompt bufferv8.2.1588Bram Moolenaar
Problem: Cannot read back the prompt of a prompt buffer. Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
2020-09-02patch 8.2.1577: Vim9: hasmapto()/mapcheck()/maparg() do nottake "true" argv8.2.1577Bram Moolenaar
Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as argument. Solution: Use tv_get_bool(). (closes #6822, closes #6824)
2020-09-02patch 8.2.1576: Vim9: index() does not take "true" as argumentv8.2.1576Bram Moolenaar
Problem: Vim9: index() does not take "true" as argument. Solution: Use tv_get_bool_chk(). (closes #6823)
2020-09-02patch 8.2.1573: Vim9: getreg() does not take "true" as argumentv8.2.1573Bram Moolenaar
Problem: Vim9: getreg() does not take "true" as argument. Solution: Use tv_get_bool_chk(). (closes #6820)
2020-09-02patch 8.2.1572: Vim9: expand() does not take "true" as argumentv8.2.1572Bram Moolenaar
Problem: Vim9: expand() does not take "true" as argument. Solution: Use tv_get_bool_chk(). (closes #6819)
2020-09-02patch 8.2.1569: Vim9: fixes not tested; failure in getchangelist()v8.2.1569Bram Moolenaar
Problem: Vim9: fixes for functions not tested; failure in getchangelist(). Solution: Add tests. (closes #6813, closes #6815, closes #6817)
2020-08-30patch 8.2.1544: cannot translate messages in a Vim scriptv8.2.1544Bram Moolenaar
Problem: Cannot translate messages in a Vim script. Solution: Add gettext(). Try it out for a few messages in the options window.
2020-08-28patch 8.2.1536: cannot get the class of a character; emoji widths are wrongv8.2.1536Bram Moolenaar
Problem: Cannot get the class of a character; emoji widths are wrong in some environments. Solution: Add charclass(). Update some emoji widths. Add script to check emoji widths.
2020-08-28patch 8.2.1535: it is not possible to specify cell widths of charactersv8.2.1535Bram Moolenaar
Problem: It is not possible to specify cell widths of characters. Solution: Add setcellwidths().
2020-08-28patch 8.2.1533: Vim9: error when passing getreginfo() result to setreg()v8.2.1533Bram Moolenaar
Problem: Vim9: error when passing getreginfo() result to setreg(). Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
2020-08-23patch 8.2.1517: cannot easily get the character under the cursorv8.2.1517Bram Moolenaar
Problem: Cannot easily get the character under the cursor. Solution: Add the {chars} argument to strpart().
2020-08-20patch 8.2.1491: Vim9: crash when compiling heredoc lines start with commentv8.2.1491Bram Moolenaar
Problem: Vim9: crash when compiling heredoc lines start with comment. Solution: Skip over NULL pointers. Do not remove comment and empty lines when fetching function lines. (closes #6743)
2020-08-18patch 8.2.1479: Vim9: error for list index uses wrong line numberv8.2.1479Bram Moolenaar
Problem: Vim9: error for list index uses wrong line number. Solution: Set source line number. (closes #6724) Add a way to assert the line number of the error with assert_fails().
2020-08-14patch 8.2.1447: Vim9: return type of keys() is list<any>v8.2.1447Bram Moolenaar
Problem: Vim9: return type of keys() is list<any>. Solution: Should be list<string>. (closes #6711)
2020-08-12patch 8.2.1435: Vim9: always converting to string for ".." leads to mistakesv8.2.1435Bram Moolenaar
Problem: Vim9: always converting to string for ".." leads to mistakes. Solution: Only automatically convert simple types.
2020-08-11patch 8.2.1422: the Mac GUI implementation is outdatedv8.2.1422Bram Moolenaar
Problem: The Mac GUI implementation is outdated and probably doesn't even work. Solution: Remove the Mac GUI code. The MacVim project provides the supported Vim GUI version.
2020-08-08patch 8.2.1397: Vim9: return type of maparg() not adjusted for fourth argv8.2.1397Bram Moolenaar
Problem: Vim9: return type of maparg() not adjusted for fourth argument. Solution: Check if fourth argument is present. (closes #6645)
2020-08-06patch 8.2.1380: Vim9: return type of getreg() is always a stringv8.2.1380Bram Moolenaar
Problem: Vim9: return type of getreg() is always a string. Solution: Use list of strings when there are three arguments. (closes #6633)
2020-07-23patch 8.2.1281: the "trailing characters" error can be hard to understandv8.2.1281Bram Moolenaar
Problem: The "trailing characters" error can be hard to understand. Solution: Add the trailing characters to the message.
2020-07-21patch 8.2.1265: crash with EXITFREE when split() failsv8.2.1265Bram Moolenaar
Problem: Crash with EXITFREE when split() fails. Solution: Restore 'cpoptions'.
2020-07-18patch 8.2.1241: cannot use getbufinfo() as a methodv8.2.1241Bram Moolenaar
Problem: Cannot use getbufinfo() as a method. Solution: Support using getbufinfo() as a method. (closes #6458)
2020-07-09patch 8.2.1168: wrong method argument for appendbufline()v8.2.1168Bram Moolenaar
Problem: Wrong method argument for appendbufline(). Solution: Use FEARG_3.
2020-07-09patch 8.2.1167: Vim9: builtin function method call only supports first argv8.2.1167Bram Moolenaar
Problem: Vim9: builtin function method call only supports first argument. Solution: Shift arguments when needed. (closes #6305, closes #6419)
2020-07-05patch 8.2.1144: Vim9: return type of reverse() is anyv8.2.1144Bram Moolenaar
Problem: Vim9: return type of reverse() is any. Solution: Use the type of the first argument.
2020-07-05patch 8.2.1143: Vim9: return type of remove() is anyv8.2.1143Bram Moolenaar
Problem: Vim9: return type of remove() is any. Solution: Use the member type of the first argument, if known.
2020-07-05patch 8.2.1142: Vim9: return type of insert() is anyv8.2.1142Bram Moolenaar
Problem: Vim9: return type of insert() is any. Solution: Use type of the first argument.
2020-07-05patch 8.2.1141: Vim9: return type of filter() is anyv8.2.1141Bram Moolenaar
Problem: Vim9: return type of filter() is any. Solution: Use type of the argument.
2020-07-05patch 8.2.1140: Vim9: return type of extend() is anyv8.2.1140Bram Moolenaar
Problem: Vim9: return type of extend() is any. Solution: Use type of the argument.