Bram Moolenaar [Fri, 9 Feb 2018 16:50:28 +0000 (17:50 +0100)]
patch 8.0.1485: weird autocmd may cause arglist to be changed recursively
Problem: Weird autocmd may cause arglist to be changed recursively.
Solution: Prevent recursively changing the argument list. (Christian
Brabandt, closes #2472)
Bram Moolenaar [Fri, 9 Feb 2018 15:04:25 +0000 (16:04 +0100)]
patch 8.0.1483: searchpair() might return an invalid value on timeout
Problem: Searchpair() might return an invalid value on timeout.
Solution: When the second search times out, do not accept a match from the
first search. (Daniel Hahler, closes #2552)
Bram Moolenaar [Fri, 9 Feb 2018 14:06:02 +0000 (15:06 +0100)]
patch 8.0.1482: using feedkeys() does not work to test completion
Problem: Using feedkeys() does not work to test Insert mode completion.
(Lifepillar)
Solution: Do not check for typed keys when executing :normal or feedkeys().
Fix thesaurus completion not working when 'complete' is empty.
Bram Moolenaar [Thu, 8 Feb 2018 21:33:31 +0000 (22:33 +0100)]
patch 8.0.1477: redraw flicker when moving the mouse outside of terminal window
Problem: Redraw flicker when moving the mouse outside of terminal window.
Solution: Instead of updating the cursor color and shape every time leaving
and entering a terminal window, only update when different from
the previously used cursor.
Bram Moolenaar [Tue, 6 Feb 2018 21:52:49 +0000 (22:52 +0100)]
patch 8.0.1475: invalid memory access in read_redo()
Problem: Invalid memory access in read_redo(). (gy741)
Solution: Convert the replacement character back from a negative number to
CR or NL. (hint by Dominique Pelle, closes #2616)
Bram Moolenaar [Sun, 4 Feb 2018 16:47:42 +0000 (17:47 +0100)]
patch 8.0.1469: when package path is a symlink 'runtimepath' is wrong
Problem: When package path is a symlink adding it to 'runtimepath' happens
at the end.
Solution: Do not resolve symlinks before locating the position in
'runtimepath'. (Ozaki Kiichi, closes #2604)
Problem: Libvterm doesn't handle illegal byte sequence correctly.
Solution: After the invalid code check if there is space to store another
character. Allocate one more character. (zhykzhykzhyk, closes
#2614, closes #2613)
Bram Moolenaar [Sun, 4 Feb 2018 13:32:57 +0000 (14:32 +0100)]
patch 8.0.1466: older GTK versions don't have gtk_entry_get_text_length()
Problem: Older GTK versions don't have gtk_entry_get_text_length().
Solution: Add a function with #ifdefs to take care of GTK version
differences. (Kazunobu Kuriyama, closes #2605)
Bram Moolenaar [Sat, 3 Feb 2018 21:35:40 +0000 (22:35 +0100)]
patch 8.0.1465: python2 and python3 detection not tested
Problem: Python2 and python3 detection not tested. (Matej Cepl)
Solution: Add test for detecting python2 and python3. Also detect a script
using "js" as javascript.
Bram Moolenaar [Sat, 3 Feb 2018 14:14:46 +0000 (15:14 +0100)]
patch 8.0.1455: if $SHELL contains a space then 'shell' is incorrect
Problem: If $SHELL contains a space then the default value of 'shell' is
incorrect. (Matthew Horan)
Solution: Escape spaces in $SHELL. (Christian Brabandt, closes #459)
Bram Moolenaar [Wed, 31 Jan 2018 20:49:05 +0000 (21:49 +0100)]
patch 8.0.1451: difficult to set the python home directories properly
Problem: It is difficult to set the python home directory properly for
Python 2.7 and 3.5 since both use $PYTHONHOME.
Solution: Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki
Sakamoto, closes #1266)
Bram Moolenaar [Wed, 31 Jan 2018 20:10:01 +0000 (21:10 +0100)]
patch 8.0.1450: GUI: endless loop when stopping cursor blinking
Problem: Endless loop when gui_mch_stop_blink() is called while blink_state
is BLINK_OFF. (zdohnal)
Solution: Avoid calling gui_update_cursor() recursively.
Bram Moolenaar [Wed, 31 Jan 2018 19:51:47 +0000 (20:51 +0100)]
patch 8.0.1449: slow redrawing with DirectX
Problem: Slow redrawing with DirectX.
Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
updating the cursor. (Ken Takata, closes #2560)
Bram Moolenaar [Wed, 31 Jan 2018 18:06:50 +0000 (19:06 +0100)]
patch 8.0.1446: acessing freed memory after window command in auto command
Problem: Acessing freed memory after window command in auto command.
(gy741)
Solution: Adjust the pointer in the parent frame. (Christian Brabandt,
closes #2467)
Bram Moolenaar [Wed, 31 Jan 2018 13:41:37 +0000 (14:41 +0100)]
patch 8.0.1444: missing -D_FILE_OFFSET_BITS=64 may cause problems
Problem: Missing -D_FILE_OFFSET_BITS=64 may cause problems if a library is
compiled with it.
Solution: Include -D_FILE_OFFSET_BITS if some CFLAGS has it. (James McCoy,
closes #2600)
Bram Moolenaar [Tue, 30 Jan 2018 21:46:06 +0000 (22:46 +0100)]
patch 8.0.1441: using ":undo 0" leaves undo in wrong state
Problem: Using ":undo 0" leaves undo in wrong state.
Solution: Instead of searching for state 1 and go above, just use the start.
(Ozaki Kiichi, closes #2595)
Bram Moolenaar [Tue, 30 Jan 2018 21:31:19 +0000 (22:31 +0100)]
patch 8.0.1440: terminal window: some vterm responses are delayed
Problem: Terminal window: some vterm responses are delayed.
Solution: After writing input. check if there is output to read. (Ozaki
Kiichi, closes #2594)
Bram Moolenaar [Sun, 28 Jan 2018 16:45:49 +0000 (17:45 +0100)]
patch 8.0.1436: not enough information about what Python version may work
Problem: Not enough information about what Python version may work.
Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and
"python3_dynamic" values for has().
Bram Moolenaar [Sun, 28 Jan 2018 14:36:42 +0000 (15:36 +0100)]
patch 8.0.1434: GTK: :promtfind does not put focus on text input
Problem: GTK: :promtfind does not put focus on text input. (Adam Novak)
Solution: When re-opening the dialog put focus on the text input. (Kazunobu
Kuriyama, closes #2563)
Bram Moolenaar [Sat, 27 Jan 2018 10:52:13 +0000 (11:52 +0100)]
patch 8.0.1432: after ":copen" can't get the window-ID of the quickfix window
Problem: After ":copen" can't get the window-ID of the quickfix window.
(FalacerSelene)
Solution: Make it work without a quickfix list. Add a test. (Yegappan
Lakshmanan, closes #2541)
Bram Moolenaar [Tue, 19 Dec 2017 21:25:40 +0000 (22:25 +0100)]
patch 8.0.1417: test doesn't search for a sentence
Problem: Test doesn't search for a sentence. Still fails when searching for
start of sentence. (Dominique Pelle)
Solution: Add paren. Check for MAXCOL in dec().
Bram Moolenaar [Tue, 19 Dec 2017 11:38:52 +0000 (12:38 +0100)]
patch 8.0.1412: using free memory using setloclist()
Problem: Using free memory using setloclist(). (Dominique Pelle)
Solution: Mark location list context as still in use when needed. (Yegappan
Lakshmanan, closes #2462)
Bram Moolenaar [Mon, 18 Dec 2017 17:14:47 +0000 (18:14 +0100)]
patch 8.0.1405: duplicated code for getting a typed character
Problem: Duplicated code for getting a typed character. CursorHold is
called too often in the GUI. (lilydjwg)
Solution: Refactor code to move code up from mch_inchar(). Don't fire
CursorHold if feedkeys() was used. (closes #2451)
Bram Moolenaar [Mon, 18 Dec 2017 15:21:44 +0000 (16:21 +0100)]
patch 8.0.1404: invalid memory access on exit
Problem: Invalid memory access on exit when autocommands wipe out a buffer.
(gy741, Dominique Pelle)
Solution: Check if the buffer is still valid. (closes #2449)
Bram Moolenaar [Sun, 17 Dec 2017 13:26:46 +0000 (14:26 +0100)]
patch 8.0.1398: :packadd does not load packages from the "start" directory
Problem: :packadd does not load packages from the "start" directory.
(Alejandro Hernandez)
Solution: Make :packadd look in the "start" directory if those packages were
not loaded on startup.
Bram Moolenaar [Sat, 16 Dec 2017 13:37:06 +0000 (14:37 +0100)]
patch 8.0.1392: build fails with --with-features=huge --disable-channel
Problem: Build fails with --with-features=huge --disable-channel.
Solution: Don't enable the terminal feature when the channel feature is
missing. (Dominique Pelle, closes #2453)