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
Bram Moolenaar
f98b845dd1
patch 8.1.0042: if omni completion opens a window Insert mode is stopped
...
Problem: If omni completion opens a window Insert mode is stopped.
(Hirohito Higashi)
Solution: Only set stop_insert_mode in a prompt buffer window.
2018-06-10 14:39:52 +02:00
Bram Moolenaar
891e1fd894
patch 8.1.0036: not restoring Insert mode if leaving prompt buffer with mouse
...
Problem: Not restoring Insert mode if leaving a prompt buffer by using a
mouse click.
Solution: Set b_prompt_insert appropriately. Also correct cursor position
when moving cursor to last line.
2018-06-06 18:02:39 +02:00
Bram Moolenaar
6d41c78e35
patch 8.1.0035: not easy to switch between prompt buffer and other windows
...
Problem: Not easy to switch between prompt buffer and other windows.
Solution: Accept CTRL-W commands in Insert mode. Start and stop Insert mode
as one would expect.
2018-06-06 09:11:12 +02:00
Bram Moolenaar
c136af29c0
patch 8.0.1790: 'winfixwidth' is not always respected by :close
...
Problem: 'winfixwidth' is not always respected by :close.
Solution: Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason
Franklin)
2018-05-04 20:15:38 +02:00
Bram Moolenaar
98da6ecab9
patch 8.0.1707: when 'wfh' is set ":bel 10new" scrolls window
...
Problem: When 'wfh' is set ":bel 10new" scrolls window. (Andrew Pyatkov)
Solution: Set the fraction before changing the window height. (closes #2798 )
2018-04-13 22:15:46 +02:00
Bram Moolenaar
6f4700233f
patch 8.0.1688: some macros are used without a semicolon
...
Problem: Some macros are used without a semicolon, causing auto-indent to be
wrong.
Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729 )
2018-04-10 18:47:20 +02:00
Bram Moolenaar
8a3bb56230
patch 8.0.1566: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04 20:14:14 +01:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01:00
Bram Moolenaar
81226e0310
patch 8.0.1528: dead code found
...
Problem: Dead code found.
Solution: Remove the useless lines. (CodeAi, closes #2656 )
2018-02-20 21:44:45 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
6f361c9912
patch 8.0.1446: acessing freed memory after window command in auto command
...
Problem: Acessing freed memory after window command in auto command.
(gy741)
Solution: Adjust the pointer in the parent frame. (Christian Brabandt,
closes #2467 )
2018-01-31 19:06:50 +01:00