]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.1374: check for file changed triggers too often v8.1.1374
Bram Moolenaar [Fri, 24 May 2019 09:45:22 +0000 (11:45 +0200)]
patch 8.1.1374: check for file changed triggers too often

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

5 years agopatch 8.1.1322: Cygwin makefile is not nicely indented v8.1.1322
Bram Moolenaar [Sat, 11 May 2019 19:24:26 +0000 (21:24 +0200)]
patch 8.1.1322: Cygwin makefile is not nicely indented

Problem:    Cygwin makefile is not nicely indented.
Solution:   Addjust spaces in preprocessor directives. (Ken Takata)

5 years agopatch 8.1.1321: no docs or tests for listener functions v8.1.1321
Bram Moolenaar [Sat, 11 May 2019 19:14:24 +0000 (21:14 +0200)]
patch 8.1.1321: no docs or tests for listener functions

Problem:    No docs or tests for listener functions.
Solution:   Add help and tests for listener_add() and listener_remove().
            Invoke the callbacks before redrawing.

5 years agopatch 8.1.1320: it is not possible to track changes to a buffer v8.1.1320
Bram Moolenaar [Sat, 11 May 2019 17:14:16 +0000 (19:14 +0200)]
patch 8.1.1320: it is not possible to track changes to a buffer

Problem:    It is not possible to track changes to a buffer.
Solution:   Add listener_add() and listener_remove(). No docs or tests yet.

5 years agopatch 8.1.1319: computing function length name in many places v8.1.1319
Bram Moolenaar [Sat, 11 May 2019 16:37:44 +0000 (18:37 +0200)]
patch 8.1.1319: computing function length name in many places

Problem:    Computing function length name in many places.
Solution:   compute name length in call_func().

5 years agopatch 8.1.1318: code for text changes is in a "misc" file v8.1.1318
Bram Moolenaar [Sat, 11 May 2019 16:36:34 +0000 (18:36 +0200)]
patch 8.1.1318: code for text changes is in a "misc" file

Problem:    Code for text changes is in a "misc" file.
Solution:   Move the code to change.c.

5 years agoAdd missing files from patch 8.1.1318
Bram Moolenaar [Sat, 11 May 2019 16:30:00 +0000 (18:30 +0200)]
Add missing files from patch 8.1.1318

5 years agopatch 8.1.1317: output from Travis can be improved v8.1.1317
Bram Moolenaar [Sat, 11 May 2019 12:34:13 +0000 (14:34 +0200)]
patch 8.1.1317: output from Travis can be improved

Problem:    Output from Travis can be improved.
Solution:   Add section headers.  Handle errors better. (closes #4098)

5 years agopatch 8.1.1316: duplicated localtime() call v8.1.1316
Bram Moolenaar [Sat, 11 May 2019 11:09:42 +0000 (13:09 +0200)]
patch 8.1.1316: duplicated localtime() call

Problem:    Duplicated localtime() call.
Solution:   Delete one.

5 years agopatch 8.1.1315: there is always a delay if a termrequest is never answered v8.1.1315
Bram Moolenaar [Fri, 10 May 2019 21:10:31 +0000 (23:10 +0200)]
patch 8.1.1315: there is always a delay if a termrequest is never answered

Problem:    There is always a delay if a termrequest is never answered.
Solution:   When the response is not received within two seconds consider the
            request to have failed.

5 years agopatch 8.1.1314: MSVC makefile is not nicely indented v8.1.1314
Bram Moolenaar [Fri, 10 May 2019 19:38:54 +0000 (21:38 +0200)]
patch 8.1.1314: MSVC makefile is not nicely indented

Problem:    MSVC makefile is not nicely indented.
Solution:   Addjust spaces in preprocessor directives. (Ken Takata)

5 years agopatch 8.1.1313: warnings for using localtime() and ctime() v8.1.1313
Bram Moolenaar [Fri, 10 May 2019 19:28:38 +0000 (21:28 +0200)]
patch 8.1.1313: warnings for using localtime() and ctime()

Problem:    Warnings for using localtime() and ctime().
Solution:   Use localtime_r() if available.  Avoid using ctime().

5 years agopatch 8.1.1312: Coverity warning for using uninitialized variable v8.1.1312
Bram Moolenaar [Thu, 9 May 2019 19:48:37 +0000 (21:48 +0200)]
patch 8.1.1312: Coverity warning for using uninitialized variable

Problem:    Coverity warning for using uninitialized variable.
Solution:   Clear exarg_T.

5 years agopatch 8.1.1311: aborting an autocmd with an exception is not tested v8.1.1311
Bram Moolenaar [Thu, 9 May 2019 19:38:43 +0000 (21:38 +0200)]
patch 8.1.1311: aborting an autocmd with an exception is not tested

Problem:    Aborting an autocmd with an exception is not tested.
Solution:   Add a test.  Also shows how to abort a command by throwing an
            exception.

5 years agopatch 8.1.1310: named function arguments are never optional v8.1.1310
Bram Moolenaar [Thu, 9 May 2019 19:08:58 +0000 (21:08 +0200)]
patch 8.1.1310: named function arguments are never optional

Problem:    Named function arguments are never optional.
Solution:   Support optional function arguments with a default value. (Andy
            Massimino, closes #3952)

5 years agopatch 8.1.1309: test for Normal highlight fails on MS-Windows GUI v8.1.1309
Bram Moolenaar [Thu, 9 May 2019 18:07:33 +0000 (20:07 +0200)]
patch 8.1.1309: test for Normal highlight fails on MS-Windows GUI

Problem:    Test for Normal highlight fails on MS-Windows GUI.
Solution:   Skip the test for MS-Windows GUI.

5 years agopatch 8.1.1308: the Normal highlight is not defined when compiled with GUI v8.1.1308
Bram Moolenaar [Thu, 9 May 2019 17:26:38 +0000 (19:26 +0200)]
patch 8.1.1308: the Normal highlight is not defined when compiled with GUI

Problem:    The Normal highlight is not defined when compiled with GUI.
Solution:   Always define Normal. (Christian Brabandt, closes #4072)

5 years agoUpdate runtime files
Bram Moolenaar [Thu, 9 May 2019 17:16:22 +0000 (19:16 +0200)]
Update runtime files

5 years agopatch 8.1.1307: cannot reconnect to the X server after it restarted v8.1.1307
Bram Moolenaar [Thu, 9 May 2019 16:59:31 +0000 (18:59 +0200)]
patch 8.1.1307: cannot reconnect to the X server after it restarted

Problem:    Cannot reconnect to the X server after it restarted.
Solution:   Add the :xrestore command. (Adrian Kocis, closes #844)

5 years agopatch 8.1.1306: Borland support is outdated and doesn't work v8.1.1306
Bram Moolenaar [Thu, 9 May 2019 13:12:55 +0000 (15:12 +0200)]
patch 8.1.1306: Borland support is outdated and doesn't work

Problem:    Borland support is outdated and doesn't work.
Solution:   Remove Borland support, there are other (free) compilers
            available. (Thomas Dziedzic, Ken Takata, closes #4364)

5 years agopatch 8.1.1305: there is no easy way to manipulate environment variables v8.1.1305
Bram Moolenaar [Thu, 9 May 2019 12:52:41 +0000 (14:52 +0200)]
patch 8.1.1305: there is no easy way to manipulate environment variables

Problem:    There is no easy way to manipulate environment variables.
Solution:   Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto,
            closes #2875)

5 years agopatch 8.1.1304: MS-Windows: compiler warning for unused value v8.1.1304
Bram Moolenaar [Thu, 9 May 2019 12:14:42 +0000 (14:14 +0200)]
patch 8.1.1304: MS-Windows: compiler warning for unused value

Problem:    MS-Windows: compiler warning for unused value.
Solution:   Adjust #ifdefs. (Ken Takata, closes #4363)

5 years agopatch 8.1.1303: not possible to hide a balloon v8.1.1303
Bram Moolenaar [Thu, 9 May 2019 11:50:16 +0000 (13:50 +0200)]
patch 8.1.1303: not possible to hide a balloon

Problem:    Not possible to hide a balloon.
Solution:   Hide the balloon when balloon_show() is called with an empty
            string or list.  Add balloon_gettext().

5 years agopatch 8.1.1302: v:beval_text is not tested in Visual mode v8.1.1302
Bram Moolenaar [Wed, 8 May 2019 20:55:16 +0000 (22:55 +0200)]
patch 8.1.1302: v:beval_text is not tested in Visual mode

Problem:    v:beval_text is not tested in Visual mode.
Solution:   Add a screenshot of the balloon in Visual mode.

5 years agopatch 8.1.1301: when compiled with VIMDLL some messages are not shown v8.1.1301
Bram Moolenaar [Wed, 8 May 2019 20:28:46 +0000 (22:28 +0200)]
patch 8.1.1301: when compiled with VIMDLL some messages are not shown

Problem:    When compiled with VIMDLL some messages are not shown.
Solution:   Set/reset gui.in_use and gui.starting as needed. (Ken Takata,
            closes #4361)

5 years agopatch 8.1.1300: in a terminal 'ballooneval' does not work right away v8.1.1300
Bram Moolenaar [Wed, 8 May 2019 19:59:25 +0000 (21:59 +0200)]
patch 8.1.1300: in a terminal 'ballooneval' does not work right away

Problem:    In a terminal 'ballooneval' does not work right away.
Solution:   Flush output after drawing the balloon.  Add the <Ignore> key
            code.  Add a test.

5 years agopatch 8.1.1299: "extends" from 'listchars' is used when 'list' is off v8.1.1299
Bram Moolenaar [Wed, 8 May 2019 18:20:46 +0000 (20:20 +0200)]
patch 8.1.1299: "extends" from 'listchars' is used when 'list' is off

Problem:    "extends" from 'listchars' is used when 'list' is off. (Hiroyuki
            Yoshinaga)
Solution:   Only use the "extends" character when 'list' is on. (Hirohito
            Higashi, closes #4360)

5 years agopatch 8.1.1298: invalid argument test fails without X clipboard v8.1.1298
Bram Moolenaar [Wed, 8 May 2019 16:36:43 +0000 (18:36 +0200)]
patch 8.1.1298: invalid argument test fails without X clipboard

Problem:    Invalid argument test fails without X clipboard.
Solution:   Test -display only with the +xterm_clipboard feature.

5 years agopatch 8.1.1297: invalid argument test fails without GTK v8.1.1297
Bram Moolenaar [Wed, 8 May 2019 15:58:15 +0000 (17:58 +0200)]
patch 8.1.1297: invalid argument test fails without GTK

Problem:    Invalid argument test fails without GTK.
Solution:   Test -display and --display separately.

5 years agopatch 8.1.1296: crash when using invalid command line argument v8.1.1296
Bram Moolenaar [Wed, 8 May 2019 14:41:09 +0000 (16:41 +0200)]
patch 8.1.1296: crash when using invalid command line argument

Problem:    Crash when using invalid command line argument.
Solution:   Check for options not being initialized.

5 years agopatch 8.1.1295: when vimrun.exe does not exist external command may fail v8.1.1295
Bram Moolenaar [Tue, 7 May 2019 21:01:39 +0000 (23:01 +0200)]
patch 8.1.1295: when vimrun.exe does not exist external command may fail

Problem:    When vimrun.exe does not exist external command may fail.
Solution:   Use "cmd /c" twice to get the same behavior. (Ken Takata,
            closes #4355)

5 years agopatch 8.1.1294: MS-Windows: Some fonts return wrong average char width v8.1.1294
Bram Moolenaar [Tue, 7 May 2019 20:52:50 +0000 (22:52 +0200)]
patch 8.1.1294: MS-Windows: Some fonts return wrong average char width

Problem:    MS-Windows: Some fonts return wrong average char width.
Solution:   Compute the average ourselves. (Ken Takata, closes #4356)

5 years agopatch 8.1.1293: MSVC files are no longer useful v8.1.1293
Bram Moolenaar [Tue, 7 May 2019 20:25:27 +0000 (22:25 +0200)]
patch 8.1.1293: MSVC files are no longer useful

Problem:    MSVC files are no longer useful for debugging.  Newer Visual
            Studio versions cannot read them.
Solution:   Delete the files. (Ken Takata, closes #4357)

5 years agopatch 8.1.1292: invalid command line arguments not tested v8.1.1292
Bram Moolenaar [Tue, 7 May 2019 20:10:50 +0000 (22:10 +0200)]
patch 8.1.1292: invalid command line arguments not tested

Problem:    Invalid command line arguments not tested.
Solution:   Add a test. (Dominique Pelle, closes #4346)

5 years agopatch 8.1.1291: not easy to change directory and restore v8.1.1291
Bram Moolenaar [Tue, 7 May 2019 20:06:52 +0000 (22:06 +0200)]
patch 8.1.1291: not easy to change directory and restore

Problem:    Not easy to change directory and restore.
Solution:   Add the chdir() function. (Yegappan Lakshmanan, closes #4358)

5 years agopatch 8.1.1290: .hgignore and .gitignore are either distributed or in git v8.1.1290
Bram Moolenaar [Tue, 7 May 2019 19:48:51 +0000 (21:48 +0200)]
patch 8.1.1290: .hgignore and .gitignore are either distributed or in git

Problem:    .hgignore and .gitignore are either distributed or in git, not
            both.
Solution:   Add .gitignore to the distribution and .hgignore to git.  Update
            the entries. (Christian Brabandt, Ken Takata)

5 years agopatch 8.1.1289: may not have enough space to add "W" to search stats v8.1.1289
Bram Moolenaar [Tue, 7 May 2019 19:34:37 +0000 (21:34 +0200)]
patch 8.1.1289: may not have enough space to add "W" to search stats

Problem:    May not have enough space to add "W" to search stats.
Solution:   Reserve a bit more space. (Christian Brabandt)

5 years agopatch 8.1.1288: search stats don't show for mapped command v8.1.1288
Bram Moolenaar [Tue, 7 May 2019 19:29:11 +0000 (21:29 +0200)]
patch 8.1.1288: search stats don't show for mapped command

Problem:    Search stats don't show for mapped command.
Solution:   Remove SEARCH_PEEK from searchit flags.  Add a test. (Christian
            Brabandt)

5 years agopatch 8.1.1287: cannot build with +eval but without +mouse v8.1.1287
Bram Moolenaar [Tue, 7 May 2019 14:28:13 +0000 (16:28 +0200)]
patch 8.1.1287: cannot build with +eval but without +mouse

Problem:    Cannot build with +eval but without +mouse.
Solution:   Add #ifdefs around f_test_setmouse(). (John Marriott)

5 years agopatch 8.1.1286: running tests leaves XTest_tabpage_cmdheight file behind v8.1.1286
Bram Moolenaar [Mon, 6 May 2019 20:03:39 +0000 (22:03 +0200)]
patch 8.1.1286: running tests leaves XTest_tabpage_cmdheight file behind

Problem:    Running tests leaves XTest_tabpage_cmdheight file behind.
Solution:   Delete the right file. (closes #4350)

5 years agopatch 8.1.1285: test17 is old style v8.1.1285
Bram Moolenaar [Mon, 6 May 2019 20:00:00 +0000 (22:00 +0200)]
patch 8.1.1285: test17 is old style

Problem:    Test17 is old style.
Solution:   Turn into new style test. (Yegappan Lakshmanan, closes #4347)

5 years agopatch 8.1.1284: detecting *.tmpl as htmlcheetah is outdated v8.1.1284
Bram Moolenaar [Mon, 6 May 2019 19:46:10 +0000 (21:46 +0200)]
patch 8.1.1284: detecting *.tmpl as htmlcheetah is outdated

Problem:    Detecting *.tmpl as htmlcheetah is outdated.
Solution:   Use the generic name "template". (closes #4348)

5 years agopatch 8.1.1283: delaying half a second after the top-bot message v8.1.1283
Bram Moolenaar [Mon, 6 May 2019 19:37:18 +0000 (21:37 +0200)]
patch 8.1.1283: delaying half a second after the top-bot message

Problem:    Delaying half a second after the top-bot message.
Solution:   Instead of the delay add "W" to the search count.

5 years agopatch 8.1.1282: running make in src/po leaves LINGUAS file behind v8.1.1282
Bram Moolenaar [Sun, 5 May 2019 19:01:51 +0000 (21:01 +0200)]
patch 8.1.1282: running make in src/po leaves LINGUAS file behind

Problem:    Running make in src/po leaves LINGUAS file behind. (Ken Takata)
Solution:   Delete LINGUAS after running msgfmt.

5 years agopatch 8.1.1281: cannot specify a count with :chistory v8.1.1281
Bram Moolenaar [Sun, 5 May 2019 19:00:26 +0000 (21:00 +0200)]
patch 8.1.1281: cannot specify a count with :chistory

Problem:    Cannot specify a count with :chistory.
Solution:   Add a count to :chistory and :lhistory. (Yegappan Lakshmanan,
            closes #4344)

5 years agopatch 8.1.1280: remarks about functionality not in Vi clutters the help v8.1.1280
Bram Moolenaar [Sun, 5 May 2019 16:13:34 +0000 (18:13 +0200)]
patch 8.1.1280: remarks about functionality not in Vi clutters the help

Problem:    Remarks about functionality not in Vi clutters the help.
Solution:   Move all info about what is new in Vim or already existed in Vi to
            vi_diff.txt.  Remove {not in Vi} remarks. (closes #4268) Add
            "noet" to the help files modeline.  Also include many other help
            file improvements.

5 years agopatch 8.1.1279: cannot set 'spellang' to "sr@latin" v8.1.1279
Bram Moolenaar [Sun, 5 May 2019 14:55:03 +0000 (16:55 +0200)]
patch 8.1.1279: cannot set 'spellang' to "sr@latin"

Problem:    Cannot set 'spellang' to "sr@latin". (Bojan Stipic)
Solution:   Allow using '@' in 'spellang'. (closes #4342)

5 years agopatch 8.1.1278: missing change for "combine" field v8.1.1278
Bram Moolenaar [Sun, 5 May 2019 14:33:47 +0000 (16:33 +0200)]
patch 8.1.1278: missing change for "combine" field

Problem:    Missing change for "combine" field.
Solution:   Also change the textprop implementation.

5 years agopatch 8.1.1277: missing screenshot update v8.1.1277
Bram Moolenaar [Sun, 5 May 2019 14:10:32 +0000 (16:10 +0200)]
patch 8.1.1277: missing screenshot update

Problem:    Missing screenshot update.
Solution:   Update the screenshot.