summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.0688: cannot resize the window in a FileType autocommandv8.0.0688Bram Moolenaar2017-06-283-14/+35
| | | | | | Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat) Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat, closes #1804)
* patch 8.0.0687: minor issues related to quickfixv8.0.0687Bram Moolenaar2017-06-284-10/+23
| | | | | | | | Problem: Minor issues related to quickfix. Solution: Set the proper return status for all cases in setqflist() and at test cases for this. Move the "adding" flag outside of FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan Lakshmanan)
* patch 8.0.0686: extra redraw when using CTRL-L in second windowv8.0.0686Bram Moolenaar2017-06-282-0/+4
| | | | | | Problem: When typing CTRL-L in a window that's not the first one, another redraw will happen later. (Christian Brabandt) Solution: Reset must_redraw after calling screenclear().
* patch 8.0.0685: when conversion fails written file may be truncatedv8.0.0685Bram Moolenaar2017-06-273-332/+415
| | | | | | | Problem: When making backups is disabled and conversion with iconv fails the written file is truncated. (Luo Chen) Solution: First try converting the file and write the file only when it did not fail. (partly by Christian Brabandt)
* patch 8.0.0684: old style tests are not nicev8.0.0684Bram Moolenaar2017-06-2710-173/+125
| | | | | Problem: Old style tests are not nice. Solution: Turn two tests into new style. (pschuh, closes #1797)
* patch 8.0.0683: visual bell flashes too quicklyv8.0.0683Bram Moolenaar2017-06-274-8/+94
| | | | | | | | Problem: When using a visual bell there is no delay, causing the flash to be very short, possibly unnoticeable. Also, the flash and the beep can lockup the UI when repeated often. Solution: Do the delay in Vim or flush the output before the delay. Limit the bell to once per half a second. (Ozaki Kiichi, closes #1789)
* patch 8.0.0682: no test for synIDtrans()v8.0.0682Bram Moolenaar2017-06-272-2/+27
| | | | | Problem: No test for synIDtrans(). Solution: Add a test. (Dominique Pelle, closes #1796)
* patch 8.0.0681: unnamed register only contains the last deleted textv8.0.0681Bram Moolenaar2017-06-273-1/+16
| | | | | | Problem: Unnamed register only contains the last deleted text when appending deleted text to a register. (Wolfgang Jeltsch) Solution: Only set y_previous when not using y_append. (Christian Brabandt)
* patch 8.0.0680: plugins in start packages are sourced twicev8.0.0680Bram Moolenaar2017-06-275-27/+74
| | | | | | Problem: Plugins in start packages are sourced twice. (mseplowitz) Solution: Use the unmodified runtime path when loading plugins (test by Ingo Karkat, closes #1801)
* patch 8.0.0679: using freed memoryv8.0.0679Bram Moolenaar2017-06-262-3/+4
| | | | | Problem: Using freed memory. Solution: Get the parent frame pointer earlier.
* patch 8.0.0678: closing a window does not trigger resizingv8.0.0678Bram Moolenaar2017-06-253-1/+51
| | | | | | | Problem: When 'equalalways' is set and closing a window in a separate frame, not all window sizes are adjusted. (Glacambre) Solution: Resize all windows if the new current window is not in the same frame as the closed window. (closes #1707)
* patch 8.0.0677: setting 'filetype' may switch buffersv8.0.0677Bram Moolenaar2017-06-255-1/+32
| | | | | | Problem: Setting 'filetype' internally may cause the current buffer and window to change unexpectedly. Solution: Set curbuf_lock. (closes #1734)
* patch 8.0.0676: crash when closing quickfix window in autocmdv8.0.0676Bram Moolenaar2017-06-254-33/+80
| | | | | | | Problem: Crash when closing the quickfix window in a FileType autocommand that triggers when the quickfix window is opened. Solution: Save the new value before triggering the OptionSet autocommand. Add the "starting" flag to test_override() to make the text work.
* patch 8.0.0675: 'colorcolumn' has a higher priority than 'hlsearch'v8.0.0675Bram Moolenaar2017-06-253-1/+19
| | | | | | Problem: 'colorcolumn' has a higher priority than 'hlsearch', it should be the other way around. (Nazri Ramliy) Solution: Change the priorities. (LemonBoy, closes #1794)
* patch 8.0.0674: cannot build with eval but without timersv8.0.0674Bram Moolenaar2017-06-252-1/+7
| | | | | Problem: Cannot build with eval but without timers. Solution: Add #ifdef (John Marriott)
* patch 8.0.0673: build failure without conceal featurev8.0.0673Bram Moolenaar2017-06-242-0/+4
| | | | | Problem: Build failure without conceal feature. Solution: Add #ifdef.
* patch 8.0.0672: third item of synconcealed() changes too oftenv8.0.0672Bram Moolenaar2017-06-244-12/+26
| | | | | Problem: Third item of synconcealed() changes too often. (Dominique Pelle) Solution: Reset the sequence number at the start of each line.
* patch 8.0.0671: hang when typing CTRL-C in confirm() in timerv8.0.0671Bram Moolenaar2017-06-242-0/+7
| | | | | | Problem: When a function invoked from a timer calls confirm() and the user types CTRL-C then Vim hangs. Solution: Reset typebuf_was_filled. (Ozaki Kiichi, closes #1791)
* patch 8.0.0670: can't use input() in a timer callbackv8.0.0670Bram Moolenaar2017-06-245-1/+27
| | | | | | Problem: Can't use input() in a timer callback. (Cosmin Popescu) Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes #1790, closes #1129)
* patch 8.0.0669: CTRL-N at start of the buffer does not work correctlyv8.0.0669Bram Moolenaar2017-06-243-3/+27
| | | | | | Problem: In Insert mode, CTRL-N at start of the buffer does not work correctly. (zuloloxi) Solution: Wrap around the start of the buffer. (Christian Brabandt)
* patch 8.0.0668: nsis installer script does not workv8.0.0668Bram Moolenaar2017-06-242-1/+4
| | | | | Problem: Nsis installer script does not work. (Christian Brabandt) Solution: Fix the syntax of /SD.
* patch 8.0.0667: memory access error when command follows :endfuncv8.0.0667Bram Moolenaar2017-06-243-21/+42
| | | | | | Problem: Memory access error when command follows :endfunction. (Nikolai Pavlov) Solution: Make memory handling in :function straightforward. (closes #1793)
* patch 8.0.0666: dead for loopv8.0.0666Bram Moolenaar2017-06-232-47/+44
| | | | | Problem: Dead for loop. (Coverity) Solution: Remove the for loop.
* patch 8.0.0665: warning for uninitialized variablev8.0.0665Bram Moolenaar2017-06-232-1/+3
| | | | | Problem: Warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize it.
* patch 8.0.0664: mouse does not work in tmuxv8.0.0664Bram Moolenaar2017-06-232-2/+8
| | | | | Problem: Mouse does not work in tmux. (lilydjwg) Solution: Add flag for SGR release being present.
* patch 8.0.0663: unexpected error message only when 'verbose' is setv8.0.0663Bram Moolenaar2017-06-236-18/+39
| | | | | Problem: Giving an error message only when 'verbose' set is unexpected. Solution: Give a warning message instead.
* patch 8.0.0662: stray FIXME for fixed problemv8.0.0662Bram Moolenaar2017-06-222-6/+2
| | | | | Problem: Stray FIXME for fixed problem. Solution: Remove the comment. (Dominique Pelle)
* patch 8.0.0661: recognizing urxvt mouse codes does not work wellv8.0.0661Bram Moolenaar2017-06-225-51/+41
| | | | | Problem: Recognizing urxvt mouse codes does not work well. Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486)
* patch 8.0.0660: silent install on MS-Windows shows dialogv8.0.0660Bram Moolenaar2017-06-222-1/+3
| | | | | Problem: Silent install on MS-Windows does show a dialog. Solution: Add /SD to the default choice. (allburov, closes #1772)
* patch 8.0.0659: no test for conceal modev8.0.0659Bram Moolenaar2017-06-224-13/+63
| | | | | Problem: No test for conceal mode. Solution: Add a conceal mode test. (Dominique Pelle, closes #1783)
* patch 8.0.0658: spell test is old stylev8.0.0658Bram Moolenaar2017-06-227-951/+729
| | | | | Problem: Spell test is old style. Solution: Turn the spell test into a new style test (pschuh, closes #1778)
* patch 8.0.0657: cannot get and set quickfix list itemsv8.0.0657Bram Moolenaar2017-06-224-18/+153
| | | | | | Problem: Cannot get and set quickfix list items. Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan Lakshmanan)
* patch 8.0.0656: cannot use ! after some user commandsv8.0.0656Bram Moolenaar2017-06-223-1/+13
| | | | | Problem: Cannot use ! after some user commands. Solution: Properly check for existing command. (Higashi Higashi)
* patch 8.0.0655: not easy to make sure a function does not existv8.0.0655Bram Moolenaar2017-06-224-2/+15
| | | | | Problem: Not easy to make sure a function does not exist. Solution: Add ! as an optional argument to :delfunc.
* patch 8.0.0654: no warning for text after :endfunctionv8.0.0654Bram Moolenaar2017-06-224-5/+56
| | | | | | Problem: Text found after :endfunction is silently ignored. Solution: Give a warning if 'verbose' is set. When | or \n are used, execute the text as a command.
* patch 8.0.0653: the default highlight for QuickFixLine is not goodv8.0.0653Bram Moolenaar2017-06-222-4/+3
| | | | | | Problem: The default highlight for QuickFixLine does not work for several color schemes. (Manas Thakur) Solution: Make the default use the old color. (closes #1780)
* patch 8.0.0652: unicode information is outdatedv8.0.0652Bram Moolenaar2017-06-223-51/+118
| | | | | Problem: Unicode information is outdated. Solution: Update to Unicode 10. (Christian Brabandt)
* patch 8.0.0651: build failure without the auto command featurev8.0.0651Bram Moolenaar2017-06-222-0/+4
| | | | | Problem: Build failure without the auto command feature. Solution: Add #ifdef. (closes #1782)
* patch 8.0.0650: for extra help files the filetype is set more than oncev8.0.0650Bram Moolenaar2017-06-222-2/+10
| | | | | Problem: For extra help files the filetype is set more than once. Solution: In *.txt files check that there is no help file modline.
* patch 8.0.0649: when opening a help file the filetype is set several timesv8.0.0649Bram Moolenaar2017-06-224-6/+22
| | | | | | | Problem: When opening a help file the filetype is set several times. Solution: When setting the filetype to the same value from a modeline, don't trigger FileType autocommands. Don't set the filetype to "help" when it's already set correctly.
* patch 8.0.0648: possible use of NULL pointerv8.0.0648Bram Moolenaar2017-06-192-1/+3
| | | | | | Problem: Possible use of NULL pointer if buflist_new() returns NULL. (Coverity) Solution: Check for NULL pointer in set_bufref().
* patch 8.0.0647: syntax highlighting can make cause a freezev8.0.0647Bram Moolenaar2017-06-189-29/+148
| | | | | Problem: Syntax highlighting can make cause a freeze. Solution: Apply 'redrawtime' to syntax highlighting, per window.
* patch 8.0.0646: the hlsearch test fails on fast systemsv8.0.0646Bram Moolenaar2017-06-173-11/+37
| | | | | | Problem: The hlsearch test fails on fast systems. Solution: Make the search pattern slower. Fix that the old regexp engine doesn't timeout properly.
* patch 8.0.0645: no error for illegal back reference in NFA enginev8.0.0645Bram Moolenaar2017-06-176-23/+53
| | | | | | Problem: The new regexp engine does not give an error for using a back reference where it is not allowed. (Dominique Pelle) Solution: Check the back reference like the old engine. (closes #1774)
* patch 8.0.0644: the timeout for 'hlsearch' is not testedv8.0.0644Bram Moolenaar2017-06-172-0/+20
| | | | | Problem: There is no test for 'hlsearch' timing out. Solution: Add a test.
* patch 8.0.0643: when a pattern search is slow Vim becomes unusablev8.0.0643Bram Moolenaar2017-06-1719-67/+123
| | | | | | | | Problem: When 'hlsearch' is set and matching with the last search pattern is very slow, Vim becomes unusable. Cannot quit search by pressing CTRL-C. Solution: When the search times out set a flag and don't try again. Check for timeout and CTRL-C in NFA loop that adds states.
* patch 8.0.0642: writefile() continues after detecting an errorv8.0.0642Bram Moolenaar2017-06-133-7/+40
| | | | | | Problem: writefile() continues after detecting an error. Solution: Bail out as soon as an error is detected. (suggestions by Nikolai Pavlov, closes #1476)
* Update runtime files.Bram Moolenaar2017-06-1365-422/+345
| | | | Includes changing &sw to shiftwidth() for all indent scripts.
* patch 8.0.0641: cannot set a separate highlighting for the quickfix linev8.0.0641Bram Moolenaar2017-06-138-9/+26
| | | | | | Problem: Cannot set a separate highlighting for the current line in the quickfix window. Solution: Add QuickFixLine. (anishsane, closes #1755)
* patch 8.0.0640: mismatch between help and actual messagev8.0.0640Bram Moolenaar2017-06-132-2/+4
| | | | | Problem: Mismatch between help and actual message for ":syn conceal". Solution: Change the message to match the help. (Ken Takata)