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

14798 Commits

Author SHA1 Message Date
Bram Moolenaar
5fa9f23a63 patch 9.0.0061: ml_get error with nested autocommand
Problem:    ml_get error with nested autocommand.
Solution:   Also check line numbers for a nested autocommand. (closes #10761)
2022-07-23 09:06:48 +01:00
Bram Moolenaar
b9e717367c patch 9.0.0060: accessing uninitialized memory when completing long line
Problem:    Accessing uninitialized memory when completing long line.
Solution:   Terminate string with NUL.
2022-07-23 06:53:08 +01:00
zeertzjq
bb404f5ad5 patch 9.0.0059: test file has wrong name
Problem:    Test file has wrong name.
Solution:   Rename the file.  Various small fixes. (closes #10674)
2022-07-23 06:25:29 +01:00
Yegappan Lakshmanan
81a3ff97e2 patch 9.0.0058: Win32: cannot test low level events
Problem:    Win32: cannot test low level events.
Solution:   Add "sendevent" to test_gui_event(). (Yegappan Lakshmanan,
            closes #10679)
2022-07-23 05:04:16 +01:00
Bram Moolenaar
5154a88800 patch 9.0.0057: has('patch-xxx') returns true
Problem:    has('patch-xxx') returns true.
Solution:   Check for digit. (closes #10751)
2022-07-18 20:48:50 +01:00
Bram Moolenaar
bd683e3a79 patch 9.0.0056: wrong line number reported when :cexpr fails in :def function
Problem:    Wrong line number reported when :cexpr fails in :def function.
Solution:   Set line_number before executing :cexpr. (closes #10735)
2022-07-18 17:49:03 +01:00
Gregory Anders
fa49eb4827 patch 9.0.0055: bitbake files are not detected
Problem:    Bitbake files are not detected.
Solution:   Add bitbake filetype detection by file name and contents. (Gregory
            Anders, closes #10697)
2022-07-16 17:46:47 +01:00
Bram Moolenaar
c7bd2f08e5 patch 9.0.0054: compiler warning for size_t to int conversion
Problem:    Compiler warning for size_t to int conversion.
Solution:   Add type cast. (Mike Williams, closes #10741)
2022-07-15 20:45:20 +01:00
Dominique Pelle
3a393790a4 patch 9.0.0053: E1281 not tested with the old regexp engine
Problem:    E1281 not tested with the old regexp engine.
Solution:   Loop over the values of 'regexp'. (Dominique Pellé, closes #10695)
2022-07-14 17:40:49 +01:00
K.Takata
2ebcc35826 patch 9.0.0052: "zG" may throw an error if invalid character follows
Problem:    "zG" may throw an error if invalid character follows.
Solution:   Pass the word length to valid_spell_word(). (Ken Takata,
            closes #10737)
2022-07-14 17:25:14 +01:00
zeertzjq
f754fe6a3d patch 9.0.0051: using CTRL-C wih :append may hang Vim
Problem:    Using CTRL-C wih :append may hang Vim.
Solution:   Reset got_int. (closes #10729, closes #10728)
2022-07-14 17:06:12 +01:00
Bram Moolenaar
b26592a84c patch 9.0.0050: split else-of is confusing
Problem:    Split else-of is confusing.
Solution:   Join the lines. (closes #10696)
2022-07-12 17:34:31 +01:00
Leandro Lourenci
99af91e582 patch 9.0.0049: csv and tsv files are not recognized
Problem:    Csv and tsv files are not recognized.
Solution:   Add patterns fo csv and tsv files. (Leandro Lourenci,
            closes #10680)
2022-07-09 20:27:07 +01:00
Bram Moolenaar
b90818867c patch 9.0.0048: cursor in wrong column with mouse click after concealed text
Problem:    Cursor in wrong column with mouse click after concealed text.
Solution:   Store the text column when drawing text.
2022-07-09 04:56:24 +01:00
Bram Moolenaar
32acf1f1a7 patch 9.0.0047: using freed memory with recursive substitute
Problem:    Using freed memory with recursive substitute.
Solution:   Always make a copy for reg_prev_sub.
2022-07-07 22:20:31 +01:00
Bram Moolenaar
baefde1455 patch 9.0.0046: reading past end of completion with duplicate match
Problem:    Reading past end of completion with duplicate match.
Solution:   Check string length
2022-07-07 19:59:49 +01:00
Bram Moolenaar
caea66442d patch 9.0.0045: reading past end of completion with a long line
Problem:    Reading past end of completion with a long line and 'infercase'
            set.
Solution:   Allocate the string if needed.
2022-07-07 19:42:04 +01:00
Bram Moolenaar
b8329db36a patch 9.0.0044: typos in comments, wrapping lines
Problem:    Typos in comments, wrapping lines.
Solution:   Adjust comments.  Wrap lines.
2022-07-06 13:31:28 +01:00
zeertzjq
cf34434b5e patch 9.0.0043: insufficient testing for bracket commands
Problem:    Insufficient testing for bracket commands.
Solution:   Add a few more tests. (closes #10668)
2022-07-06 12:57:31 +01:00
Bram Moolenaar
3244780379 patch 9.0.0042: missing change for filetype detection
Problem:    Missing change for filetype detection.
Solution:   Include change to detect guile from shebang line.
2022-07-05 21:56:39 +01:00
smjonas
704988f0c3 patch 9.0.0041: a couple of filetype patterns do not have "*" before "/etc"
Problem:    A couple of filetype patterns do not have "*" before "/etc".
Solution:   Add the star. (Jonas Strittmatter, closes #10662)
2022-07-05 18:42:56 +01:00
Bram Moolenaar
b67f0c8e49 patch 9.0.0040: use of set_chars_option() is confusing
Problem:    Use of set_chars_option() is confusing.
Solution:   Add "apply" argument to store the result or not.  Merge similar
            code.
2022-07-04 21:03:36 +01:00
Bram Moolenaar
4c99e622dd patch 9.0.0039: not all systems have GDK_KEY_dead_circumflex
Problem:    Not all systems have GDK_KEY_dead_circumflex. (Hisashi T Fujinaka)
Solution:   Add an #ifdef.
2022-07-04 19:58:17 +01:00
Bram Moolenaar
5ed26faace patch 9.0.0038: 'listchars' test fails
Problem:    'listchars' test fails.
Solution:   Use window-local value after setting the global value
2022-07-04 18:05:51 +01:00
Bram Moolenaar
510f03738d patch 9.0.0037: build error
Problem:    Build error.
Solution:   Add missing change.
2022-07-04 17:46:22 +01:00
Bram Moolenaar
96ba25ac01 patch 9.0.0036: 'fillchars' cannot have window-local values
Problem:    'fillchars' cannot have window-local values.
Solution:   Make 'fillchars' global-local. (closes #5206)
2022-07-04 17:34:33 +01:00
Bram Moolenaar
54e5fed6d2 patch 9.0.0035: spell dump may go beyond end of an array
Problem:    Spell dump may go beyond end of an array.
Solution:   Limit the word length.
2022-07-04 13:37:07 +01:00
zeertzjq
288ed23e39 patch 9.0.0034: spell tests do not always clear the word list
Problem:    Spell tests do not always clear the word list.
Solution:   Clear the word list in TearDown(). (closes #10659)
2022-07-04 11:03:07 +01:00
Anton Sharonov
4dd9252d6f patch 9.0.0033: on a Belgian keyboard CTRL-[ does not work
Problem:    On a Belgian keyboard CTRL-[ does not work.
Solution:   Handle GDK_KEY_dead_circumflex. (Anton Sharonov, closes #10658)
2022-07-04 10:47:31 +01:00
Bram Moolenaar
7fe956d176 patch 9.0.0032: in the quickfix window 'cursorline' overrules QuickFixLine
Problem:    In the quickfix window 'cursorline' overrules QuickFixLine
            highlighting.
Solution:   Combine the attributes.  Add a test. (closes #10654)
2022-07-03 14:21:09 +01:00
zeertzjq
9359e8a6d9 patch 9.0.0031: <cmod> of user command does not have correct verbose value
Problem:    <cmod> of user command does not have correct verbose value.
Solution:   Use the value from the command modifier. (closes #10651)
2022-07-03 13:16:09 +01:00
Bram Moolenaar
22e7e867e2 patch 9.0.0030: matchfuzzy test depends on path of current directory
Problem:    Matchfuzzy test depends on path of current directory.
Solution:   Use fnamemodify() to remove the path. (Robin Becker,
            closes #10650)
2022-07-02 20:48:01 +01:00
Bram Moolenaar
daaca8a128 patch 9.0.0029: the bitmaps/vim.ico file is not in the distribution
Problem:    The bitmaps/vim.ico file is not in the distribution.
Solution:   Add it back to the distribution.  Adjust the build rules to have
            it end up in the right place.
2022-07-02 17:58:23 +01:00
Bram Moolenaar
022f9ef16c patch 9.0.0028: MS-Windows: tests fail if there is a "runtime" directory
Problem:    MS-Windows: tests fail if there is a stray "runtime" directory.
Solution:   Only use a "runtime" directory if it contains "defaults.vim".
2022-07-02 17:36:31 +01:00
Bram Moolenaar
2d29501982 patch 9.0.0027: the command line test is getting quite big
Problem:    The command line test is getting quite big.
Solution:   Move command line window tests to a separate file.
2022-07-02 16:29:34 +01:00
Bram Moolenaar
c5274dd122 patch 9.0.0026: accessing freed memory with diff put
Problem:    Accessing freed memory with diff put.
Solution:   Bail out when diff pointer is no longer valid.
2022-07-02 15:10:00 +01:00
Bram Moolenaar
c6fdb15d42 patch 9.0.0025: accessing beyond allocated memory with the cmdline window
Problem:    Accessing beyond allocated memory when using the cmdline window in
            Ex mode.
Solution:   Use "*" instead of "'<,'>" for Visual mode.
2022-07-02 13:43:21 +01:00
Bram Moolenaar
af043e12d9 patch 9.0.0024: may access part of typeahead buf that isn't filled
Problem:    May access part of typeahead buf that isn't filled.
Solution:   Check length of typeahead.
2022-07-02 12:08:16 +01:00
Bram Moolenaar
f2ce76a8c0 patch 9.0.0023: on Solaris timer_create() exists but does not work
Problem:    On Solaris timer_create() exists but does not work.
Solution:   Adjust the configure check to run the test program.
            (closes #10647)
2022-07-02 11:40:40 +01:00
Bram Moolenaar
95afae6d17 patch 9.0.0022: spell test fails
Problem:    Spell test fails.
Solution:   Expect new error is given.
2022-07-01 22:44:19 +01:00
Bram Moolenaar
5e59ea54c0 patch 9.0.0021: invalid memory access when adding word to spell word list
Problem:    Invalid memory access when adding word with a control character to
            the internal spell word list.
Solution:   Disallow adding a word with control characters or a trailing
            slash.
2022-07-01 22:26:20 +01:00
Bram Moolenaar
f12129f171 patch 9.0.0020: with some completion reading past end of string
Problem:    With some completion reading past end of string.
Solution:   Check the length of the string.
2022-07-01 19:58:30 +01:00
zeertzjq
eb273cd7b0 patch 9.0.0019: timers test not run where possible
Problem:    Timers test not run where possible.
Solution:   Adjust platform checks. (closes #10645)
2022-07-01 19:11:23 +01:00
Bram Moolenaar
27efc62f5d patch 9.0.0018: going over the end of the typahead
Problem:    Going over the end of the typahead.
Solution:   Put a NUL after the typeahead.
2022-07-01 16:35:45 +01:00
Bram Moolenaar
3d51ce18ab patch 9.0.0017: accessing memory beyond the end of the line
Problem:    Accessing memory beyond the end of the line.
Solution:   Stop Visual mode when closing a window.
2022-07-01 15:26:15 +01:00
Bram Moolenaar
c2a79b87fc patch 9.0.0016: comparing line pointer for 'breakindent' is not reliable
Problem:    Comparing line pointer for 'breakindent' is not reliable.
Solution:   Make a copy of the line.
2022-07-01 13:15:35 +01:00
zeertzjq
79ae152697 patch 9.0.0015: with EXITFREE defined terminal menus are not cleared
Problem:    With EXITFREE defined terminal menus are not cleared.
Solution:   Also clear terminal menus. Remove condition that is always true.
            (closes #10641)
2022-07-01 12:13:15 +01:00
Bram Moolenaar
9610f94510 patch 9.0.0014: missing part of the test override change
Problem:    Missing part of the test override change.
Solution:   Add the missing part.
2022-06-30 22:28:08 +01:00
Bram Moolenaar
fa4873ccfc patch 9.0.0013: reproducing memory access errors can be difficult
Problem:    Reproducing memory access errors can be difficult.
Solution:   When testing, copy each line to allocated memory, so that valgrind
            can detect accessing memory before and/or after it.  Fix uncovered
            problems.
2022-06-30 22:13:59 +01:00
Bram Moolenaar
cdbfc6dbab patch 9.0.0012: signature files not detected properly
Problem:    Signature files not detected properly.
Solution:   Add a function to better detect signature files. (Doug Kearns)
2022-06-30 16:25:21 +01:00