summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2782: Vim9: blob operations not fully testedv8.2.2782Bram Moolenaar2021-04-184-103/+255
| | | | | | Problem: Vim9: blob operations not fully tested. Solution: Make more blob tests run in Vim9 script. Fix filter(). Make insert() give an error for a null blob, like add().
* patch 8.2.2781: add() silently skips when adding to null list or blobv8.2.2781Bram Moolenaar2021-04-186-20/+101
| | | | | | Problem: Add() silently skips when adding to null list or blob. Solution: Give an error in Vim9 script. Allocate blob when it is NULL like with list and dict.
* patch 8.2.2780: Vim9: for loop over blob doesn't workv8.2.2780Bram Moolenaar2021-04-184-33/+72
| | | | | Problem: Vim9: for loop over blob doesn't work. Solution: Make it work.
* patch 8.2.2779: memory access error in remove() for blobv8.2.2779Bram Moolenaar2021-04-172-2/+5
| | | | | Problem: Memory access error in remove() for blob. Solution: Adjust length for memmove().
* patch 8.2.2778: problem restoring 'packpath' in sessionv8.2.2778Bram Moolenaar2021-04-174-8/+15
| | | | | Problem: Problem restoring 'packpath' in session. Solution: Let "skiprtp" also apply to 'packpath'.
* patch 8.2.2777: Vim9: blob operations not tested in all waysv8.2.2777Bram Moolenaar2021-04-178-96/+233
| | | | | | Problem: Vim9: blob operations not tested in all ways. Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with index work.
* patch 8.2.2776: :mksession uses current value of 'splitbelow' and 'splitright'v8.2.2776Bram Moolenaar2021-04-173-28/+65
| | | | | | | Problem: :mksession uses current value of 'splitbelow' and 'splitright' even though "options" is not in 'sessionoptions'. (Maxim Kim) Solution: Save and restore the values, instead of setting to the current value. (closes #8119)
* patch 8.2.2775: Vim9: wrong line number used for some commandsv8.2.2775Bram Moolenaar2021-04-175-5/+46
| | | | | | | Problem: Vim9: wrong line number used for some commands. Solution: For :exe, :echo and the like use the line number of the start of the command. When calling a function set the line number in the script context.
* patch 8.2.2774: Vim9: cannot import an existing name even when using "as"v8.2.2774Bram Moolenaar2021-04-173-1/+6
| | | | | Problem: Vim9: cannot import an existing name even when using "as". Solution: Do not check for an existing name when using "as". (closes #8113)
* Update runtime files.Bram Moolenaar2021-04-1729-170/+761
|
* patch 8.2.2773: PSL filetype not recognizedv8.2.2773Bram Moolenaar2021-04-173-4/+10
| | | | | Problem: PSL filetype not recognized. Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
* patch 8.2.2772: problems when restoring 'runtimepath' from a session filev8.2.2772Bram Moolenaar2021-04-168-3/+46
| | | | | Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'.
* patch 8.2.2771: Vim9: assignment not recognized if declaration was skippedv8.2.2771Bram Moolenaar2021-04-153-1/+17
| | | | | | Problem: Vim9: assignment not recognized if declaration was skipped. Solution: Also recognized an assignment if the variable does not exist. (closes #8108)
* patch 8.2.2770: Vim9: type of loop variable is not usedv8.2.2770Bram Moolenaar2021-04-153-5/+35
| | | | | Problem: Vim9: type of loop variable is not used. Solution: Parse and check the variable type. (closes #8107)
* patch 8.2.2769: Modula-3 config files are not recognizedv8.2.2769Bram Moolenaar2021-04-153-2/+10
| | | | | Problem: Modula-3 config files are not recognized. Solution: Add filetype patterns. (Doug Kearns)
* patch 8.2.2768: Vim9: memory leak with blob range errorv8.2.2768Bram Moolenaar2021-04-152-1/+3
| | | | | Problem: Vim9: memory leak with blob range error. Solution: Jump to end instead of returning.
* patch 8.2.2767: compiler warning for unused argumentv8.2.2767Bram Moolenaar2021-04-145-5/+6
| | | | | Problem: Compiler warning for unused argument. Solution: Remove the argument.
* patch 8.2.2766: test failurev8.2.2766Bram Moolenaar2021-04-142-1/+3
| | | | | Problem: Test failure. Solution: Add change to Vim9 compilation error message.
* patch 8.2.2765: Vim9: not all blob operations workv8.2.2765Bram Moolenaar2021-04-148-24/+140
| | | | | | Problem: Vim9: not all blob operations work. Solution: Run more tests also with Vim9 script and :def functions. Fix what doesn't work.
* patch 8.2.2764: memory leak when default function argument is allocatedv8.2.2764Bram Moolenaar2021-04-143-0/+20
| | | | | Problem: Memory leak when default function argument is allocated. Solution: Free the expression result.
* patch 8.2.2763: Vim9: cannot use type in for loop unpack at script levelv8.2.2763Bram Moolenaar2021-04-143-9/+18
| | | | | Problem: Vim9: cannot use type in for loop unpack at script level. Solution: Advance over the type name.
* patch 8.2.2762: Vim9: function line truncated when compilingv8.2.2762Bram Moolenaar2021-04-143-0/+51
| | | | | Problem: Vim9: function line truncated when compiling. Solution: Copy the line before processing it. (closes #8101)
* patch 8.2.2761: using "syn include" does not work properlyv8.2.2761Bram Moolenaar2021-04-143-4/+28
| | | | | | Problem: Using "syn include" does not work properly. Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung, closes #8104)
* patch 8.2.2760: Vim9: no error for changing a for loop variablev8.2.2760Bram Moolenaar2021-04-136-12/+41
| | | | | Problem: Vim9: no error for changing a for loop variable. Solution: Make the loop variable read-only. (issue #8102)
* patch 8.2.2759: Vim9: for loop infers type of loop variablev8.2.2759Bram Moolenaar2021-04-138-85/+112
| | | | | Problem: Vim9: for loop infers type of loop variable. Solution: Do not get the member type. (closes #8102)
* patch 8.2.2758: Vim9: wrong line number for autoload function with wrong namev8.2.2758Bram Moolenaar2021-04-123-0/+30
| | | | | Problem: Vim9: wrong line number for autoload function with wrong name. Solution: Set and restore SOURCING_LNUM. (closes #8100)
* patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separatev8.2.2757Bram Moolenaar2021-04-1211-98/+258
| | | | | Problem: Vim9: blob tests for legacy and Vim9 script are separate. Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
* patch 8.2.2756: Vim9: blob index and slice not implemented yetv8.2.2756Bram Moolenaar2021-04-118-72/+142
| | | | | Problem: Vim9: blob index and slice not implemented yet. Solution: Implement blob index and slice.
* patch 8.2.2755: Vim9: no error for using a number in a conditionv8.2.2755Bram Moolenaar2021-04-114-5/+24
| | | | | | Problem: Vim9: no error for using a number in a condition. Solution: Also use ISN_COND2BOOL if the type is t_number_bool. (closes #7644)
* patch 8.2.2754: :sleep! does not always hide the cursorv8.2.2754Bram Moolenaar2021-04-116-4/+52
| | | | | | Problem: :sleep! does not always hide the cursor. Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097, closes #7998)
* patch 8.2.2753: Vim9: cannot ignore an item in assignment unpackv8.2.2753Bram Moolenaar2021-04-107-22/+46
| | | | | Problem: Vim9: cannot ignore an item in assignment unpack. Solution: Allow using an underscore.
* patch 8.2.2752v8.2.2752Bram Moolenaar2021-04-102-4/+3
|
* patch 8.2.2751: Coverity warns for using NULL pointerv8.2.2751Bram Moolenaar2021-04-102-2/+6
| | | | | Problem: Coverity warns for using NULL pointer. Solution: Check for NULL in calling function.
* patch 8.2.2750: Vim9: error for using underscore in nested functionv8.2.2750Bram Moolenaar2021-04-103-0/+8
| | | | | Problem: Vim9: error for using underscore in nested function. Solution: Do not consider "_" already defined. (closes #8096)
* patch 8.2.2749: Vim9: test for error can be a bit flakyv8.2.2749Bram Moolenaar2021-04-102-1/+3
| | | | | Problem: Vim9: test for error can be a bit flaky. Solution: Increase the wait time a bit.
* patch 8.2.2748: Vim9: memory leak when calling :def function failsv8.2.2748Bram Moolenaar2021-04-102-1/+3
| | | | | Problem: Vim9: memory leak when calling :def function fails. Solution: Jump to failed_early instead of returning.
* patch 8.2.2747: Vim9: not always an error for too many function argumentsv8.2.2747Bram Moolenaar2021-04-104-4/+27
| | | | | Problem: Vim9: not always an error for too many function arguments. Solution: Check for getting too many arguments.
* patch 8.2.2746: check for duplicate arguments does not workv8.2.2746Bram Moolenaar2021-04-102-1/+3
| | | | | Problem: Check for duplicate arguments does not work. Solution: Correct condition.
* patch 8.2.2745: Vim9: missing part of the argument changev8.2.2745Bram Moolenaar2021-04-102-11/+15
| | | | | Problem: Vim9: missing part of the argument change. Solution: Add missing changes.
* patch 8.2.2744: Vim9: no way to explicitly ignore an argumentv8.2.2744Bram Moolenaar2021-04-107-5/+86
| | | | | Problem: Vim9: no way to explicitly ignore an argument. Solution: Use the underscore as the name for an ignored argument.
* patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!"v8.2.2743Bram Moolenaar2021-04-105-1/+27
| | | | | Problem: Vim9: function state stuck when compiling with ":silent!". Solution: Check for uf_def_status to be UF_COMPILING.
* patch 8.2.2742: Vim9: when compiling a function fails it is clearedv8.2.2742Bram Moolenaar2021-04-105-13/+34
| | | | | | Problem: Vim9: when compiling a function fails it is cleared. Solution: Keep the function lines, prevent execution with a different status. (closes #8093)
* patch 8.2.2741: Vim9: Partial call does not check right argumentsv8.2.2741Bram Moolenaar2021-04-093-1/+5
| | | | | | Problem: Vim9: Partial call does not check right arguments. Solution: Adjust the offset for whether the partial is before or after the arguments. (closes #8091)
* patch 8.2.2740: Vim9: lambda with varargs doesn't workv8.2.2740Bram Moolenaar2021-04-097-31/+68
| | | | | Problem: Vim9: lambda with varargs doesn't work. Solution: Make "...name" work. Require type to be a list.
* patch 8.2.2739: Vim9: a lambda accepts too many arguments at the script levelv8.2.2739Bram Moolenaar2021-04-094-5/+13
| | | | | Problem: Vim9: a lambda accepts too many arguments at the script level. Solution: Do not set uf_varargs in Vim9 script.
* patch 8.2.2738: extending a list with itself can give wrong resultv8.2.2738Bram Moolenaar2021-04-083-1/+24
| | | | | | Problem: Extending a list with itself can give wrong result. Solution: Remember the item before where the insertion happens and skip to after the already inserted items. (closes #1112)
* patch 8.2.2737: status line not updated when local 'statusline' option setv8.2.2737Bram Moolenaar2021-04-085-11/+27
| | | | | Problem: Status line not updated when local 'statusline' option set. Solution: Check the 'statusline' option of each window.
* patch 8.2.2736: Vim9: for loop over string is a bit slowv8.2.2736Bram Moolenaar2021-04-082-2/+3
| | | | | Problem: Vim9: for loop over string is a bit slow. Solution: Avoid using strlen().
* patch 8.2.2735: Vim9: function reference found with prefix, not withoutv8.2.2735Bram Moolenaar2021-04-073-8/+43
| | | | | Problem: Vim9: function reference found with prefix, not without. Solution: Also find function reference without prefix.
* patch 8.2.2734: Vim9: cannot use legacy script-local var from :def functionv8.2.2734Bram Moolenaar2021-04-074-16/+25
| | | | | Problem: Vim9: cannot use legacy script-local var from :def function. Solution: Do not insist on using "s:" prefix. (closes #8076)