]> granicus.if.org Git - vim/log
vim
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.

2 years agopatch 9.0.0010: returning 0 for has('patch-9.0.0') is inconsistent v9.0.0010
Bram Moolenaar [Thu, 30 Jun 2022 10:03:39 +0000 (11:03 +0100)]
patch 9.0.0010: returning 0 for has('patch-9.0.0') is inconsistent

Problem:    Returning 0 for has('patch-9.0.0') is inconsistent.
Solution:   Make it return 1. (closes #10640)

2 years agopatch 9.0.0009: going past the end of a menu item with only modifier v9.0.0009
Bram Moolenaar [Wed, 29 Jun 2022 20:16:58 +0000 (21:16 +0100)]
patch 9.0.0009: going past the end of a menu item with only modifier

Problem:    Going past the end of a menu item with only modifier.
Solution:   Check for NUL.

2 years agopatch 9.0.0008: cannot specify the variable name for "xxd -i" v9.0.0008
David Gow [Wed, 29 Jun 2022 19:24:49 +0000 (20:24 +0100)]
patch 9.0.0008: cannot specify the variable name for "xxd -i"

Problem:    Cannot specify the variable name for "xxd -i".
Solution:   Add the "-name" argument. (David Gow, closes #10599)

2 years agopatch 9.0.0007: no support for double, dotted and dashed underlines v9.0.0007
Bram Moolenaar [Wed, 29 Jun 2022 17:39:11 +0000 (18:39 +0100)]
patch 9.0.0007: no support for double, dotted and dashed underlines

Problem:    No support for double, dotted and dashed underlines.
Solution:   Add the termcap entries and highlight modes. (closes #9553)

2 years agopatch 9.0.0006: not all Visual Basic files are recognized v9.0.0006
Bram Moolenaar [Wed, 29 Jun 2022 13:39:12 +0000 (14:39 +0100)]
patch 9.0.0006: not all Visual Basic files are recognized

Problem:    Not all Visual Basic files are recognized.
Solution:   Change detection of *.cls files. (Doug Kearns)

2 years agopatch 9.0.0005: hare files are not recognized v9.0.0005
Hugo Osvaldo Barrera [Wed, 29 Jun 2022 12:48:49 +0000 (13:48 +0100)]
patch 9.0.0005: hare files are not recognized

Problem:    Hare files are not recognized.
Solution:   Add a filetype pattern. (Hugo Osvaldo Barrera, closes #10630)

2 years agopatch 9.0.0004: plural messages not translated properly v9.0.0004
Matvey Tarasov [Wed, 29 Jun 2022 12:18:27 +0000 (13:18 +0100)]
patch 9.0.0004: plural messages not translated properly

Problem:    Plural messages not translated properly.
Solution:   Use ngettext() in a few more places. (Matvey Tarasov,
            closes #10606)

2 years agopatch 9.0.0003: functions are global while they could be local v9.0.0003
Yegappan Lakshmanan [Wed, 29 Jun 2022 11:55:36 +0000 (12:55 +0100)]
patch 9.0.0003: functions are global while they could be local

Problem:    Functions are global while they could be local.
Solution:   Add "static".  Add a few tests. (Yegappan Lakshmanan,
            closes #10612)

2 years agopatch 9.0.0002: map functionality outside of map.c v9.0.0002
zeertzjq [Wed, 29 Jun 2022 09:37:40 +0000 (10:37 +0100)]
patch 9.0.0002: map functionality outside of map.c

Problem:    Map functionality outside of map.c.
Solution:   Move f_hasmapto() to map.c.  Rename a function. (closes #10611)

2 years agopatch 9.0.0001: Travis CI is no longer used v9.0.0001
Bram Moolenaar [Tue, 28 Jun 2022 19:07:42 +0000 (20:07 +0100)]
patch 9.0.0001: Travis CI is no longer used

Problem:    Travis CI is no longer used.
Solution:   Delete the Travis CI configuration. (Hugo Osvaldo Barrera,
            closes #10636)

2 years agorelease version 9.0 v9.0.0000
Bram Moolenaar [Tue, 28 Jun 2022 12:44:46 +0000 (13:44 +0100)]
release version 9.0

Problem:    About time to release Vim 9.0.
Solution:   Update the version number everywhere.

2 years agopatch 8.2.5172: "make menu" still uses legacy script v8.2.5172
Bram Moolenaar [Mon, 27 Jun 2022 22:13:04 +0000 (23:13 +0100)]
patch 8.2.5172: "make menu" still uses legacy script

Problem:    "make menu" still uses legacy script.
Solution:   make menu generation script use Vim9 script, fix errors.

2 years agopatch 8.2.5171: dependencies and proto files are outdated v8.2.5171
Bram Moolenaar [Mon, 27 Jun 2022 21:52:43 +0000 (22:52 +0100)]
patch 8.2.5171: dependencies and proto files are outdated

Problem:    Dependencies and proto files are outdated.
Solution:   Update dependencies and proto files.  Avoid errors.

2 years agopatch 8.2.5170: tiny issues v8.2.5170
Bram Moolenaar [Mon, 27 Jun 2022 21:17:37 +0000 (22:17 +0100)]
patch 8.2.5170: tiny issues

Problem:    Tiny issues.
Solution:   Tiny improvements.

2 years agoUpdate runtime files
Bram Moolenaar [Mon, 27 Jun 2022 21:16:08 +0000 (22:16 +0100)]
Update runtime files

2 years agopatch 8.2.5169: nested :source may use NULL pointer v8.2.5169
Bram Moolenaar [Mon, 27 Jun 2022 19:15:10 +0000 (20:15 +0100)]
patch 8.2.5169: nested :source may use NULL pointer

Problem:    Nested :source may use NULL pointer.
Solution:   Do not use the NULL pointer.

2 years agopatch 8.2.5168: cannot build with Python 3.11 v8.2.5168
Zdenek Dohnal [Mon, 27 Jun 2022 12:59:00 +0000 (13:59 +0100)]
patch 8.2.5168: cannot build with Python 3.11

Problem:    Cannot build with Python 3.11.
Solution:   Adjust define for _PyObject_TypeCheck. (Zdenek Dohnal,
            closes #10627)

2 years agopatch 8.2.5167: get(Fn, 'name') on funcref returns special byte code v8.2.5167
Bram Moolenaar [Mon, 27 Jun 2022 10:45:52 +0000 (11:45 +0100)]
patch 8.2.5167: get(Fn, 'name') on funcref returns special byte code

Problem:    get(Fn, 'name') on funcref returns special byte code.
Solution:   Use the printable name.

2 years agopatch 8.2.5166: test for DiffUpdated fails v8.2.5166
Bram Moolenaar [Sun, 26 Jun 2022 17:17:50 +0000 (18:17 +0100)]
patch 8.2.5166: test for DiffUpdated fails

Problem:    Test for DiffUpdated fails.
Solution:   Also accept a count of two.

2 years agopatch 8.2.5165: import test fails because 'diffexpr' isn't reset v8.2.5165
Bram Moolenaar [Sun, 26 Jun 2022 17:01:00 +0000 (18:01 +0100)]
patch 8.2.5165: import test fails because 'diffexpr' isn't reset

Problem:    Import test fails because 'diffexpr' isn't reset.
Solution:   Reset 'diffexpr'.

2 years agopatch 8.2.5164: invalid memory access after diff buffer manipulations v8.2.5164
Bram Moolenaar [Sun, 26 Jun 2022 15:53:34 +0000 (16:53 +0100)]
patch 8.2.5164: invalid memory access after diff buffer manipulations

Problem:    Invalid memory access after diff buffer manipulations.
Solution:   Use zero offset when change removes all lines in a diff block.

2 years agopatch 8.2.5163: crash when deleting buffers in diff mode v8.2.5163
Bram Moolenaar [Sun, 26 Jun 2022 13:04:07 +0000 (14:04 +0100)]
patch 8.2.5163: crash when deleting buffers in diff mode

Problem:    Crash when deleting buffers in diff mode.
Solution:   Recompute diffs later.  Skip window without a valid buffer.

2 years agopatch 8.2.5162: reading before the start of the line with BS in Replace mode v8.2.5162
Bram Moolenaar [Sun, 26 Jun 2022 11:59:02 +0000 (12:59 +0100)]
patch 8.2.5162: reading before the start of the line with BS in Replace mode

Problem:    Reading before the start of the line with BS in Replace mode.
Solution:   Check the cursor column is more than zero.

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 26 Jun 2022 11:21:15 +0000 (12:21 +0100)]
Update runtime files

2 years agopatch 8.2.5161: might still access invalid memory v8.2.5161
Bram Moolenaar [Sun, 26 Jun 2022 10:17:10 +0000 (11:17 +0100)]
patch 8.2.5161: might still access invalid memory

Problem:    Might still access invalid memory.
Solution:   Add extra check for negative value.

2 years agopatch 8.2.5160: accessing invalid memory after changing terminal size v8.2.5160
Bram Moolenaar [Sat, 25 Jun 2022 18:54:09 +0000 (19:54 +0100)]
patch 8.2.5160: accessing invalid memory after changing terminal size

Problem:    Accessing invalid memory after changing terminal size.
Solution:   Adjust cmdline_row and msg_row to the value of Rows.

2 years agoUpdate runtime files
Bram Moolenaar [Sat, 25 Jun 2022 17:01:32 +0000 (18:01 +0100)]
Update runtime files

2 years agopatch 8.2.5159: fix for CTRL-key combinations causes problems v8.2.5159
Bram Moolenaar [Sat, 25 Jun 2022 12:48:25 +0000 (13:48 +0100)]
patch 8.2.5159: fix for CTRL-key combinations causes problems

Problem:    Fix for CTRL-key combinations causes more problems than it solves.
Solution:   Roll back the change.

2 years agopatch 8.2.5158: TSTP and INT signal tests are not run with valgrind v8.2.5158
Bram Moolenaar [Sat, 25 Jun 2022 11:13:28 +0000 (12:13 +0100)]
patch 8.2.5158: TSTP and INT signal tests are not run with valgrind

Problem:    TSTP and INT signal tests are not run with valgrind.
Solution:   Sleep a bit longer. (closes #10614)

2 years agopatch 8.2.5157: MS-Windows GUI: CTRL-key combinations do not always work v8.2.5157
LemonBoy [Fri, 24 Jun 2022 19:18:09 +0000 (20:18 +0100)]
patch 8.2.5157: MS-Windows GUI: CTRL-key combinations do not always work

Problem:    MS-Windows GUI: CTRL-key combinations do not always work.
Solution:   Handle special key combinations better. (closes #10613,
            closes #10602, closes #10579)