summaryrefslogtreecommitdiff
path: root/src/window.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1783: try-catch test failsv8.2.1783Bram Moolenaar2020-10-011-1/+1
| | | | | Problem: Try-catch test fails. Solution: Don't call win_enter(), only call enterering_window().
* patch 8.2.1780: statusline not updated when splitting windowsv8.2.1780Bram Moolenaar2020-10-011-5/+3
| | | | | Problem: Statusline not updated when splitting windows. Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
* patch 8.2.1748: closing split window in other tab may cause a crashv8.2.1748Bram Moolenaar2020-09-261-4/+5
| | | | | Problem: Closing split window in other tab may cause a crash. Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
* patch 8.2.1413: previous tab page not usable from an Ex commandv8.2.1413Bram Moolenaar2020-08-101-1/+2
| | | | | | Problem: Previous tab page not usable from an Ex command. Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan, closes #6677)
* patch 8.2.1411: when splitting a window localdir is copied but prevdir is notv8.2.1411Bram Moolenaar2020-08-091-0/+2
| | | | | Problem: when splitting a window localdir is copied but prevdir is not. Solution: Also copy prevdir. (closes #6667)
* patch 8.2.1401: cannot jump to the last used tabpagev8.2.1401Bram Moolenaar2020-08-091-0/+28
| | | | | | Problem: Cannot jump to the last used tabpage. Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661, neovim #11626)
* patch 8.2.1061: insufficient testing for src/window.cv8.2.1061Bram Moolenaar2020-06-261-2/+2
| | | | | Problem: Insufficient testing for src/window.c. Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
* patch 8.2.1059: crash when using :tabonly in an autocommandv8.2.1059Bram Moolenaar2020-06-261-1/+1
| | | | | Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan) Solution: Do not allow the autocommand window to be closed.
* patch 8.2.0921: CTRL-W T in cmdline window causes troublev8.2.0921Bram Moolenaar2020-06-071-0/+1
| | | | | | Problem: CTRL-W T in cmdline window causes trouble. Solution: Disallow CTRL-W T in the cmdline window. Add more tests. (Naruhiko Nishino, closes #6219)
* patch 8.2.0909: cannot go back to the previous local directoryv8.2.0909Bram Moolenaar2020-06-051-0/+2
| | | | | Problem: Cannot go back to the previous local directory. Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
* patch 8.2.0747: cannot forcefully close all popupsv8.2.0747Bram Moolenaar2020-05-131-4/+1
| | | | | | Problem: Cannot forcefully close all popups. Solution: Add the "force" argument to popup_clear(). Use it after running a test. Put back the check for a popup when editing a file.
* patch 8.2.0670: cannot change window when evaluating 'completefunc'v8.2.0670Bram Moolenaar2020-04-301-1/+1
| | | | | | Problem: Cannot change window when evaluating 'completefunc'. Solution: Make a difference between not changing text or buffers and also not changing window.
* patch 8.2.0580: window size wrong if 'ea' is off and 'splitright' is onv8.2.0580Bram Moolenaar2020-04-151-1/+14
| | | | | | Problem: Window size wrong if 'ea' is off and 'splitright' is on and splitting then closing a window. Solution: Put abandoned window space in the right place. (Mark Waggoner)
* patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar2020-04-021-6/+6
| | | | | Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
* patch 8.2.0204: crash when using winnr('j') in a popup windowv8.2.0204Bram Moolenaar2020-02-031-0/+10
| | | | | Problem: Crash when using winnr('j') in a popup window. Solution: Do not search for neighbors in a popup window. (closes #5568)
* patch 8.2.0196: blocking commands for a finished job in a popup windowv8.2.0196Bram Moolenaar2020-02-021-0/+11
| | | | | Problem: Blocking commands for a finished job in a popup window. Solution: Do not block commands if the job has finished. Adjust test.
* patch 8.2.0194: some commands can cause problems in terminal popupv8.2.0194Bram Moolenaar2020-02-011-5/+5
| | | | | Problem: Some commands can cause problems in terminal popup. Solution: Disallow more commands.
* patch 8.2.0191: cannot put a terminal in a popup windowv8.2.0191Bram Moolenaar2020-02-011-1/+9
| | | | | | Problem: Cannot put a terminal in a popup window. Solution: Allow opening a terminal in a popup window. It will always have keyboard focus until closed.
* patch 8.2.0142: possible to enter popup window with CTRL-W pv8.2.0142Bram Moolenaar2020-01-231-0/+7
| | | | | Problem: Possible to enter popup window with CTRL-W p. (John Devin) Solution: Check entered window is not a popup window. (closes #5515)
* patch 8.2.0137: crash when using win_execute() from a new tabv8.2.0137Bram Moolenaar2020-01-201-0/+5
| | | | | Problem: Crash when using win_execute() from a new tab. Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
* patch 8.2.0131: command line is not cleared when switching tabsv8.2.0131Bram Moolenaar2020-01-191-1/+9
| | | | | | | Problem: Command line is not cleared when switching tabs and the command line height differs. Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino, closes #5495)
* patch 8.2.0004: get E685 and E931 if buffer reload is interruptedv8.2.0004Bram Moolenaar2019-12-141-3/+4
| | | | | Problem: Get E685 and E931 if buffer reload is interrupted. Solution: Do not abort deleting a dummy buffer. (closes #5361)
* patch 8.1.2396: using old C style commentsv8.1.2396Bram Moolenaar2019-12-051-574/+573
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar2019-11-301-8/+8
| | | | | Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
* patch 8.1.2289: after :diffsplit closing the window does not disable diffv8.1.2289Bram Moolenaar2019-11-101-0/+20
| | | | | Problem: After :diffsplit closing the window does not disable diff. Solution: Add "closeoff" to 'diffopt' and add it to the default.
* patch 8.1.2227: layout wrong if 'lines' changes while cmdline window is openv8.1.2227Bram Moolenaar2019-10-271-5/+12
| | | | | | Problem: Layout wrong if 'lines' changes while cmdline window is open. Solution: Do not restore the window layout if 'lines' changed. (closes #5130)
* patch 8.1.2171: mouse support not always availablev8.1.2171Bram Moolenaar2019-10-171-3/+0
| | | | | | Problem: Mouse support not always available. Solution: Enable mouse support also in tiny version. Do not define FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
* patch 8.1.2136: using freed memory with autocmd from fuzzerv8.1.2136Bram Moolenaar2019-10-111-1/+2
| | | | | | Problem: using freed memory with autocmd from fuzzer. (Dhiraj Mishra, Dominique Pelle) Solution: Avoid using "wp" after autocommands. (closes #5041)
* patch 8.1.2122: cannot build without terminal featurev8.1.2122Bram Moolenaar2019-10-071-0/+2
| | | | | Problem: Cannot build without terminal feature. Solution: Add #ifdef.
* patch 8.1.2121: mode is not updated when switching to terminalv8.1.2121Bram Moolenaar2019-10-071-0/+3
| | | | | Problem: Mode is not updated when switching to terminal in Insert mode. Solution: Redraw the mode when entering a terminal window. (Jason Franklin)
* patch 8.1.2062: the mouse code is spread outv8.1.2062Bram Moolenaar2019-09-211-3/+1
| | | | | | Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
* patch 8.1.2001: some source files are too bigv8.1.2001Bram Moolenaar2019-09-071-447/+0
| | | | | | Problem: Some source files are too big. Solution: Move buffer and window related functions to evalbuffer.c and evalwindow.c. (Yegappan Lakshmanan, closes #4898)
* patch 8.1.1966: some code in options.c fits better elsewherev8.1.1966Bram Moolenaar2019-09-021-0/+81
| | | | | | Problem: Some code in options.c fits better elsewhere. Solution: Move functions from options.c to other files. (Yegappan Lakshmanan, closes #4889)
* patch 8.1.1962: leaking memory when using tagfunc()v8.1.1962Bram Moolenaar2019-09-011-1/+3
| | | | | Problem: Leaking memory when using tagfunc(). Solution: Free the user_data. (Dominique Pelle, closes #4886)
* patch 8.1.1943: more code can be moved to evalvars.cv8.1.1943Bram Moolenaar2019-08-301-0/+103
| | | | | | Problem: More code can be moved to evalvars.c. Solution: Move it, clean up comments. Also move some window related functions to window.c. (Yegappan Lakshmanan, closes #4874)
* patch 8.1.1928: popup windows don't move with the text when making changesv8.1.1928Bram Moolenaar2019-08-251-0/+4
| | | | | | | Problem: Popup windows don't move with the text when making changes. Solution: Add the 'textprop" property to the popup window options, position the popup relative to a text property. (closes #4560) No tests yet.
* patch 8.1.1908: every popup window consumes a buffer numberv8.1.1908Bram Moolenaar2019-08-211-1/+1
| | | | | | Problem: Every popup window consumes a buffer number. Solution: Recycle buffers only used for popup windows. Do not list popup window buffers.
* patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar2019-08-201-14/+17
| | | | | Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
* patch 8.1.1832: win_execute() does not work in other tabv8.1.1832Bram Moolenaar2019-08-091-0/+24
| | | | | Problem: Win_execute() does not work in other tab. (Rick Howe) Solution: Take care of the tab. (closes #4792)
* patch 8.1.1756: autocommand that splits window messes up window layoutv8.1.1756Bram Moolenaar2019-07-271-1/+64
| | | | | | Problem: Autocommand that splits window messes up window layout. Solution: Disallow splitting a window while closing one. In ":all" give an error when moving a window will not work.
* patch 8.1.1755: leaking memory when using a popup window maskv8.1.1755Bram Moolenaar2019-07-261-0/+1
| | | | | Problem: Leaking memory when using a popup window mask. Solution: Free the cached mask.
* patch 8.1.1734: the evalfunc.c file is too bigv8.1.1734Bram Moolenaar2019-07-221-295/+5
| | | | | Problem: The evalfunc.c file is too big. Solution: Move some functions to other files.
* patch 8.1.1612: cannot show an existing buffer in a popup windowv8.1.1612Bram Moolenaar2019-06-301-3/+6
| | | | | Problem: Cannot show an existing buffer in a popup window. Solution: Support buffer number argument in popup_create().
* patch 8.1.1600: cannot specify highlighting for popup window scrollbarv8.1.1600Bram Moolenaar2019-06-261-0/+2
| | | | | Problem: Cannot specify highlighting for popup window scrollbar. Solution: Add "scrollbarhighlight" and "thumbhighlight" options.
* patch 8.1.1580: cannot make part of a popup transparentv8.1.1580Bram Moolenaar2019-06-231-0/+1
| | | | | Problem: Cannot make part of a popup transparent. Solution: Add the "mask" option.
* patch 8.1.1559: popup window title property not implemented yetv8.1.1559Bram Moolenaar2019-06-161-0/+1
| | | | | Problem: Popup window title property not implemented yet. Solution: Implement the title property.
* patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusingv8.1.1555Bram Moolenaar2019-06-161-5/+5
| | | | | Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino) Solution: Rename to ERROR_IF_POPUP_WINDOW().
* patch 8.1.1525: cannot move a popup window with the mousev8.1.1525Bram Moolenaar2019-06-131-1/+1
| | | | | | Problem: Cannot move a popup window with the mouse. Solution: Add the "drag" property and make it possible to drag a popup window by its border.
* patch 8.1.1521: when a popup window is closed the buffer remainsv8.1.1521Bram Moolenaar2019-06-121-6/+6
| | | | | Problem: When a popup window is closed the buffer remains. Solution: Wipe out the buffer.
* patch 8.1.1452: line and col property of popup windows not properly checkedv8.1.1452Bram Moolenaar2019-06-021-0/+8
| | | | | Problem: Line and col property of popup windows not properly checked. Solution: Check for "+" or "-" sign.