]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
2 years agopatch 9.0.1638: crypt tests hang and cause memory errors 12556/head v9.0.1638
Bram Moolenaar [Sat, 17 Jun 2023 14:00:27 +0000 (15:00 +0100)] 
patch 9.0.1638: crypt tests hang and cause memory errors

Problem:    crypt tests hang and cause memory errors
Solution:   Move variable to start of function.

2 years agopatch 9.0.1637: compiler warning for uninitialized variable v9.0.1637
Christian Brabandt [Fri, 16 Jun 2023 20:42:06 +0000 (21:42 +0100)] 
patch 9.0.1637: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Move the variable to an inner block and initialize it. (Christian
            Brabandt, closes #12549)

2 years agopatch 9.0.1636: expanding a pattern interferes with cmdline completion v9.0.1636
zeertzjq [Thu, 15 Jun 2023 21:51:57 +0000 (22:51 +0100)] 
patch 9.0.1636: expanding a pattern interferes with cmdline completion

Problem:    Expanding a pattern interferes with command line completion.
Solution:   Set the file index only when appropriate. (closes #12519)

2 years agopatch 9.0.1635: error message is cleared when removing mode message v9.0.1635
Bram Moolenaar [Thu, 15 Jun 2023 17:44:50 +0000 (18:44 +0100)] 
patch 9.0.1635: error message is cleared when removing mode message

Problem:    Error message is cleared when removing mode message.
Solution:   Also reset flags when the message is further down.

2 years agopatch 9.0.1634: message is cleared when removing mode message v9.0.1634
Bram Moolenaar [Thu, 15 Jun 2023 15:40:02 +0000 (16:40 +0100)] 
patch 9.0.1634: message is cleared when removing mode message

Problem:    Message is cleared when removing mode message (Gary Johnson).
Solution:   Do not clear the command line after displaying a message.

2 years agopatch 9.0.1633: duplicate code for converting float to string v9.0.1633
zeertzjq [Thu, 15 Jun 2023 09:56:41 +0000 (10:56 +0100)] 
patch 9.0.1633: duplicate code for converting float to string

Problem:    Duplicate code for converting float to string.
Solution:   Use tv_get_string(). (closes #12521)

2 years agopatch 9.0.1632: not all cabal config files are recognized v9.0.1632
Marcin Szamotulski [Wed, 14 Jun 2023 18:45:43 +0000 (19:45 +0100)] 
patch 9.0.1632: not all cabal config files are recognized

Problem:    Not all cabal config files are recognized.
Solution:   Add a couple of patterns. (Marcin Szamotulski, closes #12463)

2 years agopatch 9.0.1631: passing wrong variable type to option gives multiple errors v9.0.1631
zeertzjq [Wed, 14 Jun 2023 15:39:54 +0000 (16:39 +0100)] 
patch 9.0.1631: passing wrong variable type to option gives multiple errors

Problem:    Passing a wrong variable type to an option gives multiple errors.
Solution:   Bail out early on failure. (closes #12504)

2 years agopatch 9.0.1630: "make clean" at the toplevel fails v9.0.1630
Ben Jackson [Wed, 14 Jun 2023 14:10:02 +0000 (15:10 +0100)] 
patch 9.0.1630: "make clean" at the toplevel fails

Problem:    "make clean" at the toplevel fails.
Solution:   Clean the indent and syntax directories in a sub-shell.  (Ben
            Jackson, closes #12536, closes #12526)

2 years agopatch 9.0.1629: having utf16idx() rounding up is inconvenient v9.0.1629
Yegappan Lakshmanan [Wed, 14 Jun 2023 12:10:15 +0000 (13:10 +0100)] 
patch 9.0.1629: having utf16idx() rounding up is inconvenient

Problem:    Having utf16idx() rounding up is inconvenient.
Solution:   Make utf16idx() round down. (Yegappan Lakshmanan, closes #12523)

2 years agopatch 9.0.1628: syntax tests fail on FreeBSD v9.0.1628
K.Takata [Tue, 13 Jun 2023 21:44:57 +0000 (22:44 +0100)] 
patch 9.0.1628: syntax tests fail on FreeBSD

Problem:    Syntax tests fail on FreeBSD.
Solution:   Pass the Vim executable path with VIMPROG. (Ken Takata,
            closes #12535)  Adjust the paths.

2 years agopatch 9.0.1627: no generic mechanism to test syntax plugins v9.0.1627
Bram Moolenaar [Sun, 11 Jun 2023 18:04:18 +0000 (19:04 +0100)] 
patch 9.0.1627: no generic mechanism to test syntax plugins

Problem:    No generic mechanism to test syntax plugins.
Solution:   Add a syntax plugin test mechanism, using screendumps.  Add a
            simple test for "c".

2 years agoUpdate runtime files
Bram Moolenaar [Sat, 10 Jun 2023 20:40:39 +0000 (21:40 +0100)] 
Update runtime files

2 years agopatch 9.0.1626: Visual area not shown when using 'showbreak' v9.0.1626
Bram Moolenaar [Sat, 10 Jun 2023 18:40:30 +0000 (19:40 +0100)] 
patch 9.0.1626: Visual area not shown when using 'showbreak'

Problem:    Visual area not shown when using 'showbreak' and start of line is
            not visible. (Jaehwang Jung)
Solution:   Adjust "fromcol" for the space taken by 'showbreak'.
            (closes #12514)

2 years agopatch 9.0.1625: "super" is not considered a reserved name v9.0.1625
Bram Moolenaar [Sat, 10 Jun 2023 18:00:12 +0000 (19:00 +0100)] 
patch 9.0.1625: "super" is not considered a reserved name

Problem:    "super" is not considered a reserved name.
Solution:   Add "super" to the list of reserved names. (closes #12515)

2 years agopatch 9.0.1624: crash when calling object constructor v9.0.1624
Bram Moolenaar [Sat, 10 Jun 2023 15:45:13 +0000 (16:45 +0100)] 
patch 9.0.1624: crash when calling object constructor

Problem:    Crash when calling object constructor from legacy script. (Israel
            Chauca Fuentes)
Solution:   Pass a pointer for "ufunc". (closes #12502)

2 years agopatch 9.0.1623: the program to filetype translation is not exported v9.0.1623
Bram Moolenaar [Fri, 9 Jun 2023 20:01:47 +0000 (21:01 +0100)] 
patch 9.0.1623: the program to filetype translation is not exported

Problem:    The program to filetype translation is not exported.
Solution:   Export Exe2filetype().

2 years agopatch 9.0.1622: filetype name t32 is a bit obscure v9.0.1622
Christoph Sax [Fri, 9 Jun 2023 18:20:04 +0000 (19:20 +0100)] 
patch 9.0.1622: filetype name t32 is a bit obscure

Problem:    Filetype name t32 is a bit obscure.
Solution:   Rename t32 to trace32. (Christoph Sax, closes #12512)

2 years agopatch 9.0.1621: FILETYPE_FILE is defined to the same value multiple times v9.0.1621
Bram Moolenaar [Thu, 8 Jun 2023 21:16:23 +0000 (22:16 +0100)] 
patch 9.0.1621: FILETYPE_FILE is defined to the same value multiple times

Problem:    FILETYPE_FILE is defined to the same value multiple times.  Same
            for a few similar macros.
Solution:   Define FILETYPE_FILE and others in feature.h only

2 years agopatch 9.0.1620: Nix files are not recognized from the hashbang line v9.0.1620
Bram Moolenaar [Thu, 8 Jun 2023 20:27:13 +0000 (21:27 +0100)] 
patch 9.0.1620: Nix files are not recognized from the hashbang line

Problem:    Nix files are not recognized from the hashbang line.
Solution:   Add a hashbang check. (issue #12507)

2 years agopatch 9.0.1619: the focus gained/lost escape sequences cause trouble v9.0.1619
Bram Moolenaar [Thu, 8 Jun 2023 17:44:01 +0000 (18:44 +0100)] 
patch 9.0.1619: the focus gained/lost escape sequences cause trouble

Problem:    The focus gained/lost escape sequences cause trouble for a
            terminal where Vim does not expect them.
Solution:   Always recognize the codes for focus gained/lost. (closes #12499)

2 years agopatch 9.0.1618: Trace32 files are not recognized v9.0.1618
Christoph Sax [Thu, 8 Jun 2023 16:57:19 +0000 (17:57 +0100)] 
patch 9.0.1618: Trace32 files are not recognized

Problem:    Trace32 files are not recognized.
Solution:   Add patterns for the t32 filetype. (Christoph Sax, closes #12505)

2 years agopatch 9.0.1617: charidx() result is not consistent with byteidx() v9.0.1617
Yegappan Lakshmanan [Thu, 8 Jun 2023 16:09:45 +0000 (17:09 +0100)] 
patch 9.0.1617: charidx() result is not consistent with byteidx()

Problem:    charidx() and utf16idx() result is not consistent with byteidx().
Solution:   When the index is equal to the length of the text return the
            lenght of the text instead of -1. (Yegappan Lakshmanan,
            closes #12503)

2 years agopatch 9.0.1616: quickfix text field is truncated v9.0.1616
Shane Harper [Wed, 7 Jun 2023 18:09:57 +0000 (19:09 +0100)] 
patch 9.0.1616: quickfix text field is truncated

Problem:    Quickfix text field is truncated.
Solution:   Fix output of text field after pattern field in quickfix buffer.
            (Shane Harper, closes #12498)

2 years agopatch 9.0.1615: URL shortcut files are not recognized v9.0.1615
ObserverOfTime [Wed, 7 Jun 2023 17:27:01 +0000 (18:27 +0100)] 
patch 9.0.1615: URL shortcut files are not recognized

Problem:    URL shortcut files are not recognized.
Solution:   Add a pattern for URL shortcut files. (closes #12474)

2 years agopatch 9.0.1614: strlen() called too often for :spellrepall v9.0.1614
zeertzjq [Tue, 6 Jun 2023 14:59:59 +0000 (15:59 +0100)] 
patch 9.0.1614: strlen() called too often for :spellrepall

Problem:    strlen() called too often for :spellrepall.
Solution:   Store the result in a variable. (closes #12497)

2 years agopatch 9.0.1613: some make output gets picked up by 'errorformat' v9.0.1613
Gregory Anders [Mon, 5 Jun 2023 20:52:46 +0000 (21:52 +0100)] 
patch 9.0.1613: some make output gets picked up by 'errorformat'

Problem:    Some make output gets picked up by 'errorformat'.
Solution:   Ignore make output by default. (Gregory Anders, closes #12481)

2 years agopatch 9.0.1612: "skipcol" not reset when using multi-byte characters v9.0.1612
Bram Moolenaar [Mon, 5 Jun 2023 19:44:55 +0000 (20:44 +0100)] 
patch 9.0.1612: "skipcol" not reset when using multi-byte characters

Problem:    "skipcol" not reset when using multi-byte characters.
Solution:   Compare with w_virtcol instead of w_cursor.col. (closes #12457)

2 years agopatch 9.0.1611: v:maxcol can be changed in a :for loop v9.0.1611
Bram Moolenaar [Mon, 5 Jun 2023 18:46:18 +0000 (19:46 +0100)] 
patch 9.0.1611: v:maxcol can be changed in a :for loop

Problem:    v:maxcol can be changed in a :for loop.
Solution:   Check for read-only loop variable. (closes #12470)

2 years agopatch 9.0.1610: display is wrong when 'smoothscroll' is set v9.0.1610
zeertzjq [Mon, 5 Jun 2023 17:41:35 +0000 (18:41 +0100)] 
patch 9.0.1610: display is wrong when 'smoothscroll' is set

Problem:    Display is wrong when 'smoothscroll' is set and scrolling multiple
            lines.
Solution:   Redraw with UPD_NOT_VALID when "skipcol" is or was set.
            (closes #12490, closes #12468)

2 years agopatch 9.0.1609: crash when an object indirectly references itself v9.0.1609
Bram Moolenaar [Mon, 5 Jun 2023 15:53:25 +0000 (16:53 +0100)] 
patch 9.0.1609: crash when an object indirectly references itself

Problem:    Crash when an object indirectly references itself.
Solution:   Avoid clearing an object while it is already being cleared.
            (closes #12494)

2 years agopatch 9.0.1608: update_topline() is called twice v9.0.1608
Luuk van Baal [Mon, 5 Jun 2023 14:00:05 +0000 (15:00 +0100)] 
patch 9.0.1608: update_topline() is called twice

Problem:    update_topline() is called twice.
Solution:   Do not call update_topline() before curs_columns(). (Luuk van
            Baal, closes #12495)

2 years agopatch 9.0.1607: screenpos() returns wrong row with diff filler lines v9.0.1607
zeertzjq [Sun, 4 Jun 2023 18:29:22 +0000 (19:29 +0100)] 
patch 9.0.1607: screenpos() returns wrong row with diff filler lines

Problem:    screenpos() returns wrong row with diff filler lines.
Solution:   Only add filler lines when appropriate.  Also don't add the
            'smoothscroll' marker when w_skipcol is zero. (closes #12485,
            closes #12484)

2 years agopatch 9.0.1606: using freed memory when 'foldcolumn' is set v9.0.1606
zeertzjq [Sun, 4 Jun 2023 17:46:28 +0000 (18:46 +0100)] 
patch 9.0.1606: using freed memory when 'foldcolumn' is set

Problem:    Using freed memory when 'foldcolumn' is set.
Solution:   Save extra pointer to free it later. (closes #12492)

2 years agopatch 9.0.1605: crash when calling method on super in child constructor v9.0.1605
Ernie Rael [Sun, 4 Jun 2023 17:11:35 +0000 (18:11 +0100)] 
patch 9.0.1605: crash when calling method on super in child constructor

Problem:    Crash when calling method on super in child constructor. (Israel
            Chauca Fuentes)
Solution:   Clear the type list. (Ernie Rael, closes #12489, closes #12471)

2 years agopatch 9.0.1604: errors from the codestyle test are a bit confusing v9.0.1604
Bram Moolenaar [Sun, 4 Jun 2023 15:55:27 +0000 (16:55 +0100)] 
patch 9.0.1604: errors from the codestyle test are a bit confusing

Problem:    Errors from the codestyle test are a bit confusing.
Solution:   Use assert_report() with a clearer message.  Avoid a warning for
            an existing swap file.

2 years agopatch 9.0.1603: display wrong if scrolling multiple lines with 'smoothscroll' v9.0.1603
zeertzjq [Sat, 3 Jun 2023 21:08:33 +0000 (22:08 +0100)] 
patch 9.0.1603: display wrong if scrolling multiple lines with 'smoothscroll'

Problem:    Display wrong when scrolling multiple lines with 'smoothscroll'
            set.
Solution:   Redraw when w_skipcol changed. (closes #12477, closes #12468)

2 years agopatch 9.0.1602: stray character visible if marker on top of double-wide char v9.0.1602
zeertzjq [Sat, 3 Jun 2023 18:45:06 +0000 (19:45 +0100)] 
patch 9.0.1602: stray character visible if marker on top of double-wide char

Problem:    Stray character is visible if 'smoothscroll' marker is displayed
            on top of a double-wide character.
Solution:   When overwriting a double-width character with the 'smoothscroll'
            marker clear the second half. (closes #12469)

2 years agopatch 9.0.1601: filetype detection fails for *.conf file without comments v9.0.1601
zeertzjq [Sat, 3 Jun 2023 16:56:30 +0000 (17:56 +0100)] 
patch 9.0.1601: filetype detection fails for *.conf file without comments

Problem:    Filetype detection fails for *.conf file without comments.
            (Dmitrii Tcyganok)
Solution:   Use "conf" filetype as a fallback for an empty .conf file.
            (closes #12487, closes #12483)

2 years agopatch 9.0.1600: screenpos() does not take w_skipcol into account v9.0.1600
zeertzjq [Sat, 3 Jun 2023 16:11:47 +0000 (17:11 +0100)] 
patch 9.0.1600: screenpos() does not take w_skipcol into account

Problem:    screenpos() does not take w_skipcol into account.
Solution:   Subtract w_skipcol from column. (closes #12486, closes #12476)

2 years agopatch 9.0.1599: Cursor not adjusted when 'splitkeep' is not "cursor" v9.0.1599
Luuk van Baal [Fri, 2 Jun 2023 13:16:35 +0000 (14:16 +0100)] 
patch 9.0.1599: Cursor not adjusted when 'splitkeep' is not "cursor"

Problem:    Cursor not adjusted when near top or bottom of window and
            'splitkeep' is not "cursor".
Solution:   Move boundary checks to outer cursor move functions, inner
            functions should only return valid cursor positions. (Luuk van
            Baal, closes #12480)

2 years agopatch 9.0.1598: screenchar() and others are wrong with DBCS 'encoding' v9.0.1598
zeertzjq [Thu, 1 Jun 2023 19:26:55 +0000 (20:26 +0100)] 
patch 9.0.1598: screenchar() and others are wrong with DBCS 'encoding'

Problem:    screenchar(), screenchars() and screenstring() do not work
            properly when 'encoding' is set to a double-byte encoding.
Solution:   Fix the way the bytes of the characters are obtained.
            (issue #12469)

2 years agopatch 9.0.1597: cursor ends up below the window after a put v9.0.1597
Bram Moolenaar [Thu, 1 Jun 2023 18:27:08 +0000 (19:27 +0100)] 
patch 9.0.1597: cursor ends up below the window after a put

Problem:    Cursor ends up below the window after a put.
Solution:   Mark w_crow and w_botline invalid when changing the cursor line.
            (closes #12465)

2 years agopatch 9.0.1596: :registers command does not work in sandbox v9.0.1596
Julio B [Thu, 1 Jun 2023 11:45:22 +0000 (12:45 +0100)] 
patch 9.0.1596: :registers command does not work in sandbox

Problem:    :registers command does not work in sandbox.
Solution:   Add flag to the command. (closes #12473)

2 years agopatch 9.0.1595: line pointer becomes invalid when using spell checking v9.0.1595
Luuk van Baal [Wed, 31 May 2023 17:57:36 +0000 (18:57 +0100)] 
patch 9.0.1595: line pointer becomes invalid when using spell checking

Problem:    Line pointer becomes invalid when using spell checking.
Solution:   Call ml_get() at the right places. (Luuk van Baal, closes #12456)

2 years agopatch 9.0.1594: some internal error messages are translated v9.0.1594
RestorerZ [Wed, 31 May 2023 16:12:14 +0000 (17:12 +0100)] 
patch 9.0.1594: some internal error messages are translated

Problem:    Some internal error messages are translated.
Solution:   Consistently do not translate internal error messages.
            (closes #12459)

2 years agopatch 9.0.1593: MS-Windows: assert error when compiled with debug mode v9.0.1593
K.Takata [Wed, 31 May 2023 11:47:45 +0000 (12:47 +0100)] 
patch 9.0.1593: MS-Windows: assert error when compiled with debug mode

Problem:    MS-Windows: assert error when compiled with debug mode.
Solution:   Adjust arguments to setvbuf(). (Ken Takata, closes #12467)

2 years agopatch 9.0.1592: not all timer tests are marked as flaky v9.0.1592
Bram Moolenaar [Tue, 30 May 2023 14:34:50 +0000 (15:34 +0100)] 
patch 9.0.1592: not all timer tests are marked as flaky

Problem:    Not all timer tests are marked as flaky.
Solution:   Set the flaky flag for all timer tests. (closes #12355)

2 years agopatch 9.0.1591: some "gomod" files are not recognized v9.0.1591
Omar El Halabi [Mon, 29 May 2023 18:59:45 +0000 (19:59 +0100)] 
patch 9.0.1591: some "gomod" files are not recognized

Problem:    Some "gomod" files are not recognized.
Solution:   Check for "go.mod" file name before checking out the contents.
            (Omar El Halabi, closes #12462)

2 years agopatch 9.0.1590: filetype test has trailing white space v9.0.1590
Bram Moolenaar [Mon, 29 May 2023 16:37:13 +0000 (17:37 +0100)] 
patch 9.0.1590: filetype test has trailing white space

Problem:    Filetype test has trailing white space.
Solution:   Remove trailing white space.

2 years agopatch 9.0.1589: filetype test contains too many special characters v9.0.1589
Bram Moolenaar [Mon, 29 May 2023 16:06:05 +0000 (17:06 +0100)] 
patch 9.0.1589: filetype test contains too many special characters

Problem:    Filetype test contains too many special characters.
Solution:   Use Vim9 syntax for a few things.

2 years agopatch 9.0.1588: Incsearch not triggered when pasting clipboard register v9.0.1588
K.Takata [Mon, 29 May 2023 15:08:08 +0000 (16:08 +0100)] 
patch 9.0.1588: Incsearch not triggered when pasting clipboard register

Problem:    Incsearch not triggered when pasting clipboard register on the
            command line.
Solution:   Also set "literally" when using a clipboard register. (Ken Takata,
            closes #12460)

2 years agopatch 9.0.1587: Corn config files are not recognized v9.0.1587
Jake Stanger [Sun, 28 May 2023 21:11:21 +0000 (22:11 +0100)] 
patch 9.0.1587: Corn config files are not recognized

Problem:    Corn config files are not recognized.
Solution:   Add a pattern for Corn config files. (Jake Stanger, closes #12449)

2 years agopatch 9.0.1586: error for using two messages with ngettext() differing in "%" v9.0.1586
Bram Moolenaar [Sun, 28 May 2023 17:39:55 +0000 (18:39 +0100)] 
patch 9.0.1586: error for using two messages with ngettext() differing in "%"

Problem:    Checking translations gives an error for using two messages with
            ngettext() that differ in "%" items.
Solution:   Adjust the check script to tolerate omitting one "%" item.

2 years agopatch 9.0.1585: weird use of static variables for spell checking v9.0.1585
Luuk van Baal [Sat, 27 May 2023 21:22:10 +0000 (22:22 +0100)] 
patch 9.0.1585: weird use of static variables for spell checking

Problem:    Weird use of static variables for spell checking.
Solution:   Move the variables to a structure and pass them from win_update()
            to win_line(). (Luuk van Baal, closes #12448)

2 years agopatch 9.0.1584: not all meson files are recognized v9.0.1584
Bram Moolenaar [Sat, 27 May 2023 18:01:52 +0000 (19:01 +0100)] 
patch 9.0.1584: not all meson files are recognized

Problem:    Not all meson files are recognized.
Solution:   Add "meson.options". (Liam Beguin, closes #12444)

2 years agopatch 9.0.1583: get E304 when using 'cryptmethod' "xchacha20v2" v9.0.1583
Bram Moolenaar [Sat, 27 May 2023 17:02:55 +0000 (18:02 +0100)] 
patch 9.0.1583: get E304 when using 'cryptmethod' "xchacha20v2"

Problem:    Get E304 when using 'cryptmethod' "xchacha20v2". (Steve Mynott)
Solution:   Add 4th crypt method to block zero ID check.  Avoid syncing a swap
            file before reading the file. (closes #12433)

2 years agopatch 9.0.1582: :stopinsert may not work in a popup close handler v9.0.1582
zeertzjq [Sat, 27 May 2023 13:10:08 +0000 (14:10 +0100)] 
patch 9.0.1582: :stopinsert may not work in a popup close handler

Problem:    :stopinsert may not work in a popup close handler. (Ben Jackson)
Solution:   Restore stop_insert_mode when appropriate. (closes #12452,
            closes #12434)

2 years agopatch 9.0.1581: translation does not work for plural argument v9.0.1581
Bram Moolenaar [Sat, 27 May 2023 12:40:11 +0000 (13:40 +0100)] 
patch 9.0.1581: translation does not work for plural argument

Problem:    Translation does not work for plural argument.
Solution:   Use PLURAL_MSG() for errors and with xgettext. (closes #12443)

2 years agopatch 9.0.1580: CI: indent test hangs on FreeBSD v9.0.1580
ichizok [Fri, 26 May 2023 13:40:45 +0000 (14:40 +0100)] 
patch 9.0.1580: CI: indent test hangs on FreeBSD

Problem:    CI: indent test hangs on FreeBSD.
Solution:   Set 'nomore' when running the indent tests. (Ozaki Kiichi,
            closes #12446)

2 years agopatch 9.0.1579: some error messages are not translated v9.0.1579
RestorerZ [Thu, 25 May 2023 19:13:48 +0000 (20:13 +0100)] 
patch 9.0.1579: some error messages are not translated

Problem:    Some error messages are not translated.
Solution:   Add the N_() marker on messages. (closes #12427)

2 years agopatch 9.0.1578: SpellCap highlight not always updated when needed v9.0.1578
Luuk van Baal [Thu, 25 May 2023 16:14:42 +0000 (17:14 +0100)] 
patch 9.0.1578: SpellCap highlight not always updated when needed

Problem:    SpellCap highlight not always updated when needed.
Solution:   Handle updating line below closed fold and other situations where
            only part of the window is redrawn. (Luuk van Baal, closes #12428,
            closes #12420)

2 years agopatch 9.0.1577: MS-Windows: context menu translations may be wrong v9.0.1577
K.Takata [Thu, 25 May 2023 15:43:27 +0000 (16:43 +0100)] 
patch 9.0.1577: MS-Windows: context menu translations may be wrong

Problem:    MS-Windows: context menu translations may be wrong.
Solution:   Set the encoding before using gettext(). (Ken Takata,
            closes #12441, closes #12431)

2 years agopatch 9.0.1576: users may not know what to do with an internal error v9.0.1576
Bram Moolenaar [Wed, 24 May 2023 20:02:24 +0000 (21:02 +0100)] 
patch 9.0.1576: users may not know what to do with an internal error

Problem:    Users may not know what to do with an internal error.
Solution:   Add a translated message with instructions.

2 years agopatch 9.0.1575: "file N of M" message is not translated v9.0.1575
Bram Moolenaar [Tue, 23 May 2023 17:00:58 +0000 (18:00 +0100)] 
patch 9.0.1575: "file N of M" message is not translated

Problem:    "file N of M" message is not translated.
Solution:   Make argument count message translatable. (close #12429)

2 years agopatch 9.0.1574: MS-Windows: list of translation input files incomplete v9.0.1574
Bram Moolenaar [Tue, 23 May 2023 14:27:51 +0000 (15:27 +0100)] 
patch 9.0.1574: MS-Windows: list of translation input files incomplete

Problem:    MS-Windows: list of translation input files incomplete.
Solution:   Move the list of files to a common file. (closes #12426)

2 years agopatch 9.0.1573: error for function name has wrong line number v9.0.1573
Bram Moolenaar [Tue, 23 May 2023 13:48:42 +0000 (14:48 +0100)] 
patch 9.0.1573: error for function name has wrong line number

Problem:    Error for function name has wrong line number.
Solution:   Set the line number before giving the error.

2 years agopatch 9.0.1572: error messages are not translated v9.0.1572
Bram Moolenaar [Sat, 20 May 2023 15:39:07 +0000 (16:39 +0100)] 
patch 9.0.1572: error messages are not translated

Problem:    Error messages are not translated.
Solution:   Add _().

2 years agopatch 9.0.1571: RedrawingDisabled not used consistently v9.0.1571
Bram Moolenaar [Sat, 20 May 2023 13:07:00 +0000 (14:07 +0100)] 
patch 9.0.1571: RedrawingDisabled not used consistently

Problem:    RedrawingDisabled not used consistently.
Solution:   Avoid RedrawingDisabled going negative.  Set RedrawingDisabled in
            win_split_ins(). (closes #11961)

2 years agopatch 9.0.1570: some tests are slow v9.0.1570
Bram Moolenaar [Fri, 19 May 2023 20:41:02 +0000 (21:41 +0100)] 
patch 9.0.1570: some tests are slow

Problem:    Some tests are slow.
Solution:   Make a few test cases faster.

2 years agopatch 9.0.1569: cannot use "this.member" in lambda in class method v9.0.1569
h-east [Fri, 19 May 2023 18:01:17 +0000 (19:01 +0100)] 
patch 9.0.1569: cannot use "this.member" in lambda in class method

Problem:    Cannot use "this.member" in lambda in class method.
Solution:   Adjust check for reserved keyword. (Hirohito Higashi,
            closes #12416, closes #12076, closes #12336)

2 years agopatch 9.0.1568: with 'smoothscroll' cursor may move below botline v9.0.1568
Luuk van Baal [Fri, 19 May 2023 13:04:47 +0000 (14:04 +0100)] 
patch 9.0.1568: with 'smoothscroll' cursor may move below botline

Problem:    With 'smoothscroll' cursor may move below botline.
Solution:   Call redraw_later() if needed,  Compute cursor row with adjusted
            condition. (Luuk van Baal, closes #12415)

2 years agopatch 9.0.1567: profiler calculation may be wrong on 32 bit builds v9.0.1567
Isao Sato [Fri, 19 May 2023 12:20:34 +0000 (13:20 +0100)] 
patch 9.0.1567: profiler calculation may be wrong on 32 bit builds

Problem:    Profiler calculation may be wrong on 32 bit builds.
Solution:   Use 64 bit variable if possible. (Isao Sato, closes #12412)

2 years agopatch 9.0.1566: Motif: GUI scrollbar test fails in 24 lines terminal v9.0.1566
Bram Moolenaar [Thu, 18 May 2023 19:07:12 +0000 (20:07 +0100)] 
patch 9.0.1566: Motif: GUI scrollbar test fails in 24 lines terminal

Problem:    Motif: GUI scrollbar test fails in 24 lines terminal.
Solution:   Skip the part of the test that fails for now.

2 years agopatch 9.0.1565: json lines files are not recognized v9.0.1565
Bram Moolenaar [Thu, 18 May 2023 15:42:17 +0000 (16:42 +0100)] 
patch 9.0.1565: json lines files are not recognized

Problem:    Json lines files are not recognized.
Solution:   Add a pattern to detect "jsonl" files. (issue #7520)

2 years agopatch 9.0.1564: display moves up and down with 'incsearch' and 'smoothscroll' v9.0.1564
Luuk van Baal [Thu, 18 May 2023 12:26:57 +0000 (13:26 +0100)] 
patch 9.0.1564: display moves up and down with 'incsearch' and 'smoothscroll'

Problem:    Display moves up and down with 'incsearch' and 'smoothscroll'.
Solution:   Do not check if w_skipcol changed. (Luuk van Baal, closes #12410,
            closes #12409)

2 years agopatch 9.0.1563: GTK3: window manager resize hints are incomplete v9.0.1563
Bram Moolenaar [Tue, 16 May 2023 21:15:51 +0000 (22:15 +0100)] 
patch 9.0.1563: GTK3: window manager resize hints are incomplete

Problem:    GTK3: window manager resize hints are incomplete.
Solution:   Use NULL for second argument of gtk_window_set_geometry_hints().
            (Kenny Stauffer closes #11055)

2 years agopatch 9.0.1562: mixing package managers is not a good idea v9.0.1562
Philip H [Tue, 16 May 2023 19:11:02 +0000 (20:11 +0100)] 
patch 9.0.1562: mixing package managers is not a good idea

Problem:    Mixing package managers is not a good idea.
Solution:   Install gcc 13 with apt-get. (closes #12405)

2 years agopatch 9.0.1561: display wrong when moving cursor to above the top line v9.0.1561
Luuk van Baal [Mon, 15 May 2023 17:17:43 +0000 (18:17 +0100)] 
patch 9.0.1561: display wrong when moving cursor to above the top line

Problem:    Display wrong when moving cursor to above the top line and
            'smoothscroll' is set.
Solution:   Call adjust_skipcol() in more places and make it work better.
            (Luuk van Baal, closes #12395)

2 years agopatch 9.0.1560: Win32: When 'encoding' is set $PATH has duplicate entries v9.0.1560
K.Takata [Mon, 15 May 2023 15:41:40 +0000 (16:41 +0100)] 
patch 9.0.1560: Win32: When 'encoding' is set $PATH has duplicate entries

Problem:    Win32: When 'encoding' is set $PATH has duplicate entries.
Solution:   Only append the directory if it is not there yet. (Ken Takata,
            closes #12400, closes #12372)

2 years agopatch 9.0.1559: function argument types not always checked v9.0.1559
Bram Moolenaar [Mon, 15 May 2023 15:22:38 +0000 (16:22 +0100)] 
patch 9.0.1559: function argument types not always checked

Problem:    Function argument types not always checked and using v:none may
            cause an error.
Solution:   Check argument types once the function type is known.  Do not give
            an error for using v:none as an argument. (closes #12200)

2 years agopatch 9.0.1558: wrong error for unreachable code after :throw v9.0.1558
Bram Moolenaar [Sun, 14 May 2023 21:05:15 +0000 (22:05 +0100)] 
patch 9.0.1558: wrong error for unreachable code after :throw

Problem:    Wrong error for unreachable code after :throw.
Solution:   Adjust the error message.

2 years agopatch 9.0.1557: test failures for unreachable code v9.0.1557
Bram Moolenaar [Sun, 14 May 2023 20:38:12 +0000 (21:38 +0100)] 
patch 9.0.1557: test failures for unreachable code

Problem:    Test failures for unreachable code.
Solution:   Add a test override to ignore unreachable code.

2 years agopatch 9.0.1556: Vim9: error for missing "return" after "throw" v9.0.1556
Bram Moolenaar [Sun, 14 May 2023 18:59:59 +0000 (19:59 +0100)] 
patch 9.0.1556: Vim9: error for missing "return" after "throw"

Problem:    Vim9: error for missing "return" after "throw".
Solution:   Set had_return flag for "throw". (closes #12262)

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 14 May 2023 17:50:25 +0000 (18:50 +0100)] 
Update runtime files

2 years agopatch 9.0.1555: setcharsearch() does not clear last searched char properly v9.0.1555
zeertzjq [Sun, 14 May 2023 16:39:18 +0000 (17:39 +0100)] 
patch 9.0.1555: setcharsearch() does not clear last searched char properly

Problem:    setcharsearch() does not clear last searched char properly.
Solution:   Do not accept lastc_bytelen smaller than one. (closes #12398)

2 years agopatch 9.0.1554: code for handling 'switchbuf' is repeated v9.0.1554
Yegappan Lakshmanan [Sun, 14 May 2023 16:24:22 +0000 (17:24 +0100)] 
patch 9.0.1554: code for handling 'switchbuf' is repeated

Problem:    Code for handling 'switchbuf' is repeated.
Solution:   Add a function to handle 'switchbuf'. (Yegappan Lakshmanan,
            closes #12397)

2 years agopatch 9.0.1553: CI: using slightly outdated gcc version v9.0.1553
Philip H [Sat, 13 May 2023 17:05:20 +0000 (18:05 +0100)] 
patch 9.0.1553: CI: using slightly outdated gcc version

Problem:    CI: using slightly outdated gcc version.
Solution:   Use "brew" to get a more recent gcc version.  (closes #12391)

2 years agopatch 9.0.1552: CI: sound-dummy module is not installed v9.0.1552
Philip H [Sat, 13 May 2023 16:46:10 +0000 (17:46 +0100)] 
patch 9.0.1552: CI: sound-dummy module is not installed

Problem:    CI: sound-dummy module is not installed.
Solution:   Invert using the result of the condition.  (closes #12394)

2 years agopatch 9.0.1551: position of marker for 'smoothscroll' not computed correctly v9.0.1551
Luuk van Baal [Sat, 13 May 2023 13:12:15 +0000 (14:12 +0100)] 
patch 9.0.1551: position of marker for 'smoothscroll' not computed correctly

Problem:    Position of marker for 'smoothscroll' not computed correctly.
Solution:   Take 'list' and other options into account. (Luuk van Baal,
            closes #12393)

2 years agopatch 9.0.1550: in cmdline window S-Tab does not select previous completion v9.0.1550
Bram Moolenaar [Sat, 13 May 2023 12:55:09 +0000 (13:55 +0100)] 
patch 9.0.1550: in cmdline window S-Tab does not select previous completion

Problem:    In cmdline window S-Tab does not select previous completion.
            (Maxim Kim)
Solution:   Add a mappint for S-Tab. (closes #12116)

2 years agopatch 9.0.1549: USD filetype is not recognized v9.0.1549
Colin Kennedy [Sat, 13 May 2023 11:15:57 +0000 (12:15 +0100)] 
patch 9.0.1549: USD filetype is not recognized

Problem:    USD filetype is not recognized.
Solution:   Add patterns for USD filetype. (Colin Kennedy, closes #12370)

2 years agopatch 9.0.1548: CI: check in sound-dummy module may throw an error v9.0.1548
Christian Brabandt [Sat, 13 May 2023 10:54:47 +0000 (11:54 +0100)] 
patch 9.0.1548: CI: check in sound-dummy module may throw an error

Problem:    CI: check in sound-dummy module may throw an error.
Solution:   Check whether apt-cache can show the package description.
            (Christian Brabandt, closes #12390)

2 years agopatch 9.0.1547: Coveralls workflow on CI is commented out v9.0.1547
Philip H [Fri, 12 May 2023 17:47:28 +0000 (18:47 +0100)] 
patch 9.0.1547: Coveralls workflow on CI is commented out

Problem:    Coveralls workflow on CI is commented out.
Solution:   Remove the Coveralls workflow. (closes #12389)

2 years agopatch 9.0.1546: some commands for opening a file don't use 'switchbuf' v9.0.1546
Yegappan Lakshmanan [Fri, 12 May 2023 16:49:13 +0000 (17:49 +0100)] 
patch 9.0.1546: some commands for opening a file don't use 'switchbuf'

Problem:    Some commands for opening a file don't use 'switchbuf'.
Solution:   Use 'switchbuf' for more commands. (Yegappan Lakshmanan,
            closes #12383, closes #12381)

2 years agopatch 9.0.1545: text not scrolled when cursor moved with "g0" and "h" v9.0.1545
Luuk van Baal [Fri, 12 May 2023 14:47:25 +0000 (15:47 +0100)] 
patch 9.0.1545: text not scrolled when cursor moved with "g0" and "h"

Problem:    Text not scrolled when cursor moved with "g0" and "h".
Solution:   Adjust w_skipcol when needed. (Luuk van Baal, closes #12387)

2 years agopatch 9.0.1544: recent glibc marks sigset() as a deprecated v9.0.1544
ichizok [Thu, 11 May 2023 21:25:42 +0000 (22:25 +0100)] 
patch 9.0.1544: recent glibc marks sigset() as a deprecated

Problem:    Recent glibc marks sigset() as a deprecated.
Solution:   Use sigaction() in mch_signal() if possible. (Ozaki Kiichi,
            closes #12373)

2 years agopatch 9.0.1543: display errors when making topline shorter v9.0.1543
Luuk van Baal [Thu, 11 May 2023 18:24:20 +0000 (19:24 +0100)] 
patch 9.0.1543: display errors when making topline shorter

Problem:    Display errors when making topline shorter and 'smoothscroll' is
            set.
Solution:   Reset w_skipcol when the topline becomes shorter than its current
            value. (Luuk van Baal, closes #12367)

2 years agopatch 9.0.1542: line not fully displayed if it doesn't fit in the screen v9.0.1542
Luuk van Baal [Thu, 11 May 2023 17:38:14 +0000 (18:38 +0100)] 
patch 9.0.1542: line not fully displayed if it doesn't fit in the screen

Problem:    Line not fully displayed if it doesn't fit in the screen.
Solution:   Do not reset s_skipcol if not needed. (Luuk van Baal,
            closes #12376)

2 years agopatch 9.0.1541: CI: sound dummy is disabled v9.0.1541
Philip H [Thu, 11 May 2023 14:22:58 +0000 (15:22 +0100)] 
patch 9.0.1541: CI: sound dummy is disabled

Problem:    CI: sound dummy is disabled.
Solution:   Make sound dummy work again. (closes #12380)