summaryrefslogtreecommitdiff
path: root/src/window.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* patch 8.1.1446: popup window callback not implemented yetv8.1.1446Bram Moolenaar2019-06-011-0/+1
| | | | | Problem: Popup window callback not implemented yet. Solution: Implement the callback.
* patch 8.1.1445: popup window border highlight not implemented yetv8.1.1445Bram Moolenaar2019-06-011-0/+2
| | | | | Problem: Popup window border highlight not implemented yet. Solution: Implement the "borderhighlight" option.
* patch 8.1.1441: popup window filter not yet implementedv8.1.1441Bram Moolenaar2019-06-011-0/+3
| | | | | Problem: Popup window filter not yet implemented. Solution: Implement the popup filter.
* patch 8.1.1438: some commands cause trouble in a popup windowv8.1.1438Bram Moolenaar2019-06-011-2/+15
| | | | | Problem: Some commands cause trouble in a popup window. Solution: Add NOT_IN_POPUP_WINDOW.
* patch 8.1.1433: win_execute() may leave popup window focusedv8.1.1433Bram Moolenaar2019-05-311-0/+6
| | | | | | Problem: Win_execute() may leave popup window focused, eventually leading to a crash. (Bjorn Linse) Solution: When previous window was closed, go to the first window.
* patch 8.1.1425: win_execute() does not set window pointers properlyv8.1.1425Bram Moolenaar2019-05-301-4/+30
| | | | | | Problem: Win_execute() does not set window pointers properly. Solution: Use switch_win_noblock(). Also execute autocommands in a popup window.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-8/+8
| | | | | | Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
* patch 8.1.1403: cannot build without the timer featurev8.1.1403Bram Moolenaar2019-05-261-0/+4
| | | | | Problem: Cannot build without the timer feature. Solution: Add #ifdef.
* patch 8.1.1402: "timer" option of popup windows not supportedv8.1.1402Bram Moolenaar2019-05-261-6/+4
| | | | | Problem: "timer" option of popup windows not supported. Solution: Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439)
* patch 8.1.1400: using global pointer for tab-local popups is clumsyv8.1.1400Bram Moolenaar2019-05-261-27/+3
| | | | | Problem: Using global pointer for tab-local popups is clumsy. Solution: Use the pointer in tabpage_T.
* patch 8.1.1399: popup windows not adjusted when switching tabsv8.1.1399Bram Moolenaar2019-05-261-2/+30
| | | | | Problem: Popup windows not adjusted when switching tabs. Solution: Save and restore first_tab_popupwin. Fix closing a tabpage.
* patch 8.1.1392: build failure in tiny versionv8.1.1392Bram Moolenaar2019-05-251-1/+1
| | | | | Problem: Build failure in tiny version. Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED.
* patch 8.1.1391: no popup window supportv8.1.1391Bram Moolenaar2019-05-251-45/+131
| | | | | Problem: No popup window support. Solution: Add initial code for popup windows. Add the 'wincolor' option.
* patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar2019-05-241-6/+6
| | | | | Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).