summaryrefslogtreecommitdiffstats
path: root/src/ex_eval.c
AgeCommit message (Collapse)Author
2020-07-26patch 8.2.1297: when a test fails it's often not easy to see wherev8.2.1297Bram Moolenaar
Problem: When a test fails it's often not easy to see what the call stack is. Solution: Add more entries from the call stack in the exception message.
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-23patch 8.2.1280: Ex command error cannot contain an argumentv8.2.1280Bram Moolenaar
Problem: Ex command error cannot contain an argument. Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where possible.
2020-07-01patch 8.2.1110: Vim9: line continuation does not work in function argumentsv8.2.1110Bram Moolenaar
Problem: Vim9: line continuation does not work in function arguments. Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string as comment.
2020-06-28patch 8.2.1080: Vim9: no line break allowed in a for loopv8.2.1080Bram Moolenaar
Problem: Vim9: no line break allowed in a for loop. Solution: Skip line breaks in for command.
2020-06-27patch 8.2.1071: Vim9: no line break allowed inside a lambdav8.2.1071Bram Moolenaar
Problem: Vim9: no line break allowed inside a lambda. Solution: Handle line break inside a lambda in Vim9 script.
2020-06-24patch 8.2.1049: Vim9: leaking memory when using continuation linev8.2.1049Bram Moolenaar
Problem: Vim9: leaking memory when using continuation line. Solution: Keep a pointer to the continuation line in evalarg_T. Centralize checking for a next command.
2020-06-24patch 8.2.1047: Vim9: script cannot use line continuation like :def functionv8.2.1047Bram Moolenaar
Problem: Vim9: script cannot use line continuation like in a :def function. Solution: Pass the getline function pointer to the eval() functions. Use it for addition and multiplication operators.
2020-06-12patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar
Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
2020-05-25patch 8.2.0823: Vim9: script reload test is disabledv8.2.0823Bram Moolenaar
Problem: Vim9: script reload test is disabled. Solution: Compile a function in the context of the script where it was defined. Set execution stack for compiled function. Add a test that an error is reported for the right file/function.
2020-05-14patch 8.2.0753: Vim9: expressions are evaluated in the discovery phasev8.2.0753Bram Moolenaar
Problem: Vim9: expressions are evaluated in the discovery phase. Solution: Bail out if an expression is not a constant. Require a type for declared constants.
2020-04-20patch 8.2.0612: Vim9: no check for space before #commentv8.2.0612Bram Moolenaar
Problem: Vim9: no check for space before #comment. Solution: Add space checks.
2020-04-13patch 8.2.0570: Vim9: no error when omitting type from argumentv8.2.0570Bram Moolenaar
Problem: Vim9: no error when omitting type from argument. Solution: Enforce specifying argument types.
2020-04-02patch 8.2.0502: Vim9: some code is not testedv8.2.0502Bram Moolenaar
Problem: Vim9: some code is not tested. Solution: Add more tests. Fix uncovered problems.
2020-01-26patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar
Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
2019-12-29patch 8.2.0056: execution stack is incomplete and inefficientv8.2.0056Bram Moolenaar
Problem: Execution stack is incomplete and inefficient. Solution: Introduce a proper execution stack and use it instead of sourcing_name/sourcing_lnum. Create a string only when used.
2019-12-16patch 8.2.0013: not using a typedef for condstackv8.2.0013Bram Moolenaar
Problem: Not using a typedef for condstack. Solution: Add a typedef.
2019-12-01patch 8.1.2379: using old C style commentsv8.1.2379Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-11-25patch 8.1.2341: not so easy to interrupt a script programaticallyv8.1.2341Bram Moolenaar
Problem: Not so easy to interrupt a script programatically. Solution: Add the interrupt() function. (Yasuhiro Matsumoto, closes #2834)
2019-08-20patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar
Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
2019-08-04patch 8.1.1807: more functions can be used as a methodv8.1.1807Bram Moolenaar
Problem: More functions can be used as a method. Solution: Add append(), appendbufline(), assert_equal(), etc. Also add the :eval command.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2017-07-10patch 8.0.0705: crash when there is an error in a timer callbackv8.0.0705Bram Moolenaar
Problem: Crash when there is an error in a timer callback. (Aron Griffis, Ozaki Kiichi) Solution: Check did_throw before discarding an exception. NULLify current_exception when no longer valid.
2016-11-10patch 8.0.0075v8.0.0075Bram Moolenaar
Problem: Using number for exception type lacks type checking. Solution: Use an enum.
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-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-03-06patch 7.4.1500v7.4.1500Bram Moolenaar
Problem: Should_free flag set to FALSE. Solution: Set it to TRUE. (Neovim 4415)
2016-02-07patch 7.4.1282v7.4.1282Bram Moolenaar
Problem: Crash when evaluating the pattern of ":catch" causes an error. (Dominique Pelle) Solution: Block error messages at this point.
2016-01-30patch 7.4.1206v7.4.1206Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1197v7.4.1197Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2013-11-28updated for version 7.4.107v7.4.107Bram Moolenaar
Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the Python code doesn't catch it. (Yggdroot Chen) Solution: Throw exceptions on errors in vim.eval(). (ZyX)
2013-06-08updated for version 7.3.1149v7.3.1149Bram Moolenaar
Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
2013-05-06updated for version 7.3.925v7.3.925Bram Moolenaar
Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
2009-05-16updated for version 7.2-177v7.2.177Bram Moolenaar
2007-11-24updated for version 7.1-162v7.1.162Bram Moolenaar
2007-08-01updated for version 7.1-047v7.1.047Bram Moolenaar
2007-05-10updated for version 7.1bBram Moolenaar
2006-11-28updated for version 7.0-172v7.0.172Bram Moolenaar
2006-04-22updated for version 7.0e06v7.0e06Bram Moolenaar
2006-04-21updated for version 7.0e05v7.0e05Bram Moolenaar
2006-04-17updated for version 7.0e01v7.0e01Bram Moolenaar
2005-06-25updated for version 7.0093v7.0093Bram Moolenaar
2005-05-31updated for version 7.0077Bram Moolenaar
2005-05-19updated for version 7.0073Bram Moolenaar
2005-01-17updated for version 7.0041Bram Moolenaar
2005-01-06updated for version 7.0032Bram Moolenaar