0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00
Commit Graph

7839 Commits

Author SHA1 Message Date
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
Bram Moolenaar
99895eac1c 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)
v8.0.0574
2017-04-20 22:44:47 +02:00
Bram Moolenaar
91b6e4591a 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".
v8.0.0573
2017-04-20 22:32:24 +02:00
Bram Moolenaar
6de5e12601 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)
v8.0.0572
2017-04-20 21:55:44 +02:00
Bram Moolenaar
a364cdb648 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.
v8.0.0571
2017-04-20 21:12:30 +02:00
Bram Moolenaar
c03944151f 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)
v8.0.0570
2017-04-20 20:20:23 +02:00
Bram Moolenaar
62cf09b5dc 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)
v8.0.0569
2017-04-20 19:44:09 +02:00
Bram Moolenaar
60402d68da patch 8.0.0568: 1gd may hang
Problem:    "1gd" may hang.
Solution:   Don't get stuck in one position. (Christian Brabandt, closes #1643)
v8.0.0568
2017-04-20 18:54:50 +02:00
Bram Moolenaar
fc8f1118e7 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".
v8.0.0567
2017-04-18 18:51:35 +02:00
Bram Moolenaar
43d1ac6e81 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)
v8.0.0566
2017-04-15 15:37:25 +02:00
Bram Moolenaar
31bdd13c33 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.
v8.0.0565
2017-04-15 15:22:52 +02:00
Bram Moolenaar
39170e2d97 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)
v8.0.0564
2017-04-15 14:36:07 +02:00
Bram Moolenaar
9f92886277 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)
v8.0.0563
2017-04-11 22:44:05 +02:00
Bram Moolenaar
ea588154d0 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)
v8.0.0562
2017-04-10 22:45:30 +02:00