]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.2287: using EndOfBuffer highlight in popup does not look good v8.1.2287
Bram Moolenaar [Sun, 10 Nov 2019 16:22:31 +0000 (17:22 +0100)]
patch 8.1.2287: using EndOfBuffer highlight in popup does not look good

Problem:    Using EndOfBuffer highlight in popup does not look good.
Solution:   Do not EndOfBuffer highlight. (closes #5204)

5 years agopatch 8.1.2286: using border highlight in popup window leaks memory v8.1.2286
Bram Moolenaar [Sun, 10 Nov 2019 14:16:54 +0000 (15:16 +0100)]
patch 8.1.2286: using border highlight in popup window leaks memory

Problem:    Using border highlight in popup window leaks memory.
Solution:   Free memory before overwriting. (Dominique Pelle, closes #5203)

5 years agopatch 8.1.2285: padding in structures wastes memory v8.1.2285
Bram Moolenaar [Sun, 10 Nov 2019 14:07:19 +0000 (15:07 +0100)]
patch 8.1.2285: padding in structures wastes memory

Problem:    Padding in structures wastes memory.
Solution:   Move fields to avoid padding. (Dominique Pelle, closes #5202)

5 years agopatch 8.1.2284: compiler warning for unused variable v8.1.2284
Bram Moolenaar [Sun, 10 Nov 2019 00:32:12 +0000 (01:32 +0100)]
patch 8.1.2284: compiler warning for unused variable

Problem:    Compiler warning for unused variable. (Tony Mechelynck)
Solution:   Add #ifdef.

5 years agopatch 8.1.2283: missed on use of p_sbr v8.1.2283
Bram Moolenaar [Sat, 9 Nov 2019 23:19:12 +0000 (00:19 +0100)]
patch 8.1.2283: missed on use of p_sbr

Problem:    Missed on use of p_sbr.
Solution:   Add missing p_sbr change.

5 years agopatch 8.1.2282: crash when passing many arguments through a partial v8.1.2282
Bram Moolenaar [Sat, 9 Nov 2019 23:13:50 +0000 (00:13 +0100)]
patch 8.1.2282: crash when passing many arguments through a partial

Problem:    Crash when passing many arguments through a partial. (Andy
            Massimino)
Solution:   Check the number of arguments. (closes #5186)

5 years agopatch 8.1.2281: 'showbreak' cannot be set for one window v8.1.2281
Bram Moolenaar [Sat, 9 Nov 2019 22:26:40 +0000 (23:26 +0100)]
patch 8.1.2281: 'showbreak' cannot be set for one window

Problem:    'showbreak' cannot be set for one window.
Solution:   Make 'showbreak' global-local.

5 years agopatch 8.1.2280: crash when passing partial to substitute() v8.1.2280
Bram Moolenaar [Sat, 9 Nov 2019 21:28:11 +0000 (22:28 +0100)]
patch 8.1.2280: crash when passing partial to substitute()

Problem:    Crash when passing partial to substitute().
Solution:   Take extra arguments into account. (closes #5186)

5 years agopatch 8.1.2279: computation of highlight attributes is too complicated v8.1.2279
Bram Moolenaar [Sat, 9 Nov 2019 20:28:14 +0000 (21:28 +0100)]
patch 8.1.2279: computation of highlight attributes is too complicated

Problem:    Computation of highlight attributes is too complicated.
Solution:   Simplify the attribute computation and make it more consistent.
            (closes #5190)  Fix that 'combine' set to zero doesn't work.

5 years agopatch 8.1.2278: using "cd" with "exe" may fail v8.1.2278
Bram Moolenaar [Sat, 9 Nov 2019 19:10:17 +0000 (20:10 +0100)]
patch 8.1.2278: using "cd" with "exe" may fail

Problem:    Using "cd" with "exe" may fail.
Solution:   Use chdir() instead.

5 years agopatch 8.1.2277: terminal window is not updated when info popup changes v8.1.2277
Bram Moolenaar [Sat, 9 Nov 2019 19:00:35 +0000 (20:00 +0100)]
patch 8.1.2277: terminal window is not updated when info popup changes

Problem:    Terminal window is not updated when info popup changes.
Solution:   Redraw windows when re-using an info popup. (closes #5192)

5 years agopatch 8.1.2276: MS-Windows: session test leaves files behind v8.1.2276
Bram Moolenaar [Sat, 9 Nov 2019 17:06:04 +0000 (18:06 +0100)]
patch 8.1.2276: MS-Windows: session test leaves files behind

Problem:    MS-Windows: session test leaves files behind.
Solution:   Wipe out buffers before deleting the directory. (closes #5187)

5 years agopatch 8.1.2275: using "seesion" looks like a mistake v8.1.2275
Bram Moolenaar [Sat, 9 Nov 2019 16:18:52 +0000 (17:18 +0100)]
patch 8.1.2275: using "seesion" looks like a mistake

Problem:    Using "seesion" looks like a mistake.
Solution:   Use an underscore to make the function sort first.

5 years agopatch 8.1.2274: newlines in 'balloonexpr' result only work in the GUI v8.1.2274
Bram Moolenaar [Sat, 9 Nov 2019 15:59:14 +0000 (16:59 +0100)]
patch 8.1.2274: newlines in 'balloonexpr' result only work in the GUI

Problem:    Newlines in 'balloonexpr' result only work in the GUI.
Solution:   Also recognize newlines in the terminal. (closes #5193)

5 years agopatch 8.1.2273: wrong default when "pos" is changed with popup_atcursor() v8.1.2273
Bram Moolenaar [Sat, 9 Nov 2019 14:33:31 +0000 (15:33 +0100)]
patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor()

Problem:    Wrong default when "pos" is changed with popup_atcursor().
Solution:   Adjust the default line and col when "pos" is not the default
            value. (#5151)

5 years agopatch 8.1.2272: test may hang at more prompt v8.1.2272
Bram Moolenaar [Fri, 8 Nov 2019 22:00:25 +0000 (23:00 +0100)]
patch 8.1.2272: test may hang at more prompt

Problem:    Test may hang at more prompt.
Solution:   Reset 'more' after resetting 'compatible'. (Michael Soyka)

5 years agopatch 8.1.2271: build error if FEAT_TAG_BINS is not defined v8.1.2271
Bram Moolenaar [Fri, 8 Nov 2019 20:56:57 +0000 (21:56 +0100)]
patch 8.1.2271: build error if FEAT_TAG_BINS is not defined

Problem:    Build error if FEAT_TAG_BINS is not defined. (John Marriott)
Solution:   Add #ifdef.

5 years agopatch 8.1.2270: "gf" is not tested in Visual mode v8.1.2270
Bram Moolenaar [Fri, 8 Nov 2019 20:49:48 +0000 (21:49 +0100)]
patch 8.1.2270: "gf" is not tested in Visual mode

Problem:    "gf" is not tested in Visual mode.
Solution:   Add Visual mode test and test errors. (Dominique Pelle,
            closes #5197)

5 years agopatch 8.1.2269: tags file with very long line stops using binary search v8.1.2269
Bram Moolenaar [Thu, 7 Nov 2019 22:08:42 +0000 (23:08 +0100)]
patch 8.1.2269: tags file with very long line stops using binary search

Problem:    Tags file with very long line stops using binary search.
Solution:   Reallocate the buffer if needed.

5 years agopatch 8.1.2268: spell file flag zero is not recognized v8.1.2268
Bram Moolenaar [Thu, 7 Nov 2019 19:48:42 +0000 (20:48 +0100)]
patch 8.1.2268: spell file flag zero is not recognized

Problem:    Spell file flag zero is not recognized.
Solution:   Use -1 as an error value, so that zero can be used as a valid flag
            number.

5 years agopatch 8.1.2267: compiler warning for uninitialized variable v8.1.2267
Bram Moolenaar [Wed, 6 Nov 2019 22:26:20 +0000 (23:26 +0100)]
patch 8.1.2267: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Rearrange the code.

5 years agopatch 8.1.2266: position unknown for a mouse click in a popup window v8.1.2266
Bram Moolenaar [Wed, 6 Nov 2019 20:09:17 +0000 (21:09 +0100)]
patch 8.1.2266: position unknown for a mouse click in a popup window

Problem:    Position unknown for a mouse click in a popup window.
Solution:   Set v:mouse_col and v:mouse_lnum. (closes #5171)

5 years agopatch 8.1.2265: when popup with "botleft" does not fit it flips incorrectly v8.1.2265
Bram Moolenaar [Wed, 6 Nov 2019 18:25:22 +0000 (19:25 +0100)]
patch 8.1.2265: when popup with "botleft" does not fit it flips incorrectly

Problem:    When popup with "botleft" does not fit it flips incorrectly.
Solution:   Only flip when there is more space on the other side.  Add the
            "posinvert" option to disable flipping and do it in both
            directions if enabled.  (closes #5151)

5 years agopatch 8.1.2264: there are two test files for :let v8.1.2264
Bram Moolenaar [Wed, 6 Nov 2019 14:22:00 +0000 (15:22 +0100)]
patch 8.1.2264: there are two test files for :let

Problem:    There are two test files for :let.
Solution:   Merge the two files.

5 years agopatch 8.1.2263: 'noesckeys' test fails in GUI v8.1.2263
Bram Moolenaar [Wed, 6 Nov 2019 14:07:07 +0000 (15:07 +0100)]
patch 8.1.2263: 'noesckeys' test fails in GUI

Problem:    'noesckeys' test fails in GUI.
Solution:   Skip the test in the GUI.

5 years agopatch 8.1.2262: unpack assignment in function not recognized v8.1.2262
Bram Moolenaar [Wed, 6 Nov 2019 14:02:50 +0000 (15:02 +0100)]
patch 8.1.2262: unpack assignment in function not recognized

Problem:    Unpack assignment in function not recognized.
Solution:   Skip over "[a, b]". (closes #5051)

5 years agopatch 8.1.2261: with modifyOtherKeys set 'noesckeys' doesn't work v8.1.2261
Bram Moolenaar [Wed, 6 Nov 2019 12:59:16 +0000 (13:59 +0100)]
patch 8.1.2261: with modifyOtherKeys set 'noesckeys' doesn't work

Problem:    With modifyOtherKeys set 'noesckeys' doesn't work. (James McCoy)
Solution:   Disable modifyOtherKeys while in Insert mode when 'noesckeys' is
            set. (closes #5180)

5 years agopatch 8.1.2260: terminal test may fail on MS-Windows v8.1.2260
Bram Moolenaar [Tue, 5 Nov 2019 21:38:47 +0000 (22:38 +0100)]
patch 8.1.2260: terminal test may fail on MS-Windows

Problem:    Terminal test may fail on MS-Windows.
Solution:   Catch the situation that "term dir" fails with a CreateProcess
            error.

5 years agopatch 8.1.2259: running tests may leave XfakeHOME behind v8.1.2259
Bram Moolenaar [Tue, 5 Nov 2019 21:37:20 +0000 (22:37 +0100)]
patch 8.1.2259: running tests may leave XfakeHOME behind

Problem:    Running tests may leave XfakeHOME behind.
Solution:   Source summarize.vim without using setup.vim. (closes #5177)
            Also fix that on MS-Windows the test log isn't echoed.

5 years agopatch 8.1.2258: may get hit-enter prompt after entering a number v8.1.2258
Bram Moolenaar [Tue, 5 Nov 2019 20:53:20 +0000 (21:53 +0100)]
patch 8.1.2258: may get hit-enter prompt after entering a number

Problem:    May get hit-enter prompt after entering a number. (Malcolm Rowe)
Solution:   Put back accidentally deleted lines. (closes #5176)

5 years agopatch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window v8.1.2257
Bram Moolenaar [Tue, 5 Nov 2019 20:09:23 +0000 (21:09 +0100)]
patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window

Problem:    MS-Windows GUI: scroll wheel always uses current window.
Solution:   Add the 'scrollfocus' option for MS-Windows.

5 years agopatch 8.1.2256: test for ":term ++shell" fails on MS-Windows v8.1.2256
Bram Moolenaar [Mon, 4 Nov 2019 22:36:29 +0000 (23:36 +0100)]
patch 8.1.2256: test for ":term ++shell" fails on MS-Windows

Problem:    Test for ":term ++shell" fails on MS-Windows.
Solution:   Accept failure of "dir" executable.

5 years agopatch 8.1.2255: ":term ++shell" does not work on MS-Windows v8.1.2255
Bram Moolenaar [Mon, 4 Nov 2019 22:18:35 +0000 (23:18 +0100)]
patch 8.1.2255: ":term ++shell" does not work on MS-Windows

Problem:    ":term ++shell" does not work on MS-Windows.
Solution:   Add MS-Windows support.

5 years agopatch 8.1.2254: MS-Windows: mouse scroll wheel doesn't work in popup v8.1.2254
Bram Moolenaar [Mon, 4 Nov 2019 21:52:12 +0000 (22:52 +0100)]
patch 8.1.2254: MS-Windows: mouse scroll wheel doesn't work in popup

Problem:    MS-Windows: mouse scroll wheel doesn't work in popup.
Solution:   Handle mouse wheel events separately. (closes #5138)

5 years agopatch 8.1.2253: using "which" to check for an executable is not reliable v8.1.2253
Bram Moolenaar [Mon, 4 Nov 2019 20:24:48 +0000 (21:24 +0100)]
patch 8.1.2253: using "which" to check for an executable is not reliable

Problem:    Using "which" to check for an executable is not reliable.
Solution:   Use "command -v" instead.  Also exit with error code when
            generating tags has an error. (closes #5174)

5 years agopatch 8.1.2252: compiler warning for int size v8.1.2252
Bram Moolenaar [Mon, 4 Nov 2019 19:36:50 +0000 (20:36 +0100)]
patch 8.1.2252: compiler warning for int size

Problem:    Compiler warning for int size.
Solution:   Add type cast. (Mike Williams)

5 years agopatch 8.1.2251: ":term command" may not work without a shell v8.1.2251
Bram Moolenaar [Sun, 3 Nov 2019 22:37:12 +0000 (23:37 +0100)]
patch 8.1.2251: ":term command" may not work without a shell

Problem:    ":term command" may not work without a shell.
Solution:   Add the ++shell option to :term. (closes #3340)

5 years agopatch 8.1.2250: CTRL-U and CTRL-D don't work in popup window v8.1.2250
Bram Moolenaar [Sun, 3 Nov 2019 21:29:38 +0000 (22:29 +0100)]
patch 8.1.2250: CTRL-U and CTRL-D don't work in popup window

Problem:    CTRL-U and CTRL-D don't work in popup window.
Solution:   Initialize 'scroll'.  Add "lastline" in popup_getpos().
            (closes #5170)

5 years agopatch 8.1.2249: "make vimtags" does not print any message v8.1.2249
Bram Moolenaar [Sun, 3 Nov 2019 20:46:19 +0000 (21:46 +0100)]
patch 8.1.2249: "make vimtags" does not print any message

Problem:    "make vimtags" does not print any message.
Solution:   Add a message that the tags have been updated.

5 years agopatch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabled v8.1.2248
Bram Moolenaar [Sun, 3 Nov 2019 20:19:41 +0000 (21:19 +0100)]
patch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabled

Problem:    CTRL-W dot does not work in a terminal when modifyOtherKeys is
            enabled.
Solution:   Use the modifier when needed.  Pass the modifier along with the
            key to avoid mistakes.

5 years agopatch 8.1.2247: "make vimtags" does not work in runtime/doc v8.1.2247
Bram Moolenaar [Sun, 3 Nov 2019 17:38:47 +0000 (18:38 +0100)]
patch 8.1.2247: "make vimtags" does not work in runtime/doc

Problem:    "make vimtags" does not work in runtime/doc.
Solution:   Test existence with "which" instead of "test -x". (Ken Takata)

5 years agopatch 8.1.2246: some tests are still in old style v8.1.2246
Bram Moolenaar [Sun, 3 Nov 2019 15:17:26 +0000 (16:17 +0100)]
patch 8.1.2246: some tests are still in old style

Problem:    Some tests are still in old style.
Solution:   Change a few tests to new style. (Yegappan Lakshmanan)

5 years agopatch 8.1.2245: third character of 'listchars' tab shows in wrong place v8.1.2245
Bram Moolenaar [Sun, 3 Nov 2019 14:46:48 +0000 (15:46 +0100)]
patch 8.1.2245: third character of 'listchars' tab shows in wrong place

Problem:    Third character of 'listchars' tab shows in wrong place when
            'breakindent' is set.
Solution:   Set c_final to NUL. (Naruhiko Nishino, closes #5165)

5 years agopatch 8.1.2244: 'wrapscan' is not used for "gn" v8.1.2244
Bram Moolenaar [Sat, 2 Nov 2019 22:22:47 +0000 (23:22 +0100)]
patch 8.1.2244: 'wrapscan' is not used for "gn"

Problem:    'wrapscan' is not used for "gn".
Solution:   Only reset 'wrapscan' for the first search round. (closes #5164)

5 years agopatch 8.1.2243: typos in comments v8.1.2243
Bram Moolenaar [Sat, 2 Nov 2019 21:54:41 +0000 (22:54 +0100)]
patch 8.1.2243: typos in comments

Problem:    Typos in comments.
Solution:   Fix the typos. (Dominique Pelle, closes #5160)  Also adjust
            formatting a bit.

5 years agopatch 8.1.2242: creating docs tags uses user preferences v8.1.2242
Bram Moolenaar [Sat, 2 Nov 2019 21:45:31 +0000 (22:45 +0100)]
patch 8.1.2242: creating docs tags uses user preferences

Problem:    Creating docs tags uses user preferences. (Tony Mechelynck)
Solution:   Add "--clean".

5 years agopatch 8.1.2241: match highlight does not combine with 'wincolor' v8.1.2241
Bram Moolenaar [Sat, 2 Nov 2019 21:00:15 +0000 (22:00 +0100)]
patch 8.1.2241: match highlight does not combine with 'wincolor'

Problem:    Match highlight does not combine with 'wincolor'.
Solution:   Apply 'wincolor' last on top of any other attribute. (closes #5159)

5 years agopatch 8.1.2240: popup window width changes when scrolling v8.1.2240
Bram Moolenaar [Sat, 2 Nov 2019 19:21:25 +0000 (20:21 +0100)]
patch 8.1.2240: popup window width changes when scrolling

Problem:    Popup window width changes when scrolling.
Solution:   Also adjust maxwidth when applying minwidth and there is a
            scrollbar.  Fix off-by-one error. (closes #5162)

5 years agopatch 8.1.2239: CI fails when running tests without building Vim v8.1.2239
Bram Moolenaar [Sat, 2 Nov 2019 17:22:08 +0000 (18:22 +0100)]
patch 8.1.2239: CI fails when running tests without building Vim

Problem:    CI fails when running tests without building Vim.
Solution:   Skip creating doc tags if the execute does not exist.

5 years agoUpdate runtime files.
Bram Moolenaar [Sat, 2 Nov 2019 13:09:23 +0000 (14:09 +0100)]
Update runtime files.

5 years agopatch 8.1.2238: error in docs tags goes unnoticed v8.1.2238
Bram Moolenaar [Fri, 1 Nov 2019 18:46:22 +0000 (19:46 +0100)]
patch 8.1.2238: error in docs tags goes unnoticed

Problem:    Error in docs tags goes unnoticed.
Solution:   Adjust tags build command. (Ken Takata, closes #5158)

5 years agopatch 8.1.2237: mode() result depends on whether CURSOR_SHAPE is defined v8.1.2237
Bram Moolenaar [Thu, 31 Oct 2019 18:55:55 +0000 (19:55 +0100)]
patch 8.1.2237: mode() result depends on whether CURSOR_SHAPE is defined

Problem:    Mode() result after usign "r" depends on whether CURSOR_SHAPE is
            defined. (Christian Brabandt)
Solution:   Move the #ifdef to only skip ui_cursor_shape().

5 years agopatch 8.1.2236: ml_get error if pattern matches beyond last line v8.1.2236
Bram Moolenaar [Thu, 31 Oct 2019 03:38:36 +0000 (04:38 +0100)]
patch 8.1.2236: ml_get error if pattern matches beyond last line

Problem:    Ml_get error if pattern matches beyond last line.
Solution:   Adjust position if needed. (Christian Brabandt, closes #5139)

5 years agopatch 8.1.2235: "C" with 'virtualedit' set does not include multi-byte char v8.1.2235
Bram Moolenaar [Thu, 31 Oct 2019 02:21:25 +0000 (03:21 +0100)]
patch 8.1.2235: "C" with 'virtualedit' set does not include multi-byte char

Problem:    "C" with 'virtualedit' set does not include multi-byte char.
Solution:   Include the whole multi-byte char. (Nobuhiro Takasaki,
            closes #5152)

5 years agopatch 8.1.2234: get_short_pathname() fails depending on encoding v8.1.2234
Bram Moolenaar [Wed, 30 Oct 2019 03:10:06 +0000 (04:10 +0100)]
patch 8.1.2234: get_short_pathname() fails depending on encoding

Problem:    get_short_pathname() fails depending on encoding.
Solution:   Use the wide version of the library function. (closes #5129)

5 years agopatch 8.1.2233: cannot get the Vim command line arguments v8.1.2233
Bram Moolenaar [Tue, 29 Oct 2019 03:16:57 +0000 (04:16 +0100)]
patch 8.1.2233: cannot get the Vim command line arguments

Problem:    Cannot get the Vim command line arguments.
Solution:   Add v:argv. (Dmitri Vereshchagin, closes #1322)

5 years agopatch 8.1.2231: not easy to move to the middle of a text line v8.1.2231
Bram Moolenaar [Mon, 28 Oct 2019 01:13:05 +0000 (02:13 +0100)]
patch 8.1.2231: not easy to move to the middle of a text line

Problem:    Not easy to move to the middle of a text line.
Solution:   Add the gM command. (Yasuhiro Matsumoto, closes #2070)

5 years agopatch 8.1.2230: MS-Windows: testing external commands can be improved v8.1.2230
Bram Moolenaar [Sun, 27 Oct 2019 23:42:21 +0000 (00:42 +0100)]
patch 8.1.2230: MS-Windows: testing external commands can be improved

Problem:    MS-Windows: testing external commands can be improved.
Solution:   Adjust tests, remove duplicate test. (closes #4928)

5 years agopatch 8.1.2229: cannot color number column above/below cursor differently v8.1.2229
Bram Moolenaar [Sun, 27 Oct 2019 21:54:58 +0000 (22:54 +0100)]
patch 8.1.2229: cannot color number column above/below cursor differently

Problem:    Cannot color number column above/below cursor differently.
Solution:   Add LineNrAbove and LineNrBelow. (Shaun Brady, closes #624)

5 years agopatch 8.1.2228: screenpos() returns wrong values when 'number' is set v8.1.2228
Bram Moolenaar [Sun, 27 Oct 2019 20:39:09 +0000 (21:39 +0100)]
patch 8.1.2228: screenpos() returns wrong values when 'number' is set

Problem:    screenpos() returns wrong values when 'number' is set. (Ben
            Jackson)
Solution:   Compare the column with the window width. (closes #5133)

5 years agopatch 8.1.2227: layout wrong if 'lines' changes while cmdline window is open v8.1.2227
Bram Moolenaar [Sun, 27 Oct 2019 19:37:35 +0000 (20:37 +0100)]
patch 8.1.2227: layout wrong if 'lines' changes while cmdline window is open

Problem:    Layout wrong if 'lines' changes while cmdline window is open.
Solution:   Do not restore the window layout if 'lines' changed.
            (closes #5130)

5 years agopatch 8.1.2226: cannot use system copy/paste in non-xterm terminals v8.1.2226
Bram Moolenaar [Sun, 27 Oct 2019 17:50:25 +0000 (18:50 +0100)]
patch 8.1.2226: cannot use system copy/paste in non-xterm terminals

Problem:    Cannot use system copy/paste in non-xterm terminals.
Solution:   Instead of setting 'mouse' to "a" set it to "nvi" in defaults.vim.

5 years agopatch 8.1.2225: the "last used" info of a buffer is under used v8.1.2225
Bram Moolenaar [Sun, 27 Oct 2019 04:12:45 +0000 (05:12 +0100)]
patch 8.1.2225: the "last used" info of a buffer is under used

Problem:    The "last used" info of a buffer is under used.
Solution:   Add "lastused" to getbufinfo(). List buffers sorted by last-used
            field. (Andi Massimino, closes #4722)

5 years agopatch 8.1.2224: cannot build Amiga version v8.1.2224
Bram Moolenaar [Sat, 26 Oct 2019 19:33:19 +0000 (21:33 +0200)]
patch 8.1.2224: cannot build Amiga version

Problem:    Cannot build Amiga version.
Solution:   Add dummy mch_setmouse(). (Ola Söder, closes #5126)

5 years agopatch 8.1.2223: cannot see what buffer an ml_get error is for v8.1.2223
Bram Moolenaar [Sat, 26 Oct 2019 18:56:21 +0000 (20:56 +0200)]
patch 8.1.2223: cannot see what buffer an ml_get error is for

Problem:    Cannot see what buffer an ml_get error is for.
Solution:   Add the buffer number and name in the message

5 years agopatch 8.1.2222: accessing invalid memory v8.1.2222
Bram Moolenaar [Sat, 26 Oct 2019 18:45:24 +0000 (20:45 +0200)]
patch 8.1.2222: accessing invalid memory

Problem:    Accessing invalid memory. (Dominique Pelle)
Solution:   Reset highlight_match every time.  (closes #5125)

5 years agoUpdate runtime files
Bram Moolenaar [Sat, 26 Oct 2019 17:53:45 +0000 (19:53 +0200)]
Update runtime files

5 years agopatch 8.1.2221: cannot filter :disp output v8.1.2221
Bram Moolenaar [Sat, 26 Oct 2019 15:33:13 +0000 (17:33 +0200)]
patch 8.1.2221: cannot filter :disp output

Problem:    Cannot filter :disp output.
Solution:   Support filtereing :disp output. (Andi Massimino, closes #5117)

5 years agopatch 8.1.2220: :cfile does not abort like other quickfix commands v8.1.2220
Bram Moolenaar [Sat, 26 Oct 2019 14:48:44 +0000 (16:48 +0200)]
patch 8.1.2220: :cfile does not abort like other quickfix commands

Problem:    :cfile does not abort like other quickfix commands.
Solution:   Abort when desired. Add tests for aborting. (Yegappan Lakshmanan,
            closes #5121)

5 years agopatch 8.1.2219: no autocommand for open window with terminal v8.1.2219
Bram Moolenaar [Sat, 26 Oct 2019 14:21:40 +0000 (16:21 +0200)]
patch 8.1.2219: no autocommand for open window with terminal

Problem:    No autocommand for open window with terminal.
Solution:   Add TerminalWinOpen. (Christian Brabandt)

5 years agopatch 8.1.2218: "gN" is off by one in Visual mode v8.1.2218
Bram Moolenaar [Sat, 26 Oct 2019 12:42:09 +0000 (14:42 +0200)]
patch 8.1.2218: "gN" is off by one in Visual mode

Problem:    "gN" is off by one in Visual mode.
Solution:   Check moving forward. (Christian Brabandt, #5075)

5 years agopatch 8.1.2217: compiler warning for unused variable v8.1.2217
Bram Moolenaar [Sat, 26 Oct 2019 10:23:04 +0000 (12:23 +0200)]
patch 8.1.2217: compiler warning for unused variable

Problem:    Compiler warning for unused variable.
Solution:   Move variable inside #ifdef. (John Marriott)

5 years agopatch 8.1.2216: text property in wrong place after :substitute v8.1.2216
Bram Moolenaar [Fri, 25 Oct 2019 20:13:29 +0000 (22:13 +0200)]
patch 8.1.2216: text property in wrong place after :substitute

Problem:    Text property in wrong place after :substitute.
Solution:   Pass the new column instead of the old one. (Christian Brabandt,
            closes #4427)

5 years agopatch 8.1.2215: unreachable code in adjusting text prop columns v8.1.2215
Bram Moolenaar [Fri, 25 Oct 2019 19:49:38 +0000 (21:49 +0200)]
patch 8.1.2215: unreachable code in adjusting text prop columns

Problem:    Unreachable code in adjusting text prop columns.
Solution:   Remove the code. (Christian Brabandt)

5 years agopatch 8.1.2214: too much is redrawn when 'cursorline' is set v8.1.2214
Bram Moolenaar [Thu, 24 Oct 2019 20:32:31 +0000 (22:32 +0200)]
patch 8.1.2214: too much is redrawn when 'cursorline' is set

Problem:    Too much is redrawn when 'cursorline' is set.
Solution:   Don't do a complete redraw. (closes #5079)

5 years agopatch 8.1.2213: popup_textprop tests fail v8.1.2213
Bram Moolenaar [Thu, 24 Oct 2019 20:12:54 +0000 (22:12 +0200)]
patch 8.1.2213: popup_textprop tests fail

Problem:    Popup_textprop tests fail.
Solution:   Adjust the column and line positioning.

5 years agopatch 8.1.2212: cannot see the selection type in :reg output v8.1.2212
Bram Moolenaar [Thu, 24 Oct 2019 18:17:00 +0000 (20:17 +0200)]
patch 8.1.2212: cannot see the selection type in :reg output

Problem:    Cannot see the selection type in :reg output. (Ayberk Aydın)
Solution:   Add c/l/b. (Christian Brabandt, closes #5110, closes #4546)

5 years agopatch 8.1.2211: listener callback "added" argument is not the total v8.1.2211
Bram Moolenaar [Thu, 24 Oct 2019 18:07:07 +0000 (20:07 +0200)]
patch 8.1.2211: listener callback "added" argument is not the total

Problem:    Listener callback "added" argument is not the total. (Andy
            Massimino)
Solution:   Compute the total. (closes #5105)

5 years agopatch 8.1.2210: using negative offset for popup_create() does not work v8.1.2210
Bram Moolenaar [Thu, 24 Oct 2019 17:25:00 +0000 (19:25 +0200)]
patch 8.1.2210: using negative offset for popup_create() does not work

Problem:    Using negative offset for popup_create() does not work.
Solution:   Use -1 instead of zero. (closes #5111)

5 years agopatch 8.1.2209: LF in escape codes may be expanded to CR-LF v8.1.2209
Bram Moolenaar [Thu, 24 Oct 2019 15:49:27 +0000 (17:49 +0200)]
patch 8.1.2209: LF in escape codes may be expanded to CR-LF

Problem:    LF in escape codes may be expanded to CR-LF.
Solution:   Do not expand LF in escape codes to CR-LF. (closes #5107)

5 years agopatch 8.1.2208: Unix: Tabs in output might be expanded to spaces v8.1.2208
Bram Moolenaar [Thu, 24 Oct 2019 15:43:25 +0000 (17:43 +0200)]
patch 8.1.2208: Unix: Tabs in output might be expanded to spaces

Problem:    Unix: Tabs in output might be expanded to spaces.
Solution:   Reset the XTABS flag. (closes #5108)

5 years agopatch 8.1.2207: "gn" doesn't work quite right v8.1.2207
Bram Moolenaar [Thu, 24 Oct 2019 13:23:37 +0000 (15:23 +0200)]
patch 8.1.2207: "gn" doesn't work quite right

Problem:    "gn" doesn't work quite right. (Jaehwang Jerry Jung)
Solution:   Improve and simplify the search logic. (Christian Brabandt,
            closes #5103, closes #5075)

5 years agopatch 8.1.2206: no test for fixed issue #3893 v8.1.2206
Bram Moolenaar [Thu, 24 Oct 2019 13:12:37 +0000 (15:12 +0200)]
patch 8.1.2206: no test for fixed issue #3893

Problem:    No test for fixed issue #3893.
Solution:   Add a test. (Christian Brabandt, #3893)

5 years agopatch 8.1.2205: sign entry structure has confusing name v8.1.2205
Bram Moolenaar [Thu, 24 Oct 2019 13:00:04 +0000 (15:00 +0200)]
patch 8.1.2205: sign entry structure has confusing name

Problem:    Sign entry structure has confusing name.
Solution:   Rename signlist_T to sign_entry_T and prefix se_ to the fields.

5 years agopatch 8.1.2204: crash on exit when closing terminals v8.1.2204
Bram Moolenaar [Wed, 23 Oct 2019 21:16:45 +0000 (23:16 +0200)]
patch 8.1.2204: crash on exit when closing terminals

Problem:    Crash on exit when closing terminals. (Corey Hickey)
Solution:   Actually wait for the job to stop. (closes #5100)

5 years agopatch 8.1.2203: running libvterm tests without the +terminal feature v8.1.2203
Bram Moolenaar [Wed, 23 Oct 2019 20:35:36 +0000 (22:35 +0200)]
patch 8.1.2203: running libvterm tests without the +terminal feature

Problem:    Running libvterm tests without the +terminal feature.
Solution:   Only add the libvterm test target when building libvterm.

5 years agopatch 8.1.2202: MS-Windows: build failure with GUI and small features v8.1.2202
Bram Moolenaar [Wed, 23 Oct 2019 19:43:16 +0000 (21:43 +0200)]
patch 8.1.2202: MS-Windows: build failure with GUI and small features

Problem:    MS-Windows: build failure with GUI and small features.
Solution:   Add #ifdef. (Michael Soyka, closes #5097)

5 years agopatch 8.1.2201: cannot build with dynamically linked Python 3.8 v8.1.2201
Bram Moolenaar [Wed, 23 Oct 2019 19:37:25 +0000 (21:37 +0200)]
patch 8.1.2201: cannot build with dynamically linked Python 3.8

Problem:    Cannot build with dynamically linked Python 3.8.
Solution:   Implement py3__Py_DECREF() and py3__Py_XDECREF(). (Ken Takata,
            closes #4080)

5 years agopatch 8.1.2200: crash when memory allocation fails v8.1.2200
Bram Moolenaar [Tue, 22 Oct 2019 19:54:31 +0000 (21:54 +0200)]
patch 8.1.2200: crash when memory allocation fails

Problem:    Crash when memory allocation fails.
Solution:   Check for NULL curwin and curbuf. (Christian Brabandt,
            closes #4839)

5 years agopatch 8.1.2199: build failure when using normal features without GUI v8.1.2199
Bram Moolenaar [Tue, 22 Oct 2019 19:45:19 +0000 (21:45 +0200)]
patch 8.1.2199: build failure when using normal features without GUI

Problem:    Build failure when using normal features without GUI and EXITFREE
            defined.
Solution:   Add #ifdef. (Dominique Pelle, closes #5106)

5 years agopatch 8.1.2198: crash when using :center in autocommand v8.1.2198
Bram Moolenaar [Mon, 21 Oct 2019 21:08:59 +0000 (23:08 +0200)]
patch 8.1.2198: crash when using :center in autocommand

Problem:    Crash when using :center in autocommand.
Solution:   Bail out early for an empty line. (Dominique pelle, closes #5095)

5 years agopatch 8.1.2197: ExitPre autocommand may cause accessing freed memory v8.1.2197
Bram Moolenaar [Sun, 20 Oct 2019 20:27:10 +0000 (22:27 +0200)]
patch 8.1.2197: ExitPre autocommand may cause accessing freed memory

Problem:    ExitPre autocommand may cause accessing freed memory.
Solution:   Check the window pointer is still valid. (closes #5093)

5 years agopatch 8.1.2196: MS-Windows: running tests with MSVC lacks updates v8.1.2196
Bram Moolenaar [Sun, 20 Oct 2019 19:47:20 +0000 (21:47 +0200)]
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates

Problem:    MS-Windows: running tests with MSVC lacks updates.
Solution:   Improve running individual tests on MS-Windows. (closes #4922)

5 years agopatch 8.1.2195: Vim does not exit when the terminal window is last window v8.1.2195
Bram Moolenaar [Sun, 20 Oct 2019 19:15:15 +0000 (21:15 +0200)]
patch 8.1.2195: Vim does not exit when the terminal window is last window

Problem:    Vim does not exit when closing a terminal window and it is the
            last window.
Solution:   Exit Vim if the closed terminal window is the last one.
            (closes #4539)

5 years agopatch 8.1.2194: modifyOtherKeys is not enabled by default v8.1.2194
Bram Moolenaar [Sun, 20 Oct 2019 17:53:22 +0000 (19:53 +0200)]
patch 8.1.2194: modifyOtherKeys is not enabled by default

Problem:    ModifyOtherKeys is not enabled by default.
Solution:   Add t_TI and t_TE to the builtin xterm termcap.

5 years agopatch 8.1.2193: popup_setoptions(popup_getoptions()) does not work v8.1.2193
Bram Moolenaar [Sun, 20 Oct 2019 16:46:05 +0000 (18:46 +0200)]
patch 8.1.2193: popup_setoptions(popup_getoptions()) does not work

Problem:    Popup_setoptions(popup_getoptions()) does not work.
Solution:   Also accept a list with three entries for "moved" and
            "mousemoved". (closes #5081)

5 years agopatch 8.1.2192: cannot easily fill the info popup asynchronously v8.1.2192
Bram Moolenaar [Sun, 20 Oct 2019 16:17:57 +0000 (18:17 +0200)]
patch 8.1.2192: cannot easily fill the info popup asynchronously

Problem:    Cannot easily fill the info popup asynchronously.
Solution:   Add the "popuphidden" value to 'completeopt'. (closes #4924)

5 years agopatch 8.1.2191: when using modifyOtherKeys CTRL-X mode may not work v8.1.2191
Bram Moolenaar [Sun, 20 Oct 2019 14:00:47 +0000 (16:00 +0200)]
patch 8.1.2191: when using modifyOtherKeys CTRL-X mode may not work

Problem:    When using modifyOtherKeys CTRL-X mode may not work.
Solution:   Recognize a control character also in the form with a modifier.

5 years agopatch 8.1.2190: syntax test fails on Mac v8.1.2190
Bram Moolenaar [Sun, 20 Oct 2019 12:51:23 +0000 (14:51 +0200)]
patch 8.1.2190: syntax test fails on Mac

Problem:    Syntax test fails on Mac.
Solution:   Limit the window size to 20 rows.

5 years agopatch 8.1.2189: syntax highlighting wrong for tab v8.1.2189
Bram Moolenaar [Sun, 20 Oct 2019 11:16:22 +0000 (13:16 +0200)]
patch 8.1.2189: syntax highlighting wrong for tab

Problem:    Syntax highlighting wrong for tab.
Solution:   Don't clear syntax attribute n_extra is non-zero.