Bram Moolenaar
55008aad50
patch 8.1.1962: leaking memory when using tagfunc()
...
Problem: Leaking memory when using tagfunc().
Solution: Free the user_data. (Dominique Pelle, closes #4886 )
2019-09-01 20:21:56 +02:00
Bram Moolenaar
8d71b54409
patch 8.1.1943: more code can be moved to evalvars.c
...
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 )
2019-08-30 15:46:30 +02:00
Bram Moolenaar
12034e22dd
patch 8.1.1928: popup windows don't move with the text when making changes
...
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.
2019-08-25 22:25:02 +02:00
Bram Moolenaar
00b0d6d8dc
patch 8.1.1908: every popup window consumes a buffer number
...
Problem: Every popup window consumes a buffer number.
Solution: Recycle buffers only used for popup windows. Do not list popup
window buffers.
2019-08-21 22:25:30 +02:00
Bram Moolenaar
5843f5f37b
patch 8.1.1891: functions used in one file are global
...
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840 )
2019-08-20 20:13:45 +02:00
Bram Moolenaar
820680b9ff
patch 8.1.1832: win_execute() does not work in other tab
...
Problem: Win_execute() does not work in other tab. (Rick Howe)
Solution: Take care of the tab. (closes #4792 )
2019-08-09 14:56:22 +02:00
Bram Moolenaar
1417c766f5
patch 8.1.1756: autocommand that splits window messes up window layout
...
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.
2019-07-27 17:31:36 +02:00
Bram Moolenaar
0aca293fed
patch 8.1.1755: leaking memory when using a popup window mask
...
Problem: Leaking memory when using a popup window mask.
Solution: Free the cached mask.
2019-07-26 22:22:38 +02:00
Bram Moolenaar
29b7d7a9aa
patch 8.1.1734: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move some functions to other files.
2019-07-22 23:03:57 +02:00
Bram Moolenaar
5b8cfedfbd
patch 8.1.1612: cannot show an existing buffer in a popup window
...
Problem: Cannot show an existing buffer in a popup window.
Solution: Support buffer number argument in popup_create().
2019-06-30 22:16:10 +02:00
Bram Moolenaar
4cd583c6da
patch 8.1.1600: cannot specify highlighting for popup window scrollbar
...
Problem: Cannot specify highlighting for popup window scrollbar.
Solution: Add "scrollbarhighlight" and "thumbhighlight" options.
2019-06-26 05:13:57 +02:00
Bram Moolenaar
c662ec9978
patch 8.1.1580: cannot make part of a popup transparent
...
Problem: Cannot make part of a popup transparent.
Solution: Add the "mask" option.
2019-06-23 00:15:57 +02:00
Bram Moolenaar
eb2310d47d
patch 8.1.1559: popup window title property not implemented yet
...
Problem: Popup window title property not implemented yet.
Solution: Implement the title property.
2019-06-16 20:09:10 +02:00
Bram Moolenaar
8cdbd5b3c4
patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusing
...
Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino)
Solution: Rename to ERROR_IF_POPUP_WINDOW().
2019-06-16 15:50:45 +02:00
Bram Moolenaar
b53fb31a1e
patch 8.1.1525: cannot move a popup window with the mouse
...
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.
2019-06-13 23:59:52 +02:00
Bram Moolenaar
7c7f01e2b2
patch 8.1.1521: when a popup window is closed the buffer remains
...
Problem: When a popup window is closed the buffer remains.
Solution: Wipe out the buffer.
2019-06-12 21:06:32 +02:00
Bram Moolenaar
b0ebbda06c
patch 8.1.1452: line and col property of popup windows not properly checked
...
Problem: Line and col property of popup windows not properly checked.
Solution: Check for "+" or "-" sign.
2019-06-02 16:51:21 +02:00
Bram Moolenaar
9eaac89650
patch 8.1.1446: popup window callback not implemented yet
...
Problem: Popup window callback not implemented yet.
Solution: Implement the callback.
2019-06-01 22:49:29 +02:00
Bram Moolenaar
790498b509
patch 8.1.1445: popup window border highlight not implemented yet
...
Problem: Popup window border highlight not implemented yet.
Solution: Implement the "borderhighlight" option.
2019-06-01 22:15:29 +02:00
Bram Moolenaar
bf0eff0b72
patch 8.1.1441: popup window filter not yet implemented
...
Problem: Popup window filter not yet implemented.
Solution: Implement the popup filter.
2019-06-01 17:13:36 +02:00
Bram Moolenaar
815b76bff6
patch 8.1.1438: some commands cause trouble in a popup window
...
Problem: Some commands cause trouble in a popup window.
Solution: Add NOT_IN_POPUP_WINDOW.
2019-06-01 14:15:52 +02:00
Bram Moolenaar
eea1699836
patch 8.1.1433: win_execute() may leave popup window focused
...
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.
2019-05-31 17:34:48 +02:00
Bram Moolenaar
89adc3a137
patch 8.1.1425: win_execute() does not set window pointers properly
...
Problem: Win_execute() does not set window pointers properly.
Solution: Use switch_win_noblock(). Also execute autocommands in a popup
window.
2019-05-30 17:29:40 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
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.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
35d5af6c0b
patch 8.1.1403: cannot build without the timer feature
...
Problem: Cannot build without the timer feature.
Solution: Add #ifdef.
2019-05-26 20:44:10 +02:00
Bram Moolenaar
51fe3b14f6
patch 8.1.1402: "timer" option of popup windows not supported
...
Problem: "timer" option of popup windows not supported.
Solution: Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439 )
2019-05-26 20:10:06 +02:00
Bram Moolenaar
9c27b1c6d1
patch 8.1.1400: using global pointer for tab-local popups is clumsy
...
Problem: Using global pointer for tab-local popups is clumsy.
Solution: Use the pointer in tabpage_T.
2019-05-26 18:48:13 +02:00
Bram Moolenaar
ec58384afa
patch 8.1.1399: popup windows not adjusted when switching tabs
...
Problem: Popup windows not adjusted when switching tabs.
Solution: Save and restore first_tab_popupwin. Fix closing a tabpage.
2019-05-26 14:11:23 +02:00
Bram Moolenaar
682725c141
patch 8.1.1392: build failure in tiny version
...
Problem: Build failure in tiny version.
Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED.
2019-05-25 20:10:37 +02:00
Bram Moolenaar
4d784b21d1
patch 8.1.1391: no popup window support
...
Problem: No popup window support.
Solution: Add initial code for popup windows. Add the 'wincolor' option.
2019-05-25 19:51:39 +02:00
Bram Moolenaar
18a4ba29ae
patch 8.1.1386: unessesary type casts for lalloc()
...
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24 19:39:03 +02:00
Bram Moolenaar
bd2d68c2f4
patch 8.1.1347: fractional scroll position not restored after closing window
...
Problem: Fractional scroll position not restored after closing window.
Solution: Do restore fraction if topline is not one.
2019-05-18 15:36:11 +02:00
Bram Moolenaar
a9b2535f44
patch 8.1.1327: unnecessary scroll after horizontal split
...
Problem: Unnecessary scroll after horizontal split.
Solution: Don't adjust to fraction if all the text fits in the window.
(Martin Kunev, closes #4367 )
2019-05-12 14:25:30 +02:00
Bram Moolenaar
0fef0aeb1c
patch 8.1.1242: no cmdline redraw when tabpages have different 'cmdheight'
...
Problem: No cmdline redraw when tabpages have different 'cmdheight'.
Solution: redraw the command line when 'cmdheight' changes when switching
tabpages. (closes #4321 )
2019-05-01 20:30:40 +02:00
Bram Moolenaar
b731689e85
patch 8.1.1241: Ex command info contains confusing information
...
Problem: Ex command info contains confusing information.
Solution: When using the NOTADR flag use ADDR_OTHER for the address type.
Cleanup code using NOTADR. Check for errors in
create_cmdidxs.vim. Adjust Makefile to see the errors.
2019-05-01 18:08:42 +02:00
Bram Moolenaar
45e18cbdc4
patch 8.1.1228: not possible to process tags with a function
...
Problem: Not possible to process tags with a function.
Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010 )
2019-04-28 18:05:35 +02:00
Bram Moolenaar
00aa069db8
patch 8.1.1218: cannot set a directory for a tab page
...
Problem: Cannot set a directory for a tab page.
Solution: Add the tab-local directory. (Yegappan Lakshmanan, closes #4212 )
2019-04-27 20:37:57 +02:00
Bram Moolenaar
1f3601e92e
patch 8.1.1207: some compilers give warning messages
...
Problem: Some compilers give warning messages.
Solution: Initialize variables, change printf() argument. (Christian
Brabandt, closes #4305 )
2019-04-26 20:33:00 +02:00
Bram Moolenaar
a68e595909
patch 8.1.1205: a BufReadPre autocommand may cause the cursor to move
...
Problem: A BufReadPre autocommand may cause the cursor to move.
Solution: Restore the cursor position after executing the autocommand,
unless the autocommand moved it. (Christian Brabandt,
closes #4302 , closes #4294 )
2019-04-25 22:22:01 +02:00
Bram Moolenaar
b9cdb37176
patch 8.1.1182: some function prototypes are outdated
...
Problem: Some function prototypes are outdated.
Solution: Update function prototypes. (Ken Takata, closes #4267 )
2019-04-17 18:24:35 +02:00
Bram Moolenaar
46ad288b9b
patch 8.1.1140: not easy to find out what neighbors a window has
...
Problem: Not easy to find out what neighbors a window has.
Solution: Add more arguments to winnr(). (Yegappan Lakshmanan, closes #3993 )
2019-04-08 20:01:47 +02:00
Bram Moolenaar
9e1e358d37
patch 8.1.1088: height of quickfix window not retained with vertical split
...
Problem: Height of quickfix window not retained with vertical split.
Solution: Use frame_fixed_height() and frame_fixed_width(). (Hongbo Liu,
closes #4013 , closes #2998 )
2019-03-30 19:49:06 +01:00
Bram Moolenaar
647e24ba3d
patch 8.1.1015: quickfix buffer shows up in list, can't get buffer number
...
Problem: Quickfix buffer shows up in list, can't get buffer number.
Solution: Make the quickfix buffer unlisted when the quickfix window is
closed. get the quickfix buffer number with getqflist().
(Yegappan Lakshmanan, closes #4113 )
2019-03-17 16:39:46 +01:00
Bram Moolenaar
8fcb60f961
patch 8.1.0994: relative cursor position is not calculated correctly
...
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.
2019-03-04 13:18:30 +01:00
Bram Moolenaar
882d02eeb5
patch 8.1.0974: cannot switch from terminal window to previous tabpage
...
Problem: Cannot switch from terminal window to previous tabpage.
Solution: Make CTRL-W gT move to previous tabpage.
2019-02-22 17:56:43 +01:00
Bram Moolenaar
72e83c1ae5
patch 8.1.0972: cannot switch from terminal window to next tabpage
...
Problem: Cannot switch from terminal window to next tabpage.
Solution: Make CTRL-W gt move to next tabpage.
2019-02-22 16:09:52 +01:00
Bram Moolenaar
14184a3133
patch 8.1.0932: Farsi support is outdated and unused
...
Problem: Farsi support is outdated and unused.
Solution: Delete the Farsi support.
2019-02-16 15:10:30 +01:00
Bram Moolenaar
5fd0f5052f
patch 8.1.0914: code related to findfile() is spread out
...
Problem: Code related to findfile() is spread out.
Solution: Put findfile() related code into a new source file. (Yegappan
Lakshmanan, closes #3934 )
2019-02-13 23:13:28 +01:00
Bram Moolenaar
eeb1b9c7ed
patch 8.1.0892: failure when closing a window when location list is in use
...
Problem: Failure when closing a window when location list is in use.
Solution: Handle the situation gracefully. Make sure memory for 'switchbuf'
is not freed at the wrong time. (Yegappan Lakshmanan,
closes #3928 )
2019-02-10 22:59:04 +01:00
Bram Moolenaar
375e339007
patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
...
Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'.
(Gary Holloway)
Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by
Aron Widforss, closes #3539 )
2019-01-31 18:26:10 +01:00