| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Crash when using winnr('j') in a popup window.
Solution: Do not search for neighbors in a popup window. (closes #5568)
|
|
|
|
|
| |
Problem: Blocking commands for a finished job in a popup window.
Solution: Do not block commands if the job has finished. Adjust test.
|
|
|
|
|
| |
Problem: Some commands can cause problems in terminal popup.
Solution: Disallow more commands.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Possible to enter popup window with CTRL-W p. (John Devin)
Solution: Check entered window is not a popup window. (closes #5515)
|
|
|
|
|
| |
Problem: Crash when using win_execute() from a new tab.
Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Get E685 and E931 if buffer reload is interrupted.
Solution: Do not abort deleting a dummy buffer. (closes #5361)
|
|
|
|
|
| |
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
|
|
|
|
|
| |
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
|
|
|
|
|
| |
Problem: After :diffsplit closing the window does not disable diff.
Solution: Add "closeoff" to 'diffopt' and add it to the default.
|
|
|
|
|
|
| |
Problem: Layout wrong if 'lines' changes while cmdline window is open.
Solution: Do not restore the window layout if 'lines' changed.
(closes #5130)
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
Problem: using freed memory with autocmd from fuzzer. (Dhiraj Mishra,
Dominique Pelle)
Solution: Avoid using "wp" after autocommands. (closes #5041)
|
|
|
|
|
| |
Problem: Cannot build without terminal feature.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: Mode is not updated when switching to terminal in Insert mode.
Solution: Redraw the mode when entering a terminal window. (Jason Franklin)
|
|
|
|
|
|
| |
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959)
|
|
|
|
|
|
| |
Problem: Some source files are too big.
Solution: Move buffer and window related functions to evalbuffer.c and
evalwindow.c. (Yegappan Lakshmanan, closes #4898)
|
|
|
|
|
|
| |
Problem: Some code in options.c fits better elsewhere.
Solution: Move functions from options.c to other files. (Yegappan
Lakshmanan, closes #4889)
|
|
|
|
|
| |
Problem: Leaking memory when using tagfunc().
Solution: Free the user_data. (Dominique Pelle, closes #4886)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Problem: Every popup window consumes a buffer number.
Solution: Recycle buffers only used for popup windows. Do not list popup
window buffers.
|
|
|
|
|
| |
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
|
|
|
|
|
| |
Problem: Win_execute() does not work in other tab. (Rick Howe)
Solution: Take care of the tab. (closes #4792)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Leaking memory when using a popup window mask.
Solution: Free the cached mask.
|
|
|
|
|
| |
Problem: The evalfunc.c file is too big.
Solution: Move some functions to other files.
|
|
|
|
|
| |
Problem: Cannot show an existing buffer in a popup window.
Solution: Support buffer number argument in popup_create().
|
|
|
|
|
| |
Problem: Cannot specify highlighting for popup window scrollbar.
Solution: Add "scrollbarhighlight" and "thumbhighlight" options.
|
|
|
|
|
| |
Problem: Cannot make part of a popup transparent.
Solution: Add the "mask" option.
|
|
|
|
|
| |
Problem: Popup window title property not implemented yet.
Solution: Implement the title property.
|
|
|
|
|
| |
Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino)
Solution: Rename to ERROR_IF_POPUP_WINDOW().
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: When a popup window is closed the buffer remains.
Solution: Wipe out the buffer.
|
|
|
|
|
| |
Problem: Line and col property of popup windows not properly checked.
Solution: Check for "+" or "-" sign.
|
|
|
|
|
| |
Problem: Popup window callback not implemented yet.
Solution: Implement the callback.
|
|
|
|
|
| |
Problem: Popup window border highlight not implemented yet.
Solution: Implement the "borderhighlight" option.
|
|
|
|
|
| |
Problem: Popup window filter not yet implemented.
Solution: Implement the popup filter.
|
|
|
|
|
| |
Problem: Some commands cause trouble in a popup window.
Solution: Add NOT_IN_POPUP_WINDOW.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Problem: Win_execute() does not set window pointers properly.
Solution: Use switch_win_noblock(). Also execute autocommands in a popup
window.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Cannot build without the timer feature.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: "timer" option of popup windows not supported.
Solution: Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439)
|
|
|
|
|
| |
Problem: Using global pointer for tab-local popups is clumsy.
Solution: Use the pointer in tabpage_T.
|
|
|
|
|
| |
Problem: Popup windows not adjusted when switching tabs.
Solution: Save and restore first_tab_popupwin. Fix closing a tabpage.
|
|
|
|
|
| |
Problem: Build failure in tiny version.
Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED.
|
|
|
|
|
| |
Problem: No popup window support.
Solution: Add initial code for popup windows. Add the 'wincolor' option.
|
|
|
|
|
| |
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
|