0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

7202 Commits

Author SHA1 Message Date
Bram Moolenaar
b463e8d999 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)
v8.0.0620
2017-06-05 15:07:09 +02:00
Bram Moolenaar
6aa8cea46d Update runtime files. 2017-06-05 14:44:35 +02:00
Bram Moolenaar
9472eec83c 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.
v8.0.0619
2017-06-05 13:31:56 +02:00
Bram Moolenaar
bb7943b792 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)
v8.0.0618
2017-06-05 13:30:06 +02:00
Bram Moolenaar
763209c57b patch 8.0.0617: hardcopy test hangs on MS-Windows
Problem:    Hardcopy test hangs on MS-Windows.
Solution:   Check the postscript feature is supported.
v8.0.0617
2017-06-04 21:40:36 +02:00
Bram Moolenaar
1615b36b91 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)
v8.0.0616
2017-06-04 21:06:09 +02:00
Bram Moolenaar
bf15b8d78b 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)
v8.0.0615
2017-06-04 20:43:48 +02:00
Bram Moolenaar
863e80b445 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)
v8.0.0614
2017-06-04 20:30:00 +02:00
Bram Moolenaar
3e54569b17 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)
v8.0.0613
2017-06-04 19:00:32 +02:00
Bram Moolenaar
ce876aaa9a 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)
v8.0.0612
2017-06-04 17:47:42 +02:00
Bram Moolenaar
976787d1f3 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.
v8.0.0611
2017-06-04 15:45:50 +02:00
Bram Moolenaar
4b974d5443 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.
v8.0.0610
2017-06-04 15:37:46 +02:00
Bram Moolenaar
28a8193e31 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.
v8.0.0609
2017-06-04 15:33:48 +02:00
Bram Moolenaar
a3921f48c6 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)
v8.0.0608
2017-06-04 15:30:34 +02:00
Bram Moolenaar
45e5fd135d 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.
v8.0.0607
2017-06-04 14:58:02 +02:00
Bram Moolenaar
6e62da3e14 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)
v8.0.0606
2017-05-28 08:16:25 +02:00
Bram Moolenaar
6dd4a53502 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)
v8.0.0605
2017-05-28 07:56:36 +02:00
Bram Moolenaar
b4d6c3ea4a Update runtime files. 2017-05-27 16:45:17 +02:00
Bram Moolenaar
712598f210 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'.
v8.0.0604
2017-05-24 10:42:37 +02:00
Bram Moolenaar
d7aca7a71c 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
v8.0.0603
2017-05-24 10:05:56 +02:00
Bram Moolenaar
2a79ed293c 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)
v8.0.0602
2017-05-24 09:51:39 +02:00
Bram Moolenaar
545cb79da5 patch 8.0.0601: no test coverage for :spellrepall
Problem:    No test coverage for :spellrepall.
Solution:   Add a test. (Dominique Pelle, closes #1717)
v8.0.0601
2017-05-23 11:31:22 +02:00
Bram Moolenaar
2a0b06def4 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)
v8.0.0600
2017-05-18 16:23:43 +02:00
Bram Moolenaar
79a213d6a4 patch 8.0.0599: diff mode is insufficiently tested
Problem:    diff mode is insufficiently tested
Solution:   Add more test cases. (Dominique Pelle, closes #1685)
v8.0.0599
2017-05-16 13:15:18 +02:00
Bram Moolenaar
9e0f6ec076 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)
v8.0.0598
2017-05-16 09:36:54 +02:00
Bram Moolenaar
253f912877 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)
v8.0.0597
2017-05-15 08:45:13 +02:00
Bram Moolenaar
4475b62396 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.
v8.0.0596
2017-05-01 20:46:52 +02:00
Bram Moolenaar
beb9cb19c6 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.
v8.0.0595
2017-05-01 14:14:04 +02:00
Bram Moolenaar
66c0e70b80 patch 8.0.0594: build failure when windows feature is missing
Problem:    Build failure when windows feature is missing.
Solution:   Add #ifdef.
v8.0.0594
2017-04-30 20:46:32 +02:00
Bram Moolenaar
45cf6e910c 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)
v8.0.0593
2017-04-30 20:25:19 +02:00
Bram Moolenaar
29ae377ea7 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.
v8.0.0592
2017-04-30 19:39:39 +02:00
Bram Moolenaar
45d2cca1ea patch 8.0.0591: changes to eval functionality not documented
Problem:    Changes to eval functionality not documented.
Solution:   Include all the changes.
v8.0.0591
2017-04-30 16:36:05 +02:00
Bram Moolenaar
8f77c5a4ec 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)
v8.0.0590
2017-04-30 14:21:00 +02:00
Bram Moolenaar
a21ccb7a97 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)
v8.0.0589
2017-04-29 17:40:22 +02:00
Bram Moolenaar
1a9020d4cb 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)
v8.0.0588
2017-04-29 16:24:38 +02:00
Bram Moolenaar
0635ee6824 Runtime file updates 2017-04-28 20:32:33 +02:00
Bram Moolenaar
696cbd224b 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)
v8.0.0587
2017-04-28 15:45:46 +02:00
Bram Moolenaar
b7637c44c2 patch 8.0.0586: no test for mapping timing out
Problem:    No test for mapping timing out.
Solution:   Add a test.
v8.0.0586
2017-04-23 18:49:36 +02:00
Bram Moolenaar
86e5792906 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.
v8.0.0585
2017-04-23 18:44:26 +02:00
Bram Moolenaar
94237495c0 Updated runtime files. 2017-04-23 18:40:21 +02:00
Bram Moolenaar
d788f6fe89 patch 8.0.0584: memory leak when executing quickfix tests
Problem:    Memory leak when executing quickfix tests.
Solution:   Free the list reference. (Yegappan Lakshmanan)
v8.0.0584
2017-04-23 17:19:43 +02:00
Bram Moolenaar
b11c826ddc patch 8.0.0583: fold test hangs on MS-Windows
Problem:    Fold test hangs on MS-Windows.
Solution:   Avoid overflow in compare.
v8.0.0583
2017-04-23 16:48:20 +02:00
Bram Moolenaar
5b276aa80e 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().
v8.0.0582
2017-04-22 23:49:52 +02:00
Bram Moolenaar
94be619e30 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)
v8.0.0581
2017-04-22 22:40:11 +02:00
Bram Moolenaar
f1d21c8cc8 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)
v8.0.0580
2017-04-22 21:20:46 +02:00
Bram Moolenaar
9b77016545 patch 8.0.0579: duplicate test case for quickfix
Problem:    Duplicate test case for quickfix.
Solution:   Remove the function. (Yegappan Lakshmanan)
v8.0.0579
2017-04-22 15:42:53 +02:00
Bram Moolenaar
7a85b0f028 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)
v8.0.0578
2017-04-22 15:17:40 +02:00
Bram Moolenaar
97db5541a6 patch 8.0.0577: warning for uninitialized variable
Problem:    Warning for uninitialized variable. (John Marriott)
Solution:   Initialize "indent".
v8.0.0577
2017-04-21 23:18:26 +02:00
Bram Moolenaar
1d4be82c7d 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)
v8.0.0576
2017-04-21 23:00:02 +02:00
Bram Moolenaar
a701b3b6f0 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'.
v8.0.0575
2017-04-20 22:57:27 +02:00