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
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
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
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
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
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
Bram Moolenaar
06651630ee
patch 8.2.4834: Vim9: some lines not covered by tests
...
Problem: Vim9: some lines not covered by tests.
Solution: Add a few more tests. Remove dead code.
2022-04-27 17:54:25 +01:00
zeertzjq
12e21e387b
patch 8.2.4833: failure of mapping not checked for
...
Problem: Failure of mapping not checked for.
Solution: Check return value of ins_typebuf(). (closes #10299 )
2022-04-27 11:58:01 +01:00
zeertzjq
2c8a7ebdad
patch 8.2.4831: crash when using maparg() and unmapping simplified keys
...
Problem: Crash when using maparg() and unmapping simplified keys.
Solution: Do not keep a mapblock pointer. (closes #10294 )
2022-04-26 21:36:21 +01:00
zeertzjq
17c95d9608
patch 8.2.4829: a key may be simplified to NUL
...
Problem: A key may be simplified to NUL.
Solution: Use K_ZERO instead. Use macros instead of hard coded values.
(closes #10290 )
2022-04-26 12:51:07 +01:00
zeertzjq
abeb09b2c5
patch 8.2.4828: fix for unmapping simplified key not fully tested
...
Problem: Fix for unmapping simplified key not fully tested.
Solution: Add a test case. (closes #10292 )
2022-04-26 12:29:43 +01:00
jvoisin
1f435dafff
patch 8.2.4826: .cshtml files are not recognized
...
Problem: .cshtml files are not recognized.
Solution: Use html filetype for .cshtml files. (Julien Voisin, closes #10212 )
2022-04-25 17:40:56 +01:00
Ernie Rael
09661203ec
patch 8.2.4825: can only get a list of mappings
...
Problem: Can only get a list of mappings.
Solution: Add the optional {abbr} argument. (Ernie Rael, closes #10277 )
Rename to maplist(). Rename test file.
2022-04-25 14:40:44 +01:00
LemonBoy
372bcceeee
patch 8.2.4823: concat more than 2 strings in :def function is inefficient
...
Problem: Concatenating more than 2 strings in a :def function is
inefficient.
Solution: Add a count to the CONCAT instruction. (closes #10276 )
2022-04-25 12:43:20 +01:00
Bram Moolenaar
aac12daa61
patch 8.2.4821: crash when imported autoload script was deleted
...
Problem: Crash when imported autoload script was deleted.
Solution: Initialize local variable. (closes #10274 ) Give a more meaningful
error message.
2022-04-24 21:33:20 +01:00
Ernie Rael
659c240cf7
patch 8.2.4820: not simple programmatic way to find a specific mapping
...
Problem: Not simple programmatic way to find a specific mapping.
Solution: Add getmappings(). (Ernie Rael, closes #10273 )
2022-04-24 18:40:28 +01:00
zeertzjq
a4e3332650
patch 8.2.4819: unmapping simplified keys also deletes other mapping
...
Problem: Unmapping simplified keys also deletes other mapping.
Solution: Only unmap a mapping with m_simplified set. (closes #10270 )
2022-04-24 17:07:53 +01:00
zeertzjq
ac92ab7719
patch 8.2.4818: no test for what 8.2.4806 fixes
...
Problem: No test for what 8.2.4806 fixes.
Solution: Add a test. (closes #10727 )
2022-04-24 15:58:30 +01:00
LemonBoy
4a392d2440
patch 8.2.4814: possible to leave a popup window with win_gotoid()
...
Problem: Possible to leave a popup window with win_gotoid().
Solution: Give an error when trying to leave a popup window with
win_gotoid(). (closes #10253 )
2022-04-23 14:07:56 +01:00
Brandon Simmons
2c40707baa
patch 8.2.4813: pasting text while indent folding may mess up folds
...
Problem: Pasting text while indent folding may mess up folds.
Solution: Adjust the way folds are split. (Brandon Simmons, closes #10254 )
2022-04-23 13:50:17 +01:00
Yegappan Lakshmanan
885de449c0
patch 8.2.4809: various things no6 properly tested
...
Problem: Various things no6 properly tested.
Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259 )
2022-04-23 10:51:14 +01:00
Bram Moolenaar
9b36750640
patch 8.2.4805: CurSearch used for all matches in current line
...
Problem: CurSearch used for all matches in current line.
Solution: Don't use the non-zero line count. (closes #10247 )
2022-04-22 20:07:21 +01:00
Yegappan Lakshmanan
1fc6ea9bf3
patch 8.2.4804: expression in heredoc doesn't work for compiled function
...
Problem: Expression in heredoc doesn't work for compiled function.
Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan,
closes #10232 )
2022-04-21 23:30:15 +01:00
LemonBoy
66e13aedc7
patch 8.2.4803: WinScrolled not always triggered when scrolling with mouse
...
Problem: WinScrolled not always triggered when scrolling with the mouse.
Solution: Add calls to may_trigger_winscrolled(). (closes #10246 )
2022-04-21 22:52:11 +01:00
zeertzjq
7851c69a12
patch 8.2.4802: test is not cleaned up
...
Problem: Test is not cleaned up.
Solution: Make test clean up after itself. Avoid NUL. (closes #10233 )
2022-04-21 11:14:01 +01:00
Christian Brabandt
3fd7480cd2
patch 8.2.4801: fix for cursorbind fix not fully tested
...
Problem: Fix for cursorbind fix not fully tested.
Solution: Add another test case. (Christian Brabandt, closes #10240 )
2022-04-20 22:07:41 +01:00
Bram Moolenaar
d0eaf675aa
patch 8.2.4800: missing test update for adjusted t_8u behavior
...
Problem: Missing test update for adjusted t_8u behavior.
Solution: Update and extend the test.
2022-04-20 19:55:37 +01:00
LemonBoy
0044e5100a
patch 8.2.4799: popup does not use correct topline
...
Problem: Popup does not use correct topline.
Solution: Also add one when firstline is negative. (closes #10229 )
2022-04-20 19:47:37 +01:00
LemonBoy
8530b41fd3
patch 8.2.4797: getwininfo() may get oudated values
...
Problem: getwininfo() may get oudated values.
Solution: Make sure w_botline is up-to-date. (closes #10226 )
2022-04-20 19:00:36 +01:00
Bram Moolenaar
da1050cd6f
patch 8.2.4796: file left behind after running cursorline tests
...
Problem: File left behind after running cursorline tests.
Solution: Uncomment the line that deletes the file.
2022-04-20 18:41:49 +01:00
Christian Brabandt
2c645e8b00
patch 8.2.4795: 'cursorbind' scrolling depends on whether 'cursorline' is set
...
Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set.
Solution: Always call validate_cursor(). (Christian Brabandt, closes #10230 ,
closes #10014 )
2022-04-20 14:52:01 +01:00
Bram Moolenaar
928a131356
patch 8.2.4793: recognizing Maxima filetype even though it might be another
...
Problem: Recognizing Maxima filetype even though it might be another.
Solution: Remove *.mc and *.dem patterns from Maxima files
2022-04-19 19:38:38 +01:00
Bram Moolenaar
e468698994
patch 8.2.4792: indent operator creates an undo entry for every line
...
Problem: Indent operator creates an undo entry for every line.
Solution: Create one undo entry for all lines. (closes #10227 )
2022-04-19 18:28:45 +01:00
Charlie Groves
fef4485ef5
patch 8.2.4791: events triggered in different order when reusing buffer
...
Problem: Autocmd events triggered in different order when reusing an empty
buffer.
Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198 )
2022-04-19 16:24:12 +01:00
Bram Moolenaar
c448e9c950
patch 8.2.4790: lilypond filetype not recognized
...
Problem: Lilypond filetype not recognized.
Solution: Add patterns for lilypond. (Doug Kearns)
2022-04-19 15:29:57 +01:00