0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

7028 Commits

Author SHA1 Message Date
Bram Moolenaar
354796c19a patch 8.0.0356: leaking memory when setting 'ttytype'
Problem:    Leaking memory when setting 'ttytype'.
Solution:   Get free_oldval from the right option entry.
v8.0.0356
2017-02-23 17:18:37 +01:00
Bram Moolenaar
187a4f2814 patch 8.0.0355: using uninitialized memory when 'isfname' is empty
Problem:    Using uninitialized memory when 'isfname' is empty.
Solution:   Don't call getpwnam() without an argument. (Dominique Pelle,
            closes #1464)
v8.0.0355
2017-02-23 17:07:14 +01:00
Bram Moolenaar
1c410400fa patch 8.0.0354: test to check that setting termcap key fails sometimes
Problem:    Test to check that setting termcap key fails sometimes.
Solution:   Check for "t_k1" to exist. (Christian Brabandt, closes #1459)
v8.0.0354
2017-02-23 15:20:03 +01:00
Bram Moolenaar
3457d295f4 patch 8.0.0353: if [RO] is translated it may be truncated
Problem:    If [RO] in the status line is translated to a longer string, it is
            trunctted to 4 bytes.
Solution:   Skip over the resulting string. (Jente Hidskes, closes #1499)
v8.0.0353
2017-02-23 14:55:59 +01:00
Bram Moolenaar
f06e5a549f patch 8.0.0352: not easy to see when a typval needs to be cleared
Problem:    The condition for when a typval needs to be cleared is too
            complicated.
Solution:   Init the type to VAR_UNKNOWN and clear it always.
v8.0.0352
2017-02-23 14:25:17 +01:00
Bram Moolenaar
218426896c patch 8.0.0351: no test for concatenating an empty string
Problem:    No test for concatenating an empty string that results from out of
            bounds indexing.
Solution:   Add a simple test.
v8.0.0351
2017-02-23 13:50:38 +01:00
Bram Moolenaar
ae177b7166 patch 8.0.0350: not enough test coverage for Perl
Problem:    Not enough test coverage for Perl.
Solution:   Add more Perl tests. (Dominique Perl, closes #1500)
v8.0.0350
2017-02-23 13:45:57 +01:00
Bram Moolenaar
fe344a9875 patch 8.0.0349: redrawing errors with GTK 3
Problem:    Redrawing errors with GTK 3.
Solution:   When updating, first clear all rectangles and then draw them.
            (Kazunobu Kuriyama, Christian Ludwig, closes #848)
v8.0.0349
2017-02-23 12:20:35 +01:00
Bram Moolenaar
b7a59906d7 patch 8.0.0348: using shadow dir on Mac lack +clipboard
Problem:    When building with a shadow directory on macOS lacks the
            +clipboard feature.
Solution:   Link *.m files, specifically os_macosx.m. (Kazunobu Kuriyama)
v8.0.0348
2017-02-22 22:04:04 +01:00
Bram Moolenaar
d099e03370 patch 8.0.0347: when using completion comment leader wont work
Problem:    When using CTRL-X CTRL-U inside a comment, the use of the comment
            leader may not work. (Klement)
Solution:   Save and restore did_ai. (Christian Brabandt, closes #1494)
v8.0.0347
2017-02-21 23:00:36 +01:00
Bram Moolenaar
bfd30590f6 patch 8.0.0346: Vim relies on limits.h to be included indirectly
Problem:    Vim relies on limits.h to be included indirectly, but on Solaris 9
            it may not be. (Ben Fritz)
Solution:   Always include limits.h.
v8.0.0346
2017-02-21 21:57:06 +01:00
Bram Moolenaar
3a25773772 patch 8.0.0345: islocked('d.changedtick') does not work
Problem:    islocked('d.changedtick') does not work.
Solution:   Make it work.
v8.0.0345
2017-02-21 20:47:13 +01:00
Bram Moolenaar
49439c4cdf patch 8.0.0344: unlet command leaks memory
Problem:    Unlet command leaks memory. (Nikolai Pavlov)
Solution:   Free the memory on error. (closes #1497)
v8.0.0344
2017-02-20 23:07:05 +01:00
Bram Moolenaar
e7877fe0de patch 8.0.0343: b:changedtick can be unlocked
Problem:    b:changedtick can be unlocked, even though it has no effect.
            (Nikolai Pavlov)
Solution:   Add a check and error E940. (closes #1496)
v8.0.0343
2017-02-20 22:35:33 +01:00
Bram Moolenaar
673911457d patch 8.0.0342: double free with EXITFREE and setting 'ttytype'
Problem:    Double free when compiled with EXITFREE and setting 'ttytype'.
Solution:   Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
            closes #1461)
v8.0.0342
2017-02-19 21:07:04 +01:00
Bram Moolenaar
d56a79d339 patch 8.0.0341: undo does not work properly when using completion
Problem:    When using complete() and typing a character undo is saved after
            the character was inserted. (Shougo)
Solution:   Save for undo before inserting the character.
v8.0.0341
2017-02-19 15:26:18 +01:00
Bram Moolenaar
5acff71d3b patch 8.0.0340: not checking return valud of dict_add()
Problem:    Not checking return valud of dict_add(). (Coverity)
Solution:   Handle a failure.
v8.0.0340
2017-02-19 13:55:02 +01:00
Bram Moolenaar
46522af724 patch 8.0.0339: illegal memory access with vi'
Problem:    Illegal memory access with vi'
Solution:   For quoted text objects bail out if the Visual area spans more
            than one line.
v8.0.0339
2017-02-18 23:12:01 +01:00
Bram Moolenaar
803452046b patch 8.0.0338: :recover test fails on MS-Windows
Problem:    :recover test fails on MS-Windows.
Solution:   Use non-existing directory on MS-Windows.
v8.0.0338
2017-02-18 22:43:19 +01:00
Bram Moolenaar
c525e3a1c2 patch 8.0.0337: invalid memory access in :recover command
Problem:    Invalid memory access in :recover command.
Solution:   Avoid access before directory name. (Dominique Pelle,
            closes #1488)
v8.0.0337
2017-02-18 16:59:02 +01:00
Bram Moolenaar
3df0173fa6 Updated runtime files. 2017-02-17 22:47:16 +01:00
Bram Moolenaar
8c50d50b6e patch 8.0.0336: flags of :substitute not sufficiently tested
Problem:    Flags of :substitute not sufficiently tested.
Solution:   Test up to two letter flag combinations. (James McCoy, closes
            #1479)
v8.0.0336
2017-02-17 18:28:24 +01:00
Bram Moolenaar
507647da31 patch 8.0.0335: functions test fails
Problem:    Functions test fails.
Solution:   Use the right buffer number.
v8.0.0335
2017-02-17 16:43:49 +01:00
Bram Moolenaar
79518e2ace patch 8.0.0334: can't access b:changedtick from a dict reference
Problem:    Can't access b:changedtick from a dict reference.
Solution:   Make changedtick a member of the b: dict. (inspired by neovim
            #6112)
v8.0.0334
2017-02-17 16:31:35 +01:00
Bram Moolenaar
226c534291 patch 8.0.0333: illegal memory access when 'complete' ends in a backslash
Problem:    Illegal memory access when 'complete' ends in a backslash.
Solution:   Check for trailing backslash. (Dominique Pelle, closes #1478)
v8.0.0333
2017-02-17 14:53:15 +01:00
Bram Moolenaar
4e9dbc74df patch 8.0.0332: GUI test fails on some systems
Problem:    GUI test fails on some systems.
Solution:   Try different language settings. (Kazunobu Kuriyama)
v8.0.0332
2017-02-17 13:44:48 +01:00
Bram Moolenaar
343b8c0429 patch 8.0.0331: restoring help snapshot accesses freed memory
Problem:    Restoring help snapshot accesses freed memory. (Dominique Pelle)
Solution:   Don't restore a snapshot when the window closes.
v8.0.0331
2017-02-17 12:04:56 +01:00
Bram Moolenaar
84b2a38145 patch 8.0.0330: illegal memory access after "vapo"
Problem:    Illegal memory access after "vapo". (Dominique Pelle)
Solution:   Fix the cursor column.
v8.0.0330
2017-02-17 11:40:00 +01:00
Bram Moolenaar
1043467482 patch 8.0.0329: xfontset and guifontwide are not tested
Problem:    Xfontset and guifontwide are not tested.
Solution:   Add tests. (Kazunobu Kuriyama)
v8.0.0329
2017-02-12 19:59:08 +01:00
Bram Moolenaar
23a5558cfd patch 8.0.0328: the "zero count" error doesn't have a number
Problem:    The "zero count" error doesn't have a number. (Hirohito Higashi)
Solution:   Give it a number and be more specific about the error.
v8.0.0328
2017-02-12 18:45:25 +01:00
Bram Moolenaar
75c19464ed patch 8.0.0327: error message in cmdline window is not translated
Problem:    The E11 error message in the command line window is not
            translated.
Solution:   use _(). (Hirohito Higashi)
v8.0.0327
2017-02-12 18:34:05 +01:00
Bram Moolenaar
24f8f543d4 patch 8.0.0326: packadd test uses wrong directory name
Problem:    Packadd test uses wrong directory name.
Solution:   Use the variable name value. (Hirohito Higashi)
v8.0.0326
2017-02-11 23:00:36 +01:00
Bram Moolenaar
913727e567 patch 8.0.0325: packadd test does not clean up symlink
Problem:    Packadd test does not clean up symlink.
Solution:   Delete the link. (Hirohito Higashi)
v8.0.0325
2017-02-11 11:34:58 +01:00
Bram Moolenaar
f1f6f3f7df patch 8.0.0324: illegal memory access with a wrong yank range
Problem:    Illegal memory access with "1;y".
Solution:   Call check_cursor() instead of check_cursor_lnum(). (Dominique
            Pelle, closes #1455)
v8.0.0324
2017-02-09 22:28:20 +01:00
Bram Moolenaar
31eb139b88 patch 8.0.0323: one second pause when running cmdline test
Problem:    When running the command line tests there is a one second wait.
Solution:   Change an Esc to Ctrl-C. (Yegappan Lakshmanan)
v8.0.0323
2017-02-09 21:44:03 +01:00
Bram Moolenaar
399c297aa9 patch 8.0.0322: possible overflow with corrupted spell file
Problem:    Possible overflow with spell file where the tree length is
            corrupted.
Solution:   Check for an invalid length (suggested by shqking)
v8.0.0322
2017-02-09 21:07:12 +01:00
Bram Moolenaar
8cc2a9c062 patch 8.0.0321: errors when trying to use scripts in tiny version
Problem:    When using the tiny version trying to load the matchit plugin
            gives an error. On MS-Windows some default mappings fail.
Solution:   Add a check if the command used is available. (Christian Brabandt)
v8.0.0321
2017-02-09 20:22:30 +01:00
Bram Moolenaar
4d8505155e patch 8.0.0320: warning for unused variable with small build
Problem:    Warning for unused variable with small build.
Solution:   Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)
v8.0.0320
2017-02-09 18:25:14 +01:00
Bram Moolenaar
190b04cdd9 patch 8.0.0319: insert mode completion does not respect 'backspace'
Problem:    Insert mode completion does not respect "start" in 'backspace'.
Solution:   Check whether backspace can go before where insert started.
            (Hirohito Higashi)
v8.0.0319
2017-02-09 17:37:03 +01:00
Bram Moolenaar
a9f8ffb634 patch 8.0.0318: small mistake in 7x13 font name
Problem:    Small mistake in 7x13 font name.
Solution:   Use ISO 8859-1 name instead of 10646-1. (Kazunobu Kuriyama)
v8.0.0318
2017-02-09 16:14:53 +01:00
Bram Moolenaar
43dded8c59 patch 8.0.0317: no test for setting 'guifont'
Problem:    No test for setting 'guifont'.
Solution:   Add a test for X11 GUIs. (Kazunobu Kuriyama)
v8.0.0317
2017-02-09 16:06:17 +01:00
Bram Moolenaar
dad7309dd2 patch 8.0.0316: :help z? does not work
Problem:    ":help z?" does not work. (Pavol Juhas)
Solution:   Remove exception for z?.
v8.0.0316
2017-02-09 11:54:50 +01:00
Bram Moolenaar
a76f59d817 patch 8.0.0315: :help :[range] does not work
Problem:    ":help :[range]" does not work. (Tony Mechelynck)
Solution:   Translate to insert a backslash.
v8.0.0315
2017-02-09 11:41:01 +01:00
Bram Moolenaar
65189a1294 patch 8.0.0314: getcmd*() functions are not tested
Problem:    getcmdtype(), getcmdpos() and getcmdline() are not tested.
Solution:   Add tests. (Yegappan Lakshmanan)
v8.0.0314
2017-02-06 22:22:17 +01:00
Bram Moolenaar
6f785749db patch 8.0.0313: not enough testing for GUI functionality
Problem:    Not enough testing for GUI functionality.
Solution:   Add tests for the GUI font. (Kazunobu Kuriyama)
v8.0.0313
2017-02-06 22:11:55 +01:00
Bram Moolenaar
88989cc381 patch 8.0.0312: failure when a channel receives a split json message
Problem:    When a json message arrives in pieces, the start is dropped and
            the decoding fails.
Solution:   Do not drop the start when it is still needed. (Kay Zheng)  Add a
            test.  Reset the timeout when something is received.
v8.0.0312
2017-02-06 21:56:09 +01:00
Bram Moolenaar
544d3bc9f0 patch 8.0.0311: linebreak tests are old style
Problem:    Linebreak tests are old style.
Solution:   Turn the tests into new style. Share utility functions. (Ozaki
            Kiichi, closes #1444)
v8.0.0311
2017-02-05 21:14:50 +01:00
Bram Moolenaar
13c724fb3a patch 8.0.0310: not enough testing for GUI functionality
Problem:    Not enough testing for GUI functionality.
Solution:   Add tests for v:windowid and getwinpos[xy](). (Kazunobu Kuriyama)
v8.0.0310
2017-02-05 20:54:26 +01:00
Bram Moolenaar
059b7482a2 patch 8.0.0309: cannot use an empty key in json
Problem:    Cannot use an empty key in json.
Solution:   Allow for using an empty key.
v8.0.0309
2017-02-05 16:34:43 +01:00
Bram Moolenaar
2f9e575583 patch 8.0.0308: 'runtimepath' not update correctly when using symbolic link
Problem:    When using a symbolic link, the package path will not be inserted
            at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi)
Solution:   Resolve symbolic links when finding the right position in
            'runtimepath'. (Hirohito Higashi)
v8.0.0308
2017-02-05 16:07:54 +01:00