]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.2353: build failure on FreeBSD v8.1.2353
Bram Moolenaar [Thu, 28 Nov 2019 19:09:58 +0000 (20:09 +0100)]
patch 8.1.2353: build failure on FreeBSD

Problem:    Build failure on FreeBSD.
Solution:   Change #ifdef to only check for Linux-like systems.

5 years agoMerge branch 'master' of github.com:vim/vim
Bram Moolenaar [Wed, 27 Nov 2019 20:57:45 +0000 (21:57 +0100)]
Merge branch 'master' of github.com:vim/vim

5 years agoMerge pull request #5275 from vim/revert-5273-cirrus_ci
Bram Moolenaar [Wed, 27 Nov 2019 20:57:06 +0000 (21:57 +0100)]
Merge pull request #5275 from vim/revert-5273-cirrus_ci

Revert "Cirrus CI: add a simple CI using BSD"

5 years agoRevert "Cirrus CI: add a simple CI using BSD"
Bram Moolenaar [Wed, 27 Nov 2019 20:56:28 +0000 (21:56 +0100)]
Revert "Cirrus CI: add a simple CI using BSD"

5 years agopatch 8.1.2352: CI doesn't cover FreeBSD v8.1.2352
Bram Moolenaar [Wed, 27 Nov 2019 20:55:41 +0000 (21:55 +0100)]
patch 8.1.2352: CI doesn't cover FreeBSD

Problem:    CI doesn't cover FreeBSD.
Solution:   Configure Cirrus-CI. (Christian Brabandt, closes #5273)

5 years agoMerge pull request #5273 from chrisbra/cirrus_ci
Christian Brabandt [Wed, 27 Nov 2019 15:08:29 +0000 (16:08 +0100)]
Merge pull request #5273 from chrisbra/cirrus_ci

Cirrus CI: add a simple CI using BSD

5 years agoCirrus CI: add a simple CI using BSD
Christian Brabandt [Wed, 27 Nov 2019 14:45:57 +0000 (15:45 +0100)]
Cirrus CI: add a simple CI using BSD

Cirrus CI allows to run CI tests in a wide variety of systems, such as
Mac, Windows and FreeBSD. For a starter, add a Cirrus-CI test just for
FreeBSD using version 12, assuming Windows and Linux are already tested
using appveyor and Travis CI

5 years agopatch 8.1.2351: 'wincolor' not used for > for not fitting double width char v8.1.2351
Bram Moolenaar [Tue, 26 Nov 2019 21:39:10 +0000 (22:39 +0100)]
patch 8.1.2351: 'wincolor' not used for > for not fitting double width char

Problem:    'wincolor' not used for > for not fitting double width char.
            Also: popup drawn on right half of double width character looks
            wrong.
Solution:   Adjust color for > character.  Clear left half of double width
            character if right half is being overwritten.

5 years agoUpdate runtime files
Bram Moolenaar [Tue, 26 Nov 2019 20:44:46 +0000 (21:44 +0100)]
Update runtime files

5 years agopatch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeys v8.1.2350
Bram Moolenaar [Tue, 26 Nov 2019 18:33:22 +0000 (19:33 +0100)]
patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeys

Problem:    Other text for CTRL-V in Insert mode with modifyOtherKeys.
Solution:   Convert the Escape sequence back to key as if modifyOtherKeys is
            not set, and use CTRL-SHIFT-V to get the Escape sequence itself.
            (closes #5254)

5 years agopatch 8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif" v8.1.2349
Bram Moolenaar [Tue, 26 Nov 2019 16:05:00 +0000 (17:05 +0100)]
patch 8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif"

Problem:    :lockvar and :unlockvar cannot be followed by "| endif".
Solution:   Check for following commands. (closes #5269)

5 years agopatch 8.1.2348: :const cannot be followed by "| endif" v8.1.2348
Bram Moolenaar [Tue, 26 Nov 2019 15:50:30 +0000 (16:50 +0100)]
patch 8.1.2348: :const cannot be followed by "| endif"

Problem:    :const cannot be followed by "| endif".
Solution:   Check following command for :const. (closes #5269)
            Also fix completion after :const.

5 years agopatch 8.1.2347: MacOS: build fails v8.1.2347
Bram Moolenaar [Tue, 26 Nov 2019 13:48:00 +0000 (14:48 +0100)]
patch 8.1.2347: MacOS: build fails

Problem:    MacOS: build fails.
Solution:   Don't define _XOPEN_SOURCE for Mac.

5 years agopatch 8.1.2346: CTRL-R CTRL-R doesn't work with modifyOtherKeys v8.1.2346
Bram Moolenaar [Tue, 26 Nov 2019 13:28:15 +0000 (14:28 +0100)]
patch 8.1.2346: CTRL-R CTRL-R doesn't work with modifyOtherKeys

Problem:    CTRL-R CTRL-R doesn't work with modifyOtherKeys.
Solution:   Allow key codes when fetching argument for CTRL-R. (closes #5266)
            Also fix CTRL-G in Insert mode.

5 years agopatch 8.1.2345: .cjs files are not recognized as Javascript v8.1.2345
Bram Moolenaar [Tue, 26 Nov 2019 12:43:40 +0000 (13:43 +0100)]
patch 8.1.2345: .cjs files are not recognized as Javascript

Problem:    .cjs files are not recognized as Javascript.
Solution:   Add the *.cjs pattern. (closes #5268)

5 years agopatch 8.1.2344: Cygwin: warning for using strptime() v8.1.2344
Bram Moolenaar [Tue, 26 Nov 2019 12:29:01 +0000 (13:29 +0100)]
patch 8.1.2344: Cygwin: warning for using strptime()

Problem:    Cygwin: warning for using strptime().
Solution:   Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata,
            closes #5265)  Use 700 for _XOPEN_SOURCE for mkdtemp().

5 years agopatch 8.1.2343: using time() for srand() is not very random v8.1.2343
Bram Moolenaar [Tue, 26 Nov 2019 11:23:30 +0000 (12:23 +0100)]
patch 8.1.2343: using time() for srand() is not very random

Problem:    Using time() for srand() is not very random.
Solution:   use /dev/urandom if available

5 years agopatch 8.1.2342: random number generator in Vim script is slow v8.1.2342
Bram Moolenaar [Mon, 25 Nov 2019 14:40:55 +0000 (15:40 +0100)]
patch 8.1.2342: random number generator in Vim script is slow

Problem:    Random number generator in Vim script is slow.
Solution:   Add rand() and srand(). (Yasuhiro Matsumoto, closes #1277)

5 years agopatch 8.1.2341: not so easy to interrupt a script programatically v8.1.2341
Bram Moolenaar [Sun, 24 Nov 2019 23:05:32 +0000 (00:05 +0100)]
patch 8.1.2341: not so easy to interrupt a script programatically

Problem:    Not so easy to interrupt a script programatically.
Solution:   Add the interrupt() function. (Yasuhiro Matsumoto, closes #2834)

5 years agopatch 8.1.2340: quickfix test fails under valgrind and asan v8.1.2340
Bram Moolenaar [Sun, 24 Nov 2019 21:13:58 +0000 (22:13 +0100)]
patch 8.1.2340: quickfix test fails under valgrind and asan

Problem:    Quickfix test fails under valgrind and asan.
Solution:   Make sure long line does not overflow IObuff. (Dominique Pelle,
            closes #5263)  Put back fix for large terminals. (Yegappan
            Lakshmanan, closes #5264)

5 years agopatch 8.1.2339: insufficient testing for quickfix v8.1.2339
Bram Moolenaar [Sun, 24 Nov 2019 11:12:42 +0000 (12:12 +0100)]
patch 8.1.2339: insufficient testing for quickfix

Problem:    Insufficient testing for quickfix.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #5261)

5 years agopatch 8.1.2338: using Visual mark sith :s gives E20 if not set v8.1.2338
Bram Moolenaar [Sat, 23 Nov 2019 20:56:46 +0000 (21:56 +0100)]
patch 8.1.2338: using Visual mark sith :s gives E20 if not set

Problem:    Using Visual mark sith :s gives E20 if not set.
Solution:   Ignore errors when handling 'incsearch'. (closes #3837)

5 years agopatch 8.1.2337: double-click time sometimes miscomputed v8.1.2337
Bram Moolenaar [Fri, 22 Nov 2019 21:21:59 +0000 (22:21 +0100)]
patch 8.1.2337: double-click time sometimes miscomputed

Problem:    Double-click time sometimes miscomputed.
Solution:   Correct time computation. (Dominique Pelle, closes #5259)

5 years agopatch 8.1.2336: when an expr mapping moves the cursor it is not restored v8.1.2336
Bram Moolenaar [Fri, 22 Nov 2019 19:55:40 +0000 (20:55 +0100)]
patch 8.1.2336: when an expr mapping moves the cursor it is not restored

Problem:    When an expr mapping moves the cursor it is not restored.
Solution:   Position the cursor after an expr mapping. (closes #5256)

5 years agopatch 8.1.2335: error message for function arguments may use NULL pointer v8.1.2335
Bram Moolenaar [Fri, 22 Nov 2019 18:29:45 +0000 (19:29 +0100)]
patch 8.1.2335: error message for function arguments may use NULL pointer

Problem:    Error message for function arguments may use NULL pointer.
            (Coverity)
Solution:   Use the original function name.

5 years agopatch 8.1.2334: possible NULL pointer dereference in popup_locate() v8.1.2334
Bram Moolenaar [Fri, 22 Nov 2019 18:22:08 +0000 (19:22 +0100)]
patch 8.1.2334: possible NULL pointer dereference in popup_locate()

Problem:    Possible NULL pointer dereference in popup_locate(). (Coverity)
Solution:   Check for NULL pointer.

5 years agopatch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't work v8.1.2333
Bram Moolenaar [Thu, 21 Nov 2019 22:24:00 +0000 (23:24 +0100)]
patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't work

Problem:    With modifyOtherKeys CTRL-^ doesn't work.
Solution:   Handle the exception.

5 years agopatch 8.1.2332: missing file in refactoring v8.1.2332
Bram Moolenaar [Thu, 21 Nov 2019 21:27:22 +0000 (22:27 +0100)]
patch 8.1.2332: missing file in refactoring

Problem:    Missing file in refactoring.
Solution:   Update missing file.

5 years agopatch 8.1.2331: the option.c file is still very big v8.1.2331
Bram Moolenaar [Thu, 21 Nov 2019 21:14:18 +0000 (22:14 +0100)]
patch 8.1.2331: the option.c file is still very big

Problem:    The option.c file is still very big.
Solution:   Move a few functions to where they fit better. (Yegappan
            Lakshmanan, closes #4895)

5 years agopatch 8.1.2330: vi' does not always work when 'selection' is exclusive v8.1.2330
Bram Moolenaar [Thu, 21 Nov 2019 19:55:26 +0000 (20:55 +0100)]
patch 8.1.2330: vi' does not always work when 'selection' is exclusive

Problem:    vi' does not always work when 'selection' is exclusive.
Solution:   Adjust start position.

5 years agopatch 8.1.2329: mouse multiple click test is a bit flaky v8.1.2329
Bram Moolenaar [Thu, 21 Nov 2019 17:27:01 +0000 (18:27 +0100)]
patch 8.1.2329: mouse multiple click test is a bit flaky

Problem:    Mouse multiple click test is a bit flaky.
Solution:   Add it to the list of flaky tests.

5 years agopatch 8.1.2328: a few hangul input pieces remain v8.1.2328
Bram Moolenaar [Thu, 21 Nov 2019 16:34:51 +0000 (17:34 +0100)]
patch 8.1.2328: a few hangul input pieces remain

Problem:    A few hangul input pieces remain.
Solution:   Update VMS makefile.

5 years agopatch 8.1.2327: cannot build with Hangul input v8.1.2327
Bram Moolenaar [Thu, 21 Nov 2019 16:13:31 +0000 (17:13 +0100)]
patch 8.1.2327: cannot build with Hangul input

Problem:    Cannot build with Hangul input.
Solution:   Remove Hangul input support.

5 years agopatch 8.1.2326: cannot parse a date/time string v8.1.2326
Bram Moolenaar [Thu, 21 Nov 2019 14:36:18 +0000 (15:36 +0100)]
patch 8.1.2326: cannot parse a date/time string

Problem:    Cannot parse a date/time string.
Solution:   Add strptime(). (Stephen Wall, closes #)

5 years agopatch 8.1.2325: crash when using balloon with empty line v8.1.2325
Bram Moolenaar [Thu, 21 Nov 2019 12:27:06 +0000 (13:27 +0100)]
patch 8.1.2325: crash when using balloon with empty line

Problem:    Crash when using balloon with empty line.
Solution:   Handle empty lines. (Markus Braun)

5 years agopatch 8.1.2324: with of scrollbar in popup menu not taken into account v8.1.2324
Bram Moolenaar [Thu, 21 Nov 2019 11:12:35 +0000 (12:12 +0100)]
patch 8.1.2324: with of scrollbar in popup menu not taken into account

Problem:    With of scrollbar in popup menu not taken into account.
Solution:   Add the width of the scrollbar.

5 years agoUpdate runtime files.
Bram Moolenaar [Wed, 20 Nov 2019 21:31:13 +0000 (22:31 +0100)]
Update runtime files.

5 years agopatch 8.1.2323: Old MSVC version no longer tested. v8.1.2323
Bram Moolenaar [Tue, 19 Nov 2019 22:01:28 +0000 (23:01 +0100)]
patch 8.1.2323: Old MSVC version no longer tested.

Problem:    Old MSVC version no longer tested.
Solution:   Drop support for MSCV 2008 and older. (Ken Takata, closes #5248)

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)