]> granicus.if.org Git - vim/log
vim
7 years agopatch 8.0.0701: system test failing when using X11 forwarding v8.0.0701
Bram Moolenaar [Sat, 8 Jul 2017 15:03:21 +0000 (17:03 +0200)]
patch 8.0.0701: system test failing when using X11 forwarding

Problem:    System test failing when using X11 forwarding.
Solution:   Set $XAUTHORITY before changing $HOME. (closes #1812)
            Also use a better check for the exit value.

7 years agopatch 8.0.0700: segfault with QuitPre autocommand closes the window v8.0.0700
Bram Moolenaar [Sat, 8 Jul 2017 12:44:50 +0000 (14:44 +0200)]
patch 8.0.0700: segfault with QuitPre autocommand closes the window

Problem:    Segfault with QuitPre autocommand closes the window. (Marek)
Solution:   Check that the window pointer is still valid. (Christian Brabandt,
            closes #1817)

7 years agopatch 8.0.0699: checksum tests are not actually run v8.0.0699
Bram Moolenaar [Sat, 8 Jul 2017 12:29:19 +0000 (14:29 +0200)]
patch 8.0.0699: checksum tests are not actually run

Problem:    Checksum tests are not actually run.
Solution:   Add the tests to the list. (Dominique Pelle, closes #1819)

7 years agopatch 8.0.0698: crash on exit when using Python function in timer. v8.0.0698
Bram Moolenaar [Fri, 7 Jul 2017 12:50:44 +0000 (14:50 +0200)]
patch 8.0.0698: crash on exit when using Python function in timer.

Problem:    When a timer uses ":pyeval" or another Python command and it
            happens to be triggered while exiting a Crash may happen.
            (Ricky Zhou)
Solution:   Avoid running a Python command after python_end() was called.
            Do not trigger timers while exiting.  (closes #1824)

7 years agopatch 8.0.0697: recorded key sequences may become invalid v8.0.0697
Bram Moolenaar [Fri, 7 Jul 2017 11:32:14 +0000 (13:32 +0200)]
patch 8.0.0697: recorded key sequences may become invalid

Problem:    Recorded key sequences may become invalid.
Solution:   Add back KE_SNIFF removed in 7.4.1433. Use fixed numbers for the
            key_extra enum.

7 years agopatch 8.0.0696: .inc files missing in git v8.0.0696
Bram Moolenaar [Fri, 7 Jul 2017 11:04:16 +0000 (13:04 +0200)]
patch 8.0.0696: .inc files missing in git

Problem:    The .inc files are missing in git. (Nazri Ramliy)
Solution:   Remove the .inc line from .gitignore.

7 years agopatch 8.0.0695: missing dependencies breaks parallel make v8.0.0695
Bram Moolenaar [Fri, 7 Jul 2017 10:42:40 +0000 (12:42 +0200)]
patch 8.0.0695: missing dependencies breaks parallel make

Problem:    Missing dependencies breaks parallel make.
Solution:   Add dependencies for terminal.o.

7 years agopatch 8.0.0694: building in shadow directory does not work v8.0.0694
Bram Moolenaar [Fri, 7 Jul 2017 10:22:55 +0000 (12:22 +0200)]
patch 8.0.0694: building in shadow directory does not work

Problem:    Building in shadow directory does not work.  Running Vim fails.
Solution:   Add the new libvterm directory.  Add missing change in command
            list.

7 years agopatch 8.0.0693: no terminal emulator support v8.0.0693
Bram Moolenaar [Fri, 7 Jul 2017 09:54:15 +0000 (11:54 +0200)]
patch 8.0.0693: no terminal emulator support

Problem:    No terminal emulator support.  Cannot properly run commands in the
            GUI.  Cannot run a job interactively with an ssh connection.
Solution:   Very early implementation of the :terminal command.  Includes
            libvterm converted to ANSI C.  Many parts still missing.

7 years agopatch 8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong direction v8.0.0692
Bram Moolenaar [Sat, 1 Jul 2017 21:11:17 +0000 (23:11 +0200)]
patch 8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong direction

Problem:    Using CTRL-G with 'incsearch' and ? goes in the wrong direction.
            (Ramel Eshed)
Solution:   Adjust search_start. (Christian Brabandt)

7 years agopatch 8.0.0691: compiler warning without the linebreak feature v8.0.0691
Bram Moolenaar [Thu, 29 Jun 2017 20:33:13 +0000 (22:33 +0200)]
patch 8.0.0691: compiler warning without the linebreak feature

Problem:    Compiler warning without the linebreak feature.
Solution:   Add #ifdef. (John Marriott)

7 years agopatch 8.0.0690: compiler warning on non-Unix system v8.0.0690
Bram Moolenaar [Thu, 29 Jun 2017 20:27:24 +0000 (22:27 +0200)]
patch 8.0.0690: compiler warning on non-Unix system

Problem:    Compiler warning on non-Unix system.
Solution:   Add #ifdef. (John Marriott)

7 years agopatch 8.0.0689: ~ character not escaped when extending search pattern v8.0.0689
Bram Moolenaar [Thu, 29 Jun 2017 20:23:06 +0000 (22:23 +0200)]
patch 8.0.0689: ~ character not escaped when extending search pattern

Problem:    The ~ character is not escaped when adding to the search pattern
            with CTRL-L. (Ramel Eshed)
Solution:   Escape the character. (Christian Brabandt)

7 years agopatch 8.0.0688: cannot resize the window in a FileType autocommand v8.0.0688
Bram Moolenaar [Wed, 28 Jun 2017 20:26:54 +0000 (22:26 +0200)]
patch 8.0.0688: cannot resize the window in a FileType autocommand

Problem:    Cannot resize the window in a FileType autocommand. (Ingo Karkat)
Solution:   Add the CMDWIN flag to :resize. (test by Ingo Karkat,
            closes #1804)

7 years agopatch 8.0.0687: minor issues related to quickfix v8.0.0687
Bram Moolenaar [Wed, 28 Jun 2017 19:26:27 +0000 (21:26 +0200)]
patch 8.0.0687: minor issues related to quickfix

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)

7 years agopatch 8.0.0686: extra redraw when using CTRL-L in second window v8.0.0686
Bram Moolenaar [Wed, 28 Jun 2017 18:45:26 +0000 (20:45 +0200)]
patch 8.0.0686: extra redraw when using CTRL-L in second window

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().

7 years agopatch 8.0.0685: when conversion fails written file may be truncated v8.0.0685
Bram Moolenaar [Tue, 27 Jun 2017 20:11:51 +0000 (22:11 +0200)]
patch 8.0.0685: when conversion fails written file may be truncated

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)

7 years agopatch 8.0.0684: old style tests are not nice v8.0.0684
Bram Moolenaar [Tue, 27 Jun 2017 16:29:17 +0000 (18:29 +0200)]
patch 8.0.0684: old style tests are not nice

Problem:    Old style tests are not nice.
Solution:   Turn two tests into new style. (pschuh, closes #1797)

7 years agopatch 8.0.0683: visual bell flashes too quickly v8.0.0683
Bram Moolenaar [Tue, 27 Jun 2017 15:09:37 +0000 (17:09 +0200)]
patch 8.0.0683: visual bell flashes too quickly

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)

7 years agopatch 8.0.0682: no test for synIDtrans() v8.0.0682
Bram Moolenaar [Tue, 27 Jun 2017 13:43:49 +0000 (15:43 +0200)]
patch 8.0.0682: no test for synIDtrans()

Problem:    No test for synIDtrans().
Solution:   Add a test. (Dominique Pelle, closes #1796)

7 years agopatch 8.0.0681: unnamed register only contains the last deleted text v8.0.0681
Bram Moolenaar [Tue, 27 Jun 2017 13:39:14 +0000 (15:39 +0200)]
patch 8.0.0681: unnamed register only contains the last deleted text

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)

7 years agopatch 8.0.0680: plugins in start packages are sourced twice v8.0.0680
Bram Moolenaar [Tue, 27 Jun 2017 12:43:55 +0000 (14:43 +0200)]
patch 8.0.0680: plugins in start packages are sourced twice

Problem:    Plugins in start packages are sourced twice. (mseplowitz)
Solution:   Use the unmodified runtime path when loading plugins (test by Ingo
            Karkat, closes #1801)

7 years agopatch 8.0.0679: using freed memory v8.0.0679
Bram Moolenaar [Mon, 26 Jun 2017 07:59:35 +0000 (09:59 +0200)]
patch 8.0.0679: using freed memory

Problem:    Using freed memory.
Solution:   Get the parent frame pointer earlier.

7 years agopatch 8.0.0678: closing a window does not trigger resizing v8.0.0678
Bram Moolenaar [Sun, 25 Jun 2017 20:45:39 +0000 (22:45 +0200)]
patch 8.0.0678: closing a window does not trigger resizing

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)

7 years agopatch 8.0.0677: setting 'filetype' may switch buffers v8.0.0677
Bram Moolenaar [Sun, 25 Jun 2017 19:17:25 +0000 (21:17 +0200)]
patch 8.0.0677: setting 'filetype' may switch buffers

Problem:    Setting 'filetype' internally may cause the current buffer and
            window to change unexpectedly.
Solution:   Set curbuf_lock. (closes #1734)

7 years agopatch 8.0.0676: crash when closing quickfix window in autocmd v8.0.0676
Bram Moolenaar [Sun, 25 Jun 2017 18:57:18 +0000 (20:57 +0200)]
patch 8.0.0676: crash when closing quickfix window in autocmd

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.

7 years agopatch 8.0.0675: 'colorcolumn' has a higher priority than 'hlsearch' v8.0.0675
Bram Moolenaar [Sun, 25 Jun 2017 16:03:37 +0000 (18:03 +0200)]
patch 8.0.0675: 'colorcolumn' has a higher priority than 'hlsearch'

Problem:    'colorcolumn' has a higher priority than 'hlsearch', it should be
            the other way around. (Nazri Ramliy)
Solution:   Change the priorities. (LemonBoy, closes #1794)

7 years agopatch 8.0.0674: cannot build with eval but without timers v8.0.0674
Bram Moolenaar [Sun, 25 Jun 2017 11:40:17 +0000 (13:40 +0200)]
patch 8.0.0674: cannot build with eval but without timers

Problem:    Cannot build with eval but without timers.
Solution:   Add #ifdef (John Marriott)

7 years agopatch 8.0.0673: build failure without conceal feature v8.0.0673
Bram Moolenaar [Sat, 24 Jun 2017 20:52:24 +0000 (22:52 +0200)]
patch 8.0.0673: build failure without conceal feature

Problem:    Build failure without conceal feature.
Solution:   Add #ifdef.

7 years agopatch 8.0.0672: third item of synconcealed() changes too often v8.0.0672
Bram Moolenaar [Sat, 24 Jun 2017 20:29:24 +0000 (22:29 +0200)]
patch 8.0.0672: third item of synconcealed() changes too often

Problem:    Third item of synconcealed() changes too often. (Dominique Pelle)
Solution:   Reset the sequence number at the start of each line.

7 years agopatch 8.0.0671: hang when typing CTRL-C in confirm() in timer v8.0.0671
Bram Moolenaar [Sat, 24 Jun 2017 16:49:00 +0000 (18:49 +0200)]
patch 8.0.0671: hang when typing CTRL-C in confirm() in timer

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)

7 years agopatch 8.0.0670: can't use input() in a timer callback v8.0.0670
Bram Moolenaar [Sat, 24 Jun 2017 14:03:06 +0000 (16:03 +0200)]
patch 8.0.0670: can't use input() in a timer callback

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)

7 years agopatch 8.0.0669: CTRL-N at start of the buffer does not work correctly v8.0.0669
Bram Moolenaar [Sat, 24 Jun 2017 13:39:07 +0000 (15:39 +0200)]
patch 8.0.0669: CTRL-N at start of the buffer does not work correctly

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)

7 years agopatch 8.0.0668: nsis installer script does not work v8.0.0668
Bram Moolenaar [Sat, 24 Jun 2017 13:11:01 +0000 (15:11 +0200)]
patch 8.0.0668: nsis installer script does not work

Problem:    Nsis installer script does not work. (Christian Brabandt)
Solution:   Fix the syntax of /SD.

7 years agopatch 8.0.0667: memory access error when command follows :endfunc v8.0.0667
Bram Moolenaar [Sat, 24 Jun 2017 12:48:11 +0000 (14:48 +0200)]
patch 8.0.0667: memory access error when command follows :endfunc

Problem:    Memory access error when command follows :endfunction. (Nikolai
            Pavlov)
Solution:   Make memory handling in :function straightforward. (closes #1793)

7 years agopatch 8.0.0666: dead for loop v8.0.0666
Bram Moolenaar [Fri, 23 Jun 2017 21:00:08 +0000 (23:00 +0200)]
patch 8.0.0666: dead for loop

Problem:    Dead for loop. (Coverity)
Solution:   Remove the for loop.

7 years agopatch 8.0.0665: warning for uninitialized variable v8.0.0665
Bram Moolenaar [Fri, 23 Jun 2017 20:45:33 +0000 (22:45 +0200)]
patch 8.0.0665: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.

7 years agopatch 8.0.0664: mouse does not work in tmux v8.0.0664
Bram Moolenaar [Fri, 23 Jun 2017 20:35:34 +0000 (22:35 +0200)]
patch 8.0.0664: mouse does not work in tmux

Problem:    Mouse does not work in tmux. (lilydjwg)
Solution:   Add flag for SGR release being present.

7 years agopatch 8.0.0663: unexpected error message only when 'verbose' is set v8.0.0663
Bram Moolenaar [Fri, 23 Jun 2017 18:52:40 +0000 (20:52 +0200)]
patch 8.0.0663: unexpected error message only when 'verbose' is set

Problem:    Giving an error message only when 'verbose' set is unexpected.
Solution:   Give a warning message instead.

7 years agopatch 8.0.0662: stray FIXME for fixed problem v8.0.0662
Bram Moolenaar [Thu, 22 Jun 2017 21:03:12 +0000 (23:03 +0200)]
patch 8.0.0662: stray FIXME for fixed problem

Problem:    Stray FIXME for fixed problem.
Solution:   Remove the comment. (Dominique Pelle)

7 years agopatch 8.0.0661: recognizing urxvt mouse codes does not work well v8.0.0661
Bram Moolenaar [Thu, 22 Jun 2017 20:37:57 +0000 (22:37 +0200)]
patch 8.0.0661: recognizing urxvt mouse codes does not work well

Problem:    Recognizing urxvt mouse codes does not work well.
Solution:   Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486)

7 years agopatch 8.0.0660: silent install on MS-Windows shows dialog v8.0.0660
Bram Moolenaar [Thu, 22 Jun 2017 20:05:02 +0000 (22:05 +0200)]
patch 8.0.0660: silent install on MS-Windows shows dialog

Problem:    Silent install on MS-Windows does show a dialog.
Solution:   Add /SD to the default choice. (allburov, closes #1772)

7 years agopatch 8.0.0659: no test for conceal mode v8.0.0659
Bram Moolenaar [Thu, 22 Jun 2017 20:00:50 +0000 (22:00 +0200)]
patch 8.0.0659: no test for conceal mode

Problem:    No test for conceal mode.
Solution:   Add a conceal mode test. (Dominique Pelle, closes #1783)

7 years agopatch 8.0.0658: spell test is old style v8.0.0658
Bram Moolenaar [Thu, 22 Jun 2017 19:42:49 +0000 (21:42 +0200)]
patch 8.0.0658: spell test is old style

Problem:    Spell test is old style.
Solution:   Turn the spell test into a new style test (pschuh, closes #1778)

7 years agopatch 8.0.0657: cannot get and set quickfix list items v8.0.0657
Bram Moolenaar [Thu, 22 Jun 2017 19:33:20 +0000 (21:33 +0200)]
patch 8.0.0657: cannot get and set quickfix list items

Problem:    Cannot get and set quickfix list items.
Solution:   Add the "items" argument to getqflist() and setqflist(). (Yegappan
            Lakshmanan)

7 years agopatch 8.0.0656: cannot use ! after some user commands v8.0.0656
Bram Moolenaar [Thu, 22 Jun 2017 18:39:17 +0000 (20:39 +0200)]
patch 8.0.0656: cannot use ! after some user commands

Problem:    Cannot use ! after some user commands.
Solution:   Properly check for existing command. (Higashi Higashi)

7 years agopatch 8.0.0655: not easy to make sure a function does not exist v8.0.0655
Bram Moolenaar [Thu, 22 Jun 2017 17:15:24 +0000 (19:15 +0200)]
patch 8.0.0655: not easy to make sure a function does not exist

Problem:    Not easy to make sure a function does not exist.
Solution:   Add ! as an optional argument to :delfunc.

7 years agopatch 8.0.0654: no warning for text after :endfunction v8.0.0654
Bram Moolenaar [Thu, 22 Jun 2017 17:12:10 +0000 (19:12 +0200)]
patch 8.0.0654: no warning for text after :endfunction

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.

7 years agopatch 8.0.0653: the default highlight for QuickFixLine is not good v8.0.0653
Bram Moolenaar [Thu, 22 Jun 2017 14:04:27 +0000 (16:04 +0200)]
patch 8.0.0653: the default highlight for QuickFixLine is not good

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)

7 years agopatch 8.0.0652: unicode information is outdated v8.0.0652
Bram Moolenaar [Thu, 22 Jun 2017 13:27:37 +0000 (15:27 +0200)]
patch 8.0.0652: unicode information is outdated

Problem:    Unicode information is outdated.
Solution:   Update to Unicode 10. (Christian Brabandt)

7 years agopatch 8.0.0651: build failure without the auto command feature v8.0.0651
Bram Moolenaar [Thu, 22 Jun 2017 12:56:12 +0000 (14:56 +0200)]
patch 8.0.0651: build failure without the auto command feature

Problem:    Build failure without the auto command feature.
Solution:   Add #ifdef. (closes #1782)

7 years agopatch 8.0.0650: for extra help files the filetype is set more than once v8.0.0650
Bram Moolenaar [Thu, 22 Jun 2017 12:47:22 +0000 (14:47 +0200)]
patch 8.0.0650: for extra help files the filetype is set more than once

Problem:    For extra help files the filetype is set more than once.
Solution:   In *.txt files check that there is no help file modline.

7 years agopatch 8.0.0649: when opening a help file the filetype is set several times v8.0.0649
Bram Moolenaar [Thu, 22 Jun 2017 12:16:31 +0000 (14:16 +0200)]
patch 8.0.0649: when opening a help file the filetype is set several times

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.

7 years agopatch 8.0.0648: possible use of NULL pointer v8.0.0648
Bram Moolenaar [Mon, 19 Jun 2017 18:35:32 +0000 (20:35 +0200)]
patch 8.0.0648: possible use of NULL pointer

Problem:    Possible use of NULL pointer if buflist_new() returns NULL.
            (Coverity)
Solution:   Check for NULL pointer in set_bufref().

7 years agopatch 8.0.0647: syntax highlighting can make cause a freeze v8.0.0647
Bram Moolenaar [Sun, 18 Jun 2017 20:41:03 +0000 (22:41 +0200)]
patch 8.0.0647: syntax highlighting can make cause a freeze

Problem:    Syntax highlighting can make cause a freeze.
Solution:   Apply 'redrawtime' to syntax highlighting, per window.

7 years agopatch 8.0.0646: the hlsearch test fails on fast systems v8.0.0646
Bram Moolenaar [Sat, 17 Jun 2017 18:55:06 +0000 (20:55 +0200)]
patch 8.0.0646: the hlsearch test fails on fast systems

Problem:    The hlsearch test fails on fast systems.
Solution:   Make the search pattern slower.  Fix that the old regexp engine
            doesn't timeout properly.

7 years agopatch 8.0.0645: no error for illegal back reference in NFA engine v8.0.0645
Bram Moolenaar [Sat, 17 Jun 2017 18:08:20 +0000 (20:08 +0200)]
patch 8.0.0645: no error for illegal back reference in NFA engine

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)

7 years agopatch 8.0.0644: the timeout for 'hlsearch' is not tested v8.0.0644
Bram Moolenaar [Sat, 17 Jun 2017 17:13:49 +0000 (19:13 +0200)]
patch 8.0.0644: the timeout for 'hlsearch' is not tested

Problem:    There is no test for 'hlsearch' timing out.
Solution:   Add a test.

7 years agopatch 8.0.0643: when a pattern search is slow Vim becomes unusable v8.0.0643
Bram Moolenaar [Sat, 17 Jun 2017 16:44:21 +0000 (18:44 +0200)]
patch 8.0.0643: when a pattern search is slow Vim becomes unusable

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.

7 years agopatch 8.0.0642: writefile() continues after detecting an error v8.0.0642
Bram Moolenaar [Tue, 13 Jun 2017 17:38:37 +0000 (19:38 +0200)]
patch 8.0.0642: writefile() continues after detecting an error

Problem:    writefile() continues after detecting an error.
Solution:   Bail out as soon as an error is detected. (suggestions by Nikolai
            Pavlov, closes #1476)

7 years agoUpdate runtime files.
Bram Moolenaar [Tue, 13 Jun 2017 16:12:01 +0000 (18:12 +0200)]
Update runtime files.

Includes changing &sw to shiftwidth() for all indent scripts.

7 years agopatch 8.0.0641: cannot set a separate highlighting for the quickfix line v8.0.0641
Bram Moolenaar [Tue, 13 Jun 2017 15:21:04 +0000 (17:21 +0200)]
patch 8.0.0641: cannot set a separate highlighting for the quickfix line

Problem:    Cannot set a separate highlighting for the current line in the
            quickfix window.
Solution:   Add QuickFixLine. (anishsane, closes #1755)

7 years agopatch 8.0.0640: mismatch between help and actual message v8.0.0640
Bram Moolenaar [Tue, 13 Jun 2017 14:34:54 +0000 (16:34 +0200)]
patch 8.0.0640: mismatch between help and actual message

Problem:    Mismatch between help and actual message for ":syn conceal".
Solution:   Change the message to match the help. (Ken Takata)

7 years agopatch 8.0.0639: the cursor position is set when editing a new commit message v8.0.0639
Bram Moolenaar [Tue, 13 Jun 2017 14:12:51 +0000 (16:12 +0200)]
patch 8.0.0639: the cursor position is set when editing a new commit message

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)

7 years agopatch 8.0.0638: cannot build with new MSVC version v8.0.0638
Bram Moolenaar [Tue, 13 Jun 2017 13:22:12 +0000 (15:22 +0200)]
patch 8.0.0638: cannot build with new MSVC version

Problem:    Cannot build with new MSVC version VS2017.
Solution:   Change the compiler arguments. (Leonardo Manera, closes #1731,
            closes #1747)

7 years agopatch 8.0.0637: crash when using some version of GTK 3 v8.0.0637
Bram Moolenaar [Tue, 13 Jun 2017 12:34:01 +0000 (14:34 +0200)]
patch 8.0.0637: crash when using some version of GTK 3

Problem:    Crash when using some version of GTK 3.
Solution:   Add #ifdefs around incrementing the menu index. (Kazunobu
            Kuriyama)

7 years agopatch 8.0.0636: when reading the undo file fails may use uninitialized data v8.0.0636
Bram Moolenaar [Sun, 11 Jun 2017 21:09:15 +0000 (23:09 +0200)]
patch 8.0.0636: when reading the undo file fails may use uninitialized data

Problem:    When reading the undo file fails may use uninitialized data.
Solution:   Always clear the buffer on failure.

7 years agopatch 8.0.0635: when 'ignorecase' is set script detection is inaccurate v8.0.0635
Bram Moolenaar [Sun, 11 Jun 2017 15:10:32 +0000 (17:10 +0200)]
patch 8.0.0635: when 'ignorecase' is set script detection is inaccurate

Problem:    When 'ignorecase' is set script detection is inaccurate.
Solution:   Enforce matching case for text. (closes #1753)

7 years agopatch 8.0.0634: cannot easily get to the last quickfix list v8.0.0634
Bram Moolenaar [Sun, 11 Jun 2017 14:07:51 +0000 (16:07 +0200)]
patch 8.0.0634: cannot easily get to the last quickfix list

Problem:    Cannot easily get to the last quickfix list.
Solution:   Add "$" as a value for the "nr" argument of getqflist() and
            setqflist(). (Yegappan Lakshmanan)

7 years agopatch 8.0.0633: the client-server test is still a bit flaky v8.0.0633
Bram Moolenaar [Sat, 10 Jun 2017 15:06:16 +0000 (17:06 +0200)]
patch 8.0.0633: the client-server test is still a bit flaky

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.

7 years agopatch 8.0.0632: the quotestar test is still a bit flaky v8.0.0632
Bram Moolenaar [Sat, 10 Jun 2017 14:30:32 +0000 (16:30 +0200)]
patch 8.0.0632: the quotestar test is still a bit flaky

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.

7 years agopatch 8.0.0631: can't build with Perl 5.26 v8.0.0631
Bram Moolenaar [Sat, 10 Jun 2017 13:46:23 +0000 (15:46 +0200)]
patch 8.0.0631: can't build with Perl 5.26

Problem:    Perl 5.26 also needs S_TOPMARK and S_POPMARK defined.
Solution:   Define the functions when needed. (Jesin, closes #1748)

7 years agopatch 8.0.0630: it is not easy to work on lines without a match v8.0.0630
Bram Moolenaar [Sat, 10 Jun 2017 12:29:52 +0000 (14:29 +0200)]
patch 8.0.0630: it is not easy to work on lines without a match

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)

7 years agopatch 8.0.0629: checking for ambigous width is not working v8.0.0629
Bram Moolenaar [Fri, 9 Jun 2017 19:35:47 +0000 (21:35 +0200)]
patch 8.0.0629: checking for ambigous width is not working

Problem:    Checking for ambigous width is not working. (Hirohito Higashi)
Solution:   Reset "starting" earlier.

7 years agopatch 8.0.0628: cursor disappears after silent mapping v8.0.0628
Bram Moolenaar [Wed, 7 Jun 2017 18:39:47 +0000 (20:39 +0200)]
patch 8.0.0628: cursor disappears after silent mapping

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.

7 years agopatch 8.0.0627: "gn" selects only one character with 'nowrapscan' v8.0.0627
Bram Moolenaar [Mon, 5 Jun 2017 17:56:04 +0000 (19:56 +0200)]
patch 8.0.0627: "gn" selects only one character with 'nowrapscan'

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)

7 years agopatch 8.0.0626: in the GUI the cursor may flicker v8.0.0626
Bram Moolenaar [Mon, 5 Jun 2017 17:32:32 +0000 (19:32 +0200)]
patch 8.0.0626: in the GUI the cursor may flicker

Problem:    In the GUI the cursor may flicker.
Solution:   Check the cmd_silent flag before updating the cursor shape.
            (Hirohito Higashi, closes #1637)

7 years agopatch 8.0.0625: shellescape() always escapes a newline v8.0.0625
Bram Moolenaar [Mon, 5 Jun 2017 16:46:26 +0000 (18:46 +0200)]
patch 8.0.0625: shellescape() always escapes a newline

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)

7 years agopatch 8.0.0624: warning for unused variable in tiny build v8.0.0624
Bram Moolenaar [Mon, 5 Jun 2017 15:53:37 +0000 (17:53 +0200)]
patch 8.0.0624: warning for unused variable in tiny build

Problem:    Warning for unused variable in tiny build. (Tony Mechelynck)
Solution:   Add an #ifdef.

7 years agopatch 8.0.0623: error for invalid regexp is not very informative v8.0.0623
Bram Moolenaar [Mon, 5 Jun 2017 14:54:08 +0000 (16:54 +0200)]
patch 8.0.0623: error for invalid regexp is not very informative

Problem:    The message "Invalid range" is used for multiple errors.
Solution:   Add two more specific error messages. (Itchyny, Ken Hamada)

7 years agopatch 8.0.0622: selecting quoted text fails with 'selection' "exclusive" v8.0.0622
Bram Moolenaar [Mon, 5 Jun 2017 14:37:07 +0000 (16:37 +0200)]
patch 8.0.0622: selecting quoted text fails with 'selection' "exclusive"

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)

7 years agopatch 8.0.0621: :stag does not respect 'switchbuf' v8.0.0621
Bram Moolenaar [Mon, 5 Jun 2017 14:01:59 +0000 (16:01 +0200)]
patch 8.0.0621: :stag does not respect 'switchbuf'

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().

7 years agopatch 8.0.0620: checking for HAVE_GTK_MULTIHEAD is not needed v8.0.0620
Bram Moolenaar [Mon, 5 Jun 2017 13:07:09 +0000 (15:07 +0200)]
patch 8.0.0620: checking for HAVE_GTK_MULTIHEAD is not needed

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)

7 years agoUpdate runtime files.
Bram Moolenaar [Mon, 5 Jun 2017 12:44:35 +0000 (14:44 +0200)]
Update runtime files.

7 years agopatch 8.0.0619: GUI gets stuck if timer uses feedkeys() v8.0.0619
Bram Moolenaar [Mon, 5 Jun 2017 11:31:56 +0000 (13:31 +0200)]
patch 8.0.0619: GUI gets stuck if timer uses feedkeys()

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.

7 years agopatch 8.0.0618: NFA regex engine handles [0-z] incorrectly v8.0.0618
Bram Moolenaar [Mon, 5 Jun 2017 11:30:06 +0000 (13:30 +0200)]
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly

Problem:    NFA regex engine handles [0-z] incorrectly.
Solution:   Return at the right point. (James McCoy, closes #1703)

7 years agopatch 8.0.0617: hardcopy test hangs on MS-Windows v8.0.0617
Bram Moolenaar [Sun, 4 Jun 2017 19:40:36 +0000 (21:40 +0200)]
patch 8.0.0617: hardcopy test hangs on MS-Windows

Problem:    Hardcopy test hangs on MS-Windows.
Solution:   Check the postscript feature is supported.

7 years agopatch 8.0.0616: not always setting 'background' correctly after :hi Normal v8.0.0616
Bram Moolenaar [Sun, 4 Jun 2017 19:06:09 +0000 (21:06 +0200)]
patch 8.0.0616: not always setting 'background' correctly after :hi Normal

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)

7 years agopatch 8.0.0615: using % with :hardcopy wrongly escapes spaces v8.0.0615
Bram Moolenaar [Sun, 4 Jun 2017 18:43:48 +0000 (20:43 +0200)]
patch 8.0.0615: using % with :hardcopy wrongly escapes spaces

Problem:    Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov)
Solution:   Expand % differently. (Christian Brabandt, closes #1682)

7 years agopatch 8.0.0614: float2nr() is not exactly right v8.0.0614
Bram Moolenaar [Sun, 4 Jun 2017 18:30:00 +0000 (20:30 +0200)]
patch 8.0.0614: float2nr() is not exactly right

Problem:    float2nr() is not exactly right.
Solution:   Make float2nr() more accurate.  Turn test64 into a new style test.
            (Hirohito Higashi, closes #1688)

7 years agopatch 8.0.0613: the conf filetype is used before ftdetect from packages v8.0.0613
Bram Moolenaar [Sun, 4 Jun 2017 17:00:32 +0000 (19:00 +0200)]
patch 8.0.0613: the conf filetype is used before ftdetect from packages

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)

7 years agopatch 8.0.0612: pack dirs are added to 'runtimepath' too late v8.0.0612
Bram Moolenaar [Sun, 4 Jun 2017 15:47:42 +0000 (17:47 +0200)]
patch 8.0.0612: pack dirs are added to 'runtimepath' too late

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)

7 years agopatch 8.0.0611: the screen is not redrawn after sending t_u7 v8.0.0611
Bram Moolenaar [Sun, 4 Jun 2017 13:45:50 +0000 (15:45 +0200)]
patch 8.0.0611: the screen is not redrawn after sending t_u7

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.

7 years agopatch 8.0.0610: the screen is redrawn when default 'background' is detected v8.0.0610
Bram Moolenaar [Sun, 4 Jun 2017 13:37:46 +0000 (15:37 +0200)]
patch 8.0.0610: the screen is redrawn when default 'background' is detected

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.

7 years agopatch 8.0.0609: some people still don't know how to quit v8.0.0609
Bram Moolenaar [Sun, 4 Jun 2017 13:33:48 +0000 (15:33 +0200)]
patch 8.0.0609: some people still don't know how to quit

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.

7 years agopatch 8.0.0608: cannot manipulate other than the current quickfix list v8.0.0608
Bram Moolenaar [Sun, 4 Jun 2017 13:30:34 +0000 (15:30 +0200)]
patch 8.0.0608: cannot manipulate other than the current quickfix list

Problem:    Cannot manipulate other than the current quickfix list.
Solution:   Pass the list index to quickfix functions. (Yegappan Lakshmanan)

7 years agopatch 8.0.0607: after :bwipe + :new bufref might still be valid v8.0.0607
Bram Moolenaar [Sun, 4 Jun 2017 12:58:02 +0000 (14:58 +0200)]
patch 8.0.0607: after :bwipe + :new bufref might still be valid

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.

7 years agopatch 8.0.0606: cannot set the context for a specified quickfix list v8.0.0606
Bram Moolenaar [Sun, 28 May 2017 06:16:25 +0000 (08:16 +0200)]
patch 8.0.0606: cannot set the context for a specified quickfix list

Problem:    Cannot set the context for a specified quickfix list.
Solution:   Use the list index instead of the current list. (Yegappan
            Lakshmanan)

7 years agopatch 8.0.0605: the quickfix cached buffer may become invalid v8.0.0605
Bram Moolenaar [Sun, 28 May 2017 05:56:36 +0000 (07:56 +0200)]
patch 8.0.0605: the quickfix cached buffer may become invalid

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)

7 years agoUpdate runtime files.
Bram Moolenaar [Sat, 27 May 2017 14:45:17 +0000 (16:45 +0200)]
Update runtime files.