]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0106: illegal byte regexp test doesn't fail when fix is reversed v9.0.0106
Bram Moolenaar [Fri, 29 Jul 2022 17:32:20 +0000 (18:32 +0100)]
patch 9.0.0106: illegal byte regexp test doesn't fail when fix is reversed

Problem:    Illegal byte regexp test doesn't fail when fix is reversed.
Solution:   Make sure illegal bytes end up in sourced script file.

2 years agopatch 9.0.0105: illegal memory access when pattern starts with illegal byte v9.0.0105
Bram Moolenaar [Fri, 29 Jul 2022 15:22:25 +0000 (16:22 +0100)]
patch 9.0.0105: illegal memory access when pattern starts with illegal byte

Problem:    Illegal memory access when pattern starts with illegal byte.
Solution:   Do not match a character with an illegal byte.

2 years agopatch 9.0.0104: going beyond allocated memory when evaluating string constant v9.0.0104
Bram Moolenaar [Fri, 29 Jul 2022 14:28:27 +0000 (15:28 +0100)]
patch 9.0.0104: going beyond allocated memory when evaluating string constant

Problem:    Going beyond allocated memory when evaluating string constant.
Solution:   Properly skip over <Key> form.

2 years agopatch 9.0.0103: if running configure with cached results -lrt may be missing v9.0.0103
Bram Moolenaar [Thu, 28 Jul 2022 21:39:54 +0000 (22:39 +0100)]
patch 9.0.0103: if running configure with cached results -lrt may be missing

Problem:    If running configure with cached results -lrt may be missing.
Solution:   Use two cache variables, one without and one with -lrt.
            (closes #10799)  Swap checks to avoid adding -lrt unnecessarily.

2 years agopatch 9.0.0102: reading past end of line with insert mode completion v9.0.0102
Bram Moolenaar [Thu, 28 Jul 2022 20:51:37 +0000 (21:51 +0100)]
patch 9.0.0102: reading past end of line with insert mode completion

Problem:    Reading past end of line with insert mode completion.
Solution:   Check text length.

2 years agopatch 9.0.0101: invalid memory access in diff mode with "dp" and undo v9.0.0101
Bram Moolenaar [Thu, 28 Jul 2022 17:44:27 +0000 (18:44 +0100)]
patch 9.0.0101: invalid memory access in diff mode with "dp" and undo

Problem:    Invalid memory access in diff mode with "dp" and undo.
Solution:   Make sure the line number does not go below one.

2 years agopatch 9.0.0100: get hit-enter prompt for system() when '!' is in 'guioptions' v9.0.0100
Bram Moolenaar [Thu, 28 Jul 2022 11:54:08 +0000 (12:54 +0100)]
patch 9.0.0100: get hit-enter prompt for system() when '!' is in 'guioptions'

Problem:    Get hit-enter prompt for system() when '!' is in 'guioptions'.
Solution:   Do not call wait_return() when not redrawing. (closes #3327)

2 years agopatch 9.0.0099: scrollback can be wrong after redrawing the command line v9.0.0099
zeertzjq [Thu, 28 Jul 2022 11:34:09 +0000 (12:34 +0100)]
patch 9.0.0099: scrollback can be wrong after redrawing the command line

Problem:    Scrollback can be wrong after redrawing the command line.
Solution:   Clear unfinished scrollback when redrawing. (closes #10807)

2 years agopatch 9.0.0098: missing include file in timer_create configure check v9.0.0098
Bram Moolenaar [Thu, 28 Jul 2022 11:09:04 +0000 (12:09 +0100)]
patch 9.0.0098: missing include file in timer_create configure check

Problem:    missing include file in timer_create configure check.
Solution:   Inlucde stdlib.h.

2 years agopatch 9.0.0097: long quickfix line is truncated for :clist v9.0.0097
Bram Moolenaar [Thu, 28 Jul 2022 10:56:01 +0000 (11:56 +0100)]
patch 9.0.0097: long quickfix line is truncated for :clist

Problem:    Long quickfix line is truncated for :clist.
Solution:   Allocate a buffer if needed.

2 years agopatch 9.0.0096: flag "new_value_alloced" is always true v9.0.0096
zeertzjq [Wed, 27 Jul 2022 17:26:03 +0000 (18:26 +0100)]
patch 9.0.0096: flag "new_value_alloced" is always true

Problem:    Flag "new_value_alloced" is always true.
Solution:   Remove "new_value_alloced". (closes #10792)

2 years agopatch 9.0.0095: conditions are always true v9.0.0095
zeertzjq [Wed, 27 Jul 2022 14:48:45 +0000 (15:48 +0100)]
patch 9.0.0095: conditions are always true

Problem:    Conditions are always true.
Solution:   Remove useless conditions. (closes #10802)

2 years agopatch 9.0.0094: cursor restored unexpected with nested autocommand v9.0.0094
Bram Moolenaar [Wed, 27 Jul 2022 14:23:35 +0000 (15:23 +0100)]
patch 9.0.0094: cursor restored unexpected with nested autocommand

Problem:    Cursor restored unexpected with nested autocommand.
Solution:   Do not restore the cursor when it was moved intentionally.
            (closes #10780)

2 years agopatch 9.0.0093: sway config files are recognized as i3config v9.0.0093
James Eapen [Wed, 27 Jul 2022 14:07:06 +0000 (15:07 +0100)]
patch 9.0.0093: sway config files are recognized as i3config

Problem:    Sway config files are recognized as i3config.
Solution:   Recognize swayconfig separately. (James Eapen, closes #10672)

2 years agopatch 9.0.0092: plugins cannot change v:completed_item v9.0.0092
Shougo Matsushita [Wed, 27 Jul 2022 13:40:00 +0000 (14:40 +0100)]
patch 9.0.0092: plugins cannot change v:completed_item

Problem:    Plugins cannot change v:completed_item.
Solution:   Make v:completed_item writeable. (Shougo Matsushita,
            closes #10801)

2 years agopatch 9.0.0091: duplicate error number v9.0.0091
Bram Moolenaar [Wed, 27 Jul 2022 12:18:14 +0000 (13:18 +0100)]
patch 9.0.0091: duplicate error number

Problem:    Duplicate error number.
Solution:   Use unique error number.

2 years agopatch 9.0.0090: no error when assigning bool to a string option v9.0.0090
Bram Moolenaar [Wed, 27 Jul 2022 11:30:13 +0000 (12:30 +0100)]
patch 9.0.0090: no error when assigning bool to a string option

Problem:    No error when assigning bool to a string option with setwinvar().
Solution:   Give an error (closes #10766)

2 years agopatch 9.0.0089: fuzzy argument completion doesn't work for shell commands v9.0.0089
Yegappan Lakshmanan [Tue, 26 Jul 2022 21:01:36 +0000 (22:01 +0100)]
patch 9.0.0089: fuzzy argument completion doesn't work for shell commands

Problem:    Fuzzy argument completion doesn't work for shell commands.
Solution:   Check for cmdidx not being CMD_bang. (Yegappan Lakshmanan,
            closes #10769)

2 years agopatch 9.0.0088: pattern for detecting bitbake files is not sufficient v9.0.0088
Gregory Anders [Tue, 26 Jul 2022 20:42:03 +0000 (21:42 +0100)]
patch 9.0.0088: pattern for detecting bitbake files is not sufficient

Problem:    Pattern for detecting bitbake files is not sufficient.
Solution:   Adjust the pattern. (Gregory Anders, closes #10743)

2 years agopatch 9.0.0087: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc v9.0.0087
Anton Sharonov [Tue, 26 Jul 2022 20:26:18 +0000 (21:26 +0100)]
patch 9.0.0087: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc

Problem:    MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc.
Solution:   Figure out what the key code means. (Anton Sharonov,
            closes #10687, closes #10454)

2 years agopatch 9.0.0086: tabline is not redrawn when entering command line v9.0.0086
zeertzjq [Tue, 26 Jul 2022 19:42:25 +0000 (20:42 +0100)]
patch 9.0.0086: tabline is not redrawn when entering command line

Problem:    Tabline is not redrawn when entering command line.
Solution:   Set "redraw_tabline". (closes #10771)

2 years agopatch 9.0.0085: ":write" fails after ":file name" and the ":edit" v9.0.0085
ii14 [Tue, 26 Jul 2022 18:44:56 +0000 (19:44 +0100)]
patch 9.0.0085: ":write" fails after ":file name" and the ":edit"

Problem:    ":write" fails after ":file name" and the ":edit".
Solution:   Reset BF_NOTEDITED when using ":edit". (closes #10790)

2 years agopatch 9.0.0084: using "terraform" filetype for .tfvars file is bad v9.0.0084
Bram Moolenaar [Tue, 26 Jul 2022 18:18:28 +0000 (19:18 +0100)]
patch 9.0.0084: using "terraform" filetype for .tfvars file is bad

Problem:    Using "terraform" filetype for .tfvars file is bad.
Solution:   use "terraform-vars", so that different completion and other
            mechanisms can be used. (Radek Simko, closes #10755)

2 years agopatch 9.0.0083: ModeChanged event not triggered when leaving cmdline window v9.0.0083
zeertzjq [Tue, 26 Jul 2022 17:12:38 +0000 (18:12 +0100)]
patch 9.0.0083: ModeChanged event not triggered when leaving cmdline window

Problem:    ModeChanged event not triggered when leaving the cmdline window.
Solution:   Call may_trigger_modechanged(). (closes #10791)

2 years agopatch 9.0.0082: cannot interrupt global command from command line v9.0.0082
zeertzjq [Tue, 26 Jul 2022 16:48:13 +0000 (17:48 +0100)]
patch 9.0.0082: cannot interrupt global command from command line

Problem:    Cannot interrupt global command from command line.
Solution:   Reset got_int in another place. (closes #10739)

2 years agopatch 9.0.0081: command line completion of user command may have duplicates v9.0.0081
Bram Moolenaar [Tue, 26 Jul 2022 16:23:47 +0000 (17:23 +0100)]
patch 9.0.0081: command line completion of user command may have duplicates

Problem:    Command line completion of user command may have duplicates.
            (Dani Dickstein)
Solution:   Skip global user command if an identical buffer-local one is
            defined. (closes #10797)

2 years agopatch 9.0.0080: compiler warning for size_t to int conversion v9.0.0080
Mike Williams [Tue, 26 Jul 2022 15:03:42 +0000 (16:03 +0100)]
patch 9.0.0080: compiler warning for size_t to int conversion

Problem:    Compiler warning for size_t to int conversion.
Solution:   Add type casts. (Mike Williams, closes #10795)

2 years agopatch 9.0.0079: error in autoload script not reported for 'foldexpr' v9.0.0079
Bram Moolenaar [Tue, 26 Jul 2022 14:10:56 +0000 (15:10 +0100)]
patch 9.0.0079: error in autoload script not reported for 'foldexpr'

Problem:    Error in autoload script not reported for 'foldexpr'.
Solution:   Reset "emsg_off" when auto-loading a script. (closes #10685)

2 years agopatch 9.0.0078: star register is unexpectedly changed when deleting v9.0.0078
Ernie Rael [Tue, 26 Jul 2022 13:44:36 +0000 (14:44 +0100)]
patch 9.0.0078: star register is unexpectedly changed when deleting

Problem:    Star register is changed when deleting and both "unnamed" and
            "unnamedplus" are in 'clipboard'.
Solution:   Make the use of the star register work as documented. (Ernie Rael,
            closes #10669)

2 years agopatch 9.0.0077: wrong restored cursor position when switching window in autocmd v9.0.0077
Bram Moolenaar [Tue, 26 Jul 2022 12:47:13 +0000 (13:47 +0100)]
patch 9.0.0077: wrong restored cursor position when switching window in autocmd

Problem:    When switching window in autocmd the restored cursor position may
            be wrong.
Solution:   Do not restore the cursor if it was not set. (closes #10775)

2 years agopatch 9.0.0076: no test for what patch 8.1.1424 fixes v9.0.0076
zeertzjq [Tue, 26 Jul 2022 11:24:41 +0000 (12:24 +0100)]
patch 9.0.0076: no test for what patch 8.1.1424 fixes

Problem:    No test for what patch 8.1.1424 fixes.
Solution:   Add a test. (closes #10789)

2 years agopatch 9.0.0075: some compilers warn for using an uninitialized variable v9.0.0075
Bram Moolenaar [Tue, 26 Jul 2022 10:42:34 +0000 (11:42 +0100)]
patch 9.0.0075: some compilers warn for using an uninitialized variable

Problem:    Some compilers warn for using an uninitialized variable. (Tony
            Mechelynck)
Solution:   Initialize the variable.

2 years agopatch 9.0.0074: Coverity warns for double free v9.0.0074
Bram Moolenaar [Tue, 26 Jul 2022 10:20:48 +0000 (11:20 +0100)]
patch 9.0.0074: Coverity warns for double free

Problem:    Coverity warns for double free.
Solution:   Reset cts_text_prop_count when freeing cts_text_props.

2 years agopatch 9.0.0073: too many files recognized as bsdl v9.0.0073
Martin Tournoij [Mon, 25 Jul 2022 20:40:06 +0000 (21:40 +0100)]
patch 9.0.0073: too many files recognized as bsdl

Problem:    Too many files recognized as bsdl.
Solution:   Use pattern "*.bsd" instead of "*bsd". (Martin Tournoij,
            closes #10783)

2 years agopatch 9.0.0072: compiler warning for uninitialized variable v9.0.0072
Bram Moolenaar [Mon, 25 Jul 2022 20:15:45 +0000 (21:15 +0100)]
patch 9.0.0072: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize it. (John Marriott)

2 years agopatch 9.0.0071: command overlaps with printed text in scrollback v9.0.0071
zeertzjq [Mon, 25 Jul 2022 18:50:57 +0000 (19:50 +0100)]
patch 9.0.0071: command overlaps with printed text in scrollback

Problem:    Command overlaps with printed text in scrollback.
Solution:   Clear until end-of-line and use correct message chunk.
            (closes #10765, closes #10764)

2 years agopatch 9.0.0070: using utfc_ptr2char_len() when length is negative v9.0.0070
zeertzjq [Mon, 25 Jul 2022 18:42:02 +0000 (19:42 +0100)]
patch 9.0.0070: using utfc_ptr2char_len() when length is negative

Problem:    Using utfc_ptr2char_len() when length is negative.
Solution:   Check value of length. (closes #10760)

2 years agopatch 9.0.0069: leaking memory when using text prop with inserted text v9.0.0069
Bram Moolenaar [Mon, 25 Jul 2022 18:07:04 +0000 (19:07 +0100)]
patch 9.0.0069: leaking memory when using text prop with inserted text

Problem:    Leaking memory when using text prop with inserted text.
Solution:   Clear the growarray with text.

2 years agopatch 9.0.0068: build fails with tiny features v9.0.0068
Bram Moolenaar [Mon, 25 Jul 2022 17:35:15 +0000 (18:35 +0100)]
patch 9.0.0068: build fails with tiny features

Problem:    Build fails with tiny features.
Solution:   Add #ifdef.

2 years agopatch 9.0.0067: cannot show virtual text v9.0.0067
Bram Moolenaar [Mon, 25 Jul 2022 17:13:54 +0000 (18:13 +0100)]
patch 9.0.0067: cannot show virtual text

Problem:    Cannot show virtual text.
Solution:   Initial changes for virtual text support, using text properties.

2 years agoUpdate runtime files
Bram Moolenaar [Mon, 25 Jul 2022 14:42:07 +0000 (15:42 +0100)]
Update runtime files

2 years agopatch 9.0.0066: switching window uneccarily when getting buffer options v9.0.0066
zeertzjq [Mon, 25 Jul 2022 11:28:09 +0000 (12:28 +0100)]
patch 9.0.0066: switching window uneccarily when getting buffer options

Problem:    Switching window uneccarily when getting buffer options.
Solution:   Do not switch window when getting buffer options. (closes #10767)

2 years agopatch 9.0.0065: cross-compiling doesn't work because of timer_create check v9.0.0065
Richard Purdie [Sun, 24 Jul 2022 19:48:00 +0000 (20:48 +0100)]
patch 9.0.0065: cross-compiling doesn't work because of timer_create check

Problem:    Cross-compiling doesn't work because of timer_create check.
Solution:   Use AC_CACHE_CHECK(). (Richard Purdie, closes #10777)

2 years agopatch 9.0.0064: confusing error when using "q:" in command line window v9.0.0064
Bram Moolenaar [Sun, 24 Jul 2022 19:08:01 +0000 (20:08 +0100)]
patch 9.0.0064: confusing error when using "q:" in command line window

Problem:    Confusing error when using "q:" in command line window.
Solution:   Check for the situation and give a better error message.
            (closes #10756)

2 years agopatch 9.0.0063: too many type casts for dict_get functions v9.0.0063
Bram Moolenaar [Sat, 23 Jul 2022 08:52:04 +0000 (09:52 +0100)]
patch 9.0.0063: too many type casts for dict_get functions

Problem:    Too many type casts for dict_get functions.
Solution:   Change the key argument from "char_u *" to "char *".

2 years agopatch 9.0.0062: compiler warnings for signed/unsigned char v9.0.0062
Bram Moolenaar [Sat, 23 Jul 2022 08:22:47 +0000 (09:22 +0100)]
patch 9.0.0062: compiler warnings for signed/unsigned char

Problem:    Compiler warnings for signed/unsigned char.
Solution:   Add type casts. (John Marriott)

2 years agopatch 9.0.0061: ml_get error with nested autocommand v9.0.0061
Bram Moolenaar [Sat, 23 Jul 2022 08:06:48 +0000 (09:06 +0100)]
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)

2 years agopatch 9.0.0060: accessing uninitialized memory when completing long line v9.0.0060
Bram Moolenaar [Sat, 23 Jul 2022 05:53:08 +0000 (06:53 +0100)]
patch 9.0.0060: accessing uninitialized memory when completing long line

Problem:    Accessing uninitialized memory when completing long line.
Solution:   Terminate string with NUL.

2 years agopatch 9.0.0059: test file has wrong name v9.0.0059
zeertzjq [Sat, 23 Jul 2022 05:25:29 +0000 (06:25 +0100)]
patch 9.0.0059: test file has wrong name

Problem:    Test file has wrong name.
Solution:   Rename the file.  Various small fixes. (closes #10674)

2 years agopatch 9.0.0058: Win32: cannot test low level events v9.0.0058
Yegappan Lakshmanan [Sat, 23 Jul 2022 04:04:16 +0000 (05:04 +0100)]
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)

2 years agopatch 9.0.0057: has('patch-xxx') returns true v9.0.0057
Bram Moolenaar [Mon, 18 Jul 2022 19:48:50 +0000 (20:48 +0100)]
patch 9.0.0057: has('patch-xxx') returns true

Problem:    has('patch-xxx') returns true.
Solution:   Check for digit. (closes #10751)

2 years agopatch 9.0.0056: wrong line number reported when :cexpr fails in :def function
Bram Moolenaar [Mon, 18 Jul 2022 16:49:03 +0000 (17:49 +0100)]
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)

2 years agopatch 9.0.0055: bitbake files are not detected v9.0.0055 v9.0.0056
Gregory Anders [Sat, 16 Jul 2022 16:46:47 +0000 (17:46 +0100)]
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)

2 years agopatch 9.0.0054: compiler warning for size_t to int conversion v9.0.0054
Bram Moolenaar [Fri, 15 Jul 2022 19:45:20 +0000 (20:45 +0100)]
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)

2 years agopatch 9.0.0053: E1281 not tested with the old regexp engine v9.0.0053
Dominique Pelle [Thu, 14 Jul 2022 16:40:49 +0000 (17:40 +0100)]
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)

2 years agopatch 9.0.0052: "zG" may throw an error if invalid character follows v9.0.0052
K.Takata [Thu, 14 Jul 2022 16:25:14 +0000 (17:25 +0100)]
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)

2 years agopatch 9.0.0051: using CTRL-C wih :append may hang Vim v9.0.0051
zeertzjq [Thu, 14 Jul 2022 16:06:12 +0000 (17:06 +0100)]
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)

2 years agopatch 9.0.0050: split else-of is confusing v9.0.0050
Bram Moolenaar [Tue, 12 Jul 2022 16:34:31 +0000 (17:34 +0100)]
patch 9.0.0050: split else-of is confusing

Problem:    Split else-of is confusing.
Solution:   Join the lines. (closes #10696)

2 years agopatch 9.0.0049: csv and tsv files are not recognized v9.0.0049
Leandro Lourenci [Sat, 9 Jul 2022 19:27:07 +0000 (20:27 +0100)]
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)

2 years agopatch 9.0.0048: cursor in wrong column with mouse click after concealed text v9.0.0048
Bram Moolenaar [Sat, 9 Jul 2022 03:56:24 +0000 (04:56 +0100)]
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.

2 years agoRuntime files update
Bram Moolenaar [Thu, 7 Jul 2022 21:31:59 +0000 (22:31 +0100)]
Runtime files update

2 years agopatch 9.0.0047: using freed memory with recursive substitute v9.0.0047
Bram Moolenaar [Thu, 7 Jul 2022 21:20:31 +0000 (22:20 +0100)]
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.

2 years agopatch 9.0.0046: reading past end of completion with duplicate match v9.0.0046
Bram Moolenaar [Thu, 7 Jul 2022 18:59:49 +0000 (19:59 +0100)]
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

2 years agopatch 9.0.0045: reading past end of completion with a long line v9.0.0045
Bram Moolenaar [Thu, 7 Jul 2022 18:42:04 +0000 (19:42 +0100)]
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.

2 years agopatch 9.0.0044: typos in comments, wrapping lines v9.0.0044
Bram Moolenaar [Wed, 6 Jul 2022 12:31:28 +0000 (13:31 +0100)]
patch 9.0.0044: typos in comments, wrapping lines

Problem:    Typos in comments, wrapping lines.
Solution:   Adjust comments.  Wrap lines.

2 years agoUpdate runtime files
Bram Moolenaar [Wed, 6 Jul 2022 12:18:11 +0000 (13:18 +0100)]
Update runtime files

2 years agopatch 9.0.0043: insufficient testing for bracket commands v9.0.0043
zeertzjq [Wed, 6 Jul 2022 11:57:31 +0000 (12:57 +0100)]
patch 9.0.0043: insufficient testing for bracket commands

Problem:    Insufficient testing for bracket commands.
Solution:   Add a few more tests. (closes #10668)

2 years agopatch 9.0.0042: missing change for filetype detection v9.0.0042
Bram Moolenaar [Tue, 5 Jul 2022 20:56:39 +0000 (21:56 +0100)]
patch 9.0.0042: missing change for filetype detection

Problem:    Missing change for filetype detection.
Solution:   Include change to detect guile from shebang line.

2 years agopatch 9.0.0041: a couple of filetype patterns do not have "*" before "/etc" v9.0.0041
smjonas [Tue, 5 Jul 2022 17:42:56 +0000 (18:42 +0100)]
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)

2 years agopatch 9.0.0040: use of set_chars_option() is confusing v9.0.0040
Bram Moolenaar [Mon, 4 Jul 2022 20:03:36 +0000 (21:03 +0100)]
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.

2 years agopatch 9.0.0039: not all systems have GDK_KEY_dead_circumflex v9.0.0039
Bram Moolenaar [Mon, 4 Jul 2022 18:58:17 +0000 (19:58 +0100)]
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.

2 years agopatch 9.0.0038: 'listchars' test fails v9.0.0038
Bram Moolenaar [Mon, 4 Jul 2022 17:05:51 +0000 (18:05 +0100)]
patch 9.0.0038: 'listchars' test fails

Problem:    'listchars' test fails.
Solution:   Use window-local value after setting the global value

2 years agopatch 9.0.0037: build error v9.0.0037
Bram Moolenaar [Mon, 4 Jul 2022 16:46:22 +0000 (17:46 +0100)]
patch 9.0.0037: build error

Problem:    Build error.
Solution:   Add missing change.

2 years agopatch 9.0.0036: 'fillchars' cannot have window-local values v9.0.0036
Bram Moolenaar [Mon, 4 Jul 2022 16:34:33 +0000 (17:34 +0100)]
patch 9.0.0036: 'fillchars' cannot have window-local values

Problem:    'fillchars' cannot have window-local values.
Solution:   Make 'fillchars' global-local. (closes #5206)

2 years agopatch 9.0.0035: spell dump may go beyond end of an array v9.0.0035
Bram Moolenaar [Mon, 4 Jul 2022 12:37:07 +0000 (13:37 +0100)]
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.

2 years agopatch 9.0.0034: spell tests do not always clear the word list v9.0.0034
zeertzjq [Mon, 4 Jul 2022 10:03:07 +0000 (11:03 +0100)]
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)

2 years agopatch 9.0.0033: on a Belgian keyboard CTRL-[ does not work v9.0.0033
Anton Sharonov [Mon, 4 Jul 2022 09:47:31 +0000 (10:47 +0100)]
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)

2 years agopatch 9.0.0032: in the quickfix window 'cursorline' overrules QuickFixLine v9.0.0032
Bram Moolenaar [Sun, 3 Jul 2022 13:21:09 +0000 (14:21 +0100)]
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)

2 years agopatch 9.0.0031: <cmod> of user command does not have correct verbose value v9.0.0031
zeertzjq [Sun, 3 Jul 2022 12:16:09 +0000 (13:16 +0100)]
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)

2 years agopatch 9.0.0030: matchfuzzy test depends on path of current directory v9.0.0030
Bram Moolenaar [Sat, 2 Jul 2022 19:48:01 +0000 (20:48 +0100)]
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)

2 years agopatch 9.0.0029: the bitmaps/vim.ico file is not in the distribution v9.0.0029
Bram Moolenaar [Sat, 2 Jul 2022 16:58:23 +0000 (17:58 +0100)]
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.

2 years agopatch 9.0.0028: MS-Windows: tests fail if there is a "runtime" directory v9.0.0028
Bram Moolenaar [Sat, 2 Jul 2022 16:36:31 +0000 (17:36 +0100)]
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".

2 years agopatch 9.0.0027: the command line test is getting quite big v9.0.0027
Bram Moolenaar [Sat, 2 Jul 2022 15:29:34 +0000 (16:29 +0100)]
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.

2 years agopatch 9.0.0026: accessing freed memory with diff put v9.0.0026
Bram Moolenaar [Sat, 2 Jul 2022 14:10:00 +0000 (15:10 +0100)]
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.

2 years agopatch 9.0.0025: accessing beyond allocated memory with the cmdline window v9.0.0025
Bram Moolenaar [Sat, 2 Jul 2022 12:43:21 +0000 (13:43 +0100)]
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.

2 years agopatch 9.0.0024: may access part of typeahead buf that isn't filled v9.0.0024
Bram Moolenaar [Sat, 2 Jul 2022 11:08:16 +0000 (12:08 +0100)]
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.

2 years agopatch 9.0.0023: on Solaris timer_create() exists but does not work v9.0.0023
Bram Moolenaar [Sat, 2 Jul 2022 10:40:40 +0000 (11:40 +0100)]
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)

2 years agopatch 9.0.0022: spell test fails v9.0.0022
Bram Moolenaar [Fri, 1 Jul 2022 21:44:19 +0000 (22:44 +0100)]
patch 9.0.0022: spell test fails

Problem:    Spell test fails.
Solution:   Expect new error is given.

2 years agopatch 9.0.0021: invalid memory access when adding word to spell word list v9.0.0021
Bram Moolenaar [Fri, 1 Jul 2022 21:26:20 +0000 (22:26 +0100)]
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.

2 years agopatch 9.0.0020: with some completion reading past end of string v9.0.0020
Bram Moolenaar [Fri, 1 Jul 2022 18:58:30 +0000 (19:58 +0100)]
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.

2 years agopatch 9.0.0019: timers test not run where possible v9.0.0019
zeertzjq [Fri, 1 Jul 2022 18:11:23 +0000 (19:11 +0100)]
patch 9.0.0019: timers test not run where possible

Problem:    Timers test not run where possible.
Solution:   Adjust platform checks. (closes #10645)

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 1 Jul 2022 17:45:04 +0000 (18:45 +0100)]
Update runtime files

2 years agopatch 9.0.0018: going over the end of the typahead v9.0.0018
Bram Moolenaar [Fri, 1 Jul 2022 15:35:45 +0000 (16:35 +0100)]
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.

2 years agopatch 9.0.0017: accessing memory beyond the end of the line v9.0.0017
Bram Moolenaar [Fri, 1 Jul 2022 14:26:15 +0000 (15:26 +0100)]
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.

2 years agopatch 9.0.0016: comparing line pointer for 'breakindent' is not reliable v9.0.0016
Bram Moolenaar [Fri, 1 Jul 2022 12:15:35 +0000 (13:15 +0100)]
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.

2 years agopatch 9.0.0015: with EXITFREE defined terminal menus are not cleared v9.0.0015
zeertzjq [Fri, 1 Jul 2022 11:13:15 +0000 (12:13 +0100)]
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)

2 years agopatch 9.0.0014: missing part of the test override change v9.0.0014
Bram Moolenaar [Thu, 30 Jun 2022 21:28:08 +0000 (22:28 +0100)]
patch 9.0.0014: missing part of the test override change

Problem:    Missing part of the test override change.
Solution:   Add the missing part.

2 years agopatch 9.0.0013: reproducing memory access errors can be difficult v9.0.0013
Bram Moolenaar [Thu, 30 Jun 2022 21:13:59 +0000 (22:13 +0100)]
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.

2 years agopatch 9.0.0012: signature files not detected properly v9.0.0012
Bram Moolenaar [Thu, 30 Jun 2022 15:25:21 +0000 (16:25 +0100)]
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)

2 years agopatch 9.0.0011: reading beyond the end of the line with put command v9.0.0011
Bram Moolenaar [Thu, 30 Jun 2022 11:30:19 +0000 (12:30 +0100)]
patch 9.0.0011: reading beyond the end of the line with put command

Problem:    Reading beyond the end of the line with put command.
Solution:   Adjust the end mark position.