| Commit message (Collapse) | Author | Age |
|
|
|
| |
* fix function parameter comments
* remove space after star in function names
|
|
|
|
|
|
| |
Problem: Unused code in win_exchange() and frame_remove().
Solution: Remove the code. (closes vim/vim#8728)
https://github.com/vim/vim/commit/9e2fa4bb9eb40a78a1ae1f67a4064651b5ce0aac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: win_enter_ext() has too many boolean arguments.
Solution: use one flags argument with defined values.
https://github.com/vim/vim/commit/d61f2f772a59617850e9aa2f5fa069c1aad8e074
Include some style changes to appease the linter.
N/A patches for version.c:
vim-patch:8.2.3289: compiler warning for unused variable with small features
Problem: Compiler warning for unused variable with small features.
Solution: Rearrange #ifdefs.
https://github.com/vim/vim/commit/f18e8a969a3414ed5e6b7159c40fe43963021ff3
vim-patch:8.2.3298: build failure with small features
Problem: Build failure with small features.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/6f6d58c3809010b1386634c1aeec61f1a66e72c2
vim-patch:8.2.3331: Coverity warns for using value without boundary check
Problem: Coverity warns for using value without boundary check.
Solution: Add a boundary check.
https://github.com/vim/vim/commit/ed7cb2df35244e40e5c4df06169b50e705427576
vim-patch:8.2.3354: build failure with +byte_offset but without +textprop
Problem: Build failure with +byte_offset but without +textprop. (John
Marriott)
Solution: Adjust the #ifdef.
https://github.com/vim/vim/commit/92755bba30ec7a4c72ae0280420ba5c3847a9385
vim-patch:8.2.3355: MS-Windows: compiler warning for 64-32 bit conversion
Problem: MS-Windows: compiler warning for 64-32 bit conversion.
Solution: Add type casts.
https://github.com/vim/vim/commit/434df7a401c92d4084bb0a01ffd6d1737ae0193b
|
| |
|
|\
| |
| | |
Fix relative float positioning
|
| |
| |
| |
| |
| |
| | |
Fix relative floating windows so that they open in the correct position
relative to each other. Also make sure that their positions are correct
immediately after creation without a redraw.
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
Fix #15313
|
| | |
|
| |
| |
| |
| |
| | |
These things are just maps to pointers, no need to perform
a huge song and dance around it.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
refactor(plines): move "plines" (size of printed lines) family of function to own file
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Coverity complains about free_wininfo() use.
Solution: Add a condition that "wip2" is not equal to "wip". (Neovim vim/vim#14996)
https://github.com/vim/vim/commit/b5098060f4acae4dac3203130278c948d670a3d5
This fix came from https://github.com/neovim/neovim/pull/14996.
This commit adds only a comment to be in sync with Vim.
N/A patches for version.c:
vim-patch:8.2.3063: crash when switching 'cryptmethod' to xchaha20 with undo file
Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing
undo file. (Martin Tournoij)
Solution: Disable reading undo file when decoding can't be done inplace.
(issue vim/vim#8467)
https://github.com/vim/vim/commit/65aee0b714e809b9f19862f3decd35055ed4de10
vim-patch:8.2.3101: missing function prototype for vim_round()
Problem: Missing function prototype for vim_round().
Solution: Add the prototype.
https://github.com/vim/vim/commit/67b17a6fc62156383d24dcbd6e6df34e180d7235
vim-patch:8.2.3119: compiler warning for unused argument
Problem: Compiler warning for unused argument.
Solution: Add UNUSED.
https://github.com/vim/vim/commit/6a9e5c69cf36676e65ae191264872a3e41bde37f
vim-patch:8.2.3120: crypt with sodium test fails on MS-Windows
Problem: Crypt with sodium test fails on MS-Windows.
Solution: Make the tests pass. (closes vim/vim#8428)
https://github.com/vim/vim/commit/db8647277082a8a69a189ded8bd1408af993b54e
vim-patch:8.2.3131: MS-Windows: ipv6 channel test is very flaky in the GUI
Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
Solution: Skip the test.
https://github.com/vim/vim/commit/981217c11f92b37f2baa51492cbe12e85d0ea493
vim-patch:8.2.3140: MS-Windows: ipv6 channel test is very flaky also without GUI
Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
Solution: Skip the test also without the GUI.
https://github.com/vim/vim/commit/482d2f37a5ce43157ab1e22c26f389770d0c20cf
vim-patch:8.2.3157: crypt test may fail on MS-Windows
Problem: Crypt test may fail on MS-Windows.
Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
closes vim/vim#8561)
https://github.com/vim/vim/commit/16e26a31161d65baca7885c46c43ab4a48399c92
vim-patch:8.2.3218: when using xchaha20 crypt undo file is not removed
Problem: When using xchaha20 crypt undo file is not removed.
Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
closes vim/vim#8630, closes vim/vim#8467)
https://github.com/vim/vim/commit/8a4c812ede5b01a8e71082c1ff4ebfcbf1bd515f
vim-patch:8.2.3245: the crypt key may appear in a swap partition
Problem: The crypt key may appear in a swap partition.
Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt,
closes vim/vim#8657)
https://github.com/vim/vim/commit/131530a54d0f72b820b027606231744e3a09b9ef
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Check that `wip2` does not point to the same address as `wip`, to address the
Coverity test failure from PR #14884.
Based on the `if` clauses, `free_wininfo(wip2, ...)` is only called when
`wip2->wi_win == NULL` and `wip->wi_win == wp`. I think `wip2` would only point
to the same address as `wip` in scenarios where `wp` were `NULL`, which can be
assumed otherwise based on the earlier code.
|
|/
|
|
|
|
| |
Problem: The wininfo list may contain stale entries.
Solution: When closing a window remove any other entry where the window
pointer is NULL.
https://github.com/vim/vim/commit/4882d983397057ea91c584c5a54aaccf15016d18
|
|
|
|
| |
"void" cast unused return value of win_comp_pos().
|
|
|
|
|
|
| |
This option, when set, stops nvim_open_win() from potentially firing
buffer-related autocmd events
(BufEnter, BufLeave and BufWinEnter in the case of nvim_open_win()).
|
|\
| |
| | |
[WIP] z-index!
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
Solution: Do not allow the autocommand window to be closed.
https://github.com/vim/vim/commit/cf8441704d6e517bda1899f4afa82c6b4eecbaec
E813 error message does not mention 'popup' window
because Neovim floating window are regular windows, unlike Vim popups.
https://github.com/neovim/neovim/pull/14532#discussion_r631731829
|
|\
| |
| | |
vim-patch:8.1.{1418,1425,1832,2124},8.2.{0137, 2340}
|
| |
| |
| |
| |
| |
| | |
Problem: Crash when using win_execute() from a new tab.
Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes vim/vim#5512)
https://github.com/vim/vim/commit/a44b3eeafa57d4904a3de86b132008b93404f0fd
|
| |
| |
| |
| |
| |
| | |
Problem: Win_execute() does not work in other tab. (Rick Howe)
Solution: Take care of the tab. (closes vim/vim#4792)
https://github.com/vim/vim/commit/820680b9ff1de8699156c7b060f97e5c0b87ad15
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Win_execute() does not set window pointers properly.
Solution: Use switch_win_noblock(). Also execute autocommands in a popup
window.
https://github.com/vim/vim/commit/89adc3a1371d211f7766f3dbc0975ecb2f862327
|
| | |
|
|\ \
| | |
| | | |
window.c: fix floating window border width calculation
|
| |/
| |
| |
| |
| |
| | |
* lift calculation of w_border_adj into win_config_float
* Check max floating window height and width against
w_{height,width}_outer when positioning window
|
|/
|
|
|
| |
problem: the order of non-focuesed float opened before focused float is wrong (sunjon)
solution: check curwin and correct the order (bfredl)
|
| |
|
|
|
|
|
| |
Make sure that oldwin is not invalid after splitting
Revisit this when porting vim patch v8.1.0892 and related quickfix patches.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Crash when passing popup window to win_splitmove(). (john Devin)
Solution: Disallow moving a popup window. (closes vim/vim#5816)
https://github.com/vim/vim/commit/0f1563ffee4397f5b379517c41b7c9a977fd2e22
Add translated test for 8.2.0422 (popup->floating)
|
|\
| |
| | |
Update lines after shrinking floating window
|
| | |
|
|/
|
|
|
|
| |
Problem: Setting 'winminheight' may cause 'lines' to change.
Solution: Also take minimal height of other tabpages into account. (vim/vim#7899)
https://github.com/vim/vim/commit/9e813b3dea94a8952b732a224fa31beba6e85973
|
|
|
|
|
|
|
|
| |
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes vim/vim#7533)
https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Setting 'winminheigt' does not take tabline into account.
Solution: Subtract the tabline from the available height. (closes vim/vim#7899)
https://github.com/vim/vim/commit/39d4cab494248131b6fb07aba633aa4da7871a57
N/A patches for version.c:
vim-patch:8.1.0680: not easy to see what features are unavailable
Problem: Not easy to see what features are unavailable.
Solution: Highlight disabled features in the :version output. (Nazri Ramliy,
closes vim/vim#3756)
https://github.com/vim/vim/commit/c85ffc9daba6f66d5958ae80249d26f7f81bfced
vim-patch:8.2.2196: :version output has extra spaces in compile and link command
Problem: :version output has extra spaces in compile and link command.
Solution: Adjust QUOTESED. (closes vim/vim#7505)
https://github.com/vim/vim/commit/abcbb0e9ad43fc25077e1681528e72ddcbeed300
vim-patch:8.2.2551: MS-Windows: colors test file is not installed
Problem: MS-Windows: colors test file is not installed.
Solution: Also copy runtime/colors/tools. (Ken Takata, closes vim/vim#7902)
https://github.com/vim/vim/commit/d0bce504ec52def729fffa35c8896979af348d32
vim-patch:8.2.2559: MS-Windows: guifont test fails on Windows XP
Problem: MS-Windows: guifont test fails on Windows XP.
Solution: Check windowsversion().
https://github.com/vim/vim/commit/3650fd709807d5ac182e28d952cbd790c1ad0a6a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
de curwinify some functions
|
| | |
|