]> granicus.if.org Git - vim/log
vim
8 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)

8 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.

8 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.

8 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)

8 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)

8 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)

8 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.

8 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.

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

8 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.

8 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.

8 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)

8 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.

8 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.

8 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)

8 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.

8 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)

8 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)

8 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)

8 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)

8 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)

8 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.

8 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)

8 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)

8 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.

8 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.

8 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)

8 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)

8 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.

8 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.

8 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)

8 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)

8 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)

8 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.

8 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)

8 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)

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

8 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)

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

8 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.

8 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)

8 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.

8 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)

8 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)

8 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)

8 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)

8 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)

8 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.

8 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.

8 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.

8 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)

8 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.

8 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)

8 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)

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

8 years agopatch 8.0.0604: gF test fails still on MS-Windows v8.0.0604
Bram Moolenaar [Wed, 24 May 2017 08:42:37 +0000 (10:42 +0200)]
patch 8.0.0604: gF test fails still on MS-Windows

Problem:    gF test fails still on MS-Windows.
Solution:   Use : before the line number and remove it from 'isfname'.

8 years agopatch 8.0.0603: gF test fails on MS-Windows v8.0.0603
Bram Moolenaar [Wed, 24 May 2017 08:05:56 +0000 (10:05 +0200)]
patch 8.0.0603: gF test fails on MS-Windows

Problem:    gF test fails on MS-Windows.
Solution:   Use @ instead of : before the line number

8 years agopatch 8.0.0602: when gF fails to edit the file the cursor still moves v8.0.0602
Bram Moolenaar [Wed, 24 May 2017 07:51:39 +0000 (09:51 +0200)]
patch 8.0.0602: when gF fails to edit the file the cursor still moves

Problem:    When gF fails to edit the file the cursor still moves to the found
            line number.
Solution:   Check the return value of do_ecmd(). (Michael Hwang)

8 years agopatch 8.0.0601: no test coverage for :spellrepall v8.0.0601
Bram Moolenaar [Tue, 23 May 2017 09:31:22 +0000 (11:31 +0200)]
patch 8.0.0601: no test coverage for :spellrepall

Problem:    No test coverage for :spellrepall.
Solution:   Add a test. (Dominique Pelle, closes #1717)

8 years agopatch 8.0.0600: test_recover fails on some systems v8.0.0600
Bram Moolenaar [Thu, 18 May 2017 14:23:43 +0000 (16:23 +0200)]
patch 8.0.0600: test_recover fails on some systems

Problem:    test_recover fails on some systems.
Solution:   Explicitly check if "/" is writable. (Ken Takata)

8 years agopatch 8.0.0599: diff mode is insufficiently tested v8.0.0599
Bram Moolenaar [Tue, 16 May 2017 11:15:18 +0000 (13:15 +0200)]
patch 8.0.0599: diff mode is insufficiently tested

Problem:    diff mode is insufficiently tested
Solution:   Add more test cases. (Dominique Pelle, closes #1685)

8 years agopatch 8.0.0598: building with gcc 7.1 yields new warnings v8.0.0598
Bram Moolenaar [Tue, 16 May 2017 07:36:54 +0000 (09:36 +0200)]
patch 8.0.0598: building with gcc 7.1 yields new warnings

Problem:    Building with gcc 7.1 yields new warnings.
Solution:   Initialize result. (John Marriott)

8 years agopatch 8.0.0597: off-by-one error in size computation v8.0.0597
Bram Moolenaar [Mon, 15 May 2017 06:45:13 +0000 (08:45 +0200)]
patch 8.0.0597: off-by-one error in size computation

Problem:    Off-by-one error in buffer size computation.
Solution:   Use ">=" instead of ">". (Lemonboy, closes #1694)

8 years agopatch 8.0.0596: crash when complete() called after complete_add() v8.0.0596
Bram Moolenaar [Mon, 1 May 2017 18:46:52 +0000 (20:46 +0200)]
patch 8.0.0596: crash when complete() called after complete_add()

Problem:    Crash when complete() is called after complete_add() in
            'completefunc'. (Lifepillar)
Solution:   Bail out if compl_pattern is NULL. (closes #1668)
            Also avoid using freed memory.

8 years agopatch 8.0.0595: Coverity warning for not checking return value v8.0.0595
Bram Moolenaar [Mon, 1 May 2017 12:14:04 +0000 (14:14 +0200)]
patch 8.0.0595: Coverity warning for not checking return value

Problem:    Coverity warning for not checking return value of dict_add().
Solution:   Check the return value for FAIL.

8 years agopatch 8.0.0594: build failure when windows feature is missing v8.0.0594
Bram Moolenaar [Sun, 30 Apr 2017 18:46:32 +0000 (20:46 +0200)]
patch 8.0.0594: build failure when windows feature is missing

Problem:    Build failure when windows feature is missing.
Solution:   Add #ifdef.

8 years agopatch 8.0.0593: duplication of code for adding a list or dict return value v8.0.0593
Bram Moolenaar [Sun, 30 Apr 2017 18:25:19 +0000 (20:25 +0200)]
patch 8.0.0593: duplication of code for adding a list or dict return value

Problem:    Duplication of code for adding a list or dict return value.
Solution:   Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)

8 years agopatch 8.0.0592: if a job writes to a buffer screen is not updated v8.0.0592
Bram Moolenaar [Sun, 30 Apr 2017 17:39:39 +0000 (19:39 +0200)]
patch 8.0.0592: if a job writes to a buffer screen is not updated

Problem:    If a job writes to a buffer and the user is typing a command, the
            screen isn't updated. When a message is displayed the changed
            buffer may cause it to be cleared. (Ramel Eshed)
Solution:   Update the screen and then the command line if the screen didn't
            scroll. Avoid inserting screen lines, as it clears any message.
            Update the status line when the buffer changed.

8 years agopatch 8.0.0591: changes to eval functionality not documented v8.0.0591
Bram Moolenaar [Sun, 30 Apr 2017 14:36:05 +0000 (16:36 +0200)]
patch 8.0.0591: changes to eval functionality not documented

Problem:    Changes to eval functionality not documented.
Solution:   Include all the changes.

8 years agopatch 8.0.0590: cannot add a context to locations v8.0.0590
Bram Moolenaar [Sun, 30 Apr 2017 12:21:00 +0000 (14:21 +0200)]
patch 8.0.0590: cannot add a context to locations

Problem:    Cannot add a context to locations.
Solution:   Add the "context" entry in location entries. (Yegappan Lakshmanan,
            closes #1012)

8 years agopatch 8.0.0589: :simalt still does not work v8.0.0589
Bram Moolenaar [Sat, 29 Apr 2017 15:40:22 +0000 (17:40 +0200)]
patch 8.0.0589: :simalt still does not work

Problem:    :simalt still does not work.
Solution:   Use K_NOP instead of K_IGNORE. (Christian Brabandt)

8 years agopatch 8.0.0588: job_stop() often assumes the channel will be closed v8.0.0588
Bram Moolenaar [Sat, 29 Apr 2017 14:24:38 +0000 (16:24 +0200)]
patch 8.0.0588: job_stop() often assumes the channel will be closed

Problem:    job_stop() often assumes the channel will be closed, while the job
            may not actually be stopped. (Martin Gammelsæter)
Solution:   Only assume the job stops on "kill".  Don't send a signal if the
            job has already ended. (closes #1632)

8 years agoRuntime file updates
Bram Moolenaar [Fri, 28 Apr 2017 18:32:33 +0000 (20:32 +0200)]
Runtime file updates

8 years agopatch 8.0.0587: configure check for return value of tgetent skipped v8.0.0587
Bram Moolenaar [Fri, 28 Apr 2017 13:45:46 +0000 (15:45 +0200)]
patch 8.0.0587: configure check for return value of tgetent skipped

Problem:    Configure check for return value of tgetent is skipped.
Solution:   Always perform the check. (Marvin Schmidt, closes #1664)

8 years agopatch 8.0.0586: no test for mapping timing out v8.0.0586
Bram Moolenaar [Sun, 23 Apr 2017 16:49:36 +0000 (18:49 +0200)]
patch 8.0.0586: no test for mapping timing out

Problem:    No test for mapping timing out.
Solution:   Add a test.

8 years agopatch 8.0.0585: test_options fails when run in the GUI v8.0.0585
Bram Moolenaar [Sun, 23 Apr 2017 16:44:26 +0000 (18:44 +0200)]
patch 8.0.0585: test_options fails when run in the GUI

Problem:    Test_options fails when run in the GUI.
Solution:   Also check the 'imactivatekey' value when the GUI is not running.
            Specify test values that work and that fail.

8 years agoUpdated runtime files.
Bram Moolenaar [Sun, 23 Apr 2017 16:40:21 +0000 (18:40 +0200)]
Updated runtime files.

8 years agopatch 8.0.0584: memory leak when executing quickfix tests v8.0.0584
Bram Moolenaar [Sun, 23 Apr 2017 15:19:43 +0000 (17:19 +0200)]
patch 8.0.0584: memory leak when executing quickfix tests

Problem:    Memory leak when executing quickfix tests.
Solution:   Free the list reference. (Yegappan Lakshmanan)

8 years agopatch 8.0.0583: fold test hangs on MS-Windows v8.0.0583
Bram Moolenaar [Sun, 23 Apr 2017 14:48:20 +0000 (16:48 +0200)]
patch 8.0.0583: fold test hangs on MS-Windows

Problem:    Fold test hangs on MS-Windows.
Solution:   Avoid overflow in compare.

8 years agopatch 8.0.0582: illegal memory access with z= command v8.0.0582
Bram Moolenaar [Sat, 22 Apr 2017 21:49:52 +0000 (23:49 +0200)]
patch 8.0.0582: illegal memory access with z= command

Problem:    Illegal memory access with z= command. (Dominique Pelle)
Solution:   Avoid case folded text to be longer than the original text.  Use
            MB_PTR2LEN() instead of MB_BYTE2LEN().

8 years agopatch 8.0.0581: moving folded text is sometimes not correct v8.0.0581
Bram Moolenaar [Sat, 22 Apr 2017 20:40:11 +0000 (22:40 +0200)]
patch 8.0.0581: moving folded text is sometimes not correct

Problem:    Moving folded text is sometimes not correct.
Solution:   Bail out when "move_end" is zero. (Matthew Malcomson)

8 years agopatch 8.0.0580: cannot set the valid flag with setqflist() v8.0.0580
Bram Moolenaar [Sat, 22 Apr 2017 19:20:46 +0000 (21:20 +0200)]
patch 8.0.0580: cannot set the valid flag with setqflist()

Problem:    Cannot set the valid flag with setqflist().
Solution:   Add the "valid" argument. (Yegappan Lakshmanan, closes #1642)

8 years agopatch 8.0.0579: duplicate test case for quickfix v8.0.0579
Bram Moolenaar [Sat, 22 Apr 2017 13:42:53 +0000 (15:42 +0200)]
patch 8.0.0579: duplicate test case for quickfix

Problem:    Duplicate test case for quickfix.
Solution:   Remove the function. (Yegappan Lakshmanan)

8 years agopatch 8.0.0578: :simalt on MS-Windows does not work properly v8.0.0578
Bram Moolenaar [Sat, 22 Apr 2017 13:17:40 +0000 (15:17 +0200)]
patch 8.0.0578: :simalt on MS-Windows does not work properly

Problem:    :simalt on MS-Windows does not work properly.
Solution:   Put something in the typeahead buffer. (Christian Brabandt)

8 years agopatch 8.0.0577: warning for uninitialized variable v8.0.0577
Bram Moolenaar [Fri, 21 Apr 2017 21:18:26 +0000 (23:18 +0200)]
patch 8.0.0577: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (John Marriott)
Solution:   Initialize "indent".

8 years agopatch 8.0.0576: can't build when configure choses "install-sh" v8.0.0576
Bram Moolenaar [Fri, 21 Apr 2017 21:00:02 +0000 (23:00 +0200)]
patch 8.0.0576: can't build when configure choses "install-sh"

Problem:    Can't build when configure choses "install-sh". (Daniel Hahler)
Solution:   Always use install-sh.  Fix remaining use of mkinstalldirs.
            (closes #1647)

8 years agopatch 8.0.0575: using freed memory when resetting 'indentexpr' v8.0.0575
Bram Moolenaar [Thu, 20 Apr 2017 20:57:27 +0000 (22:57 +0200)]
patch 8.0.0575: using freed memory when resetting 'indentexpr'

Problem:    Using freed memory when resetting 'indentexpr' while evaluating
            it. (Dominique Pelle)
Solution:   Make a copy of 'indentexpr'.

8 years agopatch 8.0.0574: get only one quickfix list after :caddbuf v8.0.0574
Bram Moolenaar [Thu, 20 Apr 2017 20:44:47 +0000 (22:44 +0200)]
patch 8.0.0574: get only one quickfix list after :caddbuf

Problem:    Get only one quickfix list after :caddbuf.
Solution:   Reset qf_multiline. (Yegappan Lakshmanan)

8 years agopatch 8.0.0573: running parallel make after distclean fails v8.0.0573
Bram Moolenaar [Thu, 20 Apr 2017 20:32:24 +0000 (22:32 +0200)]
patch 8.0.0573: running parallel make after distclean fails

Problem:    Running parallel make after distclean fails. (Manuel Ortega)
Solution:   Instead of using targets "scratch config myself" use "reconfig".

8 years agopatch 8.0.0572: building the command table requires Perl v8.0.0572
Bram Moolenaar [Thu, 20 Apr 2017 19:55:44 +0000 (21:55 +0200)]
patch 8.0.0572: building the command table requires Perl

Problem:    Building the command table requires Perl.
Solution:   Use a Vim script solution. (Dominique Pelle, closes #1641)

8 years agopatch 8.0.0571: negative line number when using :z^ in an empty buffer v8.0.0571
Bram Moolenaar [Thu, 20 Apr 2017 19:12:30 +0000 (21:12 +0200)]
patch 8.0.0571: negative line number when using :z^ in an empty buffer

Problem:    The cursor line number becomes negative when using :z^ in an empty
            buffer. (neovim #6557)
Solution:   Correct the line number.  Also reset the column.

8 years agopatch 8.0.0570: can't run make with several jobs v8.0.0570
Bram Moolenaar [Thu, 20 Apr 2017 18:20:23 +0000 (20:20 +0200)]
patch 8.0.0570: can't run make with several jobs

Problem:    Can't run make with several jobs, creating directories has a race
            condition.
Solution:   Use the MKDIR_P autoconf mechanism. (Eric N. Vander Weele,
            closes #1639)

8 years agopatch 8.0.0569: bracketed paste is still enabled in a shell command v8.0.0569
Bram Moolenaar [Thu, 20 Apr 2017 17:44:09 +0000 (19:44 +0200)]
patch 8.0.0569: bracketed paste is still enabled in a shell command

Problem:    Bracketed paste is still enabled when executing a shell command.
            (Michael Smith)
Solution:   Disable brackted paste when going into cooked mode. (closes #1638)

8 years agopatch 8.0.0568: 1gd may hang v8.0.0568
Bram Moolenaar [Thu, 20 Apr 2017 16:54:50 +0000 (18:54 +0200)]
patch 8.0.0568: 1gd may hang

Problem:    "1gd" may hang.
Solution:   Don't get stuck in one position. (Christian Brabandt, closes #1643)

8 years agopatch 8.0.0567: call for requesting color and ambiwidth is too early v8.0.0567
Bram Moolenaar [Tue, 18 Apr 2017 16:51:35 +0000 (18:51 +0200)]
patch 8.0.0567: call for requesting color and ambiwidth is too early

Problem:    Call for requesting color and ambiwidth is too early. (Hirohito
            Higashi)
Solution:   Move the call down to below resetting "starting".

8 years agopatch 8.0.0566: setting nocompatible for the tiny version moves the cursor v8.0.0566
Bram Moolenaar [Sat, 15 Apr 2017 13:37:25 +0000 (15:37 +0200)]
patch 8.0.0566: setting nocompatible for the tiny version moves the cursor

Problem:    Setting nocompatible for the tiny version moves the cursor.
Solution:   Use another trick to skip commands when the +eval feature is
            present. (Christian Brabandt, closes #1630)

8 years agopatch 8.0.0565: using freed memory in :caddbuf v8.0.0565
Bram Moolenaar [Sat, 15 Apr 2017 13:22:52 +0000 (15:22 +0200)]
patch 8.0.0565: using freed memory in :caddbuf

Problem:    Using freed memory in :caddbuf after clearing quickfix list.
            (Dominique Pelle)
Solution:   Set qf_last to NULL.

8 years agopatch 8.0.0564: cannot detect Bazel BUILD files on some systems v8.0.0564
Bram Moolenaar [Sat, 15 Apr 2017 12:36:07 +0000 (14:36 +0200)]
patch 8.0.0564: cannot detect Bazel BUILD files on some systems

Problem:    Cannot detect Bazel BUILD files on some systems.
Solution:   Check for BUILD after script checks. (Issue #1340)

8 years agopatch 8.0.0563: crash when getting the window position in tmux v8.0.0563
Bram Moolenaar [Tue, 11 Apr 2017 20:44:05 +0000 (22:44 +0200)]
patch 8.0.0563: crash when getting the window position in tmux

Problem:    Crash when getting the window position in tmux. (Marvin Schmidt)
Solution:   Add t_GP to the list of terminal options. (closes #1627)

8 years agopatch 8.0.0562: not enough test coverage for syntax commands v8.0.0562
Bram Moolenaar [Mon, 10 Apr 2017 20:45:30 +0000 (22:45 +0200)]
patch 8.0.0562: not enough test coverage for syntax commands

Problem:    Not enough test coverage for syntax commands.
Solution:   Add a few more tests. (Dominique Pelle, closes #1624)