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
Bram Moolenaar
29ddebef40
patch 8.1.0826: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-26 17:28:26 +01:00
Bram Moolenaar
264b74fa54
patch 8.1.0810: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 4.
2019-01-24 17:18:42 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
b5443cc46d
patch 8.1.0753: printf format not checked for semsg()
...
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes #3805 )
2019-01-15 20:19:40 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
535d5b653a
patch 8.1.0726: redrawing specifically for conceal feature
...
Problem: Redrawing specifically for conceal feature.
Solution: Use generic redrawing methods.
2019-01-11 20:45:36 +01:00
Bram Moolenaar
bf3250a8ad
patch 8.1.0698: clearing the window is used too often
...
Problem: Clearing the window is used too often, causing the command line
to be cleared when opening a tab. (Miroslav Koškár)
Solution: Use NOT_VALID instead of CLEAR. (suggested by Jason Franklin,
closes #630 ) Also do this for a few other places where clearing
the screen isn't really needed.
2019-01-06 17:25:29 +01:00
Bram Moolenaar
3d1491ed23
patch 8.1.0623: iterating through window frames is repeated
...
Problem: Iterating through window frames is repeated.
Solution: Define FOR_ALL_FRAMES. (Yegappan Lakshmanan)
2018-12-22 17:07:50 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
1bbb619483
patch 8.1.0514: CTRL-W ^ does not work when alternate buffer has no name
...
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)
2018-11-10 16:02:01 +01:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
09037503ea
patch 8.1.0434: copy_loclist() is too long
...
Problem: copy_loclist() is too long.
Solution: Split in multiple functions. (Yegappan Lakshmanan)
2018-09-25 22:08:14 +02:00
Bram Moolenaar
42335f50bc
patch 8.1.0377: xdiff doesn't use the Vim memory allocation functions
...
Problem: Xdiff doesn't use the Vim memory allocation functions.
Solution: Change the xdl_ defines. Check for out-of-memory. Rename
"ignored" to "vim_ignored".
2018-09-13 15:33:43 +02:00
Bram Moolenaar
0f6b4f06de
patch 8.1.0307: there is no good way to get the window layout
...
Problem: There is no good way to get the window layout.
Solution: Add the winlayout() function. (Yegappan Lakshmanan)
2018-08-21 16:56:34 +02:00
Bram Moolenaar
0a08c63da1
patch 8.1.0213: CTRL-W CR does not work properly in a quickfix window
...
Problem: CTRL-W CR does not work properly in a quickfix window.
Solution: Split the window if needed. (Jason Franklin)
2018-07-25 22:36:52 +02:00
Bram Moolenaar
942b4541a2
patch 8.1.0064: typing CTRL-W in a prompt buffer shows mode "-- --"
...
Problem: Typing CTRL-W in a prompt buffer shows mode "-- --".
Solution: Set restart_edit to 'A' and check for it.
2018-06-17 16:23:34 +02:00
Bram Moolenaar
1c3c10492a
patch 8.1.0046: loading a session file fails if 'winheight' is big
...
Problem: Loading a session file fails if 'winheight' is a big number.
Solution: Set 'minwinheight' to zero at first. Don't give an error when
setting 'minwinheight' while 'winheight' is a big number.
Fix using vertical splits. Fix setting 'minwinwidth'.
(closes #2970 )
2018-06-12 16:49:30 +02:00