summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
AgeCommit message (Collapse)Author
2023-05-11patch 9.0.1540: reverse() on string doesn't work in compiled functionv9.0.1540Yegappan Lakshmanan
Problem: reverse() on string doesn't work in compiled function. Solution: Accept string in argument type check. (Yegappan Lakshmanan, closes #12377)
2023-04-27patch 9.0.1492: using uninitialized memory when argument is missingv9.0.1492Bram Moolenaar
Problem: Using uninitialized memory when argument is missing. Solution: Check there are sufficient arguments before the base. (closes #12302)
2023-04-24patch 9.0.1485: no functions for converting from/to UTF-16 indexv9.0.1485Christian Brabandt
Problem: no functions for converting from/to UTF-16 index. Solution: Add UTF-16 flag to existing funtions and add strutf16len() and utf16idx(). (Yegappan Lakshmanan, closes #12216)
2023-04-13patch 9.0.1450: MacOS: building fails if clock_gettime() is not availablev9.0.1450Bram Moolenaar
Problem: MacOS: building fails if clock_gettime() is not available. Solution: Add a configure check for clock_gettime(). (closes #12242)
2023-03-16patch 9.0.1411: accuracy of profiling is not optimalv9.0.1411Ernie Rael
Problem: Accuracy of profiling is not optimal. Solution: Use CLOCK_MONOTONIC if possible. (Ernie Rael, closes #12129)
2023-03-07patch 9.0.1391: "clear" macros are not always usedv9.0.1391Yegappan Lakshmanan
Problem: "clear" macros are not always used. Solution: Use ALLOC_ONE, VIM_CLEAR, CLEAR_POINTER and CLEAR_FIELD in more places. (Yegappan Lakshmanan, closes #12104)
2023-03-07patch 9.0.1390: FOR_ALL_ macros are defined in an unexpected filev9.0.1390Yegappan Lakshmanan
Problem: FOR_ALL_ macros are defined in an unexpected file. Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS. (Yegappan Lakshmanan, closes #12109)
2023-02-21patch 9.0.1334: using tt_member for the class leads to mistakesv9.0.1334Bram Moolenaar
Problem: Using tt_member for the class leads to mistakes. Solution: Add a separate tt_class field.
2023-02-20patch 9.0.1330: handling new value of an option has a long "else if" chainv9.0.1330Yegappan Lakshmanan
Problem: Handling new value of an option has a long "else if" chain. Solution: Use a function pointer. (Yegappan Lakshmanan, closes #12015)
2023-02-18patch 9.0.1320: checking the type of a null object causes a crashv9.0.1320Bram Moolenaar
Problem: Checking the type of a null object causes a crash. Solution: Don't try to get the class of a null object. (closes #12005) Handle error from calling a user function better.
2023-01-27patch 9.0.1251: checking returned value of ga_grow() is inconsistentv9.0.1251Yegappan Lakshmanan
Problem: Checking returned value of ga_grow() is inconsistent. Solution: Check for FAIL instaed of "not OK". (Yegappan Lakshmanan, closes #11897)
2023-01-22patch 9.0.1233: search() loops forever if "skip" is TRUE for all matchesv9.0.1233Bram Moolenaar
Problem: search() loops forever if "skip" is TRUE for all matches. Solution: Keep the position of the first match.
2023-01-18patch 9.0.1218: completion includes functions that don't workv9.0.1218Kota Kato
Problem: Completion includes functions that don't work. Solution: Skip functions that are not implemented. (Kota Kato, closes #11845)
2023-01-17patch 9.0.1212: cannot read back what setcellwidths() has donev9.0.1212Kota Kato
Problem: Cannot read back what setcellwidths() has done. Solution: Add getcellwidths(). (Kota Kato, closes #11837)
2023-01-15patch 9.0.1203: return type of values() is always list<any>v9.0.1203Bram Moolenaar
Problem: Return type of values() is always list<any>. Solution: Use the member type if possible. (issue #11822)
2023-01-09patch 9.0.1166: code is indented more than necessaryv9.0.1166Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11792)
2023-01-02patch 9.0.1133: error message names do not match the itemsv9.0.1133Bram Moolenaar
Problem: Error message names do not match the items. Solution: Add "_str" when the text contains "%s".
2023-01-02patch 9.0.1132: code is indented more than neededv9.0.1132Yegappan Lakshmanan
Problem: Code is indented more than needed. Solution: Use an early return to reduce indentation. (Yegappan Lakshmanan, closes #11769)
2022-12-29patch 9.0.1108: type error when using "any" type and adding to floatv9.0.1108Bram Moolenaar
Problem: Type error when using "any" type and adding a number to a float. Solution: Accept both a number and a float. (closes #11753)
2022-12-20patch 9.0.1084: code handling low level MS-Windows events cannot be testedv9.0.1084Christopher Plewright
Problem: Code handling low level MS-Windows events cannot be tested. Solution: Add test_mswin_event() and tests using it. (Christopher Plewright, closes #11622)
2022-12-08patch 9.0.1031: Vim9 class is not implemented yetv9.0.1031Bram Moolenaar
Problem: Vim9 class is not implemented yet. Solution: Add very basic class support.
2022-12-06patch 9.0.1023: MS-Windows: dynamic loading of libsodium doesn't workv9.0.1023K.Takata
Problem: MS-Windows: dynamic loading of libsodium doesn't work. Solution: Add "randombytes_random". (Ken Takata, closes #11667)
2022-12-05patch 9.0.1015: without /dev/urandom srand() seed is too predictablev9.0.1015Yasuhiro Matsumoto
Problem: Without /dev/urandom srand() seed is too predictable. Solution: Use micro seconds and XOR with process ID. (Yasuhiro Matsumoto, closes #11656)
2022-12-05patch 9.0.1007: there is no way to get a list of swap file namesv9.0.1007Bram Moolenaar
Problem: There is no way to get a list of swap file names. Solution: Add the swapfilelist() function. Use it in the test script to clean up. Remove deleting individual swap files.
2022-12-02patch 9.0.0988: using feedkeys() does not show up in a channel logv9.0.0988Bram Moolenaar
Problem: Using feedkeys() does not show up in a channel log. Solution: Add ch_log() calls and clean up the code.
2022-11-30patch 9.0.0977: it is not easy to see what client-server commands are doingv9.0.0977Bram Moolenaar
Problem: It is not easy to see what client-server commands are doing. Solution: Add channel log messages if ch_log() is available. Move the channel logging and make it available with the +eval feature.
2022-11-24patch 9.0.0936: wrong type for "isunnamed" returned by getreginfo()v9.0.0936Bram Moolenaar
Problem: Wrong type for "isunnamed" returned by getreginfo(). Solution: Use VAR_BOOL instead of VAR_SPECIAL. (closes #11598)
2022-11-21patch 9.0.0916: getbufline() is inefficient for getting a single linev9.0.0916Bram Moolenaar
Problem: getbufline() is inefficient for getting a single line. Solution: Add getbufoneline().
2022-11-14patch 9.0.0881: cannot get the currently showing mouse shapev9.0.0881Bram Moolenaar
Problem: Cannot get the currently showing mouse shape. Solution: Add getmouseshape().
2022-11-12patch 9.0.0863: col() and charcol() only work for the current windowv9.0.0863Yegappan Lakshmanan
Problem: col() and charcol() only work for the current window. Solution: Add an optional winid argument. (Yegappan Lakshmanan, closes #11466, closes #11461)
2022-10-19patch 9.0.0795: readblob() always reads the whole filev9.0.0795K.Takata
Problem: readblob() always reads the whole file. Solution: Add arguments to read part of the file. (Ken Takata, closes #11402)
2022-10-13patch 9.0.0747: too many #ifdefsv9.0.0747Martin Tournoij
Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes #11330)
2022-10-10patch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnumv9.0.0712Bram Moolenaar
Problem: Wrong column when calling setcursorcharpos() with zero lnum. Solution: Set the line number before calling buf_charidx_to_byteidx(). (closes #11329)
2022-10-09patch 9.0.0703: failing check for argument type for const anyv9.0.0703Bram Moolenaar
Problem: Failing check for argument type for const any. Solution: Check for any type properly. (closes #11316)
2022-10-07patch 9.0.0683: cannot specify a time for :echowindowv9.0.0683Bram Moolenaar
Problem: Cannot specify a time for :echowindow. Solution: A count can be used to specify the display time. Add popup_findecho().
2022-10-04patch 9.0.0657: too many #ifdefsv9.0.0657Martin Tournoij
Problem: Too many #ifdefs. Solution: Graduate the +cmdwin feature. Now the tiny and small builds are equal, drop the small build. (Martin Tournoij, closes #11268)
2022-09-30patch 9.0.0629: get an error for using const only when executingv9.0.0629Bram Moolenaar
Problem: Get an error for using const only when executing. Solution: Check for const at compile time for filter(), map(), remove(), reverse(), sort() and uniq().
2022-09-29patch 9.0.0623: error for modifying a const is not detected at compile timev9.0.0623Bram Moolenaar
Problem: Error for modifying a const is not detected at compile time. Solution: Add TTFLAG_CONST and check for it in add() and extend().
2022-09-28patch 9.0.0618: calling function for reduce() has too much overheadv9.0.0618Bram Moolenaar
Problem: Calling function for reduce() has too much overhead. Solution: Do not create a funccall_T every time.
2022-09-20patch 9.0.0520: declaring a loop variable at the start of a block is clumsyv9.0.0520Bram Moolenaar
Problem: Declaring a loop variable at the start of a block is clumsy. Solution: Declare the variable inside the loop in a few places to see if this works.
2022-09-17patch 9.0.0491: no good reason to build without the float featurev9.0.0491Bram Moolenaar
Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
2022-09-15patch 9.0.0474: fullcommand() test failurev9.0.0474Bram Moolenaar
Problem: fullcommand() test failure. Solution: Update function table.
2022-09-12patch 9.0.0449: there is no easy way to translate a key code into a stringv9.0.0449zeertzjq
Problem: There is no easy way to translate a string with a key code into a readable string. Solution: Add the keytrans() function. (closes #11114)
2022-09-09patch 9.0.0430: cannot use repeat() with a blobv9.0.0430Bakudankun
Problem: Cannot use repeat() with a blob. Solution: Implement blob repeat. (closes #11090)
2022-09-04patch 9.0.0375: the footer feature is unusedv9.0.0375Bram Moolenaar
Problem: The footer feature is unused. Solution: Remove FEAT_FOOTER and code.
2022-09-02patch 9.0.0359: error message for wrong argument type is not specificv9.0.0359Yegappan Lakshmanan
Problem: Error message for wrong argument type is not specific. Solution: Include more information in the error. (Yegappan Lakshmanan, closes #11037)
2022-09-01patch 9.0.0345: error message for list argument could be clearerv9.0.0345Bram Moolenaar
Problem: Error message for list argument could be clearer. Solution: Include the argument number. (Yegappan Lakshmanan, closes #11027)
2022-08-31patch 9.0.0338: return value of list_append_list() not always checkedv9.0.0338Bram Moolenaar
Problem: Return value of list_append_list() not always checked. Solution: Check return value and handle failure.
2022-08-30patch 9.0.0335: checks for Dictionary argument often give a vague errorv9.0.0335Yegappan Lakshmanan
Problem: Checks for Dictionary argument often give a vague error message. Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009)
2022-08-30patch 9.0.0331: cannot use items() on a stringv9.0.0331Bram Moolenaar
Problem: Cannot use items() on a string. Solution: Make items() work on a string. (closes #11016)