Christian Clason
175692325b
vim-patch:8.2.4236: accessing freed memory
...
Problem: Accessing freed memory.
Solution: Set the bh_curr pointer to NULL.
166788c657
2022-01-28 19:03:39 +08:00
Christian Clason
7114764ffb
vim-patch:8.2.4235: invalid check for NULL pointer
...
Problem: Invalid check for NULL pointer.
Solution: Remove the check.
37cf413e3e
2022-01-28 19:03:39 +08:00
Christian Clason
e691ef338c
vim-patch:8.2.4233: crash when recording and using Select mode
...
Problem: Crash when recording and using Select mode.
Solution: When deleting the last recorded character check there is something
to delete.
a4bc2dd7cc
2022-01-28 19:03:37 +08:00
zeertzjq
530c65b17a
Merge pull request #16830 from kuuote/vim-8.2.3571
2022-01-28 12:21:15 +08:00
zeertzjq
d0493d1104
test(old): reorder test_register.vim according to upstream ( #17215 )
2022-01-28 09:34:03 +08:00
zeertzjq
69f37197c0
fix(completion): update submode message when selecting from API ( #17022 )
2022-01-28 07:55:10 +08:00
Sean Dewar
815aa9f642
Merge pull request #16820 from seandewar/vim-8.1.2302
...
vim-patch:8.1.2302,8.2.{3936,4112}
2022-01-27 23:23:26 +00:00
Sean Dewar
14751eaf70
Merge pull request #16954 from f380cedric/vim-8.2.3402
...
vim-patch:8.2.{3402,3403}
2022-01-27 23:05:43 +00:00
f380cedric
503e6f7832
vim-patch:8.2.3403: memory leak for :retab with invalid argument
...
Problem: Memory leak for :retab with invalid argument.
Solution: Free the memory. Make error messages consistent.
2ddb89f8a9
Changes in ex_retab are N/A (behind a non-FEAT_) and have been dropped.
2022-01-27 23:37:01 +01:00
zeertzjq
9779f5c84c
vim-patch:8.2.3903: "gM" does not count tabs as expected ( #16796 )
2022-01-28 06:26:24 +08:00
f380cedric
c5ac04331b
vim-patch:8.2.3612: using freed memory with regexp using a mark ( #16973 )
...
Problem: Using freed memory with regexp using a mark.
Solution: Get the line again after getting the mark position.
64066b9acd
2022-01-27 14:59:30 +01:00
f380cedric
5182627ce9
vim-patch:8.2.3669: buffer overflow with long help argument ( #16971 )
...
Problem: Buffer overflow with long help argument.
Solution: Use snprintf().
bd228fd097
2022-01-27 14:58:53 +01:00
dundargoc
39d6db3899
docs(helphelp): remove extra backtick interference ( #17201 )
...
An extra backtick was explicitly written to show what a backtick looked
like, but it interferes with the syntax highlighting which thinks that
it's a part of a concealed group and couples it with the wrong backtick.
2022-01-27 14:56:18 +01:00
bfredl
d95bb85024
Merge pull request #17185 from zeertzjq/vim-8.2.3993
...
vim-patch:8.2.{3993,4002}: when recording a change in Select mode char appears twice
2022-01-27 13:45:34 +01:00
bfredl
a47fdf8421
Merge pull request #17175 from zeertzjq/vim-8.2.3095
...
vim-patch:8.2.3095: with 'virtualedit' set to "block" block selection is wrong
2022-01-27 13:44:30 +01:00
bfredl
7ea09dde5f
Merge pull request #17136 from zeertzjq/vim-8.2.4133
...
vim-patch:8.2.4133: output of ":scriptnames" goes into the message history
2022-01-27 13:43:27 +01:00
Thomas Vigouroux
8c140be31f
feat(ts): expose minimum language version to lua ( #17186 )
2022-01-27 12:46:56 +01:00
zeertzjq
f2d84df4a8
vim-patch:8.2.3095: with 'virtualedit' set to "block" block selection is wrong
...
Problem: With 'virtualedit' set to "block" block selection is wrong after
using "$". (Marco Trosi)
Solution: Compute the longest selected line. (closes vim/vim#8495 )
b17ab86e7b
2022-01-27 18:55:21 +08:00
Sean Dewar
d8adb3a721
vim-patch:8.2.4112: function not deleted at end of test
...
Problem: Function not deleted at end of test.
Solution: Delete the function.
d9b74a2a41
oops -- my fault :P
2022-01-27 18:47:55 +08:00
Sean Dewar
c0ff0cac87
vim-patch:8.2.3936: no proper test for maintaining change mark in diff mode
...
Problem: No proper test for maintaining change mark in diff mode.
Solution: Run the test with internal and external diff. (Sean Dewar,
closes vim/vim#9424 )
ccc1644f95
2022-01-27 18:47:55 +08:00
Sean Dewar
e8af051f1b
test(oldtest): partially port v8.1.2381
...
Problem: Not all register related code is covered by tests.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5301 )
54c8d229f5
Can't be fully ported until "set clipboard=autoselect,autoselectplus" is
re-implemented for Test_clipboard_regs (and last visual selection to PRIMARY
selection works).
2022-01-27 18:47:55 +08:00
Sean Dewar
5864edac7b
vim-patch:8.1.2302: :lockmarks does not work for '[ and ']
...
Problem: :lockmarks does not work for '[ and '].
Solution: save and restore '[ and '] marks. (James McCoy, closes vim/vim#5222 )
f4a1d1c054
Test_diff_maintains_change_mark doesn't actually fail without these changes.
This is fixed in v8.2.3936.
2022-01-27 18:47:52 +08:00
Lewis Russell
f9080b24c4
fix(ts): escape lang when loading parsers ( #16668 )
...
When trying to load a language parser, escape the value of
the language.
With language injection, the language might be picked up from the
buffer. If this value is erroneous it can cause `nvim_get_runtime_file`
to hard error.
E.g., the markdown expression `~~~{` will extract '{' as a language and
then try to get the parser using `parser/{*` as the pattern.
2022-01-27 10:42:59 +01:00
bfredl
2320f705c4
Merge pull request #17195 from dundargoc/refactor/assert-include
...
refactor: include missing assert header
2022-01-27 10:23:36 +01:00
bfredl
3d0149f984
Merge pull request #17191 from zeertzjq/vim-8.2.4203
...
vim-patch:8.2.4203: entering a character with CTRL-V may include modifiers
2022-01-27 09:00:01 +01:00
zeertzjq
a9f112ce3a
vim-patch:8.2.4133: output of ":scriptnames" goes into the message history
...
Problem: output of ":scriptnames" goes into the message history, while this
des not happen for other commands, such as ":ls".
Solution: Use msg_outtrans() instead of smsg(). (closes vim/vim#9551 )
840f16202e
2022-01-27 15:55:06 +08:00
bfredl
9c4e617064
Merge pull request #17166 from Shougo/vim-8.2.4160
...
vim-patch:8.2.4160: cannot change the register used for Select mode d…
2022-01-27 08:52:08 +01:00
bfredl
c4b906f341
Merge pull request #17110 from zeertzjq/vim-8.2.3630
...
vim-patch:8.2.{3630,3663}: printf() with %S does not handle multi-byte correctly
2022-01-27 08:50:38 +01:00
bfredl
1270949c11
Merge pull request #17150 from zeertzjq/vim-8.2.4166
...
vim-patch:8.2.4166: undo synced when switching buffer in another window
2022-01-27 08:48:31 +01:00
bfredl
618f7079e5
Merge pull request #17135 from seandewar/vim-8.2.0175
...
vim-patch:8.2.0175: crash when removing list element in map()
2022-01-27 08:47:01 +01:00
bfredl
95b8a8f6ae
Merge pull request #17131 from zeertzjq/vim-8.2.3580
...
vim-patch:8.2.3580: gj does not move properly with a wide character
2022-01-27 08:41:29 +01:00
bfredl
480fbbe296
Merge pull request #17145 from zeertzjq/vim-8.2.0128
...
vim-patch:8.2.0128: cannot list options one per line
2022-01-27 08:37:36 +01:00
bfredl
0813b9fde4
Merge pull request #17094 from zeertzjq/vim-8.2.4091
...
vim-patch:8.2.4091: virtcol is recomputed for statusline unnecessarily
2022-01-27 08:35:52 +01:00
bfredl
d50dd12725
Merge pull request #17095 from zeertzjq/vim-8.2.3227
...
vim-patch:8.2.{3227,3280,4094}: global-local 'virtualedit'
2022-01-27 08:34:57 +01:00
bfredl
55ad48d939
Merge pull request #17155 from zeertzjq/vim-8.2.3121
...
vim-patch:8.2.{3121,3410}: two 'listchars' fixes
2022-01-27 08:32:52 +01:00
bfredl
47b50d5a1c
Merge pull request #17174 from zeertzjq/vim-8.2.3153
...
vim-patch:8.2.3153: URLs with a dash in the scheme are not recognized
2022-01-27 08:32:02 +01:00
bfredl
f1b91fcdbd
Merge pull request #17102 from zeertzjq/vim-8.2.1762
...
vim-patch:8.2.1762: when a timer uses :stopinsert completion isn't stopped
2022-01-27 08:31:17 +01:00
bfredl
00915864f7
Merge pull request #17184 from zeertzjq/vim-8.2.4190
...
vim-patch:8.2.4190: all conceal tests are skipped without the screendumps feature
2022-01-27 08:30:24 +01:00
Christian Clason
6006e15e7a
Merge pull request #17205 from clason/vim-8.2.4214
...
Vim 8.2.{4214,4215,4217,4219} various illegal memory accesses
2022-01-26 22:39:45 +01:00
Christian Clason
540264306b
vim-patch:8.2.4219: reading before the start of the line
...
Problem: Reading before the start of the line.
Solution: Check boundary before trying to read the character.
44db8213d3
2022-01-26 22:02:56 +01:00
Christian Clason
e9247b0d5d
vim-patch:8.2.4217: illegal memory access when undo makes Visual area invalid
...
Problem: Illegal memory access when undo makes Visual area invalid.
Solution: Correct the Visual area after undo.
8d02ce1ed7
vim-patch:8.2.4218: illegal memory access with bracketed paste in Ex mode (N/A)
2022-01-26 22:01:19 +01:00
Christian Clason
b2b288f33c
vim-patch:8.2.4215: illegal memory access when copying lines in Visual mode
...
Problem: Illegal memory access when copying lines in Visual mode.
Solution: Adjust the Visual position after copying lines.
dc5490e2cb
2022-01-26 22:00:29 +01:00
Christian Clason
de673966c3
vim-patch:8.2.4214: illegal memory access with large 'tabstop' in Ex mode
...
Problem: Illegal memory access with large 'tabstop' in Ex mode.
Solution: Allocate enough memory.
85b6747abc
2022-01-26 21:34:26 +01:00
Christian Clason
17e2938b10
Merge pull request #17132 from zeertzjq/vim-8.2.3611
...
vim-patch:8.2.{3494,3611,3613}: two Visual mode crash fixes
2022-01-26 21:33:53 +01:00
Dundar Göc
b7dc4491a9
refactor: include missing assert header
...
This will solve the "implicit declaration of function ‘assert’" warning
when running "make lint".
2022-01-26 20:44:45 +01:00
James McCoy
20482a2b83
Merge pull request #17204 from dundargoc/ci/windows/python-version
2022-01-26 13:43:38 -05:00
Dundar Göc
16d64796f4
ci(windows): use the provided python from github actions
...
This will prevent future errors whenever support for a specific python
version we rely on is removed.
2022-01-26 16:40:43 +01:00
dundargoc
ecec957125
vim-patch:8.2.4196: various file types not recognized ( #17182 )
...
Problem: Various file types not recognized.
Solution: Add patterns to recognize more file types (closes vim/vim#9607 )
428058ab32
2022-01-25 08:22:15 +01:00
zeertzjq
95873aa3eb
test: add more tests for Insert mode Ctrl-V
2022-01-25 08:29:04 +08:00
zeertzjq
3d9ff675f8
vim-patch:8.2.4203: entering a character with CTRL-V may include modifiers
...
Problem: Entering a character with CTRL-V may include modifiers.
Solution: Reset "mod_mask" when entering a character with digits after
CTRL-V. (closes vim/vim#9610 )
502d8ae3e8
Commenting out test_override() as before.
Commenting out part of CheckNotFeature() because Vim patch 8.2.0427
cannot be ported without breaking a lot of oldtests that check for
removed features.
2022-01-25 08:21:20 +08:00