summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* patch 8.0.0639: the cursor position is set when editing a new commit messagev8.0.0639Bram Moolenaar2017-06-132-6/+9
| | | | | | | Problem: The cursor position is set to the last position in a new commit message. Solution: Don't set the position if the filetype matches "commit". (Christian Brabandt)
* patch 8.0.0638: cannot build with new MSVC versionv8.0.0638Bram Moolenaar2017-06-133-18/+119
| | | | | | Problem: Cannot build with new MSVC version VS2017. Solution: Change the compiler arguments. (Leonardo Manera, closes #1731, closes #1747)
* patch 8.0.0637: crash when using some version of GTK 3v8.0.0637Bram Moolenaar2017-06-132-0/+6
| | | | | | Problem: Crash when using some version of GTK 3. Solution: Add #ifdefs around incrementing the menu index. (Kazunobu Kuriyama)
* patch 8.0.0636: when reading the undo file fails may use uninitialized datav8.0.0636Bram Moolenaar2017-06-112-7/+14
| | | | | Problem: When reading the undo file fails may use uninitialized data. Solution: Always clear the buffer on failure.
* patch 8.0.0635: when 'ignorecase' is set script detection is inaccuratev8.0.0635Bram Moolenaar2017-06-112-89/+95
| | | | | Problem: When 'ignorecase' is set script detection is inaccurate. Solution: Enforce matching case for text. (closes #1753)
* patch 8.0.0634: cannot easily get to the last quickfix listv8.0.0634Bram Moolenaar2017-06-114-16/+94
| | | | | | Problem: Cannot easily get to the last quickfix list. Solution: Add "$" as a value for the "nr" argument of getqflist() and setqflist(). (Yegappan Lakshmanan)
* patch 8.0.0633: the client-server test is still a bit flakyv8.0.0633Bram Moolenaar2017-06-102-1/+5
| | | | | | Problem: The client-server test is still a bit flaky. Solution: Wait a bit for the GUI to start. Check that the version number can be obtained.
* patch 8.0.0632: the quotestar test is still a bit flakyv8.0.0632Bram Moolenaar2017-06-102-0/+12
| | | | | | Problem: The quotestar test is still a bit flaky. Solution: Kill any existing server to make the retry work. Wait for the register to be filled.
* patch 8.0.0631: can't build with Perl 5.26v8.0.0631Bram Moolenaar2017-06-102-0/+26
| | | | | Problem: Perl 5.26 also needs S_TOPMARK and S_POPMARK defined. Solution: Define the functions when needed. (Jesin, closes #1748)
* patch 8.0.0630: it is not easy to work on lines without a matchv8.0.0630Bram Moolenaar2017-06-104-40/+79
| | | | | | | Problem: The :global command does not work recursively, which makes it difficult to execute a command on a line where one pattern matches and another does not match. (Miles Cranmer) Solution: Allow for recursion if it is for only one line. (closes #1760)
* patch 8.0.0629: checking for ambigous width is not workingv8.0.0629Bram Moolenaar2017-06-092-1/+5
| | | | | Problem: Checking for ambigous width is not working. (Hirohito Higashi) Solution: Reset "starting" earlier.
* patch 8.0.0628: cursor disappears after silent mappingv8.0.0628Bram Moolenaar2017-06-072-13/+7
| | | | | | Problem: Cursor disappears after silent mapping. (Ramel Eshed) Solution: Do restore the cursor when it was changed, but don't change it in the first place for a silent mapping.
* patch 8.0.0627: "gn" selects only one character with 'nowrapscan'v8.0.0627Bram Moolenaar2017-06-053-8/+38
| | | | | | Problem: When 'wrapscan' is off "gn" does not select the whole pattern when it's the last one in the text. (KeyboardFire) Solution: Check if the search fails. (Christian Brabandt, closes #1683)
* patch 8.0.0626: in the GUI the cursor may flickerv8.0.0626Bram Moolenaar2017-06-052-2/+12
| | | | | | Problem: In the GUI the cursor may flicker. Solution: Check the cmd_silent flag before updating the cursor shape. (Hirohito Higashi, closes #1637)
* patch 8.0.0625: shellescape() always escapes a newlinev8.0.0625Bram Moolenaar2017-06-053-1/+30
| | | | | | | Problem: shellescape() always escapes a newline, which does not work with some shells. (Harm te Hennepe) Solution: Only escape a newline when the "special" argument is non-zero. (Christian Brabandt, closes #1590)
* patch 8.0.0624: warning for unused variable in tiny buildv8.0.0624Bram Moolenaar2017-06-052-0/+4
| | | | | Problem: Warning for unused variable in tiny build. (Tony Mechelynck) Solution: Add an #ifdef.
* patch 8.0.0623: error for invalid regexp is not very informativev8.0.0623Bram Moolenaar2017-06-054-4/+25
| | | | | Problem: The message "Invalid range" is used for multiple errors. Solution: Add two more specific error messages. (Itchyny, Ken Hamada)
* patch 8.0.0622: selecting quoted text fails with 'selection' "exclusive"v8.0.0622Bram Moolenaar2017-06-053-10/+33
| | | | | | | Problem: Using a text object to select quoted text fails when 'selection' is set to "exclusive". (Guraga) Solution: Swap cursor and visual start position. (Christian Brabandt, closes #1687)
* patch 8.0.0621: :stag does not respect 'switchbuf'v8.0.0621Bram Moolenaar2017-06-057-23/+103
| | | | | | | Problem: The ":stag" command does not respect 'switchbuf'. Solution: Check 'switchbuf' for tag commands that may open a new window. (Ingo Karkat, closes #1681) Define macros for the return values of getfile().
* patch 8.0.0620: checking for HAVE_GTK_MULTIHEAD is not neededv8.0.0620Bram Moolenaar2017-06-057-84/+30
| | | | | | Problem: Since we only support GTK versions that have it, the ckeck for HAVE_GTK_MULTIHEAD is no longer needed. Solution: Remove HAVE_GTK_MULTIHEAD. (Kazunobu Kuriyama)
* Update runtime files.Bram Moolenaar2017-06-0528-637/+742
|
* patch 8.0.0619: GUI gets stuck if timer uses feedkeys()v8.0.0619Bram Moolenaar2017-06-052-4/+11
| | | | | | Problem: In the GUI, when a timer uses feedkeys(), it still waits for an event. (Raymond Ko) Solution: Check tb_change_cnt in one more place.
* patch 8.0.0618: NFA regex engine handles [0-z] incorrectlyv8.0.0618Bram Moolenaar2017-06-054-7/+23
| | | | | Problem: NFA regex engine handles [0-z] incorrectly. Solution: Return at the right point. (James McCoy, closes #1703)
* patch 8.0.0617: hardcopy test hangs on MS-Windowsv8.0.0617Bram Moolenaar2017-06-042-6/+10
| | | | | Problem: Hardcopy test hangs on MS-Windows. Solution: Check the postscript feature is supported.
* patch 8.0.0616: not always setting 'background' correctly after :hi Normalv8.0.0616Bram Moolenaar2017-06-043-6/+38
| | | | | | | Problem: When setting the cterm background with ":hi Normal" the value of 'background' may be set wrongly. Solution: Check that the color is less than 16. Don't set 'background' when it was set explicitly. (Lemonboy, closes #1710)
* patch 8.0.0615: using % with :hardcopy wrongly escapes spacesv8.0.0615Bram Moolenaar2017-06-043-0/+12
| | | | | Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov) Solution: Expand % differently. (Christian Brabandt, closes #1682)
* patch 8.0.0614: float2nr() is not exactly rightv8.0.0614Bram Moolenaar2017-06-0410-173/+99
| | | | | | Problem: float2nr() is not exactly right. Solution: Make float2nr() more accurate. Turn test64 into a new style test. (Hirohito Higashi, closes #1688)
* patch 8.0.0613: the conf filetype is used before ftdetect from packagesv8.0.0613Bram Moolenaar2017-06-046-9/+84
| | | | | | | Problem: The conf filetype detection is done before ftdetect scripts from packages that are added later. Solution: Add the FALLBACK argument to :setfiletype. (closes #1679, closes #1693)
* patch 8.0.0612: pack dirs are added to 'runtimepath' too latev8.0.0612Bram Moolenaar2017-06-046-10/+71
| | | | | | | Problem: Package directories are added to 'runtimepath' only after loading non-package plugins. Solution: Split off the code to add package directories to 'runtimepath'. (Ingo Karkat, closes #1680)
* patch 8.0.0611: the screen is not redrawn after sending t_u7v8.0.0611Bram Moolenaar2017-06-043-3/+11
| | | | | | Problem: When t_u7 is sent a few characters in the second screen line are overwritten and not redrawn later. (Rastislav Barlik) Solution: Move redrawing the screen to after overwriting the characters.
* patch 8.0.0610: the screen is redrawn when default 'background' is detectedv8.0.0610Bram Moolenaar2017-06-042-6/+14
| | | | | | Problem: The screen is redrawn when t_BG is set and used to detect the value for 'background'. Solution: Don't redraw when the value of 'background' didn't change.
* patch 8.0.0609: some people still don't know how to quitv8.0.0609Bram Moolenaar2017-06-042-1/+3
| | | | | | Problem: For some people the hint about quitting is not sufficient. Solution: Put <Enter> separately. Also use ":qa!" to get out even when there are changes.
* patch 8.0.0608: cannot manipulate other than the current quickfix listv8.0.0608Bram Moolenaar2017-06-042-28/+40
| | | | | Problem: Cannot manipulate other than the current quickfix list. Solution: Pass the list index to quickfix functions. (Yegappan Lakshmanan)
* patch 8.0.0607: after :bwipe + :new bufref might still be validv8.0.0607Bram Moolenaar2017-06-046-15/+24
| | | | | | Problem: When creating a bufref, then using :bwipe and :new it might get the same memory and bufref_valid() returns true. Solution: Add br_fnum to check the buffer number didn't change.
* patch 8.0.0606: cannot set the context for a specified quickfix listv8.0.0606Bram Moolenaar2017-05-283-3/+54
| | | | | | Problem: Cannot set the context for a specified quickfix list. Solution: Use the list index instead of the current list. (Yegappan Lakshmanan)
* patch 8.0.0605: the quickfix cached buffer may become invalidv8.0.0605Bram Moolenaar2017-05-282-7/+13
| | | | | | | Problem: The buffer that quickfix caches for performance may become invalid. (Daniel Hahler) Solution: Reset qf_last_bufref in qf_init_ext(). (Daniel Hahler, closes #1728, closes #1676)
* Update runtime files.Bram Moolenaar2017-05-2712-148/+298
|
* patch 8.0.0604: gF test fails still on MS-Windowsv8.0.0604Bram Moolenaar2017-05-242-1/+5
| | | | | Problem: gF test fails still on MS-Windows. Solution: Use : before the line number and remove it from 'isfname'.
* patch 8.0.0603: gF test fails on MS-Windowsv8.0.0603Bram Moolenaar2017-05-242-1/+3
| | | | | Problem: gF test fails on MS-Windows. Solution: Use @ instead of : before the line number