Bram Moolenaar [Thu, 16 May 2019 18:29:44 +0000 (20:29 +0200)]
patch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not used
Problem: When buffer is hidden "F" in 'shortmess' is not used.
Solution: Check the "F" flag in 'shortmess' when the buffer is already
loaded. (Jason Franklin) Add test_getvalue() to be able to test
this.
Bram Moolenaar [Wed, 15 May 2019 20:45:37 +0000 (22:45 +0200)]
patch 8.1.1333: text properties don't always move after changes
Problem: Text properties don't always move after changes.
Solution: Update properties before reporting changes to listeners. Move text
property when splitting a line.
Bram Moolenaar [Tue, 14 May 2019 19:20:36 +0000 (21:20 +0200)]
patch 8.1.1332: cannot flush listeners without redrawing, mix of changes
Problem: Cannot flush change listeners without also redrawing. The line
numbers in the list of changes may become invalid.
Solution: Add listener_flush(). Invoke listeners before adding a change
that makes line numbers invalid.
Bram Moolenaar [Mon, 13 May 2019 18:27:23 +0000 (20:27 +0200)]
patch 8.1.1330: using bold attribute in terminal changes the color
Problem: Using bold attribute in terminal changes the color. (Jason
Franklin)
Solution: Don't set the "bold-highbright" flag in vterm unless the terminal
supports less than 16 colors.
Bram Moolenaar [Sun, 12 May 2019 12:25:30 +0000 (14:25 +0200)]
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)
Bram Moolenaar [Sat, 11 May 2019 19:14:24 +0000 (21:14 +0200)]
patch 8.1.1321: no docs or tests for listener functions
Problem: No docs or tests for listener functions.
Solution: Add help and tests for listener_add() and listener_remove().
Invoke the callbacks before redrawing.
Bram Moolenaar [Fri, 10 May 2019 21:10:31 +0000 (23:10 +0200)]
patch 8.1.1315: there is always a delay if a termrequest is never answered
Problem: There is always a delay if a termrequest is never answered.
Solution: When the response is not received within two seconds consider the
request to have failed.
Bram Moolenaar [Thu, 9 May 2019 19:08:58 +0000 (21:08 +0200)]
patch 8.1.1310: named function arguments are never optional
Problem: Named function arguments are never optional.
Solution: Support optional function arguments with a default value. (Andy
Massimino, closes #3952)
Bram Moolenaar [Thu, 9 May 2019 13:12:55 +0000 (15:12 +0200)]
patch 8.1.1306: Borland support is outdated and doesn't work
Problem: Borland support is outdated and doesn't work.
Solution: Remove Borland support, there are other (free) compilers
available. (Thomas Dziedzic, Ken Takata, closes #4364)
Bram Moolenaar [Wed, 8 May 2019 19:59:25 +0000 (21:59 +0200)]
patch 8.1.1300: in a terminal 'ballooneval' does not work right away
Problem: In a terminal 'ballooneval' does not work right away.
Solution: Flush output after drawing the balloon. Add the <Ignore> key
code. Add a test.
Bram Moolenaar [Wed, 8 May 2019 18:20:46 +0000 (20:20 +0200)]
patch 8.1.1299: "extends" from 'listchars' is used when 'list' is off
Problem: "extends" from 'listchars' is used when 'list' is off. (Hiroyuki
Yoshinaga)
Solution: Only use the "extends" character when 'list' is on. (Hirohito
Higashi, closes #4360)
Bram Moolenaar [Tue, 7 May 2019 20:25:27 +0000 (22:25 +0200)]
patch 8.1.1293: MSVC files are no longer useful
Problem: MSVC files are no longer useful for debugging. Newer Visual
Studio versions cannot read them.
Solution: Delete the files. (Ken Takata, closes #4357)
Bram Moolenaar [Tue, 7 May 2019 19:48:51 +0000 (21:48 +0200)]
patch 8.1.1290: .hgignore and .gitignore are either distributed or in git
Problem: .hgignore and .gitignore are either distributed or in git, not
both.
Solution: Add .gitignore to the distribution and .hgignore to git. Update
the entries. (Christian Brabandt, Ken Takata)
Bram Moolenaar [Sun, 5 May 2019 16:13:34 +0000 (18:13 +0200)]
patch 8.1.1280: remarks about functionality not in Vi clutters the help
Problem: Remarks about functionality not in Vi clutters the help.
Solution: Move all info about what is new in Vim or already existed in Vi to
vi_diff.txt. Remove {not in Vi} remarks. (closes #4268) Add
"noet" to the help files modeline. Also include many other help
file improvements.
Bram Moolenaar [Sat, 4 May 2019 19:08:40 +0000 (21:08 +0200)]
patch 8.1.1270: cannot see current match position
Problem: Cannot see current match position.
Solution: Show "3/44" when using the "n" command and "S" is not in
'shortmess'. (Christian Brabandt, closes #4317)
Bram Moolenaar [Sat, 4 May 2019 18:00:00 +0000 (20:00 +0200)]
patch 8.1.1269: MS-Windows GUI: multibyte chars with a 0x80 byte do not work
Problem: MS-Windows GUI: multibyte chars with a 0x80 byte do not work when
compiled with VIMDLL.
Solution: Adjust the condition for fixing the input buffer. (Ken Takata,
closes #4330)
Bram Moolenaar [Sat, 4 May 2019 15:30:04 +0000 (17:30 +0200)]
patch 8.1.1266: winbar test doesn't test enough
Problem: Winbar test doesn't test enough.
Solution: Check that the WinBar actually shows up. Correct check for clicks
with no effect. (Ben Jackson, closes #4338)
Bram Moolenaar [Sat, 4 May 2019 13:05:28 +0000 (15:05 +0200)]
patch 8.1.1261: no error for quickfix commands with negative range
Problem: No error for quickfix commands with negative range.
Solution: Add ADDR_UNSIGNED and use it for quickfix commands. Make
assert_fails() show the command if the error doesn't match.
Bram Moolenaar [Fri, 3 May 2019 20:15:03 +0000 (22:15 +0200)]
patch 8.1.1257: MSVC: name of object directory now always right
Problem: MSVC: name of object directory now always right.
Solution: Adjust comment. Don't use different directory for DIRECTX. Do
use different directory for USE_MSVCRT. (Ken Takata, closes #4333)
Bram Moolenaar [Fri, 3 May 2019 19:56:35 +0000 (21:56 +0200)]
patch 8.1.1256: cannot navigate through errors relative to the cursor
Problem: Cannot navigate through errors relative to the cursor.
Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan,
closes #4316)
Bram Moolenaar [Thu, 2 May 2019 18:17:40 +0000 (20:17 +0200)]
patch 8.1.1245: ":copen 10" sets height in full-height window
Problem: ":copen 10" sets height in full-height window. (Daniel Hahler)
Solution: Don't set the height if the quickfix window is full height.
(closes #4325)
Bram Moolenaar [Wed, 1 May 2019 18:30:40 +0000 (20:30 +0200)]
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)
Bram Moolenaar [Wed, 1 May 2019 16:08:42 +0000 (18:08 +0200)]
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.
patch 8.1.1239: key with byte sequence containing CSI does not work
Problem: Key with byte sequence containing CSI does not work.
Solution: Do not recognize CSI as special unless the GUI is active. (Ken
Takata, closes #4318)