summaryrefslogtreecommitdiff
path: root/src/proto/evalvars.pro
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.4171: cannot invoke option function using autoload importv8.2.4171Bram Moolenaar2022-01-211-0/+1
| | | | | Problem: Cannot invoke option function using autoload import. Solution: Expand the import to an autoload function name. (closes #9578)
* patch 8.2.4030: a script local funcref is not found from a mappingv8.2.4030Bram Moolenaar2022-01-071-0/+1
| | | | | | Problem: A script local funcref is not found from a mapping. Solution: When looking for a function, also find a script-local funcref. (closes #9485)
* patch 8.2.4019: Vim9: import mechanism is too complicatedv8.2.4019Bram Moolenaar2022-01-061-2/+2
| | | | | Problem: Vim9: import mechanism is too complicated. Solution: Do not use the Javascript mechanism but a much simpler one.
* patch 8.2.3890: Vim9: type check for using v: variables is basicv8.2.3890Bram Moolenaar2021-12-241-1/+2
| | | | | Problem: Vim9: type check for using v: variables is basic. Solution: Specify a more precise type.
* patch 8.2.3650: Vim9: for loop variable can be a list memberv8.2.3650Bram Moolenaar2021-11-221-1/+1
| | | | | Problem: Vim9: for loop variable can be a list member. Solution: Check for valid variable name. (closes #9179)
* patch 8.2.2785: Vim9: cannot redirect to local variablev8.2.2785Bram Moolenaar2021-04-191-1/+5
| | | | | Problem: Vim9: cannot redirect to local variable. Solution: Compile :redir when redirecting to a variable.
* patch 8.2.2603: Vim9: no effect if user command is also a functionv8.2.2603Bram Moolenaar2021-03-141-1/+1
| | | | | Problem: Vim9: no effect if user command is also a function. Solution: Check for paren following. (closes #7960)
* patch 8.2.2597: Vim9: "import * as" does not work at script levelv8.2.2597Bram Moolenaar2021-03-131-1/+1
| | | | | Problem: Vim9: "import * as" does not work at script level. Solution: Implement using an imported namespace.
* patch 8.2.2566: Vim9: Function name is not recognizedv8.2.2566Bram Moolenaar2021-03-031-1/+1
| | | | | | Problem: Vim9: Function name is not recognized. Solution: Change lookup_scriptvar() to also find function names. (closes #7770)
* patch 8.2.2533: Vim9: cannot use a range with :unletv8.2.2533Bram Moolenaar2021-02-201-0/+1
| | | | | Problem: Vim9: cannot use a range with :unlet. Solution: Implement ISN_UNLETRANGE.
* patch 8.2.2526: build failurev8.2.2526Bram Moolenaar2021-02-171-1/+1
| | | | | Problem: Build failure. Solution: Change lookup_scriptvar() arguments.
* patch 8.2.2501: not always clear where an error is reportedv8.2.2501Bram Moolenaar2021-02-111-1/+1
| | | | | Problem: Not always clear where an error is reported. Solution: Add the where_T structure and pass it around. (closes #7796)
* patch 8.2.2341: expresison command line completion incomplete after "g:"v8.2.2341Bram Moolenaar2021-01-131-0/+1
| | | | | | Problem: Expresison command line completion shows variables but not functions after "g:". (Gary Johnson) Solution: Prefix "g:" when needed to a global function.
* patch 8.2.2193: Vim9: can change constant in :def functionv8.2.2193Bram Moolenaar2020-12-221-0/+1
| | | | | Problem: Vim9: can change constant in :def function. Solution: Check if a variable is locked. (issue #7526)
* patch 8.2.2162: Vim9: Cannot load or store autoload variablesv8.2.2162Bram Moolenaar2020-12-191-1/+1
| | | | | Problem: Vim9: Cannot load or store autoload variables. Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
* patch 8.2.2131: Vim9: crash when lambda uses same var as assignmentv8.2.2131Bram Moolenaar2020-12-121-1/+1
| | | | | | Problem: Vim9: crash when lambda uses same var as assignment. Solution: Do not let lookup_local change lv_from_outer, make a copy. (closes #7461)
* patch 8.2.1824: Vim9: variables at the script level escape their scopev8.2.1824Bram Moolenaar2020-10-101-0/+1
| | | | | Problem: Vim9: variables at the script level escape their scope. Solution: When leaving a scope remove variables declared in it.
* patch 8.2.1813: Vim9: can assign wrong type to script dictv8.2.1813Bram Moolenaar2020-10-081-0/+1
| | | | | Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson) Solution: Check the type if known.
* patch 8.2.1744: Vim9: using ":const!" is weirdv8.2.1744Bram Moolenaar2020-09-261-0/+1
| | | | | | Problem: Vim9: using ":const!" is weird. Solution: Use "var" - "final" - "const" like Dart. "let" still works for now.
* patch 8.2.1698: cannot lock a variable in legacy Vim script like in Vim9v8.2.1698Bram Moolenaar2020-09-161-1/+2
| | | | | Problem: Cannot lock a variable in legacy Vim script like in Vim9. Solution: Make ":lockvar 0" work.
* patch 8.2.1685: Vim9: cannot declare a constant valuev8.2.1685Bram Moolenaar2020-09-141-1/+2
| | | | | Problem: Vim9: cannot declare a constant value. Solution: Introduce ":const!".
* patch 8.2.1395: Vim9: no error if declaring a funcref with lower case letterv8.2.1395Bram Moolenaar2020-08-081-1/+1
| | | | | Problem: Vim9: no error if declaring a funcref with a lower case letter. Solution: Check the name after the type is inferred. Fix confusing name.
* patch 8.2.1255: cannot use a lambda with quickfix functionsv8.2.1255Bram Moolenaar2020-07-201-0/+1
| | | | | Problem: Cannot use a lambda with quickfix functions. Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
* patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()v8.2.1111Bram Moolenaar2020-07-011-1/+1
| | | | | | Problem: Inconsistent naming of get_list_tv() and eval_dict(). Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(), eval_string(), eval_lit_string() and a few others.
* patch 8.2.0981: Vim9: cannot compile "[var, var] = list"v8.2.0981Bram Moolenaar2020-06-141-1/+2
| | | | | Problem: Vim9: cannot compile "[var, var] = list". Solution: Implement list assignment.
* patch 8.2.0918: duplicate code for evaluating expression argumentv8.2.0918Bram Moolenaar2020-06-071-5/+0
| | | | | Problem: Duplicate code for evaluating expression argument. Solution: Merge the code and make the use more flexible.
* patch 8.2.0915: search() cannot skip over matches like searchpair() canv8.2.0915Bram Moolenaar2020-06-061-0/+5
| | | | | Problem: Search() cannot skip over matches like searchpair() can. Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
* patch 8.2.0913: code for resetting v:register is duplicatedv8.2.0913Bram Moolenaar2020-06-061-0/+1
| | | | | Problem: Code for resetting v:register is duplicated. Solution: Add reset_reg_var().
* patch 8.2.0822: Vim9: code left over from discovery phasev8.2.0822Bram Moolenaar2020-05-251-1/+0
| | | | | Problem: Vim9: code left over from discovery phase. Solution: Remove the dead code.
* patch 8.2.0818: Vim9: using a discovery phase doesn't work wellv8.2.0818Bram Moolenaar2020-05-241-1/+0
| | | | | | Problem: Vim9: using a discovery phase doesn't work well. Solution: Remove the discovery phase, instead compile a function only when it is used. Add :defcompile to compile def functions earlier.
* patch 8.2.0725: Vim9: cannot call a function declared later in Vim9 scriptv8.2.0725Bram Moolenaar2020-05-091-0/+1
| | | | | Problem: Vim9: cannot call a function declared later in Vim9 script. Solution: Make two passes through the script file.
* patch 8.2.0675: Vim9: no support for closuresv8.2.0675Bram Moolenaar2020-05-011-1/+1
| | | | | Problem: Vim9: no support for closures. Solution: Do not re-use stack entries.
* patch 8.2.0601: Vim9: :unlet is not compiledv8.2.0601Bram Moolenaar2020-04-191-0/+1
| | | | | Problem: Vim9: :unlet is not compiled. Solution: Implement :unlet instruction and check for errors.
* patch 8.2.0578: heredoc for interfaces does not support "trim"v8.2.0578Bram Moolenaar2020-04-141-1/+1
| | | | | | Problem: Heredoc for interfaces does not support "trim". Solution: Update the script heredoc support to be same as the :let command. (Yegappan Lakshmanan, closes #5916)
* patch 8.2.0536: Vim9: some compilation code not testedv8.2.0536Bram Moolenaar2020-04-091-1/+1
| | | | | Problem: Vim9: some compilation code not tested. Solution: Add more test cases.
* patch 8.2.0514: several global functions are used in only one filev8.2.0514Bram Moolenaar2020-04-051-1/+0
| | | | | Problem: Several global functions are used in only one file. Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
* patch 8.2.0200: Vim9 script commands not sufficiently testedv8.2.0200Bram Moolenaar2020-02-021-0/+1
| | | | | | Problem: Vim9 script commands not sufficiently tested. Solution: Add more tests. Fix storing global variable. Make script variables work.
* patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar2020-01-261-3/+8
| | | | | Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
* patch 8.1.2233: cannot get the Vim command line argumentsv8.1.2233Bram Moolenaar2019-10-291-0/+1
| | | | | Problem: Cannot get the Vim command line arguments. Solution: Add v:argv. (Dmitri Vereshchagin, closes #1322)
* patch 8.1.1989: the evalfunc.c file is still too bigv8.1.1989Bram Moolenaar2019-09-051-0/+4
| | | | | | | Problem: The evalfunc.c file is still too big. Solution: Move f_pathshorten() to filepath.c. Move f_cscope_connection() to if_cscope.c. Move diff_ functions to diff.c. Move timer_ functions to ex_cmds2.c. move callback functions to evalvars.c.
* patch 8.1.1979: code for handling file names is spread outv8.1.1979Bram Moolenaar2019-09-041-0/+2
| | | | | Problem: Code for handling file names is spread out. Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
* patch 8.1.1957: more code can be moved to evalvars.cv8.1.1957Bram Moolenaar2019-09-011-1/+13
| | | | | | Problem: More code can be moved to evalvars.c. Solution: Move code to where it fits better. (Yegappan Lakshmanan, closes #4883)
* patch 8.1.1943: more code can be moved to evalvars.cv8.1.1943Bram Moolenaar2019-08-301-0/+2
| | | | | | Problem: More code can be moved to evalvars.c. Solution: Move it, clean up comments. Also move some window related functions to window.c. (Yegappan Lakshmanan, closes #4874)
* patch 8.1.1940: script tests failv8.1.1940Bram Moolenaar2019-08-291-0/+1
| | | | | Problem: Script tests fail. Solution: Don't set vimvars type in set_vim_var_nr().
* patch 8.1.1939: code for handling v: variables in generic eval filev8.1.1939Bram Moolenaar2019-08-291-0/+34
| | | | | | Problem: Code for handling v: variables in generic eval file. Solution: Move v: variables to evalvars.c. (Yegappan Lakshmanan, closes #4872)
* patch 8.1.1933: the eval.c file is too bigv8.1.1933Bram Moolenaar2019-08-271-0/+29
Problem: The eval.c file is too big. Solution: Move code related to variables to evalvars.c. (Yegappan Lakshmanan, closes #4868)