Yegappan Lakshmanan
2b74b6805b
patch 8.2.4679: cannot have expandcmd() give an error message for mistakes
...
Problem: Cannot have expandcmd() give an error message for mistakes.
Solution: Add an optional argument to give errors. Fix memory leak when
expanding files fails. (Yegappan Lakshmanan, closes #10071 )
2022-04-03 21:30:32 +01:00
Bram Moolenaar
1061195057
patch 8.2.4678: Vim9: not all code is tested
...
Problem: Vim9: not all code is tested.
Solution: Add a few more tests.
2022-04-03 21:11:34 +01:00
Bram Moolenaar
0b962e5685
patch 8.2.4677: the Athena GUI support is outdated
...
Problem: The Athena GUI support is outdated.
Solution: Remove the Athena GUI code.
2022-04-03 18:02:37 +01:00
Bram Moolenaar
292e1b9f68
patch 8.2.4676: test fails with different error
...
Problem: Test fails with different error.
Solution: Add argument for :elseif.
2022-04-03 16:59:02 +01:00
Bram Moolenaar
fa010cdfb1
patch 8.2.4675: no error for missing expression after :elseif
...
Problem: No error for missing expression after :elseif. (Ernie Rael)
Solution: Check for missing expression. (closes #10068 )
2022-04-03 16:13:07 +01:00
Ernie Rael
c4cb544cd5
patch 8.2.4674: cannot force getting MouseMove events
...
Problem: Cannot force getting MouseMove events.
Solution: Add the 'mousemoveevent' option with implementaiton for the GUI.
(Ernie Rael, closes #10044 )
2022-04-03 15:47:28 +01:00
Bram Moolenaar
8ef6997e2d
patch 8.2.4673: redrawing a split window is slow when using CTRL-F and CTRL-B
...
Problem: Redrawing a vertically split window is slow when using CTRL-F and
CTRL-B.
Solution: When deciding on USE_REDRAW bail out if scrolling more than three
lines. (issue #8002 )
2022-04-03 13:23:22 +01:00
Bram Moolenaar
ce416b453a
patch 8.2.4672: using :normal with Ex mode may make :substitute hang
...
Problem: Using :normal with Ex mode may make :substitute hang.
Solution: When getting an empty line behave like 'q' was typed.
(closes #10070 )
2022-04-03 12:59:34 +01:00
LemonBoy
a3157a476b
patch 8.2.4671: 'wildignorecase' is sometimes not used for glob()
...
Problem: 'wildignorecase' is sometimes not used for glob().
Solution: Also use 'wildignorecase' when there are no wildcards.
(closes #10066 , closes #8350 )
2022-04-03 11:58:31 +01:00
Yegappan Lakshmanan
72bb47e38f
patch 8.2.4670: memory allocation failures for new tab page not tested
...
Problem: Memory allocation failures for new tab page not tested.
Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
closes #10067 )
2022-04-03 11:22:38 +01:00
LemonBoy
58f331a05f
patch 8.2.4669: in compiled code len('string') is not inlined
...
Problem: In compiled code len('string') is not inlined.
Solution: Compute the length at compile time if possible. (closes #10065 )
2022-04-02 21:59:06 +01:00
Yegappan Lakshmanan
0dac1ab579
patch 8.2.4668: buffer allocation failures insufficiently tested
...
Problem: Buffer allocation failures insufficiently tested.
Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
closes #10064 )
2022-04-02 21:46:19 +01:00
Yegappan Lakshmanan
5018a836c0
patch 8.2.4667: expandcmd() fails on an error
...
Problem: expandcmd() fails on an error.
Solution: On failure return the command unmodified. (yegappan Lakshmanan,
closes #10063 )
2022-04-02 21:12:21 +01:00
Bram Moolenaar
97f8c1081e
patch 8.2.4666: Vim9: assignment not recognized in skipped block
...
Problem: Vim9: assignment not recognized in skipped block.
Solution: When skipping assume identifier exists. (closes #10059 )
2022-04-02 19:43:57 +01:00
Bram Moolenaar
eabddc425e
patch 8.2.4665: popup with "minwidth" and scrollbar not updated properly
...
Problem: Popup with "minwidth" and scrollbar not updated properly.
Solution: Adjust the computation if the window width. (closes #10061 )
2022-04-02 15:32:16 +01:00
Bruno Roque
c1658a196b
patch 8.2.4664: Elvish files are not recognized
...
Problem: Elvish files are not recognized.
Solution: Recognize .elv files. (Bruno Roque, closes #10058 )
2022-04-02 10:48:24 +01:00
Bram Moolenaar
17fa233f6f
patch 8.2.4663: occasional crash when running the GUI tests
...
Problem: Occasional crash when running the GUI tests.
Solution: Check that the line index is not too high. (closes #8681 )
2022-04-01 19:44:47 +01:00
Bram Moolenaar
22ebd172e4
patch 8.2.4662: no error for using out of range list index
...
Problem: No error for using out of range list index.
Solution: Check list index at script level like in compiled function.
(closes #10051 )
2022-04-01 15:26:58 +01:00
Bram Moolenaar
ffe6e646dc
patch 8.2.4661: Coverity warning for using uninitialized variable
...
Problem: Coverity warning for using uninitialized variable.
Solution: Initialize variable to NULL.
2022-04-01 13:23:47 +01:00
Bram Moolenaar
782c6744b4
patch 8.2.4660: cursorcolumn is sometimes not correct
...
Problem: Cursorcolumn is sometimes not correct.
Solution: Recompute the cursor column when entering Insert mode and the
cursor is on a character wider than a screen cell.
2022-04-01 12:06:31 +01:00
Bram Moolenaar
96e08e028c
patch 8.2.4659: invalid memory access when using printable function name
...
Problem: Invalid memory access when using printable function name.
Solution: Adjust copied name length.
2022-03-31 21:40:33 +01:00
ranjithshegde
3a6f952cc8
patch 8.2.4658: org-mode files are not recognized
...
Problem: Org-mode files are not recognized.
Solution: Add patterns to recognize "org" files. (closes #10046 )
2022-03-31 20:24:35 +01:00
Bram Moolenaar
a6c18d38ca
patch 8.2.4657: errors for functions are sometimes hard to read
...
Problem: Errors for functions are sometimes hard to read.
Solution: Use printable_func_name() in more places.
2022-03-31 20:02:56 +01:00
Bram Moolenaar
ccbfd4883f
patch 8.2.4656: Vim9: can't use item from "import autoload" with autoload dir
...
Problem: Vim9: can't use items from "import autoload" with autoload
directory name.
Solution: Let sn_autoload_prefix overrule sn_import_autoload.
(closes #10054 )
2022-03-31 16:18:23 +01:00
Yegappan Lakshmanan
1104a6d0c2
patch 8.2.4655: cmdline completion popup menu positioned wrong
...
Problem: Command line completion popup menu positioned wrong when using a
terminal window.
Solution: Position the popup menu differently when editing the command line.
(Yegappan Lakshmanan, closes #10050 , closes #10035 )
2022-03-31 12:34:15 +01:00
Bram Moolenaar
49d008d96b
patch 8.2.4654: missing changes for import check
...
Problem: Missing changes for import check.
Solution: Add missing changes.
2022-03-31 11:51:21 +01:00
Bram Moolenaar
4dea2d92e4
patch 8.2.4653: "import autoload" does not check the file name
...
Problem: "import autoload" does not check the file name.
Solution: Give an error if the file is not readable. (closes #10049 )
2022-03-31 11:37:57 +01:00
Bram Moolenaar
d1d2684c80
patch 8.2.4652: leaking memory if assignment fails
...
Problem: Leaking memory if assignment fails.
Solution: Clear assigned value on failure.
2022-03-31 10:13:47 +01:00
Bram Moolenaar
1712518f48
patch 8.2.4651: test fails because path differs
...
Problem: Test fails because path differs.
Solution: Only compare the tail of the path.
2022-03-30 21:57:50 +01:00
Bram Moolenaar
c0ceeeb839
patch 8.2.4650: "import autoload" only works with using 'runtimepath'
...
Problem: "import autoload" only works with using 'runtimepath'.
Solution: Also support a relative and absolute file name.
2022-03-30 21:12:27 +01:00
Bram Moolenaar
b4ad3b0dea
patch 8.2.4649: various formatting problems
...
Problem: Various formatting problems.
Solution: Improve the code formatting.
2022-03-30 10:57:45 +01:00
Yegappan Lakshmanan
9247a221ce
patch 8.2.4648: handling LSP messages is a bit slow
...
Problem: Handling LSP messages is a bit slow.
Solution: Included support for LSP messages. (Yegappan Lakshmanan,
closes #10025 )
2022-03-30 10:16:05 +01:00
Bram Moolenaar
2bdad61267
patch 8.2.4647: "source" can read past end of copied line
...
Problem: "source" can read past end of copied line.
Solution: Add a terminating NUL.
2022-03-29 19:52:12 +01:00
Bram Moolenaar
b55986c52d
patch 8.2.4646: using buffer line after it has been freed
...
Problem: Using buffer line after it has been freed in old regexp engine.
Solution: After getting mark get the line again.
2022-03-29 13:24:58 +01:00
James Cherti
fd01280d01
patch 8.2.4645: 'shortmess' changed when session does not store options
...
Problem: 'shortmess' changed when session does not store options.
Solution: Save and restore 'shortmess' if needed. (James Charti,
closes #10037 )
2022-03-29 12:02:57 +01:00
Lewis Russell
1624639ec8
patch 8.2.4644: redrawing too often when 'relativenumber' is set
...
Problem: Redrawing too often when 'relativenumber' is set.
Solution: Only redraw when the cursor line changed. (Lewis Russell,
closes #10040 )
2022-03-29 11:38:17 +01:00
Bram Moolenaar
24565cf27b
patch 8.2.4643: Vim9: variable may be locked unintentionally
...
Problem: Vim9: variable may be locked unintentionally.
Solution: Clear "v_lock". (closes #10036 )
2022-03-28 18:16:52 +01:00
Bram Moolenaar
859cc21c6b
patch 8.2.4642: Vim9: in :def function script var cannot be null
...
Problem: Vim9: in :def function script var cannot be null.
Solution: Only initialize a script variable when not set to a null value.
(closes #10034 )
2022-03-28 15:22:35 +01:00
Bram Moolenaar
471b3aed3e
patch 8.2.4641: may mark the wrong window for redrawing
...
Problem: May mark the wrong window for redrawing.
Solution: Use redraw_win_later(). (closes #10032 )
2022-03-28 12:41:19 +01:00
James McCoy
8be423b7ac
patch 8.2.4640: some boolean options use "long" instead of "int"
...
Problem: Some boolean options use "long" instead of "int".
Solution: Adjust the type. (James McCoy, closes #10033 )
2022-03-28 11:55:12 +01:00
kylo252
9dac9b1751
patch 8.2.4639: not sufficient parenthesis in preprocessor macros
...
Problem: Not sufficient parenthesis in preprocessor macros.
Solution: Add more parenthesis. (closes #10031 )
2022-03-27 20:05:17 +01:00
zeertzjq
3e559cd884
patch 8.2.4638: superfluous check if a redraw is needed for 'cursorline'
...
Problem: Superfluous check if a redraw is needed for 'cursorline'.
Solution: Remove check_redraw_cursorline(). (closes #10030 , closes #10029 )
2022-03-27 19:26:55 +01:00
Bram Moolenaar
565d1278cb
patch 8.2.4637: warning for using uninitialized variable
...
Problem: Warning for using uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
2022-03-27 18:11:05 +01:00
Bram Moolenaar
1501b63f8d
patch 8.2.4636: not using Visual range
...
Problem: Not using Visual range.
Solution: Put the command pointer back to the range.
2022-03-27 16:56:21 +01:00
Bram Moolenaar
501f978288
patch 8.2.4635: tests using null list or dict fail
...
Problem: Tests using null list or dict fail.
Solution: Only use the new rules for Vim9 script.
2022-03-27 16:51:04 +01:00
Bram Moolenaar
ec15b1cfdc
patch 8.2.4634: Vim9: cannot initialize a variable to null_list
...
Problem: Vim9: cannot initialize a variable to null_list.
Solution: Give negative count to NEWLIST. (closes #10027 )
Also fix inconsistencies in comparing with null values.
2022-03-27 16:29:53 +01:00
Bram Moolenaar
c75bca3ee9
patch 8.2.4633: Visual range does not work before command modifiers
...
Problem: Visual range does not work before command modifiers.
Solution: Move Visual range to after command modifiers.
2022-03-27 13:36:50 +01:00
Bram Moolenaar
f3980dc5d0
patch 8.2.4632: using freed memory in flatten()
...
Problem: Using freed memory in flatten().
Solution: Clear typval after recursing into list.
2022-03-26 16:42:23 +00:00
Bram Moolenaar
347538fad0
patch 8.2.4631: crash when switching window in BufWipeout autocommand
...
Problem: Crash when switching window in BufWipeout autocommand.
Solution: Put any buffer in the window to avoid it being NULL.
(closes #10024 )
2022-03-26 16:28:06 +00:00
Bram Moolenaar
bf269ed0b0
patch 8.2.4630: 'cursorline' not always updated with 'culopt' is "screenline"
...
Problem: 'cursorline' not always updated with 'cursorlineopt' is
"screenline".
Solution: Call check_redraw_cursorline() more often. (closes #10013 )
2022-03-26 13:28:14 +00:00