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
Bram Moolenaar
21b9e9773d
patch 8.2.0154: reallocating the list of scripts is inefficient
...
Problem: Reallocating the list of scripts is inefficient.
Solution: Instead of using a growarray of scriptitem_T, store pointers and
allocate each scriptitem_T separately. Also avoids that the
growarray pointers change when sourcing a new script.
2020-01-26 19:26:46 +01:00
Bram Moolenaar
8a7d6542b3
patch 8.2.0149: maintaining a Vim9 branch separately is more work
...
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
2020-01-26 15:56:19 +01:00
Bram Moolenaar
6b915c0c0e
patch 8.2.0128: cannot list options one per line
...
Problem: Cannot list options one per line.
Solution: Use ":set!" to list one option per line.
2020-01-18 15:53:19 +01:00
Bram Moolenaar
3029bcc094
patch 8.2.0127: some buffer commands work in a popup window
...
Problem: Some buffer commands work in a popup window.
Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494 )
2020-01-18 15:06:19 +01:00
Bram Moolenaar
3c71aec696
patch 8.2.0125: :mode no longer works for any system
...
Problem: :mode no longer works for any system.
Solution: Always give an error message.
2020-01-17 19:32:20 +01:00
Bram Moolenaar
e31ee86859
patch 8.2.0098: exe stack length can be wrong without being detected
...
Problem: Exe stack length can be wrong without being detected.
Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
2020-01-07 20:59:34 +01:00
Bram Moolenaar
1860bde9d3
patch 8.2.0095: cannot specify exit code for :cquit
...
Problem: Cannot specify exit code for :cquit.
Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442 )
2020-01-06 21:47:21 +01:00
Bram Moolenaar
1a47ae32cd
patch 8.2.0056: execution stack is incomplete and inefficient
...
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-29 23:04:25 +01:00
Bram Moolenaar
ddef129160
patch 8.2.0013: not using a typedef for condstack
...
Problem: Not using a typedef for condstack.
Solution: Add a typedef.
2019-12-16 17:10:33 +01:00
Bram Moolenaar
1b03a193b3
patch 8.1.2411: function argument copied unnecessarily
...
Problem: Function argument copied unnecessarily.
Solution: Use the argument directly.
2019-12-08 17:08:29 +01:00
Bram Moolenaar
217e1b8359
patch 8.1.2379: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-01 21:41:28 +01:00
Bram Moolenaar
05ad5ff0ab
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
...
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291 )
2019-11-30 22:48:27 +01:00
Bram Moolenaar
cc4423ae13
patch 8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif"
...
Problem: :lockvar and :unlockvar cannot be followed by "| endif".
Solution: Check for following commands. (closes #5269 )
2019-11-26 17:05:00 +01:00
Bram Moolenaar
8f76e6b12b
patch 8.1.2348: :const cannot be followed by "| endif"
...
Problem: :const cannot be followed by "| endif".
Solution: Check following command for :const. (closes #5269 )
Also fix completion after :const.
2019-11-26 16:50:30 +01:00
Bram Moolenaar
34ba06b6e6
patch 8.1.2197: ExitPre autocommand may cause accessing freed memory
...
Problem: ExitPre autocommand may cause accessing freed memory.
Solution: Check the window pointer is still valid. (closes #5093 )
2019-10-20 22:27:10 +02:00
Bram Moolenaar
4d14bac8e7
patch 8.1.2195: Vim does not exit when the terminal window is last window
...
Problem: Vim does not exit when closing a terminal window and it is the
last window.
Solution: Exit Vim if the closed terminal window is the last one.
(closes #4539 )
2019-10-20 21:15:15 +02:00
Bram Moolenaar
b40c2576d4
patch 8.1.2187: error for bad regexp even though regexp is not used
...
Problem: Error for bad regexp even though regexp is not used when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes #5059 )
2019-10-19 21:01:05 +02:00
Bram Moolenaar
92ea26b925
patch 8.1.2173: searchit() has too many arguments
...
Problem: Searchit() has too many arguments.
Solution: Move optional arguments to a struct. Add the "wrapped" argument.
2019-10-18 20:53:34 +02:00
Bram Moolenaar
4facea310c
patch 8.1.2143: cannot see each command even when 'verbose' is set
...
Problem: Cannot see each command even when 'verbose' is set.
Solution: List each command when 'verbose' is at least 16.
2019-10-12 20:17:40 +02:00
Bram Moolenaar
bd67aac279
patch 8.1.2064: MS-Windows: compiler warnings for unused arguments
...
Problem: MS-Windows: compiler warnings for unused arguments.
Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963 )
2019-09-21 23:09:04 +02:00
Bram Moolenaar
b20b9e14dd
patch 8.1.2062: the mouse code is spread out
...
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959 )
2019-09-21 20:48:04 +02:00
Bram Moolenaar
8d3b51084a
patch 8.1.1988: :startinsert! does not work the same way as "A"
...
Problem: :startinsert! does not work the same way as "A".
Solution: Use the same code to move the cursor. (closes #4896 )
2019-09-05 21:29:01 +02:00
Bram Moolenaar
b005cd80cf
patch 8.1.1979: code for handling file names is spread out
...
Problem: Code for handling file names is spread out.
Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
2019-09-04 15:54:55 +02:00
Bram Moolenaar
d019039ccd
patch 8.1.1914: command line expansion code is spread out
...
Problem: Command line expansion code is spread out.
Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855 )
2019-08-23 21:17:35 +02:00
Bram Moolenaar
00b0d6d8dc
patch 8.1.1908: every popup window consumes a buffer number
...
Problem: Every popup window consumes a buffer number.
Solution: Recycle buffers only used for popup windows. Do not list popup
window buffers.
2019-08-21 22:25:30 +02:00