Bram Moolenaar
6e36b1c18e
patch 8.2.1229: build error without the eval feature
...
Problem: Build error without the eval feature.
Solution: Declare starts_with_colon. Make function local.
2020-07-17 20:47:51 +02:00
Bram Moolenaar
f5be8cdb77
patch 8.2.1227: Vim9: allowing both quoted and # comments is confusing
...
Problem: Vim9: allowing both quoted and # comments is confusing.
Solution: Only support # comments in Vim9 script.
2020-07-17 20:36:00 +02:00
Bram Moolenaar
3d48e25dcb
patch 8.2.1218: Vim9: cannot use 'text'->func()
...
Problem: Vim9: cannot use 'text'->func().
Solution: Recognize string at start of command.
2020-07-15 14:15:52 +02:00
Bram Moolenaar
eb6880b6eb
patch 8.2.1190: Vim9: checking for Vim9 syntax is spread out
...
Problem: Vim9: checking for Vim9 syntax is spread out.
Solution: Use in_vim9script().
2020-07-12 17:07:05 +02:00
Bram Moolenaar
1e624c912d
patch 8.2.1180: build failure in small version
...
Problem: Build failure in small version.
Solution: Add #ifdef.
2020-07-11 14:08:04 +02:00
Bram Moolenaar
b074e8b8d4
patch 8.2.1178: Vim9: filter function recognized as command modifier
...
Problem: Vim9: filter function recognized as command modifier, leading to a
crash.
Solution: Clear cmdmod after freeing items. Do not recognize a command
modifier followed by non-white space. (closes #6434 )
2020-07-11 13:40:45 +02:00
Bram Moolenaar
0a47e0970a
patch 8.2.1157: Vim9: dict.name is not recognized as an expression
...
Problem: Vim9: dict.name is not recognized as an expression.
Solution: Recognize ".name". (closes #6418 )
2020-07-08 18:30:06 +02:00
Bram Moolenaar
47e7d70b58
patch 8.2.1137: Vim9: modifiers not cleared after compiling function
...
Problem: Vim9: modifiers not cleared after compiling function.
Solution: Clear command modifiers. (closes #6396 )
2020-07-05 18:18:42 +02:00
Bram Moolenaar
d2ef6b320b
patch 8.2.1116: Vim9: parsing command checks for list twice
...
Problem: Vim9: parsing command checks for list twice.
Solution: Adjust how a command is parsed.
2020-07-02 21:11:34 +02:00
Bram Moolenaar
5f195938d4
patch 8.2.1112: Vim9: no line continuation allowed in method call
...
Problem: Vim9: no line continuation allowed in method call.
Solution: Handle line continuation in expression before method call.
2020-07-01 20:07:14 +02:00
Bram Moolenaar
d5053d015a
patch 8.2.1079: Vim9: no line break allowed in a while loop
...
Problem: Vim9: no line break allowed in a while loop.
Solution: Update stored loop lines when finding line breaks.
2020-06-28 15:51:16 +02:00
Bram Moolenaar
cf8441704d
patch 8.2.1059: crash when using :tabonly in an autocommand
...
Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
Solution: Do not allow the autocommand window to be closed.
2020-06-26 19:44:06 +02:00
Bram Moolenaar
b171fb1790
patch 8.2.1049: Vim9: leaking memory when using continuation line
...
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-24 20:34:03 +02:00
Bram Moolenaar
df069eec3b
patch 8.2.1042: Vim9: cannot put an operator on the next line
...
Problem: Vim9: cannot put an operator on the next line.
Solution: Require a colon before a range to see if that causes problems.
2020-06-22 23:02:51 +02:00
Bram Moolenaar
158ea175a9
patch 8.2.1000: get error when leaving Ex mode with :visual
...
Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
autocommand was used.
Solution: Reset ex_pressedreturn. (closes #6293 )
2020-06-18 17:28:39 +02:00
Bram Moolenaar
002bc79991
patch 8.2.0909: cannot go back to the previous local directory
...
Problem: Cannot go back to the previous local directory.
Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362 )
2020-06-05 22:33:42 +02:00
Bram Moolenaar
5fbf3bc3f9
patch 8.2.0883: memory leak in test 49
...
Problem: Memory leak in test 49.
Solution: Free "sfile" from the exception.
2020-06-01 21:13:11 +02:00
Bram Moolenaar
950587242c
patch 8.2.0876: :pwd does not give a hint about the scope of the directory
...
Problem: :pwd does not give a hint about the scope of the directory
Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469 )
2020-06-01 16:26:19 +02:00
Bram Moolenaar
ca70c07b72
patch 8.2.0853: ml_delete() often called with FALSE argument
...
Problem: ml_delete() often called with FALSE argument.
Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-05-30 20:30:46 +02:00
Bram Moolenaar
823654bc06
patch 8.2.0841: 'verbose' value 16 causes duplicate output
...
Problem: 'verbose' value 16 causes duplicate output.
Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
closes #6153 )
2020-05-29 23:03:09 +02:00
Bram Moolenaar
25e0f5863e
patch 8.2.0823: Vim9: script reload test is disabled
...
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-25 22:36:50 +02:00
Bram Moolenaar
2eec37926d
patch 8.2.0822: Vim9: code left over from discovery phase
...
Problem: Vim9: code left over from discovery phase.
Solution: Remove the dead code.
2020-05-25 20:33:55 +02:00
Bram Moolenaar
822ba24743
patch 8.2.0818: Vim9: using a discovery phase doesn't work well
...
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.
2020-05-24 23:00:18 +02:00
Bram Moolenaar
b5383b174b
patch 8.2.0791: a second popup window with terminal causes trouble
...
Problem: A second popup window with terminal causes trouble.
Solution: Disallow opening a second terminal-popup window. (closes #6101 ,
closes #6103 ) Avoid defaulting to an invalid line number.
2020-05-18 19:46:48 +02:00
Bram Moolenaar
b84a381c75
patch 8.2.0675: Vim9: no support for closures
...
Problem: Vim9: no support for closures.
Solution: Do not re-use stack entries.
2020-05-01 15:44:29 +02:00
Bram Moolenaar
6adb9ea0a6
patch 8.2.0670: cannot change window when evaluating 'completefunc'
...
Problem: Cannot change window when evaluating 'completefunc'.
Solution: Make a difference between not changing text or buffers and also
not changing window.
2020-04-30 22:31:18 +02:00
Bram Moolenaar
0e71704b77
patch 8.2.0648: semicolon search does not work in first line
...
Problem: Semicolon search does not work in first line.
Solution: Allow the cursor to be in line zero. (Christian Brabandt,
closes #5996 )
2020-04-27 19:29:01 +02:00
Bram Moolenaar
faac410409
patch 8.2.0611: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 17:46:14 +02:00
Bram Moolenaar
eb58a24658
patch 8.2.0604: :startinsert in a terminal window used later
...
Problem: :startinsert in a terminal window used later.
Solution: Ignore :startinsert in a terminal window. (closes #5952 )
2020-04-19 18:13:19 +02:00
Bram Moolenaar
a26b9700d7
patch 8.2.0595: Vim9: not all commands using ends_excmd() tested
...
Problem: Vim9: not all commands using ends_excmd() tested.
Solution: Find # comment after regular commands. Add more tests. Report
error for where it was caused.
2020-04-18 19:53:28 +02:00
Bram Moolenaar
a494f56f88
patch 8.2.0593: finding a user command is not optimal
...
Problem: Finding a user command is not optimal.
Solution: Start further down in the list of commands.
2020-04-18 17:45:38 +02:00
Bram Moolenaar
21cfe500f3
patch 8.2.0587: compiler warning for unused variable
...
Problem: Compiler warning for unused variable.
Solution: Add UNUSED.
2020-04-16 23:01:50 +02:00
Bram Moolenaar
7a09224583
patch 8.2.0585: Vim9: # comment not recognized after :vim9script
...
Problem: Vim9: # comment not recognized after :vim9script.
Solution: Check script type. Make comment after ":echo" work. And in
several other places.
2020-04-16 22:10:49 +02:00
Bram Moolenaar
fbda69b309
patch 8.2.0569: build failure with tiny version
...
Problem: Build failure with tiny version.
Solution: Add #ifdef.
2020-04-13 15:06:53 +02:00
Bram Moolenaar
2c330432cf
patch 8.2.0567: Vim9: cannot put comments halfway expressions
...
Problem: Vim9: cannot put comments halfway expressions.
Solution: Support # comments in many places.
2020-04-13 14:41:35 +02:00
Bram Moolenaar
2196bce56f
patch 8.2.0560: compiler warning in tiny build
...
Problem: Compiler warning in tiny build.
Solution: Move declaration inside #ifdef. (Dominique Pelle, closes #5915 )
2020-04-12 20:01:11 +02:00
Bram Moolenaar
a80faa8930
patch 8.2.0559: clearing a struct is verbose
...
Problem: Clearing a struct is verbose.
Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12 19:37:17 +02:00
Bram Moolenaar
e8c4abbbd7
patch 8.2.0502: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add more tests. Fix uncovered problems.
2020-04-02 21:13:25 +02:00
Bram Moolenaar
292b90d4fa
patch 8.2.0399: various memory leaks
...
Problem: Various memory leaks.
Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803 )
2020-03-18 15:23:16 +01:00
Bram Moolenaar
3a2505cc18
patch 8.2.0367: can use :pedit in a popup window
...
Problem: Can use :pedit in a popup window.
Solution: Disallow it.
2020-03-09 16:40:41 +01:00
Bram Moolenaar
ab55c6826f
patch 8.2.0344: ":def" not skipped properly
...
Problem: ":def" not skipped properly.
Solution: Add CMD_def to list of commands the require evaluation even when
not being executed.
2020-03-01 19:41:43 +01:00
Bram Moolenaar
83f37b9142
patch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 script
...
Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
Solution: Remember starting with a colon. (closes #5676 )
2020-02-23 14:35:01 +01:00
Bram Moolenaar
0c6ceaf903
patch 8.2.0298: Vim9 script: cannot start command with a string constant
...
Problem: Vim9 script: cannot start command with a string constant.
Solution: Recognize expression starting with '('.
2020-02-22 18:36:32 +01:00
Bram Moolenaar
c036e87bd7
patch 8.2.0295: highlighting for :s wrong when using different separator
...
Problem: Highlighting for :s wrong when using different separator.
Solution: Use separat argument for search direction and separator. (Rob
Pilling, closes #5665 )
2020-02-21 21:30:52 +01:00
Bram Moolenaar
9e2bcb5d23
patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :global
...
Problem: Hang with combination of feedkeys(), Ex mode and :global.
(Yegappan Lakshmanan)
Solution: Add the pending_exmode_active flag.
2020-02-18 21:33:00 +01:00
Bram Moolenaar
a76b31542e
patch 8.2.0265: "eval" after "if 0" doesn't check for following command
...
Problem: "eval" after "if 0" doesn't check for following command.
Solution: Add "eval" to list of commands that check for a following command.
(closes #5640 )
2020-02-16 16:20:21 +01:00
Bram Moolenaar
165315584d
patch 8.2.0232: the :compiler command causes a crash
...
Problem: The :compiler command causes a crash. (Daniel Steinberg)
Solution: Do not use the script index if it isn't set.
2020-02-08 16:00:46 +01:00
Bram Moolenaar
3c01c4a028
patch 8.2.0194: some commands can cause problems in terminal popup
...
Problem: Some commands can cause problems in terminal popup.
Solution: Disallow more commands.
2020-02-01 23:04:24 +01:00
Bram Moolenaar
7cc96923c4
patch 8.2.0189: cd() with NULL argument crashes
...
Problem: cd() with NULL argument crashes.
Solution: Check for NULL. (Ken Takata, closes #5558 )
2020-01-31 22:41:38 +01:00
Bram Moolenaar
4b96df5a01
patch 8.2.0156: various typos in source files and tests
...
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes #5532 )
2020-01-26 22:00:26 +01:00