]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.1421: drawing "~" line in popup window v8.1.1421
Bram Moolenaar [Wed, 29 May 2019 22:12:11 +0000 (00:12 +0200)]
patch 8.1.1421: drawing "~" line in popup window

Problem:    Drawing "~" line in popup window.
Solution:   Just draw text in the last line of the popup window.

5 years agopatch 8.1.1420: popup window size only uses first line length v8.1.1420
Bram Moolenaar [Wed, 29 May 2019 21:14:28 +0000 (23:14 +0200)]
patch 8.1.1420: popup window size only uses first line length

Problem:    Popup window size only uses first line length.
Solution:   Use the longest line. (Ben Jackson, closes #4451)  Also deal with
            wrapping lines.

5 years agopatch 8.1.1419: listener callbacks may be called recursively v8.1.1419
Bram Moolenaar [Wed, 29 May 2019 20:28:29 +0000 (22:28 +0200)]
patch 8.1.1419: listener callbacks may be called recursively

Problem:    Listener callbacks may be called recursively.
Solution:   Set "updating_screen" while listener callbacks are invoked.

5 years agopatch 8.1.1418: win_execute() is not implemented yet v8.1.1418
Bram Moolenaar [Wed, 29 May 2019 19:44:40 +0000 (21:44 +0200)]
patch 8.1.1418: win_execute() is not implemented yet

Problem:    Win_execute() is not implemented yet.
Solution:   Implement it.

5 years agopatch 8.1.1417: MS-Windows: resolve() does not resolve all components of path v8.1.1417
Bram Moolenaar [Wed, 29 May 2019 18:36:54 +0000 (20:36 +0200)]
patch 8.1.1417: MS-Windows: resolve() does not resolve all components of path

Problem:    MS-Windows: resolve() does not resolve all components of the path.
            (David Briscoe)
Solution:   Do not bail out for a reparse point. (Yasuhiro Matsumoto,
            closes #4211, closes #4447)

5 years agopatch 8.1.1416: popup_getposition() not implemented yet v8.1.1416
Bram Moolenaar [Wed, 29 May 2019 18:26:46 +0000 (20:26 +0200)]
patch 8.1.1416: popup_getposition() not implemented yet

Problem:    Popup_getposition() not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4449)

5 years agopatch 8.1.1415: build error in MS-Windows GUI v8.1.1415
Bram Moolenaar [Tue, 28 May 2019 21:32:47 +0000 (23:32 +0200)]
patch 8.1.1415: build error in MS-Windows GUI

Problem:    Build error in MS-Windows GUI.
Solution:   Fix the LALLOC_MULT() argument.

5 years agopatch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts v8.1.1414
Bram Moolenaar [Tue, 28 May 2019 21:08:19 +0000 (23:08 +0200)]
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts

Problem:    Alloc() returning "char_u *" causes a lot of type casts.
Solution:   Have it return "void *". (Mike Williams)  Define ALLOC_ONE() to
            check the simple allocations.

5 years agopatch 8.1.1413: error when the drive of the swap file was disconnected v8.1.1413
Bram Moolenaar [Mon, 27 May 2019 21:36:21 +0000 (23:36 +0200)]
patch 8.1.1413: error when the drive of the swap file was disconnected

Problem:    Error when the drive of the swap file was disconnected.
Solution:   Try closing and re-opening the swap file. (closes #4378)

5 years agopatch 8.1.1412: test 30 is old style v8.1.1412
Bram Moolenaar [Mon, 27 May 2019 20:21:44 +0000 (22:21 +0200)]
patch 8.1.1412: test 30 is old style

Problem:    Test 30 is old style.
Solution:   Turn it into a new style test. (Yegappan Lakshmanan, closes #4440)

5 years agopatch 8.1.1411: Coverity warns for divide by zero v8.1.1411
Bram Moolenaar [Mon, 27 May 2019 20:01:40 +0000 (22:01 +0200)]
patch 8.1.1411: Coverity warns for divide by zero

Problem:    Coverity warns for divide by zero.
Solution:   Make sure width is larger than zero.

5 years agopatch 8.1.1410: popup_move() is not implemented yet v8.1.1410
Bram Moolenaar [Mon, 27 May 2019 19:54:10 +0000 (21:54 +0200)]
patch 8.1.1410: popup_move() is not implemented yet

Problem:    Popup_move() is not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4441)  Improve the
            positioning and resizing.

5 years agopatch 8.1.1409: Coverity warns for using uninitialized memory v8.1.1409
Bram Moolenaar [Mon, 27 May 2019 18:01:41 +0000 (20:01 +0200)]
patch 8.1.1409: Coverity warns for using uninitialized memory

Problem:    Coverity warns for using uninitialized memory.
Solution:   Add a condition to clearing the growarray.

5 years agopatch 8.1.1408: PFL_HIDDEN conflicts with system header file v8.1.1408
Bram Moolenaar [Mon, 27 May 2019 08:04:40 +0000 (10:04 +0200)]
patch 8.1.1408: PFL_HIDDEN conflicts with system header file

Problem:    PFL_HIDDEN conflicts with system header file.
Solution:   Rename to POPF_HIDDEN.

5 years agopatch 8.1.1407: popup_create() does not support text properties v8.1.1407
Bram Moolenaar [Sun, 26 May 2019 21:32:06 +0000 (23:32 +0200)]
patch 8.1.1407: popup_create() does not support text properties

Problem:    Popup_create() does not support text properties.
Solution:   Support the third form of the text argument.

5 years agopatch 8.1.1406: popup_hide() and popup_show() not implemented yet v8.1.1406
Bram Moolenaar [Sun, 26 May 2019 20:17:52 +0000 (22:17 +0200)]
patch 8.1.1406: popup_hide() and popup_show() not implemented yet

Problem:    popup_hide() and popup_show() not implemented yet.
Solution:   Implement the functions.

5 years agoUpdate runtime files.
Bram Moolenaar [Sun, 26 May 2019 19:33:31 +0000 (21:33 +0200)]
Update runtime files.

5 years agopatch 8.1.1405: "highlight" option of popup windows not supported v8.1.1405
Bram Moolenaar [Sun, 26 May 2019 19:03:24 +0000 (21:03 +0200)]
patch 8.1.1405: "highlight" option of popup windows not supported

Problem:    "highlight" option of popup windows not supported.
Solution:   Implement the "highlight" option.

5 years agopatch 8.1.1404: cannot change the patch level when building with NSIS v8.1.1404
Bram Moolenaar [Sun, 26 May 2019 18:49:42 +0000 (20:49 +0200)]
patch 8.1.1404: cannot change the patch level when building with NSIS

Problem:    Cannot change the patch level when building with NSIS.
Solution:   Use $PATCHLEVEL if defined. (Christian Brabandt)

5 years agopatch 8.1.1403: cannot build without the timer feature v8.1.1403
Bram Moolenaar [Sun, 26 May 2019 18:44:10 +0000 (20:44 +0200)]
patch 8.1.1403: cannot build without the timer feature

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

5 years agopatch 8.1.1402: "timer" option of popup windows not supported v8.1.1402
Bram Moolenaar [Sun, 26 May 2019 18:10:06 +0000 (20:10 +0200)]
patch 8.1.1402: "timer" option of popup windows not supported

Problem:    "timer" option of popup windows not supported.
Solution:   Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439)

5 years agopatch 8.1.1401: misspelled mkspellmem as makespellmem v8.1.1401
Bram Moolenaar [Sun, 26 May 2019 17:20:43 +0000 (19:20 +0200)]
patch 8.1.1401: misspelled mkspellmem as makespellmem

Problem:    Misspelled mkspellmem as makespellmem.
Solution:   Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken
            Takata, closes #4437)

5 years agopatch 8.1.1400: using global pointer for tab-local popups is clumsy v8.1.1400
Bram Moolenaar [Sun, 26 May 2019 16:48:13 +0000 (18:48 +0200)]
patch 8.1.1400: using global pointer for tab-local popups is clumsy

Problem:    Using global pointer for tab-local popups is clumsy.
Solution:   Use the pointer in tabpage_T.

5 years agopatch 8.1.1399: popup windows not adjusted when switching tabs v8.1.1399
Bram Moolenaar [Sun, 26 May 2019 12:11:23 +0000 (14:11 +0200)]
patch 8.1.1399: popup windows not adjusted when switching tabs

Problem:    Popup windows not adjusted when switching tabs.
Solution:   Save and restore first_tab_popupwin. Fix closing a tabpage.

5 years agopatch 8.1.1398: duplicate line in MSVC build file v8.1.1398
Bram Moolenaar [Sun, 26 May 2019 11:14:02 +0000 (13:14 +0200)]
patch 8.1.1398: duplicate line in MSVC build file

Problem:    Duplicate line in MSVC build file.
Solution:   Remove the line. (Ken Takata, closes #4436)

5 years agopatch 8.1.1397: build fails in tiny version v8.1.1397
Bram Moolenaar [Sat, 25 May 2019 21:42:13 +0000 (23:42 +0200)]
patch 8.1.1397: build fails in tiny version

Problem:    Build fails in tiny version.
Solution:   Always define hl_combine_attr().

5 years agopatch 8.1.1396: 'wincolor' does not apply to lines below the buffer v8.1.1396
Bram Moolenaar [Sat, 25 May 2019 20:57:30 +0000 (22:57 +0200)]
patch 8.1.1396: 'wincolor' does not apply to lines below the buffer

Problem:    'wincolor' does not apply to lines below the buffer.
Solution:   Also apply 'wincolor' to the "~" lines and the number column.

5 years agopatch 8.1.1395: saving for undo may access invalid memory v8.1.1395
Bram Moolenaar [Sat, 25 May 2019 20:11:45 +0000 (22:11 +0200)]
patch 8.1.1395: saving for undo may access invalid memory

Problem:    Saving for undo may access invalid memory. (Dominique Pelle)
Solution:   Set ml_line_len also when returning a constant string.

5 years agopatch 8.1.1394: not restoring t_F2 in registers test v8.1.1394
Bram Moolenaar [Sat, 25 May 2019 19:52:30 +0000 (21:52 +0200)]
patch 8.1.1394: not restoring t_F2 in registers test

Problem:    Not restoring t_F2 in registers test.
Solution:   Assign to &t_F2 instead of t_F2. (Andy Massimino, closes #4434)

5 years agopatch 8.1.1393: unnecessary type casts v8.1.1393
Bram Moolenaar [Sat, 25 May 2019 18:21:28 +0000 (20:21 +0200)]
patch 8.1.1393: unnecessary type casts

Problem:    Unnecessary type casts.
Solution:   Remove type casts from alloc() and lalloc() calls. (Mike Williams)

5 years agopatch 8.1.1392: build failure in tiny version v8.1.1392
Bram Moolenaar [Sat, 25 May 2019 18:10:37 +0000 (20:10 +0200)]
patch 8.1.1392: build failure in tiny version

Problem:    Build failure in tiny version.
Solution:   Define ex_popupclear to ex_ni if not implemented.  Add UNUSED.

5 years agopatch 8.1.1391: no popup window support v8.1.1391
Bram Moolenaar [Sat, 25 May 2019 17:51:39 +0000 (19:51 +0200)]
patch 8.1.1391: no popup window support

Problem:    No popup window support.
Solution:   Add initial code for popup windows.  Add the 'wincolor' option.

5 years agopatch 8.1.1390: search stats are off when using count or offset v8.1.1390
Bram Moolenaar [Fri, 24 May 2019 20:08:15 +0000 (22:08 +0200)]
patch 8.1.1390: search stats are off when using count or offset

Problem:    Search stats are off when using count or offset.
Solution:   Recompute the stats when needed. (Masato Nishihata, closes #4410)

5 years agopatch 8.1.1389: changes are not flushed when end and start overlap v8.1.1389
Bram Moolenaar [Fri, 24 May 2019 19:39:27 +0000 (21:39 +0200)]
patch 8.1.1389: changes are not flushed when end and start overlap

Problem:    Changes are not flushed when end and start overlap. (Paul Jolly)
Solution:   When end of a previous changes overlaps with start of a new
            change, first flush listeners.

5 years agopatch 8.1.1388: errors when calling prop_remove() for an unloaded buffer v8.1.1388
Bram Moolenaar [Fri, 24 May 2019 19:22:29 +0000 (21:22 +0200)]
patch 8.1.1388: errors when calling prop_remove() for an unloaded buffer

Problem:    Errors when calling prop_remove() for an unloaded buffer.
Solution:   Bail out when the buffer is not loaded.  Add a few more tests for
            failing when the buffer number is invalid.

5 years agopatch 8.1.1387: calling prop_add() in an empty buffer doesn't work v8.1.1387
Bram Moolenaar [Fri, 24 May 2019 18:41:55 +0000 (20:41 +0200)]
patch 8.1.1387: calling prop_add() in an empty buffer doesn't work

Problem:    Calling prop_add() in an empty buffer doesn't work. (Dominique
            Pelle)
Solution:   Open the memline before adding a text property. (closes #4412)

5 years agopatch 8.1.1386: unessesary type casts for lalloc() v8.1.1386
Bram Moolenaar [Fri, 24 May 2019 17:39:03 +0000 (19:39 +0200)]
patch 8.1.1386: unessesary type casts for lalloc()

Problem:    Unessesary type casts for lalloc().
Solution:   Remove type casts.  Change lalloc(size, TRUE) to alloc(size).

5 years agopatch 8.1.1385: signed/unsigned compiler warning v8.1.1385
Bram Moolenaar [Fri, 24 May 2019 17:04:29 +0000 (19:04 +0200)]
patch 8.1.1385: signed/unsigned compiler warning

Problem:    Signed/unsigned compiler warning.
Solution:   Use STRLEN() instead of strlen().

5 years agopatch 8.1.1384: using "int" for alloc() often results in compiler warnings v8.1.1384
Bram Moolenaar [Fri, 24 May 2019 16:54:09 +0000 (18:54 +0200)]
patch 8.1.1384: using "int" for alloc() often results in compiler warnings

Problem:    Using "int" for alloc() often results in compiler warnings.
Solution:   Use "size_t" and remove type casts.  Remove alloc_check(), Vim
            only works with 32 bit ints anyway.

5 years agopatch 8.1.1383: warning for size_t/int mixup v8.1.1383
Bram Moolenaar [Fri, 24 May 2019 15:56:14 +0000 (17:56 +0200)]
patch 8.1.1383: warning for size_t/int mixup

Problem:    Warning for size_t/int mixup.
Solution:   Change type. (Mike Williams)

5 years agopatch 8.1.1382: error when editing test file v8.1.1382
Bram Moolenaar [Fri, 24 May 2019 15:33:01 +0000 (17:33 +0200)]
patch 8.1.1382: error when editing test file

Problem:    Error when editing test file.
Solution:   Remove part of modeline.

5 years agopatch 8.1.1381: MS-Windows: missing build dependency v8.1.1381
Bram Moolenaar [Fri, 24 May 2019 15:17:54 +0000 (17:17 +0200)]
patch 8.1.1381: MS-Windows: missing build dependency

Problem:    MS-Windows: missing build dependency.
Solution:   Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata,
            closes #4423

5 years agopatch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set v8.1.1380
Bram Moolenaar [Fri, 24 May 2019 15:05:44 +0000 (17:05 +0200)]
patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set

Problem:    MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set.
Solution:   Invert condition. (closes #4422)

5 years agopatch 8.1.1379: filechanged test hangs v8.1.1379
Bram Moolenaar [Fri, 24 May 2019 14:46:01 +0000 (16:46 +0200)]
patch 8.1.1379: filechanged test hangs

Problem:    Filechanged test hangs.
Solution:   Do not check 'autoread'.

5 years agopatch 8.1.1378: delete() can not handle a file name that looks like a pattern v8.1.1378
Bram Moolenaar [Fri, 24 May 2019 12:14:14 +0000 (14:14 +0200)]
patch 8.1.1378: delete() can not handle a file name that looks like a pattern

Problem:    Delete() can not handle a file name that looks like a pattern.
Solution:   Use readdir() instead of appending "/*" and expanding wildcards.
            (Ken Takata, closes #4424, closes #696)

5 years agopatch 8.1.1377: MS-Windows GUI uses wrong shell command for bash v8.1.1377
Bram Moolenaar [Fri, 24 May 2019 11:32:36 +0000 (13:32 +0200)]
patch 8.1.1377: MS-Windows GUI uses wrong shell command for bash

Problem:    MS-Windows GUI uses wrong shell command for bash. (Robert Bogomip)
Solution:   Check that 'shellcmdflag' is "/c". (Ken Takata, closes #4418)

5 years agopatch 8.1.1376: warnings for size_t/int mixups v8.1.1376
Bram Moolenaar [Fri, 24 May 2019 11:22:22 +0000 (13:22 +0200)]
patch 8.1.1376: warnings for size_t/int mixups

Problem:    Warnings for size_t/int mixups.
Solution:   Change types, add type casts. (Mike Williams)

5 years agopatch 8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt often v8.1.1375
Bram Moolenaar [Fri, 24 May 2019 11:11:47 +0000 (13:11 +0200)]
patch 8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt often

Problem:    Without "TS" in 'shortmess' get a hit-enter prompt often.
Solution:   Always truncate the search message.  Also avoid putting it in the
            message history. (closes #4413)

5 years agopatch 8.1.1374: check for file changed triggers too often v8.1.1374
Bram Moolenaar [Fri, 24 May 2019 09:45:22 +0000 (11:45 +0200)]
patch 8.1.1374: check for file changed triggers too often

Problem:    Check for file changed triggers too often.
Solution:   Don't use "b_p_ar" when it is negative.

5 years agopatch 8.1.1373: "[p" in Visual mode puts in wrong line v8.1.1373
Bram Moolenaar [Thu, 23 May 2019 21:27:36 +0000 (23:27 +0200)]
patch 8.1.1373: "[p" in Visual mode puts in wrong line

Problem:    "[p" in Visual mode puts in wrong line.
Solution:   Call nv_put() instead of duplicating the functionality.
            (closes #4408)

5 years agopatch 8.1.1372: when evaluating 'statusline' the current window is unknown v8.1.1372
Bram Moolenaar [Thu, 23 May 2019 20:11:59 +0000 (22:11 +0200)]
patch 8.1.1372: when evaluating 'statusline' the current window is unknown

Problem:    When evaluating 'statusline' the current window is unknown.
            (Daniel Hahler)
Solution:   Set "g:actual_curwin" for %{} items.  Set "g:statusline_winid"
            when evaluationg %!. (closes #4406, closes #3299)

5 years agopatch 8.1.1371: cannot recover from a swap file v8.1.1371
Bram Moolenaar [Thu, 23 May 2019 19:35:48 +0000 (21:35 +0200)]
patch 8.1.1371: cannot recover from a swap file

Problem:    Cannot recover from a swap file.
Solution:   Do not expand environment variables in the swap file name.
            Do not check the extension when we already know a file is a swap
            file.  (Ken Takata, closes 4415, closes #4369)

5 years agopatch 8.1.1370: not using the new github feature for donations v8.1.1370
Bram Moolenaar [Thu, 23 May 2019 18:42:10 +0000 (20:42 +0200)]
patch 8.1.1370: not using the new github feature for donations

Problem:    Not using the new github feature for donations.
Solution:   Add a Sponsor button. (closes #4417)

5 years agopatch 8.1.1369: get E484 when using system() during GUI startup v8.1.1369
Bram Moolenaar [Thu, 23 May 2019 18:12:46 +0000 (20:12 +0200)]
patch 8.1.1369: get E484 when using system() during GUI startup

Problem:    Get E484 when using system() during GUI startup.
Solution:   Check "gui.starting". (Ken Takata)

5 years agopatch 8.1.1368: modeline test fails with python but without pythonhome v8.1.1368
Bram Moolenaar [Thu, 23 May 2019 15:35:55 +0000 (17:35 +0200)]
patch 8.1.1368: modeline test fails with python but without pythonhome

Problem:    Modeline test fails with python but without pythonhome.
Solution:   Correct test argument.

5 years agopatch 8.1.1367: can set 'modelineexpr' in modeline v8.1.1367
Bram Moolenaar [Thu, 23 May 2019 15:08:49 +0000 (17:08 +0200)]
patch 8.1.1367: can set 'modelineexpr' in modeline

Problem:    can set 'modelineexpr' in modeline.
Solution:   Add P_SECURE flag.

5 years agopatch 8.1.1366: using expressions in a modeline is unsafe v8.1.1366
Bram Moolenaar [Thu, 23 May 2019 13:38:06 +0000 (15:38 +0200)]
patch 8.1.1366: using expressions in a modeline is unsafe

Problem:    Using expressions in a modeline is unsafe.
Solution:   Disallow using expressions in a modeline, unless the
            'modelineexpr' option is set.  Update help, add more tests.

5 years agopatch 8.1.1365: source command doesn't check for the sandbox v8.1.1365
Bram Moolenaar [Wed, 22 May 2019 20:38:25 +0000 (22:38 +0200)]
patch 8.1.1365: source command doesn't check for the sandbox

Problem:    Source command doesn't check for the sandbox. (Armin Razmjou)
Solution:   Check for the sandbox when sourcing a file.

5 years agopatch 8.1.1364: design for popup window support needs more details v8.1.1364
Bram Moolenaar [Tue, 21 May 2019 21:09:01 +0000 (23:09 +0200)]
patch 8.1.1364: design for popup window support needs more details

Problem:    Design for popup window support needs more details.
Solution:   Add details about using a window and buffer.  Rename popup_show()
            to popup_create() and add popup_show() and popup_hide().

5 years agopatch 8.1.1363: ":vert options" does not make a vertical split v8.1.1363
Bram Moolenaar [Tue, 21 May 2019 18:54:45 +0000 (20:54 +0200)]
patch 8.1.1363: ":vert options" does not make a vertical split

Problem:    ":vert options" does not make a vertical split.
Solution:   Pass the right modifiers in $OPTWIN_CMD. (Ken Takata,
            closes #4401)

5 years agopatch 8.1.1362: code and data in tests can be hard to read v8.1.1362
Bram Moolenaar [Mon, 20 May 2019 20:12:34 +0000 (22:12 +0200)]
patch 8.1.1362: code and data in tests can be hard to read

Problem:    Code and data in tests can be hard to read.
Solution:   Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)

5 years agopatch 8.1.1361: Python setuptools don't work with Python 3 v8.1.1361
Bram Moolenaar [Mon, 20 May 2019 19:52:45 +0000 (21:52 +0200)]
patch 8.1.1361: Python setuptools don't work with Python 3

Problem:    Python setuptools don't work with Python 3.
Solution:   Add dummy implementation for find_module. (Joel Frederico,
            closes #4402, closes #3984

5 years agopatch 8.1.1360: buffer left 'nomodifiable' after :substitute v8.1.1360
Bram Moolenaar [Mon, 20 May 2019 18:34:51 +0000 (20:34 +0200)]
patch 8.1.1360: buffer left 'nomodifiable' after :substitute

Problem:    Buffer left 'nomodifiable' after :substitute. (Ingo Karkat)
Solution:   Save the value of 'modifiable' earlier' (Christian Brabandt,
            closes #4403)

5 years agopatch 8.1.1359: text property wrong after :substitute with backslash v8.1.1359
Bram Moolenaar [Sun, 19 May 2019 20:53:40 +0000 (22:53 +0200)]
patch 8.1.1359: text property wrong after :substitute with backslash

Problem:    Text property wrong after :substitute with backslash.
Solution:   Adjust text property columns when removing backslashes.
            (closes #4397)

5 years agopatch 8.1.1358: cannot enter character with a CSI byte v8.1.1358
Bram Moolenaar [Sun, 19 May 2019 19:57:11 +0000 (21:57 +0200)]
patch 8.1.1358: cannot enter character with a CSI byte

Problem:    Cannot enter character with a CSI byte.
Solution:   Only check "gui.in_use" when VIMDLL is defined. (Ken Takata,
            closes #4396)

5 years agopatch 8.1.1357: test 37 is old style v8.1.1357
Bram Moolenaar [Sun, 19 May 2019 19:44:08 +0000 (21:44 +0200)]
patch 8.1.1357: test 37 is old style

Problem:    Test 37 is old style.
Solution:   Turn it into a new style test. (Yegappan Lakshmanan, closes #4398)

5 years agopatch 8.1.1356: some text in heredoc assignment ends the text v8.1.1356
Bram Moolenaar [Sun, 19 May 2019 19:37:18 +0000 (21:37 +0200)]
patch 8.1.1356: some text in heredoc assignment ends the text

Problem:    Some text in heredoc assignment ends the text. (Ozaki Kiichi)
Solution:   Recognize "let v =<<" and skip until the end.

5 years agopatch 8.1.1355: obvious mistakes are accepted as valid expressions v8.1.1355
Bram Moolenaar [Sun, 19 May 2019 17:59:35 +0000 (19:59 +0200)]
patch 8.1.1355: obvious mistakes are accepted as valid expressions

Problem:    Obvious mistakes are accepted as valid expressions.
Solution:   Be more strict about parsing numbers. (Yasuhiro Matsumoto,
            closes #3981)

5 years agopatch 8.1.1354: getting a list of text lines is clumsy v8.1.1354
Bram Moolenaar [Sun, 19 May 2019 16:41:26 +0000 (18:41 +0200)]
patch 8.1.1354: getting a list of text lines is clumsy

Problem:    Getting a list of text lines is clumsy.
Solution:   Add the =<< assignment. (Yegappan Lakshmanan, closes #4386)

5 years agopatch 8.1.1353: undo test fails on Mac v8.1.1353
Bram Moolenaar [Sun, 19 May 2019 14:38:56 +0000 (16:38 +0200)]
patch 8.1.1353: undo test fails on Mac

Problem:    Undo test fails on Mac.
Solution:   Expect "private" on the Mac.

5 years agopatch 8.1.1352: undofile() reports wrong name v8.1.1352
Bram Moolenaar [Sun, 19 May 2019 13:27:14 +0000 (15:27 +0200)]
patch 8.1.1352: undofile() reports wrong name

Problem:    Undofile() reports wrong name. (Francisco Giordano)
Solution:   Clean up the name before changing path separators. (closes #4392,
            closes #4394)

5 years agopatch 8.1.1351: text property wrong after :substitute v8.1.1351
Bram Moolenaar [Sun, 19 May 2019 13:19:57 +0000 (15:19 +0200)]
patch 8.1.1351: text property wrong after :substitute

Problem:    Text property wrong after :substitute.
Solution:   Save for undo before changing any text properties.

5 years agopatch 8.1.1350: "W" for wrapping not shown when more than 99 matches v8.1.1350
Bram Moolenaar [Sat, 18 May 2019 17:26:29 +0000 (19:26 +0200)]
patch 8.1.1350: "W" for wrapping not shown when more than 99 matches

Problem:    "W" for wrapping not shown when more than 99 matches.
Solution:   Adjust check for length. (Masato Nishihata, closes #4388)

5 years agopatch 8.1.1349: if writing runs into conversion error backup file is deleted v8.1.1349
Bram Moolenaar [Sat, 18 May 2019 16:52:04 +0000 (18:52 +0200)]
patch 8.1.1349: if writing runs into conversion error backup file is deleted

Problem:    If writing runs into a conversion error the backup file is
            deleted. (Arseny Nasokin)
Solution:   Don't delete the backup file is the file was overwritten and a
            conversion error occurred. (Christian Brabandt, closes #4387)

5 years agopatch 8.1.1348: running tests may cause the window to move v8.1.1348
Bram Moolenaar [Sat, 18 May 2019 15:22:54 +0000 (17:22 +0200)]
patch 8.1.1348: running tests may cause the window to move

Problem:    Running tests may cause the window to move.
Solution:   Correct the reported window position for the offset with the
            position after ":winpos".  Works around an xterm bug.

5 years agopatch 8.1.1347: fractional scroll position not restored after closing window v8.1.1347
Bram Moolenaar [Sat, 18 May 2019 13:36:11 +0000 (15:36 +0200)]
patch 8.1.1347: fractional scroll position not restored after closing window

Problem:    Fractional scroll position not restored after closing window.
Solution:   Do restore fraction if topline is not one.

5 years agopatch 8.1.1346: error for Python exception does not show useful info v8.1.1346
Bram Moolenaar [Sat, 18 May 2019 13:02:25 +0000 (15:02 +0200)]
patch 8.1.1346: error for Python exception does not show useful info

Problem:    Error for Python exception does not show useful info.
Solution:   Show the last line instead of the first one. (Ben Jackson,
            closes #4381)

5 years agopatch 8.1.1345: stuck in sandbox with ":s/../\=Function/gn" v8.1.1345
Bram Moolenaar [Sat, 18 May 2019 11:41:22 +0000 (13:41 +0200)]
patch 8.1.1345: stuck in sandbox with ":s/../\=Function/gn"

Problem:    Stuck in sandbox with ":s/../\=Function/gn".
Solution:   Don't skip over code to restore sandbox. (Christian Brabandt)

5 years agopatch 8.1.1344: Coverity complains about possibly using a NULL pointer v8.1.1344
Bram Moolenaar [Sat, 18 May 2019 11:05:18 +0000 (13:05 +0200)]
patch 8.1.1344: Coverity complains about possibly using a NULL pointer

Problem:    Coverity complains about possibly using a NULL pointer and copying
            a string into a fixed size buffer.
Solution:   Check for NULL, even though it should not happen.  Use
            vim_strncpy() instead of strcpy().

5 years agopatch 8.1.1343: text properties not adjusted for Visual block mode delete v8.1.1343
Bram Moolenaar [Fri, 17 May 2019 20:57:26 +0000 (22:57 +0200)]
patch 8.1.1343: text properties not adjusted for Visual block mode delete

Problem:    Text properties not adjusted for Visual block mode delete.
Solution:   Call adjust_prop_columns(). (closes #4384)

5 years agopatch 8.1.1342: using freed memory when joining line with text property v8.1.1342
Bram Moolenaar [Fri, 17 May 2019 18:17:40 +0000 (20:17 +0200)]
patch 8.1.1342: using freed memory when joining line with text property

Problem:    Using freed memory when joining line with text property.
Solution:   Use already computed length.

5 years agopatch 8.1.1341: text properties are lost when joining lines v8.1.1341
Bram Moolenaar [Fri, 17 May 2019 17:56:34 +0000 (19:56 +0200)]
patch 8.1.1341: text properties are lost when joining lines

Problem:    Text properties are lost when joining lines.
Solution:   Move the text properties to the joined line.

5 years agopatch 8.1.1340: attributes from 'cursorline' overwrite textprop v8.1.1340
Bram Moolenaar [Fri, 17 May 2019 11:05:07 +0000 (13:05 +0200)]
patch 8.1.1340: attributes from 'cursorline' overwrite textprop

Problem:    Attributes from 'cursorline' overwrite textprop.
Solution:   Combine the attributes. (closes #3912)

5 years agopatch 8.1.1339: installer needs to product name et al. v8.1.1339
Bram Moolenaar [Fri, 17 May 2019 10:37:27 +0000 (12:37 +0200)]
patch 8.1.1339: installer needs to product name et al.

Problem:    Installer needs to product name et al.
Solution:   Add a few lines to the NSIS installer script. (Christian Brabandt)

5 years agopatch 8.1.1338: hang when concealing the '>' shown for half of wide char v8.1.1338
Bram Moolenaar [Fri, 17 May 2019 10:31:44 +0000 (12:31 +0200)]
patch 8.1.1338: hang when concealing the '>' shown for half of wide char

Problem:    Hang when concealing the '>' shown for a wide char that doesn't
            fit in the last cell.
Solution:   Put back the pointer when the '>' is not going to be displayed.
            (closes #4377)

5 years agopatch 8.1.1337: get empty text prop when splitting line just after text prop v8.1.1337
Bram Moolenaar [Fri, 17 May 2019 09:08:56 +0000 (11:08 +0200)]
patch 8.1.1337: get empty text prop when splitting line just after text prop

Problem:    Get empty text prop when splitting line just after text prop.
Solution:   Do not create an empty text prop at the start of the line.

5 years agopatch 8.1.1336: some eval functionality is not covered by tests v8.1.1336
Bram Moolenaar [Thu, 16 May 2019 20:24:55 +0000 (22:24 +0200)]
patch 8.1.1336: some eval functionality is not covered by tests

Problem:    Some eval functionality is not covered by tests.
Solution:   Add a few more test cases. (Masato Nishihata, closes #4374)

5 years agopatch 8.1.1335: listener callback is called after inserting text v8.1.1335
Bram Moolenaar [Thu, 16 May 2019 20:11:47 +0000 (22:11 +0200)]
patch 8.1.1335: listener callback is called after inserting text

Problem:    Listener callback is called after inserting text.
Solution:   Flush the changes before inserting or deleting a line.  Store
            changes per buffer.

5 years agopatch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not used v8.1.1334
Bram Moolenaar [Thu, 16 May 2019 18:29:44 +0000 (20:29 +0200)]
patch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not used

Problem:    When buffer is hidden "F" in 'shortmess' is not used.
Solution:   Check the "F" flag in 'shortmess' when the buffer is already
            loaded. (Jason Franklin)  Add test_getvalue() to be able to test
            this.

5 years agopatch 8.1.1333: text properties don't always move after changes v8.1.1333
Bram Moolenaar [Wed, 15 May 2019 20:45:37 +0000 (22:45 +0200)]
patch 8.1.1333: text properties don't always move after changes

Problem:    Text properties don't always move after changes.
Solution:   Update properties before reporting changes to listeners. Move text
            property when splitting a line.

5 years agopatch 8.1.1332: cannot flush listeners without redrawing, mix of changes v8.1.1332
Bram Moolenaar [Tue, 14 May 2019 19:20:36 +0000 (21:20 +0200)]
patch 8.1.1332: cannot flush listeners without redrawing, mix of changes

Problem:    Cannot flush change listeners without also redrawing.  The line
            numbers in the list of changes may become invalid.
Solution:   Add listener_flush().  Invoke listeners before adding a change
            that makes line numbers invalid.

5 years agopatch 8.1.1331: test 29 is old style v8.1.1331
Bram Moolenaar [Tue, 14 May 2019 15:57:19 +0000 (17:57 +0200)]
patch 8.1.1331: test 29 is old style

Problem:    Test 29 is old style.
Solution:   Turn it into a new style test. (Yegappan Lakshmanan, closes #4370)

5 years agopatch 8.1.1330: using bold attribute in terminal changes the color v8.1.1330
Bram Moolenaar [Mon, 13 May 2019 18:27:23 +0000 (20:27 +0200)]
patch 8.1.1330: using bold attribute in terminal changes the color

Problem:    Using bold attribute in terminal changes the color. (Jason
            Franklin)
Solution:   Don't set the "bold-highbright" flag in vterm unless the terminal
            supports less than 16 colors.

5 years agopatch 8.1.1329: plans for popup window support are spread out v8.1.1329
Bram Moolenaar [Sun, 12 May 2019 19:43:48 +0000 (21:43 +0200)]
patch 8.1.1329: plans for popup window support are spread out

Problem:    Plans for popup window support are spread out.
Solution:   Add a first version of the popup window help.

5 years agopatch 8.1.1328: no test for listener with undo operation v8.1.1328
Bram Moolenaar [Sun, 12 May 2019 12:36:27 +0000 (14:36 +0200)]
patch 8.1.1328: no test for listener with undo operation

Problem:    No test for listener with undo operation.
Solution:   Add a test.

5 years agopatch 8.1.1327: unnecessary scroll after horizontal split v8.1.1327
Bram Moolenaar [Sun, 12 May 2019 12:25:30 +0000 (14:25 +0200)]
patch 8.1.1327: unnecessary scroll after horizontal split

Problem:    Unnecessary scroll after horizontal split.
Solution:   Don't adjust to fraction if all the text fits in the window.
            (Martin Kunev, closes #4367)

5 years agopatch 8.1.1326: no test for listener with partial v8.1.1326
Bram Moolenaar [Sun, 12 May 2019 11:53:50 +0000 (13:53 +0200)]
patch 8.1.1326: no test for listener with partial

Problem:    No test for listener with partial.
Solution:   Add a test.  Add example to help.

5 years agopatch 8.1.1325: cannot build with +eval but without +channel and +timers v8.1.1325
Bram Moolenaar [Sun, 12 May 2019 11:07:14 +0000 (13:07 +0200)]
patch 8.1.1325: cannot build with +eval but without +channel and +timers

Problem:    Cannot build with +eval but without +channel and +timers. (John
            Marriott)
Solution:   Adjust #ifdef for get_callback().

5 years agopatch 8.1.1324: stray comma in VMS makefile v8.1.1324
Bram Moolenaar [Sat, 11 May 2019 19:50:07 +0000 (21:50 +0200)]
patch 8.1.1324: stray comma in VMS makefile

Problem:    Stray comma in VMS makefile.
Solution:   Remove the comma. (Naruhiko Nishino, closes #4368)

5 years agopatch 8.1.1323: 'mouse' option is reset when using GPM mouse v8.1.1323
Bram Moolenaar [Sat, 11 May 2019 19:38:58 +0000 (21:38 +0200)]
patch 8.1.1323: 'mouse' option is reset when using GPM mouse

Problem:    'mouse' option is reset when using GPM mouse.
Solution:   Add flag for GPM mouse.