Bram Moolenaar
2b39d806f0
patch 8.1.1353: undo test fails on Mac
...
Problem: Undo test fails on Mac.
Solution: Expect "private" on the Mac.
2019-05-19 16:38:56 +02:00
Bram Moolenaar
e9ebc9a91c
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 )
2019-05-19 15:27:14 +02:00
Bram Moolenaar
338dfdad38
patch 8.1.1351: text property wrong after :substitute
...
Problem: Text property wrong after :substitute.
Solution: Save for undo before changing any text properties.
2019-05-19 15:19:57 +02:00
Bram Moolenaar
dc6855af97
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 )
2019-05-18 19:26:29 +02:00
Bram Moolenaar
cf0bfd9ade
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 )
2019-05-18 18:52:04 +02:00
Bram Moolenaar
f8191c5f07
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.
2019-05-18 17:22:54 +02:00
Bram Moolenaar
bd2d68c2f4
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.
2019-05-18 15:36:11 +02:00
Bram Moolenaar
7f3a28490a
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 )
2019-05-18 15:02:25 +02:00
Bram Moolenaar
6349e9411f
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)
2019-05-18 13:41:22 +02:00
Bram Moolenaar
0d3cb73012
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().
2019-05-18 13:05:18 +02:00
Bram Moolenaar
8055d17388
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 )
2019-05-17 22:57:26 +02:00
Bram Moolenaar
787880a86d
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.
2019-05-17 20:17:40 +02:00
Bram Moolenaar
80e737cc6a
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.
2019-05-17 19:56:34 +02:00
Bram Moolenaar
bfd451283f
patch 8.1.1340: attributes from 'cursorline' overwrite textprop
...
Problem: Attributes from 'cursorline' overwrite textprop.
Solution: Combine the attributes. (closes #3912 )
2019-05-17 13:05:07 +02:00
Bram Moolenaar
dabfde04fe
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)
2019-05-17 12:37:27 +02:00
Bram Moolenaar
0ebe12be86
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 )
2019-05-17 12:31:44 +02:00
Bram Moolenaar
5c65e6a062
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.
2019-05-17 11:08:56 +02:00
Bram Moolenaar
17aca707f9
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 )
2019-05-16 22:24:55 +02:00
Bram Moolenaar
dda4144d39
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.
2019-05-16 22:11:47 +02:00
Bram Moolenaar
eda652215a
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.
2019-05-16 20:29:44 +02:00
Bram Moolenaar
45dd07f10a
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.
2019-05-15 22:45:37 +02:00
Bram Moolenaar
fe1ade0a78
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.
2019-05-14 21:20:36 +02:00
Bram Moolenaar
fb222df28d
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 )
2019-05-14 17:57:19 +02:00
Bram Moolenaar
9e58787de7
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.
2019-05-13 20:27:23 +02:00
Bram Moolenaar
957f85d54e
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.
2019-05-12 21:43:48 +02:00
Bram Moolenaar
bc4fd43160
patch 8.1.1328: no test for listener with undo operation
...
Problem: No test for listener with undo operation.
Solution: Add a test.
2019-05-12 14:36:27 +02:00
Bram Moolenaar
a9b2535f44
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 )
2019-05-12 14:25:30 +02:00
Bram Moolenaar
8aad88d8de
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.
2019-05-12 13:53:50 +02:00
Bram Moolenaar
97b0075b0d
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().
2019-05-12 13:07:14 +02:00
Bram Moolenaar
b73fbc76c6
patch 8.1.1324: stray comma in VMS makefile
...
Problem: Stray comma in VMS makefile.
Solution: Remove the comma. (Naruhiko Nishino, closes #4368 )
2019-05-11 21:50:07 +02:00
Bram Moolenaar
5d0183b706
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.
2019-05-11 21:38:58 +02:00
Bram Moolenaar
6e75e0a400
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)
2019-05-11 21:24:26 +02:00
Bram Moolenaar
a334772967
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.
2019-05-11 21:14:24 +02:00
Bram Moolenaar
6d2399bd10
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.
2019-05-11 19:14:16 +02:00
Bram Moolenaar
6ed8819822
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().
2019-05-11 18:37:44 +02:00
Bram Moolenaar
ec28d1516e
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.
2019-05-11 18:36:34 +02:00
Bram Moolenaar
3f86ca0faa
Add missing files from patch 8.1.1318
2019-05-11 18:30:00 +02:00
Bram Moolenaar
dc9f9e93f5
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 )
2019-05-11 14:34:13 +02:00
Bram Moolenaar
d6896731ec
patch 8.1.1316: duplicated localtime() call
...
Problem: Duplicated localtime() call.
Solution: Delete one.
2019-05-11 13:09:42 +02:00
Bram Moolenaar
afd78266c5
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.
2019-05-10 23:10:31 +02:00
Bram Moolenaar
c049b52b90
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)
2019-05-10 21:38:54 +02:00
Bram Moolenaar
63d2555c9c
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().
2019-05-10 21:28:38 +02:00
Bram Moolenaar
4ca41534b7
patch 8.1.1312: Coverity warning for using uninitialized variable
...
Problem: Coverity warning for using uninitialized variable.
Solution: Clear exarg_T.
2019-05-09 21:48:37 +02:00
Bram Moolenaar
23b5139234
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.
2019-05-09 21:38:43 +02:00
Bram Moolenaar
42ae78cfff
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 )
2019-05-09 21:08:58 +02:00
Bram Moolenaar
6b528fa062
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.
2019-05-09 20:07:33 +02:00
Bram Moolenaar
f90b6e03a9
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 )
2019-05-09 19:26:38 +02:00
Bram Moolenaar
a6c27c47dd
Update runtime files
2019-05-09 19:16:22 +02:00
Bram Moolenaar
d4aa83af1d
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 )
2019-05-09 18:59:31 +02:00
Bram Moolenaar
eae1b91fea
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 )
2019-05-09 15:12:55 +02:00