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

7028 Commits

Author SHA1 Message Date
Bram Moolenaar
7f73b54631 patch 8.0.0406: arabic shaping code is verbose
Problem:    The arabic shaping code is verbose.
Solution:   Shorten the code without changing the functionality.
v8.0.0406
2017-03-04 14:50:19 +01:00
Bram Moolenaar
08cab96087 patch 8.0.0405: v:progpath may become invalid after :cd
Problem:    v:progpath may become invalid after ":cd".
Solution:   Turn v:progpath into a full path if needed.
v8.0.0405
2017-03-04 14:37:18 +01:00
Bram Moolenaar
391b1dd040 patch 8.0.0404: not enough testing for quickfix
Problem:    Not enough testing for quickfix.
Solution:   Add some more tests. (Yegappan Lakshmanan)
v8.0.0404
2017-03-04 13:47:11 +01:00
Bram Moolenaar
24d7636e98 patch 8.0.0403: GUI tests may fail
Problem:    GUI tests may fail.
Solution:   Ignore the E285 error better. (Kazunobu Kuriyama)
v8.0.0403
2017-03-04 13:32:10 +01:00
Bram Moolenaar
cf5fdf7d16 patch 8.0.0402: :map completion does not have <special>
Problem:    :map completion does not have <special>. (Dominique Pelle)
Solution:   Recognize <special> in completion.  Add a test.
v8.0.0402
2017-03-02 23:05:51 +01:00
Bram Moolenaar
a0107bdf87 patch 8.0.0401: test fails with missing balloon feature
Problem:    Test fails with missing balloon feature.
Solution:   Add check for balloon feature.
v8.0.0401
2017-03-02 22:48:01 +01:00
Bram Moolenaar
358f6b0a36 patch 8.0.0400: some tests have a one second delay
Problem:    Some tests have a one second delay.
Solution:   Add --not-a-term in RunVim().
v8.0.0400
2017-03-02 22:43:01 +01:00
Bram Moolenaar
caf6434ac9 patch 8.0.0399: crash when using balloon_show() when not supported
Problem:    Crash when using balloon_show() when not supported. (Hirohito
            Higashi)
Solution:   Check for balloonEval not to be NULL. (Ken Takata)
v8.0.0399
2017-03-02 22:11:33 +01:00
Bram Moolenaar
66727e1607 patch 8.0.0398: illegal memory access with "t"
Problem:    Illegal memory access with "t".
Solution:   Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528)
v8.0.0398
2017-03-01 22:17:05 +01:00
Bram Moolenaar
5a66dfb25e patch 8.0.0397: can't build with +viminfo but without +eval
Problem:    Cannot build with the viminfo feature but without the eval
            feature.
Solution:   Adjust #ifdef. (John Marriott)
v8.0.0397
2017-03-01 20:40:39 +01:00
Bram Moolenaar
59716a27bd patch 8.0.0396: 'balloonexpr' only works synchronously
Problem:    'balloonexpr' only works synchronously.
Solution:   Add balloon_show(). (Jusufadis Bakamovic, closes #1449)
v8.0.0396
2017-03-01 20:32:44 +01:00
Bram Moolenaar
f8ab1b14fd patch 8.0.0395: testing the + register fails with Motif
Problem:    Testing the + register fails with Motif.
Solution:   Also ignore the "failed to create input context" error in the
            second gvim.  Don't use msg() when it would result in a dialog.
v8.0.0395
2017-03-01 18:30:34 +01:00
Bram Moolenaar
abc39ab642 patch 8.0.0394: tabs are not aligned when scrolling horizontally
Problem:    Tabs are not aligned when scrolling horizontally and a Tab doesn't
            fit. (Axel Bender)
Solution:   Handle a Tab as a not fitting character. (Christian Brabandt)
            Also fix that ":redraw" does not scroll horizontally to show the
            cursor.  And fix the test that depended on the old behavior.
v8.0.0394
2017-03-01 18:04:05 +01:00
Bram Moolenaar
98e83b2956 patch 8.0.0393: order of duplicate tags is not preserved
Problem:    When the same tag appears more than once, the order is
            unpredictable. (Charles Campbell)
Solution:   Besides using a dict for finding duplicates, use a grow array for
            keeping the tags in sequence.
v8.0.0393
2017-03-01 15:45:05 +01:00
Bram Moolenaar
e0c31f6a30 patch 8.0.0392: GUI test fails with Athena and Motif
Problem:    GUI test fails with Athena and Motif.
Solution:   Add test_ignore_error().  Use it to ignore the "failed to create
            input context" error.
v8.0.0392
2017-03-01 15:07:05 +01:00
Bram Moolenaar
5f53dd3f74 patch 8.0.0391: arabic support is verbose and not well tested
Problem:    Arabic support is verbose and not well tested.
Solution:   Simplify the code.  Add more tests.
v8.0.0391
2017-03-01 14:02:30 +01:00
Bram Moolenaar
cb03642399 patch 8.0.0390: when the window scrolls the popup menu may be garbled
Problem:    When the window scrolls horizontally when the popup menu is
            displayed part of it may not be cleared. (Neovim issue #6184)
Solution:   Remove the menu when the windows scrolled. (closes #1524)
v8.0.0390
2017-03-01 12:29:10 +01:00
Bram Moolenaar
5342f00ff9 patch 8.0.0389: test for arabic does not check what is displayed
Problem:    Test for arabic does not check what is displayed.
Solution:   Improve what is asserted. (Dominique Pelle, closes #1523)
            Add a first shaping test.
v8.0.0389
2017-02-28 22:51:12 +01:00
Bram Moolenaar
1159b168dd patch 8.0.0388: filtering lines changes folds
Problem:    filtering lines through "cat", without changing the line count,
            changes manual folds.
Solution:   Change how marks and folds are adjusted. (Matthew Malcomson, from
            neovim #6194.
v8.0.0388
2017-02-28 21:53:56 +01:00
Bram Moolenaar
b113c3a618 patch 8.0.0387: compiler warnings
Problem:    compiler warnings
Solution:   Add type casts. (Christian Brabandt)
v8.0.0387
2017-02-28 21:26:17 +01:00
Bram Moolenaar
5b3af14b34 patch 8.0.0386: tiny build has a problem with generating the options test
Problem:    Tiny build has a problem with generating the options test.
Solution:   Change the "if" to skip over statements.
v8.0.0386
2017-02-27 22:59:40 +01:00
Bram Moolenaar
b5e8377364 patch 8.0.0385: no tests for arabic
Problem:    No tests for arabic.
Solution:   Add a first test for arabic. (Dominique Pelle, closes #1518)
v8.0.0385
2017-02-27 21:48:26 +01:00
Bram Moolenaar
d512e17ea4 patch 8.0.0384: timer test failed for no apparent reason
Problem:    Timer test failed for no apparent reason.
Solution:   Mark the test as flaky.
v8.0.0384
2017-02-27 21:35:53 +01:00
Bram Moolenaar
10a8da0594 patch 8.0.0383: misplaced #ifdef
Problem:    Misplaced #ifdef. (Christ van Willigen)
Solution:   Split assignment.
v8.0.0383
2017-02-27 21:11:35 +01:00
Bram Moolenaar
88e7688eda patch 8.0.0382: warning in tiny build for unused variable
Problem:    Warning in tiny build for unused variable. (Tony Mechelynck)
Solution:   Add #ifdefs.
v8.0.0382
2017-02-27 20:33:46 +01:00
Bram Moolenaar
aeb661e1f4 patch 8.0.0381: diff mode is not sufficiently tested
Problem:    Diff mode is not sufficiently tested.
Solution:   Add more diff mode tests. (Dominique Pelle, closes #1515)
v8.0.0381
2017-02-26 19:59:59 +01:00
Bram Moolenaar
38632faf63 patch 8.0.0380: with 'linebreak' double wide char wraps badly
Problem:    With 'linebreak' set and 'breakat' includes ">" a double-wide
            character results in "<<" displayed.
Solution:   Check for the character not to be replaced. (Ozaki Kiichi,
            closes #1456)
v8.0.0380
2017-02-26 19:40:59 +01:00
Bram Moolenaar
74a47162a0 patch 8.0.0379: CTRL-Z and mouse click use CTRL-O unnecessary
Problem:    CTRL-Z and mouse click use CTRL-O unnecessary.
Solution:   Remove stuffing CTRL-O. (James McCoy, closes #1453)
v8.0.0379
2017-02-26 19:09:05 +01:00
Bram Moolenaar
0c8485f0e4 patch 8.0.0378: possible overflow when reading corrupted undo file
Problem:    Another possible overflow when reading corrupted undo file.
Solution:   Check if allocated size is not too big. (King)
v8.0.0378
2017-02-26 18:17:10 +01:00
Bram Moolenaar
3eb1637b1b patch 8.0.0377: possible overflow when reading corrupted undo file
Problem:    Possible overflow when reading corrupted undo file.
Solution:   Check if allocated size is not too big. (King)
v8.0.0377
2017-02-26 18:11:36 +01:00
Bram Moolenaar
6d3c8586fc patch 8.0.0376: size computations in spell file reading are off
Problem:    Size computations in spell file reading are not exactly right.
Solution:   Make "len" a "long" and check with LONG_MAX.
v8.0.0376
2017-02-26 15:27:23 +01:00
Bram Moolenaar
5074a0e033 patch 8.0.0375: the "+ register is not tested
Problem:    The "+ register is not tested.
Solution:   Add a test using another Vim instance to change the "+ register.
            (Kazuki Kuriyama)
v8.0.0375
2017-02-26 15:08:21 +01:00
Bram Moolenaar
ba748c8a84 patch 8.0.0374: invalid memory access when using :sc in Ex mode
Problem:    Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
Solution:   Avoid the column being negative.  Also fix a hang in Ex mode.
v8.0.0374
2017-02-26 14:00:07 +01:00
Bram Moolenaar
376407674f patch 8.0.0373: build fails without +folding
Problem:    Build fails without +folding.
Solution:   Move misplaced #ifdef.
v8.0.0373
2017-02-25 22:37:15 +01:00
Bram Moolenaar
a713ff819d patch 8.0.0372: more options are not always defined
Problem:    More options are not always defined.
Solution:   Consistently define all possible options.
v8.0.0372
2017-02-25 22:18:43 +01:00
Bram Moolenaar
14c2e18b63 patch 8.0.0371: leaking memory when setting v:completed_item
Problem:    Leaking memory when setting v:completed_item.
Solution:   Or the flags instead of setting them.
v8.0.0371
2017-02-25 21:39:17 +01:00
Bram Moolenaar
a12e40351d patch 8.0.0370: invalid memory access when setting wildchar empty
Problem:    Invalid memory access when setting wildchar empty.
Solution:   Avoid going over the end of the option value. (Dominique Pelle,
            closes #1509)  Make option test check all number options with
            empty value.
v8.0.0370
2017-02-25 21:37:57 +01:00
Bram Moolenaar
c43a8b8de0 patch 8.0.0369: a few options are not defined, depending on features
Problem:    The 'balloondelay', 'ballooneval' and 'balloonexpr' options are
            not defined without the +balloon_eval feature. Testing that an
            option value fails does not work for unsupported options.
Solution:   Make the options defined but not supported.  Don't test if
            setting unsupported options fails.
v8.0.0369
2017-02-25 21:12:29 +01:00
Bram Moolenaar
2f5463df01 patch 8.0.0368: not all options are tested with a range of values
Problem:    Not all options are tested with a range of values.
Solution:   Generate a test script from the source code.
v8.0.0368
2017-02-25 20:40:46 +01:00
Bram Moolenaar
f7506cade4 patch 8.0.0367: types in include files may be inconsistent
Problem:    If configure defines _LARGE_FILES some include files are included
            before it is defined.
Solution:   Include vim.h first. (Sam Thursfield, closes #1508)
v8.0.0367
2017-02-25 16:01:49 +01:00
Bram Moolenaar
92769c3928 patch 8.0.0366: build fails with tiny features
Problem:    Build fails with tiny features.
Solution:   Add #ifdef.
v8.0.0366
2017-02-25 15:41:37 +01:00
Bram Moolenaar
95c526e1f6 patch 8.0.0365: might free a dict item that wasn't allocated
Problem:    Might free a dict item that wasn't allocated.
Solution:   Call dictitem_free(). (Nikolai Pavlov)  Use this for
            b:changedtick.
v8.0.0365
2017-02-25 14:59:34 +01:00
Bram Moolenaar
d3f78dc9eb patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Problem:    ]s does not move cursor with two spell errors in one line. (Manuel
            Ortega)
Solution:   Don't stop search immediately when wrapped, search the line first.
            (Ken Takata)  Add a test.
v8.0.0364
2017-02-25 14:21:10 +01:00
Bram Moolenaar
3834e3d039 patch 8.0.0363: Travis is too slow to keep up with patches
Problem:    Travis is too slow to keep up with patches.
Solution:   Increase git depth to 20
v8.0.0363
2017-02-23 20:20:53 +01:00
Bram Moolenaar
10c6029e28 patch 8.0.0362: tests fail on MS-Windows
Problem:    Tests fail on MS-Windows.
Solution:   Use $*.vim instead of $<.
v8.0.0362
2017-02-23 20:17:13 +01:00
Bram Moolenaar
8be2fbb670 patch 8.0.0361: GUI initialisation is not sufficiently tested
Problem:    GUI initialisation is not sufficiently tested.
Solution:   Add the gui_init test. (Kazuki Kuriyama)
v8.0.0361
2017-02-23 19:32:47 +01:00
Bram Moolenaar
b544f3c81f patch 8.0.0360: sometimes VimL is used instead of "Vim script"
Problem:    Sometimes VimL is used, which is confusing.
Solution:   Consistently use "Vim script". (Hirohito Higashi)
v8.0.0360
2017-02-23 19:03:28 +01:00
Bram Moolenaar
dc9a081712 patch 8.0.0359: 'number' and 'relativenumber' are not properly tested
Problem:    'number' and 'relativenumber' are not properly tested.
Solution:   Add tests, change old style to new style tests. (Ozaki Kiichi,
            closes #1447)
v8.0.0359
2017-02-23 18:46:50 +01:00
Bram Moolenaar
60629d6425 patch 8.0.0358: invalid memory access in C-indent code
Problem:    Invalid memory access in C-indent code.
Solution:   Don't go over end of empty line. (Dominique Pelle, closes #1492)
v8.0.0358
2017-02-23 18:08:56 +01:00
Bram Moolenaar
24922ec233 patch 8.0.0357: crash when setting 'guicursor' to weird value
Problem:    Crash when setting 'guicursor' to weird value.
Solution:   Avoid negative size. (Dominique Pelle, closes #1465)
v8.0.0357
2017-02-23 17:59:22 +01:00