]>
granicus.if.org Git - vim/log
Bram Moolenaar [Thu, 30 May 2019 20:35:18 +0000 (22:35 +0200)]
patch 8.1.1432: can't build with eval feature
Problem: Can't build with eval feature.
Solution: Add missing rename.
Bram Moolenaar [Thu, 30 May 2019 20:32:34 +0000 (22:32 +0200)]
patch 8.1.1431: popup window listed as "Scratch"
Problem: Popup window listed as "Scratch".
Solution: List them as "Popup".
Bram Moolenaar [Thu, 30 May 2019 20:07:36 +0000 (22:07 +0200)]
patch 8.1.1430: popup window option "wrap" not supported
Problem: Popup window option "wrap" not supported.
Solution: Implement it.
Bram Moolenaar [Thu, 30 May 2019 19:24:26 +0000 (21:24 +0200)]
patch 8.1.1429: "pos" option of popup window not supported yet
Problem: "pos" option of popup window not supported yet.
Solution: Implement the option. Rename popup_getposition() to
popup_getpos().
Bram Moolenaar [Thu, 30 May 2019 17:25:06 +0000 (19:25 +0200)]
patch 8.1.1428: popup_atcursor() not implemented yet
Problem: Popup_atcursor() not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4456)
Bram Moolenaar [Thu, 30 May 2019 17:03:22 +0000 (19:03 +0200)]
patch 8.1.1427: popup window screenshot test fails
Problem: Popup window screenshot test fails.
Solution: Add missing change to popup window code.
Bram Moolenaar [Thu, 30 May 2019 16:40:53 +0000 (18:40 +0200)]
patch 8.1.1426: no test for syntax highlight in popup window
Problem: No test for syntax highlight in popup window.
Solution: Add a screenshot test. Update associated documentation. Avoid
'buftype' being reset by setbufvar().
Bram Moolenaar [Thu, 30 May 2019 15:29:40 +0000 (17:29 +0200)]
patch 8.1.1425: win_execute() does not set window pointers properly
Problem: Win_execute() does not set window pointers properly.
Solution: Use switch_win_noblock(). Also execute autocommands in a popup
window.
Bram Moolenaar [Thu, 30 May 2019 13:53:29 +0000 (15:53 +0200)]
patch 8.1.1424: crash when popup menu is deleted while waiting for char
Problem: Crash when popup menu is deleted while waiting for char.
Solution: Bail out when pum_array was cleared.
Bram Moolenaar [Thu, 30 May 2019 13:22:43 +0000 (15:22 +0200)]
patch 8.1.1423: popup windows use options from current window and buffer
Problem: Popup windows use options from current window and buffer.
Solution: Clear all local options when creating a popup window.
Bram Moolenaar [Thu, 30 May 2019 12:29:45 +0000 (14:29 +0200)]
patch 8.1.1422: popup_getoptions() not implemented yet
Problem: Popup_getoptions() not implemented yet.
Solution: Implement it. (closes #4452)
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.
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.
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.
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.
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)
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)
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.
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.
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)
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)
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.
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.
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.
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.
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.
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.
Bram Moolenaar [Sun, 26 May 2019 19:33:31 +0000 (21:33 +0200)]
Update runtime files.
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.
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)
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.
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)
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)
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.
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.
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)
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().
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.
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.
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)
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)
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.
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.
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)
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.
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.
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)
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).
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().
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.
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)
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.
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
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)
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'.
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)
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)
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)
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)
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.
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)
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)
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)
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)
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)
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.
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.
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.
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.
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().
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)
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)
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
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)
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)
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)
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)
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.
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)
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)
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.
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)
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.
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)
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)
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.
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.
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)
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)
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().
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)
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.
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.
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)
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)
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)
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.
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)
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.
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.