Bram Moolenaar
ddf7dba96e
patch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script context
...
Problem: repeating a <ScriptCmd> mapping does not use the right script
context.
Solution: When using a mapping put <SID>{sid}; in the redo buffer.
(closes #11049 )
2022-09-05 16:53:21 +01:00
Yegappan Lakshmanan
b1f471ee20
patch 9.0.0386: some code blocks are nested too deep
...
Problem: Some code blocks are nested too deep.
Solution: Bail out earlier. (Yegappan Lakshmanan, closes #11058 )
2022-09-05 14:33:47 +01:00
zeertzjq
c47b16a470
patch 9.0.0385: GUI: when CTRL-D is mapped in Insert mode it gets inserted
...
Problem: GUI: when CTRL-D is mapped in Insert mode it gets inserted.
(Yasuhiro Matsumoto)
Solution: Also recognize modifier starting with CSI. (closes #11057 )
2022-09-05 13:05:29 +01:00
Bram Moolenaar
c7d2ff2ca0
patch 9.0.0384: Covertity still complains about using return value of getc()
...
Problem: Covertity still complains about using return value of getc().
Solution: Check for EOF.
2022-09-05 11:04:14 +01:00
Bram Moolenaar
963ab26842
patch 9.0.0383: Coverity complains about unused value
...
Problem: Coverity complains about unused value.
Solution: Use the value.
2022-09-05 10:55:27 +01:00
Bram Moolenaar
31ea6bf530
patch 9.0.0382: freeing the wrong string on failure
...
Problem: Freeing the wrong string on failure.
Solution: Adjust the argument. Reorder the code.
2022-09-05 10:47:13 +01:00
Dominique Pelle
b40ad4ff14
patch 9.0.0381: writefile test leaves files behind
...
Problem: Writefile test leaves files behind.
Solution: Fix the file names of files to be deleted. (Dominique Pellé,
closes #11056 )
2022-09-04 21:29:46 +01:00
Bram Moolenaar
e1f3ab73bc
patch 9.0.0380: deleting files in tests is a hassle
...
Problem: Deleting files in tests is a hassle.
Solution: Use the new 'D' flag of writefile().
2022-09-04 21:29:08 +01:00
Bram Moolenaar
8f7116cadd
Revert part of patch merged twice
2022-09-04 18:22:16 +01:00
Bram Moolenaar
fed6bdae6f
patch 9.0.0380: deleting files in tests is a hassle
...
Problem: Deleting files in tests is a hassle.
Solution: Use the new 'D' flag of writefile().
2022-09-04 18:10:11 +01:00
Bram Moolenaar
0daafaa7d9
Update runtime files
2022-09-04 17:45:43 +01:00
Bram Moolenaar
806a273f3c
patch 9.0.0379: cleaning up after writefile() is a hassle
...
Problem: Cleaning up after writefile() is a hassle.
Solution: Add the 'D' flag to defer deleting the written file. Very useful
in tests.
2022-09-04 15:40:36 +01:00
Bram Moolenaar
c1eb131c9e
patch 9.0.0378: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
2022-09-04 13:45:15 +01:00
Bram Moolenaar
eb5adf19d1
patch 9.0.0377: argument assignment does not work
...
Problem: Argument assignment does not work.
Solution: Skip over "=".
2022-09-04 13:41:37 +01:00
Yegappan Lakshmanan
6b085b9d73
patch 9.0.0376: clang warns for dead assignments
...
Problem: Clang warns for dead assignments.
Solution: Adjust the code. (Yegappan Lakshmanan, closes #11048 )
2022-09-04 12:47:21 +01:00
Bram Moolenaar
c8ac3a072f
patch 9.0.0375: the footer feature is unused
...
Problem: The footer feature is unused.
Solution: Remove FEAT_FOOTER and code.
2022-09-04 12:29:28 +01:00
Bram Moolenaar
3c7707680f
patch 9.0.0374: Coverity still complains about dropping sign of character
...
Problem: Coverity still complains about dropping sign of character.
Solution: Add intermediate variable.
2022-09-04 11:55:19 +01:00
Bram Moolenaar
a5348f241b
patch 9.0.0373: Coverity warns for NULL check and unused return value
...
Problem: Coverity warns for NULL check and unused return value.
Solution: Remove the NULL check, it was already checked earlier. Add (void)
to ignore the return value.
2022-09-04 11:42:22 +01:00
Bram Moolenaar
5fbbec180b
patch 9.0.0372: MS-Windows: "%T" time format does not appear to work
...
Problem: MS-Windows: "%T" time format does not appear to work.
Solution: Use "%H:%M:%S" instead.
2022-09-03 22:08:11 +01:00
Bram Moolenaar
06fef1b2bd
patch 9.0.0371: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize the variable. (John Marriott)
2022-09-03 21:53:28 +01:00
Bram Moolenaar
1d84f7608f
patch 9.0.0370: cleaning up afterwards can make a function messy
...
Problem: Cleaning up afterwards can make a function messy.
Solution: Add the :defer command.
2022-09-03 21:35:53 +01:00
Bram Moolenaar
06d32a0c17
patch 9.0.0369: a failing flaky test doesn't mention the time
...
Problem: A failing flaky test doesn't mention the time.
Solution: Add the time for debugging. Improve error message.
2022-09-03 13:58:47 +01:00
Bram Moolenaar
89083466fa
patch 9.0.0368: old Coverity warning for using NULL pointer
...
Problem: Old Coverity warning for using NULL pointer.
Solution: Bail out if dictionary allocation fails.
2022-09-03 12:59:19 +01:00
Bram Moolenaar
0a6bb59f6b
patch 9.0.0367: Coverity complains about dropping sign of character
...
Problem: Coverity complains about dropping sign of character.
Solution: Add explicit type cast.
2022-09-03 12:53:20 +01:00
Bram Moolenaar
6ac69ed9a2
patch 9.0.0366: cannot use import->Func() in lambda
...
Problem: Cannot use import->Func() in lambda. (Israel Chauca Fuentes)
Solution: Adjust how an expression in a lambda is parsed. (closes #11042 )
2022-09-03 12:09:07 +01:00
Dominique Pelle
91a874eb88
patch 9.0.0365: file name used in test is unusual
...
Problem: File name used in test is unusual.
Solution: Rename it. (Dominique Pellé, closes #11044 )
2022-09-03 10:59:32 +01:00
Yegappan Lakshmanan
c99e182e1f
patch 9.0.0364: clang static analyzer gives warnings
...
Problem: Clang static analyzer gives warnings.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #11043 )
2022-09-03 10:52:24 +01:00
Bram Moolenaar
b18b496997
patch 9.0.0363: common names in test files causes tests to be flaky
...
Problem: Common names in test files causes tests to be flaky.
Solution: Use more specific names.
2022-09-02 21:55:50 +01:00
Bram Moolenaar
f5724376ab
patch 9.0.0362: expanding ":e %" does not work for remote files
...
Problem: Expanding ":e %" does not work for remote files.
Solution: If the "%" or "#" file does not exist add the expansion anyway.
2022-09-02 19:45:15 +01:00
Yegappan Lakshmanan
956be4678f
patch 9.0.0361: removing a listener may result in a memory leak
...
Problem: Removing a listener may result in a memory leak and remove
subsequent listerns.
Solution: Init the "prev" pointer only once. (Yegappan Lakshmanan,
closes #11039 )
2022-09-02 17:12:07 +01:00
Bram Moolenaar
35d21c6830
patch 9.0.0360: crash when invalid line number on :for is ignored
...
Problem: Crash when invalid line number on :for is ignored.
Solution: Do not check breakpoint for non-existing line.
2022-09-02 16:47:16 +01:00
Yegappan Lakshmanan
8deb2b30c7
patch 9.0.0359: error message for wrong argument type is not specific
...
Problem: Error message for wrong argument type is not specific.
Solution: Include more information in the error. (Yegappan Lakshmanan,
closes #11037 )
2022-09-02 15:15:27 +01:00
Maxim Kim
119167265e
patch 9.0.0358: 'breakindent' does not indent non-lists
...
Problem: 'breakindent' does not indent non-lists with
"breakindentopt=list:-1".
Solution: Adjust indent computation. (Maxim Kim, closes #11038 )
2022-09-02 14:08:53 +01:00
Bram Moolenaar
cf2bb63397
patch 9.0.0357: 'linebreak' interferes with text property highlight
...
Problem: 'linebreak' interferes with text property highlight if there is
syntax highlighting.
Solution: Check the text prop attributes after combining with syntax
attributes. (closes #11035 )
2022-09-02 13:26:29 +01:00
Yasuhiro Matsumoto
a02a8a4d84
patch 9.0.0356: :echowindow sets the in_echowindow flag too early
...
Problem: :echowindow sets the in_echowindow flag too early.
Solution: Set in_echowindow only when outputting the text. (Yasuhiro
Matsumoto, closes #11033 )
2022-09-02 12:16:21 +01:00
thinca
6c667bdc94
patch 9.0.0355: check for uppercase char in autoload name is wrong
...
Problem: Check for uppercase char in autoload name is wrong, it checks the
name of the script.
Solution: Remove the check. (closes #11031 )
2022-09-02 11:25:37 +01:00
Bram Moolenaar
a906e8e1ab
patch 9.0.0354: MS-Windows: starting a python server for test sometimes fails
...
Problem: MS-Windows: starting a python server for test sometimes fails.
Solution: Increase the waiting time for the port.
2022-09-01 18:42:32 +01:00
Bram Moolenaar
68a635a80a
patch 9.0.0353: missing entry in switch
...
Problem: Missing entry in switch.
Solution: Add ISN_ECHOWINDOW.
2022-09-01 17:26:17 +01:00
Bram Moolenaar
3b474dcd30
patch 9.0.0352: using :echowindow in a timer clears part of message
...
Problem: using :echowindow in a timer clears part of message
Solution: Do not use msg_clr_eos().
2022-09-01 17:01:32 +01:00
Bram Moolenaar
b5b4f61cf1
patch 9.0.0351: message window may obscure the command line
...
Problem: Message window may obscure the command line.
Solution: Reduce the maximum height of the message window.
2022-09-01 16:43:17 +01:00
Bram Moolenaar
7d7ad7b2e8
patch 9.0.0350: :echowindow does not work in a compiled function
...
Problem: :echowindow does not work in a compiled function.
Solution: Handle the expression at compile time.
2022-09-01 16:00:53 +01:00
Bram Moolenaar
be807d5824
patch 9.0.0349: filetype of *.sil files not well detected
...
Problem: Filetype of *.sil files not well detected.
Solution: Inspect the file contents to guess the filetype.
2022-09-01 15:01:25 +01:00
Bram Moolenaar
36eb14fa3e
patch 9.0.0348: MS-Windows: GUI mouse move event test is flaky
...
Problem: MS-Windows: GUI mouse move event test is flaky.
Solution: Wait for a little while for the first move event.
2022-09-01 14:38:01 +01:00
K.Takata
df5320c439
patch 9.0.0347: MS-Windows: cannot set cursor shape in Windows Terminal
...
Problem: MS-Windows: cannot set cursor shape in Windows Terminal.
Solution: Make cursor shape work with Windows Terminal. (Ken Takata,
closes #11028 , closes #6576 )
2022-09-01 13:20:16 +01:00
zeertzjq
d3de178e53
patch 9.0.0346: :horizontal modifier not fully supported
...
Problem: :horizontal modifier not fully supported.
Solution: Also use :horizontal for completion and user commands.
(closes #11025 )
2022-09-01 12:58:52 +01:00
Bram Moolenaar
d83392a43a
patch 9.0.0345: error message for list argument could be clearer
...
Problem: Error message for list argument could be clearer.
Solution: Include the argument number. (Yegappan Lakshmanan, closes #11027 )
2022-09-01 12:22:46 +01:00
Yasuhiro Matsumoto
e42c8dae32
patch 9.0.0344: MS-Windows: background color wrong in Console
...
Problem: MS-Windows: background color wrong in Console.
Solution: Figure out the default console background color. (Yasuhiro
Matsumoto, issue #10310 )
2022-09-01 11:31:45 +01:00
Bram Moolenaar
5d09a401ec
patch 9.0.0343: ColorScheme autocommand triggered when colorscheme not found
...
Problem: ColorScheme autocommand triggered when colorscheme is not found.
(Romain Lafourcade)
Solution: Only trigger ColorScheme when loading the colorscheme succeeds.
(closes #11024 )
2022-08-31 21:17:10 +01:00
Bram Moolenaar
21c3a80a7f
patch 9.0.0342: ":wincmd =" equalizes in two directions
...
Problem: ":wincmd =" equalizes in two directions.
Solution: Make ":vertical wincmd =" equalize vertically only and
":horizontal wincmd =" equalize horizontally only.
2022-08-31 17:49:14 +01:00
zeertzjq
92a3d20682
patch 9.0.0341: mapset() does not restore <Nop> mapping properly
...
Problem: mapset() does not restore <Nop> mapping properly.
Solution: Use an empty string for <Nop>. (closes #11022 )
2022-08-31 16:40:17 +01:00