vim
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.

7 years agoUpdate runtime files
Bram Moolenaar [Thu, 30 Nov 2017 19:27:52 +0000 (20:27 +0100)]
Update runtime files

7 years agopatch 8.0.1359: libvterm ANSI colors can not always be recognized v8.0.1359
Bram Moolenaar [Wed, 29 Nov 2017 21:33:38 +0000 (22:33 +0100)]
patch 8.0.1359: libvterm ANSI colors can not always be recognized

Problem:    Libvterm ANSI colors can not always be recognized from the RGB
            values. The default color is wrong when t_RB is empty.
Solution:   Add the ANSI color index to VTermColor.

7 years agopatch 8.0.1358: undercurl is not used in the terminal v8.0.1358
Bram Moolenaar [Tue, 28 Nov 2017 20:25:21 +0000 (21:25 +0100)]
patch 8.0.1358: undercurl is not used in the terminal

Problem:    Undercurl is not used in the terminal. (Kovid Goyal)
Solution:   Only fall back to underline when undercurl highlighting is not
            defined. (closes #1306)

7 years agopatch 8.0.1357: startup test fails on OpenBSD v8.0.1357
Bram Moolenaar [Tue, 28 Nov 2017 20:06:18 +0000 (21:06 +0100)]
patch 8.0.1357: startup test fails on OpenBSD

Problem:    Startup test fails on OpenBSD. (Edd Barrett)
Solution:   Check for "BSD" instead of "FreeBSD" being defined. (James McCoy,
            closes #2376, closes #2378)

7 years agopatch 8.0.1356: using simalt in a GUIEnter autocommand inserts characters v8.0.1356
Bram Moolenaar [Tue, 28 Nov 2017 19:47:40 +0000 (20:47 +0100)]
patch 8.0.1356: using simalt in a GUIEnter autocommand inserts characters

Problem:    Using simalt in a GUIEnter autocommand inserts strange characters.
            (Chih-Long Chang)
Solution:   Ignore K_NOP in Insert mode. (closes #2379)

7 years agopatch 8.0.1355: cursor keys don't work in MS-Windows console v8.0.1355
Bram Moolenaar [Tue, 28 Nov 2017 19:06:10 +0000 (20:06 +0100)]
patch 8.0.1355: cursor keys don't work in MS-Windows console

Problem:    Cursor keys don't work in MS-Windows console.
Solution:   Revert the previous patch.  Also delete dead code.

7 years agopatch 8.0.1354: Shift-Insert doesn't always work in MS-Windows console v8.0.1354
Bram Moolenaar [Tue, 28 Nov 2017 17:07:59 +0000 (18:07 +0100)]
patch 8.0.1354: 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. (Yasuhiro Matsumoto, closes #2381)

7 years agopatch 8.0.1353: QuickFixCmdPost is not used consistently v8.0.1353
Bram Moolenaar [Tue, 28 Nov 2017 17:03:44 +0000 (18:03 +0100)]
patch 8.0.1353: QuickFixCmdPost is not used consistently

Problem:    QuickFixCmdPost is not used consistently.
Solution:   Invoke QuickFixCmdPost consistently after QuickFixCmdPre.
            (Yegappan Lakshmanan, closes #2377)

7 years agopatch 8.0.1352: dead URLs in the help go unnoticed v8.0.1352
Bram Moolenaar [Tue, 28 Nov 2017 13:19:07 +0000 (14:19 +0100)]
patch 8.0.1352: dead URLs in the help go unnoticed

Problem:    Dead URLs in the help go unnoticed.
Solution:   Add a script to check URLs in the help files. (Christian Brabandt)

7 years agopatch 8.0.1351: warning for unused variables building with MinGW v8.0.1351
Bram Moolenaar [Mon, 27 Nov 2017 22:24:08 +0000 (23:24 +0100)]
patch 8.0.1351: warning for unused variables building with MinGW

Problem:    Warning for unused variables building with MinGW.
Solution:   Change a few #ifdefs (suggested by John Marriott). Remove
            superfluous checks of FEAT_MBYTE.

7 years agopatch 8.0.1350: cannot build with +eval and -multi_byte v8.0.1350
Bram Moolenaar [Mon, 27 Nov 2017 21:49:01 +0000 (22:49 +0100)]
patch 8.0.1350: cannot build with +eval and -multi_byte

Problem:    Cannot build with +eval and -multi_byte.
Solution:   Adjust #ifdefs. (John Marriott)  Always include the multi_byte
            feature when an input method feature is enabled.

7 years agopatch 8.0.1349: options test fails when using Motif or GTK GUI v8.0.1349
Bram Moolenaar [Sun, 26 Nov 2017 22:47:18 +0000 (23:47 +0100)]
patch 8.0.1349: options test fails when using Motif or GTK GUI

Problem:    Options test fails when using Motif or GTK GUI.
Solution:   Use "fixed" instead of "fixedsys" for Unix. Don't try "xxx" for
            guifonteset.  Don't set 'termencoding' to anything but "utf-8" for
            GTK.  Give an error if 'termencoding' can't be converted.

7 years agopatch 8.0.1348: make testclean deletes script file on MS-Windows v8.0.1348
Bram Moolenaar [Sun, 26 Nov 2017 16:18:06 +0000 (17:18 +0100)]
patch 8.0.1348: make testclean deletes script file on MS-Windows

Problem:    Make testclean deletes script file on MS-Windows.
Solution:   Rename file to avoid it starting with an "x".

7 years agopatch 8.0.1347: MS-Windows: build broken by misplaced curly v8.0.1347
Bram Moolenaar [Sun, 26 Nov 2017 16:08:03 +0000 (17:08 +0100)]
patch 8.0.1347: MS-Windows: build broken by misplaced curly

Problem:    MS-Windows: build broken by misplaced curly.
Solution:   Move curly after #endif

7 years agopatch 8.0.1346: crash when passing 50 char string to balloon_split() v8.0.1346
Bram Moolenaar [Sun, 26 Nov 2017 15:53:16 +0000 (16:53 +0100)]
patch 8.0.1346: crash when passing 50 char string to balloon_split()

Problem:    Crash when passing 50 char string to balloon_split().
Solution:   Fix off-by-one error.

7 years agopatch 8.0.1345: race condition between stat() and open() for viminfo v8.0.1345
Bram Moolenaar [Sun, 26 Nov 2017 15:50:41 +0000 (16:50 +0100)]
patch 8.0.1345: race condition between stat() and open() for viminfo

Problem:    Race condition between stat() and open() for the viminfo temp
            file. (Simon Ruderich)
Solution:   use open() with O_EXCL to atomically check if the file exists.
            Don't try using a temp file, renaming it will fail anyway.

7 years agopatch 8.0.1344: using 'imactivatefunc' in the GUI does not work v8.0.1344
Bram Moolenaar [Sun, 26 Nov 2017 13:56:16 +0000 (14:56 +0100)]
patch 8.0.1344: using 'imactivatefunc' in the GUI does not work

Problem:    Using 'imactivatefunc' in the GUI does not work.
Solution:   Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI.

7 years agopatch 8.0.1343: MS-Windows: does not show colored emojis v8.0.1343
Bram Moolenaar [Sun, 26 Nov 2017 13:29:32 +0000 (14:29 +0100)]
patch 8.0.1343: MS-Windows: does not show colored emojis

Problem:    MS-Windows: does not show colored emojis.
Solution:   Implement colored emojis. Improve drawing speed. Make 'taamode'
            work. (Taro Muraoka, Yasuhiro Matsumoto, Ken Takata, close #2375)

7 years agopatch 8.0.1342: cannot build with Motif and multi-byte v8.0.1342
Bram Moolenaar [Sat, 25 Nov 2017 20:07:46 +0000 (21:07 +0100)]
patch 8.0.1342: cannot build with Motif and multi-byte

Problem:    Cannot build with Motif and multi-byte. (Mohamed Boughaba)
Solution:   Use the right input method status flag. (closes #2374)

7 years agopatch 8.0.1341: 'imactivatefunc' test fails on MS-Windows v8.0.1341
Bram Moolenaar [Sat, 25 Nov 2017 16:58:28 +0000 (17:58 +0100)]
patch 8.0.1341: 'imactivatefunc' test fails on MS-Windows

Problem:    'imactivatefunc' test fails on MS-Windows.
Solution:   Skip the text.

7 years agopatch 8.0.1340: MS-Windows: cannot build GUI without IME v8.0.1340
Bram Moolenaar [Sat, 25 Nov 2017 16:48:33 +0000 (17:48 +0100)]
patch 8.0.1340: MS-Windows: cannot build GUI without IME

Problem:    MS-Windows: cannot build GUI without IME.
Solution:   Define im_get_status() and im_set_active() when IME is not used.

7 years agopatch 8.0.1339: no test for what 8.0.1335 fixes v8.0.1339
Bram Moolenaar [Sat, 25 Nov 2017 16:24:09 +0000 (17:24 +0100)]
patch 8.0.1339: no test for what 8.0.1335 fixes

Problem:    No test for what 8.0.1335 fixes.
Solution:   Add a test. (Yasuhiro Matsumoto, closes #2373)

7 years agopatch 8.0.1338: USE_IM_CONTROL is confusing and incomplete v8.0.1338
Bram Moolenaar [Sat, 25 Nov 2017 16:14:33 +0000 (17:14 +0100)]
patch 8.0.1338: USE_IM_CONTROL is confusing and incomplete

Problem:    USE_IM_CONTROL is confusing and incomplete.
Solution:   Just use FEAT_MBYTE.  Call 'imactivatefunc' also without GUI.

7 years agopatch 8.0.1337: typo in #ifdef v8.0.1337
Bram Moolenaar [Sat, 25 Nov 2017 14:24:56 +0000 (15:24 +0100)]
patch 8.0.1337: typo in #ifdef

Problem:    Typo in #ifdef.
Solution:   Fix the #if line.

7 years agopatch 8.0.1336: cannot use imactivatefunc() unless compiled with +xim v8.0.1336
Bram Moolenaar [Sat, 25 Nov 2017 14:20:02 +0000 (15:20 +0100)]
patch 8.0.1336: cannot use imactivatefunc() unless compiled with +xim

Problem:    Cannot use imactivatefunc() unless compiled with +xim.
Solution:   Allow using imactivatefunc() when not compiled with +xim.
            (Yasuhiro Matsumoto, closes #2349)

7 years agopatch 8.0.1335: writefile() using fsync() may give an error. v8.0.1335
Bram Moolenaar [Sat, 25 Nov 2017 13:37:11 +0000 (14:37 +0100)]
patch 8.0.1335: writefile() using fsync() may give an error.

Problem:    Writefile() using fsync() may give an error for a device.
            (Yasuhiro Matsumoto)
Solution:   Ignore fsync() failing. (closes #2373)

7 years agopatch 8.0.1334: splitting a window with a WinBar damages window layout v8.0.1334
Bram Moolenaar [Sat, 25 Nov 2017 13:19:43 +0000 (14:19 +0100)]
patch 8.0.1334: splitting a window with a WinBar damages window layout

Problem:    Splitting a window with a WinBar damages window layout.
            (Lifepillar)
Solution:   Take the winbar into account when computing the new window
            position.  Add WINBAR_HEIGHT().

7 years agopatch 8.0.1333: some tests are run twice v8.0.1333
Bram Moolenaar [Thu, 23 Nov 2017 21:52:09 +0000 (22:52 +0100)]
patch 8.0.1333: some tests are run twice

Problem:    Some tests are run twice.
Solution:   Invoked most utf8 tests only from test_alot_utf8. (Yegappan
            Lakshmanan, closes #2369)

7 years agopatch 8.0.1332: highlighting in quickfix window could be better v8.0.1332
Bram Moolenaar [Thu, 23 Nov 2017 21:05:45 +0000 (22:05 +0100)]
patch 8.0.1332: highlighting in quickfix window could be better

Problem:    Highlighting in quickfix window could be better. (Axel Bender)
Solution:   Use the qfSeparator highlight item. (Yegappan Lakshmanan)

7 years agopatch 8.0.1331: possible crash when window can be zero lines high v8.0.1331
Bram Moolenaar [Wed, 22 Nov 2017 21:22:11 +0000 (22:22 +0100)]
patch 8.0.1331: possible crash when window can be zero lines high

Problem:    Possible crash when window can be zero lines high. (Joseph
            Dornisch)
Solution:   Only set w_fraction if the window is at least two lines high.

7 years agoUpdate runtime files.
Bram Moolenaar [Tue, 21 Nov 2017 22:09:50 +0000 (23:09 +0100)]
Update runtime files.

7 years agopatch 8.0.1330: MS-Windows: job in terminal can't get back to Vim v8.0.1330
Bram Moolenaar [Tue, 21 Nov 2017 17:11:27 +0000 (18:11 +0100)]
patch 8.0.1330: MS-Windows: job in terminal can't get back to Vim

Problem:    MS-Windows: job in terminal can't get back to Vim.
Solution:   set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes
            #2360)

7 years agopatch 8.0.1329: when a flaky test fails it also often fails the second time v8.0.1329
Bram Moolenaar [Tue, 21 Nov 2017 14:14:51 +0000 (15:14 +0100)]
patch 8.0.1329: when a flaky test fails it also often fails the second time

Problem:    When a flaky test fails it also often fails the second time.
Solution:   Sleep a couple of seconds before the second try.

7 years agopatch 8.0.1328: trouble when using ":term ++close" with autocmd v8.0.1328
Bram Moolenaar [Tue, 21 Nov 2017 13:47:57 +0000 (14:47 +0100)]
patch 8.0.1328: trouble when using ":term ++close" with autocmd

Problem:    Trouble when using ":term ++close" with autocmd. (Gabriel Barta)
Solution:   Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf.
            (closes #2339)

7 years agopatch 8.0.1327: new proto file missing from distribution v8.0.1327
Bram Moolenaar [Tue, 21 Nov 2017 12:52:14 +0000 (13:52 +0100)]
patch 8.0.1327: new proto file missing from distribution

Problem:    New proto file missing from distribution.
Solution:   Add it. (closes #2355)

7 years agopatch 8.0.1326: largefile test fails on CI, glob test on MS-Windows v8.0.1326
Bram Moolenaar [Tue, 21 Nov 2017 10:43:08 +0000 (11:43 +0100)]
patch 8.0.1326: largefile test fails on CI, glob test on MS-Windows

Problem:    Largefile test fails on CI, glob test on MS-Windows.
Solution:   Remove largefile test from list of all tests. Don't run
            Test_glob() on non-unix systems.  More cleanup. (Yegappan
            Lakshmanan, closes #2354)

7 years agopatch 8.0.1325: more tests are not run v8.0.1325
Bram Moolenaar [Mon, 20 Nov 2017 21:08:10 +0000 (22:08 +0100)]
patch 8.0.1325: more tests are not run

Problem:    More tests are not run.
Solution:   Add targets to the list of tests. (Yegappan Lakshmanan)

7 years agopatch 8.0.1324: some xterm sends different mouse move codes v8.0.1324
Bram Moolenaar [Mon, 20 Nov 2017 20:52:24 +0000 (21:52 +0100)]
patch 8.0.1324: some xterm sends different mouse move codes

Problem:    Some xterm sends different mouse move codes.
Solution:   Also accept 0x80 as a move event.

7 years agopatch 8.0.1323: mouse events in a terminal window may cause endless loop v8.0.1323
Bram Moolenaar [Mon, 20 Nov 2017 20:49:19 +0000 (21:49 +0100)]
patch 8.0.1323: mouse events in a terminal window may cause endless loop

Problem:    Mouse events in a terminal window may cause endless loop.
Solution:   Adjust position computation.  Don't stuff a mouse event when
            coming from normal_cmd().

7 years agopatch 8.0.1322: textformat test isn't run v8.0.1322
Bram Moolenaar [Sun, 19 Nov 2017 19:38:05 +0000 (20:38 +0100)]
patch 8.0.1322: textformat test isn't run

Problem:    Textformat test isn't run. (Yegappan Lakshmanan)
Solution:   Add target to the list of tests.

7 years agopatch 8.0.1321: can't build huge version with Athena v8.0.1321
Bram Moolenaar [Sun, 19 Nov 2017 19:34:59 +0000 (20:34 +0100)]
patch 8.0.1321: can't build huge version with Athena

Problem:    Can't build huge version with Athena. (Mark Kelly)
Solution:   Move including beval.h to before structs.h. Include beval.pro like
            other proto files.

7 years agopatch 8.0.1320: popup test fails on GUI-only build v8.0.1320
Bram Moolenaar [Sun, 19 Nov 2017 19:32:49 +0000 (20:32 +0100)]
patch 8.0.1320: popup test fails on GUI-only build

Problem:    Popup test fails on GUI-only build.
Solution:   Don't test balloon_split() when it's not available.

7 years agopatch 8.0.1319: can't build GUI on MS-Windows v8.0.1319
Bram Moolenaar [Sun, 19 Nov 2017 19:13:05 +0000 (20:13 +0100)]
patch 8.0.1319: can't build GUI on MS-Windows

Problem:    Can't build GUI on MS-Windows.
Solution:   Don't define the balloon_split() function in a GUI-only build.

7 years agopatch 8.0.1318: terminal balloon only shows one line v8.0.1318
Bram Moolenaar [Sun, 19 Nov 2017 18:56:27 +0000 (19:56 +0100)]
patch 8.0.1318: terminal balloon only shows one line

Problem:    Terminal balloon only shows one line.
Solution:   Split into several lines in a clever way.  Add balloon_split().
            Make balloon_show() accept a list in the terminal.

7 years agopatch 8.0.1317: accessing freed memory in term_wait() v8.0.1317
Bram Moolenaar [Sun, 19 Nov 2017 14:05:44 +0000 (15:05 +0100)]
patch 8.0.1317: accessing freed memory in term_wait()

Problem:    Accessing freed memory in term_wait(). (Dominique Pelle)
Solution:   Check that the buffer still exists.

7 years agopatch 8.0.1316: build still still fails on Mac v8.0.1316
Bram Moolenaar [Sat, 18 Nov 2017 22:23:01 +0000 (23:23 +0100)]
patch 8.0.1316: build still still fails on Mac

Problem:    Build still still fails on Mac. (chdiza)
Solution:   Remove another bogus typedef.

7 years agopatch 8.0.1315: build still fails on Mac v8.0.1315
Bram Moolenaar [Sat, 18 Nov 2017 22:09:37 +0000 (23:09 +0100)]
patch 8.0.1315: build still fails on Mac

Problem:    Build still fails on Mac. (chdiza)
Solution:   Remove bogus typedef.

7 years agopatch 8.0.1314: build fails on Mac v8.0.1314
Bram Moolenaar [Sat, 18 Nov 2017 21:49:58 +0000 (22:49 +0100)]
patch 8.0.1314: build fails on Mac

Problem:    Build fails on Mac. (chdiza)
Solution:   Add #ifdef around GUI fields.

7 years agopatch 8.0.1313: missing dependencies cause parallel make to fail v8.0.1313
Bram Moolenaar [Sat, 18 Nov 2017 21:36:34 +0000 (22:36 +0100)]
patch 8.0.1313: missing dependencies cause parallel make to fail

Problem:    Missing dependencies cause parallel make to fail.
Solution:   Update dependencies.

7 years agopatch 8.0.1312: balloon_show() only works in terminal when compiled with GUI v8.0.1312
Bram Moolenaar [Sat, 18 Nov 2017 21:13:31 +0000 (22:13 +0100)]
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI

Problem:    balloon_show() only works in terminal when compiled with the GUI.
Solution:   Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
            specific file.

7 years agopatch 8.0.1311: no test for strpart() v8.0.1311
Bram Moolenaar [Sat, 18 Nov 2017 19:32:03 +0000 (20:32 +0100)]
patch 8.0.1311: no test for strpart()

Problem:    No test for strpart().
Solution:   Add a test. (Dominique Pelle, closes #2347)

7 years agopatch 8.0.1310: cproto generates errors because of missing type v8.0.1310
Bram Moolenaar [Sat, 18 Nov 2017 19:22:24 +0000 (20:22 +0100)]
patch 8.0.1310: cproto generates errors because of missing type

Problem:    Cproto generates errors because of missing type.
Solution:   Define _Float128 when generating prototypes.

7 years agopatch 8.0.1309: cannot use 'balloonexpr' in a terminal v8.0.1309
Bram Moolenaar [Sat, 18 Nov 2017 17:52:04 +0000 (18:52 +0100)]
patch 8.0.1309: cannot use 'balloonexpr' in a terminal

Problem:    Cannot use 'balloonexpr' in a terminal.
Solution:   Add 'balloonevalterm' and add code to handle mouse movements in a
            terminal. Initial implementation for Unix with GUI.

7 years agopatch 8.0.1308: the "Reading from stdin" message may be undesired v8.0.1308
Bram Moolenaar [Sat, 18 Nov 2017 13:55:23 +0000 (14:55 +0100)]
patch 8.0.1308: the "Reading from stdin" message may be undesired

Problem:    The "Reading from stdin" message may be undesired and there is no
            easy way to skip it.
Solution:   Don't show the message with --not-a-term was used.

7 years agopatch 8.0.1307: compiler warning for ignoring return value v8.0.1307
Bram Moolenaar [Fri, 17 Nov 2017 20:35:24 +0000 (21:35 +0100)]
patch 8.0.1307: compiler warning for ignoring return value

Problem:    Compiler warning for ignoring return value of ftruncate(). (Tony
            Mechelynck)
Solution:   Assign returned value to "ignore".

7 years agopatch 8.0.1306: ASAN error stack trace is not useful v8.0.1306
Bram Moolenaar [Fri, 17 Nov 2017 20:25:08 +0000 (21:25 +0100)]
patch 8.0.1306: ASAN error stack trace is not useful

Problem:    ASAN error stack trace is not useful.
Solution:   Add "asan_symbolize". (James McCoy, closes #2344)

7 years agopatch 8.0.1305: writefile() never calls fsync() v8.0.1305
Bram Moolenaar [Thu, 16 Nov 2017 22:04:15 +0000 (23:04 +0100)]
patch 8.0.1305: writefile() never calls fsync()

Problem:    Writefile() never calls fsync().
Solution:   Follow the 'fsync' option with override to enable or disable.

7 years agopatch 8.0.1304: CTRL-G/CTRL-T don't work with incsearch and empty pattern v8.0.1304
Bram Moolenaar [Thu, 16 Nov 2017 21:20:39 +0000 (22:20 +0100)]
patch 8.0.1304: CTRL-G/CTRL-T don't work with incsearch and empty pattern

Problem:    CTRL-G/CTRL-T don't work with incsearch and empty pattern.
Solution:   Use the last search pattern. (Christian Brabandt, closes #2292)

7 years agopatch 8.0.1303: 'ttymouse' is not set to "sgr" for Terminal.app and Iterm2 v8.0.1303
Bram Moolenaar [Thu, 16 Nov 2017 21:07:13 +0000 (22:07 +0100)]
patch 8.0.1303: 'ttymouse' is not set to "sgr" for Terminal.app and Iterm2

Problem:    'ttymouse' is not set to "sgr" for Terminal.app and Iterm2.
Solution:   Recognize Iterm2 by the termresponse.

7 years agopatch 8.0.1302: still too many old style tests v8.0.1302
Bram Moolenaar [Thu, 16 Nov 2017 20:52:51 +0000 (21:52 +0100)]
patch 8.0.1302: still too many old style tests

Problem:    Still too many old style tests.
Solution:   Convert a few more tests to new style. (Yegappan Lakshmanan,
            closes #2326)

7 years agopatch 8.0.1301: generated license file for NSIS has a modeline v8.0.1301
Bram Moolenaar [Thu, 16 Nov 2017 16:36:02 +0000 (17:36 +0100)]
patch 8.0.1301: generated license file for NSIS has a modeline

Problem:    Generated license file for NSIS has a modeline.
Solution:   Adjust the pattern for sed. (Ken Takata)

7 years agopatch 8.0.1300: file permissions may end up wrong when writing v8.0.1300
Bram Moolenaar [Thu, 16 Nov 2017 16:03:45 +0000 (17:03 +0100)]
patch 8.0.1300: file permissions may end up wrong when writing

Problem:    File permissions may end up wrong when writing.
Solution:   Use fchmod() instead of chmod() when possible.  Don't truncate
            until we know we can change the file.

7 years agopatch 8.0.1299: bracketed paste does not work well in terminal window v8.0.1299
Bram Moolenaar [Thu, 16 Nov 2017 12:08:04 +0000 (13:08 +0100)]
patch 8.0.1299: bracketed paste does not work well in terminal window

Problem:    Bracketed paste does not work well in terminal window.
Solution:   Send translated string to job right away. (Ozaki Kiichi, closes
            #2341)

7 years agopatch 8.0.1298: missing test file v8.0.1298
Bram Moolenaar [Tue, 14 Nov 2017 19:23:15 +0000 (20:23 +0100)]
patch 8.0.1298: missing test file

Problem:    Missing test file.
Solution:   Add samples/test000. (Christian Brabandt)

7 years agopatch 8.0.1297: +autoservername does not show enabled on MS-Windows v8.0.1297
Bram Moolenaar [Mon, 13 Nov 2017 21:08:16 +0000 (22:08 +0100)]
patch 8.0.1297: +autoservername does not show enabled on MS-Windows

Problem:    +autoservername does not show enabled on MS-Windows.
Solution:   Always define the flag on MS-Windows. (Ken Takata)

7 years agopatch 8.0.1296: checking the same condition twice v8.0.1296
Bram Moolenaar [Mon, 13 Nov 2017 20:10:04 +0000 (21:10 +0100)]
patch 8.0.1296: checking the same condition twice

Problem:    Checking the same condition twice. (John Marriott)
Solution:   Check blinkwait.

7 years agopatch 8.0.1295: cannot automatically get a server name in a terminal v8.0.1295
Bram Moolenaar [Sun, 12 Nov 2017 18:21:51 +0000 (19:21 +0100)]
patch 8.0.1295: cannot automatically get a server name in a terminal

Problem:    Cannot automatically get a server name in a terminal.
Solution:   Add the --enable-autoservername flag to configure. (Cimbali,
            closes #2317)

7 years agopatch 8.0.1294: GUI: get stuck when splitting a terminal window v8.0.1294
Bram Moolenaar [Sun, 12 Nov 2017 17:32:00 +0000 (18:32 +0100)]
patch 8.0.1294: GUI: get stuck when splitting a terminal window

Problem:    GUI: get stuck when splitting a terminal window.
Solution:   Stop blinking when values become zero. (Hirohito Higashi)

7 years agopatch 8.0.1293: setting a breakpoint in the terminal debugger sometimes fails v8.0.1293
Bram Moolenaar [Sun, 12 Nov 2017 17:02:06 +0000 (18:02 +0100)]
patch 8.0.1293: setting a breakpoint in the terminal debugger sometimes fails

Problem:    Setting a breakpoint in the terminal debugger sometimes fails.
Solution:   Interrupt the program if needed.  Set the interface to async.

7 years agopatch 8.0.1292: quick clicks in the WinBar start Visual mode v8.0.1292
Bram Moolenaar [Sun, 12 Nov 2017 15:56:12 +0000 (16:56 +0100)]
patch 8.0.1292: quick clicks in the WinBar start Visual mode

Problem:    Quick clicks in the WinBar start Visual mode.
Solution:   Use a double click in the WinBar like a normal click.

7 years agopatch 8.0.1291: C indent wrong when * immediately follows comment v8.0.1291
Bram Moolenaar [Sun, 12 Nov 2017 14:36:38 +0000 (15:36 +0100)]
patch 8.0.1291: C indent wrong when * immediately follows comment

Problem:    C indent wrong when * immediately follows comment. (John Bowler)
Solution:   Do not see "/*" after "*" as a comment start. (closes #2321)

7 years agopatch 8.0.1290: seq_cur of undotree() wrong after undo v8.0.1290
Bram Moolenaar [Sat, 11 Nov 2017 22:37:08 +0000 (23:37 +0100)]
patch 8.0.1290: seq_cur of undotree() wrong after undo

Problem:    seq_cur of undotree() wrong after undo.
Solution:   Get the actual sequence number instead of decrementing the current
            one. (Ozaki Kiichi, closes #2319)

7 years agoUpdate runtime files.
Bram Moolenaar [Sat, 11 Nov 2017 19:58:53 +0000 (20:58 +0100)]
Update runtime files.

7 years agopatch 8.0.1289: mkview always includes the local directory v8.0.1289
Bram Moolenaar [Sat, 11 Nov 2017 17:16:48 +0000 (18:16 +0100)]
patch 8.0.1289: mkview always includes the local directory

Problem:    Mkview always includes the local directory.
Solution:   Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes
            #2316)

7 years agopatch 8.0.1288: GUI: cannot drag the statusline of a terminal window v8.0.1288
Bram Moolenaar [Sat, 11 Nov 2017 16:09:09 +0000 (17:09 +0100)]
patch 8.0.1288: GUI: cannot drag the statusline of a terminal window

Problem:    GUI: cannot drag the statusline of a terminal window.
Solution:   Handle the TERMINAL state. (Hirohito Higashi)

7 years agopatch 8.0.1287: temp file used for viminfo may have wrong permissions v8.0.1287
Bram Moolenaar [Sat, 11 Nov 2017 15:45:19 +0000 (16:45 +0100)]
patch 8.0.1287: temp file used for viminfo may have wrong permissions

Problem:    The temp file used when updating the viminfo file may have the
            wrong permissions if setting the group fails.
Solution:   Check if the group matches and reduce permissions if not.

7 years agopatch 8.0.1286: occasional crash when using a channel v8.0.1286
Bram Moolenaar [Sat, 11 Nov 2017 14:54:00 +0000 (15:54 +0100)]
patch 8.0.1286: occasional crash when using a channel

Problem:    Occasional crash when using a channel. (Marek)
Solution:   Decrement reference count later. (closes #2315)

7 years agopatch 8.0.1285: occasional crash when using a channel v8.0.1285
Bram Moolenaar [Sat, 11 Nov 2017 14:37:45 +0000 (15:37 +0100)]
patch 8.0.1285: occasional crash when using a channel

Problem:    Occasional crash when using a channel. (Marek)
Solution:   Decrement reference count later. (closes #2315)

7 years agopatch 8.0.1284: loading file type detection slows down startup v8.0.1284
Bram Moolenaar [Fri, 10 Nov 2017 20:53:11 +0000 (21:53 +0100)]
patch 8.0.1284: loading file type detection slows down startup

Problem:    Loading file type detection slows down startup.
Solution:   Store the last pattern of an autocommand event to make appending
            quicker.

7 years agopatch 8.0.1283: test 86 fails under ASAN v8.0.1283
Bram Moolenaar [Thu, 9 Nov 2017 21:10:33 +0000 (22:10 +0100)]
patch 8.0.1283: test 86 fails under ASAN

Problem:    Test 86 fails under ASAN.
Solution:   Fix that an item was added to a dictionary twice.

7 years agopatch 8.0.1282: script-local variable defined in the wrong script v8.0.1282
Bram Moolenaar [Thu, 9 Nov 2017 20:05:31 +0000 (21:05 +0100)]
patch 8.0.1282: script-local variable defined in the wrong script

Problem:    script-local variable defined in the wrong script
Solution:   Move variable to autoload/filetype.vim.

7 years agopatch 8.0.1281: loading file type detection slows down startup v8.0.1281
Bram Moolenaar [Thu, 9 Nov 2017 19:46:17 +0000 (20:46 +0100)]
patch 8.0.1281: loading file type detection slows down startup

Problem:    Loading file type detection slows down startup.
Solution:   Move functions to an autoload script.

7 years agopatch 8.0.1280: Python None cannot be converted to a Vim type v8.0.1280
Bram Moolenaar [Thu, 9 Nov 2017 18:56:08 +0000 (19:56 +0100)]
patch 8.0.1280: Python None cannot be converted to a Vim type

Problem:    Python None cannot be converted to a Vim type.
Solution:   Convert it to v:none. (Ken Takata)

7 years agopatch 8.0.1279: initializing menus can be slow v8.0.1279
Bram Moolenaar [Thu, 9 Nov 2017 18:45:48 +0000 (19:45 +0100)]
patch 8.0.1279: initializing menus can be slow

Problem:    Initializing menus can be slow, especially when there are many
            keymaps, color schemes, etc.
Solution:   Do the globbing for runtime files lazlily. (Ken Takata)

7 years agopatch 8.0.1278: GUI window always resizes when adding scrollbar v8.0.1278
Bram Moolenaar [Thu, 9 Nov 2017 17:33:29 +0000 (18:33 +0100)]
patch 8.0.1278: GUI window always resizes when adding scrollbar

Problem:    GUI window always resizes when adding/removing a scrollbar,
            toolbar, etc.
Solution:   Add the 'k' flag in 'guioptions' to keep the GUI window size and
            change the number of lines/columns instead. (Ychin, closes #703)

7 years agopatch 8.0.1277: terminal window CR-NL conversions may cause problems v8.0.1277
Bram Moolenaar [Thu, 9 Nov 2017 16:33:11 +0000 (17:33 +0100)]
patch 8.0.1277: terminal window CR-NL conversions may cause problems

Problem:    Terminal window CR-NL conversions may cause problems.
Solution:   Avoid most conversions, only fetch the current backspace key value
            from the tty. (mostly by Ozaki Kiichi, closes #2278)