| Commit message (Collapse) | Author | Age |
... | |
|\ \
| | |
| | | |
nvim_buf_set_text
|
| | |
| | |
| | |
| | |
| | |
| | | |
add byte count tests
update documentation
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
removing pending virtcol tests
Allow passing in empty array as a shorthand for array with empty string; add more documentation
add check for start_row as well
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fix double free because intermediary lines weren't xmemdup'd.
NL-for-NUL dance.
Normalize row indices and perform more validation.
Adjust the cursor position if it's on the right side of the replacement.
Tests and documentation.
|
| | | |
|
|\ \ \
| |_|/
|/| | |
ui: make 'mouse' handling in external UI more consistent
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
before the behaviour of 'mouse' was inconsistent in external UI,
as some remapping logic would check has_mouse() and others don't
(no difference in TUI or vim classic). With this change, the behaviour
is consistently up to the UI decide (see ui.txt edit)
Behaviour of tui.c is unaffected by this change.
|
| | |
| | |
| | |
| | | |
This reverts commit 0519a75f6eca1065a4d0184f99c71ae03a99b9b1.
|
| | |
| | |
| | |
| | | |
This reverts commit 4afddb8f571d9e61eab60596c59a27452e9bc839.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
with mapped Esc"
This reverts commit 44bb7147e40743d9a70ee3a2663a7a7dacec7b13.
Avoid regression mentioned in https://github.com/neovim/neovim/commit/c64cce906e7ed828d331e1786c985ff7aa734546#commitcomment-45554271
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Code for viminfo support is spread out.
Solution: Move to code to viminfo.c. (Yegappan Lakshmanan, closes vim/vim#4686)
https://github.com/vim/vim/commit/defa067c54874dd987121dd7252c62755e0aebfa
N/A patches for version.c:
vim-patch:8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes vim/vim#4287)
https://github.com/vim/vim/commit/afde13b62b8fa25dac4635d5caee8d088b937ee0
vim-patch:8.2.2247: VMS: various smaller problems
Problem: VMS: various smaller problems.
Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
https://github.com/vim/vim/commit/467676d468cb10db78d79d5bd2139ded9f70d26f
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: 'viminfofile' option does not behave like a file name.
Solution: Add the P_EXPAND flag. (closes vim/vim#3178)
https://github.com/vim/vim/commit/c229e54a69468722ca2449e807e90445b7479659
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: :mksession is not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#4993)
https://github.com/vim/vim/commit/ee1a2b5a2a44dde9b4e9b34141b4d1c7b0e0513f
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Code for creating tabpages in session is too complex.
Solution: Simplify the code. (Jason Franklin)
https://github.com/vim/vim/commit/57a6bf056715bd5c94d8047247615e39862424e7
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Mksession test fails on MS-Windows.
Solution: Always use an argument for :lcd.
https://github.com/vim/vim/commit/81e2ac7bb68a0321529ad5c89c8674caab4bca6b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: The generated sessions file does not restore tabs properly if :lcd
was used in one of them.
Solution: Create the tab pages before setting the directory. (Yee Cheng
Chin, closes vim/vim#3152)
https://github.com/vim/vim/commit/26d4b896a789e65df7ee0cf3e25056eabc523fda
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash when making the window width of the not-current window
negative.
Solution: Make sure the window width is not negative. (closes vim/vim#7568)
https://github.com/vim/vim/commit/89015a675990bd7d70e041c5d890edb803b5c6b7
N/A patches for version.c:
vim-patch:8.0.1617: Win32: :shell command in the GUI crashes
Problem: Win32: :shell command in the GUI crashes.
Solution: Handle the situation that "cmd" is NULL. (Yasuhiro Matsumoto,
closes vim/vim#2721)
https://github.com/vim/vim/commit/42f652f733550a0d8bc9b030c9a5a62e7e2d8668
vim-patch:8.1.0244: no redraw when using a STOP signal on Vim and then CONT
Problem: No redraw when using a STOP signal on Vim and then a CONT signal.
Solution: Catch the CONT signal and force a redraw. (closes vim/vim#3285)
https://github.com/vim/vim/commit/917e32bda5a93941fbbccab09ae3960114b67188
vim-patch:8.1.0302: crash when using :suspend and "fg"
Problem: Crash when using :suspend and "fg".
Solution: Undo patch 8.1.244.
https://github.com/vim/vim/commit/f1883479be91550bc31dd88f593b3012863a2629
vim-patch:8.1.0548: crash when job callback unloads a buffer
Problem: Crash when job callback unloads a buffer. (James McCoy)
Solution: Don't round up the wait time to 10 msec in ui_inchar().
https://github.com/vim/vim/commit/1341024e0823d9aa9cde08d6b55e12f2d90ff778
vim-patch:8.1.1652: GUI: popup window doesn't close on mouse movement
Problem: GUI: popup window doesn't close on mouse movement. (Paul Jolly)
Solution: Generate mouse-move events when a popup window is visible.
https://github.com/vim/vim/commit/49fe95f22517b775506ef34681000d84bb417eb3
vim-patch:8.1.1695: Windows 10: crash when cursor is at bottom of terminal
Problem: Windows 10: crash when cursor is at bottom of terminal.
Solution: Position the cursor before resizing. (Yasuhiro Matsumoto,
closes vim/vim#4679)
https://github.com/vim/vim/commit/f49a6922596ea88856da802fe33df953b7d77ecb
vim-patch:8.2.2246: cursor keys not recognized at the hit-Enter prompt
Problem: Cursor keys not recognized at the hit-Enter prompt after executing
an external command.
Solution: Change the codes for the extra cursor keys. (closes vim/vim#7562)
Tune the delays to avoid test flakyness.
https://github.com/vim/vim/commit/4d8c96d4668ac965d4e84b9676fba6d7efe62a32
|
|\ \
| | |
| | | |
vim-patch:8.1.1032,8.2.{429,1785,2234,2235,2237,2241}
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No warning when test checks for option that never exists.
Solution: In tests check that the option can exist.
https://github.com/vim/vim/commit/c5a8fdc42dbd304598b2d73db754c7b97665b182
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
https://github.com/vim/vim/commit/2c519cf3bfe76083767ac94c674d2e161ed36587
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Command line wildmenu test often fails with Unix GUI.
Solution: Skip the test where it is expected to fail.
https://github.com/vim/vim/commit/3e112acc220dcacb58d77edca71910a532fffd0f
Include modeline fix for ASAN build.
N/A patches for version.c:
vim-patch:8.2.1785: compiler warning for strcp() out of bounds
Problem: Compiler warning for strcp() out of bounds. (Christian Brabandt)
Solution: use memmove() instead.
https://github.com/vim/vim/commit/3f974ff45e0ea4b85fea7d8768f005d8a2c7941e
vim-patch:8.2.2235: build failure with some Ruby versions
Problem: Build failure with some Ruby versions.
Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes vim/vim#7564)
https://github.com/vim/vim/commit/dace9f785fca6cc802b2fb7f11a5ee4fab896432
vim-patch:8.2.2237: CI on Mac fails in sed command
Problem: CI on Mac fails in sed command.
Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes vim/vim#7565)
https://github.com/vim/vim/commit/ed1e4c9a70aaa7de56bac23e75a846e874a32a56
vim-patch:8.2.2241: Build with Ruby and clang may fail
Problem: Build with Ruby and clang may fail.
Solution: Adjust congigure and sed script. (Ozaki Kiichi, closes vim/vim#7566)
https://github.com/vim/vim/commit/864a28b6a6ae4f1a56e230be26bc6d13e3f8b3d9
|
|/ /
| |
| | |
Behavior may change in future but for now stick to legacy behavior.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: When "--remote file" is used "file" is not reloaded.
Solution: When a :drop command is used for a file that is already displayed
in a window and it has not been changed, check if it needs to be
reloaded. (closes vim/vim#7560)
https://github.com/vim/vim/commit/e4862a0fe62261754daf476866ef2aa8586b716c
Remove unused "focus" parameter from "buf_check_timestamp()".
It was meant for removed GUI code.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Many type casts are used for vim_strnsave().
Solution: Make the length argument size_t instead of int. (Ken Takata,
closes vim/vim#5633) Remove some type casts.
https://github.com/vim/vim/commit/df44a27b53586fccfc6a3aedc89061fdd9a515ff
N/A patches for version.c:
vim-patch:8.2.0315: build failure on HP-UX system
Problem: Build failure on HP-UX system.
Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
statement. (John Marriott)
https://github.com/vim/vim/commit/c593bec4120f122e8a9129ec461968f1bd214435
vim-patch:8.2.1052: build failure with older compilers
Problem: Build failure with older compilers.
Solution: Move declaration to start of block.
https://github.com/vim/vim/commit/7acde51832f383f9a6d2e740cd0420b433ea841a
vim-patch:8.2.2229: build failure without the +eval feature
Problem: build failure without the +eval feature.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/39cb2dab18e85fc60f116a4543e433616872b690
vim-patch:8.2.2232: compiler error for falling through into next case
Problem: Compiler error for falling through into next case.
Solution: Move FALLTHROUGH below the #endif
https://github.com/vim/vim/commit/9618a25b9c054f0ee4e267d2db96b6e7c113ed7a
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Wildmenu does not work properly.
Solution: Do not call may_do_incsearch_highlighting() if completion is in
progress.
https://github.com/vim/vim/commit/a60053b8f4cc7e135ba9496a8f4855d26aee09e7
|
| |
| |
| |
| |
| |
| | |
Problem: Command completion not working after ++arg.
Solution: Move skipping up. (Christian Brabandt, closes vim/vim#6382)
https://github.com/vim/vim/commit/743d0620203388bf87dc611cea544b485e4b9f85
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Completion doesn't work after ":r ++arg !".
Solution: Skip over "++arg". (Christian Brabandt, closes vim/vim#6275,
closes vim/vim#6258)
https://github.com/vim/vim/commit/c8cb883015619cfe6db931ac2d6e15b0be5c56ed
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Layout wrong if 'lines' changes while cmdline window is open.
Solution: Do not restore the window layout if 'lines' changed.
(closes vim/vim#5130)
https://github.com/vim/vim/commit/1c329c04be2e95a3589a53f2978926e91b450cca
|
| |
| |
| |
| |
| |
| |
| |
| | |
inserted
Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
Solution: Set KeyTyped when using 'wildchar'. (closes vim/vim#7552)
https://github.com/vim/vim/commit/b0ac4ea5e1c5f0ff4e951978c32ccfffe46916f8
|
| |
| |
| |
| |
| |
| | |
Problem: Mode is not cleared when leaving Insert mode with mapped Esc.
Solution: Clear the mode when redraw_cmdline is set. (closes vim/vim#4269)
https://github.com/vim/vim/commit/4c25bd785aa8b565bf973cbba12ed36b76daaa4f
|
| |
| |
| |
| |
| |
| | |
Problem: Mode is not cleared when leaving Insert mode.
Solution: Clear the mode when got_int is set. (Ozaki Kiichi, closes vim/vim#4270)
https://github.com/vim/vim/commit/abc7c7fc5a098374f5543a237e6c9dd918848b34
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Peeking and flushing output slows down execution.
Solution: Do not update the mode message when global_busy is set. Do not
flush when only peeking for a character. (Ken Takata)
https://github.com/vim/vim/commit/cb574f415486adff645ce384979bfecf27f5be8c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: :exe command line completion only works for first argument.
Solution: Skip over text if more is following. (closes vim/vim#7546)
https://github.com/vim/vim/commit/4941b5effd7f6a26583a949c92ee50276a3b43f9
Port "IS_WHITE_OR_NUL" macro from patch v8.2.0562
as "ascii_iswhite_or_nul()" inline function.
N/A patches for version.c:
vim-patch:8.2.0782: cannot build with Lua on MS-Windows
Problem: Cannot build with Lua on MS-Windows.
Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
https://github.com/vim/vim/commit/df1643a6a7886b9363c2a98438e61cbe1c803d41
vim-patch:8.2.0856: CTRL-S stops output
Problem: CTRL-S stops output.
Solution: Invert the IXON flag. (closes vim/vim#6166)
https://github.com/vim/vim/commit/928eec649b8af389de0fdb7aba2034d27df3e058
vim-patch:8.2.1212: cannot build with Lua 5.4
Problem: Cannot build with Lua 5.4.
Solution: Use luaL_typeerror instead defining it. (closes vim/vim#6454)
https://github.com/vim/vim/commit/5551b131daef3a621a28dcbbe118920f5b9fabe6
vim-patch:8.2.2211: MS-Windows: can't load Python dll if not in the path
Problem: MS-Windows: can't load Python dll if not in the path.
Solution: Use the InstallPath registry entry. (Kelvin Lee, closes vim/vim#7540)
https://github.com/vim/vim/commit/b2f9e0e2c537bcde16dab3b62687a17e17849ce1
|
| |
| |
| |
| |
| |
| | |
Problem: No test for the "recording @x" message.
Solution: Add a test. (Dominique Pellé, closes vim/vim#6427)
https://github.com/vim/vim/commit/11a5b19a8ce543c258832ac53d771047f4e1061d
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot see the selection type in :reg output. (Ayberk Aydın)
Solution: Add c/l/b. (Christian Brabandt, closes vim/vim#5110, closes vim/vim#4546)
https://github.com/vim/vim/commit/3691f1ee72b68a47e6dcc75927bfa46565cf3614
Patch v8.1.0999 is not ported so ":registers" does not omit register 1.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Command line completion test skipped. (Christian Brabandt)
Solution: Invert condition.
https://github.com/vim/vim/commit/731a799bb926c6f424dbfb63430cf631ca7e132a
Cherry-pick Test_cmdline_complete_bang() from patch v8.2.0049.
|
|\ \
| | |
| | | |
de curwinify some functions
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
to less rely on curwin
|
| | |
| | |
| | |
| | | |
Adds support for signs to be 0 cells wide. If all signs of the same
group have no width, the signcolumn will not be rendered for that group.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Moodle gift files are not recognized.
Solution: Add a filetype pattern. (Delim Temizer)
https://github.com/vim/vim/commit/b34f33747223d9cba4b32a27aee70c1705b36ed9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When using :global clipboard isn't set correctly.
Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
Brabandt, closes vim/vim#6203, closes vim/vim#6198)
https://github.com/vim/vim/commit/07188fc5ef2366a3b1952e8686a4031b44152d59
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Popup test fails if clipboard is supported but not working.
Solution: Add the "clipboard_working" feature. Also use Check commands
instead of "if" and "throw". And remove stray ch_logfile().
https://github.com/vim/vim/commit/4999a7fb6585915b53888c930067b33c01674678
Treat "clipboard_working" feature as an alias to "clipboard" feature.
N/A patches for version.c:
vim-patch:8.1.1840: Testing: WorkingClipboard() is not accurate
Problem: Testing: WorkingClipboard() is not accurate.
Solution: Check feature clipboard_working instead.
https://github.com/vim/vim/commit/52992feafe8a996fbce29b97ae135abc169aa716
Neovim did not port WorkingClipboard() for the legacy tests.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Assert arguments order reversed.
Solution: Swap the arguments. (Christian Brabandt, closes vim/vim#7531)
https://github.com/vim/vim/commit/9f63a65f22b6a899925ba15adbb711e86251114e
|
|\ \ \
| | | |
| | | | |
rpc: don't handle stale requests on already closed channel
|
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Tabpage menu and tabline not sufficiently tested.
Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#6307)
https://github.com/vim/vim/commit/8c524f76ebd43f006e765534765b595de7095f12
Cherry-pick Test_entering_digraph() from patch v8.2.1022.
Cherry-pick :CheckGui from patch v8.1.1826.
|