]> granicus.if.org Git - vim/log
vim
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.

5 years agopatch 8.1.2188: build error for missing define v8.1.2188
Bram Moolenaar [Sat, 19 Oct 2019 20:50:20 +0000 (22:50 +0200)]
patch 8.1.2188: build error for missing define

Problem:    Build error for missing define.
Solution:   Add missing change.

5 years agopatch 8.1.2187: error for bad regexp even though regexp is not used v8.1.2187
Bram Moolenaar [Sat, 19 Oct 2019 19:01:05 +0000 (21:01 +0200)]
patch 8.1.2187: error for bad regexp even though regexp is not used

Problem:    Error for bad regexp even though regexp is not used when writing
            a file. (Arseny Nasokin)
Solution:   Ignore regexp errors. (closes #5059)

5 years agopatch 8.1.2186: error for bad regexp even though regexp is not used v8.1.2186
Bram Moolenaar [Sat, 19 Oct 2019 18:57:28 +0000 (20:57 +0200)]
patch 8.1.2186: error for bad regexp even though regexp is not used

Problem:    Error for bad regexp even though regexp is not used, when writing
            a file. (Arseny Nasokin)
Solution:   Ignore regexp errors. (closes #5059)

5 years agopatch 8.1.2185: syntax test fails v8.1.2185
Bram Moolenaar [Sat, 19 Oct 2019 18:38:15 +0000 (20:38 +0200)]
patch 8.1.2185: syntax test fails

Problem:    Syntax test fails.
Solution:   Add missing file patch.

5 years agopatch 8.1.2184: option context is not copied when splitting a window v8.1.2184
Bram Moolenaar [Sat, 19 Oct 2019 18:18:47 +0000 (20:18 +0200)]
patch 8.1.2184: option context is not copied when splitting a window

Problem:    Option context is not copied when splitting a window. (Daniel
            Hahler)
Solution:   Copy the option context, so that ":verbose set" works.
            (closes #5066)

5 years agopatch 8.1.2183: running a test is a bit verbose v8.1.2183
Bram Moolenaar [Sat, 19 Oct 2019 16:56:58 +0000 (18:56 +0200)]
patch 8.1.2183: running a test is a bit verbose

Problem:    Running a test is a bit verbose.
Solution:   Silence some messages. (Daniel Hahler, closes #5070)

5 years agopatch 8.1.2182: test42 seen as binary by git diff v8.1.2182
Bram Moolenaar [Sat, 19 Oct 2019 16:37:53 +0000 (18:37 +0200)]
patch 8.1.2182: test42 seen as binary by git diff

Problem:    Test42 seen as binary by git diff.
Solution:   Add .gitattributes file.  Make explicit that 'cpo' does not
            contain 'S'. (Daniel Hahler, closes #5072)

5 years agopatch 8.1.2181: highlighting wrong when item follows tab v8.1.2181
Bram Moolenaar [Sat, 19 Oct 2019 15:38:03 +0000 (17:38 +0200)]
patch 8.1.2181: highlighting wrong when item follows tab

Problem:    Highlighting wrong when item follows tab.
Solution:   Don't use syntax attribute when n_extra is non-zero.
            (Christian Brabandt, closes #5076)

5 years agopatch 8.1.2180: Error E303 is not useful when 'directory' is empty v8.1.2180
Bram Moolenaar [Sat, 19 Oct 2019 15:01:28 +0000 (17:01 +0200)]
patch 8.1.2180: Error E303 is not useful when 'directory' is empty

Problem:    Error E303 is not useful when 'directory' is empty.
Solution:   Skip the error message. (Daniel Hahler, #5067)

5 years agopatch 8.1.2179: pressing "q" at the more prompt doesn't stop Python output v8.1.2179
Bram Moolenaar [Sat, 19 Oct 2019 13:18:44 +0000 (15:18 +0200)]
patch 8.1.2179: pressing "q" at the more prompt doesn't stop Python output

Problem:    Pressing "q" at the more prompt doesn't stop Python output. (Daniel
            Hahler)
Solution:   Check for got_int in writer(). (closes #5053)
            Also do this for Lua.

5 years agopatch 8.1.2178: accessing uninitialized memory in test v8.1.2178
Bram Moolenaar [Sat, 19 Oct 2019 12:35:02 +0000 (14:35 +0200)]
patch 8.1.2178: accessing uninitialized memory in test

Problem:    Accessing uninitialized memory in test.
Solution:   Check if there was a match before using the match position.
            (Dominique Pelle, closes #5088)

5 years agopatch 8.1.2177: Dart files are not recognized v8.1.2177
Bram Moolenaar [Sat, 19 Oct 2019 12:10:21 +0000 (14:10 +0200)]
patch 8.1.2177: Dart files are not recognized

Problem:    Dart files are not recognized.
Solution:   Add a filetype rule. (Eugene Ciurana, closes #5087)

5 years agopatch 8.1.2176: syntax attributes not combined with Visual highlighting v8.1.2176
Bram Moolenaar [Fri, 18 Oct 2019 21:12:20 +0000 (23:12 +0200)]
patch 8.1.2176: syntax attributes not combined with Visual highlighting

Problem:    Syntax attributes not combined with Visual highlighting. (Arseny
            Nasokin)
Solution:   Combine the attributes. (closes #5083)

5 years agopatch 8.1.2175: meson files are not recognized v8.1.2175
Bram Moolenaar [Fri, 18 Oct 2019 20:09:34 +0000 (22:09 +0200)]
patch 8.1.2175: meson files are not recognized

Problem:    Meson files are not recognized.
Solution:   Add the meson filetype. (Liam Beguin , Nirbheek Chauhan,
            closes #5056)  Also recognize hollywood.

5 years agopatch 8.1.2174: screen not recognized as supporting "sgr" mouse codes v8.1.2174
Bram Moolenaar [Fri, 18 Oct 2019 19:26:05 +0000 (21:26 +0200)]
patch 8.1.2174: screen not recognized as supporting "sgr" mouse codes

Problem:    Screen not recognized as supporting "sgr" mouse codes.
Solution:   Recognize screen 4.7. (Jordan Christiansen, closes #5042)

5 years agopatch 8.1.2173: searchit() has too many arguments v8.1.2173
Bram Moolenaar [Fri, 18 Oct 2019 18:53:34 +0000 (20:53 +0200)]
patch 8.1.2173: searchit() has too many arguments

Problem:    Searchit() has too many arguments.
Solution:   Move optional arguments to a struct.  Add the "wrapped" argument.

5 years agopatch 8.1.2172: spell highlight is wrong at start of the line v8.1.2172
Bram Moolenaar [Fri, 18 Oct 2019 18:37:08 +0000 (20:37 +0200)]
patch 8.1.2172: spell highlight is wrong at start of the line

Problem:    Spell highlight is wrong at start of the line.
Solution:   Fix setting the "v" variable. (closes #5078)

5 years agopatch 8.1.2171: mouse support not always available v8.1.2171
Bram Moolenaar [Thu, 17 Oct 2019 21:00:07 +0000 (23:00 +0200)]
patch 8.1.2171: mouse support not always available

Problem:    Mouse support not always available.
Solution:   Enable mouse support also in tiny version.  Do not define
            FEAT_MOUSE_XTERM on MS-Windows (didn't really work).

5 years agopatch 8.1.2170: cannot build without the +termresponse feature v8.1.2170
Bram Moolenaar [Thu, 17 Oct 2019 20:17:02 +0000 (22:17 +0200)]
patch 8.1.2170: cannot build without the +termresponse feature

Problem:    Cannot build without the +termresponse feature.
Solution:   Add #ifdef.

5 years agopatch 8.1.2169: terminal flags are never reset v8.1.2169
Bram Moolenaar [Thu, 17 Oct 2019 19:55:24 +0000 (21:55 +0200)]
patch 8.1.2169: terminal flags are never reset

Problem:    Terminal flags are never reset.
Solution:   Reset the flags when setting 'term'.