Bram Moolenaar
175913fb03
patch 8.2.4884: test fails without the job/channel feature
...
Problem: Test fails without the job/channel feature. (Dominique Pellé)
Solution: Add condition.
2022-05-06 13:27:08 +01:00
LemonBoy
2eaef106e4
patch 8.2.4883: string interpolation only works in heredoc
...
Problem: String interpolation only works in heredoc.
Solution: Support interpolated strings. Use syntax for heredoc consistent
with strings, similar to C#. (closes #10327 )
2022-05-06 13:14:50 +01:00
Christian Brabandt
e7d6dbc572
patch 8.2.4882: cannot make 'breakindent' use a specific column
...
Problem: Cannot make 'breakindent' use a specific column.
Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt,
closes #10362 , closes #10325 )
2022-05-06 12:21:04 +01:00
Shougo Matsushita
509142ab7a
patch 8.2.4881: "P" in Visual mode still changes some registers
...
Problem: "P" in Visual mode still changes some registers.
Solution: Make "P" in Visual mode not change any register. (Shougo
Matsushita, closes #10349 )
2022-05-06 11:45:09 +01:00
Bram Moolenaar
434725cc4c
patch 8.2.4880: Vim9: misplaced elseif causes invalid memory access
...
Problem: Vim9: misplaced elseif causes invalid memory access.
Solution: Check cs_idx not to be negative.
2022-05-06 11:27:52 +01:00
Bram Moolenaar
3e79427803
patch 8.2.4879: screendump test may fail when using valgrind
...
Problem: Screendump test may fail when using valgrind.
Solution: Wait longer for the first screendump.
2022-05-06 11:21:19 +01:00
Bram Moolenaar
dd7eff0a75
patch 8.2.4878: valgrind warning for using uninitialized variable
...
Problem: Valgrind warning for using uninitialized variable.
Solution: Initialize the type of newtv.
2022-05-06 11:02:05 +01:00
Christian Brabandt
d560014e03
patch 8.2.4877: MS-Windows: Wrongly using Normal colors for termguicolors
...
Problem: MS-Windows: Using Normal colors for termguicolors causes problems.
Solution: Do not use Normal colors to set sg_gui_fg and sg_gui_bg.
(Christian Brabandt, closes #10317 , closes #10241 )
2022-05-05 21:09:54 +01:00
Christian Brabandt
dfbdadce44
patch 8.2.4876: MS-Windows: Shift-BS results in strange char in powershell
...
Problem: MS-Windows: Shift-BS results in strange character in powershell.
Solution: Add K_S_BS. (Christian Brabandt, closes #10283 , closes #10279 )
2022-05-05 20:46:47 +01:00
LemonBoy
40fd7e6652
patch 8.2.4875: MS-Windows: some .exe files are not recognized
...
Problem: MS-Windows: some .exe files are not recognized.
Solution: Parse APPEXECLINK junctions. (closes #10302 )
2022-05-05 20:18:16 +01:00
LemonBoy
365d8f76b5
patch 8.2.4874: Win32 GUI: horizontal scroll wheel not handled properly
...
Problem: Win32 GUI: horizontal scroll wheel not handled properly.
Solution: Also handle WM_MOUSEHWHEEL. (closes #10309 )
2022-05-05 19:23:07 +01:00
Bram Moolenaar
505ed0c38f
patch 8.2.4873: Vim9: using "else" differs from using "endif/if !cond"
...
Problem: Vim9: using "else" differs from using "endif/if !cond".
Solution: Leave the block and enter another one. (closes #10320 )
2022-05-05 17:02:46 +01:00
Bram Moolenaar
ea72038d60
patch 8.2.4872: Vim9: no error for using an expression only
...
Problem: Vim9: no error for using an expression only at the script level
when followed by an empty line.
Solution: Do not check the line number but whether something follows.
(closes #10357 )
2022-05-05 16:08:55 +01:00
Bram Moolenaar
09d9421b67
patch 8.2.4871: Vim9: in :def function no error for misplaced range
...
Problem: Vim9: in :def function no error for using a range with a command
that does not accept one.
Solution: Check for the command to accept a range. (closes #10330 )
2022-05-05 15:20:03 +01:00
LemonBoy
f3b4895f27
patch 8.2.4870: Vim9: expression in :substitute is not compiled
...
Problem: Vim9: expression in :substitute is not compiled.
Solution: Use an INSTR instruction if possible. (closes #10334 )
2022-05-05 13:53:03 +01:00
Bram Moolenaar
e442d59f6d
patch 8.2.4869: expression in command block does not look after NL
...
Problem: Expression in command block does not look after NL.
Solution: Skip over NL to check what follows. (closes #10358 )
2022-05-05 12:20:28 +01:00
LemonBoy
2a2707d033
patch 8.2.4868: when closing help window autocmds triggered for wrong window
...
Problem: When closing help window autocmds triggered for the wrong window.
Solution: Figure out the new current window earlier. (closes #10348 )
2022-05-04 22:13:47 +01:00
zeertzjq
ac402f4d64
patch 8.2.4867: listing of mapping with K_SPECIAL is wrong
...
Problem: Listing of mapping with K_SPECIAL is wrong.
Solution: Adjust escaping of special characters. (closes #10351 )
2022-05-04 18:51:43 +01:00
LemonBoy
47d4e317f8
patch 8.2.4866: duplicate code in "get" functions
...
Problem: Duplicate code in "get" functions.
Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
and getbufvar(). (closes #10335 )
2022-05-04 18:12:55 +01:00
zeertzjq
cd5dbad184
patch 8.2.4865: :startinsert right after :stopinsert may not work
...
Problem: :startinsert right after :stopinsert does not work when popup menu
is still visible.
Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352 )
2022-05-04 17:51:50 +01:00
Bram Moolenaar
0395f88b84
patch 8.2.4864: Vim9: script test fails
...
Problem: Vim9: script test fails.
Solution: Remove "if" around declaration.
2022-05-04 17:29:15 +01:00
Bram Moolenaar
c9af617ac6
patch 8.2.4863: accessing freed memory in test without the +channel feature
...
Problem: Accessing freed memory in test without the +channel feature.
(Dominique Pellé)
Solution: Do not generted PUSHCHANNEL or PUSHJOB if they are not
implemented. (closes #10350 )
2022-05-04 16:46:54 +01:00
Bram Moolenaar
23d44493f1
patch 8.2.4862: Vim9: test may fail when run with valgrind
...
Problem: Vim9: test may fail when run with valgrind.
Solution: Wait longer for callback if needed.
2022-05-04 16:24:57 +01:00
Ernie Rael
51d04d16f2
patch 8.2.4861: it is not easy to restore saved mappings
...
Problem: It is not easy to restore saved mappings.
Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295 )
2022-05-04 15:40:22 +01:00
Yasuhiro Matsumoto
05cf63e9bd
patch 8.2.4860: MS-Windows: always uses current directory for executables
...
Problem: MS-Windows: always uses current directory for executables.
Solution: Check the NoDefaultCurrentDirectoryInExePath environment variable.
(Yasuhiro Matsumoto, closes #10341 )
2022-05-03 11:02:28 +01:00
Bram Moolenaar
3a974a8933
patch 8.2.4859: wget2 files are not recognized
...
Problem: wget2 files are not recognized.
Solution: Add patterns to recognize wget2. (Doug Kearns)
2022-05-02 23:51:13 +01:00
zeertzjq
db08887f24
patch 8.2.4858: K_SPECIAL may be escaped twice
...
Problem: K_SPECIAL may be escaped twice.
Solution: Avoid double escaping. (closes #10340 )
2022-05-02 22:53:45 +01:00
asmka
f4f579b46b
patch 8.2.4857: Yaml indent for multiline is wrong
...
Problem: Yaml indent for multiline is wrong.
Solution: Adjust patterns. (closes #10328 , closes #8740 )
2022-05-02 10:46:49 +01:00
Christian Brabandt
2890c0b9d2
patch 8.2.4856: MinGW compiler complains about unknown escape sequence
...
Problem: MinGW compiler complains about unknown escape sequence.
Solution: Avoid using a backslash in path. (Christian Brabandt,
closes #10337 )
2022-05-02 10:34:15 +01:00
Zoe Roux
2096a5f128
patch 8.2.4855: robot files are not recognized
...
Problem: Robot files are not recognized.
Solution: Add patterns for robot files. (Zoe Roux, closes #10339 )
2022-05-02 10:29:31 +01:00
Christian Brabandt
2f7e00a8ae
patch 8.2.4854: array size does not match usage
...
Problem: Array size does not match usage.
Solution: Make array size 3 instead of 4. (Christian Brabandt, closes #10336 )
2022-05-02 00:06:51 +01:00
Philip H
056a1c2bdd
patch 8.2.4853: CI with FreeBSD is a bit outdated
...
Problem: CI with FreeBSD is a bit outdated.
Solution: Use 12.3 instead of 12.1. (closes #10333 )
2022-05-01 20:43:50 +01:00
LemonBoy
d2a4662430
patch 8.2.4852: ANSI color index to RGB value not correct
...
Problem: ANSI color index to RGB value not correct.
Solution: Convert the cterm index to ANSI index. (closes #10321 ,
closes #9836 ))
2022-05-01 17:43:33 +01:00
Bram Moolenaar
b4011afe53
patch 8.2.4851: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Use another variable to decide to restore option values.
2022-05-01 00:42:24 +01:00
LemonBoy
d7c9564d8d
patch 8.2.4850: mksession mixes up "tabpages" and "curdir" arguments
...
Problem: Mksession mixes up "tabpages" and "curdir" arguments.
Solution: Correct logic for storing tabpage in session. (closes #10312 )
2022-04-30 16:10:27 +01:00
Mathias Jean Johansen
917c32c4f7
patch 8.2.4849: Gleam filetype not detected
...
Problem: Gleam filetype not detected.
Solution: Add a pattern for Gleam files. (Mathias Jean Johansen,
closes #10326 )
2022-04-30 15:10:07 +01:00
zeertzjq
ee44603069
patch 8.2.4848: local completion with mappings and simplification not working
...
Problem: Local completion with mappings and simplification not working.
Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are
not simplified. (closes #10323 )
2022-04-30 15:02:22 +01:00
LemonBoy
a5d3590505
patch 8.2.4847: crash when using uninitialized function pointer
...
Problem: Crash when using uninitialized function pointer.
Solution: Check for NULL pointer. (closes #10319 , closes #10319 )
2022-04-29 21:15:02 +01:00
zeertzjq
bad8a013c2
patch 8.2.4846: termcodes test fails
...
Problem: Termcodes test fails.
Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316 )
2022-04-29 16:44:00 +01:00
zeertzjq
590f365f91
patch 8.2.4845: duplicate code
...
Problem: Duplicate code.
Solution: Move code below if/else. (closes #10314 )
2022-04-29 11:29:54 +01:00
zeertzjq
758a8d1999
patch 8.2.4844: <C-S-I> is simplified to <S-Tab>
...
Problem: <C-S-I> is simplified to <S-Tab>.
Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313 )
2022-04-29 11:06:34 +01:00
LemonBoy
202b4bd3a4
patch 8.2.4843: treating CTRL + ALT as AltGr is not backwards compatible
...
Problem: Win32 GUI: Treating CTRL + ALT as AltGr is not backwards
compatible. (Axel Bender)
Solution: Make a difference between left and right menu keys.
(closes #10308 )
2022-04-28 19:50:54 +01:00
Bram Moolenaar
211a5bb235
patch 8.2.4842: expand("%:p") is not empty when there is no buffer name
...
Problem: expand("%:p") is not empty when there is no buffer name.
Solution: When ignoring errors still return NULL. (closes #10311 )
2022-04-28 19:09:03 +01:00
Bram Moolenaar
a96edb736d
patch 8.2.4841: empty string considered an error for expand()
...
Problem: Empty string considered an error for expand() when 'verbose' is
set. (Christian Brabandt)
Solution: Do not give an error for an empty result. (closes #10307 )
2022-04-28 17:52:24 +01:00
Bram Moolenaar
05c7f5d3d0
patch 8.2.4840: heredoc expression evaluated even when skipping
...
Problem: Heredoc expression evaluated even when skipping.
Solution: Don't evaluate when "skip" is set. (closes #10306 )
2022-04-28 16:51:41 +01:00
Bram Moolenaar
0a748d9184
patch 8.2.4839: compiler warning for unused argument
...
Problem: Compiler warning for unused argument.
Solution: Add "UNUSED".
2022-04-28 15:39:08 +01:00
LemonBoy
dca1d40cd0
patch 8.2.4838: checking for absolute path is not trivial
...
Problem: Checking for absolute path is not trivial.
Solution: Add isabsolutepath(). (closes #10303 )
2022-04-28 15:26:33 +01:00
zeertzjq
68a573ce2b
patch 8.2.4837: modifiers not simplified when timed out
...
Problem: Modifiers not simplified when timed out or using feedkeys() with
'n" flag.
Solution: Adjust how mapped flag and timeout are used. (closes #10305 )
2022-04-28 14:10:01 +01:00
Bram Moolenaar
f6ced9863f
patch 8.2.4836: Vim9: some lines not covered by tests
...
Problem: Vim9: some lines not covered by tests.
Solution: Remove dead code. Add disassemble tests.
2022-04-28 12:00:49 +01:00
Bram Moolenaar
95e4dd813a
patch 8.2.4835: Vim9: some lines not covered by tests
...
Problem: Vim9: some lines not covered by tests.
Solution: Add a few more tests. Fix disassemble output.
2022-04-27 22:15:40 +01:00