aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_window_cmd.vim
Commit message (Collapse)AuthorAge
* vim-patch:8.2.2631: commands from winrestcmd() do not always work properlyJan Edmund Lazo2021-03-21
| | | | | | | Problem: Commands from winrestcmd() do not always work properly. (Leonid V. Fedorenchik) Solution: Repeat the size commands twice. (closes vim/vim#7988) https://github.com/vim/vim/commit/a0c8aea479ca055ce43ba2984a9933f6c48e6161
* vim-patch:8.2.0422: crash when passing popup window to win_splitmove()Andy K. Massimino2021-03-19
| | | | | | | | 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)
* vim-patch:8.2.0093: win_splitmove() can make Vim hangAndy K. Massimino2021-03-19
| | | | | | Problem: win_splitmove() can make Vim hang. Solution: Check windows exists in the current tab page. (closes vim/vim#5444) https://github.com/vim/vim/commit/7b94e77132eabdf0e43abca57e2ffeb961545174
* vim-patch:8.1.2020: it is not easy to change the window layoutAndy K. Massimino2021-03-19
| | | | | | Problem: It is not easy to change the window layout. Solution: Add win_splitmove(). (Andy Massimino, closes vim/vim#4561) https://github.com/vim/vim/commit/d20dcb3d011da6111153109f6e46fbd5c7fe9fb6
* vim-patch:8.2.2420: too many problems with using all autocommand eventsJan Edmund Lazo2021-01-28
| | | | | | | | | Problem: Too many problems with using all autocommand events. Solution: Disallow defining an autocommand for all events. https://github.com/vim/vim/commit/9a046fd08bcae319d39a4dbde2be81decee19013 Delete Test_wipe_cbuffer(). Commit dc5f4a3cc2f7f02e1ff4ec2f67eda4fb73e7d89c should have removed it.
* vim-patch:8.2.2260: window resize test fails in very wide terminalJan Edmund Lazo2021-01-01
| | | | | | Problem: Window resize test fails in very wide terminal. Solution: Resize using the 'columns' option. (Vladimir Lomov, closes vim/vim#7592) https://github.com/vim/vim/commit/5efe0e5d16db070f0ab0b944686139e597afe166
* vim-patch:8.2.2244: crash when making the window width negative (#13633)Jan Edmund Lazo2020-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.2.0991: cannot get window type for autocmd and preview windowJan Edmund Lazo2020-11-25
| | | | | | | | | Problem: Cannot get window type for autocmd and preview window. Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes vim/vim#6277) https://github.com/vim/vim/commit/0fe937fd8616fcd24b1b1ef2ab9f1657615dd22c Cherry-pick test_preview.vim,test_window_cmd.vim changes from patch v8.2.0522.
* vim-patch:8.2.1856: "2resize" uses size of current windowJan Edmund Lazo2020-10-17
| | | | | | Problem: "2resize" uses size of current window. Solution: Use size of resized window. (Yasuhiro Matsumoto, closes vim/vim#7152) https://github.com/vim/vim/commit/9668cc57a1e70c99163f90f58202e206d12f40c8
* vim-patch:8.2.1586: :resize command not fully tested (#12853)Jan Edmund Lazo2020-09-05
| | | | | Problem: :resize command not fully tested. Solution: Add a couple of tests. (Dominique Pellé, closes vim/vim#6857) https://github.com/vim/vim/commit/fe6dce873954a216eedb686bd5006710ffff4b89
* test/old: align with Vim #11096Daniel Hahler2019-10-03
|
* vim-patch:8.1.1347: fractional scroll position not restored after closing windowJan Edmund Lazo2019-10-01
| | | | | | Problem: Fractional scroll position not restored after closing window. Solution: Do restore fraction if topline is not one. https://github.com/vim/vim/commit/bd2d68c2f42c7689f681aeaf82606d17f8a0312f
* vim-patch:8.1.1327: unnecessary scroll after horizontal splitJan Edmund Lazo2019-10-01
| | | | | | | Problem: Unnecessary scroll after horizontal split. Solution: Don't adjust to fraction if all the text fits in the window. (Martin Kunev, closes vim/vim#4367) https://github.com/vim/vim/commit/a9b2535f44f3265940a18d08520a9ad4ef7bda82
* vim-patch:8.1.0518: Test_window_split_edit_bufnr() fails on AppVeyorJan Edmund Lazo2019-10-01
| | | | | | Problem: Test_window_split_edit_bufnr() fails on AppVeyor. Solution: Disable the failing part for now. https://github.com/vim/vim/commit/8617b401599451187fa0c0561a84944978536a90
* vim-patch:8.1.0517: Test_window_split_edit_alternate() fails on AppVeyorJan Edmund Lazo2019-10-01
| | | | | | Problem: Test_window_split_edit_alternate() fails on AppVeyor. Solution: Disable the failing part for now. https://github.com/vim/vim/commit/d42333d8e9f6c157884f4f1acb458aa992f94f3d
* vim-patch:8.1.0514: CTRL-W ^ does not work when alternate buffer has no nameJan Edmund Lazo2019-10-01
| | | | | | | Problem: CTRL-W ^ does not work when alternate buffer has no name. Solution: Use another method to split and edit the alternate buffer. (Jason Franklin) https://github.com/vim/vim/commit/1bbb61948342b5cf6e363629f145c65eb455c388
* vim-patch:8.1.1679: test using SwapExists autocommand file may failJan Edmund Lazo2019-08-17
| | | | | | Problem: Test using SwapExists autocommand file may fail. Solution: Remove the SwapExists autocommand. https://github.com/vim/vim/commit/eaa49e40d7e7f84deef14424c84ef1da0796fa58
* vim-patch:8.1.1870: using :pedit from a help file sets help filetypeJan Edmund Lazo2019-08-17
| | | | | | | Problem: Using :pedit from a help file sets the preview window to help filetype. (Wang Shidong) Solution: Do not set "keep_help_flag". (closes vim/vim#3536) https://github.com/vim/vim/commit/026587b35c42301bcc2214207346b62ef2efed41
* vim-patch:8.1.0630: "wincmd p" does not work after using an autocmd windowJan Edmund Lazo2019-07-15
| | | | | | Problem: "wincmd p" does not work after using an autocmd window. Solution: Store "prevwin" in aco_save_T. (Christian Brabandt, closes vim/vim#3690) https://github.com/vim/vim/commit/a42df5934bdc1178ed2ee8cb9c8686975b578497
* vim-patch:8.0.1411: reading invalid memory with CTRL-W :Jan Edmund Lazo2019-04-10
| | | | | | Problem: Reading invalid memory with CTRL-W :. Solution: Correct the command characters. (closes vim/vim#2469) https://github.com/vim/vim/commit/2efb323e875d2852f63e41c40641760d1d6b069f
* vim-patch:8.1.1140: not easy to find out what neighbors a window has (#9873)Marco Hinz2019-04-10
| | | | | | Problem: Not easy to find out what neighbors a window has. Solution: Add more arguments to winnr(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/46ad288b9b2a6eb0430cf802ff5ce68a58629897
* vim-patch:8.1.0994: fix relative cursor position #9676Justin M. Keyes2019-03-09
| | | | | | Problem: Relative cursor position is not calculated correctly. Solution: Always set topline, also when window is one line only. (Robert Webb) Add more info to getwininfo() for testing. https://github.com/vim/vim/commit/8fcb60f961bdd134599fb016c6537fd496e800f5
* vim-patch:8.0.1364: there is no easy way to get the window positionJan Edmund Lazo2018-08-15
| | | | | | Problem: There is no easy way to get the window position. Solution: Add win_screenpos(). https://github.com/vim/vim/commit/22044dc31788d9f1c2da7725269884d9923b4795
* vim-patch:8.0.1811: no test for winrestcmd()Jan Edmund Lazo2018-08-06
| | | | | | Problem: No test for winrestcmd(). Solution: Add a test. (Dominique Pelle, closes vim/vim#2894) https://github.com/vim/vim/commit/72cf47a279f7261abf4ae6c9c3ee54024ee87a12
* vim-patch:8.0.1705: when making a vertical split the mode message isn't updatedJan Edmund Lazo2018-08-06
| | | | | | | | Problem: When making a vertical split the mode message isn't always updated, "VISUAL" remains. (Alexei Averchenko) Solution: Only reset clear_cmdline when filling all columns of the last screen line. (Tom M. closes vim/vim#2611) https://github.com/vim/vim/commit/5bab555c2f1b3b86d57e4adeb86d908eff477fc9
* vim-patch:8.0.1446: acessing freed memory after window command in auto commandJan Edmund Lazo2018-08-06
| | | | | | | | Problem: Acessing freed memory after window command in auto command. (gy741) Solution: Adjust the pointer in the parent frame. (Christian Brabandt, closes vim/vim#2467) https://github.com/vim/vim/commit/6f361c991221e96d5068c77b854967d997b1529b
* vim-patch:8.0.0890: still many old style testsJan Edmund Lazo2018-08-06
| | | | | | Problem: Still many old style tests. Solution: Convert several tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/75373f38087dd756babdbbf9f14fd4711712c5de
* vim-patch:8.0.0490: vertical split makes 'winfixwidth' window smaller (#7990)KunMing Xie2018-02-12
| | | | | | | | Problem: Splitting a 'winfixwidth' window vertically makes it one column smaller. (Dominique Pelle) Solution: Add one to the width for the separator. https://github.com/vim/vim/commit/38e3483637c16e018f88c07b1dcff97cdb821a29
* vim-patch:8.0.0678 closing a window does not trigger resizingJustin M. Keyes2017-08-16
| | | | | | | | | | | Closes #6748 Problem: When 'equalalways' is set and closing a window in a separate frame, not all window sizes are adjusted. (Glacambre) Solution: Resize all windows if the new current window is not in the same frame as the closed window. (closes vim/vim#1707) https://github.com/vim/vim/commit/8eeeba8c025ff844e6514c4a60cec11bf1fc1b35
* vim-patch:8.0.0483Justin M. Keyes2017-03-22
| | | | | | | Problem: Illegal memory access when using :all. (Dominique Pelle) Solution: Adjust the cursor position right after setting "curwin". https://github.com/vim/vim/commit/f79225ed4f81bc579bb3360ad2eb06adc8058153
* vim-patch:8.0.0485Justin M. Keyes2017-03-22
| | | | | | | | | Problem: Not all windows commands are tested. Solution: Add more tests for windows commands. (Dominique Pelle, closes vim/vim#1575) Run test_autocmd separately, it interferes with other tests. Fix tests that depended on side effects. https://github.com/vim/vim/commit/4520d440c59034452d1450b27fcd56825c090687
* vim-patch:7.4.2228lonerover2017-03-18
| | | | | | | Problem: Test files have inconsistant modelines. Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'. https://github.com/vim/vim/commit/9e4d8215d386100ab660d7d11e6620fd148b605e
* vim-patch:7.4.1956Michael Ennen2016-12-02
| | | | | | | | | Problem: When using CTRL-W f and pressing "q" at the ATTENTION dialog the newly opened window is not closed. Solution: Close the window and go back to the original one. (Norio Takagi, Hirohito Higashi) https://github.com/vim/vim/commit/5d2ca0402954ff79b73d9c86cc16c8a6454b75a7
* vim-patch:7.4.1835Michael Ennen2016-12-02
Problem: When splitting and closing a window the status height changes. Solution: Compute the frame height correctly. (Hirohito Higashi) https://github.com/vim/vim/commit/991dea3ab185fb35e577ab0bdfd443cd4b43ccc6