summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* patch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not usedv8.1.1334Bram Moolenaar2019-05-165-3/+41
| | | | | | | 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.
* patch 8.1.1333: text properties don't always move after changesv8.1.1333Bram Moolenaar2019-05-156-21/+92
| | | | | | Problem: Text properties don't always move after changes. Solution: Update properties before reporting changes to listeners. Move text property when splitting a line.
* patch 8.1.1332: cannot flush listeners without redrawing, mix of changesv8.1.1332Bram Moolenaar2019-05-147-43/+250
| | | | | | | 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.
* patch 8.1.1331: test 29 is old stylev8.1.1331Bram Moolenaar2019-05-148-331/+442
| | | | | Problem: Test 29 is old style. Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4370)
* patch 8.1.1330: using bold attribute in terminal changes the colorv8.1.1330Bram Moolenaar2019-05-134-3/+13
| | | | | | | 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.
* patch 8.1.1329: plans for popup window support are spread outv8.1.1329Bram Moolenaar2019-05-124-0/+279
| | | | | Problem: Plans for popup window support are spread out. Solution: Add a first version of the popup window help.
* patch 8.1.1328: no test for listener with undo operationv8.1.1328Bram Moolenaar2019-05-122-0/+11
| | | | | Problem: No test for listener with undo operation. Solution: Add a test.
* patch 8.1.1327: unnecessary scroll after horizontal splitv8.1.1327Bram Moolenaar2019-05-123-3/+45
| | | | | | Problem: Unnecessary scroll after horizontal split. Solution: Don't adjust to fraction if all the text fits in the window. (Martin Kunev, closes #4367)
* patch 8.1.1326: no test for listener with partialv8.1.1326Bram Moolenaar2019-05-123-31/+57
| | | | | Problem: No test for listener with partial. Solution: Add a test. Add example to help.
* patch 8.1.1325: cannot build with +eval but without +channel and +timersv8.1.1325Bram Moolenaar2019-05-123-25/+27
| | | | | | Problem: Cannot build with +eval but without +channel and +timers. (John Marriott) Solution: Adjust #ifdef for get_callback().