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
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
fc78a0369e
patch 8.2.4832: passing zero instead of NULL to a pointer argument
...
Problem: Passing zero instead of NULL to a pointer argument.
Solution: Use NULL. (closes #10296 )
2022-04-26 22:11:38 +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
Bram Moolenaar
23f106efeb
patch 8.2.4830: possible endless loop if there is unused typahead
...
Problem: Possible endless loop if there is unused typahead.
Solution: Only loop when the typeahead changed.
2022-04-26 18:52:22 +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
Bram Moolenaar
87f74106f9
patch 8.2.4827: typo in variable name
...
Problem: Typo in variable name. (Gabriel Dupras)
Solution: Rename the variable.
2022-04-25 18:59:25 +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
zeertzjq
23d5770ef5
patch 8.2.4824: expression is evaluated multiple times
...
Problem: Expression is evaluated multiple times.
Solution: Evaluate expression once and store the result. (closes #10278 )
2022-04-25 13:28:00 +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
LemonBoy
af59e34f1b
patch 8.2.4822: setting ufunc to NULL twice
...
Problem: Setting ufunc to NULL twice.
Solution: Set ufunc to NULL in find_exported(). (closes #19275 )
2022-04-24 21:55:00 +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
45684c6ec4
patch 8.2.4817: Win32 GUI: modifiers are not always used
...
Problem: Win32 GUI: modifiers are not always used.
Solution: Handle more modifiers. (closes #10269 )
2022-04-24 15:46:42 +01:00
Philip H
490ac3fe98
patch 8.2.4816: still using older codecov app in some places of CI
...
Problem: Still using older codecov app in some places of CI.
Solution: Use v3.1.0. (closes #10209 )
2022-04-24 12:44:32 +01:00
Ernie Rael
d42b83942e
patch 8.2.4815: cannot build with older GTK version
...
Problem: Cannot build with older GTK version.
Solution: Use gtk_window_get_size() instead of gdk_window_get_width() and
gdk_window_get_height(). (Ernie Rael, closes #10257 )
2022-04-23 19:52:23 +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
zeertzjq
8279cfe499
patch 8.2.4812: unused struct item
...
Problem: Unused struct item.
Solution: Remove "lines" match_T. Simplify the code. (closes #10256 )
2022-04-23 12:05:51 +01:00
LemonBoy
0de7369fd4
patch 8.2.4811: Win32 GUI: caps lock doesn't work
...
Problem: Win32 GUI: caps lock doesn't work.
Solution: Handle VK_CAPITAL. (closes #10260 , closes #10258 )
2022-04-23 11:08:11 +01:00
Bram Moolenaar
56dba60216
patch 8.2.4810: missing changes in one file
...
Problem: Missing changes in one file.
Solution: Also change the struct initializers.
2022-04-23 11:03:58 +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
33d3ce640c
patch 8.2.4808: unused item in engine struct
...
Problem: Unused item in engine struct.
Solution: Remove "expr". Add comment with tags.
2022-04-23 10:41:35 +01:00
LemonBoy
77fc0b02e5
patch 8.2.4807: processing key eveints in Win32 GUI is not ideal
...
Problem: Processing key eveints in Win32 GUI is not ideal.
Solution: Improve processing of key events. (closes #10155 )
2022-04-22 22:45:52 +01:00
Bram Moolenaar
53ef573148
patch 8.2.4806: a mapping using <LeftDrag> does not start Select mode
...
Problem: A mapping using <LeftDrag> does not start Select mode.
Solution: When checking for starting select mode with the mouse also do this
when there is typeahead. (closes #10249 )
2022-04-22 21:20:26 +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