summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-2463-322/+293
| | | | | | 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.
* patch 8.1.1383: warning for size_t/int mixupv8.1.1383Bram Moolenaar2019-05-242-1/+3
| | | | | Problem: Warning for size_t/int mixup. Solution: Change type. (Mike Williams)
* patch 8.1.1382: error when editing test filev8.1.1382Bram Moolenaar2019-05-244-4/+4
| | | | | Problem: Error when editing test file. Solution: Remove part of modeline.
* patch 8.1.1381: MS-Windows: missing build dependencyv8.1.1381Bram Moolenaar2019-05-243-2/+7
| | | | | | Problem: MS-Windows: missing build dependency. Solution: Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata, closes #4423
* patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not setv8.1.1380Bram Moolenaar2019-05-242-1/+3
| | | | | Problem: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set. Solution: Invert condition. (closes #4422)
* patch 8.1.1379: filechanged test hangsv8.1.1379Bram Moolenaar2019-05-243-4/+6
| | | | | Problem: Filechanged test hangs. Solution: Do not check 'autoread'.
* patch 8.1.1378: delete() can not handle a file name that looks like a patternv8.1.1378Bram Moolenaar2019-05-245-135/+187
| | | | | | 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)
* patch 8.1.1377: MS-Windows GUI uses wrong shell command for bashv8.1.1377Bram Moolenaar2019-05-242-8/+8
| | | | | Problem: MS-Windows GUI uses wrong shell command for bash. (Robert Bogomip) Solution: Check that 'shellcmdflag' is "/c". (Ken Takata, closes #4418)
* patch 8.1.1376: warnings for size_t/int mixupsv8.1.1376Bram Moolenaar2019-05-243-5/+7
| | | | | Problem: Warnings for size_t/int mixups. Solution: Change types, add type casts. (Mike Williams)
* patch 8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt oftenv8.1.1375Bram Moolenaar2019-05-244-38/+53
| | | | | | 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)
* patch 8.1.1374: check for file changed triggers too oftenv8.1.1374Bram Moolenaar2019-05-242-1/+3
| | | | | Problem: Check for file changed triggers too often. Solution: Don't use "b_p_ar" when it is negative.
* patch 8.1.1373: "[p" in Visual mode puts in wrong linev8.1.1373Bram Moolenaar2019-05-233-53/+35
| | | | | | Problem: "[p" in Visual mode puts in wrong line. Solution: Call nv_put() instead of duplicating the functionality. (closes #4408)
* patch 8.1.1372: when evaluating 'statusline' the current window is unknownv8.1.1372Bram Moolenaar2019-05-234-23/+65
| | | | | | | 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)
* patch 8.1.1371: cannot recover from a swap filev8.1.1371Bram Moolenaar2019-05-2318-64/+168
| | | | | | | 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)
* patch 8.1.1370: not using the new github feature for donationsv8.1.1370Bram Moolenaar2019-05-232-0/+3
| | | | | Problem: Not using the new github feature for donations. Solution: Add a Sponsor button. (closes #4417)
* patch 8.1.1369: get E484 when using system() during GUI startupv8.1.1369Bram Moolenaar2019-05-232-7/+9
| | | | | Problem: Get E484 when using system() during GUI startup. Solution: Check "gui.starting". (Ken Takata)
* patch 8.1.1368: modeline test fails with python but without pythonhomev8.1.1368Bram Moolenaar2019-05-232-1/+3
| | | | | Problem: Modeline test fails with python but without pythonhome. Solution: Correct test argument.
* patch 8.1.1367: can set 'modelineexpr' in modelinev8.1.1367Bram Moolenaar2019-05-233-1/+4
| | | | | Problem: can set 'modelineexpr' in modeline. Solution: Add P_SECURE flag.
* patch 8.1.1366: using expressions in a modeline is unsafev8.1.1366Bram Moolenaar2019-05-236-34/+169
| | | | | | 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.
* patch 8.1.1365: source command doesn't check for the sandboxv8.1.1365Bram Moolenaar2019-05-223-0/+17
| | | | | Problem: Source command doesn't check for the sandbox. (Armin Razmjou) Solution: Check for the sandbox when sourcing a file.
* patch 8.1.1364: design for popup window support needs more detailsv8.1.1364Bram Moolenaar2019-05-212-56/+153
| | | | | | 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().
* patch 8.1.1363: ":vert options" does not make a vertical splitv8.1.1363Bram Moolenaar2019-05-213-1/+31
| | | | | | Problem: ":vert options" does not make a vertical split. Solution: Pass the right modifiers in $OPTWIN_CMD. (Ken Takata, closes #4401)
* patch 8.1.1362: code and data in tests can be hard to readv8.1.1362Bram Moolenaar2019-05-2017-835/+991
| | | | | Problem: Code and data in tests can be hard to read. Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)
* patch 8.1.1361: Python setuptools don't work with Python 3v8.1.1361Bram Moolenaar2019-05-202-2/+11
| | | | | | Problem: Python setuptools don't work with Python 3. Solution: Add dummy implementation for find_module. (Joel Frederico, closes #4402, closes #3984
* patch 8.1.1360: buffer left 'nomodifiable' after :substitutev8.1.1360Bram Moolenaar2019-05-203-2/+20
| | | | | | Problem: Buffer left 'nomodifiable' after :substitute. (Ingo Karkat) Solution: Save the value of 'modifiable' earlier' (Christian Brabandt, closes #4403)
* patch 8.1.1359: text property wrong after :substitute with backslashv8.1.1359Bram Moolenaar2019-05-1910-17/+72
| | | | | | Problem: Text property wrong after :substitute with backslash. Solution: Adjust text property columns when removing backslashes. (closes #4397)
* patch 8.1.1358: cannot enter character with a CSI bytev8.1.1358Bram Moolenaar2019-05-192-4/+10
| | | | | | Problem: Cannot enter character with a CSI byte. Solution: Only check "gui.in_use" when VIMDLL is defined. (Ken Takata, closes #4396)
* patch 8.1.1357: test 37 is old stylev8.1.1357Bram Moolenaar2019-05-197-152/+244
| | | | | Problem: Test 37 is old style. Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4398)
* patch 8.1.1356: some text in heredoc assignment ends the textv8.1.1356Bram Moolenaar2019-05-193-12/+99
| | | | | Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi) Solution: Recognize "let v =<<" and skip until the end.
* patch 8.1.1355: obvious mistakes are accepted as valid expressionsv8.1.1355Bram Moolenaar2019-05-1913-28/+86
| | | | | | Problem: Obvious mistakes are accepted as valid expressions. Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto, closes #3981)
* patch 8.1.1354: getting a list of text lines is clumsyv8.1.1354Bram Moolenaar2019-05-194-0/+206
| | | | | Problem: Getting a list of text lines is clumsy. Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes #4386)
* patch 8.1.1353: undo test fails on Macv8.1.1353Bram Moolenaar2019-05-192-1/+7
| | | | | Problem: Undo test fails on Mac. Solution: Expect "private" on the Mac.
* patch 8.1.1352: undofile() reports wrong namev8.1.1352Bram Moolenaar2019-05-193-1/+8
| | | | | | Problem: Undofile() reports wrong name. (Francisco Giordano) Solution: Clean up the name before changing path separators. (closes #4392, closes #4394)
* patch 8.1.1351: text property wrong after :substitutev8.1.1351Bram Moolenaar2019-05-199-11/+45
| | | | | Problem: Text property wrong after :substitute. Solution: Save for undo before changing any text properties.
* patch 8.1.1350: "W" for wrapping not shown when more than 99 matchesv8.1.1350Bram Moolenaar2019-05-183-1/+11
| | | | | Problem: "W" for wrapping not shown when more than 99 matches. Solution: Adjust check for length. (Masato Nishihata, closes #4388)
* patch 8.1.1349: if writing runs into conversion error backup file is deletedv8.1.1349Bram Moolenaar2019-05-183-5/+30
| | | | | | | 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)
* patch 8.1.1348: running tests may cause the window to movev8.1.1348Bram Moolenaar2019-05-182-1/+20
| | | | | | 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.
* patch 8.1.1347: fractional scroll position not restored after closing windowv8.1.1347Bram Moolenaar2019-05-183-17/+20
| | | | | Problem: Fractional scroll position not restored after closing window. Solution: Do restore fraction if topline is not one.
* patch 8.1.1346: error for Python exception does not show useful infov8.1.1346Bram Moolenaar2019-05-188-2/+38
| | | | | | Problem: Error for Python exception does not show useful info. Solution: Show the last line instead of the first one. (Ben Jackson, closes #4381)
* patch 8.1.1345: stuck in sandbox with ":s/../\=Function/gn"v8.1.1345Bram Moolenaar2019-05-183-9/+19
| | | | | Problem: Stuck in sandbox with ":s/../\=Function/gn". Solution: Don't skip over code to restore sandbox. (Christian Brabandt)
* patch 8.1.1344: Coverity complains about possibly using a NULL pointerv8.1.1344Bram Moolenaar2019-05-183-7/+14
| | | | | | | 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().
* patch 8.1.1343: text properties not adjusted for Visual block mode deletev8.1.1343Bram Moolenaar2019-05-177-10/+109
| | | | | Problem: Text properties not adjusted for Visual block mode delete. Solution: Call adjust_prop_columns(). (closes #4384)
* patch 8.1.1342: using freed memory when joining line with text propertyv8.1.1342Bram Moolenaar2019-05-172-1/+3
| | | | | Problem: Using freed memory when joining line with text property. Solution: Use already computed length.
* patch 8.1.1341: text properties are lost when joining linesv8.1.1341Bram Moolenaar2019-05-176-11/+168
| | | | | Problem: Text properties are lost when joining lines. Solution: Move the text properties to the joined line.
* patch 8.1.1340: attributes from 'cursorline' overwrite textpropv8.1.1340Bram Moolenaar2019-05-175-7/+10
| | | | | Problem: Attributes from 'cursorline' overwrite textprop. Solution: Combine the attributes. (closes #3912)
* patch 8.1.1339: installer needs to product name et al.v8.1.1339Bram Moolenaar2019-05-172-0/+12
| | | | | Problem: Installer needs to product name et al. Solution: Add a few lines to the NSIS installer script. (Christian Brabandt)
* patch 8.1.1338: hang when concealing the '>' shown for half of wide charv8.1.1338Bram Moolenaar2019-05-172-5/+15
| | | | | | | 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)
* patch 8.1.1337: get empty text prop when splitting line just after text propv8.1.1337Bram Moolenaar2019-05-173-5/+8
| | | | | 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.
* patch 8.1.1336: some eval functionality is not covered by testsv8.1.1336Bram Moolenaar2019-05-169-7/+62
| | | | | Problem: Some eval functionality is not covered by tests. Solution: Add a few more test cases. (Masato Nishihata, closes #4374)
* patch 8.1.1335: listener callback is called after inserting textv8.1.1335Bram Moolenaar2019-05-166-46/+126
| | | | | | Problem: Listener callback is called after inserting text. Solution: Flush the changes before inserting or deleting a line. Store changes per buffer.