Bram Moolenaar
71de720c2c
patch 8.1.1385: signed/unsigned compiler warning
...
Problem: Signed/unsigned compiler warning.
Solution: Use STRLEN() instead of strlen().
v8.1.1385
2019-05-24 19:04:29 +02:00
Bram Moolenaar
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
v8.1.1384
2019-05-24 18:54:09 +02:00
Bram Moolenaar
d33a764123
patch 8.1.1383: warning for size_t/int mixup
...
Problem: Warning for size_t/int mixup.
Solution: Change type. (Mike Williams)
v8.1.1383
2019-05-24 17:56:14 +02:00
Bram Moolenaar
3020a87cb1
patch 8.1.1382: error when editing test file
...
Problem: Error when editing test file.
Solution: Remove part of modeline.
v8.1.1382
2019-05-24 17:33:01 +02:00
Bram Moolenaar
d22a6f8aaf
patch 8.1.1381: MS-Windows: missing build dependency
...
Problem: MS-Windows: missing build dependency.
Solution: Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata,
closes #4423
v8.1.1381
2019-05-24 17:17:54 +02:00
Bram Moolenaar
fa8f861957
patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set
...
Problem: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set.
Solution: Invert condition. (closes #4422 )
v8.1.1380
2019-05-24 17:05:44 +02:00
Bram Moolenaar
8239c62067
patch 8.1.1379: filechanged test hangs
...
Problem: Filechanged test hangs.
Solution: Do not check 'autoread'.
v8.1.1379
2019-05-24 16:46:01 +02:00
Bram Moolenaar
701ff0a3e5
patch 8.1.1378: delete() can not handle a file name that looks like a pattern
...
Problem: Delete() can not handle a file name that looks like a pattern.
Solution: Use readdir() instead of appending "/*" and expanding wildcards.
(Ken Takata, closes #4424 , closes #696 )
v8.1.1378
2019-05-24 14:14:14 +02:00
Bram Moolenaar
fcc4d921d6
patch 8.1.1377: MS-Windows GUI uses wrong shell command for bash
...
Problem: MS-Windows GUI uses wrong shell command for bash. (Robert Bogomip)
Solution: Check that 'shellcmdflag' is "/c". (Ken Takata, closes #4418 )
v8.1.1377
2019-05-24 13:32:36 +02:00
Bram Moolenaar
e2ad826f43
patch 8.1.1376: warnings for size_t/int mixups
...
Problem: Warnings for size_t/int mixups.
Solution: Change types, add type casts. (Mike Williams)
v8.1.1376
2019-05-24 13:22:22 +02:00
Bram Moolenaar
984f031fb0
patch 8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt often
...
Problem: Without "TS" in 'shortmess' get a hit-enter prompt often.
Solution: Always truncate the search message. Also avoid putting it in the
message history. (closes #4413 )
v8.1.1375
2019-05-24 13:11:47 +02:00
Bram Moolenaar
c97582b029
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.
v8.1.1374
2019-05-24 11:45:22 +02:00
Bram Moolenaar
0ab190c057
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 )
v8.1.1373
2019-05-23 23:27:36 +02:00
Bram Moolenaar
1c6fd1e100
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 )
v8.1.1372
2019-05-23 22:11:59 +02:00
Bram Moolenaar
99499b1c05
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 )
v8.1.1371
2019-05-23 21:35:48 +02:00
Bram Moolenaar
05b8b07e27
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 )
v8.1.1370
2019-05-23 20:42:10 +02:00
Bram Moolenaar
294d9bf966
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)
v8.1.1369
2019-05-23 20:12:46 +02:00
Bram Moolenaar
e09244ee35
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.
v8.1.1368
2019-05-23 17:35:55 +02:00
Bram Moolenaar
7e800c6047
patch 8.1.1367: can set 'modelineexpr' in modeline
...
Problem: can set 'modelineexpr' in modeline.
Solution: Add P_SECURE flag.
v8.1.1367
2019-05-23 17:08:49 +02:00
Bram Moolenaar
110289e781
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.
v8.1.1366
2019-05-23 15:38:06 +02:00
Bram Moolenaar
5357552140
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.
v8.1.1365
2019-05-22 22:38:25 +02:00
Bram Moolenaar
5c017b2de2
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().
v8.1.1364
2019-05-21 23:09:01 +02:00
Bram Moolenaar
e0b5949a3b
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 )
v8.1.1363
2019-05-21 20:54:45 +02:00
Bram Moolenaar
c79745a82f
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 )
v8.1.1362
2019-05-20 22:12:34 +02:00
Bram Moolenaar
0b0ad35c33
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
v8.1.1361
2019-05-20 21:52:45 +02:00
Bram Moolenaar
80341bcd89
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 )
v8.1.1360
2019-05-20 20:34:51 +02:00
Bram Moolenaar
f3333b02f3
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 )
v8.1.1359
2019-05-19 22:53:40 +02:00
Bram Moolenaar
386b43e594
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 )
v8.1.1358
2019-05-19 21:57:11 +02:00
Bram Moolenaar
999dc14644
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 )
v8.1.1357
2019-05-19 21:44:08 +02:00
Bram Moolenaar
8471e57026
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.
v8.1.1356
2019-05-19 21:37:18 +02:00
Bram Moolenaar
16e9b85113
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 )
v8.1.1355
2019-05-19 19:59:35 +02:00
Bram Moolenaar
f5842c5a53
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 )
v8.1.1354
2019-05-19 18:41:26 +02:00
Bram Moolenaar
2b39d806f0
patch 8.1.1353: undo test fails on Mac
...
Problem: Undo test fails on Mac.
Solution: Expect "private" on the Mac.
v8.1.1353
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 )
v8.1.1352
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.
v8.1.1351
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 )
v8.1.1350
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 )
v8.1.1349
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.
v8.1.1348
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.
v8.1.1347
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 )
v8.1.1346
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)
v8.1.1345
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().
v8.1.1344
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 )
v8.1.1343
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.
v8.1.1342
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.
v8.1.1341
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 )
v8.1.1340
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)
v8.1.1339
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 )
v8.1.1338
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.
v8.1.1337
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 )
v8.1.1336
2019-05-16 22:24:55 +02:00