]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
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)

2 years agopatch 9.0.1540: reverse() on string doesn't work in compiled function v9.0.1540
Yegappan Lakshmanan [Thu, 11 May 2023 14:02:56 +0000 (15:02 +0100)] 
patch 9.0.1540: reverse() on string doesn't work in compiled function

Problem:    reverse() on string doesn't work in compiled function.
Solution:   Accept string in argument type check. (Yegappan Lakshmanan,
            closes #12377)

2 years agopatch 9.0.1539: typst filetype is not recognized v9.0.1539
Gaetan Lepage [Wed, 10 May 2023 21:01:55 +0000 (22:01 +0100)] 
patch 9.0.1539: typst filetype is not recognized

Problem:    Typst filetype is not recognized.
Solution:   Distinguish between sql and typst. (Gaetan Lepage, closes #12363)

2 years agopatch 9.0.1538: :wqall does not trigger ExitPre v9.0.1538
Bram Moolenaar [Wed, 10 May 2023 15:53:27 +0000 (16:53 +0100)] 
patch 9.0.1538: :wqall does not trigger ExitPre

Problem:    :wqall does not trigger ExitPre. (Bart Libert)
Solution:   Move preparations for :qall to a common function. (closes #12374)

2 years agopatch 9.0.1537: message for opening the cmdline window is not translated v9.0.1537
Bram Moolenaar [Wed, 10 May 2023 13:47:50 +0000 (14:47 +0100)] 
patch 9.0.1537: message for opening the cmdline window is not translated

Problem:    Message for opening the cmdline window is not translated.
Solution:   Add gettext() and scan the defaults script for text to be
            translated.  (closes #12371)

2 years agopatch 9.0.1536: CI: sound dummy stopped working v9.0.1536
Bram Moolenaar [Tue, 9 May 2023 21:13:58 +0000 (22:13 +0100)] 
patch 9.0.1536: CI: sound dummy stopped working

Problem:    CI: sound dummy stopped working.
Solution:   Temporarily stop using sound dummy.

2 years agopatch 9.0.1535: test commented out in a wrong way v9.0.1535
Bram Moolenaar [Tue, 9 May 2023 21:07:11 +0000 (22:07 +0100)] 
patch 9.0.1535: test commented out in a wrong way

Problem:    Test commented out in a wrong way.
Solution:   Use legacy script comment character.

2 years agopatch 9.0.1534: test for expanding "~" in substitute takes too long v9.0.1534
Bram Moolenaar [Tue, 9 May 2023 20:45:47 +0000 (21:45 +0100)] 
patch 9.0.1534: test for expanding "~" in substitute takes too long

Problem:    Test for expanding "~" in substitute takes too long.
Solution:   Disable the test for now.

2 years agopatch 9.0.1533: test for 'smoothscroll' is ineffective v9.0.1533
Luuk van Baal [Tue, 9 May 2023 20:23:54 +0000 (21:23 +0100)] 
patch 9.0.1533: test for 'smoothscroll' is ineffective

Problem:    Test for 'smoothscroll' is ineffective.
Solution:   Change the order of testing "zb" and "zt". (Luuk van Baal,
            closes #12366)

2 years agopatch 9.0.1532: crash when expanding "~" in substitute causes very long text v9.0.1532
Bram Moolenaar [Tue, 9 May 2023 20:15:30 +0000 (21:15 +0100)] 
patch 9.0.1532: crash when expanding "~" in substitute causes very long text

Problem:    Crash when expanding "~" in substitute causes very long text.
Solution:   Limit the text length to MAXCOL.

2 years agopatch 9.0.1531: crash when register contents ends up being invalid v9.0.1531
Bram Moolenaar [Tue, 9 May 2023 16:09:30 +0000 (17:09 +0100)] 
patch 9.0.1531: crash when register contents ends up being invalid

Problem:    Crash when register contents ends up being invalid.
Solution:   Check "y_array" is not NULL.

2 years agopatch 9.0.1530: cursor moves to wrong line when 'foldmethod' is "diff" v9.0.1530
Luuk van Baal [Tue, 9 May 2023 15:01:17 +0000 (16:01 +0100)] 
patch 9.0.1530: cursor moves to wrong line when 'foldmethod' is "diff"

Problem:    Cursor moves to wrong line when 'foldmethod' is "diff". (Rick
            Howe)
Solution:   Adjust logic for scrolling. (Luuk van Baal, closes #12364,
            closes #12218)

2 years agopatch 9.0.1529: code style test doesn't check for space after "if" v9.0.1529
Bram Moolenaar [Tue, 9 May 2023 14:00:00 +0000 (15:00 +0100)] 
patch 9.0.1529: code style test doesn't check for space after "if"

Problem:    Code style test doesn't check for space after "if".
Solution:   Add a test for space.

2 years agopatch 9.0.1528: libsodium encryption is only used with "huge" features v9.0.1528
Bram Moolenaar [Mon, 8 May 2023 21:11:07 +0000 (22:11 +0100)] 
patch 9.0.1528: libsodium encryption is only used with "huge" features

Problem:    Libsodium encryption is only used with "huge" features, even when
            manually enabled through configure. (Tony Mechelynck)
Solution:   Remove the condition on FEAT_HUGE.

2 years agopatch 9.0.1527: crash when using negative value for term_cols v9.0.1527
Kenta Sato [Mon, 8 May 2023 17:26:03 +0000 (18:26 +0100)] 
patch 9.0.1527: crash when using negative value for term_cols

Problem:    Crash when using negative value for term_cols.
Solution:   Check for invalid term_cols value. (Kenta Sato, closes #12362)

2 years agopatch 9.0.1526: condition is always true v9.0.1526
zeertzjq [Mon, 8 May 2023 14:56:21 +0000 (15:56 +0100)] 
patch 9.0.1526: condition is always true

Problem:    Condition is always true.
Solution:   Remove unnecessary condition. (closes #12359)

2 years agopatch 9.0.1525: 'smoothscroll' does not always work properly v9.0.1525
Luuk van Baal [Mon, 8 May 2023 14:51:14 +0000 (15:51 +0100)] 
patch 9.0.1525: 'smoothscroll' does not always work properly

Problem:    'smoothscroll' does not always work properly.
Solution:   Do not reset w_skipcol after it was intentionally set.  (Luuk van
            Baal, closes #12360, closes #12199, closes #12323)

2 years agopatch 9.0.1524: passing -1 for bool is not always rejected v9.0.1524
zeertzjq [Mon, 8 May 2023 14:31:38 +0000 (15:31 +0100)] 
patch 9.0.1524: passing -1 for bool is not always rejected

Problem:    Passing -1 for bool is not always rejected.
Solution:   Check for error in a better way. (closes #12358)

2 years agopatch 9.0.1523: some error messages are not marked for translation v9.0.1523
zeertzjq [Sun, 7 May 2023 20:59:33 +0000 (21:59 +0100)] 
patch 9.0.1523: some error messages are not marked for translation

Problem:    Some error messages are not marked for translation.
Solution:   Surround the messages in _(). (closes #12356)

2 years agopatch 9.0.1522: some functions give two error messages v9.0.1522
Bram Moolenaar [Sun, 7 May 2023 17:53:49 +0000 (18:53 +0100)] 
patch 9.0.1522: some functions give two error messages

Problem:    Some functions give two error messages.
Solution:   Do not give a second error message. (closes #12352)

2 years agopatch 9.0.1521: failing redo of command with control characters v9.0.1521
zeertzjq [Sun, 7 May 2023 16:39:23 +0000 (17:39 +0100)] 
patch 9.0.1521: failing redo of command with control characters

Problem:    Failing redo of command with control characters.
Solution:   Use AppendToRedobuffLit() for colon commands. (closes #12354)

2 years agopatch 9.0.1520: completion for option name includes all bool options v9.0.1520
Bram Moolenaar [Sat, 6 May 2023 21:21:11 +0000 (22:21 +0100)] 
patch 9.0.1520: completion for option name includes all bool options

Problem:    Completion for option name includes all bool options.
Solution:   Do not recognize the "noinv" prefix.  Prefix "no" or "inv" when
            appropriate.

2 years agopatch 9.0.1519: global 'filetype' is set when detected from file content v9.0.1519
Bram Moolenaar [Sat, 6 May 2023 20:21:52 +0000 (21:21 +0100)] 
patch 9.0.1519: global 'filetype' is set when detected from file content

Problem:    Global 'filetype' is set when it is detected from the file content.
Solution:   Set the local 'filetype' option value.

2 years agopatch 9.0.1518: search stats not always visible when searching backwards v9.0.1518
Christian Brabandt [Sat, 6 May 2023 18:20:20 +0000 (19:20 +0100)] 
patch 9.0.1518: search stats not always visible when searching backwards

Problem:    Search stats not always visible when searching backwards.
Solution:   Do not display the top/bot message on top of the search stats.
            (Christian Brabandt, closes #12322, closes #12222)

2 years agopatch 9.0.1517: MacOS: configure removes -O2 from $CFLAGS v9.0.1517
Rose [Sat, 6 May 2023 17:07:14 +0000 (18:07 +0100)] 
patch 9.0.1517: MacOS: configure removes -O2 from $CFLAGS

Problem:    MacOS: configure removes -O2 from $CFLAGS.
Solution:   Only adjust $CFLAGS for gcc. (closes #12351)

2 years agopatch 9.0.1516: cannot use special keys in <Cmd> mapping v9.0.1516
zeertzjq [Sat, 6 May 2023 15:22:04 +0000 (16:22 +0100)] 
patch 9.0.1516: cannot use special keys in <Cmd> mapping

Problem:    Cannot use special keys in <Cmd> mapping.
Solution:   Do allow for special keys in <Cmd> and <ScriptCmd> mappings.
            (closes #12326)

2 years agopatch 9.0.1515: reverse() does not work for a String v9.0.1515
Yegappan Lakshmanan [Sat, 6 May 2023 13:08:21 +0000 (14:08 +0100)] 
patch 9.0.1515: reverse() does not work for a String

Problem:    reverse() does not work for a String.
Solution:   Implement reverse() for a String. (Yegappan Lakshmanan,
            closes #12179)

2 years agopatch 9.0.1514: test waits unnecessarily long before checking screendump v9.0.1514
Bram Moolenaar [Sat, 6 May 2023 12:01:27 +0000 (13:01 +0100)] 
patch 9.0.1514: test waits unnecessarily long before checking screendump

Problem:    Test waits unnecessarily long before checking screendump.
Solution:   Remove TermWait() call.

2 years agopatch 9.0.1513: text scrolls unnecessarily when splitting v9.0.1513
Luuk van Baal [Sat, 6 May 2023 11:53:50 +0000 (12:53 +0100)] 
patch 9.0.1513: text scrolls unnecessarily when splitting

Problem:    Text scrolls unnecessarily when splitting and 'splitkeep' is not
            "cursor".
Solution:   Avoid resetting w_skipcol. (Luuk van Baal, closes #12334)

2 years agopatch 9.0.1512: inserting lines when scrolling with 'smoothscroll' set v9.0.1512
Luuk van Baal [Sat, 6 May 2023 11:40:15 +0000 (12:40 +0100)] 
patch 9.0.1512: inserting lines when scrolling with 'smoothscroll' set

Problem:    Inserting lines when scrolling with 'smoothscroll' set.
Solution:   Adjust line height computation for w_skipcol. (Luuk van Baal,
            closes #12350)

2 years agopatch 9.0.1511: crash when using wrong arg types to assert_match() v9.0.1511
zeertzjq [Sat, 6 May 2023 11:20:05 +0000 (12:20 +0100)] 
patch 9.0.1511: crash when using wrong arg types to assert_match()

Problem:    Crash when using wrong arg types to assert_match().
Solution:   Check for NULL pointer. (closes #12349)

2 years agopatch 9.0.1510: misleading variable name for error message v9.0.1510
Bram Moolenaar [Fri, 5 May 2023 21:58:34 +0000 (22:58 +0100)] 
patch 9.0.1510: misleading variable name for error message

Problem:    Misleading variable name for error message.
Solution:   Change "name" to "number".  (closes #12345)

2 years agopatch 9.0.1509: error message lacks mentioning the erroneous argument v9.0.1509
Bram Moolenaar [Fri, 5 May 2023 21:12:22 +0000 (22:12 +0100)] 
patch 9.0.1509: error message lacks mentioning the erroneous argument

Problem:    Error message lacks mentioning the erroneous argument.
Solution:   Specify the argument that the error is for.

2 years agopatch 9.0.1508: catch does not work when lines are joined with a newline v9.0.1508
zeertzjq [Fri, 5 May 2023 16:22:35 +0000 (17:22 +0100)] 
patch 9.0.1508: catch does not work when lines are joined with a newline

Problem:    Catch does not work when lines are joined with a newline.
Solution:   Set "nextcmd" appropriately. (closes #12348)

2 years agopatch 9.0.1507: assert message is confusing with boolean result v9.0.1507
zeertzjq [Thu, 4 May 2023 17:58:22 +0000 (18:58 +0100)] 
patch 9.0.1507: assert message is confusing with boolean result

Problem:    Assert message is confusing with boolean result.  assert_inrange()
            replaces message instead of adding it.
Solution:   Don't put quotes around expected boolean value.  Append message
            for assert_inrange(). (closes #12342, closes #12341)

2 years agopatch 9.0.1506: line number not displayed when using 'smoothscroll' v9.0.1506
zeertzjq [Tue, 2 May 2023 19:52:59 +0000 (20:52 +0100)] 
patch 9.0.1506: line number not displayed when using 'smoothscroll'

Problem:    Line number not displayed when using 'smoothscroll'.
Solution:   Adjust condition for showing the line number. (closes #12333)

2 years agopatch 9.0.1505: error when heredoc content looks like heredoc v9.0.1505
zeertzjq [Tue, 2 May 2023 15:25:47 +0000 (16:25 +0100)] 
patch 9.0.1505: error when heredoc content looks like heredoc

Problem:    Error when heredoc content looks like heredoc.
Solution:   Handle curly expressions. (closes #12325)

2 years agopatch 9.0.1504: no error when calling remote_startserver("") v9.0.1504
h-east [Mon, 1 May 2023 21:36:56 +0000 (22:36 +0100)] 
patch 9.0.1504: no error when calling remote_startserver("")

Problem:    No error when calling remote_startserver() with an empty string.
Solution:   Give an error for an empty string. (Hirohito Higashi,
            closes #12327)

2 years agopatch 9.0.1503: Luau files are not recognized v9.0.1503
Amaan Qureshi [Sun, 30 Apr 2023 20:24:39 +0000 (21:24 +0100)] 
patch 9.0.1503: Luau files are not recognized

Problem:    Luau files are not recognized.
Solution:   Add a patter for Luau files. (Amaan Qureshi, closes #12317)

2 years agopatch 9.0.1502: no test for deleting the end of a long wrapped line v9.0.1502
Luuk van Baal [Sun, 30 Apr 2023 18:15:30 +0000 (19:15 +0100)] 
patch 9.0.1502: no test for deleting the end of a long wrapped line

Problem:    No test for deleting the end of a long wrapped line.
Solution:   Add a test to check the right text is displayed. (Luuk van Baal,
            closes #12318)

2 years agopatch 9.0.1501: crash with nested :try and :throw in catch block v9.0.1501
Bram Moolenaar [Sun, 30 Apr 2023 17:50:48 +0000 (18:50 +0100)] 
patch 9.0.1501: crash with nested :try and :throw in catch block

Problem:    Crash with nested :try and :throw in catch block.
Solution:   Jump to :endtry before returning from function. (closes #12245)

2 years agopatch 9.0.1500: The falsy operator is not tested properly v9.0.1500
zeertzjq [Sun, 30 Apr 2023 14:29:56 +0000 (15:29 +0100)] 
patch 9.0.1500: The falsy operator is not tested properly

Problem:    The falsy operator is not tested properly.
Solution:   Add a few more test cases. (closes #12319)