=?UTF-8?q?Dundar=20G=C3=B6c?=
f26c16144d
patch 8.2.4704: using "else" after return or break increases indent
...
Problem: Using "else" after return or break increases indent.
Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099 )
2022-04-07 13:26:34 +01:00
Bram Moolenaar
cb49a1d934
patch 8.2.4703: memory leak in handling 'cinscopedecls'
...
Problem: Memory leak in handling 'cinscopedecls'.
Solution: Free the memory before returning.
2022-04-07 13:08:00 +01:00
Tom Praschan
3506cf34c1
patch 8.2.4702: C++ scope labels are hard-coded
...
Problem: C++ scope labels are hard-coded.
Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
closes #10109 )
2022-04-07 12:39:08 +01:00
Bram Moolenaar
3ad2090316
patch 8.2.4701: Kuka Robot Language files not recognized
...
Problem: Kuka Robot Language files not recognized.
Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski,
closes #10096 )
2022-04-06 18:57:39 +01:00
Bram Moolenaar
c947b9ae41
patch 8.2.4700: buffer remains active if WinClosed event throws an exception
...
Problem: Buffer remains active if a WinClosed event throws an exception.
Solution: Ignore aborting() when closing the buffer. (closes #10097 )
2022-04-06 17:59:21 +01:00
LemonBoy
75a0f3c011
patch 8.2.4699: hard to reproduce hang when reading from a channel
...
Problem: Hard to reproduce hang when reading from a channel.
Solution: Check for readahead before starting to wait. (closes #10093 ,
closes #7781 , closes #6364 )
2022-04-05 22:03:30 +01:00
Bram Moolenaar
aa7d0c2335
patch 8.2.4698: Vim9: script variable has no flag that it was set
...
Problem: Vim9: script variable has no flag that it was set.
Solution: Add a flag that it was set, to avoid giving it a value when used.
(closes #10088 )
2022-04-05 21:40:38 +01:00
Bram Moolenaar
0d1f55c044
patch 8.2.4697: Vim9: crash when adding a duplicate key to a dictionary
...
Problem: Vim9: crash when adding a duplicate key to a dictionary.
Solution: Clear the stack item when it has been moved into the dictionary.
(closes #10087 )
2022-04-05 17:30:29 +01:00
zeertzjq
478700336d
patch 8.2.4696: delete() with "rf" argument does not report a failure
...
Problem: delete() with "rf" argument does not report a failure.
Solution: Return -1 if the directory could not be removed. (closes #10078 )
2022-04-05 15:31:01 +01:00
LemonBoy
beb0ef1ab2
patch 8.2.4695: JSON encoding could be faster
...
Problem: JSON encoding could be faster.
Solution: Optimize encoding JSON strings. (closes #10086 )
2022-04-05 15:07:32 +01:00
ichizok
02560424bf
patch 8.2.4694: avoidance of #elif causes more preproc nesting
...
Problem: Avoidance of #elif causes more preproc nesting.
Solution: Use #elif where it is useful. (Ozaki Kiichi, closes #10081 )
2022-04-05 14:18:44 +01:00
Bram Moolenaar
72bb10df1f
patch 8.2.4693: new regexp does not accept pattern "\%>0v"
...
Problem: new regexp does not accept pattern "\%>0v".
Solution: Do accept digit zero.
2022-04-05 14:00:32 +01:00
zeertzjq
0f68e6c07a
patch 8.2.4692: no test for what 8.2.4691 fixes
...
Problem: No test for what 8.2.4691 fixes.
Solution: Add a test. Use a more generic sotlution. (closes #10090 )
2022-04-05 13:17:01 +01:00
Bram Moolenaar
ca9d8d2cb9
patch 8.2.4691: solution for <Cmd> in a mapping causes trouble
...
Problem: Solution for <Cmd> in a mapping causes trouble.
Solution: Use another solution: put back CTRL-O after reading the <Cmd>
sequence.
2022-04-04 22:09:30 +01:00
LemonBoy
1b76a8dfe2
patch 8.2.4690: channel tests fail on MS-Windows
...
Problem: Channel tests fail on MS-Windows.
Solution: Check if the AF_UNIX attribute exists. (closes #10083 )
2022-04-04 21:13:35 +01:00
Bram Moolenaar
d0fb2d8041
patch 8.2.4689: using <Cmd> in a mapping does not work for mouse keys
...
Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
mode. (Sergey Vlasov)
Solution: When reading the <Cmd> argument do not use the stuff buffer.
(closes #10080 )
2022-04-04 21:03:52 +01:00
Bram Moolenaar
91ff3d4f52
patch 8.2.4688: new regexp engine does not give an error for "\%v"
...
Problem: New regexp engine does not give an error for "\%v".
Solution: Check for a value argument. (issue #10079 )
2022-04-04 18:32:32 +01:00
Bram Moolenaar
e8a4c0d91f
patch 8.2.4687: "vimgrep /\%v/ *" may cause a crash
...
Problem: "vimgrep /\%v/ *" may cause a crash.
Solution: When compiling the pattern with the old engine fails, restore the
regprog of the new engine instead of leaving it NULL.
(closes #10079 )
2022-04-04 18:14:34 +01:00
Kelvin Lee
b471690fad
patch 8.2.4686: configure doesn't find the Motif library with Cygwin
...
Problem: Configure doesn't find the Motif library with Cygwin.
Solution: Check for libXm.dll.a. (Kelvin Lee, closes #10077 )
2022-04-04 17:20:01 +01:00
Bram Moolenaar
188639d75c
patch 8.2.4685: when a swap file is found for a popup there is no dialog
...
Problem: When a swap file is found for a popup there is no dialog and the
buffer is loaded anyway.
Solution: Silently load the buffer read-only. (closes #10073 )
2022-04-04 16:57:21 +01:00
LemonBoy
cc766a85f4
patch 8.2.4684: cannot open a channel on a Unix domain socket
...
Problem: Cannot open a channel on a Unix domain socket.
Solution: Add Unix domain socket support. (closes #10062 )
2022-04-04 15:46:58 +01:00
Yegappan Lakshmanan
4829c1c9e9
patch 8.2.4683: verbose check with dict_find() to see if a key is present
...
Problem: Verbose check with dict_find() to see if a key is present.
Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074 )
2022-04-04 15:16:54 +01:00
Bram Moolenaar
7a411a306f
patch 8.2.4682: Vim9: can use :unlockvar for const variable
...
Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael)
Solution: Check whether the variable is a const.
2022-04-04 14:58:06 +01:00
Bram Moolenaar
15f74fab65
patch 8.2.4681: build fails with a combination of features
...
Problem: Build fails with a combination of features.
Solution: Remove #ifdef for alloc_clear_id(). (John Marriott)
2022-04-03 21:57:26 +01:00
Bram Moolenaar
242c152c08
patch 8.2.4680: build failure without +postscript
...
Problem: Build failure without +postscript.
Solution: Use another error message.
2022-04-03 21:52:51 +01:00
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