]> granicus.if.org Git - vim/log
vim
7 years agopatch 8.0.1455: if $SHELL contains a space then 'shell' is incorrect v8.0.1455
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)

7 years agopatch 8.0.1454: when in silent mode too much output is buffered v8.0.1454
Bram Moolenaar [Sat, 3 Feb 2018 13:46:45 +0000 (14:46 +0100)]
patch 8.0.1454: when in silent mode too much output is buffered

Problem:    When in silent mode too much output is buffered.
Solution:   Use line buffering instead of fully buffered. (Brian M. Carlson,
            closes #2537)

7 years agopatch 8.0.1453: terminal test fails on some slow terminals v8.0.1453
Bram Moolenaar [Fri, 2 Feb 2018 17:30:36 +0000 (18:30 +0100)]
patch 8.0.1453: terminal test fails on some slow terminals

Problem:    Terminal test fails on some slow terminals.
Solution:   Increase timeout to 10 seconds.

7 years agopatch 8.0.1452: terminal test fails on some systems v8.0.1452
Bram Moolenaar [Fri, 2 Feb 2018 17:22:31 +0000 (18:22 +0100)]
patch 8.0.1452: terminal test fails on some systems

Problem:    Terminal test fails on some systems. (jonathonf)
Solution:   Use "cat" instead of Python to produce the input.  Add a delay.
            (closes #2607)

7 years agopatch 8.0.1451: difficult to set the python home directories properly v8.0.1451
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)

7 years agopatch 8.0.1450: GUI: endless loop when stopping cursor blinking v8.0.1450
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.

7 years agopatch 8.0.1449: slow redrawing with DirectX v8.0.1449
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)

7 years agopatch 8.0.1448: segfault with exception inside :rubyfile command v8.0.1448
Bram Moolenaar [Wed, 31 Jan 2018 19:15:30 +0000 (20:15 +0100)]
patch 8.0.1448: segfault with exception inside :rubyfile command

Problem:    Segmentation fault when Ruby throws an exception inside :rubyfile
            command.
Solution:   Use rb_protect() instead of rb_load_protect(). (ujihisa,
            closes #2147, greywolf, closes #2512, #2511)

7 years agopatch 8.0.1447: still too many old style tests v8.0.1447
Bram Moolenaar [Wed, 31 Jan 2018 18:30:24 +0000 (19:30 +0100)]
patch 8.0.1447: still too many old style tests

Problem:    Still too many old style tests.
Solution:   Turn a few tests into new style. (Yegappan Lakshmanan,
            closes #2509)

7 years agopatch 8.0.1446: acessing freed memory after window command in auto command v8.0.1446
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)

7 years agopatch 8.0.1445: cannot act on edits in the command line v8.0.1445
Bram Moolenaar [Wed, 31 Jan 2018 14:48:32 +0000 (15:48 +0100)]
patch 8.0.1445: cannot act on edits in the command line

Problem:    Cannot act on edits in the command line.
Solution:   Add the CmdlineChanged autocommand event. (xtal8, closes #2603,
            closes #2524)

7 years agopatch 8.0.1444: missing -D_FILE_OFFSET_BITS=64 may cause problems v8.0.1444
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)

7 years agopatch 8.0.1443: compiler complains about uninitialized variable v8.0.1443
Bram Moolenaar [Wed, 31 Jan 2018 13:25:53 +0000 (14:25 +0100)]
patch 8.0.1443: compiler complains about uninitialized variable

Problem:    Compiler complains about uninitialized variable. (Tony Mechelynck)
Solution:   Assign a value to the variable.

7 years agopatch 8.0.1442: using pointer before it is set v8.0.1442
Bram Moolenaar [Tue, 30 Jan 2018 21:52:06 +0000 (22:52 +0100)]
patch 8.0.1442: using pointer before it is set

Problem:    Using pointer before it is set.
Solution:   Search in whole buffer instead of next token.

7 years agopatch 8.0.1441: using ":undo 0" leaves undo in wrong state v8.0.1441
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)

7 years agopatch 8.0.1440: terminal window: some vterm responses are delayed v8.0.1440
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)

7 years agopatch 8.0.1439: if cscope fails a search Vim may hang v8.0.1439
Bram Moolenaar [Tue, 30 Jan 2018 20:47:52 +0000 (21:47 +0100)]
patch 8.0.1439: if cscope fails a search Vim may hang

Problem:    If cscope fails a search Vim may hang.
Solution:   Bail out when a search error is encountered. (Safouane Baroudi,
            closes #2598)

7 years agopatch 8.0.1438: filetype detection test not updated for change v8.0.1438
Bram Moolenaar [Mon, 29 Jan 2018 08:17:32 +0000 (09:17 +0100)]
patch 8.0.1438: filetype detection test not updated for change

Problem:    Filetype detection test not updated for change.
Solution:   Update the test.

7 years agopatch 8.0.1437: pkg-config doesn't work with cross compiling v8.0.1437
Bram Moolenaar [Sun, 28 Jan 2018 21:48:55 +0000 (22:48 +0100)]
patch 8.0.1437: pkg-config doesn't work with cross compiling

Problem:    Pkg-config doesn't work with cross compiling.
Solution:   Use AC_PATH_TOOL() instead of AC_PATH_PROG(). (James McCoy,
            closes #2513)

7 years agoUpdate runtime files.
Bram Moolenaar [Sun, 28 Jan 2018 21:47:25 +0000 (22:47 +0100)]
Update runtime files.

7 years agopatch 8.0.1436: not enough information about what Python version may work v8.0.1436
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().

7 years agopatch 8.0.1435: memory leak in test_arabic v8.0.1435
Bram Moolenaar [Sun, 28 Jan 2018 16:05:16 +0000 (17:05 +0100)]
patch 8.0.1435: memory leak in test_arabic

Problem:    Memory leak in test_arabic.
Solution:   Free the from and to parts. (Christian Brabandt, closes #2569)

7 years agopatch 8.0.1434: GTK: :promtfind does not put focus on text input v8.0.1434
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)

7 years agopatch 8.0.1433: illegal memory access after undo v8.0.1433
Bram Moolenaar [Sat, 27 Jan 2018 20:01:34 +0000 (21:01 +0100)]
patch 8.0.1433: illegal memory access after undo

Problem:    Illegal memory access after undo. (Dominique Pelle)
Solution:   Avoid the column becomes negative. (Christian Brabandt,
            closes #2533)

7 years agopatch 8.0.1432: after ":copen" can't get the window-ID of the quickfix window v8.0.1432
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)

7 years agopatch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars v8.0.1431
Bram Moolenaar [Fri, 26 Jan 2018 21:22:55 +0000 (22:22 +0100)]
patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars

Problem:    MS-Windows: vimtutor fails if %TMP% has special chars.
Solution:   Add quotes. (Tamce, closes #2561)

7 years agopatch 8.0.1430: crash when term_start() fails v8.0.1430
Bram Moolenaar [Fri, 26 Jan 2018 20:11:03 +0000 (21:11 +0100)]
patch 8.0.1430: crash when term_start() fails

Problem:    Crash when term_start() fails.
Solution:   Initialize winpty_err.

7 years agopatch 8.0.1429: crash when calling term_start() with empty argument v8.0.1429
Bram Moolenaar [Fri, 26 Jan 2018 19:05:18 +0000 (20:05 +0100)]
patch 8.0.1429: crash when calling term_start() with empty argument

Problem:    Crash when calling term_start() with empty argument.
Solution:   Check for invalid argument. (Yasuhiro Matsomoto, closes #2503)
            Fix memory leak.

7 years agopatch 8.0.1428: compiler warning on 64 bit MS-Windows system v8.0.1428
Bram Moolenaar [Tue, 2 Jan 2018 14:37:46 +0000 (15:37 +0100)]
patch 8.0.1428: compiler warning on 64 bit MS-Windows system

Problem:    Compiler warning on 64 bit MS-Windows system.
Solution:   Change type from "int" to "size_t". (Mike Williams)

7 years agopatch 8.0.1427: the :leftabove modifier doesn't work for :copen v8.0.1427
Bram Moolenaar [Tue, 26 Dec 2017 12:53:11 +0000 (13:53 +0100)]
patch 8.0.1427: the :leftabove modifier doesn't work for :copen

Problem:    The :leftabove modifier doesn't work for :copen.
Solution:   Respect the split modifier. (Yegappan Lakshmanan, closes #2496)

7 years agopatch 8.0.1426: "gf" and <cfile> don't accept ? and & in URL v8.0.1426
Bram Moolenaar [Mon, 25 Dec 2017 13:29:18 +0000 (14:29 +0100)]
patch 8.0.1426: "gf" and <cfile> don't accept ? and & in URL

Problem:    "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok)
Solution:   Check for a URL and allow for extra characters. (closes #2493)

7 years agopatch 8.0.1425: execute() does not work in completion of user command v8.0.1425
Bram Moolenaar [Mon, 25 Dec 2017 12:44:43 +0000 (13:44 +0100)]
patch 8.0.1425: execute() does not work in completion of user command

Problem:    execute() does not work in completion of user command. (thinca)
Solution:   Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492)

7 years agoupdate a few runtime files
Bram Moolenaar [Sun, 24 Dec 2017 12:22:00 +0000 (13:22 +0100)]
update a few runtime files

7 years agopatch 8.0.1424: the timer_pause test is flaky on Travis v8.0.1424
Bram Moolenaar [Sat, 23 Dec 2017 17:41:35 +0000 (18:41 +0100)]
patch 8.0.1424: the timer_pause test is flaky on Travis

Problem:    The timer_pause test is flaky on Travis.
Solution:   Accept a longer sleep time on Mac.

7 years agopatch 8.0.1423: error in return not caught by try/catch v8.0.1423
Bram Moolenaar [Sat, 23 Dec 2017 16:26:11 +0000 (17:26 +0100)]
patch 8.0.1423: error in return not caught by try/catch

Problem:    Error in return not caught by try/catch.
Solution:   Call update_force_abort(). (Yasuhiro Matsomoto, closes #2483)

7 years agopatch 8.0.1422: no fallback to underline when undercurl is not set v8.0.1422
Bram Moolenaar [Fri, 22 Dec 2017 20:12:34 +0000 (21:12 +0100)]
patch 8.0.1422: no fallback to underline when undercurl is not set

Problem:    No fallback to underline when undercurl is not set. (Ben Jackson)
Solution:   Check for the value to be empty instead of NULL. (closes #2424)

7 years agopatch 8.0.1421: accessing invalid memory with overlong byte sequence v8.0.1421
Bram Moolenaar [Fri, 22 Dec 2017 20:06:56 +0000 (21:06 +0100)]
patch 8.0.1421: accessing invalid memory with overlong byte sequence

Problem:    Accessing invalid memory with overlong byte sequence.
Solution:   Check for NUL character. (test by Dominique Pelle, closes #2485)

7 years agopatch 8.0.1420: accessing freed memory in vimgrep v8.0.1420
Bram Moolenaar [Thu, 21 Dec 2017 19:54:49 +0000 (20:54 +0100)]
patch 8.0.1420: accessing freed memory in vimgrep

Problem:    Accessing freed memory in vimgrep.
Solution:   Check that the quickfix list is still valid. (Yegappan Lakshmanan,
            closes #2474)

7 years agopatch 8.0.1419: cursor column is not updated after ]s v8.0.1419
Bram Moolenaar [Thu, 21 Dec 2017 19:27:47 +0000 (20:27 +0100)]
patch 8.0.1419: cursor column is not updated after ]s

Problem:    Cursor column is not updated after ]s. (Gary Johnson)
Solution:   Set the curswant flag.

7 years agopatch 8.0.1418: no test for expanding backticks v8.0.1418
Bram Moolenaar [Wed, 20 Dec 2017 21:32:20 +0000 (22:32 +0100)]
patch 8.0.1418: no test for expanding backticks

Problem:    No test for expanding backticks.
Solution:   Add a test. (Dominique Pelle, closes #2479)

7 years agopatch 8.0.1417: test doesn't search for a sentence v8.0.1417
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().

7 years agopatch 8.0.1416: crash when searching for a sentence v8.0.1416
Bram Moolenaar [Tue, 19 Dec 2017 20:23:21 +0000 (21:23 +0100)]
patch 8.0.1416: crash when searching for a sentence

Problem:    Crash when searching for a sentence.
Solution:   Return NUL when getting character at MAXCOL. (closes #2468)

7 years agopatch 8.0.1415: warning for unused function without timers feature v8.0.1415
Bram Moolenaar [Tue, 19 Dec 2017 18:42:41 +0000 (19:42 +0100)]
patch 8.0.1415: warning for unused function without timers feature

Problem:    Warning for unused function without timers feature.
Solution:   Add #ifdef. (John Marriott)

7 years agopatch 8.0.1414: accessing freed memory in :lfile. v8.0.1414
Bram Moolenaar [Tue, 19 Dec 2017 15:48:55 +0000 (16:48 +0100)]
patch 8.0.1414: accessing freed memory in :lfile.

Problem:    Accessing freed memory in :lfile.
Solution:   Get the current window after executing autocommands. (Yegappan
            Lakshmanan, closes #2473)

7 years agopatch 8.0.1413: accessing freed memory in :cbuffer v8.0.1413
Bram Moolenaar [Tue, 19 Dec 2017 15:41:14 +0000 (16:41 +0100)]
patch 8.0.1413: accessing freed memory in :cbuffer

Problem:    Accessing freed memory in :cbuffer.
Solution:   Get quickfix list after executing autocmds. (closes #2470)

7 years agopatch 8.0.1412: using free memory using setloclist() v8.0.1412
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)

7 years agopatch 8.0.1411: reading invalid memory with CTRL-W : v8.0.1411
Bram Moolenaar [Tue, 19 Dec 2017 11:27:23 +0000 (12:27 +0100)]
patch 8.0.1411: reading invalid memory with CTRL-W :

Problem:    Reading invalid memory with CTRL-W :.
Solution:   Correct the command characters. (closes #2469)

7 years agopatch 8.0.1410: hang when using count() with an empty string v8.0.1410
Bram Moolenaar [Tue, 19 Dec 2017 10:55:26 +0000 (11:55 +0100)]
patch 8.0.1410: hang when using count() with an empty string

Problem:    Hang when using count() with an empty string.
Solution:   Return zero for an empty string. (Dominique Pelle, closes #2465)

7 years agopatch 8.0.1409: buffer overflow in :tags command v8.0.1409
Bram Moolenaar [Tue, 19 Dec 2017 09:49:34 +0000 (10:49 +0100)]
patch 8.0.1409: buffer overflow in :tags command

Problem:    Buffer overflow in :tags command.
Solution:   Use vim_snprintf(). (Dominique Pelle, closes #2471, closes #2475)
            Add a test.

7 years agopatch 8.0.1408: crash in setqflist() v8.0.1408
Bram Moolenaar [Tue, 19 Dec 2017 09:22:19 +0000 (10:22 +0100)]
patch 8.0.1408: crash in setqflist()

Problem:    Crash in setqflist().
Solution:   Check for string to be NULL. (Dominique Pelle, closes #2464)

7 years agopatch 8.0.1407: GUI: CursorHold may trigger before 'updatetime' v8.0.1407
Bram Moolenaar [Tue, 19 Dec 2017 09:02:43 +0000 (10:02 +0100)]
patch 8.0.1407: GUI: CursorHold may trigger before 'updatetime'

Problem:    GUI: CursorHold may trigger before 'updatetime' when using timers.
Solution:   Check that 'updatetime' has passed.

7 years agopatch 8.0.1406: difficult to track changes to a quickfix list v8.0.1406
Bram Moolenaar [Mon, 18 Dec 2017 18:48:58 +0000 (19:48 +0100)]
patch 8.0.1406: difficult to track changes to a quickfix list

Problem:    Difficult to track changes to a quickfix list.
Solution:   Add a "changedtick" value. (Yegappan Lakshmanan, closes #2460)

7 years agopatch 8.0.1405: duplicated code for getting a typed character v8.0.1405
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)

7 years agopatch 8.0.1404: invalid memory access on exit v8.0.1404
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)

7 years agopatch 8.0.1403: using freed buffer in grep command v8.0.1403
Bram Moolenaar [Mon, 18 Dec 2017 14:33:00 +0000 (15:33 +0100)]
patch 8.0.1403: using freed buffer in grep command

Problem:    Using freed buffer in grep command. (gy741, Dominique Pelle)
Solution:   Lock the dummy buffer to avoid autocommands wiping it out.

7 years agopatch 8.0.1402: crash with nasty autocommand v8.0.1402
Bram Moolenaar [Mon, 18 Dec 2017 11:37:55 +0000 (12:37 +0100)]
patch 8.0.1402: crash with nasty autocommand

Problem:    Crash with nasty autocommand. (gy741, Dominique Pelle)
Solution:   Check that the new current buffer isn't wiped out. (closes #2447)

7 years agopatch 8.0.1401: cannot build with GTK but without XIM v8.0.1401
Bram Moolenaar [Sun, 17 Dec 2017 20:54:55 +0000 (21:54 +0100)]
patch 8.0.1401: cannot build with GTK but without XIM

Problem:    Cannot build with GTK but without XIM. (Guido)
Solution:   Adjust #ifdef. (closes #2461)

7 years agoUpdate runtime files
Bram Moolenaar [Sun, 17 Dec 2017 16:17:07 +0000 (17:17 +0100)]
Update runtime files

7 years agopatch 8.0.1400: color scheme check script shows up as color scheme v8.0.1400
Bram Moolenaar [Sun, 17 Dec 2017 15:11:09 +0000 (16:11 +0100)]
patch 8.0.1400: color scheme check script shows up as color scheme

Problem:    Color scheme check script shows up as color scheme.
Solution:   Move it to the "tools" subdirectory. (closes #2457)

7 years agopatch 8.0.1399: warnings and errors when building tiny version v8.0.1399
Bram Moolenaar [Sun, 17 Dec 2017 13:55:01 +0000 (14:55 +0100)]
patch 8.0.1399: warnings and errors when building tiny version

Problem:    Warnings and errors when building tiny version. (Tony Mechelynck)
Solution:   Add #ifdefs.

7 years agopatch 8.0.1398: :packadd does not load packages from the "start" directory v8.0.1398
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.

7 years agopatch 8.0.1397: pattern with \& following nothing gives an error v8.0.1397
Bram Moolenaar [Sat, 16 Dec 2017 18:59:37 +0000 (19:59 +0100)]
patch 8.0.1397: pattern with \& following nothing gives an error

Problem:    Pattern with \& following nothing gives an error.
Solution:   Emit an empty node when needed.

7 years agopatch 8.0.1396: memory leak when CTRL-G in search command line fails v8.0.1396
Bram Moolenaar [Sat, 16 Dec 2017 18:05:22 +0000 (19:05 +0100)]
patch 8.0.1396: memory leak when CTRL-G in search command line fails

Problem:    Memory leak when CTRL-G in search command line fails.
Solution:   Move restore_last_search_pattern to after "if".

7 years agopatch 8.0.1395: it is not easy to see if a colorscheme is well written v8.0.1395
Bram Moolenaar [Sat, 16 Dec 2017 17:53:35 +0000 (18:53 +0100)]
patch 8.0.1395: it is not easy to see if a colorscheme is well written

Problem:    It is not easy to see if a colorscheme is well written.
Solution:   Add a script that checks for common mistakes. (Christian Brabandt)

7 years agopatch 8.0.1394: cannot intercept a yank command v8.0.1394
Bram Moolenaar [Sat, 16 Dec 2017 17:27:02 +0000 (18:27 +0100)]
patch 8.0.1394: cannot intercept a yank command

Problem:    Cannot intercept a yank command.
Solution:   Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
            closes #2333)

7 years agopatch 8.0.1393: too much highlighting with 'hlsearch' and 'incsearch' set v8.0.1393
Bram Moolenaar [Sat, 16 Dec 2017 15:33:44 +0000 (16:33 +0100)]
patch 8.0.1393: too much highlighting with 'hlsearch' and 'incsearch' set

Problem:    Too much highlighting with 'hlsearch' and 'incsearch' set.
Solution:   Do not highlight matches when the pattern matches everything.

7 years agopatch 8.0.1392: build fails with --with-features=huge --disable-channel v8.0.1392
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)

7 years agopatch 8.0.1391: encoding empty string to JSON sometimes gives "null" v8.0.1391
Bram Moolenaar [Fri, 15 Dec 2017 20:25:01 +0000 (21:25 +0100)]
patch 8.0.1391: encoding empty string to JSON sometimes gives "null"

Problem:    Encoding empty string to JSON sometimes gives "null".
Solution:   Handle NULL string as empty string. (closes #2446)

7 years agomove netrw back to the previous version
Bram Moolenaar [Thu, 14 Dec 2017 18:56:46 +0000 (19:56 +0100)]
move netrw back to the previous version

7 years agopatch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off v8.0.1390
Bram Moolenaar [Thu, 14 Dec 2017 12:15:19 +0000 (13:15 +0100)]
patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off

Problem:    DirectX scrolling can be slow, vertical positioning is off.
Solution:   Make scroll slightly faster when using "scrlines:1". Fix y
            position of displayed text. Fix DirectX with non-utf8 encoding.
            (Ken Takata, closes #2440)

7 years agopatch 8.0.1389: getqflist() items are missing if not set v8.0.1389
Bram Moolenaar [Tue, 12 Dec 2017 21:45:31 +0000 (22:45 +0100)]
patch 8.0.1389: getqflist() items are missing if not set

Problem:    getqflist() items are missing if not set, that makes it more
            difficult to handle the values.
Solution:   When a value is not available return zero or another invalid
            value. (Yegappan Lakshmanan, closes #2430)

7 years agopatch 8.0.1388: char not overwritten with ambiguous width char v8.0.1388
Bram Moolenaar [Tue, 12 Dec 2017 21:29:30 +0000 (22:29 +0100)]
patch 8.0.1388: char not overwritten with ambiguous width char

Problem:    Char not overwritten with ambiguous width char, if the ambiguous
            char is single width but we reserve double-width space.
Solution:   First clear the screen cells. (Ozaki Kiichi, closes #2436)

7 years agopatch 8.0.1387: wordcount test is old style v8.0.1387
Bram Moolenaar [Mon, 11 Dec 2017 21:55:26 +0000 (22:55 +0100)]
patch 8.0.1387: wordcount test is old style

Problem:    Wordcount test is old style.
Solution:   Change into a new style test. (Yegappan Lakshmanan, closes #2434)

7 years agopatch 8.0.1386: cannot select modified buffers with getbufinfo() v8.0.1386
Bram Moolenaar [Sun, 10 Dec 2017 20:06:22 +0000 (21:06 +0100)]
patch 8.0.1386: cannot select modified buffers with getbufinfo()

Problem:    Cannot select modified buffers with getbufinfo().
Solution:   Add the "bufmodified" flag. (Yegappan Lakshmanan, closes #2431)

7 years agopatch 8.0.1385: Python 3.5 is getting old v8.0.1385
Bram Moolenaar [Sun, 10 Dec 2017 17:17:44 +0000 (18:17 +0100)]
patch 8.0.1385: Python 3.5 is getting old

Problem:    Python 3.5 is getting old.
Solution:   Make Python 3.6 the default. (Ken Takata, closes #2429)

7 years agopatch 8.0.1384: not enough quickfix help; confusing winid v8.0.1384
Bram Moolenaar [Sun, 10 Dec 2017 14:26:15 +0000 (15:26 +0100)]
patch 8.0.1384: not enough quickfix help; confusing winid

Problem:    Not enough quickfix help; confusing winid.
Solution:   Add more examples in the help. When the quickfix window is not
            present, return zero for getqflist() with 'winid'. Add more tests
            for jumping to quickfix list entries. (Yegappan Lakshmanan, closes
            #2427)

7 years agopatch 8.0.1383: local additions in help skips some files v8.0.1383
Bram Moolenaar [Sat, 9 Dec 2017 20:10:13 +0000 (21:10 +0100)]
patch 8.0.1383: local additions in help skips some files

Problem:    Local additions in help skips some files. (joshklod)
Solution:   Check the base file name length equals.

7 years agopatch 8.0.1382: get "no write since last change" message if terminal is open v8.0.1382
Bram Moolenaar [Sat, 9 Dec 2017 18:51:49 +0000 (19:51 +0100)]
patch 8.0.1382: get "no write since last change" message if terminal is open

Problem:    Get "no write since last change" message if a terminal is open.
            (Fritz mehner)
Solution:   Don't consider a buffer changed if it's a terminal window.

7 years agopatch 8.0.1381: ch_readraw() waits for NL if channel mode is NL v8.0.1381
Bram Moolenaar [Sat, 9 Dec 2017 18:13:13 +0000 (19:13 +0100)]
patch 8.0.1381: ch_readraw() waits for NL if channel mode is NL

Problem:    ch_readraw() waits for NL if channel mode is NL.
Solution:   Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto)

7 years agopatch 8.0.1380: using "vim -r swapfile" the hit-enter prompt is misplaced. v8.0.1380
Bram Moolenaar [Sat, 9 Dec 2017 14:11:24 +0000 (15:11 +0100)]
patch 8.0.1380: using "vim -r swapfile" the hit-enter prompt is misplaced.

Problem:    When recovering a file with "vim -r swapfile" the hit-enter prompt
            is at the top of the window.
Solution:   Invalidate the cursor position.

7 years agopatch 8.0.1379: configure check for selinux does not check for header file v8.0.1379
Bram Moolenaar [Thu, 7 Dec 2017 21:29:11 +0000 (22:29 +0100)]
patch 8.0.1379: configure check for selinux does not check for header file

Problem:    Configure check for selinux does not check for header file.
Solution:   Add an AC_CHECK_HEADER(). (Benny Siegert)

7 years agopatch 8.0.1378: autoload script sources itself when defining function v8.0.1378
Bram Moolenaar [Thu, 7 Dec 2017 21:23:04 +0000 (22:23 +0100)]
patch 8.0.1378: autoload script sources itself when defining function

Problem:    Autoload script sources itself when defining function.
Solution:   Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
            Matsumoto, closes #2423)

7 years agopatch 8.0.1377: cannot call a dict function in autoloaded dict v8.0.1377
Bram Moolenaar [Thu, 7 Dec 2017 21:11:27 +0000 (22:11 +0100)]
patch 8.0.1377: cannot call a dict function in autoloaded dict

Problem:    Cannot call a dict function in autoloaded dict.
Solution:   Call get_lval() passing the read-only flag.

7 years agopatch 8.0.1376: cursor in terminal not always updated v8.0.1376
Bram Moolenaar [Tue, 5 Dec 2017 20:32:33 +0000 (21:32 +0100)]
patch 8.0.1376: cursor in terminal not always updated

Problem:    Cursor in terminal not always updated.
Solution:   Call gui_mch_flush(). (Ken Takata)

7 years agopatch 8.0.1375: window size wrong after maximizing with WinBar v8.0.1375
Bram Moolenaar [Tue, 5 Dec 2017 19:31:07 +0000 (20:31 +0100)]
patch 8.0.1375: window size wrong after maximizing with WinBar

Problem:    Window size wrong after maximizing with WinBar. (Lifepillar)
Solution:   Fix height computations. Redraw window when it is zero height but
            has a WinBar. (closes #2356)

7 years agopatch 8.0.1374: CTRL-A does not work with an empty line v8.0.1374
Bram Moolenaar [Tue, 5 Dec 2017 16:22:12 +0000 (17:22 +0100)]
patch 8.0.1374: CTRL-A does not work with an empty line

Problem:    CTRL-A does not work with an empty line. (Alex)
Solution:   Decrement the end only once. (Hirohito Higashi, closes #2387)

7 years agopatch 8.0.1373: no error when settting 'renderoptions' before starting GUI v8.0.1373
Bram Moolenaar [Tue, 5 Dec 2017 15:57:56 +0000 (16:57 +0100)]
patch 8.0.1373: no error when settting 'renderoptions' before starting GUI

Problem:    No error when settting 'renderoptions' to an invalid value before
            starting the GUI.
Solution:   Always check the value. (Ken Takata, closes #2413)

7 years agopatch 8.0.1372: profile log may be truncated halfway a character v8.0.1372
Bram Moolenaar [Tue, 5 Dec 2017 15:46:28 +0000 (16:46 +0100)]
patch 8.0.1372: profile log may be truncated halfway a character

Problem:    Profile log may be truncated halfway a character.
Solution:   Find the start of the character. (Ozaki Kiichi, closes #2385)

7 years agopatch 8.0.1371: Shift-Insert doesn't always work in MS-Windows console v8.0.1371
Bram Moolenaar [Tue, 5 Dec 2017 14:14:46 +0000 (15:14 +0100)]
patch 8.0.1371: Shift-Insert doesn't always work in MS-Windows console

Problem:    Shift-Insert doesn't always work in MS-Windows console.
Solution:   Handle K_NUL differently if the second character is more than one
            byte. (Yasuhiro Matsumoto, closes #2381)

7 years agopatch 8.0.1370: channel test for callback is flaky v8.0.1370
Bram Moolenaar [Tue, 5 Dec 2017 13:04:27 +0000 (14:04 +0100)]
patch 8.0.1370: channel test for callback is flaky

Problem:    Channel test for callback is flaky.
Solution:   Add the test to thelist of flaky tests.

7 years agopatch 8.0.1369: MS-Windows: drawing underline slow, mFallbackDC not updated v8.0.1369
Bram Moolenaar [Tue, 5 Dec 2017 12:22:16 +0000 (13:22 +0100)]
patch 8.0.1369: MS-Windows: drawing underline slow, mFallbackDC not updated

Problem:    MS-Windows: drawing underline, curl and strike-throw is slow,
            mFallbackDC not properly updated.
Solution:   Several performance improvements. (Ken Takata, Taro Muraoka,
            Yasuhiro Matsumoto, closes #2401)

7 years agopatch 8.0.1368: cannot drag status or separator of new terminal window v8.0.1368
Bram Moolenaar [Tue, 5 Dec 2017 12:06:16 +0000 (13:06 +0100)]
patch 8.0.1368: cannot drag status or separator of new terminal window

Problem:    Cannot drag status line or vertical separator of new terminal
            window. (UncleBill)
Solution:   Adjust mouse row and column computation. (Yasuhiro Matsumoto,
            closes #2410)

7 years agopatch 8.0.1367: terminal test hangs, executing abcde
Bram Moolenaar [Tue, 5 Dec 2017 11:30:03 +0000 (12:30 +0100)]
patch 8.0.1367: terminal test hangs, executing abcde

Problem:    terminal test hangs, executing abcde. (Stucki)
Solution:   Rename abcde to abxde.

7 years agopatch 8.0.1367 v8.0.1366 v8.0.1367
Bram Moolenaar [Sun, 3 Dec 2017 17:20:32 +0000 (18:20 +0100)]
patch 8.0.1367

7 years agopatch 8.0.1365: when one channel test fails others fail as well v8.0.1365
Bram Moolenaar [Sat, 2 Dec 2017 15:38:12 +0000 (16:38 +0100)]
patch 8.0.1365: when one channel test fails others fail as well

Problem:    When one channel test fails others fail as well.
Solution:   Stop the job after a failure.  Also add a couple of tests to the
            list of flaky tests.

7 years agopatch 8.0.1364: there is no easy way to get the window position v8.0.1364
Bram Moolenaar [Sat, 2 Dec 2017 14:43:37 +0000 (15:43 +0100)]
patch 8.0.1364: there is no easy way to get the window position

Problem:    There is no easy way to get the window position.
Solution:   Add win_screenpos().

7 years agopatch 8.0.1363: recovering does not work when swap file ends in .stz v8.0.1363
Bram Moolenaar [Sat, 2 Dec 2017 14:11:22 +0000 (15:11 +0100)]
patch 8.0.1363: recovering does not work when swap file ends in .stz

Problem:    Recovering does not work when swap file ends in .stz.
Solution:   Check for all possible swap file names. (Elfling, closes #2395,
            closes #2396)

7 years agopatch 8.0.1362: terminal window colors wrong when using Terminal highlighting v8.0.1362
Bram Moolenaar [Fri, 1 Dec 2017 20:07:20 +0000 (21:07 +0100)]
patch 8.0.1362: terminal window colors wrong when using Terminal highlighting

Problem:    Terminal window colors wrong when using Terminal highlighting.
Solution:   Set ansi_index when setting the default color.  Also cache the
            color index for Terminal. (Ozaki Kiichi, closes #2393)

7 years agopatch 8.0.1361: some users don't want to diff with hidden buffers v8.0.1361
Bram Moolenaar [Fri, 1 Dec 2017 19:35:58 +0000 (20:35 +0100)]
patch 8.0.1361: some users don't want to diff with hidden buffers

Problem:    Some users don't want to diff with hidden buffers.
Solution:   Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394)

7 years agopatch 8.0.1360: the Terminal highlighting doesn't work in a terminal v8.0.1360
Bram Moolenaar [Thu, 30 Nov 2017 21:07:07 +0000 (22:07 +0100)]
patch 8.0.1360: the Terminal highlighting doesn't work in a terminal

Problem:    The Terminal highlighting doesn't work in a terminal. (Ozaki
            Kiichi)
Solution:   Use the Terminal highlighting when the cterm index is zero.