]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.2322: quickfix test fails in very big terminal v8.1.2322
Bram Moolenaar [Tue, 19 Nov 2019 21:38:48 +0000 (22:38 +0100)]
patch 8.1.2322: quickfix test fails in very big terminal

Problem:    Quickfix test fails in very big terminal.
Solution:   Adjust the expected result for the width. (Masato Nishihata,
            closes #5244)

5 years agopatch 8.1.2321: cannot select all text with the mouse v8.1.2321
Bram Moolenaar [Mon, 18 Nov 2019 22:31:48 +0000 (23:31 +0100)]
patch 8.1.2321: cannot select all text with the mouse

Problem:    Cannot select all text with the mouse. (John Marriott)
Solution:   Move limiting the mouse column to f_getmousepos(). (closes #5242)

5 years agopatch 8.1.2320: insufficient test coverage for quickfix v8.1.2320
Bram Moolenaar [Mon, 18 Nov 2019 21:02:16 +0000 (22:02 +0100)]
patch 8.1.2320: insufficient test coverage for quickfix

Problem:    Insufficient test coverage for quickfix.
Solution:   Add more tests.  Fix uncovered problem. (Yegappan Lakshmanan,
            closes #5238)

5 years agopatch 8.1.2319: compiler warning for int size v8.1.2319
Bram Moolenaar [Mon, 18 Nov 2019 20:38:37 +0000 (21:38 +0100)]
patch 8.1.2319: compiler warning for int size

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

5 years agopatch 8.1.2318: MS-Windows GUI: main background shows in toolbar v8.1.2318
Bram Moolenaar [Sun, 17 Nov 2019 21:54:10 +0000 (22:54 +0100)]
patch 8.1.2318: MS-Windows GUI: main background shows in toolbar

Problem:    MS-Windows GUI: main background shows in toolbar.
Solution:   Remove transparency from the toolbar. (Simon Sadler)

5 years agopatch 8.1.2317: no test for spell affix file with flag on suffix v8.1.2317
Bram Moolenaar [Sun, 17 Nov 2019 19:10:20 +0000 (20:10 +0100)]
patch 8.1.2317: no test for spell affix file with flag on suffix

Problem:    No test for spell affix file with flag on suffix.
Solution:   Add a test case.

5 years agopatch 8.1.2316: FORTIFY_SOURCE can also be present in CPPFLAGS v8.1.2316
Bram Moolenaar [Sun, 17 Nov 2019 18:07:42 +0000 (19:07 +0100)]
patch 8.1.2316: FORTIFY_SOURCE can also be present in CPPFLAGS

Problem:    FORTIFY_SOURCE can also be present in CPPFLAGS.
Solution:   Remove it in configure. (Benedikt Morbach, closes #2786)

5 years agopatch 8.1.2315: not always using the right window when jumping to an error v8.1.2315
Bram Moolenaar [Sun, 17 Nov 2019 17:09:38 +0000 (18:09 +0100)]
patch 8.1.2315: not always using the right window when jumping to an error

Problem:    Not always using the right window when jumping to an error.
Solution:   Add the "uselast" flag in 'switchbuf'. (closes #1652)

5 years agopatch 8.1.2314: vi' sometimes does not select anything v8.1.2314
Bram Moolenaar [Sun, 17 Nov 2019 16:32:28 +0000 (17:32 +0100)]
patch 8.1.2314: vi' sometimes does not select anything

Problem:    vi' sometimes does not select anything.
Solution:   Recognize an empty selection. (Christian Brabandt, closes #5183)

5 years agopatch 8.1.2313: debugging where a delay comes from is not easy v8.1.2313
Bram Moolenaar [Sun, 17 Nov 2019 16:06:33 +0000 (17:06 +0100)]
patch 8.1.2313: debugging where a delay comes from is not easy

Problem:    Debugging where a delay comes from is not easy.
Solution:   Use different values when calling ui_delay().

5 years agopatch 8.1.2312: "line:" field in tags file not used v8.1.2312
Bram Moolenaar [Sun, 17 Nov 2019 15:18:31 +0000 (16:18 +0100)]
patch 8.1.2312: "line:" field in tags file not used

Problem:    "line:" field in tags file not used.
Solution:   Recognize the field and use the value. (Andy Massimino, Daniel
            Hahler, closes #5232, closes #2546, closes #1057)

5 years agoUpdate runtime files.
Bram Moolenaar [Sun, 17 Nov 2019 14:55:14 +0000 (15:55 +0100)]
Update runtime files.

5 years agopatch 8.1.2311: warning for missing function prototype v8.1.2311
Bram Moolenaar [Sat, 16 Nov 2019 21:49:40 +0000 (22:49 +0100)]
patch 8.1.2311: warning for missing function prototype

Problem:    Warning for missing function prototype.
Solution:   Add the proto. (Dominique Pelle, closes #5233)

5 years agopatch 8.1.2310: no proper test for directory changes in quickfix v8.1.2310
Bram Moolenaar [Sat, 16 Nov 2019 20:04:57 +0000 (21:04 +0100)]
patch 8.1.2310: no proper test for directory changes in quickfix

Problem:    No proper test for directory changes in quickfix.
Solution:   Add a test that uses multiple directories. (Yegappan Lakshmanan,
            closes #5230)

5 years agopatch 8.1.2309: compiler warning for argument type v8.1.2309
Bram Moolenaar [Sat, 16 Nov 2019 19:49:18 +0000 (20:49 +0100)]
patch 8.1.2309: compiler warning for argument type

Problem:    Compiler warning for argument type.
Solution:   Use linenr_T and cast to varnumber_T. (John Marriott)

5 years agopatch 8.1.2308: deleting text before zero-width textprop removes it v8.1.2308
Bram Moolenaar [Sat, 16 Nov 2019 19:41:51 +0000 (20:41 +0100)]
patch 8.1.2308: deleting text before zero-width textprop removes it

Problem:    Deleting text before zero-width textprop removes it.
Solution:   Keep zero-width textprop when deleting text.

5 years agopatch 8.1.2307: positioning popup doesn't work for buffer-local textprop v8.1.2307
Bram Moolenaar [Sat, 16 Nov 2019 19:03:31 +0000 (20:03 +0100)]
patch 8.1.2307: positioning popup doesn't work for buffer-local textprop

Problem:    Positioning popup doesn't work for buffer-local textprop.
Solution:   Make it work. (closes #5225)

5 years agopatch 8.1.2306: double and triple clicks are not tested v8.1.2306
Bram Moolenaar [Sat, 16 Nov 2019 17:57:16 +0000 (18:57 +0100)]
patch 8.1.2306: double and triple clicks are not tested

Problem:    Double and triple clicks are not tested.
Solution:   Test mouse clicks to select text. (closes #5226)

5 years agopatch 8.1.2305: no warning for wrong entry in translations v8.1.2305
Bram Moolenaar [Sat, 16 Nov 2019 17:49:50 +0000 (18:49 +0100)]
patch 8.1.2305: no warning for wrong entry in translations

Problem:    No warning for wrong entry in translations.
Solution:   Check semicolons in keywords entry of desktop file.

5 years agopatch 8.1.2304: cannot get the mouse position when getting a mouse click v8.1.2304
Bram Moolenaar [Sat, 16 Nov 2019 17:22:41 +0000 (18:22 +0100)]
patch 8.1.2304: cannot get the mouse position when getting a mouse click

Problem:    Cannot get the mouse position when getting a mouse click.
Solution:   Add getmousepos().

5 years agopatch 8.1.2303: cursor in wrong position after horizontal scroll v8.1.2303
Bram Moolenaar [Sat, 16 Nov 2019 13:19:33 +0000 (14:19 +0100)]
patch 8.1.2303: cursor in wrong position after horizontal scroll

Problem:    Cursor in wrong position after horizontal scroll.
Solution:   Set w_valid_leftcol.  (closes #5214, closes #5224)

5 years agopatch 8.1.2302: :lockmarks does not work for '[ and '] v8.1.2302
Bram Moolenaar [Sat, 16 Nov 2019 12:50:25 +0000 (13:50 +0100)]
patch 8.1.2302: :lockmarks does not work for '[ and ']

Problem:    :lockmarks does not work for '[ and '].
Solution:   save and restore '[ and '] marks. (James McCoy, closes #5222)

5 years agopatch 8.1.2301: MS-Windows GUI: drawing error when background color changes v8.1.2301
Bram Moolenaar [Fri, 15 Nov 2019 21:41:14 +0000 (22:41 +0100)]
patch 8.1.2301: MS-Windows GUI: drawing error when background color changes

Problem:    MS-Windows GUI: drawing error when background color changes.
Solution:   Implement gui_mch_new_colors(). (Simon Sadler)

5 years agoFix vim.desktop generation.
Bram Moolenaar [Thu, 14 Nov 2019 20:39:32 +0000 (21:39 +0100)]
Fix vim.desktop generation.

5 years agoUpdate runtime files
Bram Moolenaar [Wed, 13 Nov 2019 22:04:29 +0000 (23:04 +0100)]
Update runtime files

5 years agopatch 8.1.2300: redraw breaks going through list of popup windows v8.1.2300
Bram Moolenaar [Wed, 13 Nov 2019 21:35:19 +0000 (22:35 +0100)]
patch 8.1.2300: redraw breaks going through list of popup windows

Problem:    Redraw breaks going through list of popup windows.
Solution:   Use different flags for popup_reset_handled(). (closes #5216)

5 years agopatch 8.1.2299: ConPTY in MS-Windows 1909 is still wrong v8.1.2299
Bram Moolenaar [Wed, 13 Nov 2019 20:49:24 +0000 (21:49 +0100)]
patch 8.1.2299: ConPTY in MS-Windows 1909 is still wrong

Problem:    ConPTY in MS-Windows 1909 is still wrong.
Solution:   Use same solution as for 1903. (Nobuhiro Takasaki, closes #5217)

5 years agopatch 8.1.2298: missing part of 8.1.2296 v8.1.2298
Bram Moolenaar [Wed, 13 Nov 2019 15:37:31 +0000 (16:37 +0100)]
patch 8.1.2298: missing part of 8.1.2296

Problem:    Missing part of 8.1.2296.
Solution:   s/test/text/

5 years agopatch 8.1.2297: the ex_vimgrep() function is too long v8.1.2297
Bram Moolenaar [Tue, 12 Nov 2019 21:59:51 +0000 (22:59 +0100)]
patch 8.1.2297: the ex_vimgrep() function is too long

Problem:    The ex_vimgrep() function is too long.
Solution:   Split it in three parts. (Yegappan Lakshmanan, closes #5211)

5 years agopatch 8.1.2296: text properties are not combined with syntax by default v8.1.2296
Bram Moolenaar [Tue, 12 Nov 2019 21:44:22 +0000 (22:44 +0100)]
patch 8.1.2296: text properties are not combined with syntax by default

Problem:    Text properties are not combined with syntax by default.
Solution:   Make it work as documented. (closes #5190)

5 years agopatch 8.1.2295: if buffer of popup is in another window cursorline sign shows v8.1.2295
Bram Moolenaar [Tue, 12 Nov 2019 21:33:45 +0000 (22:33 +0100)]
patch 8.1.2295: if buffer of popup is in another window cursorline sign shows

Problem:    If buffer of popup is in another window cursorline sign shows.
Solution:   Check the group of the sign.

5 years agopatch 8.1.2294: cursor pos wrong with concealing and search causes a scroll v8.1.2294
Bram Moolenaar [Tue, 12 Nov 2019 19:49:15 +0000 (20:49 +0100)]
patch 8.1.2294: cursor pos wrong with concealing and search causes a scroll

Problem:    Cursor position wrong when characters are concealed and asearch
            causes a scroll.
Solution:   Fix the cursor column in a concealed line after window scroll.
            (closes #5215, closes #5012)

5 years agopatch 8.1.2293: join adds trailing space when second line is empty v8.1.2293
Bram Moolenaar [Tue, 12 Nov 2019 19:31:20 +0000 (20:31 +0100)]
patch 8.1.2293: join adds trailing space when second line is empty

Problem:    Join adds trailing space when second line is empty. (Brennan
            Vincent)
Solution:   Do not add a trailing space.

5 years agopatch 8.1.2292: v:mouse_winid not set on click in popup window v8.1.2292
Bram Moolenaar [Mon, 11 Nov 2019 20:45:05 +0000 (21:45 +0100)]
patch 8.1.2292: v:mouse_winid not set on click in popup window

Problem:    v:mouse_winid not set on click in popup window.
Solution:   Set v:mouse_winid. (closes #5171)

5 years agopatch 8.1.2291: memory leak when executing command in a terminal v8.1.2291
Bram Moolenaar [Sun, 10 Nov 2019 21:36:44 +0000 (22:36 +0100)]
patch 8.1.2291: memory leak when executing command in a terminal

Problem:    Memory leak when executing command in a terminal.
Solution:   Free "argv". (Dominique Pelle, closes #5208)

5 years agoUpdate runtime files
Bram Moolenaar [Sun, 10 Nov 2019 21:09:11 +0000 (22:09 +0100)]
Update runtime files

5 years agopatch 8.1.2290: autocommand test fails v8.1.2290
Bram Moolenaar [Sun, 10 Nov 2019 20:25:45 +0000 (21:25 +0100)]
patch 8.1.2290: autocommand test fails

Problem:    Autocommand test fails.
Solution:   Remove 'closeoff' from 'diffopt'.

5 years agopatch 8.1.2289: after :diffsplit closing the window does not disable diff v8.1.2289
Bram Moolenaar [Sun, 10 Nov 2019 20:00:27 +0000 (21:00 +0100)]
patch 8.1.2289: after :diffsplit closing the window does not disable diff

Problem:    After :diffsplit closing the window does not disable diff.
Solution:   Add "closeoff" to 'diffopt' and add it to the default.

5 years agopatch 8.1.2288: not using all space when popup with "topleft" flips to above v8.1.2288
Bram Moolenaar [Sun, 10 Nov 2019 16:51:38 +0000 (17:51 +0100)]
patch 8.1.2288: not using all space when popup with "topleft" flips to above

Problem:    Not using all space when popup with "topleft" flips to above.
Solution:   Recompute the height when a popup flips from below to above.
            (closes #5151)

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)